Lines Matching full:segments
9 // LiveIntervalUnion is a union of live segments across multiple live virtual
43 // A set of live virtual register segments that supports fast insertion,
62 LiveSegments Segments; // union of virtual reg segments
65 explicit LiveIntervalUnion(Allocator &a) : Segments(a) {}
67 // Iterate over all segments in the union of live virtual registers ordered
69 SegmentIter begin() { return Segments.begin(); }
70 SegmentIter end() { return Segments.end(); }
71 SegmentIter find(SlotIndex x) { return Segments.find(x); }
72 ConstSegmentIter begin() const { return Segments.begin(); }
73 ConstSegmentIter end() const { return Segments.end(); }
74 ConstSegmentIter find(SlotIndex x) const { return Segments.find(x); }
76 bool empty() const { return Segments.empty(); }
77 SlotIndex startIndex() const { return Segments.start(); }
78 SlotIndex endIndex() const { return Segments.stop(); }
82 const Map &getMap() const { return Segments; }
90 // Add a live virtual register to this union and merge its segments.
93 // Remove a live virtual register's segments from this union.
97 void clear() { Segments.clear(); ++Tag; }