diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-10-07 15:40:17 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-10-07 15:40:17 +0000 |
commit | f032380cbedc23a3aa42f03e4bc36adaa71f281e (patch) | |
tree | 52d9f99e1a45ff8db4eea5f4b72274f513275471 /gcc/graphite.c | |
parent | ed03898decebd0f0de30d55afe5db0238f1bb615 (diff) | |
download | gcc-f032380cbedc23a3aa42f03e4bc36adaa71f281e.tar.gz |
move graphite bookkeeping from sese to sese_info
2015-10-06 Aditya Kumar <aditya.k7@samsung.com>
Sebastian Pop <s.pop@samsung.com>
* graphite-isl-ast-to-gimple.c (translate_isl_ast_to_gimple): Use
an sese_info_p.
(copy_def): Same.
(copy_internal_parameters): Same.
(translate_isl_ast_to_gimple): Use an sese_l.
(build_iv_mapping): Same.
* graphite-poly.c (new_sese): Rename new_sese_info.
(free_sese): Rename free_sese_info.
* graphite-poly.h (struct scop): Use an sese_info_p.
(scop_set_region): Same.
* graphite-scop-detection.c (struct sese_l): Moved...
(get_entry_bb): Moved...
(get_exit_bb): Moved...
(parameter_index_in_region_1): Use an sese_info_p.
(parameter_index_in_region): Same.
(scan_tree_for_params): Same.
(find_params_in_bb): Same.
(sese_dom_walker): Use an sese_l.
* graphite-sese-to-poly.c (remove_invariant_phi): Same.
(reduction_phi_p): Same.
(parameter_index_in_region_1): Use an sese_info_p.
(propagate_expr_outside_region): Use an sese_l.
* graphite.c: Replace uses of SCOP_REGION.
* sese.c (sese_record_loop): Use an sese_info_p.
(build_sese_loop_nests): Same.
(sese_build_liveouts_use): Same.
(sese_build_liveouts_bb): Same.
(sese_build_liveouts_bb): Same.
(sese_bad_liveouts_use): Same.
(sese_reset_debug_liveouts_bb): Same.
(sese_build_liveouts): Same.
(new_sese): Renamed new_sese_info.
(free_sese): Renamed free_sese_info.
(set_rename): Use an sese_info_p.
(graphite_copy_stmts_from_block): Same.
(copy_bb_and_scalar_dependences): Same.
(outermost_loop_in_sese_1): Use an sese_l.
(outermost_loop_in_sese): Same.
(if_region_set_false_region): Use an sese_info_p.
(move_sese_in_condition): Same.
(scalar_evolution_in_region): Use an sese_l.
* sese.h (struct sese_l): ... here.
(SESE_ENTRY): Remove.
(SESE_ENTRY_BB): Remove.
(SESE_EXIT): Remove.
(SESE_EXIT_BB): Remove.
(sese_contains_loop): Use an sese_info_p.
(sese_nb_params): Same.
(bb_in_sese_p): Use an sese_l.
(stmt_in_sese_p): Same.
(defined_in_sese_p): Same.
(loop_in_sese_p): Same.
(sese_loop_depth): Same.
(struct ifsese_s): Use an sese_info_p.
(gbb_loop_at_index): Use an sese_l.
(nb_common_loops): Same.
(scev_analyzable_p): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228572 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/graphite.c')
-rw-r--r-- | gcc/graphite.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/graphite.c b/gcc/graphite.c index 3d02b8f1f1b..9489f8df9d6 100644 --- a/gcc/graphite.c +++ b/gcc/graphite.c @@ -144,7 +144,7 @@ print_graphite_scop_statistics (FILE* file, scop_p scop) gimple_stmt_iterator psi; loop_p loop = bb->loop_father; - if (!bb_in_sese_p (bb, SCOP_REGION (scop))) + if (!bb_in_sese_p (bb, scop->region->region)) continue; n_bbs++; @@ -162,7 +162,7 @@ print_graphite_scop_statistics (FILE* file, scop_p scop) n_p_stmts += bb->count; } - if (loop->header == bb && loop_in_sese_p (loop, SCOP_REGION (scop))) + if (loop->header == bb && loop_in_sese_p (loop, scop->region->region)) { n_loops++; n_p_loops += bb->count; @@ -171,8 +171,8 @@ print_graphite_scop_statistics (FILE* file, scop_p scop) fprintf (file, "\nFunction Name: %s\n", current_function_name ()); - edge scop_begin = scop->region->entry; - edge scop_end = scop->region->exit; + edge scop_begin = scop->region->region.entry; + edge scop_end = scop->region->region.exit; fprintf (file, "\nSCoP (entry_edge (bb_%d, bb_%d), ", scop_begin->src->index, scop_begin->dest->index); |