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

; 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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_transform_norm_padnm_mod2_16bit_avx512_mnblock_micro_kernel(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %8, ptr noundef %9) #2 {
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  store ptr %0, ptr %11, align 8, !tbaa !5
  store i32 %1, ptr %12, align 4, !tbaa !9
  store i32 %2, ptr %13, align 4, !tbaa !9
  store i32 %3, ptr %14, align 4, !tbaa !9
  store i32 %4, ptr %15, align 4, !tbaa !9
  store i32 %5, ptr %16, align 4, !tbaa !9
  store i32 %6, ptr %17, align 4, !tbaa !9
  store i32 %7, ptr %18, align 4, !tbaa !9
  store ptr %8, ptr %19, align 8, !tbaa !5
  store ptr %9, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #3
  store i32 0, ptr %21, align 4, !tbaa !9
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %22

22:                                               ; preds = %49, %10
  %23 = load i32, ptr %21, align 4, !tbaa !9
  %24 = load i32, ptr %18, align 4, !tbaa !9
  %25 = icmp ult i32 %23, %24
  br i1 %25, label %26, label %52

26:                                               ; preds = %22
  %27 = load ptr, ptr %11, align 8, !tbaa !5
  %28 = load ptr, ptr %11, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %28, i32 0, i32 6
  %30 = load i32, ptr %29, align 4, !tbaa !11
  %31 = load ptr, ptr %19, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %31, i32 0, i32 6
  %33 = load i32, ptr %32, align 4, !tbaa !13
  %34 = load i32, ptr %12, align 4, !tbaa !9
  %35 = load i32, ptr %21, align 4, !tbaa !9
  %36 = load ptr, ptr %20, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %36, i32 0, i32 2
  %38 = load i32, ptr %37, align 1, !tbaa !15
  %39 = mul i32 %35, %38
  %40 = load ptr, ptr %19, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %40, i32 0, i32 2
  %42 = load i32, ptr %41, align 4, !tbaa !18
  %43 = mul i32 %39, %42
  %44 = load ptr, ptr %19, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %44, i32 0, i32 128
  %46 = load i8, ptr %45, align 4, !tbaa !19
  %47 = load i32, ptr %21, align 4, !tbaa !9
  %48 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_move(ptr noundef %27, i32 noundef %30, i32 noundef %33, i32 noundef %34, i32 noundef 127, i32 noundef 0, i32 noundef %43, i8 noundef signext %46, i32 noundef %47, i32 noundef %48, i32 noundef 1, i32 noundef 0)
  br label %49

49:                                               ; preds = %26
  %50 = load i32, ptr %21, align 4, !tbaa !9
  %51 = add i32 %50, 1
  store i32 %51, ptr %21, align 4, !tbaa !9
  br label %22, !llvm.loop !20

52:                                               ; preds = %22
  %53 = load i32, ptr %18, align 4, !tbaa !9
  %54 = urem i32 %53, 2
  %55 = icmp eq i32 %54, 1
  br i1 %55, label %56, label %76

56:                                               ; preds = %52
  %57 = load ptr, ptr %20, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %57, i32 0, i32 10
  %59 = load i16, ptr %58, align 1, !tbaa !22
  %60 = zext i16 %59 to i32
  %61 = icmp eq i32 %60, 40
  br i1 %61, label %68, label %62

62:                                               ; preds = %56
  %63 = load ptr, ptr %20, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %63, i32 0, i32 10
  %65 = load i16, ptr %64, align 1, !tbaa !22
  %66 = zext i16 %65 to i32
  %67 = icmp eq i32 %66, 41
  br i1 %67, label %68, label %76

68:                                               ; preds = %62, %56
  %69 = load ptr, ptr %11, align 8, !tbaa !5
  %70 = load ptr, ptr %19, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %70, i32 0, i32 128
  %72 = load i8, ptr %71, align 4, !tbaa !19
  %73 = load i32, ptr %21, align 4, !tbaa !9
  %74 = load i32, ptr %21, align 4, !tbaa !9
  %75 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef %69, i32 noundef 805639919, i8 noundef signext %72, i32 noundef %73, i32 noundef %74, i32 noundef %75)
  br label %76

76:                                               ; preds = %68, %62, %52
  %77 = load ptr, ptr %11, align 8, !tbaa !5
  %78 = load i32, ptr %12, align 4, !tbaa !9
  %79 = load i32, ptr %16, align 4, !tbaa !9
  %80 = zext i32 %79 to i64
  %81 = load ptr, ptr %19, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %81, i32 0, i32 2
  %83 = load i32, ptr %82, align 4, !tbaa !18
  %84 = zext i32 %83 to i64
  %85 = mul nsw i64 %80, %84
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %77, i32 noundef 30000, i32 noundef %78, i64 noundef %85)
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %86

86:                                               ; preds = %113, %76
  %87 = load i32, ptr %21, align 4, !tbaa !9
  %88 = load i32, ptr %18, align 4, !tbaa !9
  %89 = icmp ult i32 %87, %88
  br i1 %89, label %90, label %116

90:                                               ; preds = %86
  %91 = load ptr, ptr %11, align 8, !tbaa !5
  %92 = load ptr, ptr %11, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %92, i32 0, i32 6
  %94 = load i32, ptr %93, align 4, !tbaa !11
  %95 = load ptr, ptr %19, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %95, i32 0, i32 9
  %97 = load i32, ptr %96, align 4, !tbaa !23
  %98 = load i32, ptr %13, align 4, !tbaa !9
  %99 = load i32, ptr %21, align 4, !tbaa !9
  %100 = load ptr, ptr %20, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %100, i32 0, i32 3
  %102 = load i32, ptr %101, align 1, !tbaa !24
  %103 = mul i32 %99, %102
  %104 = load ptr, ptr %19, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %104, i32 0, i32 5
  %106 = load i32, ptr %105, align 4, !tbaa !25
  %107 = mul i32 %103, %106
  %108 = load ptr, ptr %19, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %108, i32 0, i32 128
  %110 = load i8, ptr %109, align 4, !tbaa !19
  %111 = load i32, ptr %21, align 4, !tbaa !9
  %112 = load i32, ptr %15, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_move(ptr noundef %91, i32 noundef %94, i32 noundef %97, i32 noundef %98, i32 noundef 127, i32 noundef 0, i32 noundef %107, i8 noundef signext %110, i32 noundef %111, i32 noundef %112, i32 noundef 0, i32 noundef 1)
  br label %113

113:                                              ; preds = %90
  %114 = load i32, ptr %21, align 4, !tbaa !9
  %115 = add i32 %114, 1
  store i32 %115, ptr %21, align 4, !tbaa !9
  br label %86, !llvm.loop !26

116:                                              ; preds = %86
  %117 = load i32, ptr %18, align 4, !tbaa !9
  %118 = urem i32 %117, 2
  %119 = icmp eq i32 %118, 1
  br i1 %119, label %120, label %155

120:                                              ; preds = %116
  %121 = load ptr, ptr %20, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %121, i32 0, i32 10
  %123 = load i16, ptr %122, align 1, !tbaa !22
  %124 = zext i16 %123 to i32
  %125 = icmp eq i32 %124, 40
  br i1 %125, label %132, label %126

126:                                              ; preds = %120
  %127 = load ptr, ptr %20, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %127, i32 0, i32 10
  %129 = load i16, ptr %128, align 1, !tbaa !22
  %130 = zext i16 %129 to i32
  %131 = icmp eq i32 %130, 41
  br i1 %131, label %132, label %155

132:                                              ; preds = %126, %120
  %133 = load ptr, ptr %11, align 8, !tbaa !5
  %134 = load ptr, ptr %11, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %134, i32 0, i32 6
  %136 = load i32, ptr %135, align 4, !tbaa !11
  %137 = load ptr, ptr %19, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %137, i32 0, i32 9
  %139 = load i32, ptr %138, align 4, !tbaa !23
  %140 = load i32, ptr %13, align 4, !tbaa !9
  %141 = load i32, ptr %21, align 4, !tbaa !9
  %142 = load ptr, ptr %20, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %142, i32 0, i32 3
  %144 = load i32, ptr %143, align 1, !tbaa !24
  %145 = mul i32 %141, %144
  %146 = load ptr, ptr %19, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %146, i32 0, i32 5
  %148 = load i32, ptr %147, align 4, !tbaa !25
  %149 = mul i32 %145, %148
  %150 = load ptr, ptr %19, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %150, i32 0, i32 128
  %152 = load i8, ptr %151, align 4, !tbaa !19
  %153 = load i32, ptr %21, align 4, !tbaa !9
  %154 = load i32, ptr %15, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_move(ptr noundef %133, i32 noundef %136, i32 noundef %139, i32 noundef %140, i32 noundef 127, i32 noundef 0, i32 noundef %149, i8 noundef signext %152, i32 noundef %153, i32 noundef %154, i32 noundef 0, i32 noundef 1)
  br label %155

155:                                              ; preds = %132, %126, %116
  %156 = load ptr, ptr %11, align 8, !tbaa !5
  %157 = load i32, ptr %13, align 4, !tbaa !9
  %158 = load i32, ptr %17, align 4, !tbaa !9
  %159 = zext i32 %158 to i64
  %160 = load ptr, ptr %19, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %160, i32 0, i32 5
  %162 = load i32, ptr %161, align 4, !tbaa !25
  %163 = zext i32 %162 to i64
  %164 = mul nsw i64 %159, %163
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %156, i32 noundef 30000, i32 noundef %157, i64 noundef %164)
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #3
  ret void
}

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 = { 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 #3 = { 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 24}
!14 = !{!"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}
!15 = !{!16, !10, i64 8}
!16 = !{!"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, !17, i64 27, !17, i64 29, !7, i64 31}
!17 = !{!"short", !7, i64 0}
!18 = !{!14, !10, i64 8}
!19 = !{!14, !7, i64 512}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!16, !17, i64 29}
!23 = !{!14, !10, i64 36}
!24 = !{!16, !10, i64 12}
!25 = !{!14, !10, i64 20}
!26 = distinct !{!26, !21}


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

declare void @libxsmm_x86_instruction_vec_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

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

declare void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_transform_norm_padnm_mod2_16bit_avx512_mnblock_micro_kernel(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr nocapture noundef readonly %8, ptr nocapture noundef readonly %9) local_unnamed_addr #1 {
  %.not65 = icmp eq i32 %7, 0
  br i1 %.not65, label %33, label %.lr.ph

.lr.ph:                                           ; preds = %10
  %11 = getelementptr inbounds i8, ptr %0, i64 28
  %12 = getelementptr inbounds i8, ptr %8, i64 24
  %13 = getelementptr inbounds i8, ptr %9, i64 8
  %14 = getelementptr inbounds i8, ptr %8, i64 8
  %15 = getelementptr inbounds i8, ptr %8, i64 512
  br label %16

16:                                               ; preds = %.lr.ph, %16
  %.059 = phi i32 [ 0, %.lr.ph ], [ %24, %16 ]
  %17 = load i32, ptr %11, align 4, !tbaa !5
  %18 = load i32, ptr %12, align 4, !tbaa !11
  %19 = load i32, ptr %13, align 1, !tbaa !13
  %20 = mul i32 %19, %.059
  %21 = load i32, ptr %14, align 4, !tbaa !16
  %22 = mul i32 %20, %21
  %23 = load i8, ptr %15, align 4, !tbaa !17
  tail call void @libxsmm_x86_instruction_vec_move(ptr noundef %0, i32 noundef %17, i32 noundef %18, i32 noundef %1, i32 noundef 127, i32 noundef 0, i32 noundef %22, i8 noundef signext %23, i32 noundef %.059, i32 noundef %3, i32 noundef 1, i32 noundef 0) #2
  %24 = add nuw i32 %.059, 1
  %exitcond.not = icmp eq i32 %24, %7
  br i1 %exitcond.not, label %._crit_edge, label %16, !llvm.loop !18

._crit_edge:                                      ; preds = %16
  %25 = and i32 %7, 1
  %.not = icmp eq i32 %25, 0
  br i1 %.not, label %.lr.ph62, label %26

26:                                               ; preds = %._crit_edge
  %27 = getelementptr inbounds i8, ptr %9, i64 29
  %28 = load i16, ptr %27, align 1, !tbaa !20
  %29 = and i16 %28, -2
  %switch = icmp eq i16 %29, 40
  br i1 %switch, label %30, label %.lr.ph62

30:                                               ; preds = %26
  %31 = getelementptr inbounds i8, ptr %8, i64 512
  %32 = load i8, ptr %31, align 4, !tbaa !17
  tail call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef nonnull %0, i32 noundef 805639919, i8 noundef signext %32, i32 noundef %7, i32 noundef %7, i32 noundef %7) #2
  br label %.lr.ph62

33:                                               ; preds = %10
  %34 = zext i32 %5 to i64
  %35 = getelementptr inbounds i8, ptr %8, i64 8
  %36 = load i32, ptr %35, align 4, !tbaa !16
  %37 = zext i32 %36 to i64
  %38 = mul nuw nsw i64 %37, %34
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %1, i64 noundef %38) #2
  br label %75

.lr.ph62:                                         ; preds = %26, %30, %._crit_edge
  %39 = zext i32 %5 to i64
  %40 = getelementptr inbounds i8, ptr %8, i64 8
  %41 = load i32, ptr %40, align 4, !tbaa !16
  %42 = zext i32 %41 to i64
  %43 = mul nuw nsw i64 %42, %39
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef 30000, i32 noundef %1, i64 noundef %43) #2
  %44 = getelementptr inbounds i8, ptr %0, i64 28
  %45 = getelementptr inbounds i8, ptr %8, i64 36
  %46 = getelementptr inbounds i8, ptr %9, i64 12
  %47 = getelementptr inbounds i8, ptr %8, i64 20
  %48 = getelementptr inbounds i8, ptr %8, i64 512
  br label %49

49:                                               ; preds = %.lr.ph62, %49
  %.160 = phi i32 [ 0, %.lr.ph62 ], [ %57, %49 ]
  %50 = load i32, ptr %44, align 4, !tbaa !5
  %51 = load i32, ptr %45, align 4, !tbaa !21
  %52 = load i32, ptr %46, align 1, !tbaa !22
  %53 = mul i32 %52, %.160
  %54 = load i32, ptr %47, align 4, !tbaa !23
  %55 = mul i32 %53, %54
  %56 = load i8, ptr %48, align 4, !tbaa !17
  tail call void @libxsmm_x86_instruction_vec_move(ptr noundef nonnull %0, i32 noundef %50, i32 noundef %51, i32 noundef %2, i32 noundef 127, i32 noundef 0, i32 noundef %55, i8 noundef signext %56, i32 noundef %.160, i32 noundef %4, i32 noundef 0, i32 noundef 1) #2
  %57 = add nuw i32 %.160, 1
  %exitcond68.not = icmp eq i32 %57, %7
  br i1 %exitcond68.not, label %._crit_edge63, label %49, !llvm.loop !24

._crit_edge63:                                    ; preds = %49
  br i1 %.not, label %75, label %58

58:                                               ; preds = %._crit_edge63
  %59 = getelementptr inbounds i8, ptr %9, i64 29
  %60 = load i16, ptr %59, align 1, !tbaa !20
  %61 = and i16 %60, -2
  %switch58 = icmp eq i16 %61, 40
  br i1 %switch58, label %62, label %75

62:                                               ; preds = %58
  %63 = getelementptr inbounds i8, ptr %0, i64 28
  %64 = load i32, ptr %63, align 4, !tbaa !5
  %65 = getelementptr inbounds i8, ptr %8, i64 36
  %66 = load i32, ptr %65, align 4, !tbaa !21
  %67 = getelementptr inbounds i8, ptr %9, i64 12
  %68 = load i32, ptr %67, align 1, !tbaa !22
  %69 = mul i32 %68, %7
  %70 = getelementptr inbounds i8, ptr %8, i64 20
  %71 = load i32, ptr %70, align 4, !tbaa !23
  %72 = mul i32 %69, %71
  %73 = getelementptr inbounds i8, ptr %8, i64 512
  %74 = load i8, ptr %73, align 4, !tbaa !17
  tail call void @libxsmm_x86_instruction_vec_move(ptr noundef nonnull %0, i32 noundef %64, i32 noundef %66, i32 noundef %2, i32 noundef 127, i32 noundef 0, i32 noundef %72, i8 noundef signext %74, i32 noundef %7, i32 noundef %4, i32 noundef 0, i32 noundef 1) #2
  br label %75

75:                                               ; preds = %33, %58, %62, %._crit_edge63
  %76 = zext i32 %6 to i64
  %77 = getelementptr inbounds i8, ptr %8, i64 20
  %78 = load i32, ptr %77, align 4, !tbaa !23
  %79 = zext i32 %78 to i64
  %80 = mul nuw nsw i64 %79, %76
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %2, i64 noundef %80) #2
  ret void
}

attributes #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 #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 = { 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 24}
!12 = !{!"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}
!13 = !{!14, !10, i64 8}
!14 = !{!"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, !15, i64 27, !15, i64 29, !8, i64 31}
!15 = !{!"short", !8, i64 0}
!16 = !{!12, !10, i64 8}
!17 = !{!12, !8, i64 512}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!14, !15, i64 29}
!21 = !{!12, !10, i64 36}
!22 = !{!14, !10, i64 12}
!23 = !{!12, !10, i64 20}
!24 = distinct !{!24, !19}


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