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

Public Types

typedef vn_nary_op_scompare_type
 
typedef vn_nary_op_svalue_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

vn_nary_op hashtable helpers.   

Member Typedef Documentation

◆ compare_type

◆ value_type

vn_nary_op_s* pointer_hash< vn_nary_op_s >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

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

◆ equal() [2/2]

bool vn_nary_op_hasher::equal ( const vn_nary_op_s * vno1,
const vn_nary_op_s * vno2 )
inlinestatic
Compare nary operations P1 and P2 and return true if they are
equivalent.   

References vn_nary_op_eq().

◆ hash() [1/2]

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

◆ hash() [2/2]

hashval_t vn_nary_op_hasher::hash ( const vn_nary_op_s * vno1)
inlinestatic
Return the computed hashcode for nary operation P1.   

References vn_nary_op_s::hashcode.

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

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

Field Documentation

◆ empty_zero_p

const bool pointer_hash< vn_nary_op_s >::empty_zero_p
staticinherited

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