LLVM 20.0.0git
|
#include "Target/AMDGPU/GCNSchedStrategy.h"
Public Member Functions | |
bool | initGCNSchedStage () override |
bool | initGCNRegion () override |
bool | shouldRevertScheduling (unsigned WavesAfter) override |
PreRARematStage (GCNSchedStageID StageID, GCNScheduleDAGMILive &DAG) | |
Public Member Functions inherited from llvm::GCNSchedStage | |
virtual bool | initGCNSchedStage () |
virtual void | finalizeGCNSchedStage () |
virtual bool | initGCNRegion () |
void | setupNewBlock () |
void | finalizeGCNRegion () |
void | checkScheduling () |
ScheduleMetrics | getScheduleMetrics (const std::vector< SUnit > &InputSchedule) |
ScheduleMetrics | getScheduleMetrics (const GCNScheduleDAGMILive &DAG) |
unsigned | computeSUnitReadyCycle (const SUnit &SU, unsigned CurrCycle, DenseMap< unsigned, unsigned > &ReadyCycles, const TargetSchedModel &SM) |
virtual bool | shouldRevertScheduling (unsigned WavesAfter) |
bool | isRegionWithExcessRP () const |
bool | mayCauseSpilling (unsigned WavesAfter) |
void | revertScheduling () |
void | advanceRegion () |
virtual | ~GCNSchedStage ()=default |
Additional Inherited Members | |
Protected Member Functions inherited from llvm::GCNSchedStage | |
GCNSchedStage (GCNSchedStageID StageID, GCNScheduleDAGMILive &DAG) | |
Protected Attributes inherited from llvm::GCNSchedStage | |
GCNScheduleDAGMILive & | DAG |
GCNSchedStrategy & | S |
MachineFunction & | MF |
SIMachineFunctionInfo & | MFI |
const GCNSubtarget & | ST |
const GCNSchedStageID | StageID |
MachineBasicBlock * | CurrentMBB = nullptr |
unsigned | RegionIdx = 0 |
std::vector< MachineInstr * > | Unsched |
GCNRegPressure | PressureBefore |
GCNRegPressure | PressureAfter |
std::vector< std::unique_ptr< ScheduleDAGMutation > > | SavedMutations |
Definition at line 366 of file GCNSchedStrategy.h.
|
inline |
Definition at line 398 of file GCNSchedStrategy.h.
|
overridevirtual |
Reimplemented from llvm::GCNSchedStage.
Definition at line 977 of file GCNSchedStrategy.cpp.
References llvm::GCNSchedStage::DAG, llvm::GCNSchedStage::initGCNRegion(), and llvm::GCNSchedStage::RegionIdx.
|
overridevirtual |
Reimplemented from llvm::GCNSchedStage.
Definition at line 842 of file GCNSchedStrategy.cpp.
References assert(), llvm::GCNSubtarget::computeOccupancy(), llvm::GCNSchedStage::DAG, llvm::dbgs(), llvm::MachineFunction::getFunction(), llvm::TargetSubtargetInfo::getInstrInfo(), llvm::AMDGPUMachineFunction::getLDSSize(), llvm::MachineFunction::getSubtarget(), llvm::GCNSchedStrategy::hasNextStage(), llvm::GCNSchedStage::initGCNSchedStage(), LLVM_DEBUG, llvm::GCNSchedStage::MF, llvm::GCNSchedStage::MFI, llvm::BitVector::none(), llvm::GCNSchedStage::S, llvm::GCNSchedStage::ST, and TII.
Reimplemented from llvm::GCNSchedStage.
Definition at line 1276 of file GCNSchedStrategy.cpp.
References llvm::GCNSchedStage::mayCauseSpilling(), and llvm::GCNSchedStage::shouldRevertScheduling().