[llvm-commits] CVS: llvm/include/llvm/Analysis/LoopPass.h
Devang Patel
dpatel at apple.com
Mon Apr 16 11:51:53 PDT 2007
Changes in directory llvm/include/llvm/Analysis:
LoopPass.h updated: 1.14 -> 1.15
---
Log message:
Add getPotentialPassManagerType(). No functionality change, yet.
---
Diffs of the changes: (+4 -0)
LoopPass.h | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm/include/llvm/Analysis/LoopPass.h
diff -u llvm/include/llvm/Analysis/LoopPass.h:1.14 llvm/include/llvm/Analysis/LoopPass.h:1.15
--- llvm/include/llvm/Analysis/LoopPass.h:1.14 Mon Apr 16 13:10:22 2007
+++ llvm/include/llvm/Analysis/LoopPass.h Mon Apr 16 13:51:25 2007
@@ -57,6 +57,10 @@
virtual void assignPassManager(PMStack &PMS,
PassManagerType PMT = PMT_LoopPassManager);
+ /// Return what kind of Pass Manager can manage this pass.
+ virtual PassManagerType getPotentialPassManagerType() const {
+ return PMT_LoopPassManager;
+ }
};
class LPPassManager : public FunctionPass, public PMDataManager {
More information about the llvm-commits
mailing list