Lines Matching defs:EmitByte
88 void EmitByte(uint8_t C, unsigned &CurByte, raw_ostream &OS) const {
97 EmitByte(Val & 255, CurByte, OS);
116 EmitByte(ModRMByte(3, RegOpcodeFld, GetX86RegNum(ModRMReg)), CurByte, OS);
122 EmitByte(ModRMByte(SS, Index, Base), CurByte, OS);
366 EmitByte(ModRMByte(0, RegOpcodeField, 5), CurByte, OS);
449 EmitByte(ModRMByte(0, RegOpcodeField, RMfield), CurByte, OS);
453 EmitByte(ModRMByte(1, RegOpcodeField, RMfield), CurByte, OS);
458 EmitByte(ModRMByte(2, RegOpcodeField, RMfield), CurByte, OS);
461 EmitByte(ModRMByte(0, RegOpcodeField, 6), CurByte, OS);
485 EmitByte(ModRMByte(0, RegOpcodeField, 5), CurByte, OS);
495 EmitByte(ModRMByte(0, RegOpcodeField, BaseRegNo), CurByte, OS);
502 EmitByte(ModRMByte(1, RegOpcodeField, BaseRegNo), CurByte, OS);
510 EmitByte(ModRMByte(1, RegOpcodeField, BaseRegNo), CurByte, OS);
518 EmitByte(ModRMByte(2, RegOpcodeField, BaseRegNo), CurByte, OS);
538 EmitByte(ModRMByte(0, RegOpcodeField, 4), CurByte, OS);
542 EmitByte(ModRMByte(2, RegOpcodeField, 4), CurByte, OS);
549 EmitByte(ModRMByte(0, RegOpcodeField, 4), CurByte, OS);
552 EmitByte(ModRMByte(1, RegOpcodeField, 4), CurByte, OS);
556 EmitByte(ModRMByte(1, RegOpcodeField, 4), CurByte, OS);
561 EmitByte(ModRMByte(2, RegOpcodeField, 4), CurByte, OS);
910 EmitByte(0xC5, CurByte, OS);
911 EmitByte(LastByte | (VEX_R << 7), CurByte, OS);
916 EmitByte(Encoding == X86II::XOP ? 0x8F : 0xC4, CurByte, OS);
917 EmitByte(VEX_R << 7 | VEX_X << 6 | VEX_B << 5 | VEX_5M, CurByte, OS);
918 EmitByte(LastByte | (VEX_W << 7), CurByte, OS);
929 EmitByte(0x62, CurByte, OS);
930 EmitByte((VEX_R << 7) |
935 EmitByte((VEX_W << 7) |
940 EmitByte((EVEX_z << 7) |
946 EmitByte((EVEX_z << 7) |
1042 case X86::CS: EmitByte(0x2E, CurByte, OS); break;
1043 case X86::SS: EmitByte(0x36, CurByte, OS); break;
1044 case X86::DS: EmitByte(0x3E, CurByte, OS); break;
1045 case X86::ES: EmitByte(0x26, CurByte, OS); break;
1046 case X86::FS: EmitByte(0x64, CurByte, OS); break;
1047 case X86::GS: EmitByte(0x65, CurByte, OS); break;
1066 EmitByte(0x66, CurByte, OS);
1070 EmitByte(0xF0, CurByte, OS);
1074 EmitByte(0x66, CurByte, OS);
1077 EmitByte(0xF3, CurByte, OS);
1080 EmitByte(0xF2, CurByte, OS);
1088 EmitByte(0x40 | REX, CurByte, OS);
1098 EmitByte(0x0F, CurByte, OS);
1104 EmitByte(0x38, CurByte, OS);
1107 EmitByte(0x3A, CurByte, OS);
1159 EmitByte(0xF3, CurByte, OS);
1183 EmitByte(0x67, CurByte, OS);
1214 EmitByte(0x67, CurByte, OS);
1216 EmitByte(BaseOpcode, CurByte, OS);
1227 EmitByte(0x67, CurByte, OS);
1229 EmitByte(BaseOpcode, CurByte, OS);
1237 EmitByte(0x67, CurByte, OS);
1239 EmitByte(BaseOpcode, CurByte, OS);
1243 EmitByte(BaseOpcode, CurByte, OS);
1248 EmitByte(BaseOpcode, CurByte, OS);
1255 EmitByte(BaseOpcode, CurByte, OS);
1263 EmitByte(BaseOpcode, CurByte, OS);
1272 EmitByte(BaseOpcode + GetX86RegNum(MI.getOperand(CurOp++)), CurByte, OS);
1276 EmitByte(BaseOpcode, CurByte, OS);
1291 EmitByte(BaseOpcode, CurByte, OS);
1306 EmitByte(BaseOpcode, CurByte, OS);
1342 EmitByte(BaseOpcode, CurByte, OS);
1363 EmitByte(BaseOpcode, CurByte, OS);
1379 EmitByte(BaseOpcode, CurByte, OS);
1408 EmitByte(BaseOpcode, CurByte, OS);
1409 EmitByte(0xC0 + Form - X86II::MRM_C0, CurByte, OS);
1437 EmitByte(X86II::getBaseOpcodeFor(TSFlags), CurByte, OS);