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

#include <exploded-graph.h>

Public Types

typedef const program_pointkey_type
 
typedef per_program_point_datavalue_type
 
typedef per_program_point_datacompare_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 storing per-program_point data within
an exploded_graph.   

Member Typedef Documentation

◆ compare_type

◆ key_type

◆ value_type

Member Function Documentation

◆ equal_keys()

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

References gcc_assert, and NULL.

◆ hash()

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

◆ is_deleted()

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

◆ is_empty()

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

References NULL.

◆ mark_deleted()

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

◆ mark_empty()

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

References NULL.

◆ remove()

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

Field Documentation

◆ empty_zero_p

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

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