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

Public Types

typedef reduction_infovalue_type
 
typedef reduction_infocompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Reduction info hashtable helpers.   

Member Typedef Documentation

◆ compare_type

typedef reduction_info* pointer_hash< reduction_info >::compare_type
inherited

◆ value_type

typedef reduction_info* pointer_hash< reduction_info >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

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

◆ equal() [2/2]

bool reduction_hasher::equal ( const reduction_info * a,
const reduction_info * b )
inlinestatic
Equality and hash functions for hashtab code.   

References a, and b.

◆ hash() [1/2]

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

◆ hash() [2/2]

hashval_t reduction_hasher::hash ( const reduction_info * a)
inlinestatic

References a.

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

void typed_free_remove< reduction_info >::remove ( reduction_info * p)
inlinestaticinherited
Remove with free.   

Field Documentation

◆ empty_zero_p

const bool pointer_hash< reduction_info >::empty_zero_p
staticinherited

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