Lines Matching refs:MO2
478 MCOperand *MO2 = MCInst_getOperand(MI, 2); in ARM_printInst() local
525 printRegName(MI->csh, O, MCOperand_getReg(MO2)); in ARM_printInst()
528 …->flat_insn->detail->arm.operands[MI->flat_insn->detail->arm.op_count].reg = MCOperand_getReg(MO2); in ARM_printInst()
541 MCOperand *MO2 = MCInst_getOperand(MI, 2); in ARM_printInst() local
543 opc = ARM_AM_getSORegShOp((unsigned int)MCOperand_getImm(MO2)); in ARM_printInst()
591 tmp = translateShiftImm(getSORegOffset((unsigned int)MCOperand_getImm(MO2))); in ARM_printInst()
680 MCOperand *MO2 = MCInst_getOperand(MI, 4); in ARM_printInst() local
681 if ((getAM2Op((unsigned int)MCOperand_getImm(MO2)) == ARM_AM_add && in ARM_printInst()
682 getAM2Offset((unsigned int)MCOperand_getImm(MO2)) == 4) || in ARM_printInst()
683 MCOperand_getImm(MO2) == 4) { in ARM_printInst()
947 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printSORegRegOperand() local
970 printRegName(MI->csh, O, MCOperand_getReg(MO2)); in printSORegRegOperand()
972 …>detail->arm.operands[MI->flat_insn->detail->arm.op_count - 1].shift.value = MCOperand_getReg(MO2); in printSORegRegOperand()
979 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printSORegImmOperand() local
986 …->detail->arm.operands[MI->flat_insn->detail->arm.op_count].shift.type = MCOperand_getImm(MO2) & 7; in printSORegImmOperand()
987 …erands[MI->flat_insn->detail->arm.op_count].shift.value = (unsigned int)MCOperand_getImm(MO2) >> 3; in printSORegImmOperand()
992 printRegImmShift(MI, O, ARM_AM_getSORegShOp((unsigned int)MCOperand_getImm(MO2)), in printSORegImmOperand()
993 getSORegOffset((unsigned int)MCOperand_getImm(MO2))); in printSORegImmOperand()
1003 MCOperand *MO2 = MCInst_getOperand(MI, Op + 1); in printAM2PreOrOffsetIndexOp() local
1015 if (!MCOperand_getReg(MO2)) { in printAM2PreOrOffsetIndexOp()
1038 printRegName(MI->csh, O, MCOperand_getReg(MO2)); in printAM2PreOrOffsetIndexOp()
1040 …_insn->detail->arm.operands[MI->flat_insn->detail->arm.op_count].mem.index = MCOperand_getReg(MO2); in printAM2PreOrOffsetIndexOp()
1053 MCOperand *MO2 = MCInst_getOperand(MI, Op+1); in printAddrModeTBB() local
1060 printRegName(MI->csh, O, MCOperand_getReg(MO2)); in printAddrModeTBB()
1062 …_insn->detail->arm.operands[MI->flat_insn->detail->arm.op_count].mem.index = MCOperand_getReg(MO2); in printAddrModeTBB()
1070 MCOperand *MO2 = MCInst_getOperand(MI, Op+1); in printAddrModeTBH() local
1077 printRegName(MI->csh, O, MCOperand_getReg(MO2)); in printAddrModeTBH()
1079 …_insn->detail->arm.operands[MI->flat_insn->detail->arm.op_count].mem.index = MCOperand_getReg(MO2); in printAddrModeTBH()
1104 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printAddrMode2OffsetOperand() local
1105 ARM_AM_AddrOpc subtracted = getAM2Op((unsigned int)MCOperand_getImm(MO2)); in printAddrMode2OffsetOperand()
1108 unsigned ImmOffs = getAM2Offset((unsigned int)MCOperand_getImm(MO2)); in printAddrMode2OffsetOperand()
1134 printRegImmShift(MI, O, getAM2ShiftOpc((unsigned int)MCOperand_getImm(MO2)), in printAddrMode2OffsetOperand()
1135 getAM2Offset((unsigned int)MCOperand_getImm(MO2))); in printAddrMode2OffsetOperand()
1146 MCOperand *MO2 = MCInst_getOperand(MI, Op+1); in printAM3PreOrOffsetIndexOp() local
1157 if (MCOperand_getReg(MO2)) { in printAM3PreOrOffsetIndexOp()
1160 printRegName(MI->csh, O, MCOperand_getReg(MO2)); in printAM3PreOrOffsetIndexOp()
1162 …_insn->detail->arm.operands[MI->flat_insn->detail->arm.op_count].mem.index = MCOperand_getReg(MO2); in printAM3PreOrOffsetIndexOp()
1210 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printAddrMode3OffsetOperand() local
1211 ARM_AM_AddrOpc subtracted = getAM3Op((unsigned int)MCOperand_getImm(MO2)); in printAddrMode3OffsetOperand()
1227 ImmOffs = getAM3Offset((unsigned int)MCOperand_getImm(MO2)); in printAddrMode3OffsetOperand()
1258 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printPostIdxRegOperand() local
1260 SStream_concat0(O, (MCOperand_getImm(MO2) ? "" : "-")); in printPostIdxRegOperand()
1294 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printAddrMode5Operand() local
1295 ARM_AM_AddrOpc subtracted = ARM_AM_getAM5Op((unsigned int)MCOperand_getImm(MO2)); in printAddrMode5Operand()
1314 ImmOffs = ARM_AM_getAM5Offset((unsigned int)MCOperand_getImm(MO2)); in printAddrMode5Operand()
1341 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printAddrMode6Operand() local
1349 tmp = (unsigned int)MCOperand_getImm(MO2); in printAddrMode6Operand()
1948 MCOperand *MO2 = MCInst_getOperand(MI, Op + 1); in printThumbAddrModeRROperand() local
1961 RegNum = MCOperand_getReg(MO2); in printThumbAddrModeRROperand()
1976 MCOperand *MO2 = MCInst_getOperand(MI, Op + 1); in printThumbAddrModeImm5SOperand() local
1989 ImmOffs = (unsigned int)MCOperand_getImm(MO2); in printThumbAddrModeImm5SOperand()
2028 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printT2SOOperand() local
2041 printRegImmShift(MI, O, ARM_AM_getSORegShOp((unsigned int)MCOperand_getImm(MO2)), in printT2SOOperand()
2042 getSORegOffset((unsigned int)MCOperand_getImm(MO2))); in printT2SOOperand()
2049 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printAddrModeImm12Operand() local
2065 OffImm = (int32_t)MCOperand_getImm(MO2); in printAddrModeImm12Operand()
2098 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printT2AddrModeImm8Operand() local
2109 OffImm = (int32_t)MCOperand_getImm(MO2); in printT2AddrModeImm8Operand()
2134 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printT2AddrModeImm8s4Operand() local
2149 OffImm = (int32_t)MCOperand_getImm(MO2); in printT2AddrModeImm8s4Operand()
2175 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printT2AddrModeImm0_1020s4Operand() local
2183 if (MCOperand_getImm(MO2)) { in printT2AddrModeImm0_1020s4Operand()
2185 tmp = (unsigned int)MCOperand_getImm(MO2) * 4; in printT2AddrModeImm0_1020s4Operand()
2247 MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); in printT2AddrModeSoRegOperand() local
2259 printRegName(MI->csh, O, MCOperand_getReg(MO2)); in printT2AddrModeSoRegOperand()
2261 …_insn->detail->arm.operands[MI->flat_insn->detail->arm.op_count].mem.index = MCOperand_getReg(MO2); in printT2AddrModeSoRegOperand()