Lines Matching full:edit

368   Edit = &LRE;  in reset()
381 Edit->anyRematerializable(); in reset()
442 auto &PS = getSubRangeForMask(S.LaneMask, Edit->getParent()); in addDeadDef()
477 assert(Edit->getParent().getVNInfoAt(Idx) == ParentVNI && "Bad Parent VNI"); in defValue()
478 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx)); in defValue()
521 addDeadDef(LIS.getInterval(Edit->get(RegIdx)), VNI, false); in forceRecompute()
562 LiveInterval &DestLI = LIS.getInterval(Edit->get(RegIdx)); in buildCopy()
596 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx)); in defFromParent()
603 Register Original = VRM.getOriginal(Edit->get(RegIdx)); in defFromParent()
612 if (Edit->canRematerializeAt(RM, OrigVNI, UseIdx, true)) { in defFromParent()
613 Def = Edit->rematerializeAt(MBB, I, Reg, RM, TRI, Late); in defFromParent()
637 Def = buildCopy(Edit->getReg(), Reg, LaneMask, MBB, I, Late, RegIdx); in defFromParent()
648 if (Edit->empty()) in openIntv()
649 Edit->createEmptyInterval(); in openIntv()
652 OpenIdx = Edit->size(); in openIntv()
653 Edit->createEmptyInterval(); in openIntv()
659 assert(Idx < Edit->size() && "Can only select previously opened interval"); in selectIntv()
668 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Idx); in enterIntvBefore()
685 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Idx); in enterIntvAfter()
705 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Last); in enterIntvAtEnd()
719 ParentVNI = Edit->getParent().getVNInfoAt(Last); in enterIntvAtEnd()
753 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Boundary); in leaveIntvAfter()
767 MI->readsVirtualRegister(Edit->getReg())) { in leaveIntvAfter()
784 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Idx); in leaveIntvBefore()
803 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Start); in leaveIntvAtTop()
810 Register Reg = LIS.getInterval(Edit->get(RegIdx)).reg(); in leaveIntvAtTop()
826 const VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Start); in overlapIntv()
827 assert(ParentVNI == Edit->getParent().getVNInfoBefore(End) && in overlapIntv()
840 if (hasTiedUseOf(*MI, Edit->getReg())) { in overlapIntv()
855 LiveInterval *LI = &LIS.getInterval(Edit->get(0)); in removeBackCopies()
891 if (AtBegin || !MBBI->readsVirtualRegister(Edit->getReg()) || in removeBackCopies()
895 forceRecompute(RegIdx, *Edit->getParent().getVNInfoAt(Def)); in removeBackCopies()
962 LiveInterval *LI = &LIS.getInterval(Edit->get(0)); in computeRedundantBackCopies()
963 const LiveInterval *Parent = &Edit->getParent(); in computeRedundantBackCopies()
971 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(VNI->def); in computeRedundantBackCopies()
1015 LiveInterval *LI = &LIS.getInterval(Edit->get(0)); in hoistCopies()
1016 const LiveInterval *Parent = &Edit->getParent(); in hoistCopies()
1033 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(VNI->def); in hoistCopies()
1038 if (Edit->didRematerialize(ParentVNI)) in hoistCopies()
1117 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(VNI->def); in hoistCopies()
1139 for (const LiveRange::Segment &S : Edit->getParent()) { in transferValues()
1163 << printReg(Edit->get(RegIdx)) << ')'); in transferValues()
1164 LiveInterval &LI = LIS.getInterval(Edit->get(RegIdx)); in transferValues()
1263 const LiveInterval &PLI = Edit->getParent(); in extendPHIRange()
1280 const LiveInterval &ParentLI = Edit->getParent(); in extendPHIKillRanges()
1286 LiveInterval &LI = LIS.getInterval(Edit->get(RegIdx)); in extendPHIKillRanges()
1301 LiveInterval &LI = LIS.getInterval(Edit->get(RegIdx)); in extendPHIKillRanges()
1316 /// rewriteAssigned - Rewrite all uses of Edit->getReg().
1330 llvm::make_early_inc_range(MRI.reg_operands(Edit->getReg()))) { in rewriteAssigned()
1348 LiveInterval &LI = LIS.getInterval(Edit->get(RegIdx)); in rewriteAssigned()
1363 if (!Edit->getParent().liveAt(Idx.getPrevSlot())) in rewriteAssigned()
1405 LiveInterval &LI = LIS.getInterval(Edit->get(EP.RegIdx)); in rewriteAssigned()
1430 for (Register R : *Edit) { in rewriteAssigned()
1442 for (const Register &R : *Edit) { in deleteRematVictims()
1465 Edit->eliminateDeadDefs(Dead, std::nullopt); in deleteRematVictims()
1471 for (unsigned I = 0, E = Edit->size(); I != E; ++I) in forceRecomputeVNI()
1482 const LiveInterval &ParentLI = Edit->getParent(); in forceRecomputeVNI()
1487 for (unsigned I = 0, E = Edit->size(); I != E; ++I) in forceRecomputeVNI()
1506 // At this point, the live intervals in Edit contain VNInfos corresponding to in finish()
1510 for (const VNInfo *ParentVNI : Edit->getParent().valnos) { in finish()
1518 if (Edit->didRematerialize(ParentVNI)) in finish()
1549 for (Register Reg : *Edit) { in finish()
1555 // Provide a reverse mapping from original indices to Edit ranges. in finish()
1557 auto Seq = llvm::seq<unsigned>(0, Edit->size()); in finish()
1563 for (unsigned i = 0, e = Edit->size(); i != e; ++i) { in finish()
1565 Register VReg = Edit->get(i); in finish()
1575 LRMap->resize(Edit->size(), i); in finish()
1579 Edit->calculateRegClassAndHint(VRM.getMachineFunction(), VRAI); in finish()
1581 assert(!LRMap || LRMap->size() == Edit->size()); in finish()