diff options
| author | Guochun Shi <gshi1@uiuc.edu> | 2003-05-30 00:17:09 +0000 |
|---|---|---|
| committer | Guochun Shi <gshi1@uiuc.edu> | 2003-05-30 00:17:09 +0000 |
| commit | 856ee9154fb4dc5bff11d271c925734f06677cce (patch) | |
| tree | 98432130e6fb4342e38fa5d285357c90108b41fa /llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.h | |
| parent | 2618272dad389b16fd6b53e6b049165818be5b8e (diff) | |
| download | bcm5719-llvm-856ee9154fb4dc5bff11d271c925734f06677cce.tar.gz bcm5719-llvm-856ee9154fb4dc5bff11d271c925734f06677cce.zip | |
so far everything compiles
llvm-svn: 6423
Diffstat (limited to 'llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.h')
| -rw-r--r-- | llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.h | 36 |
1 files changed, 26 insertions, 10 deletions
diff --git a/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.h b/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.h index 87403cfe313..782476eda9c 100644 --- a/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.h +++ b/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.h @@ -13,6 +13,13 @@ #include <iostream> #include <vector> +// for debug information selecton +enum ModuloSchedDebugLevel_t { + ModuloSchedDebugLevel_NoDebugInfo, + ModuloSchedDebugLevel_PrintSchedule, + ModuloSchedDebugLevel_PrintScheduleProcess, +}; + class ModuloScheduling: NonCopyable { private: @@ -48,6 +55,10 @@ private: typedef BasicBlock::InstListType InstListType; typedef std::vector<std::vector<ModuloSchedGraphNode*> > vvNodeType; + + + + public: ModuloScheduling(ModuloSchedGraph & _graph): @@ -60,18 +71,23 @@ public: ~ModuloScheduling() {}; - // for debug information selecton - enum DebugLevel_t { - DebugLevel_NoDebugInfo, - DebugLevel_PrintSchedule, - DebugLevel_PrintScheduleProcess, - }; - static DebugLevel_t DebugLevel; - static bool printSchedule() { return DebugLevel >= DebugLevel_PrintSchedule; } - static bool printScheduleProcess() { - return DebugLevel >= DebugLevel_PrintScheduleProcess; + static bool + printSchedule() { + + //return ModuloScheduling::DebugLevel >= DebugLevel_PrintSchedule; + return false; + + + } + static bool + printScheduleProcess() { + + //return DebugLevel >= DebugLevel_PrintScheduleProcess; + return false; + + } // The method to compute schedule and instert epilogue and prologue |

