GCC Middle and Back End API Reference
counts_entry Struct Reference
Inheritance diagram for counts_entry:
Collaboration diagram for counts_entry:

Public Types

typedef counts_entryvalue_type
typedef counts_entrycompare_type

Static Public Member Functions

static hashval_t hash (const counts_entry *)
static int equal (const counts_entry *, const counts_entry *)
static void remove (counts_entry *)
static hashval_t hash (const value_type &)
static bool equal (const value_type &existing, const compare_type &candidate)
static void mark_deleted (counts_entry *&)
static void mark_empty (counts_entry *&)
static bool is_deleted (counts_entry *)
static bool is_empty (counts_entry *)

Data Fields

unsigned ident
unsigned ctr
unsigned lineno_checksum
unsigned cfg_checksum
gcov_typecounts
unsigned n_counts

Static Public Attributes

static const bool empty_zero_p

Detailed Description

Counts information for a function.

Member Typedef Documentation

◆ compare_type

typedef counts_entry* pointer_hash< counts_entry >::compare_type
inherited

◆ value_type

typedef counts_entry* pointer_hash< counts_entry >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

int counts_entry::equal ( const counts_entry * entry1,
const counts_entry * entry2 )
inlinestatic

References ctr, and ident.

◆ equal() [2/2]

bool pointer_hash< counts_entry >::equal ( const value_type & existing,
const compare_type & candidate )
inlinestaticinherited

◆ hash() [1/2]

hashval_t counts_entry::hash ( const counts_entry * entry)
inlinestatic

References ctr, GCOV_COUNTERS, and ident.

◆ hash() [2/2]

hashval_t pointer_hash< counts_entry >::hash ( const value_type & candidate)
inlinestaticinherited

◆ is_deleted()

bool pointer_hash< counts_entry >::is_deleted ( counts_entry * e)
inlinestaticinherited

◆ is_empty()

bool pointer_hash< counts_entry >::is_empty ( counts_entry * e)
inlinestaticinherited

◆ mark_deleted()

void pointer_hash< counts_entry >::mark_deleted ( counts_entry *& e)
inlinestaticinherited

◆ mark_empty()

void pointer_hash< counts_entry >::mark_empty ( counts_entry *& e)
inlinestaticinherited

◆ remove()

void counts_entry::remove ( counts_entry * entry)
inlinestatic

References counts, and free().

Field Documentation

◆ cfg_checksum

unsigned counts_entry::cfg_checksum

◆ counts

gcov_type* counts_entry::counts

◆ ctr

unsigned counts_entry::ctr

◆ empty_zero_p

const bool pointer_hash< counts_entry >::empty_zero_p
staticinherited

◆ ident

unsigned counts_entry::ident

◆ lineno_checksum

unsigned counts_entry::lineno_checksum

◆ n_counts

unsigned counts_entry::n_counts

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