Lines Matching refs:getImm

102     O << '\t' << ARM_AM::getShiftOpcStr(ARM_AM::getSORegShOp(MO3.getImm()));  in printInst()
113 assert(ARM_AM::getSORegOffset(MO3.getImm()) == 0); in printInst()
124 O << '\t' << ARM_AM::getShiftOpcStr(ARM_AM::getSORegShOp(MO2.getImm())); in printInst()
133 if (ARM_AM::getSORegShOp(MO2.getImm()) == ARM_AM::rrx) { in printInst()
140 << "#" << translateShiftImm(ARM_AM::getSORegOffset(MO2.getImm())); in printInst()
163 MI->getOperand(3).getImm() == -4) { in printInst()
192 MI->getOperand(4).getImm() == 4) { in printInst()
287 switch (MI->getOperand(0).getImm()) { in printInst()
316 markup(O, Markup::Immediate) << '#' << formatImm(Op.getImm()); in printOperand()
356 Address, Op.getImm()); in printOperand()
360 *CommentStream << "imm = #" << formatImm(Op.getImm()) << '\n'; in printOperand()
375 int32_t OffImm = (int32_t)MO1.getImm(); in printThumbLdrLabelOperand()
404 ARM_AM::ShiftOpc ShOpc = ARM_AM::getSORegShOp(MO3.getImm()); in printSORegRegOperand()
411 assert(ARM_AM::getSORegOffset(MO3.getImm()) == 0); in printSORegRegOperand()
423 printRegImmShift(O, ARM_AM::getSORegShOp(MO2.getImm()), in printSORegImmOperand()
424 ARM_AM::getSORegOffset(MO2.getImm()), *this); in printSORegImmOperand()
443 if (ARM_AM::getAM2Offset(MO3.getImm())) { // Don't print +0. in printAM2PreOrOffsetIndexOp()
446 << "#" << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO3.getImm())) in printAM2PreOrOffsetIndexOp()
447 << ARM_AM::getAM2Offset(MO3.getImm()); in printAM2PreOrOffsetIndexOp()
454 O << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO3.getImm())); in printAM2PreOrOffsetIndexOp()
457 printRegImmShift(O, ARM_AM::getAM2ShiftOpc(MO3.getImm()), in printAM2PreOrOffsetIndexOp()
458 ARM_AM::getAM2Offset(MO3.getImm()), *this); in printAM2PreOrOffsetIndexOp()
503 unsigned IdxMode = ARM_AM::getAM2IdxMode(MO3.getImm()); in printAddrMode2Operand()
518 unsigned ImmOffs = ARM_AM::getAM2Offset(MO2.getImm()); in printAddrMode2OffsetOperand()
520 << '#' << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO2.getImm())) in printAddrMode2OffsetOperand()
525 O << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO2.getImm())); in printAddrMode2OffsetOperand()
528 printRegImmShift(O, ARM_AM::getAM2ShiftOpc(MO2.getImm()), in printAddrMode2OffsetOperand()
529 ARM_AM::getAM2Offset(MO2.getImm()), *this); in printAddrMode2OffsetOperand()
548 O << ", " << getAddrOpcStr(ARM_AM::getAM3Op(MO3.getImm())); in printAM3PreOrOffsetIndexOp()
555 unsigned ImmOffs = ARM_AM::getAM3Offset(MO3.getImm()); in printAM3PreOrOffsetIndexOp()
556 ARM_AM::AddrOpc op = ARM_AM::getAM3Op(MO3.getImm()); in printAM3PreOrOffsetIndexOp()
575 assert(ARM_AM::getAM3IdxMode(MI->getOperand(Op + 2).getImm()) != in printAddrMode3Operand()
589 O << getAddrOpcStr(ARM_AM::getAM3Op(MO2.getImm())); in printAddrMode3OffsetOperand()
594 unsigned ImmOffs = ARM_AM::getAM3Offset(MO2.getImm()); in printAddrMode3OffsetOperand()
596 << '#' << ARM_AM::getAddrOpcStr(ARM_AM::getAM3Op(MO2.getImm())) in printAddrMode3OffsetOperand()
604 unsigned Imm = MO.getImm(); in printPostIdxImm8Operand()
615 O << (MO2.getImm() ? "" : "-"); in printPostIdxRegOperand()
623 unsigned Imm = MO.getImm(); in printPostIdxImm8s4Operand()
651 ARM_AM::getAM4SubMode(MI->getOperand(OpNum).getImm()); in printLdStmModeOperand()
671 unsigned ImmOffs = ARM_AM::getAM5Offset(MO2.getImm()); in printAddrMode5Operand()
672 ARM_AM::AddrOpc Op = ARM_AM::getAM5Op(MO2.getImm()); in printAddrMode5Operand()
697 unsigned ImmOffs = ARM_AM::getAM5FP16Offset(MO2.getImm()); in printAddrMode5FP16Operand()
698 unsigned Op = ARM_AM::getAM5FP16Op(MO2.getImm()); in printAddrMode5FP16Operand()
702 << "#" << ARM_AM::getAddrOpcStr(ARM_AM::getAM5FP16Op(MO2.getImm())) in printAddrMode5FP16Operand()
717 if (MO2.getImm()) { in printAddrMode6Operand()
718 O << ":" << (MO2.getImm() << 3); in printAddrMode6Operand()
751 uint32_t v = ~MO.getImm(); in printBitfieldInvMaskImmOperand()
763 unsigned val = MI->getOperand(OpNum).getImm(); in printMemBOption()
770 unsigned val = MI->getOperand(OpNum).getImm(); in printInstSyncBOption()
777 unsigned val = MI->getOperand(OpNum).getImm(); in printTraceSyncBOption()
784 unsigned ShiftOp = MI->getOperand(OpNum).getImm(); in printShiftImmOperand()
799 unsigned Imm = MI->getOperand(OpNum).getImm(); in printPKHLSLShiftImm()
810 unsigned Imm = MI->getOperand(OpNum).getImm(); in printPKHASRShiftImm()
852 if (Op.getImm()) in printSetendOperand()
861 O << ARM_PROC::IModToString(Op.getImm()); in printCPSIMod()
867 unsigned IFlags = Op.getImm(); in printCPSIFlag()
883 unsigned SYSm = Op.getImm() & 0xFFF; // 12-bit SYSm in printMSRMaskOperand()
920 unsigned SpecRegRBit = Op.getImm() >> 4; in printMSRMaskOperand()
921 unsigned Mask = Op.getImm() & 0xf; in printMSRMaskOperand()
961 uint32_t Banked = MI->getOperand(OpNum).getImm(); in printBankedRegOperand()
975 ARMCC::CondCodes CC = (ARMCC::CondCodes)MI->getOperand(OpNum).getImm(); in printPredicateOperand()
986 if ((ARMCC::CondCodes)MI->getOperand(OpNum).getImm() == ARMCC::HS) in printMandatoryRestrictedPredicateOperand()
996 ARMCC::CondCodes CC = (ARMCC::CondCodes)MI->getOperand(OpNum).getImm(); in printMandatoryPredicateOperand()
1004 ARMCC::CondCodes CC = (ARMCC::CondCodes)MI->getOperand(OpNum).getImm(); in printMandatoryInvertedPredicateOperand()
1021 O << MI->getOperand(OpNum).getImm(); in printNoHashImmediate()
1027 O << "p" << MI->getOperand(OpNum).getImm(); in printPImmediate()
1033 O << "c" << MI->getOperand(OpNum).getImm(); in printCImmediate()
1039 O << "{" << MI->getOperand(OpNum).getImm() << "}"; in printCoprocOptionImm()
1058 int32_t OffImm = (int32_t)MO.getImm() << scale; in printAdrLabelOperand()
1073 << "#" << formatImm(MI->getOperand(OpNum).getImm() * 4); in printThumbS4ImmOperand()
1079 unsigned Imm = MI->getOperand(OpNum).getImm(); in printThumbSRImm()
1087 unsigned Mask = MI->getOperand(OpNum).getImm(); in printThumbITMask()
1135 if (unsigned ImmOffs = MO2.getImm()) { in printThumbAddrModeImm5SOperand()
1184 printRegImmShift(O, ARM_AM::getSORegShOp(MO2.getImm()), in printT2SOOperand()
1185 ARM_AM::getSORegOffset(MO2.getImm()), *this); in printT2SOOperand()
1204 int32_t OffImm = (int32_t)MO2.getImm(); in printAddrModeImm12Operand()
1231 int32_t OffImm = (int32_t)MO2.getImm(); in printT2AddrModeImm8Operand()
1263 int32_t OffImm = (int32_t)MO2.getImm(); in printT2AddrModeImm8s4Operand()
1290 if (MO2.getImm()) { in printT2AddrModeImm0_1020s4Operand()
1292 markup(O, Markup::Immediate) << "#" << formatImm(MO2.getImm() * 4); in printT2AddrModeImm0_1020s4Operand()
1301 int32_t OffImm = (int32_t)MO1.getImm(); in printT2AddrModeImm8OffsetOperand()
1316 int32_t OffImm = (int32_t)MO1.getImm(); in printT2AddrModeImm8s4OffsetOperand()
1346 unsigned ShAmt = MO3.getImm(); in printT2AddrModeSoRegOperand()
1359 markup(O, Markup::Immediate) << '#' << ARM_AM::getFPImmFloat(MO.getImm()); in printFPImmOperand()
1365 unsigned EncodedImm = MI->getOperand(OpNum).getImm(); in printVMOVModImmOperand()
1377 unsigned Imm = MI->getOperand(OpNum).getImm(); in printImmPlusOneOperand()
1384 unsigned Imm = MI->getOperand(OpNum).getImm(); in printRotImmOperand()
1401 unsigned Bits = Op.getImm() & 0xFF; in printModImmOperand()
1402 unsigned Rot = (Op.getImm() & 0xF00) >> 7; in printModImmOperand()
1417 if (ARM_AM::getSOImmVal(Rotated) == Op.getImm()) { in printModImmOperand()
1436 markup(O, Markup::Immediate) << "#" << 16 - MI->getOperand(OpNum).getImm(); in printFBits16()
1441 markup(O, Markup::Immediate) << "#" << 32 - MI->getOperand(OpNum).getImm(); in printFBits32()
1447 O << "[" << MI->getOperand(OpNum).getImm() << "]"; in printVectorIndex()
1669 unsigned Val = MI->getOperand(OpNo).getImm(); in printComplexRotationOp()
1676 ARMVCC::VPTCodes CC = (ARMVCC::VPTCodes)MI->getOperand(OpNum).getImm(); in printVPTPredicateOperand()
1685 unsigned Mask = MI->getOperand(OpNum).getImm(); in printVPTMask()
1700 uint32_t Val = MI->getOperand(OpNum).getImm(); in printMveSaturateOp()