diff options
author | Tanya Lattner <tonic@nondot.org> | 2004-10-10 22:44:35 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2004-10-10 22:44:35 +0000 |
commit | 420025b04f4ca81ea1fa29a6ab995864a2dce7b6 (patch) | |
tree | 736c95f6da1f2cb113d851ada884d0d1b8ddbdde /lib/CodeGen/ModuloScheduling/MSSchedule.h | |
parent | 90a2adc8669e6a8529a09353bfcee116c998e4f1 (diff) |
Added debug information. Fixed several bugs in the reconstruct loop function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16895 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ModuloScheduling/MSSchedule.h')
-rw-r--r-- | lib/CodeGen/ModuloScheduling/MSSchedule.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/CodeGen/ModuloScheduling/MSSchedule.h b/lib/CodeGen/ModuloScheduling/MSSchedule.h index 892ab7c608..248a748591 100644 --- a/lib/CodeGen/ModuloScheduling/MSSchedule.h +++ b/lib/CodeGen/ModuloScheduling/MSSchedule.h @@ -32,6 +32,9 @@ namespace llvm { //Resulting kernel std::vector<std::pair<MSchedGraphNode*, int> > kernel; + //Max stage count + int maxStage; + public: MSSchedule(int num) : numIssue(num) {} MSSchedule() : numIssue(4) {} @@ -40,7 +43,7 @@ namespace llvm { void clear() { schedule.clear(); resourceNumPerCycle.clear(); kernel.clear(); } std::vector<std::pair<MSchedGraphNode*, int> >* getKernel() { return &kernel; } bool constructKernel(int II); - + int getMaxStage() { return maxStage; } //iterators |