Home
last modified time | relevance | path

Searched refs:GetX86RegNum (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/X86/MCTargetDesc/
DX86MCCodeEmitter.cpp49 static unsigned GetX86RegNum(const MCOperand &MO) { in GetX86RegNum() function in __anonfa4c8bf90111::X86MCCodeEmitter
65 unsigned SrcRegNum = GetX86RegNum(MI.getOperand(OpNum)); in getVEXRegisterEncoding()
103 EmitByte(ModRMByte(3, RegOpcodeFld, GetX86RegNum(ModRMReg)), CurByte, OS); in EmitRegModRMByte()
278 unsigned BaseRegNo = BaseReg ? GetX86RegNum(Base) : -1U; in EmitMemModRMByte()
363 IndexRegNo = GetX86RegNum(IndexReg); in EmitMemModRMByte()
370 IndexRegNo = GetX86RegNum(IndexReg); in EmitMemModRMByte()
373 EmitSIBByte(SS, IndexRegNo, GetX86RegNum(Base), CurByte, OS); in EmitMemModRMByte()
913 EmitByte(BaseOpcode + GetX86RegNum(MI.getOperand(CurOp++)), CurByte, OS); in EncodeInstruction()
919 GetX86RegNum(MI.getOperand(CurOp+1)), CurByte, OS); in EncodeInstruction()
931 GetX86RegNum(MI.getOperand(SrcRegNum)), in EncodeInstruction()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/MCTargetDesc/
DX86MCCodeEmitter.cpp83 unsigned GetX86RegNum(const MCOperand &MO) const { in GetX86RegNum() function in __anonce9fbb050111::X86MCCodeEmitter
124 EmitByte(ModRMByte(3, RegOpcodeFld, GetX86RegNum(ModRMReg)), CurByte, OS); in EmitRegModRMByte()
441 unsigned BaseRegNo = BaseReg ? GetX86RegNum(Base) : -1U; in emitMemModRMByte()
464 unsigned IndexReg16 = R16Table[GetX86RegNum(IndexReg)]; in emitMemModRMByte()
607 IndexRegNo = GetX86RegNum(IndexReg); in emitMemModRMByte()
614 IndexRegNo = GetX86RegNum(IndexReg); in emitMemModRMByte()
617 EmitSIBByte(SS, IndexRegNo, GetX86RegNum(Base), CurByte, OS); in emitMemModRMByte()
1360 EmitByte(BaseOpcode + GetX86RegNum(MI.getOperand(CurOp++)), CurByte, OS); in encodeInstruction()
1374 GetX86RegNum(MI.getOperand(SrcRegNum)), CurByte, OS); in encodeInstruction()
1388 emitMemModRMByte(MI, CurOp, GetX86RegNum(MI.getOperand(SrcRegNum)), TSFlags, in encodeInstruction()
[all …]
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MCCodeEmitter.cpp75 unsigned GetX86RegNum(const MCOperand &MO) const { in GetX86RegNum() function in __anonc84e4ccd0111::X86MCCodeEmitter
116 EmitByte(ModRMByte(3, RegOpcodeFld, GetX86RegNum(ModRMReg)), CurByte, OS); in EmitRegModRMByte()
407 unsigned BaseRegNo = BaseReg ? GetX86RegNum(Base) : -1U; in emitMemModRMByte()
430 unsigned IndexReg16 = R16Table[GetX86RegNum(IndexReg)]; in emitMemModRMByte()
573 IndexRegNo = GetX86RegNum(IndexReg); in emitMemModRMByte()
580 IndexRegNo = GetX86RegNum(IndexReg); in emitMemModRMByte()
583 EmitSIBByte(SS, IndexRegNo, GetX86RegNum(Base), CurByte, OS); in emitMemModRMByte()
1272 EmitByte(BaseOpcode + GetX86RegNum(MI.getOperand(CurOp++)), CurByte, OS); in encodeInstruction()
1286 GetX86RegNum(MI.getOperand(SrcRegNum)), CurByte, OS); in encodeInstruction()
1300 emitMemModRMByte(MI, CurOp, GetX86RegNum(MI.getOperand(SrcRegNum)), TSFlags, in encodeInstruction()
[all …]