GCC Middle and Back End API Reference
default_hash_traits< T * > Struct Template Reference

#include <hash-traits.h>

Inheritance diagram for default_hash_traits< T * >:
Collaboration diagram for default_hash_traits< T * >:

Public Types

typedef Tvalue_type
 
typedef Tcompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Member Typedef Documentation

◆ compare_type

T* pointer_hash< T >::compare_type
inherited

◆ value_type

T* pointer_hash< T >::value_type
inherited

Member Function Documentation

◆ equal()

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

◆ ggc_maybe_mx()

static void ggc_remove< T >::ggc_maybe_mx ( T & p)
inlinestaticinherited

◆ ggc_mx()

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

◆ hash()

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

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ pch_nx() [1/2]

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

◆ pch_nx() [2/2]

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

◆ remove()

static void ggc_remove< T >::remove ( T & )
inlinestaticinherited

Field Documentation

◆ empty_zero_p

const bool pointer_hash< T >::empty_zero_p
staticinherited

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