aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorSteven Bosscher <stevenb@suse.de>2004-11-02 17:59:46 +0000
committerSteven Bosscher <stevenb@suse.de>2004-11-02 17:59:46 +0000
commit4de1013369a7db0d094c0b947820fba188246c11 (patch)
treece74266679e739b6b67a76a1605aab9369fb1ee5 /gcc/rtl.h
parentccd68a9b9bf53335cd40bee1dd457fb61cf0f72a (diff)
* cfgloop.h (struct loop): Update comment.
* cse.c (cse_main): Remove obsolete comment. * expr.h (gen_cond_trap): Move prototype under functions provided by optabs.c. (canonicalize_condition, get_condition): Move to... * rtl.h (canonicalize_condition, get_condition): ...here. (branch_target_load_optimize): Add comment that this function is in bt-load.c. * loop.c (canonicalize_condition, get_condition): Move to... * rtlanal.c (canonicalize_condition, get_condition): ...here. * sched-deps.c (get_condition): Rename to sched_get_condition. (add_dependence): Update this caller. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@89995 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 9b9bfcce6b7..67eea8b04b9 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1657,6 +1657,15 @@ extern bool keep_with_call_p (rtx);
extern bool label_is_jump_target_p (rtx, rtx);
extern int insn_rtx_cost (rtx);
+/* Given an insn and condition, return a canonical description of
+ the test being made. */
+extern rtx canonicalize_condition (rtx, rtx, int, rtx *, rtx, int, int);
+
+/* Given a JUMP_INSN, return a canonical description of the test
+ being made. */
+extern rtx get_condition (rtx, rtx *, int, int);
+
+
/* flow.c */
extern rtx find_use_as_address (rtx, rtx, HOST_WIDE_INT);
@@ -2017,6 +2026,8 @@ extern void print_inline_rtx (FILE *, rtx, int);
/* In loop.c */
extern void init_loop (void);
extern void loop_optimize (rtx, FILE *, int);
+
+/* In bt-load.c */
extern void branch_target_load_optimize (bool);
/* In function.c */