[PM] Add a nice low-tech registry of passes as a boring macro expansion
authorChandler Carruth <chandlerc@gmail.com>
Mon, 21 Apr 2014 08:08:50 +0000 (08:08 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 21 Apr 2014 08:08:50 +0000 (08:08 +0000)
commita21cd0433e7cde887b061ecac08c0de9f1cb8cb9
treee52466127e7fea7494a1a4798e7cf4e3f1381708
parent81549a0a3907f7e49f4f49bdfdadc313cf61025a
[PM] Add a nice low-tech registry of passes as a boring macro expansion
file. This will make it easy to scale up the number of passes supported.
Currently, it just supports the function and module transformation
passes that were already supported in the opt tool explicitly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206737 91177308-0d34-0410-b5e6-96231b3b80d8
tools/opt/PassRegistry.def [new file with mode: 0644]
tools/opt/Passes.cpp