diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2017-07-03 13:36:26 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2017-07-03 13:36:26 +0000 |
commit | abbe3756cd2374d23be9b9937b33401d231eb9b0 (patch) | |
tree | bd2a0cbaf76fe375cab734bd599ca7a3c6d8783d /gcc/tree-data-ref.h | |
parent | d8ac7e2840b8c9f3ac7a8197ca5e03bbc72ba090 (diff) | |
download | gcc-abbe3756cd2374d23be9b9937b33401d231eb9b0.zip gcc-abbe3756cd2374d23be9b9937b33401d231eb9b0.tar.gz gcc-abbe3756cd2374d23be9b9937b33401d231eb9b0.tar.bz2 |
Make dr_analyze_innermost operate on innermost_loop_behavior
This means that callers to dr_analyze_innermost don't need a full
data_reference and don't need to fill in any fields beforehand.
2017-07-03 Richard Sandiford <richard.sandiford@linaro.org>
gcc/
* tree-data-ref.h (dr_analyze_innermost): Replace the dr argument
with a "innermost_loop_behavior *" and refeence tree.
* tree-data-ref.c (dr_analyze_innermost): Likewise.
(create_data_ref): Update call accordingly.
* tree-predcom.c (find_looparound_phi): Likewise.
From-SVN: r249913
Diffstat (limited to 'gcc/tree-data-ref.h')
-rw-r--r-- | gcc/tree-data-ref.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-data-ref.h b/gcc/tree-data-ref.h index 0013049..c8bb813 100644 --- a/gcc/tree-data-ref.h +++ b/gcc/tree-data-ref.h @@ -322,7 +322,7 @@ typedef struct data_dependence_relation *ddr_p; #define DDR_REVERSED_P(DDR) (DDR)->reversed_p -bool dr_analyze_innermost (struct data_reference *, struct loop *); +bool dr_analyze_innermost (innermost_loop_behavior *, tree, struct loop *); extern bool compute_data_dependences_for_loop (struct loop *, bool, vec<loop_p> *, vec<data_reference_p> *, |