Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
14 | pmbaty | 1 | //==- BuiltinsAArch64.def - AArch64 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 AArch64-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_BUILTIN) |
||
21 | # define TARGET_BUILTIN(ID, TYPE, ATTRS, FEATURE) BUILTIN(ID, TYPE, ATTRS) |
||
22 | #endif |
||
23 | |||
24 | #if defined(BUILTIN) && !defined(TARGET_HEADER_BUILTIN) |
||
25 | # define TARGET_HEADER_BUILTIN(ID, TYPE, ATTRS, HEADER, LANG, FEATURE) BUILTIN(ID, TYPE, ATTRS) |
||
26 | #endif |
||
27 | |||
28 | // In libgcc |
||
29 | BUILTIN(__clear_cache, "vv*v*", "i") |
||
30 | |||
31 | BUILTIN(__builtin_arm_ldrex, "v.", "t") |
||
32 | BUILTIN(__builtin_arm_ldaex, "v.", "t") |
||
33 | BUILTIN(__builtin_arm_strex, "i.", "t") |
||
34 | BUILTIN(__builtin_arm_stlex, "i.", "t") |
||
35 | BUILTIN(__builtin_arm_clrex, "v", "") |
||
36 | |||
37 | // Bit manipulation |
||
38 | BUILTIN(__builtin_arm_rbit, "UiUi", "nc") |
||
39 | BUILTIN(__builtin_arm_rbit64, "WUiWUi", "nc") |
||
40 | BUILTIN(__builtin_arm_cls, "UiZUi", "nc") |
||
41 | BUILTIN(__builtin_arm_cls64, "UiWUi", "nc") |
||
42 | |||
43 | // HINT |
||
44 | BUILTIN(__builtin_arm_nop, "v", "") |
||
45 | BUILTIN(__builtin_arm_yield, "v", "") |
||
46 | BUILTIN(__builtin_arm_wfe, "v", "") |
||
47 | BUILTIN(__builtin_arm_wfi, "v", "") |
||
48 | BUILTIN(__builtin_arm_sev, "v", "") |
||
49 | BUILTIN(__builtin_arm_sevl, "v", "") |
||
50 | |||
51 | // CRC32 |
||
52 | TARGET_BUILTIN(__builtin_arm_crc32b, "UiUiUc", "nc", "crc") |
||
53 | TARGET_BUILTIN(__builtin_arm_crc32cb, "UiUiUc", "nc", "crc") |
||
54 | TARGET_BUILTIN(__builtin_arm_crc32h, "UiUiUs", "nc", "crc") |
||
55 | TARGET_BUILTIN(__builtin_arm_crc32ch, "UiUiUs", "nc", "crc") |
||
56 | TARGET_BUILTIN(__builtin_arm_crc32w, "UiUiUi", "nc", "crc") |
||
57 | TARGET_BUILTIN(__builtin_arm_crc32cw, "UiUiUi", "nc", "crc") |
||
58 | TARGET_BUILTIN(__builtin_arm_crc32d, "UiUiWUi", "nc", "crc") |
||
59 | TARGET_BUILTIN(__builtin_arm_crc32cd, "UiUiWUi", "nc", "crc") |
||
60 | |||
61 | // Memory Tagging Extensions (MTE) |
||
62 | TARGET_BUILTIN(__builtin_arm_irg, "v*v*Ui", "t", "mte") |
||
63 | TARGET_BUILTIN(__builtin_arm_addg, "v*v*Ui", "t", "mte") |
||
64 | TARGET_BUILTIN(__builtin_arm_gmi, "Uiv*Ui", "t", "mte") |
||
65 | TARGET_BUILTIN(__builtin_arm_ldg, "v*v*", "t", "mte") |
||
66 | TARGET_BUILTIN(__builtin_arm_stg, "vv*", "t", "mte") |
||
67 | TARGET_BUILTIN(__builtin_arm_subp, "Uiv*v*", "t", "mte") |
||
68 | |||
69 | // Memory Operations |
||
70 | TARGET_BUILTIN(__builtin_arm_mops_memset_tag, "v*v*iz", "", "mte,mops") |
||
71 | |||
72 | // Memory barrier |
||
73 | BUILTIN(__builtin_arm_dmb, "vUi", "nc") |
||
74 | BUILTIN(__builtin_arm_dsb, "vUi", "nc") |
||
75 | BUILTIN(__builtin_arm_isb, "vUi", "nc") |
||
76 | |||
77 | TARGET_BUILTIN(__builtin_arm_jcvt, "Zid", "nc", "v8.3a") |
||
78 | |||
79 | // Prefetch |
||
80 | BUILTIN(__builtin_arm_prefetch, "vvC*UiUiUiUi", "nc") |
||
81 | |||
82 | // System Registers |
||
83 | BUILTIN(__builtin_arm_rsr, "UicC*", "nc") |
||
84 | BUILTIN(__builtin_arm_rsr64, "WUicC*", "nc") |
||
85 | TARGET_BUILTIN(__builtin_arm_rsr128, "LLLUicC*", "nc", "d128") |
||
86 | BUILTIN(__builtin_arm_rsrp, "v*cC*", "nc") |
||
87 | BUILTIN(__builtin_arm_wsr, "vcC*Ui", "nc") |
||
88 | BUILTIN(__builtin_arm_wsr64, "vcC*WUi", "nc") |
||
89 | TARGET_BUILTIN(__builtin_arm_wsr128, "vcC*LLLUi", "nc", "d128") |
||
90 | BUILTIN(__builtin_arm_wsrp, "vcC*vC*", "nc") |
||
91 | |||
92 | // MSVC |
||
93 | LANGBUILTIN(__dmb, "vUi", "nc", ALL_MS_LANGUAGES) |
||
94 | LANGBUILTIN(__dsb, "vUi", "nc", ALL_MS_LANGUAGES) |
||
95 | LANGBUILTIN(__isb, "vUi", "nc", ALL_MS_LANGUAGES) |
||
96 | LANGBUILTIN(__yield, "v", "", ALL_MS_LANGUAGES) |
||
97 | LANGBUILTIN(__wfe, "v", "", ALL_MS_LANGUAGES) |
||
98 | LANGBUILTIN(__wfi, "v", "", ALL_MS_LANGUAGES) |
||
99 | LANGBUILTIN(__sev, "v", "", ALL_MS_LANGUAGES) |
||
100 | LANGBUILTIN(__sevl, "v", "", ALL_MS_LANGUAGES) |
||
101 | |||
102 | // Misc |
||
103 | BUILTIN(__builtin_sponentry, "v*", "c") |
||
104 | |||
105 | // Transactional Memory Extension |
||
106 | BUILTIN(__builtin_arm_tstart, "WUi", "nj") |
||
107 | BUILTIN(__builtin_arm_tcommit, "v", "n") |
||
108 | BUILTIN(__builtin_arm_tcancel, "vWUIi", "n") |
||
109 | BUILTIN(__builtin_arm_ttest, "WUi", "nc") |
||
110 | |||
111 | // Armv8.5-A FP rounding intrinsics |
||
112 | TARGET_BUILTIN(__builtin_arm_rint32zf, "ff", "", "v8.5a") |
||
113 | TARGET_BUILTIN(__builtin_arm_rint32z, "dd", "", "v8.5a") |
||
114 | TARGET_BUILTIN(__builtin_arm_rint64zf, "ff", "", "v8.5a") |
||
115 | TARGET_BUILTIN(__builtin_arm_rint64z, "dd", "", "v8.5a") |
||
116 | TARGET_BUILTIN(__builtin_arm_rint32xf, "ff", "", "v8.5a") |
||
117 | TARGET_BUILTIN(__builtin_arm_rint32x, "dd", "", "v8.5a") |
||
118 | TARGET_BUILTIN(__builtin_arm_rint64xf, "ff", "", "v8.5a") |
||
119 | TARGET_BUILTIN(__builtin_arm_rint64x, "dd", "", "v8.5a") |
||
120 | |||
121 | // Armv8.5-A Random number generation intrinsics |
||
122 | TARGET_BUILTIN(__builtin_arm_rndr, "iWUi*", "n", "rand") |
||
123 | TARGET_BUILTIN(__builtin_arm_rndrrs, "iWUi*", "n", "rand") |
||
124 | |||
125 | // Armv8.7-A load/store 64-byte intrinsics |
||
126 | TARGET_BUILTIN(__builtin_arm_ld64b, "vvC*WUi*", "n", "ls64") |
||
127 | TARGET_BUILTIN(__builtin_arm_st64b, "vv*WUiC*", "n", "ls64") |
||
128 | TARGET_BUILTIN(__builtin_arm_st64bv, "WUiv*WUiC*", "n", "ls64") |
||
129 | TARGET_BUILTIN(__builtin_arm_st64bv0, "WUiv*WUiC*", "n", "ls64") |
||
130 | |||
131 | TARGET_HEADER_BUILTIN(_BitScanForward, "UcUNi*UNi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
132 | TARGET_HEADER_BUILTIN(_BitScanReverse, "UcUNi*UNi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
133 | TARGET_HEADER_BUILTIN(_BitScanForward64, "UcUNi*ULLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
134 | TARGET_HEADER_BUILTIN(_BitScanReverse64, "UcUNi*ULLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
135 | |||
136 | TARGET_HEADER_BUILTIN(_InterlockedAdd, "NiNiD*Ni", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
137 | TARGET_HEADER_BUILTIN(_InterlockedAnd64, "LLiLLiD*LLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
138 | TARGET_HEADER_BUILTIN(_InterlockedDecrement64, "LLiLLiD*", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
139 | TARGET_HEADER_BUILTIN(_InterlockedExchange64, "LLiLLiD*LLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
140 | TARGET_HEADER_BUILTIN(_InterlockedExchangeAdd64, "LLiLLiD*LLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
141 | TARGET_HEADER_BUILTIN(_InterlockedExchangeSub64, "LLiLLiD*LLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
142 | TARGET_HEADER_BUILTIN(_InterlockedIncrement64, "LLiLLiD*", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
143 | TARGET_HEADER_BUILTIN(_InterlockedOr64, "LLiLLiD*LLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
144 | TARGET_HEADER_BUILTIN(_InterlockedXor64, "LLiLLiD*LLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
145 | |||
146 | TARGET_HEADER_BUILTIN(_InterlockedExchangeAdd_acq, "NiNiD*Ni", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
147 | TARGET_HEADER_BUILTIN(_InterlockedExchangeAdd_rel, "NiNiD*Ni", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
148 | TARGET_HEADER_BUILTIN(_InterlockedExchangeAdd_nf, "NiNiD*Ni", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
149 | TARGET_HEADER_BUILTIN(_InterlockedExchangeAdd8_acq, "ccD*c", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
150 | TARGET_HEADER_BUILTIN(_InterlockedExchangeAdd8_rel, "ccD*c", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
151 | TARGET_HEADER_BUILTIN(_InterlockedExchangeAdd8_nf, "ccD*c", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
152 | TARGET_HEADER_BUILTIN(_InterlockedExchangeAdd16_acq, "ssD*s", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
153 | TARGET_HEADER_BUILTIN(_InterlockedExchangeAdd16_rel, "ssD*s", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
154 | TARGET_HEADER_BUILTIN(_InterlockedExchangeAdd16_nf, "ssD*s", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
155 | TARGET_HEADER_BUILTIN(_InterlockedExchangeAdd64_acq, "LLiLLiD*LLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
156 | TARGET_HEADER_BUILTIN(_InterlockedExchangeAdd64_rel, "LLiLLiD*LLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
157 | TARGET_HEADER_BUILTIN(_InterlockedExchangeAdd64_nf, "LLiLLiD*LLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
158 | |||
159 | TARGET_HEADER_BUILTIN(_InterlockedExchange8_acq, "ccD*c", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
160 | TARGET_HEADER_BUILTIN(_InterlockedExchange8_nf, "ccD*c", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
161 | TARGET_HEADER_BUILTIN(_InterlockedExchange8_rel, "ccD*c", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
162 | TARGET_HEADER_BUILTIN(_InterlockedExchange16_acq, "ssD*s", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
163 | TARGET_HEADER_BUILTIN(_InterlockedExchange16_nf, "ssD*s", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
164 | TARGET_HEADER_BUILTIN(_InterlockedExchange16_rel, "ssD*s", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
165 | TARGET_HEADER_BUILTIN(_InterlockedExchange_acq, "NiNiD*Ni", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
166 | TARGET_HEADER_BUILTIN(_InterlockedExchange_nf, "NiNiD*Ni", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
167 | TARGET_HEADER_BUILTIN(_InterlockedExchange_rel, "NiNiD*Ni", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
168 | TARGET_HEADER_BUILTIN(_InterlockedExchange64_acq, "LLiLLiD*LLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
169 | TARGET_HEADER_BUILTIN(_InterlockedExchange64_nf, "LLiLLiD*LLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
170 | TARGET_HEADER_BUILTIN(_InterlockedExchange64_rel, "LLiLLiD*LLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
171 | |||
172 | TARGET_HEADER_BUILTIN(_InterlockedCompareExchange8_acq, "ccD*cc", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
173 | TARGET_HEADER_BUILTIN(_InterlockedCompareExchange8_nf, "ccD*cc", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
174 | TARGET_HEADER_BUILTIN(_InterlockedCompareExchange8_rel, "ccD*cc", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
175 | TARGET_HEADER_BUILTIN(_InterlockedCompareExchange16_acq, "ssD*ss", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
176 | TARGET_HEADER_BUILTIN(_InterlockedCompareExchange16_nf, "ssD*ss", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
177 | TARGET_HEADER_BUILTIN(_InterlockedCompareExchange16_rel, "ssD*ss", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
178 | TARGET_HEADER_BUILTIN(_InterlockedCompareExchange_acq, "NiNiD*NiNi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
179 | TARGET_HEADER_BUILTIN(_InterlockedCompareExchange_nf, "NiNiD*NiNi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
180 | TARGET_HEADER_BUILTIN(_InterlockedCompareExchange_rel, "NiNiD*NiNi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
181 | TARGET_HEADER_BUILTIN(_InterlockedCompareExchange64_acq, "LLiLLiD*LLiLLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
182 | TARGET_HEADER_BUILTIN(_InterlockedCompareExchange64_nf, "LLiLLiD*LLiLLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
183 | TARGET_HEADER_BUILTIN(_InterlockedCompareExchange64_rel, "LLiLLiD*LLiLLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
184 | |||
185 | TARGET_HEADER_BUILTIN(_InterlockedCompareExchange128, "UcLLiD*LLiLLiLLi*", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
186 | TARGET_HEADER_BUILTIN(_InterlockedCompareExchange128_acq,"UcLLiD*LLiLLiLLi*", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
187 | TARGET_HEADER_BUILTIN(_InterlockedCompareExchange128_nf ,"UcLLiD*LLiLLiLLi*", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
188 | TARGET_HEADER_BUILTIN(_InterlockedCompareExchange128_rel,"UcLLiD*LLiLLiLLi*", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
189 | |||
190 | TARGET_HEADER_BUILTIN(_InterlockedOr8_acq, "ccD*c", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
191 | TARGET_HEADER_BUILTIN(_InterlockedOr8_nf, "ccD*c", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
192 | TARGET_HEADER_BUILTIN(_InterlockedOr8_rel, "ccD*c", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
193 | TARGET_HEADER_BUILTIN(_InterlockedOr16_acq, "ssD*s", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
194 | TARGET_HEADER_BUILTIN(_InterlockedOr16_nf, "ssD*s", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
195 | TARGET_HEADER_BUILTIN(_InterlockedOr16_rel, "ssD*s", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
196 | TARGET_HEADER_BUILTIN(_InterlockedOr_acq, "NiNiD*Ni", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
197 | TARGET_HEADER_BUILTIN(_InterlockedOr_nf, "NiNiD*Ni", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
198 | TARGET_HEADER_BUILTIN(_InterlockedOr_rel, "NiNiD*Ni", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
199 | TARGET_HEADER_BUILTIN(_InterlockedOr64_acq, "LLiLLiD*LLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
200 | TARGET_HEADER_BUILTIN(_InterlockedOr64_nf, "LLiLLiD*LLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
201 | TARGET_HEADER_BUILTIN(_InterlockedOr64_rel, "LLiLLiD*LLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
202 | |||
203 | TARGET_HEADER_BUILTIN(_InterlockedXor8_acq, "ccD*c", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
204 | TARGET_HEADER_BUILTIN(_InterlockedXor8_nf, "ccD*c", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
205 | TARGET_HEADER_BUILTIN(_InterlockedXor8_rel, "ccD*c", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
206 | TARGET_HEADER_BUILTIN(_InterlockedXor16_acq, "ssD*s", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
207 | TARGET_HEADER_BUILTIN(_InterlockedXor16_nf, "ssD*s", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
208 | TARGET_HEADER_BUILTIN(_InterlockedXor16_rel, "ssD*s", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
209 | TARGET_HEADER_BUILTIN(_InterlockedXor_acq, "NiNiD*Ni", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
210 | TARGET_HEADER_BUILTIN(_InterlockedXor_nf, "NiNiD*Ni", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
211 | TARGET_HEADER_BUILTIN(_InterlockedXor_rel, "NiNiD*Ni", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
212 | TARGET_HEADER_BUILTIN(_InterlockedXor64_acq, "LLiLLiD*LLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
213 | TARGET_HEADER_BUILTIN(_InterlockedXor64_nf, "LLiLLiD*LLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
214 | TARGET_HEADER_BUILTIN(_InterlockedXor64_rel, "LLiLLiD*LLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
215 | |||
216 | TARGET_HEADER_BUILTIN(_InterlockedAnd8_acq, "ccD*c", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
217 | TARGET_HEADER_BUILTIN(_InterlockedAnd8_nf, "ccD*c", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
218 | TARGET_HEADER_BUILTIN(_InterlockedAnd8_rel, "ccD*c", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
219 | TARGET_HEADER_BUILTIN(_InterlockedAnd16_acq, "ssD*s", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
220 | TARGET_HEADER_BUILTIN(_InterlockedAnd16_nf, "ssD*s", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
221 | TARGET_HEADER_BUILTIN(_InterlockedAnd16_rel, "ssD*s", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
222 | TARGET_HEADER_BUILTIN(_InterlockedAnd_acq, "NiNiD*Ni", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
223 | TARGET_HEADER_BUILTIN(_InterlockedAnd_nf, "NiNiD*Ni", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
224 | TARGET_HEADER_BUILTIN(_InterlockedAnd_rel, "NiNiD*Ni", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
225 | TARGET_HEADER_BUILTIN(_InterlockedAnd64_acq, "LLiLLiD*LLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
226 | TARGET_HEADER_BUILTIN(_InterlockedAnd64_nf, "LLiLLiD*LLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
227 | TARGET_HEADER_BUILTIN(_InterlockedAnd64_rel, "LLiLLiD*LLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
228 | |||
229 | TARGET_HEADER_BUILTIN(_InterlockedIncrement16_acq, "ssD*", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
230 | TARGET_HEADER_BUILTIN(_InterlockedIncrement16_nf, "ssD*", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
231 | TARGET_HEADER_BUILTIN(_InterlockedIncrement16_rel, "ssD*", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
232 | TARGET_HEADER_BUILTIN(_InterlockedIncrement_acq, "NiNiD*", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
233 | TARGET_HEADER_BUILTIN(_InterlockedIncrement_nf, "NiNiD*", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
234 | TARGET_HEADER_BUILTIN(_InterlockedIncrement_rel, "NiNiD*", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
235 | TARGET_HEADER_BUILTIN(_InterlockedIncrement64_acq, "LLiLLiD*", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
236 | TARGET_HEADER_BUILTIN(_InterlockedIncrement64_nf, "LLiLLiD*", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
237 | TARGET_HEADER_BUILTIN(_InterlockedIncrement64_rel, "LLiLLiD*", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
238 | |||
239 | TARGET_HEADER_BUILTIN(_InterlockedDecrement16_acq, "ssD*", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
240 | TARGET_HEADER_BUILTIN(_InterlockedDecrement16_nf, "ssD*", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
241 | TARGET_HEADER_BUILTIN(_InterlockedDecrement16_rel, "ssD*", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
242 | TARGET_HEADER_BUILTIN(_InterlockedDecrement_acq, "NiNiD*", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
243 | TARGET_HEADER_BUILTIN(_InterlockedDecrement_nf, "NiNiD*", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
244 | TARGET_HEADER_BUILTIN(_InterlockedDecrement_rel, "NiNiD*", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
245 | TARGET_HEADER_BUILTIN(_InterlockedDecrement64_acq, "LLiLLiD*", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
246 | TARGET_HEADER_BUILTIN(_InterlockedDecrement64_nf, "LLiLLiD*", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
247 | TARGET_HEADER_BUILTIN(_InterlockedDecrement64_rel, "LLiLLiD*", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
248 | |||
249 | TARGET_HEADER_BUILTIN(_ReadWriteBarrier, "v", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
250 | TARGET_HEADER_BUILTIN(__getReg, "ULLii", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
251 | TARGET_HEADER_BUILTIN(_ReadStatusReg, "LLii", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
252 | TARGET_HEADER_BUILTIN(_WriteStatusReg, "viLLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
253 | TARGET_HEADER_BUILTIN(_AddressOfReturnAddress, "v*", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
254 | |||
255 | TARGET_HEADER_BUILTIN(__mulh, "SLLiSLLiSLLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
256 | TARGET_HEADER_BUILTIN(__umulh, "ULLiULLiULLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
257 | |||
258 | TARGET_HEADER_BUILTIN(__break, "vi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
259 | |||
260 | TARGET_HEADER_BUILTIN(__writex18byte, "vULiUc", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
261 | TARGET_HEADER_BUILTIN(__writex18word, "vULiUs", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
262 | TARGET_HEADER_BUILTIN(__writex18dword, "vULiULi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
263 | TARGET_HEADER_BUILTIN(__writex18qword, "vULiULLi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
264 | |||
265 | TARGET_HEADER_BUILTIN(__readx18byte, "UcULi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
266 | TARGET_HEADER_BUILTIN(__readx18word, "UsULi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
267 | TARGET_HEADER_BUILTIN(__readx18dword, "ULiULi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
268 | TARGET_HEADER_BUILTIN(__readx18qword, "ULLiULi", "nh", INTRIN_H, ALL_MS_LANGUAGES, "") |
||
269 | |||
270 | #undef BUILTIN |
||
271 | #undef LANGBUILTIN |
||
272 | #undef TARGET_HEADER_BUILTIN |