Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Segments

10 // LiveIntervalUnion is a union of live segments across multiple live virtual
44 // A set of live virtual register segments that supports fast insertion,
63 LiveSegments Segments; // union of virtual reg segments
66 explicit LiveIntervalUnion(Allocator &a) : Segments(a) {}
68 // Iterate over all segments in the union of live virtual registers ordered
70 SegmentIter begin() { return Segments.begin(); }
71 SegmentIter end() { return Segments.end(); }
72 SegmentIter find(SlotIndex x) { return Segments.find(x); }
73 ConstSegmentIter begin() const { return Segments.begin(); }
74 ConstSegmentIter end() const { return Segments.end(); }
75 ConstSegmentIter find(SlotIndex x) const { return Segments.find(x); }
77 bool empty() const { return Segments.empty(); }
78 SlotIndex startIndex() const { return Segments.start(); }
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; }