; LLVM IR from Dimandragon/non-parametric-dsp :: alglib-cpp/src (solvers)

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

%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.1 }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%union.anon.1 = type { ptr }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }

@.str.295 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.296 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.297 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.298 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.299 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.300 = external hidden unnamed_addr constant [63 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

declare void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext, ptr noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN11alglib_impl26spdmatrixcholeskysolvefastEPKNS_9ae_matrixElbPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %0, i64 noundef %1, i1 noundef zeroext %2, ptr noundef %3, ptr noundef %4) #2 {
  %6 = alloca i1, align 1
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i8, align 1
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i8, align 1
  %15 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i64 %1, ptr %8, align 8, !tbaa !9
  %16 = zext i1 %2 to i8
  store i8 %16, ptr %9, align 1, !tbaa !11
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #3
  %17 = load i64, ptr %8, align 8, !tbaa !9
  %18 = icmp sgt i64 %17, 0
  %19 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %18, ptr noundef @.str.295, ptr noundef %19)
  %20 = load ptr, ptr %7, align 8, !tbaa !5
  %21 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %20, i32 0, i32 0
  %22 = load i64, ptr %21, align 8, !tbaa !13
  %23 = load i64, ptr %8, align 8, !tbaa !9
  %24 = icmp sge i64 %22, %23
  %25 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %24, ptr noundef @.str.296, ptr noundef %25)
  %26 = load ptr, ptr %7, align 8, !tbaa !5
  %27 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %26, i32 0, i32 1
  %28 = load i64, ptr %27, align 8, !tbaa !16
  %29 = load i64, ptr %8, align 8, !tbaa !9
  %30 = icmp sge i64 %28, %29
  %31 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %30, ptr noundef @.str.297, ptr noundef %31)
  %32 = load ptr, ptr %10, align 8, !tbaa !5
  %33 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %32, i32 0, i32 0
  %34 = load i64, ptr %33, align 8, !tbaa !17
  %35 = load i64, ptr %8, align 8, !tbaa !9
  %36 = icmp sge i64 %34, %35
  %37 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %36, ptr noundef @.str.298, ptr noundef %37)
  %38 = load ptr, ptr %7, align 8, !tbaa !5
  %39 = load i64, ptr %8, align 8, !tbaa !9
  %40 = load i8, ptr %9, align 1, !tbaa !11, !range !19, !noundef !20
  %41 = trunc i8 %40 to i1
  %42 = load ptr, ptr %11, align 8, !tbaa !5
  %43 = call noundef zeroext i1 @_ZN11alglib_impl17isfinitertrmatrixEPKNS_9ae_matrixElbPNS_8ae_stateE(ptr noundef %38, i64 noundef %39, i1 noundef zeroext %41, ptr noundef %42)
  %44 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %43, ptr noundef @.str.299, ptr noundef %44)
  %45 = load ptr, ptr %10, align 8, !tbaa !5
  %46 = load i64, ptr %8, align 8, !tbaa !9
  %47 = load ptr, ptr %11, align 8, !tbaa !5
  %48 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %45, i64 noundef %46, ptr noundef %47)
  %49 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %48, ptr noundef @.str.300, ptr noundef %49)
  store i8 1, ptr %14, align 1, !tbaa !11
  store i64 0, ptr %13, align 8, !tbaa !9
  br label %50

50:                                               ; preds = %85, %5
  %51 = load i64, ptr %13, align 8, !tbaa !9
  %52 = load i64, ptr %8, align 8, !tbaa !9
  %53 = sub nsw i64 %52, 1
  %54 = icmp sle i64 %51, %53
  br i1 %54, label %55, label %88

55:                                               ; preds = %50
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %56, i32 0, i32 6
  %58 = load ptr, ptr %57, align 8, !tbaa !21
  %59 = load i64, ptr %13, align 8, !tbaa !9
  %60 = getelementptr inbounds ptr, ptr %58, i64 %59
  %61 = load ptr, ptr %60, align 8, !tbaa !5
  %62 = load i64, ptr %13, align 8, !tbaa !9
  %63 = getelementptr inbounds double, ptr %61, i64 %62
  %64 = load double, ptr %63, align 8, !tbaa !22
  %65 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %64, double noundef 0.000000e+00)
  br i1 %65, label %66, label %84

66:                                               ; preds = %55
  store i64 0, ptr %12, align 8, !tbaa !9
  br label %67

67:                                               ; preds = %78, %66
  %68 = load i64, ptr %12, align 8, !tbaa !9
  %69 = load i64, ptr %8, align 8, !tbaa !9
  %70 = sub nsw i64 %69, 1
  %71 = icmp sle i64 %68, %70
  br i1 %71, label %72, label %81

72:                                               ; preds = %67
  %73 = load ptr, ptr %10, align 8, !tbaa !5
  %74 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %73, i32 0, i32 4
  %75 = load ptr, ptr %74, align 8, !tbaa !21
  %76 = load i64, ptr %12, align 8, !tbaa !9
  %77 = getelementptr inbounds double, ptr %75, i64 %76
  store double 0.000000e+00, ptr %77, align 8, !tbaa !22
  br label %78

78:                                               ; preds = %72
  %79 = load i64, ptr %12, align 8, !tbaa !9
  %80 = add nsw i64 %79, 1
  store i64 %80, ptr %12, align 8, !tbaa !9
  br label %67, !llvm.loop !24

81:                                               ; preds = %67
  store i8 0, ptr %14, align 1, !tbaa !11
  %82 = load i8, ptr %14, align 1, !tbaa !11, !range !19, !noundef !20
  %83 = trunc i8 %82 to i1
  store i1 %83, ptr %6, align 1
  store i32 1, ptr %15, align 4
  br label %97

84:                                               ; preds = %55
  br label %85

85:                                               ; preds = %84
  %86 = load i64, ptr %13, align 8, !tbaa !9
  %87 = add nsw i64 %86, 1
  store i64 %87, ptr %13, align 8, !tbaa !9
  br label %50, !llvm.loop !26

88:                                               ; preds = %50
  %89 = load ptr, ptr %7, align 8, !tbaa !5
  %90 = load i64, ptr %8, align 8, !tbaa !9
  %91 = load i8, ptr %9, align 1, !tbaa !11, !range !19, !noundef !20
  %92 = trunc i8 %91 to i1
  %93 = load ptr, ptr %10, align 8, !tbaa !5
  %94 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN11alglib_implL40directdensesolvers_spdbasiccholeskysolveEPKNS_9ae_matrixElbPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %89, i64 noundef %90, i1 noundef zeroext %92, ptr noundef %93, ptr noundef %94)
  %95 = load i8, ptr %14, align 1, !tbaa !11, !range !19, !noundef !20
  %96 = trunc i8 %95 to i1
  store i1 %96, ptr %6, align 1
  store i32 1, ptr %15, align 4
  br label %97

97:                                               ; preds = %88, %81
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  %98 = load i1, ptr %6, align 1
  ret i1 %98
}

declare noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) #1

declare noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef, double noundef) #1

declare noundef zeroext i1 @_ZN11alglib_impl17isfinitertrmatrixEPKNS_9ae_matrixElbPNS_8ae_stateE(ptr noundef, i64 noundef, i1 noundef zeroext, ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL40directdensesolvers_spdbasiccholeskysolveEPKNS_9ae_matrixElbPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef, i64 noundef, i1 noundef zeroext, ptr noundef, ptr noundef) #2

attributes #0 = { 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 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 = { 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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"_ZTSN11alglib_impl9ae_matrixE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !12, i64 32, !15, i64 40, !7, i64 72}
!15 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!16 = !{!14, !10, i64 8}
!17 = !{!18, !10, i64 0}
!18 = !{!"_ZTSN11alglib_impl9ae_vectorE", !10, i64 0, !10, i64 8, !12, i64 16, !15, i64 24, !7, i64 56}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = !{!7, !7, i64 0}
!22 = !{!23, !23, i64 0}
!23 = !{!"double", !7, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = distinct !{!26, !25}


; 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.295 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.296 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.297 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.298 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.299 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.300 = external hidden unnamed_addr constant [63 x i8], align 1

declare void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN11alglib_impl26spdmatrixcholeskysolvefastEPKNS_9ae_matrixElbPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %0, i64 noundef %1, i1 noundef zeroext %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #1 {
  %6 = icmp sgt i64 %1, 0
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %6, ptr noundef nonnull @.str.295, ptr noundef %4)
  %7 = load i64, ptr %0, align 8, !tbaa !5
  %8 = icmp sge i64 %7, %1
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %8, ptr noundef nonnull @.str.296, ptr noundef %4)
  %9 = getelementptr inbounds i8, ptr %0, i64 8
  %10 = load i64, ptr %9, align 8, !tbaa !13
  %11 = icmp sge i64 %10, %1
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %11, ptr noundef nonnull @.str.297, ptr noundef %4)
  %12 = load i64, ptr %3, align 8, !tbaa !14
  %13 = icmp sge i64 %12, %1
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %13, ptr noundef nonnull @.str.298, ptr noundef %4)
  %14 = tail call noundef zeroext i1 @_ZN11alglib_impl17isfinitertrmatrixEPKNS_9ae_matrixElbPNS_8ae_stateE(ptr noundef nonnull %0, i64 noundef %1, i1 noundef zeroext %2, ptr noundef %4)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %14, ptr noundef nonnull @.str.299, ptr noundef %4)
  %15 = tail call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %3, i64 noundef %1, ptr noundef %4)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %15, ptr noundef nonnull @.str.300, ptr noundef %4)
  %.not.not44 = icmp slt i64 %1, 1
  br i1 %.not.not44, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %5
  %16 = getelementptr inbounds i8, ptr %0, i64 72
  %17 = load ptr, ptr %16, align 8, !tbaa !16
  %18 = load ptr, ptr %17, align 8, !tbaa !17
  %19 = load double, ptr %18, align 8, !tbaa !18
  %20 = tail call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %19, double noundef 0.000000e+00)
  br i1 %20, label %.lr.ph49, label %.lr.ph58

.lr.ph58:                                         ; preds = %.lr.ph, %22
  %.04557 = phi i64 [ %21, %22 ], [ 0, %.lr.ph ]
  %21 = add nuw nsw i64 %.04557, 1
  %exitcond = icmp eq i64 %21, %1
  br i1 %exitcond, label %._crit_edge, label %22, !llvm.loop !20

22:                                               ; preds = %.lr.ph58
  %23 = load ptr, ptr %16, align 8, !tbaa !16
  %24 = getelementptr inbounds ptr, ptr %23, i64 %21
  %25 = load ptr, ptr %24, align 8, !tbaa !17
  %26 = getelementptr inbounds double, ptr %25, i64 %21
  %27 = load double, ptr %26, align 8, !tbaa !18
  %28 = tail call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %27, double noundef 0.000000e+00)
  br i1 %28, label %.lr.ph49.loopexit, label %.lr.ph58, !llvm.loop !20

.lr.ph49.loopexit:                                ; preds = %22
  %.not.not.le = icmp sge i64 %21, %1
  br label %.lr.ph49

.lr.ph49:                                         ; preds = %.lr.ph49.loopexit, %.lr.ph
  %.not.not46.lcssa = phi i1 [ false, %.lr.ph ], [ %.not.not.le, %.lr.ph49.loopexit ]
  %29 = getelementptr inbounds i8, ptr %3, i64 56
  %xtraiter = and i64 %1, 3
  %30 = icmp ult i64 %1, 4
  br i1 %30, label %.loopexit.loopexit.unr-lcssa, label %.lr.ph49.new

.lr.ph49.new:                                     ; preds = %.lr.ph49
  %unroll_iter = and i64 %1, 9223372036854775804
  br label %31

31:                                               ; preds = %31, %.lr.ph49.new
  %.03848 = phi i64 [ 0, %.lr.ph49.new ], [ %43, %31 ]
  %niter = phi i64 [ 0, %.lr.ph49.new ], [ %niter.next.3, %31 ]
  %32 = load ptr, ptr %29, align 8, !tbaa !16
  %33 = getelementptr inbounds double, ptr %32, i64 %.03848
  store double 0.000000e+00, ptr %33, align 8, !tbaa !18
  %34 = or disjoint i64 %.03848, 1
  %35 = load ptr, ptr %29, align 8, !tbaa !16
  %36 = getelementptr inbounds double, ptr %35, i64 %34
  store double 0.000000e+00, ptr %36, align 8, !tbaa !18
  %37 = or disjoint i64 %.03848, 2
  %38 = load ptr, ptr %29, align 8, !tbaa !16
  %39 = getelementptr inbounds double, ptr %38, i64 %37
  store double 0.000000e+00, ptr %39, align 8, !tbaa !18
  %40 = or disjoint i64 %.03848, 3
  %41 = load ptr, ptr %29, align 8, !tbaa !16
  %42 = getelementptr inbounds double, ptr %41, i64 %40
  store double 0.000000e+00, ptr %42, align 8, !tbaa !18
  %43 = add nuw nsw i64 %.03848, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %.loopexit.loopexit.unr-lcssa, label %31, !llvm.loop !22

._crit_edge:                                      ; preds = %.lr.ph58, %5
  tail call void @_ZN11alglib_implL40directdensesolvers_spdbasiccholeskysolveEPKNS_9ae_matrixElbPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %0, i64 noundef %1, i1 noundef zeroext %2, ptr noundef nonnull %3, ptr noundef %4)
  br label %.loopexit

.loopexit.loopexit.unr-lcssa:                     ; preds = %31, %.lr.ph49
  %.03848.unr = phi i64 [ 0, %.lr.ph49 ], [ %43, %31 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.loopexit, label %.epil.preheader

.epil.preheader:                                  ; preds = %.loopexit.loopexit.unr-lcssa, %.epil.preheader
  %.03848.epil = phi i64 [ %46, %.epil.preheader ], [ %.03848.unr, %.loopexit.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %.loopexit.loopexit.unr-lcssa ]
  %44 = load ptr, ptr %29, align 8, !tbaa !16
  %45 = getelementptr inbounds double, ptr %44, i64 %.03848.epil
  store double 0.000000e+00, ptr %45, align 8, !tbaa !18
  %46 = add nuw nsw i64 %.03848.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %.loopexit, label %.epil.preheader, !llvm.loop !23

.loopexit:                                        ; preds = %.loopexit.loopexit.unr-lcssa, %.epil.preheader, %._crit_edge
  %.not.not43 = phi i1 [ true, %._crit_edge ], [ %.not.not46.lcssa, %.epil.preheader ], [ %.not.not46.lcssa, %.loopexit.loopexit.unr-lcssa ]
  ret i1 %.not.not43
}

declare noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

declare noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef, double noundef) local_unnamed_addr #0

declare noundef zeroext i1 @_ZN11alglib_impl17isfinitertrmatrixEPKNS_9ae_matrixElbPNS_8ae_stateE(ptr noundef, i64 noundef, i1 noundef zeroext, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL40directdensesolvers_spdbasiccholeskysolveEPKNS_9ae_matrixElbPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef, i64 noundef, i1 noundef zeroext, ptr noundef, ptr noundef) local_unnamed_addr #1

attributes #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 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" }

!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, !7, i64 0}
!6 = !{!"_ZTSN11alglib_impl9ae_matrixE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !11, i64 40, !8, i64 72}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!6, !7, i64 8}
!14 = !{!15, !7, i64 0}
!15 = !{!"_ZTSN11alglib_impl9ae_vectorE", !7, i64 0, !7, i64 8, !10, i64 16, !11, i64 24, !8, i64 56}
!16 = !{!8, !8, i64 0}
!17 = !{!12, !12, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"double", !8, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.unroll.disable"}


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