[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)
commit2dc92e90d8a8bbb340f3f5b90f42b1c92a0cc895
tree95fc0e39fb918f46c9e2f4894b0f5034ec25b0fe
parent3b079c5ed28af3ed9b93941cb20ef4c953f23f78
[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.

llvm-svn: 227715
llvm/tools/opt/NewPMDriver.cpp
llvm/tools/opt/Passes.cpp
llvm/tools/opt/Passes.h