Lines Matching refs:Spills
1115 // - When LastStart is invalid, Spills is empty and the iterators are invalid.
1123 // 3. Spills.
1128 // - Segments in Spills precede and can't coalesce with segments in area 2.
1129 // - No coalescing is possible between segments in Spills and segments in area
1132 // The segments in Spills are not ordered with respect to the segments in area
1135 // When they exist, Spills.back().start <= LastStart,
1153 OS << "\n Spills:";
1154 for (unsigned I = 0, E = Spills.size(); I != E; ++I)
1155 OS << ' ' << Spills[I];
1194 assert(Spills.empty() && "Leftover spilled segments");
1234 // Try coalescing Spills.back() into Seg.
1235 if (!Spills.empty() && coalescable(Spills.back(), Seg)) {
1236 Seg.start = Spills.back().start;
1237 Seg.end = std::max(Spills.back().end, Seg.end);
1238 Spills.pop_back();
1253 // Finally, append to LR or Spills.
1258 Spills.push_back(Seg);
1264 // Perform a backwards merge of Spills and [SpillI;WriteI).
1266 size_t NumMoved = std::min(Spills.size(), GapSize);
1269 LiveRange::iterator SpillSrc = Spills.end();
1275 // Now merge Src and Spills backwards.
1282 assert(NumMoved == size_t(Spills.end() - SpillSrc));
1283 Spills.erase(SpillSrc, Spills.end());
1295 if (Spills.empty()) {
1301 // Resize the WriteI - ReadI gap to match Spills.
1303 if (GapSize < Spills.size()) {
1306 LR->segments.insert(ReadI, Spills.size() - GapSize, LiveRange::Segment());
1311 LR->segments.erase(WriteI + Spills.size(), ReadI);
1313 ReadI = WriteI + Spills.size();