OSDN Git Service

2009-08-28 Konrad Trifunovic <konrad.trifunovic@gmail.com>
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Aug 2009 20:33:10 +0000 (20:33 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Aug 2009 20:33:10 +0000 (20:33 +0000)
commitee0d08ad4c28590d39010b7421e8d7a8ca51c158
tree69ac627cca7315fe48e0749b297818c7abab1f12
parentc9b44d2c764801aaca057e04c73edb0c1facf832
2009-08-28  Konrad Trifunovic  <konrad.trifunovic@gmail.com>
    Sebastian Pop  <sebastian.pop@amd.com>

* graphite-blocking.c (pbb_strip_mine_loop_depth): Renamed
pbb_strip_mine_time_depth.  Changed the implementation so that
transformation is expressed as a transformation on
time (scatttering) dimensions.  Also, ensures that the 2d+1
scheduling format is preserved.
(pbb_strip_mine_profitable_p): Profitability is based on the
iteration number of a given time (scattering) dimension,
and not on a original loop depth dimension.
(pbb_strip_mine): Call pbb_number_of_iterations_at_time.
(pbb_do_strip_mine): Call psct_dynamic_dim.
* graphite-poly.c (pbb_number_of_iterations_at_time): New.
* graphite-poly.h (pbb_number_of_iterations_at_time): Declared.
(pbb_nb_dynamic_scattering_transform): New.
(psct_dynamic_dim): New.

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