; 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.16 = external hidden unnamed_addr constant [23 x i8], align 1
@__const.libxsmm_generator_transform_vnni2_to_vnni2t_16bit_avx512_pre_spr_microkernel.l_shuffle_cntl = external hidden unnamed_addr constant [16 x i32], align 16

; 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_transform_Xway_half_load_blend_avx512(ptr noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1

; 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) #3

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

declare void @libxsmm_generator_transform_Xway_full_store_avx_avx512(ptr noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_transform_two_8x8_16bit_vnni2_to_vnni2t_avx512(ptr noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 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) #3

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_transform_vnni2_to_vnni2t_16bit_avx512_pre_spr_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, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, ptr noundef %13, ptr noundef %14) #1 {
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %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 ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca [16 x i32], align 16
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i64, align 8
  %40 = alloca [2 x i32], align 4
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca i32, align 4
  %44 = alloca [32 x i32], align 16
  %45 = alloca [2 x i32], align 4
  %46 = alloca [32 x i32], align 16
  %47 = alloca [2 x i32], align 4
  %48 = alloca [32 x i32], align 16
  %49 = alloca [2 x i32], align 4
  %50 = alloca [32 x i32], align 16
  %51 = alloca [2 x i32], align 4
  store ptr %0, ptr %16, align 8, !tbaa !5
  store ptr %1, ptr %17, align 8, !tbaa !5
  store i32 %2, ptr %18, align 4, !tbaa !9
  store i32 %3, ptr %19, align 4, !tbaa !9
  store i32 %4, ptr %20, align 4, !tbaa !9
  store i32 %5, ptr %21, align 4, !tbaa !9
  store i32 %6, ptr %22, align 4, !tbaa !9
  store i32 %7, ptr %23, align 4, !tbaa !9
  store i32 %8, ptr %24, align 4, !tbaa !9
  store i32 %9, ptr %25, align 4, !tbaa !9
  store i32 %10, ptr %26, align 4, !tbaa !9
  store i32 %11, ptr %27, align 4, !tbaa !9
  store i32 %12, ptr %28, align 4, !tbaa !9
  store ptr %13, ptr %29, align 8, !tbaa !5
  store ptr %14, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  %52 = load ptr, ptr %30, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %52, i32 0, i32 2
  %54 = load i32, ptr %53, align 1, !tbaa !11
  %55 = mul i32 %54, 2
  store i32 %55, ptr %31, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  %56 = load ptr, ptr %30, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %56, i32 0, i32 3
  %58 = load i32, ptr %57, align 1, !tbaa !14
  %59 = mul i32 %58, 2
  store i32 %59, ptr %32, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 64, ptr %33) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %33, ptr align 16 @__const.libxsmm_generator_transform_vnni2_to_vnni2t_16bit_avx512_pre_spr_microkernel.l_shuffle_cntl, i64 64, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #5
  store i32 31, ptr %34, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #5
  %60 = load ptr, ptr %30, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %60, i32 0, i32 1
  %62 = load i32, ptr %61, align 1, !tbaa !15
  %63 = udiv i32 %62, 2
  %64 = urem i32 %63, 8
  store i32 %64, ptr %35, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #5
  %65 = load ptr, ptr %30, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %65, i32 0, i32 0
  %67 = load i32, ptr %66, align 1, !tbaa !16
  %68 = mul i32 %67, 2
  %69 = urem i32 %68, 16
  store i32 %69, ptr %36, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #5
  %70 = load ptr, ptr %30, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %70, i32 0, i32 1
  %72 = load i32, ptr %71, align 1, !tbaa !15
  %73 = udiv i32 %72, 2
  %74 = load i32, ptr %35, align 4, !tbaa !9
  %75 = sub i32 %73, %74
  store i32 %75, ptr %37, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #5
  %76 = load ptr, ptr %30, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %76, i32 0, i32 0
  %78 = load i32, ptr %77, align 1, !tbaa !16
  %79 = mul i32 %78, 2
  %80 = load i32, ptr %36, align 4, !tbaa !9
  %81 = sub i32 %79, %80
  store i32 %81, ptr %38, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #5
  store i64 65280, ptr %39, align 8, !tbaa !17
  %82 = load i32, ptr %36, align 4, !tbaa !9
  %83 = icmp ugt i32 %82, 0
  br i1 %83, label %84, label %115

84:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #5
  call void @llvm.memset.p0.i64(ptr align 4 %40, i8 0, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #5
  %85 = load i32, ptr %36, align 4, !tbaa !9
  %86 = lshr i32 %85, 1
  %87 = shl i32 1, %86
  %88 = sub nsw i32 %87, 1
  store i32 %88, ptr %41, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #5
  store i32 0, ptr %42, align 4, !tbaa !9
  %89 = load i32, ptr %26, align 4, !tbaa !9
  %90 = getelementptr inbounds [2 x i32], ptr %40, i64 0, i64 0
  store i32 %89, ptr %90, align 4, !tbaa !9
  %91 = load i32, ptr %27, align 4, !tbaa !9
  %92 = getelementptr inbounds [2 x i32], ptr %40, i64 0, i64 1
  store i32 %91, ptr %92, align 4, !tbaa !9
  store i32 0, ptr %42, align 4, !tbaa !9
  br label %93

93:                                               ; preds = %111, %84
  %94 = load i32, ptr %42, align 4, !tbaa !9
  %95 = icmp ult i32 %94, 2
  br i1 %95, label %96, label %114

96:                                               ; preds = %93
  %97 = load ptr, ptr %16, align 8, !tbaa !5
  %98 = load i32, ptr %22, align 4, !tbaa !9
  %99 = load i32, ptr %41, align 4, !tbaa !9
  %100 = zext i32 %99 to i64
  %101 = load i32, ptr %42, align 4, !tbaa !9
  %102 = mul i32 %101, 8
  %103 = zext i32 %102 to i64
  %104 = shl i64 %100, %103
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %97, i32 noundef -1568407413, i32 noundef %98, i64 noundef %104)
  %105 = load ptr, ptr %16, align 8, !tbaa !5
  %106 = load i32, ptr %22, align 4, !tbaa !9
  %107 = load i32, ptr %42, align 4, !tbaa !9
  %108 = zext i32 %107 to i64
  %109 = getelementptr inbounds [2 x i32], ptr %40, i64 0, i64 %108
  %110 = load i32, ptr %109, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %105, i32 noundef -1610149486, i32 noundef %106, i32 noundef %110)
  br label %111

111:                                              ; preds = %96
  %112 = load i32, ptr %42, align 4, !tbaa !9
  %113 = add i32 %112, 1
  store i32 %113, ptr %42, align 4, !tbaa !9
  br label %93, !llvm.loop !19

114:                                              ; preds = %93
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #5
  br label %115

115:                                              ; preds = %114, %15
  %116 = load i32, ptr %35, align 4, !tbaa !9
  %117 = icmp ugt i32 %116, 0
  br i1 %117, label %118, label %130

118:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #5
  %119 = load i32, ptr %35, align 4, !tbaa !9
  %120 = mul i32 %119, 4
  %121 = shl i32 1, %120
  %122 = sub nsw i32 %121, 1
  store i32 %122, ptr %43, align 4, !tbaa !9
  %123 = load ptr, ptr %16, align 8, !tbaa !5
  %124 = load i32, ptr %22, align 4, !tbaa !9
  %125 = load i32, ptr %43, align 4, !tbaa !9
  %126 = zext i32 %125 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %123, i32 noundef -1568407413, i32 noundef %124, i64 noundef %126)
  %127 = load ptr, ptr %16, align 8, !tbaa !5
  %128 = load i32, ptr %22, align 4, !tbaa !9
  %129 = load i32, ptr %28, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %127, i32 noundef -1610149486, i32 noundef %128, i32 noundef %129)
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #5
  br label %130

130:                                              ; preds = %118, %115
  %131 = load ptr, ptr %16, align 8, !tbaa !5
  %132 = getelementptr inbounds [16 x i32], ptr %33, i64 0, i64 0
  %133 = load ptr, ptr %29, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %133, i32 0, i32 128
  %135 = load i8, ptr %134, align 4, !tbaa !21
  %136 = load i32, ptr %34, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef %131, ptr noundef %132, ptr noundef @.str.16, i8 noundef signext %135, i32 noundef %136)
  %137 = load ptr, ptr %16, align 8, !tbaa !5
  %138 = load i32, ptr %22, align 4, !tbaa !9
  %139 = load i64, ptr %39, align 8, !tbaa !17
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %137, i32 noundef -1568407413, i32 noundef %138, i64 noundef %139)
  %140 = load ptr, ptr %16, align 8, !tbaa !5
  %141 = load i32, ptr %22, align 4, !tbaa !9
  %142 = load i32, ptr %23, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %140, i32 noundef -1610149486, i32 noundef %141, i32 noundef %142)
  store i64 204, ptr %39, align 8, !tbaa !17
  %143 = load ptr, ptr %16, align 8, !tbaa !5
  %144 = load i32, ptr %22, align 4, !tbaa !9
  %145 = load i64, ptr %39, align 8, !tbaa !17
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %143, i32 noundef -1568407413, i32 noundef %144, i64 noundef %145)
  %146 = load ptr, ptr %16, align 8, !tbaa !5
  %147 = load i32, ptr %22, align 4, !tbaa !9
  %148 = load i32, ptr %24, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %146, i32 noundef -1610280558, i32 noundef %147, i32 noundef %148)
  store i64 51, ptr %39, align 8, !tbaa !17
  %149 = load ptr, ptr %16, align 8, !tbaa !5
  %150 = load i32, ptr %22, align 4, !tbaa !9
  %151 = load i64, ptr %39, align 8, !tbaa !17
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %149, i32 noundef -1568407413, i32 noundef %150, i64 noundef %151)
  %152 = load ptr, ptr %16, align 8, !tbaa !5
  %153 = load i32, ptr %22, align 4, !tbaa !9
  %154 = load i32, ptr %25, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %152, i32 noundef -1610280558, i32 noundef %153, i32 noundef %154)
  %155 = load i32, ptr %38, align 4, !tbaa !9
  %156 = icmp ugt i32 %155, 0
  br i1 %156, label %157, label %326

157:                                              ; preds = %130
  %158 = load ptr, ptr %16, align 8, !tbaa !5
  %159 = load ptr, ptr %29, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %159, i32 0, i32 14
  %161 = load i32, ptr %160, align 4, !tbaa !23
  %162 = load i32, ptr %20, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %158, i32 noundef %161, i32 noundef %162, i64 noundef 0)
  %163 = load ptr, ptr %16, align 8, !tbaa !5
  %164 = load ptr, ptr %17, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %163, ptr noundef %164)
  %165 = load ptr, ptr %16, align 8, !tbaa !5
  %166 = load i32, ptr %20, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %165, i32 noundef 30000, i32 noundef %166, i64 noundef 16)
  %167 = load i32, ptr %37, align 4, !tbaa !9
  %168 = icmp ugt i32 %167, 0
  br i1 %168, label %169, label %239

169:                                              ; preds = %157
  %170 = load ptr, ptr %16, align 8, !tbaa !5
  %171 = load ptr, ptr %29, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %171, i32 0, i32 14
  %173 = load i32, ptr %172, align 4, !tbaa !23
  %174 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %170, i32 noundef %173, i32 noundef %174, i64 noundef 0)
  %175 = load ptr, ptr %16, align 8, !tbaa !5
  %176 = load ptr, ptr %17, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %175, ptr noundef %176)
  %177 = load ptr, ptr %16, align 8, !tbaa !5
  %178 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %177, i32 noundef 30000, i32 noundef %178, i64 noundef 8)
  call void @llvm.lifetime.start.p0(i64 128, ptr %44) #5
  call void @llvm.memset.p0.i64(ptr align 16 %44, i8 0, i64 128, i1 false)
  %179 = getelementptr inbounds <{ i32, i32, i32, i32, [28 x i32] }>, ptr %44, i32 0, i32 1
  store i32 2, ptr %179, align 4
  %180 = getelementptr inbounds <{ i32, i32, i32, i32, [28 x i32] }>, ptr %44, i32 0, i32 2
  store i32 4, ptr %180, align 8
  %181 = getelementptr inbounds <{ i32, i32, i32, i32, [28 x i32] }>, ptr %44, i32 0, i32 3
  store i32 6, ptr %181, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #5
  call void @llvm.memset.p0.i64(ptr align 4 %45, i8 0, i64 8, i1 false)
  %182 = getelementptr inbounds [2 x i32], ptr %45, i64 0, i64 0
  store i32 0, ptr %182, align 4, !tbaa !9
  %183 = load i32, ptr %23, align 4, !tbaa !9
  %184 = getelementptr inbounds [2 x i32], ptr %45, i64 0, i64 1
  store i32 %183, ptr %184, align 4, !tbaa !9
  %185 = load ptr, ptr %16, align 8, !tbaa !5
  %186 = load ptr, ptr %29, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %186, i32 0, i32 128
  %188 = load i8, ptr %187, align 4, !tbaa !21
  %189 = load i32, ptr %18, align 4, !tbaa !9
  %190 = load i32, ptr %31, align 4, !tbaa !9
  %191 = load ptr, ptr %29, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %191, i32 0, i32 2
  %193 = load i32, ptr %192, align 4, !tbaa !24
  %194 = mul i32 %190, %193
  %195 = getelementptr inbounds [32 x i32], ptr %44, i64 0, i64 0
  %196 = getelementptr inbounds [2 x i32], ptr %45, i64 0, i64 0
  call void @libxsmm_generator_transform_Xway_half_load_blend_avx512(ptr noundef %185, i8 noundef signext %188, i32 noundef %189, i32 noundef 0, i32 noundef %194, ptr noundef %195, i32 noundef 4, i32 noundef -536531621, i32 noundef 4, ptr noundef %196, i32 noundef 8)
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr %44) #5
  %197 = load ptr, ptr %16, align 8, !tbaa !5
  %198 = load i32, ptr %18, align 4, !tbaa !9
  %199 = load i32, ptr %31, align 4, !tbaa !9
  %200 = zext i32 %199 to i64
  %201 = load ptr, ptr %29, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %201, i32 0, i32 2
  %203 = load i32, ptr %202, align 4, !tbaa !24
  %204 = zext i32 %203 to i64
  %205 = mul nsw i64 %200, %204
  %206 = mul nsw i64 %205, 8
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %197, i32 noundef 30000, i32 noundef %198, i64 noundef %206)
  %207 = load ptr, ptr %16, align 8, !tbaa !5
  %208 = load ptr, ptr %29, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %208, i32 0, i32 128
  %210 = load i8, ptr %209, align 4, !tbaa !21
  %211 = load i32, ptr %34, align 4, !tbaa !9
  %212 = load i32, ptr %24, align 4, !tbaa !9
  %213 = load i32, ptr %25, align 4, !tbaa !9
  call void @libxsmm_generator_transform_two_8x8_16bit_vnni2_to_vnni2t_avx512(ptr noundef %207, i8 noundef signext %210, i32 noundef 0, i32 noundef 4, i32 noundef %211, i32 noundef %212, i32 noundef %213)
  %214 = load ptr, ptr %16, align 8, !tbaa !5
  %215 = load ptr, ptr %29, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %215, i32 0, i32 128
  %217 = load i8, ptr %216, align 4, !tbaa !21
  %218 = load i32, ptr %19, align 4, !tbaa !9
  %219 = load i32, ptr %32, align 4, !tbaa !9
  %220 = load ptr, ptr %29, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %220, i32 0, i32 5
  %222 = load i32, ptr %221, align 4, !tbaa !25
  %223 = mul i32 %219, %222
  %224 = load ptr, ptr %29, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %224, i32 0, i32 9
  %226 = load i32, ptr %225, align 4, !tbaa !26
  call void @libxsmm_generator_transform_Xway_full_store_avx_avx512(ptr noundef %214, i8 noundef signext %217, i32 noundef %218, i32 noundef 0, i32 noundef %223, i32 noundef %226, i32 noundef 0, i32 noundef 0, i32 noundef 4)
  %227 = load ptr, ptr %16, align 8, !tbaa !5
  %228 = load i32, ptr %19, align 4, !tbaa !9
  %229 = load ptr, ptr %29, 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 !25
  %232 = zext i32 %231 to i64
  %233 = mul nsw i64 %232, 32
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %227, i32 noundef 30000, i32 noundef %228, i64 noundef %233)
  %234 = load ptr, ptr %16, align 8, !tbaa !5
  %235 = load ptr, ptr %17, align 8, !tbaa !5
  %236 = load ptr, ptr %29, align 8, !tbaa !5
  %237 = load i32, ptr %21, align 4, !tbaa !9
  %238 = load i32, ptr %37, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef %234, ptr noundef %235, ptr noundef %236, i32 noundef %237, i32 noundef %238)
  br label %239

239:                                              ; preds = %169, %157
  %240 = load i32, ptr %35, align 4, !tbaa !9
  %241 = icmp ugt i32 %240, 0
  br i1 %241, label %242, label %283

242:                                              ; preds = %239
  call void @llvm.lifetime.start.p0(i64 128, ptr %46) #5
  call void @llvm.memset.p0.i64(ptr align 16 %46, i8 0, i64 128, i1 false)
  %243 = getelementptr inbounds <{ i32, i32, i32, i32, [28 x i32] }>, ptr %46, i32 0, i32 1
  store i32 2, ptr %243, align 4
  %244 = getelementptr inbounds <{ i32, i32, i32, i32, [28 x i32] }>, ptr %46, i32 0, i32 2
  store i32 4, ptr %244, align 8
  %245 = getelementptr inbounds <{ i32, i32, i32, i32, [28 x i32] }>, ptr %46, i32 0, i32 3
  store i32 6, ptr %245, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #5
  call void @llvm.memset.p0.i64(ptr align 4 %47, i8 0, i64 8, i1 false)
  %246 = getelementptr inbounds [2 x i32], ptr %47, i64 0, i64 0
  store i32 0, ptr %246, align 4, !tbaa !9
  %247 = load i32, ptr %23, align 4, !tbaa !9
  %248 = getelementptr inbounds [2 x i32], ptr %47, i64 0, i64 1
  store i32 %247, ptr %248, align 4, !tbaa !9
  %249 = load ptr, ptr %16, align 8, !tbaa !5
  %250 = load ptr, ptr %29, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %250, i32 0, i32 128
  %252 = load i8, ptr %251, align 4, !tbaa !21
  %253 = load i32, ptr %18, align 4, !tbaa !9
  %254 = load i32, ptr %31, align 4, !tbaa !9
  %255 = load ptr, ptr %29, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %255, i32 0, i32 2
  %257 = load i32, ptr %256, align 4, !tbaa !24
  %258 = mul i32 %254, %257
  %259 = getelementptr inbounds [32 x i32], ptr %46, i64 0, i64 0
  %260 = getelementptr inbounds [2 x i32], ptr %47, i64 0, i64 0
  %261 = load i32, ptr %35, align 4, !tbaa !9
  call void @libxsmm_generator_transform_Xway_half_load_blend_avx512(ptr noundef %249, i8 noundef signext %252, i32 noundef %253, i32 noundef 0, i32 noundef %258, ptr noundef %259, i32 noundef 4, i32 noundef -536531621, i32 noundef 4, ptr noundef %260, i32 noundef %261)
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr %46) #5
  %262 = load ptr, ptr %16, align 8, !tbaa !5
  %263 = load ptr, ptr %29, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %263, i32 0, i32 128
  %265 = load i8, ptr %264, align 4, !tbaa !21
  %266 = load i32, ptr %34, align 4, !tbaa !9
  %267 = load i32, ptr %24, align 4, !tbaa !9
  %268 = load i32, ptr %25, align 4, !tbaa !9
  call void @libxsmm_generator_transform_two_8x8_16bit_vnni2_to_vnni2t_avx512(ptr noundef %262, i8 noundef signext %265, i32 noundef 0, i32 noundef 4, i32 noundef %266, i32 noundef %267, i32 noundef %268)
  %269 = load ptr, ptr %16, align 8, !tbaa !5
  %270 = load ptr, ptr %29, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %270, i32 0, i32 128
  %272 = load i8, ptr %271, align 4, !tbaa !21
  %273 = load i32, ptr %19, align 4, !tbaa !9
  %274 = load i32, ptr %32, align 4, !tbaa !9
  %275 = load ptr, ptr %29, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %275, i32 0, i32 5
  %277 = load i32, ptr %276, align 4, !tbaa !25
  %278 = mul i32 %274, %277
  %279 = load ptr, ptr %29, align 8, !tbaa !5
  %280 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %279, i32 0, i32 9
  %281 = load i32, ptr %280, align 4, !tbaa !26
  %282 = load i32, ptr %28, align 4, !tbaa !9
  call void @libxsmm_generator_transform_Xway_full_store_avx_avx512(ptr noundef %269, i8 noundef signext %272, i32 noundef %273, i32 noundef 0, i32 noundef %278, i32 noundef %281, i32 noundef 1, i32 noundef %282, i32 noundef 4)
  br label %283

283:                                              ; preds = %242, %239
  %284 = load ptr, ptr %16, align 8, !tbaa !5
  %285 = load i32, ptr %19, align 4, !tbaa !9
  %286 = load i32, ptr %32, align 4, !tbaa !9
  %287 = zext i32 %286 to i64
  %288 = mul nsw i64 4, %287
  %289 = load ptr, ptr %29, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %289, i32 0, i32 5
  %291 = load i32, ptr %290, align 4, !tbaa !25
  %292 = zext i32 %291 to i64
  %293 = mul nsw i64 %288, %292
  %294 = load ptr, ptr %29, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %294, i32 0, i32 5
  %296 = load i32, ptr %295, align 4, !tbaa !25
  %297 = zext i32 %296 to i64
  %298 = load i32, ptr %37, align 4, !tbaa !9
  %299 = zext i32 %298 to i64
  %300 = mul nsw i64 %297, %299
  %301 = mul nsw i64 %300, 4
  %302 = sub nsw i64 %293, %301
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %284, i32 noundef 30000, i32 noundef %285, i64 noundef %302)
  %303 = load ptr, ptr %16, align 8, !tbaa !5
  %304 = load i32, ptr %18, align 4, !tbaa !9
  %305 = load i32, ptr %31, align 4, !tbaa !9
  %306 = zext i32 %305 to i64
  %307 = load ptr, ptr %29, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %307, i32 0, i32 2
  %309 = load i32, ptr %308, align 4, !tbaa !24
  %310 = zext i32 %309 to i64
  %311 = mul nsw i64 %306, %310
  %312 = load i32, ptr %37, align 4, !tbaa !9
  %313 = zext i32 %312 to i64
  %314 = mul nsw i64 %311, %313
  %315 = load ptr, ptr %29, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %315, i32 0, i32 2
  %317 = load i32, ptr %316, align 4, !tbaa !24
  %318 = zext i32 %317 to i64
  %319 = mul nsw i64 16, %318
  %320 = sub nsw i64 %314, %319
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %303, i32 noundef 30008, i32 noundef %304, i64 noundef %320)
  %321 = load ptr, ptr %16, align 8, !tbaa !5
  %322 = load ptr, ptr %17, align 8, !tbaa !5
  %323 = load ptr, ptr %29, align 8, !tbaa !5
  %324 = load i32, ptr %20, align 4, !tbaa !9
  %325 = load i32, ptr %38, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef %321, ptr noundef %322, ptr noundef %323, i32 noundef %324, i32 noundef %325)
  br label %326

326:                                              ; preds = %283, %130
  %327 = load i32, ptr %36, align 4, !tbaa !9
  %328 = icmp ugt i32 %327, 0
  br i1 %328, label %329, label %453

329:                                              ; preds = %326
  %330 = load i32, ptr %37, align 4, !tbaa !9
  %331 = icmp ugt i32 %330, 0
  br i1 %331, label %332, label %405

332:                                              ; preds = %329
  %333 = load ptr, ptr %16, align 8, !tbaa !5
  %334 = load ptr, ptr %29, align 8, !tbaa !5
  %335 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %334, i32 0, i32 14
  %336 = load i32, ptr %335, align 4, !tbaa !23
  %337 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %333, i32 noundef %336, i32 noundef %337, i64 noundef 0)
  %338 = load ptr, ptr %16, align 8, !tbaa !5
  %339 = load ptr, ptr %17, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %338, ptr noundef %339)
  %340 = load ptr, ptr %16, align 8, !tbaa !5
  %341 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %340, i32 noundef 30000, i32 noundef %341, i64 noundef 8)
  call void @llvm.lifetime.start.p0(i64 128, ptr %48) #5
  call void @llvm.memset.p0.i64(ptr align 16 %48, i8 0, i64 128, i1 false)
  %342 = getelementptr inbounds <{ i32, i32, i32, i32, [28 x i32] }>, ptr %48, i32 0, i32 1
  store i32 2, ptr %342, align 4
  %343 = getelementptr inbounds <{ i32, i32, i32, i32, [28 x i32] }>, ptr %48, i32 0, i32 2
  store i32 4, ptr %343, align 8
  %344 = getelementptr inbounds <{ i32, i32, i32, i32, [28 x i32] }>, ptr %48, i32 0, i32 3
  store i32 6, ptr %344, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #5
  call void @llvm.memset.p0.i64(ptr align 4 %49, i8 0, i64 8, i1 false)
  %345 = load i32, ptr %26, align 4, !tbaa !9
  %346 = getelementptr inbounds [2 x i32], ptr %49, i64 0, i64 0
  store i32 %345, ptr %346, align 4, !tbaa !9
  %347 = load i32, ptr %27, align 4, !tbaa !9
  %348 = getelementptr inbounds [2 x i32], ptr %49, i64 0, i64 1
  store i32 %347, ptr %348, align 4, !tbaa !9
  %349 = load ptr, ptr %16, align 8, !tbaa !5
  %350 = load ptr, ptr %29, align 8, !tbaa !5
  %351 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %350, i32 0, i32 128
  %352 = load i8, ptr %351, align 4, !tbaa !21
  %353 = load i32, ptr %18, align 4, !tbaa !9
  %354 = load i32, ptr %31, align 4, !tbaa !9
  %355 = load ptr, ptr %29, align 8, !tbaa !5
  %356 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %355, i32 0, i32 2
  %357 = load i32, ptr %356, align 4, !tbaa !24
  %358 = mul i32 %354, %357
  %359 = getelementptr inbounds [32 x i32], ptr %48, i64 0, i64 0
  %360 = getelementptr inbounds [2 x i32], ptr %49, i64 0, i64 0
  call void @libxsmm_generator_transform_Xway_half_load_blend_avx512(ptr noundef %349, i8 noundef signext %352, i32 noundef %353, i32 noundef 0, i32 noundef %358, ptr noundef %359, i32 noundef 4, i32 noundef -536531621, i32 noundef 4, ptr noundef %360, i32 noundef 8)
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr %48) #5
  %361 = load ptr, ptr %16, align 8, !tbaa !5
  %362 = load i32, ptr %18, align 4, !tbaa !9
  %363 = load i32, ptr %31, align 4, !tbaa !9
  %364 = zext i32 %363 to i64
  %365 = load ptr, ptr %29, align 8, !tbaa !5
  %366 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %365, i32 0, i32 2
  %367 = load i32, ptr %366, align 4, !tbaa !24
  %368 = zext i32 %367 to i64
  %369 = mul nsw i64 %364, %368
  %370 = mul nsw i64 %369, 8
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %361, i32 noundef 30000, i32 noundef %362, i64 noundef %370)
  %371 = load ptr, ptr %16, align 8, !tbaa !5
  %372 = load ptr, ptr %29, align 8, !tbaa !5
  %373 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %372, i32 0, i32 128
  %374 = load i8, ptr %373, align 4, !tbaa !21
  %375 = load i32, ptr %34, align 4, !tbaa !9
  %376 = load i32, ptr %24, align 4, !tbaa !9
  %377 = load i32, ptr %25, align 4, !tbaa !9
  call void @libxsmm_generator_transform_two_8x8_16bit_vnni2_to_vnni2t_avx512(ptr noundef %371, i8 noundef signext %374, i32 noundef 0, i32 noundef 4, i32 noundef %375, i32 noundef %376, i32 noundef %377)
  %378 = load ptr, ptr %16, align 8, !tbaa !5
  %379 = load ptr, ptr %29, align 8, !tbaa !5
  %380 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %379, i32 0, i32 128
  %381 = load i8, ptr %380, align 4, !tbaa !21
  %382 = load i32, ptr %19, align 4, !tbaa !9
  %383 = load i32, ptr %32, align 4, !tbaa !9
  %384 = load ptr, ptr %29, align 8, !tbaa !5
  %385 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %384, i32 0, i32 5
  %386 = load i32, ptr %385, align 4, !tbaa !25
  %387 = mul i32 %383, %386
  %388 = load ptr, ptr %29, align 8, !tbaa !5
  %389 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %388, i32 0, i32 9
  %390 = load i32, ptr %389, align 4, !tbaa !26
  %391 = load i32, ptr %36, align 4, !tbaa !9
  %392 = lshr i32 %391, 2
  call void @libxsmm_generator_transform_Xway_full_store_avx_avx512(ptr noundef %378, i8 noundef signext %381, i32 noundef %382, i32 noundef 0, i32 noundef %387, i32 noundef %390, i32 noundef 0, i32 noundef 0, i32 noundef %392)
  %393 = load ptr, ptr %16, align 8, !tbaa !5
  %394 = load i32, ptr %19, align 4, !tbaa !9
  %395 = load ptr, ptr %29, align 8, !tbaa !5
  %396 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %395, i32 0, i32 5
  %397 = load i32, ptr %396, align 4, !tbaa !25
  %398 = zext i32 %397 to i64
  %399 = mul nsw i64 %398, 32
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %393, i32 noundef 30000, i32 noundef %394, i64 noundef %399)
  %400 = load ptr, ptr %16, align 8, !tbaa !5
  %401 = load ptr, ptr %17, align 8, !tbaa !5
  %402 = load ptr, ptr %29, align 8, !tbaa !5
  %403 = load i32, ptr %21, align 4, !tbaa !9
  %404 = load i32, ptr %37, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef %400, ptr noundef %401, ptr noundef %402, i32 noundef %403, i32 noundef %404)
  br label %405

405:                                              ; preds = %332, %329
  %406 = load i32, ptr %35, align 4, !tbaa !9
  %407 = icmp ugt i32 %406, 0
  br i1 %407, label %408, label %452

408:                                              ; preds = %405
  call void @llvm.lifetime.start.p0(i64 128, ptr %50) #5
  call void @llvm.memset.p0.i64(ptr align 16 %50, i8 0, i64 128, i1 false)
  %409 = getelementptr inbounds <{ i32, i32, i32, i32, [28 x i32] }>, ptr %50, i32 0, i32 1
  store i32 2, ptr %409, align 4
  %410 = getelementptr inbounds <{ i32, i32, i32, i32, [28 x i32] }>, ptr %50, i32 0, i32 2
  store i32 4, ptr %410, align 8
  %411 = getelementptr inbounds <{ i32, i32, i32, i32, [28 x i32] }>, ptr %50, i32 0, i32 3
  store i32 6, ptr %411, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #5
  call void @llvm.memset.p0.i64(ptr align 4 %51, i8 0, i64 8, i1 false)
  %412 = load i32, ptr %26, align 4, !tbaa !9
  %413 = getelementptr inbounds [2 x i32], ptr %51, i64 0, i64 0
  store i32 %412, ptr %413, align 4, !tbaa !9
  %414 = load i32, ptr %27, align 4, !tbaa !9
  %415 = getelementptr inbounds [2 x i32], ptr %51, i64 0, i64 1
  store i32 %414, ptr %415, align 4, !tbaa !9
  %416 = load ptr, ptr %16, align 8, !tbaa !5
  %417 = load ptr, ptr %29, align 8, !tbaa !5
  %418 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %417, i32 0, i32 128
  %419 = load i8, ptr %418, align 4, !tbaa !21
  %420 = load i32, ptr %18, align 4, !tbaa !9
  %421 = load i32, ptr %31, align 4, !tbaa !9
  %422 = load ptr, ptr %29, align 8, !tbaa !5
  %423 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %422, i32 0, i32 2
  %424 = load i32, ptr %423, align 4, !tbaa !24
  %425 = mul i32 %421, %424
  %426 = getelementptr inbounds [32 x i32], ptr %50, i64 0, i64 0
  %427 = getelementptr inbounds [2 x i32], ptr %51, i64 0, i64 0
  %428 = load i32, ptr %35, align 4, !tbaa !9
  call void @libxsmm_generator_transform_Xway_half_load_blend_avx512(ptr noundef %416, i8 noundef signext %419, i32 noundef %420, i32 noundef 0, i32 noundef %425, ptr noundef %426, i32 noundef 4, i32 noundef -536531621, i32 noundef 4, ptr noundef %427, i32 noundef %428)
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr %50) #5
  %429 = load ptr, ptr %16, align 8, !tbaa !5
  %430 = load ptr, ptr %29, align 8, !tbaa !5
  %431 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %430, i32 0, i32 128
  %432 = load i8, ptr %431, align 4, !tbaa !21
  %433 = load i32, ptr %34, align 4, !tbaa !9
  %434 = load i32, ptr %24, align 4, !tbaa !9
  %435 = load i32, ptr %25, align 4, !tbaa !9
  call void @libxsmm_generator_transform_two_8x8_16bit_vnni2_to_vnni2t_avx512(ptr noundef %429, i8 noundef signext %432, i32 noundef 0, i32 noundef 4, i32 noundef %433, i32 noundef %434, i32 noundef %435)
  %436 = load ptr, ptr %16, align 8, !tbaa !5
  %437 = load ptr, ptr %29, align 8, !tbaa !5
  %438 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %437, i32 0, i32 128
  %439 = load i8, ptr %438, align 4, !tbaa !21
  %440 = load i32, ptr %19, align 4, !tbaa !9
  %441 = load i32, ptr %32, align 4, !tbaa !9
  %442 = load ptr, ptr %29, align 8, !tbaa !5
  %443 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %442, i32 0, i32 5
  %444 = load i32, ptr %443, align 4, !tbaa !25
  %445 = mul i32 %441, %444
  %446 = load ptr, ptr %29, align 8, !tbaa !5
  %447 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %446, i32 0, i32 9
  %448 = load i32, ptr %447, align 4, !tbaa !26
  %449 = load i32, ptr %28, align 4, !tbaa !9
  %450 = load i32, ptr %36, align 4, !tbaa !9
  %451 = lshr i32 %450, 2
  call void @libxsmm_generator_transform_Xway_full_store_avx_avx512(ptr noundef %436, i8 noundef signext %439, i32 noundef %440, i32 noundef 0, i32 noundef %445, i32 noundef %448, i32 noundef 1, i32 noundef %449, i32 noundef %451)
  br label %452

452:                                              ; preds = %408, %405
  br label %453

453:                                              ; preds = %452, %326
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  ret void
}

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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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 8}
!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 12}
!15 = !{!12, !10, i64 4}
!16 = !{!12, !10, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"long long", !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!22, !7, i64 512}
!22 = !{!"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}
!23 = !{!22, !10, i64 56}
!24 = !{!22, !10, i64 8}
!25 = !{!22, !10, i64 20}
!26 = !{!22, !10, i64 36}


; 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.16 = external hidden unnamed_addr constant [23 x i8], align 1
@__const.libxsmm_generator_transform_vnni2_to_vnni2t_16bit_avx512_pre_spr_microkernel.l_shuffle_cntl = external hidden unnamed_addr constant [16 x i32], align 16

; 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_transform_Xway_half_load_blend_avx512(ptr noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

; 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 #3

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

declare void @libxsmm_generator_transform_Xway_full_store_avx_avx512(ptr noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_transform_two_8x8_16bit_vnni2_to_vnni2t_avx512(ptr noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 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 #3

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_transform_vnni2_to_vnni2t_16bit_avx512_pre_spr_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, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, ptr noundef %13, ptr nocapture noundef readonly %14) local_unnamed_addr #1 {
  %16 = alloca [16 x i32], align 16
  %17 = alloca [32 x i32], align 16
  %18 = alloca [2 x i32], align 8
  %19 = alloca [32 x i32], align 16
  %20 = alloca [2 x i32], align 8
  %21 = alloca [32 x i32], align 16
  %22 = alloca [2 x i32], align 4
  %23 = alloca [32 x i32], align 16
  %24 = alloca [2 x i32], align 4
  %25 = getelementptr inbounds i8, ptr %14, i64 8
  %26 = load i32, ptr %25, align 1, !tbaa !5
  %27 = shl i32 %26, 1
  %28 = getelementptr inbounds i8, ptr %14, i64 12
  %29 = load i32, ptr %28, align 1, !tbaa !11
  %30 = shl i32 %29, 1
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %16) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %16, ptr noundef nonnull align 16 dereferenceable(64) @__const.libxsmm_generator_transform_vnni2_to_vnni2t_16bit_avx512_pre_spr_microkernel.l_shuffle_cntl, i64 64, i1 false)
  %31 = getelementptr inbounds i8, ptr %14, i64 4
  %32 = load i32, ptr %31, align 1, !tbaa !12
  %33 = lshr i32 %32, 1
  %34 = and i32 %33, 7
  %35 = load i32, ptr %14, align 1, !tbaa !13
  %36 = shl i32 %35, 1
  %37 = and i32 %36, 14
  %38 = and i32 %33, 2147483640
  %39 = and i32 %36, -16
  %.not = icmp eq i32 %37, 0
  br i1 %.not, label %45, label %40

40:                                               ; preds = %15
  %41 = lshr exact i32 %37, 1
  %notmask = shl nsw i32 -1, %41
  %42 = xor i32 %notmask, -1
  %43 = zext nneg i32 %42 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef %6, i64 noundef %43) #5
  tail call void @libxsmm_x86_instruction_mask_move(ptr noundef %0, i32 noundef -1610149486, i32 noundef %6, i32 noundef %10) #5
  %44 = shl nuw nsw i64 %43, 8
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef %6, i64 noundef %44) #5
  tail call void @libxsmm_x86_instruction_mask_move(ptr noundef %0, i32 noundef -1610149486, i32 noundef %6, i32 noundef %11) #5
  br label %45

45:                                               ; preds = %40, %15
  %.not199 = icmp eq i32 %34, 0
  br i1 %.not199, label %50, label %46

46:                                               ; preds = %45
  %47 = shl nuw nsw i32 %34, 2
  %notmask200 = shl nsw i32 -1, %47
  %48 = xor i32 %notmask200, -1
  %49 = zext nneg i32 %48 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef %6, i64 noundef %49) #5
  tail call void @libxsmm_x86_instruction_mask_move(ptr noundef %0, i32 noundef -1610149486, i32 noundef %6, i32 noundef %12) #5
  br label %50

50:                                               ; preds = %46, %45
  %51 = getelementptr inbounds i8, ptr %13, i64 512
  %52 = load i8, ptr %51, align 4, !tbaa !14
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef %0, ptr noundef nonnull %16, ptr noundef nonnull @.str.16, i8 noundef signext %52, i32 noundef 31) #5
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef %6, i64 noundef 65280) #5
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %0, i32 noundef -1610149486, i32 noundef %6, i32 noundef %7) #5
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef %6, i64 noundef 204) #5
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %0, i32 noundef -1610280558, i32 noundef %6, i32 noundef %8) #5
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef %6, i64 noundef 51) #5
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %0, i32 noundef -1610280558, i32 noundef %6, i32 noundef %9) #5
  %.not201 = icmp eq i32 %39, 0
  br i1 %.not201, label %114, label %53

53:                                               ; preds = %50
  %54 = getelementptr inbounds i8, ptr %13, i64 56
  %55 = load i32, ptr %54, align 4, !tbaa !16
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %55, i32 noundef %4, i64 noundef 0) #5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %0, ptr noundef %1) #5
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %4, i64 noundef 16) #5
  %.not202 = icmp eq i32 %38, 0
  br i1 %.not202, label %81, label %56

56:                                               ; preds = %53
  %57 = load i32, ptr %54, align 4, !tbaa !16
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %57, i32 noundef %5, i64 noundef 0) #5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %0, ptr noundef %1) #5
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %5, i64 noundef 8) #5
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %17) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(128) %17, i8 0, i64 128, i1 false)
  %58 = getelementptr inbounds i8, ptr %17, i64 4
  store i32 2, ptr %58, align 4
  %59 = getelementptr inbounds i8, ptr %17, i64 8
  store i32 4, ptr %59, align 8
  %60 = getelementptr inbounds i8, ptr %17, i64 12
  store i32 6, ptr %60, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #5
  store i64 0, ptr %18, align 8
  %61 = getelementptr inbounds i8, ptr %18, i64 4
  store i32 %7, ptr %61, align 4, !tbaa !17
  %62 = load i8, ptr %51, align 4, !tbaa !14
  %63 = getelementptr inbounds i8, ptr %13, i64 8
  %64 = load i32, ptr %63, align 4, !tbaa !18
  %65 = mul i32 %64, %27
  call void @libxsmm_generator_transform_Xway_half_load_blend_avx512(ptr noundef %0, i8 noundef signext %62, i32 noundef %2, i32 noundef 0, i32 noundef %65, ptr noundef nonnull %17, i32 noundef 4, i32 noundef -536531621, i32 noundef 4, ptr noundef nonnull %18, i32 noundef 8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %17) #5
  %66 = zext i32 %27 to i64
  %67 = load i32, ptr %63, align 4, !tbaa !18
  %68 = zext i32 %67 to i64
  %69 = shl nuw nsw i64 %66, 3
  %70 = mul i64 %69, %68
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %2, i64 noundef %70) #5
  %71 = load i8, ptr %51, align 4, !tbaa !14
  call void @libxsmm_generator_transform_two_8x8_16bit_vnni2_to_vnni2t_avx512(ptr noundef %0, i8 noundef signext %71, i32 noundef 0, i32 noundef 4, i32 noundef 31, i32 noundef %8, i32 noundef %9)
  %72 = load i8, ptr %51, align 4, !tbaa !14
  %73 = getelementptr inbounds i8, ptr %13, i64 20
  %74 = load i32, ptr %73, align 4, !tbaa !19
  %75 = mul i32 %74, %30
  %76 = getelementptr inbounds i8, ptr %13, i64 36
  %77 = load i32, ptr %76, align 4, !tbaa !20
  call void @libxsmm_generator_transform_Xway_full_store_avx_avx512(ptr noundef %0, i8 noundef signext %72, i32 noundef %3, i32 noundef 0, i32 noundef %75, i32 noundef %77, i32 noundef 0, i32 noundef 0, i32 noundef 4) #5
  %78 = load i32, ptr %73, align 4, !tbaa !19
  %79 = zext i32 %78 to i64
  %80 = shl nuw nsw i64 %79, 5
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %3, i64 noundef %80) #5
  call void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %13, i32 noundef %5, i32 noundef %38) #5
  br label %81

81:                                               ; preds = %56, %53
  br i1 %.not199, label %98, label %82

82:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %19) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(128) %19, i8 0, i64 128, i1 false)
  %83 = getelementptr inbounds i8, ptr %19, i64 4
  store i32 2, ptr %83, align 4
  %84 = getelementptr inbounds i8, ptr %19, i64 8
  store i32 4, ptr %84, align 8
  %85 = getelementptr inbounds i8, ptr %19, i64 12
  store i32 6, ptr %85, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #5
  store i64 0, ptr %20, align 8
  %86 = getelementptr inbounds i8, ptr %20, i64 4
  store i32 %7, ptr %86, align 4, !tbaa !17
  %87 = load i8, ptr %51, align 4, !tbaa !14
  %88 = getelementptr inbounds i8, ptr %13, i64 8
  %89 = load i32, ptr %88, align 4, !tbaa !18
  %90 = mul i32 %89, %27
  call void @libxsmm_generator_transform_Xway_half_load_blend_avx512(ptr noundef %0, i8 noundef signext %87, i32 noundef %2, i32 noundef 0, i32 noundef %90, ptr noundef nonnull %19, i32 noundef 4, i32 noundef -536531621, i32 noundef 4, ptr noundef nonnull %20, i32 noundef %34)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %19) #5
  %91 = load i8, ptr %51, align 4, !tbaa !14
  call void @libxsmm_generator_transform_two_8x8_16bit_vnni2_to_vnni2t_avx512(ptr noundef %0, i8 noundef signext %91, i32 noundef 0, i32 noundef 4, i32 noundef 31, i32 noundef %8, i32 noundef %9)
  %92 = load i8, ptr %51, align 4, !tbaa !14
  %93 = getelementptr inbounds i8, ptr %13, i64 20
  %94 = load i32, ptr %93, align 4, !tbaa !19
  %95 = mul i32 %94, %30
  %96 = getelementptr inbounds i8, ptr %13, i64 36
  %97 = load i32, ptr %96, align 4, !tbaa !20
  call void @libxsmm_generator_transform_Xway_full_store_avx_avx512(ptr noundef %0, i8 noundef signext %92, i32 noundef %3, i32 noundef 0, i32 noundef %95, i32 noundef %97, i32 noundef 1, i32 noundef %12, i32 noundef 4) #5
  br label %98

98:                                               ; preds = %82, %81
  %99 = zext i32 %30 to i64
  %100 = getelementptr inbounds i8, ptr %13, i64 20
  %101 = load i32, ptr %100, align 4, !tbaa !19
  %102 = zext i32 %101 to i64
  %103 = zext nneg i32 %38 to i64
  %104 = sub nsw i64 %99, %103
  %105 = shl nsw i64 %104, 2
  %106 = mul i64 %105, %102
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %3, i64 noundef %106) #5
  %107 = zext i32 %27 to i64
  %108 = getelementptr inbounds i8, ptr %13, i64 8
  %109 = load i32, ptr %108, align 4, !tbaa !18
  %110 = zext i32 %109 to i64
  %111 = mul nuw nsw i64 %103, %107
  %112 = add nsw i64 %111, -16
  %113 = mul i64 %112, %110
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30008, i32 noundef %2, i64 noundef %113) #5
  call void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %13, i32 noundef %4, i32 noundef %39) #5
  br label %114

114:                                              ; preds = %98, %50
  br i1 %.not, label %161, label %115

115:                                              ; preds = %114
  %.not203 = icmp eq i32 %38, 0
  br i1 %.not203, label %143, label %116

116:                                              ; preds = %115
  %117 = getelementptr inbounds i8, ptr %13, i64 56
  %118 = load i32, ptr %117, align 4, !tbaa !16
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %118, i32 noundef %5, i64 noundef 0) #5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %0, ptr noundef %1) #5
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %5, i64 noundef 8) #5
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %21) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(128) %21, i8 0, i64 128, i1 false)
  %119 = getelementptr inbounds i8, ptr %21, i64 4
  store i32 2, ptr %119, align 4
  %120 = getelementptr inbounds i8, ptr %21, i64 8
  store i32 4, ptr %120, align 8
  %121 = getelementptr inbounds i8, ptr %21, i64 12
  store i32 6, ptr %121, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #5
  store i32 %10, ptr %22, align 4, !tbaa !17
  %122 = getelementptr inbounds i8, ptr %22, i64 4
  store i32 %11, ptr %122, align 4, !tbaa !17
  %123 = load i8, ptr %51, align 4, !tbaa !14
  %124 = getelementptr inbounds i8, ptr %13, i64 8
  %125 = load i32, ptr %124, align 4, !tbaa !18
  %126 = mul i32 %125, %27
  call void @libxsmm_generator_transform_Xway_half_load_blend_avx512(ptr noundef %0, i8 noundef signext %123, i32 noundef %2, i32 noundef 0, i32 noundef %126, ptr noundef nonnull %21, i32 noundef 4, i32 noundef -536531621, i32 noundef 4, ptr noundef nonnull %22, i32 noundef 8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %21) #5
  %127 = zext i32 %27 to i64
  %128 = load i32, ptr %124, align 4, !tbaa !18
  %129 = zext i32 %128 to i64
  %130 = shl nuw nsw i64 %127, 3
  %131 = mul i64 %130, %129
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %2, i64 noundef %131) #5
  %132 = load i8, ptr %51, align 4, !tbaa !14
  call void @libxsmm_generator_transform_two_8x8_16bit_vnni2_to_vnni2t_avx512(ptr noundef %0, i8 noundef signext %132, i32 noundef 0, i32 noundef 4, i32 noundef 31, i32 noundef %8, i32 noundef %9)
  %133 = load i8, ptr %51, align 4, !tbaa !14
  %134 = getelementptr inbounds i8, ptr %13, i64 20
  %135 = load i32, ptr %134, align 4, !tbaa !19
  %136 = mul i32 %135, %30
  %137 = getelementptr inbounds i8, ptr %13, i64 36
  %138 = load i32, ptr %137, align 4, !tbaa !20
  %139 = lshr i32 %37, 2
  call void @libxsmm_generator_transform_Xway_full_store_avx_avx512(ptr noundef %0, i8 noundef signext %133, i32 noundef %3, i32 noundef 0, i32 noundef %136, i32 noundef %138, i32 noundef 0, i32 noundef 0, i32 noundef %139) #5
  %140 = load i32, ptr %134, align 4, !tbaa !19
  %141 = zext i32 %140 to i64
  %142 = shl nuw nsw i64 %141, 5
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %3, i64 noundef %142) #5
  call void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %13, i32 noundef %5, i32 noundef %38) #5
  br label %143

143:                                              ; preds = %116, %115
  br i1 %.not199, label %161, label %144

144:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %23) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(128) %23, i8 0, i64 128, i1 false)
  %145 = getelementptr inbounds i8, ptr %23, i64 4
  store i32 2, ptr %145, align 4
  %146 = getelementptr inbounds i8, ptr %23, i64 8
  store i32 4, ptr %146, align 8
  %147 = getelementptr inbounds i8, ptr %23, i64 12
  store i32 6, ptr %147, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #5
  store i32 %10, ptr %24, align 4, !tbaa !17
  %148 = getelementptr inbounds i8, ptr %24, i64 4
  store i32 %11, ptr %148, align 4, !tbaa !17
  %149 = load i8, ptr %51, align 4, !tbaa !14
  %150 = getelementptr inbounds i8, ptr %13, i64 8
  %151 = load i32, ptr %150, align 4, !tbaa !18
  %152 = mul i32 %151, %27
  call void @libxsmm_generator_transform_Xway_half_load_blend_avx512(ptr noundef %0, i8 noundef signext %149, i32 noundef %2, i32 noundef 0, i32 noundef %152, ptr noundef nonnull %23, i32 noundef 4, i32 noundef -536531621, i32 noundef 4, ptr noundef nonnull %24, i32 noundef %34)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %23) #5
  %153 = load i8, ptr %51, align 4, !tbaa !14
  call void @libxsmm_generator_transform_two_8x8_16bit_vnni2_to_vnni2t_avx512(ptr noundef %0, i8 noundef signext %153, i32 noundef 0, i32 noundef 4, i32 noundef 31, i32 noundef %8, i32 noundef %9)
  %154 = load i8, ptr %51, align 4, !tbaa !14
  %155 = getelementptr inbounds i8, ptr %13, i64 20
  %156 = load i32, ptr %155, align 4, !tbaa !19
  %157 = mul i32 %156, %30
  %158 = getelementptr inbounds i8, ptr %13, i64 36
  %159 = load i32, ptr %158, align 4, !tbaa !20
  %160 = lshr i32 %37, 2
  call void @libxsmm_generator_transform_Xway_full_store_avx_avx512(ptr noundef %0, i8 noundef signext %154, i32 noundef %3, i32 noundef 0, i32 noundef %157, i32 noundef %159, i32 noundef 1, i32 noundef %12, i32 noundef %160) #5
  br label %161

161:                                              ; preds = %143, %144, %114
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #5
  ret void
}

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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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 8}
!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 12}
!12 = !{!6, !7, i64 4}
!13 = !{!6, !7, i64 0}
!14 = !{!15, !8, i64 512}
!15 = !{!"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}
!16 = !{!15, !7, i64 56}
!17 = !{!7, !7, i64 0}
!18 = !{!15, !7, i64 8}
!19 = !{!15, !7, i64 20}
!20 = !{!15, !7, i64 36}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass