Lines Matching refs:getOperand
81 switch (MI->getOperand(0).getImm()) { in printInst()
103 const MCOperand &Dst = MI->getOperand(0); in printInst()
104 const MCOperand &MO1 = MI->getOperand(1); in printInst()
105 const MCOperand &MO2 = MI->getOperand(2); in printInst()
106 const MCOperand &MO3 = MI->getOperand(3); in printInst()
126 const MCOperand &Dst = MI->getOperand(0); in printInst()
127 const MCOperand &MO1 = MI->getOperand(1); in printInst()
128 const MCOperand &MO2 = MI->getOperand(2); in printInst()
155 MI->getOperand(0).getReg() == ARM::SP && in printInst()
167 if (Opcode == ARM::STR_PRE_IMM && MI->getOperand(2).getReg() == ARM::SP && in printInst()
168 MI->getOperand(3).getImm() == -4) { in printInst()
172 printRegName(O, MI->getOperand(1).getReg()); in printInst()
180 MI->getOperand(0).getReg() == ARM::SP && in printInst()
192 if (Opcode == ARM::LDR_POST_IMM && MI->getOperand(2).getReg() == ARM::SP && in printInst()
193 MI->getOperand(4).getImm() == 4) { in printInst()
197 printRegName(O, MI->getOperand(0).getReg()); in printInst()
206 MI->getOperand(0).getReg() == ARM::SP) { in printInst()
217 MI->getOperand(0).getReg() == ARM::SP) { in printInst()
228 unsigned BaseReg = MI->getOperand(0).getReg(); in printInst()
230 if (MI->getOperand(i).getReg() == BaseReg) in printInst()
247 if (Opcode == ARM::tMOVr && MI->getOperand(0).getReg() == ARM::R8 && in printInst()
248 MI->getOperand(1).getReg() == ARM::R8) { in printInst()
264 unsigned Reg = MI->getOperand(isStore ? 1 : 0).getReg(); in printInst()
271 NewMI.addOperand(MI->getOperand(0)); in printInst()
278 NewMI.addOperand(MI->getOperand(i)); in printInst()
290 const MCOperand &Op = MI->getOperand(OpNo); in printOperand()
317 const MCOperand &MO1 = MI->getOperand(OpNum); in printThumbLdrLabelOperand()
336 const MCOperand &MO1 = MI->getOperand(OpNum); in printSORegRegOperand()
337 const MCOperand &MO2 = MI->getOperand(OpNum+1); in printSORegRegOperand()
338 const MCOperand &MO3 = MI->getOperand(OpNum+2); in printSORegRegOperand()
355 const MCOperand &MO1 = MI->getOperand(OpNum); in printSORegImmOperand()
356 const MCOperand &MO2 = MI->getOperand(OpNum+1); in printSORegImmOperand()
372 const MCOperand &MO1 = MI->getOperand(Op); in printAM2PreOrOffsetIndexOp()
373 const MCOperand &MO2 = MI->getOperand(Op+1); in printAM2PreOrOffsetIndexOp()
374 const MCOperand &MO3 = MI->getOperand(Op+2); in printAM2PreOrOffsetIndexOp()
403 const MCOperand &MO1 = MI->getOperand(Op); in printAddrModeTBB()
404 const MCOperand &MO2 = MI->getOperand(Op+1); in printAddrModeTBB()
414 const MCOperand &MO1 = MI->getOperand(Op); in printAddrModeTBH()
415 const MCOperand &MO2 = MI->getOperand(Op+1); in printAddrModeTBH()
425 const MCOperand &MO1 = MI->getOperand(Op); in printAddrMode2Operand()
433 const MCOperand &MO3 = MI->getOperand(Op+2); in printAddrMode2Operand()
445 const MCOperand &MO1 = MI->getOperand(OpNum); in printAddrMode2OffsetOperand()
446 const MCOperand &MO2 = MI->getOperand(OpNum+1); in printAddrMode2OffsetOperand()
470 const MCOperand &MO1 = MI->getOperand(Op); in printAM3PostIndexOp()
471 const MCOperand &MO2 = MI->getOperand(Op+1); in printAM3PostIndexOp()
472 const MCOperand &MO3 = MI->getOperand(Op+2); in printAM3PostIndexOp()
494 const MCOperand &MO1 = MI->getOperand(Op); in printAM3PreOrOffsetIndexOp()
495 const MCOperand &MO2 = MI->getOperand(Op+1); in printAM3PreOrOffsetIndexOp()
496 const MCOperand &MO3 = MI->getOperand(Op+2); in printAM3PreOrOffsetIndexOp()
525 const MCOperand &MO1 = MI->getOperand(Op); in printAddrMode3Operand()
531 const MCOperand &MO3 = MI->getOperand(Op+2); in printAddrMode3Operand()
544 const MCOperand &MO1 = MI->getOperand(OpNum); in printAddrMode3OffsetOperand()
545 const MCOperand &MO2 = MI->getOperand(OpNum+1); in printAddrMode3OffsetOperand()
562 const MCOperand &MO = MI->getOperand(OpNum); in printPostIdxImm8Operand()
571 const MCOperand &MO1 = MI->getOperand(OpNum); in printPostIdxRegOperand()
572 const MCOperand &MO2 = MI->getOperand(OpNum+1); in printPostIdxRegOperand()
581 const MCOperand &MO = MI->getOperand(OpNum); in printPostIdxImm8s4Operand()
591 ARM_AM::AMSubMode Mode = ARM_AM::getAM4SubMode(MI->getOperand(OpNum) in printLdStmModeOperand()
598 const MCOperand &MO1 = MI->getOperand(OpNum); in printAddrMode5Operand()
599 const MCOperand &MO2 = MI->getOperand(OpNum+1); in printAddrMode5Operand()
624 const MCOperand &MO1 = MI->getOperand(OpNum); in printAddrMode6Operand()
625 const MCOperand &MO2 = MI->getOperand(OpNum+1); in printAddrMode6Operand()
637 const MCOperand &MO1 = MI->getOperand(OpNum); in printAddrMode7Operand()
646 const MCOperand &MO = MI->getOperand(OpNum); in printAddrMode6OffsetOperand()
658 const MCOperand &MO = MI->getOperand(OpNum); in printBitfieldInvMaskImmOperand()
670 unsigned val = MI->getOperand(OpNum).getImm(); in printMemBOption()
676 unsigned ShiftOp = MI->getOperand(OpNum).getImm(); in printShiftImmOperand()
695 unsigned Imm = MI->getOperand(OpNum).getImm(); in printPKHLSLShiftImm()
704 unsigned Imm = MI->getOperand(OpNum).getImm(); in printPKHASRShiftImm()
717 printRegName(O, MI->getOperand(i).getReg()); in printRegisterList()
724 unsigned Reg = MI->getOperand(OpNum).getReg(); in printGPRPairOperand()
733 const MCOperand &Op = MI->getOperand(OpNum); in printSetendOperand()
742 const MCOperand &Op = MI->getOperand(OpNum); in printCPSIMod()
748 const MCOperand &Op = MI->getOperand(OpNum); in printCPSIFlag()
760 const MCOperand &Op = MI->getOperand(OpNum); in printMSRMaskOperand()
840 ARMCC::CondCodes CC = (ARMCC::CondCodes)MI->getOperand(OpNum).getImm(); in printPredicateOperand()
851 ARMCC::CondCodes CC = (ARMCC::CondCodes)MI->getOperand(OpNum).getImm(); in printMandatoryPredicateOperand()
857 if (MI->getOperand(OpNum).getReg()) { in printSBitModifierOperand()
858 assert(MI->getOperand(OpNum).getReg() == ARM::CPSR && in printSBitModifierOperand()
866 O << MI->getOperand(OpNum).getImm(); in printNoHashImmediate()
871 O << "p" << MI->getOperand(OpNum).getImm(); in printPImmediate()
876 O << "c" << MI->getOperand(OpNum).getImm(); in printCImmediate()
881 O << "{" << MI->getOperand(OpNum).getImm() << "}"; in printCoprocOptionImm()
891 const MCOperand &MO = MI->getOperand(OpNum); in printAdrLabelOperand()
913 << "#" << formatImm(MI->getOperand(OpNum).getImm() * 4) in printThumbS4ImmOperand()
919 unsigned Imm = MI->getOperand(OpNum).getImm(); in printThumbSRImm()
928 unsigned Mask = MI->getOperand(OpNum).getImm(); in printThumbITMask()
929 unsigned Firstcond = MI->getOperand(OpNum-1).getImm(); in printThumbITMask()
944 const MCOperand &MO1 = MI->getOperand(Op); in printThumbAddrModeRROperand()
945 const MCOperand &MO2 = MI->getOperand(Op + 1); in printThumbAddrModeRROperand()
965 const MCOperand &MO1 = MI->getOperand(Op); in printThumbAddrModeImm5SOperand()
966 const MCOperand &MO2 = MI->getOperand(Op + 1); in printThumbAddrModeImm5SOperand()
1013 const MCOperand &MO1 = MI->getOperand(OpNum); in printT2SOOperand()
1014 const MCOperand &MO2 = MI->getOperand(OpNum+1); in printT2SOOperand()
1027 const MCOperand &MO1 = MI->getOperand(OpNum); in printAddrModeImm12Operand()
1028 const MCOperand &MO2 = MI->getOperand(OpNum+1); in printAddrModeImm12Operand()
1061 const MCOperand &MO1 = MI->getOperand(OpNum); in printT2AddrModeImm8Operand()
1062 const MCOperand &MO2 = MI->getOperand(OpNum+1); in printT2AddrModeImm8Operand()
1087 const MCOperand &MO1 = MI->getOperand(OpNum); in printT2AddrModeImm8s4Operand()
1088 const MCOperand &MO2 = MI->getOperand(OpNum+1); in printT2AddrModeImm8s4Operand()
1121 const MCOperand &MO1 = MI->getOperand(OpNum); in printT2AddrModeImm0_1020s4Operand()
1122 const MCOperand &MO2 = MI->getOperand(OpNum+1); in printT2AddrModeImm0_1020s4Operand()
1138 const MCOperand &MO1 = MI->getOperand(OpNum); in printT2AddrModeImm8OffsetOperand()
1151 const MCOperand &MO1 = MI->getOperand(OpNum); in printT2AddrModeImm8s4OffsetOperand()
1174 const MCOperand &MO1 = MI->getOperand(OpNum); in printT2AddrModeSoRegOperand()
1175 const MCOperand &MO2 = MI->getOperand(OpNum+1); in printT2AddrModeSoRegOperand()
1176 const MCOperand &MO3 = MI->getOperand(OpNum+2); in printT2AddrModeSoRegOperand()
1198 const MCOperand &MO = MI->getOperand(OpNum); in printFPImmOperand()
1206 unsigned EncodedImm = MI->getOperand(OpNum).getImm(); in printNEONModImmOperand()
1217 unsigned Imm = MI->getOperand(OpNum).getImm(); in printImmPlusOneOperand()
1225 unsigned Imm = MI->getOperand(OpNum).getImm(); in printRotImmOperand()
1243 << "#" << 16 - MI->getOperand(OpNum).getImm() in printFBits16()
1250 << "#" << 32 - MI->getOperand(OpNum).getImm() in printFBits32()
1256 O << "[" << MI->getOperand(OpNum).getImm() << "]"; in printVectorIndex()
1262 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListOne()
1268 unsigned Reg = MI->getOperand(OpNum).getReg(); in printVectorListTwo()
1281 unsigned Reg = MI->getOperand(OpNum).getReg(); in printVectorListTwoSpaced()
1297 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListThree()
1299 printRegName(O, MI->getOperand(OpNum).getReg() + 1); in printVectorListThree()
1301 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListThree()
1311 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListFour()
1313 printRegName(O, MI->getOperand(OpNum).getReg() + 1); in printVectorListFour()
1315 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListFour()
1317 printRegName(O, MI->getOperand(OpNum).getReg() + 3); in printVectorListFour()
1325 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListOneAllLanes()
1332 unsigned Reg = MI->getOperand(OpNum).getReg(); in printVectorListTwoAllLanes()
1349 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListThreeAllLanes()
1351 printRegName(O, MI->getOperand(OpNum).getReg() + 1); in printVectorListThreeAllLanes()
1353 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListThreeAllLanes()
1364 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListFourAllLanes()
1366 printRegName(O, MI->getOperand(OpNum).getReg() + 1); in printVectorListFourAllLanes()
1368 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListFourAllLanes()
1370 printRegName(O, MI->getOperand(OpNum).getReg() + 3); in printVectorListFourAllLanes()
1377 unsigned Reg = MI->getOperand(OpNum).getReg(); in printVectorListTwoSpacedAllLanes()
1394 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListThreeSpacedAllLanes()
1396 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListThreeSpacedAllLanes()
1398 printRegName(O, MI->getOperand(OpNum).getReg() + 4); in printVectorListThreeSpacedAllLanes()
1409 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListFourSpacedAllLanes()
1411 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListFourSpacedAllLanes()
1413 printRegName(O, MI->getOperand(OpNum).getReg() + 4); in printVectorListFourSpacedAllLanes()
1415 printRegName(O, MI->getOperand(OpNum).getReg() + 6); in printVectorListFourSpacedAllLanes()
1426 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListThreeSpaced()
1428 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListThreeSpaced()
1430 printRegName(O, MI->getOperand(OpNum).getReg() + 4); in printVectorListThreeSpaced()
1441 printRegName(O, MI->getOperand(OpNum).getReg()); in printVectorListFourSpaced()
1443 printRegName(O, MI->getOperand(OpNum).getReg() + 2); in printVectorListFourSpaced()
1445 printRegName(O, MI->getOperand(OpNum).getReg() + 4); in printVectorListFourSpaced()
1447 printRegName(O, MI->getOperand(OpNum).getReg() + 6); in printVectorListFourSpaced()