diff options
Diffstat (limited to 'gcc/langhooks.h')
-rw-r--r-- | gcc/langhooks.h | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/gcc/langhooks.h b/gcc/langhooks.h index dc8d878..d95e5cb 100644 --- a/gcc/langhooks.h +++ b/gcc/langhooks.h @@ -319,14 +319,31 @@ struct lang_hooks_for_decls /* Additional language-specific mappings for a decl; returns the number of additional mappings needed. */ - tree (*omp_deep_mapping_cnt) (const gimple *ctx_stmt, tree clause, + tree (*omp_deep_mapping_cnt) (gimple *ctx_stmt, tree clause, gimple_seq *seq); /* Do the actual additional language-specific mappings for a decl. */ - void (*omp_deep_mapping) (const gimple *stmt, tree clause, + void (*omp_deep_mapping) (gimple *stmt, tree clause, unsigned HOST_WIDE_INT tkind, tree data, tree sizes, tree kinds, - tree offset_data, tree offset, gimple_seq *seq); + tree offset_data, tree offset, gimple_seq *seq, + vec<tree> *); + + /* Finish language-specific processing on mapping nodes after expanding + user-defined mappers. */ + tree (*omp_finish_mapper_clauses) (tree clauses); + + /* Find a mapper in the current parsing context, given a NAME (or + NULL_TREE) and TYPE. */ + tree (*omp_mapper_lookup) (tree name, tree type); + + /* Return the statement for the mapper directive definition, from the + representation used to contain it (e.g. an inline function + declaration). */ + tree (*omp_extract_mapper_directive) (tree fndecl); + + /* Return a simplified form for OMP_ARRAY_SECTION argument. */ + tree (*omp_map_array_section) (location_t, tree t); /* Return true if DECL is an allocatable variable (for the purpose of implicit mapping). */ |