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 (int &)
 

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 int_hash_base< int >::equal ( value_type existing,
value_type candidate )
inlinestaticinherited

◆ equal() [2/2]

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

References cvec, oecount::oecode, and oecount::op.

◆ hash() [1/2]

hashval_t int_hash_base< int >::hash ( value_type x)
inlinestaticinherited

◆ hash() [2/2]

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

References cvec, oecount::oecode, and oecount::op.

◆ 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()

void typed_noop_remove< int >::remove ( int & )
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: