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

Public Types

typedef comdat_type_nodevalue_type
 
typedef comdat_type_nodecompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Helpers to manipulate hash table of comdat type units.   

Member Typedef Documentation

◆ compare_type

typedef comdat_type_node* pointer_hash< comdat_type_node >::compare_type
inherited

◆ value_type

typedef comdat_type_node* pointer_hash< comdat_type_node >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

bool comdat_type_hasher::equal ( const comdat_type_node * type_node_1,
const comdat_type_node * type_node_2 )
inlinestatic

◆ equal() [2/2]

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

◆ hash() [1/2]

hashval_t comdat_type_hasher::hash ( const comdat_type_node * type_node)
inlinestatic

◆ hash() [2/2]

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

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

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

Field Documentation

◆ empty_zero_p

const bool pointer_hash< comdat_type_node >::empty_zero_p
staticinherited

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