Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/libcxx/include/__pstl/cpu_algos/
H A Dtransform_reduce.h66 const _Size __block_size = __lane_size / sizeof(_Tp); in __simd_transform_reduce() local
67 if (__n > 2 * __block_size && __block_size > 1) { in __simd_transform_reduce()
73 for (_Size __i = 0; __i < __block_size; ++__i) { in __simd_transform_reduce()
74 ::new (__lane + __i) _Tp(__binary_op(__f(__i), __f(__block_size + __i))); in __simd_transform_reduce()
77 _Size __i = 2 * __block_size; in __simd_transform_reduce()
78 const _Size __last_iteration = __block_size * (__n / __block_size); in __simd_transform_reduce()
79 for (; __i < __last_iteration; __i += __block_size) { in __simd_transform_reduce()
81 for (_Size __j = 0; __j < __block_size; ++__j) { in __simd_transform_reduce()
91 for (_Size __j = 0; __j < __block_size; ++__j) { in __simd_transform_reduce()
96 for (_Size __j = 0; __j < __block_size; ++__j) { in __simd_transform_reduce()
H A Dany_of.h49 _DifferenceType __block_size = 4 < __n ? 4 : __n; in __simd_or() local
54 for (_DifferenceType __i = 0; __i < __block_size; ++__i) in __simd_or()
60 __first += __block_size; in __simd_or()
61 if (__last - __first >= __block_size << 1) { in __simd_or()
63 __block_size <<= 1; in __simd_or()
65 __block_size = __last - __first; in __simd_or()
H A Dfind_if.h69 const _DifferenceType __block_size = 8; in __simd_first() local
70 alignas(__cpu_traits<_Backend>::__lane_size) _DifferenceType __lane[__block_size] = {0}; in __simd_first()
71 while (__end - __begin >= __block_size) { in __simd_first()
73 …D_REDUCTION(| : __found) for (_DifferenceType __i = __begin; __i < __begin + __block_size; ++__i) { in __simd_first()
81 for (__i = 0; __i < __block_size; ++__i) { in __simd_first()
88 __begin += __block_size; in __simd_first()
/freebsd/contrib/llvm-project/libcxx/include/
H A Ddeque279 static const difference_type __block_size;
304 if (++__ptr_ - *__m_iter_ == __block_size) {
320 __ptr_ = *__m_iter_ + __block_size;
336 __m_iter_ += __n / __block_size;
337 __ptr_ = *__m_iter_ + __n % __block_size;
340 difference_type __z = __block_size - 1 - __n;
341 __m_iter_ -= __z / __block_size;
342 __ptr_ = *__m_iter_ + (__block_size - 1 - __z % __block_size);
368 return (__x.__m_iter_ - __y.__m_iter_) * __block_size + (__x.__ptr_ - *__x.__m_iter_) -
455 return *__iter + _Iterator::__block_size;
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__pstl/internal/
H A Dunseq_backend_simd.h
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Dsort.h155 enum { __block_size = sizeof(uint64_t) * 8 };
418 for (int __j = 0; __j < __detail::__block_size;) {
434 for (int __j = 0; __j < __detail::__block_size;) {
462 __l_size = __remaining_len - __detail::__block_size;
463 __r_size = __detail::__block_size;
465 __l_size = __detail::__block_size;
466 __r_size = __remaining_len - __detail::__block_size;
501 difference_type __tz_left = __detail::__block_size - 1 - __libcpp_clz(__left_bitset);
514 difference_type __tz_right = __detail::__block_size - 1 - __libcpp_clz(__right_bitset);
586 while (__lm1 - __first >= 2 * __detail::__block_size - 1) {
[all …]