Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/libcxx/include/__pstl/internal/
H A Dnumeric_impl.h
H A Dglue_numeric_impl.h
H A Dglue_numeric_defs.h
H A Dunseq_backend_simd.h
/freebsd/contrib/llvm-project/libcxx/include/__numeric/
H A Daccumulate.h39 accumulate(_InputIterator __first, _InputIterator __last, _Tp __init, _BinaryOperation __binary_op) {
42 __init = __binary_op(std::move(__init), *__first); in accumulate() argument
44 __init = __binary_op(__init, *__first); in accumulate()
H A Dpartial_sum.h46 partial_sum(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryOperation __binary_op) { in partial_sum()
52 __t = __binary_op(std::move(__t), *__first); in partial_sum() argument
54 __t = __binary_op(__t, *__first); in partial_sum()
H A Dadjacent_difference.h47 _InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryOperation __binary_op) { in adjacent_difference()
54 *__result = __binary_op(__val, std::move(__acc)); in adjacent_difference()
56 *__result = __binary_op(__val, __acc); in adjacent_difference()
53 adjacent_difference(_InputIterator __first,_InputIterator __last,_OutputIterator __result,_BinaryOperation __binary_op) adjacent_difference() argument
/freebsd/contrib/llvm-project/libcxx/include/__pstl/cpu_algos/
H A Dtransform_reduce.h64 __simd_transform_reduce(_Size __n, _Tp __init, _BinaryOperation __binary_op, _UnaryOperation __f) n… 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()
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Dtransform.h34 _BinaryOperation __binary_op) { in transform() argument
36 *__result = __binary_op(*__first1, *__first2); in transform()