Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Preprocessor / init-aarch64.c
blob2b7cc57f230333386feb3231a0eb4718aacf94f5
1 // RUN: %clang_cc1 -E -dM -triple=aarch64 -xc /dev/null > %t.aarch64
2 // RUN: FileCheck --check-prefixes=AARCH64,AARCH64_LE,AARCH64_C %s --match-full-lines < %t.aarch64
3 // RUN: %clang_cc1 -E -dM -triple=arm64 -xc /dev/null > %t.arm64
4 // RUN: cmp %t.aarch64 %t.arm64
5 // RUN: %clang_cc1 -E -dM -triple=aarch64_be -xc /dev/null | FileCheck --check-prefixes=AARCH64,AARCH64_BE,AARCH64_C --match-full-lines %s
6 // RUN: %clang_cc1 -E -dM -triple=arm64 -xc++ /dev/null | FileCheck --check-prefixes=AARCH64,AARCH64_LE,AARCH64_CXX --match-full-lines %s
8 // AARCH64: #define _LP64 1
9 // AARCH64_BE-NEXT: #define __AARCH64EB__ 1
10 // AARCH64_BE-NEXT: #define __AARCH64_CMODEL_SMALL__ 1
11 // AARCH64_BE-NEXT: #define __AARCH_BIG_ENDIAN 1
12 // AARCH64_LE-NEXT: #define __AARCH64EL__ 1
13 // AARCH64_LE-NEXT: #define __AARCH64_CMODEL_SMALL__ 1
14 // AARCH64-NEXT: #define __ARM_64BIT_STATE 1
15 // AARCH64-NEXT: #define __ARM_ACLE 200
16 // AARCH64-NEXT: #define __ARM_ALIGN_MAX_STACK_PWR 4
17 // AARCH64-NEXT: #define __ARM_ARCH 8
18 // AARCH64-NEXT: #define __ARM_ARCH_ISA_A64 1
19 // AARCH64-NEXT: #define __ARM_ARCH_PROFILE 'A'
20 // AARCH64_BE-NEXT: #define __ARM_BIG_ENDIAN 1
21 // AARCH64-NEXT: #define __ARM_FEATURE_CLZ 1
22 // AARCH64-NEXT: #define __ARM_FEATURE_DIRECTED_ROUNDING 1
23 // AARCH64-NEXT: #define __ARM_FEATURE_DIV 1
24 // AARCH64-NEXT: #define __ARM_FEATURE_FMA 1
25 // AARCH64-NEXT: #define __ARM_FEATURE_IDIV 1
26 // AARCH64-NEXT: #define __ARM_FEATURE_LDREX 0xF
27 // AARCH64-NEXT: #define __ARM_FEATURE_NUMERIC_MAXMIN 1
28 // AARCH64-NEXT: #define __ARM_FEATURE_UNALIGNED 1
29 // AARCH64-NEXT: #define __ARM_FP 0xE
30 // AARCH64-NEXT: #define __ARM_FP16_ARGS 1
31 // AARCH64-NEXT: #define __ARM_FP16_FORMAT_IEEE 1
32 // AARCH64-NEXT: #define __ARM_PCS_AAPCS64 1
33 // AARCH64-NEXT: #define __ARM_SIZEOF_MINIMAL_ENUM 4
34 // AARCH64-NEXT: #define __ARM_SIZEOF_WCHAR_T 4
35 // AARCH64-NEXT: #define __ATOMIC_ACQUIRE 2
36 // AARCH64-NEXT: #define __ATOMIC_ACQ_REL 4
37 // AARCH64-NEXT: #define __ATOMIC_CONSUME 1
38 // AARCH64-NEXT: #define __ATOMIC_RELAXED 0
39 // AARCH64-NEXT: #define __ATOMIC_RELEASE 3
40 // AARCH64-NEXT: #define __ATOMIC_SEQ_CST 5
41 // AARCH64: #define __BIGGEST_ALIGNMENT__ 16
42 // AARCH64_BE-NEXT: #define __BIG_ENDIAN__ 1
43 // AARCH64-NEXT: #define __BITINT_MAXWIDTH__ 128
44 // AARCH64-NEXT: #define __BOOL_WIDTH__ 8
45 // AARCH64_BE-NEXT: #define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
46 // AARCH64_LE-NEXT: #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
47 // AARCH64-NEXT: #define __CHAR16_TYPE__ unsigned short
48 // AARCH64-NEXT: #define __CHAR32_TYPE__ unsigned int
49 // AARCH64-NEXT: #define __CHAR_BIT__ 8
50 // AARCH64-NEXT: #define __CLANG_ATOMIC_BOOL_LOCK_FREE 2
51 // AARCH64-NEXT: #define __CLANG_ATOMIC_CHAR16_T_LOCK_FREE 2
52 // AARCH64-NEXT: #define __CLANG_ATOMIC_CHAR32_T_LOCK_FREE 2
53 // AARCH64-NEXT: #define __CLANG_ATOMIC_CHAR_LOCK_FREE 2
54 // AARCH64-NEXT: #define __CLANG_ATOMIC_INT_LOCK_FREE 2
55 // AARCH64-NEXT: #define __CLANG_ATOMIC_LLONG_LOCK_FREE 2
56 // AARCH64-NEXT: #define __CLANG_ATOMIC_LONG_LOCK_FREE 2
57 // AARCH64-NEXT: #define __CLANG_ATOMIC_POINTER_LOCK_FREE 2
58 // AARCH64-NEXT: #define __CLANG_ATOMIC_SHORT_LOCK_FREE 2
59 // AARCH64-NEXT: #define __CLANG_ATOMIC_WCHAR_T_LOCK_FREE 2
60 // AARCH64-NEXT: #define __CONSTANT_CFSTRINGS__ 1
61 // AARCH64-NEXT: #define __DBL_DECIMAL_DIG__ 17
62 // AARCH64-NEXT: #define __DBL_DENORM_MIN__ 4.9406564584124654e-324
63 // AARCH64-NEXT: #define __DBL_DIG__ 15
64 // AARCH64-NEXT: #define __DBL_EPSILON__ 2.2204460492503131e-16
65 // AARCH64-NEXT: #define __DBL_HAS_DENORM__ 1
66 // AARCH64-NEXT: #define __DBL_HAS_INFINITY__ 1
67 // AARCH64-NEXT: #define __DBL_HAS_QUIET_NAN__ 1
68 // AARCH64-NEXT: #define __DBL_MANT_DIG__ 53
69 // AARCH64-NEXT: #define __DBL_MAX_10_EXP__ 308
70 // AARCH64-NEXT: #define __DBL_MAX_EXP__ 1024
71 // AARCH64-NEXT: #define __DBL_MAX__ 1.7976931348623157e+308
72 // AARCH64-NEXT: #define __DBL_MIN_10_EXP__ (-307)
73 // AARCH64-NEXT: #define __DBL_MIN_EXP__ (-1021)
74 // AARCH64-NEXT: #define __DBL_MIN__ 2.2250738585072014e-308
75 // AARCH64-NEXT: #define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
76 // AARCH64-NEXT: #define __ELF__ 1
77 // AARCH64-NEXT: #define __FINITE_MATH_ONLY__ 0
78 // AARCH64-NEXT: #define __FLT16_DECIMAL_DIG__ 5
79 // AARCH64-NEXT: #define __FLT16_DENORM_MIN__ 5.9604644775390625e-8F16
80 // AARCH64-NEXT: #define __FLT16_DIG__ 3
81 // AARCH64-NEXT: #define __FLT16_EPSILON__ 9.765625e-4F16
82 // AARCH64-NEXT: #define __FLT16_HAS_DENORM__ 1
83 // AARCH64-NEXT: #define __FLT16_HAS_INFINITY__ 1
84 // AARCH64-NEXT: #define __FLT16_HAS_QUIET_NAN__ 1
85 // AARCH64-NEXT: #define __FLT16_MANT_DIG__ 11
86 // AARCH64-NEXT: #define __FLT16_MAX_10_EXP__ 4
87 // AARCH64-NEXT: #define __FLT16_MAX_EXP__ 16
88 // AARCH64-NEXT: #define __FLT16_MAX__ 6.5504e+4F16
89 // AARCH64-NEXT: #define __FLT16_MIN_10_EXP__ (-4)
90 // AARCH64-NEXT: #define __FLT16_MIN_EXP__ (-13)
91 // AARCH64-NEXT: #define __FLT16_MIN__ 6.103515625e-5F16
92 // AARCH64-NEXT: #define __FLT_DECIMAL_DIG__ 9
93 // AARCH64-NEXT: #define __FLT_DENORM_MIN__ 1.40129846e-45F
94 // AARCH64-NEXT: #define __FLT_DIG__ 6
95 // AARCH64-NEXT: #define __FLT_EPSILON__ 1.19209290e-7F
96 // AARCH64-NEXT: #define __FLT_HAS_DENORM__ 1
97 // AARCH64-NEXT: #define __FLT_HAS_INFINITY__ 1
98 // AARCH64-NEXT: #define __FLT_HAS_QUIET_NAN__ 1
99 // AARCH64-NEXT: #define __FLT_MANT_DIG__ 24
100 // AARCH64-NEXT: #define __FLT_MAX_10_EXP__ 38
101 // AARCH64-NEXT: #define __FLT_MAX_EXP__ 128
102 // AARCH64-NEXT: #define __FLT_MAX__ 3.40282347e+38F
103 // AARCH64-NEXT: #define __FLT_MIN_10_EXP__ (-37)
104 // AARCH64-NEXT: #define __FLT_MIN_EXP__ (-125)
105 // AARCH64-NEXT: #define __FLT_MIN__ 1.17549435e-38F
106 // AARCH64-NEXT: #define __FLT_RADIX__ 2
107 // AARCH64-NEXT: #define __FPCLASS_NEGINF 0x0004
108 // AARCH64-NEXT: #define __FPCLASS_NEGNORMAL 0x0008
109 // AARCH64-NEXT: #define __FPCLASS_NEGSUBNORMAL 0x0010
110 // AARCH64-NEXT: #define __FPCLASS_NEGZERO 0x0020
111 // AARCH64-NEXT: #define __FPCLASS_POSINF 0x0200
112 // AARCH64-NEXT: #define __FPCLASS_POSNORMAL 0x0100
113 // AARCH64-NEXT: #define __FPCLASS_POSSUBNORMAL 0x0080
114 // AARCH64-NEXT: #define __FPCLASS_POSZERO 0x0040
115 // AARCH64-NEXT: #define __FPCLASS_QNAN 0x0002
116 // AARCH64-NEXT: #define __FPCLASS_SNAN 0x0001
117 // AARCH64-NEXT: #define __FP_FAST_FMA 1
118 // AARCH64-NEXT: #define __FP_FAST_FMAF 1
119 // AARCH64-NEXT: #define __GCC_ASM_FLAG_OUTPUTS__ 1
120 // AARCH64-NEXT: #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1
121 // AARCH64-NEXT: #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1
122 // AARCH64-NEXT: #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1
123 // AARCH64-NEXT: #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1
124 // AARCH64_CXX-NEXT: #define __GLIBCXX_BITSIZE_INT_N_0 128
125 // AARCH64_CXX-NEXT: #define __GLIBCXX_TYPE_INT_N_0 __int128
126 // AARCH64-NEXT: #define __HAVE_FUNCTION_MULTI_VERSIONING 1
127 // AARCH64-NEXT: #define __INT16_C_SUFFIX__
128 // AARCH64-NEXT: #define __INT16_FMTd__ "hd"
129 // AARCH64-NEXT: #define __INT16_FMTi__ "hi"
130 // AARCH64-NEXT: #define __INT16_MAX__ 32767
131 // AARCH64-NEXT: #define __INT16_TYPE__ short
132 // AARCH64-NEXT: #define __INT32_C_SUFFIX__
133 // AARCH64-NEXT: #define __INT32_FMTd__ "d"
134 // AARCH64-NEXT: #define __INT32_FMTi__ "i"
135 // AARCH64-NEXT: #define __INT32_MAX__ 2147483647
136 // AARCH64-NEXT: #define __INT32_TYPE__ int
137 // AARCH64-NEXT: #define __INT64_C_SUFFIX__ L
138 // AARCH64-NEXT: #define __INT64_FMTd__ "ld"
139 // AARCH64-NEXT: #define __INT64_FMTi__ "li"
140 // AARCH64-NEXT: #define __INT64_MAX__ 9223372036854775807L
141 // AARCH64-NEXT: #define __INT64_TYPE__ long int
142 // AARCH64-NEXT: #define __INT8_C_SUFFIX__
143 // AARCH64-NEXT: #define __INT8_FMTd__ "hhd"
144 // AARCH64-NEXT: #define __INT8_FMTi__ "hhi"
145 // AARCH64-NEXT: #define __INT8_MAX__ 127
146 // AARCH64-NEXT: #define __INT8_TYPE__ signed char
147 // AARCH64-NEXT: #define __INTMAX_C_SUFFIX__ L
148 // AARCH64-NEXT: #define __INTMAX_FMTd__ "ld"
149 // AARCH64-NEXT: #define __INTMAX_FMTi__ "li"
150 // AARCH64-NEXT: #define __INTMAX_MAX__ 9223372036854775807L
151 // AARCH64-NEXT: #define __INTMAX_TYPE__ long int
152 // AARCH64-NEXT: #define __INTMAX_WIDTH__ 64
153 // AARCH64-NEXT: #define __INTPTR_FMTd__ "ld"
154 // AARCH64-NEXT: #define __INTPTR_FMTi__ "li"
155 // AARCH64-NEXT: #define __INTPTR_MAX__ 9223372036854775807L
156 // AARCH64-NEXT: #define __INTPTR_TYPE__ long int
157 // AARCH64-NEXT: #define __INTPTR_WIDTH__ 64
158 // AARCH64-NEXT: #define __INT_FAST16_FMTd__ "hd"
159 // AARCH64-NEXT: #define __INT_FAST16_FMTi__ "hi"
160 // AARCH64-NEXT: #define __INT_FAST16_MAX__ 32767
161 // AARCH64-NEXT: #define __INT_FAST16_TYPE__ short
162 // AARCH64-NEXT: #define __INT_FAST16_WIDTH__ 16
163 // AARCH64-NEXT: #define __INT_FAST32_FMTd__ "d"
164 // AARCH64-NEXT: #define __INT_FAST32_FMTi__ "i"
165 // AARCH64-NEXT: #define __INT_FAST32_MAX__ 2147483647
166 // AARCH64-NEXT: #define __INT_FAST32_TYPE__ int
167 // AARCH64-NEXT: #define __INT_FAST32_WIDTH__ 32
168 // AARCH64-NEXT: #define __INT_FAST64_FMTd__ "ld"
169 // AARCH64-NEXT: #define __INT_FAST64_FMTi__ "li"
170 // AARCH64-NEXT: #define __INT_FAST64_MAX__ 9223372036854775807L
171 // AARCH64-NEXT: #define __INT_FAST64_TYPE__ long int
172 // AARCH64-NEXT: #define __INT_FAST64_WIDTH__ 64
173 // AARCH64-NEXT: #define __INT_FAST8_FMTd__ "hhd"
174 // AARCH64-NEXT: #define __INT_FAST8_FMTi__ "hhi"
175 // AARCH64-NEXT: #define __INT_FAST8_MAX__ 127
176 // AARCH64-NEXT: #define __INT_FAST8_TYPE__ signed char
177 // AARCH64-NEXT: #define __INT_FAST8_WIDTH__ 8
178 // AARCH64-NEXT: #define __INT_LEAST16_FMTd__ "hd"
179 // AARCH64-NEXT: #define __INT_LEAST16_FMTi__ "hi"
180 // AARCH64-NEXT: #define __INT_LEAST16_MAX__ 32767
181 // AARCH64-NEXT: #define __INT_LEAST16_TYPE__ short
182 // AARCH64-NEXT: #define __INT_LEAST16_WIDTH__ 16
183 // AARCH64-NEXT: #define __INT_LEAST32_FMTd__ "d"
184 // AARCH64-NEXT: #define __INT_LEAST32_FMTi__ "i"
185 // AARCH64-NEXT: #define __INT_LEAST32_MAX__ 2147483647
186 // AARCH64-NEXT: #define __INT_LEAST32_TYPE__ int
187 // AARCH64-NEXT: #define __INT_LEAST32_WIDTH__ 32
188 // AARCH64-NEXT: #define __INT_LEAST64_FMTd__ "ld"
189 // AARCH64-NEXT: #define __INT_LEAST64_FMTi__ "li"
190 // AARCH64-NEXT: #define __INT_LEAST64_MAX__ 9223372036854775807L
191 // AARCH64-NEXT: #define __INT_LEAST64_TYPE__ long int
192 // AARCH64-NEXT: #define __INT_LEAST64_WIDTH__ 64
193 // AARCH64-NEXT: #define __INT_LEAST8_FMTd__ "hhd"
194 // AARCH64-NEXT: #define __INT_LEAST8_FMTi__ "hhi"
195 // AARCH64-NEXT: #define __INT_LEAST8_MAX__ 127
196 // AARCH64-NEXT: #define __INT_LEAST8_TYPE__ signed char
197 // AARCH64-NEXT: #define __INT_LEAST8_WIDTH__ 8
198 // AARCH64-NEXT: #define __INT_MAX__ 2147483647
199 // AARCH64-NEXT: #define __INT_WIDTH__ 32
200 // AARCH64-NEXT: #define __LDBL_DECIMAL_DIG__ 36
201 // AARCH64-NEXT: #define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L
202 // AARCH64-NEXT: #define __LDBL_DIG__ 33
203 // AARCH64-NEXT: #define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L
204 // AARCH64-NEXT: #define __LDBL_HAS_DENORM__ 1
205 // AARCH64-NEXT: #define __LDBL_HAS_INFINITY__ 1
206 // AARCH64-NEXT: #define __LDBL_HAS_QUIET_NAN__ 1
207 // AARCH64-NEXT: #define __LDBL_MANT_DIG__ 113
208 // AARCH64-NEXT: #define __LDBL_MAX_10_EXP__ 4932
209 // AARCH64-NEXT: #define __LDBL_MAX_EXP__ 16384
210 // AARCH64-NEXT: #define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L
211 // AARCH64-NEXT: #define __LDBL_MIN_10_EXP__ (-4931)
212 // AARCH64-NEXT: #define __LDBL_MIN_EXP__ (-16381)
213 // AARCH64-NEXT: #define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
214 // AARCH64_LE-NEXT: #define __LITTLE_ENDIAN__ 1
215 // AARCH64-NEXT: #define __LLONG_WIDTH__ 64
216 // AARCH64-NEXT: #define __LONG_LONG_MAX__ 9223372036854775807LL
217 // AARCH64-NEXT: #define __LONG_MAX__ 9223372036854775807L
218 // AARCH64-NEXT: #define __LONG_WIDTH__ 64
219 // AARCH64-NEXT: #define __LP64__ 1
220 // AARCH64-NEXT: #define __NO_INLINE__ 1
221 // AARCH64-NEXT: #define __NO_MATH_ERRNO__ 1
222 // AARCH64-NEXT: #define __OBJC_BOOL_IS_BOOL 0
223 // AARCH64-NEXT: #define __OPENCL_MEMORY_SCOPE_ALL_SVM_DEVICES 3
224 // AARCH64-NEXT: #define __OPENCL_MEMORY_SCOPE_DEVICE 2
225 // AARCH64-NEXT: #define __OPENCL_MEMORY_SCOPE_SUB_GROUP 4
226 // AARCH64-NEXT: #define __OPENCL_MEMORY_SCOPE_WORK_GROUP 1
227 // AARCH64-NEXT: #define __OPENCL_MEMORY_SCOPE_WORK_ITEM 0
228 // AARCH64-NEXT: #define __ORDER_BIG_ENDIAN__ 4321
229 // AARCH64-NEXT: #define __ORDER_LITTLE_ENDIAN__ 1234
230 // AARCH64-NEXT: #define __ORDER_PDP_ENDIAN__ 3412
231 // AARCH64-NEXT: #define __POINTER_WIDTH__ 64
232 // AARCH64-NEXT: #define __PRAGMA_REDEFINE_EXTNAME 1
233 // AARCH64-NEXT: #define __PTRDIFF_FMTd__ "ld"
234 // AARCH64-NEXT: #define __PTRDIFF_FMTi__ "li"
235 // AARCH64-NEXT: #define __PTRDIFF_MAX__ 9223372036854775807L
236 // AARCH64-NEXT: #define __PTRDIFF_TYPE__ long int
237 // AARCH64-NEXT: #define __PTRDIFF_WIDTH__ 64
238 // AARCH64-NEXT: #define __SCHAR_MAX__ 127
239 // AARCH64-NEXT: #define __SHRT_MAX__ 32767
240 // AARCH64-NEXT: #define __SHRT_WIDTH__ 16
241 // AARCH64-NEXT: #define __SIG_ATOMIC_MAX__ 2147483647
242 // AARCH64-NEXT: #define __SIG_ATOMIC_WIDTH__ 32
243 // AARCH64-NEXT: #define __SIZEOF_DOUBLE__ 8
244 // AARCH64-NEXT: #define __SIZEOF_FLOAT__ 4
245 // AARCH64-NEXT: #define __SIZEOF_INT128__ 16
246 // AARCH64-NEXT: #define __SIZEOF_INT__ 4
247 // AARCH64-NEXT: #define __SIZEOF_LONG_DOUBLE__ 16
248 // AARCH64-NEXT: #define __SIZEOF_LONG_LONG__ 8
249 // AARCH64-NEXT: #define __SIZEOF_LONG__ 8
250 // AARCH64-NEXT: #define __SIZEOF_POINTER__ 8
251 // AARCH64-NEXT: #define __SIZEOF_PTRDIFF_T__ 8
252 // AARCH64-NEXT: #define __SIZEOF_SHORT__ 2
253 // AARCH64-NEXT: #define __SIZEOF_SIZE_T__ 8
254 // AARCH64-NEXT: #define __SIZEOF_WCHAR_T__ 4
255 // AARCH64-NEXT: #define __SIZEOF_WINT_T__ 4
256 // AARCH64-NEXT: #define __SIZE_FMTX__ "lX"
257 // AARCH64-NEXT: #define __SIZE_FMTo__ "lo"
258 // AARCH64-NEXT: #define __SIZE_FMTu__ "lu"
259 // AARCH64-NEXT: #define __SIZE_FMTx__ "lx"
260 // AARCH64-NEXT: #define __SIZE_MAX__ 18446744073709551615UL
261 // AARCH64-NEXT: #define __SIZE_TYPE__ long unsigned int
262 // AARCH64-NEXT: #define __SIZE_WIDTH__ 64
263 // AARCH64_CXX: #define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 16UL
264 // AARCH64_CXX: #define __STDCPP_THREADS__ 1
265 // AARCH64-NEXT: #define __STDC_HOSTED__ 1
266 // AARCH64-NEXT: #define __STDC_UTF_16__ 1
267 // AARCH64-NEXT: #define __STDC_UTF_32__ 1
268 // AARCH64_C: #define __STDC_VERSION__ 201710L
269 // AARCH64-NEXT: #define __STDC__ 1
270 // AARCH64-NEXT: #define __UINT16_C_SUFFIX__
271 // AARCH64-NEXT: #define __UINT16_FMTX__ "hX"
272 // AARCH64-NEXT: #define __UINT16_FMTo__ "ho"
273 // AARCH64-NEXT: #define __UINT16_FMTu__ "hu"
274 // AARCH64-NEXT: #define __UINT16_FMTx__ "hx"
275 // AARCH64-NEXT: #define __UINT16_MAX__ 65535
276 // AARCH64-NEXT: #define __UINT16_TYPE__ unsigned short
277 // AARCH64-NEXT: #define __UINT32_C_SUFFIX__ U
278 // AARCH64-NEXT: #define __UINT32_FMTX__ "X"
279 // AARCH64-NEXT: #define __UINT32_FMTo__ "o"
280 // AARCH64-NEXT: #define __UINT32_FMTu__ "u"
281 // AARCH64-NEXT: #define __UINT32_FMTx__ "x"
282 // AARCH64-NEXT: #define __UINT32_MAX__ 4294967295U
283 // AARCH64-NEXT: #define __UINT32_TYPE__ unsigned int
284 // AARCH64-NEXT: #define __UINT64_C_SUFFIX__ UL
285 // AARCH64-NEXT: #define __UINT64_FMTX__ "lX"
286 // AARCH64-NEXT: #define __UINT64_FMTo__ "lo"
287 // AARCH64-NEXT: #define __UINT64_FMTu__ "lu"
288 // AARCH64-NEXT: #define __UINT64_FMTx__ "lx"
289 // AARCH64-NEXT: #define __UINT64_MAX__ 18446744073709551615UL
290 // AARCH64-NEXT: #define __UINT64_TYPE__ long unsigned int
291 // AARCH64-NEXT: #define __UINT8_C_SUFFIX__
292 // AARCH64-NEXT: #define __UINT8_FMTX__ "hhX"
293 // AARCH64-NEXT: #define __UINT8_FMTo__ "hho"
294 // AARCH64-NEXT: #define __UINT8_FMTu__ "hhu"
295 // AARCH64-NEXT: #define __UINT8_FMTx__ "hhx"
296 // AARCH64-NEXT: #define __UINT8_MAX__ 255
297 // AARCH64-NEXT: #define __UINT8_TYPE__ unsigned char
298 // AARCH64-NEXT: #define __UINTMAX_C_SUFFIX__ UL
299 // AARCH64-NEXT: #define __UINTMAX_FMTX__ "lX"
300 // AARCH64-NEXT: #define __UINTMAX_FMTo__ "lo"
301 // AARCH64-NEXT: #define __UINTMAX_FMTu__ "lu"
302 // AARCH64-NEXT: #define __UINTMAX_FMTx__ "lx"
303 // AARCH64-NEXT: #define __UINTMAX_MAX__ 18446744073709551615UL
304 // AARCH64-NEXT: #define __UINTMAX_TYPE__ long unsigned int
305 // AARCH64-NEXT: #define __UINTMAX_WIDTH__ 64
306 // AARCH64-NEXT: #define __UINTPTR_FMTX__ "lX"
307 // AARCH64-NEXT: #define __UINTPTR_FMTo__ "lo"
308 // AARCH64-NEXT: #define __UINTPTR_FMTu__ "lu"
309 // AARCH64-NEXT: #define __UINTPTR_FMTx__ "lx"
310 // AARCH64-NEXT: #define __UINTPTR_MAX__ 18446744073709551615UL
311 // AARCH64-NEXT: #define __UINTPTR_TYPE__ long unsigned int
312 // AARCH64-NEXT: #define __UINTPTR_WIDTH__ 64
313 // AARCH64-NEXT: #define __UINT_FAST16_FMTX__ "hX"
314 // AARCH64-NEXT: #define __UINT_FAST16_FMTo__ "ho"
315 // AARCH64-NEXT: #define __UINT_FAST16_FMTu__ "hu"
316 // AARCH64-NEXT: #define __UINT_FAST16_FMTx__ "hx"
317 // AARCH64-NEXT: #define __UINT_FAST16_MAX__ 65535
318 // AARCH64-NEXT: #define __UINT_FAST16_TYPE__ unsigned short
319 // AARCH64-NEXT: #define __UINT_FAST32_FMTX__ "X"
320 // AARCH64-NEXT: #define __UINT_FAST32_FMTo__ "o"
321 // AARCH64-NEXT: #define __UINT_FAST32_FMTu__ "u"
322 // AARCH64-NEXT: #define __UINT_FAST32_FMTx__ "x"
323 // AARCH64-NEXT: #define __UINT_FAST32_MAX__ 4294967295U
324 // AARCH64-NEXT: #define __UINT_FAST32_TYPE__ unsigned int
325 // AARCH64-NEXT: #define __UINT_FAST64_FMTX__ "lX"
326 // AARCH64-NEXT: #define __UINT_FAST64_FMTo__ "lo"
327 // AARCH64-NEXT: #define __UINT_FAST64_FMTu__ "lu"
328 // AARCH64-NEXT: #define __UINT_FAST64_FMTx__ "lx"
329 // AARCH64-NEXT: #define __UINT_FAST64_MAX__ 18446744073709551615UL
330 // AARCH64-NEXT: #define __UINT_FAST64_TYPE__ long unsigned int
331 // AARCH64-NEXT: #define __UINT_FAST8_FMTX__ "hhX"
332 // AARCH64-NEXT: #define __UINT_FAST8_FMTo__ "hho"
333 // AARCH64-NEXT: #define __UINT_FAST8_FMTu__ "hhu"
334 // AARCH64-NEXT: #define __UINT_FAST8_FMTx__ "hhx"
335 // AARCH64-NEXT: #define __UINT_FAST8_MAX__ 255
336 // AARCH64-NEXT: #define __UINT_FAST8_TYPE__ unsigned char
337 // AARCH64-NEXT: #define __UINT_LEAST16_FMTX__ "hX"
338 // AARCH64-NEXT: #define __UINT_LEAST16_FMTo__ "ho"
339 // AARCH64-NEXT: #define __UINT_LEAST16_FMTu__ "hu"
340 // AARCH64-NEXT: #define __UINT_LEAST16_FMTx__ "hx"
341 // AARCH64-NEXT: #define __UINT_LEAST16_MAX__ 65535
342 // AARCH64-NEXT: #define __UINT_LEAST16_TYPE__ unsigned short
343 // AARCH64-NEXT: #define __UINT_LEAST32_FMTX__ "X"
344 // AARCH64-NEXT: #define __UINT_LEAST32_FMTo__ "o"
345 // AARCH64-NEXT: #define __UINT_LEAST32_FMTu__ "u"
346 // AARCH64-NEXT: #define __UINT_LEAST32_FMTx__ "x"
347 // AARCH64-NEXT: #define __UINT_LEAST32_MAX__ 4294967295U
348 // AARCH64-NEXT: #define __UINT_LEAST32_TYPE__ unsigned int
349 // AARCH64-NEXT: #define __UINT_LEAST64_FMTX__ "lX"
350 // AARCH64-NEXT: #define __UINT_LEAST64_FMTo__ "lo"
351 // AARCH64-NEXT: #define __UINT_LEAST64_FMTu__ "lu"
352 // AARCH64-NEXT: #define __UINT_LEAST64_FMTx__ "lx"
353 // AARCH64-NEXT: #define __UINT_LEAST64_MAX__ 18446744073709551615UL
354 // AARCH64-NEXT: #define __UINT_LEAST64_TYPE__ long unsigned int
355 // AARCH64-NEXT: #define __UINT_LEAST8_FMTX__ "hhX"
356 // AARCH64-NEXT: #define __UINT_LEAST8_FMTo__ "hho"
357 // AARCH64-NEXT: #define __UINT_LEAST8_FMTu__ "hhu"
358 // AARCH64-NEXT: #define __UINT_LEAST8_FMTx__ "hhx"
359 // AARCH64-NEXT: #define __UINT_LEAST8_MAX__ 255
360 // AARCH64-NEXT: #define __UINT_LEAST8_TYPE__ unsigned char
361 // AARCH64-NEXT: #define __USER_LABEL_PREFIX__
362 // AARCH64-NEXT: #define __VERSION__ "{{.*}}"
363 // AARCH64-NEXT: #define __WCHAR_MAX__ 4294967295U
364 // AARCH64-NEXT: #define __WCHAR_TYPE__ unsigned int
365 // AARCH64-NEXT: #define __WCHAR_UNSIGNED__ 1
366 // AARCH64-NEXT: #define __WCHAR_WIDTH__ 32
367 // AARCH64-NEXT: #define __WINT_MAX__ 2147483647
368 // AARCH64-NEXT: #define __WINT_TYPE__ int
369 // AARCH64-NEXT: #define __WINT_WIDTH__ 32
370 // AARCH64-NEXT: #define __aarch64__ 1
372 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-apple-ios7.0 < /dev/null | FileCheck -match-full-lines -check-prefix AARCH64-DARWIN %s
374 // AARCH64-DARWIN: #define _LP64 1
375 // AARCH64-DARWIN-NOT: #define __AARCH64EB__ 1
376 // AARCH64-DARWIN: #define __AARCH64EL__ 1
377 // AARCH64-DARWIN-NOT: #define __AARCH_BIG_ENDIAN 1
378 // AARCH64-DARWIN: #define __ARM_64BIT_STATE 1
379 // AARCH64-DARWIN: #define __ARM_ARCH 8
380 // AARCH64-DARWIN: #define __ARM_ARCH_ISA_A64 1
381 // AARCH64-DARWIN-NOT: #define __ARM_BIG_ENDIAN 1
382 // AARCH64-DARWIN: #define __BIGGEST_ALIGNMENT__ 8
383 // AARCH64-DARWIN: #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
384 // AARCH64-DARWIN: #define __CHAR16_TYPE__ unsigned short
385 // AARCH64-DARWIN: #define __CHAR32_TYPE__ unsigned int
386 // AARCH64-DARWIN: #define __CHAR_BIT__ 8
387 // AARCH64-DARWIN: #define __DBL_DENORM_MIN__ 4.9406564584124654e-324
388 // AARCH64-DARWIN: #define __DBL_DIG__ 15
389 // AARCH64-DARWIN: #define __DBL_EPSILON__ 2.2204460492503131e-16
390 // AARCH64-DARWIN: #define __DBL_HAS_DENORM__ 1
391 // AARCH64-DARWIN: #define __DBL_HAS_INFINITY__ 1
392 // AARCH64-DARWIN: #define __DBL_HAS_QUIET_NAN__ 1
393 // AARCH64-DARWIN: #define __DBL_MANT_DIG__ 53
394 // AARCH64-DARWIN: #define __DBL_MAX_10_EXP__ 308
395 // AARCH64-DARWIN: #define __DBL_MAX_EXP__ 1024
396 // AARCH64-DARWIN: #define __DBL_MAX__ 1.7976931348623157e+308
397 // AARCH64-DARWIN: #define __DBL_MIN_10_EXP__ (-307)
398 // AARCH64-DARWIN: #define __DBL_MIN_EXP__ (-1021)
399 // AARCH64-DARWIN: #define __DBL_MIN__ 2.2250738585072014e-308
400 // AARCH64-DARWIN: #define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
401 // AARCH64-DARWIN: #define __FLT_DENORM_MIN__ 1.40129846e-45F
402 // AARCH64-DARWIN: #define __FLT_DIG__ 6
403 // AARCH64-DARWIN: #define __FLT_EPSILON__ 1.19209290e-7F
404 // AARCH64-DARWIN: #define __FLT_HAS_DENORM__ 1
405 // AARCH64-DARWIN: #define __FLT_HAS_INFINITY__ 1
406 // AARCH64-DARWIN: #define __FLT_HAS_QUIET_NAN__ 1
407 // AARCH64-DARWIN: #define __FLT_MANT_DIG__ 24
408 // AARCH64-DARWIN: #define __FLT_MAX_10_EXP__ 38
409 // AARCH64-DARWIN: #define __FLT_MAX_EXP__ 128
410 // AARCH64-DARWIN: #define __FLT_MAX__ 3.40282347e+38F
411 // AARCH64-DARWIN: #define __FLT_MIN_10_EXP__ (-37)
412 // AARCH64-DARWIN: #define __FLT_MIN_EXP__ (-125)
413 // AARCH64-DARWIN: #define __FLT_MIN__ 1.17549435e-38F
414 // AARCH64-DARWIN: #define __FLT_RADIX__ 2
415 // AARCH64-DARWIN: #define __INT16_C_SUFFIX__
416 // AARCH64-DARWIN: #define __INT16_FMTd__ "hd"
417 // AARCH64-DARWIN: #define __INT16_FMTi__ "hi"
418 // AARCH64-DARWIN: #define __INT16_MAX__ 32767
419 // AARCH64-DARWIN: #define __INT16_TYPE__ short
420 // AARCH64-DARWIN: #define __INT32_C_SUFFIX__
421 // AARCH64-DARWIN: #define __INT32_FMTd__ "d"
422 // AARCH64-DARWIN: #define __INT32_FMTi__ "i"
423 // AARCH64-DARWIN: #define __INT32_MAX__ 2147483647
424 // AARCH64-DARWIN: #define __INT32_TYPE__ int
425 // AARCH64-DARWIN: #define __INT64_C_SUFFIX__ LL
426 // AARCH64-DARWIN: #define __INT64_FMTd__ "lld"
427 // AARCH64-DARWIN: #define __INT64_FMTi__ "lli"
428 // AARCH64-DARWIN: #define __INT64_MAX__ 9223372036854775807LL
429 // AARCH64-DARWIN: #define __INT64_TYPE__ long long int
430 // AARCH64-DARWIN: #define __INT8_C_SUFFIX__
431 // AARCH64-DARWIN: #define __INT8_FMTd__ "hhd"
432 // AARCH64-DARWIN: #define __INT8_FMTi__ "hhi"
433 // AARCH64-DARWIN: #define __INT8_MAX__ 127
434 // AARCH64-DARWIN: #define __INT8_TYPE__ signed char
435 // AARCH64-DARWIN: #define __INTMAX_C_SUFFIX__ L
436 // AARCH64-DARWIN: #define __INTMAX_FMTd__ "ld"
437 // AARCH64-DARWIN: #define __INTMAX_FMTi__ "li"
438 // AARCH64-DARWIN: #define __INTMAX_MAX__ 9223372036854775807L
439 // AARCH64-DARWIN: #define __INTMAX_TYPE__ long int
440 // AARCH64-DARWIN: #define __INTMAX_WIDTH__ 64
441 // AARCH64-DARWIN: #define __INTPTR_FMTd__ "ld"
442 // AARCH64-DARWIN: #define __INTPTR_FMTi__ "li"
443 // AARCH64-DARWIN: #define __INTPTR_MAX__ 9223372036854775807L
444 // AARCH64-DARWIN: #define __INTPTR_TYPE__ long int
445 // AARCH64-DARWIN: #define __INTPTR_WIDTH__ 64
446 // AARCH64-DARWIN: #define __INT_FAST16_FMTd__ "hd"
447 // AARCH64-DARWIN: #define __INT_FAST16_FMTi__ "hi"
448 // AARCH64-DARWIN: #define __INT_FAST16_MAX__ 32767
449 // AARCH64-DARWIN: #define __INT_FAST16_TYPE__ short
450 // AARCH64-DARWIN: #define __INT_FAST32_FMTd__ "d"
451 // AARCH64-DARWIN: #define __INT_FAST32_FMTi__ "i"
452 // AARCH64-DARWIN: #define __INT_FAST32_MAX__ 2147483647
453 // AARCH64-DARWIN: #define __INT_FAST32_TYPE__ int
454 // AARCH64-DARWIN: #define __INT_FAST64_FMTd__ "lld"
455 // AARCH64-DARWIN: #define __INT_FAST64_FMTi__ "lli"
456 // AARCH64-DARWIN: #define __INT_FAST64_MAX__ 9223372036854775807LL
457 // AARCH64-DARWIN: #define __INT_FAST64_TYPE__ long long int
458 // AARCH64-DARWIN: #define __INT_FAST8_FMTd__ "hhd"
459 // AARCH64-DARWIN: #define __INT_FAST8_FMTi__ "hhi"
460 // AARCH64-DARWIN: #define __INT_FAST8_MAX__ 127
461 // AARCH64-DARWIN: #define __INT_FAST8_TYPE__ signed char
462 // AARCH64-DARWIN: #define __INT_LEAST16_FMTd__ "hd"
463 // AARCH64-DARWIN: #define __INT_LEAST16_FMTi__ "hi"
464 // AARCH64-DARWIN: #define __INT_LEAST16_MAX__ 32767
465 // AARCH64-DARWIN: #define __INT_LEAST16_TYPE__ short
466 // AARCH64-DARWIN: #define __INT_LEAST32_FMTd__ "d"
467 // AARCH64-DARWIN: #define __INT_LEAST32_FMTi__ "i"
468 // AARCH64-DARWIN: #define __INT_LEAST32_MAX__ 2147483647
469 // AARCH64-DARWIN: #define __INT_LEAST32_TYPE__ int
470 // AARCH64-DARWIN: #define __INT_LEAST64_FMTd__ "lld"
471 // AARCH64-DARWIN: #define __INT_LEAST64_FMTi__ "lli"
472 // AARCH64-DARWIN: #define __INT_LEAST64_MAX__ 9223372036854775807LL
473 // AARCH64-DARWIN: #define __INT_LEAST64_TYPE__ long long int
474 // AARCH64-DARWIN: #define __INT_LEAST8_FMTd__ "hhd"
475 // AARCH64-DARWIN: #define __INT_LEAST8_FMTi__ "hhi"
476 // AARCH64-DARWIN: #define __INT_LEAST8_MAX__ 127
477 // AARCH64-DARWIN: #define __INT_LEAST8_TYPE__ signed char
478 // AARCH64-DARWIN: #define __INT_MAX__ 2147483647
479 // AARCH64-DARWIN: #define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
480 // AARCH64-DARWIN: #define __LDBL_DIG__ 15
481 // AARCH64-DARWIN: #define __LDBL_EPSILON__ 2.2204460492503131e-16L
482 // AARCH64-DARWIN: #define __LDBL_HAS_DENORM__ 1
483 // AARCH64-DARWIN: #define __LDBL_HAS_INFINITY__ 1
484 // AARCH64-DARWIN: #define __LDBL_HAS_QUIET_NAN__ 1
485 // AARCH64-DARWIN: #define __LDBL_MANT_DIG__ 53
486 // AARCH64-DARWIN: #define __LDBL_MAX_10_EXP__ 308
487 // AARCH64-DARWIN: #define __LDBL_MAX_EXP__ 1024
488 // AARCH64-DARWIN: #define __LDBL_MAX__ 1.7976931348623157e+308L
489 // AARCH64-DARWIN: #define __LDBL_MIN_10_EXP__ (-307)
490 // AARCH64-DARWIN: #define __LDBL_MIN_EXP__ (-1021)
491 // AARCH64-DARWIN: #define __LDBL_MIN__ 2.2250738585072014e-308L
492 // AARCH64-DARWIN: #define __LONG_LONG_MAX__ 9223372036854775807LL
493 // AARCH64-DARWIN: #define __LONG_MAX__ 9223372036854775807L
494 // AARCH64-DARWIN: #define __LP64__ 1
495 // AARCH64-DARWIN: #define __POINTER_WIDTH__ 64
496 // AARCH64-DARWIN: #define __PTRDIFF_TYPE__ long int
497 // AARCH64-DARWIN: #define __PTRDIFF_WIDTH__ 64
498 // AARCH64-DARWIN: #define __SCHAR_MAX__ 127
499 // AARCH64-DARWIN: #define __SHRT_MAX__ 32767
500 // AARCH64-DARWIN: #define __SIG_ATOMIC_MAX__ 2147483647
501 // AARCH64-DARWIN: #define __SIG_ATOMIC_WIDTH__ 32
502 // AARCH64-DARWIN: #define __SIZEOF_DOUBLE__ 8
503 // AARCH64-DARWIN: #define __SIZEOF_FLOAT__ 4
504 // AARCH64-DARWIN: #define __SIZEOF_INT128__ 16
505 // AARCH64-DARWIN: #define __SIZEOF_INT__ 4
506 // AARCH64-DARWIN: #define __SIZEOF_LONG_DOUBLE__ 8
507 // AARCH64-DARWIN: #define __SIZEOF_LONG_LONG__ 8
508 // AARCH64-DARWIN: #define __SIZEOF_LONG__ 8
509 // AARCH64-DARWIN: #define __SIZEOF_POINTER__ 8
510 // AARCH64-DARWIN: #define __SIZEOF_PTRDIFF_T__ 8
511 // AARCH64-DARWIN: #define __SIZEOF_SHORT__ 2
512 // AARCH64-DARWIN: #define __SIZEOF_SIZE_T__ 8
513 // AARCH64-DARWIN: #define __SIZEOF_WCHAR_T__ 4
514 // AARCH64-DARWIN: #define __SIZEOF_WINT_T__ 4
515 // AARCH64-DARWIN: #define __SIZE_MAX__ 18446744073709551615UL
516 // AARCH64-DARWIN: #define __SIZE_TYPE__ long unsigned int
517 // AARCH64-DARWIN: #define __SIZE_WIDTH__ 64
518 // AARCH64-DARWIN: #define __UINT16_C_SUFFIX__
519 // AARCH64-DARWIN: #define __UINT16_MAX__ 65535
520 // AARCH64-DARWIN: #define __UINT16_TYPE__ unsigned short
521 // AARCH64-DARWIN: #define __UINT32_C_SUFFIX__ U
522 // AARCH64-DARWIN: #define __UINT32_MAX__ 4294967295U
523 // AARCH64-DARWIN: #define __UINT32_TYPE__ unsigned int
524 // AARCH64-DARWIN: #define __UINT64_C_SUFFIX__ ULL
525 // AARCH64-DARWIN: #define __UINT64_MAX__ 18446744073709551615ULL
526 // AARCH64-DARWIN: #define __UINT64_TYPE__ long long unsigned int
527 // AARCH64-DARWIN: #define __UINT8_C_SUFFIX__
528 // AARCH64-DARWIN: #define __UINT8_MAX__ 255
529 // AARCH64-DARWIN: #define __UINT8_TYPE__ unsigned char
530 // AARCH64-DARWIN: #define __UINTMAX_C_SUFFIX__ UL
531 // AARCH64-DARWIN: #define __UINTMAX_MAX__ 18446744073709551615UL
532 // AARCH64-DARWIN: #define __UINTMAX_TYPE__ long unsigned int
533 // AARCH64-DARWIN: #define __UINTMAX_WIDTH__ 64
534 // AARCH64-DARWIN: #define __UINTPTR_MAX__ 18446744073709551615UL
535 // AARCH64-DARWIN: #define __UINTPTR_TYPE__ long unsigned int
536 // AARCH64-DARWIN: #define __UINTPTR_WIDTH__ 64
537 // AARCH64-DARWIN: #define __UINT_FAST16_MAX__ 65535
538 // AARCH64-DARWIN: #define __UINT_FAST16_TYPE__ unsigned short
539 // AARCH64-DARWIN: #define __UINT_FAST32_MAX__ 4294967295U
540 // AARCH64-DARWIN: #define __UINT_FAST32_TYPE__ unsigned int
541 // AARCH64-DARWIN: #define __UINT_FAST64_MAX__ 18446744073709551615ULL
542 // AARCH64-DARWIN: #define __UINT_FAST64_TYPE__ long long unsigned int
543 // AARCH64-DARWIN: #define __UINT_FAST8_MAX__ 255
544 // AARCH64-DARWIN: #define __UINT_FAST8_TYPE__ unsigned char
545 // AARCH64-DARWIN: #define __UINT_LEAST16_MAX__ 65535
546 // AARCH64-DARWIN: #define __UINT_LEAST16_TYPE__ unsigned short
547 // AARCH64-DARWIN: #define __UINT_LEAST32_MAX__ 4294967295U
548 // AARCH64-DARWIN: #define __UINT_LEAST32_TYPE__ unsigned int
549 // AARCH64-DARWIN: #define __UINT_LEAST64_MAX__ 18446744073709551615ULL
550 // AARCH64-DARWIN: #define __UINT_LEAST64_TYPE__ long long unsigned int
551 // AARCH64-DARWIN: #define __UINT_LEAST8_MAX__ 255
552 // AARCH64-DARWIN: #define __UINT_LEAST8_TYPE__ unsigned char
553 // AARCH64-DARWIN: #define __USER_LABEL_PREFIX__ _
554 // AARCH64-DARWIN: #define __WCHAR_MAX__ 2147483647
555 // AARCH64-DARWIN: #define __WCHAR_TYPE__ int
556 // AARCH64-DARWIN-NOT: #define __WCHAR_UNSIGNED__
557 // AARCH64-DARWIN: #define __WCHAR_WIDTH__ 32
558 // AARCH64-DARWIN: #define __WINT_TYPE__ int
559 // AARCH64-DARWIN: #define __WINT_WIDTH__ 32
560 // AARCH64-DARWIN: #define __aarch64__ 1
562 // RUN: %clang_cc1 -E -dM -triple=aarch64-apple-ios7.0 -x c++ < /dev/null | FileCheck -match-full-lines -check-prefix AARCH64-DARWIN-CXX %s
563 // AARCH64-DARWIN-CXX: #define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 16UL
565 // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-windows-msvc < /dev/null | FileCheck -match-full-lines -check-prefix AARCH64-MSVC %s
567 // AARCH64-MSVC: #define _INTEGRAL_MAX_BITS 64
568 // AARCH64-MSVC-NOT: #define _LP64 1
569 // AARCH64-MSVC: #define _M_ARM64 1
570 // AARCH64-MSVC: #define _WIN32 1
571 // AARCH64-MSVC: #define _WIN64 1
572 // AARCH64-MSVC: #define __AARCH64EL__ 1
573 // AARCH64-MSVC: #define __ARM_64BIT_STATE 1
574 // AARCH64-MSVC: #define __ARM_ACLE 200
575 // AARCH64-MSVC: #define __ARM_ALIGN_MAX_STACK_PWR 4
576 // AARCH64-MSVC: #define __ARM_ARCH 8
577 // AARCH64-MSVC: #define __ARM_ARCH_ISA_A64 1
578 // AARCH64-MSVC: #define __ARM_ARCH_PROFILE 'A'
579 // AARCH64-MSVC: #define __ARM_FEATURE_CLZ 1
580 // AARCH64-MSVC: #define __ARM_FEATURE_DIRECTED_ROUNDING 1
581 // AARCH64-MSVC: #define __ARM_FEATURE_DIV 1
582 // AARCH64-MSVC: #define __ARM_FEATURE_FMA 1
583 // AARCH64-MSVC: #define __ARM_FEATURE_IDIV 1
584 // AARCH64-MSVC: #define __ARM_FEATURE_LDREX 0xF
585 // AARCH64-MSVC: #define __ARM_FEATURE_NUMERIC_MAXMIN 1
586 // AARCH64-MSVC: #define __ARM_FEATURE_UNALIGNED 1
587 // AARCH64-MSVC: #define __ARM_FP 0xE
588 // AARCH64-MSVC: #define __ARM_FP16_ARGS 1
589 // AARCH64-MSVC: #define __ARM_FP16_FORMAT_IEEE 1
590 // AARCH64-MSVC: #define __ARM_PCS_AAPCS64 1
591 // AARCH64-MSVC: #define __ARM_SIZEOF_MINIMAL_ENUM 4
592 // AARCH64-MSVC: #define __ARM_SIZEOF_WCHAR_T 4
593 // AARCH64-MSVC: #define __BIGGEST_ALIGNMENT__ 16
594 // AARCH64-MSVC: #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
595 // AARCH64-MSVC: #define __CHAR16_TYPE__ unsigned short
596 // AARCH64-MSVC: #define __CHAR32_TYPE__ unsigned int
597 // AARCH64-MSVC: #define __CHAR_BIT__ 8
598 // AARCH64-MSVC: #define __CONSTANT_CFSTRINGS__ 1
599 // AARCH64-MSVC: #define __DBL_DECIMAL_DIG__ 17
600 // AARCH64-MSVC: #define __DBL_DENORM_MIN__ 4.9406564584124654e-324
601 // AARCH64-MSVC: #define __DBL_DIG__ 15
602 // AARCH64-MSVC: #define __DBL_EPSILON__ 2.2204460492503131e-16
603 // AARCH64-MSVC: #define __DBL_HAS_DENORM__ 1
604 // AARCH64-MSVC: #define __DBL_HAS_INFINITY__ 1
605 // AARCH64-MSVC: #define __DBL_HAS_QUIET_NAN__ 1
606 // AARCH64-MSVC: #define __DBL_MANT_DIG__ 53
607 // AARCH64-MSVC: #define __DBL_MAX_10_EXP__ 308
608 // AARCH64-MSVC: #define __DBL_MAX_EXP__ 1024
609 // AARCH64-MSVC: #define __DBL_MAX__ 1.7976931348623157e+308
610 // AARCH64-MSVC: #define __DBL_MIN_10_EXP__ (-307)
611 // AARCH64-MSVC: #define __DBL_MIN_EXP__ (-1021)
612 // AARCH64-MSVC: #define __DBL_MIN__ 2.2250738585072014e-308
613 // AARCH64-MSVC: #define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
614 // AARCH64-MSVC: #define __FINITE_MATH_ONLY__ 0
615 // AARCH64-MSVC: #define __FLT_DECIMAL_DIG__ 9
616 // AARCH64-MSVC: #define __FLT_DENORM_MIN__ 1.40129846e-45F
617 // AARCH64-MSVC: #define __FLT_DIG__ 6
618 // AARCH64-MSVC: #define __FLT_EPSILON__ 1.19209290e-7F
619 // AARCH64-MSVC: #define __FLT_HAS_DENORM__ 1
620 // AARCH64-MSVC: #define __FLT_HAS_INFINITY__ 1
621 // AARCH64-MSVC: #define __FLT_HAS_QUIET_NAN__ 1
622 // AARCH64-MSVC: #define __FLT_MANT_DIG__ 24
623 // AARCH64-MSVC: #define __FLT_MAX_10_EXP__ 38
624 // AARCH64-MSVC: #define __FLT_MAX_EXP__ 128
625 // AARCH64-MSVC: #define __FLT_MAX__ 3.40282347e+38F
626 // AARCH64-MSVC: #define __FLT_MIN_10_EXP__ (-37)
627 // AARCH64-MSVC: #define __FLT_MIN_EXP__ (-125)
628 // AARCH64-MSVC: #define __FLT_MIN__ 1.17549435e-38F
629 // AARCH64-MSVC: #define __FLT_RADIX__ 2
630 // AARCH64-MSVC: #define __INT_MAX__ 2147483647
631 // AARCH64-MSVC: #define __LDBL_DECIMAL_DIG__ 17
632 // AARCH64-MSVC: #define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
633 // AARCH64-MSVC: #define __LDBL_DIG__ 15
634 // AARCH64-MSVC: #define __LDBL_EPSILON__ 2.2204460492503131e-16L
635 // AARCH64-MSVC: #define __LDBL_HAS_DENORM__ 1
636 // AARCH64-MSVC: #define __LDBL_HAS_INFINITY__ 1
637 // AARCH64-MSVC: #define __LDBL_HAS_QUIET_NAN__ 1
638 // AARCH64-MSVC: #define __LDBL_MANT_DIG__ 53
639 // AARCH64-MSVC: #define __LDBL_MAX_10_EXP__ 308
640 // AARCH64-MSVC: #define __LDBL_MAX_EXP__ 1024
641 // AARCH64-MSVC: #define __LDBL_MAX__ 1.7976931348623157e+308L
642 // AARCH64-MSVC: #define __LDBL_MIN_10_EXP__ (-307)
643 // AARCH64-MSVC: #define __LDBL_MIN_EXP__ (-1021)
644 // AARCH64-MSVC: #define __LDBL_MIN__ 2.2250738585072014e-308L
645 // AARCH64-MSVC: #define __LITTLE_ENDIAN__ 1
646 // AARCH64-MSVC: #define __LONG_LONG_MAX__ 9223372036854775807LL
647 // AARCH64-MSVC: #define __LONG_MAX__ 2147483647L
648 // AARCH64-MSVC-NOT: #define __LP64__ 1
649 // AARCH64-MSVC: #define __NO_INLINE__ 1
650 // AARCH64-MSVC: #define __OBJC_BOOL_IS_BOOL 0
651 // AARCH64-MSVC: #define __ORDER_BIG_ENDIAN__ 4321
652 // AARCH64-MSVC: #define __ORDER_LITTLE_ENDIAN__ 1234
653 // AARCH64-MSVC: #define __ORDER_PDP_ENDIAN__ 3412
654 // AARCH64-MSVC: #define __POINTER_WIDTH__ 64
655 // AARCH64-MSVC: #define __PRAGMA_REDEFINE_EXTNAME 1
656 // AARCH64-MSVC: #define __SCHAR_MAX__ 127
657 // AARCH64-MSVC: #define __SHRT_MAX__ 32767
658 // AARCH64-MSVC: #define __SIG_ATOMIC_MAX__ 2147483647
659 // AARCH64-MSVC: #define __SIG_ATOMIC_WIDTH__ 32
660 // AARCH64-MSVC: #define __SIZEOF_DOUBLE__ 8
661 // AARCH64-MSVC: #define __SIZEOF_FLOAT__ 4
662 // AARCH64-MSVC: #define __SIZEOF_INT128__ 16
663 // AARCH64-MSVC: #define __SIZEOF_INT__ 4
664 // AARCH64-MSVC: #define __SIZEOF_LONG_DOUBLE__ 8
665 // AARCH64-MSVC: #define __SIZEOF_LONG_LONG__ 8
666 // AARCH64-MSVC: #define __SIZEOF_LONG__ 4
667 // AARCH64-MSVC: #define __SIZEOF_POINTER__ 8
668 // AARCH64-MSVC: #define __SIZEOF_PTRDIFF_T__ 8
669 // AARCH64-MSVC: #define __SIZEOF_SHORT__ 2
670 // AARCH64-MSVC: #define __SIZEOF_SIZE_T__ 8
671 // AARCH64-MSVC: #define __SIZEOF_WCHAR_T__ 2
672 // AARCH64-MSVC: #define __SIZEOF_WINT_T__ 2
673 // AARCH64-MSVC: #define __SIZE_MAX__ 18446744073709551615ULL
674 // AARCH64-MSVC: #define __SIZE_TYPE__ long long unsigned int
675 // AARCH64-MSVC: #define __SIZE_WIDTH__ 64
676 // AARCH64-MSVC: #define __STDC_HOSTED__ 0
677 // AARCH64-MSVC: #define __STDC_UTF_16__ 1
678 // AARCH64-MSVC: #define __STDC_UTF_32__ 1
679 // AARCH64-MSVC: #define __STDC_VERSION__ 201710L
680 // AARCH64-MSVC: #define __STDC__ 1
681 // AARCH64-MSVC: #define __UINT16_C_SUFFIX__
682 // AARCH64-MSVC: #define __UINT16_MAX__ 65535
683 // AARCH64-MSVC: #define __UINT16_TYPE__ unsigned short
684 // AARCH64-MSVC: #define __UINT32_C_SUFFIX__ U
685 // AARCH64-MSVC: #define __UINT32_MAX__ 4294967295U
686 // AARCH64-MSVC: #define __UINT32_TYPE__ unsigned int
687 // AARCH64-MSVC: #define __UINT64_C_SUFFIX__ ULL
688 // AARCH64-MSVC: #define __UINT64_MAX__ 18446744073709551615ULL
689 // AARCH64-MSVC: #define __UINT64_TYPE__ long long unsigned int
690 // AARCH64-MSVC: #define __UINT8_C_SUFFIX__
691 // AARCH64-MSVC: #define __UINT8_MAX__ 255
692 // AARCH64-MSVC: #define __UINT8_TYPE__ unsigned char
693 // AARCH64-MSVC: #define __UINTMAX_C_SUFFIX__ ULL
694 // AARCH64-MSVC: #define __UINTMAX_MAX__ 18446744073709551615ULL
695 // AARCH64-MSVC: #define __UINTMAX_TYPE__ long long unsigned int
696 // AARCH64-MSVC: #define __UINTMAX_WIDTH__ 64
697 // AARCH64-MSVC: #define __UINTPTR_MAX__ 18446744073709551615ULL
698 // AARCH64-MSVC: #define __UINTPTR_TYPE__ long long unsigned int
699 // AARCH64-MSVC: #define __UINTPTR_WIDTH__ 64
700 // AARCH64-MSVC: #define __UINT_FAST16_MAX__ 65535
701 // AARCH64-MSVC: #define __UINT_FAST16_TYPE__ unsigned short
702 // AARCH64-MSVC: #define __UINT_FAST32_MAX__ 4294967295U
703 // AARCH64-MSVC: #define __UINT_FAST32_TYPE__ unsigned int
704 // AARCH64-MSVC: #define __UINT_FAST64_MAX__ 18446744073709551615ULL
705 // AARCH64-MSVC: #define __UINT_FAST64_TYPE__ long long unsigned int
706 // AARCH64-MSVC: #define __UINT_FAST8_MAX__ 255
707 // AARCH64-MSVC: #define __UINT_FAST8_TYPE__ unsigned char
708 // AARCH64-MSVC: #define __UINT_LEAST16_MAX__ 65535
709 // AARCH64-MSVC: #define __UINT_LEAST16_TYPE__ unsigned short
710 // AARCH64-MSVC: #define __UINT_LEAST32_MAX__ 4294967295U
711 // AARCH64-MSVC: #define __UINT_LEAST32_TYPE__ unsigned int
712 // AARCH64-MSVC: #define __UINT_LEAST64_MAX__ 18446744073709551615ULL
713 // AARCH64-MSVC: #define __UINT_LEAST64_TYPE__ long long unsigned int
714 // AARCH64-MSVC: #define __UINT_LEAST8_MAX__ 255
715 // AARCH64-MSVC: #define __UINT_LEAST8_TYPE__ unsigned char
716 // AARCH64-MSVC: #define __USER_LABEL_PREFIX__
717 // AARCH64-MSVC: #define __WCHAR_MAX__ 65535
718 // AARCH64-MSVC: #define __WCHAR_TYPE__ unsigned short
719 // AARCH64-MSVC: #define __WCHAR_UNSIGNED__ 1
720 // AARCH64-MSVC: #define __WCHAR_WIDTH__ 16
721 // AARCH64-MSVC: #define __WINT_TYPE__ unsigned short
722 // AARCH64-MSVC: #define __WINT_WIDTH__ 16
723 // AARCH64-MSVC: #define __aarch64__ 1
725 // RUN: %clang_cc1 -triple=aarch64 -E -dM -mcmodel=small -xc /dev/null | FileCheck --check-prefix=CMODEL_SMALL %s
726 // RUN: %clang_cc1 -triple=aarch64 -E -dM -mcmodel=tiny -xc /dev/null | FileCheck --check-prefix=CMODEL_TINY %s
727 // RUN: %clang_cc1 -triple=aarch64 -E -dM -mcmodel=large -xc /dev/null | FileCheck --check-prefix=CMODEL_LARGE %s
729 // CMODEL_TINY: #define __AARCH64_CMODEL_TINY__ 1
730 // CMODEL_SMALL: #define __AARCH64_CMODEL_SMALL__ 1
731 // CMODEL_LARGE: #define __AARCH64_CMODEL_LARGE__ 1