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

Public Types

typedef coalesce_pairvalue_type
 
typedef coalesce_paircompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Coalesce pair hashtable helpers.   

Member Typedef Documentation

◆ compare_type

typedef coalesce_pair* pointer_hash< coalesce_pair >::compare_type
inherited

◆ value_type

typedef coalesce_pair* pointer_hash< coalesce_pair >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

bool coalesce_pair_hasher::equal ( const coalesce_pair * p1,
const coalesce_pair * p2 )
inlinestatic
Equality function for coalesce list hash table.  Compare PAIR1 and PAIR2,
returning TRUE if the two pairs are equivalent.   

References coalesce_pair::first_element, and coalesce_pair::second_element.

◆ equal() [2/2]

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

◆ hash() [1/2]

hashval_t coalesce_pair_hasher::hash ( const coalesce_pair * pair)
inlinestatic
Hash function for coalesce list.  Calculate hash for PAIR.    

References a, and b.

Referenced by find_coalesce_pair().

◆ hash() [2/2]

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

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

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

Field Documentation

◆ empty_zero_p

const bool pointer_hash< coalesce_pair >::empty_zero_p
staticinherited

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