Move instrIsFeasible from InstrScheduling.h

llvm-svn: 1674
This commit is contained in:
Chris Lattner 2002-02-04 05:55:42 +00:00
parent b3c64a73ad
commit a8171dd554
1 changed files with 15 additions and 0 deletions

View File

@ -32,7 +32,9 @@ class Method;
class MachineInstr; class MachineInstr;
class SchedulingManager; class SchedulingManager;
//---------------------------------------------------------------------------
// Debug option levels for instruction scheduling // Debug option levels for instruction scheduling
enum SchedDebugLevel_t { enum SchedDebugLevel_t {
Sched_NoDebugInfo, Sched_NoDebugInfo,
Sched_PrintMachineCode, Sched_PrintMachineCode,
@ -42,6 +44,19 @@ enum SchedDebugLevel_t {
extern cl::Enum<SchedDebugLevel_t> SchedDebugLevel; 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 { struct NodeDelayPair {
const SchedGraphNode* node; const SchedGraphNode* node;
cycles_t delay; cycles_t delay;