Lines Matching refs:Edit
371 Edit = &LRE; in reset()
386 Edit->anyRematerializable(nullptr); in reset()
430 auto &PS = getSubRangeForMask(S.LaneMask, Edit->getParent()); in addDeadDef()
465 assert(Edit->getParent().getVNInfoAt(Idx) == ParentVNI && "Bad Parent VNI"); in defValue()
466 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx)); in defValue()
509 addDeadDef(LIS.getInterval(Edit->get(RegIdx)), VNI, false); in forceRecompute()
556 LiveInterval &DestLI = LIS.getInterval(Edit->get(RegIdx)); in buildCopy()
636 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx)); in defFromParent()
643 unsigned Original = VRM.getOriginal(Edit->get(RegIdx)); in defFromParent()
652 if (Edit->canRematerializeAt(RM, OrigVNI, UseIdx, true)) { in defFromParent()
653 Def = Edit->rematerializeAt(MBB, I, Reg, RM, TRI, Late); in defFromParent()
677 Def = buildCopy(Edit->getReg(), Reg, LaneMask, MBB, I, Late, RegIdx); in defFromParent()
688 if (Edit->empty()) in openIntv()
689 Edit->createEmptyInterval(); in openIntv()
692 OpenIdx = Edit->size(); in openIntv()
693 Edit->createEmptyInterval(); in openIntv()
699 assert(Idx < Edit->size() && "Can only select previously opened interval"); in selectIntv()
708 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Idx); in enterIntvBefore()
725 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Idx); in enterIntvAfter()
745 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Last); in enterIntvAtEnd()
776 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Boundary); in leaveIntvAfter()
790 MI->readsVirtualRegister(Edit->getReg())) { in leaveIntvAfter()
807 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Idx); in leaveIntvBefore()
826 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Start); in leaveIntvAtTop()
841 const VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Start); in overlapIntv()
842 assert(ParentVNI == Edit->getParent().getVNInfoBefore(End) && in overlapIntv()
860 LiveInterval *LI = &LIS.getInterval(Edit->get(0)); in removeBackCopies()
890 if (AtBegin || !MBBI->readsVirtualRegister(Edit->getReg())) { in removeBackCopies()
893 forceRecompute(RegIdx, *Edit->getParent().getVNInfoAt(Def)); in removeBackCopies()
961 LiveInterval *LI = &LIS.getInterval(Edit->get(0)); in computeRedundantBackCopies()
962 LiveInterval *Parent = &Edit->getParent(); in computeRedundantBackCopies()
970 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(VNI->def); in computeRedundantBackCopies()
1016 LiveInterval *LI = &LIS.getInterval(Edit->get(0)); in hoistCopies()
1017 LiveInterval *Parent = &Edit->getParent(); in hoistCopies()
1034 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(VNI->def); in hoistCopies()
1039 if (Edit->didRematerialize(ParentVNI)) in hoistCopies()
1115 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(VNI->def); in hoistCopies()
1137 for (const LiveRange::Segment &S : Edit->getParent()) { in transferValues()
1161 << printReg(Edit->get(RegIdx)) << ')'); in transferValues()
1162 LiveInterval &LI = LIS.getInterval(Edit->get(RegIdx)); in transferValues()
1261 LiveInterval &PLI = Edit->getParent(); in extendPHIRange()
1278 LiveInterval &ParentLI = Edit->getParent(); in extendPHIKillRanges()
1284 LiveInterval &LI = LIS.getInterval(Edit->get(RegIdx)); in extendPHIKillRanges()
1299 LiveInterval &LI = LIS.getInterval(Edit->get(RegIdx)); in extendPHIKillRanges()
1327 for (MachineRegisterInfo::reg_iterator RI = MRI.reg_begin(Edit->getReg()), in rewriteAssigned()
1348 LiveInterval &LI = LIS.getInterval(Edit->get(RegIdx)); in rewriteAssigned()
1364 if (!Edit->getParent().liveAt(Idx)) in rewriteAssigned()
1384 LiveInterval &LI = LIS.getInterval(Edit->get(EP.RegIdx)); in rewriteAssigned()
1409 for (Register R : *Edit) { in rewriteAssigned()
1421 for (LiveRangeEdit::iterator I = Edit->begin(), E = Edit->end(); I != E; ++I){ in deleteRematVictims()
1444 Edit->eliminateDeadDefs(Dead, None, &AA); in deleteRematVictims()
1450 for (unsigned I = 0, E = Edit->size(); I != E; ++I) in forceRecomputeVNI()
1461 const LiveInterval &ParentLI = Edit->getParent(); in forceRecomputeVNI()
1466 for (unsigned I = 0, E = Edit->size(); I != E; ++I) in forceRecomputeVNI()
1489 for (const VNInfo *ParentVNI : Edit->getParent().valnos) { in finish()
1497 if (Edit->didRematerialize(ParentVNI)) in finish()
1528 for (Register Reg : *Edit) { in finish()
1537 for (unsigned i = 0, e = Edit->size(); i != e; ++i) in finish()
1543 for (unsigned i = 0, e = Edit->size(); i != e; ++i) { in finish()
1545 Register VReg = Edit->get(i); in finish()
1555 LRMap->resize(Edit->size(), i); in finish()
1559 Edit->calculateRegClassAndHint(VRM.getMachineFunction(), SA.Loops, MBFI); in finish()
1561 assert(!LRMap || LRMap->size() == Edit->size()); in finish()