LLVM 22.0.0git
VLIWMachineScheduler.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "machine-scheduler"

Functions

static bool isSingleUnscheduledPred (SUnit *SU, SUnit *SU2)
 isSingleUnscheduledPred - If SU2 is the only unscheduled predecessor of SU, return true (we may have duplicates)
static bool isSingleUnscheduledSucc (SUnit *SU, SUnit *SU2)
 isSingleUnscheduledSucc - If SU2 is the only unscheduled successor of SU, return true (we may have duplicates)

Variables

static cl::opt< boolIgnoreBBRegPressure ("ignore-bb-reg-pressure", cl::Hidden, cl::init(false))
static cl::opt< boolUseNewerCandidate ("use-newer-candidate", cl::Hidden, cl::init(true))
static cl::opt< unsignedSchedDebugVerboseLevel ("misched-verbose-level", cl::Hidden, cl::init(1))
static cl::opt< boolCheckEarlyAvail ("check-early-avail", cl::Hidden, cl::init(true))
static cl::opt< float > RPThreshold ("vliw-misched-reg-pressure", cl::Hidden, cl::init(0.75f), cl::desc("High register pressure threhold."))

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "machine-scheduler"

Definition at line 42 of file VLIWMachineScheduler.cpp.

Function Documentation

◆ isSingleUnscheduledPred()

bool isSingleUnscheduledPred ( SUnit * SU,
SUnit * SU2 )
inlinestatic

isSingleUnscheduledPred - If SU2 is the only unscheduled predecessor of SU, return true (we may have duplicates)

Definition at line 545 of file VLIWMachineScheduler.cpp.

References llvm::SUnit::NumPredsLeft, and llvm::SUnit::Preds.

Referenced by llvm::ConvergingVLIWScheduler::SchedulingCost().

◆ isSingleUnscheduledSucc()

bool isSingleUnscheduledSucc ( SUnit * SU,
SUnit * SU2 )
inlinestatic

isSingleUnscheduledSucc - If SU2 is the only unscheduled successor of SU, return true (we may have duplicates)

Definition at line 560 of file VLIWMachineScheduler.cpp.

References llvm::SUnit::NumSuccsLeft, and llvm::SUnit::Succs.

Referenced by llvm::ConvergingVLIWScheduler::SchedulingCost().

Variable Documentation

◆ CheckEarlyAvail

cl::opt< bool > CheckEarlyAvail("check-early-avail", cl::Hidden, cl::init(true)) ( "check-early-avail" ,
cl::Hidden ,
cl::init(true)  )
static

◆ IgnoreBBRegPressure

cl::opt< bool > IgnoreBBRegPressure("ignore-bb-reg-pressure", cl::Hidden, cl::init(false)) ( "ignore-bb-reg-pressure" ,
cl::Hidden ,
cl::init(false)  )
static

◆ RPThreshold

cl::opt< float > RPThreshold("vliw-misched-reg-pressure", cl::Hidden, cl::init(0.75f), cl::desc("High register pressure threhold.")) ( "vliw-misched-reg-pressure" ,
cl::Hidden ,
cl::init(0.75f) ,
cl::desc("High register pressure threhold.")  )
static

◆ SchedDebugVerboseLevel

cl::opt< unsigned > SchedDebugVerboseLevel("misched-verbose-level", cl::Hidden, cl::init(1)) ( "misched-verbose-level" ,
cl::Hidden ,
cl::init(1)  )
static

◆ UseNewerCandidate

cl::opt< bool > UseNewerCandidate("use-newer-candidate", cl::Hidden, cl::init(true)) ( "use-newer-candidate" ,
cl::Hidden ,
cl::init(true)  )
static