Lines Matching refs:Def
203 MachineInstr *Def = Op->getParent(); in eraseInstrWithNoUses() local
207 if (DeadInstr.find(Def) != DeadInstr.end()) in eraseInstrWithNoUses()
214 for (MachineOperand &MODef : Def->operands()) { in eraseInstrWithNoUses()
224 if (&Use == Def) in eraseInstrWithNoUses()
235 LLVM_DEBUG(dbgs() << "Deleting instruction " << *Def << "\n"); in eraseInstrWithNoUses()
236 DeadInstr.insert(Def); in eraseInstrWithNoUses()
305 MachineInstr *Def = MRI->getVRegDef(OpReg); in optimizeSDPattern() local
306 if (!Def) in optimizeSDPattern()
308 if (Def->isImplicitDef()) in optimizeSDPattern()
348 MachineInstr *Def = MRI->getVRegDef(MI->getOperand(1).getReg()); in elideCopies() local
349 if (!Def) in elideCopies()
351 return elideCopies(Def); in elideCopies()
608 MachineInstr *Def = MRI->getVRegDef(*I); in runOnInstruction() local
609 if (!Def) in runOnInstruction()
612 elideCopiesAndPHIs(Def, DefSrcs); in runOnInstruction()