; 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::kdtreerequestbuffer" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, double, i8, double, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%union.anon.0 = type { ptr }
%"struct.alglib_impl::kdtree" = type { i64, i64, i64, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::kdtreerequestbuffer", i64 }
%"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 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_impl29kdtreetsqueryresultsdistancesEPNS_6kdtreeEPNS_19kdtreerequestbufferEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #1 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  %12 = load ptr, ptr %6, align 8, !tbaa !5
  %13 = getelementptr inbounds %"struct.alglib_impl::kdtreerequestbuffer", ptr %12, i32 0, i32 7
  %14 = load i64, ptr %13, align 8, !tbaa !9
  %15 = icmp eq i64 %14, 0
  br i1 %15, label %16, label %17

16:                                               ; preds = %4
  store i32 1, ptr %11, align 4
  br label %127

17:                                               ; preds = %4
  %18 = load ptr, ptr %7, align 8, !tbaa !5
  %19 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 0
  %20 = load i64, ptr %19, align 8, !tbaa !16
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = getelementptr inbounds %"struct.alglib_impl::kdtreerequestbuffer", ptr %21, i32 0, i32 7
  %23 = load i64, ptr %22, align 8, !tbaa !9
  %24 = icmp slt i64 %20, %23
  br i1 %24, label %25, label %31

25:                                               ; preds = %17
  %26 = load ptr, ptr %7, align 8, !tbaa !5
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = getelementptr inbounds %"struct.alglib_impl::kdtreerequestbuffer", ptr %27, i32 0, i32 7
  %29 = load i64, ptr %28, align 8, !tbaa !9
  %30 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %26, i64 noundef %29, ptr noundef %30)
  br label %31

31:                                               ; preds = %25, %17
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = getelementptr inbounds %"struct.alglib_impl::kdtreerequestbuffer", ptr %32, i32 0, i32 7
  %34 = load i64, ptr %33, align 8, !tbaa !9
  store i64 %34, ptr %10, align 8, !tbaa !17
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = getelementptr inbounds %"struct.alglib_impl::kdtree", ptr %35, i32 0, i32 3
  %37 = load i64, ptr %36, align 8, !tbaa !18
  %38 = icmp eq i64 %37, 0
  br i1 %38, label %39, label %64

39:                                               ; preds = %31
  store i64 0, ptr %9, align 8, !tbaa !17
  br label %40

40:                                               ; preds = %60, %39
  %41 = load i64, ptr %9, align 8, !tbaa !17
  %42 = load i64, ptr %10, align 8, !tbaa !17
  %43 = sub nsw i64 %42, 1
  %44 = icmp sle i64 %41, %43
  br i1 %44, label %45, label %63

45:                                               ; preds = %40
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = getelementptr inbounds %"struct.alglib_impl::kdtreerequestbuffer", ptr %46, i32 0, i32 9
  %48 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %47, i32 0, i32 4
  %49 = load ptr, ptr %48, align 8, !tbaa !21
  %50 = load i64, ptr %9, align 8, !tbaa !17
  %51 = getelementptr inbounds double, ptr %49, i64 %50
  %52 = load double, ptr %51, align 8, !tbaa !22
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  %54 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %52, ptr noundef %53)
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %55, i32 0, i32 4
  %57 = load ptr, ptr %56, align 8, !tbaa !21
  %58 = load i64, ptr %9, align 8, !tbaa !17
  %59 = getelementptr inbounds double, ptr %57, i64 %58
  store double %54, ptr %59, align 8, !tbaa !22
  br label %60

60:                                               ; preds = %45
  %61 = load i64, ptr %9, align 8, !tbaa !17
  %62 = add nsw i64 %61, 1
  store i64 %62, ptr %9, align 8, !tbaa !17
  br label %40, !llvm.loop !23

63:                                               ; preds = %40
  br label %64

64:                                               ; preds = %63, %31
  %65 = load ptr, ptr %5, align 8, !tbaa !5
  %66 = getelementptr inbounds %"struct.alglib_impl::kdtree", ptr %65, i32 0, i32 3
  %67 = load i64, ptr %66, align 8, !tbaa !18
  %68 = icmp eq i64 %67, 1
  br i1 %68, label %69, label %94

69:                                               ; preds = %64
  store i64 0, ptr %9, align 8, !tbaa !17
  br label %70

70:                                               ; preds = %90, %69
  %71 = load i64, ptr %9, align 8, !tbaa !17
  %72 = load i64, ptr %10, align 8, !tbaa !17
  %73 = sub nsw i64 %72, 1
  %74 = icmp sle i64 %71, %73
  br i1 %74, label %75, label %93

75:                                               ; preds = %70
  %76 = load ptr, ptr %6, align 8, !tbaa !5
  %77 = getelementptr inbounds %"struct.alglib_impl::kdtreerequestbuffer", ptr %76, i32 0, i32 9
  %78 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %77, i32 0, i32 4
  %79 = load ptr, ptr %78, align 8, !tbaa !21
  %80 = load i64, ptr %9, align 8, !tbaa !17
  %81 = getelementptr inbounds double, ptr %79, i64 %80
  %82 = load double, ptr %81, align 8, !tbaa !22
  %83 = load ptr, ptr %8, align 8, !tbaa !5
  %84 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %82, ptr noundef %83)
  %85 = load ptr, ptr %7, align 8, !tbaa !5
  %86 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %85, i32 0, i32 4
  %87 = load ptr, ptr %86, align 8, !tbaa !21
  %88 = load i64, ptr %9, align 8, !tbaa !17
  %89 = getelementptr inbounds double, ptr %87, i64 %88
  store double %84, ptr %89, align 8, !tbaa !22
  br label %90

90:                                               ; preds = %75
  %91 = load i64, ptr %9, align 8, !tbaa !17
  %92 = add nsw i64 %91, 1
  store i64 %92, ptr %9, align 8, !tbaa !17
  br label %70, !llvm.loop !25

93:                                               ; preds = %70
  br label %94

94:                                               ; preds = %93, %64
  %95 = load ptr, ptr %5, align 8, !tbaa !5
  %96 = getelementptr inbounds %"struct.alglib_impl::kdtree", ptr %95, i32 0, i32 3
  %97 = load i64, ptr %96, align 8, !tbaa !18
  %98 = icmp eq i64 %97, 2
  br i1 %98, label %99, label %126

99:                                               ; preds = %94
  store i64 0, ptr %9, align 8, !tbaa !17
  br label %100

100:                                              ; preds = %122, %99
  %101 = load i64, ptr %9, align 8, !tbaa !17
  %102 = load i64, ptr %10, align 8, !tbaa !17
  %103 = sub nsw i64 %102, 1
  %104 = icmp sle i64 %101, %103
  br i1 %104, label %105, label %125

105:                                              ; preds = %100
  %106 = load ptr, ptr %6, align 8, !tbaa !5
  %107 = getelementptr inbounds %"struct.alglib_impl::kdtreerequestbuffer", ptr %106, i32 0, i32 9
  %108 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %107, i32 0, i32 4
  %109 = load ptr, ptr %108, align 8, !tbaa !21
  %110 = load i64, ptr %9, align 8, !tbaa !17
  %111 = getelementptr inbounds double, ptr %109, i64 %110
  %112 = load double, ptr %111, align 8, !tbaa !22
  %113 = load ptr, ptr %8, align 8, !tbaa !5
  %114 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %112, ptr noundef %113)
  %115 = load ptr, ptr %8, align 8, !tbaa !5
  %116 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %114, ptr noundef %115)
  %117 = load ptr, ptr %7, align 8, !tbaa !5
  %118 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %117, i32 0, i32 4
  %119 = load ptr, ptr %118, align 8, !tbaa !21
  %120 = load i64, ptr %9, align 8, !tbaa !17
  %121 = getelementptr inbounds double, ptr %119, i64 %120
  store double %116, ptr %121, align 8, !tbaa !22
  br label %122

122:                                              ; preds = %105
  %123 = load i64, ptr %9, align 8, !tbaa !17
  %124 = add nsw i64 %123, 1
  store i64 %124, ptr %9, align 8, !tbaa !17
  br label %100, !llvm.loop !26

125:                                              ; preds = %100
  br label %126

126:                                              ; preds = %125, %94
  store i32 0, ptr %11, align 4
  br label %127

127:                                              ; preds = %126, %16
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  %128 = load i32, ptr %11, align 4
  switch i32 %128, label %130 [
    i32 0, label %129
    i32 1, label %129
  ]

129:                                              ; preds = %127, %127
  ret void

130:                                              ; preds = %127
  unreachable
}

declare void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) #2

declare noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef, ptr noundef) #2

declare noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef, ptr noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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" }
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 = { 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, !12, i64 224}
!10 = !{!"_ZTSN11alglib_impl19kdtreerequestbufferE", !11, i64 0, !11, i64 64, !11, i64 128, !12, i64 192, !15, i64 200, !13, i64 208, !15, i64 216, !12, i64 224, !11, i64 232, !11, i64 296, !11, i64 360, !11, i64 424, !11, i64 488, !15, i64 552}
!11 = !{!"_ZTSN11alglib_impl9ae_vectorE", !12, i64 0, !12, i64 8, !13, i64 16, !14, i64 24, !7, i64 56}
!12 = !{!"long", !7, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!15 = !{!"double", !7, i64 0}
!16 = !{!11, !12, i64 0}
!17 = !{!12, !12, i64 0}
!18 = !{!19, !12, i64 24}
!19 = !{!"_ZTSN11alglib_impl6kdtreeE", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !20, i64 32, !11, i64 112, !11, i64 176, !11, i64 240, !11, i64 304, !11, i64 368, !10, i64 432, !12, i64 992}
!20 = !{!"_ZTSN11alglib_impl9ae_matrixE", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32, !14, i64 40, !7, i64 72}
!21 = !{!7, !7, i64 0}
!22 = !{!15, !15, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}
!26 = distinct !{!26, !24}


; 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 uwtable
define dso_local void @_ZN11alglib_impl29kdtreetsqueryresultsdistancesEPNS_6kdtreeEPNS_19kdtreerequestbufferEPNS_9ae_vectorEPNS_8ae_stateE(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
  %5 = getelementptr inbounds i8, ptr %1, i64 224
  %6 = load i64, ptr %5, align 8, !tbaa !5
  %7 = icmp eq i64 %6, 0
  br i1 %7, label %.loopexit, label %8

8:                                                ; preds = %4
  %9 = load i64, ptr %2, align 8, !tbaa !15
  %10 = icmp slt i64 %9, %6
  br i1 %10, label %11, label %12

11:                                               ; preds = %8
  tail call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %2, i64 noundef %6, ptr noundef %3)
  %.pre = load i64, ptr %5, align 8, !tbaa !5
  br label %12

12:                                               ; preds = %11, %8
  %13 = phi i64 [ %.pre, %11 ], [ %6, %8 ]
  %14 = getelementptr inbounds i8, ptr %0, i64 24
  %15 = load i64, ptr %14, align 8, !tbaa !16
  %16 = icmp eq i64 %15, 0
  br i1 %16, label %.preheader39, label %thread-pre-split

.preheader39:                                     ; preds = %12
  %.not.not40 = icmp sgt i64 %13, 0
  br i1 %.not.not40, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %.preheader39
  %17 = getelementptr inbounds i8, ptr %1, i64 352
  %18 = getelementptr inbounds i8, ptr %2, i64 56
  br label %19

19:                                               ; preds = %.lr.ph, %19
  %.041 = phi i64 [ 0, %.lr.ph ], [ %26, %19 ]
  %20 = load ptr, ptr %17, align 8, !tbaa !19
  %21 = getelementptr inbounds double, ptr %20, i64 %.041
  %22 = load double, ptr %21, align 8, !tbaa !20
  %23 = tail call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %22, ptr noundef %3)
  %24 = load ptr, ptr %18, align 8, !tbaa !19
  %25 = getelementptr inbounds double, ptr %24, i64 %.041
  store double %23, ptr %25, align 8, !tbaa !20
  %26 = add nuw nsw i64 %.041, 1
  %exitcond.not = icmp eq i64 %26, %13
  br i1 %exitcond.not, label %thread-pre-split.loopexit, label %19, !llvm.loop !21

thread-pre-split.loopexit:                        ; preds = %19
  %.pr.pre = load i64, ptr %14, align 8, !tbaa !16
  br label %thread-pre-split

thread-pre-split:                                 ; preds = %thread-pre-split.loopexit, %12
  %27 = phi i64 [ %15, %12 ], [ %.pr.pre, %thread-pre-split.loopexit ]
  %28 = icmp eq i64 %27, 1
  %.not.not3542 = icmp sgt i64 %13, 0
  %or.cond = select i1 %28, i1 %.not.not3542, i1 false
  br i1 %or.cond, label %.lr.ph44, label %.loopexit38

.lr.ph44:                                         ; preds = %thread-pre-split
  %29 = getelementptr inbounds i8, ptr %1, i64 352
  %30 = getelementptr inbounds i8, ptr %2, i64 56
  br label %31

31:                                               ; preds = %.lr.ph44, %31
  %.143 = phi i64 [ 0, %.lr.ph44 ], [ %38, %31 ]
  %32 = load ptr, ptr %29, align 8, !tbaa !19
  %33 = getelementptr inbounds double, ptr %32, i64 %.143
  %34 = load double, ptr %33, align 8, !tbaa !20
  %35 = tail call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %34, ptr noundef %3)
  %36 = load ptr, ptr %30, align 8, !tbaa !19
  %37 = getelementptr inbounds double, ptr %36, i64 %.143
  store double %35, ptr %37, align 8, !tbaa !20
  %38 = add nuw nsw i64 %.143, 1
  %exitcond49.not = icmp eq i64 %38, %13
  br i1 %exitcond49.not, label %.loopexit38.loopexit, label %31, !llvm.loop !23

.loopexit38.loopexit:                             ; preds = %31
  %.pre52 = load i64, ptr %14, align 8, !tbaa !16
  br label %.loopexit38

.loopexit38:                                      ; preds = %.loopexit38.loopexit, %thread-pre-split
  %39 = phi i64 [ %.pre52, %.loopexit38.loopexit ], [ %27, %thread-pre-split ]
  %40 = icmp eq i64 %39, 2
  %or.cond48 = select i1 %40, i1 %.not.not3542, i1 false
  br i1 %or.cond48, label %.lr.ph47, label %.loopexit

.lr.ph47:                                         ; preds = %.loopexit38
  %41 = getelementptr inbounds i8, ptr %1, i64 352
  %42 = getelementptr inbounds i8, ptr %2, i64 56
  br label %43

43:                                               ; preds = %.lr.ph47, %43
  %.246 = phi i64 [ 0, %.lr.ph47 ], [ %51, %43 ]
  %44 = load ptr, ptr %41, align 8, !tbaa !19
  %45 = getelementptr inbounds double, ptr %44, i64 %.246
  %46 = load double, ptr %45, align 8, !tbaa !20
  %47 = tail call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %46, ptr noundef %3)
  %48 = tail call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %47, ptr noundef %3)
  %49 = load ptr, ptr %42, align 8, !tbaa !19
  %50 = getelementptr inbounds double, ptr %49, i64 %.246
  store double %48, ptr %50, align 8, !tbaa !20
  %51 = add nuw nsw i64 %.246, 1
  %exitcond50.not = icmp eq i64 %51, %13
  br i1 %exitcond50.not, label %.loopexit, label %43, !llvm.loop !24

.loopexit:                                        ; preds = %43, %.preheader39, %.loopexit38, %4
  ret void
}

declare void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

declare noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #1

declare noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #1

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

!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, !8, i64 224}
!6 = !{!"_ZTSN11alglib_impl19kdtreerequestbufferE", !7, i64 0, !7, i64 64, !7, i64 128, !8, i64 192, !14, i64 200, !11, i64 208, !14, i64 216, !8, i64 224, !7, i64 232, !7, i64 296, !7, i64 360, !7, i64 424, !7, i64 488, !14, i64 552}
!7 = !{!"_ZTSN11alglib_impl9ae_vectorE", !8, i64 0, !8, i64 8, !11, i64 16, !12, i64 24, !9, i64 56}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"bool", !9, i64 0}
!12 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!"double", !9, i64 0}
!15 = !{!7, !8, i64 0}
!16 = !{!17, !8, i64 24}
!17 = !{!"_ZTSN11alglib_impl6kdtreeE", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !18, i64 32, !7, i64 112, !7, i64 176, !7, i64 240, !7, i64 304, !7, i64 368, !6, i64 432, !8, i64 992}
!18 = !{!"_ZTSN11alglib_impl9ae_matrixE", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !11, i64 32, !12, i64 40, !9, i64 72}
!19 = !{!9, !9, i64 0}
!20 = !{!14, !14, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = distinct !{!24, !22}


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