[PM] Refactor the analysis registration and pass pipeline parsing to
authorChandler Carruth <chandlerc@gmail.com>
Sun, 1 Feb 2015 07:40:05 +0000 (07:40 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 1 Feb 2015 07:40:05 +0000 (07:40 +0000)
commit581ef38430f35b1f13a7774e0261b9fe7d37f72f
tree681572141efce093e9c859ab46c71f0cafdb78fa
parent29bd1dd972b8497cbb5ab2298bdca684981d7447
[PM] Refactor the analysis registration and pass pipeline parsing to
live in a class.

While this isn't really significant right now, I need to expose some
state to the pass construction expressions, and making them get
evaluated within a class context is a nice way to collect members that
they may need to access.

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