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

; 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_meltw_descriptor = type <{ i32, i32, i32, i32, i32, i32, i8, i8, i8, i16, i16, i8 }>
%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 }

@.str = external hidden unnamed_addr constant [93 x i8], align 1
@libxsmm_ninit = external global i32, align 4
@libxsmm_verbosity = external global i32, align 4
@.str.18 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [20 x i8], align 1
@__const.libxsmm_generator_transform_norm_to_vnni2_16bit_avx512_microkernel.perm_table_vnni_lo = external hidden unnamed_addr constant [32 x i16], align 16
@__const.libxsmm_generator_transform_norm_to_vnni2_16bit_avx512_microkernel.perm_table_vnni_hi = external hidden unnamed_addr constant [32 x i16], align 16
@__func__.libxsmm_generator_transform_norm_to_vnni2_16bit_avx512_microkernel = external hidden unnamed_addr constant [67 x i8], align 1

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

declare void @libxsmm_handle_error(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

declare void @libxsmm_x86_instruction_alu_imm(ptr noundef, i32 noundef, i32 noundef, i64 noundef) #1

declare void @libxsmm_x86_instruction_mask_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1

declare void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef, ptr noundef) #1

declare void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1

declare void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1

declare void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef, ptr noundef, ptr noundef, i8 noundef signext, i32 noundef) #1

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_transform_norm_to_vnni2_16bit_avx512_microkernel(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, ptr noundef %9, ptr noundef %10, i32 noundef %11) #3 {
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %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 ptr, align 8
  %23 = alloca ptr, align 8
  %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 [32 x i16], align 16
  %32 = alloca [32 x i16], align 16
  %33 = alloca i32, align 4
  %34 = alloca i64, align 8
  %35 = alloca i64, align 8
  %36 = alloca i64, align 8
  store ptr %0, ptr %13, align 8, !tbaa !5
  store ptr %1, ptr %14, align 8, !tbaa !5
  store i32 %2, ptr %15, align 4, !tbaa !9
  store i32 %3, ptr %16, align 4, !tbaa !9
  store i32 %4, ptr %17, align 4, !tbaa !9
  store i32 %5, ptr %18, align 4, !tbaa !9
  store i32 %6, ptr %19, align 4, !tbaa !9
  store i32 %7, ptr %20, align 4, !tbaa !9
  store i32 %8, ptr %21, align 4, !tbaa !9
  store ptr %9, ptr %22, align 8, !tbaa !5
  store ptr %10, ptr %23, align 8, !tbaa !5
  store i32 %11, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #4
  store i32 31, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #4
  store i32 30, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #4
  %37 = load ptr, ptr %23, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %37, i32 0, i32 0
  %39 = load i32, ptr %38, align 1, !tbaa !11
  %40 = urem i32 %39, 32
  store i32 %40, ptr %27, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #4
  %41 = load ptr, ptr %23, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %41, i32 0, i32 0
  %43 = load i32, ptr %42, align 1, !tbaa !11
  %44 = udiv i32 %43, 32
  store i32 %44, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #4
  %45 = load ptr, ptr %23, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %45, i32 0, i32 1
  %47 = load i32, ptr %46, align 1, !tbaa !14
  %48 = urem i32 %47, 16
  store i32 %48, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #4
  %49 = load ptr, ptr %23, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %49, i32 0, i32 1
  %51 = load i32, ptr %50, align 1, !tbaa !14
  %52 = udiv i32 %51, 16
  store i32 %52, ptr %30, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 64, ptr %31) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %31, ptr align 16 @__const.libxsmm_generator_transform_norm_to_vnni2_16bit_avx512_microkernel.perm_table_vnni_lo, i64 64, i1 false)
  call void @llvm.lifetime.start.p0(i64 64, ptr %32) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %32, ptr align 16 @__const.libxsmm_generator_transform_norm_to_vnni2_16bit_avx512_microkernel.perm_table_vnni_hi, i64 64, i1 false)
  %53 = load ptr, ptr %13, align 8, !tbaa !5
  %54 = getelementptr inbounds [32 x i16], ptr %31, i64 0, i64 0
  %55 = load ptr, ptr %22, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %55, i32 0, i32 128
  %57 = load i8, ptr %56, align 4, !tbaa !15
  %58 = load i32, ptr %25, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef %53, ptr noundef %54, ptr noundef @.str.19, i8 noundef signext %57, i32 noundef %58)
  %59 = load ptr, ptr %13, align 8, !tbaa !5
  %60 = getelementptr inbounds [32 x i16], ptr %32, i64 0, i64 0
  %61 = load ptr, ptr %22, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %61, i32 0, i32 128
  %63 = load i8, ptr %62, align 4, !tbaa !15
  %64 = load i32, ptr %26, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef %59, ptr noundef %60, ptr noundef @.str.18, i8 noundef signext %63, i32 noundef %64)
  %65 = load i32, ptr %24, align 4, !tbaa !9
  %66 = icmp eq i32 %65, 0
  br i1 %66, label %67, label %82

67:                                               ; preds = %12
  %68 = load ptr, ptr %23, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %68, i32 0, i32 1
  %70 = load i32, ptr %69, align 1, !tbaa !14
  %71 = urem i32 %70, 2
  %72 = icmp eq i32 %71, 1
  br i1 %72, label %73, label %82

73:                                               ; preds = %67
  %74 = load ptr, ptr %13, align 8, !tbaa !5
  %75 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %76 = icmp ult i32 1, %75
  br i1 %76, label %77, label %79

77:                                               ; preds = %73
  %78 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %80

79:                                               ; preds = %73
  br label %80

80:                                               ; preds = %79, %77
  %81 = phi i32 [ %78, %77 ], [ 1, %79 ]
  call void @libxsmm_handle_error(ptr noundef %74, i32 noundef 90016, ptr noundef @__func__.libxsmm_generator_transform_norm_to_vnni2_16bit_avx512_microkernel, ptr noundef @.str, i32 noundef 3341, i32 noundef %81)
  store i32 1, ptr %33, align 4
  br label %305

82:                                               ; preds = %67, %12
  %83 = load i32, ptr %27, align 4, !tbaa !9
  %84 = icmp ugt i32 %83, 0
  br i1 %84, label %85, label %130

85:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #4
  %86 = load i32, ptr %27, align 4, !tbaa !9
  %87 = zext i32 %86 to i64
  %88 = shl i64 1, %87
  %89 = sub i64 %88, 1
  store i64 %89, ptr %34, align 8, !tbaa !17
  %90 = load ptr, ptr %13, align 8, !tbaa !5
  %91 = load i32, ptr %19, align 4, !tbaa !9
  %92 = load i64, ptr %34, align 8, !tbaa !17
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %90, i32 noundef -1568407413, i32 noundef %91, i64 noundef %92)
  %93 = load ptr, ptr %13, align 8, !tbaa !5
  %94 = load i32, ptr %19, align 4, !tbaa !9
  %95 = load i32, ptr %20, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %93, i32 noundef -1610149486, i32 noundef %94, i32 noundef %95)
  %96 = load i32, ptr %27, align 4, !tbaa !9
  %97 = icmp ugt i32 %96, 16
  br i1 %97, label %98, label %111

98:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #4
  %99 = load i32, ptr %27, align 4, !tbaa !9
  %100 = sub i32 %99, 16
  %101 = mul i32 %100, 2
  %102 = zext i32 %101 to i64
  %103 = shl i64 1, %102
  %104 = sub i64 %103, 1
  store i64 %104, ptr %35, align 8, !tbaa !17
  %105 = load ptr, ptr %13, align 8, !tbaa !5
  %106 = load i32, ptr %19, align 4, !tbaa !9
  %107 = load i64, ptr %35, align 8, !tbaa !17
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %105, i32 noundef -1568407413, i32 noundef %106, i64 noundef %107)
  %108 = load ptr, ptr %13, align 8, !tbaa !5
  %109 = load i32, ptr %19, align 4, !tbaa !9
  %110 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %108, i32 noundef -1610149486, i32 noundef %109, i32 noundef %110)
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #4
  br label %129

111:                                              ; preds = %85
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #4
  %112 = load i32, ptr %27, align 4, !tbaa !9
  %113 = icmp eq i32 %112, 16
  br i1 %113, label %114, label %115

114:                                              ; preds = %111
  br label %121

115:                                              ; preds = %111
  %116 = load i32, ptr %27, align 4, !tbaa !9
  %117 = mul i32 %116, 2
  %118 = zext i32 %117 to i64
  %119 = shl i64 1, %118
  %120 = sub i64 %119, 1
  br label %121

121:                                              ; preds = %115, %114
  %122 = phi i64 [ 4294967295, %114 ], [ %120, %115 ]
  store i64 %122, ptr %36, align 8, !tbaa !17
  %123 = load ptr, ptr %13, align 8, !tbaa !5
  %124 = load i32, ptr %19, align 4, !tbaa !9
  %125 = load i64, ptr %36, align 8, !tbaa !17
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %123, i32 noundef -1568407413, i32 noundef %124, i64 noundef %125)
  %126 = load ptr, ptr %13, align 8, !tbaa !5
  %127 = load i32, ptr %19, align 4, !tbaa !9
  %128 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %126, i32 noundef -1610149486, i32 noundef %127, i32 noundef %128)
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #4
  br label %129

129:                                              ; preds = %121, %98
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #4
  br label %130

130:                                              ; preds = %129, %82
  %131 = load i32, ptr %30, align 4, !tbaa !9
  %132 = icmp ugt i32 %131, 0
  br i1 %132, label %133, label %250

133:                                              ; preds = %130
  %134 = load i32, ptr %30, align 4, !tbaa !9
  %135 = icmp ugt i32 %134, 1
  br i1 %135, label %136, label %146

136:                                              ; preds = %133
  %137 = load ptr, ptr %13, align 8, !tbaa !5
  %138 = load ptr, ptr %22, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %138, i32 0, i32 14
  %140 = load i32, ptr %139, align 4, !tbaa !19
  %141 = load i32, ptr %18, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %137, i32 noundef %140, i32 noundef %141, i64 noundef 0)
  %142 = load ptr, ptr %13, align 8, !tbaa !5
  %143 = load ptr, ptr %14, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %142, ptr noundef %143)
  %144 = load ptr, ptr %13, align 8, !tbaa !5
  %145 = load i32, ptr %18, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %144, i32 noundef 30000, i32 noundef %145, i64 noundef 16)
  br label %146

146:                                              ; preds = %136, %133
  %147 = load i32, ptr %28, align 4, !tbaa !9
  %148 = icmp ugt i32 %147, 0
  br i1 %148, label %149, label %180

149:                                              ; preds = %146
  %150 = load i32, ptr %28, align 4, !tbaa !9
  %151 = icmp ugt i32 %150, 1
  br i1 %151, label %152, label %162

152:                                              ; preds = %149
  %153 = load ptr, ptr %13, align 8, !tbaa !5
  %154 = load ptr, ptr %22, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %154, i32 0, i32 14
  %156 = load i32, ptr %155, align 4, !tbaa !19
  %157 = load i32, ptr %17, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %153, i32 noundef %156, i32 noundef %157, i64 noundef 0)
  %158 = load ptr, ptr %13, align 8, !tbaa !5
  %159 = load ptr, ptr %14, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %158, ptr noundef %159)
  %160 = load ptr, ptr %13, align 8, !tbaa !5
  %161 = load i32, ptr %17, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %160, i32 noundef 30000, i32 noundef %161, i64 noundef 32)
  br label %162

162:                                              ; preds = %152, %149
  %163 = load ptr, ptr %13, align 8, !tbaa !5
  %164 = load i32, ptr %15, align 4, !tbaa !9
  %165 = load i32, ptr %16, align 4, !tbaa !9
  %166 = load i32, ptr %25, align 4, !tbaa !9
  %167 = load i32, ptr %26, align 4, !tbaa !9
  %168 = load ptr, ptr %22, align 8, !tbaa !5
  %169 = load ptr, ptr %23, align 8, !tbaa !5
  call void @libxsmm_generator_transform_norm_to_vnni2_16bit_avx512_mnblock_micro_kernel(ptr noundef %163, i32 noundef %164, i32 noundef %165, i32 noundef 0, i32 noundef 0, i32 noundef %166, i32 noundef %167, i32 noundef 32, i32 noundef 16, ptr noundef %168, ptr noundef %169)
  %170 = load i32, ptr %28, align 4, !tbaa !9
  %171 = icmp ugt i32 %170, 1
  br i1 %171, label %172, label %179

172:                                              ; preds = %162
  %173 = load ptr, ptr %13, align 8, !tbaa !5
  %174 = load ptr, ptr %14, align 8, !tbaa !5
  %175 = load ptr, ptr %22, align 8, !tbaa !5
  %176 = load i32, ptr %17, align 4, !tbaa !9
  %177 = load i32, ptr %28, align 4, !tbaa !9
  %178 = mul i32 %177, 32
  call void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef %173, ptr noundef %174, ptr noundef %175, i32 noundef %176, i32 noundef %178)
  br label %179

179:                                              ; preds = %172, %162
  br label %180

180:                                              ; preds = %179, %146
  %181 = load i32, ptr %27, align 4, !tbaa !9
  %182 = icmp ugt i32 %181, 0
  br i1 %182, label %183, label %194

183:                                              ; preds = %180
  %184 = load ptr, ptr %13, align 8, !tbaa !5
  %185 = load i32, ptr %15, align 4, !tbaa !9
  %186 = load i32, ptr %16, align 4, !tbaa !9
  %187 = load i32, ptr %20, align 4, !tbaa !9
  %188 = load i32, ptr %21, align 4, !tbaa !9
  %189 = load i32, ptr %25, align 4, !tbaa !9
  %190 = load i32, ptr %26, align 4, !tbaa !9
  %191 = load i32, ptr %27, align 4, !tbaa !9
  %192 = load ptr, ptr %22, align 8, !tbaa !5
  %193 = load ptr, ptr %23, align 8, !tbaa !5
  call void @libxsmm_generator_transform_norm_to_vnni2_16bit_avx512_mnblock_micro_kernel(ptr noundef %184, i32 noundef %185, i32 noundef %186, i32 noundef %187, i32 noundef %188, i32 noundef %189, i32 noundef %190, i32 noundef %191, i32 noundef 16, ptr noundef %192, ptr noundef %193)
  br label %194

194:                                              ; preds = %183, %180
  %195 = load ptr, ptr %13, align 8, !tbaa !5
  %196 = load i32, ptr %15, align 4, !tbaa !9
  %197 = load ptr, ptr %23, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %197, i32 0, i32 2
  %199 = load i32, ptr %198, align 1, !tbaa !20
  %200 = zext i32 %199 to i64
  %201 = mul nsw i64 16, %200
  %202 = load ptr, ptr %22, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %202, i32 0, i32 2
  %204 = load i32, ptr %203, align 4, !tbaa !21
  %205 = zext i32 %204 to i64
  %206 = mul nsw i64 %201, %205
  %207 = load ptr, ptr %22, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %207, i32 0, i32 2
  %209 = load i32, ptr %208, align 4, !tbaa !21
  %210 = zext i32 %209 to i64
  %211 = load ptr, ptr %23, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %211, i32 0, i32 0
  %213 = load i32, ptr %212, align 1, !tbaa !11
  %214 = zext i32 %213 to i64
  %215 = mul nsw i64 %210, %214
  %216 = sub nsw i64 %206, %215
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %195, i32 noundef 30000, i32 noundef %196, i64 noundef %216)
  %217 = load ptr, ptr %13, align 8, !tbaa !5
  %218 = load i32, ptr %16, align 4, !tbaa !9
  %219 = load ptr, ptr %23, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %219, i32 0, i32 3
  %221 = load i32, ptr %220, align 1, !tbaa !22
  %222 = zext i32 %221 to i64
  %223 = mul nsw i64 16, %222
  %224 = load ptr, ptr %22, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %224, i32 0, i32 5
  %226 = load i32, ptr %225, align 4, !tbaa !23
  %227 = zext i32 %226 to i64
  %228 = mul nsw i64 %223, %227
  %229 = load ptr, ptr %22, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %229, i32 0, i32 5
  %231 = load i32, ptr %230, align 4, !tbaa !23
  %232 = zext i32 %231 to i64
  %233 = load ptr, ptr %23, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %233, i32 0, i32 0
  %235 = load i32, ptr %234, align 1, !tbaa !11
  %236 = zext i32 %235 to i64
  %237 = mul nsw i64 %232, %236
  %238 = mul nsw i64 %237, 2
  %239 = sub nsw i64 %228, %238
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %217, i32 noundef 30000, i32 noundef %218, i64 noundef %239)
  %240 = load i32, ptr %30, align 4, !tbaa !9
  %241 = icmp ugt i32 %240, 1
  br i1 %241, label %242, label %249

242:                                              ; preds = %194
  %243 = load ptr, ptr %13, align 8, !tbaa !5
  %244 = load ptr, ptr %14, align 8, !tbaa !5
  %245 = load ptr, ptr %22, align 8, !tbaa !5
  %246 = load i32, ptr %18, align 4, !tbaa !9
  %247 = load i32, ptr %30, align 4, !tbaa !9
  %248 = mul i32 %247, 16
  call void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef %243, ptr noundef %244, ptr noundef %245, i32 noundef %246, i32 noundef %248)
  br label %249

249:                                              ; preds = %242, %194
  br label %250

250:                                              ; preds = %249, %130
  %251 = load i32, ptr %29, align 4, !tbaa !9
  %252 = icmp ugt i32 %251, 0
  br i1 %252, label %253, label %304

253:                                              ; preds = %250
  %254 = load i32, ptr %28, align 4, !tbaa !9
  %255 = icmp ugt i32 %254, 0
  br i1 %255, label %256, label %288

256:                                              ; preds = %253
  %257 = load i32, ptr %28, align 4, !tbaa !9
  %258 = icmp ugt i32 %257, 1
  br i1 %258, label %259, label %269

259:                                              ; preds = %256
  %260 = load ptr, ptr %13, align 8, !tbaa !5
  %261 = load ptr, ptr %22, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %261, i32 0, i32 14
  %263 = load i32, ptr %262, align 4, !tbaa !19
  %264 = load i32, ptr %17, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %260, i32 noundef %263, i32 noundef %264, i64 noundef 0)
  %265 = load ptr, ptr %13, align 8, !tbaa !5
  %266 = load ptr, ptr %14, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %265, ptr noundef %266)
  %267 = load ptr, ptr %13, align 8, !tbaa !5
  %268 = load i32, ptr %17, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %267, i32 noundef 30000, i32 noundef %268, i64 noundef 32)
  br label %269

269:                                              ; preds = %259, %256
  %270 = load ptr, ptr %13, align 8, !tbaa !5
  %271 = load i32, ptr %15, align 4, !tbaa !9
  %272 = load i32, ptr %16, align 4, !tbaa !9
  %273 = load i32, ptr %25, align 4, !tbaa !9
  %274 = load i32, ptr %26, align 4, !tbaa !9
  %275 = load i32, ptr %29, align 4, !tbaa !9
  %276 = load ptr, ptr %22, align 8, !tbaa !5
  %277 = load ptr, ptr %23, align 8, !tbaa !5
  call void @libxsmm_generator_transform_norm_to_vnni2_16bit_avx512_mnblock_micro_kernel(ptr noundef %270, i32 noundef %271, i32 noundef %272, i32 noundef 0, i32 noundef 0, i32 noundef %273, i32 noundef %274, i32 noundef 32, i32 noundef %275, ptr noundef %276, ptr noundef %277)
  %278 = load i32, ptr %28, align 4, !tbaa !9
  %279 = icmp ugt i32 %278, 1
  br i1 %279, label %280, label %287

280:                                              ; preds = %269
  %281 = load ptr, ptr %13, align 8, !tbaa !5
  %282 = load ptr, ptr %14, align 8, !tbaa !5
  %283 = load ptr, ptr %22, align 8, !tbaa !5
  %284 = load i32, ptr %17, align 4, !tbaa !9
  %285 = load i32, ptr %28, align 4, !tbaa !9
  %286 = mul i32 %285, 32
  call void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef %281, ptr noundef %282, ptr noundef %283, i32 noundef %284, i32 noundef %286)
  br label %287

287:                                              ; preds = %280, %269
  br label %288

288:                                              ; preds = %287, %253
  %289 = load i32, ptr %27, align 4, !tbaa !9
  %290 = icmp ugt i32 %289, 0
  br i1 %290, label %291, label %303

291:                                              ; preds = %288
  %292 = load ptr, ptr %13, align 8, !tbaa !5
  %293 = load i32, ptr %15, align 4, !tbaa !9
  %294 = load i32, ptr %16, align 4, !tbaa !9
  %295 = load i32, ptr %20, align 4, !tbaa !9
  %296 = load i32, ptr %21, align 4, !tbaa !9
  %297 = load i32, ptr %25, align 4, !tbaa !9
  %298 = load i32, ptr %26, align 4, !tbaa !9
  %299 = load i32, ptr %27, align 4, !tbaa !9
  %300 = load i32, ptr %29, align 4, !tbaa !9
  %301 = load ptr, ptr %22, align 8, !tbaa !5
  %302 = load ptr, ptr %23, align 8, !tbaa !5
  call void @libxsmm_generator_transform_norm_to_vnni2_16bit_avx512_mnblock_micro_kernel(ptr noundef %292, i32 noundef %293, i32 noundef %294, i32 noundef %295, i32 noundef %296, i32 noundef %297, i32 noundef %298, i32 noundef %299, i32 noundef %300, ptr noundef %301, ptr noundef %302)
  br label %303

303:                                              ; preds = %291, %288
  br label %304

304:                                              ; preds = %303, %250
  store i32 0, ptr %33, align 4
  br label %305

305:                                              ; preds = %304, %80
  call void @llvm.lifetime.end.p0(i64 64, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  %306 = load i32, ptr %33, align 4
  switch i32 %306, label %308 [
    i32 0, label %307
    i32 1, label %307
  ]

307:                                              ; preds = %305, %305
  ret void

308:                                              ; preds = %305
  unreachable
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { 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 0}
!12 = !{!"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, !13, i64 27, !13, i64 29, !7, i64 31}
!13 = !{!"short", !7, i64 0}
!14 = !{!12, !10, i64 4}
!15 = !{!16, !7, i64 512}
!16 = !{!"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}
!17 = !{!18, !18, i64 0}
!18 = !{!"long long", !7, i64 0}
!19 = !{!16, !10, i64 56}
!20 = !{!12, !10, i64 8}
!21 = !{!16, !10, i64 8}
!22 = !{!12, !10, i64 12}
!23 = !{!16, !10, i64 20}


; 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"

@.str = external hidden unnamed_addr constant [93 x i8], align 1
@libxsmm_ninit = external local_unnamed_addr global i32, align 4
@libxsmm_verbosity = external local_unnamed_addr global i32, align 4
@.str.18 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [20 x i8], align 1
@__const.libxsmm_generator_transform_norm_to_vnni2_16bit_avx512_microkernel.perm_table_vnni_lo = external hidden unnamed_addr constant [32 x i16], align 16
@__const.libxsmm_generator_transform_norm_to_vnni2_16bit_avx512_microkernel.perm_table_vnni_hi = external hidden unnamed_addr constant [32 x i16], align 16
@__func__.libxsmm_generator_transform_norm_to_vnni2_16bit_avx512_microkernel = external hidden unnamed_addr constant [67 x i8], align 1

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

declare void @libxsmm_handle_error(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

declare void @libxsmm_x86_instruction_alu_imm(ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1

declare void @libxsmm_x86_instruction_mask_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef, ptr noundef, ptr noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_transform_norm_to_vnni2_16bit_avx512_microkernel(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, ptr noundef %9, ptr noundef %10, i32 noundef %11) local_unnamed_addr #3 {
  %13 = alloca [32 x i16], align 16
  %14 = alloca [32 x i16], align 16
  %15 = load i32, ptr %10, align 1, !tbaa !5
  %16 = and i32 %15, 31
  %17 = and i32 %15, -32
  %18 = getelementptr inbounds i8, ptr %10, i64 4
  %19 = load i32, ptr %18, align 1, !tbaa !11
  %20 = and i32 %19, 15
  %21 = and i32 %19, -16
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %13) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %13, ptr noundef nonnull align 16 dereferenceable(64) @__const.libxsmm_generator_transform_norm_to_vnni2_16bit_avx512_microkernel.perm_table_vnni_lo, i64 64, i1 false)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %14) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %14, ptr noundef nonnull align 16 dereferenceable(64) @__const.libxsmm_generator_transform_norm_to_vnni2_16bit_avx512_microkernel.perm_table_vnni_hi, i64 64, i1 false)
  %22 = getelementptr inbounds i8, ptr %9, i64 512
  %23 = load i8, ptr %22, align 4, !tbaa !12
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef %0, ptr noundef nonnull %13, ptr noundef nonnull @.str.19, i8 noundef signext %23, i32 noundef 31) #4
  %24 = load i8, ptr %22, align 4, !tbaa !12
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef %0, ptr noundef nonnull %14, ptr noundef nonnull @.str.18, i8 noundef signext %24, i32 noundef 30) #4
  %25 = icmp eq i32 %11, 0
  br i1 %25, label %26, label %34

26:                                               ; preds = %12
  %27 = load i32, ptr %18, align 1, !tbaa !11
  %28 = and i32 %27, 1
  %.not = icmp eq i32 %28, 0
  br i1 %.not, label %34, label %29

29:                                               ; preds = %26
  %30 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !14
  %31 = icmp ugt i32 %30, 1
  %32 = load i32, ptr @libxsmm_verbosity, align 4
  %33 = select i1 %31, i32 %32, i32 1
  call void @libxsmm_handle_error(ptr noundef %0, i32 noundef 90016, ptr noundef nonnull @__func__.libxsmm_generator_transform_norm_to_vnni2_16bit_avx512_microkernel, ptr noundef nonnull @.str, i32 noundef 3341, i32 noundef %33) #4
  br label %99

34:                                               ; preds = %26, %12
  %.not135 = icmp eq i32 %16, 0
  br i1 %.not135, label %50, label %35

35:                                               ; preds = %34
  %36 = zext nneg i32 %16 to i64
  %notmask = shl nsw i64 -1, %36
  %37 = xor i64 %notmask, -1
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef %6, i64 noundef %37) #4
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %0, i32 noundef -1610149486, i32 noundef %6, i32 noundef %7) #4
  %38 = icmp ugt i32 %16, 16
  br i1 %38, label %39, label %44

39:                                               ; preds = %35
  %40 = shl nuw nsw i32 %16, 1
  %41 = add nsw i32 %40, -32
  %42 = zext nneg i32 %41 to i64
  %notmask137 = shl nsw i64 -1, %42
  %43 = xor i64 %notmask137, -1
  br label %.sink.split

44:                                               ; preds = %35
  %45 = icmp eq i32 %16, 16
  %46 = shl nuw nsw i32 %16, 1
  %47 = zext nneg i32 %46 to i64
  %notmask136 = shl nsw i64 -1, %47
  %48 = xor i64 %notmask136, -1
  %49 = select i1 %45, i64 4294967295, i64 %48
  br label %.sink.split

.sink.split:                                      ; preds = %44, %39
  %.sink = phi i64 [ %43, %39 ], [ %49, %44 ]
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef %6, i64 noundef %.sink) #4
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %0, i32 noundef -1610149486, i32 noundef %6, i32 noundef %8) #4
  br label %50

50:                                               ; preds = %.sink.split, %34
  %.not138 = icmp ult i32 %19, 16
  br i1 %.not138, label %90, label %51

51:                                               ; preds = %50
  %52 = icmp ugt i32 %19, 31
  br i1 %52, label %53, label %56

53:                                               ; preds = %51
  %54 = getelementptr inbounds i8, ptr %9, i64 56
  %55 = load i32, ptr %54, align 4, !tbaa !15
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %55, i32 noundef %5, i64 noundef 0) #4
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %0, ptr noundef %1) #4
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %5, i64 noundef 16) #4
  br label %56

56:                                               ; preds = %53, %51
  %.not139 = icmp ult i32 %15, 32
  br i1 %.not139, label %62, label %57

57:                                               ; preds = %56
  %58 = icmp ugt i32 %15, 63
  br i1 %58, label %59, label %.critedge

59:                                               ; preds = %57
  %60 = getelementptr inbounds i8, ptr %9, i64 56
  %61 = load i32, ptr %60, align 4, !tbaa !15
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %61, i32 noundef %4, i64 noundef 0) #4
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %0, ptr noundef %1) #4
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %4, i64 noundef 32) #4
  call void @libxsmm_generator_transform_norm_to_vnni2_16bit_avx512_mnblock_micro_kernel(ptr noundef %0, i32 noundef %2, i32 noundef %3, i32 noundef 0, i32 noundef 0, i32 noundef 31, i32 noundef 30, i32 noundef 32, i32 noundef 16, ptr noundef nonnull %9, ptr noundef nonnull %10)
  call void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %9, i32 noundef %4, i32 noundef %17) #4
  br label %62

.critedge:                                        ; preds = %57
  call void @libxsmm_generator_transform_norm_to_vnni2_16bit_avx512_mnblock_micro_kernel(ptr noundef %0, i32 noundef %2, i32 noundef %3, i32 noundef 0, i32 noundef 0, i32 noundef 31, i32 noundef 30, i32 noundef 32, i32 noundef 16, ptr noundef nonnull %9, ptr noundef nonnull %10)
  br label %62

62:                                               ; preds = %.critedge, %59, %56
  br i1 %.not135, label %64, label %63

63:                                               ; preds = %62
  call void @libxsmm_generator_transform_norm_to_vnni2_16bit_avx512_mnblock_micro_kernel(ptr noundef %0, i32 noundef %2, i32 noundef %3, i32 noundef %7, i32 noundef %8, i32 noundef 31, i32 noundef 30, i32 noundef %16, i32 noundef 16, ptr noundef nonnull %9, ptr noundef nonnull %10)
  br label %64

64:                                               ; preds = %63, %62
  %65 = getelementptr inbounds i8, ptr %10, i64 8
  %66 = load i32, ptr %65, align 1, !tbaa !16
  %67 = zext i32 %66 to i64
  %68 = shl nuw nsw i64 %67, 4
  %69 = getelementptr inbounds i8, ptr %9, i64 8
  %70 = load i32, ptr %69, align 4, !tbaa !17
  %71 = zext i32 %70 to i64
  %72 = load i32, ptr %10, align 1, !tbaa !5
  %73 = zext i32 %72 to i64
  %74 = sub nsw i64 %68, %73
  %75 = mul i64 %74, %71
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %2, i64 noundef %75) #4
  %76 = getelementptr inbounds i8, ptr %10, i64 12
  %77 = load i32, ptr %76, align 1, !tbaa !18
  %78 = zext i32 %77 to i64
  %79 = shl nuw nsw i64 %78, 4
  %80 = getelementptr inbounds i8, ptr %9, i64 20
  %81 = load i32, ptr %80, align 4, !tbaa !19
  %82 = zext i32 %81 to i64
  %83 = mul nuw nsw i64 %79, %82
  %84 = load i32, ptr %10, align 1, !tbaa !5
  %85 = zext i32 %84 to i64
  %86 = shl nuw nsw i64 %82, 1
  %87 = mul i64 %86, %85
  %88 = sub nsw i64 %83, %87
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %3, i64 noundef %88) #4
  br i1 %52, label %89, label %90

89:                                               ; preds = %64
  call void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %9, i32 noundef %5, i32 noundef %21) #4
  br label %90

90:                                               ; preds = %64, %89, %50
  %.not140 = icmp eq i32 %20, 0
  br i1 %.not140, label %99, label %91

91:                                               ; preds = %90
  %.not141 = icmp ult i32 %15, 32
  br i1 %.not141, label %97, label %92

92:                                               ; preds = %91
  %93 = icmp ugt i32 %15, 63
  br i1 %93, label %94, label %.critedge143

94:                                               ; preds = %92
  %95 = getelementptr inbounds i8, ptr %9, i64 56
  %96 = load i32, ptr %95, align 4, !tbaa !15
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %96, i32 noundef %4, i64 noundef 0) #4
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %0, ptr noundef %1) #4
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %4, i64 noundef 32) #4
  call void @libxsmm_generator_transform_norm_to_vnni2_16bit_avx512_mnblock_micro_kernel(ptr noundef %0, i32 noundef %2, i32 noundef %3, i32 noundef 0, i32 noundef 0, i32 noundef 31, i32 noundef 30, i32 noundef 32, i32 noundef %20, ptr noundef nonnull %9, ptr noundef nonnull %10)
  call void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %9, i32 noundef %4, i32 noundef %17) #4
  br label %97

.critedge143:                                     ; preds = %92
  call void @libxsmm_generator_transform_norm_to_vnni2_16bit_avx512_mnblock_micro_kernel(ptr noundef %0, i32 noundef %2, i32 noundef %3, i32 noundef 0, i32 noundef 0, i32 noundef 31, i32 noundef 30, i32 noundef 32, i32 noundef %20, ptr noundef nonnull %9, ptr noundef nonnull %10)
  br label %97

97:                                               ; preds = %.critedge143, %94, %91
  br i1 %.not135, label %99, label %98

98:                                               ; preds = %97
  call void @libxsmm_generator_transform_norm_to_vnni2_16bit_avx512_mnblock_micro_kernel(ptr noundef %0, i32 noundef %2, i32 noundef %3, i32 noundef %7, i32 noundef %8, i32 noundef 31, i32 noundef 30, i32 noundef %16, i32 noundef %20, ptr noundef nonnull %9, ptr noundef nonnull %10)
  br label %99

99:                                               ; preds = %90, %98, %97, %29
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %13) #4
  ret void
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { 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 0}
!6 = !{!"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, !10, i64 27, !10, i64 29, !8, i64 31}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"short", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!13, !8, i64 512}
!13 = !{!"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}
!14 = !{!7, !7, i64 0}
!15 = !{!13, !7, i64 56}
!16 = !{!6, !7, i64 8}
!17 = !{!13, !7, i64 8}
!18 = !{!6, !7, i64 12}
!19 = !{!13, !7, i64 20}


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