Lines Matching refs:getImm
134 O << '\t' << ARM_AM::getShiftOpcStr(ARM_AM::getSORegShOp(MO3.getImm())); in printInst()
145 assert(ARM_AM::getSORegOffset(MO3.getImm()) == 0); in printInst()
156 O << '\t' << ARM_AM::getShiftOpcStr(ARM_AM::getSORegShOp(MO2.getImm())); in printInst()
165 if (ARM_AM::getSORegShOp(MO2.getImm()) == ARM_AM::rrx) { in printInst()
172 << "#" << translateShiftImm(ARM_AM::getSORegOffset(MO2.getImm())); in printInst()
195 MI->getOperand(3).getImm() == -4) { in printInst()
224 MI->getOperand(4).getImm() == 4) { in printInst()
319 switch (MI->getOperand(0).getImm()) { in printInst()
348 markup(O, Markup::Immediate) << '#' << formatImm(Op.getImm()); in printOperand()
388 Address, Op.getImm()); in printOperand()
392 *CommentStream << "imm = #" << formatImm(Op.getImm()) << '\n'; in printOperand()
407 int32_t OffImm = (int32_t)MO1.getImm(); in printThumbLdrLabelOperand()
436 ARM_AM::ShiftOpc ShOpc = ARM_AM::getSORegShOp(MO3.getImm()); in printSORegRegOperand()
443 assert(ARM_AM::getSORegOffset(MO3.getImm()) == 0); in printSORegRegOperand()
455 printRegImmShift(O, ARM_AM::getSORegShOp(MO2.getImm()), in printSORegImmOperand()
456 ARM_AM::getSORegOffset(MO2.getImm()), *this); in printSORegImmOperand()
475 if (ARM_AM::getAM2Offset(MO3.getImm())) { // Don't print +0. in printAM2PreOrOffsetIndexOp()
478 << "#" << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO3.getImm())) in printAM2PreOrOffsetIndexOp()
479 << ARM_AM::getAM2Offset(MO3.getImm()); in printAM2PreOrOffsetIndexOp()
486 O << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO3.getImm())); in printAM2PreOrOffsetIndexOp()
489 printRegImmShift(O, ARM_AM::getAM2ShiftOpc(MO3.getImm()), in printAM2PreOrOffsetIndexOp()
490 ARM_AM::getAM2Offset(MO3.getImm()), *this); in printAM2PreOrOffsetIndexOp()
535 unsigned IdxMode = ARM_AM::getAM2IdxMode(MO3.getImm()); in printAddrMode2Operand()
550 unsigned ImmOffs = ARM_AM::getAM2Offset(MO2.getImm()); in printAddrMode2OffsetOperand()
552 << '#' << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO2.getImm())) in printAddrMode2OffsetOperand()
557 O << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO2.getImm())); in printAddrMode2OffsetOperand()
560 printRegImmShift(O, ARM_AM::getAM2ShiftOpc(MO2.getImm()), in printAddrMode2OffsetOperand()
561 ARM_AM::getAM2Offset(MO2.getImm()), *this); in printAddrMode2OffsetOperand()
580 O << ", " << getAddrOpcStr(ARM_AM::getAM3Op(MO3.getImm())); in printAM3PreOrOffsetIndexOp()
587 unsigned ImmOffs = ARM_AM::getAM3Offset(MO3.getImm()); in printAM3PreOrOffsetIndexOp()
588 ARM_AM::AddrOpc op = ARM_AM::getAM3Op(MO3.getImm()); in printAM3PreOrOffsetIndexOp()
607 assert(ARM_AM::getAM3IdxMode(MI->getOperand(Op + 2).getImm()) != in printAddrMode3Operand()
621 O << getAddrOpcStr(ARM_AM::getAM3Op(MO2.getImm())); in printAddrMode3OffsetOperand()
626 unsigned ImmOffs = ARM_AM::getAM3Offset(MO2.getImm()); in printAddrMode3OffsetOperand()
628 << '#' << ARM_AM::getAddrOpcStr(ARM_AM::getAM3Op(MO2.getImm())) in printAddrMode3OffsetOperand()
636 unsigned Imm = MO.getImm(); in printPostIdxImm8Operand()
647 O << (MO2.getImm() ? "" : "-"); in printPostIdxRegOperand()
655 unsigned Imm = MO.getImm(); in printPostIdxImm8s4Operand()
683 ARM_AM::getAM4SubMode(MI->getOperand(OpNum).getImm()); in printLdStmModeOperand()
703 unsigned ImmOffs = ARM_AM::getAM5Offset(MO2.getImm()); in printAddrMode5Operand()
704 ARM_AM::AddrOpc Op = ARM_AM::getAM5Op(MO2.getImm()); in printAddrMode5Operand()
729 unsigned ImmOffs = ARM_AM::getAM5FP16Offset(MO2.getImm()); in printAddrMode5FP16Operand()
730 unsigned Op = ARM_AM::getAM5FP16Op(MO2.getImm()); in printAddrMode5FP16Operand()
734 << "#" << ARM_AM::getAddrOpcStr(ARM_AM::getAM5FP16Op(MO2.getImm())) in printAddrMode5FP16Operand()
749 if (MO2.getImm()) { in printAddrMode6Operand()
750 O << ":" << (MO2.getImm() << 3); in printAddrMode6Operand()
783 uint32_t v = ~MO.getImm(); in printBitfieldInvMaskImmOperand()
795 unsigned val = MI->getOperand(OpNum).getImm(); in printMemBOption()
802 unsigned val = MI->getOperand(OpNum).getImm(); in printInstSyncBOption()
809 unsigned val = MI->getOperand(OpNum).getImm(); in printTraceSyncBOption()
816 unsigned ShiftOp = MI->getOperand(OpNum).getImm(); in printShiftImmOperand()
831 unsigned Imm = MI->getOperand(OpNum).getImm(); in printPKHLSLShiftImm()
842 unsigned Imm = MI->getOperand(OpNum).getImm(); in printPKHASRShiftImm()
884 if (Op.getImm()) in printSetendOperand()
893 O << ARM_PROC::IModToString(Op.getImm()); in printCPSIMod()
899 unsigned IFlags = Op.getImm(); in printCPSIFlag()
915 unsigned SYSm = Op.getImm() & 0xFFF; // 12-bit SYSm in printMSRMaskOperand()
952 unsigned SpecRegRBit = Op.getImm() >> 4; in printMSRMaskOperand()
953 unsigned Mask = Op.getImm() & 0xf; in printMSRMaskOperand()
993 uint32_t Banked = MI->getOperand(OpNum).getImm(); in printBankedRegOperand()
1007 ARMCC::CondCodes CC = (ARMCC::CondCodes)MI->getOperand(OpNum).getImm(); in printPredicateOperand()
1018 if ((ARMCC::CondCodes)MI->getOperand(OpNum).getImm() == ARMCC::HS) in printMandatoryRestrictedPredicateOperand()
1028 ARMCC::CondCodes CC = (ARMCC::CondCodes)MI->getOperand(OpNum).getImm(); in printMandatoryPredicateOperand()
1036 ARMCC::CondCodes CC = (ARMCC::CondCodes)MI->getOperand(OpNum).getImm(); in printMandatoryInvertedPredicateOperand()
1053 O << MI->getOperand(OpNum).getImm(); in printNoHashImmediate()
1059 O << "p" << MI->getOperand(OpNum).getImm(); in printPImmediate()
1065 O << "c" << MI->getOperand(OpNum).getImm(); in printCImmediate()
1071 O << "{" << MI->getOperand(OpNum).getImm() << "}"; in printCoprocOptionImm()
1090 int32_t OffImm = (int32_t)MO.getImm() << scale; in printAdrLabelOperand()
1105 << "#" << formatImm(MI->getOperand(OpNum).getImm() * 4); in printThumbS4ImmOperand()
1111 unsigned Imm = MI->getOperand(OpNum).getImm(); in printThumbSRImm()
1119 unsigned Mask = MI->getOperand(OpNum).getImm(); in printThumbITMask()
1167 if (unsigned ImmOffs = MO2.getImm()) { in printThumbAddrModeImm5SOperand()
1216 printRegImmShift(O, ARM_AM::getSORegShOp(MO2.getImm()), in printT2SOOperand()
1217 ARM_AM::getSORegOffset(MO2.getImm()), *this); in printT2SOOperand()
1236 int32_t OffImm = (int32_t)MO2.getImm(); in printAddrModeImm12Operand()
1263 int32_t OffImm = (int32_t)MO2.getImm(); in printT2AddrModeImm8Operand()
1295 int32_t OffImm = (int32_t)MO2.getImm(); in printT2AddrModeImm8s4Operand()
1322 if (MO2.getImm()) { in printT2AddrModeImm0_1020s4Operand()
1324 markup(O, Markup::Immediate) << "#" << formatImm(MO2.getImm() * 4); in printT2AddrModeImm0_1020s4Operand()
1333 int32_t OffImm = (int32_t)MO1.getImm(); in printT2AddrModeImm8OffsetOperand()
1348 int32_t OffImm = (int32_t)MO1.getImm(); in printT2AddrModeImm8s4OffsetOperand()
1378 unsigned ShAmt = MO3.getImm(); in printT2AddrModeSoRegOperand()
1391 markup(O, Markup::Immediate) << '#' << ARM_AM::getFPImmFloat(MO.getImm()); in printFPImmOperand()
1397 unsigned EncodedImm = MI->getOperand(OpNum).getImm(); in printVMOVModImmOperand()
1409 unsigned Imm = MI->getOperand(OpNum).getImm(); in printImmPlusOneOperand()
1416 unsigned Imm = MI->getOperand(OpNum).getImm(); in printRotImmOperand()
1433 unsigned Bits = Op.getImm() & 0xFF; in printModImmOperand()
1434 unsigned Rot = (Op.getImm() & 0xF00) >> 7; in printModImmOperand()
1449 if (ARM_AM::getSOImmVal(Rotated) == Op.getImm()) { in printModImmOperand()
1468 markup(O, Markup::Immediate) << "#" << 16 - MI->getOperand(OpNum).getImm(); in printFBits16()
1473 markup(O, Markup::Immediate) << "#" << 32 - MI->getOperand(OpNum).getImm(); in printFBits32()
1479 O << "[" << MI->getOperand(OpNum).getImm() << "]"; in printVectorIndex()
1701 unsigned Val = MI->getOperand(OpNo).getImm(); in printComplexRotationOp()
1708 ARMVCC::VPTCodes CC = (ARMVCC::VPTCodes)MI->getOperand(OpNum).getImm(); in printVPTPredicateOperand()
1717 unsigned Mask = MI->getOperand(OpNum).getImm(); in printVPTMask()
1732 uint32_t Val = MI->getOperand(OpNum).getImm(); in printMveSaturateOp()