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

Public Types

typedef tm_new_mem_mapvalue_type
 
typedef tm_new_mem_mapcompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Hashtable helpers.   

Member Typedef Documentation

◆ compare_type

typedef tm_new_mem_map* pointer_hash< tm_new_mem_map >::compare_type
inherited

◆ value_type

typedef tm_new_mem_map* pointer_hash< tm_new_mem_map >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

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

◆ equal() [2/2]

bool tm_mem_map_hasher::equal ( const tm_new_mem_map * v,
const tm_new_mem_map * c )
inlinestatic

References tm_new_mem_map::val.

◆ hash() [1/2]

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

◆ hash() [2/2]

hashval_t tm_mem_map_hasher::hash ( const tm_new_mem_map * v)
inlinestatic

References tm_new_mem_map::val.

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

void typed_free_remove< tm_new_mem_map >::remove ( tm_new_mem_map * p)
inlinestaticinherited
Remove with free.   

Field Documentation

◆ empty_zero_p

const bool pointer_hash< tm_new_mem_map >::empty_zero_p
staticinherited

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