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> &); \
{ \
} \
{ \
if (ptr) \
debug (*ptr); \
fprintf (stderr, "<nil>\n"); \
}
Definition hash-set.h:37
T * ggc_alloc(ALONE_CXX_MEM_STAT_INFO)
Definition ggc.h:184
void debug_helper(hash_set< T > &ref)
Definition hash-set.h:168
#define DEBUG_FUNCTION
Definition system.h:1242

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(), fputc(), and ggc_alloc().

◆ gt_ggc_mx()

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

References ggc_alloc(), and gt_ggc_mx().

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

References ggc_alloc(), and gt_pch_nx().

Referenced by gt_pch_nx().

◆ 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

References ggc_alloc(), and NULL.