| /llvm-project-15.0.7/libc/test/src/stdlib/ |
| H A D | strtold_test.cpp | 108 (UInt128(0x403eab54a9) << 40) + UInt128(0x8ceb1ec400), in TEST_F() 116 (UInt128(0x4062dc3bcf) << 40) + UInt128(0x923a6fd402), in TEST_F() 135 (UInt128(0x3fadddd953) << 40) + UInt128(0x464e85c400), in TEST_F() 140 (UInt128(0x401e812334) << 40) + UInt128(0x8000000400), in TEST_F() 145 (UInt128(0x403fc1f099) << 40) + UInt128(0x5e30464402), in TEST_F() 153 (UInt128(0x7ffeffffff) << 40) + UInt128(0xffffffffff), in TEST_F() 185 uint64_t(0), (UInt128(0x1804cf7) << 40) + UInt128(0x908850712), in TEST_F() 186 (UInt128(0x10099ee12110a) << 64) + UInt128(0xe24b75c0f50dc0c)), in TEST_F() 197 (UInt128(0x403791a2b3) << 40) + UInt128(0xc4d5e6f780), in TEST_F() 202 (UInt128(0x407791a2b3) << 40) + UInt128(0xc4d5e6f781), in TEST_F() [all …]
|
| /llvm-project-15.0.7/libc/test/src/__support/ |
| H A D | str_to_float_test.cpp | 278 UInt128(0x1234567812345678), in TEST_F() 303 UInt128 quadOutputMantissa = 0; in TEST_F() 323 (UInt128(0x156a95319d63e) << 64) + UInt128(0x1800000000000000), 16446); in TEST_F() 328 (UInt128(0x1234567812345678) << 64) + UInt128(0x1234567812345678), 0, in TEST_F() 329 (UInt128(0x1234567812345) << 64) + UInt128(0x6781234567812345), 16507); in TEST_F() 331 (UInt128(0x1234567812345678) << 64) + UInt128(0x1234567812345678), 300, in TEST_F() 332 (UInt128(0x1b2eeafbcad5b) << 64) + UInt128(0x6cb8b4451dfcde19), 17503); in TEST_F() 334 (UInt128(0x1234567812345678) << 64) + UInt128(0x1234567812345678), -300, in TEST_F() 335 (UInt128(0x1861fd734ec30) << 64) + UInt128(0x8afa7189f0f7595f), 15510); in TEST_F() 340 UInt128 quadOutputMantissa = 0; in TEST_F() [all …]
|
| H A D | high_precision_decimal_test.cpp | 348 EXPECT_EQ(hpd.round_to_integer_type<UInt128>(), UInt128(1)); in TEST() 354 EXPECT_EQ(hpd.round_to_integer_type<UInt128>(), UInt128(2)); in TEST() 360 EXPECT_EQ(hpd.round_to_integer_type<UInt128>(), UInt128(5)); in TEST() 367 EXPECT_EQ(hpd.round_to_integer_type<UInt128>(), UInt128(2)); in TEST() 375 EXPECT_EQ(hpd.round_to_integer_type<UInt128>(), UInt128(3)); in TEST() 384 EXPECT_EQ(hpd.round_to_integer_type<UInt128>(), UInt128(1099511627776)); in TEST() 390 UInt128 result = UInt128(1) << 100; in TEST() 392 EXPECT_EQ(hpd.round_to_integer_type<UInt128>(), result); in TEST()
|
| /llvm-project-15.0.7/libc/src/__support/ |
| H A D | str_to_float.h | 120 UInt128 first_approx = in eisel_lemire() 121 static_cast<UInt128>(mantissa) * static_cast<UInt128>(power_of_ten[1]); in eisel_lemire() 124 UInt128 final_approx; in eisel_lemire() 136 UInt128 low_bits = in eisel_lemire() 137 static_cast<UInt128>(mantissa) * static_cast<UInt128>(power_of_ten[0]); in eisel_lemire() 138 UInt128 second_approx = in eisel_lemire() 224 UInt128 approx_upper = static_cast<UInt128>(high64(mantissa)) * 227 UInt128 approx_middle = static_cast<UInt128>(high64(mantissa)) * 232 UInt128 approx_lower = static_cast<UInt128>(low64(mantissa)) * 235 UInt128 final_approx_lower = [all …]
|
| /llvm-project-15.0.7/lldb/unittests/Utility/ |
| H A D | ScalarTest.cpp | 102 Scalar(std::pow(2.0f, 70.0f)).UInt128(APInt())); in TEST() 103 EXPECT_EQ(APInt(128, 0), Scalar(-std::pow(2.0f, 70.0f)).UInt128(APInt())); in TEST() 108 EXPECT_EQ(APInt(128, 1) << 70, Scalar(std::pow(2.0, 70.0)).UInt128(APInt())); in TEST() 109 EXPECT_EQ(APInt(128, 0), Scalar(-std::pow(2.0, 70.0)).UInt128(APInt())); in TEST() 296 EXPECT_EQ(APInt(64, 47), a.UInt128(APInt())); in TEST() 304 EXPECT_EQ(APInt(64, 47), a.UInt128(APInt())); in TEST() 367 EXPECT_EQ(APInt(width, 24), A.UInt128(APInt())); in TEST() 395 EXPECT_EQ(S.UInt128(APInt()), APInt(12, 0xfffu)); in TEST() 397 EXPECT_EQ(S.UInt128(APInt()), APInt(20, 0xfffffu)); in TEST() 399 EXPECT_EQ(S.UInt128(APInt()), APInt(24, 0x0fffffu)); in TEST() [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | mangle-ms-templates.cpp | 316 template<unsigned __int128 N> struct UInt128 {}; struct 324 void fun_uint128(UInt128<0>) {} in fun_uint128() 326 void fun_uint128(UInt128<(unsigned __int128)-1>) {} in fun_uint128() 328 void fun_uint128(UInt128<(unsigned __int128)9223372036854775807 * (unsigned __int128)92233720368547… in fun_uint128()
|
| /llvm-project-15.0.7/libc/src/__support/CPP/ |
| H A D | UInt128.h | 15 using UInt128 = __llvm_libc::cpp::UInt<128>; variable 17 using UInt128 = __uint128_t; variable
|
| H A D | CMakeLists.txt | 18 UInt128.h
|
| /llvm-project-15.0.7/lld/MachO/ |
| H A D | SyntheticSections.h | 554 using UInt128 = std::pair<uint64_t, uint64_t>; 557 static_assert(sizeof(UInt128) == 16, ""); 575 return literal16Map.at(*reinterpret_cast<const UInt128 *>(buf)) * 16; in getLiteral16Offset() 597 std::unordered_map<UInt128, uint64_t, Hasher<UInt128>> literal16Map;
|
| /llvm-project-15.0.7/libc/src/__support/FPUtil/ |
| H A D | FloatProperties.h | 110 typedef UInt128 BitsType; 146 typedef UInt128 BitsType;
|
| H A D | Hypot.h | 43 using Type = UInt128;
|
| /llvm-project-15.0.7/libc/utils/UnitTest/ |
| H A D | PrintfMatcher.cpp | 75 stream << "\tvalue: " << int_to_hex<UInt128>(form.conv_val_raw) << "\n"; in display()
|
| H A D | LibcTest.cpp | 53 std::string S(sizeof(UInt128) * 2, '0'); in describeValue128()
|
| /llvm-project-15.0.7/libc/src/__support/FPUtil/generic/ |
| H A D | sqrt_80_bit_long_double.h | 22 inline void normalize(int &exponent, UInt128 &mantissa) { in normalize()
|
| H A D | sqrt.h | 52 inline void normalize<long double>(int &exponent, UInt128 &mantissa) {
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/ |
| H A D | TypeIndex.cpp | 52 {"unsigned __int128*", SimpleTypeKind::UInt128},
|
| /llvm-project-15.0.7/libc/src/__support/FPUtil/x86_64/ |
| H A D | LongDoubleBits.h | 36 using UIntType = UInt128;
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | MisplacedWideningCastCheck.cpp | 120 case BuiltinType::UInt128: in relativeIntSizes()
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | TypeIndex.h | 57 UInt128 = 0x0079, // 128 bit unsigned int enumerator
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | Scalar.h | 175 llvm::APInt UInt128(const llvm::APInt &fail_value) const;
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTCommon.cpp | 53 case BuiltinType::UInt128: in TypeIdxFromBuiltin()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | NativeTypeEnum.cpp | 222 case SimpleTypeKind::UInt128: in getBuiltinType()
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | PdbUtil.cpp | 871 case SimpleTypeKind::UInt128: in GetCompilerTypeForSimpleKind() 899 case SimpleTypeKind::UInt128: in GetTypeSizeForSimpleKind()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CodeGenTBAA.cpp | 141 case BuiltinType::UInt128: in getTypeInfoHelper()
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | RegisterValue.cpp | 613 return m_scalar.UInt128(fail_value); in GetAsUInt128()
|