This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc ChangeLog.killloop Makefile.in tree-fl ...
- From: rakdver at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 2 Sep 2005 09:32:18 -0000
- Subject: gcc/gcc ChangeLog.killloop Makefile.in tree-fl ...
CVSROOT: /cvs/gcc
Module name: gcc
Branch: killloop-branch
Changes by: rakdver@gcc.gnu.org 2005-09-02 09:32:16
Modified files:
gcc : ChangeLog.killloop Makefile.in tree-flow.h
tree-ssa-loop-ivcanon.c tree-ssa-loop-ivopts.c
tree-ssa-loop-niter.c tree.c tree.h
Added files:
gcc : tree-ssa-loop-endcond.c
Log message:
* Makefile.in (tree-ssa-loop-endcond.o): Add.
* tree-flow.h (select_condition_shape): Declare.
* tree-ssa-loop-endcond.c: New file.
* tree-ssa-loop-ivcanon.c: Extend comments.
* tree-ssa-loop-ivopts.c (struct cost_pair): Add cmp field.
(add_iv_value_candidates): Add all_important argument. For decreasing
ivs, add iv with final value zero.
(add_old_iv_candidates): Use add_iv_value_candidates.
(add_derived_ivs_candidates): Add argument to add_iv_value_candidates.
(set_use_iv_cost): Add cmp argument.
(set_use_iv_cost_infinity, set_use_iv_cost_zero,
set_use_iv_cost_generic, set_use_iv_cost_outer,
set_use_iv_cost_compare): New functions.
(determine_use_iv_cost_generic, determine_use_iv_cost_address,
determine_use_iv_cost_outer): Use them.
(cand_value_at, iv_elimination_compare): Removed.
(iv_period): Moved to tree-ssa-loop-endcond.c.
(may_eliminate_iv): Use select_condition_shape.
(compare_cost): New function.
(determine_use_iv_cost_condition): Use set_use_iv_cost_compare and
compare_cost.
(determine_use_iv_costs): Dump value and cmp fields of cost pair.
(try_replacing_cands, minor_adjustments): New functions.
(find_optimal_iv_set): Call minor_adjustments.
(rewrite_use_compare): Use cmp field of cost pair.
* tree-ssa-loop-niter.c (zero_p, nonzero_p): Moved to ...
* tree.c (zero_p, nonzero_p): ... here.
(signed_type_for): Generate a signed integer type for pointers.
* tree.h (nonzero_p): Declare.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-loop-endcond.c.diff?cvsroot=gcc&only_with_tag=killloop-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.killloop.diff?cvsroot=gcc&only_with_tag=killloop-branch&r1=1.1.2.7&r2=1.1.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/Makefile.in.diff?cvsroot=gcc&only_with_tag=killloop-branch&r1=1.1530.2.2&r2=1.1530.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-flow.h.diff?cvsroot=gcc&only_with_tag=killloop-branch&r1=2.130&r2=2.130.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-loop-ivcanon.c.diff?cvsroot=gcc&only_with_tag=killloop-branch&r1=2.18&r2=2.18.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-loop-ivopts.c.diff?cvsroot=gcc&only_with_tag=killloop-branch&r1=2.85.2.1&r2=2.85.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-loop-niter.c.diff?cvsroot=gcc&only_with_tag=killloop-branch&r1=2.33&r2=2.33.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.c.diff?cvsroot=gcc&only_with_tag=killloop-branch&r1=1.497&r2=1.497.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.h.diff?cvsroot=gcc&only_with_tag=killloop-branch&r1=1.750&r2=1.750.2.1