LLVM API Documentation
#include "llvm/CodeGen/ResourcePriorityQueue.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/SelectionDAGNodes.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetLowering.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetSubtargetInfo.h"
Go to the source code of this file.
Defines | |
#define | DEBUG_TYPE "scheduler" |
Functions | |
static unsigned | numberCtrlDepsInSU (SUnit *SU) |
static unsigned | numberCtrlPredInSU (SUnit *SU) |
Variables | |
static cl::opt< bool > | DisableDFASched ("disable-dfa-sched", cl::Hidden, cl::ZeroOrMore, cl::init(false), cl::desc("Disable use of DFA during scheduling")) |
static cl::opt< signed > | RegPressureThreshold ("dfa-sched-reg-pressure-threshold", cl::Hidden, cl::ZeroOrMore, 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 |
#define DEBUG_TYPE "scheduler" |
Definition at line 34 of file ResourcePriorityQueue.cpp.
static unsigned numberCtrlDepsInSU | ( | SUnit * | SU | ) | [static] |
Definition at line 148 of file ResourcePriorityQueue.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::SmallVectorTemplateCommon< T, typename >::end(), I, and llvm::SUnit::Succs.
Referenced by llvm::ResourcePriorityQueue::scheduledNode().
static unsigned numberCtrlPredInSU | ( | SUnit * | SU | ) | [static] |
Definition at line 158 of file ResourcePriorityQueue.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::SmallVectorTemplateCommon< T, typename >::end(), I, and llvm::SUnit::Preds.
Referenced by llvm::ResourcePriorityQueue::scheduledNode().
cl::opt<bool> DisableDFASched("disable-dfa-sched", cl::Hidden, cl::ZeroOrMore, cl::init(false), cl::desc("Disable use of DFA during scheduling")) [static] |
Referenced by llvm::ResourcePriorityQueue::pop().
Definition at line 400 of file ResourcePriorityQueue.cpp.
Referenced by llvm::ResourcePriorityQueue::SUSchedulingCost().
const unsigned PriorityFour = 5 [static] |
Definition at line 396 of file ResourcePriorityQueue.cpp.
Referenced by llvm::ResourcePriorityQueue::SUSchedulingCost().
const unsigned PriorityOne = 200 [static] |
Definition at line 393 of file ResourcePriorityQueue.cpp.
Referenced by llvm::ResourcePriorityQueue::SUSchedulingCost().
const unsigned PriorityThree = 15 [static] |
Definition at line 395 of file ResourcePriorityQueue.cpp.
Referenced by llvm::ResourcePriorityQueue::SUSchedulingCost().
const unsigned PriorityTwo = 50 [static] |
Definition at line 394 of file ResourcePriorityQueue.cpp.
Referenced by llvm::ResourcePriorityQueue::SUSchedulingCost().
cl::opt<signed> RegPressureThreshold("dfa-sched-reg-pressure-threshold", cl::Hidden, cl::ZeroOrMore, cl::init(5), cl::desc("Track reg pressure and switch priority to in-depth")) [static] |
Referenced by llvm::ResourcePriorityQueue::SUSchedulingCost().
Definition at line 397 of file ResourcePriorityQueue.cpp.
Referenced by llvm::ResourcePriorityQueue::SUSchedulingCost().
const unsigned ScaleThree = 5 [static] |
Definition at line 399 of file ResourcePriorityQueue.cpp.
Referenced by llvm::ResourcePriorityQueue::SUSchedulingCost().
Definition at line 398 of file ResourcePriorityQueue.cpp.
Referenced by llvm::ResourcePriorityQueue::SUSchedulingCost().