GCC Middle and Back End API Reference
modref_summaries Class Reference
Inheritance diagram for modref_summaries:
Collaboration diagram for modref_summaries:

Public Member Functions

 modref_summaries (symbol_table *symtab)
void insert (cgraph_node *, modref_summary *state) final override
void duplicate (cgraph_node *src_node, cgraph_node *dst_node, modref_summary *src_data, modref_summary *dst_data) final override

Static Public Member Functions

static modref_summariescreate_ggc (symbol_table *symtab)

Detailed Description

Class (from which there is one global instance) that holds modref summaries
for all analyzed functions.   

Constructor & Destructor Documentation

◆ modref_summaries()

modref_summaries::modref_summaries ( symbol_table * symtab)

Member Function Documentation

◆ create_ggc()

static modref_summaries * modref_summaries::create_ggc ( symbol_table * symtab)

References ggc_alloc(), and symtab.

◆ duplicate()

void modref_summaries::duplicate ( cgraph_node * src_node,
cgraph_node * dst,
modref_summary * src_data,
modref_summary * dst_data )
Called when new clone is inserted to callgraph late.   

References modref_tree< T >::create_ggc(), ggc_alloc(), and optimization_summaries.

◆ insert()

void modref_summaries::insert ( cgraph_node * node,
modref_summary * state )
Called when a new function is inserted to callgraph late.   

References analyze_function(), symtab_node::decl, DECL_STRUCT_FUNCTION, ggc_alloc(), opt_for_fn, optimization_summaries, pop_cfun(), push_cfun(), and summaries.

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