summaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-09-07 18:14:32 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-09-07 18:14:32 +0000
commitf4ad60b78be74eb0dbf0d85a7ed926584eee16d2 (patch)
treefdd0e020da43b19ca8c6fe9ea8eb332cf71d6eba /gcc/rtl.h
parentff279ae7100d5e4b86a071aa02911d0fd7a25e60 (diff)
downloadgcc-f4ad60b78be74eb0dbf0d85a7ed926584eee16d2.tar.gz
* loop.c (record_giv): Avoid simplifying MULT to ASHIFT.
(express_from_1): Wrap lines. * rtlanal.c (commutative_operand_precedence): Rename from operand_preference; export. * rtl.h: Declare it. * simplify-rtx.c (simplify_gen_binary): Tidy +/- const_int handling. (simplify_binary_operation): Invoke simplify_plus_minus on (CONST (PLUS ...)) as well. (struct simplify_plus_minus_op_data): New. (simplify_plus_minus_op_data_cmp): New. (simplify_plus_minus): Use them. Avoid infinite recursion with simplify_binary_operation wrt CONST. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45473 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 3a0a019f0f0..75204b66de8 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1374,6 +1374,7 @@ extern int reg_used_between_p PARAMS ((rtx, rtx, rtx));
extern int reg_referenced_between_p PARAMS ((rtx, rtx, rtx));
extern int reg_set_between_p PARAMS ((rtx, rtx, rtx));
extern int regs_set_between_p PARAMS ((rtx, rtx, rtx));
+extern int commutative_operand_precedence PARAMS ((rtx));
extern int swap_commutative_operands_p PARAMS ((rtx, rtx));
extern int modified_between_p PARAMS ((rtx, rtx, rtx));
extern int no_labels_between_p PARAMS ((rtx, rtx));