|
LLVM
10.0.0
|
Enumerations | |
| enum | Id { ID_UNKNOWN_ = -1, ID_INTERRUPT = 1, ID_GS, ID_GS_DONE, ID_GS_ALLOC_REQ = 9, ID_GET_DOORBELL = 10, ID_SYSMSG = 15, ID_GAPS_LAST_, ID_GAPS_FIRST_ = ID_INTERRUPT, ID_SHIFT_ = 0, ID_WIDTH_ = 4, ID_MASK_ = (((1 << ID_WIDTH_) - 1) << ID_SHIFT_) } |
| enum | Op { OP_UNKNOWN_ = -1, OP_SHIFT_ = 4, OP_NONE_ = 0, OP_WIDTH_ = 3, OP_MASK_ = (((1 << OP_WIDTH_) - 1) << OP_SHIFT_), OP_GS_NOP = 0, OP_GS_CUT, OP_GS_EMIT, OP_GS_EMIT_CUT, OP_GS_LAST_, OP_GS_FIRST_ = OP_GS_NOP, OP_SYS_ECC_ERR_INTERRUPT = 1, OP_SYS_REG_RD, OP_SYS_HOST_TRAP_ACK, OP_SYS_TTRACE_PC, OP_SYS_LAST_, OP_SYS_FIRST_ = OP_SYS_ECC_ERR_INTERRUPT } |
| enum | StreamId : unsigned { STREAM_ID_NONE_ = 0, STREAM_ID_DEFAULT_ = 0, STREAM_ID_LAST_ = 4, STREAM_ID_FIRST_ = STREAM_ID_DEFAULT_, STREAM_ID_SHIFT_ = 8, STREAM_ID_WIDTH_ = 2, STREAM_ID_MASK_ = (((1 << STREAM_ID_WIDTH_) - 1) << STREAM_ID_SHIFT_) } |
Functions | |
| int64_t | getMsgId (const StringRef Name) |
| static bool | isValidMsgId (int64_t MsgId) |
| bool | isValidMsgId (int64_t MsgId, const MCSubtargetInfo &STI, bool Strict) |
| StringRef | getMsgName (int64_t MsgId) |
| int64_t | getMsgOpId (int64_t MsgId, const StringRef Name) |
| bool | isValidMsgOp (int64_t MsgId, int64_t OpId, bool Strict) |
| StringRef | getMsgOpName (int64_t MsgId, int64_t OpId) |
| bool | isValidMsgStream (int64_t MsgId, int64_t OpId, int64_t StreamId, bool Strict) |
| bool | msgRequiresOp (int64_t MsgId) |
| bool | msgSupportsStream (int64_t MsgId, int64_t OpId) |
| void | decodeMsg (unsigned Val, uint16_t &MsgId, uint16_t &OpId, uint16_t &StreamId) |
| uint64_t | encodeMsg (uint64_t MsgId, uint64_t OpId, uint64_t StreamId) |
Variables | |
| const char *const | IdSymbolic [] |
| const char *const | OpSysSymbolic [] |
| const char *const | OpGsSymbolic [] |
| Enumerator | |
|---|---|
| ID_UNKNOWN_ | |
| ID_INTERRUPT | |
| ID_GS | |
| ID_GS_DONE | |
| ID_GS_ALLOC_REQ | |
| ID_GET_DOORBELL | |
| ID_SYSMSG | |
| ID_GAPS_LAST_ | |
| ID_GAPS_FIRST_ | |
| ID_SHIFT_ | |
| ID_WIDTH_ | |
| ID_MASK_ | |
Definition at line 263 of file SIDefines.h.
Definition at line 278 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 301 of file SIDefines.h.
| void llvm::AMDGPU::SendMsg::decodeMsg | ( | unsigned | Val, |
| uint16_t & | MsgId, | ||
| uint16_t & | OpId, | ||
| uint16_t & | StreamId | ||
| ) |
Definition at line 858 of file AMDGPUBaseInfo.cpp.
References ID_MASK_, OP_MASK_, OP_SHIFT_, STREAM_ID_MASK_, and STREAM_ID_SHIFT_.
Referenced by llvm::AMDGPU::Waitcnt::combined(), and llvm::AMDGPUInstPrinter::printSendMsg().
| LLVM_READNONE uint64_t llvm::AMDGPU::SendMsg::encodeMsg | ( | uint64_t | MsgId, |
| uint64_t | OpId, | ||
| uint64_t | StreamId | ||
| ) |
Definition at line 867 of file AMDGPUBaseInfo.cpp.
References ID_SHIFT_, OP_SHIFT_, and STREAM_ID_SHIFT_.
Referenced by llvm::AMDGPU::Waitcnt::combined(), encodeCnt(), and llvm::AMDGPUInstPrinter::printSendMsg().
| LLVM_READONLY int64_t llvm::AMDGPU::SendMsg::getMsgId | ( | const StringRef | Name | ) |
Definition at line 770 of file AMDGPUBaseInfo.cpp.
References ID_GAPS_FIRST_, ID_GAPS_LAST_, ID_UNKNOWN_, and IdSymbolic.
Referenced by llvm::AMDGPU::Waitcnt::combined(), and encodeCnt().
| LLVM_READNONE StringRef llvm::AMDGPU::SendMsg::getMsgName | ( | int64_t | MsgId | ) |
Definition at line 793 of file AMDGPUBaseInfo.cpp.
References IdSymbolic, and isValidMsgId().
Referenced by llvm::AMDGPU::Waitcnt::combined(), and llvm::AMDGPUInstPrinter::printSendMsg().
| LLVM_READONLY int64_t llvm::AMDGPU::SendMsg::getMsgOpId | ( | int64_t | MsgId, |
| const StringRef | Name | ||
| ) |
Definition at line 797 of file AMDGPUBaseInfo.cpp.
References F(), ID_SYSMSG, OP_GS_FIRST_, OP_GS_LAST_, OP_SYS_FIRST_, OP_SYS_LAST_, OP_UNKNOWN_, OpGsSymbolic, and OpSysSymbolic.
Referenced by llvm::AMDGPU::Waitcnt::combined(), and encodeCnt().
| LLVM_READNONE StringRef llvm::AMDGPU::SendMsg::getMsgOpName | ( | int64_t | MsgId, |
| int64_t | OpId | ||
| ) |
Definition at line 827 of file AMDGPUBaseInfo.cpp.
References assert(), ID_SYSMSG, msgRequiresOp(), OpGsSymbolic, and OpSysSymbolic.
Referenced by llvm::AMDGPU::Waitcnt::combined(), and llvm::AMDGPUInstPrinter::printSendMsg().
|
static |
Definition at line 778 of file AMDGPUBaseInfo.cpp.
References ID_GAPS_FIRST_, ID_GAPS_LAST_, and IdSymbolic.
Referenced by llvm::AMDGPU::Waitcnt::combined(), encodeCnt(), and llvm::AMDGPUInstPrinter::printSendMsg().
| LLVM_READNONE bool llvm::AMDGPU::SendMsg::isValidMsgId | ( | int64_t | MsgId, |
| const MCSubtargetInfo & | STI, | ||
| bool | Strict | ||
| ) |
Definition at line 782 of file AMDGPUBaseInfo.cpp.
References ID_GET_DOORBELL, ID_GS_ALLOC_REQ, llvm::AMDGPU::isGFX10(), and llvm::AMDGPU::isGFX9().
Referenced by getMsgName().
| LLVM_READNONE bool llvm::AMDGPU::SendMsg::isValidMsgOp | ( | int64_t | MsgId, |
| int64_t | OpId, | ||
| bool | Strict | ||
| ) |
Definition at line 809 of file AMDGPUBaseInfo.cpp.
References ID_GS, ID_GS_DONE, ID_SYSMSG, OP_GS_FIRST_, OP_GS_LAST_, OP_GS_NOP, OP_NONE_, OP_SYS_FIRST_, and OP_SYS_LAST_.
Referenced by llvm::AMDGPU::Waitcnt::combined(), encodeCnt(), and llvm::AMDGPUInstPrinter::printSendMsg().
| LLVM_READNONE bool llvm::AMDGPU::SendMsg::isValidMsgStream | ( | int64_t | MsgId, |
| int64_t | OpId, | ||
| int64_t | StreamId, | ||
| bool | Strict | ||
| ) |
Definition at line 832 of file AMDGPUBaseInfo.cpp.
References ID_GS, ID_GS_DONE, OP_GS_NOP, STREAM_ID_FIRST_, STREAM_ID_LAST_, and STREAM_ID_NONE_.
Referenced by llvm::AMDGPU::Waitcnt::combined(), encodeCnt(), and llvm::AMDGPUInstPrinter::printSendMsg().
| LLVM_READNONE bool llvm::AMDGPU::SendMsg::msgRequiresOp | ( | int64_t | MsgId | ) |
Definition at line 850 of file AMDGPUBaseInfo.cpp.
References ID_GS, ID_GS_DONE, and ID_SYSMSG.
Referenced by llvm::AMDGPU::Waitcnt::combined(), encodeCnt(), getMsgOpName(), and llvm::AMDGPUInstPrinter::printSendMsg().
| LLVM_READNONE bool llvm::AMDGPU::SendMsg::msgSupportsStream | ( | int64_t | MsgId, |
| int64_t | OpId | ||
| ) |
Definition at line 854 of file AMDGPUBaseInfo.cpp.
References ID_GS, ID_GS_DONE, and OP_GS_NOP.
Referenced by llvm::AMDGPU::Waitcnt::combined(), encodeCnt(), and llvm::AMDGPUInstPrinter::printSendMsg().
Definition at line 15 of file AMDGPUAsmUtils.cpp.
Referenced by allOpsDefaultValue(), encodeBitmaskPerm(), llvm::AMDGPU::Hwreg::getHwreg(), llvm::AMDGPU::Hwreg::getHwregId(), getMsgId(), getMsgName(), llvm::AMDGPU::Hwreg::isValidHwreg(), isValidMsgId(), and llvm::AMDGPUInstPrinter::printSwizzle().
Definition at line 43 of file AMDGPUAsmUtils.cpp.
Referenced by getMsgOpId(), and getMsgOpName().
Definition at line 35 of file AMDGPUAsmUtils.cpp.
Referenced by getMsgOpId(), and getMsgOpName().
1.8.13