summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2006-11-15 02:07:25 +0000
committerDevang Patel <dpatel@apple.com>2006-11-15 02:07:25 +0000
commitaf87fa3a63456d058822b0ed089b8d42bd5391ac (patch)
treea3ba25ed52d4a2055014f34b9238c806ba9390e8 /llvm
parent4a3fa4ff26fa4de8a14e5134180c71e51f96d804 (diff)
downloadbcm5719-llvm-af87fa3a63456d058822b0ed089b8d42bd5391ac.tar.gz
bcm5719-llvm-af87fa3a63456d058822b0ed089b8d42bd5391ac.zip
Add doInitialization and doFinalization support in FunctionManager_New.
llvm-svn: 31747
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/PassManager.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/llvm/include/llvm/PassManager.h b/llvm/include/llvm/PassManager.h
index 5b8c7f6220e..ae52f182246 100644
--- a/llvm/include/llvm/PassManager.h
+++ b/llvm/include/llvm/PassManager.h
@@ -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;
};
OpenPOWER on IntegriCloud