diff options
author | abel <abel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-27 13:47:41 +0000 |
---|---|---|
committer | abel <abel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-27 13:47:41 +0000 |
commit | c7af8ae71c5450921a79b29f1cec9d427cd3c975 (patch) | |
tree | 083a3f9c465c92d16c9531e2235042ab1fc90ad1 /gcc/tree-data-ref.h | |
parent | 3a19c06377e6f28b0328663107124aa0b98f7f44 (diff) | |
download | gcc-c7af8ae71c5450921a79b29f1cec9d427cd3c975.tar.gz |
PR middle-end/51389
* Makefile.in (tree-data-ref.o): Depend on $(PARAMS_H).
* tree-data-ref.h (find_data_references_in_loop): Remove declaration.
* tree-data-ref.c (find_data_references_in_loop): Make static.
(compute_all_dependences): Change return type to bool. Bail out
for too many datarefs in a loop. Move the hunk resetting the data
dependences vector from ...
(compute_data_dependences_for_loop): ... here. Account for
compute_all_dependences returning false.
(compute_data_dependences_for_bb): Likewise.
* params.def (PARAM_LOOP_MAX_DATAREFS_FOR_DATADEPS): New param.
* doc/invoke.texi (loop-max-datarefs-for-datadeps): Document it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183624 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-data-ref.h')
-rw-r--r-- | gcc/tree-data-ref.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/tree-data-ref.h b/gcc/tree-data-ref.h index 0f12962fc93..df639ca6617 100644 --- a/gcc/tree-data-ref.h +++ b/gcc/tree-data-ref.h @@ -394,8 +394,6 @@ extern bool compute_data_dependences_for_loop (struct loop *, bool, extern bool compute_data_dependences_for_bb (basic_block, bool, VEC (data_reference_p, heap) **, VEC (ddr_p, heap) **); -extern tree find_data_references_in_loop (struct loop *, - VEC (data_reference_p, heap) **); extern void print_direction_vector (FILE *, lambda_vector, int); extern void print_dir_vectors (FILE *, VEC (lambda_vector, heap) *, int); extern void print_dist_vectors (FILE *, VEC (lambda_vector, heap) *, int); @@ -426,7 +424,7 @@ extern bool find_loop_nest (struct loop *, VEC (loop_p, heap) **); extern struct data_dependence_relation *initialize_data_dependence_relation (struct data_reference *, struct data_reference *, VEC (loop_p, heap) *); extern void compute_self_dependence (struct data_dependence_relation *); -extern void compute_all_dependences (VEC (data_reference_p, heap) *, +extern bool compute_all_dependences (VEC (data_reference_p, heap) *, VEC (ddr_p, heap) **, VEC (loop_p, heap) *, bool); extern tree find_data_references_in_bb (struct loop *, basic_block, |