Lines Matching refs:EmitByte
108 void EmitByte(unsigned char C, unsigned &CurByte, raw_ostream &OS) const { in EmitByte() function in __anonc84e4ccd0111::X86MCCodeEmitter
117 EmitByte(Val & 255, CurByte, OS); in EmitConstant()
136 EmitByte(ModRMByte(3, RegOpcodeFld, GetX86RegNum(ModRMReg)), CurByte, OS); in EmitRegModRMByte()
142 EmitByte(ModRMByte(SS, Index, Base), CurByte, OS); in EmitSIBByte()
379 EmitByte(ModRMByte(0, RegOpcodeField, 5), CurByte, OS); in EmitMemModRMByte()
443 EmitByte(ModRMByte(0, RegOpcodeField, RMfield), CurByte, OS); in EmitMemModRMByte()
447 EmitByte(ModRMByte(1, RegOpcodeField, RMfield), CurByte, OS); in EmitMemModRMByte()
452 EmitByte(ModRMByte(2, RegOpcodeField, RMfield), CurByte, OS); in EmitMemModRMByte()
455 EmitByte(ModRMByte(0, RegOpcodeField, 6), CurByte, OS); in EmitMemModRMByte()
479 EmitByte(ModRMByte(0, RegOpcodeField, 5), CurByte, OS); in EmitMemModRMByte()
489 EmitByte(ModRMByte(0, RegOpcodeField, BaseRegNo), CurByte, OS); in EmitMemModRMByte()
496 EmitByte(ModRMByte(1, RegOpcodeField, BaseRegNo), CurByte, OS); in EmitMemModRMByte()
504 EmitByte(ModRMByte(1, RegOpcodeField, BaseRegNo), CurByte, OS); in EmitMemModRMByte()
512 EmitByte(ModRMByte(2, RegOpcodeField, BaseRegNo), CurByte, OS); in EmitMemModRMByte()
529 EmitByte(ModRMByte(0, RegOpcodeField, 4), CurByte, OS); in EmitMemModRMByte()
533 EmitByte(ModRMByte(2, RegOpcodeField, 4), CurByte, OS); in EmitMemModRMByte()
540 EmitByte(ModRMByte(0, RegOpcodeField, 4), CurByte, OS); in EmitMemModRMByte()
543 EmitByte(ModRMByte(1, RegOpcodeField, 4), CurByte, OS); in EmitMemModRMByte()
547 EmitByte(ModRMByte(1, RegOpcodeField, 4), CurByte, OS); in EmitMemModRMByte()
552 EmitByte(ModRMByte(2, RegOpcodeField, 4), CurByte, OS); in EmitMemModRMByte()
938 EmitByte(0xC5, CurByte, OS); in EmitVEXOpcodePrefix()
939 EmitByte(LastByte | (VEX_R << 7), CurByte, OS); in EmitVEXOpcodePrefix()
944 EmitByte(Encoding == X86II::XOP ? 0x8F : 0xC4, CurByte, OS); in EmitVEXOpcodePrefix()
945 EmitByte(VEX_R << 7 | VEX_X << 6 | VEX_B << 5 | VEX_5M, CurByte, OS); in EmitVEXOpcodePrefix()
946 EmitByte(LastByte | (VEX_W << 7), CurByte, OS); in EmitVEXOpcodePrefix()
959 EmitByte(0x62, CurByte, OS); in EmitVEXOpcodePrefix()
960 EmitByte((VEX_R << 7) | in EmitVEXOpcodePrefix()
965 EmitByte((VEX_W << 7) | in EmitVEXOpcodePrefix()
970 EmitByte((EVEX_z << 7) | in EmitVEXOpcodePrefix()
976 EmitByte((EVEX_z << 7) | in EmitVEXOpcodePrefix()
1088 case X86::CS: EmitByte(0x2E, CurByte, OS); break; in EmitSegmentOverridePrefix()
1089 case X86::SS: EmitByte(0x36, CurByte, OS); break; in EmitSegmentOverridePrefix()
1090 case X86::DS: EmitByte(0x3E, CurByte, OS); break; in EmitSegmentOverridePrefix()
1091 case X86::ES: EmitByte(0x26, CurByte, OS); break; in EmitSegmentOverridePrefix()
1092 case X86::FS: EmitByte(0x64, CurByte, OS); break; in EmitSegmentOverridePrefix()
1093 case X86::GS: EmitByte(0x65, CurByte, OS); break; in EmitSegmentOverridePrefix()
1110 EmitByte(0x66, CurByte, OS); in EmitOpcodePrefix()
1114 EmitByte(0xF0, CurByte, OS); in EmitOpcodePrefix()
1118 EmitByte(0x66, CurByte, OS); in EmitOpcodePrefix()
1121 EmitByte(0xF3, CurByte, OS); in EmitOpcodePrefix()
1124 EmitByte(0xF2, CurByte, OS); in EmitOpcodePrefix()
1132 EmitByte(0x40 | REX, CurByte, OS); in EmitOpcodePrefix()
1140 EmitByte(0x0F, CurByte, OS); in EmitOpcodePrefix()
1146 EmitByte(0x38, CurByte, OS); in EmitOpcodePrefix()
1149 EmitByte(0x3A, CurByte, OS); in EmitOpcodePrefix()
1196 EmitByte(0xF3, CurByte, OS); in EncodeInstruction()
1220 EmitByte(0x67, CurByte, OS); in EncodeInstruction()
1250 EmitByte(0x67, CurByte, OS); in EncodeInstruction()
1252 EmitByte(BaseOpcode, CurByte, OS); in EncodeInstruction()
1263 EmitByte(0x67, CurByte, OS); in EncodeInstruction()
1265 EmitByte(BaseOpcode, CurByte, OS); in EncodeInstruction()
1273 EmitByte(0x67, CurByte, OS); in EncodeInstruction()
1275 EmitByte(BaseOpcode, CurByte, OS); in EncodeInstruction()
1279 EmitByte(BaseOpcode, CurByte, OS); in EncodeInstruction()
1284 EmitByte(BaseOpcode, CurByte, OS); in EncodeInstruction()
1291 EmitByte(BaseOpcode, CurByte, OS); in EncodeInstruction()
1299 EmitByte(BaseOpcode, CurByte, OS); in EncodeInstruction()
1308 EmitByte(BaseOpcode + GetX86RegNum(MI.getOperand(CurOp++)), CurByte, OS); in EncodeInstruction()
1312 EmitByte(BaseOpcode, CurByte, OS); in EncodeInstruction()
1327 EmitByte(BaseOpcode, CurByte, OS); in EncodeInstruction()
1343 EmitByte(BaseOpcode, CurByte, OS); in EncodeInstruction()
1383 EmitByte(BaseOpcode, CurByte, OS); in EncodeInstruction()
1402 EmitByte(BaseOpcode, CurByte, OS); in EncodeInstruction()
1419 EmitByte(BaseOpcode, CurByte, OS); in EncodeInstruction()
1448 EmitByte(BaseOpcode, CurByte, OS); in EncodeInstruction()
1451 EmitByte(0xC0 + Form - X86II::MRM_C0, CurByte, OS); in EncodeInstruction()
1488 EmitByte(X86II::getBaseOpcodeFor(TSFlags), CurByte, OS); in EncodeInstruction()