Searched refs:__clz (Results 1 – 9 of 9) sorted by relevance
| /freebsd/contrib/llvm-project/libcxx/include/__fwd/ |
| H A D | bit_reference.h | 31 __fill_masked_range(_StoragePointer __word, unsigned __clz, unsigned __ctz, bool __fill_val); 34 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _StorageType __trailing_mask(unsigned __clz); 40 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _StorageType __middle_mask(unsigned __clz, unsi…
|
| /freebsd/contrib/llvm-project/libcxx/include/ |
| H A D | __bit_reference | 77 // Creates a mask of type `_StorageType` with a specified number of leading zeros (__clz) and sets … 80 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _StorageType __trailing_mask(unsigned __clz) { 82 return static_cast<_StorageType>(~static_cast<_StorageType>(0)) >> __clz; 93 // Creates a mask of type `_StorageType` with a specified number of leading zeros (__clz), a specif… 96 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _StorageType __middle_mask(unsigned __clz, unsi… 98 return std::__leading_mask<_StorageType>(__ctz) & std::__trailing_mask<_StorageType>(__clz); 106 __fill_masked_range(_StoragePointer __word, unsigned __clz, unsigned __ctz, bool __fill_val) { 111 … __ctz + __clz < sizeof(_StorageType) * CHAR_BIT, "__fill_masked_range called with invalid range"); 112 _StorageType __m = std::__middle_mask<_StorageType>(__clz, __ctz);
|
| /freebsd/contrib/llvm-project/libcxx/include/__algorithm/ |
| H A D | swap_ranges.h | 41 unsigned __clz = __bits_per_word - __first.__ctz_; in __swap_ranges_aligned() local 42 difference_type __dn = std::min(static_cast<difference_type>(__clz), __n); in __swap_ranges_aligned() 44 …__storage_type __m = (~__storage_type(0) << __first.__ctz_) & (~__storage_type(0) >> (__clz - __d… in __swap_ranges_aligned()
|
| H A D | copy.h | 53 unsigned __clz = __bits_per_word - __first.__ctz_; in __copy_aligned() local 54 difference_type __dn = std::min(static_cast<difference_type>(__clz), __n); in __copy_aligned() 56 __storage_type __m = std::__middle_mask<__storage_type>(__clz - __dn, __first.__ctz_); in __copy_aligned()
|
| H A D | equal.h | 132 unsigned __clz = __bits_per_word - __first1.__ctz_; in __equal_aligned() local 133 difference_type __dn = std::min(static_cast<difference_type>(__clz), __n); in __equal_aligned() 135 __storage_type __m = std::__middle_mask<__storage_type>(__clz - __dn, __first1.__ctz_); in __equal_aligned()
|
| H A D | copy_backward.h | 54 unsigned __clz = __bits_per_word - __last.__ctz_; in __copy_backward_aligned() local 55 __storage_type __m = std::__middle_mask<__storage_type>(__clz, __last.__ctz_ - __dn); in __copy_backward_aligned()
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/ |
| H A D | __bit_reference | 167 unsigned __clz = __bits_per_word - __first.__ctz_; 168 difference_type __dn = std::min(static_cast<difference_type>(__clz), __n); 170 …__storage_type __m = (~__storage_type(0) << __first.__ctz_) & (~__storage_type(0) >> (__clz - __dn… 293 unsigned __clz = __bits_per_word - __last.__ctz_; 294 …_storage_type __m = (~__storage_type(0) << (__last.__ctz_ - __dn)) & (~__storage_type(0) >> __clz); 435 unsigned __clz = __bits_per_word - __first.__ctz_; 436 difference_type __dn = std::min(static_cast<difference_type>(__clz), __n); 438 …__storage_type __m = (~__storage_type(0) << __first.__ctz_) & (~__storage_type(0) >> (__clz - __d… 725 unsigned __clz = __bits_per_word - __first1.__ctz_; 726 difference_type __dn = std::min(static_cast<difference_type>(__clz), __n); [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Headers/ |
| H A D | arm_acle.h | 126 __clz(uint32_t __t) { in __clz() function
|
| H A D | __clang_cuda_device_functions.h | 49 __DEVICE__ int __clz(int __a) { return __nv_clz(__a); } in __clz() function
|