Lines Matching refs:Prefix
977 X86OpcodePrefixHelper Prefix(*Ctx.getRegisterInfo()); in emitVEXOpcodePrefix() local
982 Prefix.setLowerBound(XOP); in emitVEXOpcodePrefix()
986 Prefix.setLowerBound((MI.getFlags() & X86::IP_USE_VEX3) ? VEX3 : VEX2); in emitVEXOpcodePrefix()
989 Prefix.setLowerBound(EVEX); in emitVEXOpcodePrefix()
993 Prefix.setW(TSFlags & X86II::REX_W); in emitVEXOpcodePrefix()
994 Prefix.setNF(TSFlags & X86II::EVEX_NF); in emitVEXOpcodePrefix()
1005 Prefix.set5M(0x1); // 0F in emitVEXOpcodePrefix()
1008 Prefix.set5M(0x2); // 0F 38 in emitVEXOpcodePrefix()
1011 Prefix.set5M(0x3); // 0F 3A in emitVEXOpcodePrefix()
1014 Prefix.set5M(0x8); in emitVEXOpcodePrefix()
1017 Prefix.set5M(0x9); in emitVEXOpcodePrefix()
1020 Prefix.set5M(0xA); in emitVEXOpcodePrefix()
1023 Prefix.set5M(0x4); in emitVEXOpcodePrefix()
1026 Prefix.set5M(0x5); in emitVEXOpcodePrefix()
1029 Prefix.set5M(0x6); in emitVEXOpcodePrefix()
1032 Prefix.set5M(0x7); in emitVEXOpcodePrefix()
1036 Prefix.setL(TSFlags & X86II::VEX_L); in emitVEXOpcodePrefix()
1037 Prefix.setL2(TSFlags & X86II::EVEX_L2); in emitVEXOpcodePrefix()
1043 Prefix.setPP(0x1); // 66 in emitVEXOpcodePrefix()
1046 Prefix.setPP(0x2); // F3 in emitVEXOpcodePrefix()
1049 Prefix.setPP(0x3); // F2 in emitVEXOpcodePrefix()
1053 Prefix.setZ(HasEVEX_K && (TSFlags & X86II::EVEX_Z)); in emitVEXOpcodePrefix()
1054 Prefix.setEVEX_b(TSFlags & X86II::EVEX_B); in emitVEXOpcodePrefix()
1067 Prefix.setRR2(MI, CurOp++); in emitVEXOpcodePrefix()
1068 Prefix.setBB2(MI, MemOperand + X86::AddrBaseReg); in emitVEXOpcodePrefix()
1069 Prefix.setXX2(MI, MemOperand + X86::AddrIndexReg); in emitVEXOpcodePrefix()
1071 Prefix.set4VV2(MI, CurOp++); in emitVEXOpcodePrefix()
1087 Prefix.setBB2(MI, MemOperand + X86::AddrBaseReg); in emitVEXOpcodePrefix()
1088 Prefix.setXX2(MI, MemOperand + X86::AddrIndexReg); in emitVEXOpcodePrefix()
1089 Prefix.setV2(MI, MemOperand + X86::AddrIndexReg, HasVEX_4V); in emitVEXOpcodePrefix()
1092 Prefix.set4VV2(MI, CurOp++); in emitVEXOpcodePrefix()
1097 Prefix.setAAA(MI, CurOp++); in emitVEXOpcodePrefix()
1100 Prefix.set4VV2(MI, CurOp++); in emitVEXOpcodePrefix()
1102 Prefix.setRR2(MI, CurOp++); in emitVEXOpcodePrefix()
1104 Prefix.set4V(MI, CurOp++, /*IsImm=*/true); in emitVEXOpcodePrefix()
1105 Prefix.setSC(MI, CurOp++); in emitVEXOpcodePrefix()
1124 Prefix.set4VV2(MI, CurOp++); in emitVEXOpcodePrefix()
1126 Prefix.setRR2(MI, CurOp++); in emitVEXOpcodePrefix()
1129 Prefix.setAAA(MI, CurOp++); in emitVEXOpcodePrefix()
1132 Prefix.set4VV2(MI, CurOp++); in emitVEXOpcodePrefix()
1134 Prefix.setBB2(MI, MemOperand + X86::AddrBaseReg); in emitVEXOpcodePrefix()
1135 Prefix.setXX2(MI, MemOperand + X86::AddrIndexReg); in emitVEXOpcodePrefix()
1136 Prefix.setV2(MI, MemOperand + X86::AddrIndexReg, HasVEX_4V); in emitVEXOpcodePrefix()
1139 Prefix.set4V(MI, CurOp++, /*IsImm=*/true); in emitVEXOpcodePrefix()
1140 Prefix.setSC(MI, CurOp++); in emitVEXOpcodePrefix()
1147 Prefix.setRR2(MI, CurOp++); in emitVEXOpcodePrefix()
1148 Prefix.setBB2(MI, MemOperand + X86::AddrBaseReg); in emitVEXOpcodePrefix()
1149 Prefix.setXX2(MI, MemOperand + X86::AddrIndexReg); in emitVEXOpcodePrefix()
1150 Prefix.set4VV2(MI, CurOp + X86::AddrNumOperands); in emitVEXOpcodePrefix()
1155 Prefix.setR(MI, CurOp++); in emitVEXOpcodePrefix()
1156 Prefix.set4V(MI, CurOp++); in emitVEXOpcodePrefix()
1157 Prefix.setBB2(MI, MemOperand + X86::AddrBaseReg); in emitVEXOpcodePrefix()
1158 Prefix.setXX2(MI, MemOperand + X86::AddrIndexReg); in emitVEXOpcodePrefix()
1174 Prefix.set4VV2(MI, CurOp++); in emitVEXOpcodePrefix()
1177 Prefix.setAAA(MI, CurOp++); in emitVEXOpcodePrefix()
1179 Prefix.setBB2(MI, MemOperand + X86::AddrBaseReg); in emitVEXOpcodePrefix()
1180 Prefix.setXX2(MI, MemOperand + X86::AddrIndexReg); in emitVEXOpcodePrefix()
1181 Prefix.setV2(MI, MemOperand + X86::AddrIndexReg, HasVEX_4V); in emitVEXOpcodePrefix()
1184 Prefix.set4V(MI, CurOp++, /*IsImm=*/true); in emitVEXOpcodePrefix()
1185 Prefix.setSC(MI, CurOp++); in emitVEXOpcodePrefix()
1202 Prefix.set4VV2(MI, CurOp++); in emitVEXOpcodePrefix()
1203 Prefix.setRR2(MI, CurOp++); in emitVEXOpcodePrefix()
1206 Prefix.setAAA(MI, CurOp++); in emitVEXOpcodePrefix()
1209 Prefix.set4VV2(MI, CurOp++); in emitVEXOpcodePrefix()
1211 Prefix.setBB2(MI, CurOp); in emitVEXOpcodePrefix()
1212 Prefix.setX(MI, CurOp, 4); in emitVEXOpcodePrefix()
1216 Prefix.set4V(MI, CurOp++, /*IsImm=*/true); in emitVEXOpcodePrefix()
1217 Prefix.setSC(MI, CurOp++); in emitVEXOpcodePrefix()
1235 Prefix.setRR2(MI, CurOp++); in emitVEXOpcodePrefix()
1236 Prefix.setBB2(MI, CurOp++); in emitVEXOpcodePrefix()
1237 Prefix.set4VV2(MI, CurOp++); in emitVEXOpcodePrefix()
1242 Prefix.setR(MI, CurOp++); in emitVEXOpcodePrefix()
1243 Prefix.set4V(MI, CurOp++); in emitVEXOpcodePrefix()
1247 Prefix.setB(MI, CurOp); in emitVEXOpcodePrefix()
1248 Prefix.setX(MI, CurOp, 4); in emitVEXOpcodePrefix()
1262 Prefix.set4VV2(MI, CurOp++); in emitVEXOpcodePrefix()
1263 Prefix.setBB2(MI, CurOp); in emitVEXOpcodePrefix()
1264 Prefix.setX(MI, CurOp, 4); in emitVEXOpcodePrefix()
1268 Prefix.setAAA(MI, CurOp++); in emitVEXOpcodePrefix()
1271 Prefix.set4VV2(MI, CurOp++); in emitVEXOpcodePrefix()
1273 Prefix.setRR2(MI, CurOp++); in emitVEXOpcodePrefix()
1275 Prefix.set4V(MI, CurOp++, /*IsImm=*/true); in emitVEXOpcodePrefix()
1276 Prefix.setSC(MI, CurOp++); in emitVEXOpcodePrefix()
1286 Prefix.setRR2(MI, CurOp++); in emitVEXOpcodePrefix()
1301 Prefix.set4VV2(MI, CurOp++); in emitVEXOpcodePrefix()
1304 Prefix.setAAA(MI, CurOp++); in emitVEXOpcodePrefix()
1306 Prefix.setBB2(MI, CurOp); in emitVEXOpcodePrefix()
1307 Prefix.setX(MI, CurOp, 4); in emitVEXOpcodePrefix()
1310 Prefix.set4V(MI, ++CurOp, /*IsImm=*/true); in emitVEXOpcodePrefix()
1311 Prefix.setSC(MI, ++CurOp); in emitVEXOpcodePrefix()
1317 Prefix.setL(EVEX_rc & 0x1); in emitVEXOpcodePrefix()
1318 Prefix.setL2(EVEX_rc & 0x2); in emitVEXOpcodePrefix()
1320 PrefixKind Kind = Prefix.determineOptimalKind(); in emitVEXOpcodePrefix()
1321 Prefix.emit(CB); in emitVEXOpcodePrefix()
1336 X86OpcodePrefixHelper Prefix(*Ctx.getRegisterInfo()); in emitREXPrefix() local
1339 Prefix.setW(TSFlags & X86II::REX_W); in emitREXPrefix()
1357 Prefix.setLowerBound(REX); in emitREXPrefix()
1367 Prefix.setLowerBound(REX); in emitREXPrefix()
1372 Prefix.setLowerBound(REX); in emitREXPrefix()
1375 Prefix.setLowerBound(REX2); in emitREXPrefix()
1387 Prefix.setBB2(MI, CurOp++); in emitREXPrefix()
1391 Prefix.setRR2(MI, CurOp++); in emitREXPrefix()
1392 Prefix.setBB2(MI, CurOp++); in emitREXPrefix()
1396 Prefix.setRR2(MI, CurOp++); in emitREXPrefix()
1397 Prefix.setBB2(MI, MemOperand + X86::AddrBaseReg); in emitREXPrefix()
1398 Prefix.setXX2(MI, MemOperand + X86::AddrIndexReg); in emitREXPrefix()
1402 Prefix.setBB2(MI, CurOp++); in emitREXPrefix()
1403 Prefix.setRR2(MI, CurOp++); in emitREXPrefix()
1406 Prefix.setBB2(MI, MemOperand + X86::AddrBaseReg); in emitREXPrefix()
1407 Prefix.setXX2(MI, MemOperand + X86::AddrIndexReg); in emitREXPrefix()
1409 Prefix.setRR2(MI, CurOp++); in emitREXPrefix()
1421 Prefix.setBB2(MI, MemOperand + X86::AddrBaseReg); in emitREXPrefix()
1422 Prefix.setXX2(MI, MemOperand + X86::AddrIndexReg); in emitREXPrefix()
1434 Prefix.setBB2(MI, CurOp++); in emitREXPrefix()
1437 Prefix.setM((TSFlags & X86II::OpMapMask) == X86II::TB); in emitREXPrefix()
1438 PrefixKind Kind = Prefix.determineOptimalKind(); in emitREXPrefix()
1442 Prefix.emit(CB); in emitREXPrefix()