comparison gcc/omp-builtins.def @ 16:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents f6334be47118
children 84e7813d76e9
comparison
equal deleted inserted replaced
15:561a7518be6b 16:04ced10e8804
1 /* This file contains the definitions and documentation for the 1 /* This file contains the definitions and documentation for the
2 OpenMP builtins used in the GNU compiler. 2 Offloading and Multi Processing builtins used in the GNU compiler.
3 Copyright (C) 2005, 2007, 2008, 2010 Free Software Foundation, Inc. 3 Copyright (C) 2005-2017 Free Software Foundation, Inc.
4 4
5 This file is part of GCC. 5 This file is part of GCC.
6 6
7 GCC is free software; you can redistribute it and/or modify it under 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 8 the terms of the GNU General Public License as published by the Free
18 along with GCC; see the file COPYING3. If not see 18 along with GCC; see the file COPYING3. If not see
19 <http://www.gnu.org/licenses/>. */ 19 <http://www.gnu.org/licenses/>. */
20 20
21 /* Before including this file, you should define a macro: 21 /* Before including this file, you should define a macro:
22 22
23 DEF_GOACC_BUILTIN (ENUM, NAME, TYPE, ATTRS)
24 DEF_GOACC_BUILTIN_COMPILER (ENUM, NAME, TYPE, ATTRS)
23 DEF_GOMP_BUILTIN (ENUM, NAME, TYPE, ATTRS) 25 DEF_GOMP_BUILTIN (ENUM, NAME, TYPE, ATTRS)
24 26
25 See builtins.def for details. */ 27 See builtins.def for details. */
28
29 /* The reason why they aren't in gcc/builtins.def is that the Fortran front end
30 doesn't source those. */
31
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
51 DEF_GOACC_BUILTIN_COMPILER (BUILT_IN_ACC_ON_DEVICE, "acc_on_device",
52 BT_FN_INT_INT, ATTR_CONST_NOTHROW_LEAF_LIST)
26 53
27 DEF_GOMP_BUILTIN (BUILT_IN_OMP_GET_THREAD_NUM, "omp_get_thread_num", 54 DEF_GOMP_BUILTIN (BUILT_IN_OMP_GET_THREAD_NUM, "omp_get_thread_num",
28 BT_FN_INT, ATTR_CONST_NOTHROW_LEAF_LIST) 55 BT_FN_INT, ATTR_CONST_NOTHROW_LEAF_LIST)
29 DEF_GOMP_BUILTIN (BUILT_IN_OMP_GET_NUM_THREADS, "omp_get_num_threads", 56 DEF_GOMP_BUILTIN (BUILT_IN_OMP_GET_NUM_THREADS, "omp_get_num_threads",
30 BT_FN_INT, ATTR_CONST_NOTHROW_LEAF_LIST) 57 BT_FN_INT, ATTR_CONST_NOTHROW_LEAF_LIST)
58 DEF_GOMP_BUILTIN (BUILT_IN_OMP_GET_TEAM_NUM, "omp_get_team_num",
59 BT_FN_INT, ATTR_CONST_NOTHROW_LEAF_LIST)
60 DEF_GOMP_BUILTIN (BUILT_IN_OMP_GET_NUM_TEAMS, "omp_get_num_teams",
61 BT_FN_INT, ATTR_CONST_NOTHROW_LEAF_LIST)
31 62
32 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_ATOMIC_START, "GOMP_atomic_start", 63 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_ATOMIC_START, "GOMP_atomic_start",
33 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) 64 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
34 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_ATOMIC_END, "GOMP_atomic_end", 65 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_ATOMIC_END, "GOMP_atomic_end",
35 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) 66 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
36 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_BARRIER, "GOMP_barrier", 67 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_BARRIER, "GOMP_barrier",
37 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) 68 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
69 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_BARRIER_CANCEL, "GOMP_barrier_cancel",
70 BT_FN_BOOL, ATTR_NOTHROW_LEAF_LIST)
38 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASKWAIT, "GOMP_taskwait", 71 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASKWAIT, "GOMP_taskwait",
39 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) 72 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
73 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASKYIELD, "GOMP_taskyield",
74 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
75 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASKGROUP_START, "GOMP_taskgroup_start",
76 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
77 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASKGROUP_END, "GOMP_taskgroup_end",
78 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
79 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_CANCEL, "GOMP_cancel",
80 BT_FN_BOOL_INT_BOOL, ATTR_NOTHROW_LEAF_LIST)
81 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_CANCELLATION_POINT, "GOMP_cancellation_point",
82 BT_FN_BOOL_INT, ATTR_NOTHROW_LEAF_LIST)
40 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_CRITICAL_START, "GOMP_critical_start", 83 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_CRITICAL_START, "GOMP_critical_start",
41 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) 84 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
42 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_CRITICAL_END, "GOMP_critical_end", 85 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_CRITICAL_END, "GOMP_critical_end",
43 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) 86 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
44 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_CRITICAL_NAME_START, 87 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_CRITICAL_NAME_START,
64 ATTR_NOTHROW_LEAF_LIST) 107 ATTR_NOTHROW_LEAF_LIST)
65 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_RUNTIME_START, 108 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_RUNTIME_START,
66 "GOMP_loop_runtime_start", 109 "GOMP_loop_runtime_start",
67 BT_FN_BOOL_LONG_LONG_LONG_LONGPTR_LONGPTR, 110 BT_FN_BOOL_LONG_LONG_LONG_LONGPTR_LONGPTR,
68 ATTR_NOTHROW_LEAF_LIST) 111 ATTR_NOTHROW_LEAF_LIST)
112 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_NONMONOTONIC_DYNAMIC_START,
113 "GOMP_loop_nonmonotonic_dynamic_start",
114 BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR,
115 ATTR_NOTHROW_LEAF_LIST)
116 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_NONMONOTONIC_GUIDED_START,
117 "GOMP_loop_nonmonotonic_guided_start",
118 BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR,
119 ATTR_NOTHROW_LEAF_LIST)
69 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_STATIC_START, 120 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_STATIC_START,
70 "GOMP_loop_ordered_static_start", 121 "GOMP_loop_ordered_static_start",
71 BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR, 122 BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR,
72 ATTR_NOTHROW_LEAF_LIST) 123 ATTR_NOTHROW_LEAF_LIST)
73 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_DYNAMIC_START, 124 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_DYNAMIC_START,
80 ATTR_NOTHROW_LEAF_LIST) 131 ATTR_NOTHROW_LEAF_LIST)
81 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_RUNTIME_START, 132 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_RUNTIME_START,
82 "GOMP_loop_ordered_runtime_start", 133 "GOMP_loop_ordered_runtime_start",
83 BT_FN_BOOL_LONG_LONG_LONG_LONGPTR_LONGPTR, 134 BT_FN_BOOL_LONG_LONG_LONG_LONGPTR_LONGPTR,
84 ATTR_NOTHROW_LEAF_LIST) 135 ATTR_NOTHROW_LEAF_LIST)
136 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_DOACROSS_STATIC_START,
137 "GOMP_loop_doacross_static_start",
138 BT_FN_BOOL_UINT_LONGPTR_LONG_LONGPTR_LONGPTR,
139 ATTR_NOTHROW_LEAF_LIST)
140 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_DOACROSS_DYNAMIC_START,
141 "GOMP_loop_doacross_dynamic_start",
142 BT_FN_BOOL_UINT_LONGPTR_LONG_LONGPTR_LONGPTR,
143 ATTR_NOTHROW_LEAF_LIST)
144 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_DOACROSS_GUIDED_START,
145 "GOMP_loop_doacross_guided_start",
146 BT_FN_BOOL_UINT_LONGPTR_LONG_LONGPTR_LONGPTR,
147 ATTR_NOTHROW_LEAF_LIST)
148 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_DOACROSS_RUNTIME_START,
149 "GOMP_loop_doacross_runtime_start",
150 BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR,
151 ATTR_NOTHROW_LEAF_LIST)
85 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_STATIC_NEXT, "GOMP_loop_static_next", 152 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_STATIC_NEXT, "GOMP_loop_static_next",
86 BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST) 153 BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST)
87 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_DYNAMIC_NEXT, "GOMP_loop_dynamic_next", 154 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_DYNAMIC_NEXT, "GOMP_loop_dynamic_next",
88 BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST) 155 BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST)
89 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_GUIDED_NEXT, "GOMP_loop_guided_next", 156 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_GUIDED_NEXT, "GOMP_loop_guided_next",
90 BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST) 157 BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST)
91 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_RUNTIME_NEXT, "GOMP_loop_runtime_next", 158 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_RUNTIME_NEXT, "GOMP_loop_runtime_next",
159 BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST)
160 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_NONMONOTONIC_DYNAMIC_NEXT,
161 "GOMP_loop_nonmonotonic_dynamic_next",
162 BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST)
163 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_NONMONOTONIC_GUIDED_NEXT,
164 "GOMP_loop_nonmonotonic_guided_next",
92 BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST) 165 BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST)
93 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_STATIC_NEXT, 166 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_STATIC_NEXT,
94 "GOMP_loop_ordered_static_next", 167 "GOMP_loop_ordered_static_next",
95 BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST) 168 BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST)
96 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_DYNAMIC_NEXT, 169 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_DYNAMIC_NEXT,
116 ATTR_NOTHROW_LEAF_LIST) 189 ATTR_NOTHROW_LEAF_LIST)
117 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_RUNTIME_START, 190 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_RUNTIME_START,
118 "GOMP_loop_ull_runtime_start", 191 "GOMP_loop_ull_runtime_start",
119 BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULLPTR_ULLPTR, 192 BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULLPTR_ULLPTR,
120 ATTR_NOTHROW_LEAF_LIST) 193 ATTR_NOTHROW_LEAF_LIST)
194 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_NONMONOTONIC_DYNAMIC_START,
195 "GOMP_loop_ull_nonmonotonic_dynamic_start",
196 BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULL_ULLPTR_ULLPTR,
197 ATTR_NOTHROW_LEAF_LIST)
198 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_NONMONOTONIC_GUIDED_START,
199 "GOMP_loop_ull_nonmonotonic_guided_start",
200 BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULL_ULLPTR_ULLPTR,
201 ATTR_NOTHROW_LEAF_LIST)
121 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_STATIC_START, 202 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_STATIC_START,
122 "GOMP_loop_ull_ordered_static_start", 203 "GOMP_loop_ull_ordered_static_start",
123 BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULL_ULLPTR_ULLPTR, 204 BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULL_ULLPTR_ULLPTR,
124 ATTR_NOTHROW_LEAF_LIST) 205 ATTR_NOTHROW_LEAF_LIST)
125 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_DYNAMIC_START, 206 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_DYNAMIC_START,
132 ATTR_NOTHROW_LEAF_LIST) 213 ATTR_NOTHROW_LEAF_LIST)
133 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_RUNTIME_START, 214 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_RUNTIME_START,
134 "GOMP_loop_ull_ordered_runtime_start", 215 "GOMP_loop_ull_ordered_runtime_start",
135 BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULLPTR_ULLPTR, 216 BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULLPTR_ULLPTR,
136 ATTR_NOTHROW_LEAF_LIST) 217 ATTR_NOTHROW_LEAF_LIST)
137 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_STATIC_NEXT, "GOMP_loop_ull_static_next", 218 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_DOACROSS_STATIC_START,
138 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST) 219 "GOMP_loop_ull_doacross_static_start",
139 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_DYNAMIC_NEXT, "GOMP_loop_ull_dynamic_next", 220 BT_FN_BOOL_UINT_ULLPTR_ULL_ULLPTR_ULLPTR,
140 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST) 221 ATTR_NOTHROW_LEAF_LIST)
141 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_GUIDED_NEXT, "GOMP_loop_ull_guided_next", 222 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_DOACROSS_DYNAMIC_START,
142 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST) 223 "GOMP_loop_ull_doacross_dynamic_start",
143 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_RUNTIME_NEXT, "GOMP_loop_ull_runtime_next", 224 BT_FN_BOOL_UINT_ULLPTR_ULL_ULLPTR_ULLPTR,
225 ATTR_NOTHROW_LEAF_LIST)
226 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_DOACROSS_GUIDED_START,
227 "GOMP_loop_ull_doacross_guided_start",
228 BT_FN_BOOL_UINT_ULLPTR_ULL_ULLPTR_ULLPTR,
229 ATTR_NOTHROW_LEAF_LIST)
230 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_DOACROSS_RUNTIME_START,
231 "GOMP_loop_ull_doacross_runtime_start",
232 BT_FN_BOOL_UINT_ULLPTR_ULLPTR_ULLPTR,
233 ATTR_NOTHROW_LEAF_LIST)
234 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_STATIC_NEXT,
235 "GOMP_loop_ull_static_next",
236 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST)
237 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_DYNAMIC_NEXT,
238 "GOMP_loop_ull_dynamic_next",
239 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST)
240 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_GUIDED_NEXT,
241 "GOMP_loop_ull_guided_next",
242 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST)
243 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_RUNTIME_NEXT,
244 "GOMP_loop_ull_runtime_next",
245 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST)
246 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_NONMONOTONIC_DYNAMIC_NEXT,
247 "GOMP_loop_ull_nonmonotonic_dynamic_next",
248 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST)
249 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_NONMONOTONIC_GUIDED_NEXT,
250 "GOMP_loop_ull_nonmonotonic_guided_next",
144 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST) 251 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST)
145 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_STATIC_NEXT, 252 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_STATIC_NEXT,
146 "GOMP_loop_ull_ordered_static_next", 253 "GOMP_loop_ull_ordered_static_next",
147 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST) 254 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST)
148 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_DYNAMIC_NEXT, 255 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_DYNAMIC_NEXT,
152 "GOMP_loop_ull_ordered_guided_next", 259 "GOMP_loop_ull_ordered_guided_next",
153 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST) 260 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST)
154 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_RUNTIME_NEXT, 261 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_RUNTIME_NEXT,
155 "GOMP_loop_ull_ordered_runtime_next", 262 "GOMP_loop_ull_ordered_runtime_next",
156 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST) 263 BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST)
157 /* NOTE: Do not change the order of BUILT_IN_GOMP_PARALLEL_LOOP_*_START. 264 /* NOTE: Do not change the order of BUILT_IN_GOMP_PARALLEL_LOOP_*.
158 They are used in index arithmetic with enum omp_clause_schedule_kind 265 They are used in index arithmetic with enum omp_clause_schedule_kind
159 in omp-low.c. */ 266 in omp-low.c. */
160 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_LOOP_STATIC_START, 267 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_LOOP_STATIC,
161 "GOMP_parallel_loop_static_start", 268 "GOMP_parallel_loop_static",
162 BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_LONG, 269 BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_LONG_UINT,
163 ATTR_NOTHROW_LIST) 270 ATTR_NOTHROW_LIST)
164 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_LOOP_DYNAMIC_START, 271 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_LOOP_DYNAMIC,
165 "GOMP_parallel_loop_dynamic_start", 272 "GOMP_parallel_loop_dynamic",
166 BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_LONG, 273 BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_LONG_UINT,
167 ATTR_NOTHROW_LIST) 274 ATTR_NOTHROW_LIST)
168 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_LOOP_GUIDED_START, 275 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_LOOP_GUIDED,
169 "GOMP_parallel_loop_guided_start", 276 "GOMP_parallel_loop_guided",
170 BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_LONG, 277 BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_LONG_UINT,
171 ATTR_NOTHROW_LIST) 278 ATTR_NOTHROW_LIST)
172 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_LOOP_RUNTIME_START, 279 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_LOOP_RUNTIME,
173 "GOMP_parallel_loop_runtime_start", 280 "GOMP_parallel_loop_runtime",
174 BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG, 281 BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_UINT,
282 ATTR_NOTHROW_LIST)
283 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_LOOP_NONMONOTONIC_DYNAMIC,
284 "GOMP_parallel_loop_nonmonotonic_dynamic",
285 BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_LONG_UINT,
286 ATTR_NOTHROW_LIST)
287 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_LOOP_NONMONOTONIC_GUIDED,
288 "GOMP_parallel_loop_nonmonotonic_guided",
289 BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_LONG_UINT,
175 ATTR_NOTHROW_LIST) 290 ATTR_NOTHROW_LIST)
176 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_END, "GOMP_loop_end", 291 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_END, "GOMP_loop_end",
177 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) 292 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
293 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_END_CANCEL, "GOMP_loop_end_cancel",
294 BT_FN_BOOL, ATTR_NOTHROW_LEAF_LIST)
178 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_END_NOWAIT, "GOMP_loop_end_nowait", 295 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_END_NOWAIT, "GOMP_loop_end_nowait",
179 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) 296 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
180 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_ORDERED_START, "GOMP_ordered_start", 297 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_ORDERED_START, "GOMP_ordered_start",
181 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) 298 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
182 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_ORDERED_END, "GOMP_ordered_end", 299 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_ORDERED_END, "GOMP_ordered_end",
183 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) 300 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
184 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_START, "GOMP_parallel_start", 301 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_DOACROSS_POST, "GOMP_doacross_post",
185 BT_FN_VOID_OMPFN_PTR_UINT, ATTR_NOTHROW_LIST) 302 BT_FN_VOID_PTR, ATTR_NOTHROW_LEAF_LIST)
186 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_END, "GOMP_parallel_end", 303 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_DOACROSS_WAIT, "GOMP_doacross_wait",
187 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) 304 BT_FN_VOID_LONG_VAR, ATTR_NOTHROW_LEAF_LIST)
305 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_DOACROSS_ULL_POST, "GOMP_doacross_ull_post",
306 BT_FN_VOID_PTR, ATTR_NOTHROW_LEAF_LIST)
307 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_DOACROSS_ULL_WAIT, "GOMP_doacross_ull_wait",
308 BT_FN_VOID_ULL_VAR, ATTR_NOTHROW_LEAF_LIST)
309 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL, "GOMP_parallel",
310 BT_FN_VOID_OMPFN_PTR_UINT_UINT, ATTR_NOTHROW_LIST)
188 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASK, "GOMP_task", 311 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASK, "GOMP_task",
189 BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT, 312 BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT_PTR_INT,
313 ATTR_NOTHROW_LIST)
314 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASKLOOP, "GOMP_taskloop",
315 BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_UINT_LONG_INT_LONG_LONG_LONG,
316 ATTR_NOTHROW_LIST)
317 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASKLOOP_ULL, "GOMP_taskloop_ull",
318 BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_UINT_LONG_INT_ULL_ULL_ULL,
190 ATTR_NOTHROW_LIST) 319 ATTR_NOTHROW_LIST)
191 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SECTIONS_START, "GOMP_sections_start", 320 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SECTIONS_START, "GOMP_sections_start",
192 BT_FN_UINT_UINT, ATTR_NOTHROW_LEAF_LIST) 321 BT_FN_UINT_UINT, ATTR_NOTHROW_LEAF_LIST)
193 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SECTIONS_NEXT, "GOMP_sections_next", 322 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SECTIONS_NEXT, "GOMP_sections_next",
194 BT_FN_UINT, ATTR_NOTHROW_LEAF_LIST) 323 BT_FN_UINT, ATTR_NOTHROW_LEAF_LIST)
195 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_SECTIONS_START, 324 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_SECTIONS,
196 "GOMP_parallel_sections_start", 325 "GOMP_parallel_sections",
197 BT_FN_VOID_OMPFN_PTR_UINT_UINT, ATTR_NOTHROW_LIST) 326 BT_FN_VOID_OMPFN_PTR_UINT_UINT_UINT, ATTR_NOTHROW_LIST)
198 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SECTIONS_END, "GOMP_sections_end", 327 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SECTIONS_END, "GOMP_sections_end",
199 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) 328 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
329 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SECTIONS_END_CANCEL,
330 "GOMP_sections_end_cancel",
331 BT_FN_BOOL, ATTR_NOTHROW_LEAF_LIST)
200 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SECTIONS_END_NOWAIT, 332 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SECTIONS_END_NOWAIT,
201 "GOMP_sections_end_nowait", 333 "GOMP_sections_end_nowait",
202 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) 334 BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST)
203 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SINGLE_START, "GOMP_single_start", 335 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SINGLE_START, "GOMP_single_start",
204 BT_FN_BOOL, ATTR_NOTHROW_LEAF_LIST) 336 BT_FN_BOOL, ATTR_NOTHROW_LEAF_LIST)
205 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SINGLE_COPY_START, "GOMP_single_copy_start", 337 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SINGLE_COPY_START, "GOMP_single_copy_start",
206 BT_FN_PTR, ATTR_NOTHROW_LEAF_LIST) 338 BT_FN_PTR, ATTR_NOTHROW_LEAF_LIST)
207 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SINGLE_COPY_END, "GOMP_single_copy_end", 339 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SINGLE_COPY_END, "GOMP_single_copy_end",
208 BT_FN_VOID_PTR, ATTR_NOTHROW_LEAF_LIST) 340 BT_FN_VOID_PTR, ATTR_NOTHROW_LEAF_LIST)
341 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_OFFLOAD_REGISTER, "GOMP_offload_register_ver",
342 BT_FN_VOID_UINT_PTR_INT_PTR, ATTR_NOTHROW_LIST)
343 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_OFFLOAD_UNREGISTER,
344 "GOMP_offload_unregister_ver",
345 BT_FN_VOID_UINT_PTR_INT_PTR, ATTR_NOTHROW_LIST)
346 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TARGET, "GOMP_target_ext",
347 BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_UINT_PTR_PTR,
348 ATTR_NOTHROW_LIST)
349 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TARGET_DATA, "GOMP_target_data_ext",
350 BT_FN_VOID_INT_SIZE_PTR_PTR_PTR, ATTR_NOTHROW_LIST)
351 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TARGET_END_DATA, "GOMP_target_end_data",
352 BT_FN_VOID, ATTR_NOTHROW_LIST)
353 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TARGET_UPDATE, "GOMP_target_update_ext",
354 BT_FN_VOID_INT_SIZE_PTR_PTR_PTR_UINT_PTR,
355 ATTR_NOTHROW_LIST)
356 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TARGET_ENTER_EXIT_DATA,
357 "GOMP_target_enter_exit_data",
358 BT_FN_VOID_INT_SIZE_PTR_PTR_PTR_UINT_PTR, ATTR_NOTHROW_LIST)
359 DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TEAMS, "GOMP_teams",
360 BT_FN_VOID_UINT_UINT, ATTR_NOTHROW_LIST)
361 DEF_GOACC_BUILTIN (BUILT_IN_GOACC_DECLARE, "GOACC_declare",
362 BT_FN_VOID_INT_SIZE_PTR_PTR_PTR, ATTR_NOTHROW_LIST)