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

#include <svalue.h>

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

Public Types

typedef compound_svalue::key_t value_type
 
typedef compound_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 (compound_svalue::key_t &t)
 
static void mark_empty (compound_svalue::key_t &t)
 
static bool is_deleted (compound_svalue::key_t t)
 
static bool is_empty (compound_svalue::key_t t)
 
static void remove (compound_svalue::key_t &)
 

Data Fields

tree m_type
 
const binding_mapm_map_ptr
 

Static Public Attributes

static const bool empty_zero_p = false
 

Member Typedef Documentation

◆ compare_type

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

◆ value_type

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

Member Function Documentation

◆ equal()

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

◆ hash() [1/2]

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

◆ hash() [2/2]

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

◆ is_deleted() [1/2]

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

References m_type.

◆ is_deleted() [2/2]

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

◆ is_empty() [1/2]

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

References m_type.

◆ is_empty() [2/2]

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

◆ mark_deleted() [1/2]

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

References m_type.

◆ mark_deleted() [2/2]

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

◆ mark_empty() [1/2]

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

References m_type.

◆ mark_empty() [2/2]

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

◆ operator==()

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

References key_t(), m_map_ptr, and m_type.

◆ remove()

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

Field Documentation

◆ empty_zero_p

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

◆ m_map_ptr

const binding_map* ana::compound_svalue::key_t::m_map_ptr
inherited

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

◆ m_type

tree ana::compound_svalue::key_t::m_type
inherited

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