LLVM 18.0.0git
|
Functions | |
static uint64_t | getMsgIdMask (const MCSubtargetInfo &STI) |
int64_t | getMsgId (const StringRef Name, const MCSubtargetInfo &STI) |
bool | isValidMsgId (int64_t MsgId, const MCSubtargetInfo &STI) |
StringRef | getMsgName (int64_t MsgId, const MCSubtargetInfo &STI) |
int64_t | getMsgOpId (int64_t MsgId, const StringRef Name) |
bool | isValidMsgOp (int64_t MsgId, int64_t OpId, const MCSubtargetInfo &STI, bool Strict) |
StringRef | getMsgOpName (int64_t MsgId, int64_t OpId, const MCSubtargetInfo &STI) |
bool | isValidMsgStream (int64_t MsgId, int64_t OpId, int64_t StreamId, const MCSubtargetInfo &STI, bool Strict) |
bool | msgRequiresOp (int64_t MsgId, const MCSubtargetInfo &STI) |
bool | msgSupportsStream (int64_t MsgId, int64_t OpId, const MCSubtargetInfo &STI) |
void | decodeMsg (unsigned Val, uint16_t &MsgId, uint16_t &OpId, uint16_t &StreamId, const MCSubtargetInfo &STI) |
uint64_t | encodeMsg (uint64_t MsgId, uint64_t OpId, uint64_t StreamId) |
Variables | |
const CustomOperand< const MCSubtargetInfo & > | Msg [] |
const int | MSG_SIZE |
const char *const | OpSysSymbolic [OP_SYS_LAST_] |
const char *const | OpGsSymbolic [OP_GS_LAST_] |
Definition at line 406 of file SIDefines.h.
Definition at line 436 of file SIDefines.h.
Enumerator | |
---|---|
STREAM_ID_NONE_ | |
STREAM_ID_DEFAULT_ | |
STREAM_ID_LAST_ | |
STREAM_ID_FIRST_ | |
STREAM_ID_SHIFT_ | |
STREAM_ID_WIDTH_ | |
STREAM_ID_MASK_ |
Definition at line 459 of file SIDefines.h.
void llvm::AMDGPU::SendMsg::decodeMsg | ( | unsigned | Val, |
uint16_t & | MsgId, | ||
uint16_t & | OpId, | ||
uint16_t & | StreamId, | ||
const MCSubtargetInfo & | STI | ||
) |
Definition at line 1827 of file AMDGPUBaseInfo.cpp.
References getMsgIdMask(), llvm::AMDGPU::isGFX11Plus(), OP_MASK_, OP_SHIFT_, STREAM_ID_MASK_, and STREAM_ID_SHIFT_.
LLVM_READNONE uint64_t llvm::AMDGPU::SendMsg::encodeMsg | ( | uint64_t | MsgId, |
uint64_t | OpId, | ||
uint64_t | StreamId | ||
) |
Definition at line 1839 of file AMDGPUBaseInfo.cpp.
References OP_SHIFT_, and STREAM_ID_SHIFT_.
LLVM_READONLY int64_t llvm::AMDGPU::SendMsg::getMsgId | ( | const StringRef | Name, |
const MCSubtargetInfo & | STI | ||
) |
|
static |
Definition at line 1738 of file AMDGPUBaseInfo.cpp.
References ID_MASK_GFX11Plus_, ID_MASK_PreGFX11_, and llvm::AMDGPU::isGFX11Plus().
Referenced by decodeMsg(), and isValidMsgId().
LLVM_READNONE StringRef llvm::AMDGPU::SendMsg::getMsgName | ( | int64_t | MsgId, |
const MCSubtargetInfo & | STI | ||
) |
Definition at line 1751 of file AMDGPUBaseInfo.cpp.
LLVM_READONLY int64_t llvm::AMDGPU::SendMsg::getMsgOpId | ( | int64_t | MsgId, |
const StringRef | Name | ||
) |
Definition at line 1756 of file AMDGPUBaseInfo.cpp.
References F, ID_SYSMSG, Name, OP_GS_FIRST_, OP_GS_LAST_, OP_SYS_FIRST_, OP_SYS_LAST_, OP_UNKNOWN_, OpGsSymbolic, and OpSysSymbolic.
LLVM_READNONE StringRef llvm::AMDGPU::SendMsg::getMsgOpName | ( | int64_t | MsgId, |
int64_t | OpId, | ||
const MCSubtargetInfo & | STI | ||
) |
Definition at line 1788 of file AMDGPUBaseInfo.cpp.
References assert(), ID_SYSMSG, msgRequiresOp(), OpGsSymbolic, and OpSysSymbolic.
LLVM_READNONE bool llvm::AMDGPU::SendMsg::isValidMsgId | ( | int64_t | MsgId, |
const MCSubtargetInfo & | STI | ||
) |
Definition at line 1747 of file AMDGPUBaseInfo.cpp.
References getMsgIdMask().
Referenced by isValidMsgOp().
LLVM_READNONE bool llvm::AMDGPU::SendMsg::isValidMsgOp | ( | int64_t | MsgId, |
int64_t | OpId, | ||
const MCSubtargetInfo & | STI, | ||
bool | Strict | ||
) |
Definition at line 1768 of file AMDGPUBaseInfo.cpp.
References assert(), ID_GS_DONE_PreGFX11, ID_GS_PreGFX11, ID_SYSMSG, llvm::AMDGPU::isGFX11Plus(), isValidMsgId(), OP_GS_FIRST_, OP_GS_LAST_, OP_GS_NOP, OP_NONE_, OP_SYS_FIRST_, and OP_SYS_LAST_.
Referenced by isValidMsgStream().
LLVM_READNONE bool llvm::AMDGPU::SendMsg::isValidMsgStream | ( | int64_t | MsgId, |
int64_t | OpId, | ||
int64_t | StreamId, | ||
const MCSubtargetInfo & | STI, | ||
bool | Strict | ||
) |
Definition at line 1794 of file AMDGPUBaseInfo.cpp.
References assert(), ID_GS_DONE_PreGFX11, ID_GS_PreGFX11, llvm::AMDGPU::isGFX11Plus(), isValidMsgOp(), OP_GS_NOP, STREAM_ID_FIRST_, STREAM_ID_LAST_, and STREAM_ID_NONE_.
LLVM_READNONE bool llvm::AMDGPU::SendMsg::msgRequiresOp | ( | int64_t | MsgId, |
const MCSubtargetInfo & | STI | ||
) |
Definition at line 1814 of file AMDGPUBaseInfo.cpp.
References ID_GS_DONE_PreGFX11, ID_GS_PreGFX11, ID_SYSMSG, and llvm::AMDGPU::isGFX11Plus().
Referenced by getMsgOpName().
LLVM_READNONE bool llvm::AMDGPU::SendMsg::msgSupportsStream | ( | int64_t | MsgId, |
int64_t | OpId, | ||
const MCSubtargetInfo & | STI | ||
) |
Definition at line 1820 of file AMDGPUBaseInfo.cpp.
References ID_GS_DONE_PreGFX11, ID_GS_PreGFX11, llvm::AMDGPU::isGFX11Plus(), and OP_GS_NOP.
const CustomOperand< const MCSubtargetInfo & > llvm::AMDGPU::SendMsg::Msg |
Definition at line 39 of file AMDGPUAsmUtils.cpp.
Referenced by getMsgId(), and getMsgName().
const int llvm::AMDGPU::SendMsg::MSG_SIZE |
Definition at line 65 of file AMDGPUAsmUtils.cpp.
Referenced by getMsgId(), and getMsgName().
Definition at line 77 of file AMDGPUAsmUtils.cpp.
Referenced by getMsgOpId(), and getMsgOpName().
Definition at line 69 of file AMDGPUAsmUtils.cpp.
Referenced by getMsgOpId(), and getMsgOpName().