GCC Middle and Back End API Reference
|
#include <call-summary.h>
Public Member Functions | |
call_summary_replay (const call_details &cd, const function &called_fn, call_summary *m_summary, const extrinsic_state &ext_state) | |
const call_details & | get_call_details () const |
const gcall * | get_call_stmt () const |
region_model_manager * | get_manager () const |
store_manager * | get_store_manager () const |
region_model_context * | get_ctxt () const |
region_model * | get_caller_model () const |
const svalue * | convert_svalue_from_summary (const svalue *) |
const region * | convert_region_from_summary (const region *) |
const binding_key * | convert_key_from_summary (const binding_key *) |
void | add_svalue_mapping (const svalue *summary_sval, const svalue *caller_sval) |
void | add_region_mapping (const region *summary_sval, const region *caller_sval) |
void | dump_to_pp (pretty_printer *pp, bool simple) const |
void | dump (FILE *fp, bool simple) const |
void | dump (bool simple) const |
Private Types | |
typedef hash_map< const svalue *, const svalue * > | svalue_map_t |
typedef hash_map< const region *, const region * > | region_map_t |
Private Member Functions | |
DISABLE_COPY_AND_ASSIGN (call_summary_replay) | |
const svalue * | convert_svalue_from_summary_1 (const svalue *) |
const region * | convert_region_from_summary_1 (const region *) |
Private Attributes | |
const call_details & | m_cd |
call_summary * | m_summary |
const extrinsic_state & | m_ext_state |
svalue_map_t | m_map_svalue_from_summary_to_caller |
region_map_t | m_map_region_from_summary_to_caller |
A class for handling replaying a specific call summary at a specific call site. Supports remapping svalues and regions, e.g. remapping INIT_VAL(param of callee) to: whatever that argument is at the call site.
|
private |
|
private |
ana::call_summary_replay::call_summary_replay | ( | const call_details & | cd, |
const function & | called_fn, | ||
call_summary * | m_summary, | ||
const extrinsic_state & | ext_state ) |
void ana::call_summary_replay::add_region_mapping | ( | const region * | summary_sval, |
const region * | caller_sval ) |
void ana::call_summary_replay::add_svalue_mapping | ( | const svalue * | summary_sval, |
const svalue * | caller_sval ) |
const binding_key * ana::call_summary_replay::convert_key_from_summary | ( | const binding_key * | ) |
|
private |
void ana::call_summary_replay::dump | ( | bool | simple | ) | const |
void ana::call_summary_replay::dump | ( | FILE * | fp, |
bool | simple ) const |
void ana::call_summary_replay::dump_to_pp | ( | pretty_printer * | pp, |
bool | simple ) const |
|
inline |
References m_cd.
|
inline |
References ana::call_details::get_call_stmt(), and m_cd.
|
inline |
References ana::call_details::get_model(), and m_cd.
|
inline |
References ana::call_details::get_ctxt(), and m_cd.
|
inline |
References ana::call_details::get_manager(), and m_cd.
Referenced by get_store_manager().
|
inline |
References get_manager(), and ana::region_model_manager::get_store_manager().
|
private |
Referenced by get_call_details(), get_call_stmt(), get_caller_model(), get_ctxt(), and get_manager().
|
private |
|
private |
|
private |
|
private |