#include <redundancy_elimination.h>
Definition at line 93 of file redundancy_elimination.h.
◆ 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) {
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]...))>
The documentation for this class was generated from the following files: