• Home
  • Raw
  • Download

Lines Matching refs:getImm

79     switch (MI->getOperand(0).getImm()) {  in printInst()
120 O << '\t' << ARM_AM::getShiftOpcStr(ARM_AM::getSORegShOp(MO3.getImm())); in printInst()
131 assert(ARM_AM::getSORegOffset(MO3.getImm()) == 0); in printInst()
142 O << '\t' << ARM_AM::getShiftOpcStr(ARM_AM::getSORegShOp(MO2.getImm())); in printInst()
151 if (ARM_AM::getSORegShOp(MO2.getImm()) == ARM_AM::rrx) { in printInst()
157 << translateShiftImm(ARM_AM::getSORegOffset(MO2.getImm())) << markup(">"); in printInst()
180 MI->getOperand(3).getImm() == -4) { in printInst()
209 MI->getOperand(4).getImm() == 4) { in printInst()
304 MI->getOperand(0).getImm() == 0 && in printInst()
326 O << markup("<imm:") << '#' << formatImm(Op.getImm()) << markup(">"); in printOperand()
370 int32_t OffImm = (int32_t)MO1.getImm(); in printThumbLdrLabelOperand()
399 ARM_AM::ShiftOpc ShOpc = ARM_AM::getSORegShOp(MO3.getImm()); in printSORegRegOperand()
406 assert(ARM_AM::getSORegOffset(MO3.getImm()) == 0); in printSORegRegOperand()
418 printRegImmShift(O, ARM_AM::getSORegShOp(MO2.getImm()), in printSORegImmOperand()
419 ARM_AM::getSORegOffset(MO2.getImm()), UseMarkup); in printSORegImmOperand()
437 if (ARM_AM::getAM2Offset(MO3.getImm())) { // Don't print +0. in printAM2PreOrOffsetIndexOp()
439 << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO3.getImm())) in printAM2PreOrOffsetIndexOp()
440 << ARM_AM::getAM2Offset(MO3.getImm()) << markup(">"); in printAM2PreOrOffsetIndexOp()
447 O << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO3.getImm())); in printAM2PreOrOffsetIndexOp()
450 printRegImmShift(O, ARM_AM::getAM2ShiftOpc(MO3.getImm()), in printAM2PreOrOffsetIndexOp()
451 ARM_AM::getAM2Offset(MO3.getImm()), UseMarkup); in printAM2PreOrOffsetIndexOp()
491 unsigned IdxMode = ARM_AM::getAM2IdxMode(MO3.getImm()); in printAddrMode2Operand()
506 unsigned ImmOffs = ARM_AM::getAM2Offset(MO2.getImm()); in printAddrMode2OffsetOperand()
508 << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO2.getImm())) << ImmOffs in printAddrMode2OffsetOperand()
513 O << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO2.getImm())); in printAddrMode2OffsetOperand()
516 printRegImmShift(O, ARM_AM::getAM2ShiftOpc(MO2.getImm()), in printAddrMode2OffsetOperand()
517 ARM_AM::getAM2Offset(MO2.getImm()), UseMarkup); in printAddrMode2OffsetOperand()
535 O << ", " << getAddrOpcStr(ARM_AM::getAM3Op(MO3.getImm())); in printAM3PreOrOffsetIndexOp()
542 unsigned ImmOffs = ARM_AM::getAM3Offset(MO3.getImm()); in printAM3PreOrOffsetIndexOp()
543 ARM_AM::AddrOpc op = ARM_AM::getAM3Op(MO3.getImm()); in printAM3PreOrOffsetIndexOp()
562 assert(ARM_AM::getAM3IdxMode(MI->getOperand(Op + 2).getImm()) != in printAddrMode3Operand()
576 O << getAddrOpcStr(ARM_AM::getAM3Op(MO2.getImm())); in printAddrMode3OffsetOperand()
581 unsigned ImmOffs = ARM_AM::getAM3Offset(MO2.getImm()); in printAddrMode3OffsetOperand()
583 << ARM_AM::getAddrOpcStr(ARM_AM::getAM3Op(MO2.getImm())) << ImmOffs in printAddrMode3OffsetOperand()
591 unsigned Imm = MO.getImm(); in printPostIdxImm8Operand()
602 O << (MO2.getImm() ? "" : "-"); in printPostIdxRegOperand()
610 unsigned Imm = MO.getImm(); in printPostIdxImm8s4Operand()
619 ARM_AM::getAM4SubMode(MI->getOperand(OpNum).getImm()); in printLdStmModeOperand()
638 unsigned ImmOffs = ARM_AM::getAM5Offset(MO2.getImm()); in printAddrMode5Operand()
639 ARM_AM::AddrOpc Op = ARM_AM::getAM5Op(MO2.getImm()); in printAddrMode5Operand()
655 if (MO2.getImm()) { in printAddrMode6Operand()
656 O << ":" << (MO2.getImm() << 3); in printAddrMode6Operand()
688 uint32_t v = ~MO.getImm(); in printBitfieldInvMaskImmOperand()
699 unsigned val = MI->getOperand(OpNum).getImm(); in printMemBOption()
706 unsigned val = MI->getOperand(OpNum).getImm(); in printInstSyncBOption()
713 unsigned ShiftOp = MI->getOperand(OpNum).getImm(); in printShiftImmOperand()
727 unsigned Imm = MI->getOperand(OpNum).getImm(); in printPKHLSLShiftImm()
737 unsigned Imm = MI->getOperand(OpNum).getImm(); in printPKHASRShiftImm()
770 if (Op.getImm()) in printSetendOperand()
779 O << ARM_PROC::IModToString(Op.getImm()); in printCPSIMod()
785 unsigned IFlags = Op.getImm(); in printCPSIFlag()
798 unsigned SpecRegRBit = Op.getImm() >> 4; in printMSRMaskOperand()
799 unsigned Mask = Op.getImm() & 0xf; in printMSRMaskOperand()
803 unsigned SYSm = Op.getImm(); in printMSRMaskOperand()
946 uint32_t Banked = MI->getOperand(OpNum).getImm(); in printBankedRegOperand()
998 ARMCC::CondCodes CC = (ARMCC::CondCodes)MI->getOperand(OpNum).getImm(); in printPredicateOperand()
1010 ARMCC::CondCodes CC = (ARMCC::CondCodes)MI->getOperand(OpNum).getImm(); in printMandatoryPredicateOperand()
1027 O << MI->getOperand(OpNum).getImm(); in printNoHashImmediate()
1033 O << "p" << MI->getOperand(OpNum).getImm(); in printPImmediate()
1039 O << "c" << MI->getOperand(OpNum).getImm(); in printCImmediate()
1045 O << "{" << MI->getOperand(OpNum).getImm() << "}"; in printCoprocOptionImm()
1064 int32_t OffImm = (int32_t)MO.getImm() << scale; in printAdrLabelOperand()
1079 O << markup("<imm:") << "#" << formatImm(MI->getOperand(OpNum).getImm() * 4) in printThumbS4ImmOperand()
1086 unsigned Imm = MI->getOperand(OpNum).getImm(); in printThumbSRImm()
1095 unsigned Mask = MI->getOperand(OpNum).getImm(); in printThumbITMask()
1096 unsigned Firstcond = MI->getOperand(OpNum - 1).getImm(); in printThumbITMask()
1144 if (unsigned ImmOffs = MO2.getImm()) { in printThumbAddrModeImm5SOperand()
1193 printRegImmShift(O, ARM_AM::getSORegShOp(MO2.getImm()), in printT2SOOperand()
1194 ARM_AM::getSORegOffset(MO2.getImm()), UseMarkup); in printT2SOOperand()
1212 int32_t OffImm = (int32_t)MO2.getImm(); in printAddrModeImm12Operand()
1236 int32_t OffImm = (int32_t)MO2.getImm(); in printT2AddrModeImm8Operand()
1265 int32_t OffImm = (int32_t)MO2.getImm(); in printT2AddrModeImm8s4Operand()
1289 if (MO2.getImm()) { in printT2AddrModeImm0_1020s4Operand()
1290 O << ", " << markup("<imm:") << "#" << formatImm(MO2.getImm() * 4) in printT2AddrModeImm0_1020s4Operand()
1300 int32_t OffImm = (int32_t)MO1.getImm(); in printT2AddrModeImm8OffsetOperand()
1315 int32_t OffImm = (int32_t)MO1.getImm(); in printT2AddrModeImm8s4OffsetOperand()
1344 unsigned ShAmt = MO3.getImm(); in printT2AddrModeSoRegOperand()
1356 O << markup("<imm:") << '#' << ARM_AM::getFPImmFloat(MO.getImm()) in printFPImmOperand()
1363 unsigned EncodedImm = MI->getOperand(OpNum).getImm(); in printNEONModImmOperand()
1374 unsigned Imm = MI->getOperand(OpNum).getImm(); in printImmPlusOneOperand()
1381 unsigned Imm = MI->getOperand(OpNum).getImm(); in printRotImmOperand()
1397 unsigned Bits = Op.getImm() & 0xFF; in printModImmOperand()
1398 unsigned Rot = (Op.getImm() & 0xF00) >> 7; in printModImmOperand()
1413 if (ARM_AM::getSOImmVal(Rotated) == Op.getImm()) { in printModImmOperand()
1431 O << markup("<imm:") << "#" << 16 - MI->getOperand(OpNum).getImm() in printFBits16()
1437 O << markup("<imm:") << "#" << 32 - MI->getOperand(OpNum).getImm() in printFBits32()
1444 O << "[" << MI->getOperand(OpNum).getImm() << "]"; in printVectorIndex()