← passage and results

c47.generic.mlir

evidence/breadth-06/pbt/out/c47.generic.mlir

Download original file

"builtin.module"() ({
  "fabric.module"() <{function_type = (!fabric.bits_tag<32, 5>) -> !fabric.bits_tag<32, 5>, sym_name = "c47"}> ({
  ^bb0(%arg0: !fabric.bits_tag<32, 5>):
    %0 = "fabric.pe"(%arg0) <{fu_config_mode = #fabric.fu_config_mode<per_instruction_fu_config>, num_instruction = 4 : i32, operand_buffer_mode = #fabric.operand_buffer_mode<per_input_port>, operand_buffer_size = 6 : i32, schedule = 1 : i32, tag_width = 5 : i32}> ({
    ^bb0(%arg1: !fabric.bits<32>):
      %1 = "fabric.fu"(%arg1) ({
      ^bb0(%arg2: !fabric.bits<32>):
        %2 = "fabric.op"(%arg2, %arg2) <{hw_params = {integer_widths = [1 : i32]}, implementation_family = #fabric.implementation_family<ScalarIntegerAddSub>, op_list = [@arith.addi]}> : (!fabric.bits<32>, !fabric.bits<32>) -> !fabric.bits<32>
        "fabric.yield"(%2) : (!fabric.bits<32>) -> ()
      }) : (!fabric.bits<32>) -> !fabric.bits<32>
    }) : (!fabric.bits_tag<32, 5>) -> !fabric.bits_tag<32, 5>
    "fabric.yield"(%0) : (!fabric.bits_tag<32, 5>) -> ()
  }) : () -> ()
}) : () -> ()