GCC Middle and Back End API Reference
|
#include <symbol-summary.h>
Public Member Functions | |
fast_function_summary (symbol_table *symtab CXX_MEM_STAT_INFO) | |
virtual | ~fast_function_summary () |
template<typename Arg, bool(*)(const T &, Arg) f> | |
void | traverse (Arg a) const |
T * | get_create (cgraph_node *node) |
T * | get (cgraph_node *node) ATTRIBUTE_PURE |
void | remove (cgraph_node *node) |
bool | exists (cgraph_node *node) |
virtual void | insert (cgraph_node *, T *) |
virtual void | remove (cgraph_node *, T *) |
virtual void | duplicate (cgraph_node *, cgraph_node *, T *, T *) |
void | enable_insertion_hook () |
void | disable_insertion_hook () |
void | enable_duplication_hook () |
void | disable_duplication_hook () |
Static Public Member Functions | |
static void | symtab_insertion (cgraph_node *node, void *data) |
static void | symtab_removal (cgraph_node *node, void *data) |
static void | symtab_duplication (cgraph_node *node, cgraph_node *node2, void *data) |
Protected Member Functions | |
T * | allocate_new () |
void | release (T *item) |
void | unregister_hooks () |
Private Member Functions | |
bool | is_ggc () final override |
fast_function_summary () | |
Private Attributes | |
vec< T *, V > * | m_vector |
object_allocator< T > | m_allocator |
Friends | |
template<typename U> | |
void | gt_ggc_mx (fast_function_summary< U *, va_gc > *const &) |
template<typename U> | |
void | gt_pch_nx (fast_function_summary< U *, va_gc > *const &) |
template<typename U> | |
void | gt_pch_nx (fast_function_summary< U *, va_gc > *const &, gt_pointer_operator, void *) |
Function vector summary is a fast implementation of function_summary that utilizes vector as primary storage of summaries.
fast_function_summary< T *, V >::fast_function_summary | ( | symbol_table *symtab | CXX_MEM_STAT_INFO | ) |
References fast_function_summary(), function_summary_base< T >::function_summary_base(), m_vector, MEM_STAT_DECL, NULL, PASS_MEM_STAT, symtab, symtab_duplication(), symtab_insertion(), symtab_removal(), T, and vec_alloc().
Referenced by fast_function_summary(), gt_ggc_mx, gt_pch_nx, gt_pch_nx, is_ggc(), symtab_duplication(), symtab_insertion(), symtab_removal(), and ~fast_function_summary().
|
virtual |
|
private |
|
inlineprotectedinherited |
References ggc_internal_alloc(), is_ggc(), m_allocator, and T.
Referenced by fast_function_summary< T *, V >::get_create(), and function_summary< T * >::get_create().
|
inlineinherited |
References m_symtab, m_symtab_duplication_hook, and NULL.
Referenced by unregister_hooks().
|
inlineinherited |
References m_symtab, m_symtab_insertion_hook, and NULL.
Referenced by unregister_hooks().
|
inlinevirtualinherited |
References gcc_unreachable, and T.
Referenced by fast_function_summary< T *, V >::symtab_duplication().
|
inlineinherited |
References m_symtab, m_symtab_duplication, m_symtab_duplication_hook, and NULL.
Referenced by function_summary_base().
|
inlineinherited |
References m_symtab, m_symtab_insertion, m_symtab_insertion_hook, and NULL.
Referenced by function_summary_base().
|
inline |
References cgraph_node::get_summary_id(), m_vector, and NULL.
|
inline |
|
inline |
|
inlinevirtualinherited |
References gcc_unreachable, and T.
|
inlinefinaloverrideprivatevirtual |
Implements function_summary_base< T >.
References fast_function_summary(), and is_same< T, U >::value.
|
inlineprotectedinherited |
|
inline |
References exists(), cgraph_node::get_summary_id(), m_vector, NULL, and function_summary_base< T >::release().
|
inlinevirtualinherited |
References T.
|
static |
References function_summary_base< T >::duplicate(), fast_function_summary(), and T.
Referenced by fast_function_summary().
|
static |
References fast_function_summary(), gcc_checking_assert, and symtab_node::get_uid().
Referenced by fast_function_summary().
|
static |
References fast_function_summary(), gcc_checking_assert, and symtab_node::get_uid().
Referenced by fast_function_summary().
|
inline |
|
protectedinherited |
|
friend |
References fast_function_summary(), and gt_ggc_mx.
Referenced by gt_ggc_mx.
|
friend |
References fast_function_summary(), and gt_pch_nx.
|
friend |
References fast_function_summary(), gt_pch_nx, and T.
|
privateinherited |
Referenced by allocate_new(), function_summary_base(), and release().
|
protectedinherited |
|
protectedinherited |
Referenced by enable_duplication_hook(), and function_summary_base().
|
protectedinherited |
Referenced by disable_duplication_hook(), enable_duplication_hook(), and function_summary_base().
|
protectedinherited |
Referenced by enable_insertion_hook(), and function_summary_base().
|
protectedinherited |
Referenced by disable_insertion_hook(), enable_insertion_hook(), and function_summary_base().
|
protectedinherited |
Referenced by function_summary_base().
|
protectedinherited |
Referenced by function_summary_base(), and unregister_hooks().
|
private |
Referenced by exists(), fast_function_summary(), get_create(), remove(), traverse(), and ~fast_function_summary().