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

Public Member Functions

 isra_func_summary ()
 
 ~isra_func_summary ()
 
bool zap ()
 

Data Fields

vec< isra_param_desc, va_gc > * m_parameters
 
unsigned m_candidate: 1
 
unsigned m_returns_value: 1
 
unsigned m_return_ignored: 1
 
unsigned m_queued: 1
 

Detailed Description

Class used to convey information about functions from the
intra-procedural analysis stage to inter-procedural one.   

Constructor & Destructor Documentation

◆ isra_func_summary()

isra_func_summary::isra_func_summary ( )
inline

◆ ~isra_func_summary()

isra_func_summary::~isra_func_summary ( )
Deallocate the memory pointed to by isra_func_summary.  TODO: Since this
data structure is allocated in GC memory, this is not necessary and we can
consider removing the destructor.   

References free_param_decl_accesses(), i, m_parameters, vec_free(), and vec_safe_length().

Member Function Documentation

◆ zap()

bool isra_func_summary::zap ( )
Mark the function as not a candidate for any IPA-SRA transformation.  Return
true if it was a candidate until now.   

References free_param_decl_accesses(), ggc_alloc(), i, m_candidate, m_parameters, vec_free(), and vec_safe_length().

Field Documentation

◆ m_candidate

unsigned isra_func_summary::m_candidate

Referenced by zap().

◆ m_parameters

vec<isra_param_desc, va_gc>* isra_func_summary::m_parameters

Referenced by zap(), and ~isra_func_summary().

◆ m_queued

unsigned isra_func_summary::m_queued

◆ m_return_ignored

unsigned isra_func_summary::m_return_ignored

◆ m_returns_value

unsigned isra_func_summary::m_returns_value

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