; LLVM IR from libxsmm/libxsmm :: src (generator_mateltwise_unary_binary_rv64)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.libxsmm_mateltwise_kernel_config_struct = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8 }
%struct.libxsmm_mateltwise_gp_reg_mapping_struct = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.libxsmm_meltw_descriptor = type <{ i32, i32, i32, i32, i32, i32, i8, i8, i8, i16, i16, i8 }>

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_load_rv64_2d_reg_block(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

declare void @libxsmm_rv64_instruction_rvv_setivli(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_store_rv64_2d_reg_block(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_compute_unary_binary_rv64_2d_reg_block(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_setup_input_output_rv64_masks(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_configure_microkernel_rv64_loops(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_unary_rv64_binary_2d_microkernel(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6) #1 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store i32 %5, ptr %13, align 4, !tbaa !9
  store i32 %6, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #3
  %38 = load ptr, ptr %11, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %38, i32 0, i32 18
  %40 = load i32, ptr %39, align 4, !tbaa !11
  store i32 %40, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #3
  %41 = load ptr, ptr %11, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %41, i32 0, i32 120
  %43 = load i32, ptr %42, align 4, !tbaa !13
  store i32 %43, ptr %34, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #3
  %44 = load ptr, ptr %11, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %44, i32 0, i32 123
  %46 = load i32, ptr %45, align 4, !tbaa !14
  store i32 %46, ptr %35, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #3
  %47 = load ptr, ptr %11, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %47, i32 0, i32 2
  %49 = load i32, ptr %48, align 4, !tbaa !15
  %50 = icmp eq i32 %49, 8
  br i1 %50, label %51, label %52

51:                                               ; preds = %7
  br label %67

52:                                               ; preds = %7
  %53 = load ptr, ptr %11, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %53, i32 0, i32 2
  %55 = load i32, ptr %54, align 4, !tbaa !15
  %56 = icmp eq i32 %55, 4
  br i1 %56, label %57, label %58

57:                                               ; preds = %52
  br label %65

58:                                               ; preds = %52
  %59 = load ptr, ptr %11, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %59, i32 0, i32 2
  %61 = load i32, ptr %60, align 4, !tbaa !15
  %62 = icmp eq i32 %61, 2
  %63 = zext i1 %62 to i64
  %64 = select i1 %62, i32 1, i32 0
  br label %65

65:                                               ; preds = %58, %57
  %66 = phi i32 [ 2, %57 ], [ %64, %58 ]
  br label %67

67:                                               ; preds = %65, %51
  %68 = phi i32 [ 3, %51 ], [ %66, %65 ]
  store i32 %68, ptr %37, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  store i32 127, ptr %32, align 4, !tbaa !9
  store i32 127, ptr %33, align 4, !tbaa !9
  %69 = load i32, ptr %23, align 4, !tbaa !9
  %70 = load i32, ptr %34, align 4, !tbaa !9
  %71 = load i32, ptr %35, align 4, !tbaa !9
  %72 = load i32, ptr %36, align 4, !tbaa !9
  %73 = load i32, ptr %33, align 4, !tbaa !9
  %74 = load i32, ptr %16, align 4, !tbaa !9
  %75 = load ptr, ptr %8, align 8, !tbaa !5
  %76 = load ptr, ptr %11, align 8, !tbaa !5
  %77 = load ptr, ptr %12, align 8, !tbaa !5
  %78 = load ptr, ptr %10, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %78, i32 0, i32 35
  %80 = load i32, ptr %79, align 4, !tbaa !16
  %81 = load i32, ptr %13, align 4, !tbaa !9
  call void @libxsmm_setup_input_output_rv64_masks(ptr noundef %75, ptr noundef %76, ptr noundef %77, i32 noundef %80, i32 noundef %81, ptr noundef %15, ptr noundef %32, ptr noundef %16, ptr noundef %33)
  %82 = load ptr, ptr %8, align 8, !tbaa !5
  %83 = load ptr, ptr %10, align 8, !tbaa !5
  %84 = load ptr, ptr %11, align 8, !tbaa !5
  %85 = load ptr, ptr %12, align 8, !tbaa !5
  %86 = load i32, ptr %13, align 4, !tbaa !9
  %87 = load i32, ptr %14, align 4, !tbaa !9
  %88 = load i32, ptr %15, align 4, !tbaa !9
  call void @libxsmm_configure_microkernel_rv64_loops(ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, i32 noundef %86, i32 noundef %87, i32 noundef %88, ptr noundef %17, ptr noundef %20, ptr noundef %18, ptr noundef %21, ptr noundef %19, ptr noundef %22, ptr noundef %24, ptr noundef %25, ptr noundef %28, ptr noundef %29, ptr noundef %26, ptr noundef %27, ptr noundef %30, ptr noundef %31)
  %89 = load ptr, ptr %8, align 8, !tbaa !5
  %90 = load i32, ptr %34, align 4, !tbaa !9
  %91 = load ptr, ptr %10, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %91, i32 0, i32 35
  %93 = load i32, ptr %92, align 4, !tbaa !16
  %94 = load i32, ptr %37, align 4, !tbaa !9
  call void @libxsmm_rv64_instruction_rvv_setivli(ptr noundef %89, i32 noundef %90, i32 noundef %93, i32 noundef %94, i32 noundef 0)
  %95 = load i32, ptr %24, align 4, !tbaa !9
  %96 = icmp ugt i32 %95, 1
  br i1 %96, label %97, label %102

97:                                               ; preds = %67
  %98 = load ptr, ptr %8, align 8, !tbaa !5
  %99 = load ptr, ptr %9, align 8, !tbaa !5
  %100 = load i32, ptr %26, align 4, !tbaa !9
  %101 = load i32, ptr %28, align 4, !tbaa !9
  call void @libxsmm_generator_loop_header_rv64(ptr noundef %98, ptr noundef %99, i32 noundef %100, i32 noundef %101)
  br label %102

102:                                              ; preds = %97, %67
  %103 = load i32, ptr %25, align 4, !tbaa !9
  %104 = icmp ugt i32 %103, 1
  br i1 %104, label %105, label %110

105:                                              ; preds = %102
  %106 = load ptr, ptr %8, align 8, !tbaa !5
  %107 = load ptr, ptr %9, align 8, !tbaa !5
  %108 = load i32, ptr %27, align 4, !tbaa !9
  %109 = load i32, ptr %29, align 4, !tbaa !9
  call void @libxsmm_generator_loop_header_rv64(ptr noundef %106, ptr noundef %107, i32 noundef %108, i32 noundef %109)
  br label %110

110:                                              ; preds = %105, %102
  %111 = load i32, ptr %15, align 4, !tbaa !9
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %113, label %117

113:                                              ; preds = %110
  %114 = load ptr, ptr %8, align 8, !tbaa !5
  %115 = load i32, ptr %15, align 4, !tbaa !9
  %116 = zext i32 %115 to i64
  call void @libxsmm_rv64_instruction_alu_set_imm64(ptr noundef %114, i32 noundef 20, i64 noundef %116)
  br label %121

117:                                              ; preds = %110
  %118 = load ptr, ptr %8, align 8, !tbaa !5
  %119 = load i32, ptr %34, align 4, !tbaa !9
  %120 = zext i32 %119 to i64
  call void @libxsmm_rv64_instruction_alu_set_imm64(ptr noundef %118, i32 noundef 20, i64 noundef %120)
  br label %121

121:                                              ; preds = %117, %113
  %122 = load ptr, ptr %8, align 8, !tbaa !5
  %123 = load i32, ptr %34, align 4, !tbaa !9
  %124 = load ptr, ptr %10, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %124, i32 0, i32 35
  %126 = load i32, ptr %125, align 4, !tbaa !16
  %127 = load i32, ptr %37, align 4, !tbaa !9
  call void @libxsmm_rv64_instruction_rvv_setivli(ptr noundef %122, i32 noundef %123, i32 noundef %126, i32 noundef %127, i32 noundef 0)
  %128 = load ptr, ptr %8, align 8, !tbaa !5
  %129 = load ptr, ptr %10, align 8, !tbaa !5
  %130 = load ptr, ptr %11, align 8, !tbaa !5
  %131 = load ptr, ptr %12, align 8, !tbaa !5
  %132 = load i32, ptr %34, align 4, !tbaa !9
  %133 = load i32, ptr %23, align 4, !tbaa !9
  %134 = load i32, ptr %18, align 4, !tbaa !9
  %135 = load i32, ptr %21, align 4, !tbaa !9
  %136 = load i32, ptr %15, align 4, !tbaa !9
  %137 = load i32, ptr %32, align 4, !tbaa !9
  call void @libxsmm_load_rv64_2d_reg_block(ptr noundef %128, ptr noundef %129, ptr noundef %130, ptr noundef %131, i32 noundef %132, i32 noundef 20, i32 noundef %133, i32 noundef %134, i32 noundef %135, i32 noundef %136, i32 noundef %137)
  %138 = load ptr, ptr %8, align 8, !tbaa !5
  %139 = load ptr, ptr %10, align 8, !tbaa !5
  %140 = load ptr, ptr %11, align 8, !tbaa !5
  %141 = load ptr, ptr %12, align 8, !tbaa !5
  %142 = load i32, ptr %34, align 4, !tbaa !9
  %143 = load i32, ptr %23, align 4, !tbaa !9
  %144 = load i32, ptr %18, align 4, !tbaa !9
  %145 = load i32, ptr %21, align 4, !tbaa !9
  %146 = load i32, ptr %15, align 4, !tbaa !9
  %147 = load i32, ptr %32, align 4, !tbaa !9
  call void @libxsmm_compute_unary_binary_rv64_2d_reg_block(ptr noundef %138, ptr noundef %139, ptr noundef %140, ptr noundef %141, i32 noundef %142, i32 noundef 20, i32 noundef %143, i32 noundef %144, i32 noundef %145, i32 noundef %146, i32 noundef %147)
  %148 = load ptr, ptr %8, align 8, !tbaa !5
  %149 = load i32, ptr %35, align 4, !tbaa !9
  %150 = load ptr, ptr %10, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %150, i32 0, i32 35
  %152 = load i32, ptr %151, align 4, !tbaa !16
  %153 = load i32, ptr %37, align 4, !tbaa !9
  call void @libxsmm_rv64_instruction_rvv_setivli(ptr noundef %148, i32 noundef %149, i32 noundef %152, i32 noundef %153, i32 noundef 0)
  %154 = load ptr, ptr %8, align 8, !tbaa !5
  %155 = load ptr, ptr %10, align 8, !tbaa !5
  %156 = load ptr, ptr %11, align 8, !tbaa !5
  %157 = load ptr, ptr %12, align 8, !tbaa !5
  %158 = load i32, ptr %35, align 4, !tbaa !9
  %159 = load i32, ptr %23, align 4, !tbaa !9
  %160 = load i32, ptr %18, align 4, !tbaa !9
  %161 = load i32, ptr %21, align 4, !tbaa !9
  %162 = load i32, ptr %16, align 4, !tbaa !9
  %163 = load i32, ptr %33, align 4, !tbaa !9
  call void @libxsmm_store_rv64_2d_reg_block(ptr noundef %154, ptr noundef %155, ptr noundef %156, ptr noundef %157, i32 noundef %158, i32 noundef 20, i32 noundef %159, i32 noundef %160, i32 noundef %161, i32 noundef %162, i32 noundef %163)
  %164 = load i32, ptr %25, align 4, !tbaa !9
  %165 = icmp ugt i32 %164, 1
  br i1 %165, label %166, label %454

166:                                              ; preds = %121
  %167 = load i32, ptr %27, align 4, !tbaa !9
  %168 = load ptr, ptr %10, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %168, i32 0, i32 24
  %170 = load i32, ptr %169, align 4, !tbaa !18
  %171 = icmp eq i32 %167, %170
  %172 = zext i1 %171 to i64
  %173 = select i1 %171, i32 0, i32 1
  store i32 %173, ptr %36, align 4, !tbaa !9
  %174 = load ptr, ptr %8, align 8, !tbaa !5
  %175 = load ptr, ptr %10, align 8, !tbaa !5
  %176 = load ptr, ptr %11, align 8, !tbaa !5
  %177 = load ptr, ptr %12, align 8, !tbaa !5
  %178 = load ptr, ptr %10, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %178, i32 0, i32 1
  %180 = load i32, ptr %179, align 4, !tbaa !19
  %181 = load i32, ptr %31, align 4, !tbaa !9
  %182 = load i32, ptr %36, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %174, ptr noundef %175, ptr noundef %176, ptr noundef %177, i32 noundef %180, i32 noundef 51, i32 noundef %181, i32 noundef %182)
  %183 = load ptr, ptr %8, align 8, !tbaa !5
  %184 = load ptr, ptr %10, align 8, !tbaa !5
  %185 = load ptr, ptr %11, align 8, !tbaa !5
  %186 = load ptr, ptr %12, align 8, !tbaa !5
  %187 = load ptr, ptr %10, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %187, i32 0, i32 6
  %189 = load i32, ptr %188, align 4, !tbaa !20
  %190 = load i32, ptr %31, align 4, !tbaa !9
  %191 = load i32, ptr %36, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %183, ptr noundef %184, ptr noundef %185, ptr noundef %186, i32 noundef %189, i32 noundef 51, i32 noundef %190, i32 noundef %191)
  %192 = load ptr, ptr %12, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %192, i32 0, i32 11
  %194 = load i8, ptr %193, align 1, !tbaa !21
  %195 = zext i8 %194 to i32
  %196 = icmp eq i32 %195, 1
  br i1 %196, label %197, label %213

197:                                              ; preds = %166
  %198 = load ptr, ptr %12, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %198, i32 0, i32 10
  %200 = load i16, ptr %199, align 1, !tbaa !24
  %201 = zext i16 %200 to i32
  %202 = icmp eq i32 %201, 63
  br i1 %202, label %203, label %213

203:                                              ; preds = %197
  %204 = load ptr, ptr %8, align 8, !tbaa !5
  %205 = load ptr, ptr %10, align 8, !tbaa !5
  %206 = load ptr, ptr %11, align 8, !tbaa !5
  %207 = load ptr, ptr %12, align 8, !tbaa !5
  %208 = load ptr, ptr %10, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %208, i32 0, i32 7
  %210 = load i32, ptr %209, align 4, !tbaa !25
  %211 = load i32, ptr %31, align 4, !tbaa !9
  %212 = load i32, ptr %36, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %204, ptr noundef %205, ptr noundef %206, ptr noundef %207, i32 noundef %210, i32 noundef 51, i32 noundef %211, i32 noundef %212)
  br label %213

213:                                              ; preds = %203, %197, %166
  %214 = load ptr, ptr %12, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %214, i32 0, i32 11
  %216 = load i8, ptr %215, align 1, !tbaa !21
  %217 = zext i8 %216 to i32
  %218 = icmp eq i32 %217, 2
  br i1 %218, label %219, label %229

219:                                              ; preds = %213
  %220 = load ptr, ptr %8, align 8, !tbaa !5
  %221 = load ptr, ptr %10, align 8, !tbaa !5
  %222 = load ptr, ptr %11, align 8, !tbaa !5
  %223 = load ptr, ptr %12, align 8, !tbaa !5
  %224 = load ptr, ptr %10, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %224, i32 0, i32 2
  %226 = load i32, ptr %225, align 4, !tbaa !26
  %227 = load i32, ptr %31, align 4, !tbaa !9
  %228 = load i32, ptr %36, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %220, ptr noundef %221, ptr noundef %222, ptr noundef %223, i32 noundef %226, i32 noundef 51, i32 noundef %227, i32 noundef %228)
  br label %229

229:                                              ; preds = %219, %213
  %230 = load ptr, ptr %12, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %230, i32 0, i32 11
  %232 = load i8, ptr %231, align 1, !tbaa !21
  %233 = zext i8 %232 to i32
  %234 = icmp eq i32 %233, 1
  br i1 %234, label %235, label %305

235:                                              ; preds = %229
  %236 = load ptr, ptr %12, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %236, i32 0, i32 10
  %238 = load i16, ptr %237, align 1, !tbaa !24
  %239 = zext i16 %238 to i32
  %240 = icmp eq i32 %239, 5
  br i1 %240, label %271, label %241

241:                                              ; preds = %235
  %242 = load ptr, ptr %12, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %242, i32 0, i32 10
  %244 = load i16, ptr %243, align 1, !tbaa !24
  %245 = zext i16 %244 to i32
  %246 = icmp eq i32 %245, 6
  br i1 %246, label %271, label %247

247:                                              ; preds = %241
  %248 = load ptr, ptr %12, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %248, i32 0, i32 10
  %250 = load i16, ptr %249, align 1, !tbaa !24
  %251 = zext i16 %250 to i32
  %252 = icmp eq i32 %251, 34
  br i1 %252, label %271, label %253

253:                                              ; preds = %247
  %254 = load ptr, ptr %12, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %254, i32 0, i32 10
  %256 = load i16, ptr %255, align 1, !tbaa !24
  %257 = zext i16 %256 to i32
  %258 = icmp eq i32 %257, 35
  br i1 %258, label %271, label %259

259:                                              ; preds = %253
  %260 = load ptr, ptr %12, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %260, i32 0, i32 10
  %262 = load i16, ptr %261, align 1, !tbaa !24
  %263 = zext i16 %262 to i32
  %264 = icmp eq i32 %263, 36
  br i1 %264, label %271, label %265

265:                                              ; preds = %259
  %266 = load ptr, ptr %12, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %266, i32 0, i32 10
  %268 = load i16, ptr %267, align 1, !tbaa !24
  %269 = zext i16 %268 to i32
  %270 = icmp eq i32 %269, 37
  br i1 %270, label %271, label %281

271:                                              ; preds = %265, %259, %253, %247, %241, %235
  %272 = load ptr, ptr %8, align 8, !tbaa !5
  %273 = load ptr, ptr %10, align 8, !tbaa !5
  %274 = load ptr, ptr %11, align 8, !tbaa !5
  %275 = load ptr, ptr %12, align 8, !tbaa !5
  %276 = load ptr, ptr %10, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %276, i32 0, i32 9
  %278 = load i32, ptr %277, align 4, !tbaa !27
  %279 = load i32, ptr %31, align 4, !tbaa !9
  %280 = load i32, ptr %36, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %272, ptr noundef %273, ptr noundef %274, ptr noundef %275, i32 noundef %278, i32 noundef 51, i32 noundef %279, i32 noundef %280)
  br label %304

281:                                              ; preds = %265
  %282 = load ptr, ptr %12, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %282, i32 0, i32 10
  %284 = load i16, ptr %283, align 1, !tbaa !24
  %285 = zext i16 %284 to i32
  %286 = icmp eq i32 %285, 25
  br i1 %286, label %293, label %287

287:                                              ; preds = %281
  %288 = load ptr, ptr %12, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %288, i32 0, i32 10
  %290 = load i16, ptr %289, align 1, !tbaa !24
  %291 = zext i16 %290 to i32
  %292 = icmp eq i32 %291, 26
  br i1 %292, label %293, label %303

293:                                              ; preds = %287, %281
  %294 = load ptr, ptr %8, align 8, !tbaa !5
  %295 = load ptr, ptr %10, align 8, !tbaa !5
  %296 = load ptr, ptr %11, align 8, !tbaa !5
  %297 = load ptr, ptr %12, align 8, !tbaa !5
  %298 = load ptr, ptr %10, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %298, i32 0, i32 13
  %300 = load i32, ptr %299, align 4, !tbaa !28
  %301 = load i32, ptr %31, align 4, !tbaa !9
  %302 = load i32, ptr %36, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %294, ptr noundef %295, ptr noundef %296, ptr noundef %297, i32 noundef %300, i32 noundef 51, i32 noundef %301, i32 noundef %302)
  br label %303

303:                                              ; preds = %293, %287
  br label %304

304:                                              ; preds = %303, %271
  br label %305

305:                                              ; preds = %304, %229
  %306 = load ptr, ptr %8, align 8, !tbaa !5
  %307 = load ptr, ptr %9, align 8, !tbaa !5
  %308 = load i32, ptr %27, align 4, !tbaa !9
  %309 = load i32, ptr %31, align 4, !tbaa !9
  call void @libxsmm_generator_loop_footer_rv64(ptr noundef %306, ptr noundef %307, i32 noundef %308, i32 noundef %309)
  %310 = load ptr, ptr %8, align 8, !tbaa !5
  %311 = load ptr, ptr %10, align 8, !tbaa !5
  %312 = load ptr, ptr %11, align 8, !tbaa !5
  %313 = load ptr, ptr %12, align 8, !tbaa !5
  %314 = load ptr, ptr %10, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %314, i32 0, i32 1
  %316 = load i32, ptr %315, align 4, !tbaa !19
  %317 = load i32, ptr %31, align 4, !tbaa !9
  %318 = load i32, ptr %25, align 4, !tbaa !9
  %319 = mul i32 %317, %318
  %320 = load i32, ptr %36, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %310, ptr noundef %311, ptr noundef %312, ptr noundef %313, i32 noundef %316, i32 noundef 1073741875, i32 noundef %319, i32 noundef %320)
  %321 = load ptr, ptr %8, align 8, !tbaa !5
  %322 = load ptr, ptr %10, align 8, !tbaa !5
  %323 = load ptr, ptr %11, align 8, !tbaa !5
  %324 = load ptr, ptr %12, align 8, !tbaa !5
  %325 = load ptr, ptr %10, align 8, !tbaa !5
  %326 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %325, i32 0, i32 6
  %327 = load i32, ptr %326, align 4, !tbaa !20
  %328 = load i32, ptr %31, align 4, !tbaa !9
  %329 = load i32, ptr %25, align 4, !tbaa !9
  %330 = mul i32 %328, %329
  %331 = load i32, ptr %36, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %321, ptr noundef %322, ptr noundef %323, ptr noundef %324, i32 noundef %327, i32 noundef 1073741875, i32 noundef %330, i32 noundef %331)
  %332 = load ptr, ptr %12, align 8, !tbaa !5
  %333 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %332, i32 0, i32 11
  %334 = load i8, ptr %333, align 1, !tbaa !21
  %335 = zext i8 %334 to i32
  %336 = icmp eq i32 %335, 1
  br i1 %336, label %337, label %355

337:                                              ; preds = %305
  %338 = load ptr, ptr %12, align 8, !tbaa !5
  %339 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %338, i32 0, i32 10
  %340 = load i16, ptr %339, align 1, !tbaa !24
  %341 = zext i16 %340 to i32
  %342 = icmp eq i32 %341, 63
  br i1 %342, label %343, label %355

343:                                              ; preds = %337
  %344 = load ptr, ptr %8, align 8, !tbaa !5
  %345 = load ptr, ptr %10, align 8, !tbaa !5
  %346 = load ptr, ptr %11, align 8, !tbaa !5
  %347 = load ptr, ptr %12, align 8, !tbaa !5
  %348 = load ptr, ptr %10, align 8, !tbaa !5
  %349 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %348, i32 0, i32 7
  %350 = load i32, ptr %349, align 4, !tbaa !25
  %351 = load i32, ptr %31, align 4, !tbaa !9
  %352 = load i32, ptr %25, align 4, !tbaa !9
  %353 = mul i32 %351, %352
  %354 = load i32, ptr %36, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %344, ptr noundef %345, ptr noundef %346, ptr noundef %347, i32 noundef %350, i32 noundef 1073741875, i32 noundef %353, i32 noundef %354)
  br label %355

355:                                              ; preds = %343, %337, %305
  %356 = load ptr, ptr %12, align 8, !tbaa !5
  %357 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %356, i32 0, i32 11
  %358 = load i8, ptr %357, align 1, !tbaa !21
  %359 = zext i8 %358 to i32
  %360 = icmp eq i32 %359, 2
  br i1 %360, label %361, label %373

361:                                              ; preds = %355
  %362 = load ptr, ptr %8, align 8, !tbaa !5
  %363 = load ptr, ptr %10, align 8, !tbaa !5
  %364 = load ptr, ptr %11, align 8, !tbaa !5
  %365 = load ptr, ptr %12, align 8, !tbaa !5
  %366 = load ptr, ptr %10, align 8, !tbaa !5
  %367 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %366, i32 0, i32 2
  %368 = load i32, ptr %367, align 4, !tbaa !26
  %369 = load i32, ptr %31, align 4, !tbaa !9
  %370 = load i32, ptr %25, align 4, !tbaa !9
  %371 = mul i32 %369, %370
  %372 = load i32, ptr %36, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %362, ptr noundef %363, ptr noundef %364, ptr noundef %365, i32 noundef %368, i32 noundef 1073741875, i32 noundef %371, i32 noundef %372)
  br label %373

373:                                              ; preds = %361, %355
  %374 = load ptr, ptr %12, align 8, !tbaa !5
  %375 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %374, i32 0, i32 11
  %376 = load i8, ptr %375, align 1, !tbaa !21
  %377 = zext i8 %376 to i32
  %378 = icmp eq i32 %377, 1
  br i1 %378, label %379, label %453

379:                                              ; preds = %373
  %380 = load ptr, ptr %12, align 8, !tbaa !5
  %381 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %380, i32 0, i32 10
  %382 = load i16, ptr %381, align 1, !tbaa !24
  %383 = zext i16 %382 to i32
  %384 = icmp eq i32 %383, 5
  br i1 %384, label %415, label %385

385:                                              ; preds = %379
  %386 = load ptr, ptr %12, align 8, !tbaa !5
  %387 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %386, i32 0, i32 10
  %388 = load i16, ptr %387, align 1, !tbaa !24
  %389 = zext i16 %388 to i32
  %390 = icmp eq i32 %389, 6
  br i1 %390, label %415, label %391

391:                                              ; preds = %385
  %392 = load ptr, ptr %12, align 8, !tbaa !5
  %393 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %392, i32 0, i32 10
  %394 = load i16, ptr %393, align 1, !tbaa !24
  %395 = zext i16 %394 to i32
  %396 = icmp eq i32 %395, 34
  br i1 %396, label %415, label %397

397:                                              ; preds = %391
  %398 = load ptr, ptr %12, align 8, !tbaa !5
  %399 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %398, i32 0, i32 10
  %400 = load i16, ptr %399, align 1, !tbaa !24
  %401 = zext i16 %400 to i32
  %402 = icmp eq i32 %401, 35
  br i1 %402, label %415, label %403

403:                                              ; preds = %397
  %404 = load ptr, ptr %12, align 8, !tbaa !5
  %405 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %404, i32 0, i32 10
  %406 = load i16, ptr %405, align 1, !tbaa !24
  %407 = zext i16 %406 to i32
  %408 = icmp eq i32 %407, 36
  br i1 %408, label %415, label %409

409:                                              ; preds = %403
  %410 = load ptr, ptr %12, align 8, !tbaa !5
  %411 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %410, i32 0, i32 10
  %412 = load i16, ptr %411, align 1, !tbaa !24
  %413 = zext i16 %412 to i32
  %414 = icmp eq i32 %413, 37
  br i1 %414, label %415, label %427

415:                                              ; preds = %409, %403, %397, %391, %385, %379
  %416 = load ptr, ptr %8, align 8, !tbaa !5
  %417 = load ptr, ptr %10, align 8, !tbaa !5
  %418 = load ptr, ptr %11, align 8, !tbaa !5
  %419 = load ptr, ptr %12, align 8, !tbaa !5
  %420 = load ptr, ptr %10, align 8, !tbaa !5
  %421 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %420, i32 0, i32 9
  %422 = load i32, ptr %421, align 4, !tbaa !27
  %423 = load i32, ptr %31, align 4, !tbaa !9
  %424 = load i32, ptr %25, align 4, !tbaa !9
  %425 = mul i32 %423, %424
  %426 = load i32, ptr %36, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %416, ptr noundef %417, ptr noundef %418, ptr noundef %419, i32 noundef %422, i32 noundef 1073741875, i32 noundef %425, i32 noundef %426)
  br label %452

427:                                              ; preds = %409
  %428 = load ptr, ptr %12, align 8, !tbaa !5
  %429 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %428, i32 0, i32 10
  %430 = load i16, ptr %429, align 1, !tbaa !24
  %431 = zext i16 %430 to i32
  %432 = icmp eq i32 %431, 25
  br i1 %432, label %439, label %433

433:                                              ; preds = %427
  %434 = load ptr, ptr %12, align 8, !tbaa !5
  %435 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %434, i32 0, i32 10
  %436 = load i16, ptr %435, align 1, !tbaa !24
  %437 = zext i16 %436 to i32
  %438 = icmp eq i32 %437, 26
  br i1 %438, label %439, label %451

439:                                              ; preds = %433, %427
  %440 = load ptr, ptr %8, align 8, !tbaa !5
  %441 = load ptr, ptr %10, align 8, !tbaa !5
  %442 = load ptr, ptr %11, align 8, !tbaa !5
  %443 = load ptr, ptr %12, align 8, !tbaa !5
  %444 = load ptr, ptr %10, align 8, !tbaa !5
  %445 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %444, i32 0, i32 13
  %446 = load i32, ptr %445, align 4, !tbaa !28
  %447 = load i32, ptr %31, align 4, !tbaa !9
  %448 = load i32, ptr %25, align 4, !tbaa !9
  %449 = mul i32 %447, %448
  %450 = load i32, ptr %36, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %440, ptr noundef %441, ptr noundef %442, ptr noundef %443, i32 noundef %446, i32 noundef 1073741875, i32 noundef %449, i32 noundef %450)
  br label %451

451:                                              ; preds = %439, %433
  br label %452

452:                                              ; preds = %451, %415
  br label %453

453:                                              ; preds = %452, %373
  br label %454

454:                                              ; preds = %453, %121
  %455 = load i32, ptr %24, align 4, !tbaa !9
  %456 = icmp ugt i32 %455, 1
  br i1 %456, label %457, label %745

457:                                              ; preds = %454
  %458 = load i32, ptr %26, align 4, !tbaa !9
  %459 = load ptr, ptr %10, align 8, !tbaa !5
  %460 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %459, i32 0, i32 24
  %461 = load i32, ptr %460, align 4, !tbaa !18
  %462 = icmp eq i32 %458, %461
  %463 = zext i1 %462 to i64
  %464 = select i1 %462, i32 0, i32 1
  store i32 %464, ptr %36, align 4, !tbaa !9
  %465 = load ptr, ptr %8, align 8, !tbaa !5
  %466 = load ptr, ptr %10, align 8, !tbaa !5
  %467 = load ptr, ptr %11, align 8, !tbaa !5
  %468 = load ptr, ptr %12, align 8, !tbaa !5
  %469 = load ptr, ptr %10, align 8, !tbaa !5
  %470 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %469, i32 0, i32 1
  %471 = load i32, ptr %470, align 4, !tbaa !19
  %472 = load i32, ptr %30, align 4, !tbaa !9
  %473 = load i32, ptr %36, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %465, ptr noundef %466, ptr noundef %467, ptr noundef %468, i32 noundef %471, i32 noundef 51, i32 noundef %472, i32 noundef %473)
  %474 = load ptr, ptr %8, align 8, !tbaa !5
  %475 = load ptr, ptr %10, align 8, !tbaa !5
  %476 = load ptr, ptr %11, align 8, !tbaa !5
  %477 = load ptr, ptr %12, align 8, !tbaa !5
  %478 = load ptr, ptr %10, align 8, !tbaa !5
  %479 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %478, i32 0, i32 6
  %480 = load i32, ptr %479, align 4, !tbaa !20
  %481 = load i32, ptr %30, align 4, !tbaa !9
  %482 = load i32, ptr %36, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %474, ptr noundef %475, ptr noundef %476, ptr noundef %477, i32 noundef %480, i32 noundef 51, i32 noundef %481, i32 noundef %482)
  %483 = load ptr, ptr %12, align 8, !tbaa !5
  %484 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %483, i32 0, i32 11
  %485 = load i8, ptr %484, align 1, !tbaa !21
  %486 = zext i8 %485 to i32
  %487 = icmp eq i32 %486, 1
  br i1 %487, label %488, label %504

488:                                              ; preds = %457
  %489 = load ptr, ptr %12, align 8, !tbaa !5
  %490 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %489, i32 0, i32 10
  %491 = load i16, ptr %490, align 1, !tbaa !24
  %492 = zext i16 %491 to i32
  %493 = icmp eq i32 %492, 63
  br i1 %493, label %494, label %504

494:                                              ; preds = %488
  %495 = load ptr, ptr %8, align 8, !tbaa !5
  %496 = load ptr, ptr %10, align 8, !tbaa !5
  %497 = load ptr, ptr %11, align 8, !tbaa !5
  %498 = load ptr, ptr %12, align 8, !tbaa !5
  %499 = load ptr, ptr %10, align 8, !tbaa !5
  %500 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %499, i32 0, i32 7
  %501 = load i32, ptr %500, align 4, !tbaa !25
  %502 = load i32, ptr %30, align 4, !tbaa !9
  %503 = load i32, ptr %36, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %495, ptr noundef %496, ptr noundef %497, ptr noundef %498, i32 noundef %501, i32 noundef 51, i32 noundef %502, i32 noundef %503)
  br label %504

504:                                              ; preds = %494, %488, %457
  %505 = load ptr, ptr %12, align 8, !tbaa !5
  %506 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %505, i32 0, i32 11
  %507 = load i8, ptr %506, align 1, !tbaa !21
  %508 = zext i8 %507 to i32
  %509 = icmp eq i32 %508, 2
  br i1 %509, label %510, label %520

510:                                              ; preds = %504
  %511 = load ptr, ptr %8, align 8, !tbaa !5
  %512 = load ptr, ptr %10, align 8, !tbaa !5
  %513 = load ptr, ptr %11, align 8, !tbaa !5
  %514 = load ptr, ptr %12, align 8, !tbaa !5
  %515 = load ptr, ptr %10, align 8, !tbaa !5
  %516 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %515, i32 0, i32 2
  %517 = load i32, ptr %516, align 4, !tbaa !26
  %518 = load i32, ptr %30, align 4, !tbaa !9
  %519 = load i32, ptr %36, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %511, ptr noundef %512, ptr noundef %513, ptr noundef %514, i32 noundef %517, i32 noundef 51, i32 noundef %518, i32 noundef %519)
  br label %520

520:                                              ; preds = %510, %504
  %521 = load ptr, ptr %12, align 8, !tbaa !5
  %522 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %521, i32 0, i32 11
  %523 = load i8, ptr %522, align 1, !tbaa !21
  %524 = zext i8 %523 to i32
  %525 = icmp eq i32 %524, 1
  br i1 %525, label %526, label %596

526:                                              ; preds = %520
  %527 = load ptr, ptr %12, align 8, !tbaa !5
  %528 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %527, i32 0, i32 10
  %529 = load i16, ptr %528, align 1, !tbaa !24
  %530 = zext i16 %529 to i32
  %531 = icmp eq i32 %530, 5
  br i1 %531, label %562, label %532

532:                                              ; preds = %526
  %533 = load ptr, ptr %12, align 8, !tbaa !5
  %534 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %533, i32 0, i32 10
  %535 = load i16, ptr %534, align 1, !tbaa !24
  %536 = zext i16 %535 to i32
  %537 = icmp eq i32 %536, 6
  br i1 %537, label %562, label %538

538:                                              ; preds = %532
  %539 = load ptr, ptr %12, align 8, !tbaa !5
  %540 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %539, i32 0, i32 10
  %541 = load i16, ptr %540, align 1, !tbaa !24
  %542 = zext i16 %541 to i32
  %543 = icmp eq i32 %542, 34
  br i1 %543, label %562, label %544

544:                                              ; preds = %538
  %545 = load ptr, ptr %12, align 8, !tbaa !5
  %546 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %545, i32 0, i32 10
  %547 = load i16, ptr %546, align 1, !tbaa !24
  %548 = zext i16 %547 to i32
  %549 = icmp eq i32 %548, 35
  br i1 %549, label %562, label %550

550:                                              ; preds = %544
  %551 = load ptr, ptr %12, align 8, !tbaa !5
  %552 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %551, i32 0, i32 10
  %553 = load i16, ptr %552, align 1, !tbaa !24
  %554 = zext i16 %553 to i32
  %555 = icmp eq i32 %554, 36
  br i1 %555, label %562, label %556

556:                                              ; preds = %550
  %557 = load ptr, ptr %12, align 8, !tbaa !5
  %558 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %557, i32 0, i32 10
  %559 = load i16, ptr %558, align 1, !tbaa !24
  %560 = zext i16 %559 to i32
  %561 = icmp eq i32 %560, 37
  br i1 %561, label %562, label %572

562:                                              ; preds = %556, %550, %544, %538, %532, %526
  %563 = load ptr, ptr %8, align 8, !tbaa !5
  %564 = load ptr, ptr %10, align 8, !tbaa !5
  %565 = load ptr, ptr %11, align 8, !tbaa !5
  %566 = load ptr, ptr %12, align 8, !tbaa !5
  %567 = load ptr, ptr %10, align 8, !tbaa !5
  %568 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %567, i32 0, i32 9
  %569 = load i32, ptr %568, align 4, !tbaa !27
  %570 = load i32, ptr %30, align 4, !tbaa !9
  %571 = load i32, ptr %36, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %563, ptr noundef %564, ptr noundef %565, ptr noundef %566, i32 noundef %569, i32 noundef 51, i32 noundef %570, i32 noundef %571)
  br label %595

572:                                              ; preds = %556
  %573 = load ptr, ptr %12, align 8, !tbaa !5
  %574 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %573, i32 0, i32 10
  %575 = load i16, ptr %574, align 1, !tbaa !24
  %576 = zext i16 %575 to i32
  %577 = icmp eq i32 %576, 25
  br i1 %577, label %584, label %578

578:                                              ; preds = %572
  %579 = load ptr, ptr %12, align 8, !tbaa !5
  %580 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %579, i32 0, i32 10
  %581 = load i16, ptr %580, align 1, !tbaa !24
  %582 = zext i16 %581 to i32
  %583 = icmp eq i32 %582, 26
  br i1 %583, label %584, label %594

584:                                              ; preds = %578, %572
  %585 = load ptr, ptr %8, align 8, !tbaa !5
  %586 = load ptr, ptr %10, align 8, !tbaa !5
  %587 = load ptr, ptr %11, align 8, !tbaa !5
  %588 = load ptr, ptr %12, align 8, !tbaa !5
  %589 = load ptr, ptr %10, align 8, !tbaa !5
  %590 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %589, i32 0, i32 13
  %591 = load i32, ptr %590, align 4, !tbaa !28
  %592 = load i32, ptr %30, align 4, !tbaa !9
  %593 = load i32, ptr %36, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %585, ptr noundef %586, ptr noundef %587, ptr noundef %588, i32 noundef %591, i32 noundef 51, i32 noundef %592, i32 noundef %593)
  br label %594

594:                                              ; preds = %584, %578
  br label %595

595:                                              ; preds = %594, %562
  br label %596

596:                                              ; preds = %595, %520
  %597 = load ptr, ptr %8, align 8, !tbaa !5
  %598 = load ptr, ptr %9, align 8, !tbaa !5
  %599 = load i32, ptr %26, align 4, !tbaa !9
  %600 = load i32, ptr %30, align 4, !tbaa !9
  call void @libxsmm_generator_loop_footer_rv64(ptr noundef %597, ptr noundef %598, i32 noundef %599, i32 noundef %600)
  %601 = load ptr, ptr %8, align 8, !tbaa !5
  %602 = load ptr, ptr %10, align 8, !tbaa !5
  %603 = load ptr, ptr %11, align 8, !tbaa !5
  %604 = load ptr, ptr %12, align 8, !tbaa !5
  %605 = load ptr, ptr %10, align 8, !tbaa !5
  %606 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %605, i32 0, i32 1
  %607 = load i32, ptr %606, align 4, !tbaa !19
  %608 = load i32, ptr %30, align 4, !tbaa !9
  %609 = load i32, ptr %24, align 4, !tbaa !9
  %610 = mul i32 %608, %609
  %611 = load i32, ptr %36, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %601, ptr noundef %602, ptr noundef %603, ptr noundef %604, i32 noundef %607, i32 noundef 1073741875, i32 noundef %610, i32 noundef %611)
  %612 = load ptr, ptr %8, align 8, !tbaa !5
  %613 = load ptr, ptr %10, align 8, !tbaa !5
  %614 = load ptr, ptr %11, align 8, !tbaa !5
  %615 = load ptr, ptr %12, align 8, !tbaa !5
  %616 = load ptr, ptr %10, align 8, !tbaa !5
  %617 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %616, i32 0, i32 6
  %618 = load i32, ptr %617, align 4, !tbaa !20
  %619 = load i32, ptr %30, align 4, !tbaa !9
  %620 = load i32, ptr %24, align 4, !tbaa !9
  %621 = mul i32 %619, %620
  %622 = load i32, ptr %36, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %612, ptr noundef %613, ptr noundef %614, ptr noundef %615, i32 noundef %618, i32 noundef 1073741875, i32 noundef %621, i32 noundef %622)
  %623 = load ptr, ptr %12, align 8, !tbaa !5
  %624 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %623, i32 0, i32 11
  %625 = load i8, ptr %624, align 1, !tbaa !21
  %626 = zext i8 %625 to i32
  %627 = icmp eq i32 %626, 1
  br i1 %627, label %628, label %646

628:                                              ; preds = %596
  %629 = load ptr, ptr %12, align 8, !tbaa !5
  %630 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %629, i32 0, i32 10
  %631 = load i16, ptr %630, align 1, !tbaa !24
  %632 = zext i16 %631 to i32
  %633 = icmp eq i32 %632, 63
  br i1 %633, label %634, label %646

634:                                              ; preds = %628
  %635 = load ptr, ptr %8, align 8, !tbaa !5
  %636 = load ptr, ptr %10, align 8, !tbaa !5
  %637 = load ptr, ptr %11, align 8, !tbaa !5
  %638 = load ptr, ptr %12, align 8, !tbaa !5
  %639 = load ptr, ptr %10, align 8, !tbaa !5
  %640 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %639, i32 0, i32 7
  %641 = load i32, ptr %640, align 4, !tbaa !25
  %642 = load i32, ptr %30, align 4, !tbaa !9
  %643 = load i32, ptr %24, align 4, !tbaa !9
  %644 = mul i32 %642, %643
  %645 = load i32, ptr %36, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %635, ptr noundef %636, ptr noundef %637, ptr noundef %638, i32 noundef %641, i32 noundef 1073741875, i32 noundef %644, i32 noundef %645)
  br label %646

646:                                              ; preds = %634, %628, %596
  %647 = load ptr, ptr %12, align 8, !tbaa !5
  %648 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %647, i32 0, i32 11
  %649 = load i8, ptr %648, align 1, !tbaa !21
  %650 = zext i8 %649 to i32
  %651 = icmp eq i32 %650, 2
  br i1 %651, label %652, label %664

652:                                              ; preds = %646
  %653 = load ptr, ptr %8, align 8, !tbaa !5
  %654 = load ptr, ptr %10, align 8, !tbaa !5
  %655 = load ptr, ptr %11, align 8, !tbaa !5
  %656 = load ptr, ptr %12, align 8, !tbaa !5
  %657 = load ptr, ptr %10, align 8, !tbaa !5
  %658 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %657, i32 0, i32 2
  %659 = load i32, ptr %658, align 4, !tbaa !26
  %660 = load i32, ptr %30, align 4, !tbaa !9
  %661 = load i32, ptr %24, align 4, !tbaa !9
  %662 = mul i32 %660, %661
  %663 = load i32, ptr %36, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %653, ptr noundef %654, ptr noundef %655, ptr noundef %656, i32 noundef %659, i32 noundef 1073741875, i32 noundef %662, i32 noundef %663)
  br label %664

664:                                              ; preds = %652, %646
  %665 = load ptr, ptr %12, align 8, !tbaa !5
  %666 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %665, i32 0, i32 11
  %667 = load i8, ptr %666, align 1, !tbaa !21
  %668 = zext i8 %667 to i32
  %669 = icmp eq i32 %668, 1
  br i1 %669, label %670, label %744

670:                                              ; preds = %664
  %671 = load ptr, ptr %12, align 8, !tbaa !5
  %672 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %671, i32 0, i32 10
  %673 = load i16, ptr %672, align 1, !tbaa !24
  %674 = zext i16 %673 to i32
  %675 = icmp eq i32 %674, 5
  br i1 %675, label %706, label %676

676:                                              ; preds = %670
  %677 = load ptr, ptr %12, align 8, !tbaa !5
  %678 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %677, i32 0, i32 10
  %679 = load i16, ptr %678, align 1, !tbaa !24
  %680 = zext i16 %679 to i32
  %681 = icmp eq i32 %680, 6
  br i1 %681, label %706, label %682

682:                                              ; preds = %676
  %683 = load ptr, ptr %12, align 8, !tbaa !5
  %684 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %683, i32 0, i32 10
  %685 = load i16, ptr %684, align 1, !tbaa !24
  %686 = zext i16 %685 to i32
  %687 = icmp eq i32 %686, 34
  br i1 %687, label %706, label %688

688:                                              ; preds = %682
  %689 = load ptr, ptr %12, align 8, !tbaa !5
  %690 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %689, i32 0, i32 10
  %691 = load i16, ptr %690, align 1, !tbaa !24
  %692 = zext i16 %691 to i32
  %693 = icmp eq i32 %692, 35
  br i1 %693, label %706, label %694

694:                                              ; preds = %688
  %695 = load ptr, ptr %12, align 8, !tbaa !5
  %696 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %695, i32 0, i32 10
  %697 = load i16, ptr %696, align 1, !tbaa !24
  %698 = zext i16 %697 to i32
  %699 = icmp eq i32 %698, 36
  br i1 %699, label %706, label %700

700:                                              ; preds = %694
  %701 = load ptr, ptr %12, align 8, !tbaa !5
  %702 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %701, i32 0, i32 10
  %703 = load i16, ptr %702, align 1, !tbaa !24
  %704 = zext i16 %703 to i32
  %705 = icmp eq i32 %704, 37
  br i1 %705, label %706, label %718

706:                                              ; preds = %700, %694, %688, %682, %676, %670
  %707 = load ptr, ptr %8, align 8, !tbaa !5
  %708 = load ptr, ptr %10, align 8, !tbaa !5
  %709 = load ptr, ptr %11, align 8, !tbaa !5
  %710 = load ptr, ptr %12, align 8, !tbaa !5
  %711 = load ptr, ptr %10, align 8, !tbaa !5
  %712 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %711, i32 0, i32 9
  %713 = load i32, ptr %712, align 4, !tbaa !27
  %714 = load i32, ptr %30, align 4, !tbaa !9
  %715 = load i32, ptr %24, align 4, !tbaa !9
  %716 = mul i32 %714, %715
  %717 = load i32, ptr %36, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %707, ptr noundef %708, ptr noundef %709, ptr noundef %710, i32 noundef %713, i32 noundef 1073741875, i32 noundef %716, i32 noundef %717)
  br label %743

718:                                              ; preds = %700
  %719 = load ptr, ptr %12, align 8, !tbaa !5
  %720 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %719, i32 0, i32 10
  %721 = load i16, ptr %720, align 1, !tbaa !24
  %722 = zext i16 %721 to i32
  %723 = icmp eq i32 %722, 25
  br i1 %723, label %730, label %724

724:                                              ; preds = %718
  %725 = load ptr, ptr %12, align 8, !tbaa !5
  %726 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %725, i32 0, i32 10
  %727 = load i16, ptr %726, align 1, !tbaa !24
  %728 = zext i16 %727 to i32
  %729 = icmp eq i32 %728, 26
  br i1 %729, label %730, label %742

730:                                              ; preds = %724, %718
  %731 = load ptr, ptr %8, align 8, !tbaa !5
  %732 = load ptr, ptr %10, align 8, !tbaa !5
  %733 = load ptr, ptr %11, align 8, !tbaa !5
  %734 = load ptr, ptr %12, align 8, !tbaa !5
  %735 = load ptr, ptr %10, align 8, !tbaa !5
  %736 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %735, i32 0, i32 13
  %737 = load i32, ptr %736, align 4, !tbaa !28
  %738 = load i32, ptr %30, align 4, !tbaa !9
  %739 = load i32, ptr %24, align 4, !tbaa !9
  %740 = mul i32 %738, %739
  %741 = load i32, ptr %36, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %731, ptr noundef %732, ptr noundef %733, ptr noundef %734, i32 noundef %737, i32 noundef 1073741875, i32 noundef %740, i32 noundef %741)
  br label %742

742:                                              ; preds = %730, %724
  br label %743

743:                                              ; preds = %742, %706
  br label %744

744:                                              ; preds = %743, %664
  br label %745

745:                                              ; preds = %744, %454
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  ret void
}

declare void @libxsmm_generator_loop_header_rv64(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2

declare void @libxsmm_rv64_instruction_alu_set_imm64(ptr noundef, i32 noundef, i64 noundef) #2

declare void @libxsmm_generator_loop_footer_rv64(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 72}
!12 = !{!"libxsmm_mateltwise_kernel_config_struct", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !10, i64 148, !10, i64 152, !10, i64 156, !10, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !10, i64 176, !10, i64 180, !10, i64 184, !10, i64 188, !10, i64 192, !10, i64 196, !10, i64 200, !10, i64 204, !10, i64 208, !10, i64 212, !10, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236, !10, i64 240, !10, i64 244, !10, i64 248, !10, i64 252, !10, i64 256, !10, i64 260, !10, i64 264, !10, i64 268, !10, i64 272, !10, i64 276, !10, i64 280, !10, i64 284, !10, i64 288, !10, i64 292, !10, i64 296, !10, i64 300, !10, i64 304, !10, i64 308, !10, i64 312, !10, i64 316, !10, i64 320, !10, i64 324, !10, i64 328, !10, i64 332, !10, i64 336, !10, i64 340, !10, i64 344, !10, i64 348, !10, i64 352, !10, i64 356, !10, i64 360, !10, i64 364, !10, i64 368, !10, i64 372, !10, i64 376, !10, i64 380, !10, i64 384, !10, i64 388, !10, i64 392, !10, i64 396, !10, i64 400, !10, i64 404, !10, i64 408, !10, i64 412, !10, i64 416, !10, i64 420, !10, i64 424, !10, i64 428, !10, i64 432, !10, i64 436, !10, i64 440, !10, i64 444, !10, i64 448, !10, i64 452, !10, i64 456, !10, i64 460, !10, i64 464, !10, i64 468, !10, i64 472, !10, i64 476, !10, i64 480, !10, i64 484, !10, i64 488, !10, i64 492, !10, i64 496, !10, i64 500, !10, i64 504, !10, i64 508, !7, i64 512}
!13 = !{!12, !10, i64 480}
!14 = !{!12, !10, i64 492}
!15 = !{!12, !10, i64 8}
!16 = !{!17, !10, i64 140}
!17 = !{!"libxsmm_mateltwise_gp_reg_mapping_struct", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144}
!18 = !{!17, !10, i64 96}
!19 = !{!17, !10, i64 4}
!20 = !{!17, !10, i64 24}
!21 = !{!22, !7, i64 31}
!22 = !{!"libxsmm_meltw_descriptor", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !7, i64 25, !7, i64 26, !23, i64 27, !23, i64 29, !7, i64 31}
!23 = !{!"short", !7, i64 0}
!24 = !{!22, !23, i64 29}
!25 = !{!17, !10, i64 28}
!26 = !{!17, !10, i64 8}
!27 = !{!17, !10, i64 36}
!28 = !{!17, !10, i64 52}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_load_rv64_2d_reg_block(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare void @libxsmm_rv64_instruction_rvv_setivli(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_store_rv64_2d_reg_block(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_compute_unary_binary_rv64_2d_reg_block(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_setup_input_output_rv64_masks(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_configure_microkernel_rv64_loops(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_unary_rv64_binary_2d_microkernel(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6) local_unnamed_addr #1 {
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #3
  %26 = getelementptr inbounds i8, ptr %3, i64 72
  %27 = load i32, ptr %26, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %25) #3
  %28 = getelementptr inbounds i8, ptr %3, i64 480
  %29 = load i32, ptr %28, align 4, !tbaa !10
  %30 = getelementptr inbounds i8, ptr %3, i64 492
  %31 = load i32, ptr %30, align 4, !tbaa !11
  %32 = getelementptr inbounds i8, ptr %3, i64 8
  %33 = load i32, ptr %32, align 4, !tbaa !12
  switch i32 %33, label %34 [
    i32 8, label %37
    i32 4, label %.fold.split
  ]

34:                                               ; preds = %7
  %35 = icmp eq i32 %33, 2
  %36 = zext i1 %35 to i32
  br label %37

.fold.split:                                      ; preds = %7
  br label %37

37:                                               ; preds = %7, %.fold.split, %34
  %38 = phi i32 [ 3, %7 ], [ %36, %34 ], [ 2, %.fold.split ]
  store i32 0, ptr %8, align 4, !tbaa !13
  store i32 0, ptr %9, align 4, !tbaa !13
  store i32 127, ptr %24, align 4, !tbaa !13
  store i32 127, ptr %25, align 4, !tbaa !13
  %39 = getelementptr inbounds i8, ptr %2, i64 140
  %40 = load i32, ptr %39, align 4, !tbaa !14
  call void @libxsmm_setup_input_output_rv64_masks(ptr noundef %0, ptr noundef nonnull %3, ptr noundef %4, i32 noundef %40, i32 noundef %5, ptr noundef nonnull %8, ptr noundef nonnull %24, ptr noundef nonnull %9, ptr noundef nonnull %25)
  %41 = load i32, ptr %8, align 4, !tbaa !13
  call void @libxsmm_configure_microkernel_rv64_loops(ptr noundef %0, ptr noundef %2, ptr noundef nonnull %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %41, ptr noundef nonnull %10, ptr noundef nonnull %13, ptr noundef nonnull %11, ptr noundef nonnull %14, ptr noundef nonnull %12, ptr noundef nonnull %15, ptr noundef nonnull %16, ptr noundef nonnull %17, ptr noundef nonnull %20, ptr noundef nonnull %21, ptr noundef nonnull %18, ptr noundef nonnull %19, ptr noundef nonnull %22, ptr noundef nonnull %23)
  %42 = load i32, ptr %39, align 4, !tbaa !14
  call void @libxsmm_rv64_instruction_rvv_setivli(ptr noundef %0, i32 noundef %29, i32 noundef %42, i32 noundef %38, i32 noundef 0) #3
  %43 = load i32, ptr %16, align 4, !tbaa !13
  %44 = icmp ugt i32 %43, 1
  br i1 %44, label %45, label %48

45:                                               ; preds = %37
  %46 = load i32, ptr %18, align 4, !tbaa !13
  %47 = load i32, ptr %20, align 4, !tbaa !13
  call void @libxsmm_generator_loop_header_rv64(ptr noundef %0, ptr noundef %1, i32 noundef %46, i32 noundef %47) #3
  br label %48

48:                                               ; preds = %45, %37
  %49 = load i32, ptr %17, align 4, !tbaa !13
  %50 = icmp ugt i32 %49, 1
  br i1 %50, label %51, label %54

51:                                               ; preds = %48
  %52 = load i32, ptr %19, align 4, !tbaa !13
  %53 = load i32, ptr %21, align 4, !tbaa !13
  call void @libxsmm_generator_loop_header_rv64(ptr noundef %0, ptr noundef %1, i32 noundef %52, i32 noundef %53) #3
  br label %54

54:                                               ; preds = %51, %48
  %55 = load i32, ptr %8, align 4, !tbaa !13
  %.not = icmp eq i32 %55, 0
  %. = select i1 %.not, i32 %29, i32 %55
  %56 = zext i32 %. to i64
  call void @libxsmm_rv64_instruction_alu_set_imm64(ptr noundef %0, i32 noundef 20, i64 noundef %56) #3
  %57 = load i32, ptr %39, align 4, !tbaa !14
  call void @libxsmm_rv64_instruction_rvv_setivli(ptr noundef %0, i32 noundef %29, i32 noundef %57, i32 noundef %38, i32 noundef 0) #3
  %58 = load i32, ptr %11, align 4, !tbaa !13
  %59 = load i32, ptr %14, align 4, !tbaa !13
  %60 = load i32, ptr %8, align 4, !tbaa !13
  %61 = load i32, ptr %24, align 4, !tbaa !13
  call void @libxsmm_load_rv64_2d_reg_block(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef %4, i32 noundef %29, i32 noundef 20, i32 noundef %27, i32 noundef %58, i32 noundef %59, i32 noundef %60, i32 noundef %61)
  %62 = load i32, ptr %11, align 4, !tbaa !13
  %63 = load i32, ptr %14, align 4, !tbaa !13
  %64 = load i32, ptr %8, align 4, !tbaa !13
  %65 = load i32, ptr %24, align 4, !tbaa !13
  call void @libxsmm_compute_unary_binary_rv64_2d_reg_block(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef %4, i32 noundef %29, i32 noundef 20, i32 noundef %27, i32 noundef %62, i32 noundef %63, i32 noundef %64, i32 noundef %65)
  %66 = load i32, ptr %39, align 4, !tbaa !14
  call void @libxsmm_rv64_instruction_rvv_setivli(ptr noundef %0, i32 noundef %31, i32 noundef %66, i32 noundef %38, i32 noundef 0) #3
  %67 = load i32, ptr %11, align 4, !tbaa !13
  %68 = load i32, ptr %14, align 4, !tbaa !13
  %69 = load i32, ptr %9, align 4, !tbaa !13
  %70 = load i32, ptr %25, align 4, !tbaa !13
  call void @libxsmm_store_rv64_2d_reg_block(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef %4, i32 noundef %31, i32 noundef 20, i32 noundef %27, i32 noundef %67, i32 noundef %68, i32 noundef %69, i32 noundef %70)
  %71 = load i32, ptr %17, align 4, !tbaa !13
  %72 = icmp ugt i32 %71, 1
  br i1 %72, label %73, label %163

73:                                               ; preds = %54
  %74 = load i32, ptr %19, align 4, !tbaa !13
  %75 = getelementptr inbounds i8, ptr %2, i64 96
  %76 = load i32, ptr %75, align 4, !tbaa !16
  %77 = icmp ne i32 %74, %76
  %78 = zext i1 %77 to i32
  %79 = getelementptr inbounds i8, ptr %2, i64 4
  %80 = load i32, ptr %79, align 4, !tbaa !17
  %81 = load i32, ptr %23, align 4, !tbaa !13
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef %4, i32 noundef %80, i32 noundef 51, i32 noundef %81, i32 noundef %78)
  %82 = getelementptr inbounds i8, ptr %2, i64 24
  %83 = load i32, ptr %82, align 4, !tbaa !18
  %84 = load i32, ptr %23, align 4, !tbaa !13
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef %4, i32 noundef %83, i32 noundef 51, i32 noundef %84, i32 noundef %78)
  %85 = getelementptr inbounds i8, ptr %4, i64 31
  %86 = load i8, ptr %85, align 1, !tbaa !19
  %87 = icmp eq i8 %86, 1
  br i1 %87, label %88, label %thread-pre-split

88:                                               ; preds = %73
  %89 = getelementptr inbounds i8, ptr %4, i64 29
  %90 = load i16, ptr %89, align 1, !tbaa !22
  %91 = icmp eq i16 %90, 63
  br i1 %91, label %92, label %.thread

92:                                               ; preds = %88
  %93 = getelementptr inbounds i8, ptr %2, i64 28
  %94 = load i32, ptr %93, align 4, !tbaa !23
  %95 = load i32, ptr %23, align 4, !tbaa !13
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %94, i32 noundef 51, i32 noundef %95, i32 noundef %78)
  %.pr.pre = load i8, ptr %85, align 1, !tbaa !19
  br label %thread-pre-split

thread-pre-split:                                 ; preds = %92, %73
  %96 = phi i8 [ %86, %73 ], [ %.pr.pre, %92 ]
  %97 = icmp eq i8 %96, 2
  br i1 %97, label %98, label %102

98:                                               ; preds = %thread-pre-split
  %99 = getelementptr inbounds i8, ptr %2, i64 8
  %100 = load i32, ptr %99, align 4, !tbaa !24
  %101 = load i32, ptr %23, align 4, !tbaa !13
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %100, i32 noundef 51, i32 noundef %101, i32 noundef %78)
  %.pre = load i8, ptr %85, align 1, !tbaa !19
  br label %102

102:                                              ; preds = %98, %thread-pre-split
  %103 = phi i8 [ %.pre, %98 ], [ %96, %thread-pre-split ]
  %104 = icmp eq i8 %103, 1
  br i1 %104, label %.thread, label %115

.thread:                                          ; preds = %88, %102
  %105 = getelementptr inbounds i8, ptr %4, i64 29
  %106 = load i16, ptr %105, align 1, !tbaa !22
  switch i16 %106, label %115 [
    i16 5, label %107
    i16 6, label %107
    i16 34, label %107
    i16 35, label %107
    i16 36, label %107
    i16 37, label %107
    i16 25, label %111
    i16 26, label %111
  ]

107:                                              ; preds = %.thread, %.thread, %.thread, %.thread, %.thread, %.thread
  %108 = getelementptr inbounds i8, ptr %2, i64 36
  %109 = load i32, ptr %108, align 4, !tbaa !25
  %110 = load i32, ptr %23, align 4, !tbaa !13
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %109, i32 noundef 51, i32 noundef %110, i32 noundef %78)
  br label %115

111:                                              ; preds = %.thread, %.thread
  %112 = getelementptr inbounds i8, ptr %2, i64 52
  %113 = load i32, ptr %112, align 4, !tbaa !26
  %114 = load i32, ptr %23, align 4, !tbaa !13
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %113, i32 noundef 51, i32 noundef %114, i32 noundef %78)
  br label %115

115:                                              ; preds = %.thread, %107, %111, %102
  %116 = load i32, ptr %19, align 4, !tbaa !13
  %117 = load i32, ptr %23, align 4, !tbaa !13
  call void @libxsmm_generator_loop_footer_rv64(ptr noundef %0, ptr noundef %1, i32 noundef %116, i32 noundef %117) #3
  %118 = load i32, ptr %79, align 4, !tbaa !17
  %119 = load i32, ptr %23, align 4, !tbaa !13
  %120 = load i32, ptr %17, align 4, !tbaa !13
  %121 = mul i32 %120, %119
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %118, i32 noundef 1073741875, i32 noundef %121, i32 noundef %78)
  %122 = load i32, ptr %82, align 4, !tbaa !18
  %123 = load i32, ptr %23, align 4, !tbaa !13
  %124 = load i32, ptr %17, align 4, !tbaa !13
  %125 = mul i32 %124, %123
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %122, i32 noundef 1073741875, i32 noundef %125, i32 noundef %78)
  %126 = load i8, ptr %85, align 1, !tbaa !19
  %127 = icmp eq i8 %126, 1
  br i1 %127, label %128, label %thread-pre-split260

128:                                              ; preds = %115
  %129 = getelementptr inbounds i8, ptr %4, i64 29
  %130 = load i16, ptr %129, align 1, !tbaa !22
  %131 = icmp eq i16 %130, 63
  br i1 %131, label %132, label %.thread273

132:                                              ; preds = %128
  %133 = getelementptr inbounds i8, ptr %2, i64 28
  %134 = load i32, ptr %133, align 4, !tbaa !23
  %135 = load i32, ptr %23, align 4, !tbaa !13
  %136 = load i32, ptr %17, align 4, !tbaa !13
  %137 = mul i32 %136, %135
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %134, i32 noundef 1073741875, i32 noundef %137, i32 noundef %78)
  %.pr261.pre = load i8, ptr %85, align 1, !tbaa !19
  br label %thread-pre-split260

thread-pre-split260:                              ; preds = %132, %115
  %138 = phi i8 [ %126, %115 ], [ %.pr261.pre, %132 ]
  %139 = icmp eq i8 %138, 2
  br i1 %139, label %140, label %146

140:                                              ; preds = %thread-pre-split260
  %141 = getelementptr inbounds i8, ptr %2, i64 8
  %142 = load i32, ptr %141, align 4, !tbaa !24
  %143 = load i32, ptr %23, align 4, !tbaa !13
  %144 = load i32, ptr %17, align 4, !tbaa !13
  %145 = mul i32 %144, %143
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %142, i32 noundef 1073741875, i32 noundef %145, i32 noundef %78)
  %.pre268 = load i8, ptr %85, align 1, !tbaa !19
  br label %146

146:                                              ; preds = %140, %thread-pre-split260
  %147 = phi i8 [ %.pre268, %140 ], [ %138, %thread-pre-split260 ]
  %148 = icmp eq i8 %147, 1
  br i1 %148, label %.thread273, label %163

.thread273:                                       ; preds = %128, %146
  %149 = getelementptr inbounds i8, ptr %4, i64 29
  %150 = load i16, ptr %149, align 1, !tbaa !22
  switch i16 %150, label %163 [
    i16 5, label %151
    i16 6, label %151
    i16 34, label %151
    i16 35, label %151
    i16 36, label %151
    i16 37, label %151
    i16 25, label %157
    i16 26, label %157
  ]

151:                                              ; preds = %.thread273, %.thread273, %.thread273, %.thread273, %.thread273, %.thread273
  %152 = getelementptr inbounds i8, ptr %2, i64 36
  %153 = load i32, ptr %152, align 4, !tbaa !25
  %154 = load i32, ptr %23, align 4, !tbaa !13
  %155 = load i32, ptr %17, align 4, !tbaa !13
  %156 = mul i32 %155, %154
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %153, i32 noundef 1073741875, i32 noundef %156, i32 noundef %78)
  br label %163

157:                                              ; preds = %.thread273, %.thread273
  %158 = getelementptr inbounds i8, ptr %2, i64 52
  %159 = load i32, ptr %158, align 4, !tbaa !26
  %160 = load i32, ptr %23, align 4, !tbaa !13
  %161 = load i32, ptr %17, align 4, !tbaa !13
  %162 = mul i32 %161, %160
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %159, i32 noundef 1073741875, i32 noundef %162, i32 noundef %78)
  br label %163

163:                                              ; preds = %.thread273, %146, %157, %151, %54
  %164 = load i32, ptr %16, align 4, !tbaa !13
  %165 = icmp ugt i32 %164, 1
  br i1 %165, label %166, label %256

166:                                              ; preds = %163
  %167 = load i32, ptr %18, align 4, !tbaa !13
  %168 = getelementptr inbounds i8, ptr %2, i64 96
  %169 = load i32, ptr %168, align 4, !tbaa !16
  %170 = icmp ne i32 %167, %169
  %171 = zext i1 %170 to i32
  %172 = getelementptr inbounds i8, ptr %2, i64 4
  %173 = load i32, ptr %172, align 4, !tbaa !17
  %174 = load i32, ptr %22, align 4, !tbaa !13
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef %4, i32 noundef %173, i32 noundef 51, i32 noundef %174, i32 noundef %171)
  %175 = getelementptr inbounds i8, ptr %2, i64 24
  %176 = load i32, ptr %175, align 4, !tbaa !18
  %177 = load i32, ptr %22, align 4, !tbaa !13
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef %4, i32 noundef %176, i32 noundef 51, i32 noundef %177, i32 noundef %171)
  %178 = getelementptr inbounds i8, ptr %4, i64 31
  %179 = load i8, ptr %178, align 1, !tbaa !19
  %180 = icmp eq i8 %179, 1
  br i1 %180, label %181, label %thread-pre-split262

181:                                              ; preds = %166
  %182 = getelementptr inbounds i8, ptr %4, i64 29
  %183 = load i16, ptr %182, align 1, !tbaa !22
  %184 = icmp eq i16 %183, 63
  br i1 %184, label %185, label %.thread274

185:                                              ; preds = %181
  %186 = getelementptr inbounds i8, ptr %2, i64 28
  %187 = load i32, ptr %186, align 4, !tbaa !23
  %188 = load i32, ptr %22, align 4, !tbaa !13
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %187, i32 noundef 51, i32 noundef %188, i32 noundef %171)
  %.pr263.pre = load i8, ptr %178, align 1, !tbaa !19
  br label %thread-pre-split262

thread-pre-split262:                              ; preds = %185, %166
  %189 = phi i8 [ %179, %166 ], [ %.pr263.pre, %185 ]
  %190 = icmp eq i8 %189, 2
  br i1 %190, label %191, label %195

191:                                              ; preds = %thread-pre-split262
  %192 = getelementptr inbounds i8, ptr %2, i64 8
  %193 = load i32, ptr %192, align 4, !tbaa !24
  %194 = load i32, ptr %22, align 4, !tbaa !13
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %193, i32 noundef 51, i32 noundef %194, i32 noundef %171)
  %.pre270 = load i8, ptr %178, align 1, !tbaa !19
  br label %195

195:                                              ; preds = %191, %thread-pre-split262
  %196 = phi i8 [ %.pre270, %191 ], [ %189, %thread-pre-split262 ]
  %197 = icmp eq i8 %196, 1
  br i1 %197, label %.thread274, label %208

.thread274:                                       ; preds = %181, %195
  %198 = getelementptr inbounds i8, ptr %4, i64 29
  %199 = load i16, ptr %198, align 1, !tbaa !22
  switch i16 %199, label %208 [
    i16 5, label %200
    i16 6, label %200
    i16 34, label %200
    i16 35, label %200
    i16 36, label %200
    i16 37, label %200
    i16 25, label %204
    i16 26, label %204
  ]

200:                                              ; preds = %.thread274, %.thread274, %.thread274, %.thread274, %.thread274, %.thread274
  %201 = getelementptr inbounds i8, ptr %2, i64 36
  %202 = load i32, ptr %201, align 4, !tbaa !25
  %203 = load i32, ptr %22, align 4, !tbaa !13
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %202, i32 noundef 51, i32 noundef %203, i32 noundef %171)
  br label %208

204:                                              ; preds = %.thread274, %.thread274
  %205 = getelementptr inbounds i8, ptr %2, i64 52
  %206 = load i32, ptr %205, align 4, !tbaa !26
  %207 = load i32, ptr %22, align 4, !tbaa !13
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %206, i32 noundef 51, i32 noundef %207, i32 noundef %171)
  br label %208

208:                                              ; preds = %.thread274, %200, %204, %195
  %209 = load i32, ptr %18, align 4, !tbaa !13
  %210 = load i32, ptr %22, align 4, !tbaa !13
  call void @libxsmm_generator_loop_footer_rv64(ptr noundef %0, ptr noundef %1, i32 noundef %209, i32 noundef %210) #3
  %211 = load i32, ptr %172, align 4, !tbaa !17
  %212 = load i32, ptr %22, align 4, !tbaa !13
  %213 = load i32, ptr %16, align 4, !tbaa !13
  %214 = mul i32 %213, %212
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %211, i32 noundef 1073741875, i32 noundef %214, i32 noundef %171)
  %215 = load i32, ptr %175, align 4, !tbaa !18
  %216 = load i32, ptr %22, align 4, !tbaa !13
  %217 = load i32, ptr %16, align 4, !tbaa !13
  %218 = mul i32 %217, %216
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %215, i32 noundef 1073741875, i32 noundef %218, i32 noundef %171)
  %219 = load i8, ptr %178, align 1, !tbaa !19
  %220 = icmp eq i8 %219, 1
  br i1 %220, label %221, label %thread-pre-split264

221:                                              ; preds = %208
  %222 = getelementptr inbounds i8, ptr %4, i64 29
  %223 = load i16, ptr %222, align 1, !tbaa !22
  %224 = icmp eq i16 %223, 63
  br i1 %224, label %225, label %.thread275

225:                                              ; preds = %221
  %226 = getelementptr inbounds i8, ptr %2, i64 28
  %227 = load i32, ptr %226, align 4, !tbaa !23
  %228 = load i32, ptr %22, align 4, !tbaa !13
  %229 = load i32, ptr %16, align 4, !tbaa !13
  %230 = mul i32 %229, %228
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %227, i32 noundef 1073741875, i32 noundef %230, i32 noundef %171)
  %.pr265.pre = load i8, ptr %178, align 1, !tbaa !19
  br label %thread-pre-split264

thread-pre-split264:                              ; preds = %225, %208
  %231 = phi i8 [ %219, %208 ], [ %.pr265.pre, %225 ]
  %232 = icmp eq i8 %231, 2
  br i1 %232, label %233, label %239

233:                                              ; preds = %thread-pre-split264
  %234 = getelementptr inbounds i8, ptr %2, i64 8
  %235 = load i32, ptr %234, align 4, !tbaa !24
  %236 = load i32, ptr %22, align 4, !tbaa !13
  %237 = load i32, ptr %16, align 4, !tbaa !13
  %238 = mul i32 %237, %236
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %235, i32 noundef 1073741875, i32 noundef %238, i32 noundef %171)
  %.pre272 = load i8, ptr %178, align 1, !tbaa !19
  br label %239

239:                                              ; preds = %233, %thread-pre-split264
  %240 = phi i8 [ %.pre272, %233 ], [ %231, %thread-pre-split264 ]
  %241 = icmp eq i8 %240, 1
  br i1 %241, label %.thread275, label %256

.thread275:                                       ; preds = %221, %239
  %242 = getelementptr inbounds i8, ptr %4, i64 29
  %243 = load i16, ptr %242, align 1, !tbaa !22
  switch i16 %243, label %256 [
    i16 5, label %244
    i16 6, label %244
    i16 34, label %244
    i16 35, label %244
    i16 36, label %244
    i16 37, label %244
    i16 25, label %250
    i16 26, label %250
  ]

244:                                              ; preds = %.thread275, %.thread275, %.thread275, %.thread275, %.thread275, %.thread275
  %245 = getelementptr inbounds i8, ptr %2, i64 36
  %246 = load i32, ptr %245, align 4, !tbaa !25
  %247 = load i32, ptr %22, align 4, !tbaa !13
  %248 = load i32, ptr %16, align 4, !tbaa !13
  %249 = mul i32 %248, %247
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %246, i32 noundef 1073741875, i32 noundef %249, i32 noundef %171)
  br label %256

250:                                              ; preds = %.thread275, %.thread275
  %251 = getelementptr inbounds i8, ptr %2, i64 52
  %252 = load i32, ptr %251, align 4, !tbaa !26
  %253 = load i32, ptr %22, align 4, !tbaa !13
  %254 = load i32, ptr %16, align 4, !tbaa !13
  %255 = mul i32 %254, %253
  call void @libxsmm_generator_mateltwise_unary_binary_adjust_in_microkernel_addr_rv64_gp_reg(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %252, i32 noundef 1073741875, i32 noundef %255, i32 noundef %171)
  br label %256

256:                                              ; preds = %.thread275, %239, %250, %244, %163
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
  ret void
}

declare void @libxsmm_generator_loop_header_rv64(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

declare void @libxsmm_rv64_instruction_alu_set_imm64(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2

declare void @libxsmm_generator_loop_footer_rv64(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 72}
!6 = !{!"libxsmm_mateltwise_kernel_config_struct", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !7, i64 80, !7, i64 84, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !7, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !7, i64 144, !7, i64 148, !7, i64 152, !7, i64 156, !7, i64 160, !7, i64 164, !7, i64 168, !7, i64 172, !7, i64 176, !7, i64 180, !7, i64 184, !7, i64 188, !7, i64 192, !7, i64 196, !7, i64 200, !7, i64 204, !7, i64 208, !7, i64 212, !7, i64 216, !7, i64 220, !7, i64 224, !7, i64 228, !7, i64 232, !7, i64 236, !7, i64 240, !7, i64 244, !7, i64 248, !7, i64 252, !7, i64 256, !7, i64 260, !7, i64 264, !7, i64 268, !7, i64 272, !7, i64 276, !7, i64 280, !7, i64 284, !7, i64 288, !7, i64 292, !7, i64 296, !7, i64 300, !7, i64 304, !7, i64 308, !7, i64 312, !7, i64 316, !7, i64 320, !7, i64 324, !7, i64 328, !7, i64 332, !7, i64 336, !7, i64 340, !7, i64 344, !7, i64 348, !7, i64 352, !7, i64 356, !7, i64 360, !7, i64 364, !7, i64 368, !7, i64 372, !7, i64 376, !7, i64 380, !7, i64 384, !7, i64 388, !7, i64 392, !7, i64 396, !7, i64 400, !7, i64 404, !7, i64 408, !7, i64 412, !7, i64 416, !7, i64 420, !7, i64 424, !7, i64 428, !7, i64 432, !7, i64 436, !7, i64 440, !7, i64 444, !7, i64 448, !7, i64 452, !7, i64 456, !7, i64 460, !7, i64 464, !7, i64 468, !7, i64 472, !7, i64 476, !7, i64 480, !7, i64 484, !7, i64 488, !7, i64 492, !7, i64 496, !7, i64 500, !7, i64 504, !7, i64 508, !8, i64 512}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 480}
!11 = !{!6, !7, i64 492}
!12 = !{!6, !7, i64 8}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !7, i64 140}
!15 = !{!"libxsmm_mateltwise_gp_reg_mapping_struct", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !7, i64 80, !7, i64 84, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !7, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !7, i64 144}
!16 = !{!15, !7, i64 96}
!17 = !{!15, !7, i64 4}
!18 = !{!15, !7, i64 24}
!19 = !{!20, !8, i64 31}
!20 = !{!"libxsmm_meltw_descriptor", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !8, i64 24, !8, i64 25, !8, i64 26, !21, i64 27, !21, i64 29, !8, i64 31}
!21 = !{!"short", !8, i64 0}
!22 = !{!20, !21, i64 29}
!23 = !{!15, !7, i64 28}
!24 = !{!15, !7, i64 8}
!25 = !{!15, !7, i64 36}
!26 = !{!15, !7, i64 52}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,ReassociatePass,SROAPass,SimplifyCFGPass