Lines Matching refs:csh
140 if (MI->csh->detail != CS_OPT_ON) in set_mem_access()
143 MI->csh->doing_mem = status; in set_mem_access()
156 access = get_op_access(MI->csh, MCInst_getOpcode(MI), MI->ac_idx); in set_mem_access()
168 if (MI->csh->detail) { in op_addImm()
213 if (MI->csh->detail) { in printRegImmShift()
214 if (MI->csh->doing_mem) in printRegImmShift()
223 if (MI->csh->detail) { in printRegImmShift()
224 if (MI->csh->doing_mem) in printRegImmShift()
273 void ARM_post_printer(csh ud, cs_insn *insn, char *insn_asm, MCInst *mci) in ARM_post_printer()
281 } else if (mci->csh->mode & CS_MODE_THUMB) { in ARM_post_printer()
453 if ((ARM_getFeatureBits(MI->csh->mode) & ARM_HasV8Ops)) { in ARM_printInst()
506 printRegName(MI->csh, O, MCOperand_getReg(Dst)); in ARM_printInst()
507 if (MI->csh->detail) { in ARM_printInst()
515 printRegName(MI->csh, O, MCOperand_getReg(MO1)); in ARM_printInst()
517 if (MI->csh->detail) { in ARM_printInst()
525 printRegName(MI->csh, O, MCOperand_getReg(MO2)); in ARM_printInst()
526 if (MI->csh->detail) { in ARM_printInst()
568 printRegName(MI->csh, O, MCOperand_getReg(Dst)); in ARM_printInst()
569 if (MI->csh->detail) { in ARM_printInst()
577 printRegName(MI->csh, O, MCOperand_getReg(MO1)); in ARM_printInst()
578 if (MI->csh->detail) { in ARM_printInst()
593 if (MI->csh->detail) { in ARM_printInst()
614 if (MI->csh->detail) { in ARM_printInst()
633 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, 1))); in ARM_printInst()
634 if (MI->csh->detail) { in ARM_printInst()
641 access = get_op_access(MI->csh, MCInst_getOpcode(MI), MI->ac_idx); in ARM_printInst()
666 if (MI->csh->detail) { in ARM_printInst()
688 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, 0))); in ARM_printInst()
689 if (MI->csh->detail) { in ARM_printInst()
746 printRegName(MI->csh, O, BaseReg); in ARM_printInst()
747 if (MI->csh->detail) { in ARM_printInst()
805 (ARM_getFeatureBits(MI->csh->mode) & ARM_FeatureVirtualization)) { in ARM_printInst()
826 printRegName(MI->csh, O, Reg); in printOperand()
827 if (MI->csh->detail) { in printOperand()
828 if (MI->csh->doing_mem) { in printOperand()
841 access = get_op_access(MI->csh, MCInst_getOpcode(MI), MI->ac_idx); in printOperand()
858 if (ARM_rel_branch(MI->csh, opc)) { in printOperand()
862 if (MI->csh->mode & CS_MODE_THUMB) { in printOperand()
864 if (ARM_blx_to_arm_mode(MI->csh, opc)) { in printOperand()
879 if (MI->csh->imm_unsigned) in printOperand()
895 if (MI->csh->detail) { in printOperand()
896 if (MI->csh->doing_mem) in printOperand()
928 if (MI->csh->detail) { in printThumbLdrLabelOperand()
951 printRegName(MI->csh, O, MCOperand_getReg(MO1)); in printSORegRegOperand()
953 if (MI->csh->detail) { in printSORegRegOperand()
970 printRegName(MI->csh, O, MCOperand_getReg(MO2)); in printSORegRegOperand()
971 if (MI->csh->detail) in printSORegRegOperand()
981 printRegName(MI->csh, O, MCOperand_getReg(MO1)); in printSORegImmOperand()
982 if (MI->csh->detail) { in printSORegImmOperand()
1010 printRegName(MI->csh, O, MCOperand_getReg(MO1)); in printAM2PreOrOffsetIndexOp()
1011 if (MI->csh->detail) { in printAM2PreOrOffsetIndexOp()
1025 if (MI->csh->detail) { in printAM2PreOrOffsetIndexOp()
1038 printRegName(MI->csh, O, MCOperand_getReg(MO2)); in printAM2PreOrOffsetIndexOp()
1039 if (MI->csh->detail) { in printAM2PreOrOffsetIndexOp()
1056 printRegName(MI->csh, O, MCOperand_getReg(MO1)); in printAddrModeTBB()
1057 if (MI->csh->detail) in printAddrModeTBB()
1060 printRegName(MI->csh, O, MCOperand_getReg(MO2)); in printAddrModeTBB()
1061 if (MI->csh->detail) in printAddrModeTBB()
1073 printRegName(MI->csh, O, MCOperand_getReg(MO1)); in printAddrModeTBH()
1074 if (MI->csh->detail) in printAddrModeTBH()
1077 printRegName(MI->csh, O, MCOperand_getReg(MO2)); in printAddrModeTBH()
1078 if (MI->csh->detail) in printAddrModeTBH()
1081 if (MI->csh->detail) { in printAddrModeTBH()
1115 if (MI->csh->detail) { in printAddrMode2OffsetOperand()
1125 printRegName(MI->csh, O, MCOperand_getReg(MO1)); in printAddrMode2OffsetOperand()
1126 if (MI->csh->detail) { in printAddrMode2OffsetOperand()
1153 printRegName(MI->csh, O, MCOperand_getReg(MO1)); in printAM3PreOrOffsetIndexOp()
1154 if (MI->csh->detail) in printAM3PreOrOffsetIndexOp()
1160 printRegName(MI->csh, O, MCOperand_getReg(MO2)); in printAM3PreOrOffsetIndexOp()
1161 if (MI->csh->detail) { in printAM3PreOrOffsetIndexOp()
1183 if (MI->csh->detail) { in printAM3PreOrOffsetIndexOp()
1216 printRegName(MI->csh, O, MCOperand_getReg(MO1)); in printAddrMode3OffsetOperand()
1217 if (MI->csh->detail) { in printAddrMode3OffsetOperand()
1232 if (MI->csh->detail) { in printAddrMode3OffsetOperand()
1248 if (MI->csh->detail) { in printPostIdxImm8Operand()
1261 printRegName(MI->csh, O, MCOperand_getReg(MO1)); in printPostIdxRegOperand()
1262 if (MI->csh->detail) { in printPostIdxRegOperand()
1281 if (MI->csh->detail) { in printPostIdxImm8s4Operand()
1303 printRegName(MI->csh, O, MCOperand_getReg(MO1)); in printAddrMode5Operand()
1305 if (MI->csh->detail) { in printAddrMode5Operand()
1324 if (MI->csh->detail) { in printAddrMode5Operand()
1333 if (MI->csh->detail) { in printAddrMode5Operand()
1346 printRegName(MI->csh, O, MCOperand_getReg(MO1)); in printAddrMode6Operand()
1347 if (MI->csh->detail) in printAddrMode6Operand()
1355 if (MI->csh->detail) in printAddrMode6Operand()
1367 printRegName(MI->csh, O, MCOperand_getReg(MO1)); in printAddrMode7Operand()
1368 if (MI->csh->detail) in printAddrMode7Operand()
1382 printRegName(MI->csh, O, MCOperand_getReg(MO)); in printAddrMode6OffsetOperand()
1383 if (MI->csh->detail) { in printAddrMode6OffsetOperand()
1407 if (MI->csh->detail) { in printBitfieldInvMaskImmOperand()
1421 (ARM_getFeatureBits(MI->csh->mode) & ARM_HasV8Ops) != 0)); in printMemBOption()
1423 if (MI->csh->detail) { in printMemBOption()
1445 if (MI->csh->detail) { in printShiftImmOperand()
1454 if (MI->csh->detail) { in printShiftImmOperand()
1471 if (MI->csh->detail) { in printPKHLSLShiftImm()
1488 if (MI->csh->detail) { in printPKHASRShiftImm()
1505 if (MI->csh->detail) { in printRegisterList()
1506 access = get_op_access(MI->csh, MCInst_getOpcode(MI), MI->ac_idx); in printRegisterList()
1512 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, i))); in printRegisterList()
1513 if (MI->csh->detail) { in printRegisterList()
1525 if (MI->csh->detail) { in printRegisterList()
1535 printRegName(MI->csh, O, MCRegisterInfo_getSubReg(MRI, Reg, ARM_gsub_0)); in printGPRPairOperand()
1536 if (MI->csh->detail) { in printGPRPairOperand()
1542 printRegName(MI->csh, O, MCRegisterInfo_getSubReg(MRI, Reg, ARM_gsub_1)); in printGPRPairOperand()
1543 if (MI->csh->detail) { in printGPRPairOperand()
1556 if (MI->csh->detail) { in printSetendOperand()
1563 if (MI->csh->detail) { in printSetendOperand()
1578 if (MI->csh->detail) { in printCPSIMod()
1599 if (MI->csh->detail) { in printCPSIFlag()
1610 uint64_t FeatureBits = ARM_getFeatureBits(MI->csh->mode); in printMSRMaskOperand()
1784 if (MI->csh->detail) in printPredicateOperand()
1790 if (MI->csh->detail) in printPredicateOperand()
1800 if (MI->csh->detail) in printMandatoryPredicateOperand()
1810 if (MI->csh->detail) in printSBitModifierOperand()
1819 if (MI->csh->detail) { in printNoHashImmediate()
1820 if (MI->csh->doing_mem) { in printNoHashImmediate()
1837 if (MI->csh->detail) { in printPImmediate()
1849 if (MI->csh->detail) { in printCImmediate()
1863 if (MI->csh->detail) { in printCoprocOptionImm()
1878 if (MI->csh->detail) { in printAdrLabelOperand()
1892 if (MI->csh->detail) { in printAdrLabelOperand()
1906 if (MI->csh->detail) { in printThumbS4ImmOperand()
1920 if (MI->csh->detail) { in printThumbSRImm()
1958 printRegName(MI->csh, O, MCOperand_getReg(MO1)); in printThumbAddrModeRROperand()
1959 if (MI->csh->detail) in printThumbAddrModeRROperand()
1964 printRegName(MI->csh, O, RegNum); in printThumbAddrModeRROperand()
1965 if (MI->csh->detail) in printThumbAddrModeRROperand()
1986 printRegName(MI->csh, O, MCOperand_getReg(MO1)); in printThumbAddrModeImm5SOperand()
1987 if (MI->csh->detail) in printThumbAddrModeImm5SOperand()
1994 if (MI->csh->detail) in printThumbAddrModeImm5SOperand()
2031 printRegName(MI->csh, O, Reg); in printT2SOOperand()
2032 if (MI->csh->detail) { in printT2SOOperand()
2060 printRegName(MI->csh, O, MCOperand_getReg(MO1)); in printAddrModeImm12Operand()
2062 if (MI->csh->detail) in printAddrModeImm12Operand()
2088 if (MI->csh->detail) in printAddrModeImm12Operand()
2105 printRegName(MI->csh, O, MCOperand_getReg(MO1)); in printT2AddrModeImm8Operand()
2106 if (MI->csh->detail) in printT2AddrModeImm8Operand()
2124 if (MI->csh->detail) in printT2AddrModeImm8Operand()
2145 printRegName(MI->csh, O, MCOperand_getReg(MO1)); in printT2AddrModeImm8s4Operand()
2146 if (MI->csh->detail) in printT2AddrModeImm8s4Operand()
2165 if (MI->csh->detail) in printT2AddrModeImm8s4Operand()
2180 printRegName(MI->csh, O, MCOperand_getReg(MO1)); in printT2AddrModeImm0_1020s4Operand()
2181 if (MI->csh->detail) in printT2AddrModeImm0_1020s4Operand()
2187 if (MI->csh->detail) in printT2AddrModeImm0_1020s4Operand()
2202 if (MI->csh->detail) { in printT2AddrModeImm8OffsetOperand()
2209 if (MI->csh->detail) { in printT2AddrModeImm8OffsetOperand()
2228 if (MI->csh->detail) { in printT2AddrModeImm8s4OffsetOperand()
2235 if (MI->csh->detail) { in printT2AddrModeImm8s4OffsetOperand()
2253 printRegName(MI->csh, O, MCOperand_getReg(MO1)); in printT2AddrModeSoRegOperand()
2254 if (MI->csh->detail) in printT2AddrModeSoRegOperand()
2259 printRegName(MI->csh, O, MCOperand_getReg(MO2)); in printT2AddrModeSoRegOperand()
2260 if (MI->csh->detail) in printT2AddrModeSoRegOperand()
2268 if (MI->csh->detail) { in printT2AddrModeSoRegOperand()
2288 if (MI->csh->detail) { in printFPImmOperand()
2304 if (MI->csh->detail) { in printNEONModImmOperand()
2315 if (MI->csh->detail) { in printImmPlusOneOperand()
2334 if (MI->csh->detail) { in printRotImmOperand()
2375 if (MI->csh->detail) { in printModImmOperand()
2385 if (MI->csh->detail) { in printModImmOperand()
2402 if (MI->csh->detail) { in printFBits16()
2416 if (MI->csh->detail) { in printFBits32()
2430 if (MI->csh->detail) { in printVectorIndex()
2438 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum))); in printVectorListOne()
2439 if (MI->csh->detail) { in printVectorListOne()
2443 access = get_op_access(MI->csh, MCInst_getOpcode(MI), MI->ac_idx); in printVectorListOne()
2471 access = get_op_access(MI->csh, MCInst_getOpcode(MI), MI->ac_idx); in printVectorListTwo()
2475 printRegName(MI->csh, O, Reg0); in printVectorListTwo()
2476 if (MI->csh->detail) { in printVectorListTwo()
2485 printRegName(MI->csh, O, Reg1); in printVectorListTwo()
2486 if (MI->csh->detail) { in printVectorListTwo()
2512 access = get_op_access(MI->csh, MCInst_getOpcode(MI), MI->ac_idx); in printVectorListTwoSpaced()
2516 printRegName(MI->csh, O, Reg0); in printVectorListTwoSpaced()
2517 if (MI->csh->detail) { in printVectorListTwoSpaced()
2526 printRegName(MI->csh, O, Reg1); in printVectorListTwoSpaced()
2527 if (MI->csh->detail) { in printVectorListTwoSpaced()
2547 access = get_op_access(MI->csh, MCInst_getOpcode(MI), MI->ac_idx); in printVectorListThree()
2554 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum))); in printVectorListThree()
2555 if (MI->csh->detail) { in printVectorListThree()
2564 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 1); in printVectorListThree()
2565 if (MI->csh->detail) { in printVectorListThree()
2574 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 2); in printVectorListThree()
2575 if (MI->csh->detail) { in printVectorListThree()
2595 access = get_op_access(MI->csh, MCInst_getOpcode(MI), MI->ac_idx); in printVectorListFour()
2602 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum))); in printVectorListFour()
2603 if (MI->csh->detail) { in printVectorListFour()
2612 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 1); in printVectorListFour()
2613 if (MI->csh->detail) { in printVectorListFour()
2622 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 2); in printVectorListFour()
2623 if (MI->csh->detail) { in printVectorListFour()
2632 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 3); in printVectorListFour()
2633 if (MI->csh->detail) { in printVectorListFour()
2653 access = get_op_access(MI->csh, MCInst_getOpcode(MI), MI->ac_idx); in printVectorListOneAllLanes()
2657 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum))); in printVectorListOneAllLanes()
2658 if (MI->csh->detail) { in printVectorListOneAllLanes()
2684 access = get_op_access(MI->csh, MCInst_getOpcode(MI), MI->ac_idx); in printVectorListTwoAllLanes()
2688 printRegName(MI->csh, O, Reg0); in printVectorListTwoAllLanes()
2689 if (MI->csh->detail) { in printVectorListTwoAllLanes()
2698 printRegName(MI->csh, O, Reg1); in printVectorListTwoAllLanes()
2699 if (MI->csh->detail) { in printVectorListTwoAllLanes()
2719 access = get_op_access(MI->csh, MCInst_getOpcode(MI), MI->ac_idx); in printVectorListThreeAllLanes()
2726 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum))); in printVectorListThreeAllLanes()
2727 if (MI->csh->detail) { in printVectorListThreeAllLanes()
2736 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 1); in printVectorListThreeAllLanes()
2737 if (MI->csh->detail) { in printVectorListThreeAllLanes()
2746 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 2); in printVectorListThreeAllLanes()
2747 if (MI->csh->detail) { in printVectorListThreeAllLanes()
2767 access = get_op_access(MI->csh, MCInst_getOpcode(MI), MI->ac_idx); in printVectorListFourAllLanes()
2774 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum))); in printVectorListFourAllLanes()
2775 if (MI->csh->detail) { in printVectorListFourAllLanes()
2784 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 1); in printVectorListFourAllLanes()
2785 if (MI->csh->detail) { in printVectorListFourAllLanes()
2794 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 2); in printVectorListFourAllLanes()
2795 if (MI->csh->detail) { in printVectorListFourAllLanes()
2804 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 3); in printVectorListFourAllLanes()
2805 if (MI->csh->detail) { in printVectorListFourAllLanes()
2831 access = get_op_access(MI->csh, MCInst_getOpcode(MI), MI->ac_idx); in printVectorListTwoSpacedAllLanes()
2835 printRegName(MI->csh, O, Reg0); in printVectorListTwoSpacedAllLanes()
2836 if (MI->csh->detail) { in printVectorListTwoSpacedAllLanes()
2845 printRegName(MI->csh, O, Reg1); in printVectorListTwoSpacedAllLanes()
2846 if (MI->csh->detail) { in printVectorListTwoSpacedAllLanes()
2867 access = get_op_access(MI->csh, MCInst_getOpcode(MI), MI->ac_idx); in printVectorListThreeSpacedAllLanes()
2874 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum))); in printVectorListThreeSpacedAllLanes()
2875 if (MI->csh->detail) { in printVectorListThreeSpacedAllLanes()
2884 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 2); in printVectorListThreeSpacedAllLanes()
2885 if (MI->csh->detail) { in printVectorListThreeSpacedAllLanes()
2894 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 4); in printVectorListThreeSpacedAllLanes()
2895 if (MI->csh->detail) { in printVectorListThreeSpacedAllLanes()
2916 access = get_op_access(MI->csh, MCInst_getOpcode(MI), MI->ac_idx); in printVectorListFourSpacedAllLanes()
2923 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum))); in printVectorListFourSpacedAllLanes()
2924 if (MI->csh->detail) { in printVectorListFourSpacedAllLanes()
2933 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 2); in printVectorListFourSpacedAllLanes()
2934 if (MI->csh->detail) { in printVectorListFourSpacedAllLanes()
2943 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 4); in printVectorListFourSpacedAllLanes()
2944 if (MI->csh->detail) { in printVectorListFourSpacedAllLanes()
2953 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 6); in printVectorListFourSpacedAllLanes()
2954 if (MI->csh->detail) { in printVectorListFourSpacedAllLanes()
2974 access = get_op_access(MI->csh, MCInst_getOpcode(MI), MI->ac_idx); in printVectorListThreeSpaced()
2981 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum))); in printVectorListThreeSpaced()
2982 if (MI->csh->detail) { in printVectorListThreeSpaced()
2991 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 2); in printVectorListThreeSpaced()
2992 if (MI->csh->detail) { in printVectorListThreeSpaced()
3001 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 4); in printVectorListThreeSpaced()
3002 if (MI->csh->detail) { in printVectorListThreeSpaced()
3022 access = get_op_access(MI->csh, MCInst_getOpcode(MI), MI->ac_idx); in printVectorListFourSpaced()
3029 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum))); in printVectorListFourSpaced()
3030 if (MI->csh->detail) { in printVectorListFourSpaced()
3039 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 2); in printVectorListFourSpaced()
3040 if (MI->csh->detail) { in printVectorListFourSpaced()
3049 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 4); in printVectorListFourSpaced()
3050 if (MI->csh->detail) { in printVectorListFourSpaced()
3059 printRegName(MI->csh, O, MCOperand_getReg(MCInst_getOperand(MI, OpNum)) + 6); in printVectorListFourSpaced()
3060 if (MI->csh->detail) { in printVectorListFourSpaced()
3077 if (MI->csh->detail) { in ARM_addVectorDataType()
3084 if (MI->csh->detail) { in ARM_addVectorDataSize()
3091 if (MI->csh->detail) { in ARM_addReg()
3100 if (MI->csh->detail) { in ARM_addUserMode()
3107 if (MI->csh->detail) { in ARM_addSysReg()