Home
last modified time | relevance | path

Searched refs:UInt (Results 1 – 25 of 85) sorted by relevance

1234

/llvm-project-15.0.7/libc/src/__support/CPP/
H A DUInt.h33 constexpr UInt() {} in UInt() function
35 constexpr UInt(const UInt<Bits> &other) { in UInt() function
62 UInt<Bits> &operator=(const UInt<Bits> &other) {
86 constexpr UInt<Bits> operator+(const UInt<Bits> &other) const {
92 constexpr UInt<Bits> operator+=(const UInt<Bits> &other) {
155 constexpr UInt<Bits> operator*(const UInt<Bits> &other) const {
166 constexpr UInt<Bits> &operator*=(const UInt<Bits> &other) {
238 constexpr UInt<Bits> &operator&=(const UInt<Bits> &other) {
251 constexpr UInt<Bits> &operator|=(const UInt<Bits> &other) {
264 constexpr UInt<Bits> &operator^=(const UInt<Bits> &other) {
[all …]
H A DLimits.h82 template <> class NumericLimits<UInt<128>> {
84 static constexpr UInt<128> max() { return ~UInt<128>(0); } in max()
85 static constexpr UInt<128> min() { return 0; } in min()
H A DUInt128.h15 using UInt128 = __llvm_libc::cpp::UInt<128>;
H A DCMakeLists.txt10 UInt.h
/llvm-project-15.0.7/libcxx/src/include/
H A Dto_chars_floating_point.h532 template <typename UInt, typename Pred>
533 [[nodiscard]] UInt uint_partition_point(UInt first, const UInt last, Pred pred) {
537 static_assert(is_unsigned_v<UInt>);
540 for (UInt n = last - first; n > 0;) {
541 const UInt n2 = n / 2;
542 const UInt mid = first + n2;
578 template <typename UInt>
602 map<int, map<int, UInt>> P_X_LargestValWithX;
611 const UInt val_beyond_X = uint_partition_point(reinterpret_cast<const UInt&>(first),
629 vector<UInt> special;
[all …]
/llvm-project-15.0.7/clang/lib/Sema/
H A DOpenCLBuiltins.td1139 foreach TypePair = [[AtomicInt, Int, Int], [AtomicUInt, UInt, UInt],
1147 foreach TypePair = [[AtomicInt, Int, Int], [AtomicUInt, UInt, UInt],
1217 [Int, UInt], [UInt, UInt],
1231 [Int, UInt], [UInt, UInt],
1765 def : Builtin<"sub_group_ballot_find_lsb", [UInt, VectorType<UInt, 4>]>;
1766 def : Builtin<"sub_group_ballot_find_msb", [UInt, VectorType<UInt, 4>]>;
1837 def : Builtin<"dot_4x8packed_uu_uint", [UInt, UInt, UInt], Attr.Const>;
1838 def : Builtin<"dot_4x8packed_ss_int", [Int, UInt, UInt], Attr.Const>;
1839 def : Builtin<"dot_4x8packed_us_int", [Int, UInt, UInt], Attr.Const>;
1840 def : Builtin<"dot_4x8packed_su_int", [Int, UInt, UInt], Attr.Const>;
[all …]
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DMsgPackDocument.h56 uint64_t UInt; member
88 assert(getKind() == Type::UInt); in getUInt()
89 return UInt; in getUInt()
108 assert(getKind() == Type::UInt); in getUInt()
109 return UInt; in getUInt()
163 case Type::UInt:
164 return Lhs.UInt < Rhs.UInt;
329 auto N = DocNode(&KindAndDocs[size_t(Type::UInt)]); in getNode()
330 N.UInt = V; in getNode()
336 auto N = DocNode(&KindAndDocs[size_t(Type::UInt)]); in getNode()
[all …]
H A DMsgPackReader.h50 UInt, enumerator
82 uint64_t UInt; member
/llvm-project-15.0.7/llvm/lib/BinaryFormat/
H A DMsgPackDocumentYAML.cpp50 case msgpack::Type::UInt: in toString()
52 OS << format("%#llx", (unsigned long long)UInt); in toString()
54 OS << UInt; in toString()
121 if (N.getKind() == msgpack::Type::UInt && getKind() == msgpack::Type::Int) in getYAMLTag()
123 if (N.getKind() == msgpack::Type::Int && getKind() == msgpack::Type::UInt) in getYAMLTag()
131 case msgpack::Type::UInt: in getYAMLTag()
189 case Type::UInt: in mustQuote()
H A DMsgPackReader.cpp60 Obj.Kind = Type::UInt; in read()
63 Obj.Kind = Type::UInt; in read()
66 Obj.Kind = Type::UInt; in read()
69 Obj.Kind = Type::UInt; in read()
155 Obj.Kind = Type::UInt; in read()
156 Obj.UInt = FB; in read()
207 Obj.UInt = static_cast<uint64_t>(endian::read<T, Endianness>(Current)); in readUInt()
H A DMsgPackDocument.cpp158 case Type::UInt: in readFromBlob()
159 Node = getNode(Obj.UInt); in readFromBlob()
274 case Type::UInt: in writeToBlob()
/llvm-project-15.0.7/llvm/unittests/BinaryFormat/
H A DMsgPackReaderTest.cpp219 EXPECT_EQ(Obj.UInt, u); in TEST_F()
229 EXPECT_EQ(Obj.Kind, Type::UInt); in TEST_F()
230 EXPECT_EQ(Obj.UInt, 0u); in TEST_F()
239 EXPECT_EQ(Obj.Kind, Type::UInt); in TEST_F()
240 EXPECT_EQ(Obj.UInt, 1u); in TEST_F()
260 EXPECT_EQ(Obj.UInt, 0u); in TEST_F()
270 EXPECT_EQ(Obj.UInt, 1u); in TEST_F()
290 EXPECT_EQ(Obj.UInt, 0u); in TEST_F()
300 EXPECT_EQ(Obj.UInt, 1u); in TEST_F()
320 EXPECT_EQ(Obj.UInt, 0u); in TEST_F()
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/hicpp/
H A Dmultiway-paths-covered.cpp8 unsigned UInt : 3; member
87 switch (Bf.UInt) { in bad_switch()
94 switch (Bf.UInt) { in bad_switch()
H A Dsigned-bitwise.cpp120 unsigned int UInt = 0u; in unary_bitwise() local
126 f1(~UInt); in unary_bitwise()
132 f2(~UInt); in unary_bitwise()
/llvm-project-15.0.7/libc/test/src/__support/CPP/
H A Dlimits_test.cpp35 __llvm_libc::cpp::NumericLimits<__llvm_libc::cpp::UInt<128>>::max(); in TEST()
36 auto umax64 = __llvm_libc::cpp::UInt<128>( in TEST()
39 ASSERT_EQ(~__llvm_libc::cpp::UInt<128>(0), umax128); in TEST()
/llvm-project-15.0.7/libc/src/math/generic/
H A Ddp_trig.cpp38 fputil::UInt<256> man4; in mod_impl()
43 fputil::UInt<192> man_bits; in mod_impl()
51 fputil::UInt<192> y_man; in mod_impl()
/llvm-project-15.0.7/lldb/source/Plugins/Instruction/ARM64/
H A DEmulateInstructionARM64.cpp71 #define UInt(x) ((uint64_t)x) macro
563 uint64_t unsigned_sum = UInt(x) + UInt(y) + UInt(carry_in); in AddWithCarry()
624 const uint32_t d = UInt(Rd); in EmulateADDSUBImm()
625 const uint32_t n = UInt(Rn); in EmulateADDSUBImm()
702 integer n = UInt(Rn); in EmulateLDPSTP()
703 integer t = UInt(Rt); in EmulateLDPSTP()
704 integer t2 = UInt(Rt2); in EmulateLDPSTP()
721 scale = 2 + UInt(opc); in EmulateLDPSTP()
1110 integer t = UInt(Rt); in EmulateCBZ()
1148 integer t = UInt(Rt); in EmulateTBZ()
[all …]
/llvm-project-15.0.7/libc/src/__support/FPUtil/
H A DXFloat.h21 UInt<Precision> man;
55 XFloat(int e, const UInt<Precision> &bits) : exp(e) { in XFloat()
92 UInt<row_precision> rows[WordCount]; in mul()
124 UInt<result_bits> result_man; in mul()
/llvm-project-15.0.7/compiler-rt/lib/ubsan/
H A Dubsan_diag.h164 Arg(UIntMax UInt) : Kind(AK_UInt), UInt(UInt) {} in Arg()
172 UIntMax UInt; member
H A Dubsan_diag.cpp207 if (A.UInt <= UINT64_MAX) in RenderText()
208 Buffer->append("%llu", (unsigned long long)A.UInt); in RenderText()
210 RenderHex(Buffer, A.UInt); in RenderText()
/llvm-project-15.0.7/libc/utils/UnitTest/
H A DLibcTest.cpp71 describeValue<__llvm_libc::cpp::UInt<128>>(__llvm_libc::cpp::UInt<128> Value) { in describeValue()
274 template bool test<__llvm_libc::cpp::UInt<128>>(
275 RunContext *Ctx, TestCondition Cond, __llvm_libc::cpp::UInt<128> LHS,
276 __llvm_libc::cpp::UInt<128> RHS, const char *LHSStr, const char *RHSStr,
/llvm-project-15.0.7/lldb/unittests/Utility/
H A DScalarTest.cpp77 EXPECT_EQ((unsigned)val, Scalar(val).UInt()); in CheckConversion()
191 EXPECT_EQ((unsigned int)a, a_scalar.UInt()); in TEST()
203 EXPECT_EQ(std::numeric_limits<unsigned int>::min(), Scalar(-1.0f).UInt()); in TEST()
204 EXPECT_EQ(std::numeric_limits<unsigned int>::max(), Scalar(1e11f).UInt()); in TEST()
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/
H A DSymbolCache.cpp56 {codeview::SimpleTypeKind::UInt16Short, PDB_BuiltinType::UInt, 2},
58 {codeview::SimpleTypeKind::UInt32, PDB_BuiltinType::UInt, 4},
60 {codeview::SimpleTypeKind::UInt32Long, PDB_BuiltinType::UInt, 4},
62 {codeview::SimpleTypeKind::UInt64Quad, PDB_BuiltinType::UInt, 8},
69 {codeview::SimpleTypeKind::UnsignedCharacter, PDB_BuiltinType::UInt, 1},
/llvm-project-15.0.7/llvm/tools/llvm-pdbutil/
H A DPrettyBuiltinDumper.cpp35 case PDB_BuiltinType::UInt: in getTypeName()
/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-port.h2128 typedef void UInt;
2140 typedef unsigned int UInt;
2149 typedef unsigned __int64 UInt;
2152 typedef unsigned long long UInt; // NOLINT
2158 typedef TypeWithSize<4>::UInt UInt32;
2160 typedef TypeWithSize<8>::UInt UInt64;

1234