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

Public Types

typedef vn_reference_svalue_type
 
typedef vn_reference_scompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

vn_reference hashtable helpers.   

Member Typedef Documentation

◆ compare_type

typedef vn_reference_s* pointer_hash< vn_reference_s >::compare_type
inherited

◆ value_type

typedef vn_reference_s* pointer_hash< vn_reference_s >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

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

◆ equal() [2/2]

bool vn_reference_hasher::equal ( const vn_reference_s * v,
const vn_reference_s * c )
inlinestatic

References vn_reference_eq().

◆ hash() [1/2]

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

◆ hash() [2/2]

hashval_t vn_reference_hasher::hash ( const vn_reference_s * vr1)
inlinestatic
Return the hashcode for a given reference operation P1.   

References vn_reference_s::hashcode.

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

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

Field Documentation

◆ empty_zero_p

const bool pointer_hash< vn_reference_s >::empty_zero_p
staticinherited

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