Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/libcxx/include/__pstl/internal/
H A Dunseq_backend_simd.h
H A Dnumeric_impl.h
H A Dalgorithm_impl.h
H A Dalgorithm_fwd.h
H A Dparallel_backend_tbb.h
/freebsd/contrib/llvm-project/libcxx/include/__pstl/cpu_algos/
H A Dfind_if.h40 typedef typename std::iterator_traits<_Index>::difference_type _DifferenceType; in __parallel_find() typedef
41 const _DifferenceType __n = __last - __first; in __parallel_find()
42 _DifferenceType __initial_dist = __b_first ? __n : -1; in __parallel_find()
43 std::atomic<_DifferenceType> __extremum(__initial_dist); in __parallel_find()
53 const _DifferenceType __k = __result - __first; in __parallel_find()
54 for (_DifferenceType __old = __extremum; __comp(__k, __old); __old = __extremum) { in __parallel_find()
65 template <class _Backend, class _Index, class _DifferenceType, class _Compare>
67 __simd_first(_Index __first, _DifferenceType __begin, _DifferenceType __end, _Compare __comp) noexc… in __simd_first()
69 const _DifferenceType __block_size = 8; in __simd_first()
70 alignas(__cpu_traits<_Backend>::__lane_size) _DifferenceType __lane[__block_size] = {0}; in __simd_first()
[all …]
H A Dtransform.h33 template <class _Iterator1, class _DifferenceType, class _Iterator2, class _Function>
35 __simd_transform(_Iterator1 __first1, _DifferenceType __n, _Iterator2 __first2, _Function __f) noex… in __simd_transform()
37 for (_DifferenceType __i = 0; __i < __n; ++__i) in __simd_transform()
42 template <class _Iterator1, class _DifferenceType, class _Iterator2, class _Iterator3, class _Funct…
44 …_Iterator1 __first1, _DifferenceType __n, _Iterator2 __first2, _Iterator3 __first3, _Function __f)… in __simd_transform()
46 for (_DifferenceType __i = 0; __i < __n; ++__i) in __simd_transform()
H A Dany_of.h47 template <class _Index, class _DifferenceType, class _Pred>
48 _LIBCPP_HIDE_FROM_ABI bool __simd_or(_Index __first, _DifferenceType __n, _Pred __pred) noexcept { in __simd_or()
49 _DifferenceType __block_size = 4 < __n ? 4 : __n; in __simd_or()
54 for (_DifferenceType __i = 0; __i < __block_size; ++__i) in __simd_or()
H A Dfor_each.h29 template <class _Iterator, class _DifferenceType, class _Function>
30 _LIBCPP_HIDE_FROM_ABI _Iterator __simd_for_each(_Iterator __first, _DifferenceType __n, _Function _… in __simd_for_each()
32 for (_DifferenceType __i = 0; __i < __n; ++__i) in __simd_for_each()
H A Dfill.h29 template <class _Index, class _DifferenceType, class _Tp>
30 _LIBCPP_HIDE_FROM_ABI _Index __simd_fill_n(_Index __first, _DifferenceType __n, const _Tp& __value)… in __simd_fill_n()
33 for (_DifferenceType __i = 0; __i < __n; ++__i) in __simd_fill_n()
H A Dtransform_reduce.h38 typename _DifferenceType,
42 typename _UnaryResult = invoke_result_t<_UnaryOperation, _DifferenceType>,
47 __simd_transform_reduce(_DifferenceType __n, _Tp __init, _BinaryOperation, _UnaryOperation __f) noe… in __simd_transform_reduce()
49 for (_DifferenceType __i = 0; __i < __n; ++__i) in __simd_transform_reduce()