Lines Matching refs:UseMI
162 MachineInstr *DefMI = 0, *UseMI = 0;
176 if (UseMI && UseMI != MI)
181 UseMI = MI;
184 if (!DefMI || !UseMI)
191 LIS.getInstructionIndex(UseMI)))
195 // Assume there are stores between DefMI and UseMI.
201 << " into single use: " << *UseMI);
204 if (UseMI->readsWritesVirtualRegister(LI->reg, &Ops).second)
207 MachineInstr *FoldMI = TII.foldMemoryOperand(UseMI, Ops, DefMI);
211 LIS.ReplaceMachineInstrInMaps(UseMI, FoldMI);
212 UseMI->eraseFromParent();