Lines Matching defs:Def
128 assert(MRI->getVRegDef(reg) && "Register use before def!");
186 /// FindLastPartialDef - Return the last partial def of the specified register.
195 MachineInstr *Def = PhysRegDef[SubReg];
196 if (!Def)
198 unsigned Dist = DistanceMap[Def];
201 LastDef = Def;
225 /// HandlePhysRegUse - Turn previous partial def's into read/mod/writes. Add
226 /// implicit defs to a machine instruction if there was an earlier def of its
230 // If there was a previous use or a "full" def all is well.
232 // Otherwise, the last sub-register def implicitly defines this register.
235 // AL = ... <imp-def EAX>, <imp-kill AH>
254 // This part of Reg was defined before the last partial def. It's killed
267 // Last def defines the super register, add an implicit def of reg.
291 MachineInstr *Def = PhysRegDef[SubReg];
292 if (Def && Def != LastDef) {
293 // There was a def of this sub-register in between. This is a partial
294 // def, keep track of the last one.
295 unsigned Dist = DistanceMap[Def];
332 // AX<dead> = AL<imp-def>
340 MachineInstr *Def = PhysRegDef[SubReg];
341 if (Def && Def != LastDef) {
342 // There was a def of this sub-register in between. This is a partial
343 // def, keep track of the last one.
344 unsigned Dist = DistanceMap[Def];
347 LastPartDef = Def;
364 // Partial uses. Mark register def dead and add implicit def of
366 // EAX<dead> = op AL<imp-def>
367 // That is, EAX def is dead but AL def extends pass it.
399 // The last partial def kills the register.
406 // If the last reference is the last def, then it's not used at all.
410 // If we are adding a subreg def and the superreg def is marked early
411 // clobber, add an early clobber marker to the subreg def.
462 Defs.push_back(Reg); // Remember this def.
531 // Unless it is a PHI node. In this case, ONLY process the DEF, not any
695 const MachineInstr *Def = MRI.getVRegDef(Reg);
696 if (Def && Def->getParent() == &MBB)