#include <constant_propagator.h>
Definition at line 19 of file constant_propagator.h.
◆ ConstantPropagator()
Definition at line 29 of file constant_propagator.cc.
33 graph_(graph),
34 unknown_(Object::unknown_constant()),
35 non_constant_(Object::non_constant()),
37 reachable_(
new(
Z) BitVector(
Z, graph->preorder().length())),
38 unwrapped_phis_(
new(
Z) BitVector(
Z, graph->current_ssa_temp_index())),
39 block_worklist_(),
40 definition_worklist_(graph, 10) {}
FlowGraphVisitor(const GrowableArray< BlockEntryInstr * > &block_order)
◆ Optimize()
void dart::ConstantPropagator::Optimize |
( |
FlowGraph * |
graph | ) |
|
|
static |
Definition at line 42 of file constant_propagator.cc.
42 {
43 GrowableArray<BlockEntryInstr*> ignored;
45 cp.Analyze();
46 cp.Transform();
47}
ConstantPropagator(FlowGraph *graph, const GrowableArray< BlockEntryInstr * > &ignored)
◆ OptimizeBranches()
void dart::ConstantPropagator::OptimizeBranches |
( |
FlowGraph * |
graph | ) |
|
|
static |
Definition at line 49 of file constant_propagator.cc.
49 {
50 GrowableArray<BlockEntryInstr*> ignored;
52 cp.Analyze();
53 cp.Transform();
54 cp.EliminateRedundantBranches();
55}
◆ Unknown()
static ObjectPtr dart::ConstantPropagator::Unknown |
( |
| ) |
|
|
inlinestatic |
◆ VisitBlocks()
virtual void dart::ConstantPropagator::VisitBlocks |
( |
| ) |
|
|
inlineprivatevirtual |
The documentation for this class was generated from the following files: