Lines Matching refs:Spills
1104 // - When LastStart is invalid, Spills is empty and the iterators are invalid.
1112 // 3. Spills.
1117 // - Segments in Spills precede and can't coalesce with segments in area 2.
1118 // - No coalescing is possible between segments in Spills and segments in area
1121 // The segments in Spills are not ordered with respect to the segments in area
1124 // When they exist, Spills.back().start <= LastStart,
1142 OS << "\n Spills:";
1143 for (unsigned I = 0, E = Spills.size(); I != E; ++I)
1144 OS << ' ' << Spills[I];
1183 assert(Spills.empty() && "Leftover spilled segments");
1223 // Try coalescing Spills.back() into Seg.
1224 if (!Spills.empty() && coalescable(Spills.back(), Seg)) {
1225 Seg.start = Spills.back().start;
1226 Seg.end = std::max(Spills.back().end, Seg.end);
1227 Spills.pop_back();
1242 // Finally, append to LR or Spills.
1247 Spills.push_back(Seg);
1253 // Perform a backwards merge of Spills and [SpillI;WriteI).
1255 size_t NumMoved = std::min(Spills.size(), GapSize);
1258 LiveRange::iterator SpillSrc = Spills.end();
1264 // Now merge Src and Spills backwards.
1271 assert(NumMoved == size_t(Spills.end() - SpillSrc));
1272 Spills.erase(SpillSrc, Spills.end());
1284 if (Spills.empty()) {
1290 // Resize the WriteI - ReadI gap to match Spills.
1292 if (GapSize < Spills.size()) {
1295 LR->segments.insert(ReadI, Spills.size() - GapSize, LiveRange::Segment());
1300 LR->segments.erase(WriteI + Spills.size(), ReadI);
1302 ReadI = WriteI + Spills.size();