Lines Matching refs:MsgId

1227 bool isValidMsgId(int64_t MsgId, const MCSubtargetInfo &STI, bool Strict) {  in isValidMsgId()  argument
1229 switch (MsgId) { in isValidMsgId()
1243 return 0 <= MsgId && MsgId < ID_GAPS_LAST_ && IdSymbolic[MsgId]; in isValidMsgId()
1246 return 0 <= MsgId && isUInt<ID_WIDTH_>(MsgId); in isValidMsgId()
1250 StringRef getMsgName(int64_t MsgId) { in getMsgName() argument
1251 assert(0 <= MsgId && MsgId < ID_GAPS_LAST_); in getMsgName()
1252 return IdSymbolic[MsgId]; in getMsgName()
1255 int64_t getMsgOpId(int64_t MsgId, const StringRef Name) { in getMsgOpId() argument
1256 const char* const *S = (MsgId == ID_SYSMSG) ? OpSysSymbolic : OpGsSymbolic; in getMsgOpId()
1257 const int F = (MsgId == ID_SYSMSG) ? OP_SYS_FIRST_ : OP_GS_FIRST_; in getMsgOpId()
1258 const int L = (MsgId == ID_SYSMSG) ? OP_SYS_LAST_ : OP_GS_LAST_; in getMsgOpId()
1267 bool isValidMsgOp(int64_t MsgId, int64_t OpId, const MCSubtargetInfo &STI, in isValidMsgOp() argument
1269 assert(isValidMsgId(MsgId, STI, Strict)); in isValidMsgOp()
1274 switch(MsgId) in isValidMsgOp()
1287 StringRef getMsgOpName(int64_t MsgId, int64_t OpId) { in getMsgOpName() argument
1288 assert(msgRequiresOp(MsgId)); in getMsgOpName()
1289 return (MsgId == ID_SYSMSG)? OpSysSymbolic[OpId] : OpGsSymbolic[OpId]; in getMsgOpName()
1292 bool isValidMsgStream(int64_t MsgId, int64_t OpId, int64_t StreamId, in isValidMsgStream() argument
1294 assert(isValidMsgOp(MsgId, OpId, STI, Strict)); in isValidMsgStream()
1299 switch(MsgId) in isValidMsgStream()
1312 bool msgRequiresOp(int64_t MsgId) { in msgRequiresOp() argument
1313 return MsgId == ID_GS || MsgId == ID_GS_DONE || MsgId == ID_SYSMSG; in msgRequiresOp()
1316 bool msgSupportsStream(int64_t MsgId, int64_t OpId) { in msgSupportsStream() argument
1317 return (MsgId == ID_GS || MsgId == ID_GS_DONE) && OpId != OP_GS_NOP; in msgSupportsStream()
1321 uint16_t &MsgId, in decodeMsg() argument
1324 MsgId = Val & ID_MASK_; in decodeMsg()
1329 uint64_t encodeMsg(uint64_t MsgId, in encodeMsg() argument
1332 return (MsgId << ID_SHIFT_) | in encodeMsg()