; LLVM IR from jgaeddert/liquid-dsp :: src/fft/tests (spgram_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"

@liquid_autotest_verbose = external global i32, align 4
@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [12 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: nounwind
declare float @powf(float noundef, float noundef) #1

declare i32 @printf(ptr noundef, ...) #2

declare float @randnf(...) #2

declare void @liquid_autotest_failed_expr(ptr noundef, i32 noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, double noundef) #2

declare void @liquid_autotest_passed(...) #2

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

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

; 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 nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #4

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

declare i32 @spgramcf_estimate_psd(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #2

; Function Attrs: nounwind
declare void @free(ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @autotest_spgramcf_short() #6 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca float, align 4
  %4 = alloca float, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #7
  store i32 1200, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  store i32 200, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  store float -2.000000e+01, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  %13 = load float, ptr %3, align 4, !tbaa !9
  %14 = fdiv float %13, 2.000000e+01
  %15 = call float @powf(float noundef 1.000000e+01, float noundef %14) #7
  store float %15, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %16 = load i32, ptr %2, align 4, !tbaa !5
  %17 = zext i32 %16 to i64
  %18 = mul i64 %17, 8
  %19 = call noalias ptr @malloc(i64 noundef %18) #8
  store ptr %19, ptr %5, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %20

20:                                               ; preds = %46, %0
  %21 = load i32, ptr %6, align 4, !tbaa !5
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = icmp ult i32 %21, %22
  br i1 %23, label %24, label %49

24:                                               ; preds = %20
  %25 = load float, ptr %4, align 4, !tbaa !9
  %26 = call float (...) @randnf()
  %27 = call float (...) @randnf()
  %28 = fmul float 0.000000e+00, %27
  %29 = fmul float 1.000000e+00, %27
  %30 = fadd float %26, %28
  %31 = fmul float %25, %30
  %32 = fmul float %25, %29
  %33 = fpext float %31 to double
  %34 = fpext float %32 to double
  %35 = fmul double %33, 0x3FE6A09E667F3BCD
  %36 = fmul double %34, 0x3FE6A09E667F3BCD
  %37 = fadd double 1.000000e+00, %35
  %38 = fptrunc double %37 to float
  %39 = fptrunc double %36 to float
  %40 = load ptr, ptr %5, align 8, !tbaa !11
  %41 = load i32, ptr %6, align 4, !tbaa !5
  %42 = zext i32 %41 to i64
  %43 = getelementptr inbounds { float, float }, ptr %40, i64 %42
  %44 = getelementptr inbounds { float, float }, ptr %43, i32 0, i32 0
  %45 = getelementptr inbounds { float, float }, ptr %43, i32 0, i32 1
  store float %38, ptr %44, align 4
  store float %39, ptr %45, align 4
  br label %46

46:                                               ; preds = %24
  %47 = load i32, ptr %6, align 4, !tbaa !5
  %48 = add i32 %47, 1
  store i32 %48, ptr %6, align 4, !tbaa !5
  br label %20, !llvm.loop !13

49:                                               ; preds = %20
  %50 = load i32, ptr %1, align 4, !tbaa !5
  %51 = zext i32 %50 to i64
  %52 = call ptr @llvm.stacksave.p0()
  store ptr %52, ptr %7, align 8
  %53 = alloca float, i64 %51, align 16
  store i64 %51, ptr %8, align 8
  %54 = load i32, ptr %1, align 4, !tbaa !5
  %55 = load ptr, ptr %5, align 8, !tbaa !11
  %56 = load i32, ptr %2, align 4, !tbaa !5
  %57 = call i32 @spgramcf_estimate_psd(i32 noundef %54, ptr noundef %55, i32 noundef %56, ptr noundef %53)
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %58

58:                                               ; preds = %112, %49
  %59 = load i32, ptr %6, align 4, !tbaa !5
  %60 = load i32, ptr %1, align 4, !tbaa !5
  %61 = icmp ult i32 %59, %60
  br i1 %61, label %62, label %115

62:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  %63 = load i32, ptr %6, align 4, !tbaa !5
  %64 = uitofp i32 %63 to float
  %65 = load i32, ptr %1, align 4, !tbaa !5
  %66 = uitofp i32 %65 to float
  %67 = fdiv float %64, %66
  %68 = fsub float %67, 5.000000e-01
  store float %68, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  %69 = load float, ptr %9, align 4, !tbaa !9
  %70 = call float @llvm.fabs.f32(float %69)
  %71 = fcmp olt float %70, 0x3FC99999A0000000
  br i1 %71, label %72, label %78

72:                                               ; preds = %62
  %73 = load float, ptr %9, align 4, !tbaa !9
  %74 = call float @llvm.fabs.f32(float %73)
  %75 = fmul float 3.000000e+01, %74
  %76 = fdiv float %75, 0x3FC99999A0000000
  %77 = fsub float 1.500000e+01, %76
  br label %79

78:                                               ; preds = %62
  br label %79

79:                                               ; preds = %78, %72
  %80 = phi float [ %77, %72 ], [ -1.500000e+01, %78 ]
  store float %80, ptr %10, align 4, !tbaa !9
  %81 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %82 = icmp ne i32 %81, 0
  br i1 %82, label %83, label %95

83:                                               ; preds = %79
  %84 = load i32, ptr %6, align 4, !tbaa !5
  %85 = load float, ptr %9, align 4, !tbaa !9
  %86 = fpext float %85 to double
  %87 = load i32, ptr %6, align 4, !tbaa !5
  %88 = zext i32 %87 to i64
  %89 = getelementptr inbounds float, ptr %53, i64 %88
  %90 = load float, ptr %89, align 4, !tbaa !9
  %91 = fpext float %90 to double
  %92 = load float, ptr %10, align 4, !tbaa !9
  %93 = fpext float %92 to double
  %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.52, i32 noundef %84, double noundef %86, double noundef %91, double noundef %93)
  br label %95

95:                                               ; preds = %83, %79
  %96 = load i32, ptr %6, align 4, !tbaa !5
  %97 = zext i32 %96 to i64
  %98 = getelementptr inbounds float, ptr %53, i64 %97
  %99 = load float, ptr %98, align 4, !tbaa !9
  %100 = load float, ptr %10, align 4, !tbaa !9
  %101 = fcmp oge float %99, %100
  br i1 %101, label %102, label %110

102:                                              ; preds = %95
  %103 = load i32, ptr %6, align 4, !tbaa !5
  %104 = zext i32 %103 to i64
  %105 = getelementptr inbounds float, ptr %53, i64 %104
  %106 = load float, ptr %105, align 4, !tbaa !9
  %107 = fpext float %106 to double
  %108 = load float, ptr %10, align 4, !tbaa !9
  %109 = fpext float %108 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str.1, i32 noundef 302, ptr noundef @.str.48, double noundef %107, ptr noundef @.str.7, ptr noundef @.str.51, double noundef %109)
  br label %111

110:                                              ; preds = %95
  call void (...) @liquid_autotest_passed()
  br label %111

111:                                              ; preds = %110, %102
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  br label %112

112:                                              ; preds = %111
  %113 = load i32, ptr %6, align 4, !tbaa !5
  %114 = add i32 %113, 1
  store i32 %114, ptr %6, align 4, !tbaa !5
  br label %58, !llvm.loop !15

115:                                              ; preds = %58
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store float 0.000000e+00, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %116 = load i32, ptr %1, align 4, !tbaa !5
  %117 = udiv i32 %116, 2
  store i32 %117, ptr %12, align 4, !tbaa !5
  %118 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %119 = icmp ne i32 %118, 0
  br i1 %119, label %120, label %129

120:                                              ; preds = %115
  %121 = load i32, ptr %12, align 4, !tbaa !5
  %122 = zext i32 %121 to i64
  %123 = getelementptr inbounds float, ptr %53, i64 %122
  %124 = load float, ptr %123, align 4, !tbaa !9
  %125 = fpext float %124 to double
  %126 = load float, ptr %11, align 4, !tbaa !9
  %127 = fpext float %126 to double
  %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.53, double noundef 0.000000e+00, double noundef %125, double noundef %127)
  br label %129

129:                                              ; preds = %120, %115
  %130 = load i32, ptr %12, align 4, !tbaa !5
  %131 = zext i32 %130 to i64
  %132 = getelementptr inbounds float, ptr %53, i64 %131
  %133 = load float, ptr %132, align 4, !tbaa !9
  %134 = load float, ptr %11, align 4, !tbaa !9
  %135 = fcmp ole float %133, %134
  br i1 %135, label %136, label %144

136:                                              ; preds = %129
  %137 = load i32, ptr %12, align 4, !tbaa !5
  %138 = zext i32 %137 to i64
  %139 = getelementptr inbounds float, ptr %53, i64 %138
  %140 = load float, ptr %139, align 4, !tbaa !9
  %141 = fpext float %140 to double
  %142 = load float, ptr %11, align 4, !tbaa !9
  %143 = fpext float %142 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str.1, i32 noundef 309, ptr noundef @.str.54, double noundef %141, ptr noundef @.str.49, ptr noundef @.str.50, double noundef %143)
  br label %145

144:                                              ; preds = %129
  call void (...) @liquid_autotest_passed()
  br label %145

145:                                              ; preds = %144, %136
  %146 = load ptr, ptr %5, align 8, !tbaa !11
  call void @free(ptr noundef %146) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  %147 = load ptr, ptr %7, align 8
  call void @llvm.stackrestore.p0(ptr %147)
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #7
  ret void
}

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

@liquid_autotest_verbose = external local_unnamed_addr global i32, align 4
@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [12 x i8], align 1

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #0

declare float @randnf(...) local_unnamed_addr #1

declare void @liquid_autotest_failed_expr(ptr noundef, i32 noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, double noundef) local_unnamed_addr #1

declare void @liquid_autotest_passed(...) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #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 @spgramcf_estimate_psd(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local void @autotest_spgramcf_short() local_unnamed_addr #5 {
  %1 = tail call noalias dereferenceable_or_null(1600) ptr @malloc(i64 noundef 1600) #6
  br label %2

2:                                                ; preds = %0, %2
  %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next, %2 ]
  %3 = tail call float (...) @randnf() #7
  %4 = tail call float (...) @randnf() #7
  %5 = fmul float %4, 0.000000e+00
  %6 = fadd float %3, %5
  %7 = fmul float %6, 0x3FB99999A0000000
  %8 = fmul float %4, 0x3FB99999A0000000
  %9 = fpext float %7 to double
  %10 = fpext float %8 to double
  %11 = fmul double %9, 0x3FE6A09E667F3BCD
  %12 = fmul double %10, 0x3FE6A09E667F3BCD
  %13 = fadd double %11, 1.000000e+00
  %14 = getelementptr inbounds { float, float }, ptr %1, i64 %indvars.iv
  %15 = insertelement <2 x double> poison, double %13, i64 0
  %16 = insertelement <2 x double> %15, double %12, i64 1
  %17 = fptrunc <2 x double> %16 to <2 x float>
  store <2 x float> %17, ptr %14, align 4
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 200
  br i1 %exitcond.not, label %18, label %2, !llvm.loop !5

18:                                               ; preds = %2
  %19 = alloca [1200 x float], align 16
  %20 = call i32 @spgramcf_estimate_psd(i32 noundef 1200, ptr noundef nonnull %1, i32 noundef 200, ptr noundef nonnull %19) #7
  br label %21

21:                                               ; preds = %18, %48
  %indvars.iv43 = phi i64 [ 0, %18 ], [ %indvars.iv.next44, %48 ]
  %22 = trunc nuw nsw i64 %indvars.iv43 to i32
  %23 = uitofp nneg i32 %22 to float
  %24 = fdiv float %23, 1.200000e+03
  %25 = fadd float %24, -5.000000e-01
  %26 = call float @llvm.fabs.f32(float %25)
  %27 = fcmp olt float %26, 0x3FC99999A0000000
  %28 = fmul float %26, 3.000000e+01
  %29 = fdiv float %28, 0x3FC99999A0000000
  %30 = fsub float 1.500000e+01, %29
  %31 = select i1 %27, float %30, float -1.500000e+01
  %32 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !7
  %.not39 = icmp eq i32 %32, 0
  br i1 %.not39, label %40, label %33

33:                                               ; preds = %21
  %34 = fpext float %25 to double
  %35 = getelementptr inbounds float, ptr %19, i64 %indvars.iv43
  %36 = load float, ptr %35, align 4, !tbaa !11
  %37 = fpext float %36 to double
  %38 = fpext float %31 to double
  %39 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.52, i32 noundef %22, double noundef %34, double noundef %37, double noundef %38)
  br label %40

40:                                               ; preds = %33, %21
  %41 = getelementptr inbounds float, ptr %19, i64 %indvars.iv43
  %42 = load float, ptr %41, align 4, !tbaa !11
  %43 = fcmp ult float %42, %31
  br i1 %43, label %47, label %44

44:                                               ; preds = %40
  %45 = fpext float %42 to double
  %46 = fpext float %31 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str.1, i32 noundef 302, ptr noundef nonnull @.str.48, double noundef %45, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.51, double noundef %46) #7
  br label %48

47:                                               ; preds = %40
  call void (...) @liquid_autotest_passed() #7
  br label %48

48:                                               ; preds = %47, %44
  %indvars.iv.next44 = add nuw nsw i64 %indvars.iv43, 1
  %exitcond46.not = icmp eq i64 %indvars.iv.next44, 1200
  br i1 %exitcond46.not, label %49, label %21, !llvm.loop !13

49:                                               ; preds = %48
  %50 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !7
  %.not = icmp eq i32 %50, 0
  br i1 %.not, label %56, label %51

51:                                               ; preds = %49
  %52 = getelementptr inbounds i8, ptr %19, i64 2400
  %53 = load float, ptr %52, align 16, !tbaa !11
  %54 = fpext float %53 to double
  %55 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.53, double noundef 0.000000e+00, double noundef %54, double noundef 0.000000e+00)
  br label %56

56:                                               ; preds = %51, %49
  %57 = getelementptr inbounds i8, ptr %19, i64 2400
  %58 = load float, ptr %57, align 16, !tbaa !11
  %59 = fcmp ugt float %58, 0.000000e+00
  br i1 %59, label %62, label %60

60:                                               ; preds = %56
  %61 = fpext float %58 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str.1, i32 noundef 309, ptr noundef nonnull @.str.54, double noundef %61, ptr noundef nonnull @.str.49, ptr noundef nonnull @.str.50, double noundef 0.000000e+00) #7
  br label %63

62:                                               ; preds = %56
  call void (...) @liquid_autotest_passed() #7
  br label %63

63:                                               ; preds = %62, %60
  call void @free(ptr noundef %1) #7
  ret void
}

attributes #0 = { nofree 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 #1 = { "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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 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 #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 = { nounwind allocsize(0) }
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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !9, i64 0}
!13 = distinct !{!13, !6}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass