; LLVM IR from jgaeddert/liquid-dsp :: autotest (autotest)

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

; Function Attrs: nounwind uwtable
declare dso_local void @liquid_autotest_failed_msg(ptr noundef, i32 noundef, ptr noundef) #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: nounwind uwtable
declare dso_local i32 @liquid_autotest_validate_spectrum(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #0

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

22:                                               ; preds = %5
  br label %25

23:                                               ; preds = %5
  %24 = load i32, ptr %8, align 4, !tbaa !9
  br label %25

25:                                               ; preds = %23, %22
  %26 = phi i32 [ 64, %22 ], [ %24, %23 ]
  %27 = call i32 @liquid_nextpow2(i32 noundef %26)
  %28 = shl i32 4, %27
  store i32 %28, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %29 = load i32, ptr %12, align 4, !tbaa !9
  %30 = zext i32 %29 to i64
  %31 = mul i64 %30, 8
  %32 = call noalias ptr @malloc(i64 noundef %31) #7
  store ptr %32, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %33 = load i32, ptr %12, align 4, !tbaa !9
  %34 = zext i32 %33 to i64
  %35 = mul i64 %34, 8
  %36 = call noalias ptr @malloc(i64 noundef %35) #7
  store ptr %36, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %37 = load i32, ptr %12, align 4, !tbaa !9
  %38 = zext i32 %37 to i64
  %39 = mul i64 %38, 4
  %40 = call noalias ptr @malloc(i64 noundef %39) #7
  store ptr %40, ptr %15, align 8, !tbaa !5
  %41 = load ptr, ptr %13, align 8, !tbaa !5
  %42 = icmp eq ptr %41, null
  br i1 %42, label %49, label %43

43:                                               ; preds = %25
  %44 = load ptr, ptr %14, align 8, !tbaa !5
  %45 = icmp eq ptr %44, null
  br i1 %45, label %49, label %46

46:                                               ; preds = %43
  %47 = load ptr, ptr %15, align 8, !tbaa !5
  %48 = icmp eq ptr %47, null
  br i1 %48, label %49, label %50

49:                                               ; preds = %46, %43, %25
  call void @liquid_autotest_failed_msg(ptr noundef @.str.21, i32 noundef 276, ptr noundef @.str.39)
  store i32 -1, ptr %6, align 4
  store i32 1, ptr %16, align 4
  br label %130

50:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %51

51:                                               ; preds = %78, %50
  %52 = load i32, ptr %17, align 4, !tbaa !9
  %53 = load i32, ptr %12, align 4, !tbaa !9
  %54 = icmp ult i32 %52, %53
  br i1 %54, label %55, label %81

55:                                               ; preds = %51
  %56 = load i32, ptr %17, align 4, !tbaa !9
  %57 = load i32, ptr %8, align 4, !tbaa !9
  %58 = icmp ult i32 %56, %57
  br i1 %58, label %59, label %68

59:                                               ; preds = %55
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = load i32, ptr %17, align 4, !tbaa !9
  %62 = zext i32 %61 to i64
  %63 = getelementptr inbounds { float, float }, ptr %60, i64 %62
  %64 = getelementptr inbounds { float, float }, ptr %63, i32 0, i32 0
  %65 = load float, ptr %64, align 4
  %66 = getelementptr inbounds { float, float }, ptr %63, i32 0, i32 1
  %67 = load float, ptr %66, align 4
  br label %69

68:                                               ; preds = %55
  br label %69

69:                                               ; preds = %68, %59
  %70 = phi float [ %65, %59 ], [ 0.000000e+00, %68 ]
  %71 = phi float [ %67, %59 ], [ 0.000000e+00, %68 ]
  %72 = load ptr, ptr %13, align 8, !tbaa !5
  %73 = load i32, ptr %17, align 4, !tbaa !9
  %74 = zext i32 %73 to i64
  %75 = getelementptr inbounds { float, float }, ptr %72, i64 %74
  %76 = getelementptr inbounds { float, float }, ptr %75, i32 0, i32 0
  %77 = getelementptr inbounds { float, float }, ptr %75, i32 0, i32 1
  store float %70, ptr %76, align 4
  store float %71, ptr %77, align 4
  br label %78

78:                                               ; preds = %69
  %79 = load i32, ptr %17, align 4, !tbaa !9
  %80 = add i32 %79, 1
  store i32 %80, ptr %17, align 4, !tbaa !9
  br label %51, !llvm.loop !11

81:                                               ; preds = %51
  %82 = load i32, ptr %12, align 4, !tbaa !9
  %83 = load ptr, ptr %13, align 8, !tbaa !5
  %84 = load ptr, ptr %14, align 8, !tbaa !5
  %85 = call i32 @fft_run(i32 noundef %82, ptr noundef %83, ptr noundef %84, i32 noundef 1, i32 noundef 0)
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %86

86:                                               ; preds = %116, %81
  %87 = load i32, ptr %17, align 4, !tbaa !9
  %88 = load i32, ptr %12, align 4, !tbaa !9
  %89 = icmp ult i32 %87, %88
  br i1 %89, label %90, label %119

90:                                               ; preds = %86
  %91 = load ptr, ptr %14, align 8, !tbaa !5
  %92 = load i32, ptr %17, align 4, !tbaa !9
  %93 = load i32, ptr %12, align 4, !tbaa !9
  %94 = udiv i32 %93, 2
  %95 = add i32 %92, %94
  %96 = load i32, ptr %12, align 4, !tbaa !9
  %97 = urem i32 %95, %96
  %98 = zext i32 %97 to i64
  %99 = getelementptr inbounds { float, float }, ptr %91, i64 %98
  %100 = getelementptr inbounds { float, float }, ptr %99, i32 0, i32 0
  %101 = load float, ptr %100, align 4
  %102 = getelementptr inbounds { float, float }, ptr %99, i32 0, i32 1
  %103 = load float, ptr %102, align 4
  %104 = getelementptr inbounds { float, float }, ptr %18, i32 0, i32 0
  %105 = getelementptr inbounds { float, float }, ptr %18, i32 0, i32 1
  store float %101, ptr %104, align 4
  store float %103, ptr %105, align 4
  %106 = load <2 x float>, ptr %18, align 4
  %107 = call float @cabsf(<2 x float> noundef %106) #6
  %108 = fpext float %107 to double
  %109 = call double @log10(double noundef %108) #6
  %110 = fmul double 2.000000e+01, %109
  %111 = fptrunc double %110 to float
  %112 = load ptr, ptr %15, align 8, !tbaa !5
  %113 = load i32, ptr %17, align 4, !tbaa !9
  %114 = zext i32 %113 to i64
  %115 = getelementptr inbounds float, ptr %112, i64 %114
  store float %111, ptr %115, align 4, !tbaa !13
  br label %116

116:                                              ; preds = %90
  %117 = load i32, ptr %17, align 4, !tbaa !9
  %118 = add i32 %117, 1
  store i32 %118, ptr %17, align 4, !tbaa !9
  br label %86, !llvm.loop !15

119:                                              ; preds = %86
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %120 = load ptr, ptr %15, align 8, !tbaa !5
  %121 = load i32, ptr %12, align 4, !tbaa !9
  %122 = load ptr, ptr %9, align 8, !tbaa !5
  %123 = load i32, ptr %10, align 4, !tbaa !9
  %124 = load ptr, ptr %11, align 8, !tbaa !5
  %125 = call i32 @liquid_autotest_validate_spectrum(ptr noundef %120, i32 noundef %121, ptr noundef %122, i32 noundef %123, ptr noundef %124)
  store i32 %125, ptr %19, align 4, !tbaa !9
  %126 = load ptr, ptr %13, align 8, !tbaa !5
  call void @free(ptr noundef %126) #6
  %127 = load ptr, ptr %14, align 8, !tbaa !5
  call void @free(ptr noundef %127) #6
  %128 = load ptr, ptr %15, align 8, !tbaa !5
  call void @free(ptr noundef %128) #6
  %129 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %129, ptr %6, align 4
  store i32 1, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %130

130:                                              ; preds = %119, %49
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  %131 = load i32, ptr %6, align 4
  ret i32 %131
}

declare i32 @liquid_nextpow2(i32 noundef) #3

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #4

declare i32 @fft_run(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #3

; Function Attrs: nounwind
declare double @log10(double noundef) #5

; Function Attrs: nounwind
declare float @cabsf(<2 x float> noundef) #5

; Function Attrs: nounwind
declare void @free(ptr 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 = { 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 #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 = { nounwind allocsize(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 #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 }
attributes #7 = { nounwind allocsize(0) }

!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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = distinct !{!15, !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.21 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [96 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @liquid_autotest_failed_msg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local i32 @liquid_autotest_validate_psd_signal(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #1 {
  %6 = tail call i32 @llvm.umax.i32(i32 %1, i32 64)
  %7 = tail call i32 @liquid_nextpow2(i32 noundef %6) #8
  %8 = shl i32 4, %7
  %9 = zext i32 %8 to i64
  %10 = shl nuw nsw i64 %9, 3
  %11 = tail call noalias ptr @malloc(i64 noundef %10) #9
  %12 = tail call noalias ptr @malloc(i64 noundef %10) #9
  %13 = shl nuw nsw i64 %9, 2
  %14 = tail call noalias ptr @malloc(i64 noundef %13) #9
  %15 = icmp eq ptr %11, null
  %16 = icmp eq ptr %12, null
  %or.cond = or i1 %15, %16
  %17 = icmp eq ptr %14, null
  %or.cond3 = or i1 %or.cond, %17
  br i1 %or.cond3, label %21, label %.preheader

.preheader:                                       ; preds = %5
  %.not = icmp ugt i32 %7, 29
  br i1 %.not, label %._crit_edge.thread, label %.lr.ph.preheader

._crit_edge.thread:                               ; preds = %.preheader
  %18 = tail call i32 @fft_run(i32 noundef %8, ptr noundef nonnull %11, ptr noundef nonnull %12, i32 noundef 1, i32 noundef 0) #8
  br label %._crit_edge51

.lr.ph.preheader:                                 ; preds = %.preheader
  %19 = zext i32 %1 to i64
  %umax = tail call i32 @llvm.umax.i32(i32 %8, i32 1)
  %wide.trip.count = zext i32 %umax to i64
  %xtraiter = and i64 %wide.trip.count, 1
  %20 = icmp eq i32 %umax, 1
  br i1 %20, label %._crit_edge.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i64 %wide.trip.count, 4294967292
  br label %.lr.ph

21:                                               ; preds = %5
  tail call void @liquid_autotest_failed_msg(ptr noundef nonnull @.str.21, i32 noundef 276, ptr noundef nonnull @.str.39)
  br label %58

.lr.ph:                                           ; preds = %32, %.lr.ph.preheader.new
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader.new ], [ %indvars.iv.next.1, %32 ]
  %niter = phi i64 [ 0, %.lr.ph.preheader.new ], [ %niter.next.1, %32 ]
  %22 = icmp ult i64 %indvars.iv, %19
  br i1 %22, label %23, label %.lr.ph.1

23:                                               ; preds = %.lr.ph
  %24 = getelementptr inbounds { float, float }, ptr %0, i64 %indvars.iv
  %25 = load <2 x float>, ptr %24, align 4
  br label %.lr.ph.1

.lr.ph.1:                                         ; preds = %.lr.ph, %23
  %26 = phi <2 x float> [ %25, %23 ], [ zeroinitializer, %.lr.ph ]
  %27 = getelementptr inbounds { float, float }, ptr %11, i64 %indvars.iv
  store <2 x float> %26, ptr %27, align 4
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %28 = icmp ult i64 %indvars.iv.next, %19
  br i1 %28, label %29, label %32

29:                                               ; preds = %.lr.ph.1
  %30 = getelementptr inbounds { float, float }, ptr %0, i64 %indvars.iv.next
  %31 = load <2 x float>, ptr %30, align 4
  br label %32

32:                                               ; preds = %29, %.lr.ph.1
  %33 = phi <2 x float> [ %31, %29 ], [ zeroinitializer, %.lr.ph.1 ]
  %34 = getelementptr inbounds { float, float }, ptr %11, i64 %indvars.iv.next
  store <2 x float> %33, ptr %34, align 4
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge.unr-lcssa, label %.lr.ph, !llvm.loop !5

._crit_edge.unr-lcssa:                            ; preds = %32, %.lr.ph.preheader
  %indvars.iv.unr = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next.1, %32 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %._crit_edge.unr-lcssa
  %35 = icmp ult i64 %indvars.iv.unr, %19
  br i1 %35, label %36, label %._crit_edge.epilog-lcssa

36:                                               ; preds = %.lr.ph.epil
  %37 = getelementptr inbounds { float, float }, ptr %0, i64 %indvars.iv.unr
  %38 = load <2 x float>, ptr %37, align 4
  br label %._crit_edge.epilog-lcssa

._crit_edge.epilog-lcssa:                         ; preds = %36, %.lr.ph.epil
  %39 = phi <2 x float> [ %38, %36 ], [ zeroinitializer, %.lr.ph.epil ]
  %40 = getelementptr inbounds { float, float }, ptr %11, i64 %indvars.iv.unr
  store <2 x float> %39, ptr %40, align 4
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.unr-lcssa, %._crit_edge.epilog-lcssa
  %41 = tail call i32 @fft_run(i32 noundef %8, ptr noundef nonnull %11, ptr noundef %12, i32 noundef 1, i32 noundef 0) #8
  br i1 %.not, label %._crit_edge51, label %.lr.ph50

.lr.ph50:                                         ; preds = %._crit_edge
  %42 = lshr exact i32 %8, 1
  %43 = add i32 %8, -1
  %umax57 = tail call i32 @llvm.umax.i32(i32 %8, i32 1)
  %wide.trip.count58 = zext i32 %umax57 to i64
  br label %44

44:                                               ; preds = %.lr.ph50, %44
  %indvars.iv54 = phi i64 [ 0, %.lr.ph50 ], [ %indvars.iv.next55, %44 ]
  %45 = trunc nuw i64 %indvars.iv54 to i32
  %46 = add i32 %42, %45
  %47 = and i32 %46, %43
  %48 = zext i32 %47 to i64
  %49 = getelementptr inbounds { float, float }, ptr %12, i64 %48
  %50 = load <2 x float>, ptr %49, align 4
  %51 = tail call float @cabsf(<2 x float> noundef %50) #8
  %52 = fpext float %51 to double
  %53 = tail call double @log10(double noundef %52) #8
  %54 = fmul double %53, 2.000000e+01
  %55 = fptrunc double %54 to float
  %56 = getelementptr inbounds float, ptr %14, i64 %indvars.iv54
  store float %55, ptr %56, align 4, !tbaa !7
  %indvars.iv.next55 = add nuw nsw i64 %indvars.iv54, 1
  %exitcond59.not = icmp eq i64 %indvars.iv.next55, %wide.trip.count58
  br i1 %exitcond59.not, label %._crit_edge51, label %44, !llvm.loop !11

._crit_edge51:                                    ; preds = %44, %._crit_edge.thread, %._crit_edge
  %57 = tail call i32 @liquid_autotest_validate_spectrum(ptr noundef %14, i32 noundef %8, ptr noundef %2, i32 noundef %3, ptr noundef %4)
  tail call void @free(ptr noundef %11) #8
  tail call void @free(ptr noundef %12) #8
  tail call void @free(ptr noundef %14) #8
  br label %58

58:                                               ; preds = %._crit_edge51, %21
  %.0 = phi i32 [ -1, %21 ], [ %57, %._crit_edge51 ]
  ret i32 %.0
}

declare i32 @liquid_nextpow2(i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #3

declare i32 @fft_run(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @log10(double noundef) local_unnamed_addr #4

; Function Attrs: nounwind
declare float @cabsf(<2 x float> noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #7

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 = { 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 #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 allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 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 #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 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { nounwind }
attributes #9 = { nounwind allocsize(0) }

!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}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"float", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = distinct !{!11, !6}


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