; 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_generated_code = type { ptr, i32, i32, i32, i32, i32, i32 }
%struct.libxsmm_meltw_descriptor = type <{ i32, i32, i32, i32, i32, i32, i8, i8, i8, i16, i16, i8 }>
%struct.libxsmm_mateltwise_kernel_config_struct = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8 }

@.str = external hidden unnamed_addr constant [93 x i8], align 1
@libxsmm_ninit = external global i32, align 4
@libxsmm_verbosity = external global i32, align 4
@.str.18 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [22 x i8], align 1
@__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel.perm_table_vnni_lo = external hidden unnamed_addr constant [32 x i16], align 16
@__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel.perm_table_vnni_hi = external hidden unnamed_addr constant [32 x i16], align 16
@__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel.perm_table_vnni_lo_2 = external hidden unnamed_addr constant [16 x i32], align 16
@__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel.perm_table_vnni_hi_2 = external hidden unnamed_addr constant [16 x i32], align 16
@__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel.perm_table_vnni_lo_4 = external hidden unnamed_addr constant [8 x i64], align 16
@__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel.perm_table_vnni_hi_4 = external hidden unnamed_addr constant [8 x i64], align 16
@.str.31 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [22 x i8], align 1
@__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel._perm_table_vnni_lo = external hidden unnamed_addr constant [16 x i16], align 16
@__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel._perm_table_vnni_hi = external hidden unnamed_addr constant [16 x i16], align 16
@__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel._perm_table_vnni_lo_2 = external hidden unnamed_addr constant [8 x i32], align 16
@__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel._perm_table_vnni_hi_2 = external hidden unnamed_addr constant [8 x i32], align 16
@__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel._perm_table_vnni_lo_4 = external hidden unnamed_addr constant [4 x i64], align 16
@__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel._perm_table_vnni_hi_4 = external hidden unnamed_addr constant [4 x i64], align 16
@__func__.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel = external hidden unnamed_addr constant [67 x i8], align 1

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

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

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

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

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

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

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

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

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

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

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

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

57:                                               ; preds = %12
  %58 = load ptr, ptr %13, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %58, i32 0, i32 6
  %60 = load i32, ptr %59, align 4, !tbaa !11
  %61 = icmp ult i32 %60, 1101
  br label %62

62:                                               ; preds = %57, %12
  %63 = phi i1 [ false, %12 ], [ %61, %57 ]
  %64 = zext i1 %63 to i64
  %65 = select i1 %63, i32 16, i32 32
  store i32 %65, ptr %31, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #4
  %66 = load ptr, ptr %23, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %66, i32 0, i32 0
  %68 = load i32, ptr %67, align 1, !tbaa !13
  %69 = load i32, ptr %31, align 4, !tbaa !9
  %70 = urem i32 %68, %69
  store i32 %70, ptr %32, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #4
  %71 = load ptr, ptr %23, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %71, i32 0, i32 0
  %73 = load i32, ptr %72, align 1, !tbaa !13
  %74 = load i32, ptr %31, align 4, !tbaa !9
  %75 = udiv i32 %73, %74
  store i32 %75, ptr %33, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #4
  store i32 8, ptr %34, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #4
  %76 = load ptr, ptr %23, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %76, i32 0, i32 1
  %78 = load i32, ptr %77, align 1, !tbaa !16
  %79 = load i32, ptr %34, align 4, !tbaa !9
  %80 = urem i32 %78, %79
  store i32 %80, ptr %35, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #4
  %81 = load ptr, ptr %23, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %81, i32 0, i32 1
  %83 = load i32, ptr %82, align 1, !tbaa !16
  %84 = load i32, ptr %34, align 4, !tbaa !9
  %85 = udiv i32 %83, %84
  store i32 %85, ptr %36, align 4, !tbaa !9
  %86 = load i32, ptr %31, align 4, !tbaa !9
  %87 = icmp eq i32 %86, 32
  br i1 %87, label %88, label %125

88:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 64, ptr %37) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %37, ptr align 16 @__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel.perm_table_vnni_lo, i64 64, i1 false)
  call void @llvm.lifetime.start.p0(i64 64, ptr %38) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %38, ptr align 16 @__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel.perm_table_vnni_hi, i64 64, i1 false)
  call void @llvm.lifetime.start.p0(i64 64, ptr %39) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %39, ptr align 16 @__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel.perm_table_vnni_lo_2, i64 64, i1 false)
  call void @llvm.lifetime.start.p0(i64 64, ptr %40) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %40, ptr align 16 @__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel.perm_table_vnni_hi_2, i64 64, i1 false)
  call void @llvm.lifetime.start.p0(i64 64, ptr %41) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %41, ptr align 16 @__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel.perm_table_vnni_lo_4, i64 64, i1 false)
  call void @llvm.lifetime.start.p0(i64 64, ptr %42) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %42, ptr align 16 @__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel.perm_table_vnni_hi_4, i64 64, i1 false)
  %89 = load ptr, ptr %13, align 8, !tbaa !5
  %90 = getelementptr inbounds [32 x i16], ptr %38, i64 0, i64 0
  %91 = load ptr, ptr %22, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %91, i32 0, i32 128
  %93 = load i8, ptr %92, align 4, !tbaa !17
  %94 = load i32, ptr %26, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef %89, ptr noundef %90, ptr noundef @.str.18, i8 noundef signext %93, i32 noundef %94)
  %95 = load ptr, ptr %13, align 8, !tbaa !5
  %96 = getelementptr inbounds [32 x i16], ptr %37, i64 0, i64 0
  %97 = load ptr, ptr %22, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %97, i32 0, i32 128
  %99 = load i8, ptr %98, align 4, !tbaa !17
  %100 = load i32, ptr %25, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef %95, ptr noundef %96, ptr noundef @.str.19, i8 noundef signext %99, i32 noundef %100)
  %101 = load ptr, ptr %13, align 8, !tbaa !5
  %102 = getelementptr inbounds [16 x i32], ptr %39, i64 0, i64 0
  %103 = load ptr, ptr %22, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %103, i32 0, i32 128
  %105 = load i8, ptr %104, align 4, !tbaa !17
  %106 = load i32, ptr %27, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef %101, ptr noundef %102, ptr noundef @.str.20, i8 noundef signext %105, i32 noundef %106)
  %107 = load ptr, ptr %13, align 8, !tbaa !5
  %108 = getelementptr inbounds [16 x i32], ptr %40, i64 0, i64 0
  %109 = load ptr, ptr %22, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %109, i32 0, i32 128
  %111 = load i8, ptr %110, align 4, !tbaa !17
  %112 = load i32, ptr %28, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef %107, ptr noundef %108, ptr noundef @.str.21, i8 noundef signext %111, i32 noundef %112)
  %113 = load ptr, ptr %13, align 8, !tbaa !5
  %114 = getelementptr inbounds [8 x i64], ptr %41, i64 0, i64 0
  %115 = load ptr, ptr %22, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %115, i32 0, i32 128
  %117 = load i8, ptr %116, align 4, !tbaa !17
  %118 = load i32, ptr %29, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef %113, ptr noundef %114, ptr noundef @.str.31, i8 noundef signext %117, i32 noundef %118)
  %119 = load ptr, ptr %13, align 8, !tbaa !5
  %120 = getelementptr inbounds [8 x i64], ptr %42, i64 0, i64 0
  %121 = load ptr, ptr %22, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %121, i32 0, i32 128
  %123 = load i8, ptr %122, align 4, !tbaa !17
  %124 = load i32, ptr %30, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef %119, ptr noundef %120, ptr noundef @.str.32, i8 noundef signext %123, i32 noundef %124)
  call void @llvm.lifetime.end.p0(i64 64, ptr %42) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %41) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %40) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %39) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %38) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %37) #4
  br label %162

125:                                              ; preds = %62
  call void @llvm.lifetime.start.p0(i64 32, ptr %43) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %43, ptr align 16 @__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel._perm_table_vnni_lo, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr %44) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %44, ptr align 16 @__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel._perm_table_vnni_hi, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr %45) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %45, ptr align 16 @__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel._perm_table_vnni_lo_2, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr %46) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %46, ptr align 16 @__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel._perm_table_vnni_hi_2, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr %47) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %47, ptr align 16 @__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel._perm_table_vnni_lo_4, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr %48) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %48, ptr align 16 @__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel._perm_table_vnni_hi_4, i64 32, i1 false)
  %126 = load ptr, ptr %13, align 8, !tbaa !5
  %127 = getelementptr inbounds [16 x i16], ptr %44, i64 0, i64 0
  %128 = load ptr, ptr %22, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %128, i32 0, i32 128
  %130 = load i8, ptr %129, align 4, !tbaa !17
  %131 = load i32, ptr %26, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef %126, ptr noundef %127, ptr noundef @.str.18, i8 noundef signext %130, i32 noundef %131)
  %132 = load ptr, ptr %13, align 8, !tbaa !5
  %133 = getelementptr inbounds [16 x i16], ptr %43, i64 0, i64 0
  %134 = load ptr, ptr %22, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %134, i32 0, i32 128
  %136 = load i8, ptr %135, align 4, !tbaa !17
  %137 = load i32, ptr %25, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef %132, ptr noundef %133, ptr noundef @.str.19, i8 noundef signext %136, i32 noundef %137)
  %138 = load ptr, ptr %13, align 8, !tbaa !5
  %139 = getelementptr inbounds [8 x i32], ptr %45, i64 0, i64 0
  %140 = load ptr, ptr %22, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %140, i32 0, i32 128
  %142 = load i8, ptr %141, align 4, !tbaa !17
  %143 = load i32, ptr %27, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef %138, ptr noundef %139, ptr noundef @.str.20, i8 noundef signext %142, i32 noundef %143)
  %144 = load ptr, ptr %13, align 8, !tbaa !5
  %145 = getelementptr inbounds [8 x i32], ptr %46, i64 0, i64 0
  %146 = load ptr, ptr %22, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %146, i32 0, i32 128
  %148 = load i8, ptr %147, align 4, !tbaa !17
  %149 = load i32, ptr %28, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef %144, ptr noundef %145, ptr noundef @.str.21, i8 noundef signext %148, i32 noundef %149)
  %150 = load ptr, ptr %13, align 8, !tbaa !5
  %151 = getelementptr inbounds [4 x i64], ptr %47, i64 0, i64 0
  %152 = load ptr, ptr %22, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %152, i32 0, i32 128
  %154 = load i8, ptr %153, align 4, !tbaa !17
  %155 = load i32, ptr %29, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef %150, ptr noundef %151, ptr noundef @.str.31, i8 noundef signext %154, i32 noundef %155)
  %156 = load ptr, ptr %13, align 8, !tbaa !5
  %157 = getelementptr inbounds [4 x i64], ptr %48, i64 0, i64 0
  %158 = load ptr, ptr %22, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %158, i32 0, i32 128
  %160 = load i8, ptr %159, align 4, !tbaa !17
  %161 = load i32, ptr %30, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef %156, ptr noundef %157, ptr noundef @.str.32, i8 noundef signext %160, i32 noundef %161)
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %44) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #4
  br label %162

162:                                              ; preds = %125, %88
  %163 = load i32, ptr %24, align 4, !tbaa !9
  %164 = icmp eq i32 %163, 0
  br i1 %164, label %165, label %180

165:                                              ; preds = %162
  %166 = load ptr, ptr %23, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %166, i32 0, i32 1
  %168 = load i32, ptr %167, align 1, !tbaa !16
  %169 = urem i32 %168, 8
  %170 = icmp ugt i32 %169, 0
  br i1 %170, label %171, label %180

171:                                              ; preds = %165
  %172 = load ptr, ptr %13, align 8, !tbaa !5
  %173 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %174 = icmp ult i32 1, %173
  br i1 %174, label %175, label %177

175:                                              ; preds = %171
  %176 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %178

177:                                              ; preds = %171
  br label %178

178:                                              ; preds = %177, %175
  %179 = phi i32 [ %176, %175 ], [ 1, %177 ]
  call void @libxsmm_handle_error(ptr noundef %172, i32 noundef 90016, ptr noundef @__func__.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel, ptr noundef @.str, i32 noundef 4322, i32 noundef %179)
  store i32 1, ptr %49, align 4
  br label %431

180:                                              ; preds = %165, %162
  %181 = load i32, ptr %32, align 4, !tbaa !9
  %182 = icmp ugt i32 %181, 0
  br i1 %182, label %183, label %227

183:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #4
  %184 = load i32, ptr %31, align 4, !tbaa !9
  %185 = icmp eq i32 %184, 32
  %186 = zext i1 %185 to i64
  %187 = select i1 %185, i32 -1610149486, i32 -1610346094
  store i32 %187, ptr %50, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #4
  %188 = load i32, ptr %32, align 4, !tbaa !9
  %189 = zext i32 %188 to i64
  %190 = shl i64 1, %189
  %191 = sub i64 %190, 1
  store i64 %191, ptr %51, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #4
  %192 = load i32, ptr %32, align 4, !tbaa !9
  %193 = load i32, ptr %31, align 4, !tbaa !9
  %194 = udiv i32 %193, 8
  %195 = urem i32 %192, %194
  %196 = icmp eq i32 %195, 0
  br i1 %196, label %197, label %198

197:                                              ; preds = %183
  br label %207

198:                                              ; preds = %183
  %199 = load i32, ptr %32, align 4, !tbaa !9
  %200 = load i32, ptr %31, align 4, !tbaa !9
  %201 = udiv i32 %200, 8
  %202 = urem i32 %199, %201
  %203 = mul i32 %202, 8
  %204 = zext i32 %203 to i64
  %205 = shl i64 1, %204
  %206 = sub i64 %205, 1
  br label %207

207:                                              ; preds = %198, %197
  %208 = phi i64 [ 4294967295, %197 ], [ %206, %198 ]
  store i64 %208, ptr %52, align 8, !tbaa !19
  %209 = load ptr, ptr %13, align 8, !tbaa !5
  %210 = load i32, ptr %19, align 4, !tbaa !9
  %211 = load i64, ptr %51, align 8, !tbaa !19
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %209, i32 noundef -1568407413, i32 noundef %210, i64 noundef %211)
  %212 = load ptr, ptr %13, align 8, !tbaa !5
  %213 = load i32, ptr %50, align 4, !tbaa !9
  %214 = load i32, ptr %19, align 4, !tbaa !9
  %215 = load i32, ptr %20, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %212, i32 noundef %213, i32 noundef %214, i32 noundef %215)
  %216 = load i32, ptr %31, align 4, !tbaa !9
  %217 = icmp eq i32 %216, 32
  %218 = zext i1 %217 to i64
  %219 = select i1 %217, i32 -1610149486, i32 -1610346094
  store i32 %219, ptr %50, align 4, !tbaa !9
  %220 = load ptr, ptr %13, align 8, !tbaa !5
  %221 = load i32, ptr %19, align 4, !tbaa !9
  %222 = load i64, ptr %52, align 8, !tbaa !19
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %220, i32 noundef -1568407413, i32 noundef %221, i64 noundef %222)
  %223 = load ptr, ptr %13, align 8, !tbaa !5
  %224 = load i32, ptr %50, align 4, !tbaa !9
  %225 = load i32, ptr %19, align 4, !tbaa !9
  %226 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %223, i32 noundef %224, i32 noundef %225, i32 noundef %226)
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #4
  br label %227

227:                                              ; preds = %207, %180
  %228 = load i32, ptr %36, align 4, !tbaa !9
  %229 = icmp ugt i32 %228, 0
  br i1 %229, label %230, label %364

230:                                              ; preds = %227
  %231 = load i32, ptr %36, align 4, !tbaa !9
  %232 = icmp ugt i32 %231, 1
  br i1 %232, label %233, label %245

233:                                              ; preds = %230
  %234 = load ptr, ptr %13, align 8, !tbaa !5
  %235 = load ptr, ptr %22, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %235, i32 0, i32 14
  %237 = load i32, ptr %236, align 4, !tbaa !21
  %238 = load i32, ptr %18, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %234, i32 noundef %237, i32 noundef %238, i64 noundef 0)
  %239 = load ptr, ptr %13, align 8, !tbaa !5
  %240 = load ptr, ptr %14, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %239, ptr noundef %240)
  %241 = load ptr, ptr %13, align 8, !tbaa !5
  %242 = load i32, ptr %18, align 4, !tbaa !9
  %243 = load i32, ptr %34, align 4, !tbaa !9
  %244 = zext i32 %243 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %241, i32 noundef 30000, i32 noundef %242, i64 noundef %244)
  br label %245

245:                                              ; preds = %233, %230
  %246 = load i32, ptr %33, align 4, !tbaa !9
  %247 = icmp ugt i32 %246, 0
  br i1 %247, label %248, label %288

248:                                              ; preds = %245
  %249 = load i32, ptr %33, align 4, !tbaa !9
  %250 = icmp ugt i32 %249, 1
  br i1 %250, label %251, label %263

251:                                              ; preds = %248
  %252 = load ptr, ptr %13, align 8, !tbaa !5
  %253 = load ptr, ptr %22, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %253, i32 0, i32 14
  %255 = load i32, ptr %254, align 4, !tbaa !21
  %256 = load i32, ptr %17, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %252, i32 noundef %255, i32 noundef %256, i64 noundef 0)
  %257 = load ptr, ptr %13, align 8, !tbaa !5
  %258 = load ptr, ptr %14, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %257, ptr noundef %258)
  %259 = load ptr, ptr %13, align 8, !tbaa !5
  %260 = load i32, ptr %17, align 4, !tbaa !9
  %261 = load i32, ptr %31, align 4, !tbaa !9
  %262 = zext i32 %261 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %259, i32 noundef 30000, i32 noundef %260, i64 noundef %262)
  br label %263

263:                                              ; preds = %251, %248
  %264 = load ptr, ptr %13, align 8, !tbaa !5
  %265 = load i32, ptr %15, align 4, !tbaa !9
  %266 = load i32, ptr %16, align 4, !tbaa !9
  %267 = load i32, ptr %25, align 4, !tbaa !9
  %268 = load i32, ptr %26, align 4, !tbaa !9
  %269 = load i32, ptr %27, align 4, !tbaa !9
  %270 = load i32, ptr %28, align 4, !tbaa !9
  %271 = load i32, ptr %29, align 4, !tbaa !9
  %272 = load i32, ptr %30, align 4, !tbaa !9
  %273 = load i32, ptr %31, align 4, !tbaa !9
  %274 = load i32, ptr %34, align 4, !tbaa !9
  %275 = load ptr, ptr %22, align 8, !tbaa !5
  %276 = load ptr, ptr %23, align 8, !tbaa !5
  call void @libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_mnblock_micro_kernel(ptr noundef %264, i32 noundef %265, i32 noundef %266, i32 noundef 0, i32 noundef 0, i32 noundef %267, i32 noundef %268, i32 noundef %269, i32 noundef %270, i32 noundef %271, i32 noundef %272, i32 noundef %273, i32 noundef %274, ptr noundef %275, ptr noundef %276)
  %277 = load i32, ptr %33, align 4, !tbaa !9
  %278 = icmp ugt i32 %277, 1
  br i1 %278, label %279, label %287

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

287:                                              ; preds = %279, %263
  br label %288

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

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

307:                                              ; preds = %291, %288
  %308 = load ptr, ptr %13, align 8, !tbaa !5
  %309 = load i32, ptr %15, align 4, !tbaa !9
  %310 = load i32, ptr %34, align 4, !tbaa !9
  %311 = load ptr, ptr %23, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %311, i32 0, i32 2
  %313 = load i32, ptr %312, align 1, !tbaa !22
  %314 = mul i32 %310, %313
  %315 = load ptr, ptr %22, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %315, i32 0, i32 2
  %317 = load i32, ptr %316, align 4, !tbaa !23
  %318 = mul i32 %314, %317
  %319 = zext i32 %318 to i64
  %320 = load ptr, ptr %22, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %320, i32 0, i32 2
  %322 = load i32, ptr %321, align 4, !tbaa !23
  %323 = zext i32 %322 to i64
  %324 = load ptr, ptr %23, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %324, i32 0, i32 0
  %326 = load i32, ptr %325, align 1, !tbaa !13
  %327 = zext i32 %326 to i64
  %328 = mul nsw i64 %323, %327
  %329 = sub nsw i64 %319, %328
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %308, i32 noundef 30000, i32 noundef %309, i64 noundef %329)
  %330 = load ptr, ptr %13, align 8, !tbaa !5
  %331 = load i32, ptr %16, align 4, !tbaa !9
  %332 = load i32, ptr %34, align 4, !tbaa !9
  %333 = load ptr, ptr %23, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %333, i32 0, i32 3
  %335 = load i32, ptr %334, align 1, !tbaa !24
  %336 = mul i32 %332, %335
  %337 = load ptr, ptr %22, align 8, !tbaa !5
  %338 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %337, i32 0, i32 5
  %339 = load i32, ptr %338, align 4, !tbaa !25
  %340 = mul i32 %336, %339
  %341 = zext i32 %340 to i64
  %342 = load ptr, ptr %22, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %342, i32 0, i32 5
  %344 = load i32, ptr %343, align 4, !tbaa !25
  %345 = zext i32 %344 to i64
  %346 = load ptr, ptr %23, align 8, !tbaa !5
  %347 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %346, i32 0, i32 0
  %348 = load i32, ptr %347, align 1, !tbaa !13
  %349 = zext i32 %348 to i64
  %350 = mul nsw i64 %345, %349
  %351 = mul nsw i64 %350, 8
  %352 = sub nsw i64 %341, %351
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %330, i32 noundef 30000, i32 noundef %331, i64 noundef %352)
  %353 = load i32, ptr %36, align 4, !tbaa !9
  %354 = icmp ugt i32 %353, 1
  br i1 %354, label %355, label %363

355:                                              ; preds = %307
  %356 = load ptr, ptr %13, align 8, !tbaa !5
  %357 = load ptr, ptr %14, align 8, !tbaa !5
  %358 = load ptr, ptr %22, align 8, !tbaa !5
  %359 = load i32, ptr %18, align 4, !tbaa !9
  %360 = load i32, ptr %36, align 4, !tbaa !9
  %361 = load i32, ptr %34, align 4, !tbaa !9
  %362 = mul i32 %360, %361
  call void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef %356, ptr noundef %357, ptr noundef %358, i32 noundef %359, i32 noundef %362)
  br label %363

363:                                              ; preds = %355, %307
  br label %364

364:                                              ; preds = %363, %227
  %365 = load i32, ptr %35, align 4, !tbaa !9
  %366 = icmp ugt i32 %365, 0
  br i1 %366, label %367, label %430

367:                                              ; preds = %364
  %368 = load i32, ptr %33, align 4, !tbaa !9
  %369 = icmp ugt i32 %368, 0
  br i1 %369, label %370, label %410

370:                                              ; preds = %367
  %371 = load i32, ptr %33, align 4, !tbaa !9
  %372 = icmp ugt i32 %371, 1
  br i1 %372, label %373, label %385

373:                                              ; preds = %370
  %374 = load ptr, ptr %13, align 8, !tbaa !5
  %375 = load ptr, ptr %22, align 8, !tbaa !5
  %376 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %375, i32 0, i32 14
  %377 = load i32, ptr %376, align 4, !tbaa !21
  %378 = load i32, ptr %17, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %374, i32 noundef %377, i32 noundef %378, i64 noundef 0)
  %379 = load ptr, ptr %13, align 8, !tbaa !5
  %380 = load ptr, ptr %14, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %379, ptr noundef %380)
  %381 = load ptr, ptr %13, align 8, !tbaa !5
  %382 = load i32, ptr %17, align 4, !tbaa !9
  %383 = load i32, ptr %31, align 4, !tbaa !9
  %384 = zext i32 %383 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %381, i32 noundef 30000, i32 noundef %382, i64 noundef %384)
  br label %385

385:                                              ; preds = %373, %370
  %386 = load ptr, ptr %13, align 8, !tbaa !5
  %387 = load i32, ptr %15, align 4, !tbaa !9
  %388 = load i32, ptr %16, align 4, !tbaa !9
  %389 = load i32, ptr %25, align 4, !tbaa !9
  %390 = load i32, ptr %26, align 4, !tbaa !9
  %391 = load i32, ptr %27, align 4, !tbaa !9
  %392 = load i32, ptr %28, align 4, !tbaa !9
  %393 = load i32, ptr %29, align 4, !tbaa !9
  %394 = load i32, ptr %30, align 4, !tbaa !9
  %395 = load i32, ptr %31, align 4, !tbaa !9
  %396 = load i32, ptr %35, align 4, !tbaa !9
  %397 = load ptr, ptr %22, align 8, !tbaa !5
  %398 = load ptr, ptr %23, align 8, !tbaa !5
  call void @libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_mnblock_micro_kernel(ptr noundef %386, i32 noundef %387, i32 noundef %388, i32 noundef 0, i32 noundef 0, i32 noundef %389, i32 noundef %390, i32 noundef %391, i32 noundef %392, i32 noundef %393, i32 noundef %394, i32 noundef %395, i32 noundef %396, ptr noundef %397, ptr noundef %398)
  %399 = load i32, ptr %33, align 4, !tbaa !9
  %400 = icmp ugt i32 %399, 1
  br i1 %400, label %401, label %409

401:                                              ; preds = %385
  %402 = load ptr, ptr %13, align 8, !tbaa !5
  %403 = load ptr, ptr %14, align 8, !tbaa !5
  %404 = load ptr, ptr %22, align 8, !tbaa !5
  %405 = load i32, ptr %17, align 4, !tbaa !9
  %406 = load i32, ptr %33, align 4, !tbaa !9
  %407 = load i32, ptr %31, align 4, !tbaa !9
  %408 = mul i32 %406, %407
  call void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef %402, ptr noundef %403, ptr noundef %404, i32 noundef %405, i32 noundef %408)
  br label %409

409:                                              ; preds = %401, %385
  br label %410

410:                                              ; preds = %409, %367
  %411 = load i32, ptr %32, align 4, !tbaa !9
  %412 = icmp ugt i32 %411, 0
  br i1 %412, label %413, label %429

413:                                              ; preds = %410
  %414 = load ptr, ptr %13, align 8, !tbaa !5
  %415 = load i32, ptr %15, align 4, !tbaa !9
  %416 = load i32, ptr %16, align 4, !tbaa !9
  %417 = load i32, ptr %20, align 4, !tbaa !9
  %418 = load i32, ptr %21, align 4, !tbaa !9
  %419 = load i32, ptr %25, align 4, !tbaa !9
  %420 = load i32, ptr %26, align 4, !tbaa !9
  %421 = load i32, ptr %27, align 4, !tbaa !9
  %422 = load i32, ptr %28, align 4, !tbaa !9
  %423 = load i32, ptr %29, align 4, !tbaa !9
  %424 = load i32, ptr %30, align 4, !tbaa !9
  %425 = load i32, ptr %32, align 4, !tbaa !9
  %426 = load i32, ptr %35, align 4, !tbaa !9
  %427 = load ptr, ptr %22, align 8, !tbaa !5
  %428 = load ptr, ptr %23, align 8, !tbaa !5
  call void @libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_mnblock_micro_kernel(ptr noundef %414, i32 noundef %415, i32 noundef %416, i32 noundef %417, i32 noundef %418, i32 noundef %419, i32 noundef %420, i32 noundef %421, i32 noundef %422, i32 noundef %423, i32 noundef %424, i32 noundef %425, i32 noundef %426, ptr noundef %427, ptr noundef %428)
  br label %429

429:                                              ; preds = %413, %410
  br label %430

430:                                              ; preds = %429, %364
  store i32 0, ptr %49, align 4
  br label %431

431:                                              ; preds = %430, %178
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  %432 = load i32, ptr %49, align 4
  switch i32 %432, label %434 [
    i32 0, label %433
    i32 1, label %433
  ]

433:                                              ; preds = %431, %431
  ret void

434:                                              ; preds = %431
  unreachable
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 28}
!12 = !{!"libxsmm_generated_code", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28}
!13 = !{!14, !10, i64 0}
!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 4}
!17 = !{!18, !7, i64 512}
!18 = !{!"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}
!19 = !{!20, !20, i64 0}
!20 = !{!"long long", !7, i64 0}
!21 = !{!18, !10, i64 56}
!22 = !{!14, !10, i64 8}
!23 = !{!18, !10, i64 8}
!24 = !{!14, !10, i64 12}
!25 = !{!18, !10, i64 20}


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

@.str = external hidden unnamed_addr constant [93 x i8], align 1
@libxsmm_ninit = external local_unnamed_addr global i32, align 4
@libxsmm_verbosity = external local_unnamed_addr global i32, align 4
@.str.18 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [22 x i8], align 1
@__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel.perm_table_vnni_lo = external hidden unnamed_addr constant [32 x i16], align 16
@__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel.perm_table_vnni_hi = external hidden unnamed_addr constant [32 x i16], align 16
@__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel.perm_table_vnni_lo_2 = external hidden unnamed_addr constant [16 x i32], align 16
@__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel.perm_table_vnni_hi_2 = external hidden unnamed_addr constant [16 x i32], align 16
@__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel.perm_table_vnni_lo_4 = external hidden unnamed_addr constant [8 x i64], align 16
@__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel.perm_table_vnni_hi_4 = external hidden unnamed_addr constant [8 x i64], align 16
@.str.31 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [22 x i8], align 1
@__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel._perm_table_vnni_lo = external hidden unnamed_addr constant [16 x i16], align 16
@__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel._perm_table_vnni_hi = external hidden unnamed_addr constant [16 x i16], align 16
@__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel._perm_table_vnni_lo_2 = external hidden unnamed_addr constant [8 x i32], align 16
@__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel._perm_table_vnni_hi_2 = external hidden unnamed_addr constant [8 x i32], align 16
@__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel._perm_table_vnni_lo_4 = external hidden unnamed_addr constant [4 x i64], align 16
@__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel._perm_table_vnni_hi_4 = external hidden unnamed_addr constant [4 x i64], align 16
@__func__.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel = external hidden unnamed_addr constant [67 x i8], align 1

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, ptr noundef %9, ptr noundef %10, i32 noundef %11) local_unnamed_addr #3 {
  %13 = alloca [32 x i16], align 16
  %14 = alloca [32 x i16], align 16
  %15 = alloca [16 x i32], align 16
  %16 = alloca [16 x i32], align 16
  %17 = alloca [8 x i64], align 16
  %18 = alloca [8 x i64], align 16
  %19 = alloca [16 x i16], align 16
  %20 = alloca [16 x i16], align 16
  %21 = alloca [8 x i32], align 16
  %22 = alloca [8 x i32], align 16
  %23 = alloca [4 x i64], align 16
  %24 = alloca [4 x i64], align 16
  %25 = getelementptr inbounds i8, ptr %0, i64 28
  %26 = load i32, ptr %25, align 4, !tbaa !5
  %27 = add i32 %26, -1051
  %spec.select = icmp ult i32 %27, 50
  %28 = select i1 %spec.select, i32 16, i32 32
  %29 = load i32, ptr %10, align 1, !tbaa !11
  %30 = add nsw i32 %28, -1
  %31 = and i32 %30, %29
  %32 = select i1 %spec.select, i32 4, i32 5
  %33 = lshr i32 %29, %32
  %34 = getelementptr inbounds i8, ptr %10, i64 4
  %35 = load i32, ptr %34, align 1, !tbaa !14
  %36 = and i32 %35, 7
  %37 = and i32 %35, -8
  %38 = getelementptr inbounds i8, ptr %9, i64 512
  br i1 %spec.select, label %46, label %39

39:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %13) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %13, ptr noundef nonnull align 16 dereferenceable(64) @__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel.perm_table_vnni_lo, i64 64, i1 false)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %14) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %14, ptr noundef nonnull align 16 dereferenceable(64) @__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel.perm_table_vnni_hi, i64 64, i1 false)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %15) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %15, ptr noundef nonnull align 16 dereferenceable(64) @__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel.perm_table_vnni_lo_2, i64 64, i1 false)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %16) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %16, ptr noundef nonnull align 16 dereferenceable(64) @__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel.perm_table_vnni_hi_2, i64 64, i1 false)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %17) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %17, ptr noundef nonnull align 16 dereferenceable(64) @__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel.perm_table_vnni_lo_4, i64 64, i1 false)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %18) #4
  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_norm_to_vnni8_16bit_avx512_microkernel.perm_table_vnni_hi_4, i64 64, i1 false)
  %40 = load i8, ptr %38, align 4, !tbaa !15
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef nonnull %0, ptr noundef nonnull %14, ptr noundef nonnull @.str.18, i8 noundef signext %40, i32 noundef 30) #4
  %41 = load i8, ptr %38, align 4, !tbaa !15
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef nonnull %0, ptr noundef nonnull %13, ptr noundef nonnull @.str.19, i8 noundef signext %41, i32 noundef 31) #4
  %42 = load i8, ptr %38, align 4, !tbaa !15
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef nonnull %0, ptr noundef nonnull %15, ptr noundef nonnull @.str.20, i8 noundef signext %42, i32 noundef 29) #4
  %43 = load i8, ptr %38, align 4, !tbaa !15
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef nonnull %0, ptr noundef nonnull %16, ptr noundef nonnull @.str.21, i8 noundef signext %43, i32 noundef 28) #4
  %44 = load i8, ptr %38, align 4, !tbaa !15
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef nonnull %0, ptr noundef nonnull %17, ptr noundef nonnull @.str.31, i8 noundef signext %44, i32 noundef 27) #4
  %45 = load i8, ptr %38, align 4, !tbaa !15
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef nonnull %0, ptr noundef nonnull %18, ptr noundef nonnull @.str.32, i8 noundef signext %45, i32 noundef 26) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %15) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %13) #4
  br label %53

46:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %19, ptr noundef nonnull align 16 dereferenceable(32) @__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel._perm_table_vnni_lo, i64 32, i1 false)
  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_vnni8_16bit_avx512_microkernel._perm_table_vnni_hi, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %21, ptr noundef nonnull align 16 dereferenceable(32) @__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel._perm_table_vnni_lo_2, i64 32, i1 false)
  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_vnni8_16bit_avx512_microkernel._perm_table_vnni_hi_2, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %23, ptr noundef nonnull align 16 dereferenceable(32) @__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel._perm_table_vnni_lo_4, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %24) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %24, ptr noundef nonnull align 16 dereferenceable(32) @__const.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel._perm_table_vnni_hi_4, i64 32, i1 false)
  %47 = load i8, ptr %38, align 4, !tbaa !15
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef nonnull %0, ptr noundef nonnull %20, ptr noundef nonnull @.str.18, i8 noundef signext %47, i32 noundef 30) #4
  %48 = load i8, ptr %38, align 4, !tbaa !15
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef nonnull %0, ptr noundef nonnull %19, ptr noundef nonnull @.str.19, i8 noundef signext %48, i32 noundef 31) #4
  %49 = load i8, ptr %38, align 4, !tbaa !15
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef nonnull %0, ptr noundef nonnull %21, ptr noundef nonnull @.str.20, i8 noundef signext %49, i32 noundef 29) #4
  %50 = load i8, ptr %38, align 4, !tbaa !15
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef nonnull %0, ptr noundef nonnull %22, ptr noundef nonnull @.str.21, i8 noundef signext %50, i32 noundef 28) #4
  %51 = load i8, ptr %38, align 4, !tbaa !15
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef nonnull %0, ptr noundef nonnull %23, ptr noundef nonnull @.str.31, i8 noundef signext %51, i32 noundef 27) #4
  %52 = load i8, ptr %38, align 4, !tbaa !15
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef nonnull %0, ptr noundef nonnull %24, ptr noundef nonnull @.str.32, i8 noundef signext %52, i32 noundef 26) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #4
  br label %53

53:                                               ; preds = %46, %39
  %54 = icmp eq i32 %11, 0
  br i1 %54, label %55, label %63

55:                                               ; preds = %53
  %56 = load i32, ptr %34, align 1, !tbaa !14
  %57 = and i32 %56, 7
  %.not = icmp eq i32 %57, 0
  br i1 %.not, label %63, label %58

58:                                               ; preds = %55
  %59 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !17
  %60 = icmp ugt i32 %59, 1
  %61 = load i32, ptr @libxsmm_verbosity, align 4
  %62 = select i1 %60, i32 %61, i32 1
  call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90016, ptr noundef nonnull @__func__.libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_microkernel, ptr noundef nonnull @.str, i32 noundef 4322, i32 noundef %62) #4
  br label %126

63:                                               ; preds = %55, %53
  %.not201 = icmp eq i32 %31, 0
  br i1 %.not201, label %76, label %64

64:                                               ; preds = %63
  %65 = select i1 %spec.select, i32 -1610346094, i32 -1610149486
  %66 = zext nneg i32 %31 to i64
  %notmask = shl nsw i64 -1, %66
  %67 = xor i64 %notmask, -1
  %68 = lshr exact i32 %28, 3
  %69 = add nsw i32 %68, -1
  %70 = and i32 %31, %69
  %71 = icmp eq i32 %70, 0
  %72 = shl nuw nsw i32 %70, 3
  %73 = zext nneg i32 %72 to i64
  %notmask202 = shl nsw i64 -1, %73
  %74 = xor i64 %notmask202, -1
  %75 = select i1 %71, i64 4294967295, i64 %74
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef -1568407413, i32 noundef %6, i64 noundef %67) #4
  call void @libxsmm_x86_instruction_mask_move(ptr noundef nonnull %0, i32 noundef %65, i32 noundef %6, i32 noundef %7) #4
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef -1568407413, i32 noundef %6, i64 noundef %75) #4
  call void @libxsmm_x86_instruction_mask_move(ptr noundef nonnull %0, i32 noundef %65, i32 noundef %6, i32 noundef %8) #4
  br label %76

76:                                               ; preds = %64, %63
  %.not203 = icmp ult i32 %35, 8
  br i1 %.not203, label %117, label %77

77:                                               ; preds = %76
  %78 = icmp ugt i32 %35, 15
  br i1 %78, label %79, label %82

79:                                               ; preds = %77
  %80 = getelementptr inbounds i8, ptr %9, i64 56
  %81 = load i32, ptr %80, align 4, !tbaa !18
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %81, i32 noundef %5, i64 noundef 0) #4
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef nonnull %0, ptr noundef %1) #4
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef 30000, i32 noundef %5, i64 noundef 8) #4
  br label %82

82:                                               ; preds = %79, %77
  switch i32 %33, label %83 [
    i32 0, label %88
    i32 1, label %.critedge
  ]

83:                                               ; preds = %82
  %84 = getelementptr inbounds i8, ptr %9, i64 56
  %85 = load i32, ptr %84, align 4, !tbaa !18
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %85, i32 noundef %4, i64 noundef 0) #4
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef nonnull %0, ptr noundef %1) #4
  %86 = zext nneg i32 %28 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef 30000, i32 noundef %4, i64 noundef %86) #4
  call void @libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_mnblock_micro_kernel(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %3, i32 noundef 0, i32 noundef 0, i32 noundef 31, i32 noundef 30, i32 noundef 29, i32 noundef 28, i32 noundef 27, i32 noundef 26, i32 noundef %28, i32 noundef 8, ptr noundef nonnull %9, ptr noundef nonnull %10)
  %87 = shl i32 %33, %32
  call void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %9, i32 noundef %4, i32 noundef %87) #4
  br label %88

.critedge:                                        ; preds = %82
  call void @libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_mnblock_micro_kernel(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %3, i32 noundef 0, i32 noundef 0, i32 noundef 31, i32 noundef 30, i32 noundef 29, i32 noundef 28, i32 noundef 27, i32 noundef 26, i32 noundef %28, i32 noundef 8, ptr noundef nonnull %9, ptr noundef nonnull %10)
  br label %88

88:                                               ; preds = %82, %.critedge, %83
  br i1 %.not201, label %90, label %89

89:                                               ; preds = %88
  call void @libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_mnblock_micro_kernel(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %3, i32 noundef %7, i32 noundef %8, i32 noundef 31, i32 noundef 30, i32 noundef 29, i32 noundef 28, i32 noundef 27, i32 noundef 26, i32 noundef %31, i32 noundef 8, ptr noundef nonnull %9, ptr noundef nonnull %10)
  br label %90

90:                                               ; preds = %89, %88
  %91 = getelementptr inbounds i8, ptr %10, i64 8
  %92 = load i32, ptr %91, align 1, !tbaa !19
  %93 = shl i32 %92, 3
  %94 = getelementptr inbounds i8, ptr %9, i64 8
  %95 = load i32, ptr %94, align 4, !tbaa !20
  %96 = mul i32 %93, %95
  %97 = zext i32 %96 to i64
  %98 = zext i32 %95 to i64
  %99 = load i32, ptr %10, align 1, !tbaa !11
  %100 = zext i32 %99 to i64
  %101 = mul nuw nsw i64 %100, %98
  %102 = sub nsw i64 %97, %101
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef 30000, i32 noundef %2, i64 noundef %102) #4
  %103 = getelementptr inbounds i8, ptr %10, i64 12
  %104 = load i32, ptr %103, align 1, !tbaa !21
  %105 = shl i32 %104, 3
  %106 = getelementptr inbounds i8, ptr %9, i64 20
  %107 = load i32, ptr %106, align 4, !tbaa !22
  %108 = mul i32 %105, %107
  %109 = zext i32 %108 to i64
  %110 = zext i32 %107 to i64
  %111 = load i32, ptr %10, align 1, !tbaa !11
  %112 = zext i32 %111 to i64
  %113 = shl nuw nsw i64 %110, 3
  %114 = mul i64 %113, %112
  %115 = sub nsw i64 %109, %114
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef 30000, i32 noundef %3, i64 noundef %115) #4
  br i1 %78, label %116, label %117

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

117:                                              ; preds = %90, %116, %76
  %.not206 = icmp eq i32 %36, 0
  br i1 %.not206, label %126, label %118

118:                                              ; preds = %117
  switch i32 %33, label %119 [
    i32 0, label %124
    i32 1, label %.critedge210
  ]

119:                                              ; preds = %118
  %120 = getelementptr inbounds i8, ptr %9, i64 56
  %121 = load i32, ptr %120, align 4, !tbaa !18
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %121, i32 noundef %4, i64 noundef 0) #4
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef nonnull %0, ptr noundef %1) #4
  %122 = zext nneg i32 %28 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef 30000, i32 noundef %4, i64 noundef %122) #4
  call void @libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_mnblock_micro_kernel(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %3, i32 noundef 0, i32 noundef 0, i32 noundef 31, i32 noundef 30, i32 noundef 29, i32 noundef 28, i32 noundef 27, i32 noundef 26, i32 noundef %28, i32 noundef %36, ptr noundef nonnull %9, ptr noundef nonnull %10)
  %123 = shl i32 %33, %32
  call void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %9, i32 noundef %4, i32 noundef %123) #4
  br label %124

.critedge210:                                     ; preds = %118
  call void @libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_mnblock_micro_kernel(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %3, i32 noundef 0, i32 noundef 0, i32 noundef 31, i32 noundef 30, i32 noundef 29, i32 noundef 28, i32 noundef 27, i32 noundef 26, i32 noundef %28, i32 noundef %36, ptr noundef nonnull %9, ptr noundef nonnull %10)
  br label %124

124:                                              ; preds = %118, %.critedge210, %119
  br i1 %.not201, label %126, label %125

125:                                              ; preds = %124
  call void @libxsmm_generator_transform_norm_to_vnni8_16bit_avx512_mnblock_micro_kernel(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %3, i32 noundef %7, i32 noundef %8, i32 noundef 31, i32 noundef 30, i32 noundef 29, i32 noundef 28, i32 noundef 27, i32 noundef 26, i32 noundef %31, i32 noundef %36, ptr noundef nonnull %9, ptr noundef nonnull %10)
  br label %126

126:                                              ; preds = %117, %125, %124, %58
  ret void
}

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

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

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


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