summaryrefslogtreecommitdiff
path: root/gcc/gimple-fold.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gimple-fold.h')
-rw-r--r--gcc/gimple-fold.h23
1 files changed, 18 insertions, 5 deletions
diff --git a/gcc/gimple-fold.h b/gcc/gimple-fold.h
index fb0502add8e..7a631a9604d 100644
--- a/gcc/gimple-fold.h
+++ b/gcc/gimple-fold.h
@@ -22,10 +22,23 @@ 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);
+extern tree gimple_fold_indirect_ref (tree);
#endif /* GCC_GIMPLE_FOLD_H */