Home
last modified time | relevance | path

Searched refs:__binary_op (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/pstl/include/pstl/internal/
H A Dnumeric_impl.h104 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()
167 __init = __binary_op(__init, __unary_op(*__first)); in __brick_transform_scan()
182 __init = __binary_op(__init, __unary_op(*__first)); in __brick_transform_scan()
240 _BinaryOperation __binary_op, _Inclusive) in __pattern_transform_scan() argument
252 __binary_op, in __pattern_transform_scan()
275 _BinaryOperation __binary_op, _Inclusive) in __pattern_transform_scan() argument
297 __binary_op, in __pattern_transform_scan()
301 [&__initial, &__binary_op](const _Tp& __x) in __pattern_transform_scan()
[all …]
H A Dglue_numeric_impl.h31 _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
135 _ForwardIterator2 __result, _BinaryOperation __binary_op) in inclusive_scan() argument
144 _ForwardIterator2 __result, _BinaryOperation __binary_op, _Tp __init) in inclusive_scan() argument
156 _ForwardIterator2 __result, _Tp __init, _BinaryOperation __binary_op, in transform_exclusive_scan() argument
162 … __last, __result, __unary_op, __init, __binary_op, in transform_exclusive_scan()
178 … __last, __result, __unary_op, __init, __binary_op, in transform_inclusive_scan()
[all …]
H A Dglue_numeric_defs.h27 _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 Dunseq_backend_simd.h473 ::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
597 _CombinerType __init_{__init, &__binary_op}; in __simd_scan()
[all …]
/llvm-project-15.0.7/libcxx/include/__numeric/
H A Daccumulate.h39 accumulate(_InputIterator __first, _InputIterator __last, _Tp __init, _BinaryOperation __binary_op) in accumulate() argument
43 __init = __binary_op(_VSTD::move(__init), *__first); in accumulate()
45 __init = __binary_op(__init, *__first); in accumulate()
H A Dpartial_sum.h49 _BinaryOperation __binary_op) in partial_sum() argument
58 __t = __binary_op(_VSTD::move(__t), *__first); in partial_sum()
60 __t = __binary_op(__t, *__first); in partial_sum()
H A Dadjacent_difference.h50 _BinaryOperation __binary_op) in adjacent_difference() argument
60 *__result = __binary_op(__val, _VSTD::move(__acc)); in adjacent_difference()
62 *__result = __binary_op(__val, __acc); in adjacent_difference()
/llvm-project-15.0.7/libcxx/include/__algorithm/
H A Dtransform.h34 _OutputIterator __result, _BinaryOperation __binary_op) in transform() argument
37 *__result = __binary_op(*__first1, *__first2); in transform()