| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.sorting/alg.min.max/ |
| H A D | ranges.min_element.pass.cpp | 33 concept HasMinElement = requires (T t) { std::ranges::min_element(t); }; 48 std::same_as<Iter> auto it = std::ranges::min_element(first, last); in test_iterators() 59 std::same_as<Iter> auto it = std::ranges::min_element(std::forward<Range>(rng)); in test_range() 73 std::same_as<It> auto it = std::ranges::min_element(It(first), It(last)); in test() 83 std::same_as<It> auto it = std::ranges::min_element(range); in test() 89 std::same_as<It> auto it = std::ranges::min_element(range); in test() 109 int* ret = std::ranges::min_element(std::views::all(a)); in test_borrowed_range_and_sentinel() 116 int* ret = std::ranges::min_element(a, std::ranges::greater{}); in test_comparator() 148 assert(std::ranges::min_element(arr) == arr); in test_immobile() 149 assert(std::ranges::min_element(arr, arr + 3) == arr); in test_immobile() [all …]
|
| H A D | min_element_comp.pass.cpp | 30 Iter i = std::min_element(first, last, std::greater<int>()); in test() 67 assert(first == std::min_element(first, last, p)); in test_eq0() 89 constexpr auto p = std::min_element(il, il+8, less()); in constexpr_test()
|
| H A D | min_element.pass.cpp | 29 Iter i = std::min_element(first, last); in test() 70 constexpr auto p = std::min_element(il, il+8); in constexpr_test()
|
| H A D | requires_forward_iterator.fail.cpp | 25 std::min_element(Iter(b), Iter(e)); in main()
|
| /llvm-project-15.0.7/libcxx/include/__algorithm/ |
| H A D | min_element.h | 50 min_element(_ForwardIterator __first, _ForwardIterator __last, _Compare __comp) in min_element() function 63 min_element(_ForwardIterator __first, _ForwardIterator __last) in min_element() function 65 return _VSTD::min_element(__first, __last, in min_element()
|
| H A D | min.h | 63 return *_VSTD::min_element(__t.begin(), __t.end(), __less<_Tp>()); in min()
|
| H A D | ranges_min_element.h | 66 inline constexpr auto min_element = __min_element::__fn{};
|
| /llvm-project-15.0.7/pstl/test/std/algorithms/alg.sorting/alg.min.max/ |
| H A D | minmax_element.pass.cpp | 30 const Iterator expect = std::min_element(begin, end); in operator ()() 31 const Iterator result = std::min_element(exec, begin, end); in operator ()() 32 const Iterator result_pred = std::min_element(exec, begin, end, std::less<T>()); in operator ()() 171 min_element(exec, iter, iter, non_const(std::less<T>())); in operator ()()
|
| /llvm-project-15.0.7/libcxx/test/libcxx/fuzzing/ |
| H A D | partial_sort.pass.cpp | 28 const std::uint8_t nth = *std::min_element(sort_iter, working.end()); in LLVMFuzzerTestOneInput()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/pop.heap/ |
| H A D | pop_heap_comp.pass.cpp | 33 assert(std::min_element(work, work+i-1) == work); in test()
|
| /llvm-project-15.0.7/libcxx/test/libcxx/algorithms/ |
| H A D | robust_against_cpp20_hostile_iterators.compile.pass.cpp | 149 (void) std::min_element(it, it); in test() 150 (void) std::min_element(it, it, pred); in test()
|
| H A D | ranges_robust_against_copying_comparators.pass.cpp | 159 (void)std::ranges::min_element(first, last, Less(&copies)); assert(copies == 0); in all_the_algorithms() 160 (void)std::ranges::min_element(a, Less(&copies)); assert(copies == 0); in all_the_algorithms()
|
| H A D | ranges_robust_against_copying_projections.pass.cpp | 142 (void)std::ranges::min_element(first, last, Less(), Proj(&copies)); assert(copies == 0); in all_the_algorithms() 143 (void)std::ranges::min_element(a, Less(), Proj(&copies)); assert(copies == 0); in all_the_algorithms()
|
| /llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/ |
| H A D | LatencyBenchmarkRunner.cpp | 50 return *std::min_element(Values.begin(), Values.end()); in findMin()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/ |
| H A D | robust_against_adl.compile.pass.cpp | 132 (void)std::min_element(first, last); in all_the_algorithms() 133 (void)std::min_element(first, last, std::less<void*>()); in all_the_algorithms()
|
| H A D | robust_re_difference_type.compile.pass.cpp | 169 (void)std::min_element(first, last); in all_the_algorithms() 170 (void)std::min_element(first, last, std::less<void*>()); in all_the_algorithms()
|
| H A D | ranges_robust_against_nonbool_predicates.pass.cpp | 99 test(std::ranges::min_element, in, binary_pred); in test_all()
|
| H A D | ranges_robust_against_proxy_iterators.pass.cpp | 92 test(std::ranges::min_element, in); in run_tests()
|
| /llvm-project-15.0.7/libcxx/test/libcxx/diagnostics/ |
| H A D | nodiscard_extensions.pass.cpp | 110 std::min_element(std::begin(arr), std::end(arr)); in test_algorithms() 111 std::min_element(std::begin(arr), std::end(arr), std::greater<int>()); in test_algorithms()
|
| H A D | nodiscard_extensions.verify.cpp | 203 std::min_element(std::begin(arr), std::end(arr)); in test_algorithms() 206 std::min_element(std::begin(arr), std::end(arr), std::greater<int>()); in test_algorithms()
|
| /llvm-project-15.0.7/pstl/ |
| H A D | README.md | 29 * For `max_element`, `min_element`, `minmax_element`, `partial_sort`, `partial_sort_copy`, `sort`, …
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | GCNILPSched.cpp | 316 auto EarliestSU = std::min_element( in schedule()
|
| /llvm-project-15.0.7/pstl/include/pstl/internal/ |
| H A D | glue_algorithm_impl.h | 1011 min_element(_ExecutionPolicy&& __exec, _ForwardIterator __first, _ForwardIterator __last, _Compare … in min_element() function 1020 min_element(_ExecutionPolicy&& __exec, _ForwardIterator __first, _ForwardIterator __last) in min_element() function 1023 …return std::min_element(std::forward<_ExecutionPolicy>(__exec), __first, __last, std::less<_InputT… in min_element() 1030 return min_element(std::forward<_ExecutionPolicy>(__exec), __first, __last, in max_element() 1039 return std::min_element(std::forward<_ExecutionPolicy>(__exec), __first, __last, in max_element()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/PBQP/ |
| H A D | Math.h | 91 return std::min_element(Data.get(), Data.get() + Length) - Data.get(); in minIndex()
|
| /llvm-project-15.0.7/libcxx/test/std/library/description/conventions/customization.point.object/ |
| H A D | niebloid.compile.pass.cpp | 103 static_assert(test(std::ranges::min_element, a));
|