GCC Middle and Back End API Reference
ana::eg_hash_map_traits Struct Reference

#include <exploded-graph.h>

Public Types

typedef const point_and_statekey_type
 
typedef exploded_nodevalue_type
 
typedef exploded_nodecompare_type
 

Static Public Member Functions

static hashval_t hash (const key_type &k)
 
static bool equal_keys (const key_type &k1, const key_type &k2)
 
template<typename T >
static void remove (T &)
 
template<typename T >
static void mark_deleted (T &entry)
 
template<typename T >
static void mark_empty (T &entry)
 
template<typename T >
static bool is_deleted (const T &entry)
 
template<typename T >
static bool is_empty (const T &entry)
 

Static Public Attributes

static const bool empty_zero_p = false
 

Detailed Description

Traits class for ensuring uniqueness of point_and_state data within
an exploded_graph.   

Member Typedef Documentation

◆ compare_type

◆ key_type

◆ value_type

Member Function Documentation

◆ equal_keys()

static bool ana::eg_hash_map_traits::equal_keys ( const key_type & k1,
const key_type & k2 )
inlinestatic

References gcc_assert, ggc_alloc(), and NULL.

◆ hash()

static hashval_t ana::eg_hash_map_traits::hash ( const key_type & k)
inlinestatic

References gcc_assert, ggc_alloc(), and NULL.

◆ is_deleted()

template<typename T >
static bool ana::eg_hash_map_traits::is_deleted ( const T & entry)
inlinestatic

◆ is_empty()

template<typename T >
static bool ana::eg_hash_map_traits::is_empty ( const T & entry)
inlinestatic

References NULL.

◆ mark_deleted()

template<typename T >
static void ana::eg_hash_map_traits::mark_deleted ( T & entry)
inlinestatic

◆ mark_empty()

template<typename T >
static void ana::eg_hash_map_traits::mark_empty ( T & entry)
inlinestatic

References NULL.

◆ remove()

template<typename T >
static void ana::eg_hash_map_traits::remove ( T & )
inlinestatic

Field Documentation

◆ empty_zero_p

const bool ana::eg_hash_map_traits::empty_zero_p = false
static

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