* Move command line parsing debug stuff to InstrScheduling internal header file
authorChris Lattner <sabre@nondot.org>
Mon, 4 Feb 2002 02:44:20 +0000 (02:44 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 4 Feb 2002 02:44:20 +0000 (02:44 +0000)
SchedPriorities.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1669 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/InstrScheduling.h
lib/CodeGen/InstrSched/SchedPriorities.h
lib/Target/SparcV9/InstrSched/SchedPriorities.h

index 69390fae96676054cf0b7b40f59efd1cdbec96bd..ea15418514dd3a70c96fd188d42c43d3542df267 100644 (file)
 #define LLVM_CODEGEN_INSTR_SCHEDULING_H
 
 #include "llvm/CodeGen/MachineInstr.h"
-#include "Support/CommandLine.h"
 
 class Method;
 class SchedulingManager;
 class TargetMachine;
 class MachineSchedInfo;
 
-// Debug option levels for instruction scheduling
-enum SchedDebugLevel_t {
-  Sched_NoDebugInfo,
-  Sched_PrintMachineCode, 
-  Sched_PrintSchedTrace,
-  Sched_PrintSchedGraphs,
-};
-
-extern cl::Enum<SchedDebugLevel_t> SchedDebugLevel;
-
-
-
 //---------------------------------------------------------------------------
 // Function: ScheduleInstructionsWithSSA
 // 
@@ -42,7 +29,7 @@ extern cl::Enum<SchedDebugLevel_t> SchedDebugLevel;
 //   are still in SSA form.
 //---------------------------------------------------------------------------
 
-bool ScheduleInstructionsWithSSA(Method* method, const TargetMachine &Target);
+bool ScheduleInstructionsWithSSA(Method *M, const TargetMachine &Target);
 
 
 //---------------------------------------------------------------------------
index b236e0ab64d22b86a0e70256c2b765b5478a54e3..7cbd0d12596bbccdb10a57095c275163cbf42f6a 100644 (file)
 #include "llvm/CodeGen/InstrScheduling.h"
 #include "llvm/Analysis/LiveVar/MethodLiveVarInfo.h"
 #include "llvm/Target/MachineSchedInfo.h"
+#include "Support/CommandLine.h"
 #include <list>
-//#include <ostream>
 
 class Method;
 class MachineInstr;
 class SchedulingManager;
 
+// Debug option levels for instruction scheduling
+enum SchedDebugLevel_t {
+  Sched_NoDebugInfo,
+  Sched_PrintMachineCode, 
+  Sched_PrintSchedTrace,
+  Sched_PrintSchedGraphs,
+};
+
+extern cl::Enum<SchedDebugLevel_t> SchedDebugLevel;
 
 struct NodeDelayPair {
   const SchedGraphNode* node;
index b236e0ab64d22b86a0e70256c2b765b5478a54e3..7cbd0d12596bbccdb10a57095c275163cbf42f6a 100644 (file)
 #include "llvm/CodeGen/InstrScheduling.h"
 #include "llvm/Analysis/LiveVar/MethodLiveVarInfo.h"
 #include "llvm/Target/MachineSchedInfo.h"
+#include "Support/CommandLine.h"
 #include <list>
-//#include <ostream>
 
 class Method;
 class MachineInstr;
 class SchedulingManager;
 
+// Debug option levels for instruction scheduling
+enum SchedDebugLevel_t {
+  Sched_NoDebugInfo,
+  Sched_PrintMachineCode, 
+  Sched_PrintSchedTrace,
+  Sched_PrintSchedGraphs,
+};
+
+extern cl::Enum<SchedDebugLevel_t> SchedDebugLevel;
 
 struct NodeDelayPair {
   const SchedGraphNode* node;