GCC Middle and Back End API Reference
mem_alloc_description< T >::mem_location_hash Struct Reference

#include <mem-stats.h>

Inheritance diagram for mem_alloc_description< T >::mem_location_hash:
Collaboration diagram for mem_alloc_description< T >::mem_location_hash:

Public Types

typedef mem_locationvalue_type
 
typedef mem_locationcompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Member Typedef Documentation

◆ compare_type

typedef mem_location* pointer_hash< mem_location >::compare_type
inherited

◆ value_type

typedef mem_location* pointer_hash< mem_location >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

template<class T >
static bool mem_alloc_description< T >::mem_location_hash::equal ( value_type l1,
value_type l2 )
inlinestatic

◆ equal() [2/2]

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

◆ hash() [1/2]

◆ hash() [2/2]

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

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

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

Field Documentation

◆ empty_zero_p

const bool pointer_hash< mem_location >::empty_zero_p
staticinherited

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