1//===--- BuiltinsARM.def - ARM Builtin function database ----*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This file defines the ARM-specific builtin function database. Users of
10// this file must define the BUILTIN macro to make use of this information.
11//
12//===----------------------------------------------------------------------===//
13
14// The format of this database matches clang/Basic/Builtins.def.
15
16#if defined(BUILTIN) && !defined(LANGBUILTIN)
17# define LANGBUILTIN(ID, TYPE, ATTRS, BUILTIN_LANG) BUILTIN(ID, TYPE, ATTRS)
18#endif
19
20#if defined(BUILTIN) && !defined(TARGET_HEADER_BUILTIN)
21# define TARGET_HEADER_BUILTIN(ID, TYPE, ATTRS, HEADER, LANG, FEATURE) BUILTIN(ID, TYPE, ATTRS)
22#endif
23
24// In libgcc
25BUILTIN(__clear_cache, "vv*v*", "i")
26
27// 16-bit multiplications
28BUILTIN(__builtin_arm_smulbb, "iii", "nc")
29BUILTIN(__builtin_arm_smulbt, "iii", "nc")
30BUILTIN(__builtin_arm_smultb, "iii", "nc")
31BUILTIN(__builtin_arm_smultt, "iii", "nc")
32BUILTIN(__builtin_arm_smulwb, "iii", "nc")
33BUILTIN(__builtin_arm_smulwt, "iii", "nc")
34
35// Saturating arithmetic
36BUILTIN(__builtin_arm_qadd, "iii", "nc")
37BUILTIN(__builtin_arm_qsub, "iii", "nc")
38BUILTIN(__builtin_arm_qdbl, "ii", "nc")
39BUILTIN(__builtin_arm_ssat, "iiUi", "nc")
40BUILTIN(__builtin_arm_usat, "UiiUi", "nc")
41
42BUILTIN(__builtin_arm_smlabb, "iiii", "nc")
43BUILTIN(__builtin_arm_smlabt, "iiii", "nc")
44BUILTIN(__builtin_arm_smlatb, "iiii", "nc")
45BUILTIN(__builtin_arm_smlatt, "iiii", "nc")
46BUILTIN(__builtin_arm_smlawb, "iiii", "nc")
47BUILTIN(__builtin_arm_smlawt, "iiii", "nc")
48
49BUILTIN(__builtin_arm_ssat16, "iii", "nc")
50BUILTIN(__builtin_arm_usat16, "iii", "nc")
51
52BUILTIN(__builtin_arm_sxtab16, "iii", "nc")
53BUILTIN(__builtin_arm_sxtb16, "ii", "nc")
54BUILTIN(__builtin_arm_uxtab16, "iii", "nc")
55BUILTIN(__builtin_arm_uxtb16, "ii", "nc")
56
57BUILTIN(__builtin_arm_sel, "iii", "nc")
58
59BUILTIN(__builtin_arm_qadd8, "iii", "nc")
60BUILTIN(__builtin_arm_qsub8, "iii", "nc")
61BUILTIN(__builtin_arm_sadd8, "iii", "nc")
62BUILTIN(__builtin_arm_shadd8, "iii", "nc")
63BUILTIN(__builtin_arm_shsub8, "iii", "nc")
64BUILTIN(__builtin_arm_ssub8, "iii", "nc")
65BUILTIN(__builtin_arm_uadd8, "UiUiUi", "nc")
66BUILTIN(__builtin_arm_uhadd8, "UiUiUi", "nc")
67BUILTIN(__builtin_arm_uhsub8, "UiUiUi", "nc")
68BUILTIN(__builtin_arm_uqadd8, "UiUiUi", "nc")
69BUILTIN(__builtin_arm_uqsub8, "UiUiUi", "nc")
70BUILTIN(__builtin_arm_usub8, "UiUiUi", "nc")
71
72// Sum of 8-bit absolute differences
73BUILTIN(__builtin_arm_usad8, "UiUiUi", "nc")
74BUILTIN(__builtin_arm_usada8, "UiUiUiUi", "nc")
75
76// Parallel 16-bit addition and subtraction
77BUILTIN(__builtin_arm_qadd16, "iii", "nc")
78BUILTIN(__builtin_arm_qasx, "iii", "nc")
79BUILTIN(__builtin_arm_qsax, "iii", "nc")
80BUILTIN(__builtin_arm_qsub16, "iii", "nc")
81BUILTIN(__builtin_arm_sadd16, "iii", "nc")
82BUILTIN(__builtin_arm_sasx, "iii", "nc")
83BUILTIN(__builtin_arm_shadd16, "iii", "nc")
84BUILTIN(__builtin_arm_shasx, "iii", "nc")
85BUILTIN(__builtin_arm_shsax, "iii", "nc")
86BUILTIN(__builtin_arm_shsub16, "iii", "nc")
87BUILTIN(__builtin_arm_ssax, "iii", "nc")
88BUILTIN(__builtin_arm_ssub16, "iii", "nc")
89BUILTIN(__builtin_arm_uadd16, "UiUiUi", "nc")
90BUILTIN(__builtin_arm_uasx, "UiUiUi", "nc")
91BUILTIN(__builtin_arm_uhadd16, "UiUiUi", "nc")
92BUILTIN(__builtin_arm_uhasx, "UiUiUi", "nc")
93BUILTIN(__builtin_arm_uhsax, "UiUiUi", "nc")
94BUILTIN(__builtin_arm_uhsub16, "UiUiUi", "nc")
95BUILTIN(__builtin_arm_uqadd16, "UiUiUi", "nc")
96BUILTIN(__builtin_arm_uqasx, "UiUiUi", "nc")
97BUILTIN(__builtin_arm_uqsax, "UiUiUi", "nc")
98BUILTIN(__builtin_arm_uqsub16, "UiUiUi", "nc")
99BUILTIN(__builtin_arm_usax, "UiUiUi", "nc")
100BUILTIN(__builtin_arm_usub16, "UiUiUi", "nc")
101
102// Parallel 16-bit multiplication
103BUILTIN(__builtin_arm_smlad, "iiii", "nc")
104BUILTIN(__builtin_arm_smladx, "iiii", "nc")
105BUILTIN(__builtin_arm_smlald, "LLiiiLLi", "nc")
106BUILTIN(__builtin_arm_smlaldx, "LLiiiLLi", "nc")
107BUILTIN(__builtin_arm_smlsd, "iiii", "nc")
108BUILTIN(__builtin_arm_smlsdx, "iiii", "nc")
109BUILTIN(__builtin_arm_smlsld, "LLiiiLLi", "nc")
110BUILTIN(__builtin_arm_smlsldx, "LLiiiLLi", "nc")
111BUILTIN(__builtin_arm_smuad, "iii", "nc")
112BUILTIN(__builtin_arm_smuadx, "iii", "nc")
113BUILTIN(__builtin_arm_smusd, "iii", "nc")
114BUILTIN(__builtin_arm_smusdx, "iii", "nc")
115
116// Bit manipulation
117BUILTIN(__builtin_arm_rbit, "UiUi", "nc")
118BUILTIN(__builtin_arm_cls, "UiZUi", "nc")
119BUILTIN(__builtin_arm_cls64, "UiWUi", "nc")
120
121// Store and load exclusive
122BUILTIN(__builtin_arm_ldrexd, "LLUiv*", "")
123BUILTIN(__builtin_arm_strexd, "iLLUiv*", "")
124
125BUILTIN(__builtin_arm_ldrex, "v.", "t")
126BUILTIN(__builtin_arm_ldaex, "v.", "t")
127BUILTIN(__builtin_arm_strex, "i.", "t")
128BUILTIN(__builtin_arm_stlex, "i.", "t")
129BUILTIN(__builtin_arm_clrex, "v", "")
130
131// VFP
132BUILTIN(__builtin_arm_get_fpscr, "Ui", "nc")
133BUILTIN(__builtin_arm_set_fpscr, "vUi", "nc")
134BUILTIN(__builtin_arm_vcvtr_f, "ffi", "nc")
135BUILTIN(__builtin_arm_vcvtr_d, "fdi", "nc")
136
137// Coprocessor
138BUILTIN(__builtin_arm_ldc, "vUIiUIivC*", "")
139BUILTIN(__builtin_arm_ldcl, "vUIiUIivC*", "")
140BUILTIN(__builtin_arm_ldc2, "vUIiUIivC*", "")
141BUILTIN(__builtin_arm_ldc2l, "vUIiUIivC*", "")
142
143BUILTIN(__builtin_arm_stc, "vUIiUIiv*", "")
144BUILTIN(__builtin_arm_stcl, "vUIiUIiv*", "")
145BUILTIN(__builtin_arm_stc2, "vUIiUIiv*", "")
146BUILTIN(__builtin_arm_stc2l, "vUIiUIiv*", "")
147
148BUILTIN(__builtin_arm_cdp, "vUIiUIiUIiUIiUIiUIi", "")
149BUILTIN(__builtin_arm_cdp2, "vUIiUIiUIiUIiUIiUIi", "")
150BUILTIN(__builtin_arm_mcr, "vUIiUIiUiUIiUIiUIi", "")
151BUILTIN(__builtin_arm_mcr2, "vUIiUIiUiUIiUIiUIi", "")
152BUILTIN(__builtin_arm_mrc, "UiUIiUIiUIiUIiUIi", "")
153BUILTIN(__builtin_arm_mrc2, "UiUIiUIiUIiUIiUIi", "")
154BUILTIN(__builtin_arm_mcrr, "vUIiUIiLLUiUIi", "")
155BUILTIN(__builtin_arm_mcrr2, "vUIiUIiLLUiUIi", "")
156BUILTIN(__builtin_arm_mrrc, "LLUiUIiUIiUIi", "")
157BUILTIN(__builtin_arm_mrrc2, "LLUiUIiUIiUIi", "")
158
159// CRC32
160BUILTIN(__builtin_arm_crc32b, "UiUiUc", "nc")
161BUILTIN(__builtin_arm_crc32cb, "UiUiUc", "nc")
162BUILTIN(__builtin_arm_crc32h, "UiUiUs", "nc")
163BUILTIN(__builtin_arm_crc32ch, "UiUiUs", "nc")
164BUILTIN(__builtin_arm_crc32w, "UiUiUi", "nc")
165BUILTIN(__builtin_arm_crc32cw, "UiUiUi", "nc")
166BUILTIN(__builtin_arm_crc32d, "UiUiLLUi", "nc")
167BUILTIN(__builtin_arm_crc32cd, "UiUiLLUi", "nc")
168
169// ARMv8-M Security Extensions a.k.a CMSE
170BUILTIN(__builtin_arm_cmse_TT, "Uiv*", "n")
171BUILTIN(__builtin_arm_cmse_TTT, "Uiv*", "n")
172BUILTIN(__builtin_arm_cmse_TTA, "Uiv*", "n")
173BUILTIN(__builtin_arm_cmse_TTAT, "Uiv*", "n")
174
175// HINT
176BUILTIN(__builtin_arm_nop, "v", "")
177BUILTIN(__builtin_arm_yield, "v", "")
178BUILTIN(__builtin_arm_wfe, "v", "")
179BUILTIN(__builtin_arm_wfi, "v", "")
180BUILTIN(__builtin_arm_sev, "v", "")
181BUILTIN(__builtin_arm_sevl, "v", "")
182BUILTIN(__builtin_arm_dbg, "vUi", "")
183
184// Data barrier
185BUILTIN(__builtin_arm_dmb, "vUi", "nc")
186BUILTIN(__builtin_arm_dsb, "vUi", "nc")
187BUILTIN(__builtin_arm_isb, "vUi", "nc")
188
189// Prefetch
190BUILTIN(__builtin_arm_prefetch, "vvC*UiUi", "nc")
191
192// System registers (ACLE)
193BUILTIN(__builtin_arm_rsr, "UicC*", "nc")
194BUILTIN(__builtin_arm_rsr64, "LLUicC*", "nc")
195BUILTIN(__builtin_arm_rsrp, "v*cC*", "nc")
196BUILTIN(__builtin_arm_wsr, "vcC*Ui", "nc")
197BUILTIN(__builtin_arm_wsr64, "vcC*LLUi", "nc")
198BUILTIN(__builtin_arm_wsrp, "vcC*vC*", "nc")
199
200// Builtins for implementing ACLE MVE intrinsics. (Unlike NEON, these
201// don't need to live in a separate BuiltinsMVE.def, because they
202// aren't included from both here and BuiltinsAArch64.def.)
203#include "clang/Basic/arm_mve_builtins.inc"
204
205#include "clang/Basic/arm_cde_builtins.inc"
206
207// MSVC
208LANGBUILTIN(__emit, "vIUiC", "", ALL_MS_LANGUAGES)
209
210LANGBUILTIN(__yield, "v", "", ALL_MS_LANGUAGES)
211LANGBUILTIN(__wfe, "v", "", ALL_MS_LANGUAGES)
212LANGBUILTIN(__wfi, "v", "", ALL_MS_LANGUAGES)
213LANGBUILTIN(__sev, "v", "", ALL_MS_LANGUAGES)
214LANGBUILTIN(__sevl, "v", "", ALL_MS_LANGUAGES)
215
216LANGBUILTIN(__dmb, "vUi", "nc", ALL_MS_LANGUAGES)
217LANGBUILTIN(__dsb, "vUi", "nc", ALL_MS_LANGUAGES)
218LANGBUILTIN(__isb, "vUi", "nc", ALL_MS_LANGUAGES)
219LANGBUILTIN(__ldrexd, "WiWiCD*", "", ALL_MS_LANGUAGES)
220LANGBUILTIN(_MoveFromCoprocessor, "UiIUiIUiIUiIUiIUi", "", ALL_MS_LANGUAGES)
221LANGBUILTIN(_MoveFromCoprocessor2, "UiIUiIUiIUiIUiIUi", "", ALL_MS_LANGUAGES)
222LANGBUILTIN(_MoveToCoprocessor, "vUiIUiIUiIUiIUiIUi", "", ALL_MS_LANGUAGES)
223LANGBUILTIN(_MoveToCoprocessor2, "vUiIUiIUiIUiIUiIUi", "", ALL_MS_LANGUAGES)
224
225TARGET_HEADER_BUILTIN(_BitScanForward, "UcUNi*UNi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
226TARGET_HEADER_BUILTIN(_BitScanReverse, "UcUNi*UNi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
227TARGET_HEADER_BUILTIN(_BitScanForward64, "UcUNi*ULLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
228TARGET_HEADER_BUILTIN(_BitScanReverse64, "UcUNi*ULLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
229
230TARGET_HEADER_BUILTIN(_InterlockedAnd64, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
231TARGET_HEADER_BUILTIN(_InterlockedDecrement64, "LLiLLiD*", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
232TARGET_HEADER_BUILTIN(_InterlockedExchange64, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
233TARGET_HEADER_BUILTIN(_InterlockedExchangeAdd64, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
234TARGET_HEADER_BUILTIN(_InterlockedExchangeSub64, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
235TARGET_HEADER_BUILTIN(_InterlockedIncrement64, "LLiLLiD*", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
236TARGET_HEADER_BUILTIN(_InterlockedOr64, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
237TARGET_HEADER_BUILTIN(_InterlockedXor64, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
238
239TARGET_HEADER_BUILTIN(_InterlockedExchangeAdd_acq, "NiNiD*Ni", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
240TARGET_HEADER_BUILTIN(_InterlockedExchangeAdd_rel, "NiNiD*Ni", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
241TARGET_HEADER_BUILTIN(_InterlockedExchangeAdd_nf, "NiNiD*Ni", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
242TARGET_HEADER_BUILTIN(_InterlockedExchangeAdd8_acq, "ccD*c", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
243TARGET_HEADER_BUILTIN(_InterlockedExchangeAdd8_rel, "ccD*c", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
244TARGET_HEADER_BUILTIN(_InterlockedExchangeAdd8_nf, "ccD*c", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
245TARGET_HEADER_BUILTIN(_InterlockedExchangeAdd16_acq, "ssD*s", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
246TARGET_HEADER_BUILTIN(_InterlockedExchangeAdd16_rel, "ssD*s", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
247TARGET_HEADER_BUILTIN(_InterlockedExchangeAdd16_nf, "ssD*s", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
248TARGET_HEADER_BUILTIN(_InterlockedExchangeAdd64_acq, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
249TARGET_HEADER_BUILTIN(_InterlockedExchangeAdd64_rel, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
250TARGET_HEADER_BUILTIN(_InterlockedExchangeAdd64_nf, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
251
252TARGET_HEADER_BUILTIN(_InterlockedExchange8_acq, "ccD*c", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
253TARGET_HEADER_BUILTIN(_InterlockedExchange8_nf, "ccD*c", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
254TARGET_HEADER_BUILTIN(_InterlockedExchange8_rel, "ccD*c", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
255TARGET_HEADER_BUILTIN(_InterlockedExchange16_acq, "ssD*s", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
256TARGET_HEADER_BUILTIN(_InterlockedExchange16_nf, "ssD*s", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
257TARGET_HEADER_BUILTIN(_InterlockedExchange16_rel, "ssD*s", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
258TARGET_HEADER_BUILTIN(_InterlockedExchange_acq, "NiNiD*Ni", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
259TARGET_HEADER_BUILTIN(_InterlockedExchange_nf, "NiNiD*Ni", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
260TARGET_HEADER_BUILTIN(_InterlockedExchange_rel, "NiNiD*Ni", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
261TARGET_HEADER_BUILTIN(_InterlockedExchange64_acq, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
262TARGET_HEADER_BUILTIN(_InterlockedExchange64_nf, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
263TARGET_HEADER_BUILTIN(_InterlockedExchange64_rel, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
264
265TARGET_HEADER_BUILTIN(_InterlockedCompareExchange8_acq, "ccD*cc", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
266TARGET_HEADER_BUILTIN(_InterlockedCompareExchange8_nf, "ccD*cc", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
267TARGET_HEADER_BUILTIN(_InterlockedCompareExchange8_rel, "ccD*cc", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
268TARGET_HEADER_BUILTIN(_InterlockedCompareExchange16_acq, "ssD*ss", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
269TARGET_HEADER_BUILTIN(_InterlockedCompareExchange16_nf, "ssD*ss", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
270TARGET_HEADER_BUILTIN(_InterlockedCompareExchange16_rel, "ssD*ss", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
271TARGET_HEADER_BUILTIN(_InterlockedCompareExchange_acq, "NiNiD*NiNi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
272TARGET_HEADER_BUILTIN(_InterlockedCompareExchange_nf, "NiNiD*NiNi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
273TARGET_HEADER_BUILTIN(_InterlockedCompareExchange_rel, "NiNiD*NiNi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
274TARGET_HEADER_BUILTIN(_InterlockedCompareExchange64_acq, "LLiLLiD*LLiLLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
275TARGET_HEADER_BUILTIN(_InterlockedCompareExchange64_nf, "LLiLLiD*LLiLLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
276TARGET_HEADER_BUILTIN(_InterlockedCompareExchange64_rel, "LLiLLiD*LLiLLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
277
278TARGET_HEADER_BUILTIN(_InterlockedOr8_acq, "ccD*c", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
279TARGET_HEADER_BUILTIN(_InterlockedOr8_nf, "ccD*c", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
280TARGET_HEADER_BUILTIN(_InterlockedOr8_rel, "ccD*c", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
281TARGET_HEADER_BUILTIN(_InterlockedOr16_acq, "ssD*s", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
282TARGET_HEADER_BUILTIN(_InterlockedOr16_nf, "ssD*s", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
283TARGET_HEADER_BUILTIN(_InterlockedOr16_rel, "ssD*s", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
284TARGET_HEADER_BUILTIN(_InterlockedOr_acq, "NiNiD*Ni", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
285TARGET_HEADER_BUILTIN(_InterlockedOr_nf, "NiNiD*Ni", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
286TARGET_HEADER_BUILTIN(_InterlockedOr_rel, "NiNiD*Ni", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
287TARGET_HEADER_BUILTIN(_InterlockedOr64_acq, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
288TARGET_HEADER_BUILTIN(_InterlockedOr64_nf, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
289TARGET_HEADER_BUILTIN(_InterlockedOr64_rel, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
290
291TARGET_HEADER_BUILTIN(_InterlockedXor8_acq, "ccD*c", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
292TARGET_HEADER_BUILTIN(_InterlockedXor8_nf, "ccD*c", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
293TARGET_HEADER_BUILTIN(_InterlockedXor8_rel, "ccD*c", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
294TARGET_HEADER_BUILTIN(_InterlockedXor16_acq, "ssD*s", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
295TARGET_HEADER_BUILTIN(_InterlockedXor16_nf, "ssD*s", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
296TARGET_HEADER_BUILTIN(_InterlockedXor16_rel, "ssD*s", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
297TARGET_HEADER_BUILTIN(_InterlockedXor_acq, "NiNiD*Ni", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
298TARGET_HEADER_BUILTIN(_InterlockedXor_nf, "NiNiD*Ni", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
299TARGET_HEADER_BUILTIN(_InterlockedXor_rel, "NiNiD*Ni", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
300TARGET_HEADER_BUILTIN(_InterlockedXor64_acq, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
301TARGET_HEADER_BUILTIN(_InterlockedXor64_nf, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
302TARGET_HEADER_BUILTIN(_InterlockedXor64_rel, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
303
304TARGET_HEADER_BUILTIN(_InterlockedAnd8_acq, "ccD*c", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
305TARGET_HEADER_BUILTIN(_InterlockedAnd8_nf, "ccD*c", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
306TARGET_HEADER_BUILTIN(_InterlockedAnd8_rel, "ccD*c", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
307TARGET_HEADER_BUILTIN(_InterlockedAnd16_acq, "ssD*s", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
308TARGET_HEADER_BUILTIN(_InterlockedAnd16_nf, "ssD*s", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
309TARGET_HEADER_BUILTIN(_InterlockedAnd16_rel, "ssD*s", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
310TARGET_HEADER_BUILTIN(_InterlockedAnd_acq, "NiNiD*Ni", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
311TARGET_HEADER_BUILTIN(_InterlockedAnd_nf, "NiNiD*Ni", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
312TARGET_HEADER_BUILTIN(_InterlockedAnd_rel, "NiNiD*Ni", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
313TARGET_HEADER_BUILTIN(_InterlockedAnd64_acq, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
314TARGET_HEADER_BUILTIN(_InterlockedAnd64_nf, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
315TARGET_HEADER_BUILTIN(_InterlockedAnd64_rel, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
316
317TARGET_HEADER_BUILTIN(_InterlockedIncrement16_acq, "ssD*", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
318TARGET_HEADER_BUILTIN(_InterlockedIncrement16_nf, "ssD*", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
319TARGET_HEADER_BUILTIN(_InterlockedIncrement16_rel, "ssD*", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
320TARGET_HEADER_BUILTIN(_InterlockedIncrement_acq, "NiNiD*", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
321TARGET_HEADER_BUILTIN(_InterlockedIncrement_nf, "NiNiD*", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
322TARGET_HEADER_BUILTIN(_InterlockedIncrement_rel, "NiNiD*", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
323TARGET_HEADER_BUILTIN(_InterlockedIncrement64_acq, "LLiLLiD*", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
324TARGET_HEADER_BUILTIN(_InterlockedIncrement64_nf, "LLiLLiD*", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
325TARGET_HEADER_BUILTIN(_InterlockedIncrement64_rel, "LLiLLiD*", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
326
327TARGET_HEADER_BUILTIN(_InterlockedDecrement16_acq, "ssD*", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
328TARGET_HEADER_BUILTIN(_InterlockedDecrement16_nf, "ssD*", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
329TARGET_HEADER_BUILTIN(_InterlockedDecrement16_rel, "ssD*", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
330TARGET_HEADER_BUILTIN(_InterlockedDecrement_acq, "NiNiD*", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
331TARGET_HEADER_BUILTIN(_InterlockedDecrement_nf, "NiNiD*", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
332TARGET_HEADER_BUILTIN(_InterlockedDecrement_rel, "NiNiD*", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
333TARGET_HEADER_BUILTIN(_InterlockedDecrement64_acq, "LLiLLiD*", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
334TARGET_HEADER_BUILTIN(_InterlockedDecrement64_nf, "LLiLLiD*", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
335TARGET_HEADER_BUILTIN(_InterlockedDecrement64_rel, "LLiLLiD*", "nh", "intrin.h", ALL_MS_LANGUAGES, "")
336
337#undef BUILTIN
338#undef LANGBUILTIN
339#undef TARGET_HEADER_BUILTIN
340