Distribute before interchange.
commit37f94ca72b7020c07fa6425695b3b13c256663bc
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Oct 2009 07:43:57 +0000 (30 07:43 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Oct 2009 07:43:57 +0000 (30 07:43 +0000)
tree380e69c111713b27a67894456c9150eec05801a2
parent18f3c3a41960439a9e74af0d09579ca092b5a590
Distribute before interchange.

2009-10-30  Sebastian Pop  <sebastian.pop@amd.com>

* graphite-interchange.c (lst_perfectly_nested_p): New.
(lst_perfect_nestify): New.
(lst_try_interchange_loops): Call store_lst_schedule,
lst_perfectly_nested_p, lst_perfect_nestify and restore_lst_schedule.
(scop_do_interchange): Avoid redundant legality test.
Call lst_do_interchange on a copy of SCOP_TRANSFORMED_SCHEDULE.
* graphite-poly.c (apply_poly_transforms): Call lst_update_scattering.
* graphite-poly.h (psct_static_dim): New.
(lst_dewey_number_at_depth): New.
(lst_find_pbb): Restructured.
(lst_find_first_pbb): Restructured.
(lst_find_last_pbb): New.
(lst_contains_p): New.
(lst_contains_pbb): New.
(lst_create_nest): New.
(lst_remove_from_sequence): New.
(pbb_update_scattering): New.
(lst_update_scattering_under): New.
(lst_update_scattering_seq): New.
(lst_update_scattering): New.
(lst_insert_in_sequence): New.
(lst_distribute_lst): New.
(lst_remove_all_before_including_pbb): New.
(lst_remove_all_before_excluding_pbb): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/graphite@153738 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog.graphite
gcc/graphite-interchange.c
gcc/graphite-poly.c
gcc/graphite-poly.h