LLVM 20.0.0git
Macros | Functions | Variables
ResourcePriorityQueue.cpp File Reference
#include "llvm/CodeGen/ResourcePriorityQueue.h"
#include "llvm/CodeGen/DFAPacketizer.h"
#include "llvm/CodeGen/SelectionDAGISel.h"
#include "llvm/CodeGen/SelectionDAGNodes.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetLowering.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/Support/CommandLine.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "scheduler"
 

Functions

static unsigned numberCtrlDepsInSU (SUnit *SU)
 
static unsigned numberCtrlPredInSU (SUnit *SU)
 

Variables

static cl::opt< boolDisableDFASched ("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
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "scheduler"

Definition at line 33 of file ResourcePriorityQueue.cpp.

Function Documentation

◆ numberCtrlDepsInSU()

static unsigned numberCtrlDepsInSU ( SUnit SU)
static

◆ numberCtrlPredInSU()

static unsigned numberCtrlPredInSU ( SUnit SU)
static

Variable Documentation

◆ 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

const unsigned FactorOne = 2
static

◆ PriorityFour

const unsigned PriorityFour = 5
static

◆ PriorityOne

const unsigned PriorityOne = 200
static

◆ PriorityThree

const unsigned PriorityThree = 15
static

◆ PriorityTwo

const unsigned PriorityTwo = 50
static

◆ 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

const unsigned ScaleOne = 20
static

◆ ScaleThree

const unsigned ScaleThree = 5
static

◆ ScaleTwo

const unsigned ScaleTwo = 10
static