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

Public Types

typedef HOST_WIDE_INT compare_type
 
typedef rtx_defvalue_type
 

Static Public Member Functions

static hashval_t hash (rtx i)
 
static bool equal (rtx i, HOST_WIDE_INT h)
 
static hashval_t hash (const value_type &)
 
static bool equal (const value_type &existing, const compare_type &candidate)
 
static void mark_deleted (rtx_def *&)
 
static void mark_empty (rtx_def *&)
 
static bool is_deleted (rtx_def *)
 
static bool is_empty (rtx_def *)
 
static void ggc_maybe_mx (rtx_def *&)
 
static int keep_cache_entry (rtx_def *&e)
 
static void remove (rtx_def *&)
 
static void ggc_mx (rtx_def *&p)
 
static void pch_nx (rtx_def *&p)
 
static void pch_nx (rtx_def *&p, gt_pointer_operator op, void *cookie)
 

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

A hash table storing CONST_INTs whose absolute value is greater
than MAX_SAVED_CONST_INT.   

Member Typedef Documentation

◆ compare_type

◆ value_type

rtx_def* pointer_hash< rtx_def >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

bool const_int_hasher::equal ( rtx x,
HOST_WIDE_INT y )
static
Returns true if the value represented by X (which is really a
CONST_INT) is the same as that given by Y (which is really a
HOST_WIDE_INT *).   

References INTVAL, and y.

◆ equal() [2/2]

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

◆ ggc_maybe_mx()

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

◆ ggc_mx()

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

◆ hash() [1/2]

hashval_t const_int_hasher::hash ( rtx x)
static
Returns a hash code for X (which is a really a CONST_INT).   

References INTVAL.

◆ hash() [2/2]

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

◆ is_deleted()

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

◆ is_empty()

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

◆ keep_cache_entry()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ pch_nx() [1/2]

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

◆ pch_nx() [2/2]

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

◆ remove()

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

Field Documentation

◆ empty_zero_p

const bool pointer_hash< rtx_def >::empty_zero_p
staticinherited

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