GCC Middle and Back End API Reference
|
Public Member Functions | |
function_info () | |
~function_info () | |
bool | group_line_p (unsigned n, unsigned src_idx) |
char * | get_demangled_name () |
char * | get_name () |
unsigned | get_block_count () |
Static Public Member Functions | |
static bool | is_artificial (function_info *fn) |
Data Fields | |
char * | m_name |
char * | m_demangled_name |
unsigned | ident |
unsigned | lineno_checksum |
unsigned | cfg_checksum |
unsigned | has_catch: 1 |
unsigned | artificial: 1 |
unsigned | is_group: 1 |
vector< block_info > | blocks |
unsigned | blocks_executed |
vector< condition_info * > | conditions |
vector< gcov_type > | counts |
unsigned | start_line |
unsigned | start_column |
unsigned | end_line |
unsigned | end_column |
unsigned | src |
vector< line_info > | lines |
class function_info * | next |
Describes a single function. Contains an array of basic blocks.
function_info::function_info | ( | ) |
function_info::~function_info | ( | ) |
References blocks, free(), i, m_demangled_name, and m_name.
|
inline |
References blocks.
Referenced by output_function_details().
|
inline |
References m_demangled_name, m_name, and NULL.
Referenced by get_name(), and read_graph_file().
|
inline |
References flag_demangled_names, get_demangled_name(), and m_name.
Referenced by add_line_counts(), source_info::debug(), generate_results(), output_function_details(), output_lines(), read_count_file(), read_graph_file(), and solve_flow_graph().
bool function_info::group_line_p | ( | unsigned | n, |
unsigned | src_idx ) |
References end_line, is_group, src, and start_line.
Referenced by add_line_counts().
|
inlinestatic |
References artificial.
Referenced by process_all_functions().
unsigned function_info::artificial |
Referenced by is_artificial(), and read_graph_file().
vector<block_info> function_info::blocks |
unsigned function_info::blocks_executed |
Referenced by add_line_counts(), and output_function_details().
unsigned function_info::cfg_checksum |
Referenced by read_count_file(), and read_graph_file().
vector<condition_info*> function_info::conditions |
Referenced by read_count_file(), and read_graph_file().
vector<gcov_type> function_info::counts |
Referenced by process_all_functions(), read_count_file(), read_graph_file(), and solve_flow_graph().
unsigned function_info::end_column |
Referenced by read_graph_file().
unsigned function_info::end_line |
Referenced by group_line_p(), output_json_intermediate_file(), output_lines(), process_all_functions(), and read_graph_file().
unsigned function_info::has_catch |
Referenced by process_all_functions(), and read_graph_file().
unsigned function_info::ident |
Referenced by read_graph_file().
unsigned function_info::is_group |
Referenced by accumulate_line_counts(), group_line_p(), and process_all_functions().
unsigned function_info::lineno_checksum |
Referenced by read_count_file(), and read_graph_file().
vector<line_info> function_info::lines |
Referenced by accumulate_line_counts(), add_line_counts(), output_lines(), and process_all_functions().
char* function_info::m_demangled_name |
Referenced by get_demangled_name(), and ~function_info().
char* function_info::m_name |
Referenced by get_demangled_name(), get_name(), output_json_intermediate_file(), read_graph_file(), and ~function_info().
class function_info* function_info::next |
unsigned function_info::src |
Referenced by accumulate_line_counts(), group_line_p(), process_all_functions(), and read_graph_file().
unsigned function_info::start_column |
Referenced by read_graph_file().
unsigned function_info::start_line |