| /freebsd/contrib/llvm-project/libcxx/include/experimental/__simd/ |
| H A D | vec_ext.h | 29 template <int _Np> 31 static constexpr size_t __simd_size = _Np; 35 template <int _Np> 36 inline constexpr bool is_abi_tag_v<simd_abi::__vec_ext<_Np>> = _Np > 0 && _Np <= 32; 38 template <class _Tp, int _Np> 39 struct __simd_storage<_Tp, simd_abi::__vec_ext<_Np>> { 40 _Tp __data __attribute__((__vector_size__(std::__bit_ceil((sizeof(_Tp) * _Np))))); 43 _LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(__idx < _Np, "Index is out of bounds"); 47 _LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(__idx < _Np, "Index is out of bounds"); 52 template <class _Tp, int _Np> [all …]
|
| H A D | declaration.h | 35 template <int _Np> 36 using fixed_size = __vec_ext<_Np>; 50 template <class _Tp, size_t _Np, class... _Abis> 52 using type _LIBCPP_NODEBUG = fixed_size<_Np>; 56 template <class _Tp, size_t _Np, class... _Abis> 57 using deduce_t = typename deduce<_Tp, _Np, _Abis...>::type;
|
| H A D | aligned_tag.h | 50 template <size_t _Np> 53 static constexpr size_t __alignment = _Np; 61 template <size_t _Np> 62 inline constexpr bool is_simd_flag_type_v<overaligned_tag<_Np>> = true; 68 template <size_t _Np> 69 inline constexpr overaligned_tag<_Np> overaligned{};
|
| /freebsd/contrib/llvm-project/libcxx/include/__ranges/ |
| H A D | drop_view.h | 169 template <class _Np, class _Bound> 170 inline constexpr bool __is_passthrough_specialization<iota_view<_Np, _Bound>> = true; 196 template <class _Np, class _Bound> 197 struct __passthrough_type<iota_view<_Np, _Bound>> { 198 using type _LIBCPP_NODEBUG = iota_view<_Np, _Bound>; 211 template <class _Range, convertible_to<range_difference_t<_Range>> _Np> 213 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr auto operator()(_Range&& __range, _Np&&) const 221 convertible_to<range_difference_t<_Range>> _Np, 226 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr auto operator()(_Range&& __rng, _Np&& __n) const 228 …ranges::begin(__rng) + std::min<_Dist>(ranges::distance(__rng), std::forward<_Np>(__n)), ranges::e… [all …]
|
| H A D | elements_view.h | 55 template <class _Tp, size_t _Np> 56 concept __has_tuple_element = __tuple_like<_Tp> && _Np < tuple_size<_Tp>::value; 58 template <class _Tp, size_t _Np> 59 concept __returnable_element = is_reference_v<_Tp> || move_constructible<tuple_element_t<_Np, _Tp>>; 61 template <input_range _View, size_t _Np> 62 requires view<_View> && __has_tuple_element<range_value_t<_View>, _Np> && 63 __has_tuple_element<remove_reference_t<range_reference_t<_View>>, _Np> && 64 __returnable_element<range_reference_t<_View>, _Np> 65 class elements_view : public view_interface<elements_view<_View, _Np>> { 143 template <forward_range _Base, size_t _Np> [all …]
|
| H A D | take_view.h | 224 template <class _Np, class _Bound> 225 inline constexpr bool __is_iota_specialization<iota_view<_Np, _Bound>> = true; 251 template <class _Range, convertible_to<range_difference_t<_Range>> _Np> 253 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr auto operator()(_Range&& __range, _Np&&) const 261 convertible_to<range_difference_t<_Range>> _Np, 267 operator()(_Range&& __rng, _Np&& __n) const noexcept(noexcept(__passthrough_type_t<_RawRange>( 268 …(__rng), ranges::begin(__rng) + std::min<_Dist>(ranges::distance(__rng), std::forward<_Np>(__n))))) 272 … ranges::begin(__rng) + std::min<_Dist>(ranges::distance(__rng), std::forward<_Np>(__n)))) { 274 …n(__rng), ranges::begin(__rng) + std::min<_Dist>(ranges::distance(__rng), std::forward<_Np>(__n))); 280 convertible_to<range_difference_t<_Range>> _Np, [all …]
|
| H A D | access.h | 64 template <class _Tp, size_t _Np> 65 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr auto operator()(_Tp (&__t)[_Np]) const noexcept in operator() 121 template <class _Tp, size_t _Np> 122 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr auto operator()(_Tp (&__t)[_Np]) const noexcept in operator() 125 return __t + _Np; in operator()
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__algorithm/ |
| H A D | simd_utils.h | 87 template <class _ArithmeticT, size_t _Np> 88 using __simd_vector __attribute__((__ext_vector_type__(_Np))) = _ArithmeticT; 95 template <class _Tp, size_t _Np> 96 inline constexpr size_t __simd_vector_size_v<__simd_vector<_Tp, _Np>> = _Np; 98 template <class _Tp, size_t _Np> 99 _LIBCPP_HIDE_FROM_ABI _Tp __simd_vector_underlying_type_impl(__simd_vector<_Tp, _Np>) { 114 template <class _Tp, size_t _Np> 115 _LIBCPP_NODISCARD _LIBCPP_HIDE_FROM_ABI bool __all_of(__simd_vector<_Tp, _Np> __vec) noexcept { 116 return __builtin_reduce_and(__builtin_convertvector(__vec, __simd_vector<bool, _Np>)); 119 template <class _Tp, size_t _Np> [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__algorithm/ |
| H A D | simd_utils.h | 92 template <class _ArithmeticT, size_t _Np> 93 using __simd_vector __attribute__((__ext_vector_type__(_Np))) _LIBCPP_NODEBUG = _ArithmeticT; 100 template <class _Tp, size_t _Np> 101 inline constexpr size_t __simd_vector_size_v<__simd_vector<_Tp, _Np>> = _Np; 103 template <class _Tp, size_t _Np> 104 _LIBCPP_HIDE_FROM_ABI _Tp __simd_vector_underlying_type_impl(__simd_vector<_Tp, _Np>) { 119 template <class _Tp, size_t _Np> 120 [[__nodiscard__]] _LIBCPP_HIDE_FROM_ABI bool __all_of(__simd_vector<_Tp, _Np> __vec) noexcept { 121 return __builtin_reduce_and(__builtin_convertvector(__vec, __simd_vector<bool, _Np>)); 124 template <class _Tp, size_t _Np> [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__memory/ |
| H A D | assume_aligned.h | 25 template <size_t _Np, class _Tp> 27 …static_assert(_Np != 0 && (_Np & (_Np - 1)) == 0, "std::assume_aligned<N>(p) requires N to be a po… in __assume_aligned() 30 (void)__builtin_assume_aligned(__ptr, _Np); in __assume_aligned() 34 reinterpret_cast<uintptr_t>(__ptr) % _Np == 0, "Alignment assumption is violated"); in __assume_aligned() 35 return static_cast<_Tp*>(__builtin_assume_aligned(__ptr, _Np)); in __assume_aligned() 41 template <size_t _Np, class _Tp> 43 return std::__assume_aligned<_Np>(__ptr); in assume_aligned()
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__memory/ |
| H A D | assume_aligned.h | 25 template <size_t _Np, class _Tp> 27 …static_assert(_Np != 0 && (_Np & (_Np - 1)) == 0, "std::assume_aligned<N>(p) requires N to be a po… in __assume_aligned() 30 (void)__builtin_assume_aligned(__ptr, _Np); in __assume_aligned() 34 reinterpret_cast<uintptr_t>(__ptr) % _Np == 0, "Alignment assumption is violated"); in __assume_aligned() 35 return static_cast<_Tp*>(__builtin_assume_aligned(__ptr, _Np)); in __assume_aligned()
|
| /freebsd/contrib/llvm-project/libcxx/src/include/ |
| H A D | sso_allocator.h | 25 template <class _Tp, size_t _Np> 28 template <size_t _Np> 29 class _LIBCPP_HIDDEN __sso_allocator<void, _Np> { 35 template <class _Tp, size_t _Np> 37 alignas(_Tp) std::byte buf_[sizeof(_Tp) * _Np]; 47 using other = __sso_allocator<U, _Np>; 53 _LIBCPP_HIDE_FROM_ABI __sso_allocator(const __sso_allocator<_Up, _Np>&) throw() : __allocated_(false) {} 59 _LIBCPP_HIDE_FROM_ABI pointer allocate(size_type __n, typename __sso_allocator<void, _Np>::const_pointer = nullptr) { 60 if (!__allocated_ && __n <= _Np) { 51 __sso_allocator(const __sso_allocator<_Up,_Np> &) __sso_allocator() argument
|
| /freebsd/contrib/llvm-project/libcxx/include/__random/ |
| H A D | mersenne_twister_engine.h | 49 size_t _Np, 62 operator==(const mersenne_twister_engine<_UInt, _Wp, _Np, _Mp, _Rp, _Ap, _Up, _Dp, _Sp, _Bp, _Tp, _… 63 …const mersenne_twister_engine<_UInt, _Wp, _Np, _Mp, _Rp, _Ap, _Up, _Dp, _Sp, _Bp, _Tp, _Cp, _Lp, _… 67 size_t _Np, 80 operator!=(const mersenne_twister_engine<_UInt, _Wp, _Np, _Mp, _Rp, _Ap, _Up, _Dp, _Sp, _Bp, _Tp, _… 81 …const mersenne_twister_engine<_UInt, _Wp, _Np, _Mp, _Rp, _Ap, _Up, _Dp, _Sp, _Bp, _Tp, _Cp, _Lp, _… 87 size_t _Np, 101 …const mersenne_twister_engine<_UInt, _Wp, _Np, _Mp, _Rp, _Ap, _Up, _Dp, _Sp, _Bp, _Tp, _Cp, _Lp, _… 107 size_t _Np, 121 …mersenne_twister_engine<_UInt, _Wp, _Np, _Mp, _Rp, _Ap, _Up, _Dp, _Sp, _Bp, _Tp, _Cp, _Lp, _Fp>& _… [all …]
|
| H A D | shuffle_order_engine.h | 42 template <uint64_t _Np, uint64_t _Dp> 45 static _LIBCPP_CONSTEXPR const uint64_t __gcd = __ugcd<_Np, _Dp>::value; 48 static _LIBCPP_CONSTEXPR const uint64_t num = _Np / __gcd; 149 template <uint64_t _Np, 151 … __enable_if_t<(__uratio<_Np, _Dp>::num > 0xFFFFFFFFFFFFFFFFull / (_Max - _Min)), int> = 0> 152 _LIBCPP_HIDE_FROM_ABI result_type __eval(__uratio<_Np, _Dp>) { 153 return __evalf<__uratio<_Np, _Dp>::num, __uratio<_Np, _Dp>::den>(); 156 template <uint64_t _Np, 158 … __enable_if_t<__uratio<_Np, _Dp>::num <= 0xFFFFFFFFFFFFFFFFull / (_Max - _Min), int> = 0> 159 _LIBCPP_HIDE_FROM_ABI result_type __eval(__uratio<_Np, _Dp>) { [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__random/ |
| H A D | mersenne_twister_engine.h | 48 size_t _Np, 61 operator==(const mersenne_twister_engine<_UInt, _Wp, _Np, _Mp, _Rp, _Ap, _Up, _Dp, _Sp, _Bp, _Tp, _… 62 …const mersenne_twister_engine<_UInt, _Wp, _Np, _Mp, _Rp, _Ap, _Up, _Dp, _Sp, _Bp, _Tp, _Cp, _Lp, _… 66 size_t _Np, 79 operator!=(const mersenne_twister_engine<_UInt, _Wp, _Np, _Mp, _Rp, _Ap, _Up, _Dp, _Sp, _Bp, _Tp, _… 80 …const mersenne_twister_engine<_UInt, _Wp, _Np, _Mp, _Rp, _Ap, _Up, _Dp, _Sp, _Bp, _Tp, _Cp, _Lp, _… 86 size_t _Np, 100 …const mersenne_twister_engine<_UInt, _Wp, _Np, _Mp, _Rp, _Ap, _Up, _Dp, _Sp, _Bp, _Tp, _Cp, _Lp, _… 106 size_t _Np, 120 …mersenne_twister_engine<_UInt, _Wp, _Np, _Mp, _Rp, _Ap, _Up, _Dp, _Sp, _Bp, _Tp, _Cp, _Lp, _Fp>& _… [all …]
|
| H A D | shuffle_order_engine.h | 42 template <uint64_t _Np, uint64_t _Dp> 45 static const uint64_t __gcd = __ugcd<_Np, _Dp>::value; 48 static const uint64_t num = _Np / __gcd; 141 template <uint64_t _Np, 143 … __enable_if_t<(__uratio<_Np, _Dp>::num > 0xFFFFFFFFFFFFFFFFull / (_Max - _Min)), int> = 0> 144 _LIBCPP_HIDE_FROM_ABI result_type __eval(__uratio<_Np, _Dp>) { 145 return __evalf<__uratio<_Np, _Dp>::num, __uratio<_Np, _Dp>::den>(); 148 template <uint64_t _Np, 150 … __enable_if_t<__uratio<_Np, _Dp>::num <= 0xFFFFFFFFFFFFFFFFull / (_Max - _Min), int> = 0> 151 _LIBCPP_HIDE_FROM_ABI result_type __eval(__uratio<_Np, _Dp>) { [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__iterator/ |
| H A D | access.h | 22 template <class _Tp, size_t _Np> 23 _LIBCPP_HIDE_FROM_ABI _Tp* begin(_Tp (&__array)[_Np]) _NOEXCEPT { in begin() argument 27 template <class _Tp, size_t _Np> 28 _LIBCPP_HIDE_FROM_ABI _Tp* end(_Tp (&__array)[_Np]) _NOEXCEPT { in end() argument 29 return __array + _Np; in end()
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__type_traits/ |
| H A D | extent.h | 35 template <class _Tp, size_t _Np> 36 struct _LIBCPP_TEMPLATE_VIS extent<_Tp[_Np], 0> : public integral_constant<size_t, _Np> {}; 37 template <class _Tp, size_t _Np, unsigned _Ip> 38 struct _LIBCPP_TEMPLATE_VIS extent<_Tp[_Np], _Ip> : public integral_constant<size_t, extent<_Tp, _I…
|
| H A D | is_swappable.h | 47 template <class _Tp, size_t _Np, __enable_if_t<__is_swappable_v<_Tp>, int> = 0> 48 inline _LIBCPP_HIDE_FROM_ABI void swap(_Tp (&__a)[_Np], _Tp (&__b)[_Np]);
|
| /freebsd/contrib/llvm-project/libcxx/include/__type_traits/ |
| H A D | extent.h | 40 template <class _Tp, size_t _Np> 41 struct extent<_Tp[_Np], 0> : public integral_constant<size_t, _Np> {}; 42 template <class _Tp, size_t _Np, unsigned _Ip> 43 struct extent<_Tp[_Np], _Ip> : public integral_constant<size_t, extent<_Tp, _Ip - 1>::value> {};
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__utility/ |
| H A D | swap.h | 41 template <class _Tp, size_t _Np, __enable_if_t<__is_swappable_v<_Tp>, int> > 42 inline _LIBCPP_HIDE_FROM_ABI void swap(_Tp (&__a)[_Np], _Tp (&__b)[_Np]) { in swap() argument 43 for (size_t __i = 0; __i != _Np; ++__i) { in swap()
|
| /freebsd/contrib/llvm-project/libcxx/include/__iterator/ |
| H A D | reverse_access.h | 25 template <class _Tp, size_t _Np> 26 …PP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 reverse_iterator<_Tp*> rbegin(_Tp (&__array)[_Np]) { in rbegin() argument 27 return reverse_iterator<_Tp*>(__array + _Np); in rbegin() 30 template <class _Tp, size_t _Np> 31 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 reverse_iterator<_Tp*> rend(_Tp (&__array)[_Np]… in rend() argument
|
| H A D | access.h | 22 template <class _Tp, size_t _Np> 23 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR _Tp* begin(_Tp (&__array)[_Np]) _NOEXCEPT { in begin() argument 27 template <class _Tp, size_t _Np> 28 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR _Tp* end(_Tp (&__array)[_Np]) _NOEXCEPT { in end() argument 29 return __array + _Np; in end()
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__functional/ |
| H A D | bind.h | 41 template <int _Np> 65 template <int _Np> 66 struct is_placeholder<placeholders::__ph<_Np> > : public integral_constant<int, _Np> {};
|
| /freebsd/contrib/llvm-project/libcxx/include/__utility/ |
| H A D | swap.h | 48 template <class _Tp, size_t _Np, __enable_if_t<__is_swappable_v<_Tp>, int> > 49 …ine _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void swap(_Tp (&__a)[_Np], _Tp (&__b)[_Np]) in swap() argument 51 for (size_t __i = 0; __i != _Np; ++__i) { in swap()
|