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

Public Types

typedef ao_refcompare_type
 
typedef im_mem_refvalue_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Mem_ref hashtable helpers.   

Member Typedef Documentation

◆ compare_type

◆ value_type

typedef im_mem_ref* pointer_hash< im_mem_ref >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

◆ equal() [2/2]

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

◆ hash() [1/2]

hashval_t mem_ref_hasher::hash ( const im_mem_ref * mem)
inlinestatic
A hash function for class im_mem_ref object OBJ.   

References im_mem_ref::hash.

◆ hash() [2/2]

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

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

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

Field Documentation

◆ empty_zero_p

const bool pointer_hash< im_mem_ref >::empty_zero_p
staticinherited

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