Lines Matching refs:MCInst_getOperand

415 			switch (MCOperand_getImm(MCInst_getOperand(MI, 0))) {  in ARM_printInst()
444 MCOperand *Dst = MCInst_getOperand(MI, 0); in ARM_printInst()
445 MCOperand *MO1 = MCInst_getOperand(MI, 1); in ARM_printInst()
446 MCOperand *MO2 = MCInst_getOperand(MI, 2); in ARM_printInst()
447 MCOperand *MO3 = MCInst_getOperand(MI, 3); in ARM_printInst()
483 MCOperand *Dst = MCInst_getOperand(MI, 0); in ARM_printInst()
484 MCOperand *MO1 = MCInst_getOperand(MI, 1); in ARM_printInst()
485 MCOperand *MO2 = MCInst_getOperand(MI, 2); in ARM_printInst()
529 if (MCOperand_getReg(MCInst_getOperand(MI, 0)) == ARM_SP && in ARM_printInst()
544 if (MCOperand_getReg(MCInst_getOperand(MI, 2)) == ARM_SP && in ARM_printInst()
545 MCOperand_getImm(MCInst_getOperand(MI, 3)) == -4) { in ARM_printInst()
550 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, 1))); in ARM_printInst()
553 …arm.operands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, 1)); in ARM_printInst()
564 if (MCOperand_getReg(MCInst_getOperand(MI, 0)) == ARM_SP && in ARM_printInst()
579 if (MCOperand_getReg(MCInst_getOperand(MI, 2)) == ARM_SP) { in ARM_printInst()
580 MCOperand *MO2 = MCInst_getOperand(MI, 4); in ARM_printInst()
588 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, 0))); in ARM_printInst()
591 …arm.operands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, 0)); in ARM_printInst()
608 if (MCOperand_getReg(MCInst_getOperand(MI, 0)) == ARM_SP) { in ARM_printInst()
621 if (MCOperand_getReg(MCInst_getOperand(MI, 0)) == ARM_SP) { in ARM_printInst()
633 unsigned BaseReg = MCOperand_getReg(MCInst_getOperand(MI, 0)); in ARM_printInst()
636 if (MCOperand_getReg(MCInst_getOperand(MI, i)) == BaseReg) in ARM_printInst()
673 unsigned Reg = MCOperand_getReg(MCInst_getOperand(MI, isStore ? 1 : 0)); in ARM_printInst()
681 MCInst_addOperand2(&NewMI, MCInst_getOperand(MI, 0)); in ARM_printInst()
688 MCInst_addOperand2(&NewMI, MCInst_getOperand(MI, i)); in ARM_printInst()
704 MCOperand *Op = MCInst_getOperand(MI, OpNo); in printOperand()
795 MCOperand *MO1 = MCInst_getOperand(MI, OpNum); in printThumbLdrLabelOperand()
834 MCOperand *MO1 = MCInst_getOperand(MI, OpNum); in printSORegRegOperand()
835 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printSORegRegOperand()
836 MCOperand *MO3 = MCInst_getOperand(MI, OpNum+2); in printSORegRegOperand()
865 MCOperand *MO1 = MCInst_getOperand(MI, OpNum); in printSORegImmOperand()
866 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printSORegImmOperand()
888 MCOperand *MO1 = MCInst_getOperand(MI, Op); in printAM2PreOrOffsetIndexOp()
889 MCOperand *MO2 = MCInst_getOperand(MI, Op + 1); in printAM2PreOrOffsetIndexOp()
890 MCOperand *MO3 = MCInst_getOperand(MI, Op + 2); in printAM2PreOrOffsetIndexOp()
938 MCOperand *MO1 = MCInst_getOperand(MI, Op); in printAddrModeTBB()
939 MCOperand *MO2 = MCInst_getOperand(MI, Op+1); in printAddrModeTBB()
955 MCOperand *MO1 = MCInst_getOperand(MI, Op); in printAddrModeTBH()
956 MCOperand *MO2 = MCInst_getOperand(MI, Op+1); in printAddrModeTBH()
976 MCOperand *MO1 = MCInst_getOperand(MI, Op); in printAddrMode2Operand()
988 MCOperand *MO1 = MCInst_getOperand(MI, OpNum); in printAddrMode2OffsetOperand()
989 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printAddrMode2OffsetOperand()
1029 MCOperand *MO1 = MCInst_getOperand(MI, Op); in printAM3PreOrOffsetIndexOp()
1030 MCOperand *MO2 = MCInst_getOperand(MI, Op+1); in printAM3PreOrOffsetIndexOp()
1031 MCOperand *MO3 = MCInst_getOperand(MI, Op+2); in printAM3PreOrOffsetIndexOp()
1082 MCOperand *MO1 = MCInst_getOperand(MI, Op); in printAddrMode3Operand()
1093 MCOperand *MO1 = MCInst_getOperand(MI, OpNum); in printAddrMode3OffsetOperand()
1094 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printAddrMode3OffsetOperand()
1130 MCOperand *MO = MCInst_getOperand(MI, OpNum); in printPostIdxImm8Operand()
1145 MCOperand *MO1 = MCInst_getOperand(MI, OpNum); in printPostIdxRegOperand()
1146 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printPostIdxRegOperand()
1159 MCOperand *MO = MCInst_getOperand(MI, OpNum); in printPostIdxImm8s4Operand()
1180 MCOperand *MO1 = MCInst_getOperand(MI, OpNum); in printAddrMode5Operand()
1181 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printAddrMode5Operand()
1226 MCOperand *MO1 = MCInst_getOperand(MI, OpNum); in printAddrMode6Operand()
1227 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printAddrMode6Operand()
1250 MCOperand *MO1 = MCInst_getOperand(MI, OpNum); in printAddrMode7Operand()
1262 MCOperand *MO = MCInst_getOperand(MI, OpNum); in printAddrMode6OffsetOperand()
1279 MCOperand *MO = MCInst_getOperand(MI, OpNum); in printBitfieldInvMaskImmOperand()
1307 unsigned val = (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); in printMemBOption()
1318 unsigned val = (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); in printInstSyncBOption()
1324 unsigned ShiftOp = (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); in printShiftImmOperand()
1351 unsigned Imm = (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); in printPKHLSLShiftImm()
1367 unsigned Imm = (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); in printPKHASRShiftImm()
1389 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, i))); in printRegisterList()
1392 …arm.operands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, i)); in printRegisterList()
1402 unsigned Reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)); in printGPRPairOperand()
1421 MCOperand *Op = MCInst_getOperand(MI, OpNum); in printSetendOperand()
1441 MCOperand *Op = MCInst_getOperand(MI, OpNum); in printCPSIMod()
1453 MCOperand *Op = MCInst_getOperand(MI, OpNum); in printCPSIFlag()
1474 MCOperand *Op = MCInst_getOperand(MI, OpNum); in printMSRMaskOperand()
1595 ARMCC_CondCodes CC = (ARMCC_CondCodes)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); in printPredicateOperand()
1613 ARMCC_CondCodes CC = (ARMCC_CondCodes)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); in printMandatoryPredicateOperand()
1621 if (MCOperand_getReg(MCInst_getOperand(MI, OpNum))) { in printSBitModifierOperand()
1632 unsigned tmp = (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); in printNoHashImmediate()
1650 unsigned imm = (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); in printPImmediate()
1662 unsigned imm = (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); in printCImmediate()
1674 unsigned tmp = (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); in printCoprocOptionImm()
1688 MCOperand *MO = MCInst_getOperand(MI, OpNum); in printAdrLabelOperand()
1718 unsigned tmp = (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNum)) * 4; in printThumbS4ImmOperand()
1732 unsigned Imm = (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); in printThumbSRImm()
1749 unsigned Mask = (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); in printThumbITMask()
1750 unsigned Firstcond = (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNum-1)); in printThumbITMask()
1766 MCOperand *MO1 = MCInst_getOperand(MI, Op); in printThumbAddrModeRROperand()
1767 MCOperand *MO2 = MCInst_getOperand(MI, Op + 1); in printThumbAddrModeRROperand()
1794 MCOperand *MO1 = MCInst_getOperand(MI, Op); in printThumbAddrModeImm5SOperand()
1795 MCOperand *MO2 = MCInst_getOperand(MI, Op + 1); in printThumbAddrModeImm5SOperand()
1849 MCOperand *MO1 = MCInst_getOperand(MI, OpNum); in printT2SOOperand()
1850 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printT2SOOperand()
1869 MCOperand *MO1 = MCInst_getOperand(MI, OpNum); in printAddrModeImm12Operand()
1870 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printAddrModeImm12Operand()
1918 MCOperand *MO1 = MCInst_getOperand(MI, OpNum); in printT2AddrModeImm8Operand()
1919 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printT2AddrModeImm8Operand()
1954 MCOperand *MO1 = MCInst_getOperand(MI, OpNum); in printT2AddrModeImm8s4Operand()
1955 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printT2AddrModeImm8s4Operand()
1995 MCOperand *MO1 = MCInst_getOperand(MI, OpNum); in printT2AddrModeImm0_1020s4Operand()
1996 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printT2AddrModeImm0_1020s4Operand()
2021 MCOperand *MO1 = MCInst_getOperand(MI, OpNum); in printT2AddrModeImm8OffsetOperand()
2054 MCOperand *MO1 = MCInst_getOperand(MI, OpNum); in printT2AddrModeImm8s4OffsetOperand()
2090 MCOperand *MO1 = MCInst_getOperand(MI, OpNum); in printT2AddrModeSoRegOperand()
2091 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printT2AddrModeSoRegOperand()
2092 MCOperand *MO3 = MCInst_getOperand(MI, OpNum+2); in printT2AddrModeSoRegOperand()
2124 MCOperand *MO = MCInst_getOperand(MI, OpNum); in printFPImmOperand()
2141 unsigned EncodedImm = (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); in printNEONModImmOperand()
2157 unsigned Imm = (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); in printImmPlusOneOperand()
2171 unsigned Imm = (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); in printRotImmOperand()
2191 tmp = 16 - (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); in printFBits16()
2207 tmp = 32 - (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); in printFBits32()
2221 unsigned tmp = (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); in printVectorIndex()
2234 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum))); in printVectorListOne()
2237 …operands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)); in printVectorListOne()
2246 unsigned Reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)); in printVectorListTwo()
2269 unsigned Reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)); in printVectorListTwoSpaced()
2295 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum))); in printVectorListThree()
2298 …operands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)); in printVectorListThree()
2302 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 1); in printVectorListThree()
2305 …perands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)) … in printVectorListThree()
2309 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 2); in printVectorListThree()
2312 …perands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)) … in printVectorListThree()
2324 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum))); in printVectorListFour()
2327 …operands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)); in printVectorListFour()
2331 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 1); in printVectorListFour()
2334 …perands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)) … in printVectorListFour()
2338 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 2); in printVectorListFour()
2341 …perands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)) … in printVectorListFour()
2345 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 3); in printVectorListFour()
2348 …perands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)) … in printVectorListFour()
2357 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum))); in printVectorListOneAllLanes()
2360 …operands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)); in printVectorListOneAllLanes()
2369 unsigned Reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)); in printVectorListTwoAllLanes()
2395 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum))); in printVectorListThreeAllLanes()
2398 …operands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)); in printVectorListThreeAllLanes()
2402 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 1); in printVectorListThreeAllLanes()
2405 …perands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)) … in printVectorListThreeAllLanes()
2409 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 2); in printVectorListThreeAllLanes()
2412 …perands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)) … in printVectorListThreeAllLanes()
2424 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum))); in printVectorListFourAllLanes()
2427 …operands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)); in printVectorListFourAllLanes()
2431 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 1); in printVectorListFourAllLanes()
2434 …perands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)) … in printVectorListFourAllLanes()
2438 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 2); in printVectorListFourAllLanes()
2441 …perands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)) … in printVectorListFourAllLanes()
2445 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 3); in printVectorListFourAllLanes()
2448 …perands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)) … in printVectorListFourAllLanes()
2457 unsigned Reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)); in printVectorListTwoSpacedAllLanes()
2484 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum))); in printVectorListThreeSpacedAllLanes()
2487 …operands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)); in printVectorListThreeSpacedAllLanes()
2491 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 2); in printVectorListThreeSpacedAllLanes()
2494 …perands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)) … in printVectorListThreeSpacedAllLanes()
2498 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 4); in printVectorListThreeSpacedAllLanes()
2501 …perands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)) … in printVectorListThreeSpacedAllLanes()
2514 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum))); in printVectorListFourSpacedAllLanes()
2517 …operands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)); in printVectorListFourSpacedAllLanes()
2521 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 2); in printVectorListFourSpacedAllLanes()
2524 …perands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)) … in printVectorListFourSpacedAllLanes()
2528 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 4); in printVectorListFourSpacedAllLanes()
2531 …perands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)) … in printVectorListFourSpacedAllLanes()
2535 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 6); in printVectorListFourSpacedAllLanes()
2538 …perands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)) … in printVectorListFourSpacedAllLanes()
2550 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum))); in printVectorListThreeSpaced()
2553 …operands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)); in printVectorListThreeSpaced()
2557 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 2); in printVectorListThreeSpaced()
2560 …perands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)) … in printVectorListThreeSpaced()
2564 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 4); in printVectorListThreeSpaced()
2567 …perands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)) … in printVectorListThreeSpaced()
2579 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum))); in printVectorListFourSpaced()
2582 …operands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)); in printVectorListFourSpaced()
2586 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 2); in printVectorListFourSpaced()
2589 …perands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)) … in printVectorListFourSpaced()
2593 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 4); in printVectorListFourSpaced()
2596 …perands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)) … in printVectorListFourSpaced()
2600 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 6); in printVectorListFourSpaced()
2603 …perands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum)) … in printVectorListFourSpaced()