; LLVM IR from tsotchke/quantum_rng :: tests/statistical (statistical_tests)

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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
define dso_local double @pattern_analysis(ptr noundef %0, i64 noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca [16 x i64], align 16
  %6 = alloca double, align 8
  %7 = alloca i64, align 8
  %8 = alloca i32, align 4
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca i32, align 4
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i64 %1, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 128, ptr %5) #4
  call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 128, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store double 0.000000e+00, ptr %6, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store i64 0, ptr %7, align 8, !tbaa !9
  br label %15

15:                                               ; preds = %50, %2
  %16 = load i64, ptr %7, align 8, !tbaa !9
  %17 = load i64, ptr %4, align 8, !tbaa !9
  %18 = icmp ult i64 %16, %17
  br i1 %18, label %20, label %19

19:                                               ; preds = %15
  store i32 2, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  br label %53

20:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %21 = load ptr, ptr %3, align 8, !tbaa !5
  %22 = load i64, ptr %7, align 8, !tbaa !9
  %23 = getelementptr inbounds i64, ptr %21, i64 %22
  %24 = load i64, ptr %23, align 8, !tbaa !9
  store i64 %24, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 1, ptr %10, align 4, !tbaa !13
  br label %25

25:                                               ; preds = %46, %20
  %26 = load i32, ptr %10, align 4, !tbaa !13
  %27 = icmp sle i32 %26, 16
  br i1 %27, label %29, label %28

28:                                               ; preds = %25
  store i32 5, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %49

29:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %30 = load i64, ptr %9, align 8, !tbaa !9
  %31 = load i32, ptr %10, align 4, !tbaa !13
  %32 = zext i32 %31 to i64
  %33 = shl i64 1, %32
  %34 = sub i64 %33, 1
  %35 = and i64 %30, %34
  store i64 %35, ptr %11, align 8, !tbaa !9
  %36 = load i64, ptr %11, align 8, !tbaa !9
  %37 = call i64 @llvm.ctpop.i64(i64 %36)
  %38 = trunc i64 %37 to i32
  %39 = sext i32 %38 to i64
  %40 = load i32, ptr %10, align 4, !tbaa !13
  %41 = sub nsw i32 %40, 1
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [16 x i64], ptr %5, i64 0, i64 %42
  %44 = load i64, ptr %43, align 8, !tbaa !9
  %45 = add i64 %44, %39
  store i64 %45, ptr %43, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  br label %46

46:                                               ; preds = %29
  %47 = load i32, ptr %10, align 4, !tbaa !13
  %48 = add nsw i32 %47, 1
  store i32 %48, ptr %10, align 4, !tbaa !13
  br label %25, !llvm.loop !15

49:                                               ; preds = %28
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  br label %50

50:                                               ; preds = %49
  %51 = load i64, ptr %7, align 8, !tbaa !9
  %52 = add i64 %51, 1
  store i64 %52, ptr %7, align 8, !tbaa !9
  br label %15, !llvm.loop !17

53:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !13
  br label %54

54:                                               ; preds = %79, %53
  %55 = load i32, ptr %12, align 4, !tbaa !13
  %56 = icmp slt i32 %55, 16
  br i1 %56, label %58, label %57

57:                                               ; preds = %54
  store i32 8, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %82

58:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %59 = load i64, ptr %4, align 8, !tbaa !9
  %60 = load i32, ptr %12, align 4, !tbaa !13
  %61 = add nsw i32 %60, 1
  %62 = sext i32 %61 to i64
  %63 = mul i64 %59, %62
  %64 = uitofp i64 %63 to double
  %65 = fmul double %64, 5.000000e-01
  store double %65, ptr %13, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %66 = load i32, ptr %12, align 4, !tbaa !13
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [16 x i64], ptr %5, i64 0, i64 %67
  %69 = load i64, ptr %68, align 8, !tbaa !9
  %70 = uitofp i64 %69 to double
  store double %70, ptr %14, align 8, !tbaa !11
  %71 = load double, ptr %14, align 8, !tbaa !11
  %72 = load double, ptr %13, align 8, !tbaa !11
  %73 = fsub double %71, %72
  %74 = call double @llvm.fabs.f64(double %73)
  %75 = load double, ptr %13, align 8, !tbaa !11
  %76 = fdiv double %74, %75
  %77 = load double, ptr %6, align 8, !tbaa !11
  %78 = fadd double %77, %76
  store double %78, ptr %6, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  br label %79

79:                                               ; preds = %58
  %80 = load i32, ptr %12, align 4, !tbaa !13
  %81 = add nsw i32 %80, 1
  store i32 %81, ptr %12, align 4, !tbaa !13
  br label %54, !llvm.loop !18

82:                                               ; preds = %57
  %83 = load double, ptr %6, align 8, !tbaa !11
  %84 = fdiv double %83, 1.600000e+01
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr %5) #4
  ret double %84
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.ctpop.i64(i64) #3

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

attributes #0 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}


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

; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable
define dso_local double @pattern_analysis(ptr nocapture noundef readonly %0, i64 noundef %1) local_unnamed_addr #0 {
  %.not = icmp eq i64 %1, 0
  br i1 %.not, label %.preheader, label %vector.ph

.preheader.loopexit:                              ; preds = %vector.ph
  %.sroa.0.0.vec.extract = extractelement <2 x i64> %116, i64 0
  %.sroa.0.8.vec.extract = extractelement <2 x i64> %116, i64 1
  %3 = uitofp i64 %.sroa.0.0.vec.extract to double
  %4 = uitofp i64 %.sroa.0.8.vec.extract to double
  %5 = uitofp <8 x i64> %.sroa.7.64.vecblend to <8 x double>
  %6 = uitofp <2 x i64> %131 to <2 x double>
  %7 = uitofp <2 x i64> %134 to <2 x double>
  %8 = uitofp <2 x i64> %137 to <2 x double>
  br label %.preheader

.preheader:                                       ; preds = %.preheader.loopexit, %2
  %.sroa.22.0 = phi <2 x double> [ zeroinitializer, %2 ], [ %8, %.preheader.loopexit ]
  %.sroa.19.0 = phi <2 x double> [ zeroinitializer, %2 ], [ %7, %.preheader.loopexit ]
  %.sroa.16.0 = phi <2 x double> [ zeroinitializer, %2 ], [ %6, %.preheader.loopexit ]
  %9 = phi double [ 0.000000e+00, %2 ], [ %4, %.preheader.loopexit ]
  %10 = phi double [ 0.000000e+00, %2 ], [ %3, %.preheader.loopexit ]
  %11 = phi <8 x double> [ zeroinitializer, %2 ], [ %5, %.preheader.loopexit ]
  %12 = uitofp i64 %1 to double
  %13 = fmul double %12, 5.000000e-01
  %14 = fsub double %10, %13
  %15 = tail call double @llvm.fabs.f64(double %14)
  %16 = fdiv double %15, %13
  %17 = shl i64 %1, 1
  %18 = uitofp i64 %17 to double
  %19 = fmul double %18, 5.000000e-01
  %20 = fsub double %9, %19
  %21 = tail call double @llvm.fabs.f64(double %20)
  %22 = fdiv double %21, %19
  %23 = fadd double %16, %22
  %24 = mul i64 %1, 3
  %25 = uitofp i64 %24 to double
  %26 = fmul double %25, 5.000000e-01
  %27 = extractelement <8 x double> %11, i64 0
  %28 = fsub double %27, %26
  %29 = tail call double @llvm.fabs.f64(double %28)
  %30 = fdiv double %29, %26
  %31 = fadd double %23, %30
  %32 = shl i64 %1, 2
  %33 = uitofp i64 %32 to double
  %34 = fmul double %33, 5.000000e-01
  %35 = extractelement <8 x double> %11, i64 1
  %36 = fsub double %35, %34
  %37 = tail call double @llvm.fabs.f64(double %36)
  %38 = fdiv double %37, %34
  %39 = fadd double %31, %38
  %40 = insertelement <2 x i64> poison, i64 %1, i64 0
  %41 = shufflevector <2 x i64> %40, <2 x i64> poison, <2 x i32> zeroinitializer
  %42 = mul <2 x i64> %41, <i64 5, i64 6>
  %43 = uitofp <2 x i64> %42 to <2 x double>
  %44 = fmul <2 x double> %43, <double 5.000000e-01, double 5.000000e-01>
  %45 = shufflevector <8 x double> %11, <8 x double> poison, <2 x i32> <i32 2, i32 3>
  %46 = fsub <2 x double> %45, %44
  %47 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %46)
  %48 = fdiv <2 x double> %47, %44
  %49 = extractelement <2 x double> %48, i64 0
  %50 = fadd double %39, %49
  %51 = extractelement <2 x double> %48, i64 1
  %52 = fadd double %50, %51
  %53 = mul i64 %1, 7
  %54 = shl i64 %1, 3
  %55 = insertelement <2 x i64> poison, i64 %53, i64 0
  %56 = insertelement <2 x i64> %55, i64 %54, i64 1
  %57 = uitofp <2 x i64> %56 to <2 x double>
  %58 = fmul <2 x double> %57, <double 5.000000e-01, double 5.000000e-01>
  %59 = shufflevector <8 x double> %11, <8 x double> poison, <2 x i32> <i32 4, i32 5>
  %60 = fsub <2 x double> %59, %58
  %61 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %60)
  %62 = fdiv <2 x double> %61, %58
  %63 = extractelement <2 x double> %62, i64 0
  %64 = fadd double %52, %63
  %65 = extractelement <2 x double> %62, i64 1
  %66 = fadd double %64, %65
  %67 = mul <2 x i64> %41, <i64 9, i64 10>
  %68 = uitofp <2 x i64> %67 to <2 x double>
  %69 = fmul <2 x double> %68, <double 5.000000e-01, double 5.000000e-01>
  %70 = shufflevector <8 x double> %11, <8 x double> poison, <2 x i32> <i32 6, i32 7>
  %71 = fsub <2 x double> %70, %69
  %72 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %71)
  %73 = fdiv <2 x double> %72, %69
  %74 = extractelement <2 x double> %73, i64 0
  %75 = fadd double %66, %74
  %76 = extractelement <2 x double> %73, i64 1
  %77 = fadd double %75, %76
  %78 = mul <2 x i64> %41, <i64 11, i64 12>
  %79 = uitofp <2 x i64> %78 to <2 x double>
  %80 = fmul <2 x double> %79, <double 5.000000e-01, double 5.000000e-01>
  %81 = fsub <2 x double> %.sroa.16.0, %80
  %82 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %81)
  %83 = fdiv <2 x double> %82, %80
  %84 = extractelement <2 x double> %83, i64 0
  %85 = fadd double %77, %84
  %86 = extractelement <2 x double> %83, i64 1
  %87 = fadd double %85, %86
  %88 = mul <2 x i64> %41, <i64 13, i64 14>
  %89 = uitofp <2 x i64> %88 to <2 x double>
  %90 = fmul <2 x double> %89, <double 5.000000e-01, double 5.000000e-01>
  %91 = fsub <2 x double> %.sroa.19.0, %90
  %92 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %91)
  %93 = fdiv <2 x double> %92, %90
  %94 = extractelement <2 x double> %93, i64 0
  %95 = fadd double %87, %94
  %96 = extractelement <2 x double> %93, i64 1
  %97 = fadd double %95, %96
  %98 = mul i64 %1, 15
  %99 = shl i64 %1, 4
  %100 = insertelement <2 x i64> poison, i64 %98, i64 0
  %101 = insertelement <2 x i64> %100, i64 %99, i64 1
  %102 = uitofp <2 x i64> %101 to <2 x double>
  %103 = fmul <2 x double> %102, <double 5.000000e-01, double 5.000000e-01>
  %104 = fsub <2 x double> %.sroa.22.0, %103
  %105 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %104)
  %106 = fdiv <2 x double> %105, %103
  %107 = extractelement <2 x double> %106, i64 0
  %108 = fadd double %97, %107
  %109 = extractelement <2 x double> %106, i64 1
  %110 = fadd double %108, %109
  %111 = fmul double %110, 6.250000e-02
  ret double %111

vector.ph:                                        ; preds = %2, %vector.ph
  %.sroa.22.1 = phi <2 x i64> [ %137, %vector.ph ], [ zeroinitializer, %2 ]
  %.sroa.19.1 = phi <2 x i64> [ %134, %vector.ph ], [ zeroinitializer, %2 ]
  %.sroa.16.1 = phi <2 x i64> [ %131, %vector.ph ], [ zeroinitializer, %2 ]
  %.sroa.7.0 = phi <8 x i64> [ %.sroa.7.64.vecblend, %vector.ph ], [ zeroinitializer, %2 ]
  %.sroa.0.0 = phi <2 x i64> [ %116, %vector.ph ], [ zeroinitializer, %2 ]
  %.02025 = phi i64 [ %138, %vector.ph ], [ 0, %2 ]
  %112 = getelementptr inbounds i64, ptr %0, i64 %.02025
  %113 = load i64, ptr %112, align 8, !tbaa !5
  %broadcast.splatinsert = insertelement <2 x i64> poison, i64 %113, i64 0
  %broadcast.splat = shufflevector <2 x i64> %broadcast.splatinsert, <2 x i64> poison, <2 x i32> zeroinitializer
  %114 = and <2 x i64> %broadcast.splat, <i64 1, i64 3>
  %115 = tail call range(i64 0, 64) <2 x i64> @llvm.ctpop.v2i64(<2 x i64> %114)
  %116 = add <2 x i64> %.sroa.0.0, %115
  %117 = and <2 x i64> %broadcast.splat, <i64 7, i64 15>
  %118 = tail call range(i64 0, 64) <2 x i64> @llvm.ctpop.v2i64(<2 x i64> %117)
  %.sroa.7.16.vec.extract = shufflevector <8 x i64> %.sroa.7.0, <8 x i64> poison, <2 x i32> <i32 0, i32 1>
  %119 = add <2 x i64> %.sroa.7.16.vec.extract, %118
  %.sroa.7.16.vec.expand = shufflevector <2 x i64> %119, <2 x i64> poison, <8 x i32> <i32 0, i32 1, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison>
  %.sroa.7.16.vecblend = shufflevector <8 x i64> %.sroa.7.16.vec.expand, <8 x i64> %.sroa.7.0, <8 x i32> <i32 0, i32 1, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15>
  %120 = and <2 x i64> %broadcast.splat, <i64 31, i64 63>
  %121 = tail call range(i64 0, 64) <2 x i64> @llvm.ctpop.v2i64(<2 x i64> %120)
  %.sroa.7.32.vec.extract = shufflevector <8 x i64> %.sroa.7.16.vecblend, <8 x i64> poison, <2 x i32> <i32 2, i32 3>
  %122 = add <2 x i64> %.sroa.7.32.vec.extract, %121
  %.sroa.7.32.vec.expand = shufflevector <2 x i64> %122, <2 x i64> poison, <8 x i32> <i32 poison, i32 poison, i32 0, i32 1, i32 poison, i32 poison, i32 poison, i32 poison>
  %.sroa.7.32.vecblend = shufflevector <8 x i64> %.sroa.7.16.vecblend, <8 x i64> %.sroa.7.32.vec.expand, <8 x i32> <i32 0, i32 1, i32 10, i32 11, i32 poison, i32 poison, i32 poison, i32 poison>
  %123 = and <2 x i64> %broadcast.splat, <i64 127, i64 255>
  %124 = tail call range(i64 0, 64) <2 x i64> @llvm.ctpop.v2i64(<2 x i64> %123)
  %.sroa.7.48.vec.extract = shufflevector <8 x i64> %.sroa.7.16.vecblend, <8 x i64> poison, <2 x i32> <i32 4, i32 5>
  %125 = add <2 x i64> %.sroa.7.48.vec.extract, %124
  %.sroa.7.48.vec.expand = shufflevector <2 x i64> %125, <2 x i64> poison, <8 x i32> <i32 poison, i32 poison, i32 poison, i32 poison, i32 0, i32 1, i32 poison, i32 poison>
  %.sroa.7.48.vecblend = shufflevector <8 x i64> %.sroa.7.32.vecblend, <8 x i64> %.sroa.7.48.vec.expand, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 12, i32 13, i32 poison, i32 poison>
  %126 = and <2 x i64> %broadcast.splat, <i64 511, i64 1023>
  %127 = tail call range(i64 0, 64) <2 x i64> @llvm.ctpop.v2i64(<2 x i64> %126)
  %.sroa.7.64.vec.extract = shufflevector <8 x i64> %.sroa.7.16.vecblend, <8 x i64> poison, <2 x i32> <i32 6, i32 7>
  %128 = add <2 x i64> %.sroa.7.64.vec.extract, %127
  %.sroa.7.64.vec.expand = shufflevector <2 x i64> %128, <2 x i64> poison, <8 x i32> <i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 0, i32 1>
  %.sroa.7.64.vecblend = shufflevector <8 x i64> %.sroa.7.48.vecblend, <8 x i64> %.sroa.7.64.vec.expand, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 14, i32 15>
  %129 = and <2 x i64> %broadcast.splat, <i64 2047, i64 4095>
  %130 = tail call range(i64 0, 64) <2 x i64> @llvm.ctpop.v2i64(<2 x i64> %129)
  %131 = add <2 x i64> %.sroa.16.1, %130
  %132 = and <2 x i64> %broadcast.splat, <i64 8191, i64 16383>
  %133 = tail call range(i64 0, 64) <2 x i64> @llvm.ctpop.v2i64(<2 x i64> %132)
  %134 = add <2 x i64> %.sroa.19.1, %133
  %135 = and <2 x i64> %broadcast.splat, <i64 32767, i64 65535>
  %136 = tail call range(i64 0, 64) <2 x i64> @llvm.ctpop.v2i64(<2 x i64> %135)
  %137 = add <2 x i64> %.sroa.22.1, %136
  %138 = add nuw i64 %.02025, 1
  %exitcond29.not = icmp eq i64 %138, %1
  br i1 %exitcond29.not, label %.preheader.loopexit, label %vector.ph, !llvm.loop !9
}

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x i64> @llvm.ctpop.v2i64(<2 x i64>) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fabs.v2f64(<2 x double>) #2

attributes #0 = { nofree norecurse nosync nounwind memory(argmem: read) 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 speculatable willreturn memory(none) }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

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


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass