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

Public Types

typedef ipa_vrvalue_type
 
typedef const vrangecompare_type
 

Static Public Member Functions

static hashval_t hash (const ipa_vr *p)
 
static bool equal (const ipa_vr *a, const vrange *b)
 
static void mark_empty (ipa_vr *&p)
 
static bool is_empty (const ipa_vr *p)
 
static bool is_deleted (const ipa_vr *p)
 
static void mark_deleted (ipa_vr *&p)
 
static void ggc_maybe_mx (ipa_vr * &)
 
static void ggc_maybe_mx (T &p)
 
static int keep_cache_entry (ipa_vr * &e)
 
static void remove (T &)
 
static void ggc_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 = true
 

Detailed Description

Traits for a hash table for reusing ranges.   

Member Typedef Documentation

◆ compare_type

◆ value_type

Member Function Documentation

◆ equal()

static bool ipa_vr_ggc_hash_traits::equal ( const ipa_vr * a,
const vrange * b )
inlinestatic

References a, and b.

◆ ggc_maybe_mx() [1/2]

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

◆ ggc_maybe_mx() [2/2]

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

◆ ggc_mx()

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

References gt_ggc_mx().

Referenced by ggc_remove< T >::ggc_maybe_mx().

◆ hash()

static hashval_t ipa_vr_ggc_hash_traits::hash ( const ipa_vr * p)
inlinestatic

◆ is_deleted()

static bool ipa_vr_ggc_hash_traits::is_deleted ( const ipa_vr * p)
inlinestatic

◆ is_empty()

static bool ipa_vr_ggc_hash_traits::is_empty ( const ipa_vr * p)
inlinestatic

References NULL.

◆ keep_cache_entry()

static int ggc_cache_remove< ipa_vr * >::keep_cache_entry ( ipa_vr * & e)
inlinestaticinherited

◆ mark_deleted()

static void ipa_vr_ggc_hash_traits::mark_deleted ( ipa_vr *& p)
inlinestatic

◆ mark_empty()

static void ipa_vr_ggc_hash_traits::mark_empty ( ipa_vr *& p)
inlinestatic

References NULL.

◆ pch_nx() [1/2]

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

References gt_pch_nx().

◆ pch_nx() [2/2]

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

References ggc_alloc(), and NULL.

◆ remove()

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

Field Documentation

◆ empty_zero_p

const bool ipa_vr_ggc_hash_traits::empty_zero_p = true
static

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