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 | dbac0cb21eefa2435fb2d9dbed4c2c426a482695 (patch) | |
| tree | 8e8086a621a497a88f63243bc2de7d4236942479 /llvm/lib/CodeGen/ModuloScheduling/MSSchedule.h | |
| parent | f6d9ceebc65cfef60cf9c1b2a8b156a87566b02d (diff) | |
| download | bcm5719-llvm-dbac0cb21eefa2435fb2d9dbed4c2c426a482695.tar.gz bcm5719-llvm-dbac0cb21eefa2435fb2d9dbed4c2c426a482695.zip | |
Added debug information. Fixed several bugs in the reconstruct loop function.
llvm-svn: 16895
Diffstat (limited to 'llvm/lib/CodeGen/ModuloScheduling/MSSchedule.h')
| -rw-r--r-- | llvm/lib/CodeGen/ModuloScheduling/MSSchedule.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/ModuloScheduling/MSSchedule.h b/llvm/lib/CodeGen/ModuloScheduling/MSSchedule.h index 892ab7c6081..248a7485917 100644 --- a/llvm/lib/CodeGen/ModuloScheduling/MSSchedule.h +++ b/llvm/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 |

