Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:VNI

299         VNInfo *VNI = Intv->createDeadDef(Begin, getVNInfoAllocator());
300 (void)VNI;
301 DEBUG(dbgs() << ' ' << PrintRegUnit(Unit, TRI) << '#' << VNI->id);
335 VNInfo *VNI = LRQ.valueIn();
336 if (!VNI) {
350 WorkList.push_back(std::make_pair(Idx, VNI));
357 VNInfo *VNI = *I;
358 if (VNI->isUnused())
360 NewLI.addRange(LiveRange(VNI->def, VNI->def.getDeadSlot(), VNI));
369 VNInfo *VNI = WorkList.back().second;
374 // Extend the live range for VNI to be live at Idx.
377 assert(ExtVNI == VNI && "Unexpected existing value number");
379 if (!VNI->isPHIDef() || VNI->def != BlockStart || !UsedPHIs.insert(VNI))
394 // VNI is live-in to MBB.
396 NewLI.addRange(LiveRange(BlockStart, Idx, VNI));
398 // Make sure VNI is live-out from the predecessors.
404 assert(li->getVNInfoBefore(Stop) == VNI &&
406 WorkList.push_back(std::make_pair(Stop, VNI));
414 VNInfo *VNI = *I;
415 if (VNI->isUnused())
417 LiveInterval::iterator LII = NewLI.FindLiveRangeContaining(VNI->def);
419 if (LII->end != VNI->def.getDeadSlot())
421 if (VNI->isPHIDef()) {
423 VNI->markUnused();
425 DEBUG(dbgs() << "Dead PHI at " << VNI->def << " may separate interval\n");
429 MachineInstr *MI = getInstructionFromIndex(VNI->def);
433 DEBUG(dbgs() << "All defs dead: " << VNI->def << '\t' << *MI);
456 VNInfo *VNI = LRQ.valueOut();
457 if (!VNI)
464 // If VNI isn't live out from KillMBB, the value is trivially pruned.
471 // VNI is live out of KillMBB.
475 // Find all blocks that are reachable from KillMBB without leaving VNI's live
488 // Check if VNI is live in to MBB.
491 if (LRQ.valueIn() != VNI) {
492 // This block isn't part of the VNI live range. Prune the search.
497 // Prune the search if VNI is killed in MBB.
505 // VNI is live through MBB.
604 LiveIntervals::hasPHIKill(const LiveInterval &LI, const VNInfo *VNI) const {
616 if (VNI == LI.getVNInfoBefore(Indexes->getMBBEndIdx(*PI)))
1144 VNInfo *VNI = LI.getNextValue(instrIdx.getRegSlot(),
1146 LiveRange LR(instrIdx.getRegSlot(), instrIdx.getDeadSlot(), VNI);
1149 VNInfo *VNI = LI.getNextValue(instrIdx.getRegSlot(),
1151 LiveRange LR(instrIdx.getRegSlot(), lastUseIdx, VNI);