From 07e3bcbf2ba9a8ff9268640683972b31b31d4014 Mon Sep 17 00:00:00 2001 From: rguenth Date: Mon, 18 Mar 2013 10:25:42 +0000 Subject: 2013-03-18 Richard Biener * tree-data-ref.h (find_data_references_in_loop): Declare. * tree-data-ref.c (get_references_in_stmt): Use a stack vector pre-allocated in the callers. (find_data_references_in_stmt): Adjust. (graphite_find_data_references_in_stmt): Likewise. (create_rdg_vertices): Likewise. (find_data_references_in_loop): Export. * tree-vect-data-refs.c (vect_analyze_data_ref_dependences): Compute dependences here... (vect_analyze_data_refs): ...not here. When we encounter a non-vectorizable data reference in basic-block vectorization truncate the data reference vector. Do not bother to fixup data-dependence information for gather loads. * tree-vect-slp.c (vect_slp_analyze_bb_1): Check the number of data references, as reported. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196775 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/tree-data-ref.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/tree-data-ref.h') diff --git a/gcc/tree-data-ref.h b/gcc/tree-data-ref.h index 93a75f2ef79..c5d3e86c0d1 100644 --- a/gcc/tree-data-ref.h +++ b/gcc/tree-data-ref.h @@ -382,6 +382,7 @@ extern bool find_data_references_in_stmt (struct loop *, gimple, vec *); extern bool graphite_find_data_references_in_stmt (loop_p, loop_p, gimple, vec *); +tree find_data_references_in_loop (struct loop *, vec *); struct data_reference *create_data_ref (loop_p, loop_p, tree, gimple, bool); extern bool find_loop_nest (struct loop *, vec *); extern struct data_dependence_relation *initialize_data_dependence_relation -- cgit v1.2.1