OSDN Git Service

[PM] Move the analysis registry into the Passes.cpp file and provide
authorChandler Carruth <chandlerc@gmail.com>
Tue, 6 Jan 2015 02:21:37 +0000 (02:21 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 6 Jan 2015 02:21:37 +0000 (02:21 +0000)
commit2bbc5ab5eb174b6e222ec24ea0b8a94103c7fea7
tree260db1a0cb687168dea32dc8d83f16a5643fd4b6
parenta3376d2d3660925f04ed010a1d5ab9277b9dc9b2
[PM] Move the analysis registry into the Passes.cpp file and provide
a normal interface for it in Passes.h.

This gives us essentially a single interface for running pass managers
which are provided from the bottom of the LLVM stack through interfaces
at the top of the LLVM stack that populate them with all of the
different analyses available throughout. It also means there is a single
blob of code that needs to include all of the pass headers and needs to
deal with the registry of passes and parsing names.

No functionality changed intended, should just be cleanup.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225237 91177308-0d34-0410-b5e6-96231b3b80d8
tools/opt/NewPMDriver.cpp
tools/opt/Passes.cpp
tools/opt/Passes.h