Home | History | Annotate | Download | only in ARM

Lines Matching defs:OpNum

324 void ARMAsmPrinter::printOperand(const MachineInstr *MI, int OpNum,
326 const MachineOperand &MO = MI->getOperand(OpNum);
406 bool ARMAsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNum,
416 return AsmPrinter::PrintAsmOperand(MI, OpNum, AsmVariant, ExtraCode, O);
418 if (MI->getOperand(OpNum).isReg()) {
420 << ARMInstPrinter::getRegisterName(MI->getOperand(OpNum).getReg())
426 if (!MI->getOperand(OpNum).isImm())
428 O << MI->getOperand(OpNum).getImm();
432 printOperand(MI, OpNum, O);
435 if (MI->getOperand(OpNum).isReg()) {
436 unsigned Reg = MI->getOperand(OpNum).getReg();
450 if (!MI->getOperand(OpNum).isImm())
452 O << ~(MI->getOperand(OpNum).getImm());
455 if (!MI->getOperand(OpNum).isImm())
457 O << (MI->getOperand(OpNum).getImm() & 0xffff);
460 if (!MI->getOperand(OpNum).isReg())
462 const MachineOperand &MO = MI->getOperand(OpNum);
480 unsigned RegOps = OpNum + 1;
493 if (OpNum == 0)
495 const MachineOperand &FlagsOP = MI->getOperand(OpNum - 1);
505 const MachineOperand &MO = MI->getOperand(OpNum);
516 unsigned RegOp = ExtraCode[0] == 'Q' ? OpNum : OpNum + 1;
529 if (!MI->getOperand(OpNum).isReg())
531 unsigned Reg = MI->getOperand(OpNum).getReg();
545 const MachineOperand &MO = MI->getOperand(OpNum);
560 printOperand(MI, OpNum, O);
565 unsigned OpNum, unsigned AsmVariant,
576 if (!MI->getOperand(OpNum).isReg())
578 O << ARMInstPrinter::getRegisterName(MI->getOperand(OpNum).getReg());
583 const MachineOperand &MO = MI->getOperand(OpNum);
1000 int OpNum = 1;
1002 OpNum = 2;
1004 OpNum = 3;
1006 const MachineOperand &MO1 = MI->getOperand(OpNum);
1007 const MachineOperand &MO2 = MI->getOperand(OpNum+1); // Unique Id
1051 int OpNum = (Opcode == ARM::t2BR_JT) ? 2 : 1;
1052 const MachineOperand &MO1 = MI->getOperand(OpNum);
1053 const MachineOperand &MO2 = MI->getOperand(OpNum+1); // Unique Id