Lines Matching refs:attrMask
78 static InstructionContext contextForAttrs(uint16_t attrMask) in contextForAttrs() argument
80 return CONTEXTS_SYM[attrMask]; in contextForAttrs()
1078 uint16_t attrMask) in getIDWithAttrMask() argument
1095 instructionClass = contextForAttrs(attrMask); in getIDWithAttrMask()
1152 uint16_t attrMask; in getID() local
1157 attrMask = ATTR_NONE; in getID()
1160 attrMask |= ATTR_64BIT; in getID()
1163 attrMask |= (insn->vectorExtensionType == TYPE_EVEX) ? ATTR_EVEX : ATTR_VEX; in getID()
1168 attrMask |= ATTR_OPSIZE; in getID()
1171 attrMask |= ATTR_XS; in getID()
1174 attrMask |= ATTR_XD; in getID()
1179 attrMask |= ATTR_EVEXKZ; in getID()
1181 attrMask |= ATTR_EVEXB; in getID()
1183 attrMask |= ATTR_EVEXK; in getID()
1185 attrMask |= ATTR_EVEXL; in getID()
1187 attrMask |= ATTR_EVEXL2; in getID()
1191 attrMask |= ATTR_OPSIZE; in getID()
1194 attrMask |= ATTR_XS; in getID()
1197 attrMask |= ATTR_XD; in getID()
1202 attrMask |= ATTR_VEXL; in getID()
1206 attrMask |= ATTR_OPSIZE; in getID()
1209 attrMask |= ATTR_XS; in getID()
1212 attrMask |= ATTR_XD; in getID()
1217 attrMask |= ATTR_VEXL; in getID()
1221 attrMask |= ATTR_OPSIZE; in getID()
1224 attrMask |= ATTR_XS; in getID()
1227 attrMask |= ATTR_XD; in getID()
1232 attrMask |= ATTR_VEXL; in getID()
1238 attrMask |= ATTR_OPSIZE; in getID()
1240 attrMask |= ATTR_ADSIZE; in getID()
1242 attrMask |= ATTR_XS; in getID()
1244 attrMask |= ATTR_XD; in getID()
1249 attrMask |= ATTR_REXW; in getID()
1251 if (getIDWithAttrMask(&instructionID, insn, attrMask)) in getID()
1258 attrMask ^= ATTR_OPSIZE; in getID()
1259 if (getIDWithAttrMask(&instructionID, insn, attrMask)) in getID()
1276 attrMask ^= ATTR_ADSIZE; in getID()
1277 if (getIDWithAttrMask(&instructionID, insn, attrMask)) in getID()
1284 !(attrMask & ATTR_OPSIZE)) { in getID()
1299 insn, attrMask | ATTR_OPSIZE)) { in getID()
1339 attrMask)) { in getID()