Home
last modified time | relevance | path

Searched refs:__block_size (Results 1 – 8 of 8) 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.h51 _DifferenceType __block_size = 4 < __n ? 4 : __n; in __simd_or() local
56 for (_DifferenceType __i = 0; __i < __block_size; ++__i) in __simd_or()
62 __first += __block_size; in __simd_or()
63 if (__last - __first >= __block_size << 1) { in __simd_or()
65 __block_size <<= 1; in __simd_or()
67 __block_size = __last - __first; in __simd_or()
H A Dfind_if.h70 const _DifferenceType __block_size = 8; in __simd_first() local
71 alignas(__cpu_traits<_Backend>::__lane_size) _DifferenceType __lane[__block_size] = {0}; in __simd_first()
72 while (__end - __begin >= __block_size) { in __simd_first()
74 …D_REDUCTION(| : __found) for (_DifferenceType __i = __begin; __i < __begin + __block_size; ++__i) { in __simd_first()
82 for (__i = 0; __i < __block_size; ++__i) { in __simd_first()
89 __begin += __block_size; in __simd_first()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Ddeque263 static const difference_type __block_size;
282 if (++__ptr_ - *__m_iter_ == __block_size) {
298 __ptr_ = *__m_iter_ + __block_size;
314 __m_iter_ += __n / __block_size;
315 __ptr_ = *__m_iter_ + __n % __block_size;
318 difference_type __z = __block_size - 1 - __n;
319 __m_iter_ -= __z / __block_size;
320 __ptr_ = *__m_iter_ + (__block_size - 1 - __z % __block_size);
346 return (__x.__m_iter_ - __y.__m_iter_) * __block_size + (__x.__ptr_ - *__x.__m_iter_) -
408 return *__iter + _Iterator::__block_size;
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Ddeque298 static const difference_type __block_size;
323 if (++__ptr_ - *__m_iter_ == __block_size) {
339 __ptr_ = *__m_iter_ + __block_size;
355 __m_iter_ += __n / __block_size;
356 __ptr_ = *__m_iter_ + __n % __block_size;
359 difference_type __z = __block_size - 1 - __n;
360 __m_iter_ -= __z / __block_size;
361 __ptr_ = *__m_iter_ + (__block_size - 1 - __z % __block_size);
387 return (__x.__m_iter_ - __y.__m_iter_) * __block_size + (__x.__ptr_ - *__x.__m_iter_) -
473 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.h61 enum { __block_size = sizeof(uint64_t) * 8 }; enumerator
378 for (int __j = 0; __j < __detail::__block_size;) { in __populate_left_bitset()
394 for (int __j = 0; __j < __detail::__block_size;) { in __populate_right_bitset()
422 __l_size = __remaining_len - __detail::__block_size; in __bitset_partition_partial_blocks()
423 __r_size = __detail::__block_size; in __bitset_partition_partial_blocks()
425 __l_size = __detail::__block_size; in __bitset_partition_partial_blocks()
426 __r_size = __remaining_len - __detail::__block_size; in __bitset_partition_partial_blocks()
461 difference_type __tz_left = __detail::__block_size - 1 - std::__countl_zero(__left_bitset); in __swap_bitmap_pos_within()
474 difference_type __tz_right = __detail::__block_size - 1 - std::__countl_zero(__right_bitset); in __swap_bitmap_pos_within()
546 while (__lm1 - __first >= 2 * __detail::__block_size - 1) { in __bitset_partition()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__algorithm/
H A Dsort.h147 enum { __block_size = sizeof(uint64_t) * 8 };
410 for (int __j = 0; __j < __detail::__block_size;) {
426 for (int __j = 0; __j < __detail::__block_size;) {
454 __l_size = __remaining_len - __detail::__block_size;
455 __r_size = __detail::__block_size;
457 __l_size = __detail::__block_size;
458 __r_size = __remaining_len - __detail::__block_size;
493 difference_type __tz_left = __detail::__block_size - 1 - __libcpp_clz(__left_bitset);
506 difference_type __tz_right = __detail::__block_size - 1 - __libcpp_clz(__right_bitset);
578 while (__lm1 - __first >= 2 * __detail::__block_size - 1) {
[all …]