[llvm-commits] CVS: llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp ModuloScheduling.h
Chris Lattner
sabre at nondot.org
Thu May 29 21:58:01 PDT 2003
I get the following error:
Compiling ModuloSchedGraph.cpp
In file included from ModuloScheduling.h:12,
from ModuloSchedGraph.cpp:17:
ModuloSchedGraph.h:17:44: ../InstrSched/SchedGraphCommon.h: No such file or directory
...
-Chris
> Changes in directory llvm/lib/CodeGen/ModuloScheduling:
>
> ModuloScheduling.cpp updated: 1.4 -> 1.5
> ModuloScheduling.h updated: 1.4 -> 1.5
>
> ---
> Log message:
>
> so far everything compiles
>
>
> ---
> Diffs of the changes:
>
> Index: llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp
> diff -u llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp:1.4 llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp:1.5
> --- llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp:1.4 Thu Apr 10 14:19:23 2003
> +++ llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp Thu May 29 19:17:09 2003
> @@ -35,19 +35,19 @@
> // see ModuloSchedulingPass::runOnFunction()
> //************************************************************
>
> -namespace {
> - cl::opt<ModuloScheduling::DebugLevel_t,true>
> - SDL_opt("modsched", cl::Hidden, cl::location(ModuloScheduling::DebugLevel),
> - cl::desc("enable modulo scheduling debugging information"),
> - cl::values(clEnumValN(ModuloScheduling::DebugLevel_NoDebugInfo,
> - "none", "disable debug output"),
> - clEnumValN(ModuloScheduling::DebugLevel_PrintSchedule,
> - "psched", "print original and new schedule"),
> - clEnumValN(ModuloScheduling::DebugLevel_PrintScheduleProcess,
> - "pschedproc",
> - "print how the new schdule is produced"),
> - 0));
> -}
> +ModuloSchedDebugLevel_t ModuloSchedDebugLevel;
> +
> +cl::opt<ModuloSchedDebugLevel_t,true>
> +SDL_opt("modsched", cl::Hidden, cl::location(ModuloSchedDebugLevel),
> + cl::desc("enable modulo scheduling debugging information"),
> + cl::values(clEnumValN(ModuloSchedDebugLevel_NoDebugInfo,
> + "none", "disable debug output"),
> + clEnumValN(ModuloSchedDebugLevel_PrintSchedule,
> + "psched", "print original and new schedule"),
> + clEnumValN(ModuloSchedDebugLevel_PrintScheduleProcess,
> + "pschedproc",
> + "print how the new schdule is produced"),
> + 0));
>
> // Computes the schedule and inserts epilogue and prologue
> //
>
>
> Index: llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.h
> diff -u llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.h:1.4 llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.h:1.5
> --- llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.h:1.4 Thu Apr 10 14:19:23 2003
> +++ llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.h Thu May 29 19:17:09 2003
> @@ -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 @@
> typedef BasicBlock::InstListType InstListType;
> typedef std::vector<std::vector<ModuloSchedGraphNode*> > vvNodeType;
>
> +
> +
> +
> +
> public:
>
> ModuloScheduling(ModuloSchedGraph & _graph):
> @@ -60,18 +71,23 @@
>
> ~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
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-Chris
--
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/
More information about the llvm-commits
mailing list