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 |
call_summary () | |
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 |
References call_summary(), call_summary_base< T >::call_summary_base(), CXX_MEM_STAT_INFO, m_ggc, m_map, PASS_MEM_STAT, symtab, symtab_duplication(), symtab_removal(), T, and true.
Referenced by call_summary(), symtab_duplication(), symtab_removal(), and ~call_summary().
|
virtual |
|
private |
|
inlineprotectedinherited |
References ggc_internal_alloc(), is_ggc(), m_allocator, and T.
Referenced by call_summary< T * >::get_create(), and fast_call_summary< T *, V >::get_create().
|
inlineinherited |
References m_symtab, m_symtab_duplication_hook, and NULL.
Referenced by unregister_hooks().
|
inlinevirtualinherited |
References gcc_unreachable, and T.
Referenced by fast_call_summary< T *, V >::symtab_duplication().
|
inlineinherited |
References m_symtab, m_symtab_duplication, m_symtab_duplication_hook, and NULL.
Referenced by call_summary_base().
|
inline |
|
inline |
|
inline |
References call_summary_base< T >::allocate_new(), m_map, and T.
|
inlinefinaloverrideprivatevirtual |
Implements call_summary_base< T >.
|
inlineprotectedinherited |
References ggc_delete(), is_ggc(), m_allocator, and T.
Referenced by call_summary< T * >::remove(), fast_call_summary< T *, V >::remove(), call_summary< T * >::~call_summary(), and fast_call_summary< T *, V >::~fast_call_summary().
|
inline |
References m_map, call_summary_base< T >::release(), and T.
|
inlinevirtualinherited |
References T.
|
static |
References call_summary(), NULL, and T.
Referenced by call_summary().
|
static |
References call_summary().
Referenced by call_summary().
|
inline |
|
protectedinherited |
References disable_duplication_hook(), m_symtab, and m_symtab_removal_hook.
Referenced by call_summary< T * >::~call_summary(), and fast_call_summary< T *, V >::~fast_call_summary().
|
friend |
|
privateinherited |
Referenced by allocate_new(), call_summary_base(), and release().
|
protected |
Referenced by call_summary(), and is_ggc().
|
protectedinherited |
Referenced by call_summary_base().
Referenced by call_summary(), exists(), get(), get_create(), remove(), traverse(), and ~call_summary().
|
protectedinherited |
|
protectedinherited |
Referenced by call_summary_base(), and enable_duplication_hook().
|
protectedinherited |
Referenced by call_summary_base(), disable_duplication_hook(), and enable_duplication_hook().
|
protectedinherited |
Referenced by call_summary_base().
|
protectedinherited |
Referenced by call_summary_base(), and unregister_hooks().