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

Public Types

typedef merge_state_infovalue_type
 
typedef merge_state_infocompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

A hasher of states that treats two states as "equal" if they might be
merged (but trying to be more discriminating than "return true").   

Member Typedef Documentation

◆ compare_type

merge_state_info* pointer_hash< merge_state_info >::compare_type
inherited

◆ value_type

merge_state_info* pointer_hash< merge_state_info >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

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

◆ equal() [2/2]

◆ hash() [1/2]

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

◆ hash() [2/2]

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

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

Field Documentation

◆ empty_zero_p

const bool pointer_hash< merge_state_info >::empty_zero_p
staticinherited

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