summaryrefslogtreecommitdiff
path: root/gcc/graphite-sese-to-poly.h
diff options
context:
space:
mode:
authorSebastian Pop <sebastian.pop@amd.com>2010-08-11 20:24:16 +0000
committerSebastian Pop <spop@gcc.gnu.org>2010-08-11 20:24:16 +0000
commit3a7086cc51984f7b1f5b0d709500382eb16875e2 (patch)
treed0cb67f308415d8102e0a5fbb919071f3a5e86cd /gcc/graphite-sese-to-poly.h
parent61ca46ce9b4343929106dae5f06f65362663dac7 (diff)
downloadgcc-3a7086cc51984f7b1f5b0d709500382eb16875e2.tar.gz
Detect commutative reductions in all the scops before rewriting out of SSA all the other scalar dependences.
2010-06-12 Sebastian Pop <sebastian.pop@amd.com> * graphite-sese-to-poly.c (build_scop_bbs): Not static anymore. (rewrite_reductions_out_of_ssa): Same. (rewrite_commutative_reductions_out_of_ssa): Same. (build_poly_scop): Do not call these functions. * graphite-sese-to-poly.h (build_poly_scop): Declared. (rewrite_reductions_out_of_ssa): Declared. (rewrite_commutative_reductions_out_of_ssa): Declared. * graphite.c (graphite_transform_loops): Call on every scop rewrite_commutative_reductions_out_of_ssa before calling rewrite_reductions_out_of_ssa and build_scop_bbs. From-SVN: r163116
Diffstat (limited to 'gcc/graphite-sese-to-poly.h')
-rw-r--r--gcc/graphite-sese-to-poly.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/graphite-sese-to-poly.h b/gcc/graphite-sese-to-poly.h
index ccf36dde0c3..2e0cc0814ad 100644
--- a/gcc/graphite-sese-to-poly.h
+++ b/gcc/graphite-sese-to-poly.h
@@ -30,5 +30,8 @@ struct base_alias_pair
void build_poly_scop (scop_p);
void check_poly_representation (scop_p);
+void rewrite_commutative_reductions_out_of_ssa (sese, sbitmap);
+void rewrite_reductions_out_of_ssa (scop_p);
+void build_scop_bbs (scop_p, sbitmap);
#endif