| 82 | } |
| 83 | |
| 84 | void PassManager::run_index(Graph &g, size_t index) |
| 85 | { |
| 86 | if (index >= _passes.size()) |
| 87 | { |
| 88 | return; |
| 89 | } |
| 90 | |
| 91 | auto &pass = _passes.at(index); |
| 92 | if (pass != nullptr) |
| 93 | { |
| 94 | ARM_COMPUTE_LOG_GRAPH_INFO("Running mutating pass : " << pass->name() << std::endl); |
| 95 | pass->mutate(g); |
| 96 | } |
| 97 | } |
| 98 | } // namespace graph |
| 99 | } // namespace arm_compute |