From 14d0e129cccf5a3aaec486d19a5a2942c882f904 Mon Sep 17 00:00:00 2001 From: Sebastian Pop Date: Wed, 11 Aug 2010 20:24:38 +0000 Subject: Remove rename_nb_iterations and rename_sese_parameters 2010-06-12 Sebastian Pop * graphite-clast-to-gimple.c (gloog): Do not pass scops in parameter. Remove calls to rename_nb_iterations and rename_sese_parameters. * graphite-clast-to-gimple.h (gloog): Update declaration. * graphite.c (graphite_transform_loops): Update call to gloog. * sese.c (rename_variables_in_expr): Removed. (rename_nb_iterations): Removed. (rename_sese_parameters): Removed. * sese.h (rename_nb_iterations): Removed. (rename_sese_parameters): Removed. From-SVN: r163119 --- gcc/graphite-clast-to-gimple.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'gcc/graphite-clast-to-gimple.c') diff --git a/gcc/graphite-clast-to-gimple.c b/gcc/graphite-clast-to-gimple.c index 859bedf0c13..8b972b888b5 100644 --- a/gcc/graphite-clast-to-gimple.c +++ b/gcc/graphite-clast-to-gimple.c @@ -1529,7 +1529,7 @@ create_params_index (htab_t index_table, CloogProgram *prog) { */ bool -gloog (scop_p scop, VEC (scop_p, heap) *scops, htab_t bb_pbb_mapping) +gloog (scop_p scop, htab_t bb_pbb_mapping) { VEC (tree, heap) *newivs = VEC_alloc (tree, heap, 10); loop_p context_loop; @@ -1537,7 +1537,6 @@ gloog (scop_p scop, VEC (scop_p, heap) *scops, htab_t bb_pbb_mapping) ifsese if_region = NULL; htab_t rename_map, newivs_index, params_index; cloog_prog_clast pc; - int i; timevar_push (TV_GRAPHITE_CODE_GEN); gloog_error = false; @@ -1577,11 +1576,6 @@ gloog (scop_p scop, VEC (scop_p, heap) *scops, htab_t bb_pbb_mapping) bb_pbb_mapping, 1, params_index); graphite_verify (); scev_reset_htab (); - rename_nb_iterations (rename_map); - - for (i = 0; VEC_iterate (scop_p, scops, i, scop); i++) - rename_sese_parameters (rename_map, SCOP_REGION (scop)); - recompute_all_dominators (); graphite_verify (); -- cgit v1.2.1