diff options
author | Richard Guenther <rguenther@suse.de> | 2009-09-22 08:30:34 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2009-09-22 08:30:34 +0000 |
commit | ff7ffb8f2a4670297b53f38c0a751defc59bb47f (patch) | |
tree | 051a9f785512d04b8b2f8278b342dada185c9d91 /gcc/tree-flow.h | |
parent | 8b659ecb8ea30d4f15c973d114c28f0c46ad96d6 (diff) | |
download | gcc-ff7ffb8f2a4670297b53f38c0a751defc59bb47f.zip gcc-ff7ffb8f2a4670297b53f38c0a751defc59bb47f.tar.gz gcc-ff7ffb8f2a4670297b53f38c0a751defc59bb47f.tar.bz2 |
tree-ssa-propagate.h (ssa_prop_fold_stmt_fn): Declare.
2009-09-22 Richard Guenther <rguenther@suse.de>
* tree-ssa-propagate.h (ssa_prop_fold_stmt_fn): Declare.
(substitute_and_fold): Adjust prototype.
* tree-vrp.c (vrp_evaluate_conditional): Make static.
(simplify_stmt_using_ranges): Likewise.
(fold_predicate_in): Move here from tree-ssa-propagate.c.
(vrp_fold_stmt): New function.
(vrp_finalize): Pass it to substitute_and_fold.
* tree-flow.h (vrp_evaluate_conditional): Remove.
(simplify_stmt_using_ranges): Likewise.
* tree-ssa-ccp.c (ccp_finalize): Adjust call to substitute_and_fold.
* tree-ssa-copy.c (fini_copy_prop): Likewise.
* tree-ssa-propagate.c (struct prop_stats_d): Rename num_pred_folded
member.
(fold_predicate_in): Move to tree-vrp.c.
(substitute_and_fold): Use the callback instead of calling into
tree-vrp.c functions directly.
From-SVN: r151968
Diffstat (limited to 'gcc/tree-flow.h')
-rw-r--r-- | gcc/tree-flow.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h index b93e2f4..77cd80b 100644 --- a/gcc/tree-flow.h +++ b/gcc/tree-flow.h @@ -680,10 +680,6 @@ tree fold_const_aggregate_ref (tree); bool may_propagate_address_into_dereference (tree, tree); -/* In tree-vrp.c */ -tree vrp_evaluate_conditional (enum tree_code, tree, tree, gimple); -bool simplify_stmt_using_ranges (gimple_stmt_iterator *); - /* In tree-ssa-dom.c */ extern void dump_dominator_optimization_stats (FILE *); extern void debug_dominator_optimization_stats (void); |