Lines Matching refs:OutMI
44 static void removeRegisterOperands(const MachineInstr *MI, MCInst &OutMI);
213 MCInst &OutMI) const { in lower()
214 OutMI.setOpcode(MI->getOpcode()); in lower()
318 OutMI.addOperand(MCOp); in lower()
322 removeRegisterOperands(MI, OutMI); in lower()
324 OutMI.insert(OutMI.begin(), MCOperand::createImm(MI->getNumExplicitDefs())); in lower()
327 static void removeRegisterOperands(const MachineInstr *MI, MCInst &OutMI) { in removeRegisterOperands() argument
345 auto RegOpcode = OutMI.getOpcode(); in removeRegisterOperands()
348 OutMI.setOpcode(StackOpcode); in removeRegisterOperands()
351 for (auto I = OutMI.getNumOperands(); I; --I) { in removeRegisterOperands()
352 auto &MO = OutMI.getOperand(I - 1); in removeRegisterOperands()
354 OutMI.erase(&MO); in removeRegisterOperands()