|
GCC Middle and Back End API Reference
|
Public Member Functions | |
| path_info () | |
| const vector< vector< unsigned > > & | get_paths () const |
| size_t | path_count () const |
| size_t | suppressed_count () const |
| bool | suppressed_p () const |
| unsigned | covered_paths () const |
| bool | covered_p (size_t n) const |
| void | suppress_blocks (const vector< bool > &suppressed) |
Data Fields | |
| vector< vector< unsigned > > | paths |
| vector< gcov_type_unsigned > | covered |
| vector< vector< unsigned > > | residual_paths |
| vector< gcov_type_unsigned > | residual_covered |
Static Public Attributes | |
| static const size_t | bucketsize = sizeof (gcov_type_unsigned) * BITS_PER_UNIT |
Describes (prime) path coverage.
|
inline |
References bucketsize, covered, residual_covered, and suppressed_p().
Referenced by json_set_prime_path_coverage(), print_prime_path_lines(), print_prime_path_source(), and suppress_blocks().
|
inline |
References covered, popcount_hwi(), residual_covered, and suppressed_p().
Referenced by add_path_counts(), json_set_prime_path_coverage(), and output_path_coverage().
|
inline |
References paths, residual_paths, and suppressed_p().
Referenced by json_set_prime_path_coverage(), output_path_coverage(), and path_count().
|
inline |
References get_paths().
Referenced by add_path_counts(), json_set_prime_path_coverage(), output_path_coverage(), and suppressed_count().
| void path_info::suppress_blocks | ( | const vector< bool > & | suppressed | ) |
Compute the new paths and coverage by ignoring the blocks in SUPPRESSED. Does nothing when SUPPRESSED is empty. This only adds the new interpretation and does not change the observed path and coverage info.
References bucketsize, covered_p(), i, map, path, paths, remove_tombstones(), residual_covered, residual_paths, and subsumed_by_any_p().
Referenced by process_all_functions().
|
inline |
References path_count(), and paths.
Referenced by add_path_counts(), json_set_prime_path_coverage(), and output_path_coverage().
|
inline |
References residual_paths.
Referenced by covered_p(), covered_paths(), get_paths(), and output_path_coverage().
|
static |
Referenced by covered_p(), read_graph_file(), and suppress_blocks().
| vector<gcov_type_unsigned> path_info::covered |
Referenced by covered_p(), covered_paths(), find_prime_paths(), path_info(), read_count_file(), and read_graph_file().
| vector<vector<unsigned> > path_info::paths |
Referenced by find_prime_paths(), get_paths(), output_path_coverage(), path_info(), suppress_blocks(), and suppressed_count().
| vector<gcov_type_unsigned> path_info::residual_covered |
Referenced by covered_p(), covered_paths(), and suppress_blocks().
| vector<vector<unsigned> > path_info::residual_paths |
Referenced by get_paths(), suppress_blocks(), and suppressed_p().