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

Public Types

typedef operand_datavalue_type
 
typedef operand_datacompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

This is a class that takes into account the necessary elements for
comparing the equality of two operands in its hash value.   

Member Typedef Documentation

◆ compare_type

operand_data* pointer_hash< operand_data >::compare_type
inherited

◆ value_type

operand_data* pointer_hash< operand_data >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

bool operand_data_hasher::equal ( const operand_data * op_info1,
const operand_data * op_info2 )
inlinestatic

References compare_operands().

◆ equal() [2/2]

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

◆ hash() [1/2]

◆ hash() [2/2]

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

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

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

Field Documentation

◆ empty_zero_p

const bool pointer_hash< operand_data >::empty_zero_p
staticinherited

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