; LLVM IR from venumb/ZSPACE :: cpp/depends/alglib/cpp/src (alglibmisc)

; 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_frame" = type { %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.1 }
%union.anon.1 = type { ptr }

; 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl17xdebugi2transposeEPNS_9ae_matrixEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.alglib_impl::ae_frame", align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca %"struct.alglib_impl::ae_matrix", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr %8) #4
  %9 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %9, ptr noundef %5)
  call void @llvm.memset.p0.i64(ptr align 8 %8, i8 0, i64 80, i1 false)
  %10 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %8, i64 noundef 0, i64 noundef 0, i64 noundef 2, ptr noundef %10, i1 noundef zeroext true)
  %11 = load ptr, ptr %3, align 8, !tbaa !5
  %12 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %11, i32 0, i32 0
  %13 = load i64, ptr %12, align 8, !tbaa !9
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  %15 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %14, i32 0, i32 1
  %16 = load i64, ptr %15, align 8, !tbaa !14
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %8, i64 noundef %13, i64 noundef %16, ptr noundef %17)
  store i64 0, ptr %6, align 8, !tbaa !15
  br label %18

18:                                               ; preds = %52, %2
  %19 = load i64, ptr %6, align 8, !tbaa !15
  %20 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %8, i32 0, i32 0
  %21 = load i64, ptr %20, align 8, !tbaa !9
  %22 = sub nsw i64 %21, 1
  %23 = icmp sle i64 %19, %22
  br i1 %23, label %24, label %55

24:                                               ; preds = %18
  store i64 0, ptr %7, align 8, !tbaa !15
  br label %25

25:                                               ; preds = %48, %24
  %26 = load i64, ptr %7, align 8, !tbaa !15
  %27 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %8, i32 0, i32 1
  %28 = load i64, ptr %27, align 8, !tbaa !14
  %29 = sub nsw i64 %28, 1
  %30 = icmp sle i64 %26, %29
  br i1 %30, label %31, label %51

31:                                               ; preds = %25
  %32 = load ptr, ptr %3, align 8, !tbaa !5
  %33 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %32, i32 0, i32 6
  %34 = load ptr, ptr %33, align 8, !tbaa !16
  %35 = load i64, ptr %6, align 8, !tbaa !15
  %36 = getelementptr inbounds ptr, ptr %34, i64 %35
  %37 = load ptr, ptr %36, align 8, !tbaa !5
  %38 = load i64, ptr %7, align 8, !tbaa !15
  %39 = getelementptr inbounds i64, ptr %37, i64 %38
  %40 = load i64, ptr %39, align 8, !tbaa !15
  %41 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %8, i32 0, i32 6
  %42 = load ptr, ptr %41, align 8, !tbaa !16
  %43 = load i64, ptr %6, align 8, !tbaa !15
  %44 = getelementptr inbounds ptr, ptr %42, i64 %43
  %45 = load ptr, ptr %44, align 8, !tbaa !5
  %46 = load i64, ptr %7, align 8, !tbaa !15
  %47 = getelementptr inbounds i64, ptr %45, i64 %46
  store i64 %40, ptr %47, align 8, !tbaa !15
  br label %48

48:                                               ; preds = %31
  %49 = load i64, ptr %7, align 8, !tbaa !15
  %50 = add nsw i64 %49, 1
  store i64 %50, ptr %7, align 8, !tbaa !15
  br label %25, !llvm.loop !17

51:                                               ; preds = %25
  br label %52

52:                                               ; preds = %51
  %53 = load i64, ptr %6, align 8, !tbaa !15
  %54 = add nsw i64 %53, 1
  store i64 %54, ptr %6, align 8, !tbaa !15
  br label %18, !llvm.loop !19

55:                                               ; preds = %18
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %8, i32 0, i32 1
  %58 = load i64, ptr %57, align 8, !tbaa !14
  %59 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %8, i32 0, i32 0
  %60 = load i64, ptr %59, align 8, !tbaa !9
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %56, i64 noundef %58, i64 noundef %60, ptr noundef %61)
  store i64 0, ptr %6, align 8, !tbaa !15
  br label %62

62:                                               ; preds = %96, %55
  %63 = load i64, ptr %6, align 8, !tbaa !15
  %64 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %8, i32 0, i32 0
  %65 = load i64, ptr %64, align 8, !tbaa !9
  %66 = sub nsw i64 %65, 1
  %67 = icmp sle i64 %63, %66
  br i1 %67, label %68, label %99

68:                                               ; preds = %62
  store i64 0, ptr %7, align 8, !tbaa !15
  br label %69

69:                                               ; preds = %92, %68
  %70 = load i64, ptr %7, align 8, !tbaa !15
  %71 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %8, i32 0, i32 1
  %72 = load i64, ptr %71, align 8, !tbaa !14
  %73 = sub nsw i64 %72, 1
  %74 = icmp sle i64 %70, %73
  br i1 %74, label %75, label %95

75:                                               ; preds = %69
  %76 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %8, i32 0, i32 6
  %77 = load ptr, ptr %76, align 8, !tbaa !16
  %78 = load i64, ptr %6, align 8, !tbaa !15
  %79 = getelementptr inbounds ptr, ptr %77, i64 %78
  %80 = load ptr, ptr %79, align 8, !tbaa !5
  %81 = load i64, ptr %7, align 8, !tbaa !15
  %82 = getelementptr inbounds i64, ptr %80, i64 %81
  %83 = load i64, ptr %82, align 8, !tbaa !15
  %84 = load ptr, ptr %3, align 8, !tbaa !5
  %85 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %84, i32 0, i32 6
  %86 = load ptr, ptr %85, align 8, !tbaa !16
  %87 = load i64, ptr %7, align 8, !tbaa !15
  %88 = getelementptr inbounds ptr, ptr %86, i64 %87
  %89 = load ptr, ptr %88, align 8, !tbaa !5
  %90 = load i64, ptr %6, align 8, !tbaa !15
  %91 = getelementptr inbounds i64, ptr %89, i64 %90
  store i64 %83, ptr %91, align 8, !tbaa !15
  br label %92

92:                                               ; preds = %75
  %93 = load i64, ptr %7, align 8, !tbaa !15
  %94 = add nsw i64 %93, 1
  store i64 %94, ptr %7, align 8, !tbaa !15
  br label %69, !llvm.loop !20

95:                                               ; preds = %69
  br label %96

96:                                               ; preds = %95
  %97 = load i64, ptr %6, align 8, !tbaa !15
  %98 = add nsw i64 %97, 1
  store i64 %98, ptr %6, align 8, !tbaa !15
  br label %62, !llvm.loop !21

99:                                               ; preds = %62
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %100)
  call void @llvm.lifetime.end.p0(i64 80, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #4
  ret void
}

declare void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef, ptr noundef) #3

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #3

declare void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #3

declare void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { "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 }

!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, !11, i64 0}
!10 = !{!"_ZTSN11alglib_impl9ae_matrixE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !12, i64 32, !13, i64 40, !7, i64 72}
!11 = !{!"long", !7, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!14 = !{!10, !11, i64 8}
!15 = !{!11, !11, i64 0}
!16 = !{!7, !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = distinct !{!21, !18}


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

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

; 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl17xdebugi2transposeEPNS_9ae_matrixEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1) local_unnamed_addr #2 {
  %3 = alloca %"struct.alglib_impl::ae_frame", align 8
  %4 = alloca %"struct.alglib_impl::ae_matrix", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %4) #4
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %1, ptr noundef nonnull %3)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %4, i8 0, i64 80, i1 false)
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef nonnull %4, i64 noundef 0, i64 noundef 0, i64 noundef 2, ptr noundef %1, i1 noundef zeroext true)
  %5 = load i64, ptr %0, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 8
  %7 = load i64, ptr %6, align 8, !tbaa !13
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef %5, i64 noundef %7, ptr noundef %1)
  %8 = load i64, ptr %4, align 8, !tbaa !5
  %.not.not33 = icmp sgt i64 %8, 0
  %9 = getelementptr inbounds i8, ptr %4, i64 8
  br i1 %.not.not33, label %.preheader30.lr.ph, label %.._crit_edge35_crit_edge

.._crit_edge35_crit_edge:                         ; preds = %2
  %.pre46 = load i64, ptr %9, align 8, !tbaa !13
  br label %._crit_edge35

.preheader30.lr.ph:                               ; preds = %2
  %10 = getelementptr inbounds i8, ptr %0, i64 72
  %11 = getelementptr inbounds i8, ptr %4, i64 72
  %12 = load i64, ptr %9, align 8, !tbaa !13
  %13 = icmp sgt i64 %12, 0
  br i1 %13, label %.preheader30, label %._crit_edge35

.preheader30:                                     ; preds = %.preheader30.lr.ph, %._crit_edge
  %14 = phi i64 [ %27, %._crit_edge ], [ %8, %.preheader30.lr.ph ]
  %15 = phi i64 [ %28, %._crit_edge ], [ %12, %.preheader30.lr.ph ]
  %.02534 = phi i64 [ %29, %._crit_edge ], [ 0, %.preheader30.lr.ph ]
  %.not.not2931 = icmp sgt i64 %15, 0
  br i1 %.not.not2931, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader30, %.lr.ph
  %.032 = phi i64 [ %25, %.lr.ph ], [ 0, %.preheader30 ]
  %16 = load ptr, ptr %10, align 8, !tbaa !14
  %17 = getelementptr inbounds ptr, ptr %16, i64 %.02534
  %18 = load ptr, ptr %17, align 8, !tbaa !15
  %19 = getelementptr inbounds i64, ptr %18, i64 %.032
  %20 = load i64, ptr %19, align 8, !tbaa !16
  %21 = load ptr, ptr %11, align 8, !tbaa !14
  %22 = getelementptr inbounds ptr, ptr %21, i64 %.02534
  %23 = load ptr, ptr %22, align 8, !tbaa !15
  %24 = getelementptr inbounds i64, ptr %23, i64 %.032
  store i64 %20, ptr %24, align 8, !tbaa !16
  %25 = add nuw nsw i64 %.032, 1
  %26 = load i64, ptr %9, align 8, !tbaa !13
  %.not.not29 = icmp slt i64 %25, %26
  br i1 %.not.not29, label %.lr.ph, label %._crit_edge.loopexit, !llvm.loop !17

._crit_edge.loopexit:                             ; preds = %.lr.ph
  %.pre = load i64, ptr %4, align 8, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader30
  %27 = phi i64 [ %.pre, %._crit_edge.loopexit ], [ %14, %.preheader30 ]
  %28 = phi i64 [ %26, %._crit_edge.loopexit ], [ %15, %.preheader30 ]
  %29 = add nuw nsw i64 %.02534, 1
  %.not.not = icmp slt i64 %29, %27
  br i1 %.not.not, label %.preheader30, label %._crit_edge35, !llvm.loop !19

._crit_edge35:                                    ; preds = %._crit_edge, %.preheader30.lr.ph, %.._crit_edge35_crit_edge
  %30 = phi i64 [ %.pre46, %.._crit_edge35_crit_edge ], [ %12, %.preheader30.lr.ph ], [ %28, %._crit_edge ]
  %.lcssa = phi i64 [ %8, %.._crit_edge35_crit_edge ], [ %8, %.preheader30.lr.ph ], [ %27, %._crit_edge ]
  %31 = getelementptr inbounds i8, ptr %4, i64 8
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %0, i64 noundef %30, i64 noundef %.lcssa, ptr noundef %1)
  %32 = load i64, ptr %4, align 8, !tbaa !5
  %.not.not2740 = icmp sgt i64 %32, 0
  br i1 %.not.not2740, label %.preheader.lr.ph, label %._crit_edge42

.preheader.lr.ph:                                 ; preds = %._crit_edge35
  %33 = getelementptr inbounds i8, ptr %4, i64 72
  %34 = getelementptr inbounds i8, ptr %0, i64 72
  %35 = load i64, ptr %31, align 8, !tbaa !13
  %36 = icmp sgt i64 %35, 0
  br i1 %36, label %.preheader, label %._crit_edge42

.preheader:                                       ; preds = %.preheader.lr.ph, %._crit_edge39
  %37 = phi i64 [ %50, %._crit_edge39 ], [ %32, %.preheader.lr.ph ]
  %38 = phi i64 [ %51, %._crit_edge39 ], [ %35, %.preheader.lr.ph ]
  %.12641 = phi i64 [ %52, %._crit_edge39 ], [ 0, %.preheader.lr.ph ]
  %.not.not2836 = icmp sgt i64 %38, 0
  br i1 %.not.not2836, label %.lr.ph38, label %._crit_edge39

.lr.ph38:                                         ; preds = %.preheader, %.lr.ph38
  %.137 = phi i64 [ %48, %.lr.ph38 ], [ 0, %.preheader ]
  %39 = load ptr, ptr %33, align 8, !tbaa !14
  %40 = getelementptr inbounds ptr, ptr %39, i64 %.12641
  %41 = load ptr, ptr %40, align 8, !tbaa !15
  %42 = getelementptr inbounds i64, ptr %41, i64 %.137
  %43 = load i64, ptr %42, align 8, !tbaa !16
  %44 = load ptr, ptr %34, align 8, !tbaa !14
  %45 = getelementptr inbounds ptr, ptr %44, i64 %.137
  %46 = load ptr, ptr %45, align 8, !tbaa !15
  %47 = getelementptr inbounds i64, ptr %46, i64 %.12641
  store i64 %43, ptr %47, align 8, !tbaa !16
  %48 = add nuw nsw i64 %.137, 1
  %49 = load i64, ptr %31, align 8, !tbaa !13
  %.not.not28 = icmp slt i64 %48, %49
  br i1 %.not.not28, label %.lr.ph38, label %._crit_edge39.loopexit, !llvm.loop !21

._crit_edge39.loopexit:                           ; preds = %.lr.ph38
  %.pre47 = load i64, ptr %4, align 8, !tbaa !5
  br label %._crit_edge39

._crit_edge39:                                    ; preds = %._crit_edge39.loopexit, %.preheader
  %50 = phi i64 [ %.pre47, %._crit_edge39.loopexit ], [ %37, %.preheader ]
  %51 = phi i64 [ %49, %._crit_edge39.loopexit ], [ %38, %.preheader ]
  %52 = add nuw nsw i64 %.12641, 1
  %.not.not27 = icmp slt i64 %52, %50
  br i1 %.not.not27, label %.preheader, label %._crit_edge42, !llvm.loop !22

._crit_edge42:                                    ; preds = %._crit_edge39, %.preheader.lr.ph, %._crit_edge35
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %1)
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #4
  ret void
}

declare void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #3

declare void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #3

declare void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { "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 }

!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 = !{!8, !8, i64 0}
!15 = !{!12, !12, i64 0}
!16 = !{!7, !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18, !20}
!20 = !{!"llvm.loop.unswitch.partial.disable"}
!21 = distinct !{!21, !18}
!22 = distinct !{!22, !18, !20}


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