32 optimizations.emplace_back(
new T(optimization));
35 template<
typename Front,
typename... Others>
38 Append<Front>(optimizations, std::forward<Front>(front));
39 Append<Others...>(optimizations, std::forward<Others>(others)...);
42 template<
typename... Args>
47 Append(optimizations, std::forward<Args>(args)...);
static void Pass(Graph &graph, const Optimizations &optimizations)
std::unique_ptr< Optimization > OptimizationPtr
std::vector< OptimizationPtr > Optimizations
void Append(Optimizer::Optimizations &optimizations, T &&optimization)
Optimizer::Optimizations MakeOptimizations(Args &&... args)