mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
* Move command line parsing debug stuff to InstrScheduling internal header file
SchedPriorities.h llvm-svn: 1669
This commit is contained in:
parent
b3e9cea0cd
commit
45cdd0fb0c
@ -13,25 +13,12 @@
|
||||
#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);
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
@ -25,13 +25,22 @@
|
||||
#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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user