gcc/gcc ChangeLog.tcb domwalk.c domwalk.h tree ...
dnovillo@gcc.gnu.org
dnovillo@gcc.gnu.org
Tue Feb 22 20:10:00 GMT 2005
CVSROOT: /cvs/gcc
Module name: gcc
Branch: tree-cleanup-branch
Changes by: dnovillo@gcc.gnu.org 2005-02-22 14:42:27
Modified files:
gcc : ChangeLog.tcb domwalk.c domwalk.h tree-flow.h
tree-into-ssa.c tree-ssa-dom.c tree-ssa-dse.c
tree-vrp.c
Log message:
* domwalk.c (walk_dominator_tree): If block BB is not in the
set of interesting blocks, do not traverse its statements.
* domwalk.h (struct dom_walk_data): Add field INTERESTING_BLOCKS.
* tree-flow.h (update_ssa): Add new bool argument.
* tree-into-ssa.c (struct mark_def_sites_global_data): Fix comment.
Add field interesting_blocks.
(compute_global_livein): Use last_basic_block to initialize
work lists.
(find_idf): Likewise.
(mark_def_sites): If the statement is going to be rewritten,
add the block to GD->INTERESTING_BLOCKS.
(rewrite_blocks): Add argument BLOCKS. Initialize
WALK_DATA.INTERESTING_BLOCKS with it.
Update all callers.
Move debug dumping code from rewrite_into_ssa.
Only delete DEF_BLOCKS if it had been allocated.
(mark_def_site_blocks): Add argument INTERESTING_BLOCKS.
Initialize MARK_DEF_SITES_GLOBAL_DATA.INTERESTING_BLOCKS with
it.
Update all callers.
(prepare_block_for_update): Add arguments INSERT_PHI_P and
INTERESTING_BLOCKS.
Only call set_def_block/set_livein_block if INSERT_PHI_P is true.
Update all callers.
If the block contains at least one interesting statement, add
the block to INTERESTING_BLOCKS.
(update_ssa): Add argument INSERT_PHI_P. Only add new PHI
nodes if INSERT_PHI_P is true.
Update all callers.
Initialize INTERESTING_BLOCKS.
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Initialize
WALK_DATA.INTERESTING_BLOCKS to NULL.
* tree-ssa-dse.c (tree_ssa_dse): Likewise.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.tcb.diff?cvsroot=gcc&only_with_tag=tree-cleanup-branch&r1=1.1.2.24&r2=1.1.2.25
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/domwalk.c.diff?cvsroot=gcc&only_with_tag=tree-cleanup-branch&r1=2.1.18.2&r2=2.1.18.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/domwalk.h.diff?cvsroot=gcc&only_with_tag=tree-cleanup-branch&r1=2.2.12.3&r2=2.2.12.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-flow.h.diff?cvsroot=gcc&only_with_tag=tree-cleanup-branch&r1=2.46.2.15&r2=2.46.2.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-into-ssa.c.diff?cvsroot=gcc&only_with_tag=tree-cleanup-branch&r1=2.21.2.13&r2=2.21.2.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-dom.c.diff?cvsroot=gcc&only_with_tag=tree-cleanup-branch&r1=2.44.2.15&r2=2.44.2.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-dse.c.diff?cvsroot=gcc&only_with_tag=tree-cleanup-branch&r1=2.11.2.5&r2=2.11.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-vrp.c.diff?cvsroot=gcc&only_with_tag=tree-cleanup-branch&r1=1.1.2.5&r2=1.1.2.6
More information about the Gcc-cvs
mailing list