tree-data-ref.h (find_data_references_in_loop): Declare.
authorRichard Biener <rguenther@suse.de>
Mon, 18 Mar 2013 10:25:42 +0000 (10:25 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 18 Mar 2013 10:25:42 +0000 (10:25 +0000)
commitfcac74a177b6c86bf70320aae7145f3b79e54739
treed1488179bfed051c219f22ecde86646c070342c7
parentad6fdc197621e1f48d72df91f021c187949ba6c2
tree-data-ref.h (find_data_references_in_loop): Declare.

2013-03-18  Richard Biener  <rguenther@suse.de>

* 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.

From-SVN: r196775
gcc/ChangeLog
gcc/tree-data-ref.c
gcc/tree-data-ref.h
gcc/tree-vect-data-refs.c
gcc/tree-vect-slp.c