Searched refs:MergeTo (Results 1 – 3 of 3) sorted by relevance
171 Ranges::iterator MergeTo = llvm::next(I); in extendIntervalEndTo() local172 for (; MergeTo != ranges.end() && NewEnd >= MergeTo->end; ++MergeTo) { in extendIntervalEndTo()173 assert(MergeTo->valno == ValNo && "Cannot merge with differing values!"); in extendIntervalEndTo()177 I->end = std::max(NewEnd, prior(MergeTo)->end); in extendIntervalEndTo()180 ranges.erase(llvm::next(I), MergeTo); in extendIntervalEndTo()201 Ranges::iterator MergeTo = I; in extendIntervalStartTo() local203 if (MergeTo == ranges.begin()) { in extendIntervalStartTo()205 ranges.erase(MergeTo, I); in extendIntervalStartTo()208 assert(MergeTo->valno == ValNo && "Cannot merge with differing values!"); in extendIntervalStartTo()209 --MergeTo; in extendIntervalStartTo()[all …]
117 iterator MergeTo = std::next(I); in extendSegmentEndTo() local118 for (; MergeTo != segments().end() && NewEnd >= MergeTo->end; ++MergeTo) in extendSegmentEndTo()119 assert(MergeTo->valno == ValNo && "Cannot merge with differing values!"); in extendSegmentEndTo()122 S->end = std::max(NewEnd, std::prev(MergeTo)->end); in extendSegmentEndTo()126 if (MergeTo != segments().end() && MergeTo->start <= I->end && in extendSegmentEndTo()127 MergeTo->valno == ValNo) { in extendSegmentEndTo()128 S->end = MergeTo->end; in extendSegmentEndTo()129 ++MergeTo; in extendSegmentEndTo()133 segments().erase(std::next(I), MergeTo); in extendSegmentEndTo()145 iterator MergeTo = I; in extendSegmentStartTo() local[all …]
165 iterator MergeTo = std::next(I); in extendSegmentEndTo() local166 for (; MergeTo != segments().end() && NewEnd >= MergeTo->end; ++MergeTo) in extendSegmentEndTo()167 assert(MergeTo->valno == ValNo && "Cannot merge with differing values!"); in extendSegmentEndTo()170 S->end = std::max(NewEnd, std::prev(MergeTo)->end); in extendSegmentEndTo()174 if (MergeTo != segments().end() && MergeTo->start <= I->end && in extendSegmentEndTo()175 MergeTo->valno == ValNo) { in extendSegmentEndTo()176 S->end = MergeTo->end; in extendSegmentEndTo()177 ++MergeTo; in extendSegmentEndTo()181 segments().erase(std::next(I), MergeTo); in extendSegmentEndTo()193 iterator MergeTo = I; in extendSegmentStartTo() local[all …]