diff options
author | Richard Biener <rguenther@suse.de> | 2017-10-18 08:30:45 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2017-10-18 08:30:45 +0000 |
commit | 04612f7f8452021ad4eba08f03bc98b196753330 (patch) | |
tree | 62314482e178f8db8eec6b7301b05cdc5185a578 /gcc/sese.c | |
parent | de57059efaaa117561a631e26a47b67eae1943bb (diff) | |
download | gcc-04612f7f8452021ad4eba08f03bc98b196753330.zip gcc-04612f7f8452021ad4eba08f03bc98b196753330.tar.gz gcc-04612f7f8452021ad4eba08f03bc98b196753330.tar.bz2 |
graphite-isl-ast-to-gimple.c (gcc_expression_from_isl_ast_expr_id): Simplify with removal of the parameter rename map.
2017-10-18 Richard Biener <rguenther@suse.de>
* graphite-isl-ast-to-gimple.c (gcc_expression_from_isl_ast_expr_id):
Simplify with removal of the parameter rename map.
(set_rename): Likewise.
(should_copy_to_new_region): Likewise.
(graphite_copy_stmts_from_block): Likewise.
(copy_bb_and_scalar_dependences): Remove initialization of
unused copied_bb_map.
(copy_def): Remove.
(copy_internal_parameters): Likewise.
(graphite_regenerate_ast_isl): Do not call copy_internal_parameters.
* graphite-scop-detection.c (scop_detection::stmt_simple_for_scop_p):
Use INTEGRAL_TYPE_P.
(parameter_index_in_region_1): Rename to ...
(assign_parameter_index_in_region): ... this. Assert we have
a parameter we handle.
(scan_tree_for_params): Adjust.
* sese.h (parameter_rename_map_t): Remove.
(struct sese_info_t): Remove unused parameter_rename_map and
copied_bb_map members.
* sese.c (new_sese_info): Adjust.
(free_sese_info): Likewise.
From-SVN: r253847
Diffstat (limited to 'gcc/sese.c')
-rw-r--r-- | gcc/sese.c | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -157,8 +157,6 @@ new_sese_info (edge entry, edge exit) region->debug_liveout = NULL; region->params.create (3); region->rename_map = new rename_map_t; - region->parameter_rename_map = new parameter_rename_map_t; - region->copied_bb_map = new bb_map_t; region->bbs.create (3); region->incomplete_phis.create (3); @@ -179,18 +177,8 @@ free_sese_info (sese_info_p region) it != region->rename_map->end (); ++it) (*it).second.release (); - for (bb_map_t::iterator it = region->copied_bb_map->begin (); - it != region->copied_bb_map->end (); ++it) - (*it).second.release (); - delete region->rename_map; - delete region->parameter_rename_map; - delete region->copied_bb_map; - region->rename_map = NULL; - region->parameter_rename_map = NULL; - region->copied_bb_map = NULL; - region->bbs.release (); region->incomplete_phis.release (); |