diff options
author | lauras <lauras@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-03 04:58:47 +0000 |
---|---|---|
committer | lauras <lauras@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-03 04:58:47 +0000 |
commit | eeb030c48297a7e3cde8955ba0442ba60f59c3d9 (patch) | |
tree | b5eacb7d19ea31e3b1f6dae031254bd95f59aeb7 /gcc/predict.c | |
parent | f3f03d1ef01ae945da02a8d1fc3972459b1df5c3 (diff) | |
download | gcc-eeb030c48297a7e3cde8955ba0442ba60f59c3d9.tar.gz |
2010-12-01 Laurynas Biveinis <laurynas.biveinis@gmail.com>
* basic-block.h (struct edge_prediction): Remove forward
declaration.
* tree-flow.h (struct edge_prediction): Move from here...
* predict.c (struct edge_prediction): ...to here.
* cselib.h (struct elt_list): Move from here...
* cselib.c (struct elt_list): ...to here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167409 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/predict.c')
-rw-r--r-- | gcc/predict.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/predict.c b/gcc/predict.c index dbef3595c45..c6919908316 100644 --- a/gcc/predict.c +++ b/gcc/predict.c @@ -387,6 +387,15 @@ rtl_predicted_by_p (const_basic_block bb, enum br_predictor predictor) static struct pointer_map_t *bb_predictions; +/* Structure representing predictions in tree level. */ + +struct edge_prediction { + struct edge_prediction *ep_next; + edge ep_edge; + enum br_predictor ep_predictor; + int ep_probability; +}; + /* Return true if the one of outgoing edges is already predicted by PREDICTOR. */ |