| 111 | } |
| 112 | |
| 113 | void SubGraph::Rewriter::on_var_replaced(VarNode* src, VarNode* dst, const char* msg) { |
| 114 | if (auto state = m_owner_graph->owner_opt_state()) { |
| 115 | state->on_var_replaced(src, dst, msg); |
| 116 | } |
| 117 | } |
| 118 | |
| 119 | void SubGraph::Rewriter::apply_inplace() const { |
| 120 | m_owner_graph->m_endpoint_oprs.clear(); |
nothing calls this directly
no test coverage detected