| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | ext-int.cpp | 5 _BitInt(Bounds) b; 10 _BitInt(33) Declarations(_BitInt(48) &Param) { // Useable in params and returns. 15 const _BitInt(5) c = 3; variable 18 _BitInt(5) unsigned f; 23 _BitInt(2) j;; 217 _BitInt(32) i32; in overload_use() 218 _BitInt(33) i33; in overload_use() 236 _BitInt(3) F : 3; 248 void ImplicitCasts(_BitInt(31) s31, _BitInt(33) s33, int i) { 260 void Ternary(_BitInt(30) s30, _BitInt(31) s31a, _BitInt(31) s31b, [all …]
|
| H A D | has_unique_object_reps_bitint.cpp | 8 static_assert(__has_unique_object_representations(_BitInt(24)) == (sizeof(_BitInt(24)) == 3)); 18 … static_assert(__has_unique_object_representations(_BitInt(N)) == (sizeof(_BitInt(N)) * 8u == N)); in check() 19 …atic_assert(__has_unique_object_representations(unsigned _BitInt(N)) == (sizeof(unsigned _BitInt(N… in check() 34 _BitInt(N) x; 44 _BitInt(7) x : 7; 45 unsigned _BitInt(1) y : 1; 51 _BitInt(8) x : 7; 57 _BitInt(15) x : 8; 64 _BitInt(129) x : 128; 71 _BitInt(2) x : 8; [all …]
|
| H A D | ext-int-asm.cpp | 4 void NotAllowedInInlineAsm(_BitInt(9) in, _BitInt(9) out) {
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | ext-int.cpp | 20 _BitInt(7) A : 3; 21 _BitInt(7) B : 3; 52 _BitInt(35) A; 59 _BitInt(35) B; 65 _BitInt(35) B; 125 _BitInt(33) ManglingTestRetParam(_BitInt(33) Param) { 143 _BitInt(93) A; in ManglingInstantiator() 180 _BitInt(92) A = __builtin_va_arg(args, _BitInt(92)); in TakesVarargs() 213 _BitInt(31) B = __builtin_va_arg(args, _BitInt(31)); in TakesVarargs() 244 _BitInt(16) C = __builtin_va_arg(args, _BitInt(16)); in TakesVarargs() [all …]
|
| H A D | debug-info-simple-template-names.cpp | 118 f1<_BitInt(3)>(); in f() 121 f1<const unsigned _BitInt(5)>(); in f()
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | ext-int.c | 3 typedef _BitInt(31) EI31; 5 void Ternary(_BitInt(30) s30, EI31 s31a, _BitInt(31) s31b, 21 _BitInt(4) x4_s = 1; in Ops() 22 _BitInt(32) x32_s = 1; in Ops() 23 _BitInt(43) x43_s = 1; in Ops() 24 unsigned _BitInt(4) x4_u = 1; in Ops() 63 _BitInt(2) a2 = 1; in FromPaper1() 64 _BitInt(3) a3 = 2; in FromPaper1() 65 _BitInt(33) a33 = 1; in FromPaper1() 73 void FromPaper2(_BitInt(8) a1, _BitInt(24) a2) { [all …]
|
| H A D | builtins-overflow.c | 24 _BitInt(128) x = 1; in test() 25 _BitInt(128) y = 1; in test() 26 _BitInt(128) result; in test() 31 unsigned _BitInt(129) x = 1; in test() 32 unsigned _BitInt(129) y = 1; in test() 33 unsigned _BitInt(129) result; in test() 37 _BitInt(129) x = 1; in test() 38 _BitInt(129) y = 1; in test() 39 _BitInt(129) result; in test()
|
| H A D | large-bit-int.c | 6 _BitInt(1024) a; in f() 7 unsigned _BitInt(1024) b; in f() 9 …_BitInt(8388609) c; // expected-error {{signed _BitInt of bit sizes greater than 10… in f() 10 …unsigned _BitInt(0xFFFFFFFFFF) d; // expected-error {{unsigned _BitInt of bit sizes greater than 1… in f()
|
| H A D | builtins.c | 283 void test_ei_i42i(_BitInt(42) *ptr, int value) { 291 void test_ei_i64i(_BitInt(64) *ptr, int value) { 299 void test_ei_ii42(int *ptr, _BitInt(42) value) { 305 void test_ei_ii64(int *ptr, _BitInt(64) value) { 311 void test_ei_i42i42(_BitInt(42) *ptr, _BitInt(42) value) { 317 void test_ei_i64i64(_BitInt(64) *ptr, _BitInt(64) value) {
|
| H A D | builtins-elementwise-math.c | 70 _BitInt(32) ext; // expected-warning {{'_BitInt' in C17 and earlier is a Clang extension}} in test_builtin_elementwise_add_sat() 128 _BitInt(32) ext; // expected-warning {{'_BitInt' in C17 and earlier is a Clang extension}} in test_builtin_elementwise_sub_sat() 183 _BitInt(32) ext; // expected-warning {{'_BitInt' in C17 and earlier is a Clang extension}} in test_builtin_elementwise_max() 238 _BitInt(32) ext; // expected-warning {{'_BitInt' in C17 and earlier is a Clang extension}} in test_builtin_elementwise_min()
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | ext-int.c | 6 void GenericTest(_BitInt(3) a, unsigned _BitInt(3) b, _BitInt(4) c) { 8 int which = _Generic(a, _BitInt(3): 1, unsigned _BitInt(3) : 2, _BitInt(4) : 3); 10 int which2 = _Generic(b, _BitInt(3): 1, unsigned _BitInt(3) : 2, _BitInt(4) : 3); 12 int which3 = _Generic(c, _BitInt(3): 1, unsigned _BitInt(3) : 2, _BitInt(4) : 3); 16 void VLATest(_BitInt(3) A, _BitInt(99) B, _BitInt(123) C) { 30 _BitInt(17) A; 31 _BitInt(128) B; 32 _BitInt(17) C; 49 void Size1ExtIntParam(unsigned _BitInt(1) A) { 54 unsigned _BitInt(1) B[5];
|
| H A D | ext-int-sanitizer.cpp | 22 _BitInt(34) a = e1; in Enum() 26 _BitInt(34) b = e2; in Enum() 32 _BitInt(34) c = e3; in Enum() 40 _BitInt(10) E = f; in FloatOverflow() 43 _BitInt(10) E2 = d; in FloatOverflow() 46 _BitInt(7) E3 = f; in FloatOverflow() 49 _BitInt(7) E4 = d; in FloatOverflow() 77 void IntTruncation(_BitInt(35) E, unsigned _BitInt(42) UE, int i, unsigned j) { 123 void SignChangeCheck(unsigned _BitInt(39) UE, _BitInt(39) E) { 144 void DivByZero(_BitInt(11) E, int i) { [all …]
|
| H A D | ext-int-cc.c | 32 void ParamPassing(_BitInt(128) b, _BitInt(64) c) {} 61 void ParamPassing2(_BitInt(127) b, _BitInt(63) c) {} 91 void ParamPassing3(_BitInt(15) a, _BitInt(31) b) {} 125 void ParamPassing4(_BitInt(129) a) {} 155 _BitInt(63) ReturnPassing(void){} in ReturnPassing() 184 _BitInt(64) ReturnPassing2(void){} in ReturnPassing2() 213 _BitInt(127) ReturnPassing3(void){} in ReturnPassing3() 244 _BitInt(128) ReturnPassing4(void){} in ReturnPassing4() 274 _BitInt(129) ReturnPassing5(void){} in ReturnPassing5() 305 _BitInt(256) ReturnPassing6(void) {} in ReturnPassing6() [all …]
|
| H A D | builtins-elementwise-math.c | 14 _BitInt(31) bi1, _BitInt(31) bi2) { 63 _BitInt(31) bi1, _BitInt(31) bi2, 64 unsigned _BitInt(55) bu1, unsigned _BitInt(55) bu2) { 112 _BitInt(31) bi1, _BitInt(31) bi2, 113 unsigned _BitInt(55) bu1, unsigned _BitInt(55) bu2) { 161 _BitInt(31) bi1, _BitInt(31) bi2, 162 unsigned _BitInt(55) bu1, unsigned _BitInt(55) bu2) { 241 _BitInt(31) bi1, _BitInt(31) bi2, 242 unsigned _BitInt(55) bu1, unsigned _BitInt(55) bu2) {
|
| H A D | builtins-overflow.c | 44 int test_add_overflow_xint31_xint31_xint31(_BitInt(31) x, _BitInt(31) y) { 52 _BitInt(31) r; 86 int test_sub_overflow_xint31_xint31_xint31(_BitInt(31) x, _BitInt(31) y) { 94 _BitInt(31) r; 173 int test_mul_overflow_xint31_xint31_xint31(_BitInt(31) x, _BitInt(31) y) { 181 _BitInt(31) r; 187 int test_mul_overflow_xint127_xint127_xint127(_BitInt(127) x, _BitInt(127) y) { 195 _BitInt(127) r; 201 int test_mul_overflow_xint128_xint128_xint128(_BitInt(128) x, _BitInt(128) y) { 209 _BitInt(128) r;
|
| H A D | attr-noundef.cpp | 140 _BitInt(3) ret_BitInt() { in ret_BitInt() 143 void pass_BitInt(_BitInt(3) e) { 145 void pass_large_BitInt(_BitInt(127) e) {
|
| H A D | extend-arg-64.c | 35 _BitInt(23) ei23;
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | implicit-widening-of-multiplication-result-extint.cpp | 4 _BitInt(64) t0(_BitInt(32) a, _BitInt(32) b) { 10 unsigned _BitInt(64) t1(_BitInt(32) a, _BitInt(32) b) { 16 _BitInt(64) t2(unsigned _BitInt(32) a, unsigned _BitInt(32) b) {
|
| /llvm-project-15.0.7/clang/test/Lexer/ |
| H A D | bitint-constants.c | 47 unsigned _BitInt(65) Val = 18446744073709551616uwb; 148 _Static_assert(__builtin_types_compatible_p(__typeof__(3wb), _BitInt(3))); in TestTypes() 150 _Static_assert(__builtin_types_compatible_p(__typeof__(-3wb), _BitInt(3))); in TestTypes() 152 _Static_assert(__builtin_types_compatible_p(__typeof__(3uwb), unsigned _BitInt(2))); in TestTypes() 154 _Static_assert(__builtin_types_compatible_p(__typeof__(0xFwb), _BitInt(5))); in TestTypes() 156 _Static_assert(__builtin_types_compatible_p(__typeof__(-0xFwb), _BitInt(5))); in TestTypes() 158 _Static_assert(__builtin_types_compatible_p(__typeof__(0xFuwb), unsigned _BitInt(4))); in TestTypes()
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | ext-int.cpp | 8 _BitInt(32} a; 11 _BitInt(32* ) b; 15 _BitInt{32} c;
|
| H A D | cxx2a-concepts-requires-expr.cpp | 153 typename _BitInt(N); // expected-error {{expected a qualified name after 'typename'}} 157 using BitInt = _BitInt(N);
|
| /llvm-project-15.0.7/clang/test/CodeGenObjC/ |
| H A D | encode-test-bitint.m | 3 // Using a _BitInt as a block parameter or return type previously would crash 8 __auto_type blk = ^int(unsigned _BitInt(64) len) 16 __auto_type blk = ^unsigned _BitInt(64)(int len)
|
| /llvm-project-15.0.7/clang/test/CXX/temp/temp.param/ |
| H A D | p7.cpp | 33 template<_BitInt(42) ei> struct ExtInt; 66 _BitInt(42) ei;
|
| /llvm-project-15.0.7/libcxx/test/libcxx/atomics/ |
| H A D | bit-int.verify.cpp | 25 std::atomic<_BitInt(32)> x(42); in main()
|
| /llvm-project-15.0.7/clang/test/CodeGenOpenCL/ |
| H A D | ext-int-shift.cl | 3 void Shifts(_BitInt(12) E, int i) {
|