Lines Matching refs:ARM_AM
194 ARM_AM::AMSubMode Mode = (ARM_AM::AMSubMode)MI.getOperand(OpIdx).getImm(); in getLdStmModeOpValue()
197 case ARM_AM::da: return 0; in getLdStmModeOpValue()
198 case ARM_AM::ia: return 1; in getLdStmModeOpValue()
199 case ARM_AM::db: return 2; in getLdStmModeOpValue()
200 case ARM_AM::ib: return 3; in getLdStmModeOpValue()
205 unsigned getShiftOp(ARM_AM::ShiftOpc ShOpc) const { in getShiftOp()
207 case ARM_AM::no_shift: in getShiftOp()
208 case ARM_AM::lsl: return 0; in getShiftOp()
209 case ARM_AM::lsr: return 1; in getShiftOp()
210 case ARM_AM::asr: return 2; in getShiftOp()
211 case ARM_AM::ror: in getShiftOp()
212 case ARM_AM::rrx: return 3; in getShiftOp()
295 int SoImmVal = ARM_AM::getSOImmVal(SoImm); in getSOImmOpValue()
299 unsigned Binary = (ARM_AM::getSOImmValRot((unsigned)SoImmVal) >> 1) in getSOImmOpValue()
303 Binary |= ARM_AM::getSOImmValImm((unsigned)SoImmVal); in getSOImmOpValue()
330 unsigned Encoded = ARM_AM::getT2SOImmVal(SoImm); in getT2SOImmOpValue()
800 SoImmVal = ARM_AM::getSOImmVal(offset); in getAdrLabelOpValue()
804 SoImmVal = ARM_AM::getSOImmVal(offset); in getAdrLabelOpValue()
807 SoImmVal = ARM_AM::getSOImmVal(offset); in getAdrLabelOpValue()
811 SoImmVal = ARM_AM::getSOImmVal(offset); in getAdrLabelOpValue()
1074 unsigned ShImm = ARM_AM::getAM2Offset(MO2.getImm()); in getLdStSORegOpValue()
1075 bool isAdd = ARM_AM::getAM2Op(MO2.getImm()) == ARM_AM::add; in getLdStSORegOpValue()
1076 ARM_AM::ShiftOpc ShOp = ARM_AM::getAM2ShiftOpc(MO2.getImm()); in getLdStSORegOpValue()
1109 bool isAdd = ARM_AM::getAM2Op(Imm) == ARM_AM::add; in getAddrMode2OffsetOpValue()
1111 uint32_t Binary = ARM_AM::getAM2Offset(Imm); in getAddrMode2OffsetOpValue()
1114 ARM_AM::ShiftOpc ShOp = ARM_AM::getAM2ShiftOpc(Imm); in getAddrMode2OffsetOpValue()
1145 bool isAdd = ARM_AM::getAM3Op(Imm) == ARM_AM::add; in getAddrMode3OffsetOpValue()
1147 uint32_t Imm8 = ARM_AM::getAM3Offset(Imm); in getAddrMode3OffsetOpValue()
1181 bool isAdd = ARM_AM::getAM3Op(Imm) == ARM_AM::add; in getAddrMode3OpValue()
1183 uint32_t Imm8 = ARM_AM::getAM3Offset(Imm); in getAddrMode3OpValue()
1261 isAdd = ARM_AM::getAM5Op(Imm8) == ARM_AM::add; in getAddrMode5OpValue()
1264 uint32_t Binary = ARM_AM::getAM5Offset(Imm8); in getAddrMode5OpValue()
1301 isAdd = ARM_AM::getAM5Op(Imm8) == ARM_AM::add; in getAddrMode5FP16OpValue()
1304 uint32_t Binary = ARM_AM::getAM5Offset(Imm8); in getAddrMode5FP16OpValue()
1329 ARM_AM::ShiftOpc SOpc = ARM_AM::getSORegShOp(MO2.getImm()); in getSORegRegOpValue()
1345 case ARM_AM::lsl: SBits = 0x1; break; in getSORegRegOpValue()
1346 case ARM_AM::lsr: SBits = 0x3; break; in getSORegRegOpValue()
1347 case ARM_AM::asr: SBits = 0x5; break; in getSORegRegOpValue()
1348 case ARM_AM::ror: SBits = 0x7; break; in getSORegRegOpValue()
1356 assert(ARM_AM::getSORegOffset(MO2.getImm()) == 0); in getSORegRegOpValue()
1374 ARM_AM::ShiftOpc SOpc = ARM_AM::getSORegShOp(MO1.getImm()); in getSORegImmOpValue()
1390 case ARM_AM::lsl: SBits = 0x0; break; in getSORegImmOpValue()
1391 case ARM_AM::lsr: SBits = 0x2; break; in getSORegImmOpValue()
1392 case ARM_AM::asr: SBits = 0x4; break; in getSORegImmOpValue()
1393 case ARM_AM::ror: SBits = 0x6; break; in getSORegImmOpValue()
1394 case ARM_AM::rrx: in getSORegImmOpValue()
1401 unsigned Offset = ARM_AM::getSORegOffset(MO1.getImm()); in getSORegImmOpValue()
1479 ARM_AM::ShiftOpc SOpc = ARM_AM::getSORegShOp(MO1.getImm()); in getT2SORegOpValue()
1493 case ARM_AM::lsl: SBits = 0x0; break; in getT2SORegOpValue()
1494 case ARM_AM::lsr: SBits = 0x2; break; in getT2SORegOpValue()
1495 case ARM_AM::asr: SBits = 0x4; break; in getT2SORegOpValue()
1496 case ARM_AM::rrx: // FALLTHROUGH in getT2SORegOpValue()
1497 case ARM_AM::ror: SBits = 0x6; break; in getT2SORegOpValue()
1501 if (SOpc == ARM_AM::rrx) in getT2SORegOpValue()
1505 return Binary | ARM_AM::getSORegOffset(MO1.getImm()) << 7; in getT2SORegOpValue()