; 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::mlptrainer" = type { i64, i64, i8, i64, double, double, i64, i64, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::smlptrnsession", i64, %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", i64, i64, 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::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::smlptrnsession" = type { %"struct.alglib_impl::ae_vector", double, i8, %"struct.alglib_impl::multilayerperceptron", %"struct.alglib_impl::minlbfgsstate", %"struct.alglib_impl::minlbfgsreport", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::rcommstate", i64, i64, %"struct.alglib_impl::hqrndstate" }
%"struct.alglib_impl::multilayerperceptron" = type { i64, 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", %"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::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::modelerrors", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_shared_pool", %"struct.alglib_impl::ae_shared_pool", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_shared_pool" }
%"struct.alglib_impl::modelerrors" = type { double, double, double, double, double }
%"struct.alglib_impl::ae_shared_pool" = type { %"struct.alglib_impl::ae_lock", ptr, ptr, ptr, ptr, i64, ptr, ptr, ptr, %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_lock" = type { ptr, %"struct.alglib_impl::ae_dyn_block", i8 }
%"struct.alglib_impl::minlbfgsstate" = type { i64, i64, double, double, double, i64, i8, double, %"struct.alglib_impl::ae_vector", double, i64, i64, i64, i64, i64, %"struct.alglib_impl::ae_vector", %"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", double, %"struct.alglib_impl::ae_vector", double, double, %"struct.alglib_impl::ae_vector", i64, double, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", i64, %"struct.alglib_impl::precbuflbfgs", %"struct.alglib_impl::precbuflowrank", double, double, double, double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, %"struct.alglib_impl::ae_vector", i8, i8, i8, i8, double, %"struct.alglib_impl::rcommstate", i64, i64, i64, %"struct.alglib_impl::linminstate", i64, %"struct.alglib_impl::smoothnessmonitor", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::precbuflbfgs" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::precbuflowrank" = type { i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::linminstate" = type { i8, i8, i64, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double }
%"struct.alglib_impl::smoothnessmonitor" = type { i64, i64, i8, %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i8, i8, double, double, i8, %"struct.alglib_impl::optguardreport", double, double, %"struct.alglib_impl::optguardnonc1test0report", %"struct.alglib_impl::optguardnonc1test0report", double, double, %"struct.alglib_impl::optguardnonc1test1report", %"struct.alglib_impl::optguardnonc1test1report", i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::rcommstate", %"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::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_vector", %"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::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::optguardreport" = type { i8, i8, i64, double, i8, i8, i8, i64, double, i8, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix" }
%"struct.alglib_impl::optguardnonc1test0report" = type { i8, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64 }
%"struct.alglib_impl::optguardnonc1test1report" = type { i8, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64 }
%"struct.alglib_impl::minlbfgsreport" = type { i64, i64, i64 }
%"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" }
%"struct.alglib_impl::hqrndstate" = type { i64, i64, i64 }
%"struct.alglib_impl::ae_vector" = type { 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_impl21_mlptrainer_init_copyEPvS0_PNS_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::mlptrainer", 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::mlptrainer", ptr %17, i32 0, i32 0
  store i64 %16, ptr %18, align 8, !tbaa !11
  %19 = load ptr, ptr %10, align 8, !tbaa !5
  %20 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %19, i32 0, i32 1
  %21 = load i64, ptr %20, align 8, !tbaa !36
  %22 = load ptr, ptr %9, align 8, !tbaa !5
  %23 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %22, i32 0, i32 1
  store i64 %21, ptr %23, align 8, !tbaa !36
  %24 = load ptr, ptr %10, align 8, !tbaa !5
  %25 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %24, i32 0, i32 2
  %26 = load i8, ptr %25, align 8, !tbaa !37, !range !38, !noundef !39
  %27 = trunc i8 %26 to i1
  %28 = load ptr, ptr %9, align 8, !tbaa !5
  %29 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %28, i32 0, i32 2
  %30 = zext i1 %27 to i8
  store i8 %30, ptr %29, align 8, !tbaa !37
  %31 = load ptr, ptr %10, align 8, !tbaa !5
  %32 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %31, i32 0, i32 3
  %33 = load i64, ptr %32, align 8, !tbaa !40
  %34 = load ptr, ptr %9, align 8, !tbaa !5
  %35 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %34, i32 0, i32 3
  store i64 %33, ptr %35, align 8, !tbaa !40
  %36 = load ptr, ptr %10, align 8, !tbaa !5
  %37 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %36, i32 0, i32 4
  %38 = load double, ptr %37, align 8, !tbaa !41
  %39 = load ptr, ptr %9, align 8, !tbaa !5
  %40 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %39, i32 0, i32 4
  store double %38, ptr %40, align 8, !tbaa !41
  %41 = load ptr, ptr %10, align 8, !tbaa !5
  %42 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %41, i32 0, i32 5
  %43 = load double, ptr %42, align 8, !tbaa !42
  %44 = load ptr, ptr %9, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %44, i32 0, i32 5
  store double %43, ptr %45, align 8, !tbaa !42
  %46 = load ptr, ptr %10, align 8, !tbaa !5
  %47 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %46, i32 0, i32 6
  %48 = load i64, ptr %47, align 8, !tbaa !43
  %49 = load ptr, ptr %9, align 8, !tbaa !5
  %50 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %49, i32 0, i32 6
  store i64 %48, ptr %50, align 8, !tbaa !43
  %51 = load ptr, ptr %10, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %51, i32 0, i32 7
  %53 = load i64, ptr %52, align 8, !tbaa !44
  %54 = load ptr, ptr %9, align 8, !tbaa !5
  %55 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %54, i32 0, i32 7
  store i64 %53, ptr %55, align 8, !tbaa !44
  %56 = load ptr, ptr %10, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %56, i32 0, i32 8
  %58 = load i64, ptr %57, align 8, !tbaa !45
  %59 = load ptr, ptr %9, align 8, !tbaa !5
  %60 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %59, i32 0, i32 8
  store i64 %58, ptr %60, align 8, !tbaa !45
  %61 = load ptr, ptr %9, align 8, !tbaa !5
  %62 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %61, i32 0, i32 9
  %63 = load ptr, ptr %10, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %63, i32 0, i32 9
  %65 = load ptr, ptr %7, align 8, !tbaa !5
  %66 = load i8, ptr %8, align 1, !tbaa !9, !range !38, !noundef !39
  %67 = trunc i8 %66 to i1
  call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixES1_PNS_8ae_stateEb(ptr noundef %62, ptr noundef %64, ptr noundef %65, i1 noundef zeroext %67)
  %68 = load ptr, ptr %9, align 8, !tbaa !5
  %69 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %68, i32 0, i32 10
  %70 = load ptr, ptr %10, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %70, i32 0, i32 10
  %72 = load ptr, ptr %7, align 8, !tbaa !5
  %73 = load i8, ptr %8, align 1, !tbaa !9, !range !38, !noundef !39
  %74 = trunc i8 %73 to i1
  call void @_ZN11alglib_impl23_sparsematrix_init_copyEPvS0_PNS_8ae_stateEb(ptr noundef %69, ptr noundef %71, ptr noundef %72, i1 noundef zeroext %74)
  %75 = load ptr, ptr %9, align 8, !tbaa !5
  %76 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %75, i32 0, i32 11
  %77 = load ptr, ptr %10, align 8, !tbaa !5
  %78 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %77, i32 0, i32 11
  %79 = load ptr, ptr %7, align 8, !tbaa !5
  %80 = load i8, ptr %8, align 1, !tbaa !9, !range !38, !noundef !39
  %81 = trunc i8 %80 to i1
  call void @_ZN11alglib_impl25_smlptrnsession_init_copyEPvS0_PNS_8ae_stateEb(ptr noundef %76, ptr noundef %78, ptr noundef %79, i1 noundef zeroext %81)
  %82 = load ptr, ptr %10, align 8, !tbaa !5
  %83 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %82, i32 0, i32 12
  %84 = load i64, ptr %83, align 8, !tbaa !46
  %85 = load ptr, ptr %9, align 8, !tbaa !5
  %86 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %85, i32 0, i32 12
  store i64 %84, ptr %86, align 8, !tbaa !46
  %87 = load ptr, ptr %9, align 8, !tbaa !5
  %88 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %87, i32 0, i32 13
  %89 = load ptr, ptr %10, align 8, !tbaa !5
  %90 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %89, i32 0, i32 13
  %91 = load ptr, ptr %7, align 8, !tbaa !5
  %92 = load i8, ptr %8, align 1, !tbaa !9, !range !38, !noundef !39
  %93 = trunc i8 %92 to i1
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef %88, ptr noundef %90, ptr noundef %91, i1 noundef zeroext %93)
  %94 = load ptr, ptr %10, align 8, !tbaa !5
  %95 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %94, i32 0, i32 14
  %96 = load i64, ptr %95, align 8, !tbaa !47
  %97 = load ptr, ptr %9, align 8, !tbaa !5
  %98 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %97, i32 0, i32 14
  store i64 %96, ptr %98, align 8, !tbaa !47
  %99 = load ptr, ptr %9, align 8, !tbaa !5
  %100 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %99, i32 0, i32 15
  %101 = load ptr, ptr %10, align 8, !tbaa !5
  %102 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %101, i32 0, i32 15
  %103 = load ptr, ptr %7, align 8, !tbaa !5
  %104 = load i8, ptr %8, align 1, !tbaa !9, !range !38, !noundef !39
  %105 = trunc i8 %104 to i1
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef %100, ptr noundef %102, ptr noundef %103, i1 noundef zeroext %105)
  %106 = load ptr, ptr %10, align 8, !tbaa !5
  %107 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %106, i32 0, i32 16
  %108 = load i64, ptr %107, align 8, !tbaa !48
  %109 = load ptr, ptr %9, align 8, !tbaa !5
  %110 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %109, i32 0, i32 16
  store i64 %108, ptr %110, align 8, !tbaa !48
  %111 = load ptr, ptr %10, align 8, !tbaa !5
  %112 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %111, i32 0, i32 17
  %113 = load i64, ptr %112, align 8, !tbaa !49
  %114 = load ptr, ptr %9, align 8, !tbaa !5
  %115 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %114, i32 0, i32 17
  store i64 %113, ptr %115, align 8, !tbaa !49
  %116 = load ptr, ptr %10, align 8, !tbaa !5
  %117 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %116, i32 0, i32 18
  %118 = load i64, ptr %117, align 8, !tbaa !50
  %119 = load ptr, ptr %9, align 8, !tbaa !5
  %120 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %119, i32 0, i32 18
  store i64 %118, ptr %120, align 8, !tbaa !50
  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_vectorES1_PNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl25_smlptrnsession_init_copyEPvS0_PNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) #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, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTSN11alglib_impl10mlptrainerE", !13, i64 0, !13, i64 8, !10, i64 16, !13, i64 24, !14, i64 32, !14, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !15, i64 72, !17, i64 152, !19, i64 520, !13, i64 10160, !18, i64 10168, !13, i64 10232, !18, i64 10240, !13, i64 10304, !13, i64 10312, !13, i64 10320}
!13 = !{!"long", !7, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!"_ZTSN11alglib_impl9ae_matrixE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !10, 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_impl12sparsematrixE", !18, i64 0, !18, i64 64, !18, i64 128, !18, i64 192, !18, i64 256, !13, i64 320, !13, i64 328, !13, i64 336, !13, i64 344, !13, i64 352, !13, i64 360}
!18 = !{!"_ZTSN11alglib_impl9ae_vectorE", !13, i64 0, !13, i64 8, !10, i64 16, !16, i64 24, !7, i64 56}
!19 = !{!"_ZTSN11alglib_impl14smlptrnsessionE", !18, i64 0, !14, i64 64, !10, i64 72, !20, i64 80, !24, i64 2184, !34, i64 9056, !18, i64 9080, !18, i64 9144, !18, i64 9208, !18, i64 9272, !27, i64 9336, !13, i64 9600, !13, i64 9608, !35, i64 9616}
!20 = !{!"_ZTSN11alglib_impl20multilayerperceptronE", !13, i64 0, !13, i64 8, !18, i64 16, !18, i64 80, !18, i64 144, !18, i64 208, !18, i64 272, !18, i64 336, !18, i64 400, !18, i64 464, !18, i64 528, !18, i64 592, !18, i64 656, !18, i64 720, !15, i64 784, !18, i64 864, !18, i64 928, !18, i64 992, !21, i64 1056, !18, i64 1096, !22, i64 1160, !22, i64 1304, !15, i64 1448, !17, i64 1528, !18, i64 1896, !22, i64 1960}
!21 = !{!"_ZTSN11alglib_impl11modelerrorsE", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32}
!22 = !{!"_ZTSN11alglib_impl14ae_shared_poolE", !23, i64 0, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !13, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !16, i64 112}
!23 = !{!"_ZTSN11alglib_impl7ae_lockE", !6, i64 0, !16, i64 8, !10, i64 40}
!24 = !{!"_ZTSN11alglib_impl13minlbfgsstateE", !13, i64 0, !13, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !13, i64 40, !10, i64 48, !14, i64 56, !18, i64 64, !14, i64 128, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !18, i64 176, !15, i64 240, !15, i64 320, !18, i64 400, !18, i64 464, !18, i64 528, !14, i64 592, !18, i64 600, !14, i64 664, !14, i64 672, !18, i64 680, !13, i64 744, !14, i64 752, !15, i64 760, !18, i64 840, !18, i64 904, !18, i64 968, !15, i64 1032, !13, i64 1112, !25, i64 1120, !26, i64 1584, !14, i64 2032, !14, i64 2040, !14, i64 2048, !14, i64 2056, !14, i64 2064, !18, i64 2072, !18, i64 2136, !18, i64 2200, !14, i64 2264, !18, i64 2272, !10, i64 2336, !10, i64 2337, !10, i64 2338, !10, i64 2339, !14, i64 2344, !27, i64 2352, !13, i64 2616, !13, i64 2624, !13, i64 2632, !29, i64 2640, !13, i64 2832, !30, i64 2840, !18, i64 6808}
!25 = !{!"_ZTSN11alglib_impl12precbuflbfgsE", !18, i64 0, !18, i64 64, !18, i64 128, !15, i64 192, !18, i64 272, !18, i64 336, !18, i64 400}
!26 = !{!"_ZTSN11alglib_impl14precbuflowrankE", !13, i64 0, !13, i64 8, !18, i64 16, !15, i64 80, !18, i64 160, !15, i64 224, !15, i64 304, !18, i64 384}
!27 = !{!"_ZTSN11alglib_impl10rcommstateE", !28, i64 0, !18, i64 8, !18, i64 72, !18, i64 136, !18, i64 200}
!28 = !{!"int", !7, i64 0}
!29 = !{!"_ZTSN11alglib_impl11linminstateE", !10, i64 0, !10, i64 1, !13, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !14, i64 120, !14, i64 128, !14, i64 136, !14, i64 144, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !14, i64 184}
!30 = !{!"_ZTSN11alglib_impl17smoothnessmonitorE", !13, i64 0, !13, i64 8, !10, i64 16, !18, i64 24, !13, i64 88, !18, i64 96, !18, i64 160, !18, i64 224, !15, i64 288, !18, i64 368, !18, i64 432, !13, i64 496, !10, i64 504, !10, i64 505, !14, i64 512, !14, i64 520, !10, i64 528, !31, i64 536, !14, i64 832, !14, i64 840, !32, i64 848, !32, i64 1152, !14, i64 1456, !14, i64 1464, !33, i64 1472, !33, i64 1784, !10, i64 2096, !18, i64 2104, !18, i64 2168, !15, i64 2232, !27, i64 2312, !18, i64 2576, !18, i64 2640, !18, i64 2704, !18, i64 2768, !18, i64 2832, !18, i64 2896, !18, i64 2960, !18, i64 3024, !15, i64 3088, !15, i64 3168, !18, i64 3248, !18, i64 3312, !18, i64 3376, !18, i64 3440, !18, i64 3504, !18, i64 3568, !18, i64 3632, !18, i64 3696, !18, i64 3760, !18, i64 3824, !15, i64 3888}
!31 = !{!"_ZTSN11alglib_impl14optguardreportE", !10, i64 0, !10, i64 1, !13, i64 8, !14, i64 16, !10, i64 24, !10, i64 25, !10, i64 26, !13, i64 32, !14, i64 40, !10, i64 48, !13, i64 56, !13, i64 64, !18, i64 72, !15, i64 136, !15, i64 216}
!32 = !{!"_ZTSN11alglib_impl24optguardnonc1test0reportE", !10, i64 0, !13, i64 8, !18, i64 16, !18, i64 80, !13, i64 144, !18, i64 152, !18, i64 216, !13, i64 280, !13, i64 288, !13, i64 296}
!33 = !{!"_ZTSN11alglib_impl24optguardnonc1test1reportE", !10, i64 0, !13, i64 8, !13, i64 16, !18, i64 24, !18, i64 88, !13, i64 152, !18, i64 160, !18, i64 224, !13, i64 288, !13, i64 296, !13, i64 304}
!34 = !{!"_ZTSN11alglib_impl14minlbfgsreportE", !13, i64 0, !13, i64 8, !13, i64 16}
!35 = !{!"_ZTSN11alglib_impl10hqrndstateE", !13, i64 0, !13, i64 8, !13, i64 16}
!36 = !{!12, !13, i64 8}
!37 = !{!12, !10, i64 16}
!38 = !{i8 0, i8 2}
!39 = !{}
!40 = !{!12, !13, i64 24}
!41 = !{!12, !14, i64 32}
!42 = !{!12, !14, i64 40}
!43 = !{!12, !13, i64 48}
!44 = !{!12, !13, i64 56}
!45 = !{!12, !13, i64 64}
!46 = !{!12, !13, i64 10160}
!47 = !{!12, !13, i64 10232}
!48 = !{!12, !13, i64 10304}
!49 = !{!12, !13, i64 10312}
!50 = !{!12, !13, i64 10320}


; 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_mlptrainer_init_copyEPvS0_PNS_8ae_stateEb(ptr noundef %0, ptr noundef %1, ptr noundef %2, i1 noundef zeroext %3) local_unnamed_addr #0 {
  %5 = load <2 x i64>, ptr %1, align 8, !tbaa !5
  store <2 x i64> %5, ptr %0, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %1, i64 16
  %7 = load i8, ptr %6, align 8, !tbaa !9, !range !35, !noundef !36
  %8 = getelementptr inbounds i8, ptr %0, i64 16
  store i8 %7, ptr %8, align 8, !tbaa !9
  %9 = getelementptr inbounds i8, ptr %1, i64 24
  %10 = load i64, ptr %9, align 8, !tbaa !37
  %11 = getelementptr inbounds i8, ptr %0, i64 24
  store i64 %10, ptr %11, align 8, !tbaa !37
  %12 = getelementptr inbounds i8, ptr %1, i64 32
  %13 = getelementptr inbounds i8, ptr %0, i64 32
  %14 = load <2 x double>, ptr %12, align 8, !tbaa !38
  store <2 x double> %14, ptr %13, align 8, !tbaa !38
  %15 = getelementptr inbounds i8, ptr %1, i64 48
  %16 = getelementptr inbounds i8, ptr %0, i64 48
  %17 = load <2 x i64>, ptr %15, align 8, !tbaa !5
  store <2 x i64> %17, ptr %16, align 8, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %1, i64 64
  %19 = load i64, ptr %18, align 8, !tbaa !39
  %20 = getelementptr inbounds i8, ptr %0, i64 64
  store i64 %19, ptr %20, align 8, !tbaa !39
  %21 = getelementptr inbounds i8, ptr %0, i64 72
  %22 = getelementptr inbounds i8, ptr %1, i64 72
  tail call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixES1_PNS_8ae_stateEb(ptr noundef nonnull %21, ptr noundef nonnull %22, ptr noundef %2, i1 noundef zeroext %3)
  %23 = getelementptr inbounds i8, ptr %0, i64 152
  %24 = getelementptr inbounds i8, ptr %1, i64 152
  tail call void @_ZN11alglib_impl23_sparsematrix_init_copyEPvS0_PNS_8ae_stateEb(ptr noundef nonnull %23, ptr noundef nonnull %24, ptr noundef %2, i1 noundef zeroext %3)
  %25 = getelementptr inbounds i8, ptr %0, i64 520
  %26 = getelementptr inbounds i8, ptr %1, i64 520
  tail call void @_ZN11alglib_impl25_smlptrnsession_init_copyEPvS0_PNS_8ae_stateEb(ptr noundef nonnull %25, ptr noundef nonnull %26, ptr noundef %2, i1 noundef zeroext %3)
  %27 = getelementptr inbounds i8, ptr %1, i64 10160
  %28 = load i64, ptr %27, align 8, !tbaa !40
  %29 = getelementptr inbounds i8, ptr %0, i64 10160
  store i64 %28, ptr %29, align 8, !tbaa !40
  %30 = getelementptr inbounds i8, ptr %0, i64 10168
  %31 = getelementptr inbounds i8, ptr %1, i64 10168
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef nonnull %30, ptr noundef nonnull %31, ptr noundef %2, i1 noundef zeroext %3)
  %32 = getelementptr inbounds i8, ptr %1, i64 10232
  %33 = load i64, ptr %32, align 8, !tbaa !41
  %34 = getelementptr inbounds i8, ptr %0, i64 10232
  store i64 %33, ptr %34, align 8, !tbaa !41
  %35 = getelementptr inbounds i8, ptr %0, i64 10240
  %36 = getelementptr inbounds i8, ptr %1, i64 10240
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef nonnull %35, ptr noundef nonnull %36, ptr noundef %2, i1 noundef zeroext %3)
  %37 = getelementptr inbounds i8, ptr %1, i64 10304
  %38 = getelementptr inbounds i8, ptr %0, i64 10304
  %39 = load <2 x i64>, ptr %37, align 8, !tbaa !5
  store <2 x i64> %39, ptr %38, align 8, !tbaa !5
  %40 = getelementptr inbounds i8, ptr %1, i64 10320
  %41 = load i64, ptr %40, align 8, !tbaa !42
  %42 = getelementptr inbounds i8, ptr %0, i64 10320
  store i64 %41, ptr %42, align 8, !tbaa !42
  ret void
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl25_smlptrnsession_init_copyEPvS0_PNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) 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, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 16}
!10 = !{!"_ZTSN11alglib_impl10mlptrainerE", !6, i64 0, !6, i64 8, !11, i64 16, !6, i64 24, !12, i64 32, !12, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !13, i64 72, !16, i64 152, !18, i64 520, !6, i64 10160, !17, i64 10168, !6, i64 10232, !17, i64 10240, !6, i64 10304, !6, i64 10312, !6, i64 10320}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!"_ZTSN11alglib_impl9ae_matrixE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !11, i64 32, !14, i64 40, !7, i64 72}
!14 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!"_ZTSN11alglib_impl12sparsematrixE", !17, i64 0, !17, i64 64, !17, i64 128, !17, i64 192, !17, i64 256, !6, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360}
!17 = !{!"_ZTSN11alglib_impl9ae_vectorE", !6, i64 0, !6, i64 8, !11, i64 16, !14, i64 24, !7, i64 56}
!18 = !{!"_ZTSN11alglib_impl14smlptrnsessionE", !17, i64 0, !12, i64 64, !11, i64 72, !19, i64 80, !23, i64 2184, !33, i64 9056, !17, i64 9080, !17, i64 9144, !17, i64 9208, !17, i64 9272, !26, i64 9336, !6, i64 9600, !6, i64 9608, !34, i64 9616}
!19 = !{!"_ZTSN11alglib_impl20multilayerperceptronE", !6, i64 0, !6, i64 8, !17, i64 16, !17, i64 80, !17, i64 144, !17, i64 208, !17, i64 272, !17, i64 336, !17, i64 400, !17, i64 464, !17, i64 528, !17, i64 592, !17, i64 656, !17, i64 720, !13, i64 784, !17, i64 864, !17, i64 928, !17, i64 992, !20, i64 1056, !17, i64 1096, !21, i64 1160, !21, i64 1304, !13, i64 1448, !16, i64 1528, !17, i64 1896, !21, i64 1960}
!20 = !{!"_ZTSN11alglib_impl11modelerrorsE", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32}
!21 = !{!"_ZTSN11alglib_impl14ae_shared_poolE", !22, i64 0, !15, i64 48, !15, i64 56, !15, i64 64, !15, i64 72, !6, i64 80, !15, i64 88, !15, i64 96, !15, i64 104, !14, i64 112}
!22 = !{!"_ZTSN11alglib_impl7ae_lockE", !15, i64 0, !14, i64 8, !11, i64 40}
!23 = !{!"_ZTSN11alglib_impl13minlbfgsstateE", !6, i64 0, !6, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !6, i64 40, !11, i64 48, !12, i64 56, !17, i64 64, !12, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !17, i64 176, !13, i64 240, !13, i64 320, !17, i64 400, !17, i64 464, !17, i64 528, !12, i64 592, !17, i64 600, !12, i64 664, !12, i64 672, !17, i64 680, !6, i64 744, !12, i64 752, !13, i64 760, !17, i64 840, !17, i64 904, !17, i64 968, !13, i64 1032, !6, i64 1112, !24, i64 1120, !25, i64 1584, !12, i64 2032, !12, i64 2040, !12, i64 2048, !12, i64 2056, !12, i64 2064, !17, i64 2072, !17, i64 2136, !17, i64 2200, !12, i64 2264, !17, i64 2272, !11, i64 2336, !11, i64 2337, !11, i64 2338, !11, i64 2339, !12, i64 2344, !26, i64 2352, !6, i64 2616, !6, i64 2624, !6, i64 2632, !28, i64 2640, !6, i64 2832, !29, i64 2840, !17, i64 6808}
!24 = !{!"_ZTSN11alglib_impl12precbuflbfgsE", !17, i64 0, !17, i64 64, !17, i64 128, !13, i64 192, !17, i64 272, !17, i64 336, !17, i64 400}
!25 = !{!"_ZTSN11alglib_impl14precbuflowrankE", !6, i64 0, !6, i64 8, !17, i64 16, !13, i64 80, !17, i64 160, !13, i64 224, !13, i64 304, !17, i64 384}
!26 = !{!"_ZTSN11alglib_impl10rcommstateE", !27, i64 0, !17, i64 8, !17, i64 72, !17, i64 136, !17, i64 200}
!27 = !{!"int", !7, i64 0}
!28 = !{!"_ZTSN11alglib_impl11linminstateE", !11, i64 0, !11, i64 1, !6, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !12, i64 176, !12, i64 184}
!29 = !{!"_ZTSN11alglib_impl17smoothnessmonitorE", !6, i64 0, !6, i64 8, !11, i64 16, !17, i64 24, !6, i64 88, !17, i64 96, !17, i64 160, !17, i64 224, !13, i64 288, !17, i64 368, !17, i64 432, !6, i64 496, !11, i64 504, !11, i64 505, !12, i64 512, !12, i64 520, !11, i64 528, !30, i64 536, !12, i64 832, !12, i64 840, !31, i64 848, !31, i64 1152, !12, i64 1456, !12, i64 1464, !32, i64 1472, !32, i64 1784, !11, i64 2096, !17, i64 2104, !17, i64 2168, !13, i64 2232, !26, i64 2312, !17, i64 2576, !17, i64 2640, !17, i64 2704, !17, i64 2768, !17, i64 2832, !17, i64 2896, !17, i64 2960, !17, i64 3024, !13, i64 3088, !13, i64 3168, !17, i64 3248, !17, i64 3312, !17, i64 3376, !17, i64 3440, !17, i64 3504, !17, i64 3568, !17, i64 3632, !17, i64 3696, !17, i64 3760, !17, i64 3824, !13, i64 3888}
!30 = !{!"_ZTSN11alglib_impl14optguardreportE", !11, i64 0, !11, i64 1, !6, i64 8, !12, i64 16, !11, i64 24, !11, i64 25, !11, i64 26, !6, i64 32, !12, i64 40, !11, i64 48, !6, i64 56, !6, i64 64, !17, i64 72, !13, i64 136, !13, i64 216}
!31 = !{!"_ZTSN11alglib_impl24optguardnonc1test0reportE", !11, i64 0, !6, i64 8, !17, i64 16, !17, i64 80, !6, i64 144, !17, i64 152, !17, i64 216, !6, i64 280, !6, i64 288, !6, i64 296}
!32 = !{!"_ZTSN11alglib_impl24optguardnonc1test1reportE", !11, i64 0, !6, i64 8, !6, i64 16, !17, i64 24, !17, i64 88, !6, i64 152, !17, i64 160, !17, i64 224, !6, i64 288, !6, i64 296, !6, i64 304}
!33 = !{!"_ZTSN11alglib_impl14minlbfgsreportE", !6, i64 0, !6, i64 8, !6, i64 16}
!34 = !{!"_ZTSN11alglib_impl10hqrndstateE", !6, i64 0, !6, i64 8, !6, i64 16}
!35 = !{i8 0, i8 2}
!36 = !{}
!37 = !{!10, !6, i64 24}
!38 = !{!12, !12, i64 0}
!39 = !{!10, !6, i64 64}
!40 = !{!10, !6, i64 10160}
!41 = !{!10, !6, i64 10232}
!42 = !{!10, !6, i64 10320}


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