GCC Middle and Back End API Reference
expr_elt_hasher Struct Reference

#include <tree-ssa-scopedtables.h>

Inheritance diagram for expr_elt_hasher:
Collaboration diagram for expr_elt_hasher:

Public Types

typedef expr_hash_eltvalue_type
 
typedef expr_hash_eltcompare_type
 

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Hashtable helpers.   

Member Typedef Documentation

◆ compare_type

typedef expr_hash_elt * pointer_hash< expr_hash_elt >::compare_type
inherited

◆ value_type

typedef expr_hash_elt * pointer_hash< expr_hash_elt >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

bool expr_elt_hasher::equal ( const value_type & p1,
const compare_type & p2 )
static

◆ equal() [2/2]

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

◆ hash() [1/2]

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

◆ hash() [2/2]

static hashval_t expr_elt_hasher::hash ( const value_type & p)
inlinestatic

References expr_hash_elt::hash().

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

static void expr_elt_hasher::remove ( value_type & element)
inlinestatic

Field Documentation

◆ empty_zero_p

const bool pointer_hash< expr_hash_elt >::empty_zero_p
staticinherited

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