GCC Middle and Back End API Reference
variable_hasher Struct Reference

Public Types

typedef variable_def value_type
typedef void 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 (value_type *)

Detailed Description

Variable hashtable helpers.   

Member Typedef Documentation


Member Function Documentation

bool variable_hasher::equal ( const value_type v,
const compare_type y 
)
inlinestatic
Compare the declaration of variable X with declaration Y.   

References variable_def::dv, and dv_as_opaque().

hashval_t variable_hasher::hash ( const value_type v)
inlinestatic
The hash function for variable_htab, computes the hash value
   from the declaration of variable X.   

References variable_def::dv, and dv_htab_hash().

void variable_hasher::remove ( value_type var)
inlinestatic
Free the element of VARIABLE_HTAB (its type is struct variable_def).   

References variable_htab_free().


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