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

; 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::idwbuilder" = type { i64, %"struct.alglib_impl::ae_vector", i64, i64, double, double, double, double, double, double, i8, i64, double, %"struct.alglib_impl::ae_vector", i64, i64, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::kdtree", %"struct.alglib_impl::ae_vector" }
%"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::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::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" }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = 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_impl21_idwbuilder_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef %0, ptr noundef %1, ptr noundef %2, i1 noundef zeroext %3) #1 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  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
  %11 = zext i1 %3 to i8
  store i8 %11, ptr %8, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %12 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %12, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  %13 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %13, ptr %10, align 8, !tbaa !5
  %14 = load ptr, ptr %10, align 8, !tbaa !5
  %15 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %14, i32 0, i32 0
  %16 = load i64, ptr %15, align 8, !tbaa !11
  %17 = load ptr, ptr %9, align 8, !tbaa !5
  %18 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %17, i32 0, i32 0
  store i64 %16, ptr %18, align 8, !tbaa !11
  %19 = load ptr, ptr %9, align 8, !tbaa !5
  %20 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %19, i32 0, i32 1
  %21 = load ptr, ptr %10, align 8, !tbaa !5
  %22 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %21, i32 0, i32 1
  %23 = load ptr, ptr %7, align 8, !tbaa !5
  %24 = load i8, ptr %8, align 1, !tbaa !9, !range !20, !noundef !21
  %25 = trunc i8 %24 to i1
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef %20, ptr noundef %22, ptr noundef %23, i1 noundef zeroext %25)
  %26 = load ptr, ptr %10, align 8, !tbaa !5
  %27 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %26, i32 0, i32 2
  %28 = load i64, ptr %27, align 8, !tbaa !22
  %29 = load ptr, ptr %9, align 8, !tbaa !5
  %30 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %29, i32 0, i32 2
  store i64 %28, ptr %30, align 8, !tbaa !22
  %31 = load ptr, ptr %10, align 8, !tbaa !5
  %32 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %31, i32 0, i32 3
  %33 = load i64, ptr %32, align 8, !tbaa !23
  %34 = load ptr, ptr %9, align 8, !tbaa !5
  %35 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %34, i32 0, i32 3
  store i64 %33, ptr %35, align 8, !tbaa !23
  %36 = load ptr, ptr %10, align 8, !tbaa !5
  %37 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %36, i32 0, i32 4
  %38 = load double, ptr %37, align 8, !tbaa !24
  %39 = load ptr, ptr %9, align 8, !tbaa !5
  %40 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %39, i32 0, i32 4
  store double %38, ptr %40, align 8, !tbaa !24
  %41 = load ptr, ptr %10, align 8, !tbaa !5
  %42 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %41, i32 0, i32 5
  %43 = load double, ptr %42, align 8, !tbaa !25
  %44 = load ptr, ptr %9, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %44, i32 0, i32 5
  store double %43, ptr %45, align 8, !tbaa !25
  %46 = load ptr, ptr %10, align 8, !tbaa !5
  %47 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %46, i32 0, i32 6
  %48 = load double, ptr %47, align 8, !tbaa !26
  %49 = load ptr, ptr %9, align 8, !tbaa !5
  %50 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %49, i32 0, i32 6
  store double %48, ptr %50, align 8, !tbaa !26
  %51 = load ptr, ptr %10, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %51, i32 0, i32 7
  %53 = load double, ptr %52, align 8, !tbaa !27
  %54 = load ptr, ptr %9, align 8, !tbaa !5
  %55 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %54, i32 0, i32 7
  store double %53, ptr %55, align 8, !tbaa !27
  %56 = load ptr, ptr %10, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %56, i32 0, i32 8
  %58 = load double, ptr %57, align 8, !tbaa !28
  %59 = load ptr, ptr %9, align 8, !tbaa !5
  %60 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %59, i32 0, i32 8
  store double %58, ptr %60, align 8, !tbaa !28
  %61 = load ptr, ptr %10, align 8, !tbaa !5
  %62 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %61, i32 0, i32 9
  %63 = load double, ptr %62, align 8, !tbaa !29
  %64 = load ptr, ptr %9, align 8, !tbaa !5
  %65 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %64, i32 0, i32 9
  store double %63, ptr %65, align 8, !tbaa !29
  %66 = load ptr, ptr %10, align 8, !tbaa !5
  %67 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %66, i32 0, i32 10
  %68 = load i8, ptr %67, align 8, !tbaa !30, !range !20, !noundef !21
  %69 = trunc i8 %68 to i1
  %70 = load ptr, ptr %9, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %70, i32 0, i32 10
  %72 = zext i1 %69 to i8
  store i8 %72, ptr %71, align 8, !tbaa !30
  %73 = load ptr, ptr %10, align 8, !tbaa !5
  %74 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %73, i32 0, i32 11
  %75 = load i64, ptr %74, align 8, !tbaa !31
  %76 = load ptr, ptr %9, align 8, !tbaa !5
  %77 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %76, i32 0, i32 11
  store i64 %75, ptr %77, align 8, !tbaa !31
  %78 = load ptr, ptr %10, align 8, !tbaa !5
  %79 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %78, i32 0, i32 12
  %80 = load double, ptr %79, align 8, !tbaa !32
  %81 = load ptr, ptr %9, align 8, !tbaa !5
  %82 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %81, i32 0, i32 12
  store double %80, ptr %82, align 8, !tbaa !32
  %83 = load ptr, ptr %9, align 8, !tbaa !5
  %84 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %83, i32 0, i32 13
  %85 = load ptr, ptr %10, align 8, !tbaa !5
  %86 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %85, i32 0, i32 13
  %87 = load ptr, ptr %7, align 8, !tbaa !5
  %88 = load i8, ptr %8, align 1, !tbaa !9, !range !20, !noundef !21
  %89 = trunc i8 %88 to i1
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef %84, ptr noundef %86, ptr noundef %87, i1 noundef zeroext %89)
  %90 = load ptr, ptr %10, align 8, !tbaa !5
  %91 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %90, i32 0, i32 14
  %92 = load i64, ptr %91, align 8, !tbaa !33
  %93 = load ptr, ptr %9, align 8, !tbaa !5
  %94 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %93, i32 0, i32 14
  store i64 %92, ptr %94, align 8, !tbaa !33
  %95 = load ptr, ptr %10, align 8, !tbaa !5
  %96 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %95, i32 0, i32 15
  %97 = load i64, ptr %96, align 8, !tbaa !34
  %98 = load ptr, ptr %9, align 8, !tbaa !5
  %99 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %98, i32 0, i32 15
  store i64 %97, ptr %99, align 8, !tbaa !34
  %100 = load ptr, ptr %10, align 8, !tbaa !5
  %101 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %100, i32 0, i32 16
  %102 = load i64, ptr %101, align 8, !tbaa !35
  %103 = load ptr, ptr %9, align 8, !tbaa !5
  %104 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %103, i32 0, i32 16
  store i64 %102, ptr %104, align 8, !tbaa !35
  %105 = load ptr, ptr %9, align 8, !tbaa !5
  %106 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %105, i32 0, i32 17
  %107 = load ptr, ptr %10, align 8, !tbaa !5
  %108 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %107, i32 0, i32 17
  %109 = load ptr, ptr %7, align 8, !tbaa !5
  %110 = load i8, ptr %8, align 1, !tbaa !9, !range !20, !noundef !21
  %111 = trunc i8 %110 to i1
  call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixEPKS0_PNS_8ae_stateEb(ptr noundef %106, ptr noundef %108, ptr noundef %109, i1 noundef zeroext %111)
  %112 = load ptr, ptr %9, align 8, !tbaa !5
  %113 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %112, i32 0, i32 18
  %114 = load ptr, ptr %10, align 8, !tbaa !5
  %115 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %114, i32 0, i32 18
  %116 = load ptr, ptr %7, align 8, !tbaa !5
  %117 = load i8, ptr %8, align 1, !tbaa !9, !range !20, !noundef !21
  %118 = trunc i8 %117 to i1
  call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixEPKS0_PNS_8ae_stateEb(ptr noundef %113, ptr noundef %115, ptr noundef %116, i1 noundef zeroext %118)
  %119 = load ptr, ptr %9, align 8, !tbaa !5
  %120 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %119, i32 0, i32 19
  %121 = load ptr, ptr %10, align 8, !tbaa !5
  %122 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %121, i32 0, i32 19
  %123 = load ptr, ptr %7, align 8, !tbaa !5
  %124 = load i8, ptr %8, align 1, !tbaa !9, !range !20, !noundef !21
  %125 = trunc i8 %124 to i1
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef %120, ptr noundef %122, ptr noundef %123, i1 noundef zeroext %125)
  %126 = load ptr, ptr %9, align 8, !tbaa !5
  %127 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %126, i32 0, i32 20
  %128 = load ptr, ptr %10, align 8, !tbaa !5
  %129 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %128, i32 0, i32 20
  %130 = load ptr, ptr %7, align 8, !tbaa !5
  %131 = load i8, ptr %8, align 1, !tbaa !9, !range !20, !noundef !21
  %132 = trunc i8 %131 to i1
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef %127, ptr noundef %129, ptr noundef %130, i1 noundef zeroext %132)
  %133 = load ptr, ptr %9, align 8, !tbaa !5
  %134 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %133, i32 0, i32 21
  %135 = load ptr, ptr %10, align 8, !tbaa !5
  %136 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %135, i32 0, i32 21
  %137 = load ptr, ptr %7, align 8, !tbaa !5
  %138 = load i8, ptr %8, align 1, !tbaa !9, !range !20, !noundef !21
  %139 = trunc i8 %138 to i1
  call void @_ZN11alglib_impl17_kdtree_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef %134, ptr noundef %136, ptr noundef %137, i1 noundef zeroext %139)
  %140 = load ptr, ptr %9, align 8, !tbaa !5
  %141 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %140, i32 0, i32 22
  %142 = load ptr, ptr %10, align 8, !tbaa !5
  %143 = getelementptr inbounds %"struct.alglib_impl::idwbuilder", ptr %142, i32 0, i32 22
  %144 = load ptr, ptr %7, align 8, !tbaa !5
  %145 = load i8, ptr %8, align 1, !tbaa !9, !range !20, !noundef !21
  %146 = trunc i8 %145 to i1
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef %141, ptr noundef %143, ptr noundef %144, i1 noundef zeroext %146)
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  ret void
}

declare void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) #2

declare void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixEPKS0_PNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) #2

declare void @_ZN11alglib_impl17_kdtree_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) #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, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTSN11alglib_impl10idwbuilderE", !13, i64 0, !14, i64 8, !13, i64 72, !13, i64 80, !16, i64 88, !16, i64 96, !16, i64 104, !16, i64 112, !16, i64 120, !16, i64 128, !10, i64 136, !13, i64 144, !16, i64 152, !14, i64 160, !13, i64 224, !13, i64 232, !13, i64 240, !17, i64 248, !17, i64 328, !14, i64 408, !14, i64 472, !18, i64 536, !14, i64 1600}
!13 = !{!"long", !7, i64 0}
!14 = !{!"_ZTSN11alglib_impl9ae_vectorE", !13, i64 0, !13, i64 8, !10, i64 16, !15, i64 24, !7, i64 56}
!15 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!16 = !{!"double", !7, i64 0}
!17 = !{!"_ZTSN11alglib_impl9ae_matrixE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !10, i64 32, !15, i64 40, !7, i64 72}
!18 = !{!"_ZTSN11alglib_impl6kdtreeE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !17, i64 32, !14, i64 112, !14, i64 176, !14, i64 240, !14, i64 304, !14, i64 368, !19, i64 432, !13, i64 1056}
!19 = !{!"_ZTSN11alglib_impl19kdtreerequestbufferE", !14, i64 0, !14, i64 64, !14, i64 128, !13, i64 192, !16, i64 200, !10, i64 208, !16, i64 216, !13, i64 224, !14, i64 232, !14, i64 296, !14, i64 360, !14, i64 424, !14, i64 488, !16, i64 552, !14, i64 560}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = !{!12, !13, i64 72}
!23 = !{!12, !13, i64 80}
!24 = !{!12, !16, i64 88}
!25 = !{!12, !16, i64 96}
!26 = !{!12, !16, i64 104}
!27 = !{!12, !16, i64 112}
!28 = !{!12, !16, i64 120}
!29 = !{!12, !16, i64 128}
!30 = !{!12, !10, i64 136}
!31 = !{!12, !13, i64 144}
!32 = !{!12, !16, i64 152}
!33 = !{!12, !13, i64 224}
!34 = !{!12, !13, i64 232}
!35 = !{!12, !13, i64 240}


; 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_impl21_idwbuilder_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef %0, ptr noundef %1, ptr noundef %2, i1 noundef zeroext %3) local_unnamed_addr #0 {
  %5 = load i64, ptr %1, align 8, !tbaa !5
  store i64 %5, ptr %0, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 8
  %7 = getelementptr inbounds i8, ptr %1, i64 8
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef %2, i1 noundef zeroext %3)
  %8 = getelementptr inbounds i8, ptr %1, i64 72
  %9 = getelementptr inbounds i8, ptr %0, i64 72
  %10 = load <2 x i64>, ptr %8, align 8, !tbaa !18
  store <2 x i64> %10, ptr %9, align 8, !tbaa !18
  %11 = getelementptr inbounds i8, ptr %1, i64 88
  %12 = getelementptr inbounds i8, ptr %0, i64 88
  %13 = load <2 x double>, ptr %11, align 8, !tbaa !19
  store <2 x double> %13, ptr %12, align 8, !tbaa !19
  %14 = getelementptr inbounds i8, ptr %1, i64 104
  %15 = getelementptr inbounds i8, ptr %0, i64 104
  %16 = load <2 x double>, ptr %14, align 8, !tbaa !19
  store <2 x double> %16, ptr %15, align 8, !tbaa !19
  %17 = getelementptr inbounds i8, ptr %1, i64 120
  %18 = getelementptr inbounds i8, ptr %0, i64 120
  %19 = load <2 x double>, ptr %17, align 8, !tbaa !19
  store <2 x double> %19, ptr %18, align 8, !tbaa !19
  %20 = getelementptr inbounds i8, ptr %1, i64 136
  %21 = load i8, ptr %20, align 8, !tbaa !20, !range !21, !noundef !22
  %22 = getelementptr inbounds i8, ptr %0, i64 136
  store i8 %21, ptr %22, align 8, !tbaa !20
  %23 = getelementptr inbounds i8, ptr %1, i64 144
  %24 = load i64, ptr %23, align 8, !tbaa !23
  %25 = getelementptr inbounds i8, ptr %0, i64 144
  store i64 %24, ptr %25, align 8, !tbaa !23
  %26 = getelementptr inbounds i8, ptr %1, i64 152
  %27 = load double, ptr %26, align 8, !tbaa !24
  %28 = getelementptr inbounds i8, ptr %0, i64 152
  store double %27, ptr %28, align 8, !tbaa !24
  %29 = getelementptr inbounds i8, ptr %0, i64 160
  %30 = getelementptr inbounds i8, ptr %1, i64 160
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %29, ptr noundef nonnull %30, ptr noundef %2, i1 noundef zeroext %3)
  %31 = getelementptr inbounds i8, ptr %1, i64 224
  %32 = getelementptr inbounds i8, ptr %0, i64 224
  %33 = load <2 x i64>, ptr %31, align 8, !tbaa !18
  store <2 x i64> %33, ptr %32, align 8, !tbaa !18
  %34 = getelementptr inbounds i8, ptr %1, i64 240
  %35 = load i64, ptr %34, align 8, !tbaa !25
  %36 = getelementptr inbounds i8, ptr %0, i64 240
  store i64 %35, ptr %36, align 8, !tbaa !25
  %37 = getelementptr inbounds i8, ptr %0, i64 248
  %38 = getelementptr inbounds i8, ptr %1, i64 248
  tail call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %37, ptr noundef nonnull %38, ptr noundef %2, i1 noundef zeroext %3)
  %39 = getelementptr inbounds i8, ptr %0, i64 328
  %40 = getelementptr inbounds i8, ptr %1, i64 328
  tail call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %39, ptr noundef nonnull %40, ptr noundef %2, i1 noundef zeroext %3)
  %41 = getelementptr inbounds i8, ptr %0, i64 408
  %42 = getelementptr inbounds i8, ptr %1, i64 408
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %41, ptr noundef nonnull %42, ptr noundef %2, i1 noundef zeroext %3)
  %43 = getelementptr inbounds i8, ptr %0, i64 472
  %44 = getelementptr inbounds i8, ptr %1, i64 472
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %43, ptr noundef nonnull %44, ptr noundef %2, i1 noundef zeroext %3)
  %45 = getelementptr inbounds i8, ptr %0, i64 536
  %46 = getelementptr inbounds i8, ptr %1, i64 536
  tail call void @_ZN11alglib_impl17_kdtree_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef nonnull %45, ptr noundef nonnull %46, ptr noundef %2, i1 noundef zeroext %3)
  %47 = getelementptr inbounds i8, ptr %0, i64 1600
  %48 = getelementptr inbounds i8, ptr %1, i64 1600
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %47, ptr noundef nonnull %48, ptr noundef %2, i1 noundef zeroext %3)
  ret void
}

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

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

declare void @_ZN11alglib_impl17_kdtree_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) 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, !7, i64 0}
!6 = !{!"_ZTSN11alglib_impl10idwbuilderE", !7, i64 0, !10, i64 8, !7, i64 72, !7, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !14, i64 120, !14, i64 128, !11, i64 136, !7, i64 144, !14, i64 152, !10, i64 160, !7, i64 224, !7, i64 232, !7, i64 240, !15, i64 248, !15, i64 328, !10, i64 408, !10, i64 472, !16, i64 536, !10, i64 1600}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN11alglib_impl9ae_vectorE", !7, i64 0, !7, i64 8, !11, i64 16, !12, i64 24, !8, i64 56}
!11 = !{!"bool", !8, i64 0}
!12 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!"double", !8, i64 0}
!15 = !{!"_ZTSN11alglib_impl9ae_matrixE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !11, i64 32, !12, i64 40, !8, i64 72}
!16 = !{!"_ZTSN11alglib_impl6kdtreeE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !15, i64 32, !10, i64 112, !10, i64 176, !10, i64 240, !10, i64 304, !10, i64 368, !17, i64 432, !7, i64 1056}
!17 = !{!"_ZTSN11alglib_impl19kdtreerequestbufferE", !10, i64 0, !10, i64 64, !10, i64 128, !7, i64 192, !14, i64 200, !11, i64 208, !14, i64 216, !7, i64 224, !10, i64 232, !10, i64 296, !10, i64 360, !10, i64 424, !10, i64 488, !14, i64 552, !10, i64 560}
!18 = !{!7, !7, i64 0}
!19 = !{!14, !14, i64 0}
!20 = !{!6, !11, i64 136}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!6, !7, i64 144}
!24 = !{!6, !14, i64 152}
!25 = !{!6, !7, i64 240}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SLPVectorizerPass,SROAPass,TailCallElimPass