GCC Middle and Back End API Reference
|
#include <tree-ssa-live.h>
Public Member Functions | |
virtual_operand_live () | |
~virtual_operand_live () | |
tree | get_live_in (basic_block bb) |
tree | get_live_out (basic_block bb) |
tree | get_live_on_edge (edge e) |
Private Member Functions | |
void | init () |
Private Attributes | |
tree * | liveout |
On-demand virtual operand global live analysis. There is at most a single virtual operand live at a time, the following computes and caches the virtual operand live at the exit of a basic block supporting related live-in and live-on-edge queries. It requires up-to-date marked backedges.
|
inline |
tree virtual_operand_live::get_live_in | ( | basic_block | bb | ) |
Compute live-in of BB from cached live-out.
References FOR_EACH_EDGE, get_live_out(), get_virtual_phi(), gimple_phi_result(), init(), livein, liveout, NULL_TREE, and basic_block_def::preds.
Referenced by get_live_out(), and statement_sink_location().
References get_live_out().
tree virtual_operand_live::get_live_out | ( | basic_block | bb | ) |
Compute live-out of BB.
References get_live_in(), gimple_vdef(), gimple_vuse(), gsi_end_p(), gsi_last_bb(), gsi_prev(), gsi_stmt(), basic_block_def::index, init(), liveout, and NULL_TREE.
Referenced by get_live_in(), and get_live_on_edge().
|
private |
Virtual operand liveness analysis data init.
References cfun, ENTRY_BLOCK, gimple_vop(), last_basic_block_for_fn, liveout, and ssa_default_def().
Referenced by get_live_in(), and get_live_out().
|
private |
Referenced by get_live_in(), get_live_out(), init(), and ~virtual_operand_live().