#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
//
// are still in SSA form.
//---------------------------------------------------------------------------
-bool ScheduleInstructionsWithSSA(Method* method, const TargetMachine &Target);
+bool ScheduleInstructionsWithSSA(Method *M, const TargetMachine &Target);
//---------------------------------------------------------------------------
#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;
#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;