Lines Matching refs:getOperand
95 const MCOperand &Reg = MI->getOperand(0); in printInst()
103 const MCOperand &Reg = MI->getOperand(0); in printInst()
111 const MCOperand &Reg = MI->getOperand(0); in printInst()
119 const MCOperand &Reg = MI->getOperand(0); in printInst()
129 const MCOperand &Dst = MI->getOperand(0); in printInst()
130 const MCOperand &MO1 = MI->getOperand(1); in printInst()
131 const MCOperand &MO2 = MI->getOperand(2); in printInst()
132 const MCOperand &MO3 = MI->getOperand(3); in printInst()
152 const MCOperand &Dst = MI->getOperand(0); in printInst()
153 const MCOperand &MO1 = MI->getOperand(1); in printInst()
154 const MCOperand &MO2 = MI->getOperand(2); in printInst()
180 if (MI->getOperand(0).getReg() == ARM::SP && MI->getNumOperands() > 5) { in printInst()
194 if (MI->getOperand(2).getReg() == ARM::SP && in printInst()
195 MI->getOperand(3).getImm() == -4) { in printInst()
199 printRegName(O, MI->getOperand(1).getReg()); in printInst()
209 if (MI->getOperand(0).getReg() == ARM::SP && MI->getNumOperands() > 5) { in printInst()
223 if (MI->getOperand(2).getReg() == ARM::SP && in printInst()
224 MI->getOperand(4).getImm() == 4) { in printInst()
228 printRegName(O, MI->getOperand(0).getReg()); in printInst()
238 if (MI->getOperand(0).getReg() == ARM::SP) { in printInst()
251 if (MI->getOperand(0).getReg() == ARM::SP) { in printInst()
263 unsigned BaseReg = MI->getOperand(0).getReg(); in printInst()
265 if (MI->getOperand(i).getReg() == BaseReg) in printInst()
294 unsigned Reg = MI->getOperand(isStore ? 1 : 0).getReg(); in printInst()
301 NewMI.addOperand(MI->getOperand(0)); in printInst()
308 NewMI.addOperand(MI->getOperand(i)); in printInst()
319 switch (MI->getOperand(0).getImm()) { in printInst()
343 const MCOperand &Op = MI->getOperand(OpNo); in printOperand()
384 const MCOperand &Op = MI->getOperand(OpNum); in printOperand()
398 const MCOperand &MO1 = MI->getOperand(OpNum); in printThumbLdrLabelOperand()
429 const MCOperand &MO1 = MI->getOperand(OpNum); in printSORegRegOperand()
430 const MCOperand &MO2 = MI->getOperand(OpNum + 1); in printSORegRegOperand()
431 const MCOperand &MO3 = MI->getOperand(OpNum + 2); in printSORegRegOperand()
449 const MCOperand &MO1 = MI->getOperand(OpNum); in printSORegImmOperand()
450 const MCOperand &MO2 = MI->getOperand(OpNum + 1); in printSORegImmOperand()
466 const MCOperand &MO1 = MI->getOperand(Op); in printAM2PreOrOffsetIndexOp()
467 const MCOperand &MO2 = MI->getOperand(Op + 1); in printAM2PreOrOffsetIndexOp()
468 const MCOperand &MO3 = MI->getOperand(Op + 2); in printAM2PreOrOffsetIndexOp()
497 const MCOperand &MO1 = MI->getOperand(Op); in printAddrModeTBB()
498 const MCOperand &MO2 = MI->getOperand(Op + 1); in printAddrModeTBB()
511 const MCOperand &MO1 = MI->getOperand(Op); in printAddrModeTBH()
512 const MCOperand &MO2 = MI->getOperand(Op + 1); in printAddrModeTBH()
526 const MCOperand &MO1 = MI->getOperand(Op); in printAddrMode2Operand()
534 const MCOperand &MO3 = MI->getOperand(Op + 2); in printAddrMode2Operand()
546 const MCOperand &MO1 = MI->getOperand(OpNum); in printAddrMode2OffsetOperand()
547 const MCOperand &MO2 = MI->getOperand(OpNum + 1); in printAddrMode2OffsetOperand()
571 const MCOperand &MO1 = MI->getOperand(Op); in printAM3PreOrOffsetIndexOp()
572 const MCOperand &MO2 = MI->getOperand(Op + 1); in printAM3PreOrOffsetIndexOp()
573 const MCOperand &MO3 = MI->getOperand(Op + 2); in printAM3PreOrOffsetIndexOp()
601 const MCOperand &MO1 = MI->getOperand(Op); in printAddrMode3Operand()
607 assert(ARM_AM::getAM3IdxMode(MI->getOperand(Op + 2).getImm()) != in printAddrMode3Operand()
617 const MCOperand &MO1 = MI->getOperand(OpNum); in printAddrMode3OffsetOperand()
618 const MCOperand &MO2 = MI->getOperand(OpNum + 1); in printAddrMode3OffsetOperand()
635 const MCOperand &MO = MI->getOperand(OpNum); in printPostIdxImm8Operand()
644 const MCOperand &MO1 = MI->getOperand(OpNum); in printPostIdxRegOperand()
645 const MCOperand &MO2 = MI->getOperand(OpNum + 1); in printPostIdxRegOperand()
654 const MCOperand &MO = MI->getOperand(OpNum); in printPostIdxImm8s4Operand()
664 const MCOperand &MO1 = MI->getOperand(OpNum); in printMveAddrModeRQOperand()
665 const MCOperand &MO2 = MI->getOperand(OpNum + 1); in printMveAddrModeRQOperand()
683 ARM_AM::getAM4SubMode(MI->getOperand(OpNum).getImm()); in printLdStmModeOperand()
691 const MCOperand &MO1 = MI->getOperand(OpNum); in printAddrMode5Operand()
692 const MCOperand &MO2 = MI->getOperand(OpNum + 1); in printAddrMode5Operand()
717 const MCOperand &MO1 = MI->getOperand(OpNum); in printAddrMode5FP16Operand()
718 const MCOperand &MO2 = MI->getOperand(OpNum+1); in printAddrMode5FP16Operand()
743 const MCOperand &MO1 = MI->getOperand(OpNum); in printAddrMode6Operand()
744 const MCOperand &MO2 = MI->getOperand(OpNum + 1); in printAddrMode6Operand()
758 const MCOperand &MO1 = MI->getOperand(OpNum); in printAddrMode7Operand()
769 const MCOperand &MO = MI->getOperand(OpNum); in printAddrMode6OffsetOperand()
782 const MCOperand &MO = MI->getOperand(OpNum); 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()
866 printRegName(O, MI->getOperand(i).getReg()); in printRegisterList()
874 unsigned Reg = MI->getOperand(OpNum).getReg(); in printGPRPairOperand()
883 const MCOperand &Op = MI->getOperand(OpNum); in printSetendOperand()
892 const MCOperand &Op = MI->getOperand(OpNum); in printCPSIMod()
898 const MCOperand &Op = MI->getOperand(OpNum); in printCPSIFlag()
911 const MCOperand &Op = MI->getOperand(OpNum); 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()
1043 if (MI->getOperand(OpNum).getReg()) { in printSBitModifierOperand()
1044 assert(MI->getOperand(OpNum).getReg() == ARM::CPSR && in printSBitModifierOperand()
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()
1083 const MCOperand &MO = MI->getOperand(OpNum); 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()
1133 const MCOperand &MO1 = MI->getOperand(Op); in printThumbAddrModeRROperand()
1134 const MCOperand &MO2 = MI->getOperand(Op + 1); in printThumbAddrModeRROperand()
1156 const MCOperand &MO1 = MI->getOperand(Op); in printThumbAddrModeImm5SOperand()
1157 const MCOperand &MO2 = MI->getOperand(Op + 1); in printThumbAddrModeImm5SOperand()
1208 const MCOperand &MO1 = MI->getOperand(OpNum); in printT2SOOperand()
1209 const MCOperand &MO2 = MI->getOperand(OpNum + 1); in printT2SOOperand()
1224 const MCOperand &MO1 = MI->getOperand(OpNum); in printAddrModeImm12Operand()
1225 const MCOperand &MO2 = MI->getOperand(OpNum + 1); in printAddrModeImm12Operand()
1256 const MCOperand &MO1 = MI->getOperand(OpNum); in printT2AddrModeImm8Operand()
1257 const MCOperand &MO2 = MI->getOperand(OpNum + 1); in printT2AddrModeImm8Operand()
1283 const MCOperand &MO1 = MI->getOperand(OpNum); in printT2AddrModeImm8s4Operand()
1284 const MCOperand &MO2 = MI->getOperand(OpNum + 1); in printT2AddrModeImm8s4Operand()
1316 const MCOperand &MO1 = MI->getOperand(OpNum); in printT2AddrModeImm0_1020s4Operand()
1317 const MCOperand &MO2 = MI->getOperand(OpNum + 1); in printT2AddrModeImm0_1020s4Operand()
1332 const MCOperand &MO1 = MI->getOperand(OpNum); in printT2AddrModeImm8OffsetOperand()
1347 const MCOperand &MO1 = MI->getOperand(OpNum); in printT2AddrModeImm8s4OffsetOperand()
1366 const MCOperand &MO1 = MI->getOperand(OpNum); in printT2AddrModeSoRegOperand()
1367 const MCOperand &MO2 = MI->getOperand(OpNum + 1); in printT2AddrModeSoRegOperand()
1368 const MCOperand &MO3 = MI->getOperand(OpNum + 2); in printT2AddrModeSoRegOperand()
1390 const MCOperand &MO = MI->getOperand(OpNum); 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()
1427 MCOperand Op = MI->getOperand(OpNum); in printModImmOperand()
1440 PrintUnsigned = (MI->getOperand(OpNum - 1).getReg() == ARM::PC); 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()
1486 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListOne()
1493 unsigned Reg = MI->getOperand(OpNum).getReg(); in printVectorListTwo()
1506 unsigned Reg = MI->getOperand(OpNum).getReg(); in printVectorListTwoSpaced()
1523 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListThree()
1525 printRegName(O, MI->getOperand(OpNum).getReg() + 1); in printVectorListThree()
1527 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListThree()
1538 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListFour()
1540 printRegName(O, MI->getOperand(OpNum).getReg() + 1); in printVectorListFour()
1542 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListFour()
1544 printRegName(O, MI->getOperand(OpNum).getReg() + 3); in printVectorListFour()
1553 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListOneAllLanes()
1561 unsigned Reg = MI->getOperand(OpNum).getReg(); in printVectorListTwoAllLanes()
1579 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListThreeAllLanes()
1581 printRegName(O, MI->getOperand(OpNum).getReg() + 1); in printVectorListThreeAllLanes()
1583 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListThreeAllLanes()
1595 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListFourAllLanes()
1597 printRegName(O, MI->getOperand(OpNum).getReg() + 1); in printVectorListFourAllLanes()
1599 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListFourAllLanes()
1601 printRegName(O, MI->getOperand(OpNum).getReg() + 3); in printVectorListFourAllLanes()
1608 unsigned Reg = MI->getOperand(OpNum).getReg(); in printVectorListTwoSpacedAllLanes()
1625 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListThreeSpacedAllLanes()
1627 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListThreeSpacedAllLanes()
1629 printRegName(O, MI->getOperand(OpNum).getReg() + 4); in printVectorListThreeSpacedAllLanes()
1640 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListFourSpacedAllLanes()
1642 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListFourSpacedAllLanes()
1644 printRegName(O, MI->getOperand(OpNum).getReg() + 4); in printVectorListFourSpacedAllLanes()
1646 printRegName(O, MI->getOperand(OpNum).getReg() + 6); in printVectorListFourSpacedAllLanes()
1658 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListThreeSpaced()
1660 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListThreeSpaced()
1662 printRegName(O, MI->getOperand(OpNum).getReg() + 4); in printVectorListThreeSpaced()
1673 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListFourSpaced()
1675 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListFourSpaced()
1677 printRegName(O, MI->getOperand(OpNum).getReg() + 4); in printVectorListFourSpaced()
1679 printRegName(O, MI->getOperand(OpNum).getReg() + 6); in printVectorListFourSpaced()
1687 unsigned Reg = MI->getOperand(OpNum).getReg(); in printMVEVectorList()
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()