unsigned OpIdx);
unsigned getMachineSoImmOpValue(unsigned SoImm);
- unsigned getAddrMode6RegisterOperand(const MachineInstr &MI);
- unsigned getAddrMode6OffsetOperand(const MachineInstr &MI);
-
unsigned getAddrModeSBit(const MachineInstr &MI,
const TargetInstrDesc &TID) const;
const { return 0; }
unsigned getImmMinusOneOpValue(const MachineInstr &MI, unsigned Op)
const { return 0; }
- unsigned getAddrMode6RegisterOperand(const MachineInstr &MI, unsigned Op)
+ unsigned getAddrMode6AddressOpValue(const MachineInstr &MI, unsigned Op)
const { return 0; }
- unsigned getAddrMode6OffsetOperand(const MachineInstr &MI, unsigned Op)
+ unsigned getAddrMode6OffsetOpValue(const MachineInstr &MI, unsigned Op)
const { return 0; }
unsigned getBitfieldInvertedMaskOpValue(const MachineInstr &MI,
unsigned Op) const { return 0; }
ComplexPattern<i32, 2, "SelectAddrMode6", [], [SDNPWantParent]>{
let PrintMethod = "printAddrMode6Operand";
let MIOperandInfo = (ops GPR:$addr, i32imm);
- string EncoderMethod = "getAddrMode6RegisterOperand";
+ string EncoderMethod = "getAddrMode6AddressOpValue";
}
def am6offset : Operand<i32> {
let PrintMethod = "printAddrMode6OffsetOperand";
let MIOperandInfo = (ops GPR);
- string EncoderMethod = "getAddrMode6OffsetOperand";
+ string EncoderMethod = "getAddrMode6OffsetOpValue";
}
// addrmodepc := pc + reg
unsigned getBitfieldInvertedMaskOpValue(const MCInst &MI, unsigned Op) const;
unsigned getRegisterListOpValue(const MCInst &MI, unsigned Op) const;
- unsigned getAddrMode6RegisterOperand(const MCInst &MI, unsigned Op) const;
- unsigned getAddrMode6OffsetOperand(const MCInst &MI, unsigned Op) const;
+ unsigned getAddrMode6AddressOpValue(const MCInst &MI, unsigned Op) const;
+ unsigned getAddrMode6OffsetOpValue(const MCInst &MI, unsigned Op) const;
unsigned getNumFixupKinds() const {
assert(0 && "ARMMCCodeEmitter::getNumFixupKinds() not yet implemented.");
return Binary;
}
-unsigned ARMMCCodeEmitter::getAddrMode6RegisterOperand(const MCInst &MI,
+unsigned ARMMCCodeEmitter::getAddrMode6AddressOpValue(const MCInst &MI,
unsigned Op) const {
const MCOperand &Reg = MI.getOperand(Op);
const MCOperand &Imm = MI.getOperand(Op+1);
return RegNo | (Align << 4);
}
-unsigned ARMMCCodeEmitter::getAddrMode6OffsetOperand(const MCInst &MI,
+unsigned ARMMCCodeEmitter::getAddrMode6OffsetOpValue(const MCInst &MI,
unsigned Op) const {
const MCOperand ®no = MI.getOperand(Op);
if (regno.getReg() == 0) return 0x0D;