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

Public Types

typedef struct data_dependence_relationvalue_type
 
typedef struct data_dependence_relationcompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Hashtable helpers.   

Member Typedef Documentation

◆ compare_type

typedef struct data_dependence_relation* pointer_hash< struct data_dependence_relation >::compare_type
inherited

◆ value_type

typedef struct data_dependence_relation* pointer_hash< struct data_dependence_relation >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

bool ddr_hasher::equal ( const data_dependence_relation * ddr1,
const data_dependence_relation * ddr2 )
inlinestatic
Hash table equality function for data dependence.   

References DDR_A, and DDR_B.

◆ equal() [2/2]

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

◆ hash() [1/2]

hashval_t ddr_hasher::hash ( const data_dependence_relation * ddr)
inlinestatic
Hash function for data dependence.   

References inchash::hash::add_ptr(), DDR_A, DDR_B, and inchash::hash::end().

◆ hash() [2/2]

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

◆ is_deleted()

bool pointer_hash< struct data_dependence_relation >::is_deleted ( struct data_dependence_relation * e)
inlinestaticinherited

◆ is_empty()

bool pointer_hash< struct data_dependence_relation >::is_empty ( struct data_dependence_relation * e)
inlinestaticinherited

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

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

Field Documentation

◆ empty_zero_p

const bool pointer_hash< struct data_dependence_relation >::empty_zero_p
staticinherited

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