aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorJohn Wehle <john@feith.com>2000-02-18 06:32:01 +0000
committerJohn Wehle <wehle@gcc.gnu.org>2000-02-18 06:32:01 +0000
commita49a6a680068d483645cbc0f63975760b5d57886 (patch)
tree3c30c190987a1ec418bb165199041649c8b305e1 /gcc/expr.h
parent930b1f40d0f3b4ad09d916f2a6da33f9d20dfad9 (diff)
downloadgcc-a49a6a680068d483645cbc0f63975760b5d57886.zip
gcc-a49a6a680068d483645cbc0f63975760b5d57886.tar.gz
gcc-a49a6a680068d483645cbc0f63975760b5d57886.tar.bz2
loop.c (canonicalize_condition): New function, broken out of get_condition.
* loop.c (canonicalize_condition): New function, broken out of get_condition. (get_condition): Use it. * expr.h (canonicalize_condition): Prototype it. * tree.h (tree_int_cst_msb): Declare. * tree.c (tree_int_cst_msb): New function. From-SVN: r32045
Diffstat (limited to 'gcc/expr.h')
-rw-r--r--gcc/expr.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/expr.h b/gcc/expr.h
index ef8622a..22af908 100644
--- a/gcc/expr.h
+++ b/gcc/expr.h
@@ -888,7 +888,12 @@ extern rtx emit_store_flag_force PARAMS ((rtx, enum rtx_code, rtx, rtx,
/* Functions from loop.c: */
-/* Given a JUMP_INSN, return a description of the test being made. */
+/* Given an insn and condition, return a canonical description of
+ the test being made. */
+extern rtx canonicalize_condition PARAMS ((rtx, rtx, int, rtx *));
+
+/* Given a JUMP_INSN, return a canonical description of the test
+ being made. */
extern rtx get_condition PARAMS ((rtx, rtx *));
/* Generate a conditional trap instruction. */