GCC Middle and Back End API Reference
|
#include <symbol-summary.h>
Public Member Functions | |
function_summary_base (symbol_table *symtab, cgraph_node_hook symtab_insertion, cgraph_node_hook symtab_removal, cgraph_2node_hook symtab_duplication CXX_MEM_STAT_INFO) | |
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 () |
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 |
Callgraph summary data structure. Copyright (C) 2014-2024 Free Software Foundation, Inc. Contributed by Martin Liska This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>.
Base class for function_summary and fast_function_summary classes.
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inlinevirtual |
References gcc_unreachable.
|
inline |
|
inline |
|
inlinevirtual |
References gcc_unreachable.
|
privatepure virtual |
Implemented in fast_function_summary< T *, V >, and function_summary< T * >.
Referenced by function_summary_base< T >::allocate_new(), and function_summary_base< T >::release().
|
inlineprotected |
|
inlinevirtual |
|
protected |
|
private |
Referenced by function_summary_base< T >::allocate_new(), and function_summary_base< T >::release().
|
protected |
|
protected |
Referenced by function_summary_base< T >::enable_duplication_hook().
|
protected |
|
protected |
Referenced by function_summary_base< T >::enable_insertion_hook().
|
protected |
|
protected |
Referenced by function_summary_base< T >::function_summary_base().
|
protected |
Referenced by function_summary_base< T >::function_summary_base().