aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-06-26 11:13:41 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1993-06-26 11:13:41 -0400
commit4b63dccb38fdde8ad0dc37666194570ff043126c (patch)
tree07e8754a8cc4c420178ed5f6498a340963c8dbfe /gcc
parent6dc7571d06fbc2f8ae10b02165df7e6a558314a7 (diff)
downloadgcc-4b63dccb38fdde8ad0dc37666194570ff043126c.zip
gcc-4b63dccb38fdde8ad0dc37666194570ff043126c.tar.gz
gcc-4b63dccb38fdde8ad0dc37666194570ff043126c.tar.bz2
Add more decls for functions in fold-const.c.
From-SVN: r4751
Diffstat (limited to 'gcc')
-rw-r--r--gcc/tree.h40
1 files changed, 31 insertions, 9 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 556dac0..7142f49 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -1146,14 +1146,6 @@ extern tree type_hash_canon PROTO((int, tree));
extern void layout_decl PROTO((tree, unsigned));
-/* Fold constants as much as possible in an expression.
- Returns the simplified expression.
- Acts only on the top level of the expression;
- if the argument itself cannot be simplified, its
- subexpressions are not changed. */
-
-extern tree fold PROTO((tree));
-
/* Return an expr equal to X but certainly not valid as an lvalue. */
extern tree non_lvalue PROTO((tree));
@@ -1428,7 +1420,37 @@ extern int pushcase_range PROTO((tree, tree, tree, tree *));
/* In fold-const.c */
-extern tree invert_truthvalue PROTO((tree));
+/* Fold constants as much as possible in an expression.
+ Returns the simplified expression.
+ Acts only on the top level of the expression;
+ if the argument itself cannot be simplified, its
+ subexpressions are not changed. */
+
+extern tree fold PROTO((tree));
+
+extern int force_fit_type PROTO((tree, int));
+extern int add_double PROTO((HOST_WIDE_INT, HOST_WIDE_INT,
+ HOST_WIDE_INT, HOST_WIDE_INT,
+ HOST_WIDE_INT *, HOST_WIDE_INT *));
+extern int neg_double PROTO((HOST_WIDE_INT, HOST_WIDE_INT,
+ HOST_WIDE_INT *, HOST_WIDE_INT *));
+extern int mul_double PROTO((HOST_WIDE_INT, HOST_WIDE_INT,
+ HOST_WIDE_INT, HOST_WIDE_INT,
+ HOST_WIDE_INT *, HOST_WIDE_INT *));
+extern void lshift_double PROTO((HOST_WIDE_INT, HOST_WIDE_INT,
+ HOST_WIDE_INT, int, HOST_WIDE_INT *,
+ HOST_WIDE_INT *, int));
+extern void rshift_double PROTO((HOST_WIDE_INT, HOST_WIDE_INT,
+ HOST_WIDE_INT, int,
+ HOST_WIDE_INT *, HOST_WIDE_INT *, int));
+extern void lrotate_double PROTO((HOST_WIDE_INT, HOST_WIDE_INT,
+ HOST_WIDE_INT, int, HOST_WIDE_INT *,
+ HOST_WIDE_INT *));
+extern void rrotate_double PROTO((HOST_WIDE_INT, HOST_WIDE_INT,
+ HOST_WIDE_INT, int, HOST_WIDE_INT *,
+ HOST_WIDE_INT *));
+extern int operand_equal_p PROTO((tree, tree, int));
+extern tree invert_truthvalue PROTO((tree));
/* The language front-end must define these functions. */