gcc/gcc ChangeLog.autovect tree-data-ref.c tre ...
irar@gcc.gnu.org
irar@gcc.gnu.org
Tue Feb 22 19:00:00 GMT 2005
CVSROOT: /cvs/gcc
Module name: gcc
Branch: autovect-branch
Changes by: irar@gcc.gnu.org 2005-02-22 12:29:05
Modified files:
gcc : ChangeLog.autovect tree-data-ref.c
tree-data-ref.h tree-vectorizer.c
tree-vectorizer.h
Log message:
* tree-data-ref.c (array_base_name_differ_p): Remove gcc_assert.
(base_addr_differ_p): New function. Moved from tree-vectorizer.c
(init_data_ref): Update new data-ref fields. Make static.
(analyze_indirect_ref): Add checks of initial condition and evolution
for new data-ref fields.
(strip_conversion): New function. Moved from tree-vectorizer.c
(analyze_offset_expr, get_ptr_offset, address_analysis, object_analysis):
Likewise.
(create_data_ref): New function. API to data-ref analysis.
(initialize_data_dependence_relation): Remove check of DR_BASE_NAME.
Call base_addr_differ_p.
(find_data_references_in_loop): Initialize new data-ref fields.
* tree-data-ref.h (struct data_reference): New fields for base address,
offset, step, memory tag and misalignment info of data-ref in loop.
Macros for new fields access.
(init_data_ref): Remove declaration.
(create_data_ref, base_addr_differ_p): Add declarations.
* tree-vectorizer.c (new_stmt_vec_info): Remove fields update.
(vect_get_ptr_offset, vect_strip_conversions, vect_analyze_offset_expr):
Remove.
(vect_create_addr_base_for_vector_ref): Use data-ref structure fields.
( vect_create_data_ref_ptr, vect_gen_niters_for_prolog_loop): Likewise.
(vect_base_addr_differ_p): Remove.
(vect_analyze_data_ref_dependence): Call base_addr_differ_p.
(vect_compute_data_ref_alignment): Use data-ref structure fields. Remove
misalignment modulo computation.
(vect_analyze_data_ref_access): Use data-ref structure fields.
(vect_analyze_pointer_ref_access, vect_get_memtag, vect_address_analysis,
vect_object_analysis): Remove.
(vect_analyze_data_refs): Fix comment. Call create_data_ref.
* (tree-vectorizer.h): Remove fields from struct _stmt_vec_info and remove
their macros.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.autovect.diff?cvsroot=gcc&only_with_tag=autovect-branch&r1=1.1.2.36&r2=1.1.2.37
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-data-ref.c.diff?cvsroot=gcc&only_with_tag=autovect-branch&r1=2.15.4.11&r2=2.15.4.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-data-ref.h.diff?cvsroot=gcc&only_with_tag=autovect-branch&r1=2.5.4.2&r2=2.5.4.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-vectorizer.c.diff?cvsroot=gcc&only_with_tag=autovect-branch&r1=2.25.2.17&r2=2.25.2.18
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-vectorizer.h.diff?cvsroot=gcc&only_with_tag=autovect-branch&r1=2.7.2.8&r2=2.7.2.9
More information about the Gcc-cvs
mailing list