Home | History | Annotate | Download | only in X86

Lines Matching refs:EmitByte

73   void EmitByte(unsigned char C, unsigned &CurByte, raw_ostream &OS) const {
82 EmitByte(Val & 255, CurByte, OS);
101 EmitByte(ModRMByte(3, RegOpcodeFld, GetX86RegNum(ModRMReg)), CurByte, OS);
107 EmitByte(ModRMByte(SS, Index, Base), CurByte, OS);
250 EmitByte(ModRMByte(0, RegOpcodeField, 5), CurByte, OS);
290 EmitByte(ModRMByte(0, RegOpcodeField, 5), CurByte, OS);
300 EmitByte(ModRMByte(0, RegOpcodeField, BaseRegNo), CurByte, OS);
306 EmitByte(ModRMByte(1, RegOpcodeField, BaseRegNo), CurByte, OS);
312 EmitByte(ModRMByte(2, RegOpcodeField, BaseRegNo), CurByte, OS);
327 EmitByte(ModRMByte(0, RegOpcodeField, 4), CurByte, OS);
331 EmitByte(ModRMByte(2, RegOpcodeField, 4), CurByte, OS);
338 EmitByte(ModRMByte(0, RegOpcodeField, 4), CurByte, OS);
341 EmitByte(ModRMByte(1, RegOpcodeField, 4), CurByte, OS);
345 EmitByte(ModRMByte(2, RegOpcodeField, 4), CurByte, OS);
574 EmitByte(0xC5, CurByte, OS);
575 EmitByte(LastByte | (VEX_R << 7), CurByte, OS);
580 EmitByte(0xC4, CurByte, OS);
581 EmitByte(VEX_R << 7 | VEX_X << 6 | VEX_B << 5 | VEX_5M, CurByte, OS);
582 EmitByte(LastByte | (VEX_W << 7), CurByte, OS);
692 case X86::CS: EmitByte(0x2E, CurByte, OS); break;
693 case X86::SS: EmitByte(0x36, CurByte, OS); break;
694 case X86::DS: EmitByte(0x3E, CurByte, OS); break;
695 case X86::ES: EmitByte(0x26, CurByte, OS); break;
696 case X86::FS: EmitByte(0x64, CurByte, OS); break;
697 case X86::GS: EmitByte(0x65, CurByte, OS); break;
702 EmitByte(0x64, CurByte, OS);
705 EmitByte(0x65, CurByte, OS);
721 EmitByte(0xF0, CurByte, OS);
728 EmitByte(0xF3, CurByte, OS);
733 EmitByte(0x67, CurByte, OS);
737 EmitByte(0x66, CurByte, OS);
752 EmitByte(0xF2, CurByte, OS);
756 EmitByte(0xF3, CurByte, OS);
760 EmitByte(0xF2, CurByte, OS);
763 case X86II::D8: EmitByte(0xD8, CurByte, OS); break;
764 case X86II::D9: EmitByte(0xD9, CurByte, OS); break;
765 case X86II::DA: EmitByte(0xDA, CurByte, OS); break;
766 case X86II::DB: EmitByte(0xDB, CurByte, OS); break;
767 case X86II::DC: EmitByte(0xDC, CurByte, OS); break;
768 case X86II::DD: EmitByte(0xDD, CurByte, OS); break;
769 case X86II::DE: EmitByte(0xDE, CurByte, OS); break;
770 case X86II::DF: EmitByte(0xDF, CurByte, OS); break;
777 EmitByte(0x40 | REX, CurByte, OS);
782 EmitByte(0x0F, CurByte, OS);
788 EmitByte(0x38, CurByte, OS);
791 EmitByte(0x3A, CurByte, OS);
794 EmitByte(0xA6, CurByte, OS);
797 EmitByte(0xA7, CurByte, OS);
862 EmitByte(BaseOpcode, CurByte, OS);
866 EmitByte(BaseOpcode, CurByte, OS);
873 EmitByte(BaseOpcode, CurByte, OS);
881 EmitByte(BaseOpcode + GetX86RegNum(MI.getOperand(CurOp++)), CurByte, OS);
885 EmitByte(BaseOpcode, CurByte, OS);
892 EmitByte(BaseOpcode, CurByte, OS);
905 EmitByte(BaseOpcode, CurByte, OS);
924 EmitByte(BaseOpcode, CurByte, OS);
938 EmitByte(BaseOpcode, CurByte, OS);
947 EmitByte(BaseOpcode, CurByte, OS);
953 EmitByte(BaseOpcode, CurByte, OS);
954 EmitByte(0xC1, CurByte, OS);
957 EmitByte(BaseOpcode, CurByte, OS);
958 EmitByte(0xC2, CurByte, OS);
961 EmitByte(BaseOpcode, CurByte, OS);
962 EmitByte(0xC3, CurByte, OS);
965 EmitByte(BaseOpcode, CurByte, OS);
966 EmitByte(0xC4, CurByte, OS);
969 EmitByte(BaseOpcode, CurByte, OS);
970 EmitByte(0xC8, CurByte, OS);
973 EmitByte(BaseOpcode, CurByte, OS);
974 EmitByte(0xC9, CurByte, OS);
977 EmitByte(BaseOpcode, CurByte, OS);
978 EmitByte(0xE8, CurByte, OS);
981 EmitByte(BaseOpcode, CurByte, OS);
982 EmitByte(0xF0, CurByte, OS);
985 EmitByte(BaseOpcode, CurByte, OS);
986 EmitByte(0xF8, CurByte, OS);
989 EmitByte(BaseOpcode, CurByte, OS);
990 EmitByte(0xF9, CurByte, OS);
993 EmitByte(BaseOpcode, CurByte, OS);
994 EmitByte(0xD0, CurByte, OS);
997 EmitByte(BaseOpcode, CurByte, OS);
998 EmitByte(0xD1, CurByte, OS);
1032 EmitByte(X86II::getBaseOpcodeFor(TSFlags), CurByte, OS);