OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* tree-into-ssa.c: Re-organize internal functions.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
predict.h
diff --git
a/gcc/predict.h
b/gcc/predict.h
index
9e200be
..
17c2c94
100644
(file)
--- a/
gcc/predict.h
+++ b/
gcc/predict.h
@@
-1,5
+1,5
@@
/* Definitions for branch prediction routines in the GNU compiler.
/* Definitions for branch prediction routines in the GNU compiler.
- Copyright (C) 2001, 2003 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2003
, 2004
Free Software Foundation, Inc.
This file is part of GCC.
This file is part of GCC.
@@
-18,6
+18,9
@@
along with GCC; see the file COPYING. If not, write to the Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
+#ifndef GCC_PREDICT_H
+#define GCC_PREDICT_H
+
#define DEF_PREDICTOR(ENUM, NAME, HITRATE, FLAGS) ENUM,
enum br_predictor
{
#define DEF_PREDICTOR(ENUM, NAME, HITRATE, FLAGS) ENUM,
enum br_predictor
{
@@
-37,10
+40,6
@@
enum prediction
#define IS_TAKEN 1 /* Predict edges to the block as taken. */
extern void predict_insn_def (rtx, enum br_predictor, enum prediction);
#define IS_TAKEN 1 /* Predict edges to the block as taken. */
extern void predict_insn_def (rtx, enum br_predictor, enum prediction);
-extern
void predict_insn (rtx, enum br_predictor, int
);
+extern
int counts_to_freqs (void
);
-/* Avoid unneeded dependency on basic_block.h */
-#ifdef BASIC_BLOCK
-extern void predict_edge (edge, enum br_predictor, int);
-extern void predict_edge_def (edge, enum br_predictor, enum prediction);
-#endif
+#endif /* GCC_PREDICT_H */