]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ChangeLog
Compute once and cache the LB and UB for each clast_name.
authorSebastian Pop <sebastian.pop@amd.com>
Thu, 21 Jul 2011 22:57:40 +0000 (22:57 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Thu, 21 Jul 2011 22:57:40 +0000 (22:57 +0000)
commit3d9784cb6fbfa0bc90b75c90c67557a136aace35
treec61829c477e44899c53579483cea634511605058
parent12b30e6daea5c44df6cc3b9d6f03f9b11887e52a
Compute once and cache the LB and UB for each clast_name.

2011-07-21  Sebastian Pop  <sebastian.pop@amd.com>

* graphite-clast-to-gimple.c (struct clast_name_index): Add lb
and ub fields.
(new_clast_name_index): Add lb and ub parameters.
(free_clast_name_index): New.
(clast_name_to_lb_ub): New.
(save_clast_name_index): Add lb and ub parameters.
(compute_bounds_for_param): New.
(type_for_level): Removed.
(type_for_clast_for): Removed level parameter.  Do not call
type_for_level.
(graphite_create_new_loop): Store the lb and ub for the clast_name
of the iterator of the loop that has been generated.
(graphite_create_new_loop_guard): Remove parameter level.
(create_params_index): Store the lb and ub of each parameter.
(gloog): Use free_clast_name_index.  Pass to create_params_index
the current scop.

From-SVN: r176603
gcc/ChangeLog
gcc/graphite-clast-to-gimple.c