LLVM
8.0.1
|
Represents the counter values to wait for in an s_waitcnt instruction. More...
#include "Target/AMDGPU/Utils/AMDGPUBaseInfo.h"
Public Member Functions | |
Waitcnt () | |
Waitcnt (unsigned VmCnt, unsigned ExpCnt, unsigned LgkmCnt) | |
bool | dominates (const Waitcnt &Other) const |
Waitcnt | combined (const Waitcnt &Other) const |
Static Public Member Functions | |
static Waitcnt | allZero () |
Public Attributes | |
unsigned | VmCnt = ~0u |
unsigned | ExpCnt = ~0u |
unsigned | LgkmCnt = ~0u |
Represents the counter values to wait for in an s_waitcnt instruction.
Large values (including the maximum possible integer) can be used to represent "don't care" waits.
Definition at line 284 of file AMDGPUBaseInfo.h.
|
inline |
Definition at line 289 of file AMDGPUBaseInfo.h.
Definition at line 290 of file AMDGPUBaseInfo.h.
|
inlinestatic |
Definition at line 293 of file AMDGPUBaseInfo.h.
Referenced by readsVCCZ().
Definition at line 300 of file AMDGPUBaseInfo.h.
References llvm::AMDGPU::decodeExpcnt(), llvm::AMDGPU::decodeLgkmcnt(), llvm::AMDGPU::decodeVmcnt(), llvm::AMDGPU::decodeWaitcnt(), llvm::AMDGPU::encodeExpcnt(), llvm::AMDGPU::encodeLgkmcnt(), llvm::AMDGPU::encodeVmcnt(), llvm::AMDGPU::encodeWaitcnt(), ExpCnt, F(), llvm::AMDGPU::getExpcntBitMask(), llvm::AMDGPU::getInitialPSInputAddr(), llvm::AMDGPU::getLgkmcntBitMask(), llvm::AMDGPU::getVmcntBitMask(), llvm::AMDGPU::getWaitcntBitMask(), llvm::AMDGPU::isCompute(), llvm::AMDGPU::isEntryFunctionCC(), llvm::AMDGPU::isShader(), LgkmCnt, LLVM_READNONE, llvm::IndexedInstrProf::Version, and VmCnt.
Definition at line 295 of file AMDGPUBaseInfo.h.
unsigned llvm::AMDGPU::Waitcnt::ExpCnt = ~0u |
Definition at line 286 of file AMDGPUBaseInfo.h.
Referenced by combined(), llvm::AMDGPU::decodeWaitcnt(), dominates(), and llvm::AMDGPU::encodeWaitcnt().
unsigned llvm::AMDGPU::Waitcnt::LgkmCnt = ~0u |
Definition at line 287 of file AMDGPUBaseInfo.h.
Referenced by combined(), llvm::AMDGPU::decodeWaitcnt(), dominates(), and llvm::AMDGPU::encodeWaitcnt().
unsigned llvm::AMDGPU::Waitcnt::VmCnt = ~0u |
Definition at line 285 of file AMDGPUBaseInfo.h.
Referenced by combined(), llvm::AMDGPU::decodeWaitcnt(), dominates(), and llvm::AMDGPU::encodeWaitcnt().