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

Public Types

typedef type_hashvalue_type
 
typedef type_hashcompare_type
 

Static Public Member Functions

static hashval_t hash (type_hash *t)
 
static bool equal (type_hash *a, type_hash *b)
 
static int keep_cache_entry (type_hash *&t)
 
static hashval_t hash (const value_type &)
 
static bool equal (const value_type &existing, const compare_type &candidate)
 
static void mark_deleted (type_hash *&)
 
static void mark_empty (type_hash *&)
 
static bool is_deleted (type_hash *)
 
static bool is_empty (type_hash *)
 
static void ggc_maybe_mx (type_hash *&)
 
static void remove (type_hash *&)
 
static void ggc_mx (type_hash *&p)
 
static void pch_nx (type_hash *&p)
 
static void pch_nx (type_hash *&p, gt_pointer_operator op, void *cookie)
 

Static Public Attributes

static const bool empty_zero_p
 

Member Typedef Documentation

◆ compare_type

typedef type_hash* pointer_hash< type_hash >::compare_type
inherited

◆ value_type

typedef type_hash* pointer_hash< type_hash >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

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

◆ equal() [2/2]

◆ ggc_maybe_mx()

static void ggc_cache_remove< type_hash * >::ggc_maybe_mx ( type_hash * & )
inlinestaticinherited

◆ ggc_mx()

static void ggc_remove< type_hash * >::ggc_mx ( type_hash * & p)
inlinestaticinherited

◆ hash() [1/2]

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

◆ hash() [2/2]

static hashval_t type_cache_hasher::hash ( type_hash * t)
inlinestatic

References type_hash::hash.

◆ is_deleted()

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

◆ is_empty()

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

◆ keep_cache_entry()

static int type_cache_hasher::keep_cache_entry ( type_hash *& t)
inlinestatic

References ggc_marked_p(), and type_hash::type.

◆ mark_deleted()

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

◆ mark_empty()

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

◆ pch_nx() [1/2]

static void ggc_remove< type_hash * >::pch_nx ( type_hash * & p)
inlinestaticinherited

◆ pch_nx() [2/2]

static void ggc_remove< type_hash * >::pch_nx ( type_hash * & p,
gt_pointer_operator op,
void * cookie )
inlinestaticinherited

◆ remove()

static void ggc_remove< type_hash * >::remove ( type_hash * & )
inlinestaticinherited

Field Documentation

◆ empty_zero_p

const bool pointer_hash< type_hash >::empty_zero_p
staticinherited

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