Lines Matching refs:Edit

327       MBFI(mbfi), Edit(nullptr), OpenIdx(0), SpillMode(SM_Partition),  in SplitEditor()
331 Edit = &LRE; in reset()
346 Edit->anyRematerializable(nullptr); in reset()
367 assert(Edit->getParent().getVNInfoAt(Idx) == ParentVNI && "Bad Parent VNI"); in defValue()
368 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx)); in defValue()
413 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx)); in forceRecompute()
426 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx)); in defFromParent()
434 if (Edit->canRematerializeAt(RM, UseIdx, true)) { in defFromParent()
435 Def = Edit->rematerializeAt(MBB, I, LI->reg, RM, TRI, Late); in defFromParent()
440 .addReg(Edit->getReg()); in defFromParent()
453 if (Edit->empty()) in openIntv()
454 Edit->createEmptyInterval(); in openIntv()
457 OpenIdx = Edit->size(); in openIntv()
458 Edit->createEmptyInterval(); in openIntv()
464 assert(Idx < Edit->size() && "Can only select previously opened interval"); in selectIntv()
473 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Idx); in enterIntvBefore()
490 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Idx); in enterIntvAfter()
509 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Last); in enterIntvAtEnd()
540 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Boundary); in leaveIntvAfter()
554 MI->readsVirtualRegister(Edit->getReg())) { in leaveIntvAfter()
571 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Idx); in leaveIntvBefore()
589 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Start); in leaveIntvAtTop()
604 const VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Start); in overlapIntv()
605 assert(ParentVNI == Edit->getParent().getVNInfoBefore(End) && in overlapIntv()
623 LiveInterval *LI = &LIS.getInterval(Edit->get(0)); in removeBackCopies()
653 if (AtBegin || !MBBI->readsVirtualRegister(Edit->getReg())) { in removeBackCopies()
655 forceRecompute(RegIdx, Edit->getParent().getVNInfoAt(Def)); in removeBackCopies()
720 LiveInterval *LI = &LIS.getInterval(Edit->get(0)); in hoistCopiesForSize()
721 LiveInterval *Parent = &Edit->getParent(); in hoistCopiesForSize()
733 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(VNI->def); in hoistCopiesForSize()
738 if (Edit->didRematerialize(ParentVNI)) in hoistCopiesForSize()
806 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(VNI->def); in hoistCopiesForSize()
822 for (const LiveRange::Segment &S : Edit->getParent()) { in transferValues()
846 LiveRange &LR = LIS.getInterval(Edit->get(RegIdx)); in transferValues()
928 for (const VNInfo *PHIVNI : Edit->getParent().valnos) { in extendPHIKillRanges()
932 LiveRange &LR = LIS.getInterval(Edit->get(RegIdx)); in extendPHIKillRanges()
941 if (Edit->getParent().liveAt(LastUse)) { in extendPHIKillRanges()
952 for (MachineRegisterInfo::reg_iterator RI = MRI.reg_begin(Edit->getReg()), in rewriteAssigned()
973 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx)); in rewriteAssigned()
989 if (!Edit->getParent().liveAt(Idx)) in rewriteAssigned()
1000 for (LiveRangeEdit::iterator I = Edit->begin(), E = Edit->end(); I != E; ++I){ in deleteRematVictims()
1021 Edit->eliminateDeadDefs(Dead); in deleteRematVictims()
1031 for (const VNInfo *ParentVNI : Edit->getParent().valnos) { in finish()
1039 if (Edit->didRematerialize(ParentVNI)) in finish()
1040 for (unsigned i = 0, e = Edit->size(); i != e; ++i) in finish()
1071 for (LiveRangeEdit::iterator I = Edit->begin(), E = Edit->end(); I != E; ++I) { in finish()
1079 for (unsigned i = 0, e = Edit->size(); i != e; ++i) in finish()
1085 for (unsigned i = 0, e = Edit->size(); i != e; ++i) { in finish()
1087 unsigned VReg = Edit->get(i); in finish()
1097 LRMap->resize(Edit->size(), i); in finish()
1101 Edit->calculateRegClassAndHint(VRM.getMachineFunction(), SA.Loops, MBFI); in finish()
1103 assert(!LRMap || LRMap->size() == Edit->size()); in finish()