GCC Middle and Back End API Reference
default_hash_traits< sub_svalue::key_t > Struct Reference

#include <svalue.h>

Inheritance diagram for default_hash_traits< sub_svalue::key_t >:
Collaboration diagram for default_hash_traits< sub_svalue::key_t >:

Public Types

typedef sub_svalue::key_t value_type
 
typedef sub_svalue::key_t compare_type
 

Public Member Functions

hashval_t hash () const
 
bool operator== (const key_t &other) const
 
void mark_deleted ()
 
void mark_empty ()
 
bool is_deleted () const
 
bool is_empty () const
 

Static Public Member Functions

static hashval_t hash (value_type v)
 
static bool equal (const value_type &existing, const value_type &candidate)
 
static void mark_deleted (sub_svalue::key_t &t)
 
static void mark_empty (sub_svalue::key_t &t)
 
static bool is_deleted (sub_svalue::key_t t)
 
static bool is_empty (sub_svalue::key_t t)
 
static void remove (sub_svalue::key_t &)
 

Data Fields

tree m_type
 
const svaluem_parent_svalue
 
const regionm_subregion
 

Static Public Attributes

static const bool empty_zero_p = false
 

Member Typedef Documentation

◆ compare_type

typedef sub_svalue::key_t member_function_hash_traits< sub_svalue::key_t >::compare_type
inherited

◆ value_type

typedef sub_svalue::key_t member_function_hash_traits< sub_svalue::key_t >::value_type
inherited

Member Function Documentation

◆ equal()

static bool member_function_hash_traits< sub_svalue::key_t >::equal ( const value_type & existing,
const value_type & candidate )
inlinestaticinherited

◆ hash() [1/2]

hashval_t ana::sub_svalue::key_t::hash ( ) const
inlineinherited

◆ hash() [2/2]

static hashval_t member_function_hash_traits< sub_svalue::key_t >::hash ( value_type v)
inlinestaticinherited

◆ is_deleted() [1/2]

bool ana::sub_svalue::key_t::is_deleted ( ) const
inlineinherited

References m_type.

◆ is_deleted() [2/2]

static bool member_function_hash_traits< sub_svalue::key_t >::is_deleted ( sub_svalue::key_t t)
inlinestaticinherited

◆ is_empty() [1/2]

bool ana::sub_svalue::key_t::is_empty ( ) const
inlineinherited

References m_type.

◆ is_empty() [2/2]

static bool member_function_hash_traits< sub_svalue::key_t >::is_empty ( sub_svalue::key_t t)
inlinestaticinherited

◆ mark_deleted() [1/2]

void ana::sub_svalue::key_t::mark_deleted ( )
inlineinherited

References m_type.

◆ mark_deleted() [2/2]

static void member_function_hash_traits< sub_svalue::key_t >::mark_deleted ( sub_svalue::key_t & t)
inlinestaticinherited

◆ mark_empty() [1/2]

void ana::sub_svalue::key_t::mark_empty ( )
inlineinherited

References m_type.

◆ mark_empty() [2/2]

static void member_function_hash_traits< sub_svalue::key_t >::mark_empty ( sub_svalue::key_t & t)
inlinestaticinherited

◆ operator==()

bool ana::sub_svalue::key_t::operator== ( const key_t & other) const
inlineinherited

◆ remove()

void typed_noop_remove< sub_svalue::key_t >::remove ( sub_svalue::key_t & )
inlinestaticinherited
Remove doing nothing.

Field Documentation

◆ empty_zero_p

const bool default_hash_traits< sub_svalue::key_t >::empty_zero_p = false
static

◆ m_parent_svalue

const svalue* ana::sub_svalue::key_t::m_parent_svalue
inherited

Referenced by hash(), key_t(), and operator==().

◆ m_subregion

const region* ana::sub_svalue::key_t::m_subregion
inherited

Referenced by hash(), key_t(), and operator==().

◆ m_type

tree ana::sub_svalue::key_t::m_type
inherited

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