[llvm-commits] CVS: llvm/include/llvm/Analysis/LoopPass.h
Devang Patel
dpatel at apple.com
Thu Feb 22 15:30:25 PST 2007
Changes in directory llvm/include/llvm/Analysis:
LoopPass.h updated: 1.1 -> 1.2
---
Log message:
Add LoopQueue. This is used by loop pass manager to manage loop nest.
---
Diffs of the changes: (+6 -1)
LoopPass.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletion(-)
Index: llvm/include/llvm/Analysis/LoopPass.h
diff -u llvm/include/llvm/Analysis/LoopPass.h:1.1 llvm/include/llvm/Analysis/LoopPass.h:1.2
--- llvm/include/llvm/Analysis/LoopPass.h:1.1 Thu Feb 22 02:56:17 2007
+++ llvm/include/llvm/Analysis/LoopPass.h Thu Feb 22 17:30:07 2007
@@ -25,6 +25,7 @@
class LPPassManager;
class Loop;
class Function;
+class LoopQueue;
class LoopPass : public Pass {
@@ -41,7 +42,8 @@
class LPPassManager : public FunctionPass, public PMDataManager {
public:
- LPPassManager(int Depth) : PMDataManager(Depth) { }
+ LPPassManager(int Depth);
+ ~LPPassManager();
/// run - Execute all of the passes scheduled for execution. Keep track of
/// whether any of the passes modifies the module, and if so, return true.
@@ -79,6 +81,9 @@
return PMT_LoopPassManager;
}
+ private:
+ LoopQueue *LQ;
+
};
} // End llvm namespace
More information about the llvm-commits
mailing list