GCC Middle and Back End API Reference
call_summary_base< T > Class Template Referenceabstract

#include <symbol-summary.h>

Inheritance diagram for call_summary_base< T >:
Collaboration diagram for call_summary_base< T >:

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

Tallocate_new ()
 
void release (T *item)
 
void unregister_hooks ()
 

Protected Attributes

symbol_tablem_symtab
 
cgraph_edge_hook m_symtab_removal
 
cgraph_2edge_hook m_symtab_duplication
 
cgraph_edge_hook_listm_symtab_removal_hook
 
cgraph_2edge_hook_listm_symtab_duplication_hook
 
bool m_initialize_when_cloning
 

Private Member Functions

virtual bool is_ggc ()=0
 

Private Attributes

object_allocator< Tm_allocator
 

Detailed Description

template<class T>
class call_summary_base< T >
Base class for call_summary and fast_call_summary classes.   

Constructor & Destructor Documentation

◆ call_summary_base()

Member Function Documentation

◆ allocate_new()

template<class T >
T * call_summary_base< T >::allocate_new ( )
inlineprotected

◆ disable_duplication_hook()

◆ duplicate()

template<class T >
virtual void call_summary_base< T >::duplicate ( cgraph_edge * ,
cgraph_edge * ,
T * ,
T *  )
inlinevirtual

References gcc_unreachable.

◆ enable_duplication_hook()

◆ is_ggc()

◆ release()

template<class T >
void call_summary_base< T >::release ( T * item)
inlineprotected

◆ remove()

template<class T >
virtual void call_summary_base< T >::remove ( cgraph_edge * ,
T *  )
inlinevirtual

◆ unregister_hooks()

template<typename T >
void call_summary_base< T >::unregister_hooks ( )
protected

Field Documentation

◆ m_allocator

◆ m_initialize_when_cloning

template<class T >
bool call_summary_base< T >::m_initialize_when_cloning
protected

◆ m_symtab

◆ m_symtab_duplication

template<class T >
cgraph_2edge_hook call_summary_base< T >::m_symtab_duplication
protected

◆ m_symtab_duplication_hook

◆ m_symtab_removal

template<class T >
cgraph_edge_hook call_summary_base< T >::m_symtab_removal
protected

◆ m_symtab_removal_hook

template<class T >
cgraph_edge_hook_list* call_summary_base< T >::m_symtab_removal_hook
protected

The documentation for this class was generated from the following file: