LLVM 20.0.0git
Public Member Functions | List of all members
llvm::MemoryClauseInitialScheduleStage Class Reference

#include "Target/AMDGPU/GCNSchedStrategy.h"

Inheritance diagram for llvm::MemoryClauseInitialScheduleStage:
Inheritance graph
[legend]

Public Member Functions

bool shouldRevertScheduling (unsigned WavesAfter) override
 
 MemoryClauseInitialScheduleStage (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
 
unsigned getRegionIdx ()
 
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
GCNScheduleDAGMILiveDAG
 
GCNSchedStrategyS
 
MachineFunctionMF
 
SIMachineFunctionInfoMFI
 
const GCNSubtargetST
 
const GCNSchedStageID StageID
 
MachineBasicBlockCurrentMBB = nullptr
 
unsigned RegionIdx = 0
 
std::vector< MachineInstr * > Unsched
 
GCNRegPressure PressureBefore
 
GCNRegPressure PressureAfter
 
std::vector< std::unique_ptr< ScheduleDAGMutation > > SavedMutations
 

Detailed Description

Definition at line 478 of file GCNSchedStrategy.h.

Constructor & Destructor Documentation

◆ MemoryClauseInitialScheduleStage()

llvm::MemoryClauseInitialScheduleStage::MemoryClauseInitialScheduleStage ( GCNSchedStageID  StageID,
GCNScheduleDAGMILive DAG 
)
inline

Definition at line 482 of file GCNSchedStrategy.h.

Member Function Documentation

◆ shouldRevertScheduling()

bool MemoryClauseInitialScheduleStage::shouldRevertScheduling ( unsigned  WavesAfter)
overridevirtual

Reimplemented from llvm::GCNSchedStage.

Definition at line 1531 of file GCNSchedStrategy.cpp.

References llvm::GCNSchedStage::mayCauseSpilling().


The documentation for this class was generated from the following files: