Lines Matching refs:REX
961 uint8_t REX = 0; in DetermineREXPrefix() local
965 REX |= 1 << 3; // set REX.W in DetermineREXPrefix()
967 if (MI.getNumOperands() == 0) return REX; in DetermineREXPrefix()
982 REX |= 0x40; // REX fixed encoding prefix in DetermineREXPrefix()
988 REX |= isX86_64ExtendedReg(MI, CurOp++) << 0; // REX.B in DetermineREXPrefix()
991 REX |= isX86_64ExtendedReg(MI, CurOp++) << 2; // REX.R in DetermineREXPrefix()
992 REX |= isX86_64ExtendedReg(MI, CurOp++) << 0; // REX.B in DetermineREXPrefix()
995 REX |= isX86_64ExtendedReg(MI, CurOp++) << 2; // REX.R in DetermineREXPrefix()
996 REX |= isX86_64ExtendedReg(MI, MemOperand+X86::AddrBaseReg) << 0; // REX.B in DetermineREXPrefix()
997 REX |= isX86_64ExtendedReg(MI, MemOperand+X86::AddrIndexReg) << 1; // REX.X in DetermineREXPrefix()
1002 REX |= isX86_64ExtendedReg(MI, CurOp++) << 0; // REX.B in DetermineREXPrefix()
1003 REX |= isX86_64ExtendedReg(MI, CurOp++) << 2; // REX.R in DetermineREXPrefix()
1006 REX |= isX86_64ExtendedReg(MI, MemOperand+X86::AddrBaseReg) << 0; // REX.B in DetermineREXPrefix()
1007 REX |= isX86_64ExtendedReg(MI, MemOperand+X86::AddrIndexReg) << 1; // REX.X in DetermineREXPrefix()
1009 REX |= isX86_64ExtendedReg(MI, CurOp++) << 2; // REX.R in DetermineREXPrefix()
1016 REX |= isX86_64ExtendedReg(MI, MemOperand+X86::AddrBaseReg) << 0; // REX.B in DetermineREXPrefix()
1017 REX |= isX86_64ExtendedReg(MI, MemOperand+X86::AddrIndexReg) << 1; // REX.X in DetermineREXPrefix()
1024 REX |= isX86_64ExtendedReg(MI, CurOp++) << 0; // REX.B in DetermineREXPrefix()
1027 if (REX && UsesHighByteReg) in DetermineREXPrefix()
1030 return REX; in DetermineREXPrefix()
1087 if (uint8_t REX = DetermineREXPrefix(MI, TSFlags, MemOperand, Desc)) { in emitOpcodePrefix() local
1088 EmitByte(0x40 | REX, CurByte, OS); in emitOpcodePrefix()