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

Public Types

typedef tree_node * value_type
 
typedef tree_node * compare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Candidate hash table helpers.   

Member Typedef Documentation

◆ compare_type

tree_node* pointer_hash< tree_node >::compare_type
inherited

◆ value_type

tree_node* pointer_hash< tree_node >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

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

◆ equal() [2/2]

bool uid_decl_hasher::equal ( const tree_node * a,
const tree_node * b )
inlinestatic
Return true if the DECL_UID in both trees are equal.   

References a, and b.

◆ hash() [1/2]

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

◆ hash() [2/2]

hashval_t uid_decl_hasher::hash ( const tree_node * item)
inlinestatic
Hash a tree in a uid_decl_map.   

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

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

Field Documentation

◆ empty_zero_p

const bool pointer_hash< tree_node >::empty_zero_p
staticinherited

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