Searched refs:BaseRegNo (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86CodeEmitter.cpp | 492 unsigned BaseRegNo = -1U; in emitMemModRMByte() local 494 BaseRegNo = X86_MC::getX86RegNum(BaseReg); in emitMemModRMByte() 501 BaseRegNo != N86::ESP && in emitMemModRMByte() 516 if (!DispForReloc && DispVal == 0 && BaseRegNo != N86::EBP) { 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() 549 } else if (DispVal == 0 && BaseRegNo != N86::EBP) { in emitMemModRMByte() 575 unsigned BaseRegNo = X86_MC::getX86RegNum(BaseReg); in emitMemModRMByte() local 581 emitSIBByte(SS, IndexRegNo, BaseRegNo); in emitMemModRMByte()
|
/external/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MCCodeEmitter.cpp | 407 unsigned BaseRegNo = BaseReg ? GetX86RegNum(Base) : -1U; in emitMemModRMByte() local 425 unsigned RMfield = R16Table[BaseRegNo]; in emitMemModRMByte() 447 if (Disp.getImm() == 0 && BaseRegNo != N86::EBP) { in emitMemModRMByte() 479 BaseRegNo != N86::ESP && in emitMemModRMByte() 494 if (Disp.isImm() && Disp.getImm() == 0 && BaseRegNo != N86::EBP) { in emitMemModRMByte() 495 EmitByte(ModRMByte(0, RegOpcodeField, BaseRegNo), CurByte, OS); in emitMemModRMByte() 502 EmitByte(ModRMByte(1, RegOpcodeField, BaseRegNo), CurByte, OS); in emitMemModRMByte() 510 EmitByte(ModRMByte(1, RegOpcodeField, BaseRegNo), CurByte, OS); in emitMemModRMByte() 518 EmitByte(ModRMByte(2, RegOpcodeField, BaseRegNo), CurByte, OS); in emitMemModRMByte() 547 BaseRegNo != N86::EBP) { in emitMemModRMByte()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/MCTargetDesc/ |
D | X86MCCodeEmitter.cpp | 278 unsigned BaseRegNo = BaseReg ? GetX86RegNum(Base) : -1U; in EmitMemModRMByte() local 290 BaseRegNo != N86::ESP && in EmitMemModRMByte() 305 if (Disp.isImm() && Disp.getImm() == 0 && BaseRegNo != N86::EBP) { 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() 342 BaseRegNo != N86::EBP) { in EmitMemModRMByte()
|