Flutter Engine
The Flutter Engine
Static Public Member Functions | List of all members
dart::DominatorBasedCSE Class Reference

#include <redundancy_elimination.h>

Inheritance diagram for dart::DominatorBasedCSE:
dart::AllStatic

Static Public Member Functions

static bool Optimize (FlowGraph *graph, bool run_load_optimization=true)
 

Detailed Description

Definition at line 93 of file redundancy_elimination.h.

Member Function Documentation

◆ Optimize()

bool dart::DominatorBasedCSE::Optimize ( FlowGraph graph,
bool  run_load_optimization = true 
)
static

Definition at line 2959 of file redundancy_elimination.cc.

2960 {
2961 bool changed = false;
2962 if (FLAG_load_cse && run_load_optimization) {
2963 changed = LoadOptimizer::OptimizeGraph(graph) || changed;
2964 }
2965
2966 CSEInstructionSet map;
2967 changed = OptimizeRecursive(graph, graph->graph_entry(), &map) || changed;
2968
2969 return changed;
2970}
static bool OptimizeGraph(FlowGraph *graph)
SI auto map(std::index_sequence< I... >, Fn &&fn, const Args &... args) -> skvx::Vec< sizeof...(I), decltype(fn(args[0]...))>
Definition: SkVx.h:680

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