Home
last modified time | relevance | path

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

/external/llvm-project/pstl/include/pstl/internal/
Dnumeric_impl.h95 …reduce(_ForwardIterator __first, _ForwardIterator __last, _Tp __init, _BinaryOperation __binary_op, in __brick_transform_reduce() argument
98 return std::transform_reduce(__first, __last, __init, __binary_op, __unary_op); in __brick_transform_reduce()
103 …reduce(_ForwardIterator __first, _ForwardIterator __last, _Tp __init, _BinaryOperation __binary_op, in __brick_transform_reduce() argument
108 __last - __first, __init, __binary_op, in __brick_transform_reduce()
116 … _BinaryOperation __binary_op, _UnaryOperation __unary_op, _IsVector __is_vector, in __pattern_transform_reduce() argument
119 …return __internal::__brick_transform_reduce(__first, __last, __init, __binary_op, __unary_op, __is… in __pattern_transform_reduce()
126 … _BinaryOperation __binary_op, _UnaryOperation __unary_op, _IsVector __is_vector, in __pattern_transform_reduce() argument
132 … [__unary_op](_ForwardIterator __i) mutable { return __unary_op(*__i); }, __init, __binary_op, in __pattern_transform_reduce()
133 … [__unary_op, __binary_op, __is_vector](_ForwardIterator __i, _ForwardIterator __j, _Tp __init) { in __pattern_transform_reduce()
134 …return __internal::__brick_transform_reduce(__i, __j, __init, __binary_op, __unary_op, __is_vector… in __pattern_transform_reduce()
[all …]
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()
89 _BinaryOperation __binary_op, _UnaryOperation __unary_op) in transform_reduce() argument
92 std::forward<_ExecutionPolicy>(__exec), __first, __last, __init, __binary_op, __unary_op, in transform_reduce()
115 _ForwardIterator2 __result, _Tp __init, _BinaryOperation __binary_op) in exclusive_scan() argument
120 __binary_op, /*inclusive=*/std::false_type(), in exclusive_scan()
140 _ForwardIterator2 __result, _BinaryOperation __binary_op) in inclusive_scan() argument
142 …form_inclusive_scan(std::forward<_ExecutionPolicy>(__exec), __first, __last, __result, __binary_op, in inclusive_scan()
149 _ForwardIterator2 __result, _BinaryOperation __binary_op, _Tp __init) in inclusive_scan() argument
151 …form_inclusive_scan(std::forward<_ExecutionPolicy>(__exec), __first, __last, __result, __binary_op, in inclusive_scan()
[all …]
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);
Dunseq_backend_simd.h461 __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 …]
/external/llvm-project/libcxx/include/
Dnumeric180 accumulate(_InputIterator __first, _InputIterator __last, _Tp __init, _BinaryOperation __binary_op)
184 __init = __binary_op(_VSTD::move(__init), *__first);
186 __init = __binary_op(__init, *__first);
310 _BinaryOperation __binary_op)
319 __t = __binary_op(_VSTD::move(__t), *__first);
321 __t = __binary_op(__t, *__first);
477 _BinaryOperation __binary_op)
487 *__result = __binary_op(__val, _VSTD::move(__acc));
489 *__result = __binary_op(__val, __acc);
Dalgorithm1980 _OutputIterator __result, _BinaryOperation __binary_op)
1983 *__result = __binary_op(*__first1, *__first2);
/external/libcxx/include/
Dnumeric169 accumulate(_InputIterator __first, _InputIterator __last, _Tp __init, _BinaryOperation __binary_op)
172 __init = __binary_op(__init, *__first);
283 _BinaryOperation __binary_op)
291 __t = __binary_op(__t, *__first);
432 _BinaryOperation __binary_op)
441 *__result = __binary_op(__t2, __t1);
Dalgorithm1863 _OutputIterator __result, _BinaryOperation __binary_op)
1866 *__result = __binary_op(*__first1, *__first2);