|
LLVM 23.0.0git
|
Represents the hardware counter limits for different wait count types. More...
#include "Target/AMDGPU/AMDGPUWaitcntUtils.h"
Public Member Functions | |
| HardwareLimits ()=default | |
| HardwareLimits (const IsaVersion &IV) | |
| Initializes hardware limits from ISA version. | |
| unsigned | get (InstCounterType T) const |
Represents the hardware counter limits for different wait count types.
Definition at line 50 of file AMDGPUWaitcntUtils.h.
| llvm::AMDGPU::HardwareLimits::HardwareLimits | ( | const IsaVersion & | IV | ) |
Initializes hardware limits from ISA version.
Definition at line 51 of file AMDGPUWaitcntUtils.cpp.
References AsyncMax, BvhcntMax, DscntMax, ExpcntMax, llvm::AMDGPU::getAsynccntBitMask(), llvm::AMDGPU::getBvhcntBitMask(), llvm::AMDGPU::getDscntBitMask(), llvm::AMDGPU::getExpcntBitMask(), llvm::AMDGPU::getKmcntBitMask(), llvm::AMDGPU::getLgkmcntBitMask(), llvm::AMDGPU::getLoadcntBitMask(), llvm::AMDGPU::getSamplecntBitMask(), llvm::AMDGPU::getStorecntBitMask(), llvm::AMDGPU::DepCtr::getVaVdstBitMask(), llvm::AMDGPU::getVmcntBitMask(), llvm::AMDGPU::DepCtr::getVmVsrcBitMask(), llvm::AMDGPU::getXcntBitMask(), IV, KmcntMax, LoadcntMax, SamplecntMax, StorecntMax, VaVdstMax, VmVsrcMax, and XcntMax.
| unsigned llvm::AMDGPU::HardwareLimits::get | ( | InstCounterType | T | ) | const |
Definition at line 71 of file AMDGPUWaitcntUtils.cpp.
References llvm::AMDGPU::BVH_CNT, BvhcntMax, llvm::AMDGPU::DS_CNT, DscntMax, llvm::AMDGPU::EXP_CNT, ExpcntMax, llvm::AMDGPU::KM_CNT, KmcntMax, llvm::AMDGPU::LOAD_CNT, LoadcntMax, llvm::AMDGPU::SAMPLE_CNT, SamplecntMax, llvm::AMDGPU::STORE_CNT, StorecntMax, T, llvm::AMDGPU::VA_VDST, VaVdstMax, llvm::AMDGPU::VM_VSRC, VmVsrcMax, llvm::AMDGPU::X_CNT, and XcntMax.
| unsigned llvm::AMDGPU::HardwareLimits::AsyncMax |
Definition at line 59 of file AMDGPUWaitcntUtils.h.
Referenced by HardwareLimits().
| unsigned llvm::AMDGPU::HardwareLimits::BvhcntMax |
Definition at line 56 of file AMDGPUWaitcntUtils.h.
Referenced by get(), and HardwareLimits().
| unsigned llvm::AMDGPU::HardwareLimits::DscntMax |
Definition at line 53 of file AMDGPUWaitcntUtils.h.
Referenced by get(), and HardwareLimits().
| unsigned llvm::AMDGPU::HardwareLimits::ExpcntMax |
Definition at line 52 of file AMDGPUWaitcntUtils.h.
Referenced by get(), and HardwareLimits().
| unsigned llvm::AMDGPU::HardwareLimits::KmcntMax |
Definition at line 57 of file AMDGPUWaitcntUtils.h.
Referenced by get(), and HardwareLimits().
| unsigned llvm::AMDGPU::HardwareLimits::LoadcntMax |
Definition at line 51 of file AMDGPUWaitcntUtils.h.
Referenced by get(), and HardwareLimits().
| unsigned llvm::AMDGPU::HardwareLimits::SamplecntMax |
Definition at line 55 of file AMDGPUWaitcntUtils.h.
Referenced by get(), and HardwareLimits().
| unsigned llvm::AMDGPU::HardwareLimits::StorecntMax |
Definition at line 54 of file AMDGPUWaitcntUtils.h.
Referenced by get(), and HardwareLimits().
| unsigned llvm::AMDGPU::HardwareLimits::VaVdstMax |
Definition at line 60 of file AMDGPUWaitcntUtils.h.
Referenced by get(), and HardwareLimits().
| unsigned llvm::AMDGPU::HardwareLimits::VmVsrcMax |
Definition at line 61 of file AMDGPUWaitcntUtils.h.
Referenced by get(), and HardwareLimits().
| unsigned llvm::AMDGPU::HardwareLimits::XcntMax |
Definition at line 58 of file AMDGPUWaitcntUtils.h.
Referenced by get(), and HardwareLimits().