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

Public Types

typedef action_recordvalue_type
 
typedef action_recordcompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Hashtable helpers.   

Member Typedef Documentation

◆ compare_type

action_record* pointer_hash< action_record >::compare_type
inherited

◆ value_type

action_record* pointer_hash< action_record >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

bool action_record_hasher::equal ( const action_record * entry,
const action_record * data )
inlinestatic

◆ equal() [2/2]

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

◆ hash() [1/2]

hashval_t action_record_hasher::hash ( const action_record * entry)
inlinestatic

◆ hash() [2/2]

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

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

void typed_free_remove< action_record >::remove ( action_record * p)
inlinestaticinherited
Remove with free.   

Field Documentation

◆ empty_zero_p

const bool pointer_hash< action_record >::empty_zero_p
staticinherited

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