Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DEndian.h112 using make_unsigned_t = std::make_unsigned_t<value_type>; variable
132 make_unsigned_t<value_type> lowerVal = val[0] >> startBit; in readAtBitAlignment()
134 make_unsigned_t<value_type> numBitsFirstVal = in readAtBitAlignment()
139 make_unsigned_t<value_type> upperVal = in readAtBitAlignment()
140 val[1] & (((make_unsigned_t<value_type>)1 << startBit) - 1); in readAtBitAlignment()
168 val[0] &= ((make_unsigned_t<value_type>)1 << startBit) - 1; in writeAtBitAlignment()
169 make_unsigned_t<value_type> numBitsFirstVal = in writeAtBitAlignment()
171 make_unsigned_t<value_type> lowerVal = value; in writeAtBitAlignment()
184 val[1] &= ~(((make_unsigned_t<value_type>)1 << startBit) - 1); in writeAtBitAlignment()
186 make_unsigned_t<value_type> upperVal = value >> numBitsFirstVal; in writeAtBitAlignment()
[all …]
H A DMathExtras.h929 using U = std::make_unsigned_t<T>;
955 using U = std::make_unsigned_t<T>;
978 using U = std::make_unsigned_t<T>;
/llvm-project-15.0.7/libcxx/include/__utility/
H A Dcmp.h49 return __t < 0 ? false : make_unsigned_t<_Tp>(__t) == __u; in cmp_equal()
51 return __u < 0 ? false : __t == make_unsigned_t<_Up>(__u); in cmp_equal()
68 return __t < 0 ? true : make_unsigned_t<_Tp>(__t) < __u; in cmp_less()
70 return __u < 0 ? false : __t < make_unsigned_t<_Up>(__u); in cmp_less()
/llvm-project-15.0.7/libcxx/include/__ranges/
H A Dsubrange.h87 using _Size = conditional_t<_StoreSize, make_unsigned_t<iter_difference_t<_Iter>>, _Empty>;
104 make_unsigned_t<iter_difference_t<_Iter>> __n) in subrange()
137 constexpr subrange(_Range&& __range, make_unsigned_t<iter_difference_t<_Iter>> __n) in subrange()
168 constexpr make_unsigned_t<iter_difference_t<_Iter>> size() const in size()
220 subrange(_Iter, _Sent, make_unsigned_t<iter_difference_t<_Iter>>)
229 subrange(_Range&&, make_unsigned_t<range_difference_t<_Range>>)
H A Dzip_view.h185 using _CT = make_unsigned_t<common_type_t<decltype(__sizes)...>>; in requires()
196 using _CT = make_unsigned_t<common_type_t<decltype(__sizes)...>>; in requires()
/llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.trans/meta.trans.sign/
H A Dmake_unsigned.pass.cpp41 ASSERT_SAME_TYPE(U, std::make_unsigned_t<T>); in test_make_unsigned()
/llvm-project-15.0.7/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/
H A Dgcd.pass.cpp57 using U1 = std::make_unsigned_t<Input1>; in do_test()
58 using U2 = std::make_unsigned_t<Input2>; in do_test()
/llvm-project-15.0.7/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/
H A Dlcm.pass.cpp54 using U1 = std::make_unsigned_t<Input1>; in do_test()
55 using U2 = std::make_unsigned_t<Input2>; in do_test()
/llvm-project-15.0.7/libcxx/test/std/ranges/range.utility/range.subrange/
H A Dtypes.h66 typedef std::make_unsigned_t<std::ptrdiff_t> udifference_type;
137 typedef std::make_unsigned_t<std::ptrdiff_t> udifference_type;
/llvm-project-15.0.7/libcxx/include/__type_traits/
H A Dmake_unsigned.h73 template <class _Tp> using make_unsigned_t = typename make_unsigned<_Tp>::type;
/llvm-project-15.0.7/flang/lib/Parser/
H A Dcharacters.cpp43 char32_t ch32{static_cast<std::make_unsigned_t<CharT>>(ch)}; in QuoteCharacterLiteralHelper()
132 char32_t uch{static_cast<std::make_unsigned_t<decltype(ch)>>(ch)}; in EncodeString()
/llvm-project-15.0.7/libcxx/include/__numeric/
H A Dmidpoint.h33 using _Up = make_unsigned_t<_Tp>; in midpoint()
H A Dgcd_lcm.h66 using _Wp = make_unsigned_t<_Rp>;
/llvm-project-15.0.7/libcxx/include/__format/
H A Dformatter_integral.h128 if (__value > static_cast<make_unsigned_t<_CharT>>(numeric_limits<_CharT>::max()))
132 if (__value < 0 || static_cast<make_unsigned_t<_Tp>>(__value) > numeric_limits<_CharT>::max())
/llvm-project-15.0.7/llvm/lib/Support/
H A DNativeFormatting.cpp95 using UnsignedT = std::make_unsigned_t<T>; in write_signed()
/llvm-project-15.0.7/libcxx/include/__functional/
H A Dboyer_moore_searcher.h81 using unsigned_key_type = make_unsigned_t<key_type>;
/llvm-project-15.0.7/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64AddressingModes.h767 int64_t Mask = ~int64_t(std::numeric_limits<std::make_unsigned_t<T>>::max()); in isSVECpyImm()
H A DAArch64InstPrinter.cpp1680 std::make_unsigned_t<T> HexValue = Value; in printImmSVE()
1726 typedef std::make_unsigned_t<T> UnsignedT; in printSVELogicalImm()
/llvm-project-15.0.7/flang/runtime/
H A Dio-stmt.cpp488 using UnsignedChar = std::make_unsigned_t<CHAR>; in EmitEncoded()
/llvm-project-15.0.7/libcxx/include/
H A Dtype_traits198 using make_unsigned_t = typename make_unsigned<T>::type; // C++14
/llvm-project-15.0.7/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp1760 std::make_unsigned_t<T> Val = MCE->getValue(); in addLogicalImmOperands()
1769 std::make_unsigned_t<T> Val = ~MCE->getValue(); in addLogicalImmNotOperands()
/llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/
H A DStdSymbolMap.inc752 SYMBOL(make_unsigned_t, std::, <type_traits>)