| /* This file contains the definitions and documentation for the |
| Offloading and Multi Processing builtins used in the GNU compiler. |
| Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| |
| This file is part of GCC. |
| |
| GCC is free software; you can redistribute it and/or modify it under |
| the terms of the GNU General Public License as published by the Free |
| Software Foundation; either version 3, or (at your option) any later |
| version. |
| |
| GCC is distributed in the hope that it will be useful, but WITHOUT ANY |
| WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
| for more details. |
| |
| You should have received a copy of the GNU General Public License |
| along with GCC; see the file COPYING3. If not see |
| <http://www.gnu.org/licenses/>. */ |
| |
| /* Before including this file, you should define a macro: |
| |
| DEF_GOACC_BUILTIN (ENUM, NAME, TYPE, ATTRS) |
| DEF_GOACC_BUILTIN_COMPILER (ENUM, NAME, TYPE, ATTRS) |
| DEF_GOMP_BUILTIN (ENUM, NAME, TYPE, ATTRS) |
| |
| See builtins.def for details. */ |
| |
| /* The reason why they aren't in gcc/builtins.def is that the Fortran front end |
| doesn't source those. */ |
| |
| DEF_GOACC_BUILTIN (BUILT_IN_GOACC_DATA_START, "GOACC_data_start", |
| BT_FN_VOID_INT_SIZE_PTR_PTR_PTR, ATTR_NOTHROW_LIST) |
| DEF_GOACC_BUILTIN (BUILT_IN_GOACC_DATA_END, "GOACC_data_end", |
| BT_FN_VOID, ATTR_NOTHROW_LIST) |
| DEF_GOACC_BUILTIN (BUILT_IN_GOACC_ENTER_DATA, "GOACC_enter_data", |
| BT_FN_VOID_INT_SIZE_PTR_PTR_PTR_INT_INT_VAR, |
| ATTR_NOTHROW_LIST) |
| DEF_GOACC_BUILTIN (BUILT_IN_GOACC_EXIT_DATA, "GOACC_exit_data", |
| BT_FN_VOID_INT_SIZE_PTR_PTR_PTR_INT_INT_VAR, |
| ATTR_NOTHROW_LIST) |
| DEF_GOACC_BUILTIN (BUILT_IN_GOACC_PARALLEL, "GOACC_parallel_keyed", |
| BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_VAR, |
| ATTR_NOTHROW_LIST) |
| DEF_GOACC_BUILTIN (BUILT_IN_GOACC_UPDATE, "GOACC_update", |
| BT_FN_VOID_INT_SIZE_PTR_PTR_PTR_INT_INT_VAR, |
| ATTR_NOTHROW_LIST) |
| DEF_GOACC_BUILTIN (BUILT_IN_GOACC_WAIT, "GOACC_wait", |
| BT_FN_VOID_INT_INT_VAR, |
| ATTR_NOTHROW_LIST) |
| DEF_GOACC_BUILTIN (BUILT_IN_GOACC_DECLARE, "GOACC_declare", |
| BT_FN_VOID_INT_SIZE_PTR_PTR_PTR, ATTR_NOTHROW_LIST) |
| |
| DEF_GOACC_BUILTIN_COMPILER (BUILT_IN_ACC_ON_DEVICE, "acc_on_device", |
| BT_FN_INT_INT, ATTR_CONST_NOTHROW_LEAF_LIST) |
| |
| DEF_GOACC_BUILTIN_ONLY (BUILT_IN_GOACC_PARLEVEL_ID, "goacc_parlevel_id", |
| BT_FN_INT_INT, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOACC_BUILTIN_ONLY (BUILT_IN_GOACC_PARLEVEL_SIZE, "goacc_parlevel_size", |
| BT_FN_INT_INT, ATTR_NOTHROW_LEAF_LIST) |
| |
| DEF_GOACC_BUILTIN_ONLY (BUILT_IN_GOACC_BARRIER, "GOACC_barrier", |
| BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOACC_BUILTIN_ONLY (BUILT_IN_GOACC_SINGLE_START, "GOACC_single_start", |
| BT_FN_BOOL, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOACC_BUILTIN_ONLY (BUILT_IN_GOACC_SINGLE_COPY_START, "GOACC_single_copy_start", |
| BT_FN_PTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOACC_BUILTIN_ONLY (BUILT_IN_GOACC_SINGLE_COPY_END, "GOACC_single_copy_end", |
| BT_FN_VOID_PTR, ATTR_NOTHROW_LEAF_LIST) |
| |
| DEF_GOMP_BUILTIN (BUILT_IN_OMP_GET_THREAD_NUM, "omp_get_thread_num", |
| BT_FN_INT, ATTR_CONST_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_OMP_GET_NUM_THREADS, "omp_get_num_threads", |
| BT_FN_INT, ATTR_CONST_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_OMP_GET_TEAM_NUM, "omp_get_team_num", |
| BT_FN_INT, ATTR_CONST_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_OMP_GET_NUM_TEAMS, "omp_get_num_teams", |
| BT_FN_INT, ATTR_CONST_NOTHROW_LEAF_LIST) |
| |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_ATOMIC_START, "GOMP_atomic_start", |
| BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_ATOMIC_END, "GOMP_atomic_end", |
| BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_BARRIER, "GOMP_barrier", |
| BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_BARRIER_CANCEL, "GOMP_barrier_cancel", |
| BT_FN_BOOL, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASKWAIT, "GOMP_taskwait", |
| BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASKWAIT_DEPEND, "GOMP_taskwait_depend", |
| BT_FN_VOID_PTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASKYIELD, "GOMP_taskyield", |
| BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASKGROUP_START, "GOMP_taskgroup_start", |
| BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASKGROUP_END, "GOMP_taskgroup_end", |
| BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_CANCEL, "GOMP_cancel", |
| BT_FN_BOOL_INT_BOOL, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_CANCELLATION_POINT, "GOMP_cancellation_point", |
| BT_FN_BOOL_INT, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_CRITICAL_START, "GOMP_critical_start", |
| BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_CRITICAL_END, "GOMP_critical_end", |
| BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_CRITICAL_NAME_START, |
| "GOMP_critical_name_start", |
| BT_FN_VOID_PTRPTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_CRITICAL_NAME_END, |
| "GOMP_critical_name_end", |
| BT_FN_VOID_PTRPTR, ATTR_NOTHROW_LEAF_LIST) |
| /* NOTE: Do not change the order of BUILT_IN_GOMP_LOOP_*_START. They |
| are used in index arithmetic with enum omp_clause_schedule_kind |
| in omp-low.c. */ |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_STATIC_START, |
| "GOMP_loop_static_start", |
| BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_DYNAMIC_START, |
| "GOMP_loop_dynamic_start", |
| BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_GUIDED_START, |
| "GOMP_loop_guided_start", |
| BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_RUNTIME_START, |
| "GOMP_loop_runtime_start", |
| BT_FN_BOOL_LONG_LONG_LONG_LONGPTR_LONGPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_NONMONOTONIC_DYNAMIC_START, |
| "GOMP_loop_nonmonotonic_dynamic_start", |
| BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_NONMONOTONIC_GUIDED_START, |
| "GOMP_loop_nonmonotonic_guided_start", |
| BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_NONMONOTONIC_RUNTIME_START, |
| "GOMP_loop_nonmonotonic_runtime_start", |
| BT_FN_BOOL_LONG_LONG_LONG_LONGPTR_LONGPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_MAYBE_NONMONOTONIC_RUNTIME_START, |
| "GOMP_loop_maybe_nonmonotonic_runtime_start", |
| BT_FN_BOOL_LONG_LONG_LONG_LONGPTR_LONGPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_STATIC_START, |
| "GOMP_loop_ordered_static_start", |
| BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_DYNAMIC_START, |
| "GOMP_loop_ordered_dynamic_start", |
| BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_GUIDED_START, |
| "GOMP_loop_ordered_guided_start", |
| BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_RUNTIME_START, |
| "GOMP_loop_ordered_runtime_start", |
| BT_FN_BOOL_LONG_LONG_LONG_LONGPTR_LONGPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_DOACROSS_STATIC_START, |
| "GOMP_loop_doacross_static_start", |
| BT_FN_BOOL_UINT_LONGPTR_LONG_LONGPTR_LONGPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_DOACROSS_DYNAMIC_START, |
| "GOMP_loop_doacross_dynamic_start", |
| BT_FN_BOOL_UINT_LONGPTR_LONG_LONGPTR_LONGPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_DOACROSS_GUIDED_START, |
| "GOMP_loop_doacross_guided_start", |
| BT_FN_BOOL_UINT_LONGPTR_LONG_LONGPTR_LONGPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_DOACROSS_RUNTIME_START, |
| "GOMP_loop_doacross_runtime_start", |
| BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_START, |
| "GOMP_loop_start", |
| BT_FN_BOOL_LONG_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR_PTR_PTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_START, |
| "GOMP_loop_ordered_start", |
| BT_FN_BOOL_LONG_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR_PTR_PTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_DOACROSS_START, |
| "GOMP_loop_doacross_start", |
| BT_FN_BOOL_UINT_LONGPTR_LONG_LONG_LONGPTR_LONGPTR_PTR_PTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_STATIC_NEXT, "GOMP_loop_static_next", |
| BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_DYNAMIC_NEXT, "GOMP_loop_dynamic_next", |
| BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_GUIDED_NEXT, "GOMP_loop_guided_next", |
| BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_RUNTIME_NEXT, "GOMP_loop_runtime_next", |
| BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_NONMONOTONIC_DYNAMIC_NEXT, |
| "GOMP_loop_nonmonotonic_dynamic_next", |
| BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_NONMONOTONIC_GUIDED_NEXT, |
| "GOMP_loop_nonmonotonic_guided_next", |
| BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_NONMONOTONIC_RUNTIME_NEXT, |
| "GOMP_loop_nonmonotonic_runtime_next", |
| BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_MAYBE_NONMONOTONIC_RUNTIME_NEXT, |
| "GOMP_loop_maybe_nonmonotonic_runtime_next", |
| BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_STATIC_NEXT, |
| "GOMP_loop_ordered_static_next", |
| BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_DYNAMIC_NEXT, |
| "GOMP_loop_ordered_dynamic_next", |
| BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_GUIDED_NEXT, |
| "GOMP_loop_ordered_guided_next", |
| BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ORDERED_RUNTIME_NEXT, |
| "GOMP_loop_ordered_runtime_next", |
| BT_FN_BOOL_LONGPTR_LONGPTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_STATIC_START, |
| "GOMP_loop_ull_static_start", |
| BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULL_ULLPTR_ULLPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_DYNAMIC_START, |
| "GOMP_loop_ull_dynamic_start", |
| BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULL_ULLPTR_ULLPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_GUIDED_START, |
| "GOMP_loop_ull_guided_start", |
| BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULL_ULLPTR_ULLPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_RUNTIME_START, |
| "GOMP_loop_ull_runtime_start", |
| BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULLPTR_ULLPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_NONMONOTONIC_DYNAMIC_START, |
| "GOMP_loop_ull_nonmonotonic_dynamic_start", |
| BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULL_ULLPTR_ULLPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_NONMONOTONIC_GUIDED_START, |
| "GOMP_loop_ull_nonmonotonic_guided_start", |
| BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULL_ULLPTR_ULLPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_NONMONOTONIC_RUNTIME_START, |
| "GOMP_loop_ull_nonmonotonic_runtime_start", |
| BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULLPTR_ULLPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_MAYBE_NONMONOTONIC_RUNTIME_START, |
| "GOMP_loop_ull_maybe_nonmonotonic_runtime_start", |
| BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULLPTR_ULLPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_STATIC_START, |
| "GOMP_loop_ull_ordered_static_start", |
| BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULL_ULLPTR_ULLPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_DYNAMIC_START, |
| "GOMP_loop_ull_ordered_dynamic_start", |
| BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULL_ULLPTR_ULLPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_GUIDED_START, |
| "GOMP_loop_ull_ordered_guided_start", |
| BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULL_ULLPTR_ULLPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_RUNTIME_START, |
| "GOMP_loop_ull_ordered_runtime_start", |
| BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULLPTR_ULLPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_DOACROSS_STATIC_START, |
| "GOMP_loop_ull_doacross_static_start", |
| BT_FN_BOOL_UINT_ULLPTR_ULL_ULLPTR_ULLPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_DOACROSS_DYNAMIC_START, |
| "GOMP_loop_ull_doacross_dynamic_start", |
| BT_FN_BOOL_UINT_ULLPTR_ULL_ULLPTR_ULLPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_DOACROSS_GUIDED_START, |
| "GOMP_loop_ull_doacross_guided_start", |
| BT_FN_BOOL_UINT_ULLPTR_ULL_ULLPTR_ULLPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_DOACROSS_RUNTIME_START, |
| "GOMP_loop_ull_doacross_runtime_start", |
| BT_FN_BOOL_UINT_ULLPTR_ULLPTR_ULLPTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_START, |
| "GOMP_loop_ull_start", |
| BT_FN_BOOL_BOOL_ULL_ULL_ULL_LONG_ULL_ULLPTR_ULLPTR_PTR_PTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_START, |
| "GOMP_loop_ull_ordered_start", |
| BT_FN_BOOL_BOOL_ULL_ULL_ULL_LONG_ULL_ULLPTR_ULLPTR_PTR_PTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_DOACROSS_START, |
| "GOMP_loop_ull_doacross_start", |
| BT_FN_BOOL_UINT_ULLPTR_LONG_ULL_ULLPTR_ULLPTR_PTR_PTR, |
| ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_STATIC_NEXT, |
| "GOMP_loop_ull_static_next", |
| BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_DYNAMIC_NEXT, |
| "GOMP_loop_ull_dynamic_next", |
| BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_GUIDED_NEXT, |
| "GOMP_loop_ull_guided_next", |
| BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_RUNTIME_NEXT, |
| "GOMP_loop_ull_runtime_next", |
| BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_NONMONOTONIC_DYNAMIC_NEXT, |
| "GOMP_loop_ull_nonmonotonic_dynamic_next", |
| BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_NONMONOTONIC_GUIDED_NEXT, |
| "GOMP_loop_ull_nonmonotonic_guided_next", |
| BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_NONMONOTONIC_RUNTIME_NEXT, |
| "GOMP_loop_ull_nonmonotonic_runtime_next", |
| BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_MAYBE_NONMONOTONIC_RUNTIME_NEXT, |
| "GOMP_loop_ull_maybe_nonmonotonic_runtime_next", |
| BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_STATIC_NEXT, |
| "GOMP_loop_ull_ordered_static_next", |
| BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_DYNAMIC_NEXT, |
| "GOMP_loop_ull_ordered_dynamic_next", |
| BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_GUIDED_NEXT, |
| "GOMP_loop_ull_ordered_guided_next", |
| BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_ULL_ORDERED_RUNTIME_NEXT, |
| "GOMP_loop_ull_ordered_runtime_next", |
| BT_FN_BOOL_ULONGLONGPTR_ULONGLONGPTR, ATTR_NOTHROW_LEAF_LIST) |
| /* NOTE: Do not change the order of BUILT_IN_GOMP_PARALLEL_LOOP_*. |
| They are used in index arithmetic with enum omp_clause_schedule_kind |
| in omp-low.c. */ |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_LOOP_STATIC, |
| "GOMP_parallel_loop_static", |
| BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_LONG_UINT, |
| ATTR_NOTHROW_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_LOOP_DYNAMIC, |
| "GOMP_parallel_loop_dynamic", |
| BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_LONG_UINT, |
| ATTR_NOTHROW_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_LOOP_GUIDED, |
| "GOMP_parallel_loop_guided", |
| BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_LONG_UINT, |
| ATTR_NOTHROW_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_LOOP_RUNTIME, |
| "GOMP_parallel_loop_runtime", |
| BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_UINT, |
| ATTR_NOTHROW_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_LOOP_NONMONOTONIC_DYNAMIC, |
| "GOMP_parallel_loop_nonmonotonic_dynamic", |
| BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_LONG_UINT, |
| ATTR_NOTHROW_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_LOOP_NONMONOTONIC_GUIDED, |
| "GOMP_parallel_loop_nonmonotonic_guided", |
| BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_LONG_UINT, |
| ATTR_NOTHROW_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_LOOP_NONMONOTONIC_RUNTIME, |
| "GOMP_parallel_loop_nonmonotonic_runtime", |
| BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_UINT, |
| ATTR_NOTHROW_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_LOOP_MAYBE_NONMONOTONIC_RUNTIME, |
| "GOMP_parallel_loop_maybe_nonmonotonic_runtime", |
| BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_UINT, |
| ATTR_NOTHROW_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_END, "GOMP_loop_end", |
| BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_END_CANCEL, "GOMP_loop_end_cancel", |
| BT_FN_BOOL, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_LOOP_END_NOWAIT, "GOMP_loop_end_nowait", |
| BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_ORDERED_START, "GOMP_ordered_start", |
| BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_ORDERED_END, "GOMP_ordered_end", |
| BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_DOACROSS_POST, "GOMP_doacross_post", |
| BT_FN_VOID_PTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_DOACROSS_WAIT, "GOMP_doacross_wait", |
| BT_FN_VOID_LONG_VAR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_DOACROSS_ULL_POST, "GOMP_doacross_ull_post", |
| BT_FN_VOID_PTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_DOACROSS_ULL_WAIT, "GOMP_doacross_ull_wait", |
| BT_FN_VOID_ULL_VAR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL, "GOMP_parallel", |
| BT_FN_VOID_OMPFN_PTR_UINT_UINT, ATTR_NOTHROW_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_REDUCTIONS, |
| "GOMP_parallel_reductions", |
| BT_FN_UINT_OMPFN_PTR_UINT_UINT, ATTR_NOTHROW_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASK, "GOMP_task", |
| BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT_PTR_INT_PTR, |
| ATTR_NOTHROW_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASKLOOP, "GOMP_taskloop", |
| BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_UINT_LONG_INT_LONG_LONG_LONG, |
| ATTR_NOTHROW_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASKLOOP_ULL, "GOMP_taskloop_ull", |
| BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_UINT_LONG_INT_ULL_ULL_ULL, |
| ATTR_NOTHROW_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SECTIONS_START, "GOMP_sections_start", |
| BT_FN_UINT_UINT, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SECTIONS2_START, "GOMP_sections2_start", |
| BT_FN_UINT_UINT_PTR_PTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SECTIONS_NEXT, "GOMP_sections_next", |
| BT_FN_UINT, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_PARALLEL_SECTIONS, |
| "GOMP_parallel_sections", |
| BT_FN_VOID_OMPFN_PTR_UINT_UINT_UINT, ATTR_NOTHROW_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SECTIONS_END, "GOMP_sections_end", |
| BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SECTIONS_END_CANCEL, |
| "GOMP_sections_end_cancel", |
| BT_FN_BOOL, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SECTIONS_END_NOWAIT, |
| "GOMP_sections_end_nowait", |
| BT_FN_VOID, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SINGLE_START, "GOMP_single_start", |
| BT_FN_BOOL, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SINGLE_COPY_START, "GOMP_single_copy_start", |
| BT_FN_PTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SINGLE_COPY_END, "GOMP_single_copy_end", |
| BT_FN_VOID_PTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_SCOPE_START, "GOMP_scope_start", |
| BT_FN_VOID_PTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_OFFLOAD_REGISTER, "GOMP_offload_register_ver", |
| BT_FN_VOID_UINT_PTR_INT_PTR, ATTR_NOTHROW_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_OFFLOAD_UNREGISTER, |
| "GOMP_offload_unregister_ver", |
| BT_FN_VOID_UINT_PTR_INT_PTR, ATTR_NOTHROW_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TARGET, "GOMP_target_ext", |
| BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_UINT_PTR_PTR, |
| ATTR_NOTHROW_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TARGET_DATA, "GOMP_target_data_ext", |
| BT_FN_VOID_INT_SIZE_PTR_PTR_PTR, ATTR_NOTHROW_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TARGET_END_DATA, "GOMP_target_end_data", |
| BT_FN_VOID, ATTR_NOTHROW_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TARGET_UPDATE, "GOMP_target_update_ext", |
| BT_FN_VOID_INT_SIZE_PTR_PTR_PTR_UINT_PTR, |
| ATTR_NOTHROW_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TARGET_ENTER_EXIT_DATA, |
| "GOMP_target_enter_exit_data", |
| BT_FN_VOID_INT_SIZE_PTR_PTR_PTR_UINT_PTR, ATTR_NOTHROW_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TEAMS, "GOMP_teams", |
| BT_FN_VOID_UINT_UINT, ATTR_NOTHROW_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TEAMS_REG, "GOMP_teams_reg", |
| BT_FN_VOID_OMPFN_PTR_UINT_UINT_UINT, ATTR_NOTHROW_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASKGROUP_REDUCTION_REGISTER, |
| "GOMP_taskgroup_reduction_register", |
| BT_FN_VOID_PTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASKGROUP_REDUCTION_UNREGISTER, |
| "GOMP_taskgroup_reduction_unregister", |
| BT_FN_VOID_PTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_TASK_REDUCTION_REMAP, |
| "GOMP_task_reduction_remap", |
| BT_FN_VOID_SIZE_SIZE_PTR, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_WORKSHARE_TASK_REDUCTION_UNREGISTER, |
| "GOMP_workshare_task_reduction_unregister", |
| BT_FN_VOID_BOOL, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_ALLOC, |
| "GOMP_alloc", BT_FN_PTR_SIZE_SIZE_PTRMODE, |
| ATTR_ALLOC_WARN_UNUSED_RESULT_SIZE_2_NOTHROW_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_FREE, |
| "GOMP_free", BT_FN_VOID_PTR_PTRMODE, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_WARNING, "GOMP_warning", |
| BT_FN_VOID_CONST_PTR_SIZE, ATTR_NOTHROW_LEAF_LIST) |
| DEF_GOMP_BUILTIN (BUILT_IN_GOMP_ERROR, "GOMP_error", |
| BT_FN_VOID_CONST_PTR_SIZE, ATTR_COLD_NORETURN_NOTHROW_LEAF_LIST) |