• Home
  • Raw
  • Download

Lines Matching refs:VNI

94   const VNInfo *VNI = CurLI->getVNInfoBefore(MBBEnd);  in computeLastSplitPoint()  local
95 if (!VNI) in computeLastSplitPoint()
102 if (!SlotIndex::isEarlierInstr(VNI->def, LSP.second) && VNI->def < MBBEnd) in computeLastSplitPoint()
124 for (const VNInfo *VNI : CurLI->valnos) in analyzeUses() local
125 if (!VNI->isPHIDef() && !VNI->isUnused()) in analyzeUses()
126 UseSlots.push_back(VNI->def); in analyzeUses()
371 VNInfo *VNI = LI->getNextValue(Idx, LIS.getVNInfoAllocator()); in defValue() local
376 ValueForcePair(VNI, false))); in defValue()
381 return VNI; in defValue()
392 SlotIndex Def = VNI->def; in defValue()
393 LI->addSegment(LiveInterval::Segment(Def, Def.getDeadSlot(), VNI)); in defValue()
395 return VNI; in defValue()
401 VNInfo *VNI = VFP.getPointer(); in forceRecompute() local
405 if (!VNI) { in forceRecompute()
412 SlotIndex Def = VNI->def; in forceRecompute()
414 LI->addSegment(LiveInterval::Segment(Def, Def.getDeadSlot(), VNI)); in forceRecompute()
482 VNInfo *VNI = defFromParent(OpenIdx, ParentVNI, Idx, *MI->getParent(), MI); in enterIntvBefore() local
483 return VNI->def; in enterIntvBefore()
499 VNInfo *VNI = defFromParent(OpenIdx, ParentVNI, Idx, *MI->getParent(), in enterIntvAfter() local
501 return VNI->def; in enterIntvAfter()
515 VNInfo *VNI = defFromParent(OpenIdx, ParentVNI, Last, MBB, in enterIntvAtEnd() local
517 RegAssign.insert(VNI->def, End, OpenIdx); in enterIntvAtEnd()
519 return VNI->def; in enterIntvAtEnd()
560 VNInfo *VNI = defFromParent(0, ParentVNI, Boundary, *MI->getParent(), in leaveIntvAfter() local
562 return VNI->def; in leaveIntvAfter()
580 VNInfo *VNI = defFromParent(0, ParentVNI, Idx, *MI->getParent(), MI); in leaveIntvBefore() local
581 return VNI->def; in leaveIntvBefore()
595 VNInfo *VNI = defFromParent(0, ParentVNI, Start, MBB, in leaveIntvAtTop() local
597 RegAssign.insert(Start, VNI->def, OpenIdx); in leaveIntvAtTop()
599 return VNI->def; in leaveIntvAtTop()
730 for (VNInfo *VNI : LI->valnos) { in hoistCopiesForSize()
731 if (VNI->isUnused()) in hoistCopiesForSize()
733 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(VNI->def); in hoistCopiesForSize()
741 MachineBasicBlock *ValMBB = LIS.getMBBFromIndex(VNI->def); in hoistCopiesForSize()
747 if (VNI->def == ParentVNI->def) { in hoistCopiesForSize()
748 DEBUG(dbgs() << "Direct complement def at " << VNI->def << '\n'); in hoistCopiesForSize()
749 Dom = DomPair(ValMBB, VNI->def); in hoistCopiesForSize()
755 DEBUG(dbgs() << "Single complement def at " << VNI->def << '\n'); in hoistCopiesForSize()
761 Dom = DomPair(ValMBB, VNI->def); in hoistCopiesForSize()
764 if (!Dom.second.isValid() || VNI->def < Dom.second) in hoistCopiesForSize()
765 Dom.second = VNI->def; in hoistCopiesForSize()
772 Dom = DomPair(ValMBB, VNI->def); in hoistCopiesForSize()
778 DEBUG(dbgs() << "Multi-mapped complement " << VNI->id << '@' << VNI->def in hoistCopiesForSize()
803 for (VNInfo *VNI : LI->valnos) { in hoistCopiesForSize()
804 if (VNI->isUnused()) in hoistCopiesForSize()
806 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(VNI->def); in hoistCopiesForSize()
808 if (!Dom.first || Dom.second == VNI->def) in hoistCopiesForSize()
810 BackCopies.push_back(VNI); in hoistCopiesForSize()
850 if (VNInfo *VNI = VFP.getPointer()) { in transferValues() local
851 DEBUG(dbgs() << ':' << VNI->id); in transferValues()
852 LR.addSegment(LiveInterval::Segment(Start, End, VNI)); in transferValues()
876 VNInfo *VNI = LR.extendInBlock(BlockStart, std::min(BlockEnd, End)); in transferValues() local
877 assert(VNI && "Missing def for complex mapped value"); in transferValues()
878 DEBUG(dbgs() << ':' << VNI->id << "*BB#" << MBB->getNumber()); in transferValues()
881 LRC.setLiveOutValue(&*MBB, VNI); in transferValues()
896 VNInfo *VNI = LR.extendInBlock(BlockStart, std::min(BlockEnd, End)); in transferValues() local
897 assert(VNI && "Missing def for complex mapped parent PHI"); in transferValues()
899 LRC.setLiveOutValue(&*MBB, VNI); // Live-out as well. in transferValues()