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

Public Types

typedef ref_to_bbvalue_type
 
typedef ref_to_bbcompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Hashtable helpers.   

Member Typedef Documentation

◆ compare_type

ref_to_bb* pointer_hash< ref_to_bb >::compare_type
inherited

◆ value_type

ref_to_bb* pointer_hash< ref_to_bb >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

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

◆ equal() [2/2]

bool refs_hasher::equal ( const ref_to_bb * n1,
const ref_to_bb * n2 )
inlinestatic
The equality function of *P1 and *P2.   

References ref_to_bb::exp, OEP_ADDRESS_OF, operand_equal_p(), and ref_to_bb::size.

◆ hash() [1/2]

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

◆ hash() [2/2]

hashval_t refs_hasher::hash ( const ref_to_bb * n)
inlinestatic

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

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

Field Documentation

◆ empty_zero_p

const bool pointer_hash< ref_to_bb >::empty_zero_p
staticinherited

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