[llvm-commits] CVS: llvm/include/llvm/PassManager.h

Devang Patel dpatel at apple.com
Wed Nov 15 11:40:10 PST 2006



Changes in directory llvm/include/llvm:

PassManager.h updated: 1.31 -> 1.32
---
Log message:

Add run(Function &F) support in FunctionPassManager_New


---
Diffs of the changes:  (+6 -0)

 PassManager.h |    6 ++++++
 1 files changed, 6 insertions(+)


Index: llvm/include/llvm/PassManager.h
diff -u llvm/include/llvm/PassManager.h:1.31 llvm/include/llvm/PassManager.h:1.32
--- llvm/include/llvm/PassManager.h:1.31	Tue Nov 14 20:07:25 2006
+++ llvm/include/llvm/PassManager.h	Wed Nov 15 13:39:54 2006
@@ -135,6 +135,12 @@
   /// 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();






More information about the llvm-commits mailing list