GCC Middle and Back End API Reference
cost_classes_hasher Struct Reference

Public Types

typedef cost_classes value_type
typedef cost_classes compare_type

Static Public Member Functions

static hashval_t hash (const value_type *)
static bool equal (const value_type *, const compare_type *)
static void remove (value_type *)

Detailed Description

Helper for cost_classes hashing.   

Member Typedef Documentation


Member Function Documentation

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

References cost_classes::classes, and cost_classes::num.

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

References cost_classes::classes, and cost_classes::num.

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

References ira_free().


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