Changes in directory llvm/include/llvm:
PassManager.h updated: 1.14 -> 1.15 --- Log message: Add explicit doInitialization/doFinalization methods instead of making the FunctionPassManager redo this for each function. --- Diffs of the changes: (+8 -0) PassManager.h | 8 ++++++++ 1 files changed, 8 insertions(+) Index: llvm/include/llvm/PassManager.h diff -u llvm/include/llvm/PassManager.h:1.14 llvm/include/llvm/PassManager.h:1.15 --- llvm/include/llvm/PassManager.h:1.14 Wed Jan 4 01:47:12 2006 +++ llvm/include/llvm/PassManager.h Sun Sep 3 23:07:39 2006 @@ -70,11 +70,19 @@ /// void add(ImmutablePass *IP); + /// doInitialization - Run all of the initializers for the function passes. + /// + bool doInitialization(); + /// 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); + + /// doFinalization - Run all of the initializers for the function passes. + /// + bool doFinalization(); }; } // End llvm namespace _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits