/llvm-project/pstl/include/pstl/internal/ |
H A D | numeric_impl.h | 101 …reduce(_ForwardIterator __first, _ForwardIterator __last, _Tp __init, _BinaryOperation __binary_op, in __brick_transform_reduce() argument 104 return std::transform_reduce(__first, __last, __init, __binary_op, __unary_op); in __brick_transform_reduce() 110 _BinaryOperation __binary_op, _UnaryOperation __unary_op, in __brick_transform_reduce() argument 115 __last - __first, __init, __binary_op, in __brick_transform_reduce() 123 _BinaryOperation __binary_op, _UnaryOperation __unary_op) noexcept in __pattern_transform_reduce() argument 125 return __internal::__brick_transform_reduce(__first, __last, __init, __binary_op, __unary_op, in __pattern_transform_reduce() 133 _RandomAccessIterator __last, _Tp __init, _BinaryOperation __binary_op, in __pattern_transform_reduce() argument 143 … [__unary_op](_RandomAccessIterator __i) mutable { return __unary_op(*__i); }, __init, __binary_op, in __pattern_transform_reduce() 144 … [__unary_op, __binary_op](_RandomAccessIterator __i, _RandomAccessIterator __j, _Tp __init) { in __pattern_transform_reduce() 145 …return __internal::__brick_transform_reduce(__i, __j, __init, __binary_op, __unary_op, _IsVector{}… in __pattern_transform_reduce() [all …]
|
H A D | glue_numeric_impl.h | 31 _BinaryOperation __binary_op) in reduce() argument 33 …turn transform_reduce(std::forward<_ExecutionPolicy>(__exec), __first, __last, __init, __binary_op, in reduce() 85 _BinaryOperation __binary_op, _UnaryOperation __unary_op) in transform_reduce() argument 89 … __first, __last, __init, __binary_op, __unary_op); in transform_reduce() 110 _ForwardIterator2 __result, _Tp __init, _BinaryOperation __binary_op) in exclusive_scan() argument 116 … __result, __pstl::__internal::__no_op(), __init, __binary_op, in exclusive_scan() 135 _ForwardIterator2 __result, _BinaryOperation __binary_op) in inclusive_scan() argument 137 …form_inclusive_scan(std::forward<_ExecutionPolicy>(__exec), __first, __last, __result, __binary_op, in inclusive_scan() 144 _ForwardIterator2 __result, _BinaryOperation __binary_op, _Tp __init) in inclusive_scan() argument 146 …form_inclusive_scan(std::forward<_ExecutionPolicy>(__exec), __first, __last, __result, __binary_op, in inclusive_scan() [all …]
|
H A D | glue_numeric_defs.h | 27 _BinaryOperation __binary_op); 53 _BinaryOperation __binary_op, _UnaryOperation __unary_op); 65 _ForwardIterator2 __result, _Tp __init, _BinaryOperation __binary_op); 77 _ForwardIterator2 __result, _BinaryOperation __binary_op); 82 _ForwardIterator2 __result, _BinaryOperation __binary_op, _Tp __init); 90 _ForwardIterator2 __result, _Tp __init, _BinaryOperation __binary_op, 99 … _ForwardIterator2 __result, _BinaryOperation __binary_op, _UnaryOperation __unary_op, 106 … _ForwardIterator2 __result, _BinaryOperation __binary_op, _UnaryOperation __unary_op);
|
H A D | unseq_backend_simd.h | 461 __simd_transform_reduce(_Size __n, _Tp __init, _BinaryOperation __binary_op, _UnaryOperation __f) n… in __simd_transform_reduce() argument 473 ::new (__lane + __i) _Tp(__binary_op(__f(__i), __f(__block_size + __i))); in __simd_transform_reduce() 483 __lane[__j] = __binary_op(__lane[__j], __f(__i + __j)); in __simd_transform_reduce() 490 __lane[__j] = __binary_op(__lane[__j], __f(last_iteration + __j)); in __simd_transform_reduce() 495 __init = __binary_op(__init, __lane[__j]); in __simd_transform_reduce() 508 __init = __binary_op(__init, __f(__i)); in __simd_transform_reduce() 554 _BinaryOperation __binary_op, /*Inclusive*/ std::false_type) in __simd_scan() argument 557 _CombinerType __init_{__init, &__binary_op}; in __simd_scan() 567 __init_.__value_ = __binary_op(__init_.__value_, __unary_op(__first[__i])); in __simd_scan() 594 _BinaryOperation __binary_op, std::true_type) in __simd_scan() argument [all …]
|
/llvm-project/libcxx/include/__numeric/ |
H A D | accumulate.h | 39 accumulate(_InputIterator __first, _InputIterator __last, _Tp __init, _BinaryOperation __binary_op)… in accumulate() argument 42 __init = __binary_op(std::move(__init), *__first); in accumulate() 44 __init = __binary_op(__init, *__first); in accumulate()
|
H A D | partial_sum.h | 46 …tIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryOperation __binary_op) { in partial_sum() argument 52 __t = __binary_op(std::move(__t), *__first); in partial_sum() 54 __t = __binary_op(__t, *__first); in partial_sum()
|
H A D | adjacent_difference.h | 47 …tIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryOperation __binary_op) { in adjacent_difference() argument 54 *__result = __binary_op(__val, std::move(__acc)); in adjacent_difference() 56 *__result = __binary_op(__val, __acc); in adjacent_difference()
|
/llvm-project/libcxx/include/__pstl/cpu_algos/ |
H A D | transform_reduce.h | 64 __simd_transform_reduce(_Size __n, _Tp __init, _BinaryOperation __binary_op, _UnaryOperation __f) noexcept { in __simd_transform_reduce() argument 74 ::new (__lane + __i) _Tp(__binary_op(__f(__i), __f(__block_size + __i))); in __simd_transform_reduce() 82 __lane[__j] = __binary_op(std::move(__lane[__j]), __f(__i + __j)); in __simd_transform_reduce() 88 __lane[__j] = __binary_op(std::move(__lane[__j]), __f(__last_iteration + __j)); in __simd_transform_reduce() 92 __init = __binary_op(std::move(__init), std::move(__lane[__j])); in __simd_transform_reduce() 101 __init = __binary_op(std::move(__init), __f(__i)); in __simd_transform_reduce()
|
/llvm-project/libcxx/include/__algorithm/ |
H A D | transform.h | 34 _BinaryOperation __binary_op) { in transform() argument 36 *__result = __binary_op(*__first1, *__first2); in transform()
|