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

Public Types

typedef dw_trace_infovalue_type
 
typedef dw_trace_infocompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Hashtable helpers.   

Member Typedef Documentation

◆ compare_type

dw_trace_info* pointer_hash< dw_trace_info >::compare_type
inherited

◆ value_type

dw_trace_info* pointer_hash< dw_trace_info >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

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

◆ equal() [2/2]

bool trace_info_hasher::equal ( const dw_trace_info * a,
const dw_trace_info * b )
inlinestatic

References a, and b.

◆ hash() [1/2]

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

◆ hash() [2/2]

hashval_t trace_info_hasher::hash ( const dw_trace_info * ti)
inlinestatic

References dw_trace_info::head, and INSN_UID().

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

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

Field Documentation

◆ empty_zero_p

const bool pointer_hash< dw_trace_info >::empty_zero_p
staticinherited

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