GCC Middle and Back End API Reference
path_info Class 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_unsignedcovered
vector< vector< unsigned > > residual_paths
vector< gcov_type_unsignedresidual_covered

Static Public Attributes

static const size_t bucketsize = sizeof (gcov_type_unsigned) * BITS_PER_UNIT

Detailed Description

Describes (prime) path coverage.   

Constructor & Destructor Documentation

◆ path_info()

path_info::path_info ( )
inline

References covered, and paths.

Member Function Documentation

◆ covered_p()

◆ covered_paths()

unsigned path_info::covered_paths ( ) const
inline

◆ get_paths()

const vector< vector< unsigned > > & path_info::get_paths ( ) const
inline

◆ path_count()

size_t path_info::path_count ( ) const
inline

◆ suppress_blocks()

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().

◆ suppressed_count()

size_t path_info::suppressed_count ( ) const
inline

◆ suppressed_p()

bool path_info::suppressed_p ( ) const
inline

Field Documentation

◆ bucketsize

const size_t path_info::bucketsize = sizeof (gcov_type_unsigned) * BITS_PER_UNIT
static

◆ covered

◆ paths

vector<vector<unsigned> > path_info::paths

◆ residual_covered

vector<gcov_type_unsigned> path_info::residual_covered

◆ residual_paths

vector<vector<unsigned> > path_info::residual_paths

The documentation for this class was generated from the following file: