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

Public Types

typedef iv_common_candvalue_type
 
typedef iv_common_candcompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Hashtable helpers.   

Member Typedef Documentation

◆ compare_type

iv_common_cand* pointer_hash< iv_common_cand >::compare_type
inherited

◆ value_type

iv_common_cand* pointer_hash< iv_common_cand >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

bool iv_common_cand_hasher::equal ( const iv_common_cand * ccand1,
const iv_common_cand * ccand2 )
inlinestatic
Hash table equality function for common candidates.   

References iv_common_cand::base, iv_common_cand::hash, operand_equal_p(), iv_common_cand::step, TREE_TYPE, and TYPE_PRECISION.

◆ equal() [2/2]

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

◆ hash() [1/2]

hashval_t iv_common_cand_hasher::hash ( const iv_common_cand * ccand)
inlinestatic
Hash function for possible common candidates.   

References iv_common_cand::hash.

◆ hash() [2/2]

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

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

void typed_delete_remove< iv_common_cand >::remove ( iv_common_cand * p)
inlinestaticinherited
Remove with delete.   

Field Documentation

◆ empty_zero_p

const bool pointer_hash< iv_common_cand >::empty_zero_p
staticinherited

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