* omp-low.c (lower_omp_target): Remove unreachable code & merge
[official-gcc.git] / gcc / omp-builtins.def
blobea9cf0d13723ced8bf374c1258cc4f17bce93a13
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-2015 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
10 version.
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
15 for more details.
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,
40 ATTR_NOTHROW_LIST)
41 DEF_GOACC_BUILTIN (BUILT_IN_GOACC_PARALLEL, "GOACC_parallel_keyed",
42 BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_VAR,
43 ATTR_NOTHROW_LIST)
44 DEF_GOACC_BUILTIN (BUILT_IN_GOACC_UPDATE, "GOACC_update",
45 BT_FN_VOID_INT_SIZE_PTR_PTR_PTR_INT_INT_VAR,
46 ATTR_NOTHROW_LIST)
47 DEF_GOACC_BUILTIN (BUILT_IN_GOACC_WAIT, "GOACC_wait",
48 BT_FN_VOID_INT_INT_VAR,
49 ATTR_NOTHROW_LIST)
50 DEF_GOACC_BUILTIN (BUILT_IN_GOACC_GET_THREAD_NUM, "GOACC_get_thread_num",
51 BT_FN_INT, ATTR_CONST_NOTHROW_LEAF_LIST)
52 DEF_GOACC_BUILTIN (BUILT_IN_GOACC_GET_NUM_THREADS, "GOACC_get_num_threads",
53 BT_FN_INT, ATTR_CONST_NOTHROW_LEAF_LIST)
55 DEF_GOACC_BUILTIN_COMPILER (BUILT_IN_ACC_ON_DEVICE, "acc_on_device",
56 BT_FN_INT_INT, ATTR_CONST_NOTHROW_LEAF_LIST)
58 DEF_GOMP_BUILTIN (BUILT_IN_OMP_GET_THREAD_NUM, "omp_get_thread_num",
59 BT_FN_INT, ATTR_CONST_NOTHROW_LEAF_LIST)
60 DEF_GOMP_BUILTIN (BUILT_IN_OMP_GET_NUM_THREADS, "omp_get_num_threads",
61 BT_FN_INT, ATTR_CONST_NOTHROW_LEAF_LIST)
62 DEF_GOMP_BUILTIN (BUILT_IN_OMP_GET_TEAM_NUM, "omp_get_team_num",
63 BT_FN_INT, ATTR_CONST_NOTHROW_LEAF_LIST)
64 DEF_GOMP_BUILTIN (BUILT_IN_OMP_GET_NUM_TEAMS, "omp_get_num_teams",
65 BT_FN_INT, ATTR_CONST_NOTHROW_LEAF_LIST)
67 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_ATOMIC_START, "GOMP_atomic_start",
68 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
69 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_ATOMIC_END, "GOMP_atomic_end",
70 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
71 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_BARRIER, "GOMP_barrier",
72 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
73 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_BARRIER_CANCEL, "GOMP_barrier_cancel",
74 BT_FN_BOOL, ATTR_NOTHROW_LEAF_LIST)
75 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASKWAIT, "GOMP_taskwait",
76 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
77 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASKYIELD, "GOMP_taskyield",
78 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
79 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASKGROUP_START, "GOMP_taskgroup_start",
80 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
81 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASKGROUP_END, "GOMP_taskgroup_end",
82 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
83 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_CANCEL, "GOMP_cancel",
84 BT_FN_BOOL_INT_BOOL, ATTR_NOTHROW_LEAF_LIST)
85 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_CANCELLATION_POINT, "GOMP_cancellation_point",
86 BT_FN_BOOL_INT, ATTR_NOTHROW_LEAF_LIST)
87 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_CRITICAL_START, "GOMP_critical_start",
88 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
89 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_CRITICAL_END, "GOMP_critical_end",
90 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
91 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_CRITICAL_NAME_START,
92 "GOMP_critical_name_start",
93 BT_FN_VOID_PTRPTR, ATTR_NOTHROW_LEAF_LIST)
94 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_CRITICAL_NAME_END,
95 "GOMP_critical_name_end",
96 BT_FN_VOID_PTRPTR, ATTR_NOTHROW_LEAF_LIST)
97 /* NOTE: Do not change the order of BUILT_IN_GOMP_LOOP_*_START. They
98 are used in index arithmetic with enum omp_clause_schedule_kind
99 in omp-low.c. */
100 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_STATIC_START,
101 "GOMP_loop_static_start",
102 BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR,
103 ATTR_NOTHROW_LEAF_LIST)
104 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_DYNAMIC_START,
105 "GOMP_loop_dynamic_start",
106 BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR,
107 ATTR_NOTHROW_LEAF_LIST)
108 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_GUIDED_START,
109 "GOMP_loop_guided_start",
110 BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR,
111 ATTR_NOTHROW_LEAF_LIST)
112 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_RUNTIME_START,
113 "GOMP_loop_runtime_start",
114 BT_FN_BOOL_LONG_LONG_LONG_LONGPTR_LONGPTR,
115 ATTR_NOTHROW_LEAF_LIST)
116 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_STATIC_START,
117 "GOMP_loop_ordered_static_start",
118 BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR,
119 ATTR_NOTHROW_LEAF_LIST)
120 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_DYNAMIC_START,
121 "GOMP_loop_ordered_dynamic_start",
122 BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR,
123 ATTR_NOTHROW_LEAF_LIST)
124 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_GUIDED_START,
125 "GOMP_loop_ordered_guided_start",
126 BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR,
127 ATTR_NOTHROW_LEAF_LIST)
128 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_RUNTIME_START,
129 "GOMP_loop_ordered_runtime_start",
130 BT_FN_BOOL_LONG_LONG_LONG_LONGPTR_LONGPTR,
131 ATTR_NOTHROW_LEAF_LIST)
132 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_DOACROSS_STATIC_START,
133 "GOMP_loop_doacross_static_start",
134 BT_FN_BOOL_UINT_LONGPTR_LONG_LONGPTR_LONGPTR,
135 ATTR_NOTHROW_LEAF_LIST)
136 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_DOACROSS_DYNAMIC_START,
137 "GOMP_loop_doacross_dynamic_start",
138 BT_FN_BOOL_UINT_LONGPTR_LONG_LONGPTR_LONGPTR,
139 ATTR_NOTHROW_LEAF_LIST)
140 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_DOACROSS_GUIDED_START,
141 "GOMP_loop_doacross_guided_start",
142 BT_FN_BOOL_UINT_LONGPTR_LONG_LONGPTR_LONGPTR,
143 ATTR_NOTHROW_LEAF_LIST)
144 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_DOACROSS_RUNTIME_START,
145 "GOMP_loop_doacross_runtime_start",
146 BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR,
147 ATTR_NOTHROW_LEAF_LIST)
148 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_STATIC_NEXT, "GOMP_loop_static_next",
149 BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST)
150 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_DYNAMIC_NEXT, "GOMP_loop_dynamic_next",
151 BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST)
152 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_GUIDED_NEXT, "GOMP_loop_guided_next",
153 BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST)
154 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_RUNTIME_NEXT, "GOMP_loop_runtime_next",
155 BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST)
156 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_STATIC_NEXT,
157 "GOMP_loop_ordered_static_next",
158 BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST)
159 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_DYNAMIC_NEXT,
160 "GOMP_loop_ordered_dynamic_next",
161 BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST)
162 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_GUIDED_NEXT,
163 "GOMP_loop_ordered_guided_next",
164 BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST)
165 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_RUNTIME_NEXT,
166 "GOMP_loop_ordered_runtime_next",
167 BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST)
168 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_STATIC_START,
169 "GOMP_loop_ull_static_start",
170 BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULL_ULLPTR_ULLPTR,
171 ATTR_NOTHROW_LEAF_LIST)
172 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_DYNAMIC_START,
173 "GOMP_loop_ull_dynamic_start",
174 BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULL_ULLPTR_ULLPTR,
175 ATTR_NOTHROW_LEAF_LIST)
176 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_GUIDED_START,
177 "GOMP_loop_ull_guided_start",
178 BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULL_ULLPTR_ULLPTR,
179 ATTR_NOTHROW_LEAF_LIST)
180 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_RUNTIME_START,
181 "GOMP_loop_ull_runtime_start",
182 BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULLPTR_ULLPTR,
183 ATTR_NOTHROW_LEAF_LIST)
184 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_STATIC_START,
185 "GOMP_loop_ull_ordered_static_start",
186 BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULL_ULLPTR_ULLPTR,
187 ATTR_NOTHROW_LEAF_LIST)
188 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_DYNAMIC_START,
189 "GOMP_loop_ull_ordered_dynamic_start",
190 BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULL_ULLPTR_ULLPTR,
191 ATTR_NOTHROW_LEAF_LIST)
192 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_GUIDED_START,
193 "GOMP_loop_ull_ordered_guided_start",
194 BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULL_ULLPTR_ULLPTR,
195 ATTR_NOTHROW_LEAF_LIST)
196 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_RUNTIME_START,
197 "GOMP_loop_ull_ordered_runtime_start",
198 BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULLPTR_ULLPTR,
199 ATTR_NOTHROW_LEAF_LIST)
200 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_DOACROSS_STATIC_START,
201 "GOMP_loop_ull_doacross_static_start",
202 BT_FN_BOOL_UINT_ULLPTR_ULL_ULLPTR_ULLPTR,
203 ATTR_NOTHROW_LEAF_LIST)
204 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_DOACROSS_DYNAMIC_START,
205 "GOMP_loop_ull_doacross_dynamic_start",
206 BT_FN_BOOL_UINT_ULLPTR_ULL_ULLPTR_ULLPTR,
207 ATTR_NOTHROW_LEAF_LIST)
208 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_DOACROSS_GUIDED_START,
209 "GOMP_loop_ull_doacross_guided_start",
210 BT_FN_BOOL_UINT_ULLPTR_ULL_ULLPTR_ULLPTR,
211 ATTR_NOTHROW_LEAF_LIST)
212 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_DOACROSS_RUNTIME_START,
213 "GOMP_loop_ull_doacross_runtime_start",
214 BT_FN_BOOL_UINT_ULLPTR_ULLPTR_ULLPTR,
215 ATTR_NOTHROW_LEAF_LIST)
216 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_STATIC_NEXT, "GOMP_loop_ull_static_next",
217 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST)
218 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_DYNAMIC_NEXT, "GOMP_loop_ull_dynamic_next",
219 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST)
220 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_GUIDED_NEXT, "GOMP_loop_ull_guided_next",
221 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST)
222 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_RUNTIME_NEXT, "GOMP_loop_ull_runtime_next",
223 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST)
224 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_STATIC_NEXT,
225 "GOMP_loop_ull_ordered_static_next",
226 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST)
227 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_DYNAMIC_NEXT,
228 "GOMP_loop_ull_ordered_dynamic_next",
229 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST)
230 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_GUIDED_NEXT,
231 "GOMP_loop_ull_ordered_guided_next",
232 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST)
233 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_RUNTIME_NEXT,
234 "GOMP_loop_ull_ordered_runtime_next",
235 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST)
236 /* NOTE: Do not change the order of BUILT_IN_GOMP_PARALLEL_LOOP_*.
237 They are used in index arithmetic with enum omp_clause_schedule_kind
238 in omp-low.c. */
239 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_LOOP_STATIC,
240 "GOMP_parallel_loop_static",
241 BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_LONG_UINT,
242 ATTR_NOTHROW_LIST)
243 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_LOOP_DYNAMIC,
244 "GOMP_parallel_loop_dynamic",
245 BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_LONG_UINT,
246 ATTR_NOTHROW_LIST)
247 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_LOOP_GUIDED,
248 "GOMP_parallel_loop_guided",
249 BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_LONG_UINT,
250 ATTR_NOTHROW_LIST)
251 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_LOOP_RUNTIME,
252 "GOMP_parallel_loop_runtime",
253 BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_UINT,
254 ATTR_NOTHROW_LIST)
255 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_END, "GOMP_loop_end",
256 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
257 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_END_CANCEL, "GOMP_loop_end_cancel",
258 BT_FN_BOOL, ATTR_NOTHROW_LEAF_LIST)
259 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_END_NOWAIT, "GOMP_loop_end_nowait",
260 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
261 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_ORDERED_START, "GOMP_ordered_start",
262 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
263 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_ORDERED_END, "GOMP_ordered_end",
264 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
265 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_DOACROSS_POST, "GOMP_doacross_post",
266 BT_FN_VOID_PTR, ATTR_NOTHROW_LEAF_LIST)
267 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_DOACROSS_WAIT, "GOMP_doacross_wait",
268 BT_FN_VOID_LONG_VAR, ATTR_NOTHROW_LEAF_LIST)
269 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_DOACROSS_ULL_POST, "GOMP_doacross_ull_post",
270 BT_FN_VOID_PTR, ATTR_NOTHROW_LEAF_LIST)
271 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_DOACROSS_ULL_WAIT, "GOMP_doacross_ull_wait",
272 BT_FN_VOID_ULL_VAR, ATTR_NOTHROW_LEAF_LIST)
273 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL, "GOMP_parallel",
274 BT_FN_VOID_OMPFN_PTR_UINT_UINT, ATTR_NOTHROW_LIST)
275 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASK, "GOMP_task",
276 BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT_PTR_INT,
277 ATTR_NOTHROW_LIST)
278 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASKLOOP, "GOMP_taskloop",
279 BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_UINT_LONG_INT_LONG_LONG_LONG,
280 ATTR_NOTHROW_LIST)
281 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASKLOOP_ULL, "GOMP_taskloop_ull",
282 BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_UINT_LONG_INT_ULL_ULL_ULL,
283 ATTR_NOTHROW_LIST)
284 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SECTIONS_START, "GOMP_sections_start",
285 BT_FN_UINT_UINT, ATTR_NOTHROW_LEAF_LIST)
286 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SECTIONS_NEXT, "GOMP_sections_next",
287 BT_FN_UINT, ATTR_NOTHROW_LEAF_LIST)
288 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_SECTIONS,
289 "GOMP_parallel_sections",
290 BT_FN_VOID_OMPFN_PTR_UINT_UINT_UINT, ATTR_NOTHROW_LIST)
291 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SECTIONS_END, "GOMP_sections_end",
292 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
293 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SECTIONS_END_CANCEL,
294 "GOMP_sections_end_cancel",
295 BT_FN_BOOL, ATTR_NOTHROW_LEAF_LIST)
296 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SECTIONS_END_NOWAIT,
297 "GOMP_sections_end_nowait",
298 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
299 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SINGLE_START, "GOMP_single_start",
300 BT_FN_BOOL, ATTR_NOTHROW_LEAF_LIST)
301 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SINGLE_COPY_START, "GOMP_single_copy_start",
302 BT_FN_PTR, ATTR_NOTHROW_LEAF_LIST)
303 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SINGLE_COPY_END, "GOMP_single_copy_end",
304 BT_FN_VOID_PTR, ATTR_NOTHROW_LEAF_LIST)
305 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TARGET, "GOMP_target_41",
306 BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_UINT_PTR,
307 ATTR_NOTHROW_LIST)
308 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TARGET_DATA, "GOMP_target_data_41",
309 BT_FN_VOID_INT_SIZE_PTR_PTR_PTR, ATTR_NOTHROW_LIST)
310 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TARGET_END_DATA, "GOMP_target_end_data",
311 BT_FN_VOID, ATTR_NOTHROW_LIST)
312 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TARGET_UPDATE, "GOMP_target_update_41",
313 BT_FN_VOID_INT_SIZE_PTR_PTR_PTR_UINT_PTR,
314 ATTR_NOTHROW_LIST)
315 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TARGET_ENTER_EXIT_DATA,
316 "GOMP_target_enter_exit_data",
317 BT_FN_VOID_INT_SIZE_PTR_PTR_PTR_UINT_PTR, ATTR_NOTHROW_LIST)
318 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TEAMS, "GOMP_teams",
319 BT_FN_VOID_UINT_UINT, ATTR_NOTHROW_LIST)