aboutsummaryrefslogtreecommitdiff
path: root/gcc/graphite-poly.h
diff options
context:
space:
mode:
authorRoman Gareev <gareevroman@gmail.com>2014-08-05 03:41:29 +0000
committerRoman Gareev <romangareev@gcc.gnu.org>2014-08-05 03:41:29 +0000
commit574921c272ca69e7a224d5e45f287d9c2fd49530 (patch)
tree9a96a394ec62b7802faa234bd03fae43b9e630c8 /gcc/graphite-poly.h
parentb5975cebfbe3666fe53f98e88cfbe6933978895b (diff)
downloadgcc-574921c272ca69e7a224d5e45f287d9c2fd49530.zip
gcc-574921c272ca69e7a224d5e45f287d9c2fd49530.tar.gz
gcc-574921c272ca69e7a224d5e45f287d9c2fd49530.tar.bz2
graphite-isl-ast-to-gimple.c: Add a new struct ast_build_info.
[gcc/] * graphite-isl-ast-to-gimple.c: Add a new struct ast_build_info. (translate_isl_ast_for_loop): Add checking of the flag_loop_parallelize_all. (ast_build_before_for): New function. (scop_to_isl_ast): Add checking of the flag_loop_parallelize_all. * graphite-dependences.c: Move the defenition of the scop_get_dependences from graphite-optimize-isl.c to this file. (apply_schedule_on_deps): Add checking of the ux's emptiness. (carries_deps): Add checking of the x's value. * graphite-optimize-isl.c: Move the defenition of the scop_get_dependences to graphite-dependences.c. * graphite-poly.h: Add declarations of scop_get_dependences and carries_deps. From-SVN: r213619
Diffstat (limited to 'gcc/graphite-poly.h')
-rw-r--r--gcc/graphite-poly.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/graphite-poly.h b/gcc/graphite-poly.h
index 06d320e..8381619 100644
--- a/gcc/graphite-poly.h
+++ b/gcc/graphite-poly.h
@@ -1551,4 +1551,12 @@ compute_deps (scop_p scop, vec<poly_bb_p> pbbs,
isl_union_map **must_waw_no_source,
isl_union_map **may_waw_no_source);
+isl_union_map *
+scop_get_dependences (scop_p scop);
+
+bool
+carries_deps (__isl_keep isl_union_map *schedule,
+ __isl_keep isl_union_map *deps,
+ int depth);
+
#endif