]> gcc.gnu.org Git - gcc.git/commit
graphite-scop-detection.c (scop_detection::build_scop_depth): Rewrite, fold in ...
authorRichard Biener <rguenther@suse.de>
Tue, 26 Sep 2017 14:28:13 +0000 (14:28 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 26 Sep 2017 14:28:13 +0000 (14:28 +0000)
commitca617fd2144dd58a2d26887239e86e5b32eba87c
treed76b80720d49418a36166446048474c205a0b04a
parent343cb5897c673cb75233f4d0a991c0bec11c1f53
graphite-scop-detection.c (scop_detection::build_scop_depth): Rewrite, fold in ...

2017-09-26  Richard Biener  <rguenther@suse.de>

* graphite-scop-detection.c (scop_detection::build_scop_depth): Rewrite,
fold in ...
(scop_detection::build_scop_breadth): ... this.  Removed.
(scop_detection::loop_is_valid_in_scop): Fold into single caller.
(scop_detection::harmful_stmt_in_bb): Likewise.
(scop_detection::graphite_can_represent_stmt): Likewise.
(scop_detection::loop_body_is_valid_scop): Likewise.  Remove recursion.
(scop_detection::can_represent_loop): Remove recursion, fold in ...
(scop_detection::can_represent_loop_1): ... this.  Removed.
(scop_detection::harmful_loop_in_region): Simplify after inlining
the above and remove more quadraticness.
(build_scops): Adjust.
* tree-data-ref.c (loop_nest_has_data_refs): Remove pointless
quadraticness.

From-SVN: r253203
gcc/ChangeLog
gcc/graphite-scop-detection.c
gcc/tree-data-ref.c
This page took 0.053037 seconds and 5 git commands to generate.