; 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_norm_to_normt_32bit_avx512_pre_spr_microkernel.ld_idx = external hidden unnamed_addr constant [8 x i32], align 16
@__const.libxsmm_generator_transform_norm_to_normt_32bit_avx512_pre_spr_microkernel.ld_idx.6 = external hidden unnamed_addr constant [8 x i32], align 16
@__const.libxsmm_generator_transform_norm_to_normt_32bit_avx512_pre_spr_microkernel.ld_idx.7 = external hidden unnamed_addr constant [8 x i32], align 16
@__const.libxsmm_generator_transform_norm_to_normt_32bit_avx512_pre_spr_microkernel.ld_idx.8 = external hidden unnamed_addr constant [8 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_32bit_norm_to_normt_avx512(ptr noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_transform_norm_to_normt_32bit_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 i64, align 8
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca [2 x i32], align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca [8 x i32], align 16
  %41 = alloca [2 x i32], align 4
  %42 = alloca [8 x i32], align 16
  %43 = alloca [2 x i32], align 4
  %44 = alloca [8 x i32], align 16
  %45 = alloca [2 x i32], align 4
  %46 = alloca [8 x i32], align 16
  %47 = 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 8, ptr %31) #5
  store i64 0, ptr %31, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  %48 = load ptr, ptr %30, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %48, i32 0, i32 1
  %50 = load i32, ptr %49, align 1, !tbaa !13
  %51 = urem i32 %50, 16
  store i32 %51, ptr %32, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #5
  %52 = load ptr, ptr %30, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %52, i32 0, i32 0
  %54 = load i32, ptr %53, align 1, !tbaa !16
  %55 = urem i32 %54, 8
  store i32 %55, ptr %33, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #5
  %56 = load ptr, ptr %30, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %56, i32 0, i32 1
  %58 = load i32, ptr %57, align 1, !tbaa !13
  %59 = load i32, ptr %32, align 4, !tbaa !9
  %60 = sub i32 %58, %59
  store i32 %60, ptr %34, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #5
  %61 = load ptr, ptr %30, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %61, i32 0, i32 0
  %63 = load i32, ptr %62, align 1, !tbaa !16
  %64 = load i32, ptr %33, align 4, !tbaa !9
  %65 = sub i32 %63, %64
  store i32 %65, ptr %35, align 4, !tbaa !9
  store i64 65280, ptr %31, align 8, !tbaa !11
  %66 = load ptr, ptr %16, align 8, !tbaa !5
  %67 = load i32, ptr %22, align 4, !tbaa !9
  %68 = load i64, ptr %31, align 8, !tbaa !11
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %66, i32 noundef -1568407413, i32 noundef %67, i64 noundef %68)
  %69 = load ptr, ptr %16, align 8, !tbaa !5
  %70 = load i32, ptr %22, align 4, !tbaa !9
  %71 = load i32, ptr %23, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %69, i32 noundef -1610149486, i32 noundef %70, i32 noundef %71)
  store i64 204, ptr %31, align 8, !tbaa !11
  %72 = load ptr, ptr %16, align 8, !tbaa !5
  %73 = load i32, ptr %22, align 4, !tbaa !9
  %74 = load i64, ptr %31, align 8, !tbaa !11
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %72, i32 noundef -1568407413, i32 noundef %73, i64 noundef %74)
  %75 = load ptr, ptr %16, align 8, !tbaa !5
  %76 = load i32, ptr %22, align 4, !tbaa !9
  %77 = load i32, ptr %24, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %75, i32 noundef -1610280558, i32 noundef %76, i32 noundef %77)
  store i64 51, ptr %31, align 8, !tbaa !11
  %78 = load ptr, ptr %16, align 8, !tbaa !5
  %79 = load i32, ptr %22, align 4, !tbaa !9
  %80 = load i64, ptr %31, align 8, !tbaa !11
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %78, i32 noundef -1568407413, i32 noundef %79, i64 noundef %80)
  %81 = load ptr, ptr %16, align 8, !tbaa !5
  %82 = load i32, ptr %22, align 4, !tbaa !9
  %83 = load i32, ptr %25, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %81, i32 noundef -1610280558, i32 noundef %82, i32 noundef %83)
  %84 = load i32, ptr %33, align 4, !tbaa !9
  %85 = icmp ugt i32 %84, 0
  br i1 %85, label %86, label %116

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

94:                                               ; preds = %112, %86
  %95 = load i32, ptr %38, align 4, !tbaa !9
  %96 = icmp ult i32 %95, 2
  br i1 %96, label %97, label %115

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

112:                                              ; preds = %97
  %113 = load i32, ptr %38, align 4, !tbaa !9
  %114 = add i32 %113, 1
  store i32 %114, ptr %38, align 4, !tbaa !9
  br label %94, !llvm.loop !17

115:                                              ; preds = %94
  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 8, ptr %36) #5
  br label %116

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

119:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #5
  %120 = load i32, ptr %32, align 4, !tbaa !9
  %121 = shl i32 1, %120
  %122 = sub nsw i32 %121, 1
  store i32 %122, ptr %39, 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 %39, 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 %39) #5
  br label %130

130:                                              ; preds = %119, %116
  %131 = load i32, ptr %35, align 4, !tbaa !9
  %132 = icmp ugt i32 %131, 0
  br i1 %132, label %133, label %307

133:                                              ; preds = %130
  %134 = load ptr, ptr %16, align 8, !tbaa !5
  %135 = load ptr, ptr %29, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %135, i32 0, i32 14
  %137 = load i32, ptr %136, align 4, !tbaa !19
  %138 = load i32, ptr %20, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %134, i32 noundef %137, i32 noundef %138, i64 noundef 0)
  %139 = load ptr, ptr %16, align 8, !tbaa !5
  %140 = load ptr, ptr %17, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %139, ptr noundef %140)
  %141 = load ptr, ptr %16, align 8, !tbaa !5
  %142 = load i32, ptr %20, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %141, i32 noundef 30000, i32 noundef %142, i64 noundef 8)
  %143 = load i32, ptr %34, align 4, !tbaa !9
  %144 = icmp ugt i32 %143, 0
  br i1 %144, label %145, label %217

145:                                              ; preds = %133
  %146 = load ptr, ptr %16, align 8, !tbaa !5
  %147 = load ptr, ptr %29, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %147, i32 0, i32 14
  %149 = load i32, ptr %148, align 4, !tbaa !19
  %150 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %146, i32 noundef %149, i32 noundef %150, i64 noundef 0)
  %151 = load ptr, ptr %16, align 8, !tbaa !5
  %152 = load ptr, ptr %17, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %151, ptr noundef %152)
  %153 = load ptr, ptr %16, align 8, !tbaa !5
  %154 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %153, i32 noundef 30000, i32 noundef %154, i64 noundef 16)
  call void @llvm.lifetime.start.p0(i64 32, ptr %40) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %40, ptr align 16 @__const.libxsmm_generator_transform_norm_to_normt_32bit_avx512_pre_spr_microkernel.ld_idx, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #5
  call void @llvm.memset.p0.i64(ptr align 4 %41, i8 0, i64 8, i1 false)
  %155 = getelementptr inbounds [2 x i32], ptr %41, i64 0, i64 0
  store i32 0, ptr %155, align 4, !tbaa !9
  %156 = load i32, ptr %23, align 4, !tbaa !9
  %157 = getelementptr inbounds [2 x i32], ptr %41, i64 0, i64 1
  store i32 %156, ptr %157, align 4, !tbaa !9
  %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 128
  %161 = load i8, ptr %160, align 4, !tbaa !21
  %162 = load i32, ptr %18, align 4, !tbaa !9
  %163 = load ptr, ptr %30, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %163, i32 0, i32 2
  %165 = load i32, ptr %164, align 1, !tbaa !22
  %166 = load ptr, ptr %29, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %166, i32 0, i32 2
  %168 = load i32, ptr %167, align 4, !tbaa !23
  %169 = mul i32 %165, %168
  %170 = getelementptr inbounds [8 x i32], ptr %40, i64 0, i64 0
  %171 = getelementptr inbounds [2 x i32], ptr %41, i64 0, i64 0
  call void @libxsmm_generator_transform_Xway_half_load_blend_avx512(ptr noundef %158, i8 noundef signext %161, i32 noundef %162, i32 noundef 0, i32 noundef %169, ptr noundef %170, i32 noundef 8, i32 noundef -536531621, i32 noundef 8, ptr noundef %171, i32 noundef 16)
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #5
  %172 = load ptr, ptr %16, align 8, !tbaa !5
  %173 = load i32, ptr %18, align 4, !tbaa !9
  %174 = load ptr, ptr %30, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %174, i32 0, i32 2
  %176 = load i32, ptr %175, align 1, !tbaa !22
  %177 = zext i32 %176 to i64
  %178 = load ptr, ptr %29, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %178, i32 0, i32 2
  %180 = load i32, ptr %179, align 4, !tbaa !23
  %181 = zext i32 %180 to i64
  %182 = mul nsw i64 %177, %181
  %183 = mul nsw i64 %182, 16
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %172, i32 noundef 30000, i32 noundef %173, i64 noundef %183)
  %184 = load ptr, ptr %16, align 8, !tbaa !5
  %185 = load ptr, ptr %29, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %185, i32 0, i32 128
  %187 = load i8, ptr %186, align 4, !tbaa !21
  %188 = load i32, ptr %24, align 4, !tbaa !9
  %189 = load i32, ptr %25, align 4, !tbaa !9
  call void @libxsmm_generator_transform_two_8x8_32bit_norm_to_normt_avx512(ptr noundef %184, i8 noundef signext %187, i32 noundef 0, i32 noundef 8, i32 noundef %188, i32 noundef %189)
  %190 = load ptr, ptr %16, align 8, !tbaa !5
  %191 = load ptr, ptr %29, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %191, i32 0, i32 128
  %193 = load i8, ptr %192, align 4, !tbaa !21
  %194 = load i32, ptr %19, align 4, !tbaa !9
  %195 = load ptr, ptr %30, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %195, i32 0, i32 3
  %197 = load i32, ptr %196, align 1, !tbaa !24
  %198 = load ptr, ptr %29, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %198, i32 0, i32 5
  %200 = load i32, ptr %199, align 4, !tbaa !25
  %201 = mul i32 %197, %200
  %202 = load ptr, ptr %29, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %202, i32 0, i32 9
  %204 = load i32, ptr %203, align 4, !tbaa !26
  call void @libxsmm_generator_transform_Xway_full_store_avx_avx512(ptr noundef %190, i8 noundef signext %193, i32 noundef %194, i32 noundef 0, i32 noundef %201, i32 noundef %204, i32 noundef 0, i32 noundef 0, i32 noundef 8)
  %205 = load ptr, ptr %16, align 8, !tbaa !5
  %206 = load i32, ptr %19, align 4, !tbaa !9
  %207 = load ptr, ptr %29, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %207, i32 0, i32 2
  %209 = load i32, ptr %208, align 4, !tbaa !23
  %210 = zext i32 %209 to i64
  %211 = mul nsw i64 %210, 16
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %205, i32 noundef 30000, i32 noundef %206, i64 noundef %211)
  %212 = load ptr, ptr %16, align 8, !tbaa !5
  %213 = load ptr, ptr %17, align 8, !tbaa !5
  %214 = load ptr, ptr %29, align 8, !tbaa !5
  %215 = load i32, ptr %21, align 4, !tbaa !9
  %216 = load i32, ptr %34, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef %212, ptr noundef %213, ptr noundef %214, i32 noundef %215, i32 noundef %216)
  br label %217

217:                                              ; preds = %145, %133
  %218 = load i32, ptr %32, align 4, !tbaa !9
  %219 = icmp ugt i32 %218, 0
  br i1 %219, label %220, label %261

220:                                              ; preds = %217
  call void @llvm.lifetime.start.p0(i64 32, ptr %42) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %42, ptr align 16 @__const.libxsmm_generator_transform_norm_to_normt_32bit_avx512_pre_spr_microkernel.ld_idx.6, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #5
  call void @llvm.memset.p0.i64(ptr align 4 %43, i8 0, i64 8, i1 false)
  %221 = getelementptr inbounds [2 x i32], ptr %43, i64 0, i64 0
  store i32 0, ptr %221, align 4, !tbaa !9
  %222 = load i32, ptr %23, align 4, !tbaa !9
  %223 = getelementptr inbounds [2 x i32], ptr %43, i64 0, i64 1
  store i32 %222, ptr %223, align 4, !tbaa !9
  %224 = load ptr, ptr %16, align 8, !tbaa !5
  %225 = load ptr, ptr %29, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %225, i32 0, i32 128
  %227 = load i8, ptr %226, align 4, !tbaa !21
  %228 = load i32, ptr %18, align 4, !tbaa !9
  %229 = load ptr, ptr %30, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %229, i32 0, i32 2
  %231 = load i32, ptr %230, align 1, !tbaa !22
  %232 = load ptr, ptr %29, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %232, i32 0, i32 2
  %234 = load i32, ptr %233, align 4, !tbaa !23
  %235 = mul i32 %231, %234
  %236 = getelementptr inbounds [8 x i32], ptr %42, i64 0, i64 0
  %237 = getelementptr inbounds [2 x i32], ptr %43, i64 0, i64 0
  %238 = load i32, ptr %32, align 4, !tbaa !9
  call void @libxsmm_generator_transform_Xway_half_load_blend_avx512(ptr noundef %224, i8 noundef signext %227, i32 noundef %228, i32 noundef 0, i32 noundef %235, ptr noundef %236, i32 noundef 8, i32 noundef -536531621, i32 noundef 8, ptr noundef %237, i32 noundef %238)
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %42) #5
  %239 = load ptr, ptr %16, align 8, !tbaa !5
  %240 = load ptr, ptr %29, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %240, i32 0, i32 128
  %242 = load i8, ptr %241, align 4, !tbaa !21
  %243 = load i32, ptr %24, align 4, !tbaa !9
  %244 = load i32, ptr %25, align 4, !tbaa !9
  call void @libxsmm_generator_transform_two_8x8_32bit_norm_to_normt_avx512(ptr noundef %239, i8 noundef signext %242, i32 noundef 0, i32 noundef 8, i32 noundef %243, i32 noundef %244)
  %245 = load ptr, ptr %16, align 8, !tbaa !5
  %246 = load ptr, ptr %29, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %246, i32 0, i32 128
  %248 = load i8, ptr %247, align 4, !tbaa !21
  %249 = load i32, ptr %19, align 4, !tbaa !9
  %250 = load ptr, ptr %30, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %250, i32 0, i32 3
  %252 = load i32, ptr %251, align 1, !tbaa !24
  %253 = load ptr, ptr %29, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %253, i32 0, i32 5
  %255 = load i32, ptr %254, align 4, !tbaa !25
  %256 = mul i32 %252, %255
  %257 = load ptr, ptr %29, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %257, i32 0, i32 9
  %259 = load i32, ptr %258, align 4, !tbaa !26
  %260 = load i32, ptr %28, align 4, !tbaa !9
  call void @libxsmm_generator_transform_Xway_full_store_avx_avx512(ptr noundef %245, i8 noundef signext %248, i32 noundef %249, i32 noundef 0, i32 noundef %256, i32 noundef %259, i32 noundef 1, i32 noundef %260, i32 noundef 8)
  br label %261

261:                                              ; preds = %220, %217
  %262 = load ptr, ptr %16, align 8, !tbaa !5
  %263 = load i32, ptr %19, align 4, !tbaa !9
  %264 = load ptr, ptr %30, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %264, i32 0, i32 3
  %266 = load i32, ptr %265, align 1, !tbaa !24
  %267 = zext i32 %266 to i64
  %268 = mul nsw i64 8, %267
  %269 = load ptr, ptr %29, align 8, !tbaa !5
  %270 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %269, i32 0, i32 5
  %271 = load i32, ptr %270, align 4, !tbaa !25
  %272 = zext i32 %271 to i64
  %273 = mul nsw i64 %268, %272
  %274 = load ptr, ptr %29, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %274, i32 0, i32 2
  %276 = load i32, ptr %275, align 4, !tbaa !23
  %277 = zext i32 %276 to i64
  %278 = load i32, ptr %34, align 4, !tbaa !9
  %279 = zext i32 %278 to i64
  %280 = mul nsw i64 %277, %279
  %281 = sub nsw i64 %273, %280
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %262, i32 noundef 30000, i32 noundef %263, i64 noundef %281)
  %282 = load ptr, ptr %16, align 8, !tbaa !5
  %283 = load i32, ptr %18, align 4, !tbaa !9
  %284 = load ptr, ptr %30, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %284, i32 0, i32 2
  %286 = load i32, ptr %285, align 1, !tbaa !22
  %287 = zext i32 %286 to i64
  %288 = load ptr, ptr %29, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %288, i32 0, i32 2
  %290 = load i32, ptr %289, align 4, !tbaa !23
  %291 = zext i32 %290 to i64
  %292 = mul nsw i64 %287, %291
  %293 = load i32, ptr %34, align 4, !tbaa !9
  %294 = zext i32 %293 to i64
  %295 = mul nsw i64 %292, %294
  %296 = load ptr, ptr %29, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %296, i32 0, i32 2
  %298 = load i32, ptr %297, align 4, !tbaa !23
  %299 = zext i32 %298 to i64
  %300 = mul nsw i64 8, %299
  %301 = sub nsw i64 %295, %300
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %282, i32 noundef 30008, i32 noundef %283, i64 noundef %301)
  %302 = load ptr, ptr %16, align 8, !tbaa !5
  %303 = load ptr, ptr %17, align 8, !tbaa !5
  %304 = load ptr, ptr %29, align 8, !tbaa !5
  %305 = load i32, ptr %20, align 4, !tbaa !9
  %306 = load i32, ptr %35, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef %302, ptr noundef %303, ptr noundef %304, i32 noundef %305, i32 noundef %306)
  br label %307

307:                                              ; preds = %261, %130
  %308 = load i32, ptr %33, align 4, !tbaa !9
  %309 = icmp ugt i32 %308, 0
  br i1 %309, label %310, label %434

310:                                              ; preds = %307
  %311 = load i32, ptr %34, align 4, !tbaa !9
  %312 = icmp ugt i32 %311, 0
  br i1 %312, label %313, label %387

313:                                              ; preds = %310
  %314 = load ptr, ptr %16, align 8, !tbaa !5
  %315 = load ptr, ptr %29, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %315, i32 0, i32 14
  %317 = load i32, ptr %316, align 4, !tbaa !19
  %318 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %314, i32 noundef %317, i32 noundef %318, i64 noundef 0)
  %319 = load ptr, ptr %16, align 8, !tbaa !5
  %320 = load ptr, ptr %17, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %319, ptr noundef %320)
  %321 = load ptr, ptr %16, align 8, !tbaa !5
  %322 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %321, i32 noundef 30000, i32 noundef %322, i64 noundef 16)
  call void @llvm.lifetime.start.p0(i64 32, ptr %44) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %44, ptr align 16 @__const.libxsmm_generator_transform_norm_to_normt_32bit_avx512_pre_spr_microkernel.ld_idx.7, i64 32, i1 false)
  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)
  %323 = load i32, ptr %26, align 4, !tbaa !9
  %324 = getelementptr inbounds [2 x i32], ptr %45, i64 0, i64 0
  store i32 %323, ptr %324, align 4, !tbaa !9
  %325 = load i32, ptr %27, align 4, !tbaa !9
  %326 = getelementptr inbounds [2 x i32], ptr %45, i64 0, i64 1
  store i32 %325, ptr %326, align 4, !tbaa !9
  %327 = load ptr, ptr %16, align 8, !tbaa !5
  %328 = load ptr, ptr %29, align 8, !tbaa !5
  %329 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %328, i32 0, i32 128
  %330 = load i8, ptr %329, align 4, !tbaa !21
  %331 = load i32, ptr %18, align 4, !tbaa !9
  %332 = load ptr, ptr %30, align 8, !tbaa !5
  %333 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %332, i32 0, i32 2
  %334 = load i32, ptr %333, align 1, !tbaa !22
  %335 = load ptr, ptr %29, align 8, !tbaa !5
  %336 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %335, i32 0, i32 2
  %337 = load i32, ptr %336, align 4, !tbaa !23
  %338 = mul i32 %334, %337
  %339 = getelementptr inbounds [8 x i32], ptr %44, i64 0, i64 0
  %340 = getelementptr inbounds [2 x i32], ptr %45, i64 0, i64 0
  call void @libxsmm_generator_transform_Xway_half_load_blend_avx512(ptr noundef %327, i8 noundef signext %330, i32 noundef %331, i32 noundef 0, i32 noundef %338, ptr noundef %339, i32 noundef 8, i32 noundef -536531621, i32 noundef 8, ptr noundef %340, i32 noundef 16)
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %44) #5
  %341 = load ptr, ptr %16, align 8, !tbaa !5
  %342 = load i32, ptr %18, align 4, !tbaa !9
  %343 = load ptr, ptr %30, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %343, i32 0, i32 2
  %345 = load i32, ptr %344, align 1, !tbaa !22
  %346 = zext i32 %345 to i64
  %347 = load ptr, ptr %29, align 8, !tbaa !5
  %348 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %347, i32 0, i32 2
  %349 = load i32, ptr %348, align 4, !tbaa !23
  %350 = zext i32 %349 to i64
  %351 = mul nsw i64 %346, %350
  %352 = mul nsw i64 %351, 16
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %341, i32 noundef 30000, i32 noundef %342, i64 noundef %352)
  %353 = load ptr, ptr %16, align 8, !tbaa !5
  %354 = load ptr, ptr %29, 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 !21
  %357 = load i32, ptr %24, align 4, !tbaa !9
  %358 = load i32, ptr %25, align 4, !tbaa !9
  call void @libxsmm_generator_transform_two_8x8_32bit_norm_to_normt_avx512(ptr noundef %353, i8 noundef signext %356, i32 noundef 0, i32 noundef 8, i32 noundef %357, i32 noundef %358)
  %359 = load ptr, ptr %16, align 8, !tbaa !5
  %360 = load ptr, ptr %29, align 8, !tbaa !5
  %361 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %360, i32 0, i32 128
  %362 = load i8, ptr %361, align 4, !tbaa !21
  %363 = load i32, ptr %19, align 4, !tbaa !9
  %364 = load ptr, ptr %30, align 8, !tbaa !5
  %365 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %364, i32 0, i32 3
  %366 = load i32, ptr %365, align 1, !tbaa !24
  %367 = load ptr, ptr %29, align 8, !tbaa !5
  %368 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %367, i32 0, i32 5
  %369 = load i32, ptr %368, align 4, !tbaa !25
  %370 = mul i32 %366, %369
  %371 = load ptr, ptr %29, align 8, !tbaa !5
  %372 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %371, i32 0, i32 9
  %373 = load i32, ptr %372, align 4, !tbaa !26
  %374 = load i32, ptr %33, align 4, !tbaa !9
  call void @libxsmm_generator_transform_Xway_full_store_avx_avx512(ptr noundef %359, i8 noundef signext %362, i32 noundef %363, i32 noundef 0, i32 noundef %370, i32 noundef %373, i32 noundef 0, i32 noundef 0, i32 noundef %374)
  %375 = load ptr, ptr %16, align 8, !tbaa !5
  %376 = load i32, ptr %19, align 4, !tbaa !9
  %377 = load ptr, ptr %29, 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 = zext i32 %379 to i64
  %381 = mul nsw i64 %380, 16
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %375, i32 noundef 30000, i32 noundef %376, i64 noundef %381)
  %382 = load ptr, ptr %16, align 8, !tbaa !5
  %383 = load ptr, ptr %17, align 8, !tbaa !5
  %384 = load ptr, ptr %29, align 8, !tbaa !5
  %385 = load i32, ptr %21, align 4, !tbaa !9
  %386 = load i32, ptr %34, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef %382, ptr noundef %383, ptr noundef %384, i32 noundef %385, i32 noundef %386)
  br label %387

387:                                              ; preds = %313, %310
  %388 = load i32, ptr %32, align 4, !tbaa !9
  %389 = icmp ugt i32 %388, 0
  br i1 %389, label %390, label %433

390:                                              ; preds = %387
  call void @llvm.lifetime.start.p0(i64 32, ptr %46) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %46, ptr align 16 @__const.libxsmm_generator_transform_norm_to_normt_32bit_avx512_pre_spr_microkernel.ld_idx.8, i64 32, i1 false)
  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)
  %391 = load i32, ptr %26, align 4, !tbaa !9
  %392 = getelementptr inbounds [2 x i32], ptr %47, i64 0, i64 0
  store i32 %391, ptr %392, align 4, !tbaa !9
  %393 = load i32, ptr %27, align 4, !tbaa !9
  %394 = getelementptr inbounds [2 x i32], ptr %47, i64 0, i64 1
  store i32 %393, ptr %394, align 4, !tbaa !9
  %395 = load ptr, ptr %16, align 8, !tbaa !5
  %396 = load ptr, ptr %29, align 8, !tbaa !5
  %397 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %396, i32 0, i32 128
  %398 = load i8, ptr %397, align 4, !tbaa !21
  %399 = load i32, ptr %18, align 4, !tbaa !9
  %400 = load ptr, ptr %30, align 8, !tbaa !5
  %401 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %400, i32 0, i32 2
  %402 = load i32, ptr %401, align 1, !tbaa !22
  %403 = load ptr, ptr %29, align 8, !tbaa !5
  %404 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %403, i32 0, i32 2
  %405 = load i32, ptr %404, align 4, !tbaa !23
  %406 = mul i32 %402, %405
  %407 = getelementptr inbounds [8 x i32], ptr %46, i64 0, i64 0
  %408 = getelementptr inbounds [2 x i32], ptr %47, i64 0, i64 0
  %409 = load i32, ptr %32, align 4, !tbaa !9
  call void @libxsmm_generator_transform_Xway_half_load_blend_avx512(ptr noundef %395, i8 noundef signext %398, i32 noundef %399, i32 noundef 0, i32 noundef %406, ptr noundef %407, i32 noundef 8, i32 noundef -536531621, i32 noundef 8, ptr noundef %408, i32 noundef %409)
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #5
  %410 = load ptr, ptr %16, align 8, !tbaa !5
  %411 = load ptr, ptr %29, align 8, !tbaa !5
  %412 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %411, i32 0, i32 128
  %413 = load i8, ptr %412, align 4, !tbaa !21
  %414 = load i32, ptr %24, align 4, !tbaa !9
  %415 = load i32, ptr %25, align 4, !tbaa !9
  call void @libxsmm_generator_transform_two_8x8_32bit_norm_to_normt_avx512(ptr noundef %410, i8 noundef signext %413, i32 noundef 0, i32 noundef 8, i32 noundef %414, i32 noundef %415)
  %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 %19, align 4, !tbaa !9
  %421 = load ptr, ptr %30, align 8, !tbaa !5
  %422 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %421, i32 0, i32 3
  %423 = load i32, ptr %422, align 1, !tbaa !24
  %424 = load ptr, ptr %29, align 8, !tbaa !5
  %425 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %424, i32 0, i32 5
  %426 = load i32, ptr %425, align 4, !tbaa !25
  %427 = mul i32 %423, %426
  %428 = load ptr, ptr %29, align 8, !tbaa !5
  %429 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %428, i32 0, i32 9
  %430 = load i32, ptr %429, align 4, !tbaa !26
  %431 = load i32, ptr %28, align 4, !tbaa !9
  %432 = load i32, ptr %33, align 4, !tbaa !9
  call void @libxsmm_generator_transform_Xway_full_store_avx_avx512(ptr noundef %416, i8 noundef signext %419, i32 noundef %420, i32 noundef 0, i32 noundef %427, i32 noundef %430, i32 noundef 1, i32 noundef %431, i32 noundef %432)
  br label %433

433:                                              ; preds = %390, %387
  br label %434

434:                                              ; preds = %433, %307
  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 4, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, 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, !12, i64 0}
!12 = !{!"long long", !7, i64 0}
!13 = !{!14, !10, i64 4}
!14 = !{!"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, !15, i64 27, !15, i64 29, !7, i64 31}
!15 = !{!"short", !7, i64 0}
!16 = !{!14, !10, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !10, i64 56}
!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 = !{!20, !7, i64 512}
!22 = !{!14, !10, i64 8}
!23 = !{!20, !10, i64 8}
!24 = !{!14, !10, i64 12}
!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_norm_to_normt_32bit_avx512_pre_spr_microkernel.ld_idx = external hidden unnamed_addr constant [8 x i32], align 16
@__const.libxsmm_generator_transform_norm_to_normt_32bit_avx512_pre_spr_microkernel.ld_idx.6 = external hidden unnamed_addr constant [8 x i32], align 16
@__const.libxsmm_generator_transform_norm_to_normt_32bit_avx512_pre_spr_microkernel.ld_idx.7 = external hidden unnamed_addr constant [8 x i32], align 16
@__const.libxsmm_generator_transform_norm_to_normt_32bit_avx512_pre_spr_microkernel.ld_idx.8 = external hidden unnamed_addr constant [8 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

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_transform_norm_to_normt_32bit_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 [8 x i32], align 16
  %17 = alloca [2 x i32], align 8
  %18 = alloca [8 x i32], align 16
  %19 = alloca [2 x i32], align 8
  %20 = alloca [8 x i32], align 16
  %21 = alloca [2 x i32], align 4
  %22 = alloca [8 x i32], align 16
  %23 = alloca [2 x i32], align 4
  %24 = getelementptr inbounds i8, ptr %14, i64 4
  %25 = load i32, ptr %24, align 1, !tbaa !5
  %26 = and i32 %25, 15
  %27 = load i32, ptr %14, align 1, !tbaa !11
  %28 = and i32 %27, 7
  %29 = and i32 %25, -16
  %30 = and i32 %27, -8
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef %6, i64 noundef 65280) #4
  tail call void @libxsmm_x86_instruction_mask_move(ptr noundef %0, i32 noundef -1610149486, i32 noundef %6, i32 noundef %7) #4
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef %6, i64 noundef 204) #4
  tail call void @libxsmm_x86_instruction_mask_move(ptr noundef %0, i32 noundef -1610280558, i32 noundef %6, i32 noundef %8) #4
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef %6, i64 noundef 51) #4
  tail call void @libxsmm_x86_instruction_mask_move(ptr noundef %0, i32 noundef -1610280558, i32 noundef %6, i32 noundef %9) #4
  %.not = icmp eq i32 %28, 0
  br i1 %.not, label %35, label %31

31:                                               ; preds = %15
  %notmask = shl nsw i32 -1, %28
  %32 = xor i32 %notmask, -1
  %33 = zext nneg i32 %32 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef %6, i64 noundef %33) #4
  tail call void @libxsmm_x86_instruction_mask_move(ptr noundef %0, i32 noundef -1610149486, i32 noundef %6, i32 noundef %10) #4
  %34 = shl nuw nsw i64 %33, 8
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef %6, i64 noundef %34) #4
  tail call void @libxsmm_x86_instruction_mask_move(ptr noundef %0, i32 noundef -1610149486, i32 noundef %6, i32 noundef %11) #4
  br label %35

35:                                               ; preds = %31, %15
  %.not190 = icmp eq i32 %26, 0
  br i1 %.not190, label %39, label %36

36:                                               ; preds = %35
  %notmask191 = shl nsw i32 -1, %26
  %37 = xor i32 %notmask191, -1
  %38 = zext nneg i32 %37 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef %6, i64 noundef %38) #4
  tail call void @libxsmm_x86_instruction_mask_move(ptr noundef %0, i32 noundef -1610149486, i32 noundef %6, i32 noundef %12) #4
  br label %39

39:                                               ; preds = %36, %35
  %.not192 = icmp eq i32 %30, 0
  br i1 %.not192, label %113, label %40

40:                                               ; preds = %39
  %41 = getelementptr inbounds i8, ptr %13, i64 56
  %42 = load i32, ptr %41, align 4, !tbaa !12
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %42, i32 noundef %4, i64 noundef 0) #4
  tail call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %0, ptr noundef %1) #4
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %4, i64 noundef 8) #4
  %.not193 = icmp eq i32 %29, 0
  br i1 %.not193, label %71, label %43

43:                                               ; preds = %40
  %44 = load i32, ptr %41, align 4, !tbaa !12
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %44, i32 noundef %5, i64 noundef 0) #4
  tail call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %0, ptr noundef %1) #4
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %5, i64 noundef 16) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %16, ptr noundef nonnull align 16 dereferenceable(32) @__const.libxsmm_generator_transform_norm_to_normt_32bit_avx512_pre_spr_microkernel.ld_idx, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #4
  store i64 0, ptr %17, align 8
  %45 = getelementptr inbounds i8, ptr %17, i64 4
  store i32 %7, ptr %45, align 4, !tbaa !14
  %46 = getelementptr inbounds i8, ptr %13, i64 512
  %47 = load i8, ptr %46, align 4, !tbaa !15
  %48 = getelementptr inbounds i8, ptr %14, i64 8
  %49 = load i32, ptr %48, align 1, !tbaa !16
  %50 = getelementptr inbounds i8, ptr %13, i64 8
  %51 = load i32, ptr %50, align 4, !tbaa !17
  %52 = mul i32 %51, %49
  call void @libxsmm_generator_transform_Xway_half_load_blend_avx512(ptr noundef %0, i8 noundef signext %47, i32 noundef %2, i32 noundef 0, i32 noundef %52, ptr noundef nonnull %16, i32 noundef 8, i32 noundef -536531621, i32 noundef 8, ptr noundef nonnull %17, i32 noundef 16)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #4
  %53 = load i32, ptr %48, align 1, !tbaa !16
  %54 = zext i32 %53 to i64
  %55 = load i32, ptr %50, align 4, !tbaa !17
  %56 = zext i32 %55 to i64
  %57 = shl nuw nsw i64 %54, 4
  %58 = mul i64 %57, %56
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %2, i64 noundef %58) #4
  %59 = load i8, ptr %46, align 4, !tbaa !15
  call void @libxsmm_generator_transform_two_8x8_32bit_norm_to_normt_avx512(ptr noundef %0, i8 noundef signext %59, i32 noundef 0, i32 noundef 8, i32 noundef %8, i32 noundef %9)
  %60 = load i8, ptr %46, align 4, !tbaa !15
  %61 = getelementptr inbounds i8, ptr %14, i64 12
  %62 = load i32, ptr %61, align 1, !tbaa !18
  %63 = getelementptr inbounds i8, ptr %13, i64 20
  %64 = load i32, ptr %63, align 4, !tbaa !19
  %65 = mul i32 %64, %62
  %66 = getelementptr inbounds i8, ptr %13, i64 36
  %67 = load i32, ptr %66, align 4, !tbaa !20
  call void @libxsmm_generator_transform_Xway_full_store_avx_avx512(ptr noundef %0, i8 noundef signext %60, i32 noundef %3, i32 noundef 0, i32 noundef %65, i32 noundef %67, i32 noundef 0, i32 noundef 0, i32 noundef 8) #4
  %68 = load i32, ptr %50, align 4, !tbaa !17
  %69 = zext i32 %68 to i64
  %70 = shl nuw nsw i64 %69, 4
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %3, i64 noundef %70) #4
  call void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %13, i32 noundef %5, i32 noundef %29) #4
  br label %71

71:                                               ; preds = %43, %40
  br i1 %.not190, label %90, label %72

72:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %18, ptr noundef nonnull align 16 dereferenceable(32) @__const.libxsmm_generator_transform_norm_to_normt_32bit_avx512_pre_spr_microkernel.ld_idx.6, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #4
  store i64 0, ptr %19, align 8
  %73 = getelementptr inbounds i8, ptr %19, i64 4
  store i32 %7, ptr %73, align 4, !tbaa !14
  %74 = getelementptr inbounds i8, ptr %13, i64 512
  %75 = load i8, ptr %74, align 4, !tbaa !15
  %76 = getelementptr inbounds i8, ptr %14, i64 8
  %77 = load i32, ptr %76, align 1, !tbaa !16
  %78 = getelementptr inbounds i8, ptr %13, i64 8
  %79 = load i32, ptr %78, align 4, !tbaa !17
  %80 = mul i32 %79, %77
  call void @libxsmm_generator_transform_Xway_half_load_blend_avx512(ptr noundef %0, i8 noundef signext %75, i32 noundef %2, i32 noundef 0, i32 noundef %80, ptr noundef nonnull %18, i32 noundef 8, i32 noundef -536531621, i32 noundef 8, ptr noundef nonnull %19, i32 noundef %26)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #4
  %81 = load i8, ptr %74, align 4, !tbaa !15
  call void @libxsmm_generator_transform_two_8x8_32bit_norm_to_normt_avx512(ptr noundef %0, i8 noundef signext %81, i32 noundef 0, i32 noundef 8, i32 noundef %8, i32 noundef %9)
  %82 = load i8, ptr %74, align 4, !tbaa !15
  %83 = getelementptr inbounds i8, ptr %14, i64 12
  %84 = load i32, ptr %83, align 1, !tbaa !18
  %85 = getelementptr inbounds i8, ptr %13, i64 20
  %86 = load i32, ptr %85, align 4, !tbaa !19
  %87 = mul i32 %86, %84
  %88 = getelementptr inbounds i8, ptr %13, i64 36
  %89 = load i32, ptr %88, align 4, !tbaa !20
  call void @libxsmm_generator_transform_Xway_full_store_avx_avx512(ptr noundef %0, i8 noundef signext %82, i32 noundef %3, i32 noundef 0, i32 noundef %87, i32 noundef %89, i32 noundef 1, i32 noundef %12, i32 noundef 8) #4
  br label %90

90:                                               ; preds = %72, %71
  %91 = getelementptr inbounds i8, ptr %14, i64 12
  %92 = load i32, ptr %91, align 1, !tbaa !18
  %93 = zext i32 %92 to i64
  %94 = shl nuw nsw i64 %93, 3
  %95 = getelementptr inbounds i8, ptr %13, i64 20
  %96 = load i32, ptr %95, align 4, !tbaa !19
  %97 = zext i32 %96 to i64
  %98 = mul nuw nsw i64 %94, %97
  %99 = getelementptr inbounds i8, ptr %13, i64 8
  %100 = load i32, ptr %99, align 4, !tbaa !17
  %101 = zext i32 %100 to i64
  %102 = zext i32 %29 to i64
  %103 = mul nuw nsw i64 %101, %102
  %104 = sub nsw i64 %98, %103
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %3, i64 noundef %104) #4
  %105 = getelementptr inbounds i8, ptr %14, i64 8
  %106 = load i32, ptr %105, align 1, !tbaa !16
  %107 = zext i32 %106 to i64
  %108 = load i32, ptr %99, align 4, !tbaa !17
  %109 = zext i32 %108 to i64
  %110 = mul nuw i64 %107, %102
  %111 = add i64 %110, -8
  %112 = mul i64 %111, %109
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30008, i32 noundef %2, i64 noundef %112) #4
  call void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %13, i32 noundef %4, i32 noundef %30) #4
  br label %113

113:                                              ; preds = %90, %39
  br i1 %.not, label %163, label %114

114:                                              ; preds = %113
  %.not194 = icmp eq i32 %29, 0
  br i1 %.not194, label %144, label %115

115:                                              ; preds = %114
  %116 = getelementptr inbounds i8, ptr %13, i64 56
  %117 = load i32, ptr %116, align 4, !tbaa !12
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %117, i32 noundef %5, i64 noundef 0) #4
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %0, ptr noundef %1) #4
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %5, i64 noundef 16) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %20, ptr noundef nonnull align 16 dereferenceable(32) @__const.libxsmm_generator_transform_norm_to_normt_32bit_avx512_pre_spr_microkernel.ld_idx.7, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #4
  store i32 %10, ptr %21, align 4, !tbaa !14
  %118 = getelementptr inbounds i8, ptr %21, i64 4
  store i32 %11, ptr %118, align 4, !tbaa !14
  %119 = getelementptr inbounds i8, ptr %13, i64 512
  %120 = load i8, ptr %119, align 4, !tbaa !15
  %121 = getelementptr inbounds i8, ptr %14, i64 8
  %122 = load i32, ptr %121, align 1, !tbaa !16
  %123 = getelementptr inbounds i8, ptr %13, i64 8
  %124 = load i32, ptr %123, align 4, !tbaa !17
  %125 = mul i32 %124, %122
  call void @libxsmm_generator_transform_Xway_half_load_blend_avx512(ptr noundef %0, i8 noundef signext %120, i32 noundef %2, i32 noundef 0, i32 noundef %125, ptr noundef nonnull %20, i32 noundef 8, i32 noundef -536531621, i32 noundef 8, ptr noundef nonnull %21, i32 noundef 16)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #4
  %126 = load i32, ptr %121, align 1, !tbaa !16
  %127 = zext i32 %126 to i64
  %128 = load i32, ptr %123, align 4, !tbaa !17
  %129 = zext i32 %128 to i64
  %130 = shl nuw nsw i64 %127, 4
  %131 = mul i64 %130, %129
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %2, i64 noundef %131) #4
  %132 = load i8, ptr %119, align 4, !tbaa !15
  call void @libxsmm_generator_transform_two_8x8_32bit_norm_to_normt_avx512(ptr noundef %0, i8 noundef signext %132, i32 noundef 0, i32 noundef 8, i32 noundef %8, i32 noundef %9)
  %133 = load i8, ptr %119, align 4, !tbaa !15
  %134 = getelementptr inbounds i8, ptr %14, i64 12
  %135 = load i32, ptr %134, align 1, !tbaa !18
  %136 = getelementptr inbounds i8, ptr %13, i64 20
  %137 = load i32, ptr %136, align 4, !tbaa !19
  %138 = mul i32 %137, %135
  %139 = getelementptr inbounds i8, ptr %13, i64 36
  %140 = load i32, ptr %139, align 4, !tbaa !20
  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 %138, i32 noundef %140, i32 noundef 0, i32 noundef 0, i32 noundef %28) #4
  %141 = load i32, ptr %136, align 4, !tbaa !19
  %142 = zext i32 %141 to i64
  %143 = shl nuw nsw i64 %142, 4
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %3, i64 noundef %143) #4
  call void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef %0, ptr noundef %1, ptr noundef %13, i32 noundef %5, i32 noundef %29) #4
  br label %144

144:                                              ; preds = %115, %114
  br i1 %.not190, label %163, label %145

145:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %22, ptr noundef nonnull align 16 dereferenceable(32) @__const.libxsmm_generator_transform_norm_to_normt_32bit_avx512_pre_spr_microkernel.ld_idx.8, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #4
  store i32 %10, ptr %23, align 4, !tbaa !14
  %146 = getelementptr inbounds i8, ptr %23, i64 4
  store i32 %11, ptr %146, align 4, !tbaa !14
  %147 = getelementptr inbounds i8, ptr %13, i64 512
  %148 = load i8, ptr %147, align 4, !tbaa !15
  %149 = getelementptr inbounds i8, ptr %14, i64 8
  %150 = load i32, ptr %149, align 1, !tbaa !16
  %151 = getelementptr inbounds i8, ptr %13, i64 8
  %152 = load i32, ptr %151, align 4, !tbaa !17
  %153 = mul i32 %152, %150
  call void @libxsmm_generator_transform_Xway_half_load_blend_avx512(ptr noundef %0, i8 noundef signext %148, i32 noundef %2, i32 noundef 0, i32 noundef %153, ptr noundef nonnull %22, i32 noundef 8, i32 noundef -536531621, i32 noundef 8, ptr noundef nonnull %23, i32 noundef %26)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #4
  %154 = load i8, ptr %147, align 4, !tbaa !15
  call void @libxsmm_generator_transform_two_8x8_32bit_norm_to_normt_avx512(ptr noundef %0, i8 noundef signext %154, i32 noundef 0, i32 noundef 8, i32 noundef %8, i32 noundef %9)
  %155 = load i8, ptr %147, align 4, !tbaa !15
  %156 = getelementptr inbounds i8, ptr %14, i64 12
  %157 = load i32, ptr %156, align 1, !tbaa !18
  %158 = getelementptr inbounds i8, ptr %13, i64 20
  %159 = load i32, ptr %158, align 4, !tbaa !19
  %160 = mul i32 %159, %157
  %161 = getelementptr inbounds i8, ptr %13, i64 36
  %162 = load i32, ptr %161, align 4, !tbaa !20
  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 %160, i32 noundef %162, i32 noundef 1, i32 noundef %12, i32 noundef %28) #4
  br label %163

163:                                              ; preds = %144, %145, %113
  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 = { 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 4}
!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 0}
!12 = !{!13, !7, i64 56}
!13 = !{!"libxsmm_mateltwise_kernel_config_struct", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !7, i64 80, !7, i64 84, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !7, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !7, i64 144, !7, i64 148, !7, i64 152, !7, i64 156, !7, i64 160, !7, i64 164, !7, i64 168, !7, i64 172, !7, i64 176, !7, i64 180, !7, i64 184, !7, i64 188, !7, i64 192, !7, i64 196, !7, i64 200, !7, i64 204, !7, i64 208, !7, i64 212, !7, i64 216, !7, i64 220, !7, i64 224, !7, i64 228, !7, i64 232, !7, i64 236, !7, i64 240, !7, i64 244, !7, i64 248, !7, i64 252, !7, i64 256, !7, i64 260, !7, i64 264, !7, i64 268, !7, i64 272, !7, i64 276, !7, i64 280, !7, i64 284, !7, i64 288, !7, i64 292, !7, i64 296, !7, i64 300, !7, i64 304, !7, i64 308, !7, i64 312, !7, i64 316, !7, i64 320, !7, i64 324, !7, i64 328, !7, i64 332, !7, i64 336, !7, i64 340, !7, i64 344, !7, i64 348, !7, i64 352, !7, i64 356, !7, i64 360, !7, i64 364, !7, i64 368, !7, i64 372, !7, i64 376, !7, i64 380, !7, i64 384, !7, i64 388, !7, i64 392, !7, i64 396, !7, i64 400, !7, i64 404, !7, i64 408, !7, i64 412, !7, i64 416, !7, i64 420, !7, i64 424, !7, i64 428, !7, i64 432, !7, i64 436, !7, i64 440, !7, i64 444, !7, i64 448, !7, i64 452, !7, i64 456, !7, i64 460, !7, i64 464, !7, i64 468, !7, i64 472, !7, i64 476, !7, i64 480, !7, i64 484, !7, i64 488, !7, i64 492, !7, i64 496, !7, i64 500, !7, i64 504, !7, i64 508, !8, i64 512}
!14 = !{!7, !7, i64 0}
!15 = !{!13, !8, i64 512}
!16 = !{!6, !7, i64 8}
!17 = !{!13, !7, i64 8}
!18 = !{!6, !7, i64 12}
!19 = !{!13, !7, i64 20}
!20 = !{!13, !7, i64 36}


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