diff options
author | Aditya Kumar <aditya.k7@samsung.com> | 2015-12-16 17:33:07 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2015-12-16 17:33:07 +0000 |
commit | 0f7a02a32f887d944a760004927518d903bb4443 (patch) | |
tree | 9c0e606157f927a48dd88bedb966bb39208877e1 /gcc/graphite.h | |
parent | 0ddb9c8d784858c4c80b7c93762e0e9d7e8b5a3a (diff) |
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
Diffstat (limited to 'gcc/graphite.h')
-rw-r--r-- | gcc/graphite.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gcc/graphite.h b/gcc/graphite.h index 099e4108d35..ba91dfa4d25 100644 --- a/gcc/graphite.h +++ b/gcc/graphite.h @@ -411,13 +411,8 @@ struct scop /* The context used internally by ISL. */ isl_ctx *isl_context; - /* The original dependence relations: - RAW are read after write dependences, - WAR are write after read dependences, - WAW are write after write dependences. */ - isl_union_map *must_raw, *may_raw, *must_raw_no_source, *may_raw_no_source, - *must_war, *may_war, *must_war_no_source, *may_war_no_source, - *must_waw, *may_waw, *must_waw_no_source, *may_waw_no_source; + /* The data dependence relation among the data references in this scop. */ + isl_union_map *dependence; }; extern scop_p new_scop (edge, edge); |