diff options
author | Devang Patel <dpatel@apple.com> | 2006-11-15 19:39:54 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2006-11-15 19:39:54 +0000 |
commit | 214ca23aef8bd408c4ee4ce28ba93d57d2416587 (patch) | |
tree | 6877784a556576f7ca936cb4d6445d01511fb7ad /include/llvm/PassManager.h | |
parent | b71fd7897f6b4500cdbe602c5a9907316750cf5a (diff) |
Add run(Function &F) support in FunctionPassManager_New
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31756 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/PassManager.h')
-rw-r--r-- | include/llvm/PassManager.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/PassManager.h b/include/llvm/PassManager.h index ae52f18224..f8ebd62ca6 100644 --- a/include/llvm/PassManager.h +++ b/include/llvm/PassManager.h @@ -135,6 +135,12 @@ public: /// so, return true. bool runOnModule(Module &M); + /// run - Execute all of the passes scheduled for execution. Keep + /// track of whether any of the passes modifies the function, and if + /// so, return true. + /// + bool run(Function &F); + /// doInitialization - Run all of the initializers for the function passes. /// bool doInitialization(); |