Lines Matching refs:def
298 << UseVNI->id << '@' << UseVNI->def << '\n');
305 MachineBasicBlock *UseMBB = LIS.getMBBFromIndex(UseVNI->def);
319 MachineBasicBlock *MBB = LIS.getMBBFromIndex(VNI->def);
321 // This is an alternative def earlier in the same MBB.
325 // x = def
329 // Hoisting the spill of s to immediately after the def removes the
332 // x = def
336 if (VNI->def < SVI.SpillVNI->def) {
338 << PrintReg(Reg) << ':' << VNI->id << '@' << VNI->def
349 << ':' << VNI->id << '@' << VNI->def << '\n');
360 if (VNI->def == OrigVNI->def) {
362 << VNI->id << '@' << VNI->def << '\n');
368 MachineBasicBlock *MBB = LIS.getMBBFromIndex(VNI->def);
378 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def);
379 assert(MI && "Missing def");
385 VNInfo *SrcVNI = SrcLI.getVNInfoAt(VNI->def.getUseIndex());
388 << SrcVNI->id << '@' << SrcVNI->def << '\n');
398 << VNI->id << "@" << VNI->def << '\n');
403 // We have an 'original' def. Don't record trivial cases.
410 DEBUG(dbgs() << " def " << PrintReg(Reg) << ':'
411 << VNI->id << '@' << VNI->def << '\t' << *MI);
423 << SVI.SpillVNI->id << '@' << SVI.SpillVNI->def << '\n';
452 VNInfo *OrigVNI = OrigLI.getVNInfoAt(VNI->def);
453 assert(OrigVNI && "Def outside original live range");
454 if (OrigVNI->def != VNI->def)
458 DefMI = LIS.getInstructionFromIndex(VNI->def);
461 << VNI->def << " may remat from " << *DefMI);
472 assert(VNI && VNI->def == Idx.getDefIndex() && "Not defined by copy");
512 // We are going to spill SVI.SpillVNI immediately after its def, so clear out
516 MachineBasicBlock *MBB = LIS.getMBBFromIndex(SVI.SpillVNI->def);
521 MachineInstr *DefMI = LIS.getInstructionFromIndex(SVI.SpillVNI->def);
526 // Insert spill without kill flag immediately after def.
532 DEBUG(dbgs() << "\thoisted: " << SVI.SpillVNI->def << '\t' << *MII);
554 << VNI->id << '@' << VNI->def << " in " << *LI << '\n');
579 assert(DstVNI->def == Idx.getDefIndex() && "Wrong copy def slot");
614 MachineBasicBlock *MBB = LIS.getMBBFromIndex(VNI->def);
625 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def);
630 VNInfo *SnipVNI = SnipLI.getVNInfoAt(VNI->def.getUseIndex());
750 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def);
824 // We cannot fold a load instruction into a def.
919 // This is usually the def slot, except for tied early clobbers.
922 if (SlotIndex::isSameInstr(Idx, VNI->def))
923 Idx = VNI->def;