; LLVM IR from Dimandragon/non-parametric-dsp :: alglib-cpp/src/optimization.ll (ZN11alglib_impl20_ecqpstate_init_copyEPvPKvPNS_8ae_stateEb)

; 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::ecqpstate" = type { %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::spcholanalysis", %"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::fblsgmresstate", i64, i64, i8, i8, %"struct.alglib_impl::stimer", %"struct.alglib_impl::stimer", %"struct.alglib_impl::stimer", %"struct.alglib_impl::stimer", %"struct.alglib_impl::stimer" }
%"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::spcholanalysis" = type { i64, i64, i64, i8, i64, double, double, double, double, %"struct.alglib_impl::ae_vector", i8, i8, i8, i8, 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_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i8, %"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", i8, i8, %"struct.alglib_impl::spcholadj", %"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_nxpool", %"struct.alglib_impl::ae_nxpool", %"struct.alglib_impl::ae_nxpool", %"struct.alglib_impl::ae_nxpool", %"struct.alglib_impl::ae_nxpool", %"struct.alglib_impl::ae_nxpool", %"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::amdbuffer", %"struct.alglib_impl::priorityamdbuffers", %"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::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::spcholadj" = 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", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::ae_nxpool" = type { i64, i64, i64, i64, %"struct.alglib_impl::ae_dyn_block", %"struct.alglib_impl::ae_lock", %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_lock" = type { ptr, %"struct.alglib_impl::ae_dyn_block", i8 }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::amdbuffer" = type { i64, i8, i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::amdknset", %"struct.alglib_impl::amdknset", %"struct.alglib_impl::amdknset", %"struct.alglib_impl::amdllmatrix", %"struct.alglib_impl::amdvertexset", %"struct.alglib_impl::niset", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::niset", %"struct.alglib_impl::niset", %"struct.alglib_impl::amdknset", %"struct.alglib_impl::niset", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix" }
%"struct.alglib_impl::amdllmatrix" = type { i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64 }
%"struct.alglib_impl::amdvertexset" = type { i64, i8, 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::amdknset" = 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", i64, i64, i64 }
%"struct.alglib_impl::niset" = type { i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64 }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.1 }
%union.anon.1 = type { ptr }
%"struct.alglib_impl::priorityamdbuffers" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::amdbuffer", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix" }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }
%"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::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::stimer" = type { i64, i64, i8 }

; 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

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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" }
attributes #2 = { 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 #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 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !17, i64 17064}
!14 = !{!"_ZTSN11alglib_impl9ecqpstateE", !15, i64 0, !16, i64 368, !19, i64 432, !16, i64 15496, !16, i64 15560, !16, i64 15624, !16, i64 15688, !16, i64 15752, !31, i64 15816, !17, i64 17064, !17, i64 17072, !10, i64 17080, !10, i64 17081, !34, i64 17088, !34, i64 17112, !34, i64 17136, !34, i64 17160, !34, i64 17184}
!15 = !{!"_ZTSN11alglib_impl12sparsematrixE", !16, i64 0, !16, i64 64, !16, i64 128, !16, i64 192, !16, i64 256, !17, i64 320, !17, i64 328, !17, i64 336, !17, i64 344, !17, i64 352, !17, i64 360}
!16 = !{!"_ZTSN11alglib_impl9ae_vectorE", !17, i64 0, !17, i64 8, !10, i64 16, !18, i64 24, !7, i64 56}
!17 = !{!"long", !7, i64 0}
!18 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!19 = !{!"_ZTSN11alglib_impl14spcholanalysisE", !17, i64 0, !17, i64 8, !17, i64 16, !10, i64 24, !17, i64 32, !20, i64 40, !20, i64 48, !20, i64 56, !20, i64 64, !16, i64 72, !10, i64 136, !10, i64 137, !10, i64 138, !10, i64 139, !10, i64 140, !16, i64 144, !17, i64 208, !16, i64 216, !16, i64 280, !16, i64 344, !16, i64 408, !16, i64 472, !16, i64 536, !10, i64 600, !16, i64 608, !16, i64 672, !16, i64 736, !16, i64 800, !16, i64 864, !16, i64 928, !10, i64 992, !10, i64 993, !21, i64 1000, !16, i64 1512, !16, i64 1576, !16, i64 1640, !16, i64 1704, !16, i64 1768, !16, i64 1832, !22, i64 1896, !22, i64 2040, !22, i64 2184, !22, i64 2328, !22, i64 2472, !22, i64 2616, !16, i64 2760, !16, i64 2824, !16, i64 2888, !16, i64 2952, !16, i64 3016, !24, i64 3080, !30, i64 7464, !16, i64 13816, !16, i64 13880, !16, i64 13944, !16, i64 14008, !16, i64 14072, !16, i64 14136, !15, i64 14200, !15, i64 14568, !16, i64 14936, !16, i64 15000}
!20 = !{!"double", !7, i64 0}
!21 = !{!"_ZTSN11alglib_impl9spcholadjE", !16, i64 0, !16, i64 64, !16, i64 128, !16, i64 192, !16, i64 256, !16, i64 320, !16, i64 384, !16, i64 448}
!22 = !{!"_ZTSN11alglib_impl9ae_nxpoolE", !17, i64 0, !17, i64 8, !17, i64 16, !17, i64 24, !18, i64 32, !23, i64 64, !18, i64 112}
!23 = !{!"_ZTSN11alglib_impl7ae_lockE", !6, i64 0, !18, i64 8, !10, i64 40}
!24 = !{!"_ZTSN11alglib_impl9amdbufferE", !17, i64 0, !10, i64 8, !10, i64 9, !16, i64 16, !16, i64 80, !16, i64 144, !25, i64 208, !25, i64 568, !25, i64 928, !26, i64 1288, !27, i64 1496, !28, i64 1968, !16, i64 2120, !16, i64 2184, !16, i64 2248, !28, i64 2312, !28, i64 2464, !28, i64 2616, !28, i64 2768, !28, i64 2920, !28, i64 3072, !16, i64 3224, !17, i64 3288, !28, i64 3296, !28, i64 3448, !25, i64 3600, !28, i64 3960, !16, i64 4112, !16, i64 4176, !16, i64 4240, !29, i64 4304}
!25 = !{!"_ZTSN11alglib_impl8amdknsetE", !17, i64 0, !17, i64 8, !16, i64 16, !16, i64 80, !16, i64 144, !16, i64 208, !16, i64 272, !17, i64 336, !17, i64 344, !17, i64 352}
!26 = !{!"_ZTSN11alglib_impl11amdllmatrixE", !17, i64 0, !16, i64 8, !16, i64 72, !16, i64 136, !17, i64 200}
!27 = !{!"_ZTSN11alglib_impl12amdvertexsetE", !17, i64 0, !10, i64 8, !17, i64 16, !16, i64 24, !16, i64 88, !16, i64 152, !16, i64 216, !16, i64 280, !16, i64 344, !16, i64 408}
!28 = !{!"_ZTSN11alglib_impl5nisetE", !17, i64 0, !17, i64 8, !16, i64 16, !16, i64 80, !17, i64 144}
!29 = !{!"_ZTSN11alglib_impl9ae_matrixE", !17, i64 0, !17, i64 8, !17, i64 16, !17, i64 24, !10, i64 32, !18, i64 40, !7, i64 72}
!30 = !{!"_ZTSN11alglib_impl18priorityamdbuffersE", !16, i64 0, !16, i64 64, !24, i64 128, !15, i64 4512, !15, i64 4880, !15, i64 5248, !15, i64 5616, !15, i64 5984}
!31 = !{!"_ZTSN11alglib_impl14fblsgmresstateE", !16, i64 0, !16, i64 64, !16, i64 128, !16, i64 192, !29, i64 256, !29, i64 336, !29, i64 416, !29, i64 496, !29, i64 576, !16, i64 656, !16, i64 720, !16, i64 784, !16, i64 848, !17, i64 912, !17, i64 920, !20, i64 928, !20, i64 936, !20, i64 944, !20, i64 952, !17, i64 960, !17, i64 968, !20, i64 976, !32, i64 984}
!32 = !{!"_ZTSN11alglib_impl10rcommstateE", !33, i64 0, !16, i64 8, !16, i64 72, !16, i64 136, !16, i64 200}
!33 = !{!"int", !7, i64 0}
!34 = !{!"_ZTSN11alglib_impl6stimerE", !17, i64 0, !17, i64 8, !10, i64 16}
!35 = !{!14, !17, i64 17072}
!36 = !{!14, !10, i64 17080}
!37 = !{!14, !10, i64 17081}


; 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"

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

declare void @_ZN11alglib_impl23_sparsematrix_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #0

declare void @_ZN11alglib_impl25_spcholanalysis_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #0

declare void @_ZN11alglib_impl17_stimer_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl20_ecqpstate_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef %0, ptr noundef %1, ptr noundef %2, i1 noundef zeroext %3) local_unnamed_addr #1 {
  tail call void @_ZN11alglib_impl23_sparsematrix_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef %0, ptr noundef %1, ptr noundef %2, i1 noundef zeroext %3)
  %5 = getelementptr inbounds i8, ptr %0, i64 368
  %6 = getelementptr inbounds i8, ptr %1, i64 368
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef %2, i1 noundef zeroext %3)
  %7 = getelementptr inbounds i8, ptr %0, i64 432
  %8 = getelementptr inbounds i8, ptr %1, i64 432
  tail call void @_ZN11alglib_impl25_spcholanalysis_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef %2, i1 noundef zeroext %3)
  %9 = getelementptr inbounds i8, ptr %0, i64 15496
  %10 = getelementptr inbounds i8, ptr %1, i64 15496
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef %2, i1 noundef zeroext %3)
  %11 = getelementptr inbounds i8, ptr %0, i64 15560
  %12 = getelementptr inbounds i8, ptr %1, i64 15560
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef %2, i1 noundef zeroext %3)
  %13 = getelementptr inbounds i8, ptr %0, i64 15624
  %14 = getelementptr inbounds i8, ptr %1, i64 15624
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %13, ptr noundef nonnull %14, ptr noundef %2, i1 noundef zeroext %3)
  %15 = getelementptr inbounds i8, ptr %0, i64 15688
  %16 = getelementptr inbounds i8, ptr %1, i64 15688
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %15, ptr noundef nonnull %16, ptr noundef %2, i1 noundef zeroext %3)
  %17 = getelementptr inbounds i8, ptr %0, i64 15752
  %18 = getelementptr inbounds i8, ptr %1, i64 15752
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %17, ptr noundef nonnull %18, ptr noundef %2, i1 noundef zeroext %3)
  %19 = getelementptr inbounds i8, ptr %0, i64 15816
  %20 = getelementptr inbounds i8, ptr %1, i64 15816
  tail call void @_ZN11alglib_impl25_fblsgmresstate_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef nonnull %19, ptr noundef nonnull %20, ptr noundef %2, i1 noundef zeroext %3)
  %21 = getelementptr inbounds i8, ptr %1, i64 17064
  %22 = getelementptr inbounds i8, ptr %0, i64 17064
  %23 = load <2 x i64>, ptr %21, align 8, !tbaa !5
  store <2 x i64> %23, ptr %22, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %1, i64 17080
  %25 = load i8, ptr %24, align 8, !tbaa !9, !range !32, !noundef !33
  %26 = getelementptr inbounds i8, ptr %0, i64 17080
  store i8 %25, ptr %26, align 8, !tbaa !9
  %27 = getelementptr inbounds i8, ptr %1, i64 17081
  %28 = load i8, ptr %27, align 1, !tbaa !34, !range !32, !noundef !33
  %29 = getelementptr inbounds i8, ptr %0, i64 17081
  store i8 %28, ptr %29, align 1, !tbaa !34
  %30 = getelementptr inbounds i8, ptr %0, i64 17088
  %31 = getelementptr inbounds i8, ptr %1, i64 17088
  tail call void @_ZN11alglib_impl17_stimer_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef nonnull %30, ptr noundef nonnull %31, ptr noundef %2, i1 noundef zeroext %3)
  %32 = getelementptr inbounds i8, ptr %0, i64 17112
  %33 = getelementptr inbounds i8, ptr %1, i64 17112
  tail call void @_ZN11alglib_impl17_stimer_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef nonnull %32, ptr noundef nonnull %33, ptr noundef %2, i1 noundef zeroext %3)
  %34 = getelementptr inbounds i8, ptr %0, i64 17136
  %35 = getelementptr inbounds i8, ptr %1, i64 17136
  tail call void @_ZN11alglib_impl17_stimer_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef nonnull %34, ptr noundef nonnull %35, ptr noundef %2, i1 noundef zeroext %3)
  %36 = getelementptr inbounds i8, ptr %0, i64 17160
  %37 = getelementptr inbounds i8, ptr %1, i64 17160
  tail call void @_ZN11alglib_impl17_stimer_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef nonnull %36, ptr noundef nonnull %37, ptr noundef %2, i1 noundef zeroext %3)
  %38 = getelementptr inbounds i8, ptr %0, i64 17184
  %39 = getelementptr inbounds i8, ptr %1, i64 17184
  tail call void @_ZN11alglib_impl17_stimer_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef nonnull %38, ptr noundef nonnull %39, ptr noundef %2, i1 noundef zeroext %3)
  ret void
}

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

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

!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, !13, i64 17080}
!10 = !{!"_ZTSN11alglib_impl9ecqpstateE", !11, i64 0, !12, i64 368, !16, i64 432, !12, i64 15496, !12, i64 15560, !12, i64 15624, !12, i64 15688, !12, i64 15752, !28, i64 15816, !6, i64 17064, !6, i64 17072, !13, i64 17080, !13, i64 17081, !31, i64 17088, !31, i64 17112, !31, i64 17136, !31, i64 17160, !31, i64 17184}
!11 = !{!"_ZTSN11alglib_impl12sparsematrixE", !12, i64 0, !12, i64 64, !12, i64 128, !12, i64 192, !12, i64 256, !6, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360}
!12 = !{!"_ZTSN11alglib_impl9ae_vectorE", !6, i64 0, !6, i64 8, !13, i64 16, !14, i64 24, !7, i64 56}
!13 = !{!"bool", !7, i64 0}
!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_impl14spcholanalysisE", !6, i64 0, !6, i64 8, !6, i64 16, !13, i64 24, !6, i64 32, !17, i64 40, !17, i64 48, !17, i64 56, !17, i64 64, !12, i64 72, !13, i64 136, !13, i64 137, !13, i64 138, !13, i64 139, !13, i64 140, !12, i64 144, !6, i64 208, !12, i64 216, !12, i64 280, !12, i64 344, !12, i64 408, !12, i64 472, !12, i64 536, !13, i64 600, !12, i64 608, !12, i64 672, !12, i64 736, !12, i64 800, !12, i64 864, !12, i64 928, !13, i64 992, !13, i64 993, !18, i64 1000, !12, i64 1512, !12, i64 1576, !12, i64 1640, !12, i64 1704, !12, i64 1768, !12, i64 1832, !19, i64 1896, !19, i64 2040, !19, i64 2184, !19, i64 2328, !19, i64 2472, !19, i64 2616, !12, i64 2760, !12, i64 2824, !12, i64 2888, !12, i64 2952, !12, i64 3016, !21, i64 3080, !27, i64 7464, !12, i64 13816, !12, i64 13880, !12, i64 13944, !12, i64 14008, !12, i64 14072, !12, i64 14136, !11, i64 14200, !11, i64 14568, !12, i64 14936, !12, i64 15000}
!17 = !{!"double", !7, i64 0}
!18 = !{!"_ZTSN11alglib_impl9spcholadjE", !12, i64 0, !12, i64 64, !12, i64 128, !12, i64 192, !12, i64 256, !12, i64 320, !12, i64 384, !12, i64 448}
!19 = !{!"_ZTSN11alglib_impl9ae_nxpoolE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !14, i64 32, !20, i64 64, !14, i64 112}
!20 = !{!"_ZTSN11alglib_impl7ae_lockE", !15, i64 0, !14, i64 8, !13, i64 40}
!21 = !{!"_ZTSN11alglib_impl9amdbufferE", !6, i64 0, !13, i64 8, !13, i64 9, !12, i64 16, !12, i64 80, !12, i64 144, !22, i64 208, !22, i64 568, !22, i64 928, !23, i64 1288, !24, i64 1496, !25, i64 1968, !12, i64 2120, !12, i64 2184, !12, i64 2248, !25, i64 2312, !25, i64 2464, !25, i64 2616, !25, i64 2768, !25, i64 2920, !25, i64 3072, !12, i64 3224, !6, i64 3288, !25, i64 3296, !25, i64 3448, !22, i64 3600, !25, i64 3960, !12, i64 4112, !12, i64 4176, !12, i64 4240, !26, i64 4304}
!22 = !{!"_ZTSN11alglib_impl8amdknsetE", !6, i64 0, !6, i64 8, !12, i64 16, !12, i64 80, !12, i64 144, !12, i64 208, !12, i64 272, !6, i64 336, !6, i64 344, !6, i64 352}
!23 = !{!"_ZTSN11alglib_impl11amdllmatrixE", !6, i64 0, !12, i64 8, !12, i64 72, !12, i64 136, !6, i64 200}
!24 = !{!"_ZTSN11alglib_impl12amdvertexsetE", !6, i64 0, !13, i64 8, !6, i64 16, !12, i64 24, !12, i64 88, !12, i64 152, !12, i64 216, !12, i64 280, !12, i64 344, !12, i64 408}
!25 = !{!"_ZTSN11alglib_impl5nisetE", !6, i64 0, !6, i64 8, !12, i64 16, !12, i64 80, !6, i64 144}
!26 = !{!"_ZTSN11alglib_impl9ae_matrixE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !13, i64 32, !14, i64 40, !7, i64 72}
!27 = !{!"_ZTSN11alglib_impl18priorityamdbuffersE", !12, i64 0, !12, i64 64, !21, i64 128, !11, i64 4512, !11, i64 4880, !11, i64 5248, !11, i64 5616, !11, i64 5984}
!28 = !{!"_ZTSN11alglib_impl14fblsgmresstateE", !12, i64 0, !12, i64 64, !12, i64 128, !12, i64 192, !26, i64 256, !26, i64 336, !26, i64 416, !26, i64 496, !26, i64 576, !12, i64 656, !12, i64 720, !12, i64 784, !12, i64 848, !6, i64 912, !6, i64 920, !17, i64 928, !17, i64 936, !17, i64 944, !17, i64 952, !6, i64 960, !6, i64 968, !17, i64 976, !29, i64 984}
!29 = !{!"_ZTSN11alglib_impl10rcommstateE", !30, i64 0, !12, i64 8, !12, i64 72, !12, i64 136, !12, i64 200}
!30 = !{!"int", !7, i64 0}
!31 = !{!"_ZTSN11alglib_impl6stimerE", !6, i64 0, !6, i64 8, !13, i64 16}
!32 = !{i8 0, i8 2}
!33 = !{}
!34 = !{!10, !13, i64 17081}


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