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

; 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::knnmodel" = type { i64, i64, i64, double, i8, i8, %"struct.alglib_impl::kdtree", %"struct.alglib_impl::knnbuffer" }
%"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.0 }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%union.anon.0 = type { ptr }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.1 }
%union.anon.1 = type { ptr }
%"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::knnbuffer" = type { %"struct.alglib_impl::kdtreerequestbuffer", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix" }

; 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_impl12knntsprocessEPNS_8knnmodelEPNS_9knnbufferEPNS_9ae_vectorES5_PNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #1 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %14 = load ptr, ptr %6, align 8, !tbaa !5
  %15 = getelementptr inbounds %"struct.alglib_impl::knnmodel", ptr %14, i32 0, i32 0
  %16 = load i64, ptr %15, align 8, !tbaa !9
  store i64 %16, ptr %12, align 8, !tbaa !20
  %17 = load ptr, ptr %6, align 8, !tbaa !5
  %18 = getelementptr inbounds %"struct.alglib_impl::knnmodel", ptr %17, i32 0, i32 1
  %19 = load i64, ptr %18, align 8, !tbaa !21
  store i64 %19, ptr %13, align 8, !tbaa !20
  store i64 0, ptr %11, align 8, !tbaa !20
  br label %20

20:                                               ; preds = %38, %5
  %21 = load i64, ptr %11, align 8, !tbaa !20
  %22 = load i64, ptr %12, align 8, !tbaa !20
  %23 = sub nsw i64 %22, 1
  %24 = icmp sle i64 %21, %23
  br i1 %24, label %25, label %41

25:                                               ; preds = %20
  %26 = load ptr, ptr %8, align 8, !tbaa !5
  %27 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %28 = load ptr, ptr %27, align 8, !tbaa !22
  %29 = load i64, ptr %11, align 8, !tbaa !20
  %30 = getelementptr inbounds double, ptr %28, i64 %29
  %31 = load double, ptr %30, align 8, !tbaa !23
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  %33 = getelementptr inbounds %"struct.alglib_impl::knnbuffer", ptr %32, i32 0, i32 1
  %34 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %33, i32 0, i32 4
  %35 = load ptr, ptr %34, align 8, !tbaa !22
  %36 = load i64, ptr %11, align 8, !tbaa !20
  %37 = getelementptr inbounds double, ptr %35, i64 %36
  store double %31, ptr %37, align 8, !tbaa !23
  br label %38

38:                                               ; preds = %25
  %39 = load i64, ptr %11, align 8, !tbaa !20
  %40 = add nsw i64 %39, 1
  store i64 %40, ptr %11, align 8, !tbaa !20
  br label %20, !llvm.loop !24

41:                                               ; preds = %20
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = load ptr, ptr %7, align 8, !tbaa !5
  %44 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_implL19knn_processinternalEPNS_8knnmodelEPNS_9knnbufferEPNS_8ae_stateE(ptr noundef %42, ptr noundef %43, ptr noundef %44)
  %45 = load ptr, ptr %9, align 8, !tbaa !5
  %46 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %45, i32 0, i32 0
  %47 = load i64, ptr %46, align 8, !tbaa !26
  %48 = load i64, ptr %13, align 8, !tbaa !20
  %49 = icmp slt i64 %47, %48
  br i1 %49, label %50, label %54

50:                                               ; preds = %41
  %51 = load ptr, ptr %9, align 8, !tbaa !5
  %52 = load i64, ptr %13, align 8, !tbaa !20
  %53 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %51, i64 noundef %52, ptr noundef %53)
  br label %54

54:                                               ; preds = %50, %41
  store i64 0, ptr %11, align 8, !tbaa !20
  br label %55

55:                                               ; preds = %73, %54
  %56 = load i64, ptr %11, align 8, !tbaa !20
  %57 = load i64, ptr %13, align 8, !tbaa !20
  %58 = sub nsw i64 %57, 1
  %59 = icmp sle i64 %56, %58
  br i1 %59, label %60, label %76

60:                                               ; preds = %55
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = getelementptr inbounds %"struct.alglib_impl::knnbuffer", ptr %61, i32 0, i32 2
  %63 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %62, i32 0, i32 4
  %64 = load ptr, ptr %63, align 8, !tbaa !22
  %65 = load i64, ptr %11, align 8, !tbaa !20
  %66 = getelementptr inbounds double, ptr %64, i64 %65
  %67 = load double, ptr %66, align 8, !tbaa !23
  %68 = load ptr, ptr %9, align 8, !tbaa !5
  %69 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %68, i32 0, i32 4
  %70 = load ptr, ptr %69, align 8, !tbaa !22
  %71 = load i64, ptr %11, align 8, !tbaa !20
  %72 = getelementptr inbounds double, ptr %70, i64 %71
  store double %67, ptr %72, align 8, !tbaa !23
  br label %73

73:                                               ; preds = %60
  %74 = load i64, ptr %11, align 8, !tbaa !20
  %75 = add nsw i64 %74, 1
  store i64 %75, ptr %11, align 8, !tbaa !20
  br label %55, !llvm.loop !27

76:                                               ; preds = %55
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL19knn_processinternalEPNS_8knnmodelEPNS_9knnbufferEPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef) #1

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, !11, i64 0}
!10 = !{!"_ZTSN11alglib_impl8knnmodelE", !11, i64 0, !11, i64 8, !11, i64 16, !12, i64 24, !13, i64 32, !13, i64 33, !14, i64 40, !19, i64 1040}
!11 = !{!"long", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSN11alglib_impl6kdtreeE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !15, i64 32, !17, i64 112, !17, i64 176, !17, i64 240, !17, i64 304, !17, i64 368, !18, i64 432, !11, i64 992}
!15 = !{!"_ZTSN11alglib_impl9ae_matrixE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !13, i64 32, !16, i64 40, !7, i64 72}
!16 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!17 = !{!"_ZTSN11alglib_impl9ae_vectorE", !11, i64 0, !11, i64 8, !13, i64 16, !16, i64 24, !7, i64 56}
!18 = !{!"_ZTSN11alglib_impl19kdtreerequestbufferE", !17, i64 0, !17, i64 64, !17, i64 128, !11, i64 192, !12, i64 200, !13, i64 208, !12, i64 216, !11, i64 224, !17, i64 232, !17, i64 296, !17, i64 360, !17, i64 424, !17, i64 488, !12, i64 552}
!19 = !{!"_ZTSN11alglib_impl9knnbufferE", !18, i64 0, !17, i64 560, !17, i64 624, !17, i64 688, !15, i64 752}
!20 = !{!11, !11, i64 0}
!21 = !{!10, !11, i64 8}
!22 = !{!7, !7, i64 0}
!23 = !{!12, !12, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!17, !11, i64 0}
!27 = distinct !{!27, !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"

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl12knntsprocessEPNS_8knnmodelEPNS_9knnbufferEPNS_9ae_vectorES5_PNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 {
  %6 = load i64, ptr %0, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 8
  %8 = load i64, ptr %7, align 8, !tbaa !19
  %.not.not25 = icmp sgt i64 %6, 0
  br i1 %.not.not25, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %5
  %9 = getelementptr inbounds i8, ptr %2, i64 56
  %10 = getelementptr inbounds i8, ptr %1, i64 616
  %xtraiter = and i64 %6, 3
  %11 = icmp ult i64 %6, 4
  br i1 %11, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i64 %6, 9223372036854775804
  br label %12

12:                                               ; preds = %12, %.lr.ph.new
  %.026 = phi i64 [ 0, %.lr.ph.new ], [ %36, %12 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.3, %12 ]
  %13 = load ptr, ptr %9, align 8, !tbaa !20
  %14 = getelementptr inbounds double, ptr %13, i64 %.026
  %15 = load double, ptr %14, align 8, !tbaa !21
  %16 = load ptr, ptr %10, align 8, !tbaa !20
  %17 = getelementptr inbounds double, ptr %16, i64 %.026
  store double %15, ptr %17, align 8, !tbaa !21
  %18 = or disjoint i64 %.026, 1
  %19 = load ptr, ptr %9, align 8, !tbaa !20
  %20 = getelementptr inbounds double, ptr %19, i64 %18
  %21 = load double, ptr %20, align 8, !tbaa !21
  %22 = load ptr, ptr %10, align 8, !tbaa !20
  %23 = getelementptr inbounds double, ptr %22, i64 %18
  store double %21, ptr %23, align 8, !tbaa !21
  %24 = or disjoint i64 %.026, 2
  %25 = load ptr, ptr %9, align 8, !tbaa !20
  %26 = getelementptr inbounds double, ptr %25, i64 %24
  %27 = load double, ptr %26, align 8, !tbaa !21
  %28 = load ptr, ptr %10, align 8, !tbaa !20
  %29 = getelementptr inbounds double, ptr %28, i64 %24
  store double %27, ptr %29, align 8, !tbaa !21
  %30 = or disjoint i64 %.026, 3
  %31 = load ptr, ptr %9, align 8, !tbaa !20
  %32 = getelementptr inbounds double, ptr %31, i64 %30
  %33 = load double, ptr %32, align 8, !tbaa !21
  %34 = load ptr, ptr %10, align 8, !tbaa !20
  %35 = getelementptr inbounds double, ptr %34, i64 %30
  store double %33, ptr %35, align 8, !tbaa !21
  %36 = add nuw nsw i64 %.026, 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 %._crit_edge.loopexit.unr-lcssa, label %12, !llvm.loop !22

._crit_edge.loopexit.unr-lcssa:                   ; preds = %12, %.lr.ph
  %.026.unr = phi i64 [ 0, %.lr.ph ], [ %36, %12 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader
  %.026.epil = phi i64 [ %42, %.epil.preheader ], [ %.026.unr, %._crit_edge.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge.loopexit.unr-lcssa ]
  %37 = load ptr, ptr %9, align 8, !tbaa !20
  %38 = getelementptr inbounds double, ptr %37, i64 %.026.epil
  %39 = load double, ptr %38, align 8, !tbaa !21
  %40 = load ptr, ptr %10, align 8, !tbaa !20
  %41 = getelementptr inbounds double, ptr %40, i64 %.026.epil
  store double %39, ptr %41, align 8, !tbaa !21
  %42 = add nuw nsw i64 %.026.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 %._crit_edge, label %.epil.preheader, !llvm.loop !24

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader, %5
  tail call void @_ZN11alglib_implL19knn_processinternalEPNS_8knnmodelEPNS_9knnbufferEPNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %4)
  %43 = load i64, ptr %3, align 8, !tbaa !26
  %44 = icmp slt i64 %43, %8
  br i1 %44, label %45, label %46

45:                                               ; preds = %._crit_edge
  tail call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %3, i64 noundef %8, ptr noundef %4)
  br label %46

46:                                               ; preds = %45, %._crit_edge
  %.not.not2427 = icmp sgt i64 %8, 0
  br i1 %.not.not2427, label %.lr.ph30, label %._crit_edge31

.lr.ph30:                                         ; preds = %46
  %47 = getelementptr inbounds i8, ptr %1, i64 680
  %48 = getelementptr inbounds i8, ptr %3, i64 56
  %xtraiter34 = and i64 %8, 3
  %49 = icmp ult i64 %8, 4
  br i1 %49, label %._crit_edge31.loopexit.unr-lcssa, label %.lr.ph30.new

.lr.ph30.new:                                     ; preds = %.lr.ph30
  %unroll_iter37 = and i64 %8, 9223372036854775804
  br label %50

50:                                               ; preds = %50, %.lr.ph30.new
  %.128 = phi i64 [ 0, %.lr.ph30.new ], [ %74, %50 ]
  %niter38 = phi i64 [ 0, %.lr.ph30.new ], [ %niter38.next.3, %50 ]
  %51 = load ptr, ptr %47, align 8, !tbaa !20
  %52 = getelementptr inbounds double, ptr %51, i64 %.128
  %53 = load double, ptr %52, align 8, !tbaa !21
  %54 = load ptr, ptr %48, align 8, !tbaa !20
  %55 = getelementptr inbounds double, ptr %54, i64 %.128
  store double %53, ptr %55, align 8, !tbaa !21
  %56 = or disjoint i64 %.128, 1
  %57 = load ptr, ptr %47, align 8, !tbaa !20
  %58 = getelementptr inbounds double, ptr %57, i64 %56
  %59 = load double, ptr %58, align 8, !tbaa !21
  %60 = load ptr, ptr %48, align 8, !tbaa !20
  %61 = getelementptr inbounds double, ptr %60, i64 %56
  store double %59, ptr %61, align 8, !tbaa !21
  %62 = or disjoint i64 %.128, 2
  %63 = load ptr, ptr %47, align 8, !tbaa !20
  %64 = getelementptr inbounds double, ptr %63, i64 %62
  %65 = load double, ptr %64, align 8, !tbaa !21
  %66 = load ptr, ptr %48, align 8, !tbaa !20
  %67 = getelementptr inbounds double, ptr %66, i64 %62
  store double %65, ptr %67, align 8, !tbaa !21
  %68 = or disjoint i64 %.128, 3
  %69 = load ptr, ptr %47, align 8, !tbaa !20
  %70 = getelementptr inbounds double, ptr %69, i64 %68
  %71 = load double, ptr %70, align 8, !tbaa !21
  %72 = load ptr, ptr %48, align 8, !tbaa !20
  %73 = getelementptr inbounds double, ptr %72, i64 %68
  store double %71, ptr %73, align 8, !tbaa !21
  %74 = add nuw nsw i64 %.128, 4
  %niter38.next.3 = add i64 %niter38, 4
  %niter38.ncmp.3 = icmp eq i64 %niter38.next.3, %unroll_iter37
  br i1 %niter38.ncmp.3, label %._crit_edge31.loopexit.unr-lcssa, label %50, !llvm.loop !27

._crit_edge31.loopexit.unr-lcssa:                 ; preds = %50, %.lr.ph30
  %.128.unr = phi i64 [ 0, %.lr.ph30 ], [ %74, %50 ]
  %lcmp.mod36.not = icmp eq i64 %xtraiter34, 0
  br i1 %lcmp.mod36.not, label %._crit_edge31, label %.epil.preheader33

.epil.preheader33:                                ; preds = %._crit_edge31.loopexit.unr-lcssa, %.epil.preheader33
  %.128.epil = phi i64 [ %80, %.epil.preheader33 ], [ %.128.unr, %._crit_edge31.loopexit.unr-lcssa ]
  %epil.iter35 = phi i64 [ %epil.iter35.next, %.epil.preheader33 ], [ 0, %._crit_edge31.loopexit.unr-lcssa ]
  %75 = load ptr, ptr %47, align 8, !tbaa !20
  %76 = getelementptr inbounds double, ptr %75, i64 %.128.epil
  %77 = load double, ptr %76, align 8, !tbaa !21
  %78 = load ptr, ptr %48, align 8, !tbaa !20
  %79 = getelementptr inbounds double, ptr %78, i64 %.128.epil
  store double %77, ptr %79, align 8, !tbaa !21
  %80 = add nuw nsw i64 %.128.epil, 1
  %epil.iter35.next = add i64 %epil.iter35, 1
  %epil.iter35.cmp.not = icmp eq i64 %epil.iter35.next, %xtraiter34
  br i1 %epil.iter35.cmp.not, label %._crit_edge31, label %.epil.preheader33, !llvm.loop !28

._crit_edge31:                                    ; preds = %._crit_edge31.loopexit.unr-lcssa, %.epil.preheader33, %46
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL19knn_processinternalEPNS_8knnmodelEPNS_9knnbufferEPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

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


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