; LLVM IR from rdguez-mariano/fast_imas_IPOL :: libUSAC/utils (FundmatrixFunctions)

; 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 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 nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

declare void @_ZN9MathTools4vmulEPdS0_S0_i(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN6FTools9getHErrorERKSt6vectorIjSaIjEEjRS0_IdSaIdEEPdS8_d(ptr noundef nonnull align 8 dereferenceable(24) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef %3, ptr noundef %4, double noundef %5) #4 {
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca double, align 8
  %13 = alloca ptr, align 8
  %14 = alloca [9 x double], align 16
  %15 = alloca [3 x double], align 16
  %16 = alloca [3 x double], align 16
  %17 = alloca double, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = 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 ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store double %5, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %26 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %26, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 72, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  store i32 0, ptr %19, align 4, !tbaa !9
  %27 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZNSt6vectorIdSaIdEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #5
  %28 = load ptr, ptr %9, align 8, !tbaa !5
  %29 = load i32, ptr %8, align 4, !tbaa !9
  %30 = zext i32 %29 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %30)
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %31

31:                                               ; preds = %44, %6
  %32 = load i32, ptr %20, align 4, !tbaa !9
  %33 = icmp ult i32 %32, 9
  br i1 %33, label %35, label %34

34:                                               ; preds = %31
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  br label %47

35:                                               ; preds = %31
  %36 = load ptr, ptr %13, align 8, !tbaa !5
  %37 = load i32, ptr %20, align 4, !tbaa !9
  %38 = zext i32 %37 to i64
  %39 = getelementptr inbounds double, ptr %36, i64 %38
  %40 = load double, ptr %39, align 8, !tbaa !11
  %41 = load i32, ptr %20, align 4, !tbaa !9
  %42 = zext i32 %41 to i64
  %43 = getelementptr inbounds [9 x double], ptr %14, i64 0, i64 %42
  store double %40, ptr %43, align 8, !tbaa !11
  br label %44

44:                                               ; preds = %35
  %45 = load i32, ptr %20, align 4, !tbaa !9
  %46 = add i32 %45, 1
  store i32 %46, ptr %20, align 4, !tbaa !9
  br label %31, !llvm.loop !13

47:                                               ; preds = %34
  %48 = getelementptr inbounds [9 x double], ptr %14, i64 0, i64 0
  %49 = call noundef i32 @_ZN9MathTools4minvEPdi(ptr noundef %48, i32 noundef 3)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %50

50:                                               ; preds = %154, %47
  %51 = load i32, ptr %21, align 4, !tbaa !9
  %52 = load i32, ptr %8, align 4, !tbaa !9
  %53 = icmp ult i32 %51, %52
  br i1 %53, label %55, label %54

54:                                               ; preds = %50
  store i32 5, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  br label %157

55:                                               ; preds = %50
  %56 = load ptr, ptr %10, align 8, !tbaa !5
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = load i32, ptr %21, align 4, !tbaa !9
  %59 = zext i32 %58 to i64
  %60 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %57, i64 noundef %59) #5
  %61 = load i32, ptr %60, align 4, !tbaa !9
  %62 = mul i32 6, %61
  %63 = zext i32 %62 to i64
  %64 = getelementptr inbounds double, ptr %56, i64 %63
  store ptr %64, ptr %18, align 8, !tbaa !5
  %65 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0
  %66 = load ptr, ptr %13, align 8, !tbaa !5
  %67 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN9MathTools4vmulEPdS0_S0_i(ptr noundef %65, ptr noundef %66, ptr noundef %67, i32 noundef 3)
  %68 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 0
  %69 = getelementptr inbounds [9 x double], ptr %14, i64 0, i64 0
  %70 = load ptr, ptr %18, align 8, !tbaa !5
  %71 = getelementptr inbounds double, ptr %70, i64 3
  call void @_ZN9MathTools4vmulEPdS0_S0_i(ptr noundef %68, ptr noundef %69, ptr noundef %71, i32 noundef 3)
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  store double 0.000000e+00, ptr %23, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  store double 0.000000e+00, ptr %24, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  store i32 0, ptr %25, align 4, !tbaa !9
  br label %72

72:                                               ; preds = %135, %55
  %73 = load i32, ptr %25, align 4, !tbaa !9
  %74 = icmp ult i32 %73, 2
  br i1 %74, label %76, label %75

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

76:                                               ; preds = %72
  %77 = load i32, ptr %25, align 4, !tbaa !9
  %78 = zext i32 %77 to i64
  %79 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 %78
  %80 = load double, ptr %79, align 8, !tbaa !11
  %81 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 2
  %82 = load double, ptr %81, align 16, !tbaa !11
  %83 = fdiv double %80, %82
  %84 = load ptr, ptr %18, align 8, !tbaa !5
  %85 = load i32, ptr %25, align 4, !tbaa !9
  %86 = add i32 3, %85
  %87 = zext i32 %86 to i64
  %88 = getelementptr inbounds double, ptr %84, i64 %87
  %89 = load double, ptr %88, align 8, !tbaa !11
  %90 = fsub double %83, %89
  %91 = load i32, ptr %25, align 4, !tbaa !9
  %92 = zext i32 %91 to i64
  %93 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 %92
  %94 = load double, ptr %93, align 8, !tbaa !11
  %95 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 2
  %96 = load double, ptr %95, align 16, !tbaa !11
  %97 = fdiv double %94, %96
  %98 = load ptr, ptr %18, align 8, !tbaa !5
  %99 = load i32, ptr %25, align 4, !tbaa !9
  %100 = add i32 3, %99
  %101 = zext i32 %100 to i64
  %102 = getelementptr inbounds double, ptr %98, i64 %101
  %103 = load double, ptr %102, align 8, !tbaa !11
  %104 = fsub double %97, %103
  %105 = load double, ptr %23, align 8, !tbaa !11
  %106 = call double @llvm.fmuladd.f64(double %90, double %104, double %105)
  store double %106, ptr %23, align 8, !tbaa !11
  %107 = load i32, ptr %25, align 4, !tbaa !9
  %108 = zext i32 %107 to i64
  %109 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 %108
  %110 = load double, ptr %109, align 8, !tbaa !11
  %111 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 2
  %112 = load double, ptr %111, align 16, !tbaa !11
  %113 = fdiv double %110, %112
  %114 = load ptr, ptr %18, align 8, !tbaa !5
  %115 = load i32, ptr %25, align 4, !tbaa !9
  %116 = zext i32 %115 to i64
  %117 = getelementptr inbounds double, ptr %114, i64 %116
  %118 = load double, ptr %117, align 8, !tbaa !11
  %119 = fsub double %113, %118
  %120 = load i32, ptr %25, align 4, !tbaa !9
  %121 = zext i32 %120 to i64
  %122 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 %121
  %123 = load double, ptr %122, align 8, !tbaa !11
  %124 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 2
  %125 = load double, ptr %124, align 16, !tbaa !11
  %126 = fdiv double %123, %125
  %127 = load ptr, ptr %18, align 8, !tbaa !5
  %128 = load i32, ptr %25, align 4, !tbaa !9
  %129 = zext i32 %128 to i64
  %130 = getelementptr inbounds double, ptr %127, i64 %129
  %131 = load double, ptr %130, align 8, !tbaa !11
  %132 = fsub double %126, %131
  %133 = load double, ptr %24, align 8, !tbaa !11
  %134 = call double @llvm.fmuladd.f64(double %119, double %132, double %133)
  store double %134, ptr %24, align 8, !tbaa !11
  br label %135

135:                                              ; preds = %76
  %136 = load i32, ptr %25, align 4, !tbaa !9
  %137 = add i32 %136, 1
  store i32 %137, ptr %25, align 4, !tbaa !9
  br label %72, !llvm.loop !15

138:                                              ; preds = %75
  %139 = load double, ptr %23, align 8, !tbaa !11
  %140 = load double, ptr %24, align 8, !tbaa !11
  %141 = fadd double %139, %140
  store double %141, ptr %17, align 8, !tbaa !11
  %142 = load double, ptr %17, align 8, !tbaa !11
  %143 = load ptr, ptr %9, align 8, !tbaa !5
  %144 = load i32, ptr %21, align 4, !tbaa !9
  %145 = zext i32 %144 to i64
  %146 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %143, i64 noundef %145) #5
  store double %142, ptr %146, align 8, !tbaa !11
  %147 = load double, ptr %17, align 8, !tbaa !11
  %148 = load double, ptr %12, align 8, !tbaa !11
  %149 = fcmp olt double %147, %148
  br i1 %149, label %150, label %153

150:                                              ; preds = %138
  %151 = load i32, ptr %19, align 4, !tbaa !9
  %152 = add i32 %151, 1
  store i32 %152, ptr %19, align 4, !tbaa !9
  br label %153

153:                                              ; preds = %150, %138
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  br label %154

154:                                              ; preds = %153
  %155 = load i32, ptr %21, align 4, !tbaa !9
  %156 = add i32 %155, 1
  store i32 %156, ptr %21, align 4, !tbaa !9
  br label %50, !llvm.loop !16

157:                                              ; preds = %54
  %158 = load i32, ptr %19, align 4, !tbaa !9
  store i32 1, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  ret i32 %158
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 align 2

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

; 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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

declare noundef i32 @_ZN9MathTools4minvEPdi(ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN6FTools9getHErrorERKSt6vectorIjSaIjEEjRS0_IdSaIdEEPdS8_d(ptr noundef nonnull align 8 dereferenceable(24) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef %3, ptr noundef %4, double noundef %5) local_unnamed_addr #3 {
  %7 = alloca [9 x double], align 16
  %8 = alloca [3 x double], align 16
  %9 = alloca [3 x double], align 16
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  tail call void @_ZNSt6vectorIdSaIdEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  %10 = zext i32 %1 to i64
  tail call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %10)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(72) %7, ptr noundef nonnull align 8 dereferenceable(72) %4, i64 72, i1 false), !tbaa !5
  %11 = call noundef i32 @_ZN9MathTools4minvEPdi(ptr noundef nonnull %7, i32 noundef 3)
  %.not = icmp eq i32 %1, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %6
  %12 = getelementptr inbounds i8, ptr %8, i64 16
  %13 = getelementptr inbounds i8, ptr %9, i64 16
  %14 = getelementptr inbounds i8, ptr %8, i64 8
  %15 = getelementptr inbounds i8, ptr %9, i64 8
  br label %16

._crit_edge:                                      ; preds = %16, %6
  %.046.lcssa = phi i32 [ 0, %6 ], [ %.1, %16 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %7) #6
  ret i32 %.046.lcssa

16:                                               ; preds = %.lr.ph, %16
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %16 ]
  %.04651 = phi i32 [ 0, %.lr.ph ], [ %.1, %16 ]
  %17 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv) #6
  %18 = load i32, ptr %17, align 4, !tbaa !9
  %19 = mul i32 %18, 6
  %20 = zext i32 %19 to i64
  %21 = getelementptr inbounds double, ptr %3, i64 %20
  call void @_ZN9MathTools4vmulEPdS0_S0_i(ptr noundef nonnull %8, ptr noundef %4, ptr noundef %21, i32 noundef 3)
  %22 = getelementptr inbounds i8, ptr %21, i64 24
  call void @_ZN9MathTools4vmulEPdS0_S0_i(ptr noundef nonnull %9, ptr noundef nonnull %7, ptr noundef nonnull %22, i32 noundef 3)
  %23 = load double, ptr %12, align 16, !tbaa !5
  %24 = load double, ptr %13, align 16, !tbaa !5
  %25 = load <2 x double>, ptr %8, align 16
  %26 = load double, ptr %22, align 8, !tbaa !5
  %27 = load double, ptr %9, align 16, !tbaa !5
  %28 = load double, ptr %21, align 8, !tbaa !5
  %29 = load <2 x double>, ptr %14, align 8
  %30 = getelementptr inbounds i8, ptr %21, i64 8
  %31 = getelementptr inbounds i8, ptr %21, i64 32
  %32 = load double, ptr %31, align 8, !tbaa !5
  %33 = load double, ptr %15, align 8, !tbaa !5
  %34 = load double, ptr %30, align 8, !tbaa !5
  %35 = insertelement <2 x double> %25, double %27, i64 1
  %36 = insertelement <2 x double> poison, double %23, i64 0
  %37 = insertelement <2 x double> %36, double %24, i64 1
  %38 = fdiv <2 x double> %35, %37
  %39 = insertelement <2 x double> poison, double %26, i64 0
  %40 = insertelement <2 x double> %39, double %28, i64 1
  %41 = fsub <2 x double> %38, %40
  %42 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %41, <2 x double> %41, <2 x double> zeroinitializer)
  %43 = insertelement <2 x double> %29, double %33, i64 1
  %44 = fdiv <2 x double> %43, %37
  %45 = insertelement <2 x double> poison, double %32, i64 0
  %46 = insertelement <2 x double> %45, double %34, i64 1
  %47 = fsub <2 x double> %44, %46
  %48 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %47, <2 x double> %47, <2 x double> %42)
  %shift = shufflevector <2 x double> %48, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %49 = fadd <2 x double> %48, %shift
  %50 = extractelement <2 x double> %49, i64 0
  %51 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv) #6
  store double %50, ptr %51, align 8, !tbaa !5
  %52 = fcmp olt double %50, %5
  %53 = zext i1 %52 to i32
  %.1 = add i32 %.04651, %53
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %10
  br i1 %exitcond.not, label %._crit_edge, label %16, !llvm.loop !11
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

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

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

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


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass