Searched refs:consider_fn (Results 1 – 3 of 3) sorted by relevance
61 bool Optimize(const std::function<bool(const Node*)>& consider_fn);271 const std::function<bool(const Node*)>& consider_fn) { in Optimize() argument307 if (consider_fn != nullptr && !consider_fn(n)) continue; in Optimize()333 const std::function<bool(const Node*)>& consider_fn) { in OptimizeCSE() argument335 return opt.Optimize(consider_fn); in OptimizeCSE()
33 const std::function<bool(const Node*)>& consider_fn);
90 string DoCSE(const std::function<bool(const Node*)>& consider_fn = nullptr) { in DoCSE() argument94 OptimizeCSE(&graph_, consider_fn); in DoCSE()