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

Public Types

typedef shared_bitmap_infovalue_type
 
typedef shared_bitmap_infocompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Shared_bitmap hashtable helpers.   

Member Typedef Documentation

◆ compare_type

typedef shared_bitmap_info* pointer_hash< shared_bitmap_info >::compare_type
inherited

◆ value_type

typedef shared_bitmap_info* pointer_hash< shared_bitmap_info >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

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

◆ equal() [2/2]

bool shared_bitmap_hasher::equal ( const shared_bitmap_info * sbi1,
const shared_bitmap_info * sbi2 )
inlinestatic
Equality function for two shared_bitmap_info_t's.  

References bitmap_equal_p(), and shared_bitmap_info::pt_vars.

◆ hash() [1/2]

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

◆ hash() [2/2]

hashval_t shared_bitmap_hasher::hash ( const shared_bitmap_info * bi)
inlinestatic
Hash function for a shared_bitmap_info_t  

References shared_bitmap_info::hashcode.

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

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

Field Documentation

◆ empty_zero_p

const bool pointer_hash< shared_bitmap_info >::empty_zero_p
staticinherited

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