|
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 |
| path_info | paths |
| 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 | ( | ) |
References artificial, blocks, blocks_executed, cfg_checksum, counts, end_column, end_line, has_catch, ident, is_group, lineno_checksum, lines, m_demangled_name, m_name, next, NULL, src, start_column, and start_line.
Referenced by is_artificial().
| 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, and function_info().
Referenced by process_all_functions().
| unsigned function_info::artificial |
Referenced by function_info(), is_artificial(), and read_graph_file().
| vector<block_info> function_info::blocks |
Referenced by add_line_counts(), source_info::debug(), find_exception_blocks(), find_prime_paths(), function_info(), generate_results(), get_block_count(), json_set_prime_path_coverage(), output_function_details(), print_prime_path_lines(), print_prime_path_source(), process_all_functions(), read_graph_file(), solve_flow_graph(), and ~function_info().
| unsigned function_info::blocks_executed |
Referenced by add_line_counts(), function_info(), and output_function_details().
| unsigned function_info::cfg_checksum |
Referenced by function_info(), 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 function_info(), process_all_functions(), read_count_file(), read_graph_file(), and solve_flow_graph().
| unsigned function_info::end_column |
Referenced by function_info(), and read_graph_file().
| unsigned function_info::end_line |
Referenced by function_info(), group_line_p(), output_json_intermediate_file(), output_lines(), process_all_functions(), and read_graph_file().
| unsigned function_info::has_catch |
Referenced by function_info(), process_all_functions(), and read_graph_file().
| unsigned function_info::ident |
Referenced by function_info(), and read_graph_file().
| unsigned function_info::is_group |
Referenced by accumulate_line_counts(), function_info(), group_line_p(), and process_all_functions().
| unsigned function_info::lineno_checksum |
Referenced by function_info(), read_count_file(), and read_graph_file().
| vector<line_info> function_info::lines |
Referenced by accumulate_line_counts(), add_line_counts(), function_info(), output_lines(), and process_all_functions().
| char* function_info::m_demangled_name |
Referenced by function_info(), get_demangled_name(), and ~function_info().
| char* function_info::m_name |
Referenced by function_info(), get_demangled_name(), get_name(), output_json_intermediate_file(), read_graph_file(), and ~function_info().
| class function_info* function_info::next |
Referenced by function_info().
| path_info function_info::paths |
| unsigned function_info::src |
| unsigned function_info::start_column |
Referenced by function_info(), and read_graph_file().
| unsigned function_info::start_line |