(analysis: Analysis, out: CWriter)
| 61 | |
| 62 | |
| 63 | def generate_opmap(analysis: Analysis, out: CWriter) -> None: |
| 64 | specialized = get_specialized(analysis) |
| 65 | out.emit("opmap = frozendict(\n") |
| 66 | for inst, op in analysis.opmap.items(): |
| 67 | if inst not in specialized: |
| 68 | out.emit(f"{inst}={analysis.opmap[inst]},\n") |
| 69 | out.emit(")\n\n") |
| 70 | |
| 71 | |
| 72 | def generate_py_metadata( |
no test coverage detected
searching dependent graphs…