LLVM: lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp File Reference (original) (raw)

Go to the source code of this file.

Macros
#define DEBUG_TYPE "scheduler"
Variables
static cl::opt< bool > DisableDFASched ("disable-dfa-sched", cl::Hidden, cl::desc("Disable use of DFA during scheduling"))
static cl::opt< int > RegPressureThreshold ("dfa-sched-reg-pressure-threshold", cl::Hidden, cl::init(5), cl::desc("Track reg pressure and switch priority to in-depth"))
static const unsigned PriorityOne = 200
static const unsigned PriorityTwo = 50
static const unsigned PriorityThree = 15
static const unsigned PriorityFour = 5
static const unsigned ScaleOne = 20
static const unsigned ScaleTwo = 10
static const unsigned ScaleThree = 5
static const unsigned FactorOne = 2

DEBUG_TYPE

#define DEBUG_TYPE "scheduler"

numberCtrlDepsInSU()

numberCtrlPredInSU()

DisableDFASched

cl::opt< bool > DisableDFASched("disable-dfa-sched", cl::Hidden, cl::desc("Disable use of DFA during scheduling")) ( "disable-dfa-sched" , cl::Hidden , cl::desc("Disable use of DFA during scheduling") ) static

FactorOne

PriorityFour

PriorityOne

PriorityThree

PriorityTwo

RegPressureThreshold

cl::opt< int > RegPressureThreshold("dfa-sched-reg-pressure-threshold", cl::Hidden, cl::init(5), cl::desc("Track reg pressure and switch priority to in-depth")) ( "dfa-sched-reg-pressure-threshold" , cl::Hidden , cl::init(5) , cl::desc("Track reg pressure and switch priority to in-depth") ) static

ScaleOne

ScaleThree

ScaleTwo