GCC Middle and Back End API Reference
hash-set.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  hash_set< KeyId, Lazy, Traits >
 
class  hash_set< KeyId, Lazy, Traits >::iterator
 

Macros

#define DEFINE_DEBUG_HASH_SET(T)
 

Functions

template<typename T >
void debug_helper (hash_set< T > &ref)
 
template<typename K , typename H >
void gt_ggc_mx (hash_set< K, false, H > *h)
 
template<typename K , typename H >
void gt_pch_nx (hash_set< K, false, H > *h)
 
template<typename K , typename H >
void gt_pch_nx (hash_set< K, false, H > *h, gt_pointer_operator op, void *cookie)
 

Macro Definition Documentation

◆ DEFINE_DEBUG_HASH_SET

#define DEFINE_DEBUG_HASH_SET ( T)
Value:
template void debug_helper (hash_set<T> &); \
debug (hash_set<T> &ref) \
{ \
debug_helper <T> (ref); \
} \
debug (hash_set<T> *ptr) \
{ \
if (ptr) \
debug (*ptr); \
else \
fprintf (stderr, "<nil>\n"); \
}
Definition hash-set.h:37
void debug_helper(hash_set< T > &ref)
Definition hash-set.h:168
#define DEBUG_FUNCTION
Definition system.h:1236

Function Documentation

◆ debug_helper()

template<typename T >
void debug_helper ( hash_set< T > & ref)
Generic hash_set<TYPE> debug helper.

This needs to be instantiated for each hash_set<TYPE> used throughout
the compiler like this:

 DEFINE_DEBUG_HASH_SET (TYPE)

The reason we have a debug_helper() is because GDB can't
disambiguate a plain call to debug(some_hash), and it must be called
like debug<TYPE>(some_hash).   

References hash_set< KeyId, Lazy, Traits >::begin(), debug_slim(), hash_set< KeyId, Lazy, Traits >::end(), and fputc().

◆ gt_ggc_mx()

template<typename K , typename H >
void gt_ggc_mx ( hash_set< K, false, H > * h)
inline
ggc marking routines.   

References gt_ggc_mx(), and hash_set< KeyId, Lazy, Traits >::m_table.

Referenced by gt_ggc_mx().

◆ gt_pch_nx() [1/2]

template<typename K , typename H >
void gt_pch_nx ( hash_set< K, false, H > * h)
inline

◆ gt_pch_nx() [2/2]

template<typename K , typename H >
void gt_pch_nx ( hash_set< K, false, H > * h,
gt_pointer_operator op,
void * cookie )
inline