• Home
  • Raw
  • Download

Lines Matching refs:VNI

354   VNInfo *VNI = LI->getNextValue(Idx, 0, LIS.getVNInfoAllocator());  in defValue()  local
359 ValueForcePair(VNI, false))); in defValue()
364 return VNI; in defValue()
375 SlotIndex Def = VNI->def; in defValue()
376 LI->addRange(LiveRange(Def, Def.getNextSlot(), VNI)); in defValue()
378 return VNI; in defValue()
384 VNInfo *VNI = VFP.getPointer(); in forceRecompute() local
388 if (!VNI) { in forceRecompute()
395 SlotIndex Def = VNI->def; in forceRecompute()
396 Edit->get(RegIdx)->addRange(LiveRange(Def, Def.getNextSlot(), VNI)); in forceRecompute()
429 VNInfo *VNI = defValue(RegIdx, ParentVNI, Def); in defFromParent() local
430 VNI->setCopy(CopyMI); in defFromParent()
431 return VNI; in defFromParent()
466 VNInfo *VNI = defFromParent(OpenIdx, ParentVNI, Idx, *MI->getParent(), MI); in enterIntvBefore() local
467 return VNI->def; in enterIntvBefore()
483 VNInfo *VNI = defFromParent(OpenIdx, ParentVNI, Idx, *MI->getParent(), in enterIntvAfter() local
485 return VNI->def; in enterIntvAfter()
499 VNInfo *VNI = defFromParent(OpenIdx, ParentVNI, Last, MBB, in enterIntvAtEnd() local
501 RegAssign.insert(VNI->def, End, OpenIdx); in enterIntvAtEnd()
503 return VNI->def; in enterIntvAtEnd()
544 VNInfo *VNI = defFromParent(0, ParentVNI, Boundary, *MI->getParent(), in leaveIntvAfter() local
546 return VNI->def; in leaveIntvAfter()
564 VNInfo *VNI = defFromParent(0, ParentVNI, Idx, *MI->getParent(), MI); in leaveIntvBefore() local
565 return VNI->def; in leaveIntvBefore()
579 VNInfo *VNI = defFromParent(0, ParentVNI, Start, MBB, in leaveIntvAtTop() local
581 RegAssign.insert(Start, VNI->def, OpenIdx); in leaveIntvAtTop()
583 return VNI->def; in leaveIntvAtTop()
613 VNInfo *VNI = Copies[i]; in removeBackCopies() local
614 SlotIndex Def = VNI->def; in removeBackCopies()
625 LI->removeValNo(VNI); in removeBackCopies()
632 AssignI.find(VNI->def.getPrevSlot()); in removeBackCopies()
718 VNInfo *VNI = *VI; in hoistCopiesForSize() local
719 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(VNI->def); in hoistCopiesForSize()
727 MachineBasicBlock *ValMBB = LIS.getMBBFromIndex(VNI->def); in hoistCopiesForSize()
733 if (VNI->def == ParentVNI->def) { in hoistCopiesForSize()
734 DEBUG(dbgs() << "Direct complement def at " << VNI->def << '\n'); in hoistCopiesForSize()
735 Dom = DomPair(ValMBB, VNI->def); in hoistCopiesForSize()
741 DEBUG(dbgs() << "Single complement def at " << VNI->def << '\n'); in hoistCopiesForSize()
747 Dom = DomPair(ValMBB, VNI->def); in hoistCopiesForSize()
750 if (!Dom.second.isValid() || VNI->def < Dom.second) in hoistCopiesForSize()
751 Dom.second = VNI->def; in hoistCopiesForSize()
758 Dom = DomPair(ValMBB, VNI->def); in hoistCopiesForSize()
764 DEBUG(dbgs() << "Multi-mapped complement " << VNI->id << '@' << VNI->def in hoistCopiesForSize()
791 VNInfo *VNI = *VI; in hoistCopiesForSize() local
792 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(VNI->def); in hoistCopiesForSize()
794 if (!Dom.first || Dom.second == VNI->def) in hoistCopiesForSize()
796 BackCopies.push_back(VNI); in hoistCopiesForSize()
837 if (VNInfo *VNI = VFP.getPointer()) { in transferValues() local
838 DEBUG(dbgs() << ':' << VNI->id); in transferValues()
839 LI->addRange(LiveRange(Start, End, VNI)); in transferValues()
863 VNInfo *VNI = LI->extendInBlock(BlockStart, std::min(BlockEnd, End)); in transferValues() local
864 assert(VNI && "Missing def for complex mapped value"); in transferValues()
865 DEBUG(dbgs() << ':' << VNI->id << "*BB#" << MBB->getNumber()); in transferValues()
868 LRC.setLiveOutValue(MBB, VNI); in transferValues()
883 VNInfo *VNI = LI->extendInBlock(BlockStart, std::min(BlockEnd, End)); in transferValues() local
884 assert(VNI && "Missing def for complex mapped parent PHI"); in transferValues()
886 LRC.setLiveOutValue(MBB, VNI); // Live-out as well. in transferValues()
1031 VNInfo *VNI = defValue(RegIdx, ParentVNI, ParentVNI->def); in finish() local
1032 VNI->setIsPHIDef(ParentVNI->isPHIDef()); in finish()
1033 VNI->setCopy(ParentVNI->getCopy()); in finish()