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

Public Types

typedef die_structcompare_type
 
typedef decl_table_entryvalue_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Helpers to manipulate hash table of copied declarations.   
Hashtable helpers.   

Member Typedef Documentation

◆ compare_type

◆ value_type

decl_table_entry* pointer_hash< decl_table_entry >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

bool decl_table_entry_hasher::equal ( const decl_table_entry * entry1,
const die_struct * entry2 )
inlinestatic

◆ equal() [2/2]

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

◆ hash() [1/2]

hashval_t decl_table_entry_hasher::hash ( const decl_table_entry * entry)
inlinestatic

◆ hash() [2/2]

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

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

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

Field Documentation

◆ empty_zero_p

const bool pointer_hash< decl_table_entry >::empty_zero_p
staticinherited

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