• Home
  • Raw
  • Download

Lines Matching refs:Edit

349       MBFI(mbfi), Edit(nullptr), OpenIdx(0), SpillMode(SM_Partition),  in SplitEditor()
353 Edit = &LRE; in reset()
368 Edit->anyRematerializable(nullptr); in reset()
389 assert(Edit->getParent().getVNInfoAt(Idx) == ParentVNI && "Bad Parent VNI"); in defValue()
390 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx)); in defValue()
435 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx)); in forceRecompute()
448 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx)); in defFromParent()
455 unsigned Original = VRM.getOriginal(Edit->get(RegIdx)); in defFromParent()
461 if (Edit->canRematerializeAt(RM, OrigVNI, UseIdx, true)) { in defFromParent()
462 Def = Edit->rematerializeAt(MBB, I, LI->reg, RM, TRI, Late); in defFromParent()
467 .addReg(Edit->getReg()); in defFromParent()
481 if (Edit->empty()) in openIntv()
482 Edit->createEmptyInterval(); in openIntv()
485 OpenIdx = Edit->size(); in openIntv()
486 Edit->createEmptyInterval(); in openIntv()
492 assert(Idx < Edit->size() && "Can only select previously opened interval"); in selectIntv()
501 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Idx); in enterIntvBefore()
518 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Idx); in enterIntvAfter()
537 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Last); in enterIntvAtEnd()
568 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Boundary); in leaveIntvAfter()
582 MI->readsVirtualRegister(Edit->getReg())) { in leaveIntvAfter()
599 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Idx); in leaveIntvBefore()
617 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Start); in leaveIntvAtTop()
632 const VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Start); in overlapIntv()
633 assert(ParentVNI == Edit->getParent().getVNInfoBefore(End) && in overlapIntv()
651 LiveInterval *LI = &LIS.getInterval(Edit->get(0)); in removeBackCopies()
681 if (AtBegin || !MBBI->readsVirtualRegister(Edit->getReg())) { in removeBackCopies()
683 forceRecompute(RegIdx, Edit->getParent().getVNInfoAt(Def)); in removeBackCopies()
748 LiveInterval *LI = &LIS.getInterval(Edit->get(0)); in computeRedundantBackCopies()
749 LiveInterval *Parent = &Edit->getParent(); in computeRedundantBackCopies()
757 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(VNI->def); in computeRedundantBackCopies()
803 LiveInterval *LI = &LIS.getInterval(Edit->get(0)); in hoistCopies()
804 LiveInterval *Parent = &Edit->getParent(); in hoistCopies()
821 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(VNI->def); in hoistCopies()
826 if (Edit->didRematerialize(ParentVNI)) in hoistCopies()
901 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(VNI->def); in hoistCopies()
924 for (const LiveRange::Segment &S : Edit->getParent()) { in transferValues()
948 LiveRange &LR = LIS.getInterval(Edit->get(RegIdx)); in transferValues()
1030 for (const VNInfo *PHIVNI : Edit->getParent().valnos) { in extendPHIKillRanges()
1034 LiveRange &LR = LIS.getInterval(Edit->get(RegIdx)); in extendPHIKillRanges()
1053 if (Edit->getParent().liveAt(LastUse)) { in extendPHIKillRanges()
1064 for (MachineRegisterInfo::reg_iterator RI = MRI.reg_begin(Edit->getReg()), in rewriteAssigned()
1085 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx)); in rewriteAssigned()
1101 if (!Edit->getParent().liveAt(Idx)) in rewriteAssigned()
1112 for (LiveRangeEdit::iterator I = Edit->begin(), E = Edit->end(); I != E; ++I){ in deleteRematVictims()
1135 Edit->eliminateDeadDefs(Dead, None, &AA); in deleteRematVictims()
1145 for (const VNInfo *ParentVNI : Edit->getParent().valnos) { in finish()
1153 if (Edit->didRematerialize(ParentVNI)) in finish()
1154 for (unsigned i = 0, e = Edit->size(); i != e; ++i) in finish()
1185 for (LiveRangeEdit::iterator I = Edit->begin(), E = Edit->end(); I != E; ++I) { in finish()
1193 for (unsigned i = 0, e = Edit->size(); i != e; ++i) in finish()
1199 for (unsigned i = 0, e = Edit->size(); i != e; ++i) { in finish()
1201 unsigned VReg = Edit->get(i); in finish()
1211 LRMap->resize(Edit->size(), i); in finish()
1215 Edit->calculateRegClassAndHint(VRM.getMachineFunction(), SA.Loops, MBFI); in finish()
1217 assert(!LRMap || LRMap->size() == Edit->size()); in finish()