diff options
author | Paul-Antoine Arras <parras@baylibre.com> | 2024-11-20 15:28:57 +0100 |
---|---|---|
committer | Paul-Antoine Arras <parras@baylibre.com> | 2024-11-20 15:31:22 +0100 |
commit | 0e15f1df4ae86cf8542cee6c15ad11b85f968f2e (patch) | |
tree | 47d54d82fa1f1b7b339c00b81dad7daaf03f22cf /gcc/omp-low.cc | |
parent | fa720364e4ed3154b7f2dd8f4c2c71f890990552 (diff) | |
download | gcc-0e15f1df4ae86cf8542cee6c15ad11b85f968f2e.zip gcc-0e15f1df4ae86cf8542cee6c15ad11b85f968f2e.tar.gz gcc-0e15f1df4ae86cf8542cee6c15ad11b85f968f2e.tar.bz2 |
OpenMP: dispatch + adjust_args tree data structures and front-end interfaces
This patch introduces the OMP_DISPATCH tree node, as well as two new clauses
`nocontext` and `novariants`. It defines/exposes interfaces that will be
used in subsequent patches that add front-end and middle-end support, but
nothing generates these nodes yet.
gcc/ChangeLog:
* builtin-types.def (BT_FN_PTR_CONST_PTR_INT): New.
* omp-selectors.h (enum omp_ts_code): Add OMP_TRAIT_CONSTRUCT_DISPATCH.
* tree-core.h (enum omp_clause_code): Add OMP_CLAUSE_NOVARIANTS and
OMP_CLAUSE_NOCONTEXT.
* tree-pretty-print.cc (dump_omp_clause): Handle OMP_CLAUSE_NOVARIANTS
and OMP_CLAUSE_NOCONTEXT.
(dump_generic_node): Handle OMP_DISPATCH.
* tree.cc (omp_clause_num_ops): Add OMP_CLAUSE_NOVARIANTS and
OMP_CLAUSE_NOCONTEXT.
(omp_clause_code_name): Add "novariants" and "nocontext".
* tree.def (OMP_DISPATCH): New.
* tree.h (OMP_DISPATCH_BODY): New macro.
(OMP_DISPATCH_CLAUSES): New macro.
(OMP_CLAUSE_NOVARIANTS_EXPR): New macro.
(OMP_CLAUSE_NOCONTEXT_EXPR): New macro.
gcc/fortran/ChangeLog:
* types.def (BT_FN_PTR_CONST_PTR_INT): Declare.
Diffstat (limited to 'gcc/omp-low.cc')
0 files changed, 0 insertions, 0 deletions