LLVM 20.0.0git
|
Classes | |
struct | ExpTgt |
Enumerations | |
enum | Target : unsigned { ET_MRT0 = 0 , ET_MRT7 = 7 , ET_MRTZ = 8 , ET_NULL = 9 , ET_POS0 = 12 , ET_POS3 = 15 , ET_POS4 = 16 , ET_POS_LAST = ET_POS4 , ET_PRIM = 20 , ET_DUAL_SRC_BLEND0 = 21 , ET_DUAL_SRC_BLEND1 = 22 , ET_PARAM0 = 32 , ET_PARAM31 = 63 , ET_NULL_MAX_IDX = 0 , ET_MRTZ_MAX_IDX = 0 , ET_PRIM_MAX_IDX = 0 , ET_MRT_MAX_IDX = 7 , ET_POS_MAX_IDX = 4 , ET_DUAL_SRC_BLEND_MAX_IDX = 1 , ET_PARAM_MAX_IDX = 31 , ET_INVALID = 255 } |
Functions | |
bool | getTgtName (unsigned Id, StringRef &Name, int &Index) |
unsigned | getTgtId (const StringRef Name) |
bool | isSupportedTgtId (unsigned Id, const MCSubtargetInfo &STI) |
Variables | |
static constexpr ExpTgt | ExpTgtInfo [] |
Definition at line 972 of file SIDefines.h.
LLVM_READONLY unsigned llvm::AMDGPU::Exp::getTgtId | ( | const StringRef | Name | ) |
Definition at line 1733 of file AMDGPUBaseInfo.cpp.
References ET_INVALID, ExpTgtInfo, llvm::StringRef::getAsInteger(), Name, and llvm::StringRef::size().
Definition at line 1722 of file AMDGPUBaseInfo.cpp.
References ExpTgtInfo, and Name.
LLVM_READNONE bool llvm::AMDGPU::Exp::isSupportedTgtId | ( | unsigned | Id, |
const MCSubtargetInfo & | STI | ||
) |
Definition at line 1756 of file AMDGPUBaseInfo.cpp.
References ET_DUAL_SRC_BLEND0, ET_DUAL_SRC_BLEND1, ET_NULL, ET_PARAM0, ET_PARAM31, ET_POS4, ET_PRIM, llvm::AMDGPU::isGFX10Plus(), and llvm::AMDGPU::isGFX11Plus().
|
staticconstexpr |
Definition at line 1712 of file AMDGPUBaseInfo.cpp.
Referenced by getTgtId(), and getTgtName().