Back to PBT run

output.generic.mlir

"builtin.module"() ({
  "dataflow.thread"() <{domain = #dataflow.thread_domain<dense>, function_type = (memref<4xi32>, i32, i1, index) -> (), sym_name = "thread_0", sym_visibility = "private"}> ({
  ^bb0(%arg15: memref<4xi32>, %arg16: i32, %arg17: i1, %arg18: index, %arg19: none):
    %7 = "arith.constant"() <{value = 0 : index}> : () -> index
    %8 = "arith.constant"() <{value = 1 : index}> : () -> index
    %9 = "scf.for"(%7, %arg18, %8, %arg19) ({
    ^bb0(%arg20: index, %arg21: none):
      %10 = "dataflow.graph.launch"(%arg21) <{callee = @graph_0_0, operandSegmentSizes = array<i32: 1, 0, 0, 0, 0>, resultSegmentSizes = array<i32: 0, 0, 1>, source_maps = []}> : (none) -> none
      "scf.yield"(%10) : (none) -> ()
    }) : (index, index, index, none) -> none
    "dataflow.thread.yield"(%9) : (none) -> ()
  }) : () -> ()
  "dataflow.thread"() <{domain = #dataflow.thread_domain<dense>, function_type = (memref<4xi32>, i32, i1, index) -> (), sym_name = "thread_1", sym_visibility = "private"}> ({
  ^bb0(%arg8: memref<4xi32>, %arg9: i32, %arg10: i1, %arg11: index, %arg12: none):
    %3 = "arith.constant"() <{value = 0 : index}> : () -> index
    %4 = "arith.constant"() <{value = 1 : index}> : () -> index
    %5 = "scf.for"(%3, %arg11, %4, %arg12) ({
    ^bb0(%arg13: index, %arg14: none):
      %6 = "dataflow.graph.launch"(%arg14) <{callee = @graph_1_0, operandSegmentSizes = array<i32: 1, 0, 0, 0, 0>, resultSegmentSizes = array<i32: 0, 0, 1>, source_maps = []}> : (none) -> none
      "scf.yield"(%6) : (none) -> ()
    }) : (index, index, index, none) -> none
    "dataflow.thread.yield"(%5) : (none) -> ()
  }) : () -> ()
  "dataflow.thread"() <{domain = #dataflow.thread_domain<dense>, function_type = (memref<4xi32>, i32, i1, index) -> (), sym_name = "thread_2", sym_visibility = "private"}> ({
  ^bb0(%arg3: memref<4xi32>, %arg4: i32, %arg5: i1, %arg6: index, %arg7: none):
    %0 = "arith.constant"() <{value = 0 : index}> : () -> index
    %1 = "arith.constant"() <{value = 1 : index}> : () -> index
    %2 = "dataflow.graph.launch"(%arg7) <{callee = @graph_2_0, operandSegmentSizes = array<i32: 1, 0, 0, 0, 0>, resultSegmentSizes = array<i32: 0, 0, 1>, source_maps = []}> : (none) -> none
    "dataflow.thread.yield"(%2) : (none) -> ()
  }) : () -> ()
  "dataflow.graph"() <{function_type = () -> (), input_segments = array<i32: 0, 0, 0>, result_segments = array<i32: 0, 0, 0>, sym_name = "graph_0_0", sym_visibility = "private"}> ({
  ^bb0(%arg2: none):
    "dataflow.graph.return"(%arg2) <{operandSegmentSizes = array<i32: 0, 0, 0, 1>}> : (none) -> ()
  }) : () -> ()
  "dataflow.graph"() <{function_type = () -> (), input_segments = array<i32: 0, 0, 0>, result_segments = array<i32: 0, 0, 0>, sym_name = "graph_1_0", sym_visibility = "private"}> ({
  ^bb0(%arg1: none):
    "dataflow.graph.return"(%arg1) <{operandSegmentSizes = array<i32: 0, 0, 0, 1>}> : (none) -> ()
  }) : () -> ()
  "dataflow.graph"() <{function_type = () -> (), input_segments = array<i32: 0, 0, 0>, result_segments = array<i32: 0, 0, 0>, sym_name = "graph_2_0", sym_visibility = "private"}> ({
  ^bb0(%arg0: none):
    "dataflow.graph.return"(%arg0) <{operandSegmentSizes = array<i32: 0, 0, 0, 1>}> : (none) -> ()
  }) : () -> ()
}) : () -> ()