diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2013-11-09 12:26:54 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2013-11-09 12:26:54 +0000 |
commit | 49837ef8111fbeace7ae6379ca733c8f8fa94cfe (patch) | |
tree | 56766bbd9f25967c8c32bb5b735161305ea215ed /include/llvm/Target/TargetMachine.h | |
parent | 9defe9a7ccb29b02ed78bede5892fd4e3e64307b (diff) | |
download | external_llvm-49837ef8111fbeace7ae6379ca733c8f8fa94cfe.zip external_llvm-49837ef8111fbeace7ae6379ca733c8f8fa94cfe.tar.gz external_llvm-49837ef8111fbeace7ae6379ca733c8f8fa94cfe.tar.bz2 |
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
Diffstat (limited to 'include/llvm/Target/TargetMachine.h')
-rw-r--r-- | include/llvm/Target/TargetMachine.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetMachine.h b/include/llvm/Target/TargetMachine.h index fd7228a..91e4715 100644 --- a/include/llvm/Target/TargetMachine.h +++ b/include/llvm/Target/TargetMachine.h @@ -29,7 +29,6 @@ class GlobalValue; class MCAsmInfo; class MCCodeGenInfo; class MCContext; -class PassManagerBase; class Target; class DataLayout; class TargetLibraryInfo; @@ -47,6 +46,12 @@ class VectorTargetTransformInfo; class formatted_raw_ostream; class raw_ostream; +// The old pass manager infrastructure is hidden in a legacy namespace now. +namespace legacy { +class PassManagerBase; +} +using legacy::PassManagerBase; + //===----------------------------------------------------------------------===// /// /// TargetMachine - Primary interface to the complete machine description for |