Lines Matching refs:MO2
446 MCOperand *MO2 = MCInst_getOperand(MI, 2); in ARM_printInst() local
471 printRegName(MI->csh, O, MCOperand_getReg(MO2)); in ARM_printInst()
474 …->flat_insn->detail->arm.operands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MO2); in ARM_printInst()
485 MCOperand *MO2 = MCInst_getOperand(MI, 2); in ARM_printInst() local
487 …Stream_concat0(O, ARM_AM_getShiftOpcStr(ARM_AM_getSORegShOp((unsigned int)MCOperand_getImm(MO2)))); in ARM_printInst()
507 if (ARM_AM_getSORegShOp((unsigned int)MCOperand_getImm(MO2)) == ARM_AM_rrx) { in ARM_printInst()
513 tmp = translateShiftImm(getSORegOffset((unsigned int)MCOperand_getImm(MO2))); in ARM_printInst()
520 (arm_shifter)ARM_AM_getSORegShOp((unsigned int)MCOperand_getImm(MO2)); in ARM_printInst()
580 MCOperand *MO2 = MCInst_getOperand(MI, 4); in ARM_printInst() local
581 if ((getAM2Op((unsigned int)MCOperand_getImm(MO2)) == ARM_AM_add && in ARM_printInst()
582 getAM2Offset((unsigned int)MCOperand_getImm(MO2)) == 4) || in ARM_printInst()
583 MCOperand_getImm(MO2) == 4) { in ARM_printInst()
835 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printSORegRegOperand() local
857 printRegName(MI->csh, O, MCOperand_getReg(MO2)); in printSORegRegOperand()
859 …>detail->arm.operands[MI->flat_insn->detail->arm.op_count - 1].shift.value = MCOperand_getReg(MO2); in printSORegRegOperand()
866 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printSORegImmOperand() local
872 …->detail->arm.operands[MI->flat_insn->detail->arm.op_count].shift.type = MCOperand_getImm(MO2) & 7; in printSORegImmOperand()
873 …erands[MI->flat_insn->detail->arm.op_count].shift.value = (unsigned int)MCOperand_getImm(MO2) >> 3; in printSORegImmOperand()
878 printRegImmShift(MI, O, ARM_AM_getSORegShOp((unsigned int)MCOperand_getImm(MO2)), in printSORegImmOperand()
879 getSORegOffset((unsigned int)MCOperand_getImm(MO2))); in printSORegImmOperand()
889 MCOperand *MO2 = MCInst_getOperand(MI, Op + 1); in printAM2PreOrOffsetIndexOp() local
901 if (!MCOperand_getReg(MO2)) { in printAM2PreOrOffsetIndexOp()
924 printRegName(MI->csh, O, MCOperand_getReg(MO2)); in printAM2PreOrOffsetIndexOp()
926 …_insn->detail->arm.operands[MI->flat_insn->detail->arm.op_count].mem.index = MCOperand_getReg(MO2); in printAM2PreOrOffsetIndexOp()
939 MCOperand *MO2 = MCInst_getOperand(MI, Op+1); in printAddrModeTBB() local
946 printRegName(MI->csh, O, MCOperand_getReg(MO2)); in printAddrModeTBB()
948 …_insn->detail->arm.operands[MI->flat_insn->detail->arm.op_count].mem.index = MCOperand_getReg(MO2); in printAddrModeTBB()
956 MCOperand *MO2 = MCInst_getOperand(MI, Op+1); in printAddrModeTBH() local
963 printRegName(MI->csh, O, MCOperand_getReg(MO2)); in printAddrModeTBH()
965 …_insn->detail->arm.operands[MI->flat_insn->detail->arm.op_count].mem.index = MCOperand_getReg(MO2); in printAddrModeTBH()
989 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printAddrMode2OffsetOperand() local
990 ARM_AM_AddrOpc subtracted = getAM2Op((unsigned int)MCOperand_getImm(MO2)); in printAddrMode2OffsetOperand()
993 unsigned ImmOffs = getAM2Offset((unsigned int)MCOperand_getImm(MO2)); in printAddrMode2OffsetOperand()
1018 printRegImmShift(MI, O, getAM2ShiftOpc((unsigned int)MCOperand_getImm(MO2)), in printAddrMode2OffsetOperand()
1019 getAM2Offset((unsigned int)MCOperand_getImm(MO2))); in printAddrMode2OffsetOperand()
1030 MCOperand *MO2 = MCInst_getOperand(MI, Op+1); in printAM3PreOrOffsetIndexOp() local
1041 if (MCOperand_getReg(MO2)) { in printAM3PreOrOffsetIndexOp()
1044 printRegName(MI->csh, O, MCOperand_getReg(MO2)); in printAM3PreOrOffsetIndexOp()
1046 …_insn->detail->arm.operands[MI->flat_insn->detail->arm.op_count].mem.index = MCOperand_getReg(MO2); in printAM3PreOrOffsetIndexOp()
1094 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printAddrMode3OffsetOperand() local
1095 ARM_AM_AddrOpc subtracted = getAM3Op((unsigned int)MCOperand_getImm(MO2)); in printAddrMode3OffsetOperand()
1110 ImmOffs = getAM3Offset((unsigned int)MCOperand_getImm(MO2)); in printAddrMode3OffsetOperand()
1146 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printPostIdxRegOperand() local
1148 SStream_concat0(O, (MCOperand_getImm(MO2) ? "" : "-")); in printPostIdxRegOperand()
1181 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printAddrMode5Operand() local
1182 ARM_AM_AddrOpc subtracted = ARM_AM_getAM5Op((unsigned int)MCOperand_getImm(MO2)); in printAddrMode5Operand()
1200 ImmOffs = ARM_AM_getAM5Offset((unsigned int)MCOperand_getImm(MO2)); in printAddrMode5Operand()
1227 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printAddrMode6Operand() local
1235 tmp = (unsigned int)MCOperand_getImm(MO2); in printAddrMode6Operand()
1767 MCOperand *MO2 = MCInst_getOperand(MI, Op + 1); in printThumbAddrModeRROperand() local
1780 RegNum = MCOperand_getReg(MO2); in printThumbAddrModeRROperand()
1795 MCOperand *MO2 = MCInst_getOperand(MI, Op + 1); in printThumbAddrModeImm5SOperand() local
1808 ImmOffs = (unsigned int)MCOperand_getImm(MO2); in printThumbAddrModeImm5SOperand()
1850 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printT2SOOperand() local
1862 printRegImmShift(MI, O, ARM_AM_getSORegShOp((unsigned int)MCOperand_getImm(MO2)), in printT2SOOperand()
1863 getSORegOffset((unsigned int)MCOperand_getImm(MO2))); in printT2SOOperand()
1870 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printAddrModeImm12Operand() local
1886 OffImm = (int32_t)MCOperand_getImm(MO2); in printAddrModeImm12Operand()
1919 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printT2AddrModeImm8Operand() local
1930 OffImm = (int32_t)MCOperand_getImm(MO2); in printT2AddrModeImm8Operand()
1955 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printT2AddrModeImm8s4Operand() local
1970 OffImm = (int32_t)MCOperand_getImm(MO2); in printT2AddrModeImm8s4Operand()
1996 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printT2AddrModeImm0_1020s4Operand() local
2004 if (MCOperand_getImm(MO2)) { in printT2AddrModeImm0_1020s4Operand()
2006 tmp = (unsigned int)MCOperand_getImm(MO2) * 4; in printT2AddrModeImm0_1020s4Operand()
2091 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printT2AddrModeSoRegOperand() local
2103 printRegName(MI->csh, O, MCOperand_getReg(MO2)); in printT2AddrModeSoRegOperand()
2105 …_insn->detail->arm.operands[MI->flat_insn->detail->arm.op_count].mem.index = MCOperand_getReg(MO2); in printT2AddrModeSoRegOperand()