Searched refs:MsgId (Results 1 – 3 of 3) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/Utils/ |
| H A D | AMDGPUBaseInfo.cpp | 1743 bool isValidMsgId(int64_t MsgId, const MCSubtargetInfo &STI) { in isValidMsgId() argument 1744 return (MsgId & ~(getMsgIdMask(STI))) == 0; in isValidMsgId() 1747 StringRef getMsgName(int64_t MsgId, const MCSubtargetInfo &STI) { in getMsgName() argument 1748 int Idx = getOprIdx<const MCSubtargetInfo &>(MsgId, Msg, MSG_SIZE, STI); in getMsgName() 1752 int64_t getMsgOpId(int64_t MsgId, const StringRef Name) { in getMsgOpId() argument 1753 const char* const *S = (MsgId == ID_SYSMSG) ? OpSysSymbolic : OpGsSymbolic; in getMsgOpId() 1754 const int F = (MsgId == ID_SYSMSG) ? OP_SYS_FIRST_ : OP_GS_FIRST_; in getMsgOpId() 1755 const int L = (MsgId == ID_SYSMSG) ? OP_SYS_LAST_ : OP_GS_LAST_; in getMsgOpId() 1764 bool isValidMsgOp(int64_t MsgId, int64_t OpId, const MCSubtargetInfo &STI, in isValidMsgOp() argument 1766 assert(isValidMsgId(MsgId, STI)); in isValidMsgOp() [all …]
|
| H A D | AMDGPUBaseInfo.h | 1022 int64_t getMsgOpId(int64_t MsgId, const StringRef Name); 1025 StringRef getMsgName(int64_t MsgId, const MCSubtargetInfo &STI); 1028 StringRef getMsgOpName(int64_t MsgId, int64_t OpId, const MCSubtargetInfo &STI); 1031 bool isValidMsgId(int64_t MsgId, const MCSubtargetInfo &STI); 1034 bool isValidMsgOp(int64_t MsgId, int64_t OpId, const MCSubtargetInfo &STI, 1038 bool isValidMsgStream(int64_t MsgId, int64_t OpId, int64_t StreamId, 1042 bool msgRequiresOp(int64_t MsgId, const MCSubtargetInfo &STI); 1045 bool msgSupportsStream(int64_t MsgId, int64_t OpId, const MCSubtargetInfo &STI); 1047 void decodeMsg(unsigned Val, uint16_t &MsgId, uint16_t &OpId, 1051 uint64_t encodeMsg(uint64_t MsgId,
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
| H A D | AMDGPUInstPrinter.cpp | 1372 uint16_t MsgId; in printSendMsg() local 1375 decodeMsg(Imm16, MsgId, OpId, StreamId, STI); in printSendMsg() 1377 StringRef MsgName = getMsgName(MsgId, STI); in printSendMsg() 1379 if (!MsgName.empty() && isValidMsgOp(MsgId, OpId, STI) && in printSendMsg() 1380 isValidMsgStream(MsgId, OpId, StreamId, STI)) { in printSendMsg() 1382 if (msgRequiresOp(MsgId, STI)) { in printSendMsg() 1383 O << ", " << getMsgOpName(MsgId, OpId, STI); in printSendMsg() 1384 if (msgSupportsStream(MsgId, OpId, STI)) { in printSendMsg() 1389 } else if (encodeMsg(MsgId, OpId, StreamId) == Imm16) { in printSendMsg() 1390 O << "sendmsg(" << MsgId << ", " << OpId << ", " << StreamId << ')'; in printSendMsg()
|