Lines Matching refs:Imm8
936 int32_t Imm8 = MI.getOperand(OpIdx).getImm(); in getT2Imm8s4OpValue() local
937 bool isAdd = Imm8 >= 0; in getT2Imm8s4OpValue()
940 if (Imm8 < 0) in getT2Imm8s4OpValue()
941 Imm8 = -(uint32_t)Imm8; in getT2Imm8s4OpValue()
944 Imm8 /= 4; in getT2Imm8s4OpValue()
946 uint32_t Binary = Imm8 & 0xff; in getT2Imm8s4OpValue()
962 unsigned Reg, Imm8; in getT2AddrModeImm8s4OpValue() local
968 Imm8 = 0; in getT2AddrModeImm8s4OpValue()
978 isAdd = EncodeAddrModeOpValues(MI, OpIdx, Reg, Imm8, Fixups, STI); in getT2AddrModeImm8s4OpValue()
986 uint32_t Binary = (Imm8 >> 2) & 0xff; in getT2AddrModeImm8s4OpValue()
1005 unsigned Imm8 = MO1.getImm(); in getT2AddrModeImm0_1020s4OpValue() local
1006 return (Reg << 8) | Imm8; in getT2AddrModeImm0_1020s4OpValue()
1147 uint32_t Imm8 = ARM_AM::getAM3Offset(Imm); in getAddrMode3OffsetOpValue() local
1150 Imm8 = CTX.getRegisterInfo()->getEncodingValue(MO.getReg()); in getAddrMode3OffsetOpValue()
1151 return Imm8 | (isAdd << 8) | (isImm << 9); in getAddrMode3OffsetOpValue()
1183 uint32_t Imm8 = ARM_AM::getAM3Offset(Imm); in getAddrMode3OpValue() local
1186 Imm8 = CTX.getRegisterInfo()->getEncodingValue(MO1.getReg()); in getAddrMode3OpValue()
1187 return (Rn << 9) | Imm8 | (isAdd << 8) | (isImm << 13); in getAddrMode3OpValue()
1240 unsigned Reg, Imm8; in getAddrMode5OpValue() local
1246 Imm8 = 0; in getAddrMode5OpValue()
1260 EncodeAddrModeOpValues(MI, OpIdx, Reg, Imm8, Fixups, STI); in getAddrMode5OpValue()
1261 isAdd = ARM_AM::getAM5Op(Imm8) == ARM_AM::add; in getAddrMode5OpValue()
1264 uint32_t Binary = ARM_AM::getAM5Offset(Imm8); in getAddrMode5OpValue()
1280 unsigned Reg, Imm8; in getAddrMode5FP16OpValue() local
1286 Imm8 = 0; in getAddrMode5FP16OpValue()
1300 EncodeAddrModeOpValues(MI, OpIdx, Reg, Imm8, Fixups, STI); in getAddrMode5FP16OpValue()
1301 isAdd = ARM_AM::getAM5Op(Imm8) == ARM_AM::add; in getAddrMode5FP16OpValue()
1304 uint32_t Binary = ARM_AM::getAM5Offset(Imm8); in getAddrMode5FP16OpValue()