; LLVM IR from jgaeddert/liquid-dsp :: src/filter/src (bessel)

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

; Function Attrs: nounwind uwtable
define dso_local i32 @bessel_azpkf(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca float, align 4
  %15 = alloca i32, align 4
  %16 = alloca { float, float }, align 4
  store i32 %0, ptr %6, align 4, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !9
  store ptr %2, ptr %8, align 8, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !9
  %17 = load i32, ptr %6, align 4, !tbaa !5
  %18 = add i32 %17, 1
  %19 = zext i32 %18 to i64
  %20 = call ptr @llvm.stacksave.p0()
  store ptr %20, ptr %10, align 8
  %21 = alloca { float, float }, i64 %19, align 16
  store i64 %19, ptr %11, align 8
  %22 = load i32, ptr %6, align 4, !tbaa !5
  %23 = add i32 %22, 1
  %24 = call i32 @fpoly_bessel_roots(i32 noundef %23, ptr noundef %21)
  %25 = icmp ne i32 %24, 0
  br i1 %25, label %26, label %28

26:                                               ; preds = %4
  %27 = call i32 (i32, ptr, i32, ptr, ...) @liquid_error_fl(i32 noundef 3, ptr noundef @.str, i32 noundef 77, ptr noundef @.str.1)
  store i32 %27, ptr %5, align 4
  store i32 1, ptr %12, align 4
  br label %126

28:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %29

29:                                               ; preds = %48, %28
  %30 = load i32, ptr %13, align 4, !tbaa !5
  %31 = load i32, ptr %6, align 4, !tbaa !5
  %32 = icmp ult i32 %30, %31
  br i1 %32, label %34, label %33

33:                                               ; preds = %29
  store i32 2, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %51

34:                                               ; preds = %29
  %35 = load i32, ptr %13, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds { float, float }, ptr %21, i64 %36
  %38 = getelementptr inbounds { float, float }, ptr %37, i32 0, i32 0
  %39 = load float, ptr %38, align 8
  %40 = getelementptr inbounds { float, float }, ptr %37, i32 0, i32 1
  %41 = load float, ptr %40, align 4
  %42 = load ptr, ptr %8, align 8, !tbaa !9
  %43 = load i32, ptr %13, align 4, !tbaa !5
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds { float, float }, ptr %42, i64 %44
  %46 = getelementptr inbounds { float, float }, ptr %45, i32 0, i32 0
  %47 = getelementptr inbounds { float, float }, ptr %45, i32 0, i32 1
  store float %39, ptr %46, align 4
  store float %41, ptr %47, align 4
  br label %48

48:                                               ; preds = %34
  %49 = load i32, ptr %13, align 4, !tbaa !5
  %50 = add nsw i32 %49, 1
  store i32 %50, ptr %13, align 4, !tbaa !5
  br label %29, !llvm.loop !11

51:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %52 = load i32, ptr %6, align 4, !tbaa !5
  %53 = mul i32 2, %52
  %54 = sub i32 %53, 1
  %55 = uitofp i32 %54 to float
  %56 = call float @logf(float noundef 2.000000e+00) #6
  %57 = fmul float %55, %56
  %58 = call float @sqrtf(float noundef %57) #6
  store float %58, ptr %14, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %59

59:                                               ; preds = %77, %51
  %60 = load i32, ptr %15, align 4, !tbaa !5
  %61 = load i32, ptr %6, align 4, !tbaa !5
  %62 = icmp ult i32 %60, %61
  br i1 %62, label %63, label %80

63:                                               ; preds = %59
  %64 = load float, ptr %14, align 4, !tbaa !13
  %65 = load ptr, ptr %8, align 8, !tbaa !9
  %66 = load i32, ptr %15, align 4, !tbaa !5
  %67 = zext i32 %66 to i64
  %68 = getelementptr inbounds { float, float }, ptr %65, i64 %67
  %69 = getelementptr inbounds { float, float }, ptr %68, i32 0, i32 0
  %70 = load float, ptr %69, align 4
  %71 = getelementptr inbounds { float, float }, ptr %68, i32 0, i32 1
  %72 = load float, ptr %71, align 4
  %73 = fdiv float %70, %64
  %74 = fdiv float %72, %64
  %75 = getelementptr inbounds { float, float }, ptr %68, i32 0, i32 0
  %76 = getelementptr inbounds { float, float }, ptr %68, i32 0, i32 1
  store float %73, ptr %75, align 4
  store float %74, ptr %76, align 4
  br label %77

77:                                               ; preds = %63
  %78 = load i32, ptr %15, align 4, !tbaa !5
  %79 = add i32 %78, 1
  store i32 %79, ptr %15, align 4, !tbaa !5
  br label %59, !llvm.loop !15

80:                                               ; preds = %59
  %81 = load ptr, ptr %9, align 8, !tbaa !9
  %82 = getelementptr inbounds { float, float }, ptr %81, i32 0, i32 0
  %83 = getelementptr inbounds { float, float }, ptr %81, i32 0, i32 1
  store float 1.000000e+00, ptr %82, align 4
  store float 0.000000e+00, ptr %83, align 4
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %84

84:                                               ; preds = %122, %80
  %85 = load i32, ptr %15, align 4, !tbaa !5
  %86 = load i32, ptr %6, align 4, !tbaa !5
  %87 = icmp ult i32 %85, %86
  br i1 %87, label %88, label %125

88:                                               ; preds = %84
  %89 = load ptr, ptr %8, align 8, !tbaa !9
  %90 = load i32, ptr %15, align 4, !tbaa !5
  %91 = zext i32 %90 to i64
  %92 = getelementptr inbounds { float, float }, ptr %89, i64 %91
  %93 = getelementptr inbounds { float, float }, ptr %92, i32 0, i32 0
  %94 = load float, ptr %93, align 4
  %95 = getelementptr inbounds { float, float }, ptr %92, i32 0, i32 1
  %96 = load float, ptr %95, align 4
  %97 = load ptr, ptr %9, align 8, !tbaa !9
  %98 = getelementptr inbounds { float, float }, ptr %97, i32 0, i32 0
  %99 = load float, ptr %98, align 4
  %100 = getelementptr inbounds { float, float }, ptr %97, i32 0, i32 1
  %101 = load float, ptr %100, align 4
  %102 = fmul float %99, %94
  %103 = fmul float %101, %96
  %104 = fmul float %99, %96
  %105 = fmul float %101, %94
  %106 = fsub float %102, %103
  %107 = fadd float %104, %105
  %108 = fcmp uno float %106, %106
  br i1 %108, label %109, label %117, !prof !16

109:                                              ; preds = %88
  %110 = fcmp uno float %107, %107
  br i1 %110, label %111, label %117, !prof !16

111:                                              ; preds = %109
  %112 = call <2 x float> @__mulsc3(float noundef %99, float noundef %101, float noundef %94, float noundef %96) #6
  store <2 x float> %112, ptr %16, align 4
  %113 = getelementptr inbounds { float, float }, ptr %16, i32 0, i32 0
  %114 = load float, ptr %113, align 4
  %115 = getelementptr inbounds { float, float }, ptr %16, i32 0, i32 1
  %116 = load float, ptr %115, align 4
  br label %117

117:                                              ; preds = %111, %109, %88
  %118 = phi float [ %106, %88 ], [ %106, %109 ], [ %114, %111 ]
  %119 = phi float [ %107, %88 ], [ %107, %109 ], [ %116, %111 ]
  %120 = getelementptr inbounds { float, float }, ptr %97, i32 0, i32 0
  %121 = getelementptr inbounds { float, float }, ptr %97, i32 0, i32 1
  store float %118, ptr %120, align 4
  store float %119, ptr %121, align 4
  br label %122

122:                                              ; preds = %117
  %123 = load i32, ptr %15, align 4, !tbaa !5
  %124 = add i32 %123, 1
  store i32 %124, ptr %15, align 4, !tbaa !5
  br label %84, !llvm.loop !17

125:                                              ; preds = %84
  store i32 0, ptr %5, align 4
  store i32 1, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %126

126:                                              ; preds = %125, %26
  %127 = load ptr, ptr %10, align 8
  call void @llvm.stackrestore.p0(ptr %127)
  %128 = load i32, ptr %5, align 4
  ret i32 %128
}

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @fpoly_bessel_roots(i32 noundef, ptr noundef) #2

declare i32 @liquid_error_fl(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) #3

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

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

; Function Attrs: nounwind
declare float @sqrtf(float noundef) #5

; Function Attrs: nounwind
declare float @logf(float noundef) #5

declare <2 x float> @__mulsc3(float, float, float, float)

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #1

attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "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 }
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 = { "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 willreturn memory(argmem: readwrite) }
attributes #5 = { 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 #6 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = distinct !{!15, !12}
!16 = !{!"branch_weights", i32 1, i32 1048575}
!17 = distinct !{!17, !12}


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

; Function Attrs: nounwind uwtable
define dso_local i32 @bessel_azpkf(i32 noundef %0, ptr nocapture noundef readnone %1, ptr nocapture noundef %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 {
  %5 = add i32 %0, 1
  %6 = zext i32 %5 to i64
  %7 = alloca { float, float }, i64 %6, align 16
  %8 = call i32 @fpoly_bessel_roots(i32 noundef %5, ptr noundef nonnull %7)
  %.not = icmp eq i32 %8, 0
  br i1 %.not, label %.preheader, label %15

.preheader:                                       ; preds = %4
  %.not34 = icmp eq i32 %0, 0
  br i1 %.not34, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %.preheader
  %wide.trip.count = zext i32 %0 to i64
  %min.iters.check = icmp ult i32 %0, 4
  br i1 %min.iters.check, label %.lr.ph.preheader69, label %vector.ph

.lr.ph.preheader69:                               ; preds = %middle.block, %.lr.ph.preheader
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %wide.trip.count, 4294967292
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %9 = or disjoint i64 %index, 2
  %10 = getelementptr inbounds { float, float }, ptr %7, i64 %index
  %11 = getelementptr inbounds { float, float }, ptr %7, i64 %9
  %wide.vec = load <4 x float>, ptr %10, align 16
  %wide.vec48 = load <4 x float>, ptr %11, align 16
  %12 = getelementptr inbounds { float, float }, ptr %2, i64 %index
  %13 = getelementptr inbounds { float, float }, ptr %2, i64 %9
  store <4 x float> %wide.vec, ptr %12, align 4
  store <4 x float> %wide.vec48, ptr %13, align 4
  %index.next = add nuw i64 %index, 4
  %14 = icmp eq i64 %index.next, %n.vec
  br i1 %14, label %middle.block, label %vector.body, !llvm.loop !5

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.preheader69

15:                                               ; preds = %4
  %16 = call i32 (i32, ptr, i32, ptr, ...) @liquid_error_fl(i32 noundef 3, ptr noundef nonnull @.str, i32 noundef 77, ptr noundef nonnull @.str.1) #4
  br label %.loopexit

._crit_edge:                                      ; preds = %.lr.ph, %middle.block, %.preheader
  %17 = shl i32 %0, 1
  %18 = add i32 %17, -1
  %19 = uitofp i32 %18 to float
  %20 = fmul float %19, 0x3FE62E4300000000
  %21 = call float @sqrtf(float noundef %20) #4
  br i1 %.not34, label %._crit_edge30.thread, label %.lr.ph29.preheader

._crit_edge30.thread:                             ; preds = %._crit_edge
  store <2 x float> <float 1.000000e+00, float 0.000000e+00>, ptr %3, align 4
  br label %.loopexit

.lr.ph29.preheader:                               ; preds = %._crit_edge
  %wide.trip.count41 = zext i32 %0 to i64
  %min.iters.check55 = icmp ult i32 %0, 4
  br i1 %min.iters.check55, label %.lr.ph29.preheader68, label %vector.ph56

.lr.ph29.preheader68:                             ; preds = %middle.block53, %.lr.ph29.preheader
  %indvars.iv38.ph = phi i64 [ 0, %.lr.ph29.preheader ], [ %n.vec58, %middle.block53 ]
  %22 = insertelement <2 x float> poison, float %21, i64 0
  %23 = shufflevector <2 x float> %22, <2 x float> poison, <2 x i32> zeroinitializer
  br label %.lr.ph29

vector.ph56:                                      ; preds = %.lr.ph29.preheader
  %n.vec58 = and i64 %wide.trip.count41, 4294967292
  %broadcast.splatinsert = insertelement <4 x float> poison, float %21, i64 0
  %24 = shufflevector <4 x float> %broadcast.splatinsert, <4 x float> poison, <8 x i32> zeroinitializer
  br label %vector.body60

vector.body60:                                    ; preds = %vector.body60, %vector.ph56
  %index61 = phi i64 [ 0, %vector.ph56 ], [ %index.next66, %vector.body60 ]
  %25 = getelementptr inbounds { float, float }, ptr %2, i64 %index61
  %wide.vec62 = load <8 x float>, ptr %25, align 4
  %interleaved.vec65 = fdiv <8 x float> %wide.vec62, %24
  store <8 x float> %interleaved.vec65, ptr %25, align 4
  %index.next66 = add nuw i64 %index61, 4
  %26 = icmp eq i64 %index.next66, %n.vec58
  br i1 %26, label %middle.block53, label %vector.body60, !llvm.loop !9

middle.block53:                                   ; preds = %vector.body60
  %cmp.n67 = icmp eq i64 %n.vec58, %wide.trip.count41
  br i1 %cmp.n67, label %._crit_edge30, label %.lr.ph29.preheader68

.lr.ph:                                           ; preds = %.lr.ph.preheader69, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader69 ]
  %27 = getelementptr inbounds { float, float }, ptr %7, i64 %indvars.iv
  %28 = getelementptr inbounds { float, float }, ptr %2, i64 %indvars.iv
  %29 = load <2 x float>, ptr %27, align 8
  store <2 x float> %29, ptr %28, align 4
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !10

.lr.ph29:                                         ; preds = %.lr.ph29.preheader68, %.lr.ph29
  %indvars.iv38 = phi i64 [ %indvars.iv.next39, %.lr.ph29 ], [ %indvars.iv38.ph, %.lr.ph29.preheader68 ]
  %30 = getelementptr inbounds { float, float }, ptr %2, i64 %indvars.iv38
  %31 = load <2 x float>, ptr %30, align 4
  %32 = fdiv <2 x float> %31, %23
  store <2 x float> %32, ptr %30, align 4
  %indvars.iv.next39 = add nuw nsw i64 %indvars.iv38, 1
  %exitcond42.not = icmp eq i64 %indvars.iv.next39, %wide.trip.count41
  br i1 %exitcond42.not, label %._crit_edge30, label %.lr.ph29, !llvm.loop !11

._crit_edge30:                                    ; preds = %.lr.ph29, %middle.block53
  %33 = getelementptr inbounds i8, ptr %3, i64 4
  store <2 x float> <float 1.000000e+00, float 0.000000e+00>, ptr %3, align 4
  br i1 %.not34, label %.loopexit, label %.lr.ph33.preheader

.lr.ph33.preheader:                               ; preds = %._crit_edge30
  %wide.trip.count46 = zext i32 %0 to i64
  br label %.lr.ph33

.lr.ph33:                                         ; preds = %.lr.ph33.preheader, %51
  %34 = phi float [ 0.000000e+00, %.lr.ph33.preheader ], [ %53, %51 ]
  %35 = phi float [ 1.000000e+00, %.lr.ph33.preheader ], [ %52, %51 ]
  %indvars.iv43 = phi i64 [ 0, %.lr.ph33.preheader ], [ %indvars.iv.next44, %51 ]
  %36 = getelementptr inbounds { float, float }, ptr %2, i64 %indvars.iv43
  %37 = load float, ptr %36, align 4
  %38 = getelementptr inbounds i8, ptr %36, i64 4
  %39 = load float, ptr %38, align 4
  %40 = fmul float %37, %35
  %41 = fmul float %39, %34
  %42 = fmul float %39, %35
  %43 = fmul float %37, %34
  %44 = fsub float %40, %41
  %45 = fadd float %42, %43
  %46 = fcmp uno float %44, 0.000000e+00
  br i1 %46, label %47, label %51, !prof !12

47:                                               ; preds = %.lr.ph33
  %48 = fcmp uno float %45, 0.000000e+00
  br i1 %48, label %49, label %51, !prof !12

49:                                               ; preds = %47
  %50 = call <2 x float> @__mulsc3(float noundef %35, float noundef %34, float noundef %37, float noundef %39) #4
  %.sroa.0.0.vec.extract = extractelement <2 x float> %50, i64 0
  %.sroa.0.4.vec.extract = extractelement <2 x float> %50, i64 1
  br label %51

51:                                               ; preds = %49, %47, %.lr.ph33
  %52 = phi float [ %44, %.lr.ph33 ], [ %44, %47 ], [ %.sroa.0.0.vec.extract, %49 ]
  %53 = phi float [ %45, %.lr.ph33 ], [ %45, %47 ], [ %.sroa.0.4.vec.extract, %49 ]
  store float %52, ptr %3, align 4
  store float %53, ptr %33, align 4
  %indvars.iv.next44 = add nuw nsw i64 %indvars.iv43, 1
  %exitcond47.not = icmp eq i64 %indvars.iv.next44, %wide.trip.count46
  br i1 %exitcond47.not, label %.loopexit, label %.lr.ph33, !llvm.loop !13

.loopexit:                                        ; preds = %51, %._crit_edge30.thread, %._crit_edge30, %15
  %.0 = phi i32 [ %16, %15 ], [ 0, %._crit_edge30 ], [ 0, %._crit_edge30.thread ], [ 0, %51 ]
  ret i32 %.0
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @fpoly_bessel_roots(i32 noundef, ptr noundef) local_unnamed_addr #1

declare i32 @liquid_error_fl(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare float @sqrtf(float noundef) local_unnamed_addr #3

declare <2 x float> @__mulsc3(float, float, float, float) local_unnamed_addr

attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "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 = { "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 = { mustprogress nofree nounwind willreturn memory(write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = distinct !{!5, !6, !7, !8}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!"llvm.loop.isvectorized", i32 1}
!8 = !{!"llvm.loop.unroll.runtime.disable"}
!9 = distinct !{!9, !6, !7, !8}
!10 = distinct !{!10, !6, !8, !7}
!11 = distinct !{!11, !6, !8, !7}
!12 = !{!"branch_weights", i32 1, i32 1048575}
!13 = distinct !{!13, !6}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,VectorCombinePass