aboutsummaryrefslogtreecommitdiff
path: root/gcc/langhooks.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/langhooks.cc')
-rw-r--r--gcc/langhooks.cc41
1 files changed, 38 insertions, 3 deletions
diff --git a/gcc/langhooks.cc b/gcc/langhooks.cc
index 77d5a42..3db87bd 100644
--- a/gcc/langhooks.cc
+++ b/gcc/langhooks.cc
@@ -656,7 +656,7 @@ lhd_omp_deep_mapping_p (const gimple *, tree)
/* Returns number of additional mappings for a decl. */
tree
-lhd_omp_deep_mapping_cnt (const gimple *, tree, gimple_seq *)
+lhd_omp_deep_mapping_cnt (gimple *, tree, gimple_seq *)
{
return NULL_TREE;
}
@@ -664,11 +664,46 @@ lhd_omp_deep_mapping_cnt (const gimple *, tree, gimple_seq *)
/* Do the additional mappings. */
void
-lhd_omp_deep_mapping (const gimple *, tree, unsigned HOST_WIDE_INT, tree, tree,
- tree, tree, tree, gimple_seq *)
+lhd_omp_deep_mapping (gimple *, tree, unsigned HOST_WIDE_INT, tree, tree,
+ tree, tree, tree, gimple_seq *, vec<tree> *)
{
}
+/* Finalize clause list C after expanding custom mappers for implicitly-mapped
+ variables. */
+
+tree
+lhd_omp_finish_mapper_clauses (tree c)
+{
+ return c;
+}
+
+/* Look up an OpenMP "declare mapper" mapper. */
+
+tree
+lhd_omp_mapper_lookup (tree, tree)
+{
+ return NULL_TREE;
+}
+
+/* Given the representation used by the front-end to contain a mapper
+ directive, return the statement for the directive itself. */
+
+tree
+lhd_omp_extract_mapper_directive (tree)
+{
+ return error_mark_node;
+}
+
+/* Return a simplified form for OMP_ARRAY_SECTION argument, or
+ error_mark_node if impossible. */
+
+tree
+lhd_omp_map_array_section (location_t, tree)
+{
+ return error_mark_node;
+}
+
/* Return true if DECL is a scalar variable (for the purpose of
implicit firstprivatization & mapping). Only if alloc_ptr_ok
are allocatables and pointers accepted. */