gcc/gcc ChangeLog.tree-ssa Makefile.in gimplif ...
amacleod@gcc.gnu.org
amacleod@gcc.gnu.org
Thu Feb 6 04:41:00 GMT 2003
CVSROOT: /cvs/gcc
Module name: gcc
Branch: tree-ssa-20020619-branch
Changes by: amacleod@gcc.gnu.org 2003-02-06 04:41:06
Modified files:
gcc : ChangeLog.tree-ssa Makefile.in gimplify.c
tree-cfg.c tree-dfa.c tree-flow-inline.h
tree-flow.h tree-simple.h tree-ssa-ccp.c
tree-ssa-dce.c tree-ssa.c
Added files:
gcc : tree-iterator.h
Log message:
replace gimple iterators with block and tree iterators.
2003-02-05 Andrew MacLeod <amacleod@redhat.com>
* Makefile.in : Include new file tree-iterator.h in tree-simple.h
* gimplify.c (simplify_cleanup_point_expr): Use tsi_ rather than gsi_.
* tree-cfg.c (make_blocks, remove_bb): Use tsi_ not gsi_ routines.
(bsi_remove): Renamed from gsi_remove, use bsi_ routines.
(successor_block, first_exec_stmt): Use tsi_ not gsi_ routines.
(first_stmt, last_stmt, last_stmt_ptr): Use bsi_ not gsi_ routines.
(bsi_init): Split out from bsi_start.
(bsi_start): Renamed from gsi_start_bb, use bsi_ routines.
(bsi_next_in_bb): Moved from tree-flow-inline.h and renamed from
gsi_step_in_bb. Also verify BB of new stmt.
* tree-dfa.c (compute_immediate_uses, dump_immediate_uses,
collect_dfa_stats, compute_may_aliases): Use block_stmt_iterator.
* tree-flow-inline.h (gsi_step_in_bb): Moved to tree-cfg.c
(bsi_end_p): Renamed from gsi_end_bb_p.
(bsi_next): renamed from gsi_step_bb
(bsi_prev): New function.
(bsi_stmt_ptr): Block version of gsi_stmt_ptr.
(bsi_stmt): Block version of gsi_stmt.
(bsi_container): Block version of gsi_container.
* tree-flow.h (block_stmt_iterator): New iterator type.
* tree-iterator.h: New include file for tree_iterator.
* tree-simple.h : Include tree-iterator.h
(gimple_stmt_iterator, gsi_start, gsi_end_p, gsi_stmt_ptr,
gsi_stmt, gsi_container): Move to tree-iterator.h and rename to tsi_.
(gsi_step): Move to tree-iterator.h and renamed to tsi_next.
* tree-ssa-ccp.c (simulate_block, substitute_and_fold): Use block
iterators instead of gimple_stmt_iterator.
* tree-ssa-dce.c (mark_control_parent_necessary, find_useful_stmts,
remove_dead_stmts, remove_dead_stmt): Use block_stmt_iterator.
* tree-ssa.c (mark_def_sites, rewrite_out_of_ssa, rewrite_stmts): Use
block_stmt_iterator.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-iterator.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.tree-ssa.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.218&r2=1.1.2.219
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/Makefile.in.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.903.2.70&r2=1.903.2.71
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gimplify.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.25&r2=1.1.2.26
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-cfg.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.4.54&r2=1.1.4.55
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-dfa.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.4.72&r2=1.1.4.73
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-flow-inline.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.23&r2=1.1.2.24
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-flow.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.4.51&r2=1.1.4.52
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-simple.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.4.21&r2=1.1.4.22
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-ccp.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.44&r2=1.1.2.45
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-dce.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.23&r2=1.1.2.24
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.4.47&r2=1.1.4.48
More information about the Gcc-cvs
mailing list