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

Public Types

typedef int value_type
 
typedef int compare_type
 

Static Public Member Functions

static hashval_t hash (int)
 
static bool equal (int, int)
 
static void mark_deleted (int &)
 
static void mark_empty (int &)
 
static bool is_deleted (int)
 
static bool is_empty (int)
 
static hashval_t hash (value_type)
 
static bool equal (value_type existing, value_type candidate)
 
static void remove (Type &)
 

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Oecount hashtable helpers.   

Member Typedef Documentation

◆ compare_type

typedef int int_hash< int , Empty, Deleted >::compare_type
inherited

◆ value_type

typedef int int_hash< int , Empty, Deleted >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

bool oecount_hasher::equal ( int p1,
int p2 )
inlinestatic
Comparison function for oecount.   

References cvec, and ggc_alloc().

◆ equal() [2/2]

template<typename Type >
bool int_hash_base< Type >::equal ( value_type existing,
value_type candidate )
inlinestaticinherited

References y.

◆ hash() [1/2]

hashval_t oecount_hasher::hash ( int p)
inlinestatic
Hash function for oecount.   

References cvec, ggc_alloc(), oecount::oecode, and oecount::op.

◆ hash() [2/2]

template<typename Type >
hashval_t int_hash_base< Type >::hash ( value_type x)
inlinestaticinherited

◆ is_deleted()

bool int_hash< int , Empty, Deleted >::is_deleted ( int x)
inlinestaticinherited

◆ is_empty()

bool int_hash< int , Empty, Deleted >::is_empty ( int x)
inlinestaticinherited

◆ mark_deleted()

void int_hash< int , Empty, Deleted >::mark_deleted ( int & x)
inlinestaticinherited

◆ mark_empty()

void int_hash< int , Empty, Deleted >::mark_empty ( int & x)
inlinestaticinherited

◆ remove()

template<typename Type >
void typed_noop_remove< Type >::remove ( Type & )
inlinestaticinherited
Remove doing nothing.   

Field Documentation

◆ empty_zero_p

const bool int_hash< int , Empty, Deleted >::empty_zero_p
staticinherited

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