Lines Matching refs:Edit

311     Edit(0),  in SplitEditor()
318 Edit = &LRE; in reset()
331 Edit->anyRematerializable(LIS, TII, 0); in reset()
350 assert(Edit->getParent().getVNInfoAt(Idx) == ParentVNI && "Bad Parent VNI"); in defValue()
351 LiveInterval *LI = Edit->get(RegIdx); in defValue()
396 Edit->get(RegIdx)->addRange(LiveRange(Def, Def.getNextSlot(), VNI)); in forceRecompute()
408 LiveInterval *LI = Edit->get(RegIdx); in defFromParent()
416 if (Edit->canRematerializeAt(RM, UseIdx, true, LIS)) { in defFromParent()
417 Def = Edit->rematerializeAt(MBB, I, LI->reg, RM, LIS, TII, TRI, Late); in defFromParent()
422 .addReg(Edit->getReg()); in defFromParent()
437 if (Edit->empty()) in openIntv()
438 Edit->create(LIS, VRM); in openIntv()
441 OpenIdx = Edit->size(); in openIntv()
442 Edit->create(LIS, VRM); in openIntv()
448 assert(Idx < Edit->size() && "Can only select previously opened interval"); in selectIntv()
457 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Idx); in enterIntvBefore()
474 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Idx); in enterIntvAfter()
493 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Last); in enterIntvAtEnd()
500 LIS.getLastSplitPoint(Edit->getParent(), &MBB)); in enterIntvAtEnd()
524 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Boundary); in leaveIntvAfter()
538 MI->readsVirtualRegister(Edit->getReg())) { in leaveIntvAfter()
555 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Idx); in leaveIntvBefore()
573 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Start); in leaveIntvAtTop()
588 const VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Start); in overlapIntv()
589 assert(ParentVNI == Edit->getParent().getVNInfoAt(End.getPrevSlot()) && in overlapIntv()
607 LiveInterval *LI = Edit->get(0); in removeBackCopies()
639 if (AtBegin || !MBBI->readsVirtualRegister(Edit->getReg())) { in removeBackCopies()
641 forceRecompute(RegIdx, Edit->getParent().getVNInfoAt(Def)); in removeBackCopies()
706 LiveInterval *LI = Edit->get(0); in hoistCopiesForSize()
707 LiveInterval *Parent = &Edit->getParent(); in hoistCopiesForSize()
719 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(VNI->def); in hoistCopiesForSize()
724 if (Edit->didRematerialize(ParentVNI)) in hoistCopiesForSize()
783 LIS.getLastSplitPoint(Edit->getParent(), Dom.first))->def; in hoistCopiesForSize()
792 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(VNI->def); in hoistCopiesForSize()
808 for (LiveInterval::const_iterator ParentI = Edit->getParent().begin(), in transferValues()
809 ParentE = Edit->getParent().end(); ParentI != ParentE; ++ParentI) { in transferValues()
833 LiveInterval *LI = Edit->get(RegIdx); in transferValues()
917 for (LiveInterval::const_vni_iterator I = Edit->getParent().vni_begin(), in extendPHIKillRanges()
918 E = Edit->getParent().vni_end(); I != E; ++I) { in extendPHIKillRanges()
923 LiveInterval *LI = Edit->get(RegIdx); in extendPHIKillRanges()
932 if (Edit->getParent().liveAt(LastUse)) { in extendPHIKillRanges()
944 for (MachineRegisterInfo::reg_iterator RI = MRI.reg_begin(Edit->getReg()), in rewriteAssigned()
965 LiveInterval *LI = Edit->get(RegIdx); in rewriteAssigned()
981 if (!Edit->getParent().liveAt(Idx)) in rewriteAssigned()
993 for (LiveRangeEdit::iterator I = Edit->begin(), E = Edit->end(); I != E; ++I){ in deleteRematVictims()
1015 Edit->eliminateDeadDefs(Dead, LIS, VRM, TII); in deleteRematVictims()
1025 for (LiveInterval::const_vni_iterator I = Edit->getParent().vni_begin(), in finish()
1026 E = Edit->getParent().vni_end(); I != E; ++I) { in finish()
1037 if (Edit->didRematerialize(ParentVNI)) in finish()
1038 for (unsigned i = 0, e = Edit->size(); i != e; ++i) in finish()
1070 for (LiveRangeEdit::iterator I = Edit->begin(), E = Edit->end(); I != E; ++I) in finish()
1076 for (unsigned i = 0, e = Edit->size(); i != e; ++i) in finish()
1082 for (unsigned i = 0, e = Edit->size(); i != e; ++i) { in finish()
1084 LiveInterval *li = Edit->get(i); in finish()
1092 dups.push_back(&Edit->create(LIS, VRM)); in finish()
1096 LRMap->resize(Edit->size(), i); in finish()
1100 Edit->calculateRegClassAndHint(VRM.getMachineFunction(), LIS, SA.Loops); in finish()
1102 assert(!LRMap || LRMap->size() == Edit->size()); in finish()