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

Public Types

typedef equiv_class_labelvalue_type
 
typedef equiv_class_labelcompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Equiv_class_label hashtable helpers.   

Member Typedef Documentation

◆ compare_type

typedef equiv_class_label* pointer_hash< equiv_class_label >::compare_type
inherited

◆ value_type

typedef equiv_class_label* pointer_hash< equiv_class_label >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

bool equiv_class_hasher::equal ( const equiv_class_label * eql1,
const equiv_class_label * eql2 )
inlinestatic
Equality function for two equiv_class_label_t's.   

References bitmap_equal_p(), equiv_class_label::hashcode, and equiv_class_label::labels.

◆ equal() [2/2]

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

◆ hash() [1/2]

hashval_t equiv_class_hasher::hash ( const equiv_class_label * ecl)
inlinestatic
Hash function for a equiv_class_label_t  

References equiv_class_label::hashcode.

◆ hash() [2/2]

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

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

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

Field Documentation

◆ empty_zero_p

const bool pointer_hash< equiv_class_label >::empty_zero_p
staticinherited

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