LLVM 20.0.0git
|
#include "llvm/CodeGen/ScheduleDAG.h"
Go to the source code of this file.
Namespaces | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. | |
Macros | |
#define | DEBUG_TYPE "machine-scheduler" |
Functions | |
static unsigned | CalcNodeSethiUllmanNumber (const SUnit *SU, std::vector< unsigned > &SUNumbers) |
CalcNodeSethiUllmanNumber - Compute Sethi Ullman number. | |
static unsigned | closestSucc (const SUnit *SU) |
closestSucc - Returns the scheduled cycle of the successor which is closest to the current cycle. | |
static unsigned | calcMaxScratches (const SUnit *SU) |
calcMaxScratches - Returns an cost estimate of the worse case requirement for scratch registers, i.e. | |
static int | BUCompareLatency (const SUnit *left, const SUnit *right) |
std::vector< const SUnit * > | llvm::makeGCNILPScheduler (ArrayRef< const SUnit * > BotRoots, const ScheduleDAG &DAG) |
#define DEBUG_TYPE "machine-scheduler" |
Definition at line 17 of file GCNILPSched.cpp.
Definition at line 132 of file GCNILPSched.cpp.
References llvm::dbgs(), llvm::SUnit::getDepth(), llvm::SUnit::getHeight(), llvm::SUnit::Latency, LLVM_DEBUG, and llvm::SUnit::NodeNum.
calcMaxScratches - Returns an cost estimate of the worse case requirement for scratch registers, i.e.
number of data dependencies.
Definition at line 121 of file GCNILPSched.cpp.
References llvm::SDep::isCtrl(), and llvm::SUnit::Preds.
|
static |
CalcNodeSethiUllmanNumber - Compute Sethi Ullman number.
Smaller number is the higher priority.
Definition at line 58 of file GCNILPSched.cpp.
References CalcNodeSethiUllmanNumber(), llvm::SDep::getSUnit(), llvm::SDep::isCtrl(), llvm::SUnit::NodeNum, and llvm::SUnit::Preds.
Referenced by CalcNodeSethiUllmanNumber().
closestSucc - Returns the scheduled cycle of the successor which is closest to the current cycle.
Definition at line 106 of file GCNILPSched.cpp.
References llvm::SUnit::getHeight(), llvm::SDep::getSUnit(), llvm::SDep::isCtrl(), and llvm::SUnit::Succs.