GCC Middle and Back End API Reference
|
#include <symbol-summary.h>
Public Member Functions | |
call_summary_base (symbol_table *symtab, cgraph_edge_hook symtab_removal, cgraph_2edge_hook symtab_duplication CXX_MEM_STAT_INFO) | |
virtual void | remove (cgraph_edge *, T *) |
virtual void | duplicate (cgraph_edge *, cgraph_edge *, T *, T *) |
void | enable_duplication_hook () |
void | disable_duplication_hook () |
Protected Member Functions | |
T * | allocate_new () |
void | release (T *item) |
void | unregister_hooks () |
Private Member Functions | |
virtual bool | is_ggc ()=0 |
Private Attributes | |
object_allocator< T > | m_allocator |
Base class for call_summary and fast_call_summary classes.
|
inline |
References CXX_MEM_STAT_INFO, enable_duplication_hook(), false, m_allocator, m_initialize_when_cloning, m_symtab, m_symtab_duplication, m_symtab_duplication_hook, m_symtab_removal, m_symtab_removal_hook, NULL, PASS_MEM_STAT, and symtab.
Referenced by call_summary< T * >::call_summary(), and fast_call_summary< T *, V >::fast_call_summary().
|
inlineprotected |
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().
|
inline |
References m_symtab, m_symtab_duplication_hook, and NULL.
Referenced by unregister_hooks().
|
inlinevirtual |
References gcc_unreachable, and T.
Referenced by fast_call_summary< T *, V >::symtab_duplication().
|
inline |
References m_symtab, m_symtab_duplication, m_symtab_duplication_hook, and NULL.
Referenced by call_summary_base().
|
privatepure virtual |
Implemented in call_summary< T * >, and fast_call_summary< T *, V >.
Referenced by allocate_new(), and release().
|
inlineprotected |
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().
|
inlinevirtual |
References T.
|
protected |
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().
|
private |
Referenced by allocate_new(), call_summary_base(), and release().
|
protected |
Referenced by call_summary_base().
|
protected |
|
protected |
Referenced by call_summary_base(), and enable_duplication_hook().
|
protected |
Referenced by call_summary_base(), disable_duplication_hook(), and enable_duplication_hook().
|
protected |
Referenced by call_summary_base().
|
protected |
Referenced by call_summary_base(), and unregister_hooks().