Home
last modified time | relevance | path

Searched refs:MsgId (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.cpp778 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 …]
DAMDGPUBaseInfo.h492 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,
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DFunctionCognitiveComplexityCheck.cpp105 unsigned MsgId; // The id of the message to output. in process() local
110 MsgId = 0; in process()
113 MsgId = 1; in process()
116 MsgId = 2; in process()
119 MsgId = 3; in process()
123 return std::make_pair(MsgId, Increment); in process()
205 unsigned MsgId; in account() local
207 std::tie(MsgId, Increase) = D.process(); in account()
529 unsigned MsgId; // The id of the message to output. in check() local
531 std::tie(MsgId, Increase) = Detail.process(); in check()
[all …]
/external/llvm-project/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.cpp924 static bool isValidMsgId(int64_t MsgId) { in isValidMsgId() argument
925 return (ID_GAPS_FIRST_ <= MsgId && MsgId < ID_GAPS_LAST_) && IdSymbolic[MsgId]; in isValidMsgId()
928 bool isValidMsgId(int64_t MsgId, const MCSubtargetInfo &STI, bool Strict) { in isValidMsgId() argument
930 if (MsgId == ID_GS_ALLOC_REQ || MsgId == ID_GET_DOORBELL) in isValidMsgId()
933 return isValidMsgId(MsgId); in isValidMsgId()
935 return 0 <= MsgId && isUInt<ID_WIDTH_>(MsgId); in isValidMsgId()
939 StringRef getMsgName(int64_t MsgId) { in getMsgName() argument
940 return isValidMsgId(MsgId)? IdSymbolic[MsgId] : ""; in getMsgName()
943 int64_t getMsgOpId(int64_t MsgId, const StringRef Name) { in getMsgOpId() argument
944 const char* const *S = (MsgId == ID_SYSMSG) ? OpSysSymbolic : OpGsSymbolic; in getMsgOpId()
[all …]
DAMDGPUBaseInfo.h529 int64_t getMsgOpId(int64_t MsgId, const StringRef Name);
532 StringRef getMsgName(int64_t MsgId);
535 StringRef getMsgOpName(int64_t MsgId, int64_t OpId);
538 bool isValidMsgId(int64_t MsgId, const MCSubtargetInfo &STI, bool Strict = true);
541 bool isValidMsgOp(int64_t MsgId, int64_t OpId, bool Strict = true);
544 bool isValidMsgStream(int64_t MsgId, int64_t OpId, int64_t StreamId, bool Strict = true);
547 bool msgRequiresOp(int64_t MsgId);
550 bool msgSupportsStream(int64_t MsgId, int64_t OpId);
553 uint16_t &MsgId,
558 uint64_t encodeMsg(uint64_t MsgId,
/external/pdfium/xfa/fxfa/parser/
Dcxfa_msgid.cpp26 XFA_Element::MsgId, in CXFA_MsgId()
Dcxfa_message.cpp15 {XFA_Element::MsgId, 1, 0},
Delements.inc159 ELEM____(0x6ccd7274u, "msgId", MsgId, NodeWithDesc)
Dcxfa_node.cpp5540 case XFA_Element::MsgId: in Create()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUInstPrinter.cpp1151 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 …]
/external/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUInstPrinter.cpp1248 uint16_t MsgId; in printSendMsg() local
1251 decodeMsg(Imm16, MsgId, OpId, StreamId); in printSendMsg()
1253 if (isValidMsgId(MsgId, STI) && in printSendMsg()
1254 isValidMsgOp(MsgId, OpId) && in printSendMsg()
1255 isValidMsgStream(MsgId, OpId, StreamId)) { in printSendMsg()
1256 O << "sendmsg(" << getMsgName(MsgId); in printSendMsg()
1257 if (msgRequiresOp(MsgId)) { in printSendMsg()
1258 O << ", " << getMsgOpName(MsgId, OpId); in printSendMsg()
1259 if (msgSupportsStream(MsgId, OpId)) { in printSendMsg()
1264 } else if (encodeMsg(MsgId, OpId, StreamId) == Imm16) { in printSendMsg()
[all …]