GCC Middle and Back End API Reference
|
#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "diagnostic-core.h"
#include "dumpfile.h"
#include "dbgcnt.h"
#include "dbgcnt.def"
Data Structures | |
struct | string2counter_map |
Macros | |
#define | DEBUG_COUNTER(a) { #a , a }, |
#define | DEBUG_COUNTER(a) UINT_MAX, |
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] |
#define DEBUG_COUNTER | ( | a | ) | { #a , a }, |
#define DEBUG_COUNTER | ( | a | ) | UINT_MAX, |
bool dbg_cnt | ( | ) |
References count, dbg_cnt_is_enabled(), dump_file, limit, and string2counter_map::name.
Referenced by convert_callers(), dse_step3(), dse_step5_nospill(), find_rtx_in_ldst(), is_too_expensive(), and sra_modify_function_body().
void dbg_cnt_list_all_counters | ( | void | ) |
Print name, limit and count of all counters.
void dbg_cnt_process_opt | ( | ) |
References dbg_cnt_process_single_pair(), and NULL.
|
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.
Referenced by dbg_cnt_process_opt().
|
static |
References limit, and string2counter_map::name.
Referenced by dbg_cnt_set_limit_by_name().
|
static |
References dbg_cnt_set_limit_by_index(), and debug_counter_number_of_counters.
|
static |
Referenced by add_data_member_location_attribute(), bitmap_bit_p(), case_bit_test_cmp(), cgraph_clone_edge(), xcallocator< Type >::control_alloc(), count_uses_and_derefs(), dbg_cnt(), dbg_cnt_is_enabled(), debug(), df_install_ref(), df_ref_equal_p(), diagnostic_action_after_output(), gcc::dump_manager::dump_manager(), histogram_hash::equal(), find_mode(), find_reg_classes(), gate_intra_sra(), input_cfg(), input_cgraph_1(), input_overwrite_node(), ipa_func_spec_opts_forbid_analysis_p(), is_task_ctx(), mangle_name(), pseudo_reg_compare(), record_insns(), record_stmt_cost(), remap_edge_change_prob(), remove_node_data(), rewrite_use_nonlinear_expr(), split_complex_types(), double_int::umax(), double_int::umod(), and update_specialized_profile().
|
static |
|
static |