• Home
  • Raw
  • Download

Lines Matching refs:getImm

105     O << '\t' << ARM_AM::getShiftOpcStr(ARM_AM::getSORegShOp(MO3.getImm()));  in printInst()
116 assert(ARM_AM::getSORegOffset(MO3.getImm()) == 0); in printInst()
127 O << '\t' << ARM_AM::getShiftOpcStr(ARM_AM::getSORegShOp(MO2.getImm())); in printInst()
136 if (ARM_AM::getSORegShOp(MO2.getImm()) == ARM_AM::rrx) { in printInst()
142 << translateShiftImm(ARM_AM::getSORegOffset(MO2.getImm())) << markup(">"); in printInst()
165 MI->getOperand(3).getImm() == -4) { in printInst()
194 MI->getOperand(4).getImm() == 4) { in printInst()
289 switch (MI->getOperand(0).getImm()) { in printInst()
318 O << markup("<imm:") << '#' << formatImm(Op.getImm()) << markup(">"); in printOperand()
362 int32_t OffImm = (int32_t)MO1.getImm(); in printThumbLdrLabelOperand()
391 ARM_AM::ShiftOpc ShOpc = ARM_AM::getSORegShOp(MO3.getImm()); in printSORegRegOperand()
398 assert(ARM_AM::getSORegOffset(MO3.getImm()) == 0); in printSORegRegOperand()
410 printRegImmShift(O, ARM_AM::getSORegShOp(MO2.getImm()), in printSORegImmOperand()
411 ARM_AM::getSORegOffset(MO2.getImm()), UseMarkup); in printSORegImmOperand()
429 if (ARM_AM::getAM2Offset(MO3.getImm())) { // Don't print +0. in printAM2PreOrOffsetIndexOp()
431 << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO3.getImm())) in printAM2PreOrOffsetIndexOp()
432 << ARM_AM::getAM2Offset(MO3.getImm()) << markup(">"); in printAM2PreOrOffsetIndexOp()
439 O << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO3.getImm())); in printAM2PreOrOffsetIndexOp()
442 printRegImmShift(O, ARM_AM::getAM2ShiftOpc(MO3.getImm()), in printAM2PreOrOffsetIndexOp()
443 ARM_AM::getAM2Offset(MO3.getImm()), UseMarkup); in printAM2PreOrOffsetIndexOp()
483 unsigned IdxMode = ARM_AM::getAM2IdxMode(MO3.getImm()); in printAddrMode2Operand()
498 unsigned ImmOffs = ARM_AM::getAM2Offset(MO2.getImm()); in printAddrMode2OffsetOperand()
500 << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO2.getImm())) << ImmOffs in printAddrMode2OffsetOperand()
505 O << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO2.getImm())); in printAddrMode2OffsetOperand()
508 printRegImmShift(O, ARM_AM::getAM2ShiftOpc(MO2.getImm()), in printAddrMode2OffsetOperand()
509 ARM_AM::getAM2Offset(MO2.getImm()), UseMarkup); in printAddrMode2OffsetOperand()
527 O << ", " << getAddrOpcStr(ARM_AM::getAM3Op(MO3.getImm())); in printAM3PreOrOffsetIndexOp()
534 unsigned ImmOffs = ARM_AM::getAM3Offset(MO3.getImm()); in printAM3PreOrOffsetIndexOp()
535 ARM_AM::AddrOpc op = ARM_AM::getAM3Op(MO3.getImm()); in printAM3PreOrOffsetIndexOp()
554 assert(ARM_AM::getAM3IdxMode(MI->getOperand(Op + 2).getImm()) != in printAddrMode3Operand()
568 O << getAddrOpcStr(ARM_AM::getAM3Op(MO2.getImm())); in printAddrMode3OffsetOperand()
573 unsigned ImmOffs = ARM_AM::getAM3Offset(MO2.getImm()); in printAddrMode3OffsetOperand()
575 << ARM_AM::getAddrOpcStr(ARM_AM::getAM3Op(MO2.getImm())) << ImmOffs in printAddrMode3OffsetOperand()
583 unsigned Imm = MO.getImm(); in printPostIdxImm8Operand()
594 O << (MO2.getImm() ? "" : "-"); in printPostIdxRegOperand()
602 unsigned Imm = MO.getImm(); in printPostIdxImm8s4Operand()
634 int64_t Imm = MO2.getImm(); in printMveAddrModeQOperand()
645 ARM_AM::getAM4SubMode(MI->getOperand(OpNum).getImm()); in printLdStmModeOperand()
664 unsigned ImmOffs = ARM_AM::getAM5Offset(MO2.getImm()); in printAddrMode5Operand()
665 ARM_AM::AddrOpc Op = ARM_AM::getAM5Op(MO2.getImm()); in printAddrMode5Operand()
688 unsigned ImmOffs = ARM_AM::getAM5FP16Offset(MO2.getImm()); in printAddrMode5FP16Operand()
689 unsigned Op = ARM_AM::getAM5FP16Op(MO2.getImm()); in printAddrMode5FP16Operand()
694 << ARM_AM::getAddrOpcStr(ARM_AM::getAM5FP16Op(MO2.getImm())) in printAddrMode5FP16Operand()
709 if (MO2.getImm()) { in printAddrMode6Operand()
710 O << ":" << (MO2.getImm() << 3); in printAddrMode6Operand()
742 uint32_t v = ~MO.getImm(); in printBitfieldInvMaskImmOperand()
753 unsigned val = MI->getOperand(OpNum).getImm(); in printMemBOption()
760 unsigned val = MI->getOperand(OpNum).getImm(); in printInstSyncBOption()
767 unsigned val = MI->getOperand(OpNum).getImm(); in printTraceSyncBOption()
774 unsigned ShiftOp = MI->getOperand(OpNum).getImm(); in printShiftImmOperand()
788 unsigned Imm = MI->getOperand(OpNum).getImm(); in printPKHLSLShiftImm()
798 unsigned Imm = MI->getOperand(OpNum).getImm(); in printPKHASRShiftImm()
839 if (Op.getImm()) in printSetendOperand()
848 O << ARM_PROC::IModToString(Op.getImm()); in printCPSIMod()
854 unsigned IFlags = Op.getImm(); in printCPSIFlag()
870 unsigned SYSm = Op.getImm() & 0xFFF; // 12-bit SYSm in printMSRMaskOperand()
907 unsigned SpecRegRBit = Op.getImm() >> 4; in printMSRMaskOperand()
908 unsigned Mask = Op.getImm() & 0xf; in printMSRMaskOperand()
948 uint32_t Banked = MI->getOperand(OpNum).getImm(); in printBankedRegOperand()
962 ARMCC::CondCodes CC = (ARMCC::CondCodes)MI->getOperand(OpNum).getImm(); in printPredicateOperand()
973 if ((ARMCC::CondCodes)MI->getOperand(OpNum).getImm() == ARMCC::HS) in printMandatoryRestrictedPredicateOperand()
983 ARMCC::CondCodes CC = (ARMCC::CondCodes)MI->getOperand(OpNum).getImm(); in printMandatoryPredicateOperand()
991 ARMCC::CondCodes CC = (ARMCC::CondCodes)MI->getOperand(OpNum).getImm(); in printMandatoryInvertedPredicateOperand()
1008 O << MI->getOperand(OpNum).getImm(); in printNoHashImmediate()
1014 O << "p" << MI->getOperand(OpNum).getImm(); in printPImmediate()
1020 O << "c" << MI->getOperand(OpNum).getImm(); in printCImmediate()
1026 O << "{" << MI->getOperand(OpNum).getImm() << "}"; in printCoprocOptionImm()
1045 int32_t OffImm = (int32_t)MO.getImm() << scale; in printAdrLabelOperand()
1060 O << markup("<imm:") << "#" << formatImm(MI->getOperand(OpNum).getImm() * 4) in printThumbS4ImmOperand()
1067 unsigned Imm = MI->getOperand(OpNum).getImm(); in printThumbSRImm()
1076 unsigned Mask = MI->getOperand(OpNum).getImm(); in printThumbITMask()
1122 if (unsigned ImmOffs = MO2.getImm()) { in printThumbAddrModeImm5SOperand()
1171 printRegImmShift(O, ARM_AM::getSORegShOp(MO2.getImm()), in printT2SOOperand()
1172 ARM_AM::getSORegOffset(MO2.getImm()), UseMarkup); in printT2SOOperand()
1190 int32_t OffImm = (int32_t)MO2.getImm(); in printAddrModeImm12Operand()
1214 int32_t OffImm = (int32_t)MO2.getImm(); in printT2AddrModeImm8Operand()
1243 int32_t OffImm = (int32_t)MO2.getImm(); in printT2AddrModeImm8s4Operand()
1267 if (MO2.getImm()) { in printT2AddrModeImm0_1020s4Operand()
1268 O << ", " << markup("<imm:") << "#" << formatImm(MO2.getImm() * 4) in printT2AddrModeImm0_1020s4Operand()
1278 int32_t OffImm = (int32_t)MO1.getImm(); in printT2AddrModeImm8OffsetOperand()
1293 int32_t OffImm = (int32_t)MO1.getImm(); in printT2AddrModeImm8s4OffsetOperand()
1322 unsigned ShAmt = MO3.getImm(); in printT2AddrModeSoRegOperand()
1334 O << markup("<imm:") << '#' << ARM_AM::getFPImmFloat(MO.getImm()) in printFPImmOperand()
1341 unsigned EncodedImm = MI->getOperand(OpNum).getImm(); in printVMOVModImmOperand()
1352 unsigned Imm = MI->getOperand(OpNum).getImm(); in printImmPlusOneOperand()
1359 unsigned Imm = MI->getOperand(OpNum).getImm(); in printRotImmOperand()
1375 unsigned Bits = Op.getImm() & 0xFF; in printModImmOperand()
1376 unsigned Rot = (Op.getImm() & 0xF00) >> 7; in printModImmOperand()
1391 if (ARM_AM::getSOImmVal(Rotated) == Op.getImm()) { in printModImmOperand()
1409 O << markup("<imm:") << "#" << 16 - MI->getOperand(OpNum).getImm() in printFBits16()
1415 O << markup("<imm:") << "#" << 32 - MI->getOperand(OpNum).getImm() in printFBits32()
1422 O << "[" << MI->getOperand(OpNum).getImm() << "]"; in printVectorIndex()
1644 unsigned Val = MI->getOperand(OpNo).getImm(); in printComplexRotationOp()
1651 ARMVCC::VPTCodes CC = (ARMVCC::VPTCodes)MI->getOperand(OpNum).getImm(); in printVPTPredicateOperand()
1660 unsigned Mask = MI->getOperand(OpNum).getImm(); in printVPTMask()
1675 uint32_t Val = MI->getOperand(OpNum).getImm(); in printMveSaturateOp()