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

Public Types

typedef dw_loc_list_structvalue_type
 
typedef dw_loc_list_structcompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Hashtable helpers.   

Member Typedef Documentation

◆ compare_type

dw_loc_list_struct* pointer_hash< dw_loc_list_struct >::compare_type
inherited

◆ value_type

Member Function Documentation

◆ equal() [1/2]

bool loc_list_hasher::equal ( const dw_loc_list_struct * a,
const dw_loc_list_struct * b )
inlinestatic
Return true if location lists A and B are the same.   

◆ equal() [2/2]

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

◆ hash() [1/2]

hashval_t loc_list_hasher::hash ( const dw_loc_list_struct * x)
inlinestatic
Return precomputed hash of location list X.   

◆ hash() [2/2]

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

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

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

Field Documentation

◆ empty_zero_p

const bool pointer_hash< dw_loc_list_struct >::empty_zero_p
staticinherited

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