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

Public Types

typedef rtx_defvalue_type
 
typedef rtx_defcompare_type
 

Static Public Member Functions

static hashval_t hash (rtx x)
 
static bool equal (rtx x, rtx y)
 
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 all CONST_DOUBLEs.   

Member Typedef Documentation

◆ compare_type

typedef rtx_def* pointer_hash< rtx_def >::compare_type
inherited

◆ value_type

typedef rtx_def* pointer_hash< rtx_def >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

bool const_double_hasher::equal ( rtx x,
rtx y )
static
Returns true if the value represented by X (really a ...)
is the same as that represented by Y (really a ...)  

References a, b, CONST_DOUBLE_HIGH, CONST_DOUBLE_LOW, CONST_DOUBLE_REAL_VALUE, GET_MODE, real_identical(), TARGET_SUPPORTS_WIDE_INT, 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_double_hasher::hash ( rtx x)
static
Returns a hash code for X (which is really a CONST_DOUBLE).   

References CONST_DOUBLE_HIGH, CONST_DOUBLE_LOW, CONST_DOUBLE_REAL_VALUE, GET_MODE, real_hash(), and TARGET_SUPPORTS_WIDE_INT.

◆ 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: