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

Public Types

typedef macinfo_entryvalue_type
 
typedef macinfo_entrycompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Helpers to manipulate hash table of CUs.   

Member Typedef Documentation

◆ compare_type

macinfo_entry* pointer_hash< macinfo_entry >::compare_type
inherited

◆ value_type

macinfo_entry* pointer_hash< macinfo_entry >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

bool macinfo_entry_hasher::equal ( const macinfo_entry * entry1,
const macinfo_entry * entry2 )
inlinestatic

◆ equal() [2/2]

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

◆ hash() [1/2]

hashval_t macinfo_entry_hasher::hash ( const macinfo_entry * entry)
inlinestatic

◆ hash() [2/2]

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

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

void typed_noop_remove< macinfo_entry * >::remove ( macinfo_entry * & )
inlinestaticinherited
Remove doing nothing.   

Field Documentation

◆ empty_zero_p

const bool pointer_hash< macinfo_entry >::empty_zero_p
staticinherited

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