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

Public Types

typedef reg_attrsvalue_type
typedef reg_attrscompare_type

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p

Detailed Description

A hash table storing register attribute structures.

Member Typedef Documentation

◆ compare_type

typedef reg_attrs* pointer_hash< reg_attrs >::compare_type
inherited

◆ value_type

typedef reg_attrs* pointer_hash< reg_attrs >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

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

◆ equal() [2/2]

bool reg_attr_hasher::equal ( reg_attrs * x,
reg_attrs * y )
static
Returns true if the value represented by X is the same as that given by Y.

References reg_attrs::decl, known_eq, reg_attrs::offset, and y.

◆ ggc_maybe_mx() [1/2]

void ggc_cache_remove< reg_attrs >::ggc_maybe_mx ( reg_attrs & )
inlinestaticinherited

◆ ggc_maybe_mx() [2/2]

void ggc_cache_remove< reg_attrs * >::ggc_maybe_mx ( reg_attrs * & )
inlinestaticinherited

◆ ggc_mx() [1/2]

void ggc_remove< reg_attrs >::ggc_mx ( reg_attrs & p)
inlinestaticinherited

◆ ggc_mx() [2/2]

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

◆ hash() [1/2]

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

◆ hash() [2/2]

hashval_t reg_attr_hasher::hash ( reg_attrs * x)
static
Returns a hash code for X (which is a really a reg_attrs *).

References inchash::hash::add_poly_hwi(), inchash::hash::add_ptr(), reg_attrs::decl, inchash::hash::end(), and reg_attrs::offset.

◆ is_deleted()

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

◆ is_empty()

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

◆ keep_cache_entry() [1/2]

int ggc_cache_remove< reg_attrs >::keep_cache_entry ( reg_attrs & e)
inlinestaticinherited

◆ keep_cache_entry() [2/2]

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ pch_nx() [1/4]

void ggc_remove< reg_attrs >::pch_nx ( reg_attrs & p)
inlinestaticinherited

◆ pch_nx() [2/4]

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

◆ pch_nx() [3/4]

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

◆ pch_nx() [4/4]

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

◆ remove() [1/2]

void ggc_remove< reg_attrs >::remove ( reg_attrs & )
inlinestaticinherited

◆ remove() [2/2]

void ggc_remove< reg_attrs * >::remove ( reg_attrs * & )
inlinestaticinherited

Field Documentation

◆ empty_zero_p

const bool pointer_hash< reg_attrs >::empty_zero_p
staticinherited

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