encoder functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117738
91177308-0d34-0410-b5e6-
96231b3b80d8
Binary |= (Reg << 13);
return Binary;
}
- unsigned getNEONVcvtImm32(const MachineInstr &MI, unsigned Op) const {
+ unsigned getNEONVcvtImm32OpValue(const MachineInstr &MI, unsigned Op) const {
return 0; }
/// getMovi32Value - Return binary encoding of operand for movw/movt. If the
}
def neon_vcvt_imm32 : Operand<i32> {
- string EncoderMethod = "getNEONVcvtImm32";
+ string EncoderMethod = "getNEONVcvtImm32OpValue";
}
// rot_imm: An integer that encodes a rotate amount. Must be 8, 16, or 24.
return MI.getOperand(Op).getImm() - 1;
}
- unsigned getNEONVcvtImm32(const MCInst &MI, unsigned Op) const {
+ unsigned getNEONVcvtImm32OpValue(const MCInst &MI, unsigned Op) const {
return 64 - MI.getOperand(Op).getImm();
}