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 <steven@gcc.gnu.org>2004-11-02 17:59:46 +0000
commit75473b0257a7c6c60c46bfd329b070529a12c03c (patch)
treece74266679e739b6b67a76a1605aab9369fb1ee5 /gcc/rtl.h
parent65e9700cc0554d17492c4d28abd1e9bf68454c9a (diff)
downloadgcc-75473b0257a7c6c60c46bfd329b070529a12c03c.zip
gcc-75473b0257a7c6c60c46bfd329b070529a12c03c.tar.gz
gcc-75473b0257a7c6c60c46bfd329b070529a12c03c.tar.bz2
cfgloop.h (struct loop): Update comment.
* 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. From-SVN: r89995
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 9b9bfcc..67eea8b 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 */