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

Public Types

typedef cost_classesvalue_type
 
typedef cost_classescompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Helper for cost_classes hashing.   

Member Typedef Documentation

◆ compare_type

typedef cost_classes * pointer_hash< cost_classes >::compare_type
inherited

◆ value_type

typedef cost_classes * pointer_hash< cost_classes >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

bool cost_classes_hasher::equal ( const cost_classes * hv1,
const cost_classes * hv2 )
inlinestatic
Compares cost classes info HV1 and HV2.   

References ggc_alloc().

◆ equal() [2/2]

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

◆ hash() [1/2]

hashval_t cost_classes_hasher::hash ( const cost_classes * hv)
inlinestatic
Returns hash value for cost classes info HV.   

References ggc_alloc().

◆ hash() [2/2]

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

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

void cost_classes_hasher::remove ( cost_classes * v)
inlinestatic
Delete cost classes info V from the hash table.   

References ira_free().

Field Documentation

◆ empty_zero_p

const bool pointer_hash< cost_classes >::empty_zero_p
staticinherited

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