8 9 10 11
# File 'lib/kumi/ir/vec/passes/peephole_simplify.rb', line 8 def run(graph:, context: {}) new_functions = graph.functions.values.map { simplify_function(_1) } Kumi::IR::Vec::Module.new(name: graph.name, functions: new_functions) end