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 |
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 PASS_MEM_STAT, and vec_alloc().
|
virtual |
References i, NULL, and vec_free().
|
inlineprotectedinherited |
|
inlineinherited |
|
inlineinherited |
|
inlinevirtualinherited |
References gcc_unreachable.
|
inlineinherited |
|
inlineinherited |
|
inline |
References cgraph_node::get_summary_id(), and NULL.
|
inline |
References NULL.
|
inline |
References cgraph_node::get_summary_id(), NULL, and vec_safe_grow_cleared().
|
inlinevirtualinherited |
References gcc_unreachable.
|
inlinefinaloverrideprivatevirtual |
Implements function_summary_base< T >.
|
inlineprotectedinherited |
|
inline |
References cgraph_node::get_summary_id(), and NULL.
|
inlinevirtualinherited |
|
static |
|
static |
References gcc_checking_assert, and cgraph_node::get_uid().
|
static |
References gcc_checking_assert, and cgraph_node::get_uid().
|
inline |
|
protectedinherited |
|
friend |
|
friend |
|
friend |
|
privateinherited |
Referenced by function_summary_base< T >::allocate_new(), and function_summary_base< T >::release().
|
protectedinherited |
|
protectedinherited |
Referenced by function_summary_base< T >::enable_duplication_hook().
|
protectedinherited |
|
protectedinherited |
Referenced by function_summary_base< T >::enable_insertion_hook().
|
protectedinherited |
|
protectedinherited |
Referenced by function_summary_base< T >::function_summary_base().
|
protectedinherited |
Referenced by function_summary_base< T >::function_summary_base().
|
private |