; 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::ae_frame" = type { %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }
%"struct.alglib_impl::mlpreport" = type { double, double, double, double, double, i64, i64, i64 }
%"struct.alglib_impl::modelerrors" = type { double, double, double, double, double }
%"struct.alglib_impl::mlpensemble" = type { i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::multilayerperceptron", %"struct.alglib_impl::ae_vector" }
%"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::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::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::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: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl17_modelerrors_initEPvPNS_8ae_stateEb(ptr noundef, ptr noundef, i1 noundef zeroext) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN11alglib_impl17mlpgetinputscountEPNS_20multilayerperceptronEPNS_8ae_stateE(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN11alglib_impl18mlpgetoutputscountEPNS_20multilayerperceptronEPNS_8ae_stateE(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN11alglib_impl18mlpgetweightscountEPNS_20multilayerperceptronEPNS_8ae_stateE(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN11alglib_impl12mlpissoftmaxEPNS_20multilayerperceptronEPNS_8ae_stateE(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl15_mlpreport_initEPvPNS_8ae_stateEb(ptr noundef, ptr noundef, i1 noundef zeroext) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl10mlptrainesEPNS_20multilayerperceptronEPNS_9ae_matrixElS3_ldlPlPNS_9mlpreportEPNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, double noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl11mlpetrainesEPNS_11mlpensembleEPNS_9ae_matrixEldlPlPNS_9mlpreportEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, i64 noundef %2, double noundef %3, i64 noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #2 {
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca double, align 8
  %13 = alloca i64, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"struct.alglib_impl::ae_frame", align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %23 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca %"struct.alglib_impl::mlpreport", align 8
  %28 = alloca %"struct.alglib_impl::modelerrors", align 8
  %29 = alloca i64, align 8
  %30 = alloca i64, align 8
  %31 = alloca i64, align 8
  %32 = alloca i32, align 4
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store i64 %2, ptr %11, align 8, !tbaa !9
  store double %3, ptr %12, align 8, !tbaa !11
  store i64 %4, ptr %13, align 8, !tbaa !9
  store ptr %5, ptr %14, align 8, !tbaa !5
  store ptr %6, ptr %15, align 8, !tbaa !5
  store ptr %7, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  %33 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %33, ptr noundef %17)
  call void @llvm.memset.p0.i64(ptr align 8 %22, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %23, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %27, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %28, i8 0, i64 40, i1 false)
  %34 = load ptr, ptr %14, align 8, !tbaa !5
  store i64 0, ptr %34, align 8, !tbaa !9
  %35 = load ptr, ptr %15, align 8, !tbaa !5
  call void @_ZN11alglib_impl16_mlpreport_clearEPv(ptr noundef %35)
  %36 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %22, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %36, i1 noundef zeroext true)
  %37 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %23, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %37, i1 noundef zeroext true)
  %38 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl15_mlpreport_initEPvPNS_8ae_stateEb(ptr noundef %27, ptr noundef %38, i1 noundef zeroext true)
  %39 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl17_modelerrors_initEPvPNS_8ae_stateEb(ptr noundef %28, ptr noundef %39, i1 noundef zeroext true)
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  %41 = getelementptr inbounds %"struct.alglib_impl::mlpensemble", ptr %40, i32 0, i32 4
  %42 = load ptr, ptr %16, align 8, !tbaa !5
  %43 = call noundef i64 @_ZN11alglib_impl17mlpgetinputscountEPNS_20multilayerperceptronEPNS_8ae_stateE(ptr noundef %41, ptr noundef %42)
  store i64 %43, ptr %29, align 8, !tbaa !9
  %44 = load ptr, ptr %9, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.alglib_impl::mlpensemble", ptr %44, i32 0, i32 4
  %46 = load ptr, ptr %16, align 8, !tbaa !5
  %47 = call noundef i64 @_ZN11alglib_impl18mlpgetoutputscountEPNS_20multilayerperceptronEPNS_8ae_stateE(ptr noundef %45, ptr noundef %46)
  store i64 %47, ptr %30, align 8, !tbaa !9
  %48 = load ptr, ptr %9, align 8, !tbaa !5
  %49 = getelementptr inbounds %"struct.alglib_impl::mlpensemble", ptr %48, i32 0, i32 4
  %50 = load ptr, ptr %16, align 8, !tbaa !5
  %51 = call noundef i64 @_ZN11alglib_impl18mlpgetweightscountEPNS_20multilayerperceptronEPNS_8ae_stateE(ptr noundef %49, ptr noundef %50)
  store i64 %51, ptr %31, align 8, !tbaa !9
  %52 = load i64, ptr %11, align 8, !tbaa !9
  %53 = icmp slt i64 %52, 2
  br i1 %53, label %60, label %54

54:                                               ; preds = %8
  %55 = load i64, ptr %13, align 8, !tbaa !9
  %56 = icmp slt i64 %55, 1
  br i1 %56, label %60, label %57

57:                                               ; preds = %54
  %58 = load double, ptr %12, align 8, !tbaa !11
  %59 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %58, double noundef 0.000000e+00)
  br i1 %59, label %60, label %63

60:                                               ; preds = %57, %54, %8
  %61 = load ptr, ptr %14, align 8, !tbaa !5
  store i64 -1, ptr %61, align 8, !tbaa !9
  %62 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %62)
  store i32 1, ptr %32, align 4
  br label %356

63:                                               ; preds = %57
  %64 = load ptr, ptr %9, align 8, !tbaa !5
  %65 = getelementptr inbounds %"struct.alglib_impl::mlpensemble", ptr %64, i32 0, i32 4
  %66 = load ptr, ptr %16, align 8, !tbaa !5
  %67 = call noundef zeroext i1 @_ZN11alglib_impl12mlpissoftmaxEPNS_20multilayerperceptronEPNS_8ae_stateE(ptr noundef %65, ptr noundef %66)
  br i1 %67, label %68, label %109

68:                                               ; preds = %63
  store i64 0, ptr %18, align 8, !tbaa !9
  br label %69

69:                                               ; preds = %105, %68
  %70 = load i64, ptr %18, align 8, !tbaa !9
  %71 = load i64, ptr %11, align 8, !tbaa !9
  %72 = sub nsw i64 %71, 1
  %73 = icmp sle i64 %70, %72
  br i1 %73, label %74, label %108

74:                                               ; preds = %69
  %75 = load ptr, ptr %10, align 8, !tbaa !5
  %76 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %75, i32 0, i32 6
  %77 = load ptr, ptr %76, align 8, !tbaa !13
  %78 = load i64, ptr %18, align 8, !tbaa !9
  %79 = getelementptr inbounds ptr, ptr %77, i64 %78
  %80 = load ptr, ptr %79, align 8, !tbaa !5
  %81 = load i64, ptr %29, align 8, !tbaa !9
  %82 = getelementptr inbounds double, ptr %80, i64 %81
  %83 = load double, ptr %82, align 8, !tbaa !11
  %84 = load ptr, ptr %16, align 8, !tbaa !5
  %85 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %83, ptr noundef %84)
  %86 = icmp slt i64 %85, 0
  br i1 %86, label %101, label %87

87:                                               ; preds = %74
  %88 = load ptr, ptr %10, align 8, !tbaa !5
  %89 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %88, i32 0, i32 6
  %90 = load ptr, ptr %89, align 8, !tbaa !13
  %91 = load i64, ptr %18, align 8, !tbaa !9
  %92 = getelementptr inbounds ptr, ptr %90, i64 %91
  %93 = load ptr, ptr %92, align 8, !tbaa !5
  %94 = load i64, ptr %29, align 8, !tbaa !9
  %95 = getelementptr inbounds double, ptr %93, i64 %94
  %96 = load double, ptr %95, align 8, !tbaa !11
  %97 = load ptr, ptr %16, align 8, !tbaa !5
  %98 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %96, ptr noundef %97)
  %99 = load i64, ptr %30, align 8, !tbaa !9
  %100 = icmp sge i64 %98, %99
  br i1 %100, label %101, label %104

101:                                              ; preds = %87, %74
  %102 = load ptr, ptr %14, align 8, !tbaa !5
  store i64 -2, ptr %102, align 8, !tbaa !9
  %103 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %103)
  store i32 1, ptr %32, align 4
  br label %356

104:                                              ; preds = %87
  br label %105

105:                                              ; preds = %104
  %106 = load i64, ptr %18, align 8, !tbaa !9
  %107 = add nsw i64 %106, 1
  store i64 %107, ptr %18, align 8, !tbaa !9
  br label %69, !llvm.loop !14

108:                                              ; preds = %69
  br label %109

109:                                              ; preds = %108, %63
  %110 = load ptr, ptr %14, align 8, !tbaa !5
  store i64 6, ptr %110, align 8, !tbaa !9
  %111 = load ptr, ptr %9, align 8, !tbaa !5
  %112 = getelementptr inbounds %"struct.alglib_impl::mlpensemble", ptr %111, i32 0, i32 4
  %113 = load ptr, ptr %16, align 8, !tbaa !5
  %114 = call noundef zeroext i1 @_ZN11alglib_impl12mlpissoftmaxEPNS_20multilayerperceptronEPNS_8ae_stateE(ptr noundef %112, ptr noundef %113)
  br i1 %114, label %115, label %119

115:                                              ; preds = %109
  %116 = load i64, ptr %29, align 8, !tbaa !9
  %117 = add nsw i64 %116, 1
  store i64 %117, ptr %20, align 8, !tbaa !9
  %118 = load i64, ptr %29, align 8, !tbaa !9
  store i64 %118, ptr %21, align 8, !tbaa !9
  br label %126

119:                                              ; preds = %109
  %120 = load i64, ptr %29, align 8, !tbaa !9
  %121 = load i64, ptr %30, align 8, !tbaa !9
  %122 = add nsw i64 %120, %121
  store i64 %122, ptr %20, align 8, !tbaa !9
  %123 = load i64, ptr %29, align 8, !tbaa !9
  %124 = load i64, ptr %30, align 8, !tbaa !9
  %125 = add nsw i64 %123, %124
  store i64 %125, ptr %21, align 8, !tbaa !9
  br label %126

126:                                              ; preds = %119, %115
  %127 = load i64, ptr %11, align 8, !tbaa !9
  %128 = load i64, ptr %20, align 8, !tbaa !9
  %129 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %22, i64 noundef %127, i64 noundef %128, ptr noundef %129)
  %130 = load i64, ptr %11, align 8, !tbaa !9
  %131 = load i64, ptr %20, align 8, !tbaa !9
  %132 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %23, i64 noundef %130, i64 noundef %131, ptr noundef %132)
  %133 = load ptr, ptr %15, align 8, !tbaa !5
  %134 = getelementptr inbounds %"struct.alglib_impl::mlpreport", ptr %133, i32 0, i32 5
  store i64 0, ptr %134, align 8, !tbaa !16
  %135 = load ptr, ptr %15, align 8, !tbaa !5
  %136 = getelementptr inbounds %"struct.alglib_impl::mlpreport", ptr %135, i32 0, i32 6
  store i64 0, ptr %136, align 8, !tbaa !18
  %137 = load ptr, ptr %15, align 8, !tbaa !5
  %138 = getelementptr inbounds %"struct.alglib_impl::mlpreport", ptr %137, i32 0, i32 7
  store i64 0, ptr %138, align 8, !tbaa !19
  store i64 0, ptr %19, align 8, !tbaa !9
  br label %139

139:                                              ; preds = %317, %126
  %140 = load i64, ptr %19, align 8, !tbaa !9
  %141 = load ptr, ptr %9, align 8, !tbaa !5
  %142 = getelementptr inbounds %"struct.alglib_impl::mlpensemble", ptr %141, i32 0, i32 0
  %143 = load i64, ptr %142, align 8, !tbaa !20
  %144 = sub nsw i64 %143, 1
  %145 = icmp sle i64 %140, %144
  br i1 %145, label %146, label %320

146:                                              ; preds = %139
  br label %147

147:                                              ; preds = %206, %146
  store i64 0, ptr %24, align 8, !tbaa !9
  store i64 0, ptr %25, align 8, !tbaa !9
  store i64 0, ptr %18, align 8, !tbaa !9
  br label %148

148:                                              ; preds = %196, %147
  %149 = load i64, ptr %18, align 8, !tbaa !9
  %150 = load i64, ptr %11, align 8, !tbaa !9
  %151 = sub nsw i64 %150, 1
  %152 = icmp sle i64 %149, %151
  br i1 %152, label %153, label %199

153:                                              ; preds = %148
  %154 = load ptr, ptr %16, align 8, !tbaa !5
  %155 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %154)
  %156 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %155, double noundef 6.600000e-01)
  br i1 %156, label %157, label %176

157:                                              ; preds = %153
  %158 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %22, i32 0, i32 6
  %159 = load ptr, ptr %158, align 8, !tbaa !13
  %160 = load i64, ptr %24, align 8, !tbaa !9
  %161 = getelementptr inbounds ptr, ptr %159, i64 %160
  %162 = load ptr, ptr %161, align 8, !tbaa !5
  %163 = getelementptr inbounds double, ptr %162, i64 0
  %164 = load ptr, ptr %10, align 8, !tbaa !5
  %165 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %164, i32 0, i32 6
  %166 = load ptr, ptr %165, align 8, !tbaa !13
  %167 = load i64, ptr %18, align 8, !tbaa !9
  %168 = getelementptr inbounds ptr, ptr %166, i64 %167
  %169 = load ptr, ptr %168, align 8, !tbaa !5
  %170 = getelementptr inbounds double, ptr %169, i64 0
  %171 = load i64, ptr %20, align 8, !tbaa !9
  %172 = sub nsw i64 %171, 1
  %173 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %172)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %163, i64 noundef 1, ptr noundef %170, i64 noundef 1, i64 noundef %173)
  %174 = load i64, ptr %24, align 8, !tbaa !9
  %175 = add nsw i64 %174, 1
  store i64 %175, ptr %24, align 8, !tbaa !9
  br label %195

176:                                              ; preds = %153
  %177 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %23, i32 0, i32 6
  %178 = load ptr, ptr %177, align 8, !tbaa !13
  %179 = load i64, ptr %25, align 8, !tbaa !9
  %180 = getelementptr inbounds ptr, ptr %178, i64 %179
  %181 = load ptr, ptr %180, align 8, !tbaa !5
  %182 = getelementptr inbounds double, ptr %181, i64 0
  %183 = load ptr, ptr %10, align 8, !tbaa !5
  %184 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %183, i32 0, i32 6
  %185 = load ptr, ptr %184, align 8, !tbaa !13
  %186 = load i64, ptr %18, align 8, !tbaa !9
  %187 = getelementptr inbounds ptr, ptr %185, i64 %186
  %188 = load ptr, ptr %187, align 8, !tbaa !5
  %189 = getelementptr inbounds double, ptr %188, i64 0
  %190 = load i64, ptr %20, align 8, !tbaa !9
  %191 = sub nsw i64 %190, 1
  %192 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %191)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %182, i64 noundef 1, ptr noundef %189, i64 noundef 1, i64 noundef %192)
  %193 = load i64, ptr %25, align 8, !tbaa !9
  %194 = add nsw i64 %193, 1
  store i64 %194, ptr %25, align 8, !tbaa !9
  br label %195

195:                                              ; preds = %176, %157
  br label %196

196:                                              ; preds = %195
  %197 = load i64, ptr %18, align 8, !tbaa !9
  %198 = add nsw i64 %197, 1
  store i64 %198, ptr %18, align 8, !tbaa !9
  br label %148, !llvm.loop !31

199:                                              ; preds = %148
  br label %200

200:                                              ; preds = %199
  %201 = load i64, ptr %24, align 8, !tbaa !9
  %202 = icmp ne i64 %201, 0
  br i1 %202, label %203, label %206

203:                                              ; preds = %200
  %204 = load i64, ptr %25, align 8, !tbaa !9
  %205 = icmp ne i64 %204, 0
  br label %206

206:                                              ; preds = %203, %200
  %207 = phi i1 [ false, %200 ], [ %205, %203 ]
  %208 = xor i1 %207, true
  br i1 %208, label %147, label %209, !llvm.loop !32

209:                                              ; preds = %206
  %210 = load ptr, ptr %9, align 8, !tbaa !5
  %211 = getelementptr inbounds %"struct.alglib_impl::mlpensemble", ptr %210, i32 0, i32 4
  %212 = load i64, ptr %24, align 8, !tbaa !9
  %213 = load i64, ptr %25, align 8, !tbaa !9
  %214 = load double, ptr %12, align 8, !tbaa !11
  %215 = load i64, ptr %13, align 8, !tbaa !9
  %216 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl10mlptrainesEPNS_20multilayerperceptronEPNS_9ae_matrixElS3_ldlPlPNS_9mlpreportEPNS_8ae_stateE(ptr noundef %211, ptr noundef %22, i64 noundef %212, ptr noundef %23, i64 noundef %213, double noundef %214, i64 noundef %215, ptr noundef %26, ptr noundef %27, ptr noundef %216)
  %217 = load i64, ptr %26, align 8, !tbaa !9
  %218 = icmp slt i64 %217, 0
  br i1 %218, label %219, label %223

219:                                              ; preds = %209
  %220 = load i64, ptr %26, align 8, !tbaa !9
  %221 = load ptr, ptr %14, align 8, !tbaa !5
  store i64 %220, ptr %221, align 8, !tbaa !9
  %222 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %222)
  store i32 1, ptr %32, align 4
  br label %356

223:                                              ; preds = %209
  %224 = load ptr, ptr %9, align 8, !tbaa !5
  %225 = getelementptr inbounds %"struct.alglib_impl::mlpensemble", ptr %224, i32 0, i32 1
  %226 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %225, i32 0, i32 4
  %227 = load ptr, ptr %226, align 8, !tbaa !13
  %228 = load i64, ptr %19, align 8, !tbaa !9
  %229 = load i64, ptr %31, align 8, !tbaa !9
  %230 = mul nsw i64 %228, %229
  %231 = getelementptr inbounds double, ptr %227, i64 %230
  %232 = load ptr, ptr %9, align 8, !tbaa !5
  %233 = getelementptr inbounds %"struct.alglib_impl::mlpensemble", ptr %232, i32 0, i32 4
  %234 = getelementptr inbounds %"struct.alglib_impl::multilayerperceptron", ptr %233, i32 0, i32 6
  %235 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %234, i32 0, i32 4
  %236 = load ptr, ptr %235, align 8, !tbaa !13
  %237 = getelementptr inbounds double, ptr %236, i64 0
  %238 = load i64, ptr %19, align 8, !tbaa !9
  %239 = load i64, ptr %31, align 8, !tbaa !9
  %240 = mul nsw i64 %238, %239
  %241 = load i64, ptr %19, align 8, !tbaa !9
  %242 = add nsw i64 %241, 1
  %243 = load i64, ptr %31, align 8, !tbaa !9
  %244 = mul nsw i64 %242, %243
  %245 = sub nsw i64 %244, 1
  %246 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef %240, i64 noundef %245)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %231, i64 noundef 1, ptr noundef %237, i64 noundef 1, i64 noundef %246)
  %247 = load ptr, ptr %9, align 8, !tbaa !5
  %248 = getelementptr inbounds %"struct.alglib_impl::mlpensemble", ptr %247, i32 0, i32 2
  %249 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %248, i32 0, i32 4
  %250 = load ptr, ptr %249, align 8, !tbaa !13
  %251 = load i64, ptr %19, align 8, !tbaa !9
  %252 = load i64, ptr %21, align 8, !tbaa !9
  %253 = mul nsw i64 %251, %252
  %254 = getelementptr inbounds double, ptr %250, i64 %253
  %255 = load ptr, ptr %9, align 8, !tbaa !5
  %256 = getelementptr inbounds %"struct.alglib_impl::mlpensemble", ptr %255, i32 0, i32 4
  %257 = getelementptr inbounds %"struct.alglib_impl::multilayerperceptron", ptr %256, i32 0, i32 7
  %258 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %257, i32 0, i32 4
  %259 = load ptr, ptr %258, align 8, !tbaa !13
  %260 = getelementptr inbounds double, ptr %259, i64 0
  %261 = load i64, ptr %19, align 8, !tbaa !9
  %262 = load i64, ptr %21, align 8, !tbaa !9
  %263 = mul nsw i64 %261, %262
  %264 = load i64, ptr %19, align 8, !tbaa !9
  %265 = add nsw i64 %264, 1
  %266 = load i64, ptr %21, align 8, !tbaa !9
  %267 = mul nsw i64 %265, %266
  %268 = sub nsw i64 %267, 1
  %269 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef %263, i64 noundef %268)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %254, i64 noundef 1, ptr noundef %260, i64 noundef 1, i64 noundef %269)
  %270 = load ptr, ptr %9, align 8, !tbaa !5
  %271 = getelementptr inbounds %"struct.alglib_impl::mlpensemble", ptr %270, i32 0, i32 3
  %272 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %271, i32 0, i32 4
  %273 = load ptr, ptr %272, align 8, !tbaa !13
  %274 = load i64, ptr %19, align 8, !tbaa !9
  %275 = load i64, ptr %21, align 8, !tbaa !9
  %276 = mul nsw i64 %274, %275
  %277 = getelementptr inbounds double, ptr %273, i64 %276
  %278 = load ptr, ptr %9, align 8, !tbaa !5
  %279 = getelementptr inbounds %"struct.alglib_impl::mlpensemble", ptr %278, i32 0, i32 4
  %280 = getelementptr inbounds %"struct.alglib_impl::multilayerperceptron", ptr %279, i32 0, i32 8
  %281 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %280, i32 0, i32 4
  %282 = load ptr, ptr %281, align 8, !tbaa !13
  %283 = getelementptr inbounds double, ptr %282, i64 0
  %284 = load i64, ptr %19, align 8, !tbaa !9
  %285 = load i64, ptr %21, align 8, !tbaa !9
  %286 = mul nsw i64 %284, %285
  %287 = load i64, ptr %19, align 8, !tbaa !9
  %288 = add nsw i64 %287, 1
  %289 = load i64, ptr %21, align 8, !tbaa !9
  %290 = mul nsw i64 %288, %289
  %291 = sub nsw i64 %290, 1
  %292 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef %286, i64 noundef %291)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %277, i64 noundef 1, ptr noundef %283, i64 noundef 1, i64 noundef %292)
  %293 = load ptr, ptr %15, align 8, !tbaa !5
  %294 = getelementptr inbounds %"struct.alglib_impl::mlpreport", ptr %293, i32 0, i32 5
  %295 = load i64, ptr %294, align 8, !tbaa !16
  %296 = getelementptr inbounds %"struct.alglib_impl::mlpreport", ptr %27, i32 0, i32 5
  %297 = load i64, ptr %296, align 8, !tbaa !16
  %298 = add nsw i64 %295, %297
  %299 = load ptr, ptr %15, align 8, !tbaa !5
  %300 = getelementptr inbounds %"struct.alglib_impl::mlpreport", ptr %299, i32 0, i32 5
  store i64 %298, ptr %300, align 8, !tbaa !16
  %301 = load ptr, ptr %15, align 8, !tbaa !5
  %302 = getelementptr inbounds %"struct.alglib_impl::mlpreport", ptr %301, i32 0, i32 6
  %303 = load i64, ptr %302, align 8, !tbaa !18
  %304 = getelementptr inbounds %"struct.alglib_impl::mlpreport", ptr %27, i32 0, i32 6
  %305 = load i64, ptr %304, align 8, !tbaa !18
  %306 = add nsw i64 %303, %305
  %307 = load ptr, ptr %15, align 8, !tbaa !5
  %308 = getelementptr inbounds %"struct.alglib_impl::mlpreport", ptr %307, i32 0, i32 6
  store i64 %306, ptr %308, align 8, !tbaa !18
  %309 = load ptr, ptr %15, align 8, !tbaa !5
  %310 = getelementptr inbounds %"struct.alglib_impl::mlpreport", ptr %309, i32 0, i32 7
  %311 = load i64, ptr %310, align 8, !tbaa !19
  %312 = getelementptr inbounds %"struct.alglib_impl::mlpreport", ptr %27, i32 0, i32 7
  %313 = load i64, ptr %312, align 8, !tbaa !19
  %314 = add nsw i64 %311, %313
  %315 = load ptr, ptr %15, align 8, !tbaa !5
  %316 = getelementptr inbounds %"struct.alglib_impl::mlpreport", ptr %315, i32 0, i32 7
  store i64 %314, ptr %316, align 8, !tbaa !19
  br label %317

317:                                              ; preds = %223
  %318 = load i64, ptr %19, align 8, !tbaa !9
  %319 = add nsw i64 %318, 1
  store i64 %319, ptr %19, align 8, !tbaa !9
  br label %139, !llvm.loop !33

320:                                              ; preds = %139
  %321 = load ptr, ptr %9, align 8, !tbaa !5
  %322 = load ptr, ptr %10, align 8, !tbaa !5
  %323 = load ptr, ptr %9, align 8, !tbaa !5
  %324 = getelementptr inbounds %"struct.alglib_impl::mlpensemble", ptr %323, i32 0, i32 4
  %325 = getelementptr inbounds %"struct.alglib_impl::multilayerperceptron", ptr %324, i32 0, i32 23
  %326 = load i64, ptr %11, align 8, !tbaa !9
  %327 = load ptr, ptr %9, align 8, !tbaa !5
  %328 = getelementptr inbounds %"struct.alglib_impl::mlpensemble", ptr %327, i32 0, i32 4
  %329 = getelementptr inbounds %"struct.alglib_impl::multilayerperceptron", ptr %328, i32 0, i32 24
  %330 = load i64, ptr %11, align 8, !tbaa !9
  %331 = load ptr, ptr %9, align 8, !tbaa !5
  %332 = getelementptr inbounds %"struct.alglib_impl::mlpensemble", ptr %331, i32 0, i32 4
  %333 = getelementptr inbounds %"struct.alglib_impl::multilayerperceptron", ptr %332, i32 0, i32 20
  %334 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl14mlpeallerrorsxEPNS_11mlpensembleEPNS_9ae_matrixEPNS_12sparsematrixEllPNS_9ae_vectorElllPNS_14ae_shared_poolEPNS_11modelerrorsEPNS_8ae_stateE(ptr noundef %321, ptr noundef %322, ptr noundef %325, i64 noundef %326, i64 noundef 0, ptr noundef %329, i64 noundef 0, i64 noundef %330, i64 noundef 0, ptr noundef %333, ptr noundef %28, ptr noundef %334)
  %335 = getelementptr inbounds %"struct.alglib_impl::modelerrors", ptr %28, i32 0, i32 0
  %336 = load double, ptr %335, align 8, !tbaa !34
  %337 = load ptr, ptr %15, align 8, !tbaa !5
  %338 = getelementptr inbounds %"struct.alglib_impl::mlpreport", ptr %337, i32 0, i32 0
  store double %336, ptr %338, align 8, !tbaa !35
  %339 = getelementptr inbounds %"struct.alglib_impl::modelerrors", ptr %28, i32 0, i32 1
  %340 = load double, ptr %339, align 8, !tbaa !36
  %341 = load ptr, ptr %15, align 8, !tbaa !5
  %342 = getelementptr inbounds %"struct.alglib_impl::mlpreport", ptr %341, i32 0, i32 1
  store double %340, ptr %342, align 8, !tbaa !37
  %343 = getelementptr inbounds %"struct.alglib_impl::modelerrors", ptr %28, i32 0, i32 2
  %344 = load double, ptr %343, align 8, !tbaa !38
  %345 = load ptr, ptr %15, align 8, !tbaa !5
  %346 = getelementptr inbounds %"struct.alglib_impl::mlpreport", ptr %345, i32 0, i32 2
  store double %344, ptr %346, align 8, !tbaa !39
  %347 = getelementptr inbounds %"struct.alglib_impl::modelerrors", ptr %28, i32 0, i32 3
  %348 = load double, ptr %347, align 8, !tbaa !40
  %349 = load ptr, ptr %15, align 8, !tbaa !5
  %350 = getelementptr inbounds %"struct.alglib_impl::mlpreport", ptr %349, i32 0, i32 3
  store double %348, ptr %350, align 8, !tbaa !41
  %351 = getelementptr inbounds %"struct.alglib_impl::modelerrors", ptr %28, i32 0, i32 4
  %352 = load double, ptr %351, align 8, !tbaa !42
  %353 = load ptr, ptr %15, align 8, !tbaa !5
  %354 = getelementptr inbounds %"struct.alglib_impl::mlpreport", ptr %353, i32 0, i32 4
  store double %352, ptr %354, align 8, !tbaa !43
  %355 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %355)
  store i32 0, ptr %32, align 4
  br label %356

356:                                              ; preds = %320, %219, %101, %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #5
  %357 = load i32, ptr %32, align 4
  switch i32 %357, label %359 [
    i32 0, label %358
    i32 1, label %358
  ]

358:                                              ; preds = %356, %356
  ret void

359:                                              ; preds = %356
  unreachable
}

declare void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef, ptr noundef) #4

declare void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) #4

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #4

declare void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #4

declare void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef) #4

declare noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef, i64 noundef) #4

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

declare noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef, double noundef) #4

declare noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl14mlpeallerrorsxEPNS_11mlpensembleEPNS_9ae_matrixEPNS_12sparsematrixEllPNS_9ae_vectorElllPNS_14ae_shared_poolEPNS_11modelerrorsEPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl16_mlpreport_clearEPv(ptr noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { mustprogress nounwind 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 #4 = { "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 #5 = { 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, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !10, i64 40}
!17 = !{!"_ZTSN11alglib_impl9mlpreportE", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !10, i64 40, !10, i64 48, !10, i64 56}
!18 = !{!17, !10, i64 48}
!19 = !{!17, !10, i64 56}
!20 = !{!21, !10, i64 0}
!21 = !{!"_ZTSN11alglib_impl11mlpensembleE", !10, i64 0, !22, i64 8, !22, i64 72, !22, i64 136, !25, i64 200, !22, i64 2304}
!22 = !{!"_ZTSN11alglib_impl9ae_vectorE", !10, i64 0, !10, i64 8, !23, i64 16, !24, i64 24, !7, i64 56}
!23 = !{!"bool", !7, i64 0}
!24 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!25 = !{!"_ZTSN11alglib_impl20multilayerperceptronE", !10, i64 0, !10, i64 8, !22, i64 16, !22, i64 80, !22, i64 144, !22, i64 208, !22, i64 272, !22, i64 336, !22, i64 400, !22, i64 464, !22, i64 528, !22, i64 592, !22, i64 656, !22, i64 720, !26, i64 784, !22, i64 864, !22, i64 928, !22, i64 992, !27, i64 1056, !22, i64 1096, !28, i64 1160, !28, i64 1304, !26, i64 1448, !30, i64 1528, !22, i64 1896, !28, i64 1960}
!26 = !{!"_ZTSN11alglib_impl9ae_matrixE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !23, i64 32, !24, i64 40, !7, i64 72}
!27 = !{!"_ZTSN11alglib_impl11modelerrorsE", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32}
!28 = !{!"_ZTSN11alglib_impl14ae_shared_poolE", !29, 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, !24, i64 112}
!29 = !{!"_ZTSN11alglib_impl7ae_lockE", !6, i64 0, !24, i64 8, !23, i64 40}
!30 = !{!"_ZTSN11alglib_impl12sparsematrixE", !22, i64 0, !22, i64 64, !22, i64 128, !22, i64 192, !22, i64 256, !10, i64 320, !10, i64 328, !10, i64 336, !10, i64 344, !10, i64 352, !10, i64 360}
!31 = distinct !{!31, !15}
!32 = distinct !{!32, !15}
!33 = distinct !{!33, !15}
!34 = !{!27, !12, i64 0}
!35 = !{!17, !12, i64 0}
!36 = !{!27, !12, i64 8}
!37 = !{!17, !12, i64 8}
!38 = !{!27, !12, i64 16}
!39 = !{!17, !12, i64 16}
!40 = !{!27, !12, i64 24}
!41 = !{!17, !12, i64 24}
!42 = !{!27, !12, i64 32}
!43 = !{!17, !12, i64 32}


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

%"struct.alglib_impl::ae_frame" = type { %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }
%"struct.alglib_impl::mlpreport" = type { double, double, double, double, double, i64, i64, i64 }
%"struct.alglib_impl::modelerrors" = type { double, double, double, double, double }

; 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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl17_modelerrors_initEPvPNS_8ae_stateEb(ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN11alglib_impl17mlpgetinputscountEPNS_20multilayerperceptronEPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN11alglib_impl18mlpgetoutputscountEPNS_20multilayerperceptronEPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN11alglib_impl18mlpgetweightscountEPNS_20multilayerperceptronEPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN11alglib_impl12mlpissoftmaxEPNS_20multilayerperceptronEPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl15_mlpreport_initEPvPNS_8ae_stateEb(ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl10mlptrainesEPNS_20multilayerperceptronEPNS_9ae_matrixElS3_ldlPlPNS_9mlpreportEPNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, double noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl11mlpetrainesEPNS_11mlpensembleEPNS_9ae_matrixEldlPlPNS_9mlpreportEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, i64 noundef %2, double noundef %3, i64 noundef %4, ptr nocapture noundef writeonly %5, ptr noundef %6, ptr noundef %7) local_unnamed_addr #2 {
  %9 = alloca %"struct.alglib_impl::ae_frame", align 8
  %10 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %11 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %12 = alloca i64, align 8
  %13 = alloca %"struct.alglib_impl::mlpreport", align 8
  %14 = alloca %"struct.alglib_impl::modelerrors", align 16
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %14) #5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %7, ptr noundef nonnull %9)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %10, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %11, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %13, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(40) %14, i8 0, i64 40, i1 false)
  store i64 0, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl16_mlpreport_clearEPv(ptr noundef %6)
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef nonnull %10, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %7, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef nonnull %11, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %7, i1 noundef zeroext true)
  call void @_ZN11alglib_impl15_mlpreport_initEPvPNS_8ae_stateEb(ptr noundef nonnull %13, ptr noundef %7, i1 noundef zeroext true)
  call void @_ZN11alglib_impl17_modelerrors_initEPvPNS_8ae_stateEb(ptr noundef nonnull %14, ptr noundef %7, i1 noundef zeroext true)
  %15 = getelementptr inbounds i8, ptr %0, i64 200
  %16 = call noundef i64 @_ZN11alglib_impl17mlpgetinputscountEPNS_20multilayerperceptronEPNS_8ae_stateE(ptr noundef nonnull %15, ptr noundef %7)
  %17 = call noundef i64 @_ZN11alglib_impl18mlpgetoutputscountEPNS_20multilayerperceptronEPNS_8ae_stateE(ptr noundef nonnull %15, ptr noundef %7)
  %18 = call noundef i64 @_ZN11alglib_impl18mlpgetweightscountEPNS_20multilayerperceptronEPNS_8ae_stateE(ptr noundef nonnull %15, ptr noundef %7)
  %19 = icmp slt i64 %2, 2
  %20 = icmp slt i64 %4, 1
  %or.cond = or i1 %19, %20
  br i1 %or.cond, label %23, label %21

21:                                               ; preds = %8
  %22 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %3, double noundef 0.000000e+00)
  br i1 %22, label %23, label %24

23:                                               ; preds = %21, %8
  store i64 -1, ptr %5, align 8, !tbaa !5
  br label %124

24:                                               ; preds = %21
  %25 = call noundef zeroext i1 @_ZN11alglib_impl12mlpissoftmaxEPNS_20multilayerperceptronEPNS_8ae_stateE(ptr noundef nonnull %15, ptr noundef %7)
  br i1 %25, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %24
  %26 = getelementptr inbounds i8, ptr %1, i64 72
  br label %29

27:                                               ; preds = %37
  %28 = add nuw nsw i64 %.0139, 1
  %exitcond.not = icmp eq i64 %28, %2
  br i1 %exitcond.not, label %.loopexit, label %29, !llvm.loop !9

29:                                               ; preds = %.lr.ph, %27
  %.0139 = phi i64 [ 0, %.lr.ph ], [ %28, %27 ]
  %30 = load ptr, ptr %26, align 8, !tbaa !11
  %31 = getelementptr inbounds ptr, ptr %30, i64 %.0139
  %32 = load ptr, ptr %31, align 8, !tbaa !12
  %33 = getelementptr inbounds double, ptr %32, i64 %16
  %34 = load double, ptr %33, align 8, !tbaa !14
  %35 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %34, ptr noundef %7)
  %36 = icmp slt i64 %35, 0
  br i1 %36, label %44, label %37

37:                                               ; preds = %29
  %38 = load ptr, ptr %26, align 8, !tbaa !11
  %39 = getelementptr inbounds ptr, ptr %38, i64 %.0139
  %40 = load ptr, ptr %39, align 8, !tbaa !12
  %41 = getelementptr inbounds double, ptr %40, i64 %16
  %42 = load double, ptr %41, align 8, !tbaa !14
  %43 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %42, ptr noundef %7)
  %.not = icmp slt i64 %43, %17
  br i1 %.not, label %27, label %44

44:                                               ; preds = %37, %29
  store i64 -2, ptr %5, align 8, !tbaa !5
  br label %124

.loopexit:                                        ; preds = %27, %24
  store i64 6, ptr %5, align 8, !tbaa !5
  %45 = call noundef zeroext i1 @_ZN11alglib_impl12mlpissoftmaxEPNS_20multilayerperceptronEPNS_8ae_stateE(ptr noundef nonnull %15, ptr noundef %7)
  %46 = add nsw i64 %16, 1
  %47 = add nsw i64 %17, %16
  %.0129 = select i1 %45, i64 %16, i64 %47
  %.0124 = select i1 %45, i64 %46, i64 %47
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %10, i64 noundef %2, i64 noundef %.0124, ptr noundef %7)
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %11, i64 noundef %2, i64 noundef %.0124, ptr noundef %7)
  %48 = getelementptr inbounds i8, ptr %6, i64 40
  %49 = getelementptr inbounds i8, ptr %6, i64 56
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %48, i8 0, i64 24, i1 false)
  %50 = load i64, ptr %0, align 8, !tbaa !16
  %.not.not133147 = icmp sgt i64 %50, 0
  br i1 %.not.not133147, label %.preheader.lr.ph, label %._crit_edge

.preheader.lr.ph:                                 ; preds = %.loopexit
  %51 = getelementptr inbounds i8, ptr %11, i64 72
  %52 = getelementptr inbounds i8, ptr %1, i64 72
  %53 = add nsw i64 %.0124, -1
  %54 = getelementptr inbounds i8, ptr %10, i64 72
  %55 = getelementptr inbounds i8, ptr %0, i64 64
  %56 = getelementptr inbounds i8, ptr %0, i64 528
  %57 = getelementptr inbounds i8, ptr %0, i64 128
  %58 = getelementptr inbounds i8, ptr %0, i64 592
  %59 = getelementptr inbounds i8, ptr %0, i64 192
  %60 = getelementptr inbounds i8, ptr %0, i64 656
  %61 = getelementptr inbounds i8, ptr %13, i64 40
  %62 = getelementptr inbounds i8, ptr %13, i64 56
  br label %.preheader

.preheader:                                       ; preds = %.preheader.lr.ph, %87
  %.0123148 = phi i64 [ 0, %.preheader.lr.ph ], [ %92, %87 ]
  br label %.lr.ph144.us

.lr.ph144.us:                                     ; preds = %.lr.ph144.us.backedge, %.preheader
  %.1143.us = phi i64 [ 0, %.preheader ], [ %.1143.us.be, %.lr.ph144.us.backedge ]
  %.0125142.us = phi i64 [ 0, %.preheader ], [ %.0125142.us.be, %.lr.ph144.us.backedge ]
  %.0127141.us = phi i64 [ 0, %.preheader ], [ %.0127141.us.be, %.lr.ph144.us.backedge ]
  %63 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %7)
  %64 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %63, double noundef 6.600000e-01)
  %65 = load ptr, ptr %52, align 8, !tbaa !11
  %66 = getelementptr inbounds ptr, ptr %65, i64 %.1143.us
  %67 = load ptr, ptr %66, align 8, !tbaa !12
  br i1 %64, label %74, label %68

68:                                               ; preds = %.lr.ph144.us
  %69 = load ptr, ptr %51, align 8, !tbaa !11
  %70 = getelementptr inbounds ptr, ptr %69, i64 %.0125142.us
  %71 = load ptr, ptr %70, align 8, !tbaa !12
  %72 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %53)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %71, i64 noundef 1, ptr noundef %67, i64 noundef 1, i64 noundef %72)
  %73 = add nsw i64 %.0125142.us, 1
  br label %80

74:                                               ; preds = %.lr.ph144.us
  %75 = load ptr, ptr %54, align 8, !tbaa !11
  %76 = getelementptr inbounds ptr, ptr %75, i64 %.0127141.us
  %77 = load ptr, ptr %76, align 8, !tbaa !12
  %78 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 0, i64 noundef %53)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %77, i64 noundef 1, ptr noundef %67, i64 noundef 1, i64 noundef %78)
  %79 = add nsw i64 %.0127141.us, 1
  br label %80

80:                                               ; preds = %74, %68
  %.1128.us = phi i64 [ %79, %74 ], [ %.0127141.us, %68 ]
  %.1126.us = phi i64 [ %.0125142.us, %74 ], [ %73, %68 ]
  %81 = add nuw nsw i64 %.1143.us, 1
  %exitcond151.not = icmp eq i64 %81, %2
  br i1 %exitcond151.not, label %._crit_edge.us, label %.lr.ph144.us.backedge

.lr.ph144.us.backedge:                            ; preds = %80, %._crit_edge.us
  %.1143.us.be = phi i64 [ %81, %80 ], [ 0, %._crit_edge.us ]
  %.0125142.us.be = phi i64 [ %.1126.us, %80 ], [ 0, %._crit_edge.us ]
  %.0127141.us.be = phi i64 [ %.1128.us, %80 ], [ 0, %._crit_edge.us ]
  br label %.lr.ph144.us, !llvm.loop !27

._crit_edge.us:                                   ; preds = %80
  %82 = icmp eq i64 %.1128.us, 0
  %83 = icmp eq i64 %.1126.us, 0
  %.not136.us = select i1 %82, i1 true, i1 %83
  br i1 %.not136.us, label %.lr.ph144.us.backedge, label %.split.us

.split.us:                                        ; preds = %._crit_edge.us
  call void @_ZN11alglib_impl10mlptrainesEPNS_20multilayerperceptronEPNS_9ae_matrixElS3_ldlPlPNS_9mlpreportEPNS_8ae_stateE(ptr noundef nonnull %15, ptr noundef nonnull %10, i64 noundef %.1128.us, ptr noundef nonnull %11, i64 noundef %.1126.us, double noundef %3, i64 noundef %4, ptr noundef nonnull %12, ptr noundef nonnull %13, ptr noundef %7)
  %84 = load i64, ptr %12, align 8, !tbaa !5
  %85 = icmp slt i64 %84, 0
  br i1 %85, label %86, label %87

86:                                               ; preds = %.split.us
  store i64 %84, ptr %5, align 8, !tbaa !5
  br label %124

87:                                               ; preds = %.split.us
  %88 = load ptr, ptr %55, align 8, !tbaa !11
  %89 = mul nsw i64 %.0123148, %18
  %90 = getelementptr inbounds double, ptr %88, i64 %89
  %91 = load ptr, ptr %56, align 8, !tbaa !11
  %92 = add nuw nsw i64 %.0123148, 1
  %93 = mul nsw i64 %92, %18
  %94 = add nsw i64 %93, -1
  %95 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef %89, i64 noundef %94)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %90, i64 noundef 1, ptr noundef %91, i64 noundef 1, i64 noundef %95)
  %96 = load ptr, ptr %57, align 8, !tbaa !11
  %97 = mul nsw i64 %.0123148, %.0129
  %98 = getelementptr inbounds double, ptr %96, i64 %97
  %99 = load ptr, ptr %58, align 8, !tbaa !11
  %100 = mul nsw i64 %92, %.0129
  %101 = add nsw i64 %100, -1
  %102 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef %97, i64 noundef %101)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %98, i64 noundef 1, ptr noundef %99, i64 noundef 1, i64 noundef %102)
  %103 = load ptr, ptr %59, align 8, !tbaa !11
  %104 = getelementptr inbounds double, ptr %103, i64 %97
  %105 = load ptr, ptr %60, align 8, !tbaa !11
  %106 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef %97, i64 noundef %101)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %104, i64 noundef 1, ptr noundef %105, i64 noundef 1, i64 noundef %106)
  %107 = load <2 x i64>, ptr %48, align 8, !tbaa !5
  %108 = load <2 x i64>, ptr %61, align 8, !tbaa !5
  %109 = add nsw <2 x i64> %108, %107
  store <2 x i64> %109, ptr %48, align 8, !tbaa !5
  %110 = load i64, ptr %49, align 8, !tbaa !28
  %111 = load i64, ptr %62, align 8, !tbaa !28
  %112 = add nsw i64 %111, %110
  store i64 %112, ptr %49, align 8, !tbaa !28
  %113 = load i64, ptr %0, align 8, !tbaa !16
  %.not.not133 = icmp slt i64 %92, %113
  br i1 %.not.not133, label %.preheader, label %._crit_edge, !llvm.loop !30

._crit_edge:                                      ; preds = %87, %.loopexit
  %114 = getelementptr inbounds i8, ptr %0, i64 1728
  %115 = getelementptr inbounds i8, ptr %0, i64 2096
  %116 = getelementptr inbounds i8, ptr %0, i64 1360
  call void @_ZN11alglib_impl14mlpeallerrorsxEPNS_11mlpensembleEPNS_9ae_matrixEPNS_12sparsematrixEllPNS_9ae_vectorElllPNS_14ae_shared_poolEPNS_11modelerrorsEPNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %114, i64 noundef %2, i64 noundef 0, ptr noundef nonnull %115, i64 noundef 0, i64 noundef %2, i64 noundef 0, ptr noundef nonnull %116, ptr noundef nonnull %14, ptr noundef %7)
  %117 = load <2 x double>, ptr %14, align 16, !tbaa !14
  store <2 x double> %117, ptr %6, align 8, !tbaa !14
  %118 = getelementptr inbounds i8, ptr %14, i64 16
  %119 = getelementptr inbounds i8, ptr %6, i64 16
  %120 = load <2 x double>, ptr %118, align 16, !tbaa !14
  store <2 x double> %120, ptr %119, align 8, !tbaa !14
  %121 = getelementptr inbounds i8, ptr %14, i64 32
  %122 = load double, ptr %121, align 16, !tbaa !31
  %123 = getelementptr inbounds i8, ptr %6, i64 32
  store double %122, ptr %123, align 8, !tbaa !32
  br label %124

124:                                              ; preds = %._crit_edge, %86, %44, %23
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %7)
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #5
  ret void
}

declare void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef, ptr noundef) local_unnamed_addr #4

declare void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #4

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #4

declare void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #4

declare void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #4

declare noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef, i64 noundef) local_unnamed_addr #4

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

declare noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef, double noundef) local_unnamed_addr #4

declare noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl14mlpeallerrorsxEPNS_11mlpensembleEPNS_9ae_matrixEPNS_12sparsematrixEllPNS_9ae_vectorElllPNS_14ae_shared_poolEPNS_11modelerrorsEPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl16_mlpreport_clearEPv(ptr noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { mustprogress nounwind 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 #4 = { "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 #5 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"double", !7, i64 0}
!16 = !{!17, !6, i64 0}
!17 = !{!"_ZTSN11alglib_impl11mlpensembleE", !6, i64 0, !18, i64 8, !18, i64 72, !18, i64 136, !21, i64 200, !18, i64 2304}
!18 = !{!"_ZTSN11alglib_impl9ae_vectorE", !6, i64 0, !6, i64 8, !19, i64 16, !20, i64 24, !7, i64 56}
!19 = !{!"bool", !7, i64 0}
!20 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!21 = !{!"_ZTSN11alglib_impl20multilayerperceptronE", !6, i64 0, !6, 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, !22, i64 784, !18, i64 864, !18, i64 928, !18, i64 992, !23, i64 1056, !18, i64 1096, !24, i64 1160, !24, i64 1304, !22, i64 1448, !26, i64 1528, !18, i64 1896, !24, i64 1960}
!22 = !{!"_ZTSN11alglib_impl9ae_matrixE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !19, i64 32, !20, i64 40, !7, i64 72}
!23 = !{!"_ZTSN11alglib_impl11modelerrorsE", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32}
!24 = !{!"_ZTSN11alglib_impl14ae_shared_poolE", !25, i64 0, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !6, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !20, i64 112}
!25 = !{!"_ZTSN11alglib_impl7ae_lockE", !13, i64 0, !20, i64 8, !19, i64 40}
!26 = !{!"_ZTSN11alglib_impl12sparsematrixE", !18, i64 0, !18, i64 64, !18, i64 128, !18, i64 192, !18, i64 256, !6, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360}
!27 = distinct !{!27, !10}
!28 = !{!29, !6, i64 56}
!29 = !{!"_ZTSN11alglib_impl9mlpreportE", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !6, i64 40, !6, i64 48, !6, i64 56}
!30 = distinct !{!30, !10}
!31 = !{!23, !15, i64 32}
!32 = !{!29, !15, i64 32}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass