Lines Matching refs:getImm

85     O << '\t' << ARM_AM::getShiftOpcStr(ARM_AM::getSORegShOp(MO3.getImm()));  in printInst()
96 assert(ARM_AM::getSORegOffset(MO3.getImm()) == 0); in printInst()
107 O << '\t' << ARM_AM::getShiftOpcStr(ARM_AM::getSORegShOp(MO2.getImm())); in printInst()
116 if (ARM_AM::getSORegShOp(MO2.getImm()) == ARM_AM::rrx) { in printInst()
122 << translateShiftImm(ARM_AM::getSORegOffset(MO2.getImm())) << markup(">"); in printInst()
145 MI->getOperand(3).getImm() == -4) { in printInst()
174 MI->getOperand(4).getImm() == 4) { in printInst()
279 O << markup("<imm:") << '#' << formatImm(Op.getImm()) << markup(">"); in printOperand()
323 int32_t OffImm = (int32_t)MO1.getImm(); in printThumbLdrLabelOperand()
352 ARM_AM::ShiftOpc ShOpc = ARM_AM::getSORegShOp(MO3.getImm()); in printSORegRegOperand()
359 assert(ARM_AM::getSORegOffset(MO3.getImm()) == 0); in printSORegRegOperand()
371 printRegImmShift(O, ARM_AM::getSORegShOp(MO2.getImm()), in printSORegImmOperand()
372 ARM_AM::getSORegOffset(MO2.getImm()), UseMarkup); in printSORegImmOperand()
390 if (ARM_AM::getAM2Offset(MO3.getImm())) { // Don't print +0. in printAM2PreOrOffsetIndexOp()
392 << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO3.getImm())) in printAM2PreOrOffsetIndexOp()
393 << ARM_AM::getAM2Offset(MO3.getImm()) << markup(">"); in printAM2PreOrOffsetIndexOp()
400 O << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO3.getImm())); in printAM2PreOrOffsetIndexOp()
403 printRegImmShift(O, ARM_AM::getAM2ShiftOpc(MO3.getImm()), in printAM2PreOrOffsetIndexOp()
404 ARM_AM::getAM2Offset(MO3.getImm()), UseMarkup); in printAM2PreOrOffsetIndexOp()
444 unsigned IdxMode = ARM_AM::getAM2IdxMode(MO3.getImm()); in printAddrMode2Operand()
459 unsigned ImmOffs = ARM_AM::getAM2Offset(MO2.getImm()); in printAddrMode2OffsetOperand()
461 << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO2.getImm())) << ImmOffs in printAddrMode2OffsetOperand()
466 O << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO2.getImm())); in printAddrMode2OffsetOperand()
469 printRegImmShift(O, ARM_AM::getAM2ShiftOpc(MO2.getImm()), in printAddrMode2OffsetOperand()
470 ARM_AM::getAM2Offset(MO2.getImm()), UseMarkup); in printAddrMode2OffsetOperand()
488 O << ", " << getAddrOpcStr(ARM_AM::getAM3Op(MO3.getImm())); in printAM3PreOrOffsetIndexOp()
495 unsigned ImmOffs = ARM_AM::getAM3Offset(MO3.getImm()); in printAM3PreOrOffsetIndexOp()
496 ARM_AM::AddrOpc op = ARM_AM::getAM3Op(MO3.getImm()); in printAM3PreOrOffsetIndexOp()
515 assert(ARM_AM::getAM3IdxMode(MI->getOperand(Op + 2).getImm()) != in printAddrMode3Operand()
529 O << getAddrOpcStr(ARM_AM::getAM3Op(MO2.getImm())); in printAddrMode3OffsetOperand()
534 unsigned ImmOffs = ARM_AM::getAM3Offset(MO2.getImm()); in printAddrMode3OffsetOperand()
536 << ARM_AM::getAddrOpcStr(ARM_AM::getAM3Op(MO2.getImm())) << ImmOffs in printAddrMode3OffsetOperand()
544 unsigned Imm = MO.getImm(); in printPostIdxImm8Operand()
555 O << (MO2.getImm() ? "" : "-"); in printPostIdxRegOperand()
563 unsigned Imm = MO.getImm(); in printPostIdxImm8s4Operand()
572 ARM_AM::getAM4SubMode(MI->getOperand(OpNum).getImm()); in printLdStmModeOperand()
591 unsigned ImmOffs = ARM_AM::getAM5Offset(MO2.getImm()); in printAddrMode5Operand()
592 ARM_AM::AddrOpc Op = ARM_AM::getAM5Op(MO2.getImm()); in printAddrMode5Operand()
615 unsigned ImmOffs = ARM_AM::getAM5FP16Offset(MO2.getImm()); in printAddrMode5FP16Operand()
616 unsigned Op = ARM_AM::getAM5FP16Op(MO2.getImm()); in printAddrMode5FP16Operand()
621 << ARM_AM::getAddrOpcStr(ARM_AM::getAM5FP16Op(MO2.getImm())) in printAddrMode5FP16Operand()
636 if (MO2.getImm()) { in printAddrMode6Operand()
637 O << ":" << (MO2.getImm() << 3); in printAddrMode6Operand()
669 uint32_t v = ~MO.getImm(); in printBitfieldInvMaskImmOperand()
680 unsigned val = MI->getOperand(OpNum).getImm(); in printMemBOption()
687 unsigned val = MI->getOperand(OpNum).getImm(); in printInstSyncBOption()
694 unsigned ShiftOp = MI->getOperand(OpNum).getImm(); in printShiftImmOperand()
708 unsigned Imm = MI->getOperand(OpNum).getImm(); in printPKHLSLShiftImm()
718 unsigned Imm = MI->getOperand(OpNum).getImm(); in printPKHASRShiftImm()
751 if (Op.getImm()) in printSetendOperand()
760 O << ARM_PROC::IModToString(Op.getImm()); in printCPSIMod()
766 unsigned IFlags = Op.getImm(); in printCPSIFlag()
779 unsigned SpecRegRBit = Op.getImm() >> 4; in printMSRMaskOperand()
780 unsigned Mask = Op.getImm() & 0xf; in printMSRMaskOperand()
784 unsigned SYSm = Op.getImm(); in printMSRMaskOperand()
963 uint32_t Banked = MI->getOperand(OpNum).getImm(); in printBankedRegOperand()
1015 ARMCC::CondCodes CC = (ARMCC::CondCodes)MI->getOperand(OpNum).getImm(); in printPredicateOperand()
1027 ARMCC::CondCodes CC = (ARMCC::CondCodes)MI->getOperand(OpNum).getImm(); in printMandatoryPredicateOperand()
1044 O << MI->getOperand(OpNum).getImm(); in printNoHashImmediate()
1050 O << "p" << MI->getOperand(OpNum).getImm(); in printPImmediate()
1056 O << "c" << MI->getOperand(OpNum).getImm(); in printCImmediate()
1062 O << "{" << MI->getOperand(OpNum).getImm() << "}"; in printCoprocOptionImm()
1081 int32_t OffImm = (int32_t)MO.getImm() << scale; in printAdrLabelOperand()
1096 O << markup("<imm:") << "#" << formatImm(MI->getOperand(OpNum).getImm() * 4) in printThumbS4ImmOperand()
1103 unsigned Imm = MI->getOperand(OpNum).getImm(); in printThumbSRImm()
1112 unsigned Mask = MI->getOperand(OpNum).getImm(); in printThumbITMask()
1113 unsigned Firstcond = MI->getOperand(OpNum - 1).getImm(); in printThumbITMask()
1161 if (unsigned ImmOffs = MO2.getImm()) { in printThumbAddrModeImm5SOperand()
1210 printRegImmShift(O, ARM_AM::getSORegShOp(MO2.getImm()), in printT2SOOperand()
1211 ARM_AM::getSORegOffset(MO2.getImm()), UseMarkup); in printT2SOOperand()
1229 int32_t OffImm = (int32_t)MO2.getImm(); in printAddrModeImm12Operand()
1253 int32_t OffImm = (int32_t)MO2.getImm(); in printT2AddrModeImm8Operand()
1282 int32_t OffImm = (int32_t)MO2.getImm(); in printT2AddrModeImm8s4Operand()
1306 if (MO2.getImm()) { in printT2AddrModeImm0_1020s4Operand()
1307 O << ", " << markup("<imm:") << "#" << formatImm(MO2.getImm() * 4) in printT2AddrModeImm0_1020s4Operand()
1317 int32_t OffImm = (int32_t)MO1.getImm(); in printT2AddrModeImm8OffsetOperand()
1332 int32_t OffImm = (int32_t)MO1.getImm(); in printT2AddrModeImm8s4OffsetOperand()
1361 unsigned ShAmt = MO3.getImm(); in printT2AddrModeSoRegOperand()
1373 O << markup("<imm:") << '#' << ARM_AM::getFPImmFloat(MO.getImm()) in printFPImmOperand()
1380 unsigned EncodedImm = MI->getOperand(OpNum).getImm(); in printNEONModImmOperand()
1391 unsigned Imm = MI->getOperand(OpNum).getImm(); in printImmPlusOneOperand()
1398 unsigned Imm = MI->getOperand(OpNum).getImm(); in printRotImmOperand()
1414 unsigned Bits = Op.getImm() & 0xFF; in printModImmOperand()
1415 unsigned Rot = (Op.getImm() & 0xF00) >> 7; in printModImmOperand()
1430 if (ARM_AM::getSOImmVal(Rotated) == Op.getImm()) { in printModImmOperand()
1448 O << markup("<imm:") << "#" << 16 - MI->getOperand(OpNum).getImm() in printFBits16()
1454 O << markup("<imm:") << "#" << 32 - MI->getOperand(OpNum).getImm() in printFBits32()
1461 O << "[" << MI->getOperand(OpNum).getImm() << "]"; in printVectorIndex()