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

Public Types

typedef tm_memop value_type
typedef tm_memop 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 (tm_memop *p)

Detailed Description

TM memory operation hashtable helpers.


Member Typedef Documentation


Member Function Documentation

bool tm_memop_hasher::equal ( const value_type mem1,
const compare_type mem2 
)
inlinestatic

Htab support. Return true if two tm_memop's are the same.

References bitmap_copy(), READ_AVAIL_IN, READ_AVAIL_OUT, edge_def::src, STORE_AVAIL_IN, and STORE_AVAIL_OUT.

hashval_t tm_memop_hasher::hash ( const value_type mem)
inlinestatic

Htab support. Return a hash value for a `tm_memop'.

We drill down to the SSA_NAME/DECL for the hash, but equality is actually done with operand_equal_p (see tm_memop_eq).

References EDGE_COUNT, EDGE_PRED, and basic_block_def::preds.

static void typed_free_remove< tm_memop >::remove ( tm_memop p)
inlinestaticinherited

Remove with free.


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