LLVM 24.0.0git
AMDGPUSetWavePriority.cpp File Reference

Pass to temporarily raise the wave priority beginning the start of the shader function until its last VMEM instructions to allow younger waves to issue their VMEM instructions as well. More...

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "amdgpu-set-wave-priority"

Functions

static bool CanLowerPriorityDirectlyInPredecessors (const MachineBasicBlock &MBB, MBBInfoSet &MBBInfos)
static bool isVMEMLoad (const MachineInstr &MI)

Detailed Description

Pass to temporarily raise the wave priority beginning the start of the shader function until its last VMEM instructions to allow younger waves to issue their VMEM instructions as well.

Definition in file AMDGPUSetWavePriority.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "amdgpu-set-wave-priority"

Definition at line 25 of file AMDGPUSetWavePriority.cpp.

Function Documentation

◆ CanLowerPriorityDirectlyInPredecessors()

bool CanLowerPriorityDirectlyInPredecessors ( const MachineBasicBlock & MBB,
MBBInfoSet & MBBInfos )
static

Definition at line 87 of file AMDGPUSetWavePriority.cpp.

References MBB, and Pred.

◆ isVMEMLoad()

bool isVMEMLoad ( const MachineInstr & MI)
static

Definition at line 100 of file AMDGPUSetWavePriority.cpp.

References llvm::SIInstrInfo::isVMEM(), and MI.