mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-31 15:53:42 +00:00
Move instrIsFeasible from InstrScheduling.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1674 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bc53c04789
commit
b99bd2b145
@ -32,7 +32,9 @@ class Method;
|
||||
class MachineInstr;
|
||||
class SchedulingManager;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Debug option levels for instruction scheduling
|
||||
|
||||
enum SchedDebugLevel_t {
|
||||
Sched_NoDebugInfo,
|
||||
Sched_PrintMachineCode,
|
||||
@ -42,6 +44,19 @@ enum SchedDebugLevel_t {
|
||||
|
||||
extern cl::Enum<SchedDebugLevel_t> SchedDebugLevel;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Function: instrIsFeasible
|
||||
//
|
||||
// Purpose:
|
||||
// Used by the priority analysis to filter out instructions
|
||||
// that are not feasible to issue in the current cycle.
|
||||
// Should only be used during schedule construction..
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
bool instrIsFeasible(const SchedulingManager &S, MachineOpCode opCode);
|
||||
|
||||
|
||||
|
||||
struct NodeDelayPair {
|
||||
const SchedGraphNode* node;
|
||||
cycles_t delay;
|
||||
|
@ -32,7 +32,9 @@ class Method;
|
||||
class MachineInstr;
|
||||
class SchedulingManager;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Debug option levels for instruction scheduling
|
||||
|
||||
enum SchedDebugLevel_t {
|
||||
Sched_NoDebugInfo,
|
||||
Sched_PrintMachineCode,
|
||||
@ -42,6 +44,19 @@ enum SchedDebugLevel_t {
|
||||
|
||||
extern cl::Enum<SchedDebugLevel_t> SchedDebugLevel;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Function: instrIsFeasible
|
||||
//
|
||||
// Purpose:
|
||||
// Used by the priority analysis to filter out instructions
|
||||
// that are not feasible to issue in the current cycle.
|
||||
// Should only be used during schedule construction..
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
bool instrIsFeasible(const SchedulingManager &S, MachineOpCode opCode);
|
||||
|
||||
|
||||
|
||||
struct NodeDelayPair {
|
||||
const SchedGraphNode* node;
|
||||
cycles_t delay;
|
||||
|
Loading…
x
Reference in New Issue
Block a user