Lines Matching refs:_ExtInt

5   _ExtInt(Bounds) b;
6 unsigned _ExtInt(Bounds) b2;
10 _ExtInt(33) Declarations(_ExtInt(48) &Param) { // Useable in params and returns.
11 short _ExtInt(43) a; // expected-error {{'short _ExtInt' is invalid}} variable
12 _ExtInt(43) long b; // expected-error {{'long _ExtInt' is invalid}}
15 const _ExtInt(5) c = 3; variable
16 …const unsigned _ExtInt(5) d; // expected-error {{default initialization of an object of const type… variable
17 unsigned _ExtInt(5) e = 5; variable
18 _ExtInt(5) unsigned f;
20 _ExtInt(-3) g; // expected-error{{signed _ExtInt must have a bit size of at least 2}}
21 _ExtInt(0) h; // expected-error{{signed _ExtInt must have a bit size of at least 2}}
22 _ExtInt(1) i; // expected-error{{signed _ExtInt must have a bit size of at least 2}}
23 _ExtInt(2) j;;
24 unsigned _ExtInt(0) k;// expected-error{{unsigned _ExtInt must have a bit size of at least 1}} variable
25 unsigned _ExtInt(1) l; variable
26 signed _ExtInt(1) m; // expected-error{{signed _ExtInt must have a bit size of at least 2}} variable
28 …constexpr _ExtInt(6) n = 33; // expected-warning{{implicit conversion from 'int' to 'const _ExtInt… variable
29 constexpr _ExtInt(7) o = 33; variable
32_ExtInt(0xFFFFFFFFFF) p; // expected-error {{signed _ExtInt of bit sizes greater than 16777215 not…
33 …unsigned _ExtInt(0xFFFFFFFFFF) q; // expected-error {{unsigned _ExtInt of bit sizes greater than 1… variable
49_ExtInt(-3.0) v; // expected-error {{integral constant expression must have integral or unscoped e…
50_ExtInt(3.0) x; // expected-error {{integral constant expression must have integral or unscoped en…
55 template <_ExtInt(5) I>
57 static constexpr _ExtInt(5) Var = I;
63 void deduced_bound(_ExtInt(I)){} in deduced_bound()
68 constexpr _ExtInt(3) b = 1; in Templates() local
70 constexpr _ExtInt(9) d = 1; in Templates() local
88 typedef _ExtInt(32) __attribute__((vector_size(16))) VecTy;
91 _Complex _ExtInt(3) Cmplx; variable
95 _Atomic _ExtInt(4) TooSmallAtomic; variable
97 _Atomic _ExtInt(9) NotPow2Atomic; variable
99 _Atomic _ExtInt(128) JustRightAtomic; variable
103 _ExtInt(43) x43_s = 1, y43_s = 1; in Ops()
104 _ExtInt(sizeof(int) * 8) x32_s = 1, y32_s = 1; in Ops()
105 unsigned _ExtInt(sizeof(unsigned) * 8) x32_u = 1, y32_u = 1; in Ops() local
106 _ExtInt(4) x4_s = 1, y4_s = 1; in Ops()
107 unsigned _ExtInt(43) x43_u = 1, y43_u = 1; in Ops() local
108 unsigned _ExtInt(4) x4_u = 1, y4_u = 1; in Ops() local
138 static_assert(is_same<decltype(x43_s + x_int), _ExtInt(43)>::value, ""); in Ops()
139 static_assert(is_same<decltype(x43_u + x_int), unsigned _ExtInt(43)>::value, ""); in Ops()
163 static_assert(is_same<decltype(x43_s + y43_s), _ExtInt(43)>::value,""); in Ops()
164 static_assert(is_same<decltype(x4_s - y4_s), _ExtInt(4)>::value,""); in Ops()
165 static_assert(is_same<decltype(x43_u * y43_u), unsigned _ExtInt(43)>::value,""); in Ops()
166 static_assert(is_same<decltype(x4_u / y4_u), unsigned _ExtInt(4)>::value,""); in Ops()
169 static_assert(is_same<decltype(~x43_s), _ExtInt(43)>::value,""); in Ops()
170 static_assert(is_same<decltype(~x4_s), _ExtInt(4)>::value,""); in Ops()
171 static_assert(is_same<decltype(+x43_s), _ExtInt(43)>::value,""); in Ops()
172 static_assert(is_same<decltype(+x4_s), _ExtInt(4)>::value,""); in Ops()
173 static_assert(is_same<decltype(-x43_u), unsigned _ExtInt(43)>::value,""); in Ops()
174 static_assert(is_same<decltype(-x4_u), unsigned _ExtInt(4)>::value,""); in Ops()
176 static_assert(is_same<decltype(++x43_s), _ExtInt(43)&>::value,""); in Ops()
178 static_assert(is_same<decltype(--x4_s), _ExtInt(4)&>::value,""); in Ops()
180 static_assert(is_same<decltype(x43_s--), _ExtInt(43)>::value,""); in Ops()
182 static_assert(is_same<decltype(x4_s++), _ExtInt(4)>::value,""); in Ops()
183 static_assert(is_same<decltype(x4_s >> 1), _ExtInt(4)>::value,""); in Ops()
184 static_assert(is_same<decltype(x4_u << 1), unsigned _ExtInt(4)>::value,""); in Ops()
189 static_assert(sizeof(_ExtInt(3340)) == 424, ""); // 424 * 8 == 3392. in Ops()
190 static_assert(sizeof(_ExtInt(1049)) == 136, ""); // 136 * 8 == 1088. in Ops()
195 static_assert(alignof(_ExtInt(3340)) == 8, ""); in Ops()
196 static_assert(alignof(_ExtInt(1049)) == 8, ""); in Ops()
202 _ExtInt(func()) F; in ConstexprBitsize()
203 static_assert(is_same<decltype(F), _ExtInt(42)>::value, ""); in ConstexprBitsize()
207 enum AsEnumUnderlyingType : _ExtInt(33) {
211 void overloaded(_ExtInt(32));
212 void overloaded(_ExtInt(33));
215 void overloaded2(_ExtInt(32));
217 void overloaded2(_ExtInt(33));
223 _ExtInt(32) i32; in overload_use()
224 _ExtInt(33) i33; in overload_use()
242 _ExtInt(3) F : 3;
243 _ExtInt(3) G : 3;
244 _ExtInt(3) H : 3;
248_ExtInt(4) A : 8; // expected-warning {{width of bit-field 'A' (8 bits) exceeds the width of its t…
252 typedef _ExtInt(33) IllegalMode __attribute__((mode(DI)));
254 void ImplicitCasts(_ExtInt(31) s31, _ExtInt(33) s33, int i) {
266 void Ternary(_ExtInt(30) s30, _ExtInt(31) s31a, _ExtInt(31) s31b,
267 _ExtInt(32) s32, bool b) {
274 static_assert(is_same<decltype(b ? s30 : s31a), _ExtInt(31)>::value, "");
275 static_assert(is_same<decltype(b ? s32 : s30), _ExtInt(32)>::value, "");
281 _ExtInt(2) a2 = 1; in FromPaper1()
282 _ExtInt(3) a3 = 2; in FromPaper1()
283 _ExtInt(33) a33 = 1; in FromPaper1()
286 static_assert(is_same<decltype(a2 * a3), _ExtInt(3)>::value, ""); in FromPaper1()
288 static_assert(is_same<decltype(a33 * c), _ExtInt(33)>::value, ""); in FromPaper1()
291 void FromPaper2(_ExtInt(8) a1, _ExtInt(24) a2) {
292 static_assert(is_same<decltype(a1 * (_ExtInt(32))a2), _ExtInt(32)>::value, "");