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

Public Types

typedef tree_map * value_type
 
typedef tree_map * compare_type
 

Static Public Member Functions

static hashval_t hash (tree_map *m)
 
static bool equal (tree_map *a, tree_map *b)
 
static int keep_cache_entry (tree_map *&e)
 
static hashval_t hash (const value_type &)
 
static bool equal (const value_type &existing, const compare_type &candidate)
 
static void mark_deleted (tree_map *&)
 
static void mark_empty (tree_map *&)
 
static bool is_deleted (tree_map *)
 
static bool is_empty (tree_map *)
 
static void ggc_maybe_mx (tree_map *&)
 
static void remove (tree_map *&)
 
static void ggc_mx (tree_map *&p)
 
static void pch_nx (tree_map *&p)
 
static void pch_nx (tree_map *&p, gt_pointer_operator op, void *cookie)
 

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Record and output a table of translations from original function
to its transaction aware clone.  Note that tm_pure functions are
considered to be their own clone.   

Member Typedef Documentation

◆ compare_type

typedef tree_map* pointer_hash< tree_map >::compare_type
inherited

◆ value_type

typedef tree_map* pointer_hash< tree_map >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

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

◆ equal() [2/2]

static bool tm_clone_hasher::equal ( tree_map * a,
tree_map * b )
inlinestatic

References a, b, and tree_map_eq.

◆ ggc_maybe_mx()

static void ggc_cache_remove< tree_map * >::ggc_maybe_mx ( tree_map * & )
inlinestaticinherited

◆ ggc_mx()

static void ggc_remove< tree_map * >::ggc_mx ( tree_map * & p)
inlinestaticinherited

◆ hash() [1/2]

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

◆ hash() [2/2]

static hashval_t tm_clone_hasher::hash ( tree_map * m)
inlinestatic

References tree_map_hash().

◆ is_deleted()

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

◆ is_empty()

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

◆ keep_cache_entry()

static int tm_clone_hasher::keep_cache_entry ( tree_map *& e)
inlinestatic

References ggc_marked_p().

◆ mark_deleted()

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

◆ mark_empty()

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

◆ pch_nx() [1/2]

static void ggc_remove< tree_map * >::pch_nx ( tree_map * & p)
inlinestaticinherited

◆ pch_nx() [2/2]

static void ggc_remove< tree_map * >::pch_nx ( tree_map * & p,
gt_pointer_operator op,
void * cookie )
inlinestaticinherited

◆ remove()

static void ggc_remove< tree_map * >::remove ( tree_map * & )
inlinestaticinherited

Field Documentation

◆ empty_zero_p

const bool pointer_hash< tree_map >::empty_zero_p
staticinherited

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