aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-flow.h
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2004-05-17 20:53:55 -0600
committerJeff Law <law@gcc.gnu.org>2004-05-17 20:53:55 -0600
commitdd7473111a63cdeb442d1b74535405739bf7e866 (patch)
tree8b09f05de2af4fbf629836a3810db742dd217646 /gcc/tree-flow.h
parentb4117c306105c7e3279bbbabab1dd361a3b35b62 (diff)
downloadgcc-dd7473111a63cdeb442d1b74535405739bf7e866.zip
gcc-dd7473111a63cdeb442d1b74535405739bf7e866.tar.gz
gcc-dd7473111a63cdeb442d1b74535405739bf7e866.tar.bz2
toplev.h (flag_delete_null_pointer_checks): Move from here to...
* toplev.h (flag_delete_null_pointer_checks): Move from here to... * flags.h (flag_delete_null_pointer_checks): Here. * tree-flow.h (cprop_into_successor_phis): Add argument to prototype. * tree-phinodes.c (resize_phi_node): Initialize PHI_ARG_NONZERO. (add_phi_arg, remove_phi_arg_num): Similarly. * tree-ssa-copy.c (cprop_into_successor_phis): Propagate nonzero property into PHI nodes. * tree-ssa-dom.c: Remove redundant inclusion of flags.h. (record_equivalences_from_phis): If all PHI arguments are known to be nonzero, then the result must be nonzero as well. (cprop_into_phis): Pass nonzero_vars bitmap to cprop_into_successor_phis (record_equivalences_from_stmt): Check flag_delete_null_pointer_checks appropriately. Walk the USE-DEF chains and propagate nonzero property as appropriate. * tree.h (PHI_ARG_NONZERO): Define. (phi_arg_d): Add nonzero flag. From-SVN: r81968
Diffstat (limited to 'gcc/tree-flow.h')
-rw-r--r--gcc/tree-flow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h
index 6699533..997ed62 100644
--- a/gcc/tree-flow.h
+++ b/gcc/tree-flow.h
@@ -575,7 +575,7 @@ extern void debug_dominator_optimization_stats (void);
extern void propagate_value (tree *, tree);
extern void replace_exp (tree *, tree);
extern bool cprop_into_stmt (tree, varray_type);
-extern void cprop_into_successor_phis (basic_block, varray_type);
+extern void cprop_into_successor_phis (basic_block, varray_type, bitmap);
/* In tree-flow-inline.h */
static inline int phi_arg_from_edge (tree, edge);