LLVM 20.0.0git
Classes | Enumerations | Functions | Variables
llvm::AMDGPU::Exp Namespace Reference

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 []
 

Enumeration Type Documentation

◆ Target

Enumerator
ET_MRT0 
ET_MRT7 
ET_MRTZ 
ET_NULL 
ET_POS0 
ET_POS3 
ET_POS4 
ET_POS_LAST 
ET_PRIM 
ET_DUAL_SRC_BLEND0 
ET_DUAL_SRC_BLEND1 
ET_PARAM0 
ET_PARAM31 
ET_NULL_MAX_IDX 
ET_MRTZ_MAX_IDX 
ET_PRIM_MAX_IDX 
ET_MRT_MAX_IDX 
ET_POS_MAX_IDX 
ET_DUAL_SRC_BLEND_MAX_IDX 
ET_PARAM_MAX_IDX 
ET_INVALID 

Definition at line 996 of file SIDefines.h.

Function Documentation

◆ getTgtId()

LLVM_READONLY unsigned llvm::AMDGPU::Exp::getTgtId ( const StringRef  Name)

◆ getTgtName()

bool llvm::AMDGPU::Exp::getTgtName ( unsigned  Id,
StringRef Name,
int &  Index 
)

Definition at line 1770 of file AMDGPUBaseInfo.cpp.

References ExpTgtInfo, Index, and Name.

◆ isSupportedTgtId()

LLVM_READNONE bool llvm::AMDGPU::Exp::isSupportedTgtId ( unsigned  Id,
const MCSubtargetInfo STI 
)

Variable Documentation

◆ ExpTgtInfo

constexpr ExpTgt llvm::AMDGPU::Exp::ExpTgtInfo[]
staticconstexpr
Initial value:

Definition at line 1760 of file AMDGPUBaseInfo.cpp.

Referenced by getTgtId(), and getTgtName().