|
LLVM
10.0.0
|
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, unsigned VsCnt) | |
| bool | hasWait () const |
| bool | dominates (const Waitcnt &Other) const |
| Waitcnt | combined (const Waitcnt &Other) const |
Static Public Member Functions | |
| static Waitcnt | allZero (const IsaVersion &Version) |
| static Waitcnt | allZeroExceptVsCnt () |
Public Attributes | |
| unsigned | VmCnt = ~0u |
| unsigned | ExpCnt = ~0u |
| unsigned | LgkmCnt = ~0u |
| unsigned | VsCnt = ~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 362 of file AMDGPUBaseInfo.h.
|
inline |
Definition at line 368 of file AMDGPUBaseInfo.h.
|
inline |
Definition at line 369 of file AMDGPUBaseInfo.h.
|
inlinestatic |
Definition at line 372 of file AMDGPUBaseInfo.h.
References llvm::AMDGPU::IsaVersion::Major.
Referenced by callWaitsOnFunctionReturn().
|
inlinestatic |
Definition at line 375 of file AMDGPUBaseInfo.h.
Definition at line 386 of file AMDGPUBaseInfo.h.
References llvm::AMDGPU::decodeExpcnt(), llvm::AMDGPU::Hwreg::decodeHwreg(), llvm::AMDGPU::decodeLgkmcnt(), llvm::AMDGPU::SendMsg::decodeMsg(), llvm::AMDGPU::decodeVmcnt(), llvm::AMDGPU::decodeWaitcnt(), llvm::AMDGPU::encodeExpcnt(), llvm::AMDGPU::Hwreg::encodeHwreg(), llvm::AMDGPU::encodeLgkmcnt(), llvm::AMDGPU::SendMsg::encodeMsg(), llvm::AMDGPU::encodeVmcnt(), llvm::AMDGPU::encodeWaitcnt(), ExpCnt, F(), llvm::AMDGPU::getExpcntBitMask(), llvm::AMDGPU::Hwreg::getHwreg(), llvm::AMDGPU::Hwreg::getHwregId(), llvm::AMDGPU::getInitialPSInputAddr(), llvm::AMDGPU::getLgkmcntBitMask(), llvm::AMDGPU::SendMsg::getMsgId(), llvm::AMDGPU::SendMsg::getMsgName(), llvm::AMDGPU::SendMsg::getMsgOpId(), llvm::AMDGPU::SendMsg::getMsgOpName(), llvm::AMDGPU::getVmcntBitMask(), llvm::AMDGPU::getWaitcntBitMask(), llvm::AMDGPU::isCompute(), llvm::AMDGPU::isEntryFunctionCC(), llvm::AMDGPU::isShader(), llvm::AMDGPU::Hwreg::isValidHwreg(), llvm::AMDGPU::Hwreg::isValidHwregOffset(), llvm::AMDGPU::Hwreg::isValidHwregWidth(), llvm::AMDGPU::SendMsg::isValidMsgId(), llvm::AMDGPU::SendMsg::isValidMsgOp(), llvm::AMDGPU::SendMsg::isValidMsgStream(), LgkmCnt, LLVM_READNONE, LLVM_READONLY, llvm::AMDGPU::SendMsg::msgRequiresOp(), llvm::AMDGPU::SendMsg::msgSupportsStream(), Name, llvm::FPOpFusion::Strict, llvm::IndexedInstrProf::Version, VmCnt, and VsCnt.
|
inline |
Definition at line 377 of file AMDGPUBaseInfo.h.
| unsigned llvm::AMDGPU::Waitcnt::ExpCnt = ~0u |
Definition at line 364 of file AMDGPUBaseInfo.h.
Referenced by combined(), llvm::AMDGPU::decodeWaitcnt(), dominates(), and llvm::AMDGPU::encodeWaitcnt().
| unsigned llvm::AMDGPU::Waitcnt::LgkmCnt = ~0u |
Definition at line 365 of file AMDGPUBaseInfo.h.
Referenced by combined(), llvm::AMDGPU::decodeWaitcnt(), dominates(), and llvm::AMDGPU::encodeWaitcnt().
| unsigned llvm::AMDGPU::Waitcnt::VmCnt = ~0u |
Definition at line 363 of file AMDGPUBaseInfo.h.
Referenced by combined(), llvm::AMDGPU::decodeWaitcnt(), dominates(), and llvm::AMDGPU::encodeWaitcnt().
| unsigned llvm::AMDGPU::Waitcnt::VsCnt = ~0u |
Definition at line 366 of file AMDGPUBaseInfo.h.
Referenced by combined(), and dominates().
1.8.13