; LLVM IR from venumb/ZSPACE :: cpp/depends/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", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i8, i8, double, double, i8, %"struct.alglib_impl::optguardreport", double, double, %"struct.alglib_impl::optguardnonc1test0report", %"struct.alglib_impl::optguardnonc1test0report", double, double, %"struct.alglib_impl::optguardnonc1test1report", %"struct.alglib_impl::optguardnonc1test1report", i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::rcommstate", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix" }
%"struct.alglib_impl::optguardreport" = type { i8, i8, i64, double, i8, i8, i8, i64, double, i8, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix" }
%"struct.alglib_impl::optguardnonc1test0report" = type { i8, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64 }
%"struct.alglib_impl::optguardnonc1test1report" = type { i8, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64 }
%"struct.alglib_impl::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

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

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

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

27:                                               ; preds = %5
  store i32 1, ptr %16, align 4
  br label %251

28:                                               ; preds = %5
  store double 0.000000e+00, ptr %15, align 8, !tbaa !27
  store i64 0, ptr %13, align 8, !tbaa !22
  br label %29

29:                                               ; preds = %43, %28
  %30 = load i64, ptr %13, align 8, !tbaa !22
  %31 = load i64, ptr %11, align 8, !tbaa !22
  %32 = sub nsw i64 %31, 1
  %33 = icmp sle i64 %30, %32
  br i1 %33, label %34, label %46

34:                                               ; preds = %29
  %35 = load double, ptr %15, align 8, !tbaa !27
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  %37 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %36, i32 0, i32 4
  %38 = load ptr, ptr %37, align 8, !tbaa !28
  %39 = load i64, ptr %13, align 8, !tbaa !22
  %40 = getelementptr inbounds double, ptr %38, i64 %39
  %41 = load double, ptr %40, align 8, !tbaa !27
  %42 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %35, double %41)
  store double %42, ptr %15, align 8, !tbaa !27
  br label %43

43:                                               ; preds = %34
  %44 = load i64, ptr %13, align 8, !tbaa !22
  %45 = add nsw i64 %44, 1
  store i64 %45, ptr %13, align 8, !tbaa !22
  br label %29, !llvm.loop !29

46:                                               ; preds = %29
  store i64 0, ptr %13, align 8, !tbaa !22
  br label %47

47:                                               ; preds = %61, %46
  %48 = load i64, ptr %13, align 8, !tbaa !22
  %49 = load i64, ptr %12, align 8, !tbaa !22
  %50 = sub nsw i64 %49, 1
  %51 = icmp sle i64 %48, %50
  br i1 %51, label %52, label %64

52:                                               ; preds = %47
  %53 = load double, ptr %15, align 8, !tbaa !27
  %54 = load ptr, ptr %8, align 8, !tbaa !5
  %55 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %54, i32 0, i32 4
  %56 = load ptr, ptr %55, align 8, !tbaa !28
  %57 = load i64, ptr %13, align 8, !tbaa !22
  %58 = getelementptr inbounds double, ptr %56, i64 %57
  %59 = load double, ptr %58, align 8, !tbaa !27
  %60 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %53, double %59)
  store double %60, ptr %15, align 8, !tbaa !27
  br label %61

61:                                               ; preds = %52
  %62 = load i64, ptr %13, align 8, !tbaa !22
  %63 = add nsw i64 %62, 1
  store i64 %63, ptr %13, align 8, !tbaa !22
  br label %47, !llvm.loop !31

64:                                               ; preds = %47
  store i64 0, ptr %13, align 8, !tbaa !22
  br label %65

65:                                               ; preds = %92, %64
  %66 = load i64, ptr %13, align 8, !tbaa !22
  %67 = load i64, ptr %12, align 8, !tbaa !22
  %68 = sub nsw i64 %67, 1
  %69 = icmp sle i64 %66, %68
  br i1 %69, label %70, label %95

70:                                               ; preds = %65
  store i64 0, ptr %14, align 8, !tbaa !22
  br label %71

71:                                               ; preds = %88, %70
  %72 = load i64, ptr %14, align 8, !tbaa !22
  %73 = load i64, ptr %11, align 8, !tbaa !22
  %74 = sub nsw i64 %73, 1
  %75 = icmp sle i64 %72, %74
  br i1 %75, label %76, label %91

76:                                               ; preds = %71
  %77 = load double, ptr %15, align 8, !tbaa !27
  %78 = load ptr, ptr %9, align 8, !tbaa !5
  %79 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %78, i32 0, i32 6
  %80 = load ptr, ptr %79, align 8, !tbaa !28
  %81 = load i64, ptr %13, align 8, !tbaa !22
  %82 = getelementptr inbounds ptr, ptr %80, i64 %81
  %83 = load ptr, ptr %82, align 8, !tbaa !5
  %84 = load i64, ptr %14, align 8, !tbaa !22
  %85 = getelementptr inbounds double, ptr %83, i64 %84
  %86 = load double, ptr %85, align 8, !tbaa !27
  %87 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %77, double %86)
  store double %87, ptr %15, align 8, !tbaa !27
  br label %88

88:                                               ; preds = %76
  %89 = load i64, ptr %14, align 8, !tbaa !22
  %90 = add nsw i64 %89, 1
  store i64 %90, ptr %14, align 8, !tbaa !22
  br label %71, !llvm.loop !32

91:                                               ; preds = %71
  br label %92

92:                                               ; preds = %91
  %93 = load i64, ptr %13, align 8, !tbaa !22
  %94 = add nsw i64 %93, 1
  store i64 %94, ptr %13, align 8, !tbaa !22
  br label %65, !llvm.loop !33

95:                                               ; preds = %65
  %96 = load double, ptr %15, align 8, !tbaa !27
  %97 = load ptr, ptr %10, align 8, !tbaa !5
  %98 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %96, ptr noundef %97)
  br i1 %98, label %102, label %99

99:                                               ; preds = %95
  %100 = load ptr, ptr %6, align 8, !tbaa !5
  %101 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %100, i32 0, i32 12
  store i8 1, ptr %101, align 8, !tbaa !34
  store i32 1, ptr %16, align 4
  br label %251

102:                                              ; preds = %95
  %103 = load ptr, ptr %6, align 8, !tbaa !5
  %104 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %103, i32 0, i32 4
  %105 = load i64, ptr %104, align 8, !tbaa !35
  %106 = icmp sgt i64 %105, 0
  br i1 %106, label %107, label %110

107:                                              ; preds = %102
  %108 = load ptr, ptr %6, align 8, !tbaa !5
  %109 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl35smoothnessmonitorfinalizelinesearchEPNS_17smoothnessmonitorEPNS_8ae_stateE(ptr noundef %108, ptr noundef %109)
  br label %110

110:                                              ; preds = %107, %102
  %111 = load ptr, ptr %6, align 8, !tbaa !5
  %112 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %111, i32 0, i32 13
  store i8 1, ptr %112, align 1, !tbaa !36
  %113 = load ptr, ptr %6, align 8, !tbaa !5
  %114 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %113, i32 0, i32 4
  store i64 1, ptr %114, align 8, !tbaa !35
  %115 = load ptr, ptr %6, align 8, !tbaa !5
  %116 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %115, i32 0, i32 5
  %117 = load ptr, ptr %6, align 8, !tbaa !5
  %118 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %117, i32 0, i32 4
  %119 = load i64, ptr %118, align 8, !tbaa !35
  %120 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl13rvectorgrowtoEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %116, i64 noundef %119, ptr noundef %120)
  %121 = load ptr, ptr %6, align 8, !tbaa !5
  %122 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %121, i32 0, i32 6
  %123 = load ptr, ptr %6, align 8, !tbaa !5
  %124 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %123, i32 0, i32 4
  %125 = load i64, ptr %124, align 8, !tbaa !35
  %126 = load i64, ptr %11, align 8, !tbaa !22
  %127 = mul nsw i64 %125, %126
  %128 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl13rvectorgrowtoEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %122, i64 noundef %127, ptr noundef %128)
  %129 = load ptr, ptr %6, align 8, !tbaa !5
  %130 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %129, i32 0, i32 7
  %131 = load ptr, ptr %6, align 8, !tbaa !5
  %132 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %131, i32 0, i32 4
  %133 = load i64, ptr %132, align 8, !tbaa !35
  %134 = load i64, ptr %12, align 8, !tbaa !22
  %135 = mul nsw i64 %133, %134
  %136 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl13rvectorgrowtoEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %130, i64 noundef %135, ptr noundef %136)
  %137 = load ptr, ptr %6, align 8, !tbaa !5
  %138 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %137, i32 0, i32 8
  %139 = load ptr, ptr %6, align 8, !tbaa !5
  %140 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %139, i32 0, i32 4
  %141 = load i64, ptr %140, align 8, !tbaa !35
  %142 = load i64, ptr %12, align 8, !tbaa !22
  %143 = mul nsw i64 %141, %142
  %144 = load i64, ptr %11, align 8, !tbaa !22
  %145 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl17rmatrixgrowrowstoEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %138, i64 noundef %143, i64 noundef %144, ptr noundef %145)
  %146 = load ptr, ptr %6, align 8, !tbaa !5
  %147 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %146, i32 0, i32 5
  %148 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %147, i32 0, i32 4
  %149 = load ptr, ptr %148, align 8, !tbaa !28
  %150 = getelementptr inbounds double, ptr %149, i64 0
  store double 0.000000e+00, ptr %150, align 8, !tbaa !27
  store i64 0, ptr %14, align 8, !tbaa !22
  br label %151

151:                                              ; preds = %169, %110
  %152 = load i64, ptr %14, align 8, !tbaa !22
  %153 = load i64, ptr %11, align 8, !tbaa !22
  %154 = sub nsw i64 %153, 1
  %155 = icmp sle i64 %152, %154
  br i1 %155, label %156, label %172

156:                                              ; preds = %151
  %157 = load ptr, ptr %7, align 8, !tbaa !5
  %158 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %157, i32 0, i32 4
  %159 = load ptr, ptr %158, align 8, !tbaa !28
  %160 = load i64, ptr %14, align 8, !tbaa !22
  %161 = getelementptr inbounds double, ptr %159, i64 %160
  %162 = load double, ptr %161, align 8, !tbaa !27
  %163 = load ptr, ptr %6, align 8, !tbaa !5
  %164 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %163, i32 0, i32 6
  %165 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %164, i32 0, i32 4
  %166 = load ptr, ptr %165, align 8, !tbaa !28
  %167 = load i64, ptr %14, align 8, !tbaa !22
  %168 = getelementptr inbounds double, ptr %166, i64 %167
  store double %162, ptr %168, align 8, !tbaa !27
  br label %169

169:                                              ; preds = %156
  %170 = load i64, ptr %14, align 8, !tbaa !22
  %171 = add nsw i64 %170, 1
  store i64 %171, ptr %14, align 8, !tbaa !22
  br label %151, !llvm.loop !37

172:                                              ; preds = %151
  store i64 0, ptr %13, align 8, !tbaa !22
  br label %173

173:                                              ; preds = %191, %172
  %174 = load i64, ptr %13, align 8, !tbaa !22
  %175 = load i64, ptr %12, align 8, !tbaa !22
  %176 = sub nsw i64 %175, 1
  %177 = icmp sle i64 %174, %176
  br i1 %177, label %178, label %194

178:                                              ; preds = %173
  %179 = load ptr, ptr %8, align 8, !tbaa !5
  %180 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %179, i32 0, i32 4
  %181 = load ptr, ptr %180, align 8, !tbaa !28
  %182 = load i64, ptr %13, align 8, !tbaa !22
  %183 = getelementptr inbounds double, ptr %181, i64 %182
  %184 = load double, ptr %183, align 8, !tbaa !27
  %185 = load ptr, ptr %6, align 8, !tbaa !5
  %186 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %185, i32 0, i32 7
  %187 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %186, i32 0, i32 4
  %188 = load ptr, ptr %187, align 8, !tbaa !28
  %189 = load i64, ptr %13, align 8, !tbaa !22
  %190 = getelementptr inbounds double, ptr %188, i64 %189
  store double %184, ptr %190, align 8, !tbaa !27
  br label %191

191:                                              ; preds = %178
  %192 = load i64, ptr %13, align 8, !tbaa !22
  %193 = add nsw i64 %192, 1
  store i64 %193, ptr %13, align 8, !tbaa !22
  br label %173, !llvm.loop !38

194:                                              ; preds = %173
  store i64 0, ptr %13, align 8, !tbaa !22
  br label %195

195:                                              ; preds = %229, %194
  %196 = load i64, ptr %13, align 8, !tbaa !22
  %197 = load i64, ptr %12, align 8, !tbaa !22
  %198 = sub nsw i64 %197, 1
  %199 = icmp sle i64 %196, %198
  br i1 %199, label %200, label %232

200:                                              ; preds = %195
  store i64 0, ptr %14, align 8, !tbaa !22
  br label %201

201:                                              ; preds = %225, %200
  %202 = load i64, ptr %14, align 8, !tbaa !22
  %203 = load i64, ptr %11, align 8, !tbaa !22
  %204 = sub nsw i64 %203, 1
  %205 = icmp sle i64 %202, %204
  br i1 %205, label %206, label %228

206:                                              ; preds = %201
  %207 = load ptr, ptr %9, align 8, !tbaa !5
  %208 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %207, i32 0, i32 6
  %209 = load ptr, ptr %208, align 8, !tbaa !28
  %210 = load i64, ptr %13, align 8, !tbaa !22
  %211 = getelementptr inbounds ptr, ptr %209, i64 %210
  %212 = load ptr, ptr %211, align 8, !tbaa !5
  %213 = load i64, ptr %14, align 8, !tbaa !22
  %214 = getelementptr inbounds double, ptr %212, i64 %213
  %215 = load double, ptr %214, align 8, !tbaa !27
  %216 = load ptr, ptr %6, align 8, !tbaa !5
  %217 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %216, i32 0, i32 8
  %218 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %217, i32 0, i32 6
  %219 = load ptr, ptr %218, align 8, !tbaa !28
  %220 = load i64, ptr %13, align 8, !tbaa !22
  %221 = getelementptr inbounds ptr, ptr %219, i64 %220
  %222 = load ptr, ptr %221, align 8, !tbaa !5
  %223 = load i64, ptr %14, align 8, !tbaa !22
  %224 = getelementptr inbounds double, ptr %222, i64 %223
  store double %215, ptr %224, align 8, !tbaa !27
  br label %225

225:                                              ; preds = %206
  %226 = load i64, ptr %14, align 8, !tbaa !22
  %227 = add nsw i64 %226, 1
  store i64 %227, ptr %14, align 8, !tbaa !22
  br label %201, !llvm.loop !39

228:                                              ; preds = %201
  br label %229

229:                                              ; preds = %228
  %230 = load i64, ptr %13, align 8, !tbaa !22
  %231 = add nsw i64 %230, 1
  store i64 %231, ptr %13, align 8, !tbaa !22
  br label %195, !llvm.loop !40

232:                                              ; preds = %195
  %233 = load ptr, ptr %6, align 8, !tbaa !5
  %234 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %233, i32 0, i32 9
  %235 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl13rvectorgrowtoEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %234, i64 noundef 1, ptr noundef %235)
  %236 = load ptr, ptr %6, align 8, !tbaa !5
  %237 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %236, i32 0, i32 10
  %238 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl13ivectorgrowtoEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %237, i64 noundef 1, ptr noundef %238)
  %239 = load ptr, ptr %6, align 8, !tbaa !5
  %240 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %239, i32 0, i32 9
  %241 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %240, i32 0, i32 4
  %242 = load ptr, ptr %241, align 8, !tbaa !28
  %243 = getelementptr inbounds double, ptr %242, i64 0
  store double 0.000000e+00, ptr %243, align 8, !tbaa !27
  %244 = load ptr, ptr %6, align 8, !tbaa !5
  %245 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %244, i32 0, i32 10
  %246 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %245, i32 0, i32 4
  %247 = load ptr, ptr %246, align 8, !tbaa !28
  %248 = getelementptr inbounds i64, ptr %247, i64 0
  store i64 0, ptr %248, align 8, !tbaa !22
  %249 = load ptr, ptr %6, align 8, !tbaa !5
  %250 = getelementptr inbounds %"struct.alglib_impl::smoothnessmonitor", ptr %249, i32 0, i32 11
  store i64 1, ptr %250, align 8, !tbaa !41
  store i32 0, ptr %16, align 4
  br label %251

251:                                              ; preds = %232, %99, %27
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  %252 = load i32, ptr %16, align 4
  switch i32 %252, label %254 [
    i32 0, label %253
    i32 1, label %253
  ]

253:                                              ; preds = %251, %251
  ret void

254:                                              ; preds = %251
  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) #1

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { 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, !11, i64 0}
!10 = !{!"_ZTSN11alglib_impl17smoothnessmonitorE", !11, i64 0, !11, i64 8, !12, i64 16, !13, i64 24, !11, i64 88, !13, i64 96, !13, i64 160, !13, i64 224, !15, i64 288, !13, i64 368, !13, i64 432, !11, i64 496, !12, i64 504, !12, i64 505, !16, i64 512, !16, i64 520, !12, i64 528, !17, i64 536, !16, i64 832, !16, i64 840, !18, i64 848, !18, i64 1152, !16, i64 1456, !16, i64 1464, !19, i64 1472, !19, i64 1784, !12, i64 2096, !13, i64 2104, !13, i64 2168, !15, i64 2232, !20, i64 2312, !13, i64 2576, !13, i64 2640, !13, i64 2704, !13, i64 2768, !13, i64 2832, !13, i64 2896, !13, i64 2960, !13, i64 3024, !15, i64 3088, !15, i64 3168, !13, i64 3248, !13, i64 3312, !13, i64 3376, !13, i64 3440, !13, i64 3504, !13, i64 3568, !13, i64 3632, !13, i64 3696, !13, i64 3760, !13, i64 3824, !15, i64 3888}
!11 = !{!"long", !7, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!"_ZTSN11alglib_impl9ae_vectorE", !11, i64 0, !11, i64 8, !12, i64 16, !14, i64 24, !7, i64 56}
!14 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!15 = !{!"_ZTSN11alglib_impl9ae_matrixE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !12, i64 32, !14, i64 40, !7, i64 72}
!16 = !{!"double", !7, i64 0}
!17 = !{!"_ZTSN11alglib_impl14optguardreportE", !12, i64 0, !12, i64 1, !11, i64 8, !16, i64 16, !12, i64 24, !12, i64 25, !12, i64 26, !11, i64 32, !16, i64 40, !12, i64 48, !11, i64 56, !11, i64 64, !13, i64 72, !15, i64 136, !15, i64 216}
!18 = !{!"_ZTSN11alglib_impl24optguardnonc1test0reportE", !12, i64 0, !11, i64 8, !13, i64 16, !13, i64 80, !11, i64 144, !13, i64 152, !13, i64 216, !11, i64 280, !11, i64 288, !11, i64 296}
!19 = !{!"_ZTSN11alglib_impl24optguardnonc1test1reportE", !12, i64 0, !11, i64 8, !11, i64 16, !13, i64 24, !13, i64 88, !11, i64 152, !13, i64 160, !13, i64 224, !11, i64 288, !11, i64 296, !11, i64 304}
!20 = !{!"_ZTSN11alglib_impl10rcommstateE", !21, i64 0, !13, i64 8, !13, i64 72, !13, i64 136, !13, i64 200}
!21 = !{!"int", !7, i64 0}
!22 = !{!11, !11, i64 0}
!23 = !{!10, !11, i64 8}
!24 = !{!10, !12, i64 16}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!16, !16, i64 0}
!28 = !{!7, !7, i64 0}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = distinct !{!31, !30}
!32 = distinct !{!32, !30}
!33 = distinct !{!33, !30}
!34 = !{!10, !12, i64 504}
!35 = !{!10, !11, i64 88}
!36 = !{!10, !12, i64 505}
!37 = distinct !{!37, !30}
!38 = distinct !{!38, !30}
!39 = distinct !{!39, !30}
!40 = distinct !{!40, !30}
!41 = !{!10, !11, i64 496}


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

declare noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double 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

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

.preheader103:                                    ; preds = %5
  %.not.not104 = icmp slt i64 %6, 1
  br i1 %.not.not104, label %.preheader102, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader103
  %12 = getelementptr inbounds i8, ptr %1, i64 56
  %13 = load ptr, ptr %12, align 8, !tbaa !25
  %xtraiter = and i64 %6, 3
  %14 = icmp ult i64 %6, 4
  br i1 %14, label %.preheader102.loopexit.unr-lcssa, label %.lr.ph.new

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

.preheader102.loopexit.unr-lcssa:                 ; preds = %22, %.lr.ph
  %.lcssa152.ph = phi double [ poison, %.lr.ph ], [ %37, %22 ]
  %.0106.unr = phi double [ 0.000000e+00, %.lr.ph ], [ %37, %22 ]
  %.085105.unr = phi i64 [ 0, %.lr.ph ], [ %38, %22 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader102, label %.epil.preheader

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

.preheader102:                                    ; preds = %.preheader102.loopexit.unr-lcssa, %.epil.preheader, %.preheader103
  %.0.lcssa = phi double [ 0.000000e+00, %.preheader103 ], [ %.lcssa152.ph, %.preheader102.loopexit.unr-lcssa ], [ %17, %.epil.preheader ]
  %.not.not91107 = icmp slt i64 %8, 1
  br i1 %.not.not91107, label %._crit_edge120, label %.lr.ph110

.lr.ph110:                                        ; preds = %.preheader102
  %19 = getelementptr inbounds i8, ptr %2, i64 56
  %20 = load ptr, ptr %19, align 8, !tbaa !25
  %xtraiter155 = and i64 %8, 3
  %21 = icmp ult i64 %8, 4
  br i1 %21, label %.preheader101.unr-lcssa, label %.lr.ph110.new

.lr.ph110.new:                                    ; preds = %.lr.ph110
  %unroll_iter159 = and i64 %8, 9223372036854775804
  br label %70

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

.preheader101.unr-lcssa:                          ; preds = %70, %.lr.ph110
  %.lcssa151.ph = phi double [ poison, %.lr.ph110 ], [ %85, %70 ]
  %.1109.unr = phi double [ %.0.lcssa, %.lr.ph110 ], [ %85, %70 ]
  %.186108.unr = phi i64 [ 0, %.lr.ph110 ], [ %86, %70 ]
  %lcmp.mod157.not = icmp eq i64 %xtraiter155, 0
  br i1 %lcmp.mod157.not, label %.preheader101, label %.epil.preheader154

.epil.preheader154:                               ; preds = %.preheader101.unr-lcssa, %.epil.preheader154
  %.1109.epil = phi double [ %41, %.epil.preheader154 ], [ %.1109.unr, %.preheader101.unr-lcssa ]
  %.186108.epil = phi i64 [ %42, %.epil.preheader154 ], [ %.186108.unr, %.preheader101.unr-lcssa ]
  %epil.iter156 = phi i64 [ %epil.iter156.next, %.epil.preheader154 ], [ 0, %.preheader101.unr-lcssa ]
  %39 = getelementptr inbounds double, ptr %20, i64 %.186108.epil
  %40 = load double, ptr %39, align 8, !tbaa !26
  %41 = tail call double @llvm.fmuladd.f64(double %.1109.epil, double 5.000000e-01, double %40)
  %42 = add nuw nsw i64 %.186108.epil, 1
  %epil.iter156.next = add i64 %epil.iter156, 1
  %epil.iter156.cmp.not = icmp eq i64 %epil.iter156.next, %xtraiter155
  br i1 %epil.iter156.cmp.not, label %.preheader101, label %.epil.preheader154, !llvm.loop !31

.preheader101:                                    ; preds = %.epil.preheader154, %.preheader101.unr-lcssa
  %.lcssa151 = phi double [ %.lcssa151.ph, %.preheader101.unr-lcssa ], [ %41, %.epil.preheader154 ]
  %brmerge = or i1 %.not.not91107, %.not.not104
  br i1 %brmerge, label %._crit_edge120, label %.preheader100.lr.ph.split.us

.preheader100.lr.ph.split.us:                     ; preds = %.preheader101
  %43 = getelementptr inbounds i8, ptr %3, i64 72
  %44 = load ptr, ptr %43, align 8, !tbaa !25
  %45 = add nsw i64 %6, -1
  %xtraiter162 = and i64 %6, 3
  %46 = icmp ult i64 %45, 3
  %unroll_iter166 = and i64 %6, 9223372036854775804
  %lcmp.mod164.not = icmp eq i64 %xtraiter162, 0
  br label %.preheader100.us

.preheader100.us:                                 ; preds = %._crit_edge.us, %.preheader100.lr.ph.split.us
  %.2119.us = phi double [ %.lcssa151, %.preheader100.lr.ph.split.us ], [ %.lcssa, %._crit_edge.us ]
  %.287118.us = phi i64 [ 0, %.preheader100.lr.ph.split.us ], [ %69, %._crit_edge.us ]
  %47 = getelementptr inbounds ptr, ptr %44, i64 %.287118.us
  %48 = load ptr, ptr %47, align 8, !tbaa !32
  br i1 %46, label %._crit_edge.us.unr-lcssa, label %.preheader100.us.new

.preheader100.us.new:                             ; preds = %.preheader100.us, %.preheader100.us.new
  %.3114.us = phi double [ %63, %.preheader100.us.new ], [ %.2119.us, %.preheader100.us ]
  %.082113.us = phi i64 [ %64, %.preheader100.us.new ], [ 0, %.preheader100.us ]
  %niter167 = phi i64 [ %niter167.next.3, %.preheader100.us.new ], [ 0, %.preheader100.us ]
  %49 = getelementptr inbounds double, ptr %48, i64 %.082113.us
  %50 = load double, ptr %49, align 8, !tbaa !26
  %51 = tail call double @llvm.fmuladd.f64(double %.3114.us, double 5.000000e-01, double %50)
  %52 = or disjoint i64 %.082113.us, 1
  %53 = getelementptr inbounds double, ptr %48, i64 %52
  %54 = load double, ptr %53, align 8, !tbaa !26
  %55 = tail call double @llvm.fmuladd.f64(double %51, double 5.000000e-01, double %54)
  %56 = or disjoint i64 %.082113.us, 2
  %57 = getelementptr inbounds double, ptr %48, i64 %56
  %58 = load double, ptr %57, align 8, !tbaa !26
  %59 = tail call double @llvm.fmuladd.f64(double %55, double 5.000000e-01, double %58)
  %60 = or disjoint i64 %.082113.us, 3
  %61 = getelementptr inbounds double, ptr %48, i64 %60
  %62 = load double, ptr %61, align 8, !tbaa !26
  %63 = tail call double @llvm.fmuladd.f64(double %59, double 5.000000e-01, double %62)
  %64 = add nuw nsw i64 %.082113.us, 4
  %niter167.next.3 = add i64 %niter167, 4
  %niter167.ncmp.3 = icmp eq i64 %niter167.next.3, %unroll_iter166
  br i1 %niter167.ncmp.3, label %._crit_edge.us.unr-lcssa, label %.preheader100.us.new, !llvm.loop !33

._crit_edge.us.unr-lcssa:                         ; preds = %.preheader100.us.new, %.preheader100.us
  %.lcssa.ph = phi double [ poison, %.preheader100.us ], [ %63, %.preheader100.us.new ]
  %.3114.us.unr = phi double [ %.2119.us, %.preheader100.us ], [ %63, %.preheader100.us.new ]
  %.082113.us.unr = phi i64 [ 0, %.preheader100.us ], [ %64, %.preheader100.us.new ]
  br i1 %lcmp.mod164.not, label %._crit_edge.us, label %.epil.preheader161

.epil.preheader161:                               ; preds = %._crit_edge.us.unr-lcssa, %.epil.preheader161
  %.3114.us.epil = phi double [ %67, %.epil.preheader161 ], [ %.3114.us.unr, %._crit_edge.us.unr-lcssa ]
  %.082113.us.epil = phi i64 [ %68, %.epil.preheader161 ], [ %.082113.us.unr, %._crit_edge.us.unr-lcssa ]
  %epil.iter163 = phi i64 [ %epil.iter163.next, %.epil.preheader161 ], [ 0, %._crit_edge.us.unr-lcssa ]
  %65 = getelementptr inbounds double, ptr %48, i64 %.082113.us.epil
  %66 = load double, ptr %65, align 8, !tbaa !26
  %67 = tail call double @llvm.fmuladd.f64(double %.3114.us.epil, double 5.000000e-01, double %66)
  %68 = add nuw nsw i64 %.082113.us.epil, 1
  %epil.iter163.next = add i64 %epil.iter163, 1
  %epil.iter163.cmp.not = icmp eq i64 %epil.iter163.next, %xtraiter162
  br i1 %epil.iter163.cmp.not, label %._crit_edge.us, label %.epil.preheader161, !llvm.loop !34

._crit_edge.us:                                   ; preds = %.epil.preheader161, %._crit_edge.us.unr-lcssa
  %.lcssa = phi double [ %.lcssa.ph, %._crit_edge.us.unr-lcssa ], [ %67, %.epil.preheader161 ]
  %69 = add nuw nsw i64 %.287118.us, 1
  %exitcond141.not = icmp eq i64 %69, %8
  br i1 %exitcond141.not, label %._crit_edge120, label %.preheader100.us, !llvm.loop !35

70:                                               ; preds = %70, %.lr.ph110.new
  %.1109 = phi double [ %.0.lcssa, %.lr.ph110.new ], [ %85, %70 ]
  %.186108 = phi i64 [ 0, %.lr.ph110.new ], [ %86, %70 ]
  %niter160 = phi i64 [ 0, %.lr.ph110.new ], [ %niter160.next.3, %70 ]
  %71 = getelementptr inbounds double, ptr %20, i64 %.186108
  %72 = load double, ptr %71, align 8, !tbaa !26
  %73 = tail call double @llvm.fmuladd.f64(double %.1109, double 5.000000e-01, double %72)
  %74 = or disjoint i64 %.186108, 1
  %75 = getelementptr inbounds double, ptr %20, i64 %74
  %76 = load double, ptr %75, align 8, !tbaa !26
  %77 = tail call double @llvm.fmuladd.f64(double %73, double 5.000000e-01, double %76)
  %78 = or disjoint i64 %.186108, 2
  %79 = getelementptr inbounds double, ptr %20, i64 %78
  %80 = load double, ptr %79, align 8, !tbaa !26
  %81 = tail call double @llvm.fmuladd.f64(double %77, double 5.000000e-01, double %80)
  %82 = or disjoint i64 %.186108, 3
  %83 = getelementptr inbounds double, ptr %20, i64 %82
  %84 = load double, ptr %83, align 8, !tbaa !26
  %85 = tail call double @llvm.fmuladd.f64(double %81, double 5.000000e-01, double %84)
  %86 = add nuw nsw i64 %.186108, 4
  %niter160.next.3 = add i64 %niter160, 4
  %niter160.ncmp.3 = icmp eq i64 %niter160.next.3, %unroll_iter159
  br i1 %niter160.ncmp.3, label %.preheader101.unr-lcssa, label %70, !llvm.loop !36

._crit_edge120:                                   ; preds = %._crit_edge.us, %.preheader101, %.preheader102
  %.2.lcssa = phi double [ %.lcssa151, %.preheader101 ], [ %.0.lcssa, %.preheader102 ], [ %.lcssa, %._crit_edge.us ]
  %87 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %.2.lcssa, ptr noundef %4)
  br i1 %87, label %90, label %88

88:                                               ; preds = %._crit_edge120
  %89 = getelementptr inbounds i8, ptr %0, i64 504
  store i8 1, ptr %89, align 8, !tbaa !37
  br label %217

90:                                               ; preds = %._crit_edge120
  %91 = getelementptr inbounds i8, ptr %0, i64 88
  %92 = load i64, ptr %91, align 8, !tbaa !38
  %93 = icmp sgt i64 %92, 0
  br i1 %93, label %94, label %95

94:                                               ; preds = %90
  tail call void @_ZN11alglib_impl35smoothnessmonitorfinalizelinesearchEPNS_17smoothnessmonitorEPNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef %4)
  br label %95

95:                                               ; preds = %94, %90
  %96 = getelementptr inbounds i8, ptr %0, i64 505
  store i8 1, ptr %96, align 1, !tbaa !39
  store i64 1, ptr %91, align 8, !tbaa !38
  %97 = getelementptr inbounds i8, ptr %0, i64 96
  tail call void @_ZN11alglib_impl13rvectorgrowtoEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %97, i64 noundef 1, ptr noundef %4)
  %98 = getelementptr inbounds i8, ptr %0, i64 160
  %99 = load i64, ptr %91, align 8, !tbaa !38
  %100 = mul nsw i64 %99, %6
  tail call void @_ZN11alglib_impl13rvectorgrowtoEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %98, i64 noundef %100, ptr noundef %4)
  %101 = getelementptr inbounds i8, ptr %0, i64 224
  %102 = load i64, ptr %91, align 8, !tbaa !38
  %103 = mul nsw i64 %102, %8
  tail call void @_ZN11alglib_impl13rvectorgrowtoEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %101, i64 noundef %103, ptr noundef %4)
  %104 = getelementptr inbounds i8, ptr %0, i64 288
  %105 = load i64, ptr %91, align 8, !tbaa !38
  %106 = mul nsw i64 %105, %8
  tail call void @_ZN11alglib_impl17rmatrixgrowrowstoEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %104, i64 noundef %106, i64 noundef %6, ptr noundef %4)
  %107 = getelementptr inbounds i8, ptr %0, i64 152
  %108 = load ptr, ptr %107, align 8, !tbaa !25
  store double 0.000000e+00, ptr %108, align 8, !tbaa !26
  br i1 %.not.not104, label %.preheader99, label %.lr.ph124

.lr.ph124:                                        ; preds = %95
  %109 = getelementptr inbounds i8, ptr %1, i64 56
  %110 = getelementptr inbounds i8, ptr %0, i64 216
  %xtraiter169 = and i64 %6, 3
  %111 = icmp ult i64 %6, 4
  br i1 %111, label %.preheader99.loopexit.unr-lcssa, label %.lr.ph124.new

.lr.ph124.new:                                    ; preds = %.lr.ph124
  %unroll_iter172 = and i64 %6, 9223372036854775804
  br label %121

.preheader99.loopexit.unr-lcssa:                  ; preds = %121, %.lr.ph124
  %.183123.unr = phi i64 [ 0, %.lr.ph124 ], [ %145, %121 ]
  %lcmp.mod171.not = icmp eq i64 %xtraiter169, 0
  br i1 %lcmp.mod171.not, label %.preheader99, label %.epil.preheader168

.epil.preheader168:                               ; preds = %.preheader99.loopexit.unr-lcssa, %.epil.preheader168
  %.183123.epil = phi i64 [ %117, %.epil.preheader168 ], [ %.183123.unr, %.preheader99.loopexit.unr-lcssa ]
  %epil.iter170 = phi i64 [ %epil.iter170.next, %.epil.preheader168 ], [ 0, %.preheader99.loopexit.unr-lcssa ]
  %112 = load ptr, ptr %109, align 8, !tbaa !25
  %113 = getelementptr inbounds double, ptr %112, i64 %.183123.epil
  %114 = load double, ptr %113, align 8, !tbaa !26
  %115 = load ptr, ptr %110, align 8, !tbaa !25
  %116 = getelementptr inbounds double, ptr %115, i64 %.183123.epil
  store double %114, ptr %116, align 8, !tbaa !26
  %117 = add nuw nsw i64 %.183123.epil, 1
  %epil.iter170.next = add i64 %epil.iter170, 1
  %epil.iter170.cmp.not = icmp eq i64 %epil.iter170.next, %xtraiter169
  br i1 %epil.iter170.cmp.not, label %.preheader99, label %.epil.preheader168, !llvm.loop !40

.preheader99:                                     ; preds = %.preheader99.loopexit.unr-lcssa, %.epil.preheader168, %95
  br i1 %.not.not91107, label %._crit_edge133, label %.lr.ph127

.lr.ph127:                                        ; preds = %.preheader99
  %118 = getelementptr inbounds i8, ptr %2, i64 56
  %119 = getelementptr inbounds i8, ptr %0, i64 280
  %xtraiter175 = and i64 %8, 3
  %120 = icmp ult i64 %8, 4
  br i1 %120, label %.preheader98.unr-lcssa, label %.lr.ph127.new

.lr.ph127.new:                                    ; preds = %.lr.ph127
  %unroll_iter178 = and i64 %8, 9223372036854775804
  br label %185

121:                                              ; preds = %121, %.lr.ph124.new
  %.183123 = phi i64 [ 0, %.lr.ph124.new ], [ %145, %121 ]
  %niter173 = phi i64 [ 0, %.lr.ph124.new ], [ %niter173.next.3, %121 ]
  %122 = load ptr, ptr %109, align 8, !tbaa !25
  %123 = getelementptr inbounds double, ptr %122, i64 %.183123
  %124 = load double, ptr %123, align 8, !tbaa !26
  %125 = load ptr, ptr %110, align 8, !tbaa !25
  %126 = getelementptr inbounds double, ptr %125, i64 %.183123
  store double %124, ptr %126, align 8, !tbaa !26
  %127 = or disjoint i64 %.183123, 1
  %128 = load ptr, ptr %109, align 8, !tbaa !25
  %129 = getelementptr inbounds double, ptr %128, i64 %127
  %130 = load double, ptr %129, align 8, !tbaa !26
  %131 = load ptr, ptr %110, align 8, !tbaa !25
  %132 = getelementptr inbounds double, ptr %131, i64 %127
  store double %130, ptr %132, align 8, !tbaa !26
  %133 = or disjoint i64 %.183123, 2
  %134 = load ptr, ptr %109, align 8, !tbaa !25
  %135 = getelementptr inbounds double, ptr %134, i64 %133
  %136 = load double, ptr %135, align 8, !tbaa !26
  %137 = load ptr, ptr %110, align 8, !tbaa !25
  %138 = getelementptr inbounds double, ptr %137, i64 %133
  store double %136, ptr %138, align 8, !tbaa !26
  %139 = or disjoint i64 %.183123, 3
  %140 = load ptr, ptr %109, align 8, !tbaa !25
  %141 = getelementptr inbounds double, ptr %140, i64 %139
  %142 = load double, ptr %141, align 8, !tbaa !26
  %143 = load ptr, ptr %110, align 8, !tbaa !25
  %144 = getelementptr inbounds double, ptr %143, i64 %139
  store double %142, ptr %144, align 8, !tbaa !26
  %145 = add nuw nsw i64 %.183123, 4
  %niter173.next.3 = add i64 %niter173, 4
  %niter173.ncmp.3 = icmp eq i64 %niter173.next.3, %unroll_iter172
  br i1 %niter173.ncmp.3, label %.preheader99.loopexit.unr-lcssa, label %121, !llvm.loop !41

.preheader98.unr-lcssa:                           ; preds = %185, %.lr.ph127
  %.388126.unr = phi i64 [ 0, %.lr.ph127 ], [ %209, %185 ]
  %lcmp.mod177.not = icmp eq i64 %xtraiter175, 0
  br i1 %lcmp.mod177.not, label %.preheader98, label %.epil.preheader174

.epil.preheader174:                               ; preds = %.preheader98.unr-lcssa, %.epil.preheader174
  %.388126.epil = phi i64 [ %151, %.epil.preheader174 ], [ %.388126.unr, %.preheader98.unr-lcssa ]
  %epil.iter176 = phi i64 [ %epil.iter176.next, %.epil.preheader174 ], [ 0, %.preheader98.unr-lcssa ]
  %146 = load ptr, ptr %118, align 8, !tbaa !25
  %147 = getelementptr inbounds double, ptr %146, i64 %.388126.epil
  %148 = load double, ptr %147, align 8, !tbaa !26
  %149 = load ptr, ptr %119, align 8, !tbaa !25
  %150 = getelementptr inbounds double, ptr %149, i64 %.388126.epil
  store double %148, ptr %150, align 8, !tbaa !26
  %151 = add nuw nsw i64 %.388126.epil, 1
  %epil.iter176.next = add i64 %epil.iter176, 1
  %epil.iter176.cmp.not = icmp eq i64 %epil.iter176.next, %xtraiter175
  br i1 %epil.iter176.cmp.not, label %.preheader98, label %.epil.preheader174, !llvm.loop !42

.preheader98:                                     ; preds = %.epil.preheader174, %.preheader98.unr-lcssa
  br i1 %.not.not91107, label %._crit_edge133, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %.preheader98
  %152 = getelementptr inbounds i8, ptr %3, i64 72
  %153 = getelementptr inbounds i8, ptr %0, i64 360
  br i1 %.not.not104, label %._crit_edge133, label %.preheader.us.preheader

.preheader.us.preheader:                          ; preds = %.preheader.lr.ph
  %xtraiter181 = and i64 %6, 1
  %154 = icmp eq i64 %6, 1
  %unroll_iter184 = and i64 %6, 9223372036854775806
  %lcmp.mod183.not = icmp eq i64 %xtraiter181, 0
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us.preheader, %._crit_edge.us134
  %.4132.us = phi i64 [ %184, %._crit_edge.us134 ], [ 0, %.preheader.us.preheader ]
  br i1 %154, label %._crit_edge.us134.unr-lcssa, label %.preheader.us.new

.preheader.us.new:                                ; preds = %.preheader.us, %.preheader.us.new
  %.284129.us = phi i64 [ %174, %.preheader.us.new ], [ 0, %.preheader.us ]
  %niter185 = phi i64 [ %niter185.next.1, %.preheader.us.new ], [ 0, %.preheader.us ]
  %155 = load ptr, ptr %152, align 8, !tbaa !25
  %156 = getelementptr inbounds ptr, ptr %155, i64 %.4132.us
  %157 = load ptr, ptr %156, align 8, !tbaa !32
  %158 = getelementptr inbounds double, ptr %157, i64 %.284129.us
  %159 = load double, ptr %158, align 8, !tbaa !26
  %160 = load ptr, ptr %153, align 8, !tbaa !25
  %161 = getelementptr inbounds ptr, ptr %160, i64 %.4132.us
  %162 = load ptr, ptr %161, align 8, !tbaa !32
  %163 = getelementptr inbounds double, ptr %162, i64 %.284129.us
  store double %159, ptr %163, align 8, !tbaa !26
  %164 = or disjoint i64 %.284129.us, 1
  %165 = load ptr, ptr %152, align 8, !tbaa !25
  %166 = getelementptr inbounds ptr, ptr %165, i64 %.4132.us
  %167 = load ptr, ptr %166, align 8, !tbaa !32
  %168 = getelementptr inbounds double, ptr %167, i64 %164
  %169 = load double, ptr %168, align 8, !tbaa !26
  %170 = load ptr, ptr %153, align 8, !tbaa !25
  %171 = getelementptr inbounds ptr, ptr %170, i64 %.4132.us
  %172 = load ptr, ptr %171, align 8, !tbaa !32
  %173 = getelementptr inbounds double, ptr %172, i64 %164
  store double %169, ptr %173, align 8, !tbaa !26
  %174 = add nuw nsw i64 %.284129.us, 2
  %niter185.next.1 = add i64 %niter185, 2
  %niter185.ncmp.1 = icmp eq i64 %niter185.next.1, %unroll_iter184
  br i1 %niter185.ncmp.1, label %._crit_edge.us134.unr-lcssa, label %.preheader.us.new, !llvm.loop !43

._crit_edge.us134.unr-lcssa:                      ; preds = %.preheader.us.new, %.preheader.us
  %.284129.us.unr = phi i64 [ 0, %.preheader.us ], [ %174, %.preheader.us.new ]
  br i1 %lcmp.mod183.not, label %._crit_edge.us134, label %._crit_edge.us134.epilog-lcssa

._crit_edge.us134.epilog-lcssa:                   ; preds = %._crit_edge.us134.unr-lcssa
  %175 = load ptr, ptr %152, align 8, !tbaa !25
  %176 = getelementptr inbounds ptr, ptr %175, i64 %.4132.us
  %177 = load ptr, ptr %176, align 8, !tbaa !32
  %178 = getelementptr inbounds double, ptr %177, i64 %.284129.us.unr
  %179 = load double, ptr %178, align 8, !tbaa !26
  %180 = load ptr, ptr %153, align 8, !tbaa !25
  %181 = getelementptr inbounds ptr, ptr %180, i64 %.4132.us
  %182 = load ptr, ptr %181, align 8, !tbaa !32
  %183 = getelementptr inbounds double, ptr %182, i64 %.284129.us.unr
  store double %179, ptr %183, align 8, !tbaa !26
  br label %._crit_edge.us134

._crit_edge.us134:                                ; preds = %._crit_edge.us134.unr-lcssa, %._crit_edge.us134.epilog-lcssa
  %184 = add nuw nsw i64 %.4132.us, 1
  %exitcond145.not = icmp eq i64 %184, %8
  br i1 %exitcond145.not, label %._crit_edge133, label %.preheader.us, !llvm.loop !44

185:                                              ; preds = %185, %.lr.ph127.new
  %.388126 = phi i64 [ 0, %.lr.ph127.new ], [ %209, %185 ]
  %niter179 = phi i64 [ 0, %.lr.ph127.new ], [ %niter179.next.3, %185 ]
  %186 = load ptr, ptr %118, align 8, !tbaa !25
  %187 = getelementptr inbounds double, ptr %186, i64 %.388126
  %188 = load double, ptr %187, align 8, !tbaa !26
  %189 = load ptr, ptr %119, align 8, !tbaa !25
  %190 = getelementptr inbounds double, ptr %189, i64 %.388126
  store double %188, ptr %190, align 8, !tbaa !26
  %191 = or disjoint i64 %.388126, 1
  %192 = load ptr, ptr %118, align 8, !tbaa !25
  %193 = getelementptr inbounds double, ptr %192, i64 %191
  %194 = load double, ptr %193, align 8, !tbaa !26
  %195 = load ptr, ptr %119, align 8, !tbaa !25
  %196 = getelementptr inbounds double, ptr %195, i64 %191
  store double %194, ptr %196, align 8, !tbaa !26
  %197 = or disjoint i64 %.388126, 2
  %198 = load ptr, ptr %118, align 8, !tbaa !25
  %199 = getelementptr inbounds double, ptr %198, i64 %197
  %200 = load double, ptr %199, align 8, !tbaa !26
  %201 = load ptr, ptr %119, align 8, !tbaa !25
  %202 = getelementptr inbounds double, ptr %201, i64 %197
  store double %200, ptr %202, align 8, !tbaa !26
  %203 = or disjoint i64 %.388126, 3
  %204 = load ptr, ptr %118, align 8, !tbaa !25
  %205 = getelementptr inbounds double, ptr %204, i64 %203
  %206 = load double, ptr %205, align 8, !tbaa !26
  %207 = load ptr, ptr %119, align 8, !tbaa !25
  %208 = getelementptr inbounds double, ptr %207, i64 %203
  store double %206, ptr %208, align 8, !tbaa !26
  %209 = add nuw nsw i64 %.388126, 4
  %niter179.next.3 = add i64 %niter179, 4
  %niter179.ncmp.3 = icmp eq i64 %niter179.next.3, %unroll_iter178
  br i1 %niter179.ncmp.3, label %.preheader98.unr-lcssa, label %185, !llvm.loop !45

._crit_edge133:                                   ; preds = %._crit_edge.us134, %.preheader99, %.preheader.lr.ph, %.preheader98
  %210 = getelementptr inbounds i8, ptr %0, i64 368
  tail call void @_ZN11alglib_impl13rvectorgrowtoEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %210, i64 noundef 1, ptr noundef %4)
  %211 = getelementptr inbounds i8, ptr %0, i64 432
  tail call void @_ZN11alglib_impl13ivectorgrowtoEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %211, i64 noundef 1, ptr noundef %4)
  %212 = getelementptr inbounds i8, ptr %0, i64 424
  %213 = load ptr, ptr %212, align 8, !tbaa !25
  store double 0.000000e+00, ptr %213, align 8, !tbaa !26
  %214 = getelementptr inbounds i8, ptr %0, i64 488
  %215 = load ptr, ptr %214, align 8, !tbaa !25
  store i64 0, ptr %215, align 8, !tbaa !46
  %216 = getelementptr inbounds i8, ptr %0, i64 496
  store i64 1, ptr %216, align 8, !tbaa !47
  br label %217

217:                                              ; preds = %5, %._crit_edge133, %88
  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 #0

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

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

attributes #0 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress 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" }
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, !7, i64 88, !11, i64 96, !11, i64 160, !11, i64 224, !14, i64 288, !11, i64 368, !11, i64 432, !7, i64 496, !10, i64 504, !10, i64 505, !15, i64 512, !15, i64 520, !10, i64 528, !16, i64 536, !15, i64 832, !15, i64 840, !17, i64 848, !17, i64 1152, !15, i64 1456, !15, i64 1464, !18, i64 1472, !18, i64 1784, !10, i64 2096, !11, i64 2104, !11, i64 2168, !14, i64 2232, !19, i64 2312, !11, i64 2576, !11, i64 2640, !11, i64 2704, !11, i64 2768, !11, i64 2832, !11, i64 2896, !11, i64 2960, !11, i64 3024, !14, i64 3088, !14, i64 3168, !11, i64 3248, !11, i64 3312, !11, i64 3376, !11, i64 3440, !11, i64 3504, !11, i64 3568, !11, i64 3632, !11, i64 3696, !11, i64 3760, !11, i64 3824, !14, i64 3888}
!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_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}
!17 = !{!"_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}
!18 = !{!"_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}
!19 = !{!"_ZTSN11alglib_impl10rcommstateE", !20, i64 0, !11, i64 8, !11, i64 72, !11, i64 136, !11, i64 200}
!20 = !{!"int", !8, i64 0}
!21 = !{!6, !7, i64 8}
!22 = !{!6, !10, i64 16}
!23 = !{i8 0, i8 2}
!24 = !{}
!25 = !{!8, !8, i64 0}
!26 = !{!15, !15, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.unroll.disable"}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = distinct !{!31, !28}
!32 = !{!13, !13, i64 0}
!33 = distinct !{!33, !30}
!34 = distinct !{!34, !28}
!35 = distinct !{!35, !30}
!36 = distinct !{!36, !30}
!37 = !{!6, !10, i64 504}
!38 = !{!6, !7, i64 88}
!39 = !{!6, !10, i64 505}
!40 = distinct !{!40, !28}
!41 = distinct !{!41, !30}
!42 = distinct !{!42, !28}
!43 = distinct !{!43, !30}
!44 = distinct !{!44, !30}
!45 = distinct !{!45, !30}
!46 = !{!7, !7, i64 0}
!47 = !{!6, !7, i64 496}


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