reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
98 if (std::distance(Start, End) < detail::MinParallelSize || Depth == 0) { 99 llvm::sort(Start, End, Comp); 104 auto Pivot = medianOf3(Start, End, Comp); 106 std::swap(*(End - 1), *Pivot); 107 Pivot = std::partition(Start, End - 1, [&Comp, End](decltype(*Start) V) { 107 Pivot = std::partition(Start, End - 1, [&Comp, End](decltype(*Start) V) { 108 return Comp(V, *(End - 1)); 111 std::swap(*Pivot, *(End - 1)); 117 parallel_quick_sort(Pivot + 1, End, Comp, TG, Depth - 1);