This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc Makefile.in ChangeLog.lno cfgloop.h tr ...
- From: spop at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 3 Sep 2004 18:50:28 -0000
- Subject: gcc/gcc Makefile.in ChangeLog.lno cfgloop.h tr ...
CVSROOT: /cvs/gcc
Module name: gcc
Branch: lno-branch
Changes by: spop@gcc.gnu.org 2004-09-03 18:50:28
Modified files:
gcc : Makefile.in ChangeLog.lno cfgloop.h
tree-data-ref.c tree-data-ref.h
tree-ssa-loop-niter.c tree-loop-linear.c
Log message:
* Makefile.in (tree-ssa-loop-niter.o): Depends on TREE_DATA_REF_H.
* cfgloop.h (struct nb_iter_bound): Moved here.
(record_estimate_niter): Declared extern here.
* tree-data-ref.c (compute_estimated_nb_iterations): New.
(estimate_niter_from_size_of_data): Pass in the statement containing
the data reference. Record the estimations in loop instead of
computing the minimum of the loop bounds. Check for null pointers
before computing the estimation.
(analyze_array_indexes): Pass in the statement containing the data
reference.
(analyze_array): Pass to analyze_array_indexes the statement.
(find_data_references_in_loop): Now extern. Compute and initialize
the estimated_nb_iterations.
* tree-data-ref.h (find_data_references_in_loop): Declared here.
* tree-ssa-loop-niter.c: Include tree-data-ref.h.
(struct nb_iter_bound): Moved to cfgloop.h.
(record_estimate): Renamed record_estimate_niter.
(estimate_numbers_of_iterations_loop): Add a call to the data
reference analyzer that finds the bounds based on the data size.
* tree-loop-linear.c (gather_interchange_stats): Don't compute the
inner loop, but instead, compute it. Pass in the offset of
the loop nest.
(try_interchange_loops): Pass to gather_interchange_stats the offset
of the loop nest.
(linear_transform_loops): Don't fail to transform a loop nest if the
loop nest itself has a sibling loop.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/Makefile.in.diff?cvsroot=gcc&only_with_tag=lno-branch&r1=1.903.2.158.2.46&r2=1.903.2.158.2.47
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.lno.diff?cvsroot=gcc&only_with_tag=lno-branch&r1=1.1.2.268&r2=1.1.2.269
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cfgloop.h.diff?cvsroot=gcc&only_with_tag=lno-branch&r1=1.2.4.9.2.24&r2=1.2.4.9.2.25
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-data-ref.c.diff?cvsroot=gcc&only_with_tag=lno-branch&r1=1.1.2.39&r2=1.1.2.40
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-data-ref.h.diff?cvsroot=gcc&only_with_tag=lno-branch&r1=1.1.2.21&r2=1.1.2.22
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-loop-niter.c.diff?cvsroot=gcc&only_with_tag=lno-branch&r1=1.1.2.13&r2=1.1.2.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-loop-linear.c.diff?cvsroot=gcc&only_with_tag=lno-branch&r1=1.1.2.16&r2=1.1.2.17