Author: jakub
Date: Fri Jul 4 14:58:40 2008
New Revision: 137463
URL:
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137463
Log:
* gimple.def (GIMPLE_PREDICT): New.
* gimple.h: Update comment above GF_* flags.
(GF_PREDICT_TAKEN): New.
(gimple_build_predict): New prototype.
(gimple_predict_predictor, gimple_predict_outcome,
gimple_predict_set_predictor, gimple_predict_set_outcome): New
inlines.
* gimple.c (gss_for_code): Handle GIMPLE_PREDICT.
(gimple_size, walk_gimple_op): Likewise.
(gimple_build_predict): New function.
* gimple-pretty-print.c (dump_gimple_stmt): Handle GIMPLE_PREDICT.
* predict.c (tree_bb_level_predictions): Likewise.
* cfgexpand.c (gimple_to_tree): Likewise.
* tree-inline.c (estimate_num_insns): Likewise.
* tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Likewise.
* gimple-low.c (lower_stmt): Likewise.
* tree-cfg.c (verify_types_in_gimple_seq_2): Likewise.
(verify_types_in_gimple_stmt): Likewise. Don't handle PREDICT_EXPR.
* gimplify.c (gimplify_expr): Gimplify PREDICT_EXPR into
GIMPLE_PREDICT.
* expr.c (expand_expr_real): Don't handle PREDICT_EXPR.
Modified:
branches/gimple-tuples-branch/gcc/ChangeLog.tuples
branches/gimple-tuples-branch/gcc/cfgexpand.c
branches/gimple-tuples-branch/gcc/expr.c
branches/gimple-tuples-branch/gcc/gimple-low.c
branches/gimple-tuples-branch/gcc/gimple-pretty-print.c
branches/gimple-tuples-branch/gcc/gimple.c
branches/gimple-tuples-branch/gcc/gimple.def
branches/gimple-tuples-branch/gcc/gimple.h
branches/gimple-tuples-branch/gcc/gimplify.c
branches/gimple-tuples-branch/gcc/predict.c
branches/gimple-tuples-branch/gcc/tree-cfg.c
branches/gimple-tuples-branch/gcc/tree-inline.c
branches/gimple-tuples-branch/gcc/tree-ssa-dce.c