Move the old pass manager infrastructure into a legacy namespace and
authorChandler Carruth <chandlerc@gmail.com>
Sat, 9 Nov 2013 12:26:54 +0000 (12:26 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 9 Nov 2013 12:26:54 +0000 (12:26 +0000)
commit49837ef8111fbeace7ae6379ca733c8f8fa94cfe
tree56766bbd9f25967c8c32bb5b735161305ea215ed
parent9defe9a7ccb29b02ed78bede5892fd4e3e64307b
Move the old pass manager infrastructure into a legacy namespace and
give the files a legacy prefix in the right directory. Use forwarding
headers in the old locations to paper over the name change for most
clients during the transitional period.

No functionality changed here! This is just clearing some space to
reduce renaming churn later on with a new system.

Even when the new stuff starts to go in, it is going to be hidden behind
a flag and off-by-default as it is still WIP and under development.

This patch is specifically designed so that very little out-of-tree code
has to change. I'm going to work as hard as I can to keep that the case.
Only direct forward declarations of the PassManager class are impacted
by this change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194324 91177308-0d34-0410-b5e6-96231b3b80d8
16 files changed:
include/llvm/Analysis/LoopPass.h
include/llvm/Analysis/RegionPass.h
include/llvm/CodeGen/Passes.h
include/llvm/IR/LegacyPassManager.h [new file with mode: 0644]
include/llvm/IR/LegacyPassManagers.h [new file with mode: 0644]
include/llvm/PassManager.h
include/llvm/PassManagers.h [deleted file]
include/llvm/Target/TargetMachine.h
include/llvm/Transforms/IPO/PassManagerBuilder.h
lib/Analysis/IPA/CallGraphSCCPass.cpp
lib/IR/CMakeLists.txt
lib/IR/LegacyPassManager.cpp [new file with mode: 0644]
lib/IR/PassManager.cpp [deleted file]
unittests/IR/CMakeLists.txt
unittests/IR/LegacyPassManagerTest.cpp [new file with mode: 0644]
unittests/IR/PassManagerTest.cpp [deleted file]