; 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::smoothnessmonitor" = type { i64, i64, i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64, double, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, %"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::rcommstate", i8, i8, i64, i64, double, double, i8, %"struct.alglib_impl::optguardreport", double, double, %"struct.alglib_impl::optguardnonc0report", %"struct.alglib_impl::optguardnonc0report", double, double, %"struct.alglib_impl::optguardnonc1test0report", %"struct.alglib_impl::optguardnonc1test0report", double, double, %"struct.alglib_impl::optguardnonc1test1report", %"struct.alglib_impl::optguardnonc1test1report", i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::rcommstate", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix" }
%"struct.alglib_impl::optguardreport" = type { i8, i8, i64, double, i8, i8, i8, i64, double, i8, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix" }
%"struct.alglib_impl::optguardnonc0report" = type { i8, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64, i64, i64 }
%"struct.alglib_impl::optguardnonc1test0report" = type { i8, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64, i64, i64 }
%"struct.alglib_impl::optguardnonc1test1report" = type { i8, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64, i64, i64 }
%"struct.alglib_impl::rcommstate" = type { i32, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%union.anon.0 = type { ptr }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, 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 nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl32smoothnessmonitorstartlinesearchEPNS_17smoothnessmonitorEPKNS_9ae_vectorES4_PKNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, ptr noundef %6) #3 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca double, align 8
  %20 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store i64 %4, ptr %12, align 8, !tbaa !9
  store i64 %5, ptr %13, align 8, !tbaa !9
  store ptr %6, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 8, 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
  %21 = load ptr, ptr %8, align 8, !tbaa !5
  %22 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %21, i32 0, i32 0
  %23 = load i64, ptr %22, align 8, !tbaa !11
  store i64 %23, ptr %15, align 8, !tbaa !9
  %24 = load ptr, ptr %8, align 8, !tbaa !5
  %25 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %24, i32 0, i32 1
  %26 = load i64, ptr %25, align 8, !tbaa !24
  store i64 %26, ptr %16, align 8, !tbaa !9
  %27 = load ptr, ptr %8, align 8, !tbaa !5
  %28 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %27, i32 0, i32 2
  %29 = load i8, ptr %28, align 8, !tbaa !25, !range !26, !noundef !27
  %30 = trunc i8 %29 to i1
  br i1 %30, label %32, label %31

31:                                               ; preds = %7
  store i32 1, ptr %20, align 4
  br label %261

32:                                               ; preds = %7
  store double 0.000000e+00, ptr %19, align 8, !tbaa !28
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %33

33:                                               ; preds = %47, %32
  %34 = load i64, ptr %17, align 8, !tbaa !9
  %35 = load i64, ptr %15, align 8, !tbaa !9
  %36 = sub nsw i64 %35, 1
  %37 = icmp sle i64 %34, %36
  br i1 %37, label %38, label %50

38:                                               ; preds = %33
  %39 = load double, ptr %19, align 8, !tbaa !28
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  %41 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %40, i32 0, i32 4
  %42 = load ptr, ptr %41, align 8, !tbaa !29
  %43 = load i64, ptr %17, align 8, !tbaa !9
  %44 = getelementptr inbounds double, ptr %42, i64 %43
  %45 = load double, ptr %44, align 8, !tbaa !28
  %46 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %39, double %45)
  store double %46, ptr %19, align 8, !tbaa !28
  br label %47

47:                                               ; preds = %38
  %48 = load i64, ptr %17, align 8, !tbaa !9
  %49 = add nsw i64 %48, 1
  store i64 %49, ptr %17, align 8, !tbaa !9
  br label %33, !llvm.loop !30

50:                                               ; preds = %33
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %51

51:                                               ; preds = %65, %50
  %52 = load i64, ptr %17, align 8, !tbaa !9
  %53 = load i64, ptr %16, align 8, !tbaa !9
  %54 = sub nsw i64 %53, 1
  %55 = icmp sle i64 %52, %54
  br i1 %55, label %56, label %68

56:                                               ; preds = %51
  %57 = load double, ptr %19, align 8, !tbaa !28
  %58 = load ptr, ptr %10, align 8, !tbaa !5
  %59 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %58, i32 0, i32 4
  %60 = load ptr, ptr %59, align 8, !tbaa !29
  %61 = load i64, ptr %17, align 8, !tbaa !9
  %62 = getelementptr inbounds double, ptr %60, i64 %61
  %63 = load double, ptr %62, align 8, !tbaa !28
  %64 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %57, double %63)
  store double %64, ptr %19, align 8, !tbaa !28
  br label %65

65:                                               ; preds = %56
  %66 = load i64, ptr %17, align 8, !tbaa !9
  %67 = add nsw i64 %66, 1
  store i64 %67, ptr %17, align 8, !tbaa !9
  br label %51, !llvm.loop !32

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

69:                                               ; preds = %96, %68
  %70 = load i64, ptr %17, align 8, !tbaa !9
  %71 = load i64, ptr %16, align 8, !tbaa !9
  %72 = sub nsw i64 %71, 1
  %73 = icmp sle i64 %70, %72
  br i1 %73, label %74, label %99

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

75:                                               ; preds = %92, %74
  %76 = load i64, ptr %18, align 8, !tbaa !9
  %77 = load i64, ptr %15, align 8, !tbaa !9
  %78 = sub nsw i64 %77, 1
  %79 = icmp sle i64 %76, %78
  br i1 %79, label %80, label %95

80:                                               ; preds = %75
  %81 = load double, ptr %19, align 8, !tbaa !28
  %82 = load ptr, ptr %11, align 8, !tbaa !5
  %83 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %82, i32 0, i32 6
  %84 = load ptr, ptr %83, align 8, !tbaa !29
  %85 = load i64, ptr %17, align 8, !tbaa !9
  %86 = getelementptr inbounds ptr, ptr %84, i64 %85
  %87 = load ptr, ptr %86, align 8, !tbaa !5
  %88 = load i64, ptr %18, align 8, !tbaa !9
  %89 = getelementptr inbounds double, ptr %87, i64 %88
  %90 = load double, ptr %89, align 8, !tbaa !28
  %91 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %81, double %90)
  store double %91, ptr %19, align 8, !tbaa !28
  br label %92

92:                                               ; preds = %80
  %93 = load i64, ptr %18, align 8, !tbaa !9
  %94 = add nsw i64 %93, 1
  store i64 %94, ptr %18, align 8, !tbaa !9
  br label %75, !llvm.loop !33

95:                                               ; preds = %75
  br label %96

96:                                               ; preds = %95
  %97 = load i64, ptr %17, align 8, !tbaa !9
  %98 = add nsw i64 %97, 1
  store i64 %98, ptr %17, align 8, !tbaa !9
  br label %69, !llvm.loop !34

99:                                               ; preds = %69
  %100 = load double, ptr %19, align 8, !tbaa !28
  %101 = load ptr, ptr %14, align 8, !tbaa !5
  %102 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %100, ptr noundef %101)
  br i1 %102, label %106, label %103

103:                                              ; preds = %99
  %104 = load ptr, ptr %8, align 8, !tbaa !5
  %105 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %104, i32 0, i32 29
  store i8 1, ptr %105, align 8, !tbaa !35
  store i32 1, ptr %20, align 4
  br label %261

106:                                              ; preds = %99
  %107 = load ptr, ptr %8, align 8, !tbaa !5
  %108 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %107, i32 0, i32 5
  %109 = load i64, ptr %108, align 8, !tbaa !36
  %110 = icmp sgt i64 %109, 0
  br i1 %110, label %111, label %114

111:                                              ; preds = %106
  %112 = load ptr, ptr %8, align 8, !tbaa !5
  %113 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl35smoothnessmonitorfinalizelinesearchEPNS_17smoothnessmonitorEPNS_8ae_stateE(ptr noundef %112, ptr noundef %113)
  br label %114

114:                                              ; preds = %111, %106
  %115 = load ptr, ptr %8, align 8, !tbaa !5
  %116 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %115, i32 0, i32 30
  store i8 1, ptr %116, align 1, !tbaa !37
  %117 = load i64, ptr %12, align 8, !tbaa !9
  %118 = load ptr, ptr %8, align 8, !tbaa !5
  %119 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %118, i32 0, i32 31
  store i64 %117, ptr %119, align 8, !tbaa !38
  %120 = load i64, ptr %13, align 8, !tbaa !9
  %121 = load ptr, ptr %8, align 8, !tbaa !5
  %122 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %121, i32 0, i32 32
  store i64 %120, ptr %122, align 8, !tbaa !39
  %123 = load ptr, ptr %8, align 8, !tbaa !5
  %124 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %123, i32 0, i32 5
  store i64 1, ptr %124, align 8, !tbaa !36
  %125 = load ptr, ptr %8, align 8, !tbaa !5
  %126 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %125, i32 0, i32 6
  %127 = load ptr, ptr %8, align 8, !tbaa !5
  %128 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %127, i32 0, i32 5
  %129 = load i64, ptr %128, align 8, !tbaa !36
  %130 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl13rvectorgrowtoEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %126, i64 noundef %129, ptr noundef %130)
  %131 = load ptr, ptr %8, align 8, !tbaa !5
  %132 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %131, i32 0, i32 7
  %133 = load ptr, ptr %8, align 8, !tbaa !5
  %134 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %133, i32 0, i32 5
  %135 = load i64, ptr %134, align 8, !tbaa !36
  %136 = load i64, ptr %15, align 8, !tbaa !9
  %137 = mul nsw i64 %135, %136
  %138 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl13rvectorgrowtoEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %132, i64 noundef %137, ptr noundef %138)
  %139 = load ptr, ptr %8, align 8, !tbaa !5
  %140 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %139, i32 0, i32 8
  %141 = load ptr, ptr %8, align 8, !tbaa !5
  %142 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %141, i32 0, i32 5
  %143 = load i64, ptr %142, align 8, !tbaa !36
  %144 = load i64, ptr %16, align 8, !tbaa !9
  %145 = mul nsw i64 %143, %144
  %146 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl13rvectorgrowtoEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %140, i64 noundef %145, ptr noundef %146)
  %147 = load ptr, ptr %8, align 8, !tbaa !5
  %148 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %147, i32 0, i32 9
  %149 = load ptr, ptr %8, align 8, !tbaa !5
  %150 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %149, i32 0, i32 5
  %151 = load i64, ptr %150, align 8, !tbaa !36
  %152 = load i64, ptr %16, align 8, !tbaa !9
  %153 = mul nsw i64 %151, %152
  %154 = load i64, ptr %15, align 8, !tbaa !9
  %155 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl17rmatrixgrowrowstoEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %148, i64 noundef %153, i64 noundef %154, ptr noundef %155)
  %156 = load ptr, ptr %8, align 8, !tbaa !5
  %157 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %156, i32 0, i32 6
  %158 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %157, i32 0, i32 4
  %159 = load ptr, ptr %158, align 8, !tbaa !29
  %160 = getelementptr inbounds double, ptr %159, i64 0
  store double 0.000000e+00, ptr %160, align 8, !tbaa !28
  store i64 0, ptr %18, align 8, !tbaa !9
  br label %161

161:                                              ; preds = %179, %114
  %162 = load i64, ptr %18, align 8, !tbaa !9
  %163 = load i64, ptr %15, align 8, !tbaa !9
  %164 = sub nsw i64 %163, 1
  %165 = icmp sle i64 %162, %164
  br i1 %165, label %166, label %182

166:                                              ; preds = %161
  %167 = load ptr, ptr %9, align 8, !tbaa !5
  %168 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %167, i32 0, i32 4
  %169 = load ptr, ptr %168, align 8, !tbaa !29
  %170 = load i64, ptr %18, align 8, !tbaa !9
  %171 = getelementptr inbounds double, ptr %169, i64 %170
  %172 = load double, ptr %171, align 8, !tbaa !28
  %173 = load ptr, ptr %8, align 8, !tbaa !5
  %174 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %173, i32 0, i32 7
  %175 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %174, i32 0, i32 4
  %176 = load ptr, ptr %175, align 8, !tbaa !29
  %177 = load i64, ptr %18, align 8, !tbaa !9
  %178 = getelementptr inbounds double, ptr %176, i64 %177
  store double %172, ptr %178, align 8, !tbaa !28
  br label %179

179:                                              ; preds = %166
  %180 = load i64, ptr %18, align 8, !tbaa !9
  %181 = add nsw i64 %180, 1
  store i64 %181, ptr %18, align 8, !tbaa !9
  br label %161, !llvm.loop !40

182:                                              ; preds = %161
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %183

183:                                              ; preds = %201, %182
  %184 = load i64, ptr %17, align 8, !tbaa !9
  %185 = load i64, ptr %16, align 8, !tbaa !9
  %186 = sub nsw i64 %185, 1
  %187 = icmp sle i64 %184, %186
  br i1 %187, label %188, label %204

188:                                              ; preds = %183
  %189 = load ptr, ptr %10, align 8, !tbaa !5
  %190 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %189, i32 0, i32 4
  %191 = load ptr, ptr %190, align 8, !tbaa !29
  %192 = load i64, ptr %17, align 8, !tbaa !9
  %193 = getelementptr inbounds double, ptr %191, i64 %192
  %194 = load double, ptr %193, align 8, !tbaa !28
  %195 = load ptr, ptr %8, align 8, !tbaa !5
  %196 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %195, i32 0, i32 8
  %197 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %196, i32 0, i32 4
  %198 = load ptr, ptr %197, align 8, !tbaa !29
  %199 = load i64, ptr %17, align 8, !tbaa !9
  %200 = getelementptr inbounds double, ptr %198, i64 %199
  store double %194, ptr %200, align 8, !tbaa !28
  br label %201

201:                                              ; preds = %188
  %202 = load i64, ptr %17, align 8, !tbaa !9
  %203 = add nsw i64 %202, 1
  store i64 %203, ptr %17, align 8, !tbaa !9
  br label %183, !llvm.loop !41

204:                                              ; preds = %183
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %205

205:                                              ; preds = %239, %204
  %206 = load i64, ptr %17, align 8, !tbaa !9
  %207 = load i64, ptr %16, align 8, !tbaa !9
  %208 = sub nsw i64 %207, 1
  %209 = icmp sle i64 %206, %208
  br i1 %209, label %210, label %242

210:                                              ; preds = %205
  store i64 0, ptr %18, align 8, !tbaa !9
  br label %211

211:                                              ; preds = %235, %210
  %212 = load i64, ptr %18, align 8, !tbaa !9
  %213 = load i64, ptr %15, align 8, !tbaa !9
  %214 = sub nsw i64 %213, 1
  %215 = icmp sle i64 %212, %214
  br i1 %215, label %216, label %238

216:                                              ; preds = %211
  %217 = load ptr, ptr %11, align 8, !tbaa !5
  %218 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %217, i32 0, i32 6
  %219 = load ptr, ptr %218, align 8, !tbaa !29
  %220 = load i64, ptr %17, align 8, !tbaa !9
  %221 = getelementptr inbounds ptr, ptr %219, i64 %220
  %222 = load ptr, ptr %221, align 8, !tbaa !5
  %223 = load i64, ptr %18, align 8, !tbaa !9
  %224 = getelementptr inbounds double, ptr %222, i64 %223
  %225 = load double, ptr %224, align 8, !tbaa !28
  %226 = load ptr, ptr %8, align 8, !tbaa !5
  %227 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %226, i32 0, i32 9
  %228 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %227, i32 0, i32 6
  %229 = load ptr, ptr %228, align 8, !tbaa !29
  %230 = load i64, ptr %17, align 8, !tbaa !9
  %231 = getelementptr inbounds ptr, ptr %229, i64 %230
  %232 = load ptr, ptr %231, align 8, !tbaa !5
  %233 = load i64, ptr %18, align 8, !tbaa !9
  %234 = getelementptr inbounds double, ptr %232, i64 %233
  store double %225, ptr %234, align 8, !tbaa !28
  br label %235

235:                                              ; preds = %216
  %236 = load i64, ptr %18, align 8, !tbaa !9
  %237 = add nsw i64 %236, 1
  store i64 %237, ptr %18, align 8, !tbaa !9
  br label %211, !llvm.loop !42

238:                                              ; preds = %211
  br label %239

239:                                              ; preds = %238
  %240 = load i64, ptr %17, align 8, !tbaa !9
  %241 = add nsw i64 %240, 1
  store i64 %241, ptr %17, align 8, !tbaa !9
  br label %205, !llvm.loop !43

242:                                              ; preds = %205
  %243 = load ptr, ptr %8, align 8, !tbaa !5
  %244 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %243, i32 0, i32 10
  %245 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl13rvectorgrowtoEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %244, i64 noundef 1, ptr noundef %245)
  %246 = load ptr, ptr %8, align 8, !tbaa !5
  %247 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %246, i32 0, i32 11
  %248 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl13ivectorgrowtoEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %247, i64 noundef 1, ptr noundef %248)
  %249 = load ptr, ptr %8, align 8, !tbaa !5
  %250 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %249, i32 0, i32 10
  %251 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %250, i32 0, i32 4
  %252 = load ptr, ptr %251, align 8, !tbaa !29
  %253 = getelementptr inbounds double, ptr %252, i64 0
  store double 0.000000e+00, ptr %253, align 8, !tbaa !28
  %254 = load ptr, ptr %8, align 8, !tbaa !5
  %255 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %254, i32 0, i32 11
  %256 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %255, i32 0, i32 4
  %257 = load ptr, ptr %256, align 8, !tbaa !29
  %258 = getelementptr inbounds i64, ptr %257, i64 0
  store i64 0, ptr %258, align 8, !tbaa !9
  %259 = load ptr, ptr %8, align 8, !tbaa !5
  %260 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %259, i32 0, i32 12
  store i64 1, ptr %260, align 8, !tbaa !44
  store i32 0, ptr %20, align 4
  br label %261

261:                                              ; preds = %242, %103, %31
  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 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  %262 = load i32, ptr %20, align 4
  switch i32 %262, label %264 [
    i32 0, label %263
    i32 1, label %263
  ]

263:                                              ; preds = %261, %261
  ret void

264:                                              ; preds = %261
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11alglib_impl35smoothnessmonitorfinalizelinesearchEPNS_17smoothnessmonitorEPNS_8ae_stateE(ptr noundef, ptr noundef) #4

declare void @_ZN11alglib_impl13rvectorgrowtoEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) #2

declare void @_ZN11alglib_impl17rmatrixgrowrowstoEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #2

declare void @_ZN11alglib_impl13ivectorgrowtoEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { 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 #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, !10, i64 0}
!12 = !{!"_ZTSN11alglib_impl17smoothnessmonitorE", !10, i64 0, !10, i64 8, !13, i64 16, !14, i64 24, !14, i64 88, !10, i64 152, !14, i64 160, !14, i64 224, !14, i64 288, !16, i64 352, !14, i64 432, !14, i64 496, !10, i64 560, !10, i64 568, !10, i64 576, !17, i64 584, !10, i64 592, !14, i64 600, !14, i64 664, !17, i64 728, !14, i64 736, !14, i64 800, !17, i64 864, !16, i64 872, !16, i64 952, !16, i64 1032, !14, i64 1112, !14, i64 1176, !18, i64 1240, !13, i64 1504, !13, i64 1505, !10, i64 1512, !10, i64 1520, !17, i64 1528, !17, i64 1536, !13, i64 1544, !20, i64 1552, !17, i64 1848, !17, i64 1856, !21, i64 1864, !21, i64 2184, !17, i64 2504, !17, i64 2512, !22, i64 2520, !22, i64 2840, !17, i64 3160, !17, i64 3168, !23, i64 3176, !23, i64 3504, !13, i64 3832, !14, i64 3840, !14, i64 3904, !16, i64 3968, !18, i64 4048, !14, i64 4312, !14, i64 4376, !14, i64 4440, !14, i64 4504, !14, i64 4568, !14, i64 4632, !14, i64 4696, !14, i64 4760, !16, i64 4824, !16, i64 4904, !14, i64 4984, !14, i64 5048, !14, i64 5112, !14, i64 5176, !14, i64 5240, !14, i64 5304, !14, i64 5368, !14, i64 5432, !14, i64 5496, !14, i64 5560, !16, i64 5624}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSN11alglib_impl9ae_vectorE", !10, i64 0, !10, i64 8, !13, i64 16, !15, i64 24, !7, i64 56}
!15 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!16 = !{!"_ZTSN11alglib_impl9ae_matrixE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !13, i64 32, !15, i64 40, !7, i64 72}
!17 = !{!"double", !7, i64 0}
!18 = !{!"_ZTSN11alglib_impl10rcommstateE", !19, i64 0, !14, i64 8, !14, i64 72, !14, i64 136, !14, i64 200}
!19 = !{!"int", !7, i64 0}
!20 = !{!"_ZTSN11alglib_impl14optguardreportE", !13, i64 0, !13, i64 1, !10, i64 8, !17, i64 16, !13, i64 24, !13, i64 25, !13, i64 26, !10, i64 32, !17, i64 40, !13, i64 48, !10, i64 56, !10, i64 64, !14, i64 72, !16, i64 136, !16, i64 216}
!21 = !{!"_ZTSN11alglib_impl19optguardnonc0reportE", !13, i64 0, !10, i64 8, !14, i64 16, !14, i64 80, !10, i64 144, !14, i64 152, !14, i64 216, !10, i64 280, !10, i64 288, !10, i64 296, !10, i64 304, !10, i64 312}
!22 = !{!"_ZTSN11alglib_impl24optguardnonc1test0reportE", !13, i64 0, !10, i64 8, !14, i64 16, !14, i64 80, !10, i64 144, !14, i64 152, !14, i64 216, !10, i64 280, !10, i64 288, !10, i64 296, !10, i64 304, !10, i64 312}
!23 = !{!"_ZTSN11alglib_impl24optguardnonc1test1reportE", !13, i64 0, !10, i64 8, !10, i64 16, !14, i64 24, !14, i64 88, !10, i64 152, !14, i64 160, !14, i64 224, !10, i64 288, !10, i64 296, !10, i64 304, !10, i64 312, !10, i64 320}
!24 = !{!12, !10, i64 8}
!25 = !{!12, !13, i64 16}
!26 = !{i8 0, i8 2}
!27 = !{}
!28 = !{!17, !17, i64 0}
!29 = !{!7, !7, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = distinct !{!32, !31}
!33 = distinct !{!33, !31}
!34 = distinct !{!34, !31}
!35 = !{!12, !13, i64 1504}
!36 = !{!12, !10, i64 152}
!37 = !{!12, !13, i64 1505}
!38 = !{!12, !10, i64 1512}
!39 = !{!12, !10, i64 1520}
!40 = distinct !{!40, !31}
!41 = distinct !{!41, !31}
!42 = distinct !{!42, !31}
!43 = distinct !{!43, !31}
!44 = !{!12, !10, i64 560}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl32smoothnessmonitorstartlinesearchEPNS_17smoothnessmonitorEPKNS_9ae_vectorES4_PKNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, i64 noundef %4, i64 noundef %5, ptr noundef %6) local_unnamed_addr #2 {
  %8 = load i64, ptr %0, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 8
  %10 = load i64, ptr %9, align 8, !tbaa !22
  %11 = getelementptr inbounds i8, ptr %0, i64 16
  %12 = load i8, ptr %11, align 8, !tbaa !23, !range !24, !noundef !25
  %13 = trunc nuw i8 %12 to i1
  br i1 %13, label %.preheader107, label %221

.preheader107:                                    ; preds = %7
  %.not.not108 = icmp slt i64 %8, 1
  br i1 %.not.not108, label %.preheader106, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader107
  %14 = getelementptr inbounds i8, ptr %1, i64 56
  %15 = load ptr, ptr %14, align 8, !tbaa !26
  %xtraiter = and i64 %8, 3
  %16 = icmp ult i64 %8, 4
  br i1 %16, label %.preheader106.loopexit.unr-lcssa, label %.lr.ph.new

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

.preheader106.loopexit.unr-lcssa:                 ; preds = %24, %.lr.ph
  %.lcssa156.ph = phi double [ poison, %.lr.ph ], [ %39, %24 ]
  %.0110.unr = phi double [ 0.000000e+00, %.lr.ph ], [ %39, %24 ]
  %.089109.unr = phi i64 [ 0, %.lr.ph ], [ %40, %24 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader106, label %.epil.preheader

.epil.preheader:                                  ; preds = %.preheader106.loopexit.unr-lcssa, %.epil.preheader
  %.0110.epil = phi double [ %19, %.epil.preheader ], [ %.0110.unr, %.preheader106.loopexit.unr-lcssa ]
  %.089109.epil = phi i64 [ %20, %.epil.preheader ], [ %.089109.unr, %.preheader106.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %.preheader106.loopexit.unr-lcssa ]
  %17 = getelementptr inbounds double, ptr %15, i64 %.089109.epil
  %18 = load double, ptr %17, align 8, !tbaa !27
  %19 = tail call double @llvm.fmuladd.f64(double %.0110.epil, double 5.000000e-01, double %18)
  %20 = add nuw nsw i64 %.089109.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 %.preheader106, label %.epil.preheader, !llvm.loop !28

.preheader106:                                    ; preds = %.preheader106.loopexit.unr-lcssa, %.epil.preheader, %.preheader107
  %.0.lcssa = phi double [ 0.000000e+00, %.preheader107 ], [ %.lcssa156.ph, %.preheader106.loopexit.unr-lcssa ], [ %19, %.epil.preheader ]
  %.not.not95111 = icmp slt i64 %10, 1
  br i1 %.not.not95111, label %._crit_edge124, label %.lr.ph114

.lr.ph114:                                        ; preds = %.preheader106
  %21 = getelementptr inbounds i8, ptr %2, i64 56
  %22 = load ptr, ptr %21, align 8, !tbaa !26
  %xtraiter159 = and i64 %10, 3
  %23 = icmp ult i64 %10, 4
  br i1 %23, label %.preheader105.unr-lcssa, label %.lr.ph114.new

.lr.ph114.new:                                    ; preds = %.lr.ph114
  %unroll_iter163 = and i64 %10, 9223372036854775804
  br label %72

24:                                               ; preds = %24, %.lr.ph.new
  %.0110 = phi double [ 0.000000e+00, %.lr.ph.new ], [ %39, %24 ]
  %.089109 = phi i64 [ 0, %.lr.ph.new ], [ %40, %24 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.3, %24 ]
  %25 = getelementptr inbounds double, ptr %15, i64 %.089109
  %26 = load double, ptr %25, align 8, !tbaa !27
  %27 = tail call double @llvm.fmuladd.f64(double %.0110, double 5.000000e-01, double %26)
  %28 = or disjoint i64 %.089109, 1
  %29 = getelementptr inbounds double, ptr %15, i64 %28
  %30 = load double, ptr %29, align 8, !tbaa !27
  %31 = tail call double @llvm.fmuladd.f64(double %27, double 5.000000e-01, double %30)
  %32 = or disjoint i64 %.089109, 2
  %33 = getelementptr inbounds double, ptr %15, i64 %32
  %34 = load double, ptr %33, align 8, !tbaa !27
  %35 = tail call double @llvm.fmuladd.f64(double %31, double 5.000000e-01, double %34)
  %36 = or disjoint i64 %.089109, 3
  %37 = getelementptr inbounds double, ptr %15, i64 %36
  %38 = load double, ptr %37, align 8, !tbaa !27
  %39 = tail call double @llvm.fmuladd.f64(double %35, double 5.000000e-01, double %38)
  %40 = add nuw nsw i64 %.089109, 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 %.preheader106.loopexit.unr-lcssa, label %24, !llvm.loop !30

.preheader105.unr-lcssa:                          ; preds = %72, %.lr.ph114
  %.lcssa155.ph = phi double [ poison, %.lr.ph114 ], [ %87, %72 ]
  %.1113.unr = phi double [ %.0.lcssa, %.lr.ph114 ], [ %87, %72 ]
  %.190112.unr = phi i64 [ 0, %.lr.ph114 ], [ %88, %72 ]
  %lcmp.mod161.not = icmp eq i64 %xtraiter159, 0
  br i1 %lcmp.mod161.not, label %.preheader105, label %.epil.preheader158

.epil.preheader158:                               ; preds = %.preheader105.unr-lcssa, %.epil.preheader158
  %.1113.epil = phi double [ %43, %.epil.preheader158 ], [ %.1113.unr, %.preheader105.unr-lcssa ]
  %.190112.epil = phi i64 [ %44, %.epil.preheader158 ], [ %.190112.unr, %.preheader105.unr-lcssa ]
  %epil.iter160 = phi i64 [ %epil.iter160.next, %.epil.preheader158 ], [ 0, %.preheader105.unr-lcssa ]
  %41 = getelementptr inbounds double, ptr %22, i64 %.190112.epil
  %42 = load double, ptr %41, align 8, !tbaa !27
  %43 = tail call double @llvm.fmuladd.f64(double %.1113.epil, double 5.000000e-01, double %42)
  %44 = add nuw nsw i64 %.190112.epil, 1
  %epil.iter160.next = add i64 %epil.iter160, 1
  %epil.iter160.cmp.not = icmp eq i64 %epil.iter160.next, %xtraiter159
  br i1 %epil.iter160.cmp.not, label %.preheader105, label %.epil.preheader158, !llvm.loop !32

.preheader105:                                    ; preds = %.epil.preheader158, %.preheader105.unr-lcssa
  %.lcssa155 = phi double [ %.lcssa155.ph, %.preheader105.unr-lcssa ], [ %43, %.epil.preheader158 ]
  %brmerge = or i1 %.not.not95111, %.not.not108
  br i1 %brmerge, label %._crit_edge124, label %.preheader104.lr.ph.split.us

.preheader104.lr.ph.split.us:                     ; preds = %.preheader105
  %45 = getelementptr inbounds i8, ptr %3, i64 72
  %46 = load ptr, ptr %45, align 8, !tbaa !26
  %47 = add nsw i64 %8, -1
  %xtraiter166 = and i64 %8, 3
  %48 = icmp ult i64 %47, 3
  %unroll_iter170 = and i64 %8, 9223372036854775804
  %lcmp.mod168.not = icmp eq i64 %xtraiter166, 0
  br label %.preheader104.us

.preheader104.us:                                 ; preds = %._crit_edge.us, %.preheader104.lr.ph.split.us
  %.2123.us = phi double [ %.lcssa155, %.preheader104.lr.ph.split.us ], [ %.lcssa, %._crit_edge.us ]
  %.291122.us = phi i64 [ 0, %.preheader104.lr.ph.split.us ], [ %71, %._crit_edge.us ]
  %49 = getelementptr inbounds ptr, ptr %46, i64 %.291122.us
  %50 = load ptr, ptr %49, align 8, !tbaa !33
  br i1 %48, label %._crit_edge.us.unr-lcssa, label %.preheader104.us.new

.preheader104.us.new:                             ; preds = %.preheader104.us, %.preheader104.us.new
  %.3118.us = phi double [ %65, %.preheader104.us.new ], [ %.2123.us, %.preheader104.us ]
  %.086117.us = phi i64 [ %66, %.preheader104.us.new ], [ 0, %.preheader104.us ]
  %niter171 = phi i64 [ %niter171.next.3, %.preheader104.us.new ], [ 0, %.preheader104.us ]
  %51 = getelementptr inbounds double, ptr %50, i64 %.086117.us
  %52 = load double, ptr %51, align 8, !tbaa !27
  %53 = tail call double @llvm.fmuladd.f64(double %.3118.us, double 5.000000e-01, double %52)
  %54 = or disjoint i64 %.086117.us, 1
  %55 = getelementptr inbounds double, ptr %50, i64 %54
  %56 = load double, ptr %55, align 8, !tbaa !27
  %57 = tail call double @llvm.fmuladd.f64(double %53, double 5.000000e-01, double %56)
  %58 = or disjoint i64 %.086117.us, 2
  %59 = getelementptr inbounds double, ptr %50, i64 %58
  %60 = load double, ptr %59, align 8, !tbaa !27
  %61 = tail call double @llvm.fmuladd.f64(double %57, double 5.000000e-01, double %60)
  %62 = or disjoint i64 %.086117.us, 3
  %63 = getelementptr inbounds double, ptr %50, i64 %62
  %64 = load double, ptr %63, align 8, !tbaa !27
  %65 = tail call double @llvm.fmuladd.f64(double %61, double 5.000000e-01, double %64)
  %66 = add nuw nsw i64 %.086117.us, 4
  %niter171.next.3 = add i64 %niter171, 4
  %niter171.ncmp.3 = icmp eq i64 %niter171.next.3, %unroll_iter170
  br i1 %niter171.ncmp.3, label %._crit_edge.us.unr-lcssa, label %.preheader104.us.new, !llvm.loop !34

._crit_edge.us.unr-lcssa:                         ; preds = %.preheader104.us.new, %.preheader104.us
  %.lcssa.ph = phi double [ poison, %.preheader104.us ], [ %65, %.preheader104.us.new ]
  %.3118.us.unr = phi double [ %.2123.us, %.preheader104.us ], [ %65, %.preheader104.us.new ]
  %.086117.us.unr = phi i64 [ 0, %.preheader104.us ], [ %66, %.preheader104.us.new ]
  br i1 %lcmp.mod168.not, label %._crit_edge.us, label %.epil.preheader165

.epil.preheader165:                               ; preds = %._crit_edge.us.unr-lcssa, %.epil.preheader165
  %.3118.us.epil = phi double [ %69, %.epil.preheader165 ], [ %.3118.us.unr, %._crit_edge.us.unr-lcssa ]
  %.086117.us.epil = phi i64 [ %70, %.epil.preheader165 ], [ %.086117.us.unr, %._crit_edge.us.unr-lcssa ]
  %epil.iter167 = phi i64 [ %epil.iter167.next, %.epil.preheader165 ], [ 0, %._crit_edge.us.unr-lcssa ]
  %67 = getelementptr inbounds double, ptr %50, i64 %.086117.us.epil
  %68 = load double, ptr %67, align 8, !tbaa !27
  %69 = tail call double @llvm.fmuladd.f64(double %.3118.us.epil, double 5.000000e-01, double %68)
  %70 = add nuw nsw i64 %.086117.us.epil, 1
  %epil.iter167.next = add i64 %epil.iter167, 1
  %epil.iter167.cmp.not = icmp eq i64 %epil.iter167.next, %xtraiter166
  br i1 %epil.iter167.cmp.not, label %._crit_edge.us, label %.epil.preheader165, !llvm.loop !35

._crit_edge.us:                                   ; preds = %.epil.preheader165, %._crit_edge.us.unr-lcssa
  %.lcssa = phi double [ %.lcssa.ph, %._crit_edge.us.unr-lcssa ], [ %69, %.epil.preheader165 ]
  %71 = add nuw nsw i64 %.291122.us, 1
  %exitcond145.not = icmp eq i64 %71, %10
  br i1 %exitcond145.not, label %._crit_edge124, label %.preheader104.us, !llvm.loop !36

72:                                               ; preds = %72, %.lr.ph114.new
  %.1113 = phi double [ %.0.lcssa, %.lr.ph114.new ], [ %87, %72 ]
  %.190112 = phi i64 [ 0, %.lr.ph114.new ], [ %88, %72 ]
  %niter164 = phi i64 [ 0, %.lr.ph114.new ], [ %niter164.next.3, %72 ]
  %73 = getelementptr inbounds double, ptr %22, i64 %.190112
  %74 = load double, ptr %73, align 8, !tbaa !27
  %75 = tail call double @llvm.fmuladd.f64(double %.1113, double 5.000000e-01, double %74)
  %76 = or disjoint i64 %.190112, 1
  %77 = getelementptr inbounds double, ptr %22, i64 %76
  %78 = load double, ptr %77, align 8, !tbaa !27
  %79 = tail call double @llvm.fmuladd.f64(double %75, double 5.000000e-01, double %78)
  %80 = or disjoint i64 %.190112, 2
  %81 = getelementptr inbounds double, ptr %22, i64 %80
  %82 = load double, ptr %81, align 8, !tbaa !27
  %83 = tail call double @llvm.fmuladd.f64(double %79, double 5.000000e-01, double %82)
  %84 = or disjoint i64 %.190112, 3
  %85 = getelementptr inbounds double, ptr %22, i64 %84
  %86 = load double, ptr %85, align 8, !tbaa !27
  %87 = tail call double @llvm.fmuladd.f64(double %83, double 5.000000e-01, double %86)
  %88 = add nuw nsw i64 %.190112, 4
  %niter164.next.3 = add i64 %niter164, 4
  %niter164.ncmp.3 = icmp eq i64 %niter164.next.3, %unroll_iter163
  br i1 %niter164.ncmp.3, label %.preheader105.unr-lcssa, label %72, !llvm.loop !37

._crit_edge124:                                   ; preds = %._crit_edge.us, %.preheader105, %.preheader106
  %.2.lcssa = phi double [ %.lcssa155, %.preheader105 ], [ %.0.lcssa, %.preheader106 ], [ %.lcssa, %._crit_edge.us ]
  %89 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %.2.lcssa, ptr noundef %6)
  br i1 %89, label %92, label %90

90:                                               ; preds = %._crit_edge124
  %91 = getelementptr inbounds i8, ptr %0, i64 1504
  store i8 1, ptr %91, align 8, !tbaa !38
  br label %221

92:                                               ; preds = %._crit_edge124
  %93 = getelementptr inbounds i8, ptr %0, i64 152
  %94 = load i64, ptr %93, align 8, !tbaa !39
  %95 = icmp sgt i64 %94, 0
  br i1 %95, label %96, label %97

96:                                               ; preds = %92
  tail call void @_ZN11alglib_impl35smoothnessmonitorfinalizelinesearchEPNS_17smoothnessmonitorEPNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef %6)
  br label %97

97:                                               ; preds = %96, %92
  %98 = getelementptr inbounds i8, ptr %0, i64 1505
  store i8 1, ptr %98, align 1, !tbaa !40
  %99 = getelementptr inbounds i8, ptr %0, i64 1512
  store i64 %4, ptr %99, align 8, !tbaa !41
  %100 = getelementptr inbounds i8, ptr %0, i64 1520
  store i64 %5, ptr %100, align 8, !tbaa !42
  store i64 1, ptr %93, align 8, !tbaa !39
  %101 = getelementptr inbounds i8, ptr %0, i64 160
  tail call void @_ZN11alglib_impl13rvectorgrowtoEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %101, i64 noundef 1, ptr noundef %6)
  %102 = getelementptr inbounds i8, ptr %0, i64 224
  %103 = load i64, ptr %93, align 8, !tbaa !39
  %104 = mul nsw i64 %103, %8
  tail call void @_ZN11alglib_impl13rvectorgrowtoEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %102, i64 noundef %104, ptr noundef %6)
  %105 = getelementptr inbounds i8, ptr %0, i64 288
  %106 = load i64, ptr %93, align 8, !tbaa !39
  %107 = mul nsw i64 %106, %10
  tail call void @_ZN11alglib_impl13rvectorgrowtoEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %105, i64 noundef %107, ptr noundef %6)
  %108 = getelementptr inbounds i8, ptr %0, i64 352
  %109 = load i64, ptr %93, align 8, !tbaa !39
  %110 = mul nsw i64 %109, %10
  tail call void @_ZN11alglib_impl17rmatrixgrowrowstoEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %108, i64 noundef %110, i64 noundef %8, ptr noundef %6)
  %111 = getelementptr inbounds i8, ptr %0, i64 216
  %112 = load ptr, ptr %111, align 8, !tbaa !26
  store double 0.000000e+00, ptr %112, align 8, !tbaa !27
  br i1 %.not.not108, label %.preheader103, label %.lr.ph128

.lr.ph128:                                        ; preds = %97
  %113 = getelementptr inbounds i8, ptr %1, i64 56
  %114 = getelementptr inbounds i8, ptr %0, i64 280
  %xtraiter173 = and i64 %8, 3
  %115 = icmp ult i64 %8, 4
  br i1 %115, label %.preheader103.loopexit.unr-lcssa, label %.lr.ph128.new

.lr.ph128.new:                                    ; preds = %.lr.ph128
  %unroll_iter176 = and i64 %8, 9223372036854775804
  br label %125

.preheader103.loopexit.unr-lcssa:                 ; preds = %125, %.lr.ph128
  %.187127.unr = phi i64 [ 0, %.lr.ph128 ], [ %149, %125 ]
  %lcmp.mod175.not = icmp eq i64 %xtraiter173, 0
  br i1 %lcmp.mod175.not, label %.preheader103, label %.epil.preheader172

.epil.preheader172:                               ; preds = %.preheader103.loopexit.unr-lcssa, %.epil.preheader172
  %.187127.epil = phi i64 [ %121, %.epil.preheader172 ], [ %.187127.unr, %.preheader103.loopexit.unr-lcssa ]
  %epil.iter174 = phi i64 [ %epil.iter174.next, %.epil.preheader172 ], [ 0, %.preheader103.loopexit.unr-lcssa ]
  %116 = load ptr, ptr %113, align 8, !tbaa !26
  %117 = getelementptr inbounds double, ptr %116, i64 %.187127.epil
  %118 = load double, ptr %117, align 8, !tbaa !27
  %119 = load ptr, ptr %114, align 8, !tbaa !26
  %120 = getelementptr inbounds double, ptr %119, i64 %.187127.epil
  store double %118, ptr %120, align 8, !tbaa !27
  %121 = add nuw nsw i64 %.187127.epil, 1
  %epil.iter174.next = add i64 %epil.iter174, 1
  %epil.iter174.cmp.not = icmp eq i64 %epil.iter174.next, %xtraiter173
  br i1 %epil.iter174.cmp.not, label %.preheader103, label %.epil.preheader172, !llvm.loop !43

.preheader103:                                    ; preds = %.preheader103.loopexit.unr-lcssa, %.epil.preheader172, %97
  br i1 %.not.not95111, label %._crit_edge137, label %.lr.ph131

.lr.ph131:                                        ; preds = %.preheader103
  %122 = getelementptr inbounds i8, ptr %2, i64 56
  %123 = getelementptr inbounds i8, ptr %0, i64 344
  %xtraiter179 = and i64 %10, 3
  %124 = icmp ult i64 %10, 4
  br i1 %124, label %.preheader102.unr-lcssa, label %.lr.ph131.new

.lr.ph131.new:                                    ; preds = %.lr.ph131
  %unroll_iter182 = and i64 %10, 9223372036854775804
  br label %189

125:                                              ; preds = %125, %.lr.ph128.new
  %.187127 = phi i64 [ 0, %.lr.ph128.new ], [ %149, %125 ]
  %niter177 = phi i64 [ 0, %.lr.ph128.new ], [ %niter177.next.3, %125 ]
  %126 = load ptr, ptr %113, align 8, !tbaa !26
  %127 = getelementptr inbounds double, ptr %126, i64 %.187127
  %128 = load double, ptr %127, align 8, !tbaa !27
  %129 = load ptr, ptr %114, align 8, !tbaa !26
  %130 = getelementptr inbounds double, ptr %129, i64 %.187127
  store double %128, ptr %130, align 8, !tbaa !27
  %131 = or disjoint i64 %.187127, 1
  %132 = load ptr, ptr %113, align 8, !tbaa !26
  %133 = getelementptr inbounds double, ptr %132, i64 %131
  %134 = load double, ptr %133, align 8, !tbaa !27
  %135 = load ptr, ptr %114, align 8, !tbaa !26
  %136 = getelementptr inbounds double, ptr %135, i64 %131
  store double %134, ptr %136, align 8, !tbaa !27
  %137 = or disjoint i64 %.187127, 2
  %138 = load ptr, ptr %113, align 8, !tbaa !26
  %139 = getelementptr inbounds double, ptr %138, i64 %137
  %140 = load double, ptr %139, align 8, !tbaa !27
  %141 = load ptr, ptr %114, align 8, !tbaa !26
  %142 = getelementptr inbounds double, ptr %141, i64 %137
  store double %140, ptr %142, align 8, !tbaa !27
  %143 = or disjoint i64 %.187127, 3
  %144 = load ptr, ptr %113, align 8, !tbaa !26
  %145 = getelementptr inbounds double, ptr %144, i64 %143
  %146 = load double, ptr %145, align 8, !tbaa !27
  %147 = load ptr, ptr %114, align 8, !tbaa !26
  %148 = getelementptr inbounds double, ptr %147, i64 %143
  store double %146, ptr %148, align 8, !tbaa !27
  %149 = add nuw nsw i64 %.187127, 4
  %niter177.next.3 = add i64 %niter177, 4
  %niter177.ncmp.3 = icmp eq i64 %niter177.next.3, %unroll_iter176
  br i1 %niter177.ncmp.3, label %.preheader103.loopexit.unr-lcssa, label %125, !llvm.loop !44

.preheader102.unr-lcssa:                          ; preds = %189, %.lr.ph131
  %.392130.unr = phi i64 [ 0, %.lr.ph131 ], [ %213, %189 ]
  %lcmp.mod181.not = icmp eq i64 %xtraiter179, 0
  br i1 %lcmp.mod181.not, label %.preheader102, label %.epil.preheader178

.epil.preheader178:                               ; preds = %.preheader102.unr-lcssa, %.epil.preheader178
  %.392130.epil = phi i64 [ %155, %.epil.preheader178 ], [ %.392130.unr, %.preheader102.unr-lcssa ]
  %epil.iter180 = phi i64 [ %epil.iter180.next, %.epil.preheader178 ], [ 0, %.preheader102.unr-lcssa ]
  %150 = load ptr, ptr %122, align 8, !tbaa !26
  %151 = getelementptr inbounds double, ptr %150, i64 %.392130.epil
  %152 = load double, ptr %151, align 8, !tbaa !27
  %153 = load ptr, ptr %123, align 8, !tbaa !26
  %154 = getelementptr inbounds double, ptr %153, i64 %.392130.epil
  store double %152, ptr %154, align 8, !tbaa !27
  %155 = add nuw nsw i64 %.392130.epil, 1
  %epil.iter180.next = add i64 %epil.iter180, 1
  %epil.iter180.cmp.not = icmp eq i64 %epil.iter180.next, %xtraiter179
  br i1 %epil.iter180.cmp.not, label %.preheader102, label %.epil.preheader178, !llvm.loop !45

.preheader102:                                    ; preds = %.epil.preheader178, %.preheader102.unr-lcssa
  br i1 %.not.not95111, label %._crit_edge137, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %.preheader102
  %156 = getelementptr inbounds i8, ptr %3, i64 72
  %157 = getelementptr inbounds i8, ptr %0, i64 424
  br i1 %.not.not108, label %._crit_edge137, label %.preheader.us.preheader

.preheader.us.preheader:                          ; preds = %.preheader.lr.ph
  %xtraiter185 = and i64 %8, 1
  %158 = icmp eq i64 %8, 1
  %unroll_iter188 = and i64 %8, 9223372036854775806
  %lcmp.mod187.not = icmp eq i64 %xtraiter185, 0
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us.preheader, %._crit_edge.us138
  %.4136.us = phi i64 [ %188, %._crit_edge.us138 ], [ 0, %.preheader.us.preheader ]
  br i1 %158, label %._crit_edge.us138.unr-lcssa, label %.preheader.us.new

.preheader.us.new:                                ; preds = %.preheader.us, %.preheader.us.new
  %.288133.us = phi i64 [ %178, %.preheader.us.new ], [ 0, %.preheader.us ]
  %niter189 = phi i64 [ %niter189.next.1, %.preheader.us.new ], [ 0, %.preheader.us ]
  %159 = load ptr, ptr %156, align 8, !tbaa !26
  %160 = getelementptr inbounds ptr, ptr %159, i64 %.4136.us
  %161 = load ptr, ptr %160, align 8, !tbaa !33
  %162 = getelementptr inbounds double, ptr %161, i64 %.288133.us
  %163 = load double, ptr %162, align 8, !tbaa !27
  %164 = load ptr, ptr %157, align 8, !tbaa !26
  %165 = getelementptr inbounds ptr, ptr %164, i64 %.4136.us
  %166 = load ptr, ptr %165, align 8, !tbaa !33
  %167 = getelementptr inbounds double, ptr %166, i64 %.288133.us
  store double %163, ptr %167, align 8, !tbaa !27
  %168 = or disjoint i64 %.288133.us, 1
  %169 = load ptr, ptr %156, align 8, !tbaa !26
  %170 = getelementptr inbounds ptr, ptr %169, i64 %.4136.us
  %171 = load ptr, ptr %170, align 8, !tbaa !33
  %172 = getelementptr inbounds double, ptr %171, i64 %168
  %173 = load double, ptr %172, align 8, !tbaa !27
  %174 = load ptr, ptr %157, align 8, !tbaa !26
  %175 = getelementptr inbounds ptr, ptr %174, i64 %.4136.us
  %176 = load ptr, ptr %175, align 8, !tbaa !33
  %177 = getelementptr inbounds double, ptr %176, i64 %168
  store double %173, ptr %177, align 8, !tbaa !27
  %178 = add nuw nsw i64 %.288133.us, 2
  %niter189.next.1 = add i64 %niter189, 2
  %niter189.ncmp.1 = icmp eq i64 %niter189.next.1, %unroll_iter188
  br i1 %niter189.ncmp.1, label %._crit_edge.us138.unr-lcssa, label %.preheader.us.new, !llvm.loop !46

._crit_edge.us138.unr-lcssa:                      ; preds = %.preheader.us.new, %.preheader.us
  %.288133.us.unr = phi i64 [ 0, %.preheader.us ], [ %178, %.preheader.us.new ]
  br i1 %lcmp.mod187.not, label %._crit_edge.us138, label %._crit_edge.us138.epilog-lcssa

._crit_edge.us138.epilog-lcssa:                   ; preds = %._crit_edge.us138.unr-lcssa
  %179 = load ptr, ptr %156, align 8, !tbaa !26
  %180 = getelementptr inbounds ptr, ptr %179, i64 %.4136.us
  %181 = load ptr, ptr %180, align 8, !tbaa !33
  %182 = getelementptr inbounds double, ptr %181, i64 %.288133.us.unr
  %183 = load double, ptr %182, align 8, !tbaa !27
  %184 = load ptr, ptr %157, align 8, !tbaa !26
  %185 = getelementptr inbounds ptr, ptr %184, i64 %.4136.us
  %186 = load ptr, ptr %185, align 8, !tbaa !33
  %187 = getelementptr inbounds double, ptr %186, i64 %.288133.us.unr
  store double %183, ptr %187, align 8, !tbaa !27
  br label %._crit_edge.us138

._crit_edge.us138:                                ; preds = %._crit_edge.us138.unr-lcssa, %._crit_edge.us138.epilog-lcssa
  %188 = add nuw nsw i64 %.4136.us, 1
  %exitcond149.not = icmp eq i64 %188, %10
  br i1 %exitcond149.not, label %._crit_edge137, label %.preheader.us, !llvm.loop !47

189:                                              ; preds = %189, %.lr.ph131.new
  %.392130 = phi i64 [ 0, %.lr.ph131.new ], [ %213, %189 ]
  %niter183 = phi i64 [ 0, %.lr.ph131.new ], [ %niter183.next.3, %189 ]
  %190 = load ptr, ptr %122, align 8, !tbaa !26
  %191 = getelementptr inbounds double, ptr %190, i64 %.392130
  %192 = load double, ptr %191, align 8, !tbaa !27
  %193 = load ptr, ptr %123, align 8, !tbaa !26
  %194 = getelementptr inbounds double, ptr %193, i64 %.392130
  store double %192, ptr %194, align 8, !tbaa !27
  %195 = or disjoint i64 %.392130, 1
  %196 = load ptr, ptr %122, align 8, !tbaa !26
  %197 = getelementptr inbounds double, ptr %196, i64 %195
  %198 = load double, ptr %197, align 8, !tbaa !27
  %199 = load ptr, ptr %123, align 8, !tbaa !26
  %200 = getelementptr inbounds double, ptr %199, i64 %195
  store double %198, ptr %200, align 8, !tbaa !27
  %201 = or disjoint i64 %.392130, 2
  %202 = load ptr, ptr %122, align 8, !tbaa !26
  %203 = getelementptr inbounds double, ptr %202, i64 %201
  %204 = load double, ptr %203, align 8, !tbaa !27
  %205 = load ptr, ptr %123, align 8, !tbaa !26
  %206 = getelementptr inbounds double, ptr %205, i64 %201
  store double %204, ptr %206, align 8, !tbaa !27
  %207 = or disjoint i64 %.392130, 3
  %208 = load ptr, ptr %122, align 8, !tbaa !26
  %209 = getelementptr inbounds double, ptr %208, i64 %207
  %210 = load double, ptr %209, align 8, !tbaa !27
  %211 = load ptr, ptr %123, align 8, !tbaa !26
  %212 = getelementptr inbounds double, ptr %211, i64 %207
  store double %210, ptr %212, align 8, !tbaa !27
  %213 = add nuw nsw i64 %.392130, 4
  %niter183.next.3 = add i64 %niter183, 4
  %niter183.ncmp.3 = icmp eq i64 %niter183.next.3, %unroll_iter182
  br i1 %niter183.ncmp.3, label %.preheader102.unr-lcssa, label %189, !llvm.loop !48

._crit_edge137:                                   ; preds = %._crit_edge.us138, %.preheader103, %.preheader.lr.ph, %.preheader102
  %214 = getelementptr inbounds i8, ptr %0, i64 432
  tail call void @_ZN11alglib_impl13rvectorgrowtoEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %214, i64 noundef 1, ptr noundef %6)
  %215 = getelementptr inbounds i8, ptr %0, i64 496
  tail call void @_ZN11alglib_impl13ivectorgrowtoEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %215, i64 noundef 1, ptr noundef %6)
  %216 = getelementptr inbounds i8, ptr %0, i64 488
  %217 = load ptr, ptr %216, align 8, !tbaa !26
  store double 0.000000e+00, ptr %217, align 8, !tbaa !27
  %218 = getelementptr inbounds i8, ptr %0, i64 552
  %219 = load ptr, ptr %218, align 8, !tbaa !26
  store i64 0, ptr %219, align 8, !tbaa !49
  %220 = getelementptr inbounds i8, ptr %0, i64 560
  store i64 1, ptr %220, align 8, !tbaa !50
  br label %221

221:                                              ; preds = %7, %._crit_edge137, %90
  ret void
}

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

declare void @_ZN11alglib_impl13rvectorgrowtoEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl17rmatrixgrowrowstoEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl13ivectorgrowtoEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

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

!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_impl17smoothnessmonitorE", !7, i64 0, !7, i64 8, !10, i64 16, !11, i64 24, !11, i64 88, !7, i64 152, !11, i64 160, !11, i64 224, !11, i64 288, !14, i64 352, !11, i64 432, !11, i64 496, !7, i64 560, !7, i64 568, !7, i64 576, !15, i64 584, !7, i64 592, !11, i64 600, !11, i64 664, !15, i64 728, !11, i64 736, !11, i64 800, !15, i64 864, !14, i64 872, !14, i64 952, !14, i64 1032, !11, i64 1112, !11, i64 1176, !16, i64 1240, !10, i64 1504, !10, i64 1505, !7, i64 1512, !7, i64 1520, !15, i64 1528, !15, i64 1536, !10, i64 1544, !18, i64 1552, !15, i64 1848, !15, i64 1856, !19, i64 1864, !19, i64 2184, !15, i64 2504, !15, i64 2512, !20, i64 2520, !20, i64 2840, !15, i64 3160, !15, i64 3168, !21, i64 3176, !21, i64 3504, !10, i64 3832, !11, i64 3840, !11, i64 3904, !14, i64 3968, !16, i64 4048, !11, i64 4312, !11, i64 4376, !11, i64 4440, !11, i64 4504, !11, i64 4568, !11, i64 4632, !11, i64 4696, !11, i64 4760, !14, i64 4824, !14, i64 4904, !11, i64 4984, !11, i64 5048, !11, i64 5112, !11, i64 5176, !11, i64 5240, !11, i64 5304, !11, i64 5368, !11, i64 5432, !11, i64 5496, !11, i64 5560, !14, i64 5624}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"_ZTSN11alglib_impl9ae_vectorE", !7, i64 0, !7, i64 8, !10, i64 16, !12, i64 24, !8, i64 56}
!12 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!"_ZTSN11alglib_impl9ae_matrixE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !12, i64 40, !8, i64 72}
!15 = !{!"double", !8, i64 0}
!16 = !{!"_ZTSN11alglib_impl10rcommstateE", !17, i64 0, !11, i64 8, !11, i64 72, !11, i64 136, !11, i64 200}
!17 = !{!"int", !8, i64 0}
!18 = !{!"_ZTSN11alglib_impl14optguardreportE", !10, i64 0, !10, i64 1, !7, i64 8, !15, i64 16, !10, i64 24, !10, i64 25, !10, i64 26, !7, i64 32, !15, i64 40, !10, i64 48, !7, i64 56, !7, i64 64, !11, i64 72, !14, i64 136, !14, i64 216}
!19 = !{!"_ZTSN11alglib_impl19optguardnonc0reportE", !10, i64 0, !7, i64 8, !11, i64 16, !11, i64 80, !7, i64 144, !11, i64 152, !11, i64 216, !7, i64 280, !7, i64 288, !7, i64 296, !7, i64 304, !7, i64 312}
!20 = !{!"_ZTSN11alglib_impl24optguardnonc1test0reportE", !10, i64 0, !7, i64 8, !11, i64 16, !11, i64 80, !7, i64 144, !11, i64 152, !11, i64 216, !7, i64 280, !7, i64 288, !7, i64 296, !7, i64 304, !7, i64 312}
!21 = !{!"_ZTSN11alglib_impl24optguardnonc1test1reportE", !10, i64 0, !7, i64 8, !7, i64 16, !11, i64 24, !11, i64 88, !7, i64 152, !11, i64 160, !11, i64 224, !7, i64 288, !7, i64 296, !7, i64 304, !7, i64 312, !7, i64 320}
!22 = !{!6, !7, i64 8}
!23 = !{!6, !10, i64 16}
!24 = !{i8 0, i8 2}
!25 = !{}
!26 = !{!8, !8, i64 0}
!27 = !{!15, !15, i64 0}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.unroll.disable"}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = distinct !{!32, !29}
!33 = !{!13, !13, i64 0}
!34 = distinct !{!34, !31}
!35 = distinct !{!35, !29}
!36 = distinct !{!36, !31}
!37 = distinct !{!37, !31}
!38 = !{!6, !10, i64 1504}
!39 = !{!6, !7, i64 152}
!40 = !{!6, !10, i64 1505}
!41 = !{!6, !7, i64 1512}
!42 = !{!6, !7, i64 1520}
!43 = distinct !{!43, !29}
!44 = distinct !{!44, !31}
!45 = distinct !{!45, !29}
!46 = distinct !{!46, !31}
!47 = distinct !{!47, !31}
!48 = distinct !{!48, !31}
!49 = !{!7, !7, i64 0}
!50 = !{!6, !7, i64 560}


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