diff options
author | amacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-02 15:29:35 +0000 |
---|---|---|
committer | amacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-02 15:29:35 +0000 |
commit | 0f4161b1bbf72b9dc7be8c5158b0b64c2de98c9f (patch) | |
tree | 5c2214fabbf4c67fc675ef1f8b0c28a4e7685280 /gcc/gimple-fold.h | |
parent | 45ae37cf28ca90f34353a6d9fd0eec06e1ae1e4b (diff) | |
download | gcc-0f4161b1bbf72b9dc7be8c5158b0b64c2de98c9f.tar.gz |
2013-10-02 Andrew MacLeod <amacleod@redhat.com>
* tree-flow.h: Remove some prototypes.
* gimple-fold.h: Add prototypes from gimple.h and tree-flow.h.
* tree-ssa-propagate.h: Relocate prototypes from tree-flow.h.
* tree-ssa-copy.c (may_propagate*, propagate_value, replace_exp,
propagate_tree_value*): Move from here to...
* tree-ssa-propagate.c (may_propagate*, propagate_value, replace_exp,
propagate_tree_value*): Relocate here.
* tree-ssa-propagate.h: Relocate prototypes from tree-flow.h.
* gimple.h: Include gimple-fold.h, move prototypes into gimple-fold.h.
* gimple-fold.c: Remove gimple-fold.h from include list.
* tree-vrp.c: Remove gimple-fold.h from include list.
* tree-ssa-sccvn.c: Remove gimple-fold.h from include list.
* tree-ssa-ccp.c: Remove gimple-fold.h from include list.
* tree-scalar-evolution.c: Add tree-ssa-propagate.h to include list.
* tree-ssa-pre.c: Add tree-ssa-propagate.h to include list.
* sese.c: Add tree-ssa-propagate.h to include list.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203118 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimple-fold.h')
-rw-r--r-- | gcc/gimple-fold.h | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/gcc/gimple-fold.h b/gcc/gimple-fold.h index fb0502add8e..9b818fc519f 100644 --- a/gcc/gimple-fold.h +++ b/gcc/gimple-fold.h @@ -22,10 +22,22 @@ along with GCC; see the file COPYING3. If not see #ifndef GCC_GIMPLE_FOLD_H #define GCC_GIMPLE_FOLD_H -tree fold_const_aggregate_ref_1 (tree, tree (*) (tree)); -tree fold_const_aggregate_ref (tree); - -tree gimple_fold_stmt_to_constant_1 (gimple, tree (*) (tree)); -tree gimple_fold_stmt_to_constant (gimple, tree (*) (tree)); +extern tree canonicalize_constructor_val (tree, tree); +extern tree get_symbol_constant_value (tree); +extern void gimplify_and_update_call_from_tree (gimple_stmt_iterator *, tree); +extern tree gimple_fold_builtin (gimple); +extern tree gimple_extract_devirt_binfo_from_cst (tree, tree); +extern bool fold_stmt (gimple_stmt_iterator *); +extern bool fold_stmt_inplace (gimple_stmt_iterator *); +extern tree maybe_fold_and_comparisons (enum tree_code, tree, tree, + enum tree_code, tree, tree); +extern tree maybe_fold_or_comparisons (enum tree_code, tree, tree, + enum tree_code, tree, tree); +extern tree gimple_fold_stmt_to_constant_1 (gimple, tree (*) (tree)); +extern tree gimple_fold_stmt_to_constant (gimple, tree (*) (tree)); +extern tree fold_const_aggregate_ref_1 (tree, tree (*) (tree)); +extern tree fold_const_aggregate_ref (tree); +extern tree gimple_get_virt_method_for_binfo (HOST_WIDE_INT, tree); +extern bool gimple_val_nonnegative_real_p (tree); #endif /* GCC_GIMPLE_FOLD_H */ |