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

; 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::xbfgshessian" = type { i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, double, double, double, double, double, double, double, i64, double, double, %"struct.alglib_impl::ae_matrix", i64, double, double, double, i64, double, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", i8, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", i8, %"struct.alglib_impl::ae_vector", i8, i64, %"struct.alglib_impl::ae_matrix", %"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", i8, %"struct.alglib_impl::ae_vector", double, double, i64, %"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_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.1 }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%union.anon.1 = type { ptr }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }

@.str.303 = external hidden unnamed_addr constant [42 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: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

declare void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef, ptr noundef, ptr noundef) #1

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

declare void @_ZN11alglib_impl5rgemvElldPKNS_9ae_matrixElPKNS_9ae_vectorEdPS3_PNS_8ae_stateE(i64 noundef, i64 noundef, double noundef, ptr noundef, i64 noundef, ptr noundef, double noundef, ptr noundef, ptr noundef) #1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl9hessianmvEPNS_12xbfgshessianEPKNS_9ae_vectorEPS2_PNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL29optserv_recomputelowrankmodelEPNS_12xbfgshessianEPNS_8ae_stateE(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN11alglib_impl10hessianvmvEPNS_12xbfgshessianEPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2) #3 {
  %4 = alloca double, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca double, align 8
  %11 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %12 = load ptr, ptr %5, align 8, !tbaa !5
  %13 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %12, i32 0, i32 0
  %14 = load i64, ptr %13, align 8, !tbaa !9
  %15 = icmp eq i64 %14, 0
  br i1 %15, label %26, label %16

16:                                               ; preds = %3
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  %18 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %17, i32 0, i32 0
  %19 = load i64, ptr %18, align 8, !tbaa !9
  %20 = icmp eq i64 %19, 3
  br i1 %20, label %26, label %21

21:                                               ; preds = %16
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %22, i32 0, i32 0
  %24 = load i64, ptr %23, align 8, !tbaa !9
  %25 = icmp eq i64 %24, 4
  br label %26

26:                                               ; preds = %21, %16, %3
  %27 = phi i1 [ true, %16 ], [ true, %3 ], [ %25, %21 ]
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %27, ptr noundef @.str.303, ptr noundef %28)
  store double 0.000000e+00, ptr %10, align 8, !tbaa !17
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %29, i32 0, i32 3
  %31 = load i64, ptr %30, align 8, !tbaa !18
  store i64 %31, ptr %8, align 8, !tbaa !19
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %32, i32 0, i32 0
  %34 = load i64, ptr %33, align 8, !tbaa !9
  %35 = icmp eq i64 %34, 0
  br i1 %35, label %36, label %49

36:                                               ; preds = %26
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %39, i32 0, i32 60
  %41 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN11alglib_impl9hessianmvEPNS_12xbfgshessianEPKNS_9ae_vectorEPS2_PNS_8ae_stateE(ptr noundef %37, ptr noundef %38, ptr noundef %40, ptr noundef %41)
  %42 = load i64, ptr %8, align 8, !tbaa !19
  %43 = load ptr, ptr %6, align 8, !tbaa !5
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %44, i32 0, i32 60
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = call noundef double @_ZN11alglib_impl5rdotvElPKNS_9ae_vectorES2_PNS_8ae_stateE(i64 noundef %42, ptr noundef %43, ptr noundef %45, ptr noundef %46)
  store double %47, ptr %10, align 8, !tbaa !17
  %48 = load double, ptr %10, align 8, !tbaa !17
  store double %48, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %217

49:                                               ; preds = %26
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %50, i32 0, i32 0
  %52 = load i64, ptr %51, align 8, !tbaa !9
  %53 = icmp eq i64 %52, 3
  br i1 %53, label %54, label %116

54:                                               ; preds = %49
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN11alglib_implL29optserv_recomputelowrankmodelEPNS_12xbfgshessianEPNS_8ae_stateE(ptr noundef %55, ptr noundef %56)
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  %58 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %57, i32 0, i32 21
  %59 = load double, ptr %58, align 8, !tbaa !20
  %60 = load i64, ptr %8, align 8, !tbaa !19
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = call noundef double @_ZN11alglib_impl6rdotv2ElPKNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %60, ptr noundef %61, ptr noundef %62)
  %64 = fmul double %59, %63
  store double %64, ptr %10, align 8, !tbaa !17
  %65 = load ptr, ptr %5, align 8, !tbaa !5
  %66 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %65, i32 0, i32 27
  %67 = load i64, ptr %66, align 8, !tbaa !21
  %68 = icmp sgt i64 %67, 0
  br i1 %68, label %69, label %114

69:                                               ; preds = %54
  %70 = load ptr, ptr %5, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %70, i32 0, i32 27
  %72 = load i64, ptr %71, align 8, !tbaa !21
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  %74 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %73, i32 0, i32 60
  %75 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %72, ptr noundef %74, ptr noundef %75)
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  %77 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %76, i32 0, i32 27
  %78 = load i64, ptr %77, align 8, !tbaa !21
  %79 = load i64, ptr %8, align 8, !tbaa !19
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  %81 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %80, i32 0, i32 28
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %83, i32 0, i32 60
  %85 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN11alglib_impl5rgemvElldPKNS_9ae_matrixElPKNS_9ae_vectorEdPS3_PNS_8ae_stateE(i64 noundef %78, i64 noundef %79, double noundef 1.000000e+00, ptr noundef %81, i64 noundef 0, ptr noundef %82, double noundef 0.000000e+00, ptr noundef %84, ptr noundef %85)
  %86 = load double, ptr %10, align 8, !tbaa !17
  %87 = load ptr, ptr %5, align 8, !tbaa !5
  %88 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %87, i32 0, i32 27
  %89 = load i64, ptr %88, align 8, !tbaa !21
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %90, i32 0, i32 60
  %92 = load ptr, ptr %7, align 8, !tbaa !5
  %93 = call noundef double @_ZN11alglib_impl6rdotv2ElPKNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %89, ptr noundef %91, ptr noundef %92)
  %94 = fadd double %86, %93
  store double %94, ptr %10, align 8, !tbaa !17
  %95 = load ptr, ptr %5, align 8, !tbaa !5
  %96 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %95, i32 0, i32 27
  %97 = load i64, ptr %96, align 8, !tbaa !21
  %98 = load i64, ptr %8, align 8, !tbaa !19
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %99, i32 0, i32 29
  %101 = load ptr, ptr %6, align 8, !tbaa !5
  %102 = load ptr, ptr %5, align 8, !tbaa !5
  %103 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %102, i32 0, i32 60
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN11alglib_impl5rgemvElldPKNS_9ae_matrixElPKNS_9ae_vectorEdPS3_PNS_8ae_stateE(i64 noundef %97, i64 noundef %98, double noundef 1.000000e+00, ptr noundef %100, i64 noundef 0, ptr noundef %101, double noundef 0.000000e+00, ptr noundef %103, ptr noundef %104)
  %105 = load double, ptr %10, align 8, !tbaa !17
  %106 = load ptr, ptr %5, align 8, !tbaa !5
  %107 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %106, i32 0, i32 27
  %108 = load i64, ptr %107, align 8, !tbaa !21
  %109 = load ptr, ptr %5, align 8, !tbaa !5
  %110 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %109, i32 0, i32 60
  %111 = load ptr, ptr %7, align 8, !tbaa !5
  %112 = call noundef double @_ZN11alglib_impl6rdotv2ElPKNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %108, ptr noundef %110, ptr noundef %111)
  %113 = fsub double %105, %112
  store double %113, ptr %10, align 8, !tbaa !17
  br label %114

114:                                              ; preds = %69, %54
  %115 = load double, ptr %10, align 8, !tbaa !17
  store double %115, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %217

116:                                              ; preds = %49
  %117 = load ptr, ptr %5, align 8, !tbaa !5
  %118 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %117, i32 0, i32 0
  %119 = load i64, ptr %118, align 8, !tbaa !9
  %120 = icmp eq i64 %119, 4
  br i1 %120, label %121, label %215

121:                                              ; preds = %116
  %122 = load ptr, ptr %5, align 8, !tbaa !5
  %123 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN11alglib_implL29optserv_recomputelowrankmodelEPNS_12xbfgshessianEPNS_8ae_stateE(ptr noundef %122, ptr noundef %123)
  store double 0.000000e+00, ptr %10, align 8, !tbaa !17
  store i64 0, ptr %9, align 8, !tbaa !19
  br label %124

124:                                              ; preds = %152, %121
  %125 = load i64, ptr %9, align 8, !tbaa !19
  %126 = load i64, ptr %8, align 8, !tbaa !19
  %127 = sub nsw i64 %126, 1
  %128 = icmp sle i64 %125, %127
  br i1 %128, label %129, label %155

129:                                              ; preds = %124
  %130 = load double, ptr %10, align 8, !tbaa !17
  %131 = load ptr, ptr %5, align 8, !tbaa !5
  %132 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %131, i32 0, i32 35
  %133 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %132, i32 0, i32 4
  %134 = load ptr, ptr %133, align 8, !tbaa !22
  %135 = load i64, ptr %9, align 8, !tbaa !19
  %136 = getelementptr inbounds double, ptr %134, i64 %135
  %137 = load double, ptr %136, align 8, !tbaa !17
  %138 = load ptr, ptr %6, align 8, !tbaa !5
  %139 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %138, i32 0, i32 4
  %140 = load ptr, ptr %139, align 8, !tbaa !22
  %141 = load i64, ptr %9, align 8, !tbaa !19
  %142 = getelementptr inbounds double, ptr %140, i64 %141
  %143 = load double, ptr %142, align 8, !tbaa !17
  %144 = load ptr, ptr %6, align 8, !tbaa !5
  %145 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %144, i32 0, i32 4
  %146 = load ptr, ptr %145, align 8, !tbaa !22
  %147 = load i64, ptr %9, align 8, !tbaa !19
  %148 = getelementptr inbounds double, ptr %146, i64 %147
  %149 = load double, ptr %148, align 8, !tbaa !17
  %150 = fmul double %143, %149
  %151 = call double @llvm.fmuladd.f64(double %137, double %150, double %130)
  store double %151, ptr %10, align 8, !tbaa !17
  br label %152

152:                                              ; preds = %129
  %153 = load i64, ptr %9, align 8, !tbaa !19
  %154 = add nsw i64 %153, 1
  store i64 %154, ptr %9, align 8, !tbaa !19
  br label %124, !llvm.loop !23

155:                                              ; preds = %124
  %156 = load ptr, ptr %5, align 8, !tbaa !5
  %157 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %156, i32 0, i32 33
  %158 = load i64, ptr %157, align 8, !tbaa !25
  %159 = icmp sgt i64 %158, 0
  br i1 %159, label %160, label %213

160:                                              ; preds = %155
  %161 = load ptr, ptr %5, align 8, !tbaa !5
  %162 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %161, i32 0, i32 33
  %163 = load i64, ptr %162, align 8, !tbaa !25
  %164 = load ptr, ptr %5, align 8, !tbaa !5
  %165 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %164, i32 0, i32 60
  %166 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %163, ptr noundef %165, ptr noundef %166)
  %167 = load ptr, ptr %5, align 8, !tbaa !5
  %168 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %167, i32 0, i32 33
  %169 = load i64, ptr %168, align 8, !tbaa !25
  %170 = load i64, ptr %8, align 8, !tbaa !19
  %171 = load ptr, ptr %5, align 8, !tbaa !5
  %172 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %171, i32 0, i32 34
  %173 = load ptr, ptr %6, align 8, !tbaa !5
  %174 = load ptr, ptr %5, align 8, !tbaa !5
  %175 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %174, i32 0, i32 60
  %176 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN11alglib_impl5rgemvElldPKNS_9ae_matrixElPKNS_9ae_vectorEdPS3_PNS_8ae_stateE(i64 noundef %169, i64 noundef %170, double noundef 1.000000e+00, ptr noundef %172, i64 noundef 0, ptr noundef %173, double noundef 0.000000e+00, ptr noundef %175, ptr noundef %176)
  store i64 0, ptr %9, align 8, !tbaa !19
  br label %177

177:                                              ; preds = %209, %160
  %178 = load i64, ptr %9, align 8, !tbaa !19
  %179 = load ptr, ptr %5, align 8, !tbaa !5
  %180 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %179, i32 0, i32 33
  %181 = load i64, ptr %180, align 8, !tbaa !25
  %182 = sub nsw i64 %181, 1
  %183 = icmp sle i64 %178, %182
  br i1 %183, label %184, label %212

184:                                              ; preds = %177
  %185 = load double, ptr %10, align 8, !tbaa !17
  %186 = load ptr, ptr %5, align 8, !tbaa !5
  %187 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %186, i32 0, i32 36
  %188 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %187, i32 0, i32 4
  %189 = load ptr, ptr %188, align 8, !tbaa !22
  %190 = load i64, ptr %9, align 8, !tbaa !19
  %191 = getelementptr inbounds double, ptr %189, i64 %190
  %192 = load double, ptr %191, align 8, !tbaa !17
  %193 = load ptr, ptr %5, align 8, !tbaa !5
  %194 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %193, i32 0, i32 60
  %195 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %194, i32 0, i32 4
  %196 = load ptr, ptr %195, align 8, !tbaa !22
  %197 = load i64, ptr %9, align 8, !tbaa !19
  %198 = getelementptr inbounds double, ptr %196, i64 %197
  %199 = load double, ptr %198, align 8, !tbaa !17
  %200 = load ptr, ptr %5, align 8, !tbaa !5
  %201 = getelementptr inbounds %"struct.alglib_impl::xbfgshessian", ptr %200, i32 0, i32 60
  %202 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %201, i32 0, i32 4
  %203 = load ptr, ptr %202, align 8, !tbaa !22
  %204 = load i64, ptr %9, align 8, !tbaa !19
  %205 = getelementptr inbounds double, ptr %203, i64 %204
  %206 = load double, ptr %205, align 8, !tbaa !17
  %207 = fmul double %199, %206
  %208 = call double @llvm.fmuladd.f64(double %192, double %207, double %185)
  store double %208, ptr %10, align 8, !tbaa !17
  br label %209

209:                                              ; preds = %184
  %210 = load i64, ptr %9, align 8, !tbaa !19
  %211 = add nsw i64 %210, 1
  store i64 %211, ptr %9, align 8, !tbaa !19
  br label %177, !llvm.loop !26

212:                                              ; preds = %177
  br label %213

213:                                              ; preds = %212, %155
  %214 = load double, ptr %10, align 8, !tbaa !17
  store double %214, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %217

215:                                              ; preds = %116
  %216 = load double, ptr %10, align 8, !tbaa !17
  store double %216, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %217

217:                                              ; preds = %215, %213, %114, %36
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  %218 = load double, ptr %4, align 8
  ret double %218
}

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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 #4 = { 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, !11, i64 0}
!10 = !{!"_ZTSN11alglib_impl12xbfgshessianE", !11, i64 0, !12, i64 8, !12, i64 72, !11, i64 136, !11, i64 144, !15, i64 152, !15, i64 160, !15, i64 168, !15, i64 176, !15, i64 184, !15, i64 192, !15, i64 200, !11, i64 208, !15, i64 216, !15, i64 224, !16, i64 232, !11, i64 312, !15, i64 320, !15, i64 328, !15, i64 336, !11, i64 344, !15, i64 352, !16, i64 360, !16, i64 440, !16, i64 520, !16, i64 600, !13, i64 680, !11, i64 688, !16, i64 696, !16, i64 776, !13, i64 856, !12, i64 864, !13, i64 928, !11, i64 936, !16, i64 944, !12, i64 1024, !12, i64 1088, !16, i64 1152, !12, i64 1232, !12, i64 1296, !13, i64 1360, !12, i64 1368, !15, i64 1432, !15, i64 1440, !11, i64 1448, !16, i64 1456, !12, i64 1536, !12, i64 1600, !12, i64 1664, !12, i64 1728, !12, i64 1792, !12, i64 1856, !16, i64 1920, !16, i64 2000, !16, i64 2080, !16, i64 2160, !16, i64 2240, !16, i64 2320, !16, i64 2400, !16, i64 2480, !12, i64 2560, !12, i64 2624, !16, i64 2688, !12, i64 2768, !16, i64 2832, !16, i64 2912, !16, i64 2992, !16, i64 3072, !16, i64 3152, !12, i64 3232, !12, i64 3296}
!11 = !{!"long", !7, i64 0}
!12 = !{!"_ZTSN11alglib_impl9ae_vectorE", !11, i64 0, !11, i64 8, !13, i64 16, !14, i64 24, !7, i64 56}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!15 = !{!"double", !7, i64 0}
!16 = !{!"_ZTSN11alglib_impl9ae_matrixE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !13, i64 32, !14, i64 40, !7, i64 72}
!17 = !{!15, !15, i64 0}
!18 = !{!10, !11, i64 136}
!19 = !{!11, !11, i64 0}
!20 = !{!10, !15, i64 352}
!21 = !{!10, !11, i64 688}
!22 = !{!7, !7, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!10, !11, i64 936}
!26 = distinct !{!26, !24}


; 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.303 = external hidden unnamed_addr constant [42 x i8], align 1

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

declare void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare noundef double @_ZN11alglib_impl6rdotv2ElPKNS_9ae_vectorEPNS_8ae_stateE(i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @_ZN11alglib_impl5rgemvElldPKNS_9ae_matrixElPKNS_9ae_vectorEdPS3_PNS_8ae_stateE(i64 noundef, i64 noundef, double noundef, ptr noundef, i64 noundef, ptr noundef, double noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare noundef double @_ZN11alglib_impl5rdotvElPKNS_9ae_vectorES2_PNS_8ae_stateE(i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL29optserv_recomputelowrankmodelEPNS_12xbfgshessianEPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN11alglib_impl10hessianvmvEPNS_12xbfgshessianEPKNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #2 {
switch.edge:
  %3 = load i64, ptr %0, align 8, !tbaa !5
  %4 = icmp ult i64 %3, 5
  %switch.cast = trunc i64 %3 to i5
  %switch.downshift = lshr i5 -7, %switch.cast
  %switch.masked = trunc i5 %switch.downshift to i1
  %5 = select i1 %4, i1 %switch.masked, i1 false
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %5, ptr noundef nonnull @.str.303, ptr noundef %2)
  %6 = getelementptr inbounds i8, ptr %0, i64 136
  %7 = load i64, ptr %6, align 8, !tbaa !16
  %8 = load i64, ptr %0, align 8, !tbaa !5
  switch i64 %8, label %.loopexit [
    i64 0, label %9
    i64 3, label %12
    i64 4, label %32
  ]

9:                                                ; preds = %switch.edge
  %10 = getelementptr inbounds i8, ptr %0, i64 2560
  tail call void @_ZN11alglib_impl9hessianmvEPNS_12xbfgshessianEPKNS_9ae_vectorEPS2_PNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %10, ptr noundef %2)
  %11 = tail call noundef double @_ZN11alglib_impl5rdotvElPKNS_9ae_vectorES2_PNS_8ae_stateE(i64 noundef %7, ptr noundef %1, ptr noundef nonnull %10, ptr noundef %2)
  br label %.loopexit

12:                                               ; preds = %switch.edge
  tail call void @_ZN11alglib_implL29optserv_recomputelowrankmodelEPNS_12xbfgshessianEPNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef %2)
  %13 = getelementptr inbounds i8, ptr %0, i64 352
  %14 = load double, ptr %13, align 8, !tbaa !17
  %15 = tail call noundef double @_ZN11alglib_impl6rdotv2ElPKNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %7, ptr noundef %1, ptr noundef %2)
  %16 = fmul double %14, %15
  %17 = getelementptr inbounds i8, ptr %0, i64 688
  %18 = load i64, ptr %17, align 8, !tbaa !18
  %19 = icmp sgt i64 %18, 0
  br i1 %19, label %20, label %.loopexit

20:                                               ; preds = %12
  %21 = getelementptr inbounds i8, ptr %0, i64 2560
  tail call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %18, ptr noundef nonnull %21, ptr noundef %2)
  %22 = load i64, ptr %17, align 8, !tbaa !18
  %23 = getelementptr inbounds i8, ptr %0, i64 696
  tail call void @_ZN11alglib_impl5rgemvElldPKNS_9ae_matrixElPKNS_9ae_vectorEdPS3_PNS_8ae_stateE(i64 noundef %22, i64 noundef %7, double noundef 1.000000e+00, ptr noundef nonnull %23, i64 noundef 0, ptr noundef %1, double noundef 0.000000e+00, ptr noundef nonnull %21, ptr noundef %2)
  %24 = load i64, ptr %17, align 8, !tbaa !18
  %25 = tail call noundef double @_ZN11alglib_impl6rdotv2ElPKNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %24, ptr noundef nonnull %21, ptr noundef %2)
  %26 = fadd double %16, %25
  %27 = load i64, ptr %17, align 8, !tbaa !18
  %28 = getelementptr inbounds i8, ptr %0, i64 776
  tail call void @_ZN11alglib_impl5rgemvElldPKNS_9ae_matrixElPKNS_9ae_vectorEdPS3_PNS_8ae_stateE(i64 noundef %27, i64 noundef %7, double noundef 1.000000e+00, ptr noundef nonnull %28, i64 noundef 0, ptr noundef %1, double noundef 0.000000e+00, ptr noundef nonnull %21, ptr noundef %2)
  %29 = load i64, ptr %17, align 8, !tbaa !18
  %30 = tail call noundef double @_ZN11alglib_impl6rdotv2ElPKNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %29, ptr noundef nonnull %21, ptr noundef %2)
  %31 = fsub double %26, %30
  br label %.loopexit

32:                                               ; preds = %switch.edge
  tail call void @_ZN11alglib_implL29optserv_recomputelowrankmodelEPNS_12xbfgshessianEPNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef %2)
  %.not.not90 = icmp sgt i64 %7, 0
  br i1 %.not.not90, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %32
  %33 = getelementptr inbounds i8, ptr %0, i64 1080
  %34 = load ptr, ptr %33, align 8, !tbaa !19
  %35 = getelementptr inbounds i8, ptr %1, i64 56
  %36 = load ptr, ptr %35, align 8, !tbaa !19
  %xtraiter = and i64 %7, 3
  %37 = icmp ult i64 %7, 4
  br i1 %37, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i64 %7, 9223372036854775804
  br label %38

38:                                               ; preds = %38, %.lr.ph.new
  %.192 = phi double [ 0.000000e+00, %.lr.ph.new ], [ %65, %38 ]
  %.08291 = phi i64 [ 0, %.lr.ph.new ], [ %66, %38 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.3, %38 ]
  %39 = getelementptr inbounds double, ptr %34, i64 %.08291
  %40 = load double, ptr %39, align 8, !tbaa !20
  %41 = getelementptr inbounds double, ptr %36, i64 %.08291
  %42 = load double, ptr %41, align 8, !tbaa !20
  %43 = fmul double %42, %42
  %44 = tail call double @llvm.fmuladd.f64(double %40, double %43, double %.192)
  %45 = or disjoint i64 %.08291, 1
  %46 = getelementptr inbounds double, ptr %34, i64 %45
  %47 = load double, ptr %46, align 8, !tbaa !20
  %48 = getelementptr inbounds double, ptr %36, i64 %45
  %49 = load double, ptr %48, align 8, !tbaa !20
  %50 = fmul double %49, %49
  %51 = tail call double @llvm.fmuladd.f64(double %47, double %50, double %44)
  %52 = or disjoint i64 %.08291, 2
  %53 = getelementptr inbounds double, ptr %34, i64 %52
  %54 = load double, ptr %53, align 8, !tbaa !20
  %55 = getelementptr inbounds double, ptr %36, i64 %52
  %56 = load double, ptr %55, align 8, !tbaa !20
  %57 = fmul double %56, %56
  %58 = tail call double @llvm.fmuladd.f64(double %54, double %57, double %51)
  %59 = or disjoint i64 %.08291, 3
  %60 = getelementptr inbounds double, ptr %34, i64 %59
  %61 = load double, ptr %60, align 8, !tbaa !20
  %62 = getelementptr inbounds double, ptr %36, i64 %59
  %63 = load double, ptr %62, align 8, !tbaa !20
  %64 = fmul double %63, %63
  %65 = tail call double @llvm.fmuladd.f64(double %61, double %64, double %58)
  %66 = add nuw nsw i64 %.08291, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge.loopexit.unr-lcssa, label %38, !llvm.loop !21

._crit_edge.loopexit.unr-lcssa:                   ; preds = %38, %.lr.ph
  %.lcssa103.ph = phi double [ poison, %.lr.ph ], [ %65, %38 ]
  %.192.unr = phi double [ 0.000000e+00, %.lr.ph ], [ %65, %38 ]
  %.08291.unr = phi i64 [ 0, %.lr.ph ], [ %66, %38 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader
  %.192.epil = phi double [ %72, %.epil.preheader ], [ %.192.unr, %._crit_edge.loopexit.unr-lcssa ]
  %.08291.epil = phi i64 [ %73, %.epil.preheader ], [ %.08291.unr, %._crit_edge.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge.loopexit.unr-lcssa ]
  %67 = getelementptr inbounds double, ptr %34, i64 %.08291.epil
  %68 = load double, ptr %67, align 8, !tbaa !20
  %69 = getelementptr inbounds double, ptr %36, i64 %.08291.epil
  %70 = load double, ptr %69, align 8, !tbaa !20
  %71 = fmul double %70, %70
  %72 = tail call double @llvm.fmuladd.f64(double %68, double %71, double %.192.epil)
  %73 = add nuw nsw i64 %.08291.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge, label %.epil.preheader, !llvm.loop !23

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader, %32
  %.1.lcssa = phi double [ 0.000000e+00, %32 ], [ %.lcssa103.ph, %._crit_edge.loopexit.unr-lcssa ], [ %72, %.epil.preheader ]
  %74 = getelementptr inbounds i8, ptr %0, i64 936
  %75 = load i64, ptr %74, align 8, !tbaa !25
  %76 = icmp sgt i64 %75, 0
  br i1 %76, label %77, label %.loopexit

77:                                               ; preds = %._crit_edge
  %78 = getelementptr inbounds i8, ptr %0, i64 2560
  tail call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %75, ptr noundef nonnull %78, ptr noundef %2)
  %79 = load i64, ptr %74, align 8, !tbaa !25
  %80 = getelementptr inbounds i8, ptr %0, i64 944
  tail call void @_ZN11alglib_impl5rgemvElldPKNS_9ae_matrixElPKNS_9ae_vectorEdPS3_PNS_8ae_stateE(i64 noundef %79, i64 noundef %7, double noundef 1.000000e+00, ptr noundef nonnull %80, i64 noundef 0, ptr noundef %1, double noundef 0.000000e+00, ptr noundef nonnull %78, ptr noundef %2)
  %81 = load i64, ptr %74, align 8, !tbaa !25
  %.not.not8993 = icmp sgt i64 %81, 0
  br i1 %.not.not8993, label %.lr.ph97, label %.loopexit

.lr.ph97:                                         ; preds = %77
  %82 = getelementptr inbounds i8, ptr %0, i64 1144
  %83 = load ptr, ptr %82, align 8, !tbaa !19
  %84 = getelementptr inbounds i8, ptr %0, i64 2616
  %85 = load ptr, ptr %84, align 8, !tbaa !19
  %xtraiter106 = and i64 %81, 3
  %86 = icmp ult i64 %81, 4
  br i1 %86, label %.loopexit.loopexit.unr-lcssa, label %.lr.ph97.new

.lr.ph97.new:                                     ; preds = %.lr.ph97
  %unroll_iter110 = and i64 %81, 9223372036854775804
  br label %87

87:                                               ; preds = %87, %.lr.ph97.new
  %.295 = phi double [ %.1.lcssa, %.lr.ph97.new ], [ %114, %87 ]
  %.18394 = phi i64 [ 0, %.lr.ph97.new ], [ %115, %87 ]
  %niter111 = phi i64 [ 0, %.lr.ph97.new ], [ %niter111.next.3, %87 ]
  %88 = getelementptr inbounds double, ptr %83, i64 %.18394
  %89 = load double, ptr %88, align 8, !tbaa !20
  %90 = getelementptr inbounds double, ptr %85, i64 %.18394
  %91 = load double, ptr %90, align 8, !tbaa !20
  %92 = fmul double %91, %91
  %93 = tail call double @llvm.fmuladd.f64(double %89, double %92, double %.295)
  %94 = or disjoint i64 %.18394, 1
  %95 = getelementptr inbounds double, ptr %83, i64 %94
  %96 = load double, ptr %95, align 8, !tbaa !20
  %97 = getelementptr inbounds double, ptr %85, i64 %94
  %98 = load double, ptr %97, align 8, !tbaa !20
  %99 = fmul double %98, %98
  %100 = tail call double @llvm.fmuladd.f64(double %96, double %99, double %93)
  %101 = or disjoint i64 %.18394, 2
  %102 = getelementptr inbounds double, ptr %83, i64 %101
  %103 = load double, ptr %102, align 8, !tbaa !20
  %104 = getelementptr inbounds double, ptr %85, i64 %101
  %105 = load double, ptr %104, align 8, !tbaa !20
  %106 = fmul double %105, %105
  %107 = tail call double @llvm.fmuladd.f64(double %103, double %106, double %100)
  %108 = or disjoint i64 %.18394, 3
  %109 = getelementptr inbounds double, ptr %83, i64 %108
  %110 = load double, ptr %109, align 8, !tbaa !20
  %111 = getelementptr inbounds double, ptr %85, i64 %108
  %112 = load double, ptr %111, align 8, !tbaa !20
  %113 = fmul double %112, %112
  %114 = tail call double @llvm.fmuladd.f64(double %110, double %113, double %107)
  %115 = add nuw nsw i64 %.18394, 4
  %niter111.next.3 = add i64 %niter111, 4
  %niter111.ncmp.3 = icmp eq i64 %niter111.next.3, %unroll_iter110
  br i1 %niter111.ncmp.3, label %.loopexit.loopexit.unr-lcssa, label %87, !llvm.loop !26

.loopexit.loopexit.unr-lcssa:                     ; preds = %87, %.lr.ph97
  %.lcssa.ph = phi double [ poison, %.lr.ph97 ], [ %114, %87 ]
  %.295.unr = phi double [ %.1.lcssa, %.lr.ph97 ], [ %114, %87 ]
  %.18394.unr = phi i64 [ 0, %.lr.ph97 ], [ %115, %87 ]
  %lcmp.mod108.not = icmp eq i64 %xtraiter106, 0
  br i1 %lcmp.mod108.not, label %.loopexit, label %.epil.preheader105

.epil.preheader105:                               ; preds = %.loopexit.loopexit.unr-lcssa, %.epil.preheader105
  %.295.epil = phi double [ %121, %.epil.preheader105 ], [ %.295.unr, %.loopexit.loopexit.unr-lcssa ]
  %.18394.epil = phi i64 [ %122, %.epil.preheader105 ], [ %.18394.unr, %.loopexit.loopexit.unr-lcssa ]
  %epil.iter107 = phi i64 [ %epil.iter107.next, %.epil.preheader105 ], [ 0, %.loopexit.loopexit.unr-lcssa ]
  %116 = getelementptr inbounds double, ptr %83, i64 %.18394.epil
  %117 = load double, ptr %116, align 8, !tbaa !20
  %118 = getelementptr inbounds double, ptr %85, i64 %.18394.epil
  %119 = load double, ptr %118, align 8, !tbaa !20
  %120 = fmul double %119, %119
  %121 = tail call double @llvm.fmuladd.f64(double %117, double %120, double %.295.epil)
  %122 = add nuw nsw i64 %.18394.epil, 1
  %epil.iter107.next = add i64 %epil.iter107, 1
  %epil.iter107.cmp.not = icmp eq i64 %epil.iter107.next, %xtraiter106
  br i1 %epil.iter107.cmp.not, label %.loopexit, label %.epil.preheader105, !llvm.loop !27

.loopexit:                                        ; preds = %.loopexit.loopexit.unr-lcssa, %.epil.preheader105, %77, %switch.edge, %._crit_edge, %12, %20, %9
  %.084 = phi double [ %11, %9 ], [ %31, %20 ], [ %16, %12 ], [ %.1.lcssa, %._crit_edge ], [ 0.000000e+00, %switch.edge ], [ %.1.lcssa, %77 ], [ %.lcssa.ph, %.loopexit.loopexit.unr-lcssa ], [ %121, %.epil.preheader105 ]
  ret double %.084
}

attributes #0 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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" }

!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_impl12xbfgshessianE", !7, i64 0, !10, i64 8, !10, i64 72, !7, i64 136, !7, i64 144, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !14, i64 200, !7, i64 208, !14, i64 216, !14, i64 224, !15, i64 232, !7, i64 312, !14, i64 320, !14, i64 328, !14, i64 336, !7, i64 344, !14, i64 352, !15, i64 360, !15, i64 440, !15, i64 520, !15, i64 600, !11, i64 680, !7, i64 688, !15, i64 696, !15, i64 776, !11, i64 856, !10, i64 864, !11, i64 928, !7, i64 936, !15, i64 944, !10, i64 1024, !10, i64 1088, !15, i64 1152, !10, i64 1232, !10, i64 1296, !11, i64 1360, !10, i64 1368, !14, i64 1432, !14, i64 1440, !7, i64 1448, !15, i64 1456, !10, i64 1536, !10, i64 1600, !10, i64 1664, !10, i64 1728, !10, i64 1792, !10, i64 1856, !15, i64 1920, !15, i64 2000, !15, i64 2080, !15, i64 2160, !15, i64 2240, !15, i64 2320, !15, i64 2400, !15, i64 2480, !10, i64 2560, !10, i64 2624, !15, i64 2688, !10, i64 2768, !15, i64 2832, !15, i64 2912, !15, i64 2992, !15, i64 3072, !15, i64 3152, !10, i64 3232, !10, i64 3296}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN11alglib_impl9ae_vectorE", !7, i64 0, !7, i64 8, !11, i64 16, !12, i64 24, !8, i64 56}
!11 = !{!"bool", !8, i64 0}
!12 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!"double", !8, i64 0}
!15 = !{!"_ZTSN11alglib_impl9ae_matrixE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !11, i64 32, !12, i64 40, !8, i64 72}
!16 = !{!6, !7, i64 136}
!17 = !{!6, !14, i64 352}
!18 = !{!6, !7, i64 688}
!19 = !{!8, !8, i64 0}
!20 = !{!14, !14, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.unroll.disable"}
!25 = !{!6, !7, i64 936}
!26 = distinct !{!26, !22}
!27 = distinct !{!27, !24}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass