Searched refs:MsgId (Results 1 – 3 of 3) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Utils/ |
D | AMDGPUBaseInfo.cpp | 778 static bool isValidMsgId(int64_t MsgId) { in isValidMsgId() argument 779 return (ID_GAPS_FIRST_ <= MsgId && MsgId < ID_GAPS_LAST_) && IdSymbolic[MsgId]; in isValidMsgId() 782 bool isValidMsgId(int64_t MsgId, const MCSubtargetInfo &STI, bool Strict) { in isValidMsgId() argument 784 if (MsgId == ID_GS_ALLOC_REQ || MsgId == ID_GET_DOORBELL) in isValidMsgId() 787 return isValidMsgId(MsgId); in isValidMsgId() 789 return 0 <= MsgId && isUInt<ID_WIDTH_>(MsgId); in isValidMsgId() 793 StringRef getMsgName(int64_t MsgId) { in getMsgName() argument 794 return isValidMsgId(MsgId)? IdSymbolic[MsgId] : ""; in getMsgName() 797 int64_t getMsgOpId(int64_t MsgId, const StringRef Name) { in getMsgOpId() argument 798 const char* const *S = (MsgId == ID_SYSMSG) ? OpSysSymbolic : OpGsSymbolic; in getMsgOpId() [all …]
|
D | AMDGPUBaseInfo.h | 492 int64_t getMsgOpId(int64_t MsgId, const StringRef Name); 495 StringRef getMsgName(int64_t MsgId); 498 StringRef getMsgOpName(int64_t MsgId, int64_t OpId); 501 bool isValidMsgId(int64_t MsgId, const MCSubtargetInfo &STI, bool Strict = true); 504 bool isValidMsgOp(int64_t MsgId, int64_t OpId, bool Strict = true); 507 bool isValidMsgStream(int64_t MsgId, int64_t OpId, int64_t StreamId, bool Strict = true); 510 bool msgRequiresOp(int64_t MsgId); 513 bool msgSupportsStream(int64_t MsgId, int64_t OpId); 516 uint16_t &MsgId, 521 uint64_t encodeMsg(uint64_t MsgId,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
D | AMDGPUInstPrinter.cpp | 1151 uint16_t MsgId; in printSendMsg() local 1154 decodeMsg(Imm16, MsgId, OpId, StreamId); in printSendMsg() 1156 if (isValidMsgId(MsgId, STI) && in printSendMsg() 1157 isValidMsgOp(MsgId, OpId) && in printSendMsg() 1158 isValidMsgStream(MsgId, OpId, StreamId)) { in printSendMsg() 1159 O << "sendmsg(" << getMsgName(MsgId); in printSendMsg() 1160 if (msgRequiresOp(MsgId)) { in printSendMsg() 1161 O << ", " << getMsgOpName(MsgId, OpId); in printSendMsg() 1162 if (msgSupportsStream(MsgId, OpId)) { in printSendMsg() 1167 } else if (encodeMsg(MsgId, OpId, StreamId) == Imm16) { in printSendMsg() [all …]
|