; 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_5_row = external hidden unnamed_addr constant [64 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [19 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

; 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) #1

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #4

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

24:                                               ; preds = %3
  br label %26

25:                                               ; preds = %3
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 1629, ptr noundef @__PRETTY_FUNCTION__.quantize_5_row) #7
  unreachable

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

34:                                               ; preds = %144, %26
  %35 = load i32, ptr %11, align 4, !tbaa !9
  %36 = load i32, ptr %7, align 4, !tbaa !9
  %37 = icmp slt i32 %35, %36
  br i1 %37, label %39, label %38

38:                                               ; preds = %34
  store i32 2, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  br label %147

39:                                               ; preds = %34
  %40 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %40, i8 0, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  store float 0.000000e+00, ptr %13, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %41

41:                                               ; preds = %65, %39
  %42 = load i32, ptr %14, align 4, !tbaa !9
  %43 = icmp slt i32 %42, 64
  br i1 %43, label %45, label %44

44:                                               ; preds = %41
  store i32 5, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  br label %68

45:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = load i32, ptr %11, align 4, !tbaa !9
  %48 = mul nsw i32 %47, 64
  %49 = load i32, ptr %14, align 4, !tbaa !9
  %50 = add nsw i32 %48, %49
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds float, ptr %46, i64 %51
  %53 = load float, ptr %52, align 4, !tbaa !11
  store float %53, ptr %15, align 4, !tbaa !11
  %54 = load float, ptr %13, align 4, !tbaa !11
  %55 = load float, ptr %15, align 4, !tbaa !11
  %56 = call float @llvm.fabs.f32(float %55)
  %57 = fcmp ogt float %54, %56
  br i1 %57, label %58, label %60

58:                                               ; preds = %45
  %59 = load float, ptr %13, align 4, !tbaa !11
  br label %63

60:                                               ; preds = %45
  %61 = load float, ptr %15, align 4, !tbaa !11
  %62 = call float @llvm.fabs.f32(float %61)
  br label %63

63:                                               ; preds = %60, %58
  %64 = phi float [ %59, %58 ], [ %62, %60 ]
  store float %64, ptr %13, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  br label %65

65:                                               ; preds = %63
  %66 = load i32, ptr %14, align 4, !tbaa !9
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %14, align 4, !tbaa !9
  br label %41, !llvm.loop !13

68:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  %69 = load float, ptr %13, align 4, !tbaa !11
  %70 = fdiv float %69, 7.000000e+00
  store float %70, ptr %16, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  %71 = load float, ptr %16, align 4, !tbaa !11
  %72 = fcmp une float %71, 0.000000e+00
  br i1 %72, label %73, label %77

73:                                               ; preds = %68
  %74 = load float, ptr %16, align 4, !tbaa !11
  %75 = fpext float %74 to double
  %76 = fdiv double 1.000000e+00, %75
  br label %78

77:                                               ; preds = %68
  br label %78

78:                                               ; preds = %77, %73
  %79 = phi double [ %76, %73 ], [ 0.000000e+00, %77 ]
  %80 = fptrunc double %79 to float
  store float %80, ptr %17, align 4, !tbaa !11
  %81 = load float, ptr %16, align 4, !tbaa !11
  %82 = load ptr, ptr %8, align 8, !tbaa !5
  %83 = load i32, ptr %11, align 4, !tbaa !9
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds float, ptr %82, i64 %84
  store float %81, ptr %85, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %86

86:                                               ; preds = %133, %78
  %87 = load i32, ptr %18, align 4, !tbaa !9
  %88 = icmp slt i32 %87, 64
  br i1 %88, label %90, label %89

89:                                               ; preds = %86
  store i32 8, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %136

90:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  %92 = load i32, ptr %11, align 4, !tbaa !9
  %93 = mul nsw i32 %92, 64
  %94 = load i32, ptr %18, align 4, !tbaa !9
  %95 = add nsw i32 %93, %94
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds float, ptr %91, i64 %96
  %98 = load float, ptr %97, align 4, !tbaa !11
  %99 = load float, ptr %17, align 4, !tbaa !11
  %100 = fmul float %98, %99
  store float %100, ptr %19, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #8
  %101 = load float, ptr %19, align 4, !tbaa !11
  %102 = fpext float %101 to double
  %103 = call double @llvm.round.f64(double %102)
  %104 = fptosi double %103 to i8
  %105 = sext i8 %104 to i32
  %106 = add nsw i32 %105, 8
  %107 = trunc i32 %106 to i8
  store i8 %107, ptr %20, align 1, !tbaa !15
  %108 = load i8, ptr %20, align 1, !tbaa !15
  %109 = sext i8 %108 to i32
  %110 = icmp sge i32 %109, 0
  br i1 %110, label %111, label %116

111:                                              ; preds = %90
  %112 = load i8, ptr %20, align 1, !tbaa !15
  %113 = sext i8 %112 to i32
  %114 = icmp slt i32 %113, 16
  br i1 %114, label %115, label %116

115:                                              ; preds = %111
  br label %117

116:                                              ; preds = %111, %90
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 1756, ptr noundef @__PRETTY_FUNCTION__.quantize_5_row) #7
  unreachable

117:                                              ; preds = %115
  %118 = load i8, ptr %20, align 1, !tbaa !15
  %119 = sext i8 %118 to i32
  %120 = and i32 %119, 15
  %121 = load i32, ptr %18, align 4, !tbaa !9
  %122 = and i32 %121, 1
  %123 = mul nsw i32 4, %122
  %124 = shl i32 %120, %123
  %125 = load i32, ptr %18, align 4, !tbaa !9
  %126 = sdiv i32 %125, 2
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 %127
  %129 = load i8, ptr %128, align 1, !tbaa !15
  %130 = zext i8 %129 to i32
  %131 = or i32 %130, %124
  %132 = trunc i32 %131 to i8
  store i8 %132, ptr %128, align 1, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  br label %133

133:                                              ; preds = %117
  %134 = load i32, ptr %18, align 4, !tbaa !9
  %135 = add nsw i32 %134, 1
  store i32 %135, ptr %18, align 4, !tbaa !9
  br label %86, !llvm.loop !16

136:                                              ; preds = %89
  %137 = load ptr, ptr %9, align 8, !tbaa !5
  %138 = load i32, ptr %11, align 4, !tbaa !9
  %139 = mul nsw i32 %138, 64
  %140 = sdiv i32 %139, 2
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds i8, ptr %137, i64 %141
  %143 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %142, ptr align 16 %143, i64 32, i1 false)
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  br label %144

144:                                              ; preds = %136
  %145 = load i32, ptr %11, align 4, !tbaa !9
  %146 = add nsw i32 %145, 1
  store i32 %146, ptr %11, align 4, !tbaa !9
  br label %34, !llvm.loop !17

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @quantize_5_blocks_per_row(i32 noundef) #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.round.f64(double) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 = { 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 #7 = { noreturn nounwind }
attributes #8 = { 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_5_row = external hidden unnamed_addr constant [64 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [19 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

; 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) #1

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #4

; Function Attrs: nounwind uwtable
define dso_local void @quantize_5_row(ptr noalias nocapture noundef readonly %0, ptr noalias nocapture noundef writeonly %1, i32 noundef %2) local_unnamed_addr #5 {
  %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 1629, ptr noundef nonnull @__PRETTY_FUNCTION__.quantize_5_row) #8
  unreachable

8:                                                ; preds = %3
  %9 = tail call i32 @quantize_5_blocks_per_row(i32 noundef %2)
  %10 = sext i32 %9 to i64
  %11 = getelementptr inbounds float, ptr %1, i64 %10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #9
  %12 = icmp sgt i32 %9, 0
  br i1 %12, 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 = %29, %8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #9
  ret void

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

14:                                               ; preds = %20
  %15 = fdiv float %28, 7.000000e+00
  %16 = fcmp une float %15, 0.000000e+00
  %17 = fdiv float 1.000000e+00, %15
  %18 = select i1 %16, float %17, float 0.000000e+00
  %19 = getelementptr inbounds float, ptr %1, i64 %indvars.iv51
  store float %15, ptr %19, align 4, !tbaa !5
  %invariant.gep55 = getelementptr inbounds float, ptr %0, i64 %13
  br label %32

20:                                               ; preds = %20, %.lr.ph
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next.1, %20 ]
  %.03943 = phi float [ 0.000000e+00, %.lr.ph ], [ %28, %20 ]
  %gep = getelementptr inbounds float, ptr %invariant.gep, i64 %indvars.iv
  %21 = load float, ptr %gep, align 4, !tbaa !5
  %22 = tail call float @llvm.fabs.f32(float %21)
  %23 = fcmp ogt float %.03943, %22
  %24 = select i1 %23, float %.03943, float %22
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %gep.1 = getelementptr inbounds float, ptr %invariant.gep, i64 %indvars.iv.next
  %25 = load float, ptr %gep.1, align 4, !tbaa !5
  %26 = tail call float @llvm.fabs.f32(float %25)
  %27 = fcmp ogt float %24, %26
  %28 = select i1 %27, float %24, float %26
  %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 %14, label %20, !llvm.loop !9

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

32:                                               ; preds = %14, %39
  %indvars.iv47 = phi i64 [ 0, %14 ], [ %indvars.iv.next48, %39 ]
  %gep56 = getelementptr inbounds float, ptr %invariant.gep55, i64 %indvars.iv47
  %33 = load float, ptr %gep56, align 4, !tbaa !5
  %34 = fmul float %18, %33
  %35 = tail call float @llvm.round.f32(float %34)
  %36 = fptosi float %35 to i8
  %37 = add i8 %36, 8
  %or.cond = icmp ult i8 %37, 16
  br i1 %or.cond, label %39, label %38

38:                                               ; preds = %32
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 1756, ptr noundef nonnull @__PRETTY_FUNCTION__.quantize_5_row) #8
  unreachable

39:                                               ; preds = %32
  %indvars.iv47.tr = trunc i64 %indvars.iv47 to i8
  %40 = shl i8 %indvars.iv47.tr, 2
  %41 = and i8 %40, 4
  %42 = shl nuw i8 %37, %41
  %43 = lshr i64 %indvars.iv47, 1
  %44 = and i64 %43, 2147483647
  %45 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 %44
  %46 = load i8, ptr %45, align 1, !tbaa !12
  %47 = or i8 %46, %42
  store i8 %47, ptr %45, align 1, !tbaa !12
  %indvars.iv.next48 = add nuw nsw i64 %indvars.iv47, 1
  %exitcond50.not = icmp eq i64 %indvars.iv.next48, 64
  br i1 %exitcond50.not, label %29, label %32, !llvm.loop !13
}

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.round.f32(float) #7

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