Lines Matching refs:OutMI
43 static void removeRegisterOperands(const MachineInstr *MI, MCInst &OutMI);
168 MCInst &OutMI) const { in lower()
169 OutMI.setOpcode(MI->getOpcode()); in lower()
264 OutMI.addOperand(MCOp); in lower()
268 removeRegisterOperands(MI, OutMI); in lower()
270 OutMI.insert(OutMI.begin(), MCOperand::createImm(MI->getNumExplicitDefs())); in lower()
273 static void removeRegisterOperands(const MachineInstr *MI, MCInst &OutMI) { in removeRegisterOperands() argument
291 auto RegOpcode = OutMI.getOpcode(); in removeRegisterOperands()
294 OutMI.setOpcode(StackOpcode); in removeRegisterOperands()
297 for (auto I = OutMI.getNumOperands(); I; --I) { in removeRegisterOperands()
298 auto &MO = OutMI.getOperand(I - 1); in removeRegisterOperands()
300 OutMI.erase(&MO); in removeRegisterOperands()