| 141 | } |
| 142 | |
| 143 | void Reducer::AddReductionPass( |
| 144 | std::unique_ptr<ReductionOpportunityFinder> finder) { |
| 145 | passes_.push_back( |
| 146 | spvtools::MakeUnique<ReductionPass>(target_env_, std::move(finder))); |
| 147 | } |
| 148 | |
| 149 | void Reducer::AddCleanupReductionPass( |
| 150 | std::unique_ptr<ReductionOpportunityFinder> finder) { |