summaryrefslogtreecommitdiff
path: root/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp
diff options
context:
space:
mode:
authorGuochun Shi <gshi1@uiuc.edu>2003-05-30 00:17:09 +0000
committerGuochun Shi <gshi1@uiuc.edu>2003-05-30 00:17:09 +0000
commit139f0c279d460d770ee784a05e70e08717907d45 (patch)
treeef8091101c84098b4453087dd78298f4ec7275df /lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp
parent87a991eea38197c9e5abc763d83321799649b25b (diff)
downloadllvm-139f0c279d460d770ee784a05e70e08717907d45.tar.gz
llvm-139f0c279d460d770ee784a05e70e08717907d45.tar.bz2
llvm-139f0c279d460d770ee784a05e70e08717907d45.tar.xz
so far everything compiles
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6423 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp')
-rw-r--r--lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp b/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp
index 839382a9c6..10a888f55e 100644
--- a/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp
+++ b/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp
@@ -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
//