GCC Middle and Back End API Reference
dbgcnt.c File Reference
#include "config.h"
#include "system.h"
Include dependency graph for dbgcnt.c:

Data Structures

struct  string2counter_map

Functions

bool dbg_cnt_is_enabled ()
bool dbg_cnt ()
static void dbg_cnt_set_limit_by_index ()
static bool dbg_cnt_set_limit_by_name ()
static const char * dbg_cnt_process_single_pair ()
void dbg_cnt_process_opt ()
void dbg_cnt_list_all_counters ()

Variables

static struct string2counter_map map [debug_counter_number_of_counters]
static unsigned int limit [debug_counter_number_of_counters]
static unsigned int count [debug_counter_number_of_counters]

Function Documentation

bool dbg_cnt_is_enabled ( )

References count, and limit.

Referenced by dbg_cnt().

void dbg_cnt_list_all_counters ( void  )
Print name, limit and count of all counters.    

References count, string2counter_map::counter, limit, and string2counter_map::name.

Referenced by handle_common_deferred_options().

void dbg_cnt_process_opt ( )
static const char* dbg_cnt_process_single_pair ( )
static
Process a single "name:value" pair.
   Returns NULL if there's no valid pair is found.
   Otherwise returns a pointer to the end of the pair.  

References dbg_cnt_set_limit_by_name().

Referenced by dbg_cnt_process_opt().

static void dbg_cnt_set_limit_by_index ( )
static
static bool dbg_cnt_set_limit_by_name ( )
static

Variable Documentation

unsigned int count[debug_counter_number_of_counters]
static

Referenced by accumulate_line_counts(), add_all_node_vals_to_toposort(), add_stmt_info_to_vec(), allocate_reload_reg(), asm_str_count(), bitmap_clear_range(), bitmap_count_bits(), bitmap_set_range(), bitmap_single_bit_set_p(), build_fn_info(), calculate_spill_cost(), cgraph_clone_edge(), cgraph_clone_node(), cgraph_create_edge_1(), cgraph_edge_brings_all_agg_vals_for_node(), cgraph_edge_brings_all_scalars_for_node(), cgraph_update_edges_for_call_stmt_node(), cheap_bb_rtx_cost_p(), collect_switch_conv_info(), compute_working_sets(), connect_traces(), const_binop(), xcallocator< Type >::control_alloc(), copy_bb(), count_bb_insns(), count_candidates(), count_formal_params(), count_occurrences(), count_uses_and_derefs(), create_specialized_node(), xcallocator< Type >::data_alloc(), dbg_cnt(), dbg_cnt_is_enabled(), dbg_cnt_list_all_counters(), dead_or_predicable(), debug_rtx_list(), decide_whether_version_node(), decode_reg_name(), decrease_profile(), df_chain_create_bb_process_use(), df_install_mws(), df_install_ref_incremental(), df_install_refs(), df_mw_hardreg_chain_delete_eq_uses(), df_notes_rescan(), df_ref_change_reg_with_loc_1(), df_reg_chain_mark(), df_reorganize_refs_by_reg_by_reg(), df_sort_and_compress_mws(), df_sort_and_compress_refs(), diagnostic_action_after_output(), do_shift_rotate(), doloop_optimize(), dump_incr_vec(), dump_lv_set(), dump_register(), dump_start(), dup_block_and_redirect(), emit_case_bit_tests(), emit_library_call_value_1(), estimate_function_body_sizes(), estimate_local_effects(), evaluate_properties_for_edge(), execute_cse_reciprocals_1(), execute_fixup_cfg(), expand_builtin_return_addr(), expand_case(), expand_expr_real_1(), expand_gimple_tailcall(), extract_omp_for_data(), fields_length(), find_aggregate_values_for_callers_subset(), find_implicit_sets(), find_more_scalar_values_for_callers_subset(), find_param_candidates(), fold_negate_expr(), fold_relational_const(), fold_unary_loc(), force_nonfallthru_and_redirect(), gather_context_independent_values(), get_info_about_necessary_edges(), get_vector_of_formal_parm_types(), gimple_divmod_fixed_value(), gimple_divmod_fixed_value_transform(), gimple_ic(), gimple_ic_transform(), gimple_mod_pow2(), gimple_mod_pow2_value_transform(), gimple_mod_subtract_transform(), gimple_stringop_fixed_value(), gimple_stringops_transform(), go_define(), haifa_find_rgns(), handle_spec_function(), inline_merge_summary(), inline_node_duplication_hook(), inline_small_functions(), inline_write_summary(), input_cfg(), input_cgraph_opt_section(), input_edge(), input_node(), input_node_opt_summary(), input_refs(), ipa_get_param_decl_index_1(), ipa_get_vector_of_formal_parms(), ipa_print_node_jump_functions_for_edge(), ipa_print_node_params(), ipa_prop_read_section(), ipa_prop_write_all_agg_replacement(), ipa_prop_write_jump_functions(), ipa_read_jump_function(), ipa_read_node_info(), ipa_reference_write_optimization_summary(), ipa_write_jump_function(), ipcp_verify_propagated_values(), keyword_hash_init(), lower_reduction_clauses(), double_int::lshift(), lshift_double(), make_compound_operation(), model_add_to_worklist(), model_choose_insn(), model_promote_insn(), model_set_excess_costs(), mpz_get_double_int(), native_encode_initializer(), native_encode_vector(), native_interpret_vector(), negate_expr_p(), new_mode(), nonzero_bits1(), optimize_macinfo_range(), output_cgraph_opt_summary(), output_file_names(), output_macinfo(), output_refs(), partition_view_fini(), post_order_compute(), print_all_lattices(), propagate_controlled_uses(), propagate_freq(), propagate_pure_const(), pure_const_read_summary(), pure_const_write_summary(), read_agg_replacement_chain(), read_replacements_section(), record_stmt_cost(), reduce_to_bit_field_precision(), reload_cse_simplify(), remove_unused_ivs(), reverse_op(), rgn_estimate_number_of_insns(), double_int::rshift(), rshift_double(), scale_bbs_frequencies_gcov_type(), scale_bbs_frequencies_int(), setup_prohibited_class_mode_regs(), simplify_binary_operation_1(), simplify_shift_const_1(), sms_schedule(), split_edge(), statistics_fini_pass_1(), statistics_fini_pass_2(), store_constructor(), stream_out_bitmap(), stringop_block_profile(), subst_stack_regs_pat(), tag_counters(), update_bb_profile_for_threading(), update_jump_functions_after_inlining(), update_range_test(), update_specialized_profile(), vect_analyze_group_access(), verify_imm_links(), and write_agg_replacement_chain().