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

Public Types

typedef finally_tree_nodevalue_type
 
typedef finally_tree_nodecompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Hashtable helpers.   

Member Typedef Documentation

◆ compare_type

finally_tree_node* pointer_hash< finally_tree_node >::compare_type
inherited

◆ value_type

Member Function Documentation

◆ equal() [1/2]

bool finally_tree_hasher::equal ( const finally_tree_node * v,
const finally_tree_node * c )
inlinestatic

◆ equal() [2/2]

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

◆ hash() [1/2]

hashval_t finally_tree_hasher::hash ( const finally_tree_node * v)
inlinestatic

◆ hash() [2/2]

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

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

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

Field Documentation

◆ empty_zero_p

const bool pointer_hash< finally_tree_node >::empty_zero_p
staticinherited

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