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



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to