OSDN Git Service

[PM] Add names to passes under the new pass manager, and a debug output
authorChandler Carruth <chandlerc@gmail.com>
Sat, 11 Jan 2014 11:52:05 +0000 (11:52 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 11 Jan 2014 11:52:05 +0000 (11:52 +0000)
commitb56749c3b7bd3867d5a500b9882decd957244620
treee20a9070e3aa16ad2092503b4f51f7f5bdc48857
parentd55b5fe9920554cebf5976316915bb07165734b4
[PM] Add names to passes under the new pass manager, and a debug output
mode that can be used to debug the execution of everything.

No support for analyses here, that will come later. This already helps
show parts of the opt commandline integration that isn't working. Tests
of that will start using it as the bugs are fixed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199004 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/PassManager.h
lib/IR/PassManager.cpp
tools/opt/Passes.cpp
unittests/IR/PassManagerTest.cpp