Lines Matching refs:DefMI
72 const MachineInstr *DefMI) { in checkRematerializable() argument
73 assert(DefMI && "Missing instruction"); in checkRematerializable()
75 if (!TII.isTriviallyReMaterializable(*DefMI)) in checkRematerializable()
90 MachineInstr *DefMI = LIS.getInstructionFromIndex(OrigVNI->def); in scanRemattable() local
91 if (!DefMI) in scanRemattable()
93 checkRematerializable(OrigVNI, DefMI); in scanRemattable()
209 MachineInstr *DefMI = nullptr, *UseMI = nullptr; in foldAsLoad() local
215 if (DefMI && DefMI != MI) in foldAsLoad()
219 DefMI = MI; in foldAsLoad()
229 if (!DefMI || !UseMI) in foldAsLoad()
234 if (!allUsesAvailableAt(DefMI, LIS.getInstructionIndex(*DefMI), in foldAsLoad()
241 if (!DefMI->isSafeToMove(nullptr, SawStore)) in foldAsLoad()
244 LLVM_DEBUG(dbgs() << "Try to fold single def: " << *DefMI in foldAsLoad()
251 MachineInstr *FoldMI = TII.foldMemoryOperand(*UseMI, Ops, *DefMI, &LIS); in foldAsLoad()
260 DefMI->addRegisterDead(LI->reg(), nullptr); in foldAsLoad()
261 Dead.push_back(DefMI); in foldAsLoad()