diff options
author | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-09 23:04:06 +0000 |
---|---|---|
committer | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-09 23:04:06 +0000 |
commit | 0d7349754ea74c3a7eac8d0b457f86e703bdb031 (patch) | |
tree | e5a7ffd19651ec8e341a482d405d293a6e720838 /gcc/tree-profile.c | |
parent | c8e41bd91cde9c8c33f6d49f4e1d2e1be70d7d8b (diff) | |
download | gcc-0d7349754ea74c3a7eac8d0b457f86e703bdb031.tar.gz |
* tree-scalar-evolution.c (scev_const_prop): Add arguments to
force_gimple_operand_bsi.
* tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr,
rewrite_use_compare): Ditto.
* tree-ssa-address.c (gimplify_mem_ref_parts, create_mem_ref):
Ditto.
* tree-ssa-ifcombine.c (ifcombine_ifandif): Ditto.
* tree-ssa-loop-prefetch.c (issue_prefetch_ref): Ditto.
* lambda-code.c (replace_uses_equiv_to_x_with_y): Ditto.
* tree-profile.c (prepare_instrumented_value,
tree_gen_interval_profiler, tree_gen_pow2_profiler,
tree_gen_one_value_profiler, tree_gen_ic_profiler,
tree_gen_ic_func_profiler, tree_gen_average_profiler,
tree_gen_ior_profiler): Ditto.
* tree-ssa-reassoc.c (negate_value): Ditto.
* matrix-reorg.c (transform_access_sites, transform_allocation_sites):
Use force_gimple_operand_bsi.
* tree-vect-transform.c (vect_update_ivs_after_vectorizer): Ditto.
* tree-if-conv.c (add_to_dst_predicate_list,
find_phi_replacement_condition): Ditto.
* gimplify.c (force_gimple_operand_bsi): Add before and m arguments.
Call mark_symbols_for_renaming for new statements.
* tree-flow.h (force_gimple_operand_bsi): Declaration changed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126500 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-profile.c')
-rw-r--r-- | gcc/tree-profile.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/gcc/tree-profile.c b/gcc/tree-profile.c index 2dace9c6a8f..ee2748bb3aa 100644 --- a/gcc/tree-profile.c +++ b/gcc/tree-profile.c @@ -192,7 +192,7 @@ prepare_instrumented_value (block_stmt_iterator *bsi, { tree val = value->hvalue.value; return force_gimple_operand_bsi (bsi, fold_convert (gcov_type_node, val), - true, NULL_TREE); + true, NULL_TREE, true, BSI_SAME_STMT); } /* Output instructions as GIMPLE trees to increment the interval histogram @@ -211,7 +211,7 @@ tree_gen_interval_profiler (histogram_value value, unsigned tag, unsigned base) ref_ptr = force_gimple_operand_bsi (&bsi, build_addr (ref, current_function_decl), - true, NULL_TREE); + true, NULL_TREE, true, BSI_SAME_STMT); val = prepare_instrumented_value (&bsi, value); call = build_call_expr (tree_interval_profiler_fn, 4, ref_ptr, val, start, steps); @@ -232,7 +232,7 @@ tree_gen_pow2_profiler (histogram_value value, unsigned tag, unsigned base) ref_ptr = force_gimple_operand_bsi (&bsi, build_addr (ref, current_function_decl), - true, NULL_TREE); + true, NULL_TREE, true, BSI_SAME_STMT); val = prepare_instrumented_value (&bsi, value); call = build_call_expr (tree_pow2_profiler_fn, 2, ref_ptr, val); bsi_insert_before (&bsi, call, BSI_SAME_STMT); @@ -252,7 +252,7 @@ tree_gen_one_value_profiler (histogram_value value, unsigned tag, unsigned base) ref_ptr = force_gimple_operand_bsi (&bsi, build_addr (ref, current_function_decl), - true, NULL_TREE); + true, NULL_TREE, true, BSI_SAME_STMT); val = prepare_instrumented_value (&bsi, value); call = build_call_expr (tree_one_value_profiler_fn, 2, ref_ptr, val); bsi_insert_before (&bsi, call, BSI_SAME_STMT); @@ -275,7 +275,7 @@ tree_gen_ic_profiler (histogram_value value, unsigned tag, unsigned base) ref_ptr = force_gimple_operand_bsi (&bsi, build_addr (ref, current_function_decl), - true, NULL_TREE); + true, NULL_TREE, true, BSI_SAME_STMT); /* Insert code: @@ -325,7 +325,8 @@ tree_gen_ic_func_profiler (void) cur_func = force_gimple_operand_bsi (&bsi, build_addr (current_function_decl, current_function_decl), - true, NULL_TREE); + true, NULL_TREE, + true, BSI_SAME_STMT); tree_uid = build_int_cst (gcov_type_node, c_node->pid); stmt1 = build_call_expr (tree_indirect_call_profiler_fn, 4, ic_gcov_type_ptr_var, @@ -367,7 +368,8 @@ tree_gen_average_profiler (histogram_value value, unsigned tag, unsigned base) ref_ptr = force_gimple_operand_bsi (&bsi, build_addr (ref, current_function_decl), - true, NULL_TREE); + true, NULL_TREE, + true, BSI_SAME_STMT); val = prepare_instrumented_value (&bsi, value); call = build_call_expr (tree_average_profiler_fn, 2, ref_ptr, val); bsi_insert_before (&bsi, call, BSI_SAME_STMT); @@ -387,7 +389,7 @@ tree_gen_ior_profiler (histogram_value value, unsigned tag, unsigned base) ref_ptr = force_gimple_operand_bsi (&bsi, build_addr (ref, current_function_decl), - true, NULL_TREE); + true, NULL_TREE, true, BSI_SAME_STMT); val = prepare_instrumented_value (&bsi, value); call = build_call_expr (tree_ior_profiler_fn, 2, ref_ptr, val); bsi_insert_before (&bsi, call, BSI_SAME_STMT); |