; LLVM IR from ggml-org/ggml :: tests (test-mul-mat2)

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

@.str = external hidden unnamed_addr constant [12 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [69 x i8], align 1
@__PRETTY_FUNCTION__.quantize_4_row = external hidden unnamed_addr constant [64 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local float @frand() #0

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
define dso_local void @quantize_4_row(ptr noalias noundef %0, ptr noalias noundef %1, i32 noundef %2) #0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca [32 x i8], align 16
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca i32, align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca i32, align 4
  %21 = alloca float, align 4
  %22 = alloca i8, align 1
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  %23 = load i32, ptr %6, align 4, !tbaa !9
  %24 = srem i32 %23, 64
  %25 = icmp eq i32 %24, 0
  br i1 %25, label %26, label %27

26:                                               ; preds = %3
  br label %28

27:                                               ; preds = %3
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 1042, ptr noundef @__PRETTY_FUNCTION__.quantize_4_row) #6
  unreachable

28:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  %29 = load i32, ptr %6, align 4, !tbaa !9
  %30 = call i32 @quantize_4_blocks_per_row(i32 noundef %29)
  store i32 %30, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %31, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  %33 = load i32, ptr %7, align 4, !tbaa !9
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds float, ptr %32, i64 %34
  store ptr %35, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %36 = load ptr, ptr %9, align 8, !tbaa !5
  %37 = load i32, ptr %7, align 4, !tbaa !9
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds float, ptr %36, i64 %38
  store ptr %39, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %40

40:                                               ; preds = %147, %28
  %41 = load i32, ptr %12, align 4, !tbaa !9
  %42 = load i32, ptr %7, align 4, !tbaa !9
  %43 = icmp slt i32 %41, %42
  br i1 %43, label %45, label %44

44:                                               ; preds = %40
  store i32 2, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  br label %150

45:                                               ; preds = %40
  %46 = getelementptr inbounds [32 x i8], ptr %11, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %46, i8 0, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store float 0x47EFFFFFE0000000, ptr %14, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  store float 0xC7EFFFFFE0000000, ptr %15, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %47

47:                                               ; preds = %72, %45
  %48 = load i32, ptr %16, align 4, !tbaa !9
  %49 = icmp slt i32 %48, 64
  br i1 %49, label %51, label %50

50:                                               ; preds = %47
  store i32 5, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  br label %75

51:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = load i32, ptr %12, align 4, !tbaa !9
  %54 = mul nsw i32 %53, 64
  %55 = load i32, ptr %16, align 4, !tbaa !9
  %56 = add nsw i32 %54, %55
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds float, ptr %52, i64 %57
  %59 = load float, ptr %58, align 4, !tbaa !11
  store float %59, ptr %17, align 4, !tbaa !11
  %60 = load float, ptr %17, align 4, !tbaa !11
  %61 = load float, ptr %14, align 4, !tbaa !11
  %62 = fcmp olt float %60, %61
  br i1 %62, label %63, label %65

63:                                               ; preds = %51
  %64 = load float, ptr %17, align 4, !tbaa !11
  store float %64, ptr %14, align 4, !tbaa !11
  br label %65

65:                                               ; preds = %63, %51
  %66 = load float, ptr %17, align 4, !tbaa !11
  %67 = load float, ptr %15, align 4, !tbaa !11
  %68 = fcmp ogt float %66, %67
  br i1 %68, label %69, label %71

69:                                               ; preds = %65
  %70 = load float, ptr %17, align 4, !tbaa !11
  store float %70, ptr %15, align 4, !tbaa !11
  br label %71

71:                                               ; preds = %69, %65
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %72

72:                                               ; preds = %71
  %73 = load i32, ptr %16, align 4, !tbaa !9
  %74 = add nsw i32 %73, 1
  store i32 %74, ptr %16, align 4, !tbaa !9
  br label %47, !llvm.loop !13

75:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %76 = load float, ptr %15, align 4, !tbaa !11
  %77 = load float, ptr %14, align 4, !tbaa !11
  %78 = fsub float %76, %77
  %79 = fdiv float %78, 1.500000e+01
  store float %79, ptr %18, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %80 = load float, ptr %18, align 4, !tbaa !11
  %81 = fcmp une float %80, 0.000000e+00
  br i1 %81, label %82, label %86

82:                                               ; preds = %75
  %83 = load float, ptr %18, align 4, !tbaa !11
  %84 = fpext float %83 to double
  %85 = fdiv double 1.000000e+00, %84
  br label %87

86:                                               ; preds = %75
  br label %87

87:                                               ; preds = %86, %82
  %88 = phi double [ %85, %82 ], [ 0.000000e+00, %86 ]
  %89 = fptrunc double %88 to float
  store float %89, ptr %19, align 4, !tbaa !11
  %90 = load float, ptr %14, align 4, !tbaa !11
  %91 = load ptr, ptr %8, align 8, !tbaa !5
  %92 = load i32, ptr %12, align 4, !tbaa !9
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds float, ptr %91, i64 %93
  store float %90, ptr %94, align 4, !tbaa !11
  %95 = load float, ptr %18, align 4, !tbaa !11
  %96 = load ptr, ptr %9, align 8, !tbaa !5
  %97 = load i32, ptr %12, align 4, !tbaa !9
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds float, ptr %96, i64 %98
  store float %95, ptr %99, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %100

100:                                              ; preds = %136, %87
  %101 = load i32, ptr %20, align 4, !tbaa !9
  %102 = icmp slt i32 %101, 64
  br i1 %102, label %104, label %103

103:                                              ; preds = %100
  store i32 8, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %139

104:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  %105 = load ptr, ptr %4, align 8, !tbaa !5
  %106 = load i32, ptr %12, align 4, !tbaa !9
  %107 = mul nsw i32 %106, 64
  %108 = load i32, ptr %20, align 4, !tbaa !9
  %109 = add nsw i32 %107, %108
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds float, ptr %105, i64 %110
  %112 = load float, ptr %111, align 4, !tbaa !11
  %113 = load float, ptr %14, align 4, !tbaa !11
  %114 = fsub float %112, %113
  %115 = load float, ptr %19, align 4, !tbaa !11
  %116 = fmul float %114, %115
  store float %116, ptr %21, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #7
  %117 = load float, ptr %21, align 4, !tbaa !11
  %118 = call float @frand()
  %119 = fadd float %117, %118
  %120 = fptoui float %119 to i8
  store i8 %120, ptr %22, align 1, !tbaa !15
  %121 = load i8, ptr %22, align 1, !tbaa !15
  %122 = zext i8 %121 to i32
  %123 = and i32 %122, 15
  %124 = load i32, ptr %20, align 4, !tbaa !9
  %125 = and i32 %124, 1
  %126 = mul nsw i32 4, %125
  %127 = shl i32 %123, %126
  %128 = load i32, ptr %20, align 4, !tbaa !9
  %129 = sdiv i32 %128, 2
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds [32 x i8], ptr %11, i64 0, i64 %130
  %132 = load i8, ptr %131, align 1, !tbaa !15
  %133 = zext i8 %132 to i32
  %134 = or i32 %133, %127
  %135 = trunc i32 %134 to i8
  store i8 %135, ptr %131, align 1, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %136

136:                                              ; preds = %104
  %137 = load i32, ptr %20, align 4, !tbaa !9
  %138 = add nsw i32 %137, 1
  store i32 %138, ptr %20, align 4, !tbaa !9
  br label %100, !llvm.loop !16

139:                                              ; preds = %103
  %140 = load ptr, ptr %10, align 8, !tbaa !5
  %141 = load i32, ptr %12, align 4, !tbaa !9
  %142 = mul nsw i32 %141, 64
  %143 = sdiv i32 %142, 2
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds i8, ptr %140, i64 %144
  %146 = getelementptr inbounds [32 x i8], ptr %11, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %145, ptr align 16 %146, i64 32, i1 false)
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %147

147:                                              ; preds = %139
  %148 = load i32, ptr %12, align 4, !tbaa !9
  %149 = add nsw i32 %148, 1
  store i32 %149, ptr %12, align 4, !tbaa !9
  br label %40, !llvm.loop !17

150:                                              ; preds = %44
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  ret void
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @quantize_4_blocks_per_row(i32 noundef) #5

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { noreturn nounwind "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 #5 = { inlinehint 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 #6 = { noreturn nounwind }
attributes #7 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}


; 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 [12 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [69 x i8], align 1
@__PRETTY_FUNCTION__.quantize_4_row = external hidden unnamed_addr constant [64 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local float @frand() local_unnamed_addr #0

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

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
define dso_local void @quantize_4_row(ptr noalias nocapture noundef readonly %0, ptr noalias nocapture noundef writeonly %1, i32 noundef %2) local_unnamed_addr #0 {
  %4 = alloca [32 x i8], align 16
  %5 = and i32 %2, 63
  %6 = icmp eq i32 %5, 0
  br i1 %6, label %8, label %7

7:                                                ; preds = %3
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 1042, ptr noundef nonnull @__PRETTY_FUNCTION__.quantize_4_row) #6
  unreachable

8:                                                ; preds = %3
  %9 = tail call i32 @quantize_4_blocks_per_row(i32 noundef %2)
  %10 = sext i32 %9 to i64
  %11 = getelementptr inbounds float, ptr %1, i64 %10
  %12 = getelementptr inbounds float, ptr %11, i64 %10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #7
  %13 = icmp sgt i32 %9, 0
  br i1 %13, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %8
  %wide.trip.count = zext nneg i32 %9 to i64
  br label %.lr.ph

._crit_edge:                                      ; preds = %30, %8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #7
  ret void

.lr.ph:                                           ; preds = %.lr.ph.preheader, %30
  %indvars.iv60 = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next61, %30 ]
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %4, i8 0, i64 32, i1 false)
  %14 = shl nsw i64 %indvars.iv60, 6
  %invariant.gep = getelementptr inbounds float, ptr %0, i64 %14
  br label %23

15:                                               ; preds = %23
  %16 = fsub float %.146.1, %.1.1
  %17 = fdiv float %16, 1.500000e+01
  %18 = fcmp une float %17, 0.000000e+00
  %19 = fdiv float 1.000000e+00, %17
  %20 = select i1 %18, float %19, float 0.000000e+00
  %21 = getelementptr inbounds float, ptr %1, i64 %indvars.iv60
  store float %.1.1, ptr %21, align 4, !tbaa !5
  %22 = getelementptr inbounds float, ptr %11, i64 %indvars.iv60
  store float %17, ptr %22, align 4, !tbaa !5
  %invariant.gep64 = getelementptr inbounds float, ptr %0, i64 %14
  br label %33

23:                                               ; preds = %23, %.lr.ph
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next.1, %23 ]
  %.04452 = phi float [ 0x47EFFFFFE0000000, %.lr.ph ], [ %.1.1, %23 ]
  %.04551 = phi float [ 0xC7EFFFFFE0000000, %.lr.ph ], [ %.146.1, %23 ]
  %gep = getelementptr inbounds float, ptr %invariant.gep, i64 %indvars.iv
  %24 = load float, ptr %gep, align 4, !tbaa !5
  %25 = fcmp olt float %24, %.04452
  %.1 = select i1 %25, float %24, float %.04452
  %26 = fcmp ogt float %24, %.04551
  %.146 = select i1 %26, float %24, float %.04551
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %gep.1 = getelementptr inbounds float, ptr %invariant.gep, i64 %indvars.iv.next
  %27 = load float, ptr %gep.1, align 4, !tbaa !5
  %28 = fcmp olt float %27, %.1
  %.1.1 = select i1 %28, float %27, float %.1
  %29 = fcmp ogt float %27, %.146
  %.146.1 = select i1 %29, float %27, float %.146
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next.1, 64
  br i1 %exitcond.not.1, label %15, label %23, !llvm.loop !9

30:                                               ; preds = %33
  %31 = shl nsw i64 %indvars.iv60, 5
  %32 = getelementptr inbounds i8, ptr %12, i64 %31
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(32) %32, ptr noundef nonnull align 16 dereferenceable(32) %4, i64 32, i1 false)
  %indvars.iv.next61 = add nuw nsw i64 %indvars.iv60, 1
  %exitcond63.not = icmp eq i64 %indvars.iv.next61, %wide.trip.count
  br i1 %exitcond63.not, label %._crit_edge, label %.lr.ph, !llvm.loop !11

33:                                               ; preds = %15, %33
  %indvars.iv56 = phi i64 [ 0, %15 ], [ %indvars.iv.next57, %33 ]
  %gep65 = getelementptr inbounds float, ptr %invariant.gep64, i64 %indvars.iv56
  %34 = load float, ptr %gep65, align 4, !tbaa !5
  %35 = fsub float %34, %.1.1
  %36 = fmul float %20, %35
  %37 = tail call float @frand()
  %38 = fadd float %37, %36
  %39 = fptoui float %38 to i8
  %40 = and i8 %39, 15
  %indvars.iv56.tr = trunc i64 %indvars.iv56 to i8
  %41 = shl i8 %indvars.iv56.tr, 2
  %42 = and i8 %41, 4
  %43 = shl nuw i8 %40, %42
  %44 = lshr i64 %indvars.iv56, 1
  %45 = and i64 %44, 2147483647
  %46 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 %45
  %47 = load i8, ptr %46, align 1, !tbaa !12
  %48 = or i8 %47, %43
  store i8 %48, ptr %46, align 1, !tbaa !12
  %indvars.iv.next57 = add nuw nsw i64 %indvars.iv56, 1
  %exitcond59.not = icmp eq i64 %indvars.iv.next57, 64
  br i1 %exitcond59.not, label %30, label %33, !llvm.loop !13
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @quantize_4_blocks_per_row(i32 noundef) local_unnamed_addr #5

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { noreturn nounwind "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 #5 = { inlinehint 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 #6 = { noreturn nounwind }
attributes #7 = { 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = !{!7, !7, i64 0}
!13 = distinct !{!13, !10}


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