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

Public Types

typedef Typevalue_type
 
typedef Typecompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p = true
 

Detailed Description

End of hashtable functions for "registered" hashtables.   
Hashtable definition and functions for vtbl_map_hash.   

Member Typedef Documentation

◆ compare_type

template<typename Type >
typedef Type* pointer_hash< Type >::compare_type
inherited

◆ value_type

template<typename Type >
typedef Type* pointer_hash< Type >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

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

References candidate(), and ggc_alloc().

◆ equal() [2/2]

bool vtbl_map_hasher::equal ( const vtbl_map_node * p1,
const vtbl_map_node * p2 )
inlinestatic
Returns nonzero if P1 and P2 are equal.   

References vtbl_map_node::class_name, ggc_alloc(), and IDENTIFIER_HASH_VALUE.

◆ hash() [1/2]

template<typename Type >
hashval_t pointer_hash< Type >::hash ( const value_type & candidate)
inlinestaticinherited

References candidate(), and ggc_alloc().

◆ hash() [2/2]

hashval_t vtbl_map_hasher::hash ( const vtbl_map_node * p)
inlinestatic
Returns a hash code for P.   

References vtbl_map_node::class_name, ggc_alloc(), and IDENTIFIER_HASH_VALUE.

◆ is_deleted()

template<typename Type >
bool pointer_hash< Type >::is_deleted ( Type * e)
inlinestaticinherited

References ggc_alloc().

◆ is_empty()

template<typename Type >
bool pointer_hash< Type >::is_empty ( Type * e)
inlinestaticinherited

References NULL.

◆ mark_deleted()

template<typename Type >
void pointer_hash< Type >::mark_deleted ( Type *& e)
inlinestaticinherited

References ggc_alloc().

◆ mark_empty()

template<typename Type >
void pointer_hash< Type >::mark_empty ( Type *& e)
inlinestaticinherited

References NULL.

◆ remove()

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

Field Documentation

◆ empty_zero_p

template<typename Type >
const bool pointer_hash< Type >::empty_zero_p = true
staticinherited

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