GCC Middle and Back End API Reference
|
#include <state-purge.h>
Public Member Functions | |
state_purge_per_decl (const state_purge_map &map, tree decl, const function &fun) | |
bool | needed_at_point_p (const function_point &point) const |
void | add_needed_at (const function_point &point) |
void | add_pointed_to_at (const function_point &point) |
void | process_worklists (const state_purge_map &map, region_model_manager *mgr) |
const function & | get_function () const |
tree | get_fndecl () const |
Protected Types | |
typedef hash_set< function_point > | point_set_t |
Private Member Functions | |
void | add_to_worklist (const function_point &point, auto_vec< function_point > *worklist, point_set_t *seen, logger *logger) |
void | process_point_backwards (const function_point &point, auto_vec< function_point > *worklist, point_set_t *seen, const state_purge_map &map, const region_model &model) |
void | process_point_forwards (const function_point &point, auto_vec< function_point > *worklist, point_set_t *seen, const state_purge_map &map) |
Static Private Member Functions | |
static function_point | before_use_stmt (const state_purge_map &map, const gimple *use_stmt) |
Private Attributes | |
point_set_t | m_points_needing_decl |
point_set_t | m_points_taking_address |
tree | m_decl |
const function & | m_fun |
The part of a state_purge_map relating to a specific decl. Analogous to state_purge_per_ssa_name, but for local decls. This is more involved than the SSA name case, because we also need to handle pointers and components.
|
protectedinherited |
ana::state_purge_per_decl::state_purge_per_decl | ( | const state_purge_map & | map, |
tree | decl, | ||
const function & | fun ) |
References map.
void ana::state_purge_per_decl::add_needed_at | ( | const function_point & | point | ) |
void ana::state_purge_per_decl::add_pointed_to_at | ( | const function_point & | point | ) |
|
private |
|
staticprivate |
References map.
|
inlineinherited |
References m_fun.
bool ana::state_purge_per_decl::needed_at_point_p | ( | const function_point & | point | ) | const |
|
private |
References map.
|
private |
References map.
void ana::state_purge_per_decl::process_worklists | ( | const state_purge_map & | map, |
region_model_manager * | mgr ) |
References map.
|
private |
|
privateinherited |
Referenced by get_fndecl(), get_function(), and state_purge_per_tree().
|
private |
|
private |