Lines Matching refs:VirtReg
28 void LiveIntervalUnion::unify(LiveInterval &VirtReg) { in unify() argument
29 if (VirtReg.empty()) in unify()
34 LiveInterval::iterator RegPos = VirtReg.begin(); in unify()
35 LiveInterval::iterator RegEnd = VirtReg.end(); in unify()
39 SegPos.insert(RegPos->start, RegPos->end, &VirtReg); in unify()
49 SegPos.insert(RegEnd->start, RegEnd->end, &VirtReg); in unify()
51 SegPos.insert(RegPos->start, RegPos->end, &VirtReg); in unify()
55 void LiveIntervalUnion::extract(LiveInterval &VirtReg) { in extract() argument
56 if (VirtReg.empty()) in extract()
61 LiveInterval::iterator RegPos = VirtReg.begin(); in extract()
62 LiveInterval::iterator RegEnd = VirtReg.end(); in extract()
66 assert(SegPos.value() == &VirtReg && "Inconsistent LiveInterval"); in extract()
72 RegPos = VirtReg.advanceTo(RegPos, SegPos.start()); in extract()
104 bool LiveIntervalUnion::Query::isSeenInterference(LiveInterval *VirtReg) const { in isSeenInterference()
106 std::find(InterferingVRegs.begin(), InterferingVRegs.end(), VirtReg); in isSeenInterference()
130 if (VirtReg->empty() || LiveUnion->empty()) { in collectInterferingVRegs()
136 VirtRegI = VirtReg->begin(); in collectInterferingVRegs()
141 LiveInterval::iterator VirtRegEnd = VirtReg->end(); in collectInterferingVRegs()
169 VirtRegI = VirtReg->advanceTo(VirtRegI, LiveUnionI.start()); in collectInterferingVRegs()
193 LiveInterval::iterator VRI = VirtReg->find(Overlaps.start()); in checkLoopInterference()
196 if (VRI == VirtReg->end()) in checkLoopInterference()
207 VRI = VirtReg->advanceTo(VRI, Overlaps.start()); in checkLoopInterference()