From 214ca23aef8bd408c4ee4ce28ba93d57d2416587 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Wed, 15 Nov 2006 19:39:54 +0000 Subject: 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 --- include/llvm/PassManager.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/llvm/PassManager.h') 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(); -- cgit v1.2.3