2008-05-02 Doug Kwan <dougkwan@google.com>
commit7ee21101e92b1d282ab322716923723abfd0b758
authordougkwan <dougkwan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 May 2008 19:32:10 +0000 (2 19:32 +0000)
committerdougkwan <dougkwan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 May 2008 19:32:10 +0000 (2 19:32 +0000)
tree50eeea2bb78f08b1b51313df7a0820c7af5b8607
parentd5258d595bb6c77b10e6891399ad145a996b50c2
2008-05-02  Doug Kwan  <dougkwan@google.com>

* value-prof.c (gimple_divmod_fixed_value): Remove formal parameters
OPERATION, OP1 and OP2 and derive their values from parameter STMT
instead.  Update prototype and caller.
(gimple_mod_pow2): Remove formal parameters OPERATION, OP1 and OP2
and derive their values from parameter STMT instead.  Update prototype
and caller.
(gimple_mod_pow2_value_transform): Remove temporares OP, OP1 and OP2.
Use a new tempory LHS_TYPE to store assignment LHS type.
(gimple_mode_subtract): Remove formal parameters OPERATION, OP1 and OP2
and derive their values from parameter STMT instead.  Update prototype
and caller.  Fix a bug in a call to gimple_build_assign_with_ops.
(gimple_mod_subtract_transform): Remove temporares OP, OP1 and OP2.
Use a new tempory LHS_TYPE to store assignment LHS type.
(gimple_ic, gimple_indirect_call_to_profile): Fix bug in tree-code
tests.
* tree-profile.c (File): Re-enable all previously disabled code.
(tree_gen_edge_profiler): Tuplify.
(prepare_instrumented_value): Ditto.
(tree_gen_interval_profiler): Ditto.
(tree_gen_pow2_profiler): Ditto.
(tree_gen_one_value_profiler): Ditto.
(tree_gen_ic_profiler): Ditto.
(tree_gen_ic_func_profiler): Ditto.
(tree_gen_const_delta_profiler): Re-format formal parameters for
proper alignement.
(tree_gen_average_profiler): Tuplify.
(tree_gen_ior_profiler): Ditto.
(do_tree_profiling): Re-enable previously disabled code.  Remove
FIXME.
(tree_profiling): Ditto.
* gimple.c (gimple_set_bb):  Remove assertion.
* tree-cfg.c (change_bb_for_stmt): Remove.  Redirect callers to
gimple_set_bb.
(gimple_merge_blocks): Call gimple_set_bb instead of
change_bb_for_stmt.
(gimple_split_block): Ditto.
(verify_stmts): Add code to check that label_to_block_map and labels
are consistent.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gimple-tuples-branch@134887 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog.tuples
gcc/gimple.c
gcc/tree-cfg.c
gcc/tree-profile.c
gcc/value-prof.c