Lines Matching refs:LL_UInt128
16 using LL_UInt128 = __llvm_libc::cpp::UInt<128>; typedef
19 LL_UInt128 empty; in TEST()
20 LL_UInt128 half_val(12345); in TEST()
21 LL_UInt128 full_val({12345, 67890}); in TEST()
26 LL_UInt128 val1(12345); in TEST()
27 LL_UInt128 val2(54321); in TEST()
28 LL_UInt128 result1(66666); in TEST()
33 LL_UInt128 val3({0xf000000000000001, 0}); in TEST()
34 LL_UInt128 val4({0x100000000000000f, 0}); in TEST()
35 LL_UInt128 result2({0x10, 0x1}); in TEST()
41 LL_UInt128 val1({5, 0}); in TEST()
42 LL_UInt128 val2({10, 0}); in TEST()
43 LL_UInt128 result1({50, 0}); in TEST()
48 LL_UInt128 val3({0xf, 0}); in TEST()
49 LL_UInt128 val4({0x1111111111111111, 0x1111111111111111}); in TEST()
50 LL_UInt128 result2({0xffffffffffffffff, 0xffffffffffffffff}); in TEST()
55 LL_UInt128 val5({2, 0}); in TEST()
56 LL_UInt128 val6({0x1357024675316420, 0x0123456776543210}); in TEST()
57 LL_UInt128 result3({0x26ae048cea62c840, 0x02468aceeca86420}); in TEST()
63 LL_UInt128 val7(2); in TEST()
64 LL_UInt128 val8({0x8000800080008000, 0x8000800080008000}); in TEST()
65 LL_UInt128 result4({0x0001000100010000, 0x0001000100010001}); in TEST()
73 LL_UInt128 val9({0x01D762422C946590, 0x9F4F2726179A2245}); in TEST()
74 LL_UInt128 val10({0x3792F412CB06794D, 0xCDB02555653131B6}); in TEST()
75 LL_UInt128 result5({0x917cf11d1e039c50, 0x3a4f32d17f40d08f}); in TEST()
81 LL_UInt128 val1(0x0123456789abcdef); in TEST()
82 LL_UInt128 result1(0x123456789abcdef0); in TEST()
85 LL_UInt128 val2({0x13579bdf02468ace, 0x123456789abcdef0}); in TEST()
86 LL_UInt128 result2({0x02468ace00000000, 0x9abcdef013579bdf}); in TEST()
88 LL_UInt128 val22 = val2; in TEST()
92 LL_UInt128 result3({0, 0x13579bdf02468ace}); in TEST()
95 LL_UInt128 result4({0, 0x02468ace00000000}); in TEST()
98 LL_UInt128 result5({0, 0x2468ace000000000}); in TEST()
101 LL_UInt128 result6({0, 0}); in TEST()
107 LL_UInt128 val1(0x0123456789abcdef); in TEST()
108 LL_UInt128 result1(0x00123456789abcde); in TEST()
111 LL_UInt128 val2({0x13579bdf02468ace, 0x123456789abcdef0}); in TEST()
112 LL_UInt128 result2({0x9abcdef013579bdf, 0x0000000012345678}); in TEST()
114 LL_UInt128 val22 = val2; in TEST()
118 LL_UInt128 result3({0x123456789abcdef0, 0}); in TEST()
121 LL_UInt128 result4({0x0000000012345678, 0}); in TEST()
124 LL_UInt128 result5({0x0000000001234567, 0}); in TEST()
127 LL_UInt128 result6({0, 0}); in TEST()
133 LL_UInt128 base({0xffff00000000ffff, 0xffffffff00000000}); in TEST()
134 LL_UInt128 val128({0xf0f0f0f00f0f0f0f, 0xff00ff0000ff00ff}); in TEST()
137 LL_UInt128 result128({0xf0f0000000000f0f, 0xff00ff0000000000}); in TEST()
138 LL_UInt128 result64(0xf0f0000000000f0f); in TEST()
139 LL_UInt128 result32(0x00000f0f); in TEST()
146 LL_UInt128 base({0xffff00000000ffff, 0xffffffff00000000}); in TEST()
147 LL_UInt128 val128({0xf0f0f0f00f0f0f0f, 0xff00ff0000ff00ff}); in TEST()
150 LL_UInt128 result128({0xfffff0f00f0fffff, 0xffffffff00ff00ff}); in TEST()
151 LL_UInt128 result64({0xfffff0f00f0fffff, 0xffffffff00000000}); in TEST()
152 LL_UInt128 result32({0xffff00000f0fffff, 0xffffffff00000000}); in TEST()
159 LL_UInt128 x({0xffff00000000ffff, 0xffffffff00000000}); in TEST()
160 LL_UInt128 b({0xf0f0f0f00f0f0f0f, 0xff00ff0000ff00ff}); in TEST()
162 LL_UInt128 a = x; in TEST()
164 LL_UInt128 or_result({0xfffff0f00f0fffff, 0xffffffff00ff00ff}); in TEST()
169 LL_UInt128 and_result({0xf0f0000000000f0f, 0xff00ff0000000000}); in TEST()
174 LL_UInt128 xor_result({0x0f0ff0f00f0ff0f0, 0x00ff00ff00ff00ff}); in TEST()
177 a = LL_UInt128(uint64_t(0x0123456789abcdef)); in TEST()
178 LL_UInt128 shift_left_result(uint64_t(0x123456789abcdef0)); in TEST()
182 a = LL_UInt128(uint64_t(0x123456789abcdef1)); in TEST()
183 LL_UInt128 shift_right_result(uint64_t(0x0123456789abcdef)); in TEST()
187 a = LL_UInt128({0xf000000000000001, 0}); in TEST()
188 b = LL_UInt128({0x100000000000000f, 0}); in TEST()
189 LL_UInt128 add_result({0x10, 0x1}); in TEST()
193 a = LL_UInt128({0xf, 0}); in TEST()
194 b = LL_UInt128({0x1111111111111111, 0x1111111111111111}); in TEST()
195 LL_UInt128 mul_result({0xffffffffffffffff, 0xffffffffffffffff}); in TEST()
201 LL_UInt128 a = LL_UInt128({0x1111111111111111, 0x1111111111111111}); in TEST()
203 EXPECT_EQ(a, LL_UInt128({0x1111111111111112, 0x1111111111111111})); in TEST()
205 a = LL_UInt128({0xffffffffffffffff, 0x0}); in TEST()
207 EXPECT_EQ(a, LL_UInt128({0x0, 0x1})); in TEST()
209 a = LL_UInt128({0xffffffffffffffff, 0xffffffffffffffff}); in TEST()
211 EXPECT_EQ(a, LL_UInt128({0x0, 0x0})); in TEST()
215 LL_UInt128 a1({0xffffffff00000000, 0xffff00000000ffff}); in TEST()
216 LL_UInt128 a2({0xffffffff00000000, 0xffff00000000ffff}); in TEST()
217 LL_UInt128 b({0xff00ff0000ff00ff, 0xf0f0f0f00f0f0f0f}); in TEST()
218 LL_UInt128 a_reversed({0xffff00000000ffff, 0xffffffff00000000}); in TEST()
219 LL_UInt128 a_upper(0xffff00000000ffff); in TEST()
220 LL_UInt128 a_lower(0xffffffff00000000); in TEST()
231 LL_UInt128 a({0xffffffff00000000, 0xffff00000000ffff}); in TEST()
232 LL_UInt128 b({0xff00ff0000ff00ff, 0xf0f0f0f00f0f0f0f}); in TEST()
238 LL_UInt128 x(0xffffffff00000000); in TEST()
239 LL_UInt128 y(0x00000000ffffffff); in TEST()