; 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_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
@__func__.libxsmm_generator_transform_copy_avx512_microkernel = external hidden unnamed_addr constant [52 x i8], align 1

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_transform_copy_avx512_microkernel(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11) #1 {
  %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 ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  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 ptr %6, ptr %19, align 8, !tbaa !5
  store i32 %7, ptr %20, align 4, !tbaa !9
  store i32 %8, ptr %21, align 4, !tbaa !9
  store i32 %9, ptr %22, align 4, !tbaa !9
  store i32 %10, ptr %23, align 4, !tbaa !9
  store i32 %11, ptr %24, align 4, !tbaa !9
  %25 = load i32, ptr %22, align 4, !tbaa !9
  %26 = load ptr, ptr %19, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %26, i32 0, i32 2
  %28 = load i32, ptr %27, align 4, !tbaa !11
  %29 = mul i32 %25, %28
  %30 = urem i32 %29, 64
  %31 = icmp ne i32 %30, 0
  br i1 %31, label %37, label %32

32:                                               ; preds = %12
  %33 = load i32, ptr %23, align 4, !tbaa !9
  %34 = load i32, ptr %24, align 4, !tbaa !9
  %35 = urem i32 %33, %34
  %36 = icmp ne i32 %35, 0
  br i1 %36, label %37, label %46

37:                                               ; preds = %32, %12
  %38 = load ptr, ptr %13, align 8, !tbaa !5
  %39 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %40 = icmp ult i32 1, %39
  br i1 %40, label %41, label %43

41:                                               ; preds = %37
  %42 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %44

43:                                               ; preds = %37
  br label %44

44:                                               ; preds = %43, %41
  %45 = phi i32 [ %42, %41 ], [ 1, %43 ]
  call void @libxsmm_handle_error(ptr noundef %38, i32 noundef 90000, ptr noundef @__func__.libxsmm_generator_transform_copy_avx512_microkernel, ptr noundef @.str, i32 noundef 832, i32 noundef %45)
  br label %157

46:                                               ; preds = %32
  %47 = load ptr, ptr %13, align 8, !tbaa !5
  %48 = load ptr, ptr %19, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %48, i32 0, i32 14
  %50 = load i32, ptr %49, align 4, !tbaa !13
  %51 = load i32, ptr %17, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %47, i32 noundef %50, i32 noundef %51, i64 noundef 0)
  %52 = load ptr, ptr %13, align 8, !tbaa !5
  %53 = load ptr, ptr %14, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %52, ptr noundef %53)
  %54 = load ptr, ptr %13, align 8, !tbaa !5
  %55 = load i32, ptr %17, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %54, i32 noundef 30000, i32 noundef %55, i64 noundef 64)
  %56 = load ptr, ptr %13, align 8, !tbaa !5
  %57 = load ptr, ptr %19, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %57, i32 0, i32 14
  %59 = load i32, ptr %58, align 4, !tbaa !13
  %60 = load i32, ptr %18, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %56, i32 noundef %59, i32 noundef %60, i64 noundef 0)
  %61 = load ptr, ptr %13, align 8, !tbaa !5
  %62 = load ptr, ptr %14, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %61, ptr noundef %62)
  %63 = load ptr, ptr %13, align 8, !tbaa !5
  %64 = load i32, ptr %18, align 4, !tbaa !9
  %65 = load i32, ptr %24, align 4, !tbaa !9
  %66 = zext i32 %65 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %63, i32 noundef 30000, i32 noundef %64, i64 noundef %66)
  %67 = load ptr, ptr %13, align 8, !tbaa !5
  %68 = load ptr, ptr %19, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %68, i32 0, i32 128
  %70 = load i8, ptr %69, align 4, !tbaa !14
  %71 = load i32, ptr %15, align 4, !tbaa !9
  %72 = load i32, ptr %20, align 4, !tbaa !9
  %73 = load ptr, ptr %19, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %73, i32 0, i32 2
  %75 = load i32, ptr %74, align 4, !tbaa !11
  %76 = mul i32 %72, %75
  %77 = load ptr, ptr %19, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %77, i32 0, i32 6
  %79 = load i32, ptr %78, align 4, !tbaa !15
  %80 = load i32, ptr %24, align 4, !tbaa !9
  %81 = load i32, ptr %24, align 4, !tbaa !9
  call void @libxsmm_generator_transform_Xway_full_load_avx_avx512(ptr noundef %67, i8 noundef signext %70, i32 noundef %71, i32 noundef 0, i32 noundef %76, i32 noundef %79, i32 noundef %80, i32 noundef %81, i32 noundef 0, i32 noundef 0)
  %82 = load ptr, ptr %13, align 8, !tbaa !5
  %83 = load ptr, ptr %19, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %83, i32 0, i32 128
  %85 = load i8, ptr %84, align 4, !tbaa !14
  %86 = load i32, ptr %16, align 4, !tbaa !9
  %87 = load i32, ptr %21, align 4, !tbaa !9
  %88 = load ptr, ptr %19, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %88, i32 0, i32 5
  %90 = load i32, ptr %89, align 4, !tbaa !16
  %91 = mul i32 %87, %90
  %92 = load ptr, ptr %19, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %92, i32 0, i32 9
  %94 = load i32, ptr %93, align 4, !tbaa !17
  %95 = load i32, ptr %24, align 4, !tbaa !9
  call void @libxsmm_generator_transform_Xway_full_store_avx_avx512(ptr noundef %82, i8 noundef signext %85, i32 noundef %86, i32 noundef 0, i32 noundef %91, i32 noundef %94, i32 noundef 0, i32 noundef 0, i32 noundef %95)
  %96 = load ptr, ptr %13, align 8, !tbaa !5
  %97 = load i32, ptr %15, align 4, !tbaa !9
  %98 = load i32, ptr %20, align 4, !tbaa !9
  %99 = zext i32 %98 to i64
  %100 = load ptr, ptr %19, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %100, i32 0, i32 2
  %102 = load i32, ptr %101, align 4, !tbaa !11
  %103 = zext i32 %102 to i64
  %104 = mul nsw i64 %99, %103
  %105 = load i32, ptr %24, align 4, !tbaa !9
  %106 = zext i32 %105 to i64
  %107 = mul nsw i64 %104, %106
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %96, i32 noundef 30000, i32 noundef %97, i64 noundef %107)
  %108 = load ptr, ptr %13, align 8, !tbaa !5
  %109 = load i32, ptr %16, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %108, i32 noundef 30000, i32 noundef %109, i64 noundef 64)
  %110 = load ptr, ptr %13, align 8, !tbaa !5
  %111 = load ptr, ptr %14, align 8, !tbaa !5
  %112 = load ptr, ptr %19, align 8, !tbaa !5
  %113 = load i32, ptr %18, align 4, !tbaa !9
  %114 = load i32, ptr %23, align 4, !tbaa !9
  call void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef %110, ptr noundef %111, ptr noundef %112, i32 noundef %113, i32 noundef %114)
  %115 = load ptr, ptr %13, align 8, !tbaa !5
  %116 = load i32, ptr %16, align 4, !tbaa !9
  %117 = load i32, ptr %24, align 4, !tbaa !9
  %118 = zext i32 %117 to i64
  %119 = load i32, ptr %21, align 4, !tbaa !9
  %120 = zext i32 %119 to i64
  %121 = mul nsw i64 %118, %120
  %122 = load ptr, ptr %19, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %122, i32 0, i32 5
  %124 = load i32, ptr %123, align 4, !tbaa !16
  %125 = zext i32 %124 to i64
  %126 = mul nsw i64 %121, %125
  %127 = load ptr, ptr %19, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %127, i32 0, i32 2
  %129 = load i32, ptr %128, align 4, !tbaa !11
  %130 = zext i32 %129 to i64
  %131 = load i32, ptr %23, align 4, !tbaa !9
  %132 = zext i32 %131 to i64
  %133 = mul nsw i64 %130, %132
  %134 = sub nsw i64 %126, %133
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %115, i32 noundef 30000, i32 noundef %116, i64 noundef %134)
  %135 = load ptr, ptr %13, align 8, !tbaa !5
  %136 = load i32, ptr %15, align 4, !tbaa !9
  %137 = load i32, ptr %20, align 4, !tbaa !9
  %138 = zext i32 %137 to i64
  %139 = load ptr, ptr %19, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %139, i32 0, i32 2
  %141 = load i32, ptr %140, align 4, !tbaa !11
  %142 = zext i32 %141 to i64
  %143 = mul nsw i64 %138, %142
  %144 = load i32, ptr %23, align 4, !tbaa !9
  %145 = zext i32 %144 to i64
  %146 = mul nsw i64 %143, %145
  %147 = sub nsw i64 %146, 64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %135, i32 noundef 30008, i32 noundef %136, i64 noundef %147)
  %148 = load ptr, ptr %13, align 8, !tbaa !5
  %149 = load ptr, ptr %14, align 8, !tbaa !5
  %150 = load ptr, ptr %19, align 8, !tbaa !5
  %151 = load i32, ptr %17, align 4, !tbaa !9
  %152 = load i32, ptr %22, align 4, !tbaa !9
  %153 = load ptr, ptr %19, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %153, i32 0, i32 2
  %155 = load i32, ptr %154, align 4, !tbaa !11
  %156 = mul i32 %152, %155
  call void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef %148, ptr noundef %149, ptr noundef %150, i32 noundef %151, i32 noundef %156)
  br label %157

157:                                              ; preds = %46, %44
  ret void
}

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

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

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

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


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

@.str = 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
@__func__.libxsmm_generator_transform_copy_avx512_microkernel = external hidden unnamed_addr constant [52 x i8], align 1

declare void @libxsmm_handle_error(ptr noundef, i32 noundef, ptr noundef, ptr 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_register_jump_back_label(ptr noundef, ptr noundef) local_unnamed_addr #0

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_transform_copy_avx512_microkernel(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11) local_unnamed_addr #1 {
  %13 = getelementptr inbounds i8, ptr %6, i64 8
  %14 = load i32, ptr %13, align 4, !tbaa !5
  %15 = mul i32 %14, %9
  %16 = and i32 %15, 63
  %.not = icmp eq i32 %16, 0
  br i1 %.not, label %17, label %19

17:                                               ; preds = %12
  %18 = urem i32 %10, %11
  %.not64 = icmp eq i32 %18, 0
  br i1 %.not64, label %24, label %19

19:                                               ; preds = %17, %12
  %20 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !10
  %21 = icmp ugt i32 %20, 1
  %22 = load i32, ptr @libxsmm_verbosity, align 4
  %23 = select i1 %21, i32 %22, i32 1
  tail call void @libxsmm_handle_error(ptr noundef %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_generator_transform_copy_avx512_microkernel, ptr noundef nonnull @.str, i32 noundef 832, i32 noundef %23) #2
  br label %63

24:                                               ; preds = %17
  %25 = getelementptr inbounds i8, ptr %6, i64 56
  %26 = load i32, ptr %25, align 4, !tbaa !11
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %26, i32 noundef %4, i64 noundef 0) #2
  tail call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %0, ptr noundef %1) #2
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %4, i64 noundef 64) #2
  %27 = load i32, ptr %25, align 4, !tbaa !11
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %27, i32 noundef %5, i64 noundef 0) #2
  tail call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %0, ptr noundef %1) #2
  %28 = zext i32 %11 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %5, i64 noundef %28) #2
  %29 = getelementptr inbounds i8, ptr %6, i64 512
  %30 = load i8, ptr %29, align 4, !tbaa !12
  %31 = load i32, ptr %13, align 4, !tbaa !5
  %32 = mul i32 %31, %7
  %33 = getelementptr inbounds i8, ptr %6, i64 24
  %34 = load i32, ptr %33, align 4, !tbaa !13
  tail call void @libxsmm_generator_transform_Xway_full_load_avx_avx512(ptr noundef %0, i8 noundef signext %30, i32 noundef %2, i32 noundef 0, i32 noundef %32, i32 noundef %34, i32 noundef %11, i32 noundef %11, i32 noundef 0, i32 noundef 0) #2
  %35 = load i8, ptr %29, align 4, !tbaa !12
  %36 = getelementptr inbounds i8, ptr %6, i64 20
  %37 = load i32, ptr %36, align 4, !tbaa !14
  %38 = mul i32 %37, %8
  %39 = getelementptr inbounds i8, ptr %6, i64 36
  %40 = load i32, ptr %39, align 4, !tbaa !15
  tail call void @libxsmm_generator_transform_Xway_full_store_avx_avx512(ptr noundef %0, i8 noundef signext %35, i32 noundef %3, i32 noundef 0, i32 noundef %38, i32 noundef %40, i32 noundef 0, i32 noundef 0, i32 noundef %11) #2
  %41 = zext i32 %7 to i64
  %42 = load i32, ptr %13, align 4, !tbaa !5
  %43 = zext i32 %42 to i64
  %44 = mul nuw i64 %28, %41
  %45 = mul i64 %44, %43
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %2, i64 noundef %45) #2
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %3, i64 noundef 64) #2
  tail call void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %6, i32 noundef %5, i32 noundef %10) #2
  %46 = zext i32 %8 to i64
  %47 = mul nuw nsw i64 %28, %46
  %48 = load i32, ptr %36, align 4, !tbaa !14
  %49 = zext i32 %48 to i64
  %50 = mul nuw nsw i64 %47, %49
  %51 = load i32, ptr %13, align 4, !tbaa !5
  %52 = zext i32 %51 to i64
  %53 = zext i32 %10 to i64
  %54 = mul nuw nsw i64 %52, %53
  %55 = sub nsw i64 %50, %54
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %3, i64 noundef %55) #2
  %56 = load i32, ptr %13, align 4, !tbaa !5
  %57 = zext i32 %56 to i64
  %58 = mul nuw i64 %53, %41
  %59 = mul i64 %58, %57
  %60 = add nsw i64 %59, -64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30008, i32 noundef %2, i64 noundef %60) #2
  %61 = load i32, ptr %13, align 4, !tbaa !5
  %62 = mul i32 %61, %9
  tail call void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %6, i32 noundef %4, i32 noundef %62) #2
  br label %63

63:                                               ; preds = %24, %19
  ret void
}

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

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


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