/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86CodeEmitter.cpp | 347 inline static unsigned char ModRMByte(unsigned Mod, unsigned RegOpcode, in ModRMByte() function 356 MCE.emitByte(ModRMByte(3, RegOpcodeFld, X86_MC::getX86RegNum(ModRMReg))); in emitRegModRMByte() 361 MCE.emitByte(ModRMByte(3, RegOpcodeFld, 0)); in emitRegModRMByte() 369 MCE.emitByte(ModRMByte(SS, Index, Base)); in emitSIBByte() 478 MCE.emitByte(ModRMByte(0, RegOpcodeField, 5)); in emitMemModRMByte() 507 MCE.emitByte(ModRMByte(0, RegOpcodeField, 5)); in emitMemModRMByte() 517 MCE.emitByte(ModRMByte(0, RegOpcodeField, BaseRegNo)); in emitMemModRMByte() 523 MCE.emitByte(ModRMByte(1, RegOpcodeField, BaseRegNo)); in emitMemModRMByte() 529 MCE.emitByte(ModRMByte(2, RegOpcodeField, BaseRegNo)); in emitMemModRMByte() 543 MCE.emitByte(ModRMByte(0, RegOpcodeField, 4)); in emitMemModRMByte() [all …]
|
/external/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MCCodeEmitter.cpp | 108 inline static uint8_t ModRMByte(unsigned Mod, unsigned RegOpcode, in ModRMByte() function in __anonc84e4ccd0111::X86MCCodeEmitter 116 EmitByte(ModRMByte(3, RegOpcodeFld, GetX86RegNum(ModRMReg)), CurByte, OS); in EmitRegModRMByte() 122 EmitByte(ModRMByte(SS, Index, Base), CurByte, OS); in EmitSIBByte() 366 EmitByte(ModRMByte(0, RegOpcodeField, 5), CurByte, OS); in emitMemModRMByte() 449 EmitByte(ModRMByte(0, RegOpcodeField, RMfield), CurByte, OS); in emitMemModRMByte() 453 EmitByte(ModRMByte(1, RegOpcodeField, RMfield), CurByte, OS); in emitMemModRMByte() 458 EmitByte(ModRMByte(2, RegOpcodeField, RMfield), CurByte, OS); in emitMemModRMByte() 461 EmitByte(ModRMByte(0, RegOpcodeField, 6), CurByte, OS); in emitMemModRMByte() 485 EmitByte(ModRMByte(0, RegOpcodeField, 5), CurByte, OS); in emitMemModRMByte() 495 EmitByte(ModRMByte(0, RegOpcodeField, BaseRegNo), CurByte, OS); in emitMemModRMByte() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/MCTargetDesc/ |
D | X86MCCodeEmitter.cpp | 95 inline static unsigned char ModRMByte(unsigned Mod, unsigned RegOpcode, in ModRMByte() function in __anonfa4c8bf90111::X86MCCodeEmitter 103 EmitByte(ModRMByte(3, RegOpcodeFld, GetX86RegNum(ModRMReg)), CurByte, OS); in EmitRegModRMByte() 109 EmitByte(ModRMByte(SS, Index, Base), CurByte, OS); in EmitSIBByte() 256 EmitByte(ModRMByte(0, RegOpcodeField, 5), CurByte, OS); in EmitMemModRMByte() 296 EmitByte(ModRMByte(0, RegOpcodeField, 5), CurByte, OS); in EmitMemModRMByte() 306 EmitByte(ModRMByte(0, RegOpcodeField, BaseRegNo), CurByte, OS); in EmitMemModRMByte() 312 EmitByte(ModRMByte(1, RegOpcodeField, BaseRegNo), CurByte, OS); in EmitMemModRMByte() 318 EmitByte(ModRMByte(2, RegOpcodeField, BaseRegNo), CurByte, OS); in EmitMemModRMByte() 333 EmitByte(ModRMByte(0, RegOpcodeField, 4), CurByte, OS); in EmitMemModRMByte() 337 EmitByte(ModRMByte(2, RegOpcodeField, 4), CurByte, OS); in EmitMemModRMByte() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MCCodeEmitter.cpp | 117 static uint8_t ModRMByte(unsigned Mod, unsigned RegOpcode, unsigned RM) { in ModRMByte() function in __anonce9fbb050111::X86MCCodeEmitter 124 EmitByte(ModRMByte(3, RegOpcodeFld, GetX86RegNum(ModRMReg)), CurByte, OS); in EmitRegModRMByte() 130 EmitByte(ModRMByte(SS, Index, Base), CurByte, OS); in EmitSIBByte() 395 EmitByte(ModRMByte(0, RegOpcodeField, 5), CurByte, OS); in emitMemModRMByte() 483 EmitByte(ModRMByte(0, RegOpcodeField, RMfield), CurByte, OS); in emitMemModRMByte() 487 EmitByte(ModRMByte(1, RegOpcodeField, RMfield), CurByte, OS); in emitMemModRMByte() 492 EmitByte(ModRMByte(2, RegOpcodeField, RMfield), CurByte, OS); in emitMemModRMByte() 495 EmitByte(ModRMByte(0, RegOpcodeField, 6), CurByte, OS); in emitMemModRMByte() 519 EmitByte(ModRMByte(0, RegOpcodeField, 5), CurByte, OS); in emitMemModRMByte() 529 EmitByte(ModRMByte(0, RegOpcodeField, BaseRegNo), CurByte, OS); in emitMemModRMByte() [all …]
|