; 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::sparsesolverstate" = type { i64, %"struct.alglib_impl::ae_vector", double, i64, i64, i64, i8, i8, i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64, double, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::fblsgmresstate", %"struct.alglib_impl::rcommstate" }
%"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::sparsematrix" = type { %"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", i64, i64, i64, i64, i64, i64 }
%"struct.alglib_impl::fblsgmresstate" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"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", i64, i64, double, double, double, double, i64, i64, double, %"struct.alglib_impl::rcommstate" }
%"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 }
%"struct.alglib_impl::rcommstate" = type { i32, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }

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

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

declare void @_ZN11alglib_impl21_rcommstate_init_copyEPNS_10rcommstateEPKS0_PNS_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_impl17sparsesolverstateE", !13, i64 0, !14, i64 8, !16, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !10, i64 104, !10, i64 105, !10, i64 106, !14, i64 112, !14, i64 176, !13, i64 240, !13, i64 248, !13, i64 256, !16, i64 264, !13, i64 272, !14, i64 280, !14, i64 344, !16, i64 408, !14, i64 416, !17, i64 480, !18, i64 848, !20, i64 2096}
!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_impl12sparsematrixE", !14, i64 0, !14, i64 64, !14, i64 128, !14, i64 192, !14, i64 256, !13, i64 320, !13, i64 328, !13, i64 336, !13, i64 344, !13, i64 352, !13, i64 360}
!18 = !{!"_ZTSN11alglib_impl14fblsgmresstateE", !14, i64 0, !14, i64 64, !14, i64 128, !14, i64 192, !19, i64 256, !19, i64 336, !19, i64 416, !19, i64 496, !19, i64 576, !14, i64 656, !14, i64 720, !14, i64 784, !14, i64 848, !13, i64 912, !13, i64 920, !16, i64 928, !16, i64 936, !16, i64 944, !16, i64 952, !13, i64 960, !13, i64 968, !16, i64 976, !20, i64 984}
!19 = !{!"_ZTSN11alglib_impl9ae_matrixE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !10, i64 32, !15, i64 40, !7, i64 72}
!20 = !{!"_ZTSN11alglib_impl10rcommstateE", !21, i64 0, !14, i64 8, !14, i64 72, !14, i64 136, !14, i64 200}
!21 = !{!"int", !7, i64 0}
!22 = !{i8 0, i8 2}
!23 = !{}
!24 = !{!12, !16, i64 72}
!25 = !{!12, !13, i64 80}
!26 = !{!12, !13, i64 88}
!27 = !{!12, !13, i64 96}
!28 = !{!12, !10, i64 104}
!29 = !{!12, !10, i64 105}
!30 = !{!12, !10, i64 106}
!31 = !{!12, !13, i64 240}
!32 = !{!12, !13, i64 248}
!33 = !{!12, !13, i64 256}
!34 = !{!12, !16, i64 264}
!35 = !{!12, !13, i64 272}
!36 = !{!12, !16, i64 408}


; 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_impl28_sparsesolverstate_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 = load double, ptr %8, align 8, !tbaa !20
  %10 = getelementptr inbounds i8, ptr %0, i64 72
  store double %9, ptr %10, align 8, !tbaa !20
  %11 = getelementptr inbounds i8, ptr %1, i64 80
  %12 = getelementptr inbounds i8, ptr %0, i64 80
  %13 = load <2 x i64>, ptr %11, align 8, !tbaa !21
  store <2 x i64> %13, ptr %12, align 8, !tbaa !21
  %14 = getelementptr inbounds i8, ptr %1, i64 96
  %15 = load i64, ptr %14, align 8, !tbaa !22
  %16 = getelementptr inbounds i8, ptr %0, i64 96
  store i64 %15, ptr %16, align 8, !tbaa !22
  %17 = getelementptr inbounds i8, ptr %1, i64 104
  %18 = load i8, ptr %17, align 8, !tbaa !23, !range !24, !noundef !25
  %19 = getelementptr inbounds i8, ptr %0, i64 104
  store i8 %18, ptr %19, align 8, !tbaa !23
  %20 = getelementptr inbounds i8, ptr %1, i64 105
  %21 = load i8, ptr %20, align 1, !tbaa !26, !range !24, !noundef !25
  %22 = getelementptr inbounds i8, ptr %0, i64 105
  store i8 %21, ptr %22, align 1, !tbaa !26
  %23 = getelementptr inbounds i8, ptr %1, i64 106
  %24 = load i8, ptr %23, align 2, !tbaa !27, !range !24, !noundef !25
  %25 = getelementptr inbounds i8, ptr %0, i64 106
  store i8 %24, ptr %25, align 2, !tbaa !27
  %26 = getelementptr inbounds i8, ptr %0, i64 112
  %27 = getelementptr inbounds i8, ptr %1, i64 112
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %26, ptr noundef nonnull %27, ptr noundef %2, i1 noundef zeroext %3)
  %28 = getelementptr inbounds i8, ptr %0, i64 176
  %29 = getelementptr inbounds i8, ptr %1, i64 176
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %28, ptr noundef nonnull %29, ptr noundef %2, i1 noundef zeroext %3)
  %30 = getelementptr inbounds i8, ptr %1, i64 240
  %31 = getelementptr inbounds i8, ptr %0, i64 240
  %32 = load <2 x i64>, ptr %30, align 8, !tbaa !21
  store <2 x i64> %32, ptr %31, align 8, !tbaa !21
  %33 = getelementptr inbounds i8, ptr %1, i64 256
  %34 = load i64, ptr %33, align 8, !tbaa !28
  %35 = getelementptr inbounds i8, ptr %0, i64 256
  store i64 %34, ptr %35, align 8, !tbaa !28
  %36 = getelementptr inbounds i8, ptr %1, i64 264
  %37 = load double, ptr %36, align 8, !tbaa !29
  %38 = getelementptr inbounds i8, ptr %0, i64 264
  store double %37, ptr %38, align 8, !tbaa !29
  %39 = getelementptr inbounds i8, ptr %1, i64 272
  %40 = load i64, ptr %39, align 8, !tbaa !30
  %41 = getelementptr inbounds i8, ptr %0, i64 272
  store i64 %40, ptr %41, align 8, !tbaa !30
  %42 = getelementptr inbounds i8, ptr %0, i64 280
  %43 = getelementptr inbounds i8, ptr %1, i64 280
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %42, ptr noundef nonnull %43, ptr noundef %2, i1 noundef zeroext %3)
  %44 = getelementptr inbounds i8, ptr %0, i64 344
  %45 = getelementptr inbounds i8, ptr %1, i64 344
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %44, ptr noundef nonnull %45, ptr noundef %2, i1 noundef zeroext %3)
  %46 = getelementptr inbounds i8, ptr %1, i64 408
  %47 = load double, ptr %46, align 8, !tbaa !31
  %48 = getelementptr inbounds i8, ptr %0, i64 408
  store double %47, ptr %48, align 8, !tbaa !31
  %49 = getelementptr inbounds i8, ptr %0, i64 416
  %50 = getelementptr inbounds i8, ptr %1, i64 416
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %49, ptr noundef nonnull %50, ptr noundef %2, i1 noundef zeroext %3)
  %51 = getelementptr inbounds i8, ptr %0, i64 480
  %52 = getelementptr inbounds i8, ptr %1, i64 480
  tail call void @_ZN11alglib_impl23_sparsematrix_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef nonnull %51, ptr noundef nonnull %52, ptr noundef %2, i1 noundef zeroext %3)
  %53 = getelementptr inbounds i8, ptr %0, i64 848
  %54 = getelementptr inbounds i8, ptr %1, i64 848
  tail call void @_ZN11alglib_impl25_fblsgmresstate_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef nonnull %53, ptr noundef nonnull %54, ptr noundef %2, i1 noundef zeroext %3)
  %55 = getelementptr inbounds i8, ptr %0, i64 2096
  %56 = getelementptr inbounds i8, ptr %1, i64 2096
  tail call void @_ZN11alglib_impl21_rcommstate_init_copyEPNS_10rcommstateEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %55, ptr noundef nonnull %56, 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_impl23_sparsematrix_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #1

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

declare void @_ZN11alglib_impl21_rcommstate_init_copyEPNS_10rcommstateEPKS0_PNS_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_impl17sparsesolverstateE", !7, i64 0, !10, i64 8, !14, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !11, i64 104, !11, i64 105, !11, i64 106, !10, i64 112, !10, i64 176, !7, i64 240, !7, i64 248, !7, i64 256, !14, i64 264, !7, i64 272, !10, i64 280, !10, i64 344, !14, i64 408, !10, i64 416, !15, i64 480, !16, i64 848, !18, i64 2096}
!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_impl12sparsematrixE", !10, i64 0, !10, i64 64, !10, i64 128, !10, i64 192, !10, i64 256, !7, i64 320, !7, i64 328, !7, i64 336, !7, i64 344, !7, i64 352, !7, i64 360}
!16 = !{!"_ZTSN11alglib_impl14fblsgmresstateE", !10, i64 0, !10, i64 64, !10, i64 128, !10, i64 192, !17, i64 256, !17, i64 336, !17, i64 416, !17, i64 496, !17, i64 576, !10, i64 656, !10, i64 720, !10, i64 784, !10, i64 848, !7, i64 912, !7, i64 920, !14, i64 928, !14, i64 936, !14, i64 944, !14, i64 952, !7, i64 960, !7, i64 968, !14, i64 976, !18, i64 984}
!17 = !{!"_ZTSN11alglib_impl9ae_matrixE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !11, i64 32, !12, i64 40, !8, i64 72}
!18 = !{!"_ZTSN11alglib_impl10rcommstateE", !19, i64 0, !10, i64 8, !10, i64 72, !10, i64 136, !10, i64 200}
!19 = !{!"int", !8, i64 0}
!20 = !{!6, !14, i64 72}
!21 = !{!7, !7, i64 0}
!22 = !{!6, !7, i64 96}
!23 = !{!6, !11, i64 104}
!24 = !{i8 0, i8 2}
!25 = !{}
!26 = !{!6, !11, i64 105}
!27 = !{!6, !11, i64 106}
!28 = !{!6, !7, i64 256}
!29 = !{!6, !14, i64 264}
!30 = !{!6, !7, i64 272}
!31 = !{!6, !14, i64 408}


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