Home
last modified time | relevance | path

Searched refs:_DifferenceType (Results 1 – 6 of 6) sorted by relevance

/freebsd-14.2/contrib/llvm-project/libcxx/include/__algorithm/pstl_backends/cpu_backends/
H A Dfind_if.h40 const _DifferenceType __n = __last - __first; in __parallel_find()
41 _DifferenceType __initial_dist = __b_first ? __n : -1; in __parallel_find()
42 std::atomic<_DifferenceType> __extremum(__initial_dist); in __parallel_find()
52 const _DifferenceType __k = __result - __first; in __parallel_find()
64 template <class _Index, class _DifferenceType, class _Compare>
66 __simd_first(_Index __first, _DifferenceType __begin, _DifferenceType __end, _Compare __comp) noexc… in __simd_first()
68 const _DifferenceType __block_size = 8; in __simd_first()
69 alignas(__lane_size) _DifferenceType __lane[__block_size] = {0}; in __simd_first()
71 _DifferenceType __found = 0; in __simd_first()
73 const _DifferenceType __t = __comp(__first, __i); in __simd_first()
[all …]
H A Dtransform.h33 template <class _Iterator1, class _DifferenceType, class _Iterator2, class _Function>
35 __simd_walk(_Iterator1 __first1, _DifferenceType __n, _Iterator2 __first2, _Function __f) noexcept { in __simd_walk()
37 for (_DifferenceType __i = 0; __i < __n; ++__i) in __simd_walk()
75 template <class _Iterator1, class _DifferenceType, class _Iterator2, class _Iterator3, class _Funct…
77 …_Iterator1 __first1, _DifferenceType __n, _Iterator2 __first2, _Iterator3 __first3, _Function __f)… in __simd_walk()
79 for (_DifferenceType __i = 0; __i < __n; ++__i) in __simd_walk()
H A Dany_of.h48 template <class _Index, class _DifferenceType, class _Pred>
49 _LIBCPP_HIDE_FROM_ABI bool __simd_or(_Index __first, _DifferenceType __n, _Pred __pred) noexcept { in __simd_or()
50 _DifferenceType __block_size = 4 < __n ? 4 : __n; in __simd_or()
55 for (_DifferenceType __i = 0; __i < __block_size; ++__i) in __simd_or()
H A Dfill.h28 template <class _Index, class _DifferenceType, class _Tp>
29 _LIBCPP_HIDE_FROM_ABI _Index __simd_fill_n(_Index __first, _DifferenceType __n, const _Tp& __value)… in __simd_fill_n()
32 for (_DifferenceType __i = 0; __i < __n; ++__i) in __simd_fill_n()
H A Dfor_each.h28 template <class _Iterator, class _DifferenceType, class _Function>
29 _LIBCPP_HIDE_FROM_ABI _Iterator __simd_walk(_Iterator __first, _DifferenceType __n, _Function __f) … in __simd_walk()
31 for (_DifferenceType __i = 0; __i < __n; ++__i) in __simd_walk()
H A Dtransform_reduce.h35 template <typename _DifferenceType,
39 typename _UnaryResult = invoke_result_t<_UnaryOperation, _DifferenceType>,
44 __simd_transform_reduce(_DifferenceType __n, _Tp __init, _BinaryOperation, _UnaryOperation __f) noe… in __simd_transform_reduce()
46 for (_DifferenceType __i = 0; __i < __n; ++__i) in __simd_transform_reduce()