Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:Def

114   assert(MBB != &MF->front() && "Can't find reaching def for virtreg");
133 assert(MRI->getVRegDef(reg) && "Register use before def!");
190 /// FindLastPartialDef - Return the last partial def of the specified register.
199 MachineInstr *Def = PhysRegDef[SubReg];
200 if (!Def)
202 unsigned Dist = DistanceMap[Def];
205 LastDef = Def;
228 /// HandlePhysRegUse - Turn previous partial def's into read/mod/writes. Add
229 /// implicit defs to a machine instruction if there was an earlier def of its
233 // If there was a previous use or a "full" def all is well.
235 // Otherwise, the last sub-register def implicitly defines this register.
238 // AL = ... <imp-def EAX>, <imp-kill AH>
257 // This part of Reg was defined before the last partial def. It's killed
269 // Last def defines the super register, add an implicit def of reg.
292 MachineInstr *Def = PhysRegDef[SubReg];
293 if (Def && Def != LastDef) {
294 // There was a def of this sub-register in between. This is a partial
295 // def, keep track of the last one.
296 unsigned Dist = DistanceMap[Def];
333 // AX<dead> = AL<imp-def>
341 MachineInstr *Def = PhysRegDef[SubReg];
342 if (Def && Def != LastDef) {
343 // There was a def of this sub-register in between. This is a partial
344 // def, keep track of the last one.
345 unsigned Dist = DistanceMap[Def];
348 LastPartDef = Def;
365 // Partial uses. Mark register def dead and add implicit def of
367 // EAX<dead> = op AL<imp-def>
368 // 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.
483 Defs.push_back(Reg); // Remember this def.
555 // Unless it is a PHI node. In this case, ONLY process the DEF, not any
725 const MachineInstr *Def = MRI.getVRegDef(Reg);
726 if (Def && Def->getParent() == &MBB)
790 // Record the def of the PHI node.