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

Public Types

typedef external_refvalue_type
 
typedef external_refcompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Hashtable helpers.   

Member Typedef Documentation

◆ compare_type

typedef external_ref* pointer_hash< external_ref >::compare_type
inherited

◆ value_type

typedef external_ref* pointer_hash< external_ref >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

bool external_ref_hasher::equal ( const external_ref * r1,
const external_ref * r2 )
inlinestatic

References external_ref::type.

◆ equal() [2/2]

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

◆ hash() [1/2]

◆ hash() [2/2]

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

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

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

Field Documentation

◆ empty_zero_p

const bool pointer_hash< external_ref >::empty_zero_p
staticinherited

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