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

Public Types

typedef locus_discrim_map value_type
typedef locus_discrim_map 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 (locus_discrim_map *p)

Detailed Description

Hashtable helpers.


Member Typedef Documentation


Member Function Documentation

bool locus_discrim_hasher::equal ( const value_type a,
const compare_type b 
)
inlinestatic

Equality function for the locus-to-discriminator map. A and B point to the two hash table entries to compare.

hashval_t locus_discrim_hasher::hash ( const value_type item)
inlinestatic

Trivial hash function for a location_t. ITEM is a pointer to a hash table entry that maps a location_t to a discriminator.

static void typed_free_remove< locus_discrim_map >::remove ( locus_discrim_map p)
inlinestaticinherited

Remove with free.


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