(ssa)
| 814 | |
| 815 | @staticmethod |
| 816 | def from_ssa(ssa): |
| 817 | graph = DiGraph() |
| 818 | for op_id in range(len(ssa)): |
| 819 | for inp in ssa[op_id][0]: |
| 820 | for outp in ssa[op_id][1]: |
| 821 | graph.add_edge(inp, outp) |
| 822 | return graph |
| 823 | |
| 824 | |
| 825 | def _get_dependency_chain(ssa, versioned_target, versioned_source): |
no test coverage detected