Record the loop level that defines a clast_name.
authorSebastian Pop <sebastian.pop@amd.com>
Thu, 21 Jul 2011 22:56:50 +0000 (22:56 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Thu, 21 Jul 2011 22:56:50 +0000 (22:56 +0000)
commit7b1e9596d3f5d1e5bdfb36bd60f708b2a4a187a1
tree94afacdb40de700aa3fbccc78d4e59cdea8dc563
parent6e6568dbf5230328f4c758638e7664e2ffbcc8bb
Record the loop level that defines a clast_name.

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

* graphite-clast-to-gimple.c (struct clast_name_index): Add level.
(new_clast_name_index): Add level parameter.
(clast_name_to_level): New.
(save_clast_name_index): Add level parameter.
(newivs_to_depth_to_newiv): Removed.
(clast_name_to_gcc): Inlined newivs_to_depth_to_newiv.
(graphite_create_new_loop): Add level parameter.  Pass level to
save_clast_name_index.
(translate_clast_for_loop): Pass level to graphite_create_new_loop.
(create_params_index): Pass level to save_clast_name_index.

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