Add default value for last argument of dump functions.

2017-05-16  Martin Liska  <mliska@suse.cz>

	* parser.c (cp_lexer_print_token): Add default value for flags
	argument of print_gimple_stmt, print_gimple_expr,
	print_generic_stmt and print_generic_expr.
2017-05-16  Martin Liska  <mliska@suse.cz>

	* cgraph.c (cgraph_edge::resolve_speculation): Add default value for flags
	argument of print_gimple_stmt, print_gimple_expr,
	print_generic_stmt and print_generic_expr.
	* cgraphclones.c (symbol_table::materialize_all_clones): Likewise.
	* coretypes.h: Likewise.
	* except.c (dump_eh_tree): Likewise.
	* gimple-fold.c (gimple_fold_stmt_to_constant_1): Likewise.
	* gimple-pretty-print.h: Likewise.
	* gimple-ssa-backprop.c (dump_usage_prefix): Likewise.
	(backprop::push_to_worklist): Likewise.
	(backprop::pop_from_worklist): Likewise.
	(backprop::process_use): Likewise.
	(backprop::intersect_uses): Likewise.
	(note_replacement): Likewise.
	* gimple-ssa-store-merging.c (pass_store_merging::terminate_all_aliasing_chains): Likewise.
	(imm_store_chain_info::coalesce_immediate_stores): Likewise.
	(pass_store_merging::execute): Likewise.
	* gimple-ssa-strength-reduction.c (dump_candidate): Likewise.
	(ssa_base_cand_dump_callback): Likewise.
	(dump_incr_vec): Likewise.
	(replace_refs): Likewise.
	(replace_mult_candidate): Likewise.
	(create_add_on_incoming_edge): Likewise.
	(create_phi_basis): Likewise.
	(insert_initializers): Likewise.
	(all_phi_incrs_profitable): Likewise.
	(introduce_cast_before_cand): Likewise.
	(replace_one_candidate): Likewise.
	* gimplify.c (gimplify_expr): Likewise.
	* graphite-isl-ast-to-gimple.c (is_valid_rename): Likewise.
	(set_rename): Likewise.
	(rename_uses): Likewise.
	(copy_loop_phi_nodes): Likewise.
	(add_close_phis_to_merge_points): Likewise.
	(copy_loop_close_phi_args): Likewise.
	(copy_cond_phi_args): Likewise.
	(graphite_copy_stmts_from_block): Likewise.
	(translate_pending_phi_nodes): Likewise.
	* graphite-poly.c (print_pdr): Likewise.
	(dump_gbb_cases): Likewise.
	(dump_gbb_conditions): Likewise.
	(print_scop_params): Likewise.
	* graphite-scop-detection.c (build_cross_bb_scalars_def): Likewise.
	(build_cross_bb_scalars_use): Likewise.
	(gather_bbs::before_dom_children): Likewise.
	* hsa-dump.c (dump_hsa_immed): Likewise.
	* ipa-cp.c (print_ipcp_constant_value): Likewise.
	(get_replacement_map): Likewise.
	* ipa-inline-analysis.c (dump_condition): Likewise.
	(estimate_function_body_sizes): Likewise.
	* ipa-polymorphic-call.c (check_stmt_for_type_change): Likewise.
	(ipa_polymorphic_call_context::get_dynamic_type): Likewise.
	* ipa-prop.c (ipa_dump_param): Likewise.
	(ipa_print_node_jump_functions_for_edge): Likewise.
	(ipa_modify_call_arguments): Likewise.
	(ipa_modify_expr): Likewise.
	(ipa_dump_param_adjustments): Likewise.
	(ipa_dump_agg_replacement_values): Likewise.
	(ipcp_modif_dom_walker::before_dom_children): Likewise.
	* ipa-pure-const.c (check_stmt): Likewise.
	(pass_nothrow::execute): Likewise.
	* ipa-split.c (execute_split_functions): Likewise.
	* omp-offload.c (dump_oacc_loop_part): Likewise.
	(dump_oacc_loop): Likewise.
	* trans-mem.c (tm_log_emit): Likewise.
	(tm_memopt_accumulate_memops): Likewise.
	(dump_tm_memopt_set): Likewise.
	(dump_tm_memopt_transform): Likewise.
	* tree-cfg.c (gimple_verify_flow_info): Likewise.
	(print_loop): Likewise.
	* tree-chkp-opt.c (chkp_print_addr): Likewise.
	(chkp_gather_checks_info): Likewise.
	(chkp_get_check_result): Likewise.
	(chkp_remove_check_if_pass): Likewise.
	(chkp_use_outer_bounds_if_possible): Likewise.
	(chkp_reduce_bounds_lifetime): Likewise.
	* tree-chkp.c (chkp_register_addr_bounds): Likewise.
	(chkp_mark_completed_bounds): Likewise.
	(chkp_register_incomplete_bounds): Likewise.
	(chkp_mark_invalid_bounds): Likewise.
	(chkp_maybe_copy_and_register_bounds): Likewise.
	(chkp_build_returned_bound): Likewise.
	(chkp_get_bound_for_parm): Likewise.
	(chkp_build_bndldx): Likewise.
	(chkp_get_bounds_by_definition): Likewise.
	(chkp_generate_extern_var_bounds): Likewise.
	(chkp_get_bounds_for_decl_addr): Likewise.
	* tree-chrec.c (chrec_apply): Likewise.
	* tree-data-ref.c (dump_data_reference): Likewise.
	(dump_subscript): Likewise.
	(dump_data_dependence_relation): Likewise.
	(analyze_overlapping_iterations): Likewise.
	* tree-inline.c (expand_call_inline): Likewise.
	(tree_function_versioning): Likewise.
	* tree-into-ssa.c (dump_defs_stack): Likewise.
	(dump_currdefs): Likewise.
	(dump_names_replaced_by): Likewise.
	(dump_update_ssa): Likewise.
	(update_ssa): Likewise.
	* tree-object-size.c (pass_object_sizes::execute): Likewise.
	* tree-parloops.c (build_new_reduction): Likewise.
	(try_create_reduction_list): Likewise.
	(ref_conflicts_with_region): Likewise.
	(oacc_entry_exit_ok_1): Likewise.
	(oacc_entry_exit_single_gang): Likewise.
	* tree-pretty-print.h: Likewise.
	* tree-scalar-evolution.c (set_scalar_evolution): Likewise.
	(get_scalar_evolution): Likewise.
	(add_to_evolution): Likewise.
	(get_loop_exit_condition): Likewise.
	(analyze_evolution_in_loop): Likewise.
	(analyze_initial_condition): Likewise.
	(analyze_scalar_evolution): Likewise.
	(instantiate_scev): Likewise.
	(number_of_latch_executions): Likewise.
	(gather_chrec_stats): Likewise.
	(final_value_replacement_loop): Likewise.
	(scev_const_prop): Likewise.
	* tree-sra.c (dump_access): Likewise.
	(disqualify_candidate): Likewise.
	(create_access): Likewise.
	(reject): Likewise.
	(maybe_add_sra_candidate): Likewise.
	(create_access_replacement): Likewise.
	(analyze_access_subtree): Likewise.
	(analyze_all_variable_accesses): Likewise.
	(sra_modify_assign): Likewise.
	(initialize_constant_pool_replacements): Likewise.
	(find_param_candidates): Likewise.
	(decide_one_param_reduction): Likewise.
	(replace_removed_params_ssa_names): Likewise.
	* tree-ssa-ccp.c (ccp_fold_stmt): Likewise.
	* tree-ssa-copy.c (dump_copy_of): Likewise.
	(copy_prop_visit_cond_stmt): Likewise.
	* tree-ssa-dce.c (mark_operand_necessary): Likewise.
	* tree-ssa-dom.c (pass_dominator::execute): Likewise.
	(record_equivalences_from_stmt): Likewise.
	* tree-ssa-dse.c (compute_trims): Likewise.
	(delete_dead_call): Likewise.
	(delete_dead_assignment): Likewise.
	* tree-ssa-forwprop.c (forward_propagate_into_gimple_cond): Likewise.
	(forward_propagate_into_cond): Likewise.
	(pass_forwprop::execute): Likewise.
	* tree-ssa-ifcombine.c (ifcombine_ifandif): Likewise.
	* tree-ssa-loop-im.c (invariantness_dom_walker::before_dom_children): Likewise.
	(move_computations_worker): Likewise.
	(execute_sm): Likewise.
	* tree-ssa-loop-ivcanon.c (tree_estimate_loop_size): Likewise.
	(remove_exits_and_undefined_stmts): Likewise.
	(remove_redundant_iv_tests): Likewise.
	* tree-ssa-loop-ivopts.c (dump_use): Likewise.
	(adjust_iv_update_pos): Likewise.
	* tree-ssa-math-opts.c (bswap_replace): Likewise.
	* tree-ssa-phiopt.c (factor_out_conditional_conversion): Likewise.
	(value_replacement): Likewise.
	* tree-ssa-phiprop.c (phiprop_insert_phi): Likewise.
	* tree-ssa-pre.c (print_pre_expr): Likewise.
	(get_representative_for): Likewise.
	(create_expression_by_pieces): Likewise.
	(insert_into_preds_of_block): Likewise.
	(eliminate_insert): Likewise.
	(eliminate_dom_walker::before_dom_children): Likewise.
	(eliminate): Likewise.
	(remove_dead_inserted_code): Likewise.
	* tree-ssa-propagate.c (substitute_and_fold): Likewise.
	* tree-ssa-reassoc.c (get_rank): Likewise.
	(eliminate_duplicate_pair): Likewise.
	(eliminate_plus_minus_pair): Likewise.
	(eliminate_not_pairs): Likewise.
	(undistribute_ops_list): Likewise.
	(eliminate_redundant_comparison): Likewise.
	(update_range_test): Likewise.
	(optimize_range_tests_var_bound): Likewise.
	(optimize_vec_cond_expr): Likewise.
	(rewrite_expr_tree): Likewise.
	(rewrite_expr_tree_parallel): Likewise.
	(linearize_expr): Likewise.
	(break_up_subtract): Likewise.
	(linearize_expr_tree): Likewise.
	(attempt_builtin_powi): Likewise.
	(attempt_builtin_copysign): Likewise.
	(transform_stmt_to_copy): Likewise.
	(transform_stmt_to_multiply): Likewise.
	(dump_ops_vector): Likewise.
	* tree-ssa-sccvn.c (vn_nary_build_or_lookup_1): Likewise.
	(print_scc): Likewise.
	(set_ssa_val_to): Likewise.
	(visit_reference_op_store): Likewise.
	(visit_use): Likewise.
	(sccvn_dom_walker::before_dom_children): Likewise.
	(run_scc_vn): Likewise.
	* tree-ssa-scopedtables.c (avail_exprs_stack::lookup_avail_expr): Likewise.
	(expr_hash_elt::print): Likewise.
	(const_and_copies::pop_to_marker): Likewise.
	(const_and_copies::record_const_or_copy_raw): Likewise.
	* tree-ssa-structalias.c (compute_dependence_clique): Likewise.
	* tree-ssa-uninit.c (collect_phi_def_edges): Likewise.
	(dump_predicates): Likewise.
	(find_uninit_use): Likewise.
	(warn_uninitialized_phi): Likewise.
	(pass_late_warn_uninitialized::execute): Likewise.
	* tree-ssa.c (verify_vssa): Likewise.
	(verify_ssa): Likewise.
	(maybe_optimize_var): Likewise.
	* tree-vrp.c (dump_value_range): Likewise.
	(dump_all_value_ranges): Likewise.
	(dump_asserts_for): Likewise.
	(register_edge_assert_for_2): Likewise.
	(vrp_visit_cond_stmt): Likewise.
	(vrp_visit_switch_stmt): Likewise.
	(vrp_visit_stmt): Likewise.
	(vrp_visit_phi_node): Likewise.
	(simplify_cond_using_ranges_1): Likewise.
	(fold_predicate_in): Likewise.
	(evrp_dom_walker::before_dom_children): Likewise.
	(evrp_dom_walker::push_value_range): Likewise.
	(evrp_dom_walker::pop_value_range): Likewise.
	(execute_early_vrp): Likewise.

From-SVN: r248113
This commit is contained in:
Martin Liska 2017-05-16 16:51:02 +02:00 committed by Martin Liska
parent 3f267553fc
commit ef6cb4c716
58 changed files with 715 additions and 488 deletions

View file

@ -1,3 +1,224 @@
2017-05-16 Martin Liska <mliska@suse.cz>
* cgraph.c (cgraph_edge::resolve_speculation): Add default value for flags
argument of print_gimple_stmt, print_gimple_expr,
print_generic_stmt and print_generic_expr.
* cgraphclones.c (symbol_table::materialize_all_clones): Likewise.
* coretypes.h: Likewise.
* except.c (dump_eh_tree): Likewise.
* gimple-fold.c (gimple_fold_stmt_to_constant_1): Likewise.
* gimple-pretty-print.h: Likewise.
* gimple-ssa-backprop.c (dump_usage_prefix): Likewise.
(backprop::push_to_worklist): Likewise.
(backprop::pop_from_worklist): Likewise.
(backprop::process_use): Likewise.
(backprop::intersect_uses): Likewise.
(note_replacement): Likewise.
* gimple-ssa-store-merging.c (pass_store_merging::terminate_all_aliasing_chains): Likewise.
(imm_store_chain_info::coalesce_immediate_stores): Likewise.
(pass_store_merging::execute): Likewise.
* gimple-ssa-strength-reduction.c (dump_candidate): Likewise.
(ssa_base_cand_dump_callback): Likewise.
(dump_incr_vec): Likewise.
(replace_refs): Likewise.
(replace_mult_candidate): Likewise.
(create_add_on_incoming_edge): Likewise.
(create_phi_basis): Likewise.
(insert_initializers): Likewise.
(all_phi_incrs_profitable): Likewise.
(introduce_cast_before_cand): Likewise.
(replace_one_candidate): Likewise.
* gimplify.c (gimplify_expr): Likewise.
* graphite-isl-ast-to-gimple.c (is_valid_rename): Likewise.
(set_rename): Likewise.
(rename_uses): Likewise.
(copy_loop_phi_nodes): Likewise.
(add_close_phis_to_merge_points): Likewise.
(copy_loop_close_phi_args): Likewise.
(copy_cond_phi_args): Likewise.
(graphite_copy_stmts_from_block): Likewise.
(translate_pending_phi_nodes): Likewise.
* graphite-poly.c (print_pdr): Likewise.
(dump_gbb_cases): Likewise.
(dump_gbb_conditions): Likewise.
(print_scop_params): Likewise.
* graphite-scop-detection.c (build_cross_bb_scalars_def): Likewise.
(build_cross_bb_scalars_use): Likewise.
(gather_bbs::before_dom_children): Likewise.
* hsa-dump.c (dump_hsa_immed): Likewise.
* ipa-cp.c (print_ipcp_constant_value): Likewise.
(get_replacement_map): Likewise.
* ipa-inline-analysis.c (dump_condition): Likewise.
(estimate_function_body_sizes): Likewise.
* ipa-polymorphic-call.c (check_stmt_for_type_change): Likewise.
(ipa_polymorphic_call_context::get_dynamic_type): Likewise.
* ipa-prop.c (ipa_dump_param): Likewise.
(ipa_print_node_jump_functions_for_edge): Likewise.
(ipa_modify_call_arguments): Likewise.
(ipa_modify_expr): Likewise.
(ipa_dump_param_adjustments): Likewise.
(ipa_dump_agg_replacement_values): Likewise.
(ipcp_modif_dom_walker::before_dom_children): Likewise.
* ipa-pure-const.c (check_stmt): Likewise.
(pass_nothrow::execute): Likewise.
* ipa-split.c (execute_split_functions): Likewise.
* omp-offload.c (dump_oacc_loop_part): Likewise.
(dump_oacc_loop): Likewise.
* trans-mem.c (tm_log_emit): Likewise.
(tm_memopt_accumulate_memops): Likewise.
(dump_tm_memopt_set): Likewise.
(dump_tm_memopt_transform): Likewise.
* tree-cfg.c (gimple_verify_flow_info): Likewise.
(print_loop): Likewise.
* tree-chkp-opt.c (chkp_print_addr): Likewise.
(chkp_gather_checks_info): Likewise.
(chkp_get_check_result): Likewise.
(chkp_remove_check_if_pass): Likewise.
(chkp_use_outer_bounds_if_possible): Likewise.
(chkp_reduce_bounds_lifetime): Likewise.
* tree-chkp.c (chkp_register_addr_bounds): Likewise.
(chkp_mark_completed_bounds): Likewise.
(chkp_register_incomplete_bounds): Likewise.
(chkp_mark_invalid_bounds): Likewise.
(chkp_maybe_copy_and_register_bounds): Likewise.
(chkp_build_returned_bound): Likewise.
(chkp_get_bound_for_parm): Likewise.
(chkp_build_bndldx): Likewise.
(chkp_get_bounds_by_definition): Likewise.
(chkp_generate_extern_var_bounds): Likewise.
(chkp_get_bounds_for_decl_addr): Likewise.
* tree-chrec.c (chrec_apply): Likewise.
* tree-data-ref.c (dump_data_reference): Likewise.
(dump_subscript): Likewise.
(dump_data_dependence_relation): Likewise.
(analyze_overlapping_iterations): Likewise.
* tree-inline.c (expand_call_inline): Likewise.
(tree_function_versioning): Likewise.
* tree-into-ssa.c (dump_defs_stack): Likewise.
(dump_currdefs): Likewise.
(dump_names_replaced_by): Likewise.
(dump_update_ssa): Likewise.
(update_ssa): Likewise.
* tree-object-size.c (pass_object_sizes::execute): Likewise.
* tree-parloops.c (build_new_reduction): Likewise.
(try_create_reduction_list): Likewise.
(ref_conflicts_with_region): Likewise.
(oacc_entry_exit_ok_1): Likewise.
(oacc_entry_exit_single_gang): Likewise.
* tree-pretty-print.h: Likewise.
* tree-scalar-evolution.c (set_scalar_evolution): Likewise.
(get_scalar_evolution): Likewise.
(add_to_evolution): Likewise.
(get_loop_exit_condition): Likewise.
(analyze_evolution_in_loop): Likewise.
(analyze_initial_condition): Likewise.
(analyze_scalar_evolution): Likewise.
(instantiate_scev): Likewise.
(number_of_latch_executions): Likewise.
(gather_chrec_stats): Likewise.
(final_value_replacement_loop): Likewise.
(scev_const_prop): Likewise.
* tree-sra.c (dump_access): Likewise.
(disqualify_candidate): Likewise.
(create_access): Likewise.
(reject): Likewise.
(maybe_add_sra_candidate): Likewise.
(create_access_replacement): Likewise.
(analyze_access_subtree): Likewise.
(analyze_all_variable_accesses): Likewise.
(sra_modify_assign): Likewise.
(initialize_constant_pool_replacements): Likewise.
(find_param_candidates): Likewise.
(decide_one_param_reduction): Likewise.
(replace_removed_params_ssa_names): Likewise.
* tree-ssa-ccp.c (ccp_fold_stmt): Likewise.
* tree-ssa-copy.c (dump_copy_of): Likewise.
(copy_prop_visit_cond_stmt): Likewise.
* tree-ssa-dce.c (mark_operand_necessary): Likewise.
* tree-ssa-dom.c (pass_dominator::execute): Likewise.
(record_equivalences_from_stmt): Likewise.
* tree-ssa-dse.c (compute_trims): Likewise.
(delete_dead_call): Likewise.
(delete_dead_assignment): Likewise.
* tree-ssa-forwprop.c (forward_propagate_into_gimple_cond): Likewise.
(forward_propagate_into_cond): Likewise.
(pass_forwprop::execute): Likewise.
* tree-ssa-ifcombine.c (ifcombine_ifandif): Likewise.
* tree-ssa-loop-im.c (invariantness_dom_walker::before_dom_children): Likewise.
(move_computations_worker): Likewise.
(execute_sm): Likewise.
* tree-ssa-loop-ivcanon.c (tree_estimate_loop_size): Likewise.
(remove_exits_and_undefined_stmts): Likewise.
(remove_redundant_iv_tests): Likewise.
* tree-ssa-loop-ivopts.c (dump_use): Likewise.
(adjust_iv_update_pos): Likewise.
* tree-ssa-math-opts.c (bswap_replace): Likewise.
* tree-ssa-phiopt.c (factor_out_conditional_conversion): Likewise.
(value_replacement): Likewise.
* tree-ssa-phiprop.c (phiprop_insert_phi): Likewise.
* tree-ssa-pre.c (print_pre_expr): Likewise.
(get_representative_for): Likewise.
(create_expression_by_pieces): Likewise.
(insert_into_preds_of_block): Likewise.
(eliminate_insert): Likewise.
(eliminate_dom_walker::before_dom_children): Likewise.
(eliminate): Likewise.
(remove_dead_inserted_code): Likewise.
* tree-ssa-propagate.c (substitute_and_fold): Likewise.
* tree-ssa-reassoc.c (get_rank): Likewise.
(eliminate_duplicate_pair): Likewise.
(eliminate_plus_minus_pair): Likewise.
(eliminate_not_pairs): Likewise.
(undistribute_ops_list): Likewise.
(eliminate_redundant_comparison): Likewise.
(update_range_test): Likewise.
(optimize_range_tests_var_bound): Likewise.
(optimize_vec_cond_expr): Likewise.
(rewrite_expr_tree): Likewise.
(rewrite_expr_tree_parallel): Likewise.
(linearize_expr): Likewise.
(break_up_subtract): Likewise.
(linearize_expr_tree): Likewise.
(attempt_builtin_powi): Likewise.
(attempt_builtin_copysign): Likewise.
(transform_stmt_to_copy): Likewise.
(transform_stmt_to_multiply): Likewise.
(dump_ops_vector): Likewise.
* tree-ssa-sccvn.c (vn_nary_build_or_lookup_1): Likewise.
(print_scc): Likewise.
(set_ssa_val_to): Likewise.
(visit_reference_op_store): Likewise.
(visit_use): Likewise.
(sccvn_dom_walker::before_dom_children): Likewise.
(run_scc_vn): Likewise.
* tree-ssa-scopedtables.c (avail_exprs_stack::lookup_avail_expr): Likewise.
(expr_hash_elt::print): Likewise.
(const_and_copies::pop_to_marker): Likewise.
(const_and_copies::record_const_or_copy_raw): Likewise.
* tree-ssa-structalias.c (compute_dependence_clique): Likewise.
* tree-ssa-uninit.c (collect_phi_def_edges): Likewise.
(dump_predicates): Likewise.
(find_uninit_use): Likewise.
(warn_uninitialized_phi): Likewise.
(pass_late_warn_uninitialized::execute): Likewise.
* tree-ssa.c (verify_vssa): Likewise.
(verify_ssa): Likewise.
(maybe_optimize_var): Likewise.
* tree-vrp.c (dump_value_range): Likewise.
(dump_all_value_ranges): Likewise.
(dump_asserts_for): Likewise.
(register_edge_assert_for_2): Likewise.
(vrp_visit_cond_stmt): Likewise.
(vrp_visit_switch_stmt): Likewise.
(vrp_visit_stmt): Likewise.
(vrp_visit_phi_node): Likewise.
(simplify_cond_using_ranges_1): Likewise.
(fold_predicate_in): Likewise.
(evrp_dom_walker::before_dom_children): Likewise.
(evrp_dom_walker::push_value_range): Likewise.
(evrp_dom_walker::pop_value_range): Likewise.
(execute_early_vrp): Likewise.
2017-05-16 Richard Biener <rguenther@suse.de>
* dwarf2out.c (loc_list_from_tree_1): Do not create

View file

@ -1169,7 +1169,7 @@ cgraph_edge::resolve_speculation (tree callee_decl)
edge->caller->order,
xstrdup_for_dump (e2->callee->name ()),
e2->callee->order);
print_generic_expr (dump_file, callee_decl, 0);
print_generic_expr (dump_file, callee_decl);
fprintf (dump_file, "\n");
}
else

View file

@ -1118,9 +1118,11 @@ symbol_table::materialize_all_clones (void)
{
ipa_replace_map *replace_info;
replace_info = (*node->clone.tree_map)[i];
print_generic_expr (symtab->dump_file, replace_info->old_tree, 0);
print_generic_expr (symtab->dump_file,
replace_info->old_tree);
fprintf (symtab->dump_file, " -> ");
print_generic_expr (symtab->dump_file, replace_info->new_tree, 0);
print_generic_expr (symtab->dump_file,
replace_info->new_tree);
fprintf (symtab->dump_file, "%s%s;",
replace_info->replace_p ? "(replace)":"",
replace_info->ref_p ? "(ref)":"");

View file

@ -1,3 +1,9 @@
2017-05-16 Martin Liska <mliska@suse.cz>
* parser.c (cp_lexer_print_token): Add default value for flags
argument of print_gimple_stmt, print_gimple_expr,
print_generic_stmt and print_generic_expr.
2017-05-16 Nathan Sidwell <nathan@acm.org>
* cp-tree.h (class ovl_iterator, class lkp_iterator): New OVERLOAD

View file

@ -1280,7 +1280,7 @@ cp_lexer_print_token (FILE * stream, cp_token *token)
break;
case CPP_NUMBER:
print_generic_expr (stream, token->u.value, 0);
print_generic_expr (stream, token->u.value);
break;
default:

View file

@ -3196,7 +3196,7 @@ dump_eh_tree (FILE * out, struct function *fun)
for (lp = i->landing_pads; lp ; lp = lp->next_lp)
{
fprintf (out, "{%i,", lp->index);
print_generic_expr (out, lp->post_landing_pad, 0);
print_generic_expr (out, lp->post_landing_pad);
fputc ('}', out);
if (lp->next_lp)
fputc (',', out);
@ -3242,10 +3242,10 @@ dump_eh_tree (FILE * out, struct function *fun)
if (c->label)
{
fprintf (out, "lab:");
print_generic_expr (out, c->label, 0);
print_generic_expr (out, c->label);
fputc (';', out);
}
print_generic_expr (out, c->type_list, 0);
print_generic_expr (out, c->type_list);
fputc ('}', out);
if (c->next_catch)
fputc (',', out);
@ -3255,7 +3255,7 @@ dump_eh_tree (FILE * out, struct function *fun)
case ERT_ALLOWED_EXCEPTIONS:
fprintf (out, " filter :%i types:", i->u.allowed.filter);
print_generic_expr (out, i->u.allowed.type_list, 0);
print_generic_expr (out, i->u.allowed.type_list);
break;
}
fputc ('\n', out);

View file

@ -5741,7 +5741,7 @@ gimple_fold_stmt_to_constant_1 (gimple *stmt, tree (*valueize) (tree),
fprintf (dump_file, "Match-and-simplified ");
print_gimple_expr (dump_file, stmt, 0, TDF_SLIM);
fprintf (dump_file, " to ");
print_generic_expr (dump_file, res, 0);
print_generic_expr (dump_file, res);
fprintf (dump_file, "\n");
}
return res;

View file

@ -27,10 +27,10 @@ along with GCC; see the file COPYING3. If not see
extern void debug_gimple_stmt (gimple *);
extern void debug_gimple_seq (gimple_seq);
extern void print_gimple_seq (FILE *, gimple_seq, int, int);
extern void print_gimple_stmt (FILE *, gimple *, int, int);
extern void print_gimple_stmt (FILE *, gimple *, int, int = 0);
extern void debug (gimple &ref);
extern void debug (gimple *ptr);
extern void print_gimple_expr (FILE *, gimple *, int, int);
extern void print_gimple_expr (FILE *, gimple *, int, int = 0);
extern void pp_gimple_stmt_1 (pretty_printer *, gimple *, int, int);
extern void gimple_dump_bb (FILE *, basic_block, int, int);
extern void gimple_dump_bb_for_graph (pretty_printer *, basic_block);

View file

@ -188,7 +188,7 @@ static void
dump_usage_prefix (FILE *file, tree var)
{
fprintf (file, " ");
print_generic_expr (file, var, 0);
print_generic_expr (file, var);
fprintf (file, ": ");
}
@ -309,7 +309,7 @@ backprop::push_to_worklist (tree var)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "[WORKLIST] Pushing ");
print_generic_expr (dump_file, var, 0);
print_generic_expr (dump_file, var);
fprintf (dump_file, "\n");
}
}
@ -325,7 +325,7 @@ backprop::pop_from_worklist ()
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "[WORKLIST] Popping ");
print_generic_expr (dump_file, var, 0);
print_generic_expr (dump_file, var);
fprintf (dump_file, "\n");
}
return var;
@ -469,7 +469,7 @@ backprop::process_use (gimple *stmt, tree rhs, usage_info *info)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "[USE] ");
print_generic_expr (dump_file, rhs, 0);
print_generic_expr (dump_file, rhs);
fprintf (dump_file, " in ");
print_gimple_stmt (dump_file, stmt, 0, TDF_SLIM);
}
@ -507,7 +507,7 @@ backprop::intersect_uses (tree var, usage_info *info)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "[BACKEDGE] ");
print_generic_expr (dump_file, var, 0);
print_generic_expr (dump_file, var);
fprintf (dump_file, " in ");
print_gimple_stmt (dump_file, stmt, 0, TDF_SLIM);
}
@ -658,9 +658,9 @@ static void
note_replacement (gimple *stmt, tree old_rhs, tree new_rhs)
{
fprintf (dump_file, "Replacing use of ");
print_generic_expr (dump_file, old_rhs, 0);
print_generic_expr (dump_file, old_rhs);
fprintf (dump_file, " with ");
print_generic_expr (dump_file, new_rhs, 0);
print_generic_expr (dump_file, new_rhs);
fprintf (dump_file, " in ");
print_gimple_stmt (dump_file, stmt, 0, TDF_SLIM);
}

View file

@ -823,7 +823,7 @@ pass_store_merging::terminate_all_aliasing_chains (imm_store_chain_info
{
fprintf (dump_file,
"stmt causes chain termination:\n");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
terminate_and_release_chain (*chain_info);
ret = true;
@ -906,7 +906,7 @@ imm_store_chain_info::coalesce_immediate_stores ()
fprintf (dump_file, "Store %u:\nbitsize:" HOST_WIDE_INT_PRINT_DEC
" bitpos:" HOST_WIDE_INT_PRINT_DEC " val:\n",
i, info->bitsize, info->bitpos);
print_generic_expr (dump_file, gimple_assign_rhs1 (info->stmt), 0);
print_generic_expr (dump_file, gimple_assign_rhs1 (info->stmt));
fprintf (dump_file, "\n------------\n");
}
@ -1467,7 +1467,7 @@ pass_store_merging::execute (function *fun)
{
fprintf (dump_file,
"Recording immediate store from stmt:\n");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
(*chain_info)->m_store_info.safe_push (info);
/* If we reach the limit of stores to merge in a chain
@ -1498,9 +1498,9 @@ pass_store_merging::execute (function *fun)
{
fprintf (dump_file,
"Starting new chain with statement:\n");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
fprintf (dump_file, "The base object is:\n");
print_generic_expr (dump_file, base_addr, 0);
print_generic_expr (dump_file, base_addr);
fprintf (dump_file, "\n");
}
}

View file

@ -1772,12 +1772,12 @@ dump_candidate (slsr_cand_t c)
{
fprintf (dump_file, "%3d [%d] ", c->cand_num,
gimple_bb (c->cand_stmt)->index);
print_gimple_stmt (dump_file, c->cand_stmt, 0, 0);
print_gimple_stmt (dump_file, c->cand_stmt, 0);
switch (c->kind)
{
case CAND_MULT:
fputs (" MULT : (", dump_file);
print_generic_expr (dump_file, c->base_expr, 0);
print_generic_expr (dump_file, c->base_expr);
fputs (" + ", dump_file);
print_decs (c->index, dump_file);
fputs (") * ", dump_file);
@ -1785,15 +1785,15 @@ dump_candidate (slsr_cand_t c)
&& c->stride_type != TREE_TYPE (c->stride))
{
fputs ("(", dump_file);
print_generic_expr (dump_file, c->stride_type, 0);
print_generic_expr (dump_file, c->stride_type);
fputs (")", dump_file);
}
print_generic_expr (dump_file, c->stride, 0);
print_generic_expr (dump_file, c->stride);
fputs (" : ", dump_file);
break;
case CAND_ADD:
fputs (" ADD : ", dump_file);
print_generic_expr (dump_file, c->base_expr, 0);
print_generic_expr (dump_file, c->base_expr);
fputs (" + (", dump_file);
print_decs (c->index, dump_file);
fputs (" * ", dump_file);
@ -1801,32 +1801,32 @@ dump_candidate (slsr_cand_t c)
&& c->stride_type != TREE_TYPE (c->stride))
{
fputs ("(", dump_file);
print_generic_expr (dump_file, c->stride_type, 0);
print_generic_expr (dump_file, c->stride_type);
fputs (")", dump_file);
}
print_generic_expr (dump_file, c->stride, 0);
print_generic_expr (dump_file, c->stride);
fputs (") : ", dump_file);
break;
case CAND_REF:
fputs (" REF : ", dump_file);
print_generic_expr (dump_file, c->base_expr, 0);
print_generic_expr (dump_file, c->base_expr);
fputs (" + (", dump_file);
print_generic_expr (dump_file, c->stride, 0);
print_generic_expr (dump_file, c->stride);
fputs (") + ", dump_file);
print_decs (c->index, dump_file);
fputs (" : ", dump_file);
break;
case CAND_PHI:
fputs (" PHI : ", dump_file);
print_generic_expr (dump_file, c->base_expr, 0);
print_generic_expr (dump_file, c->base_expr);
fputs (" + (unknown * ", dump_file);
print_generic_expr (dump_file, c->stride, 0);
print_generic_expr (dump_file, c->stride);
fputs (") : ", dump_file);
break;
default:
gcc_unreachable ();
}
print_generic_expr (dump_file, c->cand_type, 0);
print_generic_expr (dump_file, c->cand_type);
fprintf (dump_file, "\n basis: %d dependent: %d sibling: %d\n",
c->basis, c->dependent, c->sibling);
fprintf (dump_file, " next-interp: %d dead-savings: %d\n",
@ -1858,7 +1858,7 @@ ssa_base_cand_dump_callback (cand_chain **slot, void *ignored ATTRIBUTE_UNUSED)
const_cand_chain_t chain = *slot;
cand_chain_t p;
print_generic_expr (dump_file, chain->base_expr, 0);
print_generic_expr (dump_file, chain->base_expr);
fprintf (dump_file, " -> %d", chain->cand->cand_num);
for (p = chain->next; p; p = p->next)
@ -1897,7 +1897,7 @@ dump_incr_vec (void)
fprintf (dump_file, "\n count: %d", incr_vec[i].count);
fprintf (dump_file, "\n cost: %d", incr_vec[i].cost);
fputs ("\n initializer: ", dump_file);
print_generic_expr (dump_file, incr_vec[i].initializer, 0);
print_generic_expr (dump_file, incr_vec[i].initializer);
fputs ("\n\n", dump_file);
}
}
@ -1947,7 +1947,7 @@ replace_refs (slsr_cand_t c)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fputs ("Replacing reference: ", dump_file);
print_gimple_stmt (dump_file, c->cand_stmt, 0, 0);
print_gimple_stmt (dump_file, c->cand_stmt, 0);
}
if (gimple_vdef (c->cand_stmt))
@ -1964,7 +1964,7 @@ replace_refs (slsr_cand_t c)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fputs ("With: ", dump_file);
print_gimple_stmt (dump_file, c->cand_stmt, 0, 0);
print_gimple_stmt (dump_file, c->cand_stmt, 0);
fputs ("\n", dump_file);
}
@ -2078,7 +2078,7 @@ replace_mult_candidate (slsr_cand_t c, tree basis_name, widest_int bump)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fputs ("Replacing: ", dump_file);
print_gimple_stmt (dump_file, c->cand_stmt, 0, 0);
print_gimple_stmt (dump_file, c->cand_stmt, 0);
}
if (bump == 0)
@ -2138,7 +2138,7 @@ replace_mult_candidate (slsr_cand_t c, tree basis_name, widest_int bump)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fputs ("With: ", dump_file);
print_gimple_stmt (dump_file, stmt_to_print, 0, 0);
print_gimple_stmt (dump_file, stmt_to_print, 0);
fputs ("\n", dump_file);
}
}
@ -2292,10 +2292,10 @@ create_add_on_incoming_edge (slsr_cand_t c, tree basis_name,
{
fprintf (dump_file, "Inserting cast in block %d: ",
insert_bb->index);
print_gimple_stmt (dump_file, cast_stmt, 0, 0);
print_gimple_stmt (dump_file, cast_stmt, 0);
}
fprintf (dump_file, "Inserting in block %d: ", insert_bb->index);
print_gimple_stmt (dump_file, new_stmt, 0, 0);
print_gimple_stmt (dump_file, new_stmt, 0);
}
return lhs;
@ -2384,7 +2384,7 @@ create_phi_basis (slsr_cand_t c, gimple *from_phi, tree basis_name,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fputs ("Introducing new phi basis: ", dump_file);
print_gimple_stmt (dump_file, phi, 0, 0);
print_gimple_stmt (dump_file, phi, 0);
}
return name;
@ -3282,10 +3282,10 @@ insert_initializers (slsr_cand_t c)
if (cast_stmt)
{
fputs ("Inserting stride cast: ", dump_file);
print_gimple_stmt (dump_file, cast_stmt, 0, 0);
print_gimple_stmt (dump_file, cast_stmt, 0);
}
fputs ("Inserting initializer: ", dump_file);
print_gimple_stmt (dump_file, init_stmt, 0, 0);
print_gimple_stmt (dump_file, init_stmt, 0);
}
}
}
@ -3345,7 +3345,7 @@ all_phi_incrs_profitable (slsr_cand_t c, gphi *phi)
{
fprintf (dump_file, " Conditional candidate %d, phi: ",
c->cand_num);
print_gimple_stmt (dump_file, phi, 0, 0);
print_gimple_stmt (dump_file, phi, 0);
fputs (" increment: ", dump_file);
print_decs (increment, dump_file);
if (j < 0)
@ -3389,7 +3389,7 @@ introduce_cast_before_cand (slsr_cand_t c, tree to_type, tree from_expr)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fputs (" Inserting: ", dump_file);
print_gimple_stmt (dump_file, cast_stmt, 0, 0);
print_gimple_stmt (dump_file, cast_stmt, 0);
}
return cast_lhs;
@ -3457,7 +3457,7 @@ replace_one_candidate (slsr_cand_t c, unsigned i, tree basis_name)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fputs ("Replacing: ", dump_file);
print_gimple_stmt (dump_file, c->cand_stmt, 0, 0);
print_gimple_stmt (dump_file, c->cand_stmt, 0);
stmt_to_print = c->cand_stmt;
}
@ -3590,7 +3590,7 @@ replace_one_candidate (slsr_cand_t c, unsigned i, tree basis_name)
if (dump_file && (dump_flags & TDF_DETAILS) && stmt_to_print)
{
fputs ("With: ", dump_file);
print_gimple_stmt (dump_file, stmt_to_print, 0, 0);
print_gimple_stmt (dump_file, stmt_to_print, 0);
fputs ("\n", dump_file);
}
}

View file

@ -12217,7 +12217,7 @@ gimplify_expr (tree *expr_p, gimple_seq *pre_p, gimple_seq *post_p,
if (!(fallback & fb_mayfail))
{
fprintf (stderr, "gimplification failed:\n");
print_generic_expr (stderr, *expr_p, 0);
print_generic_expr (stderr, *expr_p);
debug_tree (*expr_p);
internal_error ("gimplification failed");
}

View file

@ -1133,7 +1133,7 @@ is_valid_rename (tree rename, basic_block def_bb, basic_block use_bb,
if (dump_file)
{
fprintf (dump_file, "[codegen] rename not in loop closed ssa: ");
print_generic_expr (dump_file, rename, 0);
print_generic_expr (dump_file, rename);
fprintf (dump_file, "\n");
}
return false;
@ -1233,9 +1233,9 @@ set_rename (tree old_name, tree expr)
if (dump_file)
{
fprintf (dump_file, "[codegen] setting rename: old_name = ");
print_generic_expr (dump_file, old_name, 0);
print_generic_expr (dump_file, old_name);
fprintf (dump_file, ", new_name = ");
print_generic_expr (dump_file, expr, 0);
print_generic_expr (dump_file, expr);
fprintf (dump_file, "\n");
}
@ -1656,7 +1656,7 @@ rename_uses (gimple *copy, gimple_stmt_iterator *gsi_tgt, basic_block old_bb,
if (dump_file)
{
fprintf (dump_file, "[codegen] renaming uses of stmt: ");
print_gimple_stmt (dump_file, copy, 0, 0);
print_gimple_stmt (dump_file, copy, 0);
}
use_operand_p use_p;
@ -1668,7 +1668,7 @@ rename_uses (gimple *copy, gimple_stmt_iterator *gsi_tgt, basic_block old_bb,
if (dump_file)
{
fprintf (dump_file, "[codegen] renaming old_name = ");
print_generic_expr (dump_file, old_name, 0);
print_generic_expr (dump_file, old_name);
fprintf (dump_file, "\n");
}
@ -1688,7 +1688,7 @@ rename_uses (gimple *copy, gimple_stmt_iterator *gsi_tgt, basic_block old_bb,
if (dump_file)
{
fprintf (dump_file, "[codegen] from rename_map: new_name = ");
print_generic_expr (dump_file, new_expr, 0);
print_generic_expr (dump_file, new_expr);
fprintf (dump_file, "\n");
}
@ -1718,7 +1718,7 @@ rename_uses (gimple *copy, gimple_stmt_iterator *gsi_tgt, basic_block old_bb,
if (dump_file)
{
fprintf (dump_file, "[codegen] not in rename map, scev: ");
print_generic_expr (dump_file, new_expr, 0);
print_generic_expr (dump_file, new_expr);
fprintf (dump_file, "\n");
}
@ -1906,7 +1906,7 @@ copy_loop_phi_nodes (basic_block bb, basic_block new_bb)
if (dump_file)
{
fprintf (dump_file, "[codegen] creating loop-phi node: ");
print_gimple_stmt (dump_file, new_phi, 0, 0);
print_gimple_stmt (dump_file, new_phi, 0);
}
}
@ -2066,7 +2066,7 @@ add_close_phis_to_merge_points (gphi *old_close_phi, gphi *new_close_phi,
if (dump_file)
{
fprintf (dump_file, "[codegen] Adding guard-phi: ");
print_gimple_stmt (dump_file, merge_phi, 0, 0);
print_gimple_stmt (dump_file, merge_phi, 0);
}
update_stmt (merge_phi);
@ -2112,7 +2112,7 @@ copy_loop_close_phi_args (basic_block old_bb, basic_block new_bb, bool postpone)
if (dump_file)
{
fprintf (dump_file, "[codegen] Adding loop close phi: ");
print_gimple_stmt (dump_file, new_close_phi, 0, 0);
print_gimple_stmt (dump_file, new_close_phi, 0);
}
update_stmt (new_close_phi);
@ -2136,7 +2136,7 @@ copy_loop_close_phi_args (basic_block old_bb, basic_block new_bb, bool postpone)
if (dump_file)
{
fprintf (dump_file, "[codegen] postpone close phi nodes: ");
print_gimple_stmt (dump_file, new_close_phi, 0, 0);
print_gimple_stmt (dump_file, new_close_phi, 0);
}
continue;
}
@ -2385,7 +2385,7 @@ copy_cond_phi_args (gphi *phi, gphi *new_phi, vec<tree> iv_map, bool postpone)
{
fprintf (dump_file,
"[codegen] parameter argument to phi, new_expr: ");
print_generic_expr (dump_file, new_phi_args[i], 0);
print_generic_expr (dump_file, new_phi_args[i]);
fprintf (dump_file, "\n");
}
continue;
@ -2414,7 +2414,7 @@ copy_cond_phi_args (gphi *phi, gphi *new_phi, vec<tree> iv_map, bool postpone)
{
fprintf (dump_file,
"[codegen] scev analyzeable, new_expr: ");
print_generic_expr (dump_file, new_expr, 0);
print_generic_expr (dump_file, new_expr);
fprintf (dump_file, "\n");
}
gsi_insert_earliest (stmts);
@ -2428,7 +2428,7 @@ copy_cond_phi_args (gphi *phi, gphi *new_phi, vec<tree> iv_map, bool postpone)
if (dump_file)
{
fprintf (dump_file, "[codegen] postpone cond phi nodes: ");
print_gimple_stmt (dump_file, new_phi, 0, 0);
print_gimple_stmt (dump_file, new_phi, 0);
}
new_phi_args [i] = NULL_TREE;
@ -2563,7 +2563,7 @@ graphite_copy_stmts_from_block (basic_block bb, basic_block new_bb,
if (dump_file)
{
fprintf (dump_file, "[codegen] inserting statement: ");
print_gimple_stmt (dump_file, copy, 0, 0);
print_gimple_stmt (dump_file, copy, 0);
}
maybe_duplicate_eh_stmt (copy, stmt);
@ -2816,7 +2816,7 @@ translate_pending_phi_nodes ()
if (dump_file)
{
fprintf (dump_file, "[codegen] translating pending old-phi: ");
print_gimple_stmt (dump_file, old_phi, 0, 0);
print_gimple_stmt (dump_file, old_phi, 0);
}
auto_vec <tree, 1> iv_map;
@ -2831,7 +2831,7 @@ translate_pending_phi_nodes ()
if (dump_file)
{
fprintf (dump_file, "[codegen] to new-phi: ");
print_gimple_stmt (dump_file, new_phi, 0, 0);
print_gimple_stmt (dump_file, new_phi, 0);
}
if (codegen_error_p ())
return;

View file

@ -192,7 +192,7 @@ print_pdr (FILE *file, poly_dr_p pdr)
}
fprintf (file, "in gimple stmt: ");
print_gimple_stmt (file, pdr->stmt, 0, 0);
print_gimple_stmt (file, pdr->stmt, 0);
fprintf (file, "data accesses: ");
print_isl_map (file, pdr->accesses);
fprintf (file, "subscript sizes: ");
@ -323,7 +323,7 @@ dump_gbb_cases (FILE *file, gimple_poly_bb_p gbb)
fprintf (file, "cases bb_%d (\n", GBB_BB (gbb)->index);
FOR_EACH_VEC_ELT (cases, i, stmt)
print_gimple_stmt (file, stmt, 0, 0);
print_gimple_stmt (file, stmt, 0);
fprintf (file, ")\n");
}
@ -347,7 +347,7 @@ dump_gbb_conditions (FILE *file, gimple_poly_bb_p gbb)
fprintf (file, "conditions bb_%d (\n", GBB_BB (gbb)->index);
FOR_EACH_VEC_ELT (conditions, i, stmt)
print_gimple_stmt (file, stmt, 0, 0);
print_gimple_stmt (file, stmt, 0);
fprintf (file, ")\n");
}
@ -435,7 +435,7 @@ print_scop_params (FILE *file, scop_p scop)
fprintf (file, "parameters (");
FOR_EACH_VEC_ELT (scop->scop_info->params, i, t)
{
print_generic_expr (file, t, 0);
print_generic_expr (file, t);
fprintf (file, ", ");
}
fprintf (file, ")\n");

View file

@ -1748,10 +1748,10 @@ build_cross_bb_scalars_def (scop_p scop, tree def, basic_block def_bb,
{
writes->safe_push (def);
DEBUG_PRINT (dp << "Adding scalar write: ";
print_generic_expr (dump_file, def, 0);
print_generic_expr (dump_file, def);
dp << "\nFrom stmt: ";
print_gimple_stmt (dump_file,
SSA_NAME_DEF_STMT (def), 0, 0));
SSA_NAME_DEF_STMT (def), 0));
/* This is required by the FOR_EACH_IMM_USE_STMT when we want to break
before all the uses have been visited. */
BREAK_FROM_IMM_USE_STMT (imm_iter);
@ -1777,9 +1777,9 @@ build_cross_bb_scalars_use (scop_p scop, tree use, gimple *use_stmt,
if (gimple_bb (def_stmt) != gimple_bb (use_stmt))
{
DEBUG_PRINT (dp << "Adding scalar read: ";
print_generic_expr (dump_file, use, 0);
print_generic_expr (dump_file, use);
dp << "\nFrom stmt: ";
print_gimple_stmt (dump_file, use_stmt, 0, 0));
print_gimple_stmt (dump_file, use_stmt, 0));
reads->safe_push (std::make_pair (use_stmt, use));
}
}
@ -1973,9 +1973,9 @@ gather_bbs::before_dom_children (basic_block bb)
dp << "read: ";
else
dp << "write: ";
print_generic_expr (dump_file, dr->ref, 0);
print_generic_expr (dump_file, dr->ref);
dp << "\nFrom stmt: ";
print_gimple_stmt (dump_file, dr->stmt, 0, 0));
print_gimple_stmt (dump_file, dr->stmt, 0));
scop->drs.safe_push (dr_info (dr, pbb));
}

View file

@ -726,7 +726,7 @@ dump_hsa_immed (FILE *f, hsa_op_immed *imm)
& imm->m_type;
if (imm->m_tree_value)
print_generic_expr (f, imm->m_tree_value, 0);
print_generic_expr (f, imm->m_tree_value);
else
{
if (unsigned_int_type)

View file

@ -427,10 +427,10 @@ print_ipcp_constant_value (FILE * f, tree v)
&& TREE_CODE (TREE_OPERAND (v, 0)) == CONST_DECL)
{
fprintf (f, "& ");
print_generic_expr (f, DECL_INITIAL (TREE_OPERAND (v, 0)), 0);
print_generic_expr (f, DECL_INITIAL (TREE_OPERAND (v, 0)));
}
else
print_generic_expr (f, v, 0);
print_generic_expr (f, v);
}
/* Print V which is extracted from a value in a lattice to F. */
@ -3594,7 +3594,7 @@ get_replacement_map (struct ipa_node_params *info, tree value, int parm_num)
ipa_dump_param (dump_file, info, parm_num);
fprintf (dump_file, " with const ");
print_generic_expr (dump_file, value, 0);
print_generic_expr (dump_file, value);
fprintf (dump_file, "\n");
}
replace_map->old_tree = NULL;

View file

@ -558,7 +558,7 @@ dump_condition (FILE *f, conditions conditions, int cond)
return;
}
fprintf (f, " %s ", op_symbol_code (c->code));
print_generic_expr (f, c->val, 1);
print_generic_expr (f, c->val);
}
}
@ -2710,7 +2710,7 @@ estimate_function_body_sizes (struct cgraph_node *node, bool early)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, " ");
print_gimple_stmt (dump_file, gsi_stmt (bsi), 0, 0);
print_gimple_stmt (dump_file, gsi_stmt (bsi), 0);
}
predicate_for_phi_result (info, bsi.phi (), &phi_predicate,
nonconstant_names);
@ -2739,7 +2739,7 @@ estimate_function_body_sizes (struct cgraph_node *node, bool early)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, " ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
fprintf (dump_file, "\t\tfreq:%3.2f size:%3i time:%3i\n",
((double) freq) / CGRAPH_FREQ_BASE, this_size,
this_time);

View file

@ -1398,7 +1398,7 @@ check_stmt_for_type_change (ao_ref *ao ATTRIBUTE_UNUSED, tree vdef, void *data)
if (dump_file)
{
fprintf (dump_file, " Checking constructor call: ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
/* See if THIS parameter seems like instance pointer. */
@ -1460,7 +1460,7 @@ check_stmt_for_type_change (ao_ref *ao ATTRIBUTE_UNUSED, tree vdef, void *data)
if (dump_file)
{
fprintf (dump_file, " Function call may change dynamic type:");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
tci->speculative++;
return csftc_abort_walking_p (tci->speculative);
@ -1473,7 +1473,7 @@ check_stmt_for_type_change (ao_ref *ao ATTRIBUTE_UNUSED, tree vdef, void *data)
if (dump_file)
{
fprintf (dump_file, " Checking vtbl store: ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
type = extr_type_from_vtbl_ptr_store (stmt, tci, &offset);
@ -1653,9 +1653,9 @@ ipa_polymorphic_call_context::get_dynamic_type (tree instance,
if (dump_file)
{
fprintf (dump_file, "Determining dynamic type for call: ");
print_gimple_stmt (dump_file, call, 0, 0);
print_gimple_stmt (dump_file, call, 0);
fprintf (dump_file, " Starting walk at: ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
fprintf (dump_file, " instance pointer: ");
print_generic_expr (dump_file, otr_object, TDF_SLIM);
fprintf (dump_file, " Outer instance pointer: ");

View file

@ -257,7 +257,7 @@ ipa_dump_param (FILE *file, struct ipa_node_params *info, int i)
if ((*info->descriptors)[i].decl_or_type)
{
fprintf (file, " ");
print_generic_expr (file, (*info->descriptors)[i].decl_or_type, 0);
print_generic_expr (file, (*info->descriptors)[i].decl_or_type);
}
}
@ -315,13 +315,12 @@ ipa_print_node_jump_functions_for_edge (FILE *f, struct cgraph_edge *cs)
{
tree val = jump_func->value.constant.value;
fprintf (f, "CONST: ");
print_generic_expr (f, val, 0);
print_generic_expr (f, val);
if (TREE_CODE (val) == ADDR_EXPR
&& TREE_CODE (TREE_OPERAND (val, 0)) == CONST_DECL)
{
fprintf (f, " -> ");
print_generic_expr (f, DECL_INITIAL (TREE_OPERAND (val, 0)),
0);
print_generic_expr (f, DECL_INITIAL (TREE_OPERAND (val, 0)));
}
fprintf (f, "\n");
}
@ -334,8 +333,7 @@ ipa_print_node_jump_functions_for_edge (FILE *f, struct cgraph_edge *cs)
if (jump_func->value.pass_through.operation != NOP_EXPR)
{
fprintf (f, " ");
print_generic_expr (f,
jump_func->value.pass_through.operand, 0);
print_generic_expr (f, jump_func->value.pass_through.operand);
}
if (jump_func->value.pass_through.agg_preserved)
fprintf (f, ", agg_preserved");
@ -369,7 +367,7 @@ ipa_print_node_jump_functions_for_edge (FILE *f, struct cgraph_edge *cs)
else
{
fprintf (f, "cst: ");
print_generic_expr (f, item->value, 0);
print_generic_expr (f, item->value);
}
fprintf (f, "\n");
}
@ -4465,7 +4463,7 @@ ipa_modify_call_arguments (struct cgraph_edge *cs, gcall *stmt,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "replacing stmt:");
print_gimple_stmt (dump_file, gsi_stmt (gsi), 0, 0);
print_gimple_stmt (dump_file, gsi_stmt (gsi), 0);
}
new_stmt = gimple_build_call_vec (callee_decl, vargs);
@ -4491,7 +4489,7 @@ ipa_modify_call_arguments (struct cgraph_edge *cs, gcall *stmt,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "with stmt:");
print_gimple_stmt (dump_file, new_stmt, 0, 0);
print_gimple_stmt (dump_file, new_stmt, 0);
fprintf (dump_file, "\n");
}
gsi_replace (&gsi, new_stmt, true);
@ -4533,9 +4531,9 @@ ipa_modify_expr (tree *expr, bool convert,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "About to replace expr ");
print_generic_expr (dump_file, *expr, 0);
print_generic_expr (dump_file, *expr);
fprintf (dump_file, " with ");
print_generic_expr (dump_file, src, 0);
print_generic_expr (dump_file, src);
fprintf (dump_file, "\n");
}
@ -4758,21 +4756,21 @@ ipa_dump_param_adjustments (FILE *file, ipa_parm_adjustment_vec adjustments,
first = false;
fprintf (file, "%i. base_index: %i - ", i, adj->base_index);
print_generic_expr (file, parms[adj->base_index], 0);
print_generic_expr (file, parms[adj->base_index]);
if (adj->base)
{
fprintf (file, ", base: ");
print_generic_expr (file, adj->base, 0);
print_generic_expr (file, adj->base);
}
if (adj->new_decl)
{
fprintf (file, ", new_decl: ");
print_generic_expr (file, adj->new_decl, 0);
print_generic_expr (file, adj->new_decl);
}
if (adj->new_ssa_base)
{
fprintf (file, ", new_ssa_base: ");
print_generic_expr (file, adj->new_ssa_base, 0);
print_generic_expr (file, adj->new_ssa_base);
}
if (adj->op == IPA_PARM_OP_COPY)
@ -4800,7 +4798,7 @@ ipa_dump_agg_replacement_values (FILE *f, struct ipa_agg_replacement_value *av)
{
fprintf (f, "%s %i[" HOST_WIDE_INT_PRINT_DEC "]=", comma ? "," : "",
av->index, av->offset);
print_generic_expr (f, av->value, 0);
print_generic_expr (f, av->value);
comma = true;
}
fprintf (f, "\n");
@ -5647,9 +5645,9 @@ ipcp_modif_dom_walker::before_dom_children (basic_block bb)
if (dump_file)
{
fprintf (dump_file, " const ");
print_generic_expr (dump_file, v->value, 0);
print_generic_expr (dump_file, v->value);
fprintf (dump_file, " can't be converted to type of ");
print_generic_expr (dump_file, rhs, 0);
print_generic_expr (dump_file, rhs);
fprintf (dump_file, "\n");
}
continue;
@ -5661,7 +5659,7 @@ ipcp_modif_dom_walker::before_dom_children (basic_block bb)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Modifying stmt:\n ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
gimple_assign_set_rhs_from_tree (&gsi, val);
update_stmt (stmt);
@ -5669,7 +5667,7 @@ ipcp_modif_dom_walker::before_dom_children (basic_block bb)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "into:\n ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
fprintf (dump_file, "\n");
}

View file

@ -739,7 +739,7 @@ check_stmt (gimple_stmt_iterator *gsip, funct_state local, bool ipa)
if (dump_file)
{
fprintf (dump_file, " scanning: ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
if (gimple_has_volatile_ops (stmt)
@ -2013,7 +2013,7 @@ pass_nothrow::execute (function *)
if (dump_file)
{
fprintf (dump_file, "Statement can throw: ");
print_gimple_stmt (dump_file, gsi_stmt (gsi), 0, 0);
print_gimple_stmt (dump_file, gsi_stmt (gsi), 0);
}
return 0;
}

View file

@ -1841,7 +1841,7 @@ execute_split_functions (void)
{
fprintf (dump_file, " freq:%6i size:%3i time:%3i ",
freq, this_size, this_time);
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
if ((flag_sanitize & SANITIZE_THREAD)

View file

@ -788,7 +788,7 @@ dump_oacc_loop_part (FILE *file, gcall *from, int depth,
if (k == kind && stmt != from)
break;
}
print_gimple_stmt (file, stmt, depth * 2 + 2, 0);
print_gimple_stmt (file, stmt, depth * 2 + 2);
gsi_next (&gsi);
while (gsi_end_p (gsi))
@ -808,7 +808,7 @@ dump_oacc_loop (FILE *file, oacc_loop *loop, int depth)
LOCATION_FILE (loop->loc), LOCATION_LINE (loop->loc));
if (loop->marker)
print_gimple_stmt (file, loop->marker, depth * 2, 0);
print_gimple_stmt (file, loop->marker, depth * 2);
if (loop->routine)
fprintf (file, "%*sRoutine %s:%u:%s\n",

View file

@ -1275,7 +1275,7 @@ tm_log_emit (void)
if (dump_file)
{
fprintf (dump_file, "TM thread private mem logging: ");
print_generic_expr (dump_file, lp->addr, 0);
print_generic_expr (dump_file, lp->addr);
fprintf (dump_file, "\n");
}
@ -3582,7 +3582,7 @@ tm_memopt_accumulate_memops (basic_block bb)
fprintf (dump_file, "TM memopt (%s): value num=%d, BB=%d, addr=",
is_tm_load (stmt) ? "LOAD" : "STORE", loc,
gimple_bb (stmt)->index);
print_generic_expr (dump_file, gimple_call_arg (stmt, 0), 0);
print_generic_expr (dump_file, gimple_call_arg (stmt, 0));
fprintf (dump_file, "\n");
}
}
@ -3610,7 +3610,7 @@ dump_tm_memopt_set (const char *set_name, bitmap bits)
gcc_assert (mem->value_id == i);
fprintf (dump_file, "%s", comma);
comma = ", ";
print_generic_expr (dump_file, mem->addr, 0);
print_generic_expr (dump_file, mem->addr);
}
fprintf (dump_file, "]\n");
}
@ -3910,7 +3910,7 @@ dump_tm_memopt_transform (gimple *stmt)
if (dump_file)
{
fprintf (dump_file, "TM memopt: transforming: ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
fprintf (dump_file, "\n");
}
}

View file

@ -5340,7 +5340,7 @@ gimple_verify_flow_info (void)
if (prev_stmt && DECL_NONLOCAL (label))
{
error ("nonlocal label ");
print_generic_expr (stderr, label, 0);
print_generic_expr (stderr, label);
fprintf (stderr, " is not first in a sequence of labels in bb %d",
bb->index);
err = 1;
@ -5349,7 +5349,7 @@ gimple_verify_flow_info (void)
if (prev_stmt && EH_LANDING_PAD_NR (label) != 0)
{
error ("EH landing pad label ");
print_generic_expr (stderr, label, 0);
print_generic_expr (stderr, label);
fprintf (stderr, " is not first in a sequence of labels in bb %d",
bb->index);
err = 1;
@ -5358,7 +5358,7 @@ gimple_verify_flow_info (void)
if (label_to_block (label) != bb)
{
error ("label ");
print_generic_expr (stderr, label, 0);
print_generic_expr (stderr, label);
fprintf (stderr, " to block does not match in bb %d",
bb->index);
err = 1;
@ -5367,7 +5367,7 @@ gimple_verify_flow_info (void)
if (decl_function_context (label) != current_function_decl)
{
error ("label ");
print_generic_expr (stderr, label, 0);
print_generic_expr (stderr, label);
fprintf (stderr, " has incorrect context in bb %d",
bb->index);
err = 1;
@ -5392,7 +5392,7 @@ gimple_verify_flow_info (void)
if (glabel *label_stmt = dyn_cast <glabel *> (stmt))
{
error ("label ");
print_generic_expr (stderr, gimple_label_label (label_stmt), 0);
print_generic_expr (stderr, gimple_label_label (label_stmt));
fprintf (stderr, " in the middle of basic block %d", bb->index);
err = 1;
}
@ -5534,9 +5534,9 @@ gimple_verify_flow_info (void)
&& !tree_int_cst_lt (CASE_LOW (prev), CASE_LOW (c)))
{
error ("case labels not sorted: ");
print_generic_expr (stderr, prev, 0);
print_generic_expr (stderr, prev);
fprintf (stderr," is greater than ");
print_generic_expr (stderr, c, 0);
print_generic_expr (stderr, c);
fprintf (stderr," but comes before it.\n");
err = 1;
}
@ -7851,7 +7851,7 @@ print_loop (FILE *file, struct loop *loop, int indent, int verbosity)
else
fprintf (file, ", multiple latches");
fprintf (file, ", niter = ");
print_generic_expr (file, loop->nb_iterations, 0);
print_generic_expr (file, loop->nb_iterations);
if (loop->any_upper_bound)
{

View file

@ -262,16 +262,16 @@ chkp_print_addr (const address_t &addr)
fprintf (dump_file, " + ");
if (addr.pol[n].var == NULL_TREE)
print_generic_expr (dump_file, addr.pol[n].cst, 0);
print_generic_expr (dump_file, addr.pol[n].cst);
else
{
if (TREE_CODE (addr.pol[n].cst) != INTEGER_CST
|| !integer_onep (addr.pol[n].cst))
{
print_generic_expr (dump_file, addr.pol[n].cst, 0);
print_generic_expr (dump_file, addr.pol[n].cst);
fprintf (dump_file, " * ");
}
print_generic_expr (dump_file, addr.pol[n].var, 0);
print_generic_expr (dump_file, addr.pol[n].var);
}
}
}
@ -518,11 +518,11 @@ chkp_gather_checks_info (void)
{
fprintf (dump_file, "Adding check information:\n");
fprintf (dump_file, " bounds: ");
print_generic_expr (dump_file, ci.bounds, 0);
print_generic_expr (dump_file, ci.bounds);
fprintf (dump_file, "\n address: ");
chkp_print_addr (ci.addr);
fprintf (dump_file, "\n check: ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
}
}
@ -543,11 +543,11 @@ chkp_get_check_result (struct check_info *ci, tree bounds)
{
fprintf (dump_file, "Trying to compute result of the check\n");
fprintf (dump_file, " check: ");
print_gimple_stmt (dump_file, ci->stmt, 0, 0);
print_gimple_stmt (dump_file, ci->stmt, 0);
fprintf (dump_file, " address: ");
chkp_print_addr (ci->addr);
fprintf (dump_file, "\n bounds: ");
print_generic_expr (dump_file, bounds, 0);
print_generic_expr (dump_file, bounds);
fprintf (dump_file, "\n");
}
@ -695,7 +695,7 @@ chkp_remove_check_if_pass (struct check_info *ci)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Trying to remove check: ");
print_gimple_stmt (dump_file, ci->stmt, 0, 0);
print_gimple_stmt (dump_file, ci->stmt, 0);
}
result = chkp_get_check_result (ci, ci->bounds);
@ -749,9 +749,9 @@ chkp_use_outer_bounds_if_possible (struct check_info *ci)
{
fprintf (dump_file, "Check if bounds intersection is redundant: \n");
fprintf (dump_file, " check: ");
print_gimple_stmt (dump_file, ci->stmt, 0, 0);
print_gimple_stmt (dump_file, ci->stmt, 0);
fprintf (dump_file, " intersection: ");
print_gimple_stmt (dump_file, bnd_def, 0, 0);
print_gimple_stmt (dump_file, bnd_def, 0);
fprintf (dump_file, "\n");
}
@ -774,9 +774,9 @@ chkp_use_outer_bounds_if_possible (struct check_info *ci)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, " action: use ");
print_generic_expr (dump_file, bnd2, 0);
print_generic_expr (dump_file, bnd2);
fprintf (dump_file, " instead of ");
print_generic_expr (dump_file, ci->bounds, 0);
print_generic_expr (dump_file, ci->bounds);
fprintf (dump_file, "\n");
}
@ -1199,7 +1199,7 @@ chkp_reduce_bounds_lifetime (void)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Moving creation of ");
print_generic_expr (dump_file, op, 0);
print_generic_expr (dump_file, op);
fprintf (dump_file, " down to its use.\n");
}

View file

@ -635,9 +635,9 @@ chkp_register_addr_bounds (tree obj, tree bnd)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Regsitered bound ");
print_generic_expr (dump_file, bnd, 0);
print_generic_expr (dump_file, bnd);
fprintf (dump_file, " for address of ");
print_generic_expr (dump_file, obj, 0);
print_generic_expr (dump_file, obj);
fprintf (dump_file, "\n");
}
}
@ -659,7 +659,7 @@ chkp_mark_completed_bounds (tree bounds)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Marked bounds ");
print_generic_expr (dump_file, bounds, 0);
print_generic_expr (dump_file, bounds);
fprintf (dump_file, " as completed\n");
}
}
@ -688,9 +688,9 @@ chkp_register_incomplete_bounds (tree bounds, tree ptr)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Regsitered incomplete bounds ");
print_generic_expr (dump_file, bounds, 0);
print_generic_expr (dump_file, bounds);
fprintf (dump_file, " for ");
print_generic_expr (dump_file, ptr, 0);
print_generic_expr (dump_file, ptr);
fprintf (dump_file, "\n");
}
}
@ -818,7 +818,7 @@ chkp_mark_invalid_bounds (tree bounds)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Marked bounds ");
print_generic_expr (dump_file, bounds, 0);
print_generic_expr (dump_file, bounds);
fprintf (dump_file, " as invalid\n");
}
}
@ -1209,9 +1209,9 @@ chkp_maybe_copy_and_register_bounds (tree ptr, tree bnd)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Using default def bounds ");
print_generic_expr (dump_file, bnd, 0);
print_generic_expr (dump_file, bnd);
fprintf (dump_file, " for abnormal default def SSA name ");
print_generic_expr (dump_file, ptr, 0);
print_generic_expr (dump_file, ptr);
fprintf (dump_file, "\n");
}
}
@ -1234,9 +1234,9 @@ chkp_maybe_copy_and_register_bounds (tree ptr, tree bnd)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Creating a copy of bounds ");
print_generic_expr (dump_file, bnd, 0);
print_generic_expr (dump_file, bnd);
fprintf (dump_file, " for abnormal SSA name ");
print_generic_expr (dump_file, ptr, 0);
print_generic_expr (dump_file, ptr);
fprintf (dump_file, "\n");
}
@ -1274,9 +1274,9 @@ chkp_maybe_copy_and_register_bounds (tree ptr, tree bnd)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Regsitered bound ");
print_generic_expr (dump_file, bnd, 0);
print_generic_expr (dump_file, bnd);
fprintf (dump_file, " for pointer ");
print_generic_expr (dump_file, ptr, 0);
print_generic_expr (dump_file, ptr);
fprintf (dump_file, "\n");
}
@ -2307,9 +2307,9 @@ chkp_build_returned_bound (gcall *call)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Built returned bounds (");
print_generic_expr (dump_file, bounds, 0);
print_generic_expr (dump_file, bounds);
fprintf (dump_file, ") for call: ");
print_gimple_stmt (dump_file, call, 0, TDF_VOPS|TDF_MEMSYMS);
print_gimple_stmt (dump_file, call, 0, TDF_VOPS | TDF_MEMSYMS);
}
bounds = chkp_maybe_copy_and_register_bounds (lhs, bounds);
@ -2390,7 +2390,7 @@ chkp_get_bound_for_parm (tree parm)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Built arg bounds (");
print_generic_expr (dump_file, bounds, 0);
print_generic_expr (dump_file, bounds);
fprintf (dump_file, ") for arg: ");
print_node (dump_file, "", decl, 0);
}
@ -2405,11 +2405,11 @@ chkp_get_bound_for_parm (tree parm)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Using bounds ");
print_generic_expr (dump_file, bounds, 0);
print_generic_expr (dump_file, bounds);
fprintf (dump_file, " for parm ");
print_generic_expr (dump_file, parm, 0);
print_generic_expr (dump_file, parm);
fprintf (dump_file, " of type ");
print_generic_expr (dump_file, TREE_TYPE (parm), 0);
print_generic_expr (dump_file, TREE_TYPE (parm));
fprintf (dump_file, ".\n");
}
@ -2457,9 +2457,9 @@ chkp_build_bndldx (tree addr, tree ptr, gimple_stmt_iterator *gsi)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Generated bndldx for pointer ");
print_generic_expr (dump_file, ptr, 0);
print_generic_expr (dump_file, ptr);
fprintf (dump_file, ": ");
print_gimple_stmt (dump_file, stmt, 0, TDF_VOPS|TDF_MEMSYMS);
print_gimple_stmt (dump_file, stmt, 0, TDF_VOPS | TDF_MEMSYMS);
}
return bounds;
@ -2813,10 +2813,10 @@ chkp_get_bounds_by_definition (tree node, gimple *def_stmt,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Searching for bounds for node: ");
print_generic_expr (dump_file, node, 0);
print_generic_expr (dump_file, node);
fprintf (dump_file, " using its definition: ");
print_gimple_stmt (dump_file, def_stmt, 0, TDF_VOPS|TDF_MEMSYMS);
print_gimple_stmt (dump_file, def_stmt, 0, TDF_VOPS | TDF_MEMSYMS);
}
switch (code)
@ -2857,7 +2857,7 @@ chkp_get_bounds_by_definition (tree node, gimple *def_stmt,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Unexpected var with no definition\n");
print_generic_expr (dump_file, var, 0);
print_generic_expr (dump_file, var);
}
internal_error ("chkp_get_bounds_by_definition: Unexpected var of type %s",
get_tree_code_name (TREE_CODE (var)));
@ -3048,7 +3048,7 @@ chkp_generate_extern_var_bounds (tree var)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Generating bounds for extern symbol '");
print_generic_expr (dump_file, var, 0);
print_generic_expr (dump_file, var);
fprintf (dump_file, "'\n");
}
@ -3132,7 +3132,7 @@ chkp_get_bounds_for_decl_addr (tree decl)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Building bounds for address of decl ");
print_generic_expr (dump_file, decl, 0);
print_generic_expr (dump_file, decl);
fprintf (dump_file, "\n");
}

View file

@ -662,11 +662,11 @@ chrec_apply (unsigned var,
{
fprintf (dump_file, " (varying_loop = %d\n", var);
fprintf (dump_file, ")\n (chrec = ");
print_generic_expr (dump_file, chrec, 0);
print_generic_expr (dump_file, chrec);
fprintf (dump_file, ")\n (x = ");
print_generic_expr (dump_file, x, 0);
print_generic_expr (dump_file, x);
fprintf (dump_file, ")\n (res = ");
print_generic_expr (dump_file, res, 0);
print_generic_expr (dump_file, res);
fprintf (dump_file, "))\n");
}

View file

@ -203,16 +203,16 @@ dump_data_reference (FILE *outf,
fprintf (outf, "#(Data Ref: \n");
fprintf (outf, "# bb: %d \n", gimple_bb (DR_STMT (dr))->index);
fprintf (outf, "# stmt: ");
print_gimple_stmt (outf, DR_STMT (dr), 0, 0);
print_gimple_stmt (outf, DR_STMT (dr), 0);
fprintf (outf, "# ref: ");
print_generic_stmt (outf, DR_REF (dr), 0);
print_generic_stmt (outf, DR_REF (dr));
fprintf (outf, "# base_object: ");
print_generic_stmt (outf, DR_BASE_OBJECT (dr), 0);
print_generic_stmt (outf, DR_BASE_OBJECT (dr));
for (i = 0; i < DR_NUM_DIMENSIONS (dr); i++)
{
fprintf (outf, "# Access function %d: ", i);
print_generic_stmt (outf, DR_ACCESS_FN (dr, i), 0);
print_generic_stmt (outf, DR_ACCESS_FN (dr, i));
}
fprintf (outf, "#)\n");
}
@ -290,7 +290,7 @@ dump_subscript (FILE *outf, struct subscript *subscript)
{
tree last_iteration = SUB_LAST_CONFLICT (subscript);
fprintf (outf, "\n last_conflict: ");
print_generic_expr (outf, last_iteration, 0);
print_generic_expr (outf, last_iteration);
}
cf = SUB_CONFLICTS_IN_B (subscript);
@ -300,11 +300,11 @@ dump_subscript (FILE *outf, struct subscript *subscript)
{
tree last_iteration = SUB_LAST_CONFLICT (subscript);
fprintf (outf, "\n last_conflict: ");
print_generic_expr (outf, last_iteration, 0);
print_generic_expr (outf, last_iteration);
}
fprintf (outf, "\n (Subscript distance: ");
print_generic_expr (outf, SUB_DISTANCE (subscript), 0);
print_generic_expr (outf, SUB_DISTANCE (subscript));
fprintf (outf, " ))\n");
}
@ -436,9 +436,9 @@ dump_data_dependence_relation (FILE *outf,
for (i = 0; i < DDR_NUM_SUBSCRIPTS (ddr); i++)
{
fprintf (outf, " access_fn_A: ");
print_generic_stmt (outf, DR_ACCESS_FN (dra, i), 0);
print_generic_stmt (outf, DR_ACCESS_FN (dra, i));
fprintf (outf, " access_fn_B: ");
print_generic_stmt (outf, DR_ACCESS_FN (drb, i), 0);
print_generic_stmt (outf, DR_ACCESS_FN (drb, i));
dump_subscript (outf, DDR_SUBSCRIPT (ddr, i));
}
@ -3037,9 +3037,9 @@ analyze_overlapping_iterations (tree chrec_a,
{
fprintf (dump_file, "(analyze_overlapping_iterations \n");
fprintf (dump_file, " (chrec_a = ");
print_generic_expr (dump_file, chrec_a, 0);
print_generic_expr (dump_file, chrec_a);
fprintf (dump_file, ")\n (chrec_b = ");
print_generic_expr (dump_file, chrec_b, 0);
print_generic_expr (dump_file, chrec_b);
fprintf (dump_file, ")\n");
}

View file

@ -4722,9 +4722,9 @@ expand_call_inline (basic_block bb, gimple *stmt, copy_body_data *id)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Inlining ");
print_generic_expr (dump_file, id->src_fn, 0);
print_generic_expr (dump_file, id->src_fn);
fprintf (dump_file, " to ");
print_generic_expr (dump_file, id->dst_fn, 0);
print_generic_expr (dump_file, id->dst_fn);
fprintf (dump_file, " with frequency %i\n", cg_edge->frequency);
}
@ -5903,10 +5903,10 @@ tree_function_versioning (tree old_decl, tree new_decl,
{
fprintf (dump_file, " const ");
print_generic_expr (dump_file,
replace_info->new_tree, 0);
replace_info->new_tree);
fprintf (dump_file,
" can't be converted to param ");
print_generic_expr (dump_file, parm, 0);
print_generic_expr (dump_file, parm);
fprintf (dump_file, "\n");
}
replace_info->old_tree = NULL;

View file

@ -1608,10 +1608,10 @@ dump_defs_stack (FILE *file, int n)
}
fprintf (file, " Previous CURRDEF (");
print_generic_expr (file, var, 0);
print_generic_expr (file, var);
fprintf (file, ") = ");
if (name)
print_generic_expr (file, name, 0);
print_generic_expr (file, name);
else
fprintf (file, "<NIL>");
fprintf (file, "\n");
@ -1647,10 +1647,10 @@ dump_currdefs (FILE *file)
{
common_info *info = get_common_info (var);
fprintf (file, "CURRDEF (");
print_generic_expr (file, var, 0);
print_generic_expr (file, var);
fprintf (file, ") = ");
if (info->current_def)
print_generic_expr (file, info->current_def, 0);
print_generic_expr (file, info->current_def);
else
fprintf (file, "<NIL>");
fprintf (file, "\n");
@ -2784,13 +2784,13 @@ dump_names_replaced_by (FILE *file, tree name)
bitmap old_set;
bitmap_iterator bi;
print_generic_expr (file, name, 0);
print_generic_expr (file, name);
fprintf (file, " -> { ");
old_set = names_replaced_by (name);
EXECUTE_IF_SET_IN_BITMAP (old_set, 0, i, bi)
{
print_generic_expr (file, ssa_name (i), 0);
print_generic_expr (file, ssa_name (i));
fprintf (file, " ");
}
@ -2842,7 +2842,7 @@ dump_update_ssa (FILE *file)
fprintf (file, "\nSSA names to release after updating the SSA web\n\n");
EXECUTE_IF_SET_IN_BITMAP (names_to_release, 0, i, bi)
{
print_generic_expr (file, ssa_name (i), 0);
print_generic_expr (file, ssa_name (i));
fprintf (file, " ");
}
fprintf (file, "\n");
@ -3287,7 +3287,7 @@ update_ssa (unsigned update_flags)
error ("statement uses released SSA name:");
debug_gimple_stmt (stmt);
fprintf (stderr, "The use of ");
print_generic_expr (stderr, use, 0);
print_generic_expr (stderr, use);
fprintf (stderr," should have been replaced\n");
err = true;
}

View file

@ -1380,7 +1380,7 @@ pass_object_sizes::execute (function *fun)
fprintf (dump_file, "Simplified\n ");
print_gimple_stmt (dump_file, call, 0, dump_flags);
fprintf (dump_file, " to ");
print_generic_expr (dump_file, result, 0);
print_generic_expr (dump_file, result);
fprintf (dump_file, "\n");
}

View file

@ -2478,7 +2478,7 @@ build_new_reduction (reduction_info_table_type *reduction_list,
{
fprintf (dump_file,
"Detected reduction. reduction stmt is:\n");
print_gimple_stmt (dump_file, reduc_stmt, 0, 0);
print_gimple_stmt (dump_file, reduc_stmt, 0);
fprintf (dump_file, "\n");
}
@ -2724,9 +2724,9 @@ try_create_reduction_list (loop_p loop,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "phi is ");
print_gimple_stmt (dump_file, phi, 0, 0);
print_gimple_stmt (dump_file, phi, 0);
fprintf (dump_file, "arg of phi to exit: value ");
print_generic_expr (dump_file, val, 0);
print_generic_expr (dump_file, val);
fprintf (dump_file, " used outside loop\n");
fprintf (dump_file,
" checking if it is part of reduction pattern:\n");
@ -2767,9 +2767,9 @@ try_create_reduction_list (loop_p loop,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "reduction phi is ");
print_gimple_stmt (dump_file, red->reduc_phi, 0, 0);
print_gimple_stmt (dump_file, red->reduc_phi, 0);
fprintf (dump_file, "reduction stmt is ");
print_gimple_stmt (dump_file, red->reduc_stmt, 0, 0);
print_gimple_stmt (dump_file, red->reduc_stmt, 0);
}
}
}
@ -2877,7 +2877,7 @@ ref_conflicts_with_region (gimple_stmt_iterator gsi, ao_ref *ref,
if (dump_file)
{
fprintf (dump_file, "skipping reduction store: ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
continue;
}
@ -2896,7 +2896,7 @@ ref_conflicts_with_region (gimple_stmt_iterator gsi, ao_ref *ref,
if (dump_file)
{
fprintf (dump_file, "Stmt ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
return true;
}
@ -2908,7 +2908,7 @@ ref_conflicts_with_region (gimple_stmt_iterator gsi, ao_ref *ref,
if (dump_file)
{
fprintf (dump_file, "Stmt ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
return true;
}
@ -2987,7 +2987,7 @@ oacc_entry_exit_ok_1 (bitmap in_loop_bbs, vec<basic_block> region_bbs,
if (dump_file)
{
fprintf (dump_file, "found reduction load: ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
}
}
@ -3018,7 +3018,7 @@ oacc_entry_exit_ok_1 (bitmap in_loop_bbs, vec<basic_block> region_bbs,
if (dump_file)
{
fprintf (dump_file, "Unhandled stmt in entry/exit: ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
return false;
}
@ -3029,7 +3029,7 @@ oacc_entry_exit_ok_1 (bitmap in_loop_bbs, vec<basic_block> region_bbs,
if (dump_file)
{
fprintf (dump_file, "conflicts with entry/exit stmt: ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
return false;
}
@ -3077,7 +3077,7 @@ oacc_entry_exit_single_gang (bitmap in_loop_bbs, vec<basic_block> region_bbs,
fprintf (dump_file,
"skipped reduction store for single-gang"
" neutering: ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
/* Update gsi to point to next stmt. */
@ -3105,7 +3105,7 @@ oacc_entry_exit_single_gang (bitmap in_loop_bbs, vec<basic_block> region_bbs,
{
fprintf (dump_file,
"found store that needs single-gang neutering: ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
{

View file

@ -35,9 +35,9 @@ extern void debug_generic_expr (tree);
extern void debug_generic_stmt (tree);
extern void debug_tree_chain (tree);
extern void print_generic_decl (FILE *, tree, int);
extern void print_generic_stmt (FILE *, tree, int);
extern void print_generic_stmt (FILE *, tree, int = 0);
extern void print_generic_stmt_indented (FILE *, tree, int, int);
extern void print_generic_expr (FILE *, tree, int);
extern void print_generic_expr (FILE *, tree, int = 0);
extern void dump_omp_clauses (pretty_printer *, tree, int, int);
extern int dump_generic_node (pretty_printer *, tree, int, int, bool);
extern void print_declaration (pretty_printer *, tree, int, int);

View file

@ -531,9 +531,9 @@ set_scalar_evolution (basic_block instantiated_below, tree scalar, tree chrec)
fprintf (dump_file, " instantiated_below = %d \n",
instantiated_below->index);
fprintf (dump_file, " (scalar = ");
print_generic_expr (dump_file, scalar, 0);
print_generic_expr (dump_file, scalar);
fprintf (dump_file, ")\n (scalar_evolution = ");
print_generic_expr (dump_file, chrec, 0);
print_generic_expr (dump_file, chrec);
fprintf (dump_file, "))\n");
}
if (dump_flags & TDF_STATS)
@ -557,7 +557,7 @@ get_scalar_evolution (basic_block instantiated_below, tree scalar)
{
fprintf (dump_file, "(get_scalar_evolution \n");
fprintf (dump_file, " (scalar = ");
print_generic_expr (dump_file, scalar, 0);
print_generic_expr (dump_file, scalar);
fprintf (dump_file, ")\n");
}
if (dump_flags & TDF_STATS)
@ -584,7 +584,7 @@ get_scalar_evolution (basic_block instantiated_below, tree scalar)
if (dump_file && (dump_flags & TDF_SCEV))
{
fprintf (dump_file, " (scalar_evolution = ");
print_generic_expr (dump_file, res, 0);
print_generic_expr (dump_file, res);
fprintf (dump_file, "))\n");
}
@ -819,9 +819,9 @@ add_to_evolution (unsigned loop_nb, tree chrec_before, enum tree_code code,
fprintf (dump_file, "(add_to_evolution \n");
fprintf (dump_file, " (loop_nb = %d)\n", loop_nb);
fprintf (dump_file, " (chrec_before = ");
print_generic_expr (dump_file, chrec_before, 0);
print_generic_expr (dump_file, chrec_before);
fprintf (dump_file, ")\n (to_add = ");
print_generic_expr (dump_file, to_add, 0);
print_generic_expr (dump_file, to_add);
fprintf (dump_file, ")\n");
}
@ -835,7 +835,7 @@ add_to_evolution (unsigned loop_nb, tree chrec_before, enum tree_code code,
if (dump_file && (dump_flags & TDF_SCEV))
{
fprintf (dump_file, " (res = ");
print_generic_expr (dump_file, res, 0);
print_generic_expr (dump_file, res);
fprintf (dump_file, "))\n");
}
@ -872,7 +872,7 @@ get_loop_exit_condition (const struct loop *loop)
if (dump_file && (dump_flags & TDF_SCEV))
{
print_gimple_stmt (dump_file, res, 0, 0);
print_gimple_stmt (dump_file, res, 0);
fprintf (dump_file, ")\n");
}
@ -1448,7 +1448,7 @@ analyze_evolution_in_loop (gphi *loop_phi_node,
{
fprintf (dump_file, "(analyze_evolution_in_loop \n");
fprintf (dump_file, " (loop_phi_node = ");
print_gimple_stmt (dump_file, loop_phi_node, 0, 0);
print_gimple_stmt (dump_file, loop_phi_node, 0);
fprintf (dump_file, ")\n");
}
@ -1518,7 +1518,7 @@ analyze_evolution_in_loop (gphi *loop_phi_node,
if (dump_file && (dump_flags & TDF_SCEV))
{
fprintf (dump_file, " (evolution_function = ");
print_generic_expr (dump_file, evolution_function, 0);
print_generic_expr (dump_file, evolution_function);
fprintf (dump_file, "))\n");
}
@ -1571,7 +1571,7 @@ analyze_initial_condition (gphi *loop_phi_node)
{
fprintf (dump_file, "(analyze_initial_condition \n");
fprintf (dump_file, " (loop_phi_node = \n");
print_gimple_stmt (dump_file, loop_phi_node, 0, 0);
print_gimple_stmt (dump_file, loop_phi_node, 0);
fprintf (dump_file, ")\n");
}
@ -1612,7 +1612,7 @@ analyze_initial_condition (gphi *loop_phi_node)
if (dump_file && (dump_flags & TDF_SCEV))
{
fprintf (dump_file, " (init_cond = ");
print_generic_expr (dump_file, init_cond, 0);
print_generic_expr (dump_file, init_cond);
fprintf (dump_file, "))\n");
}
@ -2139,7 +2139,7 @@ analyze_scalar_evolution (struct loop *loop, tree var)
fprintf (dump_file, "(analyze_scalar_evolution \n");
fprintf (dump_file, " (loop_nb = %d)\n", loop->num);
fprintf (dump_file, " (scalar = ");
print_generic_expr (dump_file, var, 0);
print_generic_expr (dump_file, var);
fprintf (dump_file, ")\n");
}
@ -2972,7 +2972,7 @@ instantiate_scev (basic_block instantiate_below, struct loop *evolution_loop,
fprintf (dump_file, " (instantiate_below = %d)\n", instantiate_below->index);
fprintf (dump_file, " (evolution_loop = %d)\n", evolution_loop->num);
fprintf (dump_file, " (chrec = ");
print_generic_expr (dump_file, chrec, 0);
print_generic_expr (dump_file, chrec);
fprintf (dump_file, ")\n");
}
@ -2995,7 +2995,7 @@ instantiate_scev (basic_block instantiate_below, struct loop *evolution_loop,
if (dump_file && (dump_flags & TDF_SCEV))
{
fprintf (dump_file, " (res = ");
print_generic_expr (dump_file, res, 0);
print_generic_expr (dump_file, res);
fprintf (dump_file, "))\n");
}
@ -3100,7 +3100,7 @@ number_of_latch_executions (struct loop *loop)
if (dump_file && (dump_flags & TDF_SCEV))
{
fprintf (dump_file, " (set_nb_iterations_in_loop = ");
print_generic_expr (dump_file, res, 0);
print_generic_expr (dump_file, res);
fprintf (dump_file, "))\n");
}
@ -3167,7 +3167,7 @@ gather_chrec_stats (tree chrec, struct chrec_stats *stats)
if (dump_file && (dump_flags & TDF_STATS))
{
fprintf (dump_file, "(classify_chrec ");
print_generic_expr (dump_file, chrec, 0);
print_generic_expr (dump_file, chrec);
fprintf (dump_file, "\n");
}
@ -3749,7 +3749,7 @@ final_value_replacement_loop (struct loop *loop)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "not replacing:\n ");
print_gimple_stmt (dump_file, phi, 0, 0);
print_gimple_stmt (dump_file, phi, 0);
fprintf (dump_file, "\n");
}
gsi_next (&psi);
@ -3761,7 +3761,7 @@ final_value_replacement_loop (struct loop *loop)
if (dump_file)
{
fprintf (dump_file, "\nfinal value replacement:\n ");
print_gimple_stmt (dump_file, phi, 0, 0);
print_gimple_stmt (dump_file, phi, 0);
fprintf (dump_file, " with\n ");
}
def = unshare_expr (def);
@ -3801,7 +3801,7 @@ final_value_replacement_loop (struct loop *loop)
gsi_insert_before (&gsi, ass, GSI_SAME_STMT);
if (dump_file)
{
print_gimple_stmt (dump_file, ass, 0, 0);
print_gimple_stmt (dump_file, ass, 0);
fprintf (dump_file, "\n");
}
}
@ -3858,9 +3858,9 @@ scev_const_prop (void)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Replacing uses of: ");
print_generic_expr (dump_file, name, 0);
print_generic_expr (dump_file, name);
fprintf (dump_file, " with: ");
print_generic_expr (dump_file, ev, 0);
print_generic_expr (dump_file, ev);
fprintf (dump_file, "\n");
}
replace_uses_by (name, ev);

View file

@ -427,13 +427,13 @@ dump_access (FILE *f, struct access *access, bool grp)
{
fprintf (f, "access { ");
fprintf (f, "base = (%d)'", DECL_UID (access->base));
print_generic_expr (f, access->base, 0);
print_generic_expr (f, access->base);
fprintf (f, "', offset = " HOST_WIDE_INT_PRINT_DEC, access->offset);
fprintf (f, ", size = " HOST_WIDE_INT_PRINT_DEC, access->size);
fprintf (f, ", expr = ");
print_generic_expr (f, access->expr, 0);
print_generic_expr (f, access->expr);
fprintf (f, ", type = ");
print_generic_expr (f, access->type, 0);
print_generic_expr (f, access->type);
fprintf (f, ", non_addressable = %d, reverse = %d",
access->non_addressable, access->reverse);
if (grp)
@ -720,7 +720,7 @@ disqualify_candidate (tree decl, const char *reason)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "! Disqualifying ");
print_generic_expr (dump_file, decl, 0);
print_generic_expr (dump_file, decl);
fprintf (dump_file, " - %s\n", reason);
}
@ -915,7 +915,7 @@ create_access (tree expr, gimple *stmt, bool write)
multi-element arrays in their own right). */
fprintf (dump_file, "Allowing non-reg-type load of part"
" of constant-pool entry: ");
print_generic_expr (dump_file, expr, 0);
print_generic_expr (dump_file, expr);
}
maybe_add_sra_candidate (base);
}
@ -1924,7 +1924,7 @@ reject (tree var, const char *msg)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Rejected (%d): %s: ", DECL_UID (var), msg);
print_generic_expr (dump_file, var, 0);
print_generic_expr (dump_file, var);
fprintf (dump_file, "\n");
}
}
@ -1993,7 +1993,7 @@ maybe_add_sra_candidate (tree var)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Candidate (%d): ", DECL_UID (var));
print_generic_expr (dump_file, var, 0);
print_generic_expr (dump_file, var);
fprintf (dump_file, "\n");
}
@ -2241,17 +2241,17 @@ create_access_replacement (struct access *access)
if (access->grp_to_be_debug_replaced)
{
fprintf (dump_file, "Created a debug-only replacement for ");
print_generic_expr (dump_file, access->base, 0);
print_generic_expr (dump_file, access->base);
fprintf (dump_file, " offset: %u, size: %u\n",
(unsigned) access->offset, (unsigned) access->size);
}
else
{
fprintf (dump_file, "Created a replacement for ");
print_generic_expr (dump_file, access->base, 0);
print_generic_expr (dump_file, access->base);
fprintf (dump_file, " offset: %u, size: %u: ",
(unsigned) access->offset, (unsigned) access->size);
print_generic_expr (dump_file, repl, 0);
print_generic_expr (dump_file, repl);
fprintf (dump_file, "\n");
}
}
@ -2445,7 +2445,7 @@ analyze_access_subtree (struct access *root, struct access *parent,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Changing the type of a replacement for ");
print_generic_expr (dump_file, root->base, 0);
print_generic_expr (dump_file, root->base);
fprintf (dump_file, " offset: %u, size: %u ",
(unsigned) root->offset, (unsigned) root->size);
fprintf (dump_file, " to an integer.\n");
@ -2759,14 +2759,14 @@ analyze_all_variable_accesses (void)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Will attempt to totally scalarize ");
print_generic_expr (dump_file, var, 0);
print_generic_expr (dump_file, var);
fprintf (dump_file, " (UID: %u): \n", DECL_UID (var));
}
}
else if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Too big to totally scalarize: ");
print_generic_expr (dump_file, var, 0);
print_generic_expr (dump_file, var);
fprintf (dump_file, " (UID: %u)\n", DECL_UID (var));
}
}
@ -2798,7 +2798,7 @@ analyze_all_variable_accesses (void)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "\nAccess trees for ");
print_generic_expr (dump_file, var, 0);
print_generic_expr (dump_file, var);
fprintf (dump_file, " (UID: %u): \n", DECL_UID (var));
dump_access_tree (dump_file, access);
fprintf (dump_file, "\n");
@ -3611,7 +3611,7 @@ sra_modify_assign (gimple *stmt, gimple_stmt_iterator *gsi)
if (dump_file)
{
fprintf (dump_file, "Removing load: ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
generate_subtree_copies (racc->first_child, lhs,
racc->offset, 0, 0, gsi,
@ -3673,7 +3673,7 @@ initialize_constant_pool_replacements (void)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Generating constant initializer: ");
print_gimple_stmt (dump_file, stmt, 0, 1);
print_gimple_stmt (dump_file, stmt, 0);
fprintf (dump_file, "\n");
}
gsi_insert_after (&gsi, stmt, GSI_NEW_STMT);
@ -4105,7 +4105,7 @@ find_param_candidates (void)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Candidate (%d): ", DECL_UID (parm));
print_generic_expr (dump_file, parm, 0);
print_generic_expr (dump_file, parm);
fprintf (dump_file, "\n");
}
}
@ -4502,7 +4502,7 @@ decide_one_param_reduction (struct access *repr)
{
struct access *acc;
fprintf (dump_file, "Evaluating PARAM group sizes for ");
print_generic_expr (dump_file, parm, 0);
print_generic_expr (dump_file, parm);
fprintf (dump_file, " (UID: %u): \n", DECL_UID (parm));
for (acc = repr; acc; acc = acc->next_grp)
dump_access (dump_file, acc, true);
@ -4865,9 +4865,9 @@ replace_removed_params_ssa_names (tree old_name, gimple *stmt,
if (dump_file)
{
fprintf (dump_file, "replacing an SSA name of a removed param ");
print_generic_expr (dump_file, old_name, 0);
print_generic_expr (dump_file, old_name);
fprintf (dump_file, " with ");
print_generic_expr (dump_file, new_name, 0);
print_generic_expr (dump_file, new_name);
fprintf (dump_file, "\n");
}

View file

@ -2184,9 +2184,9 @@ ccp_fold_stmt (gimple_stmt_iterator *gsi)
if (dump_file)
{
fprintf (dump_file, "Folding predicate ");
print_gimple_expr (dump_file, stmt, 0, 0);
print_gimple_expr (dump_file, stmt, 0);
fprintf (dump_file, " to ");
print_generic_expr (dump_file, val.value, 0);
print_generic_expr (dump_file, val.value);
fprintf (dump_file, "\n");
}

View file

@ -168,7 +168,7 @@ dump_copy_of (FILE *file, tree var)
val = copy_of[SSA_NAME_VERSION (var)].value;
fprintf (file, " copy-of chain: ");
print_generic_expr (file, var, 0);
print_generic_expr (file, var);
fprintf (file, " ");
if (!val)
fprintf (file, "[UNDEFINED]");
@ -177,7 +177,7 @@ dump_copy_of (FILE *file, tree var)
else
{
fprintf (file, "-> ");
print_generic_expr (file, val, 0);
print_generic_expr (file, val);
fprintf (file, " ");
fprintf (file, "[COPY]");
}
@ -231,7 +231,7 @@ copy_prop_visit_cond_stmt (gimple *stmt, edge *taken_edge_p)
{
fprintf (dump_file, "Trying to determine truth value of ");
fprintf (dump_file, "predicate ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
/* Fold COND and see whether we get a useful result. */

View file

@ -171,9 +171,9 @@ mark_operand_necessary (tree op)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "marking necessary through ");
print_generic_expr (dump_file, op, 0);
print_generic_expr (dump_file, op);
fprintf (dump_file, " stmt ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
gimple_set_plf (stmt, STMT_NECESSARY, true);

View file

@ -554,7 +554,7 @@ pass_dominator::execute (function *fun)
if (dump_file && dump_flags & TDF_DETAILS)
{
fprintf (dump_file, "Fixing up noreturn call ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
fprintf (dump_file, "\n");
}
fixup_noreturn_call (stmt);
@ -1360,9 +1360,9 @@ record_equivalences_from_stmt (gimple *stmt, int may_optimize_p,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "==== ASGN ");
print_generic_expr (dump_file, lhs, 0);
print_generic_expr (dump_file, lhs);
fprintf (dump_file, " = ");
print_generic_expr (dump_file, rhs, 0);
print_generic_expr (dump_file, rhs);
fprintf (dump_file, "\n");
}
@ -1387,9 +1387,9 @@ record_equivalences_from_stmt (gimple *stmt, int may_optimize_p,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "==== ASGN ");
print_generic_expr (dump_file, lhs, 0);
print_generic_expr (dump_file, lhs);
fprintf (dump_file, " = ");
print_generic_expr (dump_file, new_rhs, 0);
print_generic_expr (dump_file, new_rhs);
fprintf (dump_file, "\n");
}

View file

@ -241,7 +241,7 @@ compute_trims (ao_ref *ref, sbitmap live, int *trim_head, int *trim_tail,
{
fprintf (dump_file, " Trimming statement (head = %d, tail = %d): ",
*trim_head, *trim_tail);
print_gimple_stmt (dump_file, stmt, dump_flags, 0);
print_gimple_stmt (dump_file, stmt, 0, dump_flags);
fprintf (dump_file, "\n");
}
}
@ -621,7 +621,7 @@ delete_dead_call (gimple_stmt_iterator *gsi)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, " Deleted dead call: ");
print_gimple_stmt (dump_file, stmt, dump_flags, 0);
print_gimple_stmt (dump_file, stmt, 0, dump_flags);
fprintf (dump_file, "\n");
}
@ -655,7 +655,7 @@ delete_dead_assignment (gimple_stmt_iterator *gsi)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, " Deleted dead store: ");
print_gimple_stmt (dump_file, stmt, dump_flags, 0);
print_gimple_stmt (dump_file, stmt, 0, dump_flags);
fprintf (dump_file, "\n");
}

View file

@ -527,9 +527,9 @@ forward_propagate_into_gimple_cond (gcond *stmt)
if (dump_file && tmp)
{
fprintf (dump_file, " Replaced '");
print_gimple_expr (dump_file, stmt, 0, 0);
print_gimple_expr (dump_file, stmt, 0);
fprintf (dump_file, "' with '");
print_generic_expr (dump_file, tmp, 0);
print_generic_expr (dump_file, tmp);
fprintf (dump_file, "'\n");
}
@ -605,9 +605,9 @@ forward_propagate_into_cond (gimple_stmt_iterator *gsi_p)
if (dump_file && tmp)
{
fprintf (dump_file, " Replaced '");
print_generic_expr (dump_file, cond, 0);
print_generic_expr (dump_file, cond);
fprintf (dump_file, "' with '");
print_generic_expr (dump_file, tmp, 0);
print_generic_expr (dump_file, tmp);
fprintf (dump_file, "'\n");
}
@ -2527,7 +2527,7 @@ pass_forwprop::execute (function *fun)
if (dump_file && dump_flags & TDF_DETAILS)
{
fprintf (dump_file, "Fixing up noreturn call ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
fprintf (dump_file, "\n");
}
cfg_changed |= fixup_noreturn_call (stmt);

View file

@ -444,11 +444,11 @@ ifcombine_ifandif (basic_block inner_cond_bb, bool inner_inv,
if (dump_file)
{
fprintf (dump_file, "optimizing double bit test to ");
print_generic_expr (dump_file, name1, 0);
print_generic_expr (dump_file, name1);
fprintf (dump_file, " & T == T\nwith temporary T = (1 << ");
print_generic_expr (dump_file, bit1, 0);
print_generic_expr (dump_file, bit1);
fprintf (dump_file, ") | (1 << ");
print_generic_expr (dump_file, bit2, 0);
print_generic_expr (dump_file, bit2);
fprintf (dump_file, ")\n");
}
@ -523,11 +523,11 @@ ifcombine_ifandif (basic_block inner_cond_bb, bool inner_inv,
if (dump_file)
{
fprintf (dump_file, "optimizing bits or bits test to ");
print_generic_expr (dump_file, name1, 0);
print_generic_expr (dump_file, name1);
fprintf (dump_file, " & T != 0\nwith temporary T = ");
print_generic_expr (dump_file, bits1, 0);
print_generic_expr (dump_file, bits1);
fprintf (dump_file, " | ");
print_generic_expr (dump_file, bits2, 0);
print_generic_expr (dump_file, bits2);
fprintf (dump_file, "\n");
}
@ -607,7 +607,7 @@ ifcombine_ifandif (basic_block inner_cond_bb, bool inner_inv,
if (dump_file)
{
fprintf (dump_file, "optimizing two comparisons to ");
print_generic_expr (dump_file, t, 0);
print_generic_expr (dump_file, t);
fprintf (dump_file, "\n");
}

View file

@ -1010,7 +1010,7 @@ invariantness_dom_walker::before_dom_children (basic_block bb)
if (dump_file && (dump_flags & TDF_DETAILS))
{
print_gimple_stmt (dump_file, stmt, 2, 0);
print_gimple_stmt (dump_file, stmt, 2);
fprintf (dump_file, " invariant up to level %d, cost %d.\n\n",
loop_depth (lim_data->max_loop),
lim_data->cost);
@ -1086,7 +1086,7 @@ invariantness_dom_walker::before_dom_children (basic_block bb)
if (dump_file && (dump_flags & TDF_DETAILS))
{
print_gimple_stmt (dump_file, stmt, 2, 0);
print_gimple_stmt (dump_file, stmt, 2);
fprintf (dump_file, " invariant up to level %d, cost %d.\n\n",
loop_depth (lim_data->max_loop),
lim_data->cost);
@ -1149,7 +1149,7 @@ move_computations_worker (basic_block bb)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Moving PHI node\n");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
fprintf (dump_file, "(cost %u) out of loop %d.\n\n",
cost, level->num);
}
@ -1218,7 +1218,7 @@ move_computations_worker (basic_block bb)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Moving statement\n");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
fprintf (dump_file, "(cost %u) out of loop %d.\n\n",
cost, level->num);
}
@ -1950,7 +1950,7 @@ execute_sm (struct loop *loop, vec<edge> exits, im_mem_ref *ref)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Executing store motion of ");
print_generic_expr (dump_file, ref->mem.ref, 0);
print_generic_expr (dump_file, ref->mem.ref);
fprintf (dump_file, " from loop %d\n", loop->num);
}

View file

@ -248,7 +248,7 @@ tree_estimate_loop_size (struct loop *loop, edge exit, edge edge_to_cancel,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, " size: %3i ", num);
print_gimple_stmt (dump_file, gsi_stmt (gsi), 0, 0);
print_gimple_stmt (dump_file, gsi_stmt (gsi), 0);
}
/* Look for reasons why we might optimize this stmt away. */
@ -512,7 +512,7 @@ remove_exits_and_undefined_stmts (struct loop *loop, unsigned int npeeled)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Forced statement unreachable: ");
print_gimple_stmt (dump_file, elt->stmt, 0, 0);
print_gimple_stmt (dump_file, elt->stmt, 0);
}
}
/* If we know the exit will be taken after peeling, update. */
@ -525,7 +525,7 @@ remove_exits_and_undefined_stmts (struct loop *loop, unsigned int npeeled)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Forced exit to be taken: ");
print_gimple_stmt (dump_file, elt->stmt, 0, 0);
print_gimple_stmt (dump_file, elt->stmt, 0);
}
if (!loop_exit_edge_p (loop, exit_edge))
exit_edge = EDGE_SUCC (bb, 1);
@ -582,7 +582,7 @@ remove_redundant_iv_tests (struct loop *loop)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Removed pointless exit: ");
print_gimple_stmt (dump_file, elt->stmt, 0, 0);
print_gimple_stmt (dump_file, elt->stmt, 0);
}
gcond *cond_stmt = as_a <gcond *> (elt->stmt);
if (exit_edge->flags & EDGE_TRUE_VALUE)

View file

@ -746,7 +746,7 @@ dump_use (FILE *file, struct iv_use *use)
{
fprintf (file, " Use %d.%d:\n", use->group_id, use->id);
fprintf (file, " At stmt:\t");
print_gimple_stmt (file, use->stmt, 0, 0);
print_gimple_stmt (file, use->stmt, 0);
fprintf (file, " At pos:\t");
if (use->op_p)
print_generic_expr (file, *use->op_p, TDF_SLIM);
@ -6943,8 +6943,8 @@ adjust_iv_update_pos (struct iv_cand *cand, struct iv_use *use)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Reordering \n");
print_gimple_stmt (dump_file, iv_update, 0, 0);
print_gimple_stmt (dump_file, use->stmt, 0, 0);
print_gimple_stmt (dump_file, iv_update, 0);
print_gimple_stmt (dump_file, use->stmt, 0);
fprintf (dump_file, "\n");
}

View file

@ -2734,7 +2734,7 @@ bswap_replace (gimple *cur_stmt, gimple *ins_stmt, tree fndecl,
fprintf (dump_file,
"%d bit load in target endianness found at: ",
(int) n->range);
print_gimple_stmt (dump_file, cur_stmt, 0, 0);
print_gimple_stmt (dump_file, cur_stmt, 0);
}
return true;
}
@ -2803,7 +2803,7 @@ bswap_replace (gimple *cur_stmt, gimple *ins_stmt, tree fndecl,
{
fprintf (dump_file, "%d bit bswap implementation found at: ",
(int) n->range);
print_gimple_stmt (dump_file, cur_stmt, 0, 0);
print_gimple_stmt (dump_file, cur_stmt, 0);
}
gsi_insert_after (&gsi, bswap_stmt, GSI_SAME_STMT);

View file

@ -525,11 +525,11 @@ factor_out_conditional_conversion (edge e0, edge e1, gphi *phi,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "PHI ");
print_generic_expr (dump_file, gimple_phi_result (phi), 0);
print_generic_expr (dump_file, gimple_phi_result (phi));
fprintf (dump_file,
" changed to factor conversion out from COND_EXPR.\n");
fprintf (dump_file, "New stmt with CAST that defines ");
print_generic_expr (dump_file, result, 0);
print_generic_expr (dump_file, result);
fprintf (dump_file, ".\n");
}
@ -984,10 +984,10 @@ value_replacement (basic_block cond_bb, basic_block middle_bb,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "PHI ");
print_generic_expr (dump_file, gimple_phi_result (phi), 0);
print_generic_expr (dump_file, gimple_phi_result (phi));
fprintf (dump_file, " reduced for COND_EXPR in block %d to ",
cond_bb->index);
print_generic_expr (dump_file, arg, 0);
print_generic_expr (dump_file, arg);
fprintf (dump_file, ".\n");
}
return 1;

View file

@ -150,7 +150,7 @@ phiprop_insert_phi (basic_block bb, gphi *phi, gimple *use_stmt,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Inserting PHI for result of load ");
print_gimple_stmt (dump_file, use_stmt, 0, 0);
print_gimple_stmt (dump_file, use_stmt, 0);
}
/* Add PHI arguments for each edge inserting loads of the
@ -177,10 +177,10 @@ phiprop_insert_phi (basic_block bb, gphi *phi, gimple *use_stmt,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, " for edge defining ");
print_generic_expr (dump_file, PHI_ARG_DEF_FROM_EDGE (phi, e), 0);
print_generic_expr (dump_file, PHI_ARG_DEF_FROM_EDGE (phi, e));
fprintf (dump_file, " reusing PHI result ");
print_generic_expr (dump_file,
phivn[SSA_NAME_VERSION (old_arg)].value, 0);
phivn[SSA_NAME_VERSION (old_arg)].value);
fprintf (dump_file, "\n");
}
/* Reuse a formerly created dereference. */
@ -210,9 +210,9 @@ phiprop_insert_phi (basic_block bb, gphi *phi, gimple *use_stmt,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, " for edge defining ");
print_generic_expr (dump_file, PHI_ARG_DEF_FROM_EDGE (phi, e), 0);
print_generic_expr (dump_file, PHI_ARG_DEF_FROM_EDGE (phi, e));
fprintf (dump_file, " inserting load ");
print_gimple_stmt (dump_file, tmp, 0, 0);
print_gimple_stmt (dump_file, tmp, 0);
}
}
@ -225,7 +225,7 @@ phiprop_insert_phi (basic_block bb, gphi *phi, gimple *use_stmt,
update_stmt (new_phi);
if (dump_file && (dump_flags & TDF_DETAILS))
print_gimple_stmt (dump_file, new_phi, 0, 0);
print_gimple_stmt (dump_file, new_phi, 0);
}
return res;

View file

@ -990,10 +990,10 @@ print_pre_expr (FILE *outfile, const pre_expr expr)
switch (expr->kind)
{
case CONSTANT:
print_generic_expr (outfile, PRE_EXPR_CONSTANT (expr), 0);
print_generic_expr (outfile, PRE_EXPR_CONSTANT (expr));
break;
case NAME:
print_generic_expr (outfile, PRE_EXPR_NAME (expr), 0);
print_generic_expr (outfile, PRE_EXPR_NAME (expr));
break;
case NARY:
{
@ -1002,7 +1002,7 @@ print_pre_expr (FILE *outfile, const pre_expr expr)
fprintf (outfile, "{%s,", get_tree_code_name (nary->opcode));
for (i = 0; i < nary->length; i++)
{
print_generic_expr (outfile, nary->op[i], 0);
print_generic_expr (outfile, nary->op[i]);
if (i != (unsigned) nary->length - 1)
fprintf (outfile, ",");
}
@ -1033,16 +1033,16 @@ print_pre_expr (FILE *outfile, const pre_expr expr)
}
if (vro->op0)
{
print_generic_expr (outfile, vro->op0, 0);
print_generic_expr (outfile, vro->op0);
if (vro->op1)
{
fprintf (outfile, ",");
print_generic_expr (outfile, vro->op1, 0);
print_generic_expr (outfile, vro->op1);
}
if (vro->op2)
{
fprintf (outfile, ",");
print_generic_expr (outfile, vro->op2, 0);
print_generic_expr (outfile, vro->op2);
}
}
if (closebrace)
@ -1054,7 +1054,7 @@ print_pre_expr (FILE *outfile, const pre_expr expr)
if (ref->vuse)
{
fprintf (outfile, "@");
print_generic_expr (outfile, ref->vuse, 0);
print_generic_expr (outfile, ref->vuse);
}
}
break;
@ -1386,7 +1386,7 @@ get_representative_for (const pre_expr e)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Created SSA_NAME representative ");
print_generic_expr (dump_file, name, 0);
print_generic_expr (dump_file, name);
fprintf (dump_file, " for expression:");
print_pre_expr (dump_file, e);
fprintf (dump_file, " (%04d)\n", value_id);
@ -2961,7 +2961,7 @@ create_expression_by_pieces (basic_block block, pre_expr expr,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Inserted ");
print_gimple_stmt (dump_file, gsi_stmt (gsi_last (*stmts)), 0, 0);
print_gimple_stmt (dump_file, gsi_stmt (gsi_last (*stmts)), 0);
fprintf (dump_file, " in predecessor %d (%04d)\n",
block->index, value_id);
}
@ -3122,7 +3122,7 @@ insert_into_preds_of_block (basic_block block, unsigned int exprnum,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Created phi ");
print_gimple_stmt (dump_file, phi, 0, 0);
print_gimple_stmt (dump_file, phi, 0);
fprintf (dump_file, " in block %d (%04d)\n", block->index, val);
}
pre_stats.phis++;
@ -4147,9 +4147,9 @@ eliminate_insert (gimple_stmt_iterator *gsi, tree val)
if (res)
{
fprintf (dump_file, "Failed to insert expression for value ");
print_generic_expr (dump_file, val, 0);
print_generic_expr (dump_file, val);
fprintf (dump_file, " which is really fully redundant to ");
print_generic_expr (dump_file, res, 0);
print_generic_expr (dump_file, res);
fprintf (dump_file, "\n");
}
}
@ -4169,7 +4169,7 @@ eliminate_insert (gimple_stmt_iterator *gsi, tree val)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Inserted ");
print_gimple_stmt (dump_file, SSA_NAME_DEF_STMT (res), 0, 0);
print_gimple_stmt (dump_file, SSA_NAME_DEF_STMT (res), 0);
}
return res;
@ -4222,9 +4222,9 @@ eliminate_dom_walker::before_dom_children (basic_block b)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Replaced redundant PHI node defining ");
print_generic_expr (dump_file, res, 0);
print_generic_expr (dump_file, res);
fprintf (dump_file, " with ");
print_generic_expr (dump_file, sprime, 0);
print_generic_expr (dump_file, sprime);
fprintf (dump_file, "\n");
}
@ -4370,9 +4370,9 @@ eliminate_dom_walker::before_dom_children (basic_block b)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Not replacing ");
print_gimple_expr (dump_file, stmt, 0, 0);
print_gimple_expr (dump_file, stmt, 0);
fprintf (dump_file, " with ");
print_generic_expr (dump_file, sprime, 0);
print_generic_expr (dump_file, sprime);
fprintf (dump_file, " which would add a loop"
" carried dependence to loop %d\n",
loop->num);
@ -4401,11 +4401,11 @@ eliminate_dom_walker::before_dom_children (basic_block b)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Replaced ");
print_gimple_expr (dump_file, stmt, 0, 0);
print_gimple_expr (dump_file, stmt, 0);
fprintf (dump_file, " with ");
print_generic_expr (dump_file, sprime, 0);
print_generic_expr (dump_file, sprime);
fprintf (dump_file, " in all uses of ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
pre_stats.eliminations++;
@ -4427,11 +4427,11 @@ eliminate_dom_walker::before_dom_children (basic_block b)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Replaced ");
print_gimple_expr (dump_file, stmt, 0, 0);
print_gimple_expr (dump_file, stmt, 0);
fprintf (dump_file, " with ");
print_generic_expr (dump_file, sprime, 0);
print_generic_expr (dump_file, sprime);
fprintf (dump_file, " in ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
if (TREE_CODE (sprime) == SSA_NAME)
@ -4505,7 +4505,7 @@ eliminate_dom_walker::before_dom_children (basic_block b)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Deleted redundant store ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
/* Queue stmt for removal. */
@ -4526,7 +4526,7 @@ eliminate_dom_walker::before_dom_children (basic_block b)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Removing unexecutable edge from ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
if (((EDGE_SUCC (b, 0)->flags & EDGE_TRUE_VALUE) != 0)
== ((EDGE_SUCC (b, 0)->flags & EDGE_EXECUTABLE) != 0))
@ -4847,7 +4847,7 @@ fini_eliminate (void)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Fixing up noreturn call ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
if (fixup_noreturn_call (stmt))
@ -4982,7 +4982,7 @@ remove_dead_inserted_code (void)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Removing unnecessary insertion:");
print_gimple_stmt (dump_file, t, 0, 0);
print_gimple_stmt (dump_file, t, 0);
}
gsi = gsi_for_stmt (t);

View file

@ -1196,7 +1196,7 @@ substitute_and_fold (ssa_prop_get_value_fn get_value_fn,
if (dump_file && dump_flags & TDF_DETAILS)
{
fprintf (dump_file, "Removing dead stmt ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
fprintf (dump_file, "\n");
}
prop_stats.num_dce++;
@ -1224,7 +1224,7 @@ substitute_and_fold (ssa_prop_get_value_fn get_value_fn,
if (dump_file && dump_flags & TDF_DETAILS)
{
fprintf (dump_file, "Fixing up noreturn call ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
fprintf (dump_file, "\n");
}
fixup_noreturn_call (stmt);

View file

@ -454,7 +454,7 @@ get_rank (tree e)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Rank for ");
print_generic_expr (dump_file, e, 0);
print_generic_expr (dump_file, e);
fprintf (dump_file, " is %ld\n", (rank + 1));
}
@ -723,11 +723,11 @@ eliminate_duplicate_pair (enum tree_code opcode,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Equivalence: ");
print_generic_expr (dump_file, curr->op, 0);
print_generic_expr (dump_file, curr->op);
fprintf (dump_file, " [&|minmax] ");
print_generic_expr (dump_file, last->op, 0);
print_generic_expr (dump_file, last->op);
fprintf (dump_file, " -> ");
print_generic_stmt (dump_file, last->op, 0);
print_generic_stmt (dump_file, last->op);
}
ops->ordered_remove (i);
@ -739,9 +739,9 @@ eliminate_duplicate_pair (enum tree_code opcode,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Equivalence: ");
print_generic_expr (dump_file, curr->op, 0);
print_generic_expr (dump_file, curr->op);
fprintf (dump_file, " ^ ");
print_generic_expr (dump_file, last->op, 0);
print_generic_expr (dump_file, last->op);
fprintf (dump_file, " -> nothing\n");
}
@ -810,9 +810,9 @@ eliminate_plus_minus_pair (enum tree_code opcode,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Equivalence: ");
print_generic_expr (dump_file, negateop, 0);
print_generic_expr (dump_file, negateop);
fprintf (dump_file, " + -");
print_generic_expr (dump_file, oe->op, 0);
print_generic_expr (dump_file, oe->op);
fprintf (dump_file, " -> 0\n");
}
@ -831,9 +831,9 @@ eliminate_plus_minus_pair (enum tree_code opcode,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Equivalence: ");
print_generic_expr (dump_file, notop, 0);
print_generic_expr (dump_file, notop);
fprintf (dump_file, " + ~");
print_generic_expr (dump_file, oe->op, 0);
print_generic_expr (dump_file, oe->op);
fprintf (dump_file, " -> -1\n");
}
@ -893,12 +893,12 @@ eliminate_not_pairs (enum tree_code opcode,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Equivalence: ");
print_generic_expr (dump_file, notop, 0);
print_generic_expr (dump_file, notop);
if (opcode == BIT_AND_EXPR)
fprintf (dump_file, " & ~");
else if (opcode == BIT_IOR_EXPR)
fprintf (dump_file, " | ~");
print_generic_expr (dump_file, oe->op, 0);
print_generic_expr (dump_file, oe->op);
if (opcode == BIT_AND_EXPR)
fprintf (dump_file, " -> 0\n");
else if (opcode == BIT_IOR_EXPR)
@ -1655,7 +1655,7 @@ undistribute_ops_list (enum tree_code opcode,
fprintf (dump_file, " %u %s: ", c->cnt,
c->oecode == MULT_EXPR
? "*" : c->oecode == RDIV_EXPR ? "/" : "?");
print_generic_expr (dump_file, c->op, 0);
print_generic_expr (dump_file, c->op);
fprintf (dump_file, "\n");
}
}
@ -1711,7 +1711,7 @@ undistribute_ops_list (enum tree_code opcode,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Building (");
print_generic_expr (dump_file, oe1->op, 0);
print_generic_expr (dump_file, oe1->op);
}
zero_one_operation (&oe1->op, c->oecode, c->op);
EXECUTE_IF_SET_IN_BITMAP (candidates2, first+1, i, sbi0)
@ -1721,7 +1721,7 @@ undistribute_ops_list (enum tree_code opcode,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, " + ");
print_generic_expr (dump_file, oe2->op, 0);
print_generic_expr (dump_file, oe2->op);
}
zero_one_operation (&oe2->op, c->oecode, c->op);
sum = build_and_add_sum (TREE_TYPE (oe1->op),
@ -1737,7 +1737,7 @@ undistribute_ops_list (enum tree_code opcode,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, ") %s ", c->oecode == MULT_EXPR ? "*" : "/");
print_generic_expr (dump_file, c->op, 0);
print_generic_expr (dump_file, c->op);
fprintf (dump_file, "\n");
}
@ -1844,11 +1844,11 @@ eliminate_redundant_comparison (enum tree_code opcode,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Equivalence: ");
print_generic_expr (dump_file, curr->op, 0);
print_generic_expr (dump_file, curr->op);
fprintf (dump_file, " %s ", op_symbol_code (opcode));
print_generic_expr (dump_file, oe->op, 0);
print_generic_expr (dump_file, oe->op);
fprintf (dump_file, " -> ");
print_generic_expr (dump_file, t, 0);
print_generic_expr (dump_file, t);
fprintf (dump_file, "\n");
}
@ -2347,11 +2347,11 @@ update_range_test (struct range_entry *range, struct range_entry *otherrange,
{
struct range_entry *r;
fprintf (dump_file, "Optimizing range tests ");
print_generic_expr (dump_file, range->exp, 0);
print_generic_expr (dump_file, range->exp);
fprintf (dump_file, " %c[", range->in_p ? '+' : '-');
print_generic_expr (dump_file, range->low, 0);
print_generic_expr (dump_file, range->low);
fprintf (dump_file, ", ");
print_generic_expr (dump_file, range->high, 0);
print_generic_expr (dump_file, range->high);
fprintf (dump_file, "]");
for (i = 0; i < count; i++)
{
@ -2360,13 +2360,13 @@ update_range_test (struct range_entry *range, struct range_entry *otherrange,
else
r = otherrangep[i];
fprintf (dump_file, " and %c[", r->in_p ? '+' : '-');
print_generic_expr (dump_file, r->low, 0);
print_generic_expr (dump_file, r->low);
fprintf (dump_file, ", ");
print_generic_expr (dump_file, r->high, 0);
print_generic_expr (dump_file, r->high);
fprintf (dump_file, "]");
}
fprintf (dump_file, "\n into ");
print_generic_expr (dump_file, tem, 0);
print_generic_expr (dump_file, tem);
fprintf (dump_file, "\n");
}
@ -2978,23 +2978,23 @@ optimize_range_tests_var_bound (enum tree_code opcode, int first, int length,
{
struct range_entry *r = &ranges[*idx];
fprintf (dump_file, "Optimizing range test ");
print_generic_expr (dump_file, r->exp, 0);
print_generic_expr (dump_file, r->exp);
fprintf (dump_file, " +[");
print_generic_expr (dump_file, r->low, 0);
print_generic_expr (dump_file, r->low);
fprintf (dump_file, ", ");
print_generic_expr (dump_file, r->high, 0);
print_generic_expr (dump_file, r->high);
fprintf (dump_file, "] and comparison ");
print_generic_expr (dump_file, rhs1, 0);
print_generic_expr (dump_file, rhs1);
fprintf (dump_file, " %s ", op_symbol_code (ccode));
print_generic_expr (dump_file, rhs2, 0);
print_generic_expr (dump_file, rhs2);
fprintf (dump_file, "\n into (");
print_generic_expr (dump_file, utype, 0);
print_generic_expr (dump_file, utype);
fprintf (dump_file, ") ");
print_generic_expr (dump_file, rhs1, 0);
print_generic_expr (dump_file, rhs1);
fprintf (dump_file, " %s (", op_symbol_code (ccode));
print_generic_expr (dump_file, utype, 0);
print_generic_expr (dump_file, utype);
fprintf (dump_file, ") ");
print_generic_expr (dump_file, rhs2, 0);
print_generic_expr (dump_file, rhs2);
fprintf (dump_file, "\n");
}
@ -3284,11 +3284,11 @@ optimize_vec_cond_expr (tree_code opcode, vec<operand_entry *> *ops)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Transforming ");
print_generic_expr (dump_file, cond0, 0);
print_generic_expr (dump_file, cond0);
fprintf (dump_file, " %c ", opcode == BIT_AND_EXPR ? '&' : '|');
print_generic_expr (dump_file, cond1, 0);
print_generic_expr (dump_file, cond1);
fprintf (dump_file, " into ");
print_generic_expr (dump_file, comb, 0);
print_generic_expr (dump_file, comb);
fputc ('\n', dump_file);
}
@ -4219,7 +4219,7 @@ rewrite_expr_tree (gimple *stmt, unsigned int opindex,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Transforming ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
/* If the stmt that defines operand has to be inserted, insert it
@ -4262,7 +4262,7 @@ rewrite_expr_tree (gimple *stmt, unsigned int opindex,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, " into ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
}
return lhs;
@ -4290,7 +4290,7 @@ rewrite_expr_tree (gimple *stmt, unsigned int opindex,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Transforming ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
/* If changed is false, this is either opindex == 0
@ -4328,7 +4328,7 @@ rewrite_expr_tree (gimple *stmt, unsigned int opindex,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, " into ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
}
return lhs;
@ -4488,7 +4488,7 @@ rewrite_expr_tree_parallel (gassign *stmt, int width,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Transforming ");
print_gimple_stmt (dump_file, stmts[i], 0, 0);
print_gimple_stmt (dump_file, stmts[i], 0);
}
/* If the stmt that defines operand has to be inserted, insert it
@ -4514,7 +4514,7 @@ rewrite_expr_tree_parallel (gassign *stmt, int width,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, " into ");
print_gimple_stmt (dump_file, stmts[i], 0, 0);
print_gimple_stmt (dump_file, stmts[i], 0);
}
}
@ -4557,7 +4557,7 @@ linearize_expr (gimple *stmt)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Linearized: ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
reassociate_stats.linearized++;
@ -4698,7 +4698,7 @@ break_up_subtract (gimple *stmt, gimple_stmt_iterator *gsip)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Breaking up subtract ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
rhs2 = negate_value (rhs2, gsip);
@ -4869,7 +4869,7 @@ linearize_expr_tree (vec<operand_entry *> *ops, gimple *stmt,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "swapping operands of ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
swap_ssa_operands (stmt,
@ -4880,7 +4880,7 @@ linearize_expr_tree (vec<operand_entry *> *ops, gimple *stmt,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, " is now ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
/* We want to make it so the lhs is always the reassociative op,
@ -5224,7 +5224,7 @@ attempt_builtin_powi (gimple *stmt, vec<operand_entry *> *ops)
for (elt = j; elt < vec_len; elt++)
{
rf = &repeat_factor_vec[elt];
print_generic_expr (dump_file, rf->factor, 0);
print_generic_expr (dump_file, rf->factor);
if (elt < vec_len - 1)
fputs (" * ", dump_file);
}
@ -5251,7 +5251,7 @@ attempt_builtin_powi (gimple *stmt, vec<operand_entry *> *ops)
for (elt = j; elt < vec_len; elt++)
{
rf = &repeat_factor_vec[elt];
print_generic_expr (dump_file, rf->factor, 0);
print_generic_expr (dump_file, rf->factor);
if (elt < vec_len - 1)
fputs (" * ", dump_file);
}
@ -5285,7 +5285,7 @@ attempt_builtin_powi (gimple *stmt, vec<operand_entry *> *ops)
for (elt = j; elt < vec_len; elt++)
{
rf = &repeat_factor_vec[elt];
print_generic_expr (dump_file, rf->factor, 0);
print_generic_expr (dump_file, rf->factor);
if (elt < vec_len - 1)
fputs (" * ", dump_file);
}
@ -5479,16 +5479,16 @@ attempt_builtin_copysign (vec<operand_entry *> *ops)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Optimizing copysign: ");
print_generic_expr (dump_file, cst, 0);
print_generic_expr (dump_file, cst);
fprintf (dump_file, " * COPYSIGN (");
print_generic_expr (dump_file, arg0, 0);
print_generic_expr (dump_file, arg0);
fprintf (dump_file, ", ");
print_generic_expr (dump_file, arg1, 0);
print_generic_expr (dump_file, arg1);
fprintf (dump_file, ") into %sCOPYSIGN (",
cst1_neg ? "-" : "");
print_generic_expr (dump_file, mul, 0);
print_generic_expr (dump_file, mul);
fprintf (dump_file, ", ");
print_generic_expr (dump_file, arg1, 0);
print_generic_expr (dump_file, arg1);
fprintf (dump_file, "\n");
}
return;
@ -5512,7 +5512,7 @@ transform_stmt_to_copy (gimple_stmt_iterator *gsi, gimple *stmt, tree new_rhs)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Transforming ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
rhs1 = gimple_assign_rhs1 (stmt);
@ -5523,7 +5523,7 @@ transform_stmt_to_copy (gimple_stmt_iterator *gsi, gimple *stmt, tree new_rhs)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, " into ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
}
@ -5536,7 +5536,7 @@ transform_stmt_to_multiply (gimple_stmt_iterator *gsi, gimple *stmt,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Transforming ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
gimple_assign_set_rhs_with_ops (gsi, MULT_EXPR, rhs1, rhs2);
@ -5546,7 +5546,7 @@ transform_stmt_to_multiply (gimple_stmt_iterator *gsi, gimple *stmt,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, " into ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
}
@ -5868,7 +5868,7 @@ dump_ops_vector (FILE *file, vec<operand_entry *> ops)
FOR_EACH_VEC_ELT (ops, i, oe)
{
fprintf (file, "Op %d -> rank: %d, tree: ", i, oe->rank);
print_generic_expr (file, oe->op, 0);
print_generic_expr (file, oe->op);
fprintf (file, "\n");
}
}

View file

@ -1740,7 +1740,7 @@ vn_nary_build_or_lookup_1 (code_helper rcode, tree type, tree *ops,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Inserting name ");
print_generic_expr (dump_file, result, 0);
print_generic_expr (dump_file, result);
fprintf (dump_file, " for expression ");
print_gimple_expr (dump_file, new_stmt, 0, TDF_SLIM);
fprintf (dump_file, "\n");
@ -3157,7 +3157,7 @@ print_scc (FILE *out, vec<tree> scc)
FOR_EACH_VEC_ELT (scc, i, var)
{
fprintf (out, " ");
print_generic_expr (out, var, 0);
print_generic_expr (out, var);
}
fprintf (out, "\n");
}
@ -3279,9 +3279,9 @@ set_ssa_val_to (tree from, tree to)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Not changing value number of ");
print_generic_expr (dump_file, from, 0);
print_generic_expr (dump_file, from);
fprintf (dump_file, " from VARYING to ");
print_generic_expr (dump_file, to, 0);
print_generic_expr (dump_file, to);
fprintf (dump_file, "\n");
}
return false;
@ -3294,11 +3294,11 @@ set_ssa_val_to (tree from, tree to)
{
fprintf (dump_file, "Forcing VARYING instead of changing "
"value number of ");
print_generic_expr (dump_file, from, 0);
print_generic_expr (dump_file, from);
fprintf (dump_file, " from ");
print_generic_expr (dump_file, currval, 0);
print_generic_expr (dump_file, currval);
fprintf (dump_file, " (non-constant) to ");
print_generic_expr (dump_file, to, 0);
print_generic_expr (dump_file, to);
fprintf (dump_file, " (constant)\n");
}
to = from;
@ -3311,9 +3311,9 @@ set_ssa_val_to (tree from, tree to)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Setting value number of ");
print_generic_expr (dump_file, from, 0);
print_generic_expr (dump_file, from);
fprintf (dump_file, " to ");
print_generic_expr (dump_file, to, 0);
print_generic_expr (dump_file, to);
}
if (currval != to
@ -3790,9 +3790,9 @@ visit_reference_op_store (tree lhs, tree op, gimple *stmt)
{
fprintf (dump_file, "No store match\n");
fprintf (dump_file, "Value numbering store ");
print_generic_expr (dump_file, lhs, 0);
print_generic_expr (dump_file, lhs);
fprintf (dump_file, " to ");
print_generic_expr (dump_file, op, 0);
print_generic_expr (dump_file, op);
fprintf (dump_file, "\n");
}
/* Have to set value numbers before insert, since insert is
@ -3934,9 +3934,9 @@ visit_use (tree use)
&& !SSA_NAME_IS_DEFAULT_DEF (use))
{
fprintf (dump_file, "Value numbering ");
print_generic_expr (dump_file, use, 0);
print_generic_expr (dump_file, use);
fprintf (dump_file, " stmt = ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
/* Handle uninitialized uses. */
@ -3967,9 +3967,9 @@ visit_use (tree use)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "RHS ");
print_gimple_expr (dump_file, ass, 0, 0);
print_gimple_expr (dump_file, ass, 0);
fprintf (dump_file, " simplified to ");
print_generic_expr (dump_file, simplified, 0);
print_generic_expr (dump_file, simplified);
fprintf (dump_file, "\n");
}
}
@ -4053,9 +4053,9 @@ visit_use (tree use)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "call ");
print_gimple_expr (dump_file, call_stmt, 0, 0);
print_gimple_expr (dump_file, call_stmt, 0);
fprintf (dump_file, " simplified to ");
print_generic_expr (dump_file, simplified, 0);
print_generic_expr (dump_file, simplified);
fprintf (dump_file, "\n");
}
}
@ -4886,7 +4886,7 @@ sccvn_dom_walker::before_dom_children (basic_block bb)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Visiting control stmt ending BB %d: ", bb->index);
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
/* ??? We can even handle stmts with outgoing EH or ABNORMAL edges
@ -5014,9 +5014,9 @@ run_scc_vn (vn_lookup_kind default_vn_walk_kind_)
if (VN_INFO (name)->visited
&& SSA_VAL (name) != name)
{
print_generic_expr (dump_file, name, 0);
print_generic_expr (dump_file, name);
fprintf (dump_file, " = ");
print_generic_expr (dump_file, SSA_VAL (name), 0);
print_generic_expr (dump_file, SSA_VAL (name));
fprintf (dump_file, "\n");
}
}

View file

@ -215,7 +215,7 @@ avail_exprs_stack::lookup_avail_expr (gimple *stmt, bool insert, bool tbaa_p)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "FIND: ");
print_generic_expr (dump_file, lhs, 0);
print_generic_expr (dump_file, lhs);
fprintf (dump_file, "\n");
}
@ -737,36 +737,36 @@ expr_hash_elt::print (FILE *stream)
if (m_lhs)
{
print_generic_expr (stream, m_lhs, 0);
print_generic_expr (stream, m_lhs);
fprintf (stream, " = ");
}
switch (m_expr.kind)
{
case EXPR_SINGLE:
print_generic_expr (stream, m_expr.ops.single.rhs, 0);
break;
print_generic_expr (stream, m_expr.ops.single.rhs);
break;
case EXPR_UNARY:
fprintf (stream, "%s ", get_tree_code_name (m_expr.ops.unary.op));
print_generic_expr (stream, m_expr.ops.unary.opnd, 0);
break;
print_generic_expr (stream, m_expr.ops.unary.opnd);
break;
case EXPR_BINARY:
print_generic_expr (stream, m_expr.ops.binary.opnd0, 0);
print_generic_expr (stream, m_expr.ops.binary.opnd0);
fprintf (stream, " %s ", get_tree_code_name (m_expr.ops.binary.op));
print_generic_expr (stream, m_expr.ops.binary.opnd1, 0);
break;
print_generic_expr (stream, m_expr.ops.binary.opnd1);
break;
case EXPR_TERNARY:
fprintf (stream, " %s <", get_tree_code_name (m_expr.ops.ternary.op));
print_generic_expr (stream, m_expr.ops.ternary.opnd0, 0);
print_generic_expr (stream, m_expr.ops.ternary.opnd0);
fputs (", ", stream);
print_generic_expr (stream, m_expr.ops.ternary.opnd1, 0);
print_generic_expr (stream, m_expr.ops.ternary.opnd1);
fputs (", ", stream);
print_generic_expr (stream, m_expr.ops.ternary.opnd2, 0);
print_generic_expr (stream, m_expr.ops.ternary.opnd2);
fputs (">", stream);
break;
break;
case EXPR_CALL:
{
@ -779,11 +779,11 @@ expr_hash_elt::print (FILE *stream)
fputs (internal_fn_name (gimple_call_internal_fn (fn_from)),
stream);
else
print_generic_expr (stream, gimple_call_fn (fn_from), 0);
print_generic_expr (stream, gimple_call_fn (fn_from));
fprintf (stream, " (");
for (i = 0; i < nargs; i++)
{
print_generic_expr (stream, m_expr.ops.call.args[i], 0);
print_generic_expr (stream, m_expr.ops.call.args[i]);
if (i + 1 < nargs)
fprintf (stream, ", ");
}
@ -799,7 +799,7 @@ expr_hash_elt::print (FILE *stream)
fprintf (stream, "PHI <");
for (i = 0; i < nargs; i++)
{
print_generic_expr (stream, m_expr.ops.phi.args[i], 0);
print_generic_expr (stream, m_expr.ops.phi.args[i]);
if (i + 1 < nargs)
fprintf (stream, ", ");
}
@ -811,7 +811,7 @@ expr_hash_elt::print (FILE *stream)
if (m_vop)
{
fprintf (stream, " with ");
print_generic_expr (stream, m_vop, 0);
print_generic_expr (stream, m_vop);
}
fprintf (stream, "\n");
@ -838,9 +838,9 @@ const_and_copies::pop_to_marker (void)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "<<<< COPY ");
print_generic_expr (dump_file, dest, 0);
print_generic_expr (dump_file, dest);
fprintf (dump_file, " = ");
print_generic_expr (dump_file, SSA_NAME_VALUE (dest), 0);
print_generic_expr (dump_file, SSA_NAME_VALUE (dest));
fprintf (dump_file, "\n");
}
@ -859,9 +859,9 @@ const_and_copies::record_const_or_copy_raw (tree x, tree y, tree prev_x)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "0>>> COPY ");
print_generic_expr (dump_file, x, 0);
print_generic_expr (dump_file, x);
fprintf (dump_file, " = ");
print_generic_expr (dump_file, y, 0);
print_generic_expr (dump_file, y);
fprintf (dump_file, "\n");
}

View file

@ -7453,7 +7453,7 @@ compute_dependence_clique (void)
{
fprintf (dump_file, "found restrict pointed-to "
"for ");
print_generic_expr (dump_file, ptr, 0);
print_generic_expr (dump_file, ptr);
fprintf (dump_file, " but not exclusively\n");
}
restrict_var = NULL;

View file

@ -808,7 +808,7 @@ collect_phi_def_edges (gphi *phi, basic_block cd_root,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "\n[CHECK] Found def edge %d in ", (int) i);
print_gimple_stmt (dump_file, phi, 0, 0);
print_gimple_stmt (dump_file, phi, 0);
}
edges->safe_push (opnd_edge);
}
@ -826,7 +826,7 @@ collect_phi_def_edges (gphi *phi, basic_block cd_root,
{
fprintf (dump_file, "\n[CHECK] Found def edge %d in ",
(int) i);
print_gimple_stmt (dump_file, phi, 0, 0);
print_gimple_stmt (dump_file, phi, 0);
}
edges->safe_push (opnd_edge);
}
@ -899,7 +899,7 @@ dump_predicates (gimple *usestmt, pred_chain_union preds, const char *msg)
size_t i, j;
pred_chain one_pred_chain = vNULL;
fprintf (dump_file, "%s", msg);
print_gimple_stmt (dump_file, usestmt, 0, 0);
print_gimple_stmt (dump_file, usestmt, 0);
fprintf (dump_file, "is guarded by :\n\n");
size_t num_preds = preds.length ();
/* Do some dumping here: */
@ -915,9 +915,9 @@ dump_predicates (gimple *usestmt, pred_chain_union preds, const char *msg)
pred_info one_pred = one_pred_chain[j];
if (one_pred.invert)
fprintf (dump_file, " (.NOT.) ");
print_generic_expr (dump_file, one_pred.pred_lhs, 0);
print_generic_expr (dump_file, one_pred.pred_lhs);
fprintf (dump_file, " %s ", op_symbol_code (one_pred.cond_code));
print_generic_expr (dump_file, one_pred.pred_rhs, 0);
print_generic_expr (dump_file, one_pred.pred_rhs);
if (j < np - 1)
fprintf (dump_file, " (.AND.) ");
else
@ -2472,7 +2472,7 @@ find_uninit_use (gphi *phi, unsigned uninit_opnds,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "[CHECK]: Found unguarded use: ");
print_gimple_stmt (dump_file, use_stmt, 0, 0);
print_gimple_stmt (dump_file, use_stmt, 0);
}
/* Found one real use, return. */
if (gimple_code (use_stmt) != GIMPLE_PHI)
@ -2488,7 +2488,7 @@ find_uninit_use (gphi *phi, unsigned uninit_opnds,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "[WORKLIST]: Update worklist with phi: ");
print_gimple_stmt (dump_file, use_stmt, 0, 0);
print_gimple_stmt (dump_file, use_stmt, 0);
}
worklist->safe_push (as_a<gphi *> (use_stmt));
@ -2530,7 +2530,7 @@ warn_uninitialized_phi (gphi *phi, vec<gphi *> *worklist,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "[CHECK]: examining phi: ");
print_gimple_stmt (dump_file, phi, 0, 0);
print_gimple_stmt (dump_file, phi, 0);
}
/* Now check if we have any use of the value without proper guard. */
@ -2632,7 +2632,7 @@ pass_late_warn_uninitialized::execute (function *fun)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "[WORKLIST]: add to initial list: ");
print_gimple_stmt (dump_file, phi, 0, 0);
print_gimple_stmt (dump_file, phi, 0);
}
break;
}

View file

@ -640,8 +640,8 @@ verify_vssa (basic_block bb, tree current_vdef, sbitmap visited)
if (phi)
{
error ("multiple virtual PHI nodes in BB %d", bb->index);
print_gimple_stmt (stderr, phi, 0, 0);
print_gimple_stmt (stderr, si.phi (), 0, 0);
print_gimple_stmt (stderr, phi, 0);
print_gimple_stmt (stderr, si.phi (), 0);
err = true;
}
else
@ -654,7 +654,7 @@ verify_vssa (basic_block bb, tree current_vdef, sbitmap visited)
if (TREE_CODE (current_vdef) != SSA_NAME)
{
error ("virtual definition is not an SSA name");
print_gimple_stmt (stderr, phi, 0, 0);
print_gimple_stmt (stderr, phi, 0);
err = true;
}
}
@ -672,7 +672,7 @@ verify_vssa (basic_block bb, tree current_vdef, sbitmap visited)
error ("stmt with wrong VUSE");
print_gimple_stmt (stderr, stmt, 0, TDF_VOPS);
fprintf (stderr, "expected ");
print_generic_expr (stderr, current_vdef, 0);
print_generic_expr (stderr, current_vdef);
fprintf (stderr, "\n");
err = true;
}
@ -683,7 +683,7 @@ verify_vssa (basic_block bb, tree current_vdef, sbitmap visited)
if (TREE_CODE (current_vdef) != SSA_NAME)
{
error ("virtual definition is not an SSA name");
print_gimple_stmt (stderr, phi, 0, 0);
print_gimple_stmt (stderr, phi, 0);
err = true;
}
}
@ -703,7 +703,7 @@ verify_vssa (basic_block bb, tree current_vdef, sbitmap visited)
e->src->index);
print_gimple_stmt (stderr, phi, 0, TDF_VOPS);
fprintf (stderr, "expected ");
print_generic_expr (stderr, current_vdef, 0);
print_generic_expr (stderr, current_vdef);
fprintf (stderr, "\n");
err = true;
}
@ -820,7 +820,7 @@ verify_def (basic_block bb, basic_block *definition_block, tree ssa_name,
err:
fprintf (stderr, "while verifying SSA_NAME ");
print_generic_expr (stderr, ssa_name, 0);
print_generic_expr (stderr, ssa_name);
fprintf (stderr, " in statement\n");
print_gimple_stmt (stderr, stmt, 4, TDF_VOPS);
@ -1062,9 +1062,9 @@ verify_ssa (bool check_modified_stmt, bool check_ssa_operands)
if (existed)
{
error ("shared SSA name info");
print_generic_expr (stderr, val, 0);
print_generic_expr (stderr, val);
fprintf (stderr, " and ");
print_generic_expr (stderr, name, 0);
print_generic_expr (stderr, name);
fprintf (stderr, "\n");
goto err;
}
@ -1564,7 +1564,7 @@ maybe_optimize_var (tree var, bitmap addresses_taken, bitmap not_reg_needs,
if (dump_file)
{
fprintf (dump_file, "No longer having address taken: ");
print_generic_expr (dump_file, var, 0);
print_generic_expr (dump_file, var);
fprintf (dump_file, "\n");
}
}
@ -1581,7 +1581,7 @@ maybe_optimize_var (tree var, bitmap addresses_taken, bitmap not_reg_needs,
if (dump_file)
{
fprintf (dump_file, "Now a gimple register: ");
print_generic_expr (dump_file, var, 0);
print_generic_expr (dump_file, var);
fprintf (dump_file, "\n");
}
}

View file

@ -4417,7 +4417,7 @@ dump_value_range (FILE *file, const value_range *vr)
&& vrp_val_is_min (vr->min))
fprintf (file, "-INF");
else
print_generic_expr (file, vr->min, 0);
print_generic_expr (file, vr->min);
fprintf (file, ", ");
@ -4425,7 +4425,7 @@ dump_value_range (FILE *file, const value_range *vr)
&& vrp_val_is_max (vr->max))
fprintf (file, "+INF");
else
print_generic_expr (file, vr->max, 0);
print_generic_expr (file, vr->max);
fprintf (file, "]");
@ -4438,7 +4438,7 @@ dump_value_range (FILE *file, const value_range *vr)
EXECUTE_IF_SET_IN_BITMAP (vr->equiv, 0, i, bi)
{
print_generic_expr (file, ssa_name (i), 0);
print_generic_expr (file, ssa_name (i));
fprintf (file, " ");
c++;
}
@ -4474,7 +4474,7 @@ dump_all_value_ranges (FILE *file)
{
if (vr_value[i])
{
print_generic_expr (file, ssa_name (i), 0);
print_generic_expr (file, ssa_name (i));
fprintf (file, ": ");
dump_value_range (file, vr_value[i]);
fprintf (file, "\n");
@ -4587,14 +4587,14 @@ dump_asserts_for (FILE *file, tree name)
assert_locus *loc;
fprintf (file, "Assertions to be inserted for ");
print_generic_expr (file, name, 0);
print_generic_expr (file, name);
fprintf (file, "\n");
loc = asserts_for[SSA_NAME_VERSION (name)];
while (loc)
{
fprintf (file, "\t");
print_gimple_stmt (file, gsi_stmt (loc->si), 0, 0);
print_gimple_stmt (file, gsi_stmt (loc->si), 0);
fprintf (file, "\n\tBB #%d", loc->bb->index);
if (loc->e)
{
@ -4603,9 +4603,9 @@ dump_asserts_for (FILE *file, tree name)
dump_edge_info (file, loc->e, dump_flags, 0);
}
fprintf (file, "\n\tPREDICATE: ");
print_generic_expr (file, loc->expr, 0);
print_generic_expr (file, loc->expr);
fprintf (file, " %s ", get_tree_code_name (loc->comp_code));
print_generic_expr (file, loc->val, 0);
print_generic_expr (file, loc->val);
fprintf (file, "\n\n");
loc = loc->next;
}
@ -5061,9 +5061,9 @@ register_edge_assert_for_2 (tree name, edge e,
if (dump_file)
{
fprintf (dump_file, "Adding assert for ");
print_generic_expr (dump_file, name3, 0);
print_generic_expr (dump_file, name3);
fprintf (dump_file, " from ");
print_generic_expr (dump_file, tmp, 0);
print_generic_expr (dump_file, tmp);
fprintf (dump_file, "\n");
}
@ -5088,9 +5088,9 @@ register_edge_assert_for_2 (tree name, edge e,
if (dump_file)
{
fprintf (dump_file, "Adding assert for ");
print_generic_expr (dump_file, name2, 0);
print_generic_expr (dump_file, name2);
fprintf (dump_file, " from ");
print_generic_expr (dump_file, tmp, 0);
print_generic_expr (dump_file, tmp);
fprintf (dump_file, "\n");
}
@ -5220,9 +5220,9 @@ register_edge_assert_for_2 (tree name, edge e,
if (dump_file)
{
fprintf (dump_file, "Adding assert for ");
print_generic_expr (dump_file, name2, 0);
print_generic_expr (dump_file, name2);
fprintf (dump_file, " from ");
print_generic_expr (dump_file, tmp, 0);
print_generic_expr (dump_file, tmp);
fprintf (dump_file, "\n");
}
@ -5294,9 +5294,9 @@ register_edge_assert_for_2 (tree name, edge e,
if (dump_file)
{
fprintf (dump_file, "Adding assert for ");
print_generic_expr (dump_file, name2, 0);
print_generic_expr (dump_file, name2);
fprintf (dump_file, " from ");
print_generic_expr (dump_file, tmp, 0);
print_generic_expr (dump_file, tmp);
fprintf (dump_file, "\n");
}
@ -5533,9 +5533,9 @@ register_edge_assert_for_2 (tree name, edge e,
if (dump_file)
{
fprintf (dump_file, "Adding assert for ");
print_generic_expr (dump_file, names[i], 0);
print_generic_expr (dump_file, names[i]);
fprintf (dump_file, " from ");
print_generic_expr (dump_file, tmp, 0);
print_generic_expr (dump_file, tmp);
fprintf (dump_file, "\n");
}
@ -7541,13 +7541,13 @@ vrp_visit_cond_stmt (gcond *stmt, edge *taken_edge_p)
ssa_op_iter i;
fprintf (dump_file, "\nVisiting conditional with predicate: ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
fprintf (dump_file, "\nWith known ranges\n");
FOR_EACH_SSA_TREE_OPERAND (use, stmt, i, SSA_OP_USE)
{
fprintf (dump_file, "\t");
print_generic_expr (dump_file, use, 0);
print_generic_expr (dump_file, use);
fprintf (dump_file, ": ");
dump_value_range (dump_file, vr_value[SSA_NAME_VERSION (use)]);
}
@ -7612,7 +7612,7 @@ vrp_visit_cond_stmt (gcond *stmt, edge *taken_edge_p)
if (val == NULL_TREE)
fprintf (dump_file, "DON'T KNOW\n");
else
print_generic_stmt (dump_file, val, 0);
print_generic_stmt (dump_file, val);
}
}
@ -7829,7 +7829,7 @@ vrp_visit_switch_stmt (gswitch *stmt, edge *taken_edge_p)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "\nVisiting switch expression with operand ");
print_generic_expr (dump_file, op, 0);
print_generic_expr (dump_file, op);
fprintf (dump_file, " with known range ");
dump_value_range (dump_file, vr);
fprintf (dump_file, "\n");
@ -7893,7 +7893,7 @@ vrp_visit_switch_stmt (gswitch *stmt, edge *taken_edge_p)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, " will take edge to ");
print_generic_stmt (dump_file, CASE_LABEL (val), 0);
print_generic_stmt (dump_file, CASE_LABEL (val));
}
}
@ -7948,7 +7948,7 @@ vrp_visit_stmt (gimple *stmt, edge *taken_edge_p, tree *output_p)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Found new range for ");
print_generic_expr (dump_file, *output_p, 0);
print_generic_expr (dump_file, *output_p);
fprintf (dump_file, ": ");
dump_value_range (dump_file, &vr);
fprintf (dump_file, "\n");
@ -9037,7 +9037,7 @@ vrp_visit_phi_node (gphi *phi)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Found new range for ");
print_generic_expr (dump_file, lhs, 0);
print_generic_expr (dump_file, lhs);
fprintf (dump_file, ": ");
dump_value_range (dump_file, &vr_result);
fprintf (dump_file, "\n");
@ -9579,7 +9579,7 @@ simplify_cond_using_ranges_1 (gcond *stmt)
if (dump_file)
{
fprintf (dump_file, "Simplified relational ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
fprintf (dump_file, " into ");
}
@ -9591,7 +9591,7 @@ simplify_cond_using_ranges_1 (gcond *stmt)
if (dump_file)
{
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
fprintf (dump_file, "\n");
}
@ -9609,7 +9609,7 @@ simplify_cond_using_ranges_1 (gcond *stmt)
if (dump_file)
{
fprintf (dump_file, "Simplified relational ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
fprintf (dump_file, " into ");
}
@ -9621,7 +9621,7 @@ simplify_cond_using_ranges_1 (gcond *stmt)
if (dump_file)
{
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
fprintf (dump_file, "\n");
}
@ -10335,9 +10335,9 @@ fold_predicate_in (gimple_stmt_iterator *si)
if (dump_file)
{
fprintf (dump_file, "Folding predicate ");
print_gimple_expr (dump_file, stmt, 0, 0);
print_gimple_expr (dump_file, stmt, 0);
fprintf (dump_file, " to ");
print_generic_expr (dump_file, val, 0);
print_generic_expr (dump_file, val);
fprintf (dump_file, "\n");
}
@ -10817,7 +10817,7 @@ evrp_dom_walker::before_dom_children (basic_block bb)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Visiting controlling predicate ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
/* Entering a new scope. Try to see if we can find a VR
here. */
@ -10870,7 +10870,7 @@ evrp_dom_walker::before_dom_children (basic_block bb)
if (interesting && dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Visiting PHI node ");
print_gimple_stmt (dump_file, phi, 0, 0);
print_gimple_stmt (dump_file, phi, 0);
}
if (!has_unvisited_preds
&& interesting)
@ -10933,7 +10933,7 @@ evrp_dom_walker::before_dom_children (basic_block bb)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "Visiting stmt ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
}
if (gcond *cond = dyn_cast <gcond *> (stmt))
@ -11123,7 +11123,7 @@ evrp_dom_walker::push_value_range (tree var, value_range *vr)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "pushing new range for ");
print_generic_expr (dump_file, var, 0);
print_generic_expr (dump_file, var);
fprintf (dump_file, ": ");
dump_value_range (dump_file, vr);
fprintf (dump_file, "\n");
@ -11142,7 +11142,7 @@ evrp_dom_walker::pop_value_range (tree var)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file, "popping range for ");
print_generic_expr (dump_file, var, 0);
print_generic_expr (dump_file, var);
fprintf (dump_file, ", restoring ");
dump_value_range (dump_file, vr);
fprintf (dump_file, "\n");
@ -11194,7 +11194,7 @@ execute_early_vrp ()
if (dump_file && dump_flags & TDF_DETAILS)
{
fprintf (dump_file, "Removing dead stmt ");
print_gimple_stmt (dump_file, stmt, 0, 0);
print_gimple_stmt (dump_file, stmt, 0);
fprintf (dump_file, "\n");
}
gimple_stmt_iterator gsi = gsi_for_stmt (stmt);