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

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

; 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_quarter_load_blend_avx512(ptr noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 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_four_4x4_16bit_vnni2_to_vnni2t_avx512(ptr noundef, i8 noundef signext, 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_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, i32 noundef %13, i32 noundef %14, ptr noundef %15, ptr noundef %16) #1 {
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca [16 x i32], align 16
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca i64, align 8
  %44 = alloca [4 x i32], align 16
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  %48 = alloca [4 x i32], align 16
  %49 = alloca [4 x i32], align 16
  %50 = alloca [4 x i32], align 16
  %51 = alloca [4 x i32], align 16
  store ptr %0, ptr %18, align 8, !tbaa !5
  store ptr %1, ptr %19, align 8, !tbaa !5
  store i32 %2, ptr %20, align 4, !tbaa !9
  store i32 %3, ptr %21, align 4, !tbaa !9
  store i32 %4, ptr %22, align 4, !tbaa !9
  store i32 %5, ptr %23, align 4, !tbaa !9
  store i32 %6, ptr %24, align 4, !tbaa !9
  store i32 %7, ptr %25, align 4, !tbaa !9
  store i32 %8, ptr %26, align 4, !tbaa !9
  store i32 %9, ptr %27, align 4, !tbaa !9
  store i32 %10, ptr %28, align 4, !tbaa !9
  store i32 %11, ptr %29, align 4, !tbaa !9
  store i32 %12, ptr %30, align 4, !tbaa !9
  store i32 %13, ptr %31, align 4, !tbaa !9
  store i32 %14, ptr %32, align 4, !tbaa !9
  store ptr %15, ptr %33, align 8, !tbaa !5
  store ptr %16, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #5
  %52 = load ptr, ptr %34, 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 %35, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #5
  %56 = load ptr, ptr %34, 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 %36, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 64, ptr %37) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %37, ptr align 16 @__const.libxsmm_generator_transform_vnni2_to_vnni2t_16bit_avx512_spr_microkernel.l_shuffle_cntl, i64 64, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #5
  store i32 31, ptr %38, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #5
  %60 = load ptr, ptr %34, 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 %39, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #5
  %65 = load ptr, ptr %34, 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, 8
  store i32 %69, ptr %40, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #5
  %70 = load ptr, ptr %34, 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 %39, align 4, !tbaa !9
  %75 = sub i32 %73, %74
  store i32 %75, ptr %41, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #5
  %76 = load ptr, ptr %34, 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 %40, align 4, !tbaa !9
  %81 = sub i32 %79, %80
  store i32 %81, ptr %42, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #5
  store i64 240, ptr %43, align 8, !tbaa !17
  %82 = load ptr, ptr %18, align 8, !tbaa !5
  %83 = getelementptr inbounds [16 x i32], ptr %37, i64 0, i64 0
  %84 = load ptr, ptr %33, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %84, i32 0, i32 128
  %86 = load i8, ptr %85, align 4, !tbaa !19
  %87 = load i32, ptr %38, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef %82, ptr noundef %83, ptr noundef @.str.16, i8 noundef signext %86, i32 noundef %87)
  %88 = load ptr, ptr %18, align 8, !tbaa !5
  %89 = load i32, ptr %24, align 4, !tbaa !9
  %90 = load i64, ptr %43, align 8, !tbaa !17
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %88, i32 noundef -1568407413, i32 noundef %89, i64 noundef %90)
  %91 = load ptr, ptr %18, align 8, !tbaa !5
  %92 = load i32, ptr %24, align 4, !tbaa !9
  %93 = load i32, ptr %26, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %91, i32 noundef -1610149486, i32 noundef %92, i32 noundef %93)
  store i64 3840, ptr %43, align 8, !tbaa !17
  %94 = load ptr, ptr %18, align 8, !tbaa !5
  %95 = load i32, ptr %24, align 4, !tbaa !9
  %96 = load i64, ptr %43, align 8, !tbaa !17
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %94, i32 noundef -1568407413, i32 noundef %95, i64 noundef %96)
  %97 = load ptr, ptr %18, align 8, !tbaa !5
  %98 = load i32, ptr %24, align 4, !tbaa !9
  %99 = load i32, ptr %27, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %97, i32 noundef -1610149486, i32 noundef %98, i32 noundef %99)
  store i64 61440, ptr %43, align 8, !tbaa !17
  %100 = load ptr, ptr %18, align 8, !tbaa !5
  %101 = load i32, ptr %24, align 4, !tbaa !9
  %102 = load i64, ptr %43, align 8, !tbaa !17
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %100, i32 noundef -1568407413, i32 noundef %101, i64 noundef %102)
  %103 = load ptr, ptr %18, align 8, !tbaa !5
  %104 = load i32, ptr %24, align 4, !tbaa !9
  %105 = load i32, ptr %28, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %103, i32 noundef -1610149486, i32 noundef %104, i32 noundef %105)
  %106 = load i32, ptr %40, align 4, !tbaa !9
  %107 = icmp ugt i32 %106, 0
  br i1 %107, label %108, label %143

108:                                              ; preds = %17
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #5
  call void @llvm.memset.p0.i64(ptr align 16 %44, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #5
  %109 = load i32, ptr %40, align 4, !tbaa !9
  %110 = lshr i32 %109, 1
  %111 = shl i32 1, %110
  %112 = sub nsw i32 %111, 1
  store i32 %112, ptr %45, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #5
  store i32 0, ptr %46, align 4, !tbaa !9
  %113 = load i32, ptr %29, align 4, !tbaa !9
  %114 = getelementptr inbounds [4 x i32], ptr %44, i64 0, i64 0
  store i32 %113, ptr %114, align 16, !tbaa !9
  %115 = load i32, ptr %30, align 4, !tbaa !9
  %116 = getelementptr inbounds [4 x i32], ptr %44, i64 0, i64 1
  store i32 %115, ptr %116, align 4, !tbaa !9
  %117 = load i32, ptr %31, align 4, !tbaa !9
  %118 = getelementptr inbounds [4 x i32], ptr %44, i64 0, i64 2
  store i32 %117, ptr %118, align 8, !tbaa !9
  %119 = load i32, ptr %32, align 4, !tbaa !9
  %120 = getelementptr inbounds [4 x i32], ptr %44, i64 0, i64 3
  store i32 %119, ptr %120, align 4, !tbaa !9
  store i32 0, ptr %46, align 4, !tbaa !9
  br label %121

121:                                              ; preds = %139, %108
  %122 = load i32, ptr %46, align 4, !tbaa !9
  %123 = icmp ult i32 %122, 4
  br i1 %123, label %124, label %142

124:                                              ; preds = %121
  %125 = load ptr, ptr %18, align 8, !tbaa !5
  %126 = load i32, ptr %24, align 4, !tbaa !9
  %127 = load i32, ptr %45, align 4, !tbaa !9
  %128 = zext i32 %127 to i64
  %129 = load i32, ptr %46, align 4, !tbaa !9
  %130 = mul i32 %129, 4
  %131 = zext i32 %130 to i64
  %132 = shl i64 %128, %131
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %125, i32 noundef -1568407413, i32 noundef %126, i64 noundef %132)
  %133 = load ptr, ptr %18, align 8, !tbaa !5
  %134 = load i32, ptr %24, align 4, !tbaa !9
  %135 = load i32, ptr %46, align 4, !tbaa !9
  %136 = zext i32 %135 to i64
  %137 = getelementptr inbounds [4 x i32], ptr %44, i64 0, i64 %136
  %138 = load i32, ptr %137, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %133, i32 noundef -1610149486, i32 noundef %134, i32 noundef %138)
  br label %139

139:                                              ; preds = %124
  %140 = load i32, ptr %46, align 4, !tbaa !9
  %141 = add i32 %140, 1
  store i32 %141, ptr %46, align 4, !tbaa !9
  br label %121, !llvm.loop !21

142:                                              ; preds = %121
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #5
  br label %143

143:                                              ; preds = %142, %17
  %144 = load i32, ptr %39, align 4, !tbaa !9
  %145 = icmp ugt i32 %144, 0
  br i1 %145, label %146, label %155

146:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #5
  %147 = load i32, ptr %39, align 4, !tbaa !9
  %148 = mul i32 %147, 4
  %149 = shl i32 1, %148
  %150 = sub nsw i32 %149, 1
  store i32 %150, ptr %47, align 4, !tbaa !9
  %151 = load ptr, ptr %18, align 8, !tbaa !5
  %152 = load i32, ptr %25, align 4, !tbaa !9
  %153 = load i32, ptr %47, align 4, !tbaa !9
  %154 = zext i32 %153 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %151, i32 noundef -1568407413, i32 noundef %152, i64 noundef %154)
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #5
  br label %155

155:                                              ; preds = %146, %143
  %156 = load i32, ptr %42, align 4, !tbaa !9
  %157 = icmp ugt i32 %156, 0
  br i1 %157, label %158, label %329

158:                                              ; preds = %155
  %159 = load ptr, ptr %18, align 8, !tbaa !5
  %160 = load ptr, ptr %33, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %160, i32 0, i32 14
  %162 = load i32, ptr %161, align 4, !tbaa !23
  %163 = load i32, ptr %22, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %159, i32 noundef %162, i32 noundef %163, i64 noundef 0)
  %164 = load ptr, ptr %18, align 8, !tbaa !5
  %165 = load ptr, ptr %19, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %164, ptr noundef %165)
  %166 = load ptr, ptr %18, align 8, !tbaa !5
  %167 = load i32, ptr %22, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %166, i32 noundef 30000, i32 noundef %167, i64 noundef 8)
  %168 = load i32, ptr %41, align 4, !tbaa !9
  %169 = icmp ugt i32 %168, 0
  br i1 %169, label %170, label %238

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

238:                                              ; preds = %170, %158
  %239 = load i32, ptr %39, align 4, !tbaa !9
  %240 = icmp ugt i32 %239, 0
  br i1 %240, label %241, label %286

241:                                              ; preds = %238
  %242 = load ptr, ptr %18, align 8, !tbaa !5
  %243 = load i32, ptr %25, align 4, !tbaa !9
  %244 = load i32, ptr %32, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %242, i32 noundef -1610149486, i32 noundef %243, i32 noundef %244)
  call void @llvm.lifetime.start.p0(i64 16, ptr %49) #5
  call void @llvm.memset.p0.i64(ptr align 16 %49, i8 0, i64 16, i1 false)
  %245 = getelementptr inbounds [4 x i32], ptr %49, i64 0, i64 0
  store i32 0, ptr %245, align 16, !tbaa !9
  %246 = load i32, ptr %26, align 4, !tbaa !9
  %247 = getelementptr inbounds [4 x i32], ptr %49, i64 0, i64 1
  store i32 %246, ptr %247, align 4, !tbaa !9
  %248 = load i32, ptr %27, align 4, !tbaa !9
  %249 = getelementptr inbounds [4 x i32], ptr %49, i64 0, i64 2
  store i32 %248, ptr %249, align 8, !tbaa !9
  %250 = load i32, ptr %28, align 4, !tbaa !9
  %251 = getelementptr inbounds [4 x i32], ptr %49, i64 0, i64 3
  store i32 %250, ptr %251, align 4, !tbaa !9
  %252 = load ptr, ptr %18, align 8, !tbaa !5
  %253 = load ptr, ptr %33, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %253, i32 0, i32 128
  %255 = load i8, ptr %254, align 4, !tbaa !19
  %256 = load i32, ptr %20, align 4, !tbaa !9
  %257 = load i32, ptr %35, align 4, !tbaa !9
  %258 = load ptr, ptr %33, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %258, i32 0, i32 2
  %260 = load i32, ptr %259, align 4, !tbaa !24
  %261 = mul i32 %257, %260
  %262 = getelementptr inbounds [4 x i32], ptr %49, i64 0, i64 0
  %263 = load i32, ptr %39, align 4, !tbaa !9
  call void @libxsmm_generator_transform_Xway_quarter_load_blend_avx512(ptr noundef %252, i8 noundef signext %255, i32 noundef %256, i32 noundef 0, i32 noundef %261, i32 noundef -536531878, i32 noundef 2, ptr noundef %262, i32 noundef %263, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #5
  %264 = load ptr, ptr %18, align 8, !tbaa !5
  %265 = load ptr, ptr %33, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %265, i32 0, i32 128
  %267 = load i8, ptr %266, align 4, !tbaa !19
  %268 = load i32, ptr %38, align 4, !tbaa !9
  call void @libxsmm_generator_transform_four_4x4_16bit_vnni2_to_vnni2t_avx512(ptr noundef %264, i8 noundef signext %267, i32 noundef 0, i32 noundef 2, i32 noundef %268)
  %269 = load ptr, ptr %18, align 8, !tbaa !5
  %270 = load ptr, ptr %33, 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 !19
  %273 = load i32, ptr %21, align 4, !tbaa !9
  %274 = load i32, ptr %36, align 4, !tbaa !9
  %275 = load ptr, ptr %33, 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 %33, 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 %32, 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 2)
  %283 = load ptr, ptr %18, align 8, !tbaa !5
  %284 = load i32, ptr %24, align 4, !tbaa !9
  %285 = load i32, ptr %32, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %283, i32 noundef -1610149486, i32 noundef %284, i32 noundef %285)
  br label %286

286:                                              ; preds = %241, %238
  %287 = load ptr, ptr %18, align 8, !tbaa !5
  %288 = load i32, ptr %21, align 4, !tbaa !9
  %289 = load i32, ptr %36, align 4, !tbaa !9
  %290 = zext i32 %289 to i64
  %291 = mul nsw i64 2, %290
  %292 = load ptr, ptr %33, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %292, i32 0, i32 5
  %294 = load i32, ptr %293, align 4, !tbaa !25
  %295 = zext i32 %294 to i64
  %296 = mul nsw i64 %291, %295
  %297 = load ptr, ptr %33, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %297, i32 0, i32 2
  %299 = load i32, ptr %298, align 4, !tbaa !24
  %300 = zext i32 %299 to i64
  %301 = load i32, ptr %41, align 4, !tbaa !9
  %302 = zext i32 %301 to i64
  %303 = mul nsw i64 %300, %302
  %304 = mul nsw i64 %303, 4
  %305 = sub nsw i64 %296, %304
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %287, i32 noundef 30000, i32 noundef %288, i64 noundef %305)
  %306 = load ptr, ptr %18, align 8, !tbaa !5
  %307 = load i32, ptr %20, align 4, !tbaa !9
  %308 = load i32, ptr %35, align 4, !tbaa !9
  %309 = zext i32 %308 to i64
  %310 = load ptr, ptr %33, align 8, !tbaa !5
  %311 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %310, i32 0, i32 2
  %312 = load i32, ptr %311, align 4, !tbaa !24
  %313 = zext i32 %312 to i64
  %314 = mul nsw i64 %309, %313
  %315 = load i32, ptr %41, align 4, !tbaa !9
  %316 = zext i32 %315 to i64
  %317 = mul nsw i64 %314, %316
  %318 = load ptr, ptr %33, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %318, i32 0, i32 2
  %320 = load i32, ptr %319, align 4, !tbaa !24
  %321 = zext i32 %320 to i64
  %322 = mul nsw i64 8, %321
  %323 = sub nsw i64 %317, %322
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %306, i32 noundef 30008, i32 noundef %307, i64 noundef %323)
  %324 = load ptr, ptr %18, align 8, !tbaa !5
  %325 = load ptr, ptr %19, align 8, !tbaa !5
  %326 = load ptr, ptr %33, align 8, !tbaa !5
  %327 = load i32, ptr %22, align 4, !tbaa !9
  %328 = load i32, ptr %42, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef %324, ptr noundef %325, ptr noundef %326, i32 noundef %327, i32 noundef %328)
  br label %329

329:                                              ; preds = %286, %155
  %330 = load i32, ptr %40, align 4, !tbaa !9
  %331 = icmp ugt i32 %330, 0
  br i1 %331, label %332, label %459

332:                                              ; preds = %329
  %333 = load i32, ptr %41, align 4, !tbaa !9
  %334 = icmp ugt i32 %333, 0
  br i1 %334, label %335, label %408

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

408:                                              ; preds = %335, %332
  %409 = load i32, ptr %39, align 4, !tbaa !9
  %410 = icmp ugt i32 %409, 0
  br i1 %410, label %411, label %458

411:                                              ; preds = %408
  call void @llvm.lifetime.start.p0(i64 16, ptr %51) #5
  call void @llvm.memset.p0.i64(ptr align 16 %51, i8 0, i64 16, i1 false)
  %412 = load i32, ptr %29, align 4, !tbaa !9
  %413 = getelementptr inbounds [4 x i32], ptr %51, i64 0, i64 0
  store i32 %412, ptr %413, align 16, !tbaa !9
  %414 = load i32, ptr %30, align 4, !tbaa !9
  %415 = getelementptr inbounds [4 x i32], ptr %51, i64 0, i64 1
  store i32 %414, ptr %415, align 4, !tbaa !9
  %416 = load i32, ptr %31, align 4, !tbaa !9
  %417 = getelementptr inbounds [4 x i32], ptr %51, i64 0, i64 2
  store i32 %416, ptr %417, align 8, !tbaa !9
  %418 = load i32, ptr %32, align 4, !tbaa !9
  %419 = getelementptr inbounds [4 x i32], ptr %51, i64 0, i64 3
  store i32 %418, ptr %419, align 4, !tbaa !9
  %420 = load ptr, ptr %18, align 8, !tbaa !5
  %421 = load ptr, ptr %33, align 8, !tbaa !5
  %422 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %421, i32 0, i32 128
  %423 = load i8, ptr %422, align 4, !tbaa !19
  %424 = load i32, ptr %20, align 4, !tbaa !9
  %425 = load i32, ptr %35, align 4, !tbaa !9
  %426 = load ptr, ptr %33, align 8, !tbaa !5
  %427 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %426, i32 0, i32 2
  %428 = load i32, ptr %427, align 4, !tbaa !24
  %429 = mul i32 %425, %428
  %430 = getelementptr inbounds [4 x i32], ptr %51, i64 0, i64 0
  %431 = load i32, ptr %39, align 4, !tbaa !9
  call void @libxsmm_generator_transform_Xway_quarter_load_blend_avx512(ptr noundef %420, i8 noundef signext %423, i32 noundef %424, i32 noundef 0, i32 noundef %429, i32 noundef -536531878, i32 noundef 2, ptr noundef %430, i32 noundef %431, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 16, ptr %51) #5
  %432 = load ptr, ptr %18, align 8, !tbaa !5
  %433 = load ptr, ptr %33, align 8, !tbaa !5
  %434 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %433, i32 0, i32 128
  %435 = load i8, ptr %434, align 4, !tbaa !19
  %436 = load i32, ptr %38, align 4, !tbaa !9
  call void @libxsmm_generator_transform_four_4x4_16bit_vnni2_to_vnni2t_avx512(ptr noundef %432, i8 noundef signext %435, i32 noundef 0, i32 noundef 2, i32 noundef %436)
  %437 = load ptr, ptr %18, align 8, !tbaa !5
  %438 = load i32, ptr %25, align 4, !tbaa !9
  %439 = load i32, ptr %32, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %437, i32 noundef -1610149486, i32 noundef %438, i32 noundef %439)
  %440 = load ptr, ptr %18, align 8, !tbaa !5
  %441 = load ptr, ptr %33, align 8, !tbaa !5
  %442 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %441, i32 0, i32 128
  %443 = load i8, ptr %442, align 4, !tbaa !19
  %444 = load i32, ptr %21, align 4, !tbaa !9
  %445 = load ptr, ptr %34, align 8, !tbaa !5
  %446 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %445, i32 0, i32 3
  %447 = load i32, ptr %446, align 1, !tbaa !14
  %448 = load ptr, ptr %33, align 8, !tbaa !5
  %449 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %448, i32 0, i32 5
  %450 = load i32, ptr %449, align 4, !tbaa !25
  %451 = mul i32 %447, %450
  %452 = load ptr, ptr %33, align 8, !tbaa !5
  %453 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %452, i32 0, i32 9
  %454 = load i32, ptr %453, align 4, !tbaa !26
  %455 = load i32, ptr %32, align 4, !tbaa !9
  %456 = load i32, ptr %40, align 4, !tbaa !9
  %457 = lshr i32 %456, 2
  call void @libxsmm_generator_transform_Xway_full_store_avx_avx512(ptr noundef %440, i8 noundef signext %443, i32 noundef %444, i32 noundef 0, i32 noundef %451, i32 noundef %454, i32 noundef 1, i32 noundef %455, i32 noundef %457)
  br label %458

458:                                              ; preds = %411, %408
  br label %459

459:                                              ; preds = %458, %329
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #5
  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 4, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 64, 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
  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 = !{!20, !7, i64 512}
!20 = !{!"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}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!20, !10, i64 56}
!24 = !{!20, !10, i64 8}
!25 = !{!20, !10, i64 20}
!26 = !{!20, !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"

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

; 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_quarter_load_blend_avx512(ptr noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 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_four_4x4_16bit_vnni2_to_vnni2t_avx512(ptr noundef, i8 noundef signext, 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_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, i32 noundef %13, i32 noundef %14, ptr noundef %15, ptr nocapture noundef readonly %16) local_unnamed_addr #1 {
  %18 = alloca [16 x i32], align 16
  %19 = alloca [4 x i32], align 16
  %20 = alloca [4 x i32], align 16
  %21 = alloca [4 x i32], align 16
  %22 = alloca [4 x i32], align 16
  %23 = getelementptr inbounds i8, ptr %16, i64 8
  %24 = load i32, ptr %23, align 1, !tbaa !5
  %25 = shl i32 %24, 1
  %26 = getelementptr inbounds i8, ptr %16, i64 12
  %27 = load i32, ptr %26, align 1, !tbaa !11
  %28 = shl i32 %27, 1
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %18) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %18, ptr noundef nonnull align 16 dereferenceable(64) @__const.libxsmm_generator_transform_vnni2_to_vnni2t_16bit_avx512_spr_microkernel.l_shuffle_cntl, i64 64, i1 false)
  %29 = getelementptr inbounds i8, ptr %16, i64 4
  %30 = load i32, ptr %29, align 1, !tbaa !12
  %31 = lshr i32 %30, 1
  %32 = and i32 %31, 7
  %33 = load i32, ptr %16, align 1, !tbaa !13
  %34 = shl i32 %33, 1
  %35 = and i32 %34, 6
  %36 = and i32 %31, 2147483640
  %37 = and i32 %34, -8
  %38 = getelementptr inbounds i8, ptr %15, i64 512
  %39 = load i8, ptr %38, align 4, !tbaa !14
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef %0, ptr noundef nonnull %18, ptr noundef nonnull @.str.16, i8 noundef signext %39, i32 noundef 31) #5
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef %6, i64 noundef 240) #5
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %0, i32 noundef -1610149486, 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 3840) #5
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %0, i32 noundef -1610149486, i32 noundef %6, i32 noundef %9) #5
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef %6, i64 noundef 61440) #5
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %0, i32 noundef -1610149486, i32 noundef %6, i32 noundef %10) #5
  %.not = icmp eq i32 %35, 0
  br i1 %.not, label %47, label %40

40:                                               ; preds = %17
  %41 = lshr exact i32 %35, 1
  %notmask = shl nsw i32 -1, %41
  %42 = xor i32 %notmask, -1
  %43 = zext nneg i32 %42 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef %6, i64 noundef %43) #5
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %0, i32 noundef -1610149486, i32 noundef %6, i32 noundef %11) #5
  %44 = shl nuw nsw i64 %43, 4
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef %6, i64 noundef %44) #5
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %0, i32 noundef -1610149486, i32 noundef %6, i32 noundef %12) #5
  %45 = shl nuw nsw i64 %43, 8
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef %6, i64 noundef %45) #5
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %0, i32 noundef -1610149486, i32 noundef %6, i32 noundef %13) #5
  %46 = shl nuw nsw i64 %43, 12
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef %6, i64 noundef %46) #5
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %0, i32 noundef -1610149486, i32 noundef %6, i32 noundef %14) #5
  br label %47

47:                                               ; preds = %40, %17
  %.not207 = icmp eq i32 %32, 0
  br i1 %.not207, label %52, label %48

48:                                               ; preds = %47
  %49 = shl nuw nsw i32 %32, 2
  %notmask208 = shl nsw i32 -1, %49
  %50 = xor i32 %notmask208, -1
  %51 = zext nneg i32 %50 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef %7, i64 noundef %51) #5
  br label %52

52:                                               ; preds = %48, %47
  %.not209 = icmp eq i32 %37, 0
  br i1 %.not209, label %116, label %53

53:                                               ; preds = %52
  %54 = getelementptr inbounds i8, ptr %15, 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 8) #5
  %.not210 = icmp eq i32 %36, 0
  br i1 %.not210, label %80, 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 16, ptr nonnull %19) #5
  %58 = getelementptr inbounds i8, ptr %19, i64 4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %19, i8 0, i64 16, i1 false)
  store i32 %8, ptr %58, align 4, !tbaa !17
  %59 = getelementptr inbounds i8, ptr %19, i64 8
  store i32 %9, ptr %59, align 8, !tbaa !17
  %60 = getelementptr inbounds i8, ptr %19, i64 12
  store i32 %10, ptr %60, align 4, !tbaa !17
  %61 = load i8, ptr %38, align 4, !tbaa !14
  %62 = getelementptr inbounds i8, ptr %15, i64 8
  %63 = load i32, ptr %62, align 4, !tbaa !18
  %64 = mul i32 %63, %25
  call void @libxsmm_generator_transform_Xway_quarter_load_blend_avx512(ptr noundef %0, i8 noundef signext %61, i32 noundef %2, i32 noundef 0, i32 noundef %64, i32 noundef -536531878, i32 noundef 2, ptr noundef nonnull %19, i32 noundef 8, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #5
  %65 = zext i32 %25 to i64
  %66 = load i32, ptr %62, align 4, !tbaa !18
  %67 = zext i32 %66 to i64
  %68 = shl nuw nsw i64 %65, 3
  %69 = mul i64 %68, %67
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %2, i64 noundef %69) #5
  %70 = load i8, ptr %38, align 4, !tbaa !14
  call void @libxsmm_generator_transform_four_4x4_16bit_vnni2_to_vnni2t_avx512(ptr noundef %0, i8 noundef signext %70, i32 noundef 0, i32 noundef 2, i32 noundef 31)
  %71 = load i8, ptr %38, align 4, !tbaa !14
  %72 = getelementptr inbounds i8, ptr %15, i64 20
  %73 = load i32, ptr %72, align 4, !tbaa !19
  %74 = mul i32 %73, %28
  %75 = getelementptr inbounds i8, ptr %15, i64 36
  %76 = load i32, ptr %75, align 4, !tbaa !20
  call void @libxsmm_generator_transform_Xway_full_store_avx_avx512(ptr noundef %0, i8 noundef signext %71, i32 noundef %3, i32 noundef 0, i32 noundef %74, i32 noundef %76, i32 noundef 0, i32 noundef 0, i32 noundef 2) #5
  %77 = load i32, ptr %72, align 4, !tbaa !19
  %78 = zext i32 %77 to i64
  %79 = shl nuw nsw i64 %78, 5
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %3, i64 noundef %79) #5
  call void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %15, i32 noundef %5, i32 noundef %36) #5
  br label %80

80:                                               ; preds = %56, %53
  br i1 %.not207, label %96, label %81

81:                                               ; preds = %80
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %0, i32 noundef -1610149486, i32 noundef %7, i32 noundef %14) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #5
  %82 = getelementptr inbounds i8, ptr %20, i64 4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %20, i8 0, i64 16, i1 false)
  store i32 %8, ptr %82, align 4, !tbaa !17
  %83 = getelementptr inbounds i8, ptr %20, i64 8
  store i32 %9, ptr %83, align 8, !tbaa !17
  %84 = getelementptr inbounds i8, ptr %20, i64 12
  store i32 %10, ptr %84, align 4, !tbaa !17
  %85 = load i8, ptr %38, align 4, !tbaa !14
  %86 = getelementptr inbounds i8, ptr %15, i64 8
  %87 = load i32, ptr %86, align 4, !tbaa !18
  %88 = mul i32 %87, %25
  call void @libxsmm_generator_transform_Xway_quarter_load_blend_avx512(ptr noundef %0, i8 noundef signext %85, i32 noundef %2, i32 noundef 0, i32 noundef %88, i32 noundef -536531878, i32 noundef 2, ptr noundef nonnull %20, i32 noundef %32, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #5
  %89 = load i8, ptr %38, align 4, !tbaa !14
  call void @libxsmm_generator_transform_four_4x4_16bit_vnni2_to_vnni2t_avx512(ptr noundef %0, i8 noundef signext %89, i32 noundef 0, i32 noundef 2, i32 noundef 31)
  %90 = load i8, ptr %38, align 4, !tbaa !14
  %91 = getelementptr inbounds i8, ptr %15, i64 20
  %92 = load i32, ptr %91, align 4, !tbaa !19
  %93 = mul i32 %92, %28
  %94 = getelementptr inbounds i8, ptr %15, i64 36
  %95 = load i32, ptr %94, align 4, !tbaa !20
  call void @libxsmm_generator_transform_Xway_full_store_avx_avx512(ptr noundef %0, i8 noundef signext %90, i32 noundef %3, i32 noundef 0, i32 noundef %93, i32 noundef %95, i32 noundef 1, i32 noundef %14, i32 noundef 2) #5
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %0, i32 noundef -1610149486, i32 noundef %6, i32 noundef %14) #5
  br label %96

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

116:                                              ; preds = %96, %52
  br i1 %.not, label %163, label %117

117:                                              ; preds = %116
  %.not211 = icmp eq i32 %36, 0
  br i1 %.not211, label %145, label %118

118:                                              ; preds = %117
  %119 = getelementptr inbounds i8, ptr %15, i64 56
  %120 = load i32, ptr %119, align 4, !tbaa !16
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %120, 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 16, ptr nonnull %21) #5
  store i32 %11, ptr %21, align 16, !tbaa !17
  %121 = getelementptr inbounds i8, ptr %21, i64 4
  store i32 %12, ptr %121, align 4, !tbaa !17
  %122 = getelementptr inbounds i8, ptr %21, i64 8
  store i32 %13, ptr %122, align 8, !tbaa !17
  %123 = getelementptr inbounds i8, ptr %21, i64 12
  store i32 %14, ptr %123, align 4, !tbaa !17
  %124 = load i8, ptr %38, align 4, !tbaa !14
  %125 = getelementptr inbounds i8, ptr %15, i64 8
  %126 = load i32, ptr %125, align 4, !tbaa !18
  %127 = mul i32 %126, %25
  call void @libxsmm_generator_transform_Xway_quarter_load_blend_avx512(ptr noundef %0, i8 noundef signext %124, i32 noundef %2, i32 noundef 0, i32 noundef %127, i32 noundef -536531878, i32 noundef 2, ptr noundef nonnull %21, i32 noundef 8, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #5
  %128 = load i8, ptr %38, align 4, !tbaa !14
  call void @libxsmm_generator_transform_four_4x4_16bit_vnni2_to_vnni2t_avx512(ptr noundef %0, i8 noundef signext %128, i32 noundef 0, i32 noundef 2, i32 noundef 31)
  %129 = load i8, ptr %38, align 4, !tbaa !14
  %130 = load i32, ptr %26, align 1, !tbaa !11
  %131 = getelementptr inbounds i8, ptr %15, i64 20
  %132 = load i32, ptr %131, align 4, !tbaa !19
  %133 = mul i32 %132, %130
  %134 = getelementptr inbounds i8, ptr %15, i64 36
  %135 = load i32, ptr %134, align 4, !tbaa !20
  %136 = lshr i32 %35, 2
  call void @libxsmm_generator_transform_Xway_full_store_avx_avx512(ptr noundef %0, i8 noundef signext %129, i32 noundef %3, i32 noundef 0, i32 noundef %133, i32 noundef %135, i32 noundef 0, i32 noundef 0, i32 noundef %136) #5
  %137 = load i32, ptr %125, align 4, !tbaa !18
  %138 = zext i32 %137 to i64
  %139 = shl nuw nsw i64 %138, 5
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %3, i64 noundef %139) #5
  %140 = zext i32 %25 to i64
  %141 = load i32, ptr %125, align 4, !tbaa !18
  %142 = zext i32 %141 to i64
  %143 = shl nuw nsw i64 %140, 3
  %144 = mul i64 %143, %142
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %2, i64 noundef %144) #5
  call void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %15, i32 noundef %5, i32 noundef %36) #5
  br label %145

145:                                              ; preds = %118, %117
  br i1 %.not207, label %163, label %146

146:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #5
  store i32 %11, ptr %22, align 16, !tbaa !17
  %147 = getelementptr inbounds i8, ptr %22, i64 4
  store i32 %12, ptr %147, align 4, !tbaa !17
  %148 = getelementptr inbounds i8, ptr %22, i64 8
  store i32 %13, ptr %148, align 8, !tbaa !17
  %149 = getelementptr inbounds i8, ptr %22, i64 12
  store i32 %14, ptr %149, align 4, !tbaa !17
  %150 = load i8, ptr %38, align 4, !tbaa !14
  %151 = getelementptr inbounds i8, ptr %15, i64 8
  %152 = load i32, ptr %151, align 4, !tbaa !18
  %153 = mul i32 %152, %25
  call void @libxsmm_generator_transform_Xway_quarter_load_blend_avx512(ptr noundef %0, i8 noundef signext %150, i32 noundef %2, i32 noundef 0, i32 noundef %153, i32 noundef -536531878, i32 noundef 2, ptr noundef nonnull %22, i32 noundef %32, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #5
  %154 = load i8, ptr %38, align 4, !tbaa !14
  call void @libxsmm_generator_transform_four_4x4_16bit_vnni2_to_vnni2t_avx512(ptr noundef %0, i8 noundef signext %154, i32 noundef 0, i32 noundef 2, i32 noundef 31)
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %0, i32 noundef -1610149486, i32 noundef %7, i32 noundef %14) #5
  %155 = load i8, ptr %38, align 4, !tbaa !14
  %156 = load i32, ptr %26, align 1, !tbaa !11
  %157 = getelementptr inbounds i8, ptr %15, i64 20
  %158 = load i32, ptr %157, align 4, !tbaa !19
  %159 = mul i32 %158, %156
  %160 = getelementptr inbounds i8, ptr %15, i64 36
  %161 = load i32, ptr %160, align 4, !tbaa !20
  %162 = lshr i32 %35, 2
  call void @libxsmm_generator_transform_Xway_full_store_avx_avx512(ptr noundef %0, i8 noundef signext %155, i32 noundef %3, i32 noundef 0, i32 noundef %159, i32 noundef %161, i32 noundef 1, i32 noundef %14, i32 noundef %162) #5
  br label %163

163:                                              ; preds = %145, %146, %116
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #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,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,MemCpyOptPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass