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

Public Types

typedef const char ** value_type
 
typedef const char ** compare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Event hashtable helpers.   

Member Typedef Documentation

◆ compare_type

typedef const char ** pointer_hash< const char * >::compare_type
inherited

◆ value_type

typedef const char ** pointer_hash< const char * >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

bool event_hasher::equal ( const char ** s1,
const char ** s2 )
inlinestatic
Helper function for the event hash table that compares the name of an
existing entry (S1) with the given string (S2).   

◆ equal() [2/2]

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

◆ hash() [1/2]

hashval_t event_hasher::hash ( const char ** v)
inlinestatic
Helper function for the event hash table that hashes the entry V.   

◆ hash() [2/2]

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

◆ is_deleted()

bool pointer_hash< const char * >::is_deleted ( const char * * e)
inlinestaticinherited

◆ is_empty()

bool pointer_hash< const char * >::is_empty ( const char * * e)
inlinestaticinherited

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

template<typename Type >
void typed_noop_remove< Type >::remove ( Type & )
inlinestaticinherited
Remove doing nothing.   

Field Documentation

◆ empty_zero_p

const bool pointer_hash< const char * >::empty_zero_p
staticinherited

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