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_pair value_type
typedef coalesce_pair compare_type

Static Public Member Functions

static hashval_t hash (const value_type *)
static bool equal (const value_type *, const compare_type *)
static void remove (coalesce_pair *p)

Detailed Description

Coalesce pair hashtable helpers.   

Member Typedef Documentation


Member Function Documentation

bool coalesce_pair_hasher::equal ( const value_type p1,
const compare_type 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.

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

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

Referenced by find_coalesce_pair().

static void typed_noop_remove< coalesce_pair >::remove ( coalesce_pair p)
inlinestaticinherited
Remove doing nothing.   

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