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

@.str.365 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.366 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.367 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.368 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.369 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.370 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.371 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.372 = external hidden unnamed_addr constant [135 x i8], align 1

; 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_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext, ptr noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl19mlpsetsparsedatasetEPNS_10mlptrainerEPNS_12sparsematrixElPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  %9 = alloca double, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i64 %2, ptr %7, align 8, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %14 = load ptr, ptr %5, 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 = icmp sgt i64 %16, 0
  %18 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %17, ptr noundef @.str.365, ptr noundef %18)
  %19 = load i64, ptr %7, align 8, !tbaa !9
  %20 = icmp sge i64 %19, 0
  %21 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %20, ptr noundef @.str.366, ptr noundef %21)
  %22 = load i64, ptr %7, align 8, !tbaa !9
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = load ptr, ptr %8, align 8, !tbaa !5
  %25 = call noundef i64 @_ZN11alglib_impl14sparsegetnrowsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %23, ptr noundef %24)
  %26 = icmp sle i64 %22, %25
  %27 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %26, ptr noundef @.str.367, ptr noundef %27)
  %28 = load i64, ptr %7, align 8, !tbaa !9
  %29 = icmp sgt i64 %28, 0
  br i1 %29, label %30, label %142

30:                                               ; preds = %4
  store i64 0, ptr %10, align 8, !tbaa !9
  store i64 0, ptr %11, align 8, !tbaa !9
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  %32 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %31, i32 0, i32 2
  %33 = load i8, ptr %32, align 8, !tbaa !36, !range !37, !noundef !38
  %34 = trunc i8 %33 to i1
  br i1 %34, label %35, label %78

35:                                               ; preds = %30
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %36, i32 0, i32 1
  %38 = load i64, ptr %37, align 8, !tbaa !39
  %39 = icmp sge i64 %38, 1
  %40 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %39, ptr noundef @.str.368, ptr noundef %40)
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %41, i32 0, i32 0
  %43 = load i64, ptr %42, align 8, !tbaa !11
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %44, i32 0, i32 1
  %46 = load i64, ptr %45, align 8, !tbaa !39
  %47 = add nsw i64 %43, %46
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = load ptr, ptr %8, align 8, !tbaa !5
  %50 = call noundef i64 @_ZN11alglib_impl14sparsegetncolsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %48, ptr noundef %49)
  %51 = icmp sle i64 %47, %50
  %52 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %51, ptr noundef @.str.369, ptr noundef %52)
  br label %53

53:                                               ; preds = %76, %35
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = load ptr, ptr %8, align 8, !tbaa !5
  %56 = call noundef zeroext i1 @_ZN11alglib_impl15sparseenumerateEPNS_12sparsematrixEPlS2_S2_S2_PdPNS_8ae_stateE(ptr noundef %54, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %9, ptr noundef %55)
  br i1 %56, label %57, label %77

57:                                               ; preds = %53
  %58 = load i64, ptr %12, align 8, !tbaa !9
  %59 = load i64, ptr %7, align 8, !tbaa !9
  %60 = icmp slt i64 %58, %59
  br i1 %60, label %61, label %76

61:                                               ; preds = %57
  %62 = load i64, ptr %13, align 8, !tbaa !9
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %63, i32 0, i32 0
  %65 = load i64, ptr %64, align 8, !tbaa !11
  %66 = load ptr, ptr %5, align 8, !tbaa !5
  %67 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %66, i32 0, i32 1
  %68 = load i64, ptr %67, align 8, !tbaa !39
  %69 = add nsw i64 %65, %68
  %70 = icmp slt i64 %62, %69
  br i1 %70, label %71, label %76

71:                                               ; preds = %61
  %72 = load double, ptr %9, align 8, !tbaa !40
  %73 = load ptr, ptr %8, align 8, !tbaa !5
  %74 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %72, ptr noundef %73)
  %75 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %74, ptr noundef @.str.370, ptr noundef %75)
  br label %76

76:                                               ; preds = %71, %61, %57
  br label %53, !llvm.loop !41

77:                                               ; preds = %53
  br label %141

78:                                               ; preds = %30
  %79 = load ptr, ptr %5, align 8, !tbaa !5
  %80 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %79, i32 0, i32 1
  %81 = load i64, ptr %80, align 8, !tbaa !39
  %82 = icmp sge i64 %81, 2
  %83 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %82, ptr noundef @.str.371, ptr noundef %83)
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %84, i32 0, i32 0
  %86 = load i64, ptr %85, align 8, !tbaa !11
  %87 = add nsw i64 %86, 1
  %88 = load ptr, ptr %6, align 8, !tbaa !5
  %89 = load ptr, ptr %8, align 8, !tbaa !5
  %90 = call noundef i64 @_ZN11alglib_impl14sparsegetncolsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %88, ptr noundef %89)
  %91 = icmp sle i64 %87, %90
  %92 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %91, ptr noundef @.str.369, ptr noundef %92)
  br label %93

93:                                               ; preds = %139, %78
  %94 = load ptr, ptr %6, align 8, !tbaa !5
  %95 = load ptr, ptr %8, align 8, !tbaa !5
  %96 = call noundef zeroext i1 @_ZN11alglib_impl15sparseenumerateEPNS_12sparsematrixEPlS2_S2_S2_PdPNS_8ae_stateE(ptr noundef %94, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %9, ptr noundef %95)
  br i1 %96, label %97, label %140

97:                                               ; preds = %93
  %98 = load i64, ptr %12, align 8, !tbaa !9
  %99 = load i64, ptr %7, align 8, !tbaa !9
  %100 = icmp slt i64 %98, %99
  br i1 %100, label %101, label %139

101:                                              ; preds = %97
  %102 = load i64, ptr %13, align 8, !tbaa !9
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %103, i32 0, i32 0
  %105 = load i64, ptr %104, align 8, !tbaa !11
  %106 = icmp sle i64 %102, %105
  br i1 %106, label %107, label %139

107:                                              ; preds = %101
  %108 = load i64, ptr %13, align 8, !tbaa !9
  %109 = load ptr, ptr %5, align 8, !tbaa !5
  %110 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %109, i32 0, i32 0
  %111 = load i64, ptr %110, align 8, !tbaa !11
  %112 = icmp ne i64 %108, %111
  br i1 %112, label %113, label %118

113:                                              ; preds = %107
  %114 = load double, ptr %9, align 8, !tbaa !40
  %115 = load ptr, ptr %8, align 8, !tbaa !5
  %116 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %114, ptr noundef %115)
  %117 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %116, ptr noundef @.str.370, ptr noundef %117)
  br label %138

118:                                              ; preds = %107
  %119 = load double, ptr %9, align 8, !tbaa !40
  %120 = load ptr, ptr %8, align 8, !tbaa !5
  %121 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %119, ptr noundef %120)
  br i1 %121, label %122, label %135

122:                                              ; preds = %118
  %123 = load double, ptr %9, align 8, !tbaa !40
  %124 = load ptr, ptr %8, align 8, !tbaa !5
  %125 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %123, ptr noundef %124)
  %126 = icmp sge i64 %125, 0
  br i1 %126, label %127, label %135

127:                                              ; preds = %122
  %128 = load double, ptr %9, align 8, !tbaa !40
  %129 = load ptr, ptr %8, align 8, !tbaa !5
  %130 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %128, ptr noundef %129)
  %131 = load ptr, ptr %5, align 8, !tbaa !5
  %132 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %131, i32 0, i32 1
  %133 = load i64, ptr %132, align 8, !tbaa !39
  %134 = icmp slt i64 %130, %133
  br label %135

135:                                              ; preds = %127, %122, %118
  %136 = phi i1 [ false, %122 ], [ false, %118 ], [ %134, %127 ]
  %137 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %136, ptr noundef @.str.372, ptr noundef %137)
  br label %138

138:                                              ; preds = %135, %113
  br label %139

139:                                              ; preds = %138, %101, %97
  br label %93, !llvm.loop !43

140:                                              ; preds = %93
  br label %141

141:                                              ; preds = %140, %77
  br label %142

142:                                              ; preds = %141, %4
  %143 = load ptr, ptr %5, align 8, !tbaa !5
  %144 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %143, i32 0, i32 7
  store i64 1, ptr %144, align 8, !tbaa !44
  %145 = load i64, ptr %7, align 8, !tbaa !9
  %146 = load ptr, ptr %5, align 8, !tbaa !5
  %147 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %146, i32 0, i32 8
  store i64 %145, ptr %147, align 8, !tbaa !45
  %148 = load ptr, ptr %6, align 8, !tbaa !5
  %149 = load ptr, ptr %5, align 8, !tbaa !5
  %150 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %149, i32 0, i32 10
  %151 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl15sparsecopytocrsEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef %148, ptr noundef %150, ptr noundef %151)
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  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 noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef, ptr noundef) #1

declare noundef i64 @_ZN11alglib_impl14sparsegetnrowsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef, ptr noundef) #1

declare noundef i64 @_ZN11alglib_impl14sparsegetncolsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef, ptr noundef) #1

declare void @_ZN11alglib_impl15sparsecopytocrsEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef) #1

declare noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef, ptr noundef) #1

declare noundef zeroext i1 @_ZN11alglib_impl15sparseenumerateEPNS_12sparsematrixEPlS2_S2_S2_PdPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #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 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTSN11alglib_impl10mlptrainerE", !10, i64 0, !10, i64 8, !13, i64 16, !10, i64 24, !14, i64 32, !14, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !15, i64 72, !17, i64 152, !19, i64 520, !10, i64 10160, !18, i64 10168, !10, i64 10232, !18, i64 10240, !10, i64 10304, !10, i64 10312, !10, i64 10320}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!"_ZTSN11alglib_impl9ae_matrixE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !13, i64 32, !16, i64 40, !7, i64 72}
!16 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!17 = !{!"_ZTSN11alglib_impl12sparsematrixE", !18, i64 0, !18, i64 64, !18, i64 128, !18, i64 192, !18, i64 256, !10, i64 320, !10, i64 328, !10, i64 336, !10, i64 344, !10, i64 352, !10, i64 360}
!18 = !{!"_ZTSN11alglib_impl9ae_vectorE", !10, i64 0, !10, i64 8, !13, i64 16, !16, i64 24, !7, i64 56}
!19 = !{!"_ZTSN11alglib_impl14smlptrnsessionE", !18, i64 0, !14, i64 64, !13, 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, !10, i64 9600, !10, i64 9608, !35, i64 9616}
!20 = !{!"_ZTSN11alglib_impl20multilayerperceptronE", !10, i64 0, !10, 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, !10, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !16, i64 112}
!23 = !{!"_ZTSN11alglib_impl7ae_lockE", !6, i64 0, !16, i64 8, !13, i64 40}
!24 = !{!"_ZTSN11alglib_impl13minlbfgsstateE", !10, i64 0, !10, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !10, i64 40, !13, i64 48, !14, i64 56, !18, i64 64, !14, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, 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, !10, i64 744, !14, i64 752, !15, i64 760, !18, i64 840, !18, i64 904, !18, i64 968, !15, i64 1032, !10, 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, !13, i64 2336, !13, i64 2337, !13, i64 2338, !13, i64 2339, !14, i64 2344, !27, i64 2352, !10, i64 2616, !10, i64 2624, !10, i64 2632, !29, i64 2640, !10, 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", !10, i64 0, !10, 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", !13, i64 0, !13, i64 1, !10, 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", !10, i64 0, !10, i64 8, !13, i64 16, !18, i64 24, !10, i64 88, !18, i64 96, !18, i64 160, !18, i64 224, !15, i64 288, !18, i64 368, !18, i64 432, !10, i64 496, !13, i64 504, !13, i64 505, !14, i64 512, !14, i64 520, !13, 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, !13, 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", !13, i64 0, !13, i64 1, !10, i64 8, !14, i64 16, !13, i64 24, !13, i64 25, !13, i64 26, !10, i64 32, !14, i64 40, !13, i64 48, !10, i64 56, !10, i64 64, !18, i64 72, !15, i64 136, !15, i64 216}
!32 = !{!"_ZTSN11alglib_impl24optguardnonc1test0reportE", !13, i64 0, !10, i64 8, !18, i64 16, !18, i64 80, !10, i64 144, !18, i64 152, !18, i64 216, !10, i64 280, !10, i64 288, !10, i64 296}
!33 = !{!"_ZTSN11alglib_impl24optguardnonc1test1reportE", !13, i64 0, !10, i64 8, !10, i64 16, !18, i64 24, !18, i64 88, !10, i64 152, !18, i64 160, !18, i64 224, !10, i64 288, !10, i64 296, !10, i64 304}
!34 = !{!"_ZTSN11alglib_impl14minlbfgsreportE", !10, i64 0, !10, i64 8, !10, i64 16}
!35 = !{!"_ZTSN11alglib_impl10hqrndstateE", !10, i64 0, !10, i64 8, !10, i64 16}
!36 = !{!12, !13, i64 16}
!37 = !{i8 0, i8 2}
!38 = !{}
!39 = !{!12, !10, i64 8}
!40 = !{!14, !14, i64 0}
!41 = distinct !{!41, !42}
!42 = !{!"llvm.loop.mustprogress"}
!43 = distinct !{!43, !42}
!44 = !{!12, !10, i64 56}
!45 = !{!12, !10, i64 64}


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

@.str.365 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.366 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.367 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.368 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.369 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.370 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.371 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.372 = external hidden unnamed_addr constant [135 x i8], align 1

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl19mlpsetsparsedatasetEPNS_10mlptrainerEPNS_12sparsematrixElPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) local_unnamed_addr #2 {
  %5 = alloca double, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
  %10 = load i64, ptr %0, align 8, !tbaa !5
  %11 = icmp sgt i64 %10, 0
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %11, ptr noundef nonnull @.str.365, ptr noundef %3)
  %12 = icmp sgt i64 %2, -1
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %12, ptr noundef nonnull @.str.366, ptr noundef %3)
  %13 = tail call noundef i64 @_ZN11alglib_impl14sparsegetnrowsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %1, ptr noundef %3)
  %14 = icmp sge i64 %13, %2
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %14, ptr noundef nonnull @.str.367, ptr noundef %3)
  %15 = icmp sgt i64 %2, 0
  br i1 %15, label %16, label %.loopexit

16:                                               ; preds = %4
  store i64 0, ptr %6, align 8, !tbaa !34
  store i64 0, ptr %7, align 8, !tbaa !34
  %17 = getelementptr inbounds i8, ptr %0, i64 16
  %18 = load i8, ptr %17, align 8, !tbaa !35, !range !36, !noundef !37
  %19 = trunc nuw i8 %18 to i1
  %20 = getelementptr inbounds i8, ptr %0, i64 8
  %21 = load i64, ptr %20, align 8, !tbaa !38
  br i1 %19, label %22, label %43

22:                                               ; preds = %16
  %23 = icmp sgt i64 %21, 0
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %23, ptr noundef nonnull @.str.368, ptr noundef %3)
  %24 = load i64, ptr %0, align 8, !tbaa !5
  %25 = load i64, ptr %20, align 8, !tbaa !38
  %26 = add nsw i64 %25, %24
  %27 = tail call noundef i64 @_ZN11alglib_impl14sparsegetncolsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %1, ptr noundef %3)
  %28 = icmp sle i64 %26, %27
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %28, ptr noundef nonnull @.str.369, ptr noundef %3)
  %29 = call noundef zeroext i1 @_ZN11alglib_impl15sparseenumerateEPNS_12sparsematrixEPlS2_S2_S2_PdPNS_8ae_stateE(ptr noundef %1, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %5, ptr noundef %3)
  br i1 %29, label %.lr.ph51, label %.loopexit

.lr.ph51:                                         ; preds = %22, %41
  %30 = load i64, ptr %8, align 8, !tbaa !34
  %31 = icmp slt i64 %30, %2
  br i1 %31, label %32, label %41

32:                                               ; preds = %.lr.ph51
  %33 = load i64, ptr %9, align 8, !tbaa !34
  %34 = load i64, ptr %0, align 8, !tbaa !5
  %35 = load i64, ptr %20, align 8, !tbaa !38
  %36 = add nsw i64 %35, %34
  %37 = icmp slt i64 %33, %36
  br i1 %37, label %38, label %41

38:                                               ; preds = %32
  %39 = load double, ptr %5, align 8, !tbaa !39
  %40 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %39, ptr noundef %3)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %40, ptr noundef nonnull @.str.370, ptr noundef %3)
  br label %41

41:                                               ; preds = %38, %32, %.lr.ph51
  %42 = call noundef zeroext i1 @_ZN11alglib_impl15sparseenumerateEPNS_12sparsematrixEPlS2_S2_S2_PdPNS_8ae_stateE(ptr noundef %1, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %5, ptr noundef %3)
  br i1 %42, label %.lr.ph51, label %.loopexit, !llvm.loop !40

43:                                               ; preds = %16
  %44 = icmp sgt i64 %21, 1
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %44, ptr noundef nonnull @.str.371, ptr noundef %3)
  %45 = load i64, ptr %0, align 8, !tbaa !5
  %46 = tail call noundef i64 @_ZN11alglib_impl14sparsegetncolsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %1, ptr noundef %3)
  %47 = icmp slt i64 %45, %46
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %47, ptr noundef nonnull @.str.369, ptr noundef %3)
  %48 = call noundef zeroext i1 @_ZN11alglib_impl15sparseenumerateEPNS_12sparsematrixEPlS2_S2_S2_PdPNS_8ae_stateE(ptr noundef %1, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %5, ptr noundef %3)
  br i1 %48, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %43, %70
  %49 = load i64, ptr %8, align 8, !tbaa !34
  %50 = icmp slt i64 %49, %2
  br i1 %50, label %51, label %70

51:                                               ; preds = %.lr.ph
  %52 = load i64, ptr %9, align 8, !tbaa !34
  %53 = load i64, ptr %0, align 8, !tbaa !5
  %.not = icmp sgt i64 %52, %53
  br i1 %.not, label %70, label %54

54:                                               ; preds = %51
  %.not49 = icmp eq i64 %52, %53
  %55 = load double, ptr %5, align 8, !tbaa !39
  %56 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %55, ptr noundef %3)
  br i1 %.not49, label %58, label %57

57:                                               ; preds = %54
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %56, ptr noundef nonnull @.str.370, ptr noundef %3)
  br label %70

58:                                               ; preds = %54
  br i1 %56, label %59, label %68

59:                                               ; preds = %58
  %60 = load double, ptr %5, align 8, !tbaa !39
  %61 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %60, ptr noundef %3)
  %62 = icmp sgt i64 %61, -1
  br i1 %62, label %63, label %68

63:                                               ; preds = %59
  %64 = load double, ptr %5, align 8, !tbaa !39
  %65 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %64, ptr noundef %3)
  %66 = load i64, ptr %20, align 8, !tbaa !38
  %67 = icmp slt i64 %65, %66
  br label %68

68:                                               ; preds = %63, %59, %58
  %69 = phi i1 [ false, %59 ], [ false, %58 ], [ %67, %63 ]
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %69, ptr noundef nonnull @.str.372, ptr noundef %3)
  br label %70

70:                                               ; preds = %57, %68, %51, %.lr.ph
  %71 = call noundef zeroext i1 @_ZN11alglib_impl15sparseenumerateEPNS_12sparsematrixEPlS2_S2_S2_PdPNS_8ae_stateE(ptr noundef %1, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %5, ptr noundef %3)
  br i1 %71, label %.lr.ph, label %.loopexit, !llvm.loop !42

.loopexit:                                        ; preds = %70, %41, %43, %22, %4
  %72 = getelementptr inbounds i8, ptr %0, i64 56
  store i64 1, ptr %72, align 8, !tbaa !43
  %73 = getelementptr inbounds i8, ptr %0, i64 64
  store i64 %2, ptr %73, align 8, !tbaa !44
  %74 = getelementptr inbounds i8, ptr %0, i64 152
  call void @_ZN11alglib_impl15sparsecopytocrsEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef %1, ptr noundef nonnull %74, ptr noundef %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  ret void
}

declare noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #1

declare noundef i64 @_ZN11alglib_impl14sparsegetnrowsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #1

declare noundef i64 @_ZN11alglib_impl14sparsegetncolsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl15sparsecopytocrsEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #1

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

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass