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

Public Types

typedef const_tree compare_type
 
typedef var_loc_listvalue_type
 

Static Public Member Functions

static hashval_t hash (var_loc_list *)
 
static bool equal (var_loc_list *, const_tree)
 
static hashval_t hash (const value_type &)
 
static bool equal (const value_type &existing, const compare_type &candidate)
 
static void mark_deleted (var_loc_list *&)
 
static void mark_empty (var_loc_list *&)
 
static bool is_deleted (var_loc_list *)
 
static bool is_empty (var_loc_list *)
 
static void remove (var_loc_list *&)
 
static void ggc_mx (var_loc_list *&p)
 
static void ggc_maybe_mx (var_loc_list *&p)
 
static void pch_nx (var_loc_list *&p)
 
static void pch_nx (var_loc_list *&p, gt_pointer_operator op, void *cookie)
 

Static Public Attributes

static const bool empty_zero_p
 

Member Typedef Documentation

◆ compare_type

◆ value_type

var_loc_list* pointer_hash< var_loc_list >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

bool decl_loc_hasher::equal ( var_loc_list * x,
const_tree y )
inlinestatic
Return true if decl_id of var_loc_list X is the same as
UID of decl *Y.   

References var_loc_list_def::decl_id, DECL_UID, and y.

◆ equal() [2/2]

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

◆ ggc_maybe_mx()

static void ggc_remove< var_loc_list * >::ggc_maybe_mx ( var_loc_list * & p)
inlinestaticinherited

◆ ggc_mx()

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

◆ hash() [1/2]

hashval_t decl_loc_hasher::hash ( var_loc_list * x)
inlinestatic
Returns a hash value for X (which really is a var_loc_list).   

References var_loc_list_def::decl_id.

◆ hash() [2/2]

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

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ pch_nx() [1/2]

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

◆ pch_nx() [2/2]

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

◆ remove()

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

Field Documentation

◆ empty_zero_p

const bool pointer_hash< var_loc_list >::empty_zero_p
staticinherited

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