Remove individial dependence pointers and add a scop::dependence to contain all the...
authorAditya Kumar <aditya.k7@samsung.com>
Wed, 16 Dec 2015 17:33:07 +0000 (17:33 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Wed, 16 Dec 2015 17:33:07 +0000 (17:33 +0000)
commit0f7a02a32f887d944a760004927518d903bb4443
tree9c0e606157f927a48dd88bedb966bb39208877e1
parent0ddb9c8d784858c4c80b7c93762e0e9d7e8b5a3a
Remove individial dependence pointers and add a scop::dependence to contain all the dependence.

Removed the member variables which are only used in scop_get_dependence. Instead
only maintaining the overall dependence. Passes regtest and bootstrap.

gcc/ChangeLog:

2015-12-15  hiraditya  <hiraditya@msn.com>

        * graphite-dependences.c (scop_get_dependences): Use local pointers.
        * graphite-isl-ast-to-gimple.c(translate_isl_ast_to_gimple::scop_to_isl_ast):
          Use scop->dependence.
        * graphite-optimize-isl.c (optimize_isl): Same.
        * graphite-poly.c (new_scop): Remove initialization of removed members.
        (free_scop): Same.
        * graphite.h (struct scop): Remove individial dependence pointers and
        add a scop::dependence to contain all the dependence.

From-SVN: r231708
gcc/ChangeLog
gcc/graphite-dependences.c
gcc/graphite-isl-ast-to-gimple.c
gcc/graphite-optimize-isl.c
gcc/graphite-poly.c
gcc/graphite.h