summaryrefslogtreecommitdiff
path: root/gcc/graphite-sese-to-poly.h
diff options
context:
space:
mode:
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2010-08-11 20:24:16 +0000
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2010-08-11 20:24:16 +0000
commit5d2603f9a1c78108366305b6e9f3f47a4e4a5a0f (patch)
treed0cb67f308415d8102e0a5fbb919071f3a5e86cd /gcc/graphite-sese-to-poly.h
parent189cea6884a7dc3567fe8cc5d985984fac15e852 (diff)
downloadgcc-5d2603f9a1c78108366305b6e9f3f47a4e4a5a0f.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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163116 138bc75d-0d04-0410-961f-82ee72b054a4
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