Add doInitialization and doFinalization support in FunctionManager_New.
authorDevang Patel <dpatel@apple.com>
Wed, 15 Nov 2006 02:07:25 +0000 (02:07 +0000)
committerDevang Patel <dpatel@apple.com>
Wed, 15 Nov 2006 02:07:25 +0000 (02:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31747 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/PassManager.h

index 5b8c7f6220e6c5c226bf7ed90481d9964e407604..ae52f1822468c6ac9da5bc49998020f82f44af5c 100644 (file)
@@ -135,10 +135,17 @@ public:
   /// so, return true.
   bool runOnModule(Module &M);
 
+  /// doInitialization - Run all of the initializers for the function passes.
+  ///
+  bool doInitialization();
+  
+  /// doFinalization - Run all of the initializers for the function passes.
+  ///
+  bool doFinalization();
 private:
   
   FunctionPassManagerImpl_New *FPM;
-
+  ModuleProvider *MP;
 };