• Home
  • Raw
  • Download

Lines Matching refs:ParentVNI

373                               const VNInfo *ParentVNI,  in defValue()  argument
375 assert(ParentVNI && "Mapping NULL value"); in defValue()
377 assert(Edit->getParent().getVNInfoAt(Idx) == ParentVNI && "Bad Parent VNI"); in defValue()
385 Values.insert(std::make_pair(std::make_pair(RegIdx, ParentVNI->id), in defValue()
408 void SplitEditor::forceRecompute(unsigned RegIdx, const VNInfo *ParentVNI) { in forceRecompute() argument
409 assert(ParentVNI && "Mapping NULL value"); in forceRecompute()
410 ValueForcePair &VFP = Values[std::make_pair(RegIdx, ParentVNI->id)]; in forceRecompute()
429 VNInfo *ParentVNI, in defFromParent() argument
442 LiveRangeEdit::Remat RM(ParentVNI); in defFromParent()
456 return defValue(RegIdx, ParentVNI, Def); in defFromParent()
482 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Idx); in enterIntvBefore() local
483 if (!ParentVNI) { in enterIntvBefore()
487 DEBUG(dbgs() << ": valno " << ParentVNI->id << '\n'); in enterIntvBefore()
491 VNInfo *VNI = defFromParent(OpenIdx, ParentVNI, Idx, *MI->getParent(), MI); in enterIntvBefore()
499 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Idx); in enterIntvAfter() local
500 if (!ParentVNI) { in enterIntvAfter()
504 DEBUG(dbgs() << ": valno " << ParentVNI->id << '\n'); in enterIntvAfter()
508 VNInfo *VNI = defFromParent(OpenIdx, ParentVNI, Idx, *MI->getParent(), in enterIntvAfter()
518 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Last); in enterIntvAtEnd() local
519 if (!ParentVNI) { in enterIntvAtEnd()
523 DEBUG(dbgs() << ": valno " << ParentVNI->id); in enterIntvAtEnd()
524 VNInfo *VNI = defFromParent(OpenIdx, ParentVNI, Last, MBB, in enterIntvAtEnd()
549 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Boundary); in leaveIntvAfter() local
550 if (!ParentVNI) { in leaveIntvAfter()
554 DEBUG(dbgs() << ": valno " << ParentVNI->id << '\n'); in leaveIntvAfter()
562 if (SpillMode && !SlotIndex::isSameInstr(ParentVNI->def, Idx) && in leaveIntvAfter()
564 forceRecompute(0, ParentVNI); in leaveIntvAfter()
565 defFromParent(0, ParentVNI, Idx, *MI->getParent(), MI); in leaveIntvAfter()
569 VNInfo *VNI = defFromParent(0, ParentVNI, Boundary, *MI->getParent(), in leaveIntvAfter()
580 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Idx); in leaveIntvBefore() local
581 if (!ParentVNI) { in leaveIntvBefore()
585 DEBUG(dbgs() << ": valno " << ParentVNI->id << '\n'); in leaveIntvBefore()
589 VNInfo *VNI = defFromParent(0, ParentVNI, Idx, *MI->getParent(), MI); in leaveIntvBefore()
598 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Start); in leaveIntvAtTop() local
599 if (!ParentVNI) { in leaveIntvAtTop()
604 VNInfo *VNI = defFromParent(0, ParentVNI, Start, MBB, in leaveIntvAtTop()
613 const VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Start); in overlapIntv() local
614 assert(ParentVNI == Edit->getParent().getVNInfoBefore(End) && in overlapIntv()
620 if (ParentVNI) in overlapIntv()
621 forceRecompute(0, ParentVNI); in overlapIntv()
746 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(VNI->def); in hoistCopiesForSize() local
747 assert(ParentVNI && "Parent not live at complement def"); in hoistCopiesForSize()
751 if (Edit->didRematerialize(ParentVNI)) in hoistCopiesForSize()
755 DomPair &Dom = NearestDom[ParentVNI->id]; in hoistCopiesForSize()
760 if (VNI->def == ParentVNI->def) { in hoistCopiesForSize()
767 if (Values.lookup(std::make_pair(0, ParentVNI->id)).getPointer()) { in hoistCopiesForSize()
792 << " for parent " << ParentVNI->id << '@' << ParentVNI->def in hoistCopiesForSize()
803 VNInfo *ParentVNI = Parent->getValNumInfo(i); in hoistCopiesForSize() local
804 MachineBasicBlock *DefMBB = LIS.getMBBFromIndex(ParentVNI->def); in hoistCopiesForSize()
809 defFromParent(0, ParentVNI, Last, *Dom.first, in hoistCopiesForSize()
821 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(VNI->def); in hoistCopiesForSize() local
822 const DomPair &Dom = NearestDom[ParentVNI->id]; in hoistCopiesForSize()
826 forceRecompute(0, ParentVNI); in hoistCopiesForSize()
840 VNInfo *ParentVNI = ParentI->valno; in transferValues() local
865 ValueForcePair VFP = Values.lookup(std::make_pair(RegIdx, ParentVNI->id)); in transferValues()
909 if (BlockStart == ParentVNI->def) { in transferValues()
911 assert(ParentVNI->isPHIDef() && "Non-phi defined at block start?"); in transferValues()
1052 const VNInfo *ParentVNI = *I; in finish() local
1053 if (ParentVNI->isUnused()) in finish()
1055 unsigned RegIdx = RegAssign.lookup(ParentVNI->def); in finish()
1056 defValue(RegIdx, ParentVNI, ParentVNI->def); in finish()
1060 if (Edit->didRematerialize(ParentVNI)) in finish()
1062 forceRecompute(i, ParentVNI); in finish()