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

Public Member Functions

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

Static Public Member Functions

static modref_summaries_ltocreate_ggc (symbol_table *symtab)

Data Fields

bool propagated

Detailed Description

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

Constructor & Destructor Documentation

◆ modref_summaries_lto()

modref_summaries_lto::modref_summaries_lto ( symbol_table * symtab)

Member Function Documentation

◆ create_ggc()

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

References ggc_alloc_no_dtor(), and symtab.

◆ duplicate()

◆ insert()

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

References analyze_function(), symtab_node::decl, DECL_STRUCT_FUNCTION, opt_for_fn, pop_cfun(), propagated, push_cfun(), and summaries_lto.

Field Documentation

◆ propagated

bool modref_summaries_lto::propagated

Referenced by duplicate(), and insert().

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