Home
last modified time | relevance | path

Searched refs:make_unsigned_t (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DEndian.h122 using make_unsigned_t = std::make_unsigned_t<value_type>; variable
143 make_unsigned_t<value_type> lowerVal = val[0] >> startBit; in readAtBitAlignment()
145 make_unsigned_t<value_type> numBitsFirstVal = in readAtBitAlignment()
147 lowerVal &= ((make_unsigned_t<value_type>)1 << numBitsFirstVal) - 1; in readAtBitAlignment()
150 make_unsigned_t<value_type> upperVal = in readAtBitAlignment()
151 val[1] & (((make_unsigned_t<value_type>)1 << startBit) - 1); in readAtBitAlignment()
179 val[0] &= ((make_unsigned_t<value_type>)1 << startBit) - 1; in writeAtBitAlignment()
180 make_unsigned_t<value_type> numBitsFirstVal = in writeAtBitAlignment()
182 make_unsigned_t<value_type> lowerVal = value; in writeAtBitAlignment()
187 lowerVal &= (((make_unsigned_t<value_type>)1 << numBitsFirstVal) - 1); in writeAtBitAlignment()
[all …]
H A DMathExtras.h38 std::common_type_t<std::make_unsigned_t<T>, std::make_unsigned_t<U>>;
600 template <typename T, typename U = std::make_unsigned_t<T>>
715 using U = std::make_unsigned_t<T>; in AddOverflow()
741 using U = std::make_unsigned_t<T>; in SubOverflow()
767 using U = std::make_unsigned_t<T>; in MulOverflow()
/freebsd/contrib/llvm-project/libcxx/include/__utility/
H A Dcmp.h34 return __t < 0 ? false : make_unsigned_t<_Tp>(__t) == __u; in cmp_equal()
36 return __u < 0 ? false : __t == make_unsigned_t<_Up>(__u); in cmp_equal()
49 return __t < 0 ? true : make_unsigned_t<_Tp>(__t) < __u; in cmp_less()
51 return __u < 0 ? false : __t < make_unsigned_t<_Up>(__u); in cmp_less()
/freebsd/contrib/llvm-project/libcxx/include/__ranges/
H A Dsubrange.h85 …using _Size _LIBCPP_NODEBUG = conditional_t<_StoreSize, make_unsigned_t<iter_difference_t<_Iter>>,…
100 …__convertible_to_non_slicing<_Iter> auto __iter, _Sent __sent, make_unsigned_t<iter_difference_t<_… in subrange()
125 …_LIBCPP_HIDE_FROM_ABI constexpr subrange(_Range&& __range, make_unsigned_t<iter_difference_t<_Iter… in subrange()
150 _LIBCPP_HIDE_FROM_ABI constexpr make_unsigned_t<iter_difference_t<_Iter>> size() const in size()
201 subrange(_Iter, _Sent, make_unsigned_t<iter_difference_t<_Iter>>) -> subrange<_Iter, _Sent, subrang…
211 subrange(_Range&&, make_unsigned_t<range_difference_t<_Range>>)
H A Dzip_view.h186 using _CT = make_unsigned_t<common_type_t<decltype(__sizes)...>>; in requires()
197 using _CT = make_unsigned_t<common_type_t<decltype(__sizes)...>>; in requires()
/freebsd/contrib/llvm-project/libcxx/include/__mdspan/
H A Dextents.h231 using _To_u = make_unsigned_t<_To>;
232 using _From_u = make_unsigned_t<_From>;
282 using size_type = make_unsigned_t<index_type>;
390 (static_cast<make_unsigned_t<index_type>>(numeric_limits<index_type>::max()) <
391 static_cast<make_unsigned_t<_OtherIndexType>>(numeric_limits<_OtherIndexType>::max())))
397 if constexpr (static_cast<make_unsigned_t<index_type>>(numeric_limits<index_type>::max()) <
398 … static_cast<make_unsigned_t<_OtherIndexType>>(numeric_limits<_OtherIndexType>::max())) {
/freebsd/contrib/llvm-project/libc/src/__support/fixed_point/
H A Dfx_rep.h77 using CompType = cpp::make_unsigned_t<StorageType>;
117 using CompType = cpp::make_unsigned_t<StorageType>;
157 using CompType = cpp::make_unsigned_t<StorageType>;
197 using CompType = cpp::make_unsigned_t<StorageType>;
237 using CompType = cpp::make_unsigned_t<StorageType>;
277 using CompType = cpp::make_unsigned_t<StorageType>;
/freebsd/contrib/llvm-project/libcxx/include/__format/
H A Dformatter_char.h55 static_cast<unsigned>(static_cast<make_unsigned_t<_CharT>>(__value)), in format()
60 …static_cast<make_unsigned_t<_CharT>>(__value), __ctx, __parser_.__get_parsed_std_specifications(__… in format()
H A Dformatter_integral.h139 if (__value > static_cast<make_unsigned_t<_CharT>>(numeric_limits<_CharT>::max()))
143 if (__value < 0 || static_cast<make_unsigned_t<_Tp>>(__value) > numeric_limits<_CharT>::max())
H A Dwrite_escaped.h132 return static_cast<make_unsigned_t<_CharT>>(__value); in __to_char32()
/freebsd/contrib/llvm-project/libc/src/__support/CPP/type_traits/
H A Dmake_unsigned.h41 template <typename T> using make_unsigned_t = typename make_unsigned<T>::type;
/freebsd/contrib/llvm-project/libc/src/__support/FPUtil/
H A Dbfloat16.h44 fputil::DyadicFloat<cpp::numeric_limits<cpp::make_unsigned_t<T>>::digits> in BFloat16()
/freebsd/contrib/llvm-project/libcxx/include/__type_traits/
H A Dmake_unsigned.h81 using make_unsigned_t = __make_unsigned_t<_Tp>; variable
/freebsd/contrib/llvm-project/libcxx/include/__numeric/
H A Dmidpoint.h40 using _Up = make_unsigned_t<_Tp>; in midpoint()
H A Dgcd_lcm.h102 using _Wp = make_unsigned_t<_Rp>;
/freebsd/contrib/llvm-project/libcxx/include/__atomic/
H A Daliases.h105 using atomic_unsigned_lock_free = atomic<make_unsigned_t<__contention_t_or_largest>>;
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DBitfields.h99 using Unsigned = std::make_unsigned_t<T>;
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DNativeFormatting.cpp93 using UnsignedT = std::make_unsigned_t<T>; in write_signed()
/freebsd/contrib/llvm-project/libcxx/include/__functional/
H A Dboyer_moore_searcher.h68 using unsigned_key_type = make_unsigned_t<key_type>;
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dtype_traits.cppm
H A Dtype_traits.inc169 using std::make_unsigned_t;
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Dradix_sort.h302 return static_cast<make_unsigned_t<_Ip> >(__n ^ __min_value); in __shift_to_unsigned()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64AddressingModes.h788 int64_t Mask = ~int64_t(std::numeric_limits<std::make_unsigned_t<T>>::max()); in isSVECpyImm()
H A DAArch64InstPrinter.cpp2041 std::make_unsigned_t<T> HexValue = Value; in printImmSVE()
2087 typedef std::make_unsigned_t<T> UnsignedT; in printSVELogicalImm()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dmdspan53 using size_type = make_unsigned_t<index_type>;

12