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

Public Types

typedef vn_constant_svalue_type
 
typedef vn_constant_scompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

vn_constant hashtable helpers.   

Member Typedef Documentation

◆ compare_type

vn_constant_s* pointer_hash< vn_constant_s >::compare_type
inherited

◆ value_type

vn_constant_s* pointer_hash< vn_constant_s >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

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

◆ equal() [2/2]

bool vn_constant_hasher::equal ( const vn_constant_s * vc1,
const vn_constant_s * vc2 )
inlinestatic
Hash table equality function for vn_constant_t.   

References vn_constant_s::constant, vn_constant_s::hashcode, and vn_constant_eq_with_type().

◆ hash() [1/2]

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

◆ hash() [2/2]

hashval_t vn_constant_hasher::hash ( const vn_constant_s * vc1)
inlinestatic
Hash table hash function for vn_constant_t.   

References vn_constant_s::hashcode.

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

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

Field Documentation

◆ empty_zero_p

const bool pointer_hash< vn_constant_s >::empty_zero_p
staticinherited

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