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

Public Types

typedef st_exprvalue_type
 
typedef st_exprcompare_type
 

Static Public Member Functions

static hashval_t hash (const st_expr *)
 
static bool equal (const st_expr *, const st_expr *)
 
static hashval_t hash (const value_type &)
 
static bool equal (const value_type &existing, const compare_type &candidate)
 
static void mark_deleted (st_expr *&)
 
static void mark_empty (st_expr *&)
 
static bool is_deleted (st_expr *)
 
static bool is_empty (st_expr *)
 
static void remove (st_expr *&)
 

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Hashtable helpers.   

Member Typedef Documentation

◆ compare_type

st_expr* pointer_hash< st_expr >::compare_type
inherited

◆ value_type

st_expr* pointer_hash< st_expr >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

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

◆ equal() [2/2]

bool st_expr_hasher::equal ( const st_expr * ptr1,
const st_expr * ptr2 )
inlinestatic

References exp_equiv_p(), and st_expr::pattern.

◆ hash() [1/2]

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

◆ hash() [2/2]

hashval_t st_expr_hasher::hash ( const st_expr * x)
inlinestatic

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

void typed_noop_remove< st_expr * >::remove ( st_expr * & )
inlinestaticinherited
Remove doing nothing.   

Field Documentation

◆ empty_zero_p

const bool pointer_hash< st_expr >::empty_zero_p
staticinherited

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