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

Public Types

typedef polymorphic_call_target_dvalue_type
 
typedef polymorphic_call_target_dcompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Polymorphic call target cache helpers.   

Member Typedef Documentation

◆ compare_type

◆ value_type

Member Function Documentation

◆ equal() [1/2]

◆ equal() [2/2]

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

◆ hash() [1/2]

hashval_t polymorphic_call_target_hasher::hash ( const polymorphic_call_target_d * odr_query)
inlinestatic
Return the computed hashcode for ODR_QUERY.   

References ggc_alloc(), and TYPE_UID.

◆ hash() [2/2]

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

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

void polymorphic_call_target_hasher::remove ( polymorphic_call_target_d * v)
inlinestatic
Remove entry in polymorphic call target cache hash.   

References free(), and polymorphic_call_target_d::targets.

Field Documentation

◆ empty_zero_p

const bool pointer_hash< polymorphic_call_target_d >::empty_zero_p
staticinherited

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