1 /* This file contains the definitions and documentation for the
2 Offloading and Multi Processing builtins used in the GNU compiler.
3 Copyright (C
) 2005-2018 Free Software Foundation
, Inc.
5 This file is part of GCC.
7 GCC is free software
; you can redistribute it and
/or modify it under
8 the terms of the GNU General Public License as published by the Free
9 Software Foundation
; either version
3, or (at your option
) any later
12 GCC is distributed in the hope that it will be useful
, but WITHOUT ANY
13 WARRANTY
; without even the implied warranty of MERCHANTABILITY or
14 FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License
17 You should have received a copy of the GNU General Public License
18 along with GCC
; see the file COPYING3. If not see
19 <http
://www.gnu.org
/licenses
/>.
*/
21 /* Before including this file
, you should define a macro
:
23 DEF_GOACC_BUILTIN (ENUM
, NAME
, TYPE, ATTRS
)
24 DEF_GOACC_BUILTIN_COMPILER (ENUM
, NAME
, TYPE, ATTRS
)
25 DEF_GOMP_BUILTIN (ENUM
, NAME
, TYPE, ATTRS
)
27 See builtins.def for details.
*/
29 /* The reason why they aren
't in gcc/builtins.def is that the Fortran front end
30 doesn't source those.
*/
32 DEF_GOACC_BUILTIN (BUILT_IN_ACC_GET_DEVICE_TYPE
, "acc_get_device_type",
33 BT_FN_INT
, ATTR_NOTHROW_LIST
)
34 DEF_GOACC_BUILTIN (BUILT_IN_GOACC_DATA_START
, "GOACC_data_start",
35 BT_FN_VOID_INT_SIZE_PTR_PTR_PTR
, ATTR_NOTHROW_LIST
)
36 DEF_GOACC_BUILTIN (BUILT_IN_GOACC_DATA_END
, "GOACC_data_end",
37 BT_FN_VOID
, ATTR_NOTHROW_LIST
)
38 DEF_GOACC_BUILTIN (BUILT_IN_GOACC_ENTER_EXIT_DATA
, "GOACC_enter_exit_data",
39 BT_FN_VOID_INT_SIZE_PTR_PTR_PTR_INT_INT_VAR
,
41 DEF_GOACC_BUILTIN (BUILT_IN_GOACC_PARALLEL
, "GOACC_parallel_keyed",
42 BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_VAR
,
44 DEF_GOACC_BUILTIN (BUILT_IN_GOACC_UPDATE
, "GOACC_update",
45 BT_FN_VOID_INT_SIZE_PTR_PTR_PTR_INT_INT_VAR
,
47 DEF_GOACC_BUILTIN (BUILT_IN_GOACC_WAIT
, "GOACC_wait",
48 BT_FN_VOID_INT_INT_VAR
,
51 DEF_GOACC_BUILTIN_COMPILER (BUILT_IN_ACC_ON_DEVICE
, "acc_on_device",
52 BT_FN_INT_INT
, ATTR_CONST_NOTHROW_LEAF_LIST
)
54 DEF_GOACC_BUILTIN_ONLY (BUILT_IN_GOACC_PARLEVEL_ID
, "goacc_parlevel_id",
55 BT_FN_INT_INT
, ATTR_NOTHROW_LEAF_LIST
)
56 DEF_GOACC_BUILTIN_ONLY (BUILT_IN_GOACC_PARLEVEL_SIZE
, "goacc_parlevel_size",
57 BT_FN_INT_INT
, ATTR_NOTHROW_LEAF_LIST
)
59 DEF_GOMP_BUILTIN (BUILT_IN_OMP_GET_THREAD_NUM
, "omp_get_thread_num",
60 BT_FN_INT
, ATTR_CONST_NOTHROW_LEAF_LIST
)
61 DEF_GOMP_BUILTIN (BUILT_IN_OMP_GET_NUM_THREADS
, "omp_get_num_threads",
62 BT_FN_INT
, ATTR_CONST_NOTHROW_LEAF_LIST
)
63 DEF_GOMP_BUILTIN (BUILT_IN_OMP_GET_TEAM_NUM
, "omp_get_team_num",
64 BT_FN_INT
, ATTR_CONST_NOTHROW_LEAF_LIST
)
65 DEF_GOMP_BUILTIN (BUILT_IN_OMP_GET_NUM_TEAMS
, "omp_get_num_teams",
66 BT_FN_INT
, ATTR_CONST_NOTHROW_LEAF_LIST
)
68 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_ATOMIC_START
, "GOMP_atomic_start",
69 BT_FN_VOID
, ATTR_NOTHROW_LEAF_LIST
)
70 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_ATOMIC_END
, "GOMP_atomic_end",
71 BT_FN_VOID
, ATTR_NOTHROW_LEAF_LIST
)
72 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_BARRIER
, "GOMP_barrier",
73 BT_FN_VOID
, ATTR_NOTHROW_LEAF_LIST
)
74 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_BARRIER_CANCEL
, "GOMP_barrier_cancel",
75 BT_FN_BOOL
, ATTR_NOTHROW_LEAF_LIST
)
76 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASKWAIT
, "GOMP_taskwait",
77 BT_FN_VOID
, ATTR_NOTHROW_LEAF_LIST
)
78 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASKYIELD
, "GOMP_taskyield",
79 BT_FN_VOID
, ATTR_NOTHROW_LEAF_LIST
)
80 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASKGROUP_START
, "GOMP_taskgroup_start",
81 BT_FN_VOID
, ATTR_NOTHROW_LEAF_LIST
)
82 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASKGROUP_END
, "GOMP_taskgroup_end",
83 BT_FN_VOID
, ATTR_NOTHROW_LEAF_LIST
)
84 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_CANCEL
, "GOMP_cancel",
85 BT_FN_BOOL_INT_BOOL
, ATTR_NOTHROW_LEAF_LIST
)
86 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_CANCELLATION_POINT
, "GOMP_cancellation_point",
87 BT_FN_BOOL_INT
, ATTR_NOTHROW_LEAF_LIST
)
88 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_CRITICAL_START
, "GOMP_critical_start",
89 BT_FN_VOID
, ATTR_NOTHROW_LEAF_LIST
)
90 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_CRITICAL_END
, "GOMP_critical_end",
91 BT_FN_VOID
, ATTR_NOTHROW_LEAF_LIST
)
92 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_CRITICAL_NAME_START
,
93 "GOMP_critical_name_start",
94 BT_FN_VOID_PTRPTR
, ATTR_NOTHROW_LEAF_LIST
)
95 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_CRITICAL_NAME_END
,
96 "GOMP_critical_name_end",
97 BT_FN_VOID_PTRPTR
, ATTR_NOTHROW_LEAF_LIST
)
98 /* NOTE
: Do not change the order of BUILT_IN_GOMP_LOOP_
*_START. They
99 are used in index arithmetic with enum omp_clause_schedule_kind
101 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_STATIC_START
,
102 "GOMP_loop_static_start",
103 BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR
,
104 ATTR_NOTHROW_LEAF_LIST
)
105 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_DYNAMIC_START
,
106 "GOMP_loop_dynamic_start",
107 BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR
,
108 ATTR_NOTHROW_LEAF_LIST
)
109 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_GUIDED_START
,
110 "GOMP_loop_guided_start",
111 BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR
,
112 ATTR_NOTHROW_LEAF_LIST
)
113 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_RUNTIME_START
,
114 "GOMP_loop_runtime_start",
115 BT_FN_BOOL_LONG_LONG_LONG_LONGPTR_LONGPTR
,
116 ATTR_NOTHROW_LEAF_LIST
)
117 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_NONMONOTONIC_DYNAMIC_START
,
118 "GOMP_loop_nonmonotonic_dynamic_start",
119 BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR
,
120 ATTR_NOTHROW_LEAF_LIST
)
121 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_NONMONOTONIC_GUIDED_START
,
122 "GOMP_loop_nonmonotonic_guided_start",
123 BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR
,
124 ATTR_NOTHROW_LEAF_LIST
)
125 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_STATIC_START
,
126 "GOMP_loop_ordered_static_start",
127 BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR
,
128 ATTR_NOTHROW_LEAF_LIST
)
129 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_DYNAMIC_START
,
130 "GOMP_loop_ordered_dynamic_start",
131 BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR
,
132 ATTR_NOTHROW_LEAF_LIST
)
133 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_GUIDED_START
,
134 "GOMP_loop_ordered_guided_start",
135 BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR
,
136 ATTR_NOTHROW_LEAF_LIST
)
137 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_RUNTIME_START
,
138 "GOMP_loop_ordered_runtime_start",
139 BT_FN_BOOL_LONG_LONG_LONG_LONGPTR_LONGPTR
,
140 ATTR_NOTHROW_LEAF_LIST
)
141 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_DOACROSS_STATIC_START
,
142 "GOMP_loop_doacross_static_start",
143 BT_FN_BOOL_UINT_LONGPTR_LONG_LONGPTR_LONGPTR
,
144 ATTR_NOTHROW_LEAF_LIST
)
145 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_DOACROSS_DYNAMIC_START
,
146 "GOMP_loop_doacross_dynamic_start",
147 BT_FN_BOOL_UINT_LONGPTR_LONG_LONGPTR_LONGPTR
,
148 ATTR_NOTHROW_LEAF_LIST
)
149 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_DOACROSS_GUIDED_START
,
150 "GOMP_loop_doacross_guided_start",
151 BT_FN_BOOL_UINT_LONGPTR_LONG_LONGPTR_LONGPTR
,
152 ATTR_NOTHROW_LEAF_LIST
)
153 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_DOACROSS_RUNTIME_START
,
154 "GOMP_loop_doacross_runtime_start",
155 BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR
,
156 ATTR_NOTHROW_LEAF_LIST
)
157 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_STATIC_NEXT
, "GOMP_loop_static_next",
158 BT_FN_BOOL_LONGPTR_LONGPTR
, ATTR_NOTHROW_LEAF_LIST
)
159 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_DYNAMIC_NEXT
, "GOMP_loop_dynamic_next",
160 BT_FN_BOOL_LONGPTR_LONGPTR
, ATTR_NOTHROW_LEAF_LIST
)
161 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_GUIDED_NEXT
, "GOMP_loop_guided_next",
162 BT_FN_BOOL_LONGPTR_LONGPTR
, ATTR_NOTHROW_LEAF_LIST
)
163 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_RUNTIME_NEXT
, "GOMP_loop_runtime_next",
164 BT_FN_BOOL_LONGPTR_LONGPTR
, ATTR_NOTHROW_LEAF_LIST
)
165 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_NONMONOTONIC_DYNAMIC_NEXT
,
166 "GOMP_loop_nonmonotonic_dynamic_next",
167 BT_FN_BOOL_LONGPTR_LONGPTR
, ATTR_NOTHROW_LEAF_LIST
)
168 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_NONMONOTONIC_GUIDED_NEXT
,
169 "GOMP_loop_nonmonotonic_guided_next",
170 BT_FN_BOOL_LONGPTR_LONGPTR
, ATTR_NOTHROW_LEAF_LIST
)
171 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_STATIC_NEXT
,
172 "GOMP_loop_ordered_static_next",
173 BT_FN_BOOL_LONGPTR_LONGPTR
, ATTR_NOTHROW_LEAF_LIST
)
174 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_DYNAMIC_NEXT
,
175 "GOMP_loop_ordered_dynamic_next",
176 BT_FN_BOOL_LONGPTR_LONGPTR
, ATTR_NOTHROW_LEAF_LIST
)
177 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_GUIDED_NEXT
,
178 "GOMP_loop_ordered_guided_next",
179 BT_FN_BOOL_LONGPTR_LONGPTR
, ATTR_NOTHROW_LEAF_LIST
)
180 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_RUNTIME_NEXT
,
181 "GOMP_loop_ordered_runtime_next",
182 BT_FN_BOOL_LONGPTR_LONGPTR
, ATTR_NOTHROW_LEAF_LIST
)
183 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_STATIC_START
,
184 "GOMP_loop_ull_static_start",
185 BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULL_ULLPTR_ULLPTR
,
186 ATTR_NOTHROW_LEAF_LIST
)
187 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_DYNAMIC_START
,
188 "GOMP_loop_ull_dynamic_start",
189 BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULL_ULLPTR_ULLPTR
,
190 ATTR_NOTHROW_LEAF_LIST
)
191 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_GUIDED_START
,
192 "GOMP_loop_ull_guided_start",
193 BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULL_ULLPTR_ULLPTR
,
194 ATTR_NOTHROW_LEAF_LIST
)
195 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_RUNTIME_START
,
196 "GOMP_loop_ull_runtime_start",
197 BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULLPTR_ULLPTR
,
198 ATTR_NOTHROW_LEAF_LIST
)
199 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_NONMONOTONIC_DYNAMIC_START
,
200 "GOMP_loop_ull_nonmonotonic_dynamic_start",
201 BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULL_ULLPTR_ULLPTR
,
202 ATTR_NOTHROW_LEAF_LIST
)
203 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_NONMONOTONIC_GUIDED_START
,
204 "GOMP_loop_ull_nonmonotonic_guided_start",
205 BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULL_ULLPTR_ULLPTR
,
206 ATTR_NOTHROW_LEAF_LIST
)
207 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_STATIC_START
,
208 "GOMP_loop_ull_ordered_static_start",
209 BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULL_ULLPTR_ULLPTR
,
210 ATTR_NOTHROW_LEAF_LIST
)
211 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_DYNAMIC_START
,
212 "GOMP_loop_ull_ordered_dynamic_start",
213 BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULL_ULLPTR_ULLPTR
,
214 ATTR_NOTHROW_LEAF_LIST
)
215 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_GUIDED_START
,
216 "GOMP_loop_ull_ordered_guided_start",
217 BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULL_ULLPTR_ULLPTR
,
218 ATTR_NOTHROW_LEAF_LIST
)
219 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_RUNTIME_START
,
220 "GOMP_loop_ull_ordered_runtime_start",
221 BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULLPTR_ULLPTR
,
222 ATTR_NOTHROW_LEAF_LIST
)
223 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_DOACROSS_STATIC_START
,
224 "GOMP_loop_ull_doacross_static_start",
225 BT_FN_BOOL_UINT_ULLPTR_ULL_ULLPTR_ULLPTR
,
226 ATTR_NOTHROW_LEAF_LIST
)
227 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_DOACROSS_DYNAMIC_START
,
228 "GOMP_loop_ull_doacross_dynamic_start",
229 BT_FN_BOOL_UINT_ULLPTR_ULL_ULLPTR_ULLPTR
,
230 ATTR_NOTHROW_LEAF_LIST
)
231 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_DOACROSS_GUIDED_START
,
232 "GOMP_loop_ull_doacross_guided_start",
233 BT_FN_BOOL_UINT_ULLPTR_ULL_ULLPTR_ULLPTR
,
234 ATTR_NOTHROW_LEAF_LIST
)
235 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_DOACROSS_RUNTIME_START
,
236 "GOMP_loop_ull_doacross_runtime_start",
237 BT_FN_BOOL_UINT_ULLPTR_ULLPTR_ULLPTR
,
238 ATTR_NOTHROW_LEAF_LIST
)
239 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_STATIC_NEXT
,
240 "GOMP_loop_ull_static_next",
241 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR
, ATTR_NOTHROW_LEAF_LIST
)
242 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_DYNAMIC_NEXT
,
243 "GOMP_loop_ull_dynamic_next",
244 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR
, ATTR_NOTHROW_LEAF_LIST
)
245 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_GUIDED_NEXT
,
246 "GOMP_loop_ull_guided_next",
247 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR
, ATTR_NOTHROW_LEAF_LIST
)
248 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_RUNTIME_NEXT
,
249 "GOMP_loop_ull_runtime_next",
250 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR
, ATTR_NOTHROW_LEAF_LIST
)
251 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_NONMONOTONIC_DYNAMIC_NEXT
,
252 "GOMP_loop_ull_nonmonotonic_dynamic_next",
253 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR
, ATTR_NOTHROW_LEAF_LIST
)
254 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_NONMONOTONIC_GUIDED_NEXT
,
255 "GOMP_loop_ull_nonmonotonic_guided_next",
256 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR
, ATTR_NOTHROW_LEAF_LIST
)
257 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_STATIC_NEXT
,
258 "GOMP_loop_ull_ordered_static_next",
259 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR
, ATTR_NOTHROW_LEAF_LIST
)
260 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_DYNAMIC_NEXT
,
261 "GOMP_loop_ull_ordered_dynamic_next",
262 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR
, ATTR_NOTHROW_LEAF_LIST
)
263 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_GUIDED_NEXT
,
264 "GOMP_loop_ull_ordered_guided_next",
265 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR
, ATTR_NOTHROW_LEAF_LIST
)
266 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_RUNTIME_NEXT
,
267 "GOMP_loop_ull_ordered_runtime_next",
268 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR
, ATTR_NOTHROW_LEAF_LIST
)
269 /* NOTE
: Do not change the order of BUILT_IN_GOMP_PARALLEL_LOOP_
*.
270 They are used in index arithmetic with enum omp_clause_schedule_kind
272 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_LOOP_STATIC
,
273 "GOMP_parallel_loop_static",
274 BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_LONG_UINT
,
276 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_LOOP_DYNAMIC
,
277 "GOMP_parallel_loop_dynamic",
278 BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_LONG_UINT
,
280 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_LOOP_GUIDED
,
281 "GOMP_parallel_loop_guided",
282 BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_LONG_UINT
,
284 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_LOOP_RUNTIME
,
285 "GOMP_parallel_loop_runtime",
286 BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_UINT
,
288 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_LOOP_NONMONOTONIC_DYNAMIC
,
289 "GOMP_parallel_loop_nonmonotonic_dynamic",
290 BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_LONG_UINT
,
292 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_LOOP_NONMONOTONIC_GUIDED
,
293 "GOMP_parallel_loop_nonmonotonic_guided",
294 BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_LONG_UINT
,
296 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_END
, "GOMP_loop_end",
297 BT_FN_VOID
, ATTR_NOTHROW_LEAF_LIST
)
298 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_END_CANCEL
, "GOMP_loop_end_cancel",
299 BT_FN_BOOL
, ATTR_NOTHROW_LEAF_LIST
)
300 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_END_NOWAIT
, "GOMP_loop_end_nowait",
301 BT_FN_VOID
, ATTR_NOTHROW_LEAF_LIST
)
302 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_ORDERED_START
, "GOMP_ordered_start",
303 BT_FN_VOID
, ATTR_NOTHROW_LEAF_LIST
)
304 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_ORDERED_END
, "GOMP_ordered_end",
305 BT_FN_VOID
, ATTR_NOTHROW_LEAF_LIST
)
306 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_DOACROSS_POST
, "GOMP_doacross_post",
307 BT_FN_VOID_PTR
, ATTR_NOTHROW_LEAF_LIST
)
308 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_DOACROSS_WAIT
, "GOMP_doacross_wait",
309 BT_FN_VOID_LONG_VAR
, ATTR_NOTHROW_LEAF_LIST
)
310 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_DOACROSS_ULL_POST
, "GOMP_doacross_ull_post",
311 BT_FN_VOID_PTR
, ATTR_NOTHROW_LEAF_LIST
)
312 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_DOACROSS_ULL_WAIT
, "GOMP_doacross_ull_wait",
313 BT_FN_VOID_ULL_VAR
, ATTR_NOTHROW_LEAF_LIST
)
314 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL
, "GOMP_parallel",
315 BT_FN_VOID_OMPFN_PTR_UINT_UINT
, ATTR_NOTHROW_LIST
)
316 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASK
, "GOMP_task",
317 BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT_PTR_INT
,
319 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASKLOOP
, "GOMP_taskloop",
320 BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_UINT_LONG_INT_LONG_LONG_LONG
,
322 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASKLOOP_ULL
, "GOMP_taskloop_ull",
323 BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_UINT_LONG_INT_ULL_ULL_ULL
,
325 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SECTIONS_START
, "GOMP_sections_start",
326 BT_FN_UINT_UINT
, ATTR_NOTHROW_LEAF_LIST
)
327 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SECTIONS_NEXT
, "GOMP_sections_next",
328 BT_FN_UINT
, ATTR_NOTHROW_LEAF_LIST
)
329 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_SECTIONS
,
330 "GOMP_parallel_sections",
331 BT_FN_VOID_OMPFN_PTR_UINT_UINT_UINT
, ATTR_NOTHROW_LIST
)
332 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SECTIONS_END
, "GOMP_sections_end",
333 BT_FN_VOID
, ATTR_NOTHROW_LEAF_LIST
)
334 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SECTIONS_END_CANCEL
,
335 "GOMP_sections_end_cancel",
336 BT_FN_BOOL
, ATTR_NOTHROW_LEAF_LIST
)
337 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SECTIONS_END_NOWAIT
,
338 "GOMP_sections_end_nowait",
339 BT_FN_VOID
, ATTR_NOTHROW_LEAF_LIST
)
340 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SINGLE_START
, "GOMP_single_start",
341 BT_FN_BOOL
, ATTR_NOTHROW_LEAF_LIST
)
342 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SINGLE_COPY_START
, "GOMP_single_copy_start",
343 BT_FN_PTR
, ATTR_NOTHROW_LEAF_LIST
)
344 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SINGLE_COPY_END
, "GOMP_single_copy_end",
345 BT_FN_VOID_PTR
, ATTR_NOTHROW_LEAF_LIST
)
346 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_OFFLOAD_REGISTER
, "GOMP_offload_register_ver",
347 BT_FN_VOID_UINT_PTR_INT_PTR
, ATTR_NOTHROW_LIST
)
348 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_OFFLOAD_UNREGISTER
,
349 "GOMP_offload_unregister_ver",
350 BT_FN_VOID_UINT_PTR_INT_PTR
, ATTR_NOTHROW_LIST
)
351 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TARGET
, "GOMP_target_ext",
352 BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_UINT_PTR_PTR
,
354 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TARGET_DATA
, "GOMP_target_data_ext",
355 BT_FN_VOID_INT_SIZE_PTR_PTR_PTR
, ATTR_NOTHROW_LIST
)
356 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TARGET_END_DATA
, "GOMP_target_end_data",
357 BT_FN_VOID
, ATTR_NOTHROW_LIST
)
358 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TARGET_UPDATE
, "GOMP_target_update_ext",
359 BT_FN_VOID_INT_SIZE_PTR_PTR_PTR_UINT_PTR
,
361 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TARGET_ENTER_EXIT_DATA
,
362 "GOMP_target_enter_exit_data",
363 BT_FN_VOID_INT_SIZE_PTR_PTR_PTR_UINT_PTR
, ATTR_NOTHROW_LIST
)
364 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TEAMS
, "GOMP_teams",
365 BT_FN_VOID_UINT_UINT
, ATTR_NOTHROW_LIST
)
366 DEF_GOACC_BUILTIN (BUILT_IN_GOACC_DECLARE
, "GOACC_declare",
367 BT_FN_VOID_INT_SIZE_PTR_PTR_PTR
, ATTR_NOTHROW_LIST
)