GCC Middle and Back End API Reference
tree_descriptor_hasher Struct Reference

#include <cgraph.h>

Inheritance diagram for tree_descriptor_hasher:
Collaboration diagram for tree_descriptor_hasher:

Public Types

typedef constant_descriptor_treevalue_type
 
typedef constant_descriptor_treecompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Member Typedef Documentation

◆ compare_type

◆ value_type

Member Function Documentation

◆ equal() [1/2]

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

◆ equal() [2/2]

bool tree_descriptor_hasher::equal ( constant_descriptor_tree * c1,
constant_descriptor_tree * c2 )
static
Wrapper of compare_constant, for the htab interface.   

References compare_constant(), constant_descriptor_tree::hash, and constant_descriptor_tree::value.

◆ ggc_maybe_mx()

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

◆ ggc_mx()

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

◆ hash() [1/2]

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

◆ hash() [2/2]

hashval_t tree_descriptor_hasher::hash ( constant_descriptor_tree * ptr)
static
Compute a hash code for a constant expression.   

References constant_descriptor_tree::hash.

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ pch_nx() [1/2]

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

◆ pch_nx() [2/2]

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

◆ remove()

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

Field Documentation

◆ empty_zero_p

const bool pointer_hash< constant_descriptor_tree >::empty_zero_p
staticinherited

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