diff options
author | Aditya Kumar <aditya.k7@samsung.com> | 2015-10-01 22:04:20 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2015-10-01 22:04:20 +0000 |
commit | 0afd32be3ccd791f0ada5a4aac93e9a957dcd725 (patch) | |
tree | b906b6c08891f54fc7f2d5cb301a4a64957b38c3 /gcc/fortran/decl.c | |
parent | 65ef70d69574433ef8a0e26e31b8af7c0bbb65de (diff) | |
download | gcc-0afd32be3ccd791f0ada5a4aac93e9a957dcd725.zip gcc-0afd32be3ccd791f0ada5a4aac93e9a957dcd725.tar.gz gcc-0afd32be3ccd791f0ada5a4aac93e9a957dcd725.tar.bz2 |
use sese_l throughout scop-detection
Use sese_l throughout SCoP detection and create vec<scop_p> at the very end when
all SCoPs have been identified. 'struct sese_l' is very lightweight (two
pointers) compared to 'struct scop'.
No functional change intended. Passes regtest and bootstrap.
gcc/ChangeLog:
2015-10-01 Aditya Kumar <hiraditya@msn.com>
* graphite-scop-detection.c (struct sese_l): New conversion constructor
so that this type can be pushed into a vec.
(class scop_builder): use sese_l to collect scops.
(get_scops): New getter function.
(remove_intersecting_scops): Use sese_l instead of scops_p.
(intersects): Same.
(add_scop): Same.
(subsumes): Same.
(remove_subscops): Same.
(build_scops): Add scops to vec<scops_p> once all the scops have been
detected.
From-SVN: r228359
Diffstat (limited to 'gcc/fortran/decl.c')
0 files changed, 0 insertions, 0 deletions