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 struct vtbl_map_nodevalue_type
 
typedef struct vtbl_map_nodecompare_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 (struct vtbl_map_node *&)
 
static void mark_empty (struct vtbl_map_node *&)
 
static bool is_deleted (struct vtbl_map_node *)
 
static bool is_empty (struct vtbl_map_node *)
 
static void remove (struct vtbl_map_node *&)
 

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

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

Member Typedef Documentation

◆ compare_type

struct vtbl_map_node* pointer_hash< struct vtbl_map_node >::compare_type
inherited

◆ value_type

struct vtbl_map_node* pointer_hash< struct vtbl_map_node >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

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

◆ 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, and IDENTIFIER_HASH_VALUE.

◆ hash() [1/2]

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

◆ 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, and IDENTIFIER_HASH_VALUE.

◆ is_deleted()

bool pointer_hash< struct vtbl_map_node >::is_deleted ( struct vtbl_map_node * e)
inlinestaticinherited

◆ is_empty()

bool pointer_hash< struct vtbl_map_node >::is_empty ( struct vtbl_map_node * e)
inlinestaticinherited

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

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

Field Documentation

◆ empty_zero_p

const bool pointer_hash< struct vtbl_map_node >::empty_zero_p
staticinherited

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