GCC Middle and Back End API Reference
|
#include <symbol-summary.h>
Public Member Functions | |
call_summary (symbol_table *symtab, bool ggc=false CXX_MEM_STAT_INFO) | |
virtual | ~call_summary () |
template<typename Arg , bool(*)(const T &, Arg) f> | |
void | traverse (Arg a) const |
T * | get_create (cgraph_edge *edge) |
T * | get (cgraph_edge *edge) ATTRIBUTE_PURE |
void | remove (cgraph_edge *edge) |
bool | exists (cgraph_edge *edge) |
virtual void | remove (cgraph_edge *, T *) |
virtual void | duplicate (cgraph_edge *, cgraph_edge *, T *, T *) |
void | enable_duplication_hook () |
void | disable_duplication_hook () |
Static Public Member Functions | |
static void | symtab_removal (cgraph_edge *edge, void *data) |
static void | symtab_duplication (cgraph_edge *edge1, cgraph_edge *edge2, void *data) |
Protected Member Functions | |
T * | allocate_new () |
void | release (T *item) |
void | unregister_hooks () |
Private Types | |
typedef int_hash< int, 0, -1 > | map_hash |
Private Member Functions | |
bool | is_ggc () final override |
Private Attributes | |
hash_map< map_hash, T * > | m_map |
object_allocator< T > | m_allocator |
Friends | |
template<typename U > | |
void | gt_ggc_mx (call_summary< U * > *const &) |
template<typename U > | |
void | gt_pch_nx (call_summary< U * > *const &) |
template<typename U > | |
void | gt_pch_nx (call_summary< U * > *const &, gt_pointer_operator, void *) |
Class to store auxiliary information about call graph edges.
|
private |
|
inline |
|
virtual |
|
inlineprotectedinherited |
|
inlineinherited |
|
inlinevirtualinherited |
References gcc_unreachable.
|
inlineinherited |
|
inline |
References NULL.
|
inline |
References NULL.
|
inline |
|
inlinefinaloverrideprivatevirtual |
Implements call_summary_base< T >.
|
inlineprotectedinherited |
References ggc_delete(), call_summary_base< T >::is_ggc(), and call_summary_base< T >::m_allocator.
|
inline |
|
inlinevirtualinherited |
|
static |
References NULL.
|
static |
|
inline |
References a.
|
protectedinherited |
|
friend |
|
privateinherited |
Referenced by call_summary_base< T >::allocate_new(), and call_summary_base< T >::release().
|
protected |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Referenced by call_summary_base< T >::enable_duplication_hook().
|
protectedinherited |
|
protectedinherited |
Referenced by call_summary_base< T >::call_summary_base().
|
protectedinherited |
Referenced by call_summary_base< T >::call_summary_base().