Home
last modified time | relevance | path

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

/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>>;
698 using U = std::make_unsigned_t<T>; in AddOverflow()
724 using U = std::make_unsigned_t<T>; in SubOverflow()
750 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;
36 return __u < 0 ? false : __t == make_unsigned_t<_Up>(__u);
49 return __t < 0 ? true : make_unsigned_t<_Tp>(__t) < __u; in cmp_equal()
51 return __u < 0 ? false : __t < make_unsigned_t<_Up>(__u); in cmp_equal()
/freebsd/contrib/llvm-project/libcxx/include/__ranges/
H A Dsubrange.h84 using _Size = conditional_t<_StoreSize, make_unsigned_t<iter_difference_t<_Iter>>, _Empty>;
99 …__convertible_to_non_slicing<_Iter> auto __iter, _Sent __sent, make_unsigned_t<iter_difference_t<_… in subrange()
124 …_LIBCPP_HIDE_FROM_ABI constexpr subrange(_Range&& __range, make_unsigned_t<iter_difference_t<_Iter… in subrange()
149 _LIBCPP_HIDE_FROM_ABI constexpr make_unsigned_t<iter_difference_t<_Iter>> size() const in size()
200 subrange(_Iter, _Sent, make_unsigned_t<iter_difference_t<_Iter>>) -> subrange<_Iter, _Sent, subrang…
210 subrange(_Range&&, make_unsigned_t<range_difference_t<_Range>>)
H A Dzip_view.h197 using _CT = make_unsigned_t<common_type_t<decltype(__sizes)...>>; in requires()
208 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>;
389 (static_cast<make_unsigned_t<index_type>>(numeric_limits<index_type>::max()) <
390 static_cast<make_unsigned_t<_OtherIndexType>>(numeric_limits<_OtherIndexType>::max())))
396 if constexpr (static_cast<make_unsigned_t<index_type>>(numeric_limits<index_type>::max()) <
397 … static_cast<make_unsigned_t<_OtherIndexType>>(numeric_limits<_OtherIndexType>::max())) {
/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.h138 if (__value > static_cast<make_unsigned_t<_CharT>>(numeric_limits<_CharT>::max()))
142 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/libcxx/include/__type_traits/
H A Dmake_unsigned.h86 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.h104 using _Wp = make_unsigned_t<_Rp>;
/freebsd/contrib/llvm-project/libcxx/include/__atomic/
H A Daliases.h104 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.cpp94 using UnsignedT = std::make_unsigned_t<T>; in write_signed()
/freebsd/contrib/llvm-project/libcxx/include/__functional/
H A Dboyer_moore_searcher.h69 using unsigned_key_type = make_unsigned_t<key_type>;
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dtype_traits.cppm
/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 isSVEAddSubImm()
H A DAArch64InstPrinter.cpp2019 std::make_unsigned_t<T> HexValue = Value;
2065 typedef std::make_unsigned_t<T> UnsignedT; in printZPRasFPR()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dmdspan49 using size_type = make_unsigned_t<index_type>;
H A Dtype_traits198 using make_unsigned_t = typename make_unsigned<T>::type; // C++14
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerCommon.cpp776 using UU = std::make_unsigned_t<U>; in fill_clamp()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp2009 std::make_unsigned_t<T> Val = MCE->getValue(); in addLogicalImmOperands()
2018 std::make_unsigned_t<T> Val = ~MCE->getValue(); in addLogicalImmNotOperands()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/
H A DStdSymbolMap.inc2091 SYMBOL(make_unsigned_t, std::, <type_traits>)