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

Public Types

typedef expr value_type
typedef expr compare_type

Static Public Member Functions

static hashval_t hash (const value_type *)
static bool equal (const value_type *, const compare_type *)
static void remove (expr *p)

Detailed Description

Hashtable helpers.


Member Typedef Documentation


Member Function Documentation

bool expr_hasher::equal ( const value_type exp1,
const compare_type exp2 
)
inlinestatic

Callback for hashtab. Return nonzero if exp1 is equivalent to exp2.

hashval_t expr_hasher::hash ( const value_type exp)
inlinestatic

Callback for hashtab. Return the hash value for expression EXP. We don't actually hash here, we just return the cached hash value.

static void typed_noop_remove< expr >::remove ( expr p)
inlinestaticinherited

Remove doing nothing.


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