[llvm-commits] CVS: llvm/include/llvm/Pass.h
Devang Patel
dpatel at apple.com
Wed Jan 10 17:10:43 PST 2007
Changes in directory llvm/include/llvm:
Pass.h updated: 1.72 -> 1.73
---
Log message:
Add PassManagerType enum.
---
Diffs of the changes: (+12 -0)
Pass.h | 12 ++++++++++++
1 files changed, 12 insertions(+)
Index: llvm/include/llvm/Pass.h
diff -u llvm/include/llvm/Pass.h:1.72 llvm/include/llvm/Pass.h:1.73
--- llvm/include/llvm/Pass.h:1.72 Wed Jan 10 18:19:00 2007
+++ llvm/include/llvm/Pass.h Wed Jan 10 19:10:24 2007
@@ -323,6 +323,18 @@
virtual void assignPassManager(PMStack &PMS);
};
+/// Different types of internal pass managers. External pass managers
+/// (PassManager and FunctionPassManager) are not represented here.
+/// Ordering of pass manager types is important here.
+enum PassManagerType {
+ PMT_Unknown = 0,
+ PMT_ModulePassManager = 1, /// MPPassManager
+ PMT_CallGraphPassManager, /// CGPassManager
+ PMT_FunctionPassManager, /// FPPassManager
+ PMT_LoopPassManager, /// LPPassManager
+ PMT_BasicBlockPassManager /// BBPassManager
+};
+
/// PMStack
/// Top level pass manager (see PasManager.cpp) maintains active Pass Managers
/// using PMStack. Each Pass implements assignPassManager() to connect itself
More information about the llvm-commits
mailing list