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

Public Types

typedef substringcompare_type
 
typedef attribute_spec * value_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Used for attribute_hash.   

Member Typedef Documentation

◆ compare_type

◆ value_type

attribute_spec* pointer_hash< attribute_spec >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

bool attribute_hasher::equal ( const attribute_spec * spec,
const substring * str )
inlinestatic

◆ equal() [2/2]

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

◆ hash() [1/2]

hashval_t attribute_hasher::hash ( const attribute_spec * spec)
inlinestatic

References substring_hash().

◆ hash() [2/2]

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

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

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

Field Documentation

◆ empty_zero_p

const bool pointer_hash< attribute_spec >::empty_zero_p
staticinherited

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