aboutsummaryrefslogtreecommitdiff
path: root/gcc/output.h
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@gcc.gnu.org>2001-07-09 22:32:33 +0200
committerAndreas Jaeger <aj@gcc.gnu.org>2001-07-09 22:32:33 +0200
commita4f31c00231ab4ba5a9534c06e005eb60b89af16 (patch)
tree2b3b7667150e109ac1a4f6ae1b00f9519312699e /gcc/output.h
parent3d7c10129f226c8ccfe6dc6fa39510031dd1a2f8 (diff)
downloadgcc-a4f31c00231ab4ba5a9534c06e005eb60b89af16.zip
gcc-a4f31c00231ab4ba5a9534c06e005eb60b89af16.tar.gz
gcc-a4f31c00231ab4ba5a9534c06e005eb60b89af16.tar.bz2
output.h: Add declaration of final_forward_branch_p.
* output.h: Add declaration of final_forward_branch_p. * config/i386/i386.c (output_fix_trunc): Remove unused variable. From-SVN: r43876
Diffstat (limited to 'gcc/output.h')
-rw-r--r--gcc/output.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc/output.h b/gcc/output.h
index db4894c..6eb4ca4 100644
--- a/gcc/output.h
+++ b/gcc/output.h
@@ -1,7 +1,7 @@
/* Declarations for insn-output.c. These functions are defined in recog.c,
final.c, and varasm.c.
Copyright (C) 1987, 1991, 1994, 1997, 1998,
- 1999, 2000 Free Software Foundation, Inc.
+ 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -35,7 +35,7 @@ extern void app_enable PARAMS ((void));
Called from varasm.c before most kinds of output. */
extern void app_disable PARAMS ((void));
-/* Return the number of slots filled in the current
+/* Return the number of slots filled in the current
delayed branch sequence (we don't count the insn needing the
delay slot). Zero if not in a delayed branch sequence. */
extern int dbr_sequence_length PARAMS ((void));
@@ -116,6 +116,11 @@ extern void split_double PARAMS ((rtx, rtx *, rtx *));
/* Return nonzero if this function has no function calls. */
extern int leaf_function_p PARAMS ((void));
+/* Return 1 if branch is an forward branch.
+ Uses insn_shuid array, so it works only in the final pass. May be used by
+ output templates to add branch prediction hints, for example. */
+extern int final_forward_branch_p PARAMS ((rtx));
+
/* Return 1 if this function uses only the registers that can be
safely renumbered. */
extern int only_leaf_regs_used PARAMS ((void));