Home | History | Annotate | Download | only in InstPrinter

Lines Matching defs:MO2

105     const MCOperand &MO2 = MI->getOperand(2);
118 printRegName(O, MO2.getReg());
128 const MCOperand &MO2 = MI->getOperand(2);
130 O << '\t' << ARM_AM::getShiftOpcStr(ARM_AM::getSORegShOp(MO2.getImm()));
139 if (ARM_AM::getSORegShOp(MO2.getImm()) == ARM_AM::rrx) {
146 << "#" << translateShiftImm(ARM_AM::getSORegOffset(MO2.getImm()))
342 const MCOperand &MO2 = MI->getOperand(OpNum+1);
354 printRegName(O, MO2.getReg());
361 const MCOperand &MO2 = MI->getOperand(OpNum+1);
366 printRegImmShift(O, ARM_AM::getSORegShOp(MO2.getImm()),
367 ARM_AM::getSORegOffset(MO2.getImm()), UseMarkup);
378 const MCOperand &MO2 = MI->getOperand(Op+1);
384 if (!MO2.getReg()) {
399 printRegName(O, MO2.getReg());
409 const MCOperand &MO2 = MI->getOperand(Op+1);
413 printRegName(O, MO2.getReg());
420 const MCOperand &MO2 = MI->getOperand(Op+1);
424 printRegName(O, MO2.getReg());
451 const MCOperand &MO2 = MI->getOperand(OpNum+1);
454 unsigned ImmOffs = ARM_AM::getAM2Offset(MO2.getImm());
456 << '#' << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO2.getImm()))
462 O << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO2.getImm()));
465 printRegImmShift(O, ARM_AM::getAM2ShiftOpc(MO2.getImm()),
466 ARM_AM::getAM2Offset(MO2.getImm()), UseMarkup);
476 const MCOperand &MO2 = MI->getOperand(Op+1);
483 if (MO2.getReg()) {
485 printRegName(O, MO2.getReg());
501 const MCOperand &MO2 = MI->getOperand(Op+1);
507 if (MO2.getReg()) {
509 printRegName(O, MO2.getReg());
552 const MCOperand &MO2 = MI->getOperand(OpNum+1);
555 O << getAddrOpcStr(ARM_AM::getAM3Op(MO2.getImm()));
560 unsigned ImmOffs = ARM_AM::getAM3Offset(MO2.getImm());
562 << '#' << ARM_AM::getAddrOpcStr(ARM_AM::getAM3Op(MO2.getImm())) << ImmOffs
579 const MCOperand &MO2 = MI->getOperand(OpNum+1);
581 O << (MO2.getImm() ? "" : "-");
607 const MCOperand &MO2 = MI->getOperand(OpNum+1);
617 unsigned ImmOffs = ARM_AM::getAM5Offset(MO2.getImm());
618 unsigned Op = ARM_AM::getAM5Op(MO2.getImm());
623 << ARM_AM::getAddrOpcStr(ARM_AM::getAM5Op(MO2.getImm()))
633 const MCOperand &MO2 = MI->getOperand(OpNum+1);
637 if (MO2.getImm()) {
638 O << ":" << (MO2.getImm() << 3);
960 const MCOperand &MO2 = MI->getOperand(Op + 1);
969 if (unsigned RegNum = MO2.getReg()) {
981 const MCOperand &MO2 = MI->getOperand(Op + 1);
990 if (unsigned ImmOffs = MO2.getImm()) {
1029 const MCOperand &MO2 = MI->getOperand(OpNum+1);
1035 assert(MO2.isImm() && "Not a valid t2_so_reg value!");
1036 printRegImmShift(O, ARM_AM::getSORegShOp(MO2.getImm()),
1037 ARM_AM::getSORegOffset(MO2.getImm()), UseMarkup);
1044 const MCOperand &MO2 = MI->getOperand(OpNum+1);
1054 int32_t OffImm = (int32_t)MO2.getImm();
1079 const MCOperand &MO2 = MI->getOperand(OpNum+1);
1084 int32_t OffImm = (int32_t)MO2.getImm();
1108 const MCOperand &MO2 = MI->getOperand(OpNum+1);
1118 int32_t OffImm = (int32_t)MO2.getImm();
1144 const MCOperand &MO2 = MI->getOperand(OpNum+1);
1148 if (MO2.getImm()) {
1151 << "#" << formatImm(MO2.getImm() * 4)
1194 const MCOperand &MO2 = MI->getOperand(OpNum+1);
1200 assert(MO2.getReg() && "Invalid so_reg load / store address!");
1202 printRegName(O, MO2.getReg());