| 443 | } |
| 444 | |
| 445 | void add_iedge(Graph* g, Node* dst, int dst_input, |
| 446 | const Edge* ori_edge, bool remove = true) { |
| 447 | g->AddEdge(ori_edge->src(), ori_edge->src_output(), dst, dst_input); |
| 448 | if (remove) { |
| 449 | g->RemoveEdge(ori_edge); |
| 450 | } |
| 451 | } |
| 452 | |
| 453 | void add_oedges(Graph* g, Node* src, int src_output, |
| 454 | std::vector<const Edge*>& ori_edges) { |
nothing calls this directly
no test coverage detected