Lines Matching refs:getImm
81 switch (MI->getOperand(0).getImm()) {
108 O << '\t' << ARM_AM::getShiftOpcStr(ARM_AM::getSORegShOp(MO3.getImm()));
119 assert(ARM_AM::getSORegOffset(MO3.getImm()) == 0);
130 O << '\t' << ARM_AM::getShiftOpcStr(ARM_AM::getSORegShOp(MO2.getImm()));
139 if (ARM_AM::getSORegShOp(MO2.getImm()) == ARM_AM::rrx) {
146 << "#" << translateShiftImm(ARM_AM::getSORegOffset(MO2.getImm()))
168 MI->getOperand(3).getImm() == -4) {
193 MI->getOperand(4).getImm() == 4) {
287 << '#' << formatImm(Op.getImm())
316 int32_t OffImm = (int32_t)MO1.getImm();
348 ARM_AM::ShiftOpc ShOpc = ARM_AM::getSORegShOp(MO3.getImm());
355 assert(ARM_AM::getSORegOffset(MO3.getImm()) == 0);
366 printRegImmShift(O, ARM_AM::getSORegShOp(MO2.getImm()),
367 ARM_AM::getSORegOffset(MO2.getImm()), UseMarkup);
385 if (ARM_AM::getAM2Offset(MO3.getImm())) { // Don't print +0.
389 << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO3.getImm()))
390 << ARM_AM::getAM2Offset(MO3.getImm())
398 O << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO3.getImm()));
401 printRegImmShift(O, ARM_AM::getAM2ShiftOpc(MO3.getImm()),
402 ARM_AM::getAM2Offset(MO3.getImm()), UseMarkup);
439 unsigned IdxMode = ARM_AM::getAM2IdxMode(MO3.getImm());
454 unsigned ImmOffs = ARM_AM::getAM2Offset(MO2.getImm());
456 << '#' << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO2.getImm()))
462 O << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO2.getImm()));
465 printRegImmShift(O, ARM_AM::getAM2ShiftOpc(MO2.getImm()),
466 ARM_AM::getAM2Offset(MO2.getImm()), UseMarkup);
484 O << (char)ARM_AM::getAM3Op(MO3.getImm());
489 unsigned ImmOffs = ARM_AM::getAM3Offset(MO3.getImm());
492 << ARM_AM::getAddrOpcStr(ARM_AM::getAM3Op(MO3.getImm()))
508 O << ", " << getAddrOpcStr(ARM_AM::getAM3Op(MO3.getImm()));
515 unsigned ImmOffs = ARM_AM::getAM3Offset(MO3.getImm());
516 ARM_AM::AddrOpc op = ARM_AM::getAM3Op(MO3.getImm());
539 unsigned IdxMode = ARM_AM::getAM3IdxMode(MO3.getImm());
555 O << getAddrOpcStr(ARM_AM::getAM3Op(MO2.getImm()));
560 unsigned ImmOffs = ARM_AM::getAM3Offset(MO2.getImm());
562 << '#' << ARM_AM::getAddrOpcStr(ARM_AM::getAM3Op(MO2.getImm())) << ImmOffs
570 unsigned Imm = MO.getImm();
581 O << (MO2.getImm() ? "" : "-");
589 unsigned Imm = MO.getImm();
599 .getImm());
617 unsigned ImmOffs = ARM_AM::getAM5Offset(MO2.getImm());
618 unsigned Op = ARM_AM::getAM5Op(MO2.getImm());
623 << ARM_AM::getAddrOpcStr(ARM_AM::getAM5Op(MO2.getImm()))
637 if (MO2.getImm()) {
638 O << ":" << (MO2.getImm() << 3);
667 uint32_t v = ~MO.getImm();
678 unsigned val = MI->getOperand(OpNum).getImm();
684 unsigned val = MI->getOperand(OpNum).getImm();
690 unsigned ShiftOp = MI->getOperand(OpNum).getImm();
709 unsigned Imm = MI->getOperand(OpNum).getImm();
718 unsigned Imm = MI->getOperand(OpNum).getImm();
748 if (Op.getImm())
757 O << ARM_PROC::IModToString(Op.getImm());
763 unsigned IFlags = Op.getImm();
775 unsigned SpecRegRBit = Op.getImm() >> 4;
776 unsigned Mask = Op.getImm() & 0xf;
779 unsigned SYSm = Op.getImm();
854 ARMCC::CondCodes CC = (ARMCC::CondCodes)MI->getOperand(OpNum).getImm();
865 ARMCC::CondCodes CC = (ARMCC::CondCodes)MI->getOperand(OpNum).getImm();
880 O << MI->getOperand(OpNum).getImm();
885 O << "p" << MI->getOperand(OpNum).getImm();
890 O << "c" << MI->getOperand(OpNum).getImm();
895 O << "{" << MI->getOperand(OpNum).getImm() << "}";
913 int32_t OffImm = (int32_t)MO.getImm() << scale;
928 << "#" << formatImm(MI->getOperand(OpNum).getImm() * 4)
934 unsigned Imm = MI->getOperand(OpNum).getImm();
943 unsigned Mask = MI->getOperand(OpNum).getImm();
944 unsigned Firstcond = MI->getOperand(OpNum-1).getImm();
990 if (unsigned ImmOffs = MO2.getImm()) {
1036 printRegImmShift(O, ARM_AM::getSORegShOp(MO2.getImm()),
1037 ARM_AM::getSORegOffset(MO2.getImm()), UseMarkup);
1054 int32_t OffImm = (int32_t)MO2.getImm();
1084 int32_t OffImm = (int32_t)MO2.getImm();
1118 int32_t OffImm = (int32_t)MO2.getImm();
1148 if (MO2.getImm()) {
1151 << "#" << formatImm(MO2.getImm() * 4)
1161 int32_t OffImm = (int32_t)MO1.getImm();
1176 int32_t OffImm = (int32_t)MO1.getImm();
1204 unsigned ShAmt = MO3.getImm();
1219 << '#' << ARM_AM::getFPImmFloat(MO.getImm())
1225 unsigned EncodedImm = MI->getOperand(OpNum).getImm();
1236 unsigned Imm = MI->getOperand(OpNum).getImm();
1244 unsigned Imm = MI->getOperand(OpNum).getImm();
1262 << "#" << 16 - MI->getOperand(OpNum).getImm()
1269 << "#" << 32 - MI->getOperand(OpNum).getImm()
1275 O << "[" << MI->getOperand(OpNum).getImm() << "]";