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

Public Types

typedef var_infovalue_type
 
typedef var_infocompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

VAR_INFOS hashtable helpers.   

Member Typedef Documentation

◆ compare_type

typedef var_info* pointer_hash< var_info >::compare_type
inherited

◆ value_type

typedef var_info* pointer_hash< var_info >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

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

◆ equal() [2/2]

bool var_info_hasher::equal ( const value_type & p1,
const compare_type & p2 )
inlinestatic

References var_info::var.

◆ hash() [1/2]

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

◆ hash() [2/2]

hashval_t var_info_hasher::hash ( const value_type & p)
inlinestatic

References DECL_UID, and var_info::var.

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

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

Field Documentation

◆ empty_zero_p

const bool pointer_hash< var_info >::empty_zero_p
staticinherited

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