Lines Matching refs:Edit
336 Edit(0),
343 Edit = &LRE;
358 Edit->anyRematerializable(0);
379 assert(Edit->getParent().getVNInfoAt(Idx) == ParentVNI && "Bad Parent VNI");
380 LiveInterval *LI = Edit->get(RegIdx);
425 Edit->get(RegIdx)->addRange(LiveRange(Def, Def.getDeadSlot(), VNI));
437 LiveInterval *LI = Edit->get(RegIdx);
445 if (Edit->canRematerializeAt(RM, UseIdx, true)) {
446 Def = Edit->rematerializeAt(MBB, I, LI->reg, RM, TRI, Late);
451 .addReg(Edit->getReg());
464 if (Edit->empty())
465 Edit->create();
468 OpenIdx = Edit->size();
469 Edit->create();
475 assert(Idx < Edit->size() && "Can only select previously opened interval");
484 Edit->getParent().getVNInfoAt(Idx);
501 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Idx);
520 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Last);
551 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Boundary);
565 MI->readsVirtualRegister(Edit->getReg())) {
582 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Idx);
600 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Start);
615 const VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(Start);
616 assert(ParentVNI == Edit->getParent().getVNInfoBefore(End) &&
634 LiveInterval *LI = Edit->get(0);
666 if (AtBegin || !MBBI->readsVirtualRegister(Edit->getReg())) {
668 forceRecompute(RegIdx, Edit->getParent().getVNInfoAt(Def));
733 LiveInterval *LI = Edit->get(0);
734 LiveInterval *Parent = &Edit->getParent();
748 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(VNI->def);
753 if (Edit->didRematerialize(ParentVNI))
823 VNInfo *ParentVNI = Edit->getParent().getVNInfoAt(VNI->def);
839 for (LiveInterval::const_iterator ParentI = Edit->getParent().begin(),
840 ParentE = Edit->getParent().end(); ParentI != ParentE; ++ParentI) {
864 LiveInterval *LI = Edit->get(RegIdx);
946 for (LiveInterval::const_vni_iterator I = Edit->getParent().vni_begin(),
947 E = Edit->getParent().vni_end(); I != E; ++I) {
952 LiveInterval *LI = Edit->get(RegIdx);
961 if (Edit->getParent().liveAt(LastUse)) {
970 /// rewriteAssigned - Rewrite all uses of Edit->getReg().
972 for (MachineRegisterInfo::reg_iterator RI = MRI.reg_begin(Edit->getReg()),
993 LiveInterval *LI = Edit->get(RegIdx);
1009 if (!Edit->getParent().liveAt(Idx))
1020 for (LiveRangeEdit::iterator I = Edit->begin(), E = Edit->end(); I != E; ++I){
1042 Edit->eliminateDeadDefs(Dead);
1048 // At this point, the live intervals in Edit contain VNInfos corresponding to
1052 for (LiveInterval::const_vni_iterator I = Edit->getParent().vni_begin(),
1053 E = Edit->getParent().vni_end(); I != E; ++I) {
1062 if (Edit->didRematerialize(ParentVNI))
1063 for (unsigned i = 0, e = Edit->size(); i != e; ++i)
1094 for (LiveRangeEdit::iterator I = Edit->begin(), E = Edit->end(); I != E; ++I)
1097 // Provide a reverse mapping from original indices to Edit ranges.
1100 for (unsigned i = 0, e = Edit->size(); i != e; ++i)
1106 for (unsigned i = 0, e = Edit->size(); i != e; ++i) {
1108 LiveInterval *li = Edit->get(i);
1116 dups.push_back(&Edit->create());
1120 LRMap->resize(Edit->size(), i);
1124 Edit->calculateRegClassAndHint(VRM.getMachineFunction(), SA.Loops, MBFI);
1126 assert(!LRMap || LRMap->size() == Edit->size());