; LLVM IR from venumb/ZSPACE :: cpp/depends/alglib/cpp/src (solvers)

; 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::linlsqrstate" = type { %"struct.alglib_impl::normestimatorstate", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, double, double, double, double, double, double, double, double, double, double, double, double, double, %"struct.alglib_impl::ae_vector", double, double, double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, double, double, i64, i8, i8, i8, i8, i8, i8, i8, i64, i64, i64, i8, i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::rcommstate" }
%"struct.alglib_impl::normestimatorstate" = type { i64, i64, i64, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::hqrndstate", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i8, i8, double, %"struct.alglib_impl::rcommstate" }
%"struct.alglib_impl::hqrndstate" = type { i64, i64, i64 }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.1 }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%union.anon.1 = type { ptr }
%"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" }

@.str.47 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [54 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl18linlsqrsolvesparseEPNS_12linlsqrstateEPNS_12sparsematrixEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca double, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %15, i32 0, i32 3
  %17 = load i64, ptr %16, align 8, !tbaa !9
  store i64 %17, ptr %9, align 8, !tbaa !20
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  %19 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %18, i32 0, i32 48
  %20 = load i8, ptr %19, align 8, !tbaa !21, !range !22, !noundef !23
  %21 = trunc i8 %20 to i1
  %22 = xor i1 %21, true
  %23 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %22, ptr noundef @.str.47, ptr noundef %23)
  %24 = load ptr, ptr %7, align 8, !tbaa !5
  %25 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 0
  %26 = load i64, ptr %25, align 8, !tbaa !24
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %27, i32 0, i32 4
  %29 = load i64, ptr %28, align 8, !tbaa !25
  %30 = icmp sge i64 %26, %29
  %31 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %30, ptr noundef @.str.48, ptr noundef %31)
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %33, i32 0, i32 4
  %35 = load i64, ptr %34, align 8, !tbaa !25
  %36 = load ptr, ptr %8, align 8, !tbaa !5
  %37 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %32, i64 noundef %35, ptr noundef %36)
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %37, ptr noundef @.str.49, ptr noundef %38)
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %39, i32 0, i32 50
  %41 = load i64, ptr %9, align 8, !tbaa !20
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %40, i64 noundef %41, ptr noundef %42)
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %43, i32 0, i32 51
  %45 = load i64, ptr %9, align 8, !tbaa !20
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %44, i64 noundef %45, ptr noundef %46)
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %47, i32 0, i32 5
  %49 = load i64, ptr %48, align 8, !tbaa !26
  %50 = icmp eq i64 %49, 0
  br i1 %50, label %51, label %134

51:                                               ; preds = %4
  store i64 0, ptr %10, align 8, !tbaa !20
  br label %52

52:                                               ; preds = %64, %51
  %53 = load i64, ptr %10, align 8, !tbaa !20
  %54 = load i64, ptr %9, align 8, !tbaa !20
  %55 = sub nsw i64 %54, 1
  %56 = icmp sle i64 %53, %55
  br i1 %56, label %57, label %67

57:                                               ; preds = %52
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %58, i32 0, i32 50
  %60 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %59, i32 0, i32 4
  %61 = load ptr, ptr %60, align 8, !tbaa !27
  %62 = load i64, ptr %10, align 8, !tbaa !20
  %63 = getelementptr inbounds double, ptr %61, i64 %62
  store double 0.000000e+00, ptr %63, align 8, !tbaa !28
  br label %64

64:                                               ; preds = %57
  %65 = load i64, ptr %10, align 8, !tbaa !20
  %66 = add nsw i64 %65, 1
  store i64 %66, ptr %10, align 8, !tbaa !20
  br label %52, !llvm.loop !29

67:                                               ; preds = %52
  store i64 0, ptr %12, align 8, !tbaa !20
  store i64 0, ptr %13, align 8, !tbaa !20
  br label %68

68:                                               ; preds = %72, %67
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  %70 = load ptr, ptr %8, align 8, !tbaa !5
  %71 = call noundef zeroext i1 @_ZN11alglib_impl15sparseenumerateEPNS_12sparsematrixEPlS2_S2_S2_PdPNS_8ae_stateE(ptr noundef %69, ptr noundef %12, ptr noundef %13, ptr noundef %10, ptr noundef %11, ptr noundef %14, ptr noundef %70)
  br i1 %71, label %72, label %90

72:                                               ; preds = %68
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  %74 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %73, i32 0, i32 50
  %75 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %74, i32 0, i32 4
  %76 = load ptr, ptr %75, align 8, !tbaa !27
  %77 = load i64, ptr %11, align 8, !tbaa !20
  %78 = getelementptr inbounds double, ptr %76, i64 %77
  %79 = load double, ptr %78, align 8, !tbaa !28
  %80 = load double, ptr %14, align 8, !tbaa !28
  %81 = load ptr, ptr %8, align 8, !tbaa !5
  %82 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %80, ptr noundef %81)
  %83 = fadd double %79, %82
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %84, i32 0, i32 50
  %86 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %85, i32 0, i32 4
  %87 = load ptr, ptr %86, align 8, !tbaa !27
  %88 = load i64, ptr %11, align 8, !tbaa !20
  %89 = getelementptr inbounds double, ptr %87, i64 %88
  store double %83, ptr %89, align 8, !tbaa !28
  br label %68, !llvm.loop !31

90:                                               ; preds = %68
  store i64 0, ptr %10, align 8, !tbaa !20
  br label %91

91:                                               ; preds = %130, %90
  %92 = load i64, ptr %10, align 8, !tbaa !20
  %93 = load i64, ptr %9, align 8, !tbaa !20
  %94 = sub nsw i64 %93, 1
  %95 = icmp sle i64 %92, %94
  br i1 %95, label %96, label %133

96:                                               ; preds = %91
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %97, i32 0, i32 50
  %99 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %98, i32 0, i32 4
  %100 = load ptr, ptr %99, align 8, !tbaa !27
  %101 = load i64, ptr %10, align 8, !tbaa !20
  %102 = getelementptr inbounds double, ptr %100, i64 %101
  %103 = load double, ptr %102, align 8, !tbaa !28
  %104 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %103, double noundef 0.000000e+00)
  br i1 %104, label %105, label %122

105:                                              ; preds = %96
  %106 = load ptr, ptr %5, align 8, !tbaa !5
  %107 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %106, i32 0, i32 50
  %108 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %107, i32 0, i32 4
  %109 = load ptr, ptr %108, align 8, !tbaa !27
  %110 = load i64, ptr %10, align 8, !tbaa !20
  %111 = getelementptr inbounds double, ptr %109, i64 %110
  %112 = load double, ptr %111, align 8, !tbaa !28
  %113 = load ptr, ptr %8, align 8, !tbaa !5
  %114 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %112, ptr noundef %113)
  %115 = fdiv double 1.000000e+00, %114
  %116 = load ptr, ptr %5, align 8, !tbaa !5
  %117 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %116, i32 0, i32 50
  %118 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %117, i32 0, i32 4
  %119 = load ptr, ptr %118, align 8, !tbaa !27
  %120 = load i64, ptr %10, align 8, !tbaa !20
  %121 = getelementptr inbounds double, ptr %119, i64 %120
  store double %115, ptr %121, align 8, !tbaa !28
  br label %129

122:                                              ; preds = %96
  %123 = load ptr, ptr %5, align 8, !tbaa !5
  %124 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %123, i32 0, i32 50
  %125 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %124, i32 0, i32 4
  %126 = load ptr, ptr %125, align 8, !tbaa !27
  %127 = load i64, ptr %10, align 8, !tbaa !20
  %128 = getelementptr inbounds double, ptr %126, i64 %127
  store double 1.000000e+00, ptr %128, align 8, !tbaa !28
  br label %129

129:                                              ; preds = %122, %105
  br label %130

130:                                              ; preds = %129
  %131 = load i64, ptr %10, align 8, !tbaa !20
  %132 = add nsw i64 %131, 1
  store i64 %132, ptr %10, align 8, !tbaa !20
  br label %91, !llvm.loop !32

133:                                              ; preds = %91
  br label %151

134:                                              ; preds = %4
  store i64 0, ptr %10, align 8, !tbaa !20
  br label %135

135:                                              ; preds = %147, %134
  %136 = load i64, ptr %10, align 8, !tbaa !20
  %137 = load i64, ptr %9, align 8, !tbaa !20
  %138 = sub nsw i64 %137, 1
  %139 = icmp sle i64 %136, %138
  br i1 %139, label %140, label %150

140:                                              ; preds = %135
  %141 = load ptr, ptr %5, align 8, !tbaa !5
  %142 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %141, i32 0, i32 50
  %143 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %142, i32 0, i32 4
  %144 = load ptr, ptr %143, align 8, !tbaa !27
  %145 = load i64, ptr %10, align 8, !tbaa !20
  %146 = getelementptr inbounds double, ptr %144, i64 %145
  store double 1.000000e+00, ptr %146, align 8, !tbaa !28
  br label %147

147:                                              ; preds = %140
  %148 = load i64, ptr %10, align 8, !tbaa !20
  %149 = add nsw i64 %148, 1
  store i64 %149, ptr %10, align 8, !tbaa !20
  br label %135, !llvm.loop !33

150:                                              ; preds = %135
  br label %151

151:                                              ; preds = %150, %133
  %152 = load ptr, ptr %5, align 8, !tbaa !5
  %153 = load ptr, ptr %7, align 8, !tbaa !5
  %154 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl11linlsqrsetbEPNS_12linlsqrstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %152, ptr noundef %153, ptr noundef %154)
  %155 = load ptr, ptr %5, align 8, !tbaa !5
  %156 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl14linlsqrrestartEPNS_12linlsqrstateEPNS_8ae_stateE(ptr noundef %155, ptr noundef %156)
  br label %157

157:                                              ; preds = %247, %151
  %158 = load ptr, ptr %5, align 8, !tbaa !5
  %159 = load ptr, ptr %8, align 8, !tbaa !5
  %160 = call noundef zeroext i1 @_ZN11alglib_impl16linlsqriterationEPNS_12linlsqrstateEPNS_8ae_stateE(ptr noundef %158, ptr noundef %159)
  br i1 %160, label %161, label %248

161:                                              ; preds = %157
  %162 = load ptr, ptr %5, align 8, !tbaa !5
  %163 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %162, i32 0, i32 40
  %164 = load i8, ptr %163, align 2, !tbaa !34, !range !22, !noundef !23
  %165 = trunc i8 %164 to i1
  br i1 %165, label %166, label %204

166:                                              ; preds = %161
  store i64 0, ptr %10, align 8, !tbaa !20
  br label %167

167:                                              ; preds = %194, %166
  %168 = load i64, ptr %10, align 8, !tbaa !20
  %169 = load i64, ptr %9, align 8, !tbaa !20
  %170 = sub nsw i64 %169, 1
  %171 = icmp sle i64 %168, %170
  br i1 %171, label %172, label %197

172:                                              ; preds = %167
  %173 = load ptr, ptr %5, align 8, !tbaa !5
  %174 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %173, i32 0, i32 50
  %175 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %174, i32 0, i32 4
  %176 = load ptr, ptr %175, align 8, !tbaa !27
  %177 = load i64, ptr %10, align 8, !tbaa !20
  %178 = getelementptr inbounds double, ptr %176, i64 %177
  %179 = load double, ptr %178, align 8, !tbaa !28
  %180 = load ptr, ptr %5, align 8, !tbaa !5
  %181 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %180, i32 0, i32 31
  %182 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %181, i32 0, i32 4
  %183 = load ptr, ptr %182, align 8, !tbaa !27
  %184 = load i64, ptr %10, align 8, !tbaa !20
  %185 = getelementptr inbounds double, ptr %183, i64 %184
  %186 = load double, ptr %185, align 8, !tbaa !28
  %187 = fmul double %179, %186
  %188 = load ptr, ptr %5, align 8, !tbaa !5
  %189 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %188, i32 0, i32 51
  %190 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %189, i32 0, i32 4
  %191 = load ptr, ptr %190, align 8, !tbaa !27
  %192 = load i64, ptr %10, align 8, !tbaa !20
  %193 = getelementptr inbounds double, ptr %191, i64 %192
  store double %187, ptr %193, align 8, !tbaa !28
  br label %194

194:                                              ; preds = %172
  %195 = load i64, ptr %10, align 8, !tbaa !20
  %196 = add nsw i64 %195, 1
  store i64 %196, ptr %10, align 8, !tbaa !20
  br label %167, !llvm.loop !35

197:                                              ; preds = %167
  %198 = load ptr, ptr %6, align 8, !tbaa !5
  %199 = load ptr, ptr %5, align 8, !tbaa !5
  %200 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %199, i32 0, i32 51
  %201 = load ptr, ptr %5, align 8, !tbaa !5
  %202 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %201, i32 0, i32 32
  %203 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl8sparsemvEPNS_12sparsematrixEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef %198, ptr noundef %200, ptr noundef %202, ptr noundef %203)
  br label %204

204:                                              ; preds = %197, %161
  %205 = load ptr, ptr %5, align 8, !tbaa !5
  %206 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %205, i32 0, i32 41
  %207 = load i8, ptr %206, align 1, !tbaa !36, !range !22, !noundef !23
  %208 = trunc i8 %207 to i1
  br i1 %208, label %209, label %247

209:                                              ; preds = %204
  %210 = load ptr, ptr %6, align 8, !tbaa !5
  %211 = load ptr, ptr %5, align 8, !tbaa !5
  %212 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %211, i32 0, i32 31
  %213 = load ptr, ptr %5, align 8, !tbaa !5
  %214 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %213, i32 0, i32 33
  %215 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl9sparsemtvEPNS_12sparsematrixEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef %210, ptr noundef %212, ptr noundef %214, ptr noundef %215)
  store i64 0, ptr %10, align 8, !tbaa !20
  br label %216

216:                                              ; preds = %243, %209
  %217 = load i64, ptr %10, align 8, !tbaa !20
  %218 = load i64, ptr %9, align 8, !tbaa !20
  %219 = sub nsw i64 %218, 1
  %220 = icmp sle i64 %217, %219
  br i1 %220, label %221, label %246

221:                                              ; preds = %216
  %222 = load ptr, ptr %5, align 8, !tbaa !5
  %223 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %222, i32 0, i32 50
  %224 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %223, i32 0, i32 4
  %225 = load ptr, ptr %224, align 8, !tbaa !27
  %226 = load i64, ptr %10, align 8, !tbaa !20
  %227 = getelementptr inbounds double, ptr %225, i64 %226
  %228 = load double, ptr %227, align 8, !tbaa !28
  %229 = load ptr, ptr %5, align 8, !tbaa !5
  %230 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %229, i32 0, i32 33
  %231 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %230, i32 0, i32 4
  %232 = load ptr, ptr %231, align 8, !tbaa !27
  %233 = load i64, ptr %10, align 8, !tbaa !20
  %234 = getelementptr inbounds double, ptr %232, i64 %233
  %235 = load double, ptr %234, align 8, !tbaa !28
  %236 = fmul double %228, %235
  %237 = load ptr, ptr %5, align 8, !tbaa !5
  %238 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %237, i32 0, i32 33
  %239 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %238, i32 0, i32 4
  %240 = load ptr, ptr %239, align 8, !tbaa !27
  %241 = load i64, ptr %10, align 8, !tbaa !20
  %242 = getelementptr inbounds double, ptr %240, i64 %241
  store double %236, ptr %242, align 8, !tbaa !28
  br label %243

243:                                              ; preds = %221
  %244 = load i64, ptr %10, align 8, !tbaa !20
  %245 = add nsw i64 %244, 1
  store i64 %245, ptr %10, align 8, !tbaa !20
  br label %216, !llvm.loop !37

246:                                              ; preds = %216
  br label %247

247:                                              ; preds = %246, %204
  br label %157, !llvm.loop !38

248:                                              ; preds = %157
  store i64 0, ptr %10, align 8, !tbaa !20
  br label %249

249:                                              ; preds = %276, %248
  %250 = load i64, ptr %10, align 8, !tbaa !20
  %251 = load i64, ptr %9, align 8, !tbaa !20
  %252 = sub nsw i64 %251, 1
  %253 = icmp sle i64 %250, %252
  br i1 %253, label %254, label %279

254:                                              ; preds = %249
  %255 = load ptr, ptr %5, align 8, !tbaa !5
  %256 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %255, i32 0, i32 50
  %257 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %256, i32 0, i32 4
  %258 = load ptr, ptr %257, align 8, !tbaa !27
  %259 = load i64, ptr %10, align 8, !tbaa !20
  %260 = getelementptr inbounds double, ptr %258, i64 %259
  %261 = load double, ptr %260, align 8, !tbaa !28
  %262 = load ptr, ptr %5, align 8, !tbaa !5
  %263 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %262, i32 0, i32 1
  %264 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %263, i32 0, i32 4
  %265 = load ptr, ptr %264, align 8, !tbaa !27
  %266 = load i64, ptr %10, align 8, !tbaa !20
  %267 = getelementptr inbounds double, ptr %265, i64 %266
  %268 = load double, ptr %267, align 8, !tbaa !28
  %269 = fmul double %261, %268
  %270 = load ptr, ptr %5, align 8, !tbaa !5
  %271 = getelementptr inbounds %"struct.alglib_impl::linlsqrstate", ptr %270, i32 0, i32 1
  %272 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %271, i32 0, i32 4
  %273 = load ptr, ptr %272, align 8, !tbaa !27
  %274 = load i64, ptr %10, align 8, !tbaa !20
  %275 = getelementptr inbounds double, ptr %273, i64 %274
  store double %269, ptr %275, align 8, !tbaa !28
  br label %276

276:                                              ; preds = %254
  %277 = load i64, ptr %10, align 8, !tbaa !20
  %278 = add nsw i64 %277, 1
  store i64 %278, ptr %10, align 8, !tbaa !20
  br label %249, !llvm.loop !39

279:                                              ; preds = %249
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  ret void
}

declare noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef, ptr noundef) #1

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

declare noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) #1

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

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

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

declare noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef, ptr noundef) #1

declare noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef, double noundef) #1

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

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

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

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !12, i64 920}
!10 = !{!"_ZTSN11alglib_impl12linlsqrstateE", !11, i64 0, !13, i64 792, !13, i64 856, !12, i64 920, !12, i64 928, !12, i64 936, !13, i64 944, !13, i64 1008, !13, i64 1072, !13, i64 1136, !13, i64 1200, !13, i64 1264, !17, i64 1328, !17, i64 1336, !17, i64 1344, !17, i64 1352, !17, i64 1360, !17, i64 1368, !17, i64 1376, !17, i64 1384, !17, i64 1392, !17, i64 1400, !17, i64 1408, !17, i64 1416, !17, i64 1424, !17, i64 1432, !13, i64 1440, !17, i64 1504, !17, i64 1512, !17, i64 1520, !17, i64 1528, !13, i64 1536, !13, i64 1600, !13, i64 1664, !17, i64 1728, !17, i64 1736, !17, i64 1744, !12, i64 1752, !14, i64 1760, !14, i64 1761, !14, i64 1762, !14, i64 1763, !14, i64 1764, !14, i64 1765, !14, i64 1766, !12, i64 1768, !12, i64 1776, !12, i64 1784, !14, i64 1792, !14, i64 1793, !13, i64 1800, !13, i64 1864, !18, i64 1928}
!11 = !{!"_ZTSN11alglib_impl18normestimatorstateE", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !13, i64 40, !13, i64 104, !13, i64 168, !13, i64 232, !16, i64 296, !13, i64 320, !13, i64 384, !13, i64 448, !14, i64 512, !14, i64 513, !17, i64 520, !18, i64 528}
!12 = !{!"long", !7, i64 0}
!13 = !{!"_ZTSN11alglib_impl9ae_vectorE", !12, i64 0, !12, i64 8, !14, i64 16, !15, i64 24, !7, i64 56}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!16 = !{!"_ZTSN11alglib_impl10hqrndstateE", !12, i64 0, !12, i64 8, !12, i64 16}
!17 = !{!"double", !7, i64 0}
!18 = !{!"_ZTSN11alglib_impl10rcommstateE", !19, i64 0, !13, i64 8, !13, i64 72, !13, i64 136, !13, i64 200}
!19 = !{!"int", !7, i64 0}
!20 = !{!12, !12, i64 0}
!21 = !{!10, !14, i64 1792}
!22 = !{i8 0, i8 2}
!23 = !{}
!24 = !{!13, !12, i64 0}
!25 = !{!10, !12, i64 928}
!26 = !{!10, !12, i64 936}
!27 = !{!7, !7, i64 0}
!28 = !{!17, !17, i64 0}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = distinct !{!31, !30}
!32 = distinct !{!32, !30}
!33 = distinct !{!33, !30}
!34 = !{!10, !14, i64 1762}
!35 = distinct !{!35, !30}
!36 = !{!10, !14, i64 1763}
!37 = distinct !{!37, !30}
!38 = distinct !{!38, !30}
!39 = distinct !{!39, !30}


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

@.str.47 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [54 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl18linlsqrsolvesparseEPNS_12linlsqrstateEPNS_12sparsematrixEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #2 {
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
  %10 = getelementptr inbounds i8, ptr %0, i64 920
  %11 = load i64, ptr %10, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %0, i64 1792
  %13 = load i8, ptr %12, align 8, !tbaa !19, !range !20, !noundef !21
  %14 = trunc nuw i8 %13 to i1
  %15 = xor i1 %14, true
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %15, ptr noundef nonnull @.str.47, ptr noundef %3)
  %16 = load i64, ptr %2, align 8, !tbaa !22
  %17 = getelementptr inbounds i8, ptr %0, i64 928
  %18 = load i64, ptr %17, align 8, !tbaa !23
  %19 = icmp sge i64 %16, %18
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %19, ptr noundef nonnull @.str.48, ptr noundef %3)
  %20 = load i64, ptr %17, align 8, !tbaa !23
  %21 = tail call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %2, i64 noundef %20, ptr noundef %3)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %21, ptr noundef nonnull @.str.49, ptr noundef %3)
  %22 = getelementptr inbounds i8, ptr %0, i64 1800
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %22, i64 noundef %11, ptr noundef %3)
  %23 = getelementptr inbounds i8, ptr %0, i64 1864
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %23, i64 noundef %11, ptr noundef %3)
  %24 = getelementptr inbounds i8, ptr %0, i64 936
  %25 = load i64, ptr %24, align 8, !tbaa !24
  %26 = icmp eq i64 %25, 0
  %.not.not6784 = icmp sgt i64 %11, 0
  br i1 %26, label %.preheader79, label %.preheader80

.preheader80:                                     ; preds = %4
  br i1 %.not.not6784, label %.lr.ph, label %.loopexit81

.lr.ph:                                           ; preds = %.preheader80
  %27 = getelementptr inbounds i8, ptr %0, i64 1856
  %28 = add nsw i64 %11, -1
  %xtraiter = and i64 %11, 3
  %29 = icmp ult i64 %28, 3
  br i1 %29, label %.loopexit81.loopexit.unr-lcssa, label %.lr.ph.new

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

.preheader79:                                     ; preds = %4
  br i1 %.not.not6784, label %.lr.ph86, label %._crit_edge

.lr.ph86:                                         ; preds = %.preheader79
  %30 = getelementptr inbounds i8, ptr %0, i64 1856
  %31 = add nsw i64 %11, -1
  %xtraiter119 = and i64 %11, 3
  %32 = icmp ult i64 %31, 3
  br i1 %32, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph86.new

.lr.ph86.new:                                     ; preds = %.lr.ph86
  %unroll_iter122 = and i64 %11, 9223372036854775804
  br label %33

33:                                               ; preds = %33, %.lr.ph86.new
  %storemerge6685 = phi i64 [ 0, %.lr.ph86.new ], [ %45, %33 ]
  %niter123 = phi i64 [ 0, %.lr.ph86.new ], [ %niter123.next.3, %33 ]
  %34 = load ptr, ptr %30, align 8, !tbaa !25
  %35 = getelementptr inbounds double, ptr %34, i64 %storemerge6685
  store double 0.000000e+00, ptr %35, align 8, !tbaa !26
  %36 = or disjoint i64 %storemerge6685, 1
  %37 = load ptr, ptr %30, align 8, !tbaa !25
  %38 = getelementptr inbounds double, ptr %37, i64 %36
  store double 0.000000e+00, ptr %38, align 8, !tbaa !26
  %39 = or disjoint i64 %storemerge6685, 2
  %40 = load ptr, ptr %30, align 8, !tbaa !25
  %41 = getelementptr inbounds double, ptr %40, i64 %39
  store double 0.000000e+00, ptr %41, align 8, !tbaa !26
  %42 = or disjoint i64 %storemerge6685, 3
  %43 = load ptr, ptr %30, align 8, !tbaa !25
  %44 = getelementptr inbounds double, ptr %43, i64 %42
  store double 0.000000e+00, ptr %44, align 8, !tbaa !26
  %45 = add nuw nsw i64 %storemerge6685, 4
  %niter123.next.3 = add i64 %niter123, 4
  %niter123.ncmp.3 = icmp eq i64 %niter123.next.3, %unroll_iter122
  br i1 %niter123.ncmp.3, label %._crit_edge.loopexit.unr-lcssa, label %33, !llvm.loop !27

._crit_edge.loopexit.unr-lcssa:                   ; preds = %33, %.lr.ph86
  %storemerge6685.unr = phi i64 [ 0, %.lr.ph86 ], [ %45, %33 ]
  %lcmp.mod121.not = icmp eq i64 %xtraiter119, 0
  br i1 %lcmp.mod121.not, label %._crit_edge, label %.epil.preheader118

.epil.preheader118:                               ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader118
  %storemerge6685.epil = phi i64 [ %48, %.epil.preheader118 ], [ %storemerge6685.unr, %._crit_edge.loopexit.unr-lcssa ]
  %epil.iter120 = phi i64 [ %epil.iter120.next, %.epil.preheader118 ], [ 0, %._crit_edge.loopexit.unr-lcssa ]
  %46 = load ptr, ptr %30, align 8, !tbaa !25
  %47 = getelementptr inbounds double, ptr %46, i64 %storemerge6685.epil
  store double 0.000000e+00, ptr %47, align 8, !tbaa !26
  %48 = add nuw nsw i64 %storemerge6685.epil, 1
  %epil.iter120.next = add i64 %epil.iter120, 1
  %epil.iter120.cmp.not = icmp eq i64 %epil.iter120.next, %xtraiter119
  br i1 %epil.iter120.cmp.not, label %._crit_edge, label %.epil.preheader118, !llvm.loop !29

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader118, %.preheader79
  %storemerge66.lcssa = phi i64 [ 0, %.preheader79 ], [ %11, %.epil.preheader118 ], [ %11, %._crit_edge.loopexit.unr-lcssa ]
  store i64 %storemerge66.lcssa, ptr %5, align 8, !tbaa !31
  store i64 0, ptr %7, align 8, !tbaa !31
  store i64 0, ptr %8, align 8, !tbaa !31
  %49 = call noundef zeroext i1 @_ZN11alglib_impl15sparseenumerateEPNS_12sparsematrixEPlS2_S2_S2_PdPNS_8ae_stateE(ptr noundef %1, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %9, ptr noundef %3)
  br i1 %49, label %.lr.ph89, label %.preheader77

.lr.ph89:                                         ; preds = %._crit_edge
  %50 = getelementptr inbounds i8, ptr %0, i64 1856
  br label %52

.preheader77:                                     ; preds = %52, %._crit_edge
  store i64 0, ptr %5, align 8, !tbaa !31
  br i1 %.not.not6784, label %.lr.ph92, label %.loopexit78

.lr.ph92:                                         ; preds = %.preheader77
  %51 = getelementptr inbounds i8, ptr %0, i64 1856
  br label %64

52:                                               ; preds = %.lr.ph89, %52
  %53 = load ptr, ptr %50, align 8, !tbaa !25
  %54 = load i64, ptr %6, align 8, !tbaa !31
  %55 = getelementptr inbounds double, ptr %53, i64 %54
  %56 = load double, ptr %55, align 8, !tbaa !26
  %57 = load double, ptr %9, align 8, !tbaa !26
  %58 = call noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef %57, ptr noundef %3)
  %59 = fadd double %56, %58
  %60 = load ptr, ptr %50, align 8, !tbaa !25
  %61 = load i64, ptr %6, align 8, !tbaa !31
  %62 = getelementptr inbounds double, ptr %60, i64 %61
  store double %59, ptr %62, align 8, !tbaa !26
  %63 = call noundef zeroext i1 @_ZN11alglib_impl15sparseenumerateEPNS_12sparsematrixEPlS2_S2_S2_PdPNS_8ae_stateE(ptr noundef %1, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %9, ptr noundef %3)
  br i1 %63, label %52, label %.preheader77, !llvm.loop !32

64:                                               ; preds = %.lr.ph92, %80
  %storemerge6891 = phi i64 [ 0, %.lr.ph92 ], [ %82, %80 ]
  %65 = load ptr, ptr %51, align 8, !tbaa !25
  %66 = getelementptr inbounds double, ptr %65, i64 %storemerge6891
  %67 = load double, ptr %66, align 8, !tbaa !26
  %68 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %67, double noundef 0.000000e+00)
  %69 = load ptr, ptr %51, align 8, !tbaa !25
  %70 = load i64, ptr %5, align 8, !tbaa !31
  %71 = getelementptr inbounds double, ptr %69, i64 %70
  br i1 %68, label %72, label %79

72:                                               ; preds = %64
  %73 = load double, ptr %71, align 8, !tbaa !26
  %74 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %73, ptr noundef %3)
  %75 = fdiv double 1.000000e+00, %74
  %76 = load ptr, ptr %51, align 8, !tbaa !25
  %77 = load i64, ptr %5, align 8, !tbaa !31
  %78 = getelementptr inbounds double, ptr %76, i64 %77
  store double %75, ptr %78, align 8, !tbaa !26
  br label %80

79:                                               ; preds = %64
  store double 1.000000e+00, ptr %71, align 8, !tbaa !26
  br label %80

80:                                               ; preds = %72, %79
  %81 = phi i64 [ %77, %72 ], [ %70, %79 ]
  %82 = add nsw i64 %81, 1
  store i64 %82, ptr %5, align 8, !tbaa !31
  %.not.not69 = icmp slt i64 %82, %11
  br i1 %.not.not69, label %64, label %.loopexit78, !llvm.loop !33

83:                                               ; preds = %83, %.lr.ph.new
  %storemerge83 = phi i64 [ 0, %.lr.ph.new ], [ %95, %83 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.3, %83 ]
  %84 = load ptr, ptr %27, align 8, !tbaa !25
  %85 = getelementptr inbounds double, ptr %84, i64 %storemerge83
  store double 1.000000e+00, ptr %85, align 8, !tbaa !26
  %86 = or disjoint i64 %storemerge83, 1
  %87 = load ptr, ptr %27, align 8, !tbaa !25
  %88 = getelementptr inbounds double, ptr %87, i64 %86
  store double 1.000000e+00, ptr %88, align 8, !tbaa !26
  %89 = or disjoint i64 %storemerge83, 2
  %90 = load ptr, ptr %27, align 8, !tbaa !25
  %91 = getelementptr inbounds double, ptr %90, i64 %89
  store double 1.000000e+00, ptr %91, align 8, !tbaa !26
  %92 = or disjoint i64 %storemerge83, 3
  %93 = load ptr, ptr %27, align 8, !tbaa !25
  %94 = getelementptr inbounds double, ptr %93, i64 %92
  store double 1.000000e+00, ptr %94, align 8, !tbaa !26
  %95 = add nuw nsw i64 %storemerge83, 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 %.loopexit81.loopexit.unr-lcssa, label %83, !llvm.loop !34

.loopexit81.loopexit.unr-lcssa:                   ; preds = %83, %.lr.ph
  %storemerge83.unr = phi i64 [ 0, %.lr.ph ], [ %95, %83 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.loopexit81, label %.epil.preheader

.epil.preheader:                                  ; preds = %.loopexit81.loopexit.unr-lcssa, %.epil.preheader
  %storemerge83.epil = phi i64 [ %98, %.epil.preheader ], [ %storemerge83.unr, %.loopexit81.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %.loopexit81.loopexit.unr-lcssa ]
  %96 = load ptr, ptr %27, align 8, !tbaa !25
  %97 = getelementptr inbounds double, ptr %96, i64 %storemerge83.epil
  store double 1.000000e+00, ptr %97, align 8, !tbaa !26
  %98 = add nuw nsw i64 %storemerge83.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 %.loopexit81, label %.epil.preheader, !llvm.loop !35

.loopexit81:                                      ; preds = %.loopexit81.loopexit.unr-lcssa, %.epil.preheader, %.preheader80
  %storemerge.lcssa = phi i64 [ 0, %.preheader80 ], [ %11, %.epil.preheader ], [ %11, %.loopexit81.loopexit.unr-lcssa ]
  store i64 %storemerge.lcssa, ptr %5, align 8, !tbaa !31
  br label %.loopexit78

.loopexit78:                                      ; preds = %80, %.preheader77, %.loopexit81
  call void @_ZN11alglib_impl11linlsqrsetbEPNS_12linlsqrstateEPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef nonnull %2, ptr noundef %3)
  call void @_ZN11alglib_impl14linlsqrrestartEPNS_12linlsqrstateEPNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef %3)
  %99 = call noundef zeroext i1 @_ZN11alglib_impl16linlsqriterationEPNS_12linlsqrstateEPNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef %3)
  br i1 %99, label %.lr.ph104, label %.preheader

.lr.ph104:                                        ; preds = %.loopexit78
  %100 = getelementptr inbounds i8, ptr %0, i64 1762
  %.not.not7393 = icmp sgt i64 %11, 0
  %101 = getelementptr inbounds i8, ptr %0, i64 1856
  %102 = getelementptr inbounds i8, ptr %0, i64 1592
  %103 = getelementptr inbounds i8, ptr %0, i64 1920
  %104 = getelementptr inbounds i8, ptr %0, i64 1600
  %105 = getelementptr inbounds i8, ptr %0, i64 1763
  %106 = getelementptr inbounds i8, ptr %0, i64 1536
  %107 = getelementptr inbounds i8, ptr %0, i64 1664
  %108 = getelementptr inbounds i8, ptr %0, i64 1720
  %109 = add i64 %11, -1
  %xtraiter124 = and i64 %11, 1
  %110 = icmp eq i64 %109, 0
  %unroll_iter127 = and i64 %11, 9223372036854775806
  %lcmp.mod126.not = icmp eq i64 %xtraiter124, 0
  %xtraiter129 = and i64 %11, 1
  %111 = icmp eq i64 %109, 0
  %unroll_iter132 = and i64 %11, 9223372036854775806
  %lcmp.mod131.not = icmp eq i64 %xtraiter129, 0
  br label %115

.preheader:                                       ; preds = %174, %.loopexit78
  %.not.not71105 = icmp sgt i64 %11, 0
  br i1 %.not.not71105, label %.lr.ph107, label %._crit_edge108

.lr.ph107:                                        ; preds = %.preheader
  %112 = getelementptr inbounds i8, ptr %0, i64 1856
  %113 = getelementptr inbounds i8, ptr %0, i64 848
  %xtraiter135 = and i64 %11, 1
  %114 = icmp eq i64 %11, 1
  br i1 %114, label %._crit_edge108.loopexit.unr-lcssa, label %.lr.ph107.new

.lr.ph107.new:                                    ; preds = %.lr.ph107
  %unroll_iter138 = and i64 %11, 9223372036854775806
  br label %176

115:                                              ; preds = %.lr.ph104, %174
  %116 = load i8, ptr %100, align 2, !tbaa !36, !range !20, !noundef !21
  %117 = trunc nuw i8 %116 to i1
  br i1 %117, label %.preheader76, label %147

.preheader76:                                     ; preds = %115
  br i1 %.not.not7393, label %.lr.ph95.preheader, label %._crit_edge96

.lr.ph95.preheader:                               ; preds = %.preheader76
  br i1 %110, label %._crit_edge96.loopexit.unr-lcssa, label %.lr.ph95

.lr.ph95:                                         ; preds = %.lr.ph95.preheader, %.lr.ph95
  %storemerge7294 = phi i64 [ %137, %.lr.ph95 ], [ 0, %.lr.ph95.preheader ]
  %niter128 = phi i64 [ %niter128.next.1, %.lr.ph95 ], [ 0, %.lr.ph95.preheader ]
  %118 = load ptr, ptr %101, align 8, !tbaa !25
  %119 = getelementptr inbounds double, ptr %118, i64 %storemerge7294
  %120 = load double, ptr %119, align 8, !tbaa !26
  %121 = load ptr, ptr %102, align 8, !tbaa !25
  %122 = getelementptr inbounds double, ptr %121, i64 %storemerge7294
  %123 = load double, ptr %122, align 8, !tbaa !26
  %124 = fmul double %120, %123
  %125 = load ptr, ptr %103, align 8, !tbaa !25
  %126 = getelementptr inbounds double, ptr %125, i64 %storemerge7294
  store double %124, ptr %126, align 8, !tbaa !26
  %127 = or disjoint i64 %storemerge7294, 1
  %128 = load ptr, ptr %101, 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 %102, align 8, !tbaa !25
  %132 = getelementptr inbounds double, ptr %131, i64 %127
  %133 = load double, ptr %132, align 8, !tbaa !26
  %134 = fmul double %130, %133
  %135 = load ptr, ptr %103, align 8, !tbaa !25
  %136 = getelementptr inbounds double, ptr %135, i64 %127
  store double %134, ptr %136, align 8, !tbaa !26
  %137 = add nuw nsw i64 %storemerge7294, 2
  %niter128.next.1 = add i64 %niter128, 2
  %niter128.ncmp.1 = icmp eq i64 %niter128.next.1, %unroll_iter127
  br i1 %niter128.ncmp.1, label %._crit_edge96.loopexit.unr-lcssa, label %.lr.ph95, !llvm.loop !37

._crit_edge96.loopexit.unr-lcssa:                 ; preds = %.lr.ph95, %.lr.ph95.preheader
  %storemerge7294.unr = phi i64 [ 0, %.lr.ph95.preheader ], [ %137, %.lr.ph95 ]
  br i1 %lcmp.mod126.not, label %._crit_edge96, label %.lr.ph95.epil

.lr.ph95.epil:                                    ; preds = %._crit_edge96.loopexit.unr-lcssa
  %138 = load ptr, ptr %101, align 8, !tbaa !25
  %139 = getelementptr inbounds double, ptr %138, i64 %storemerge7294.unr
  %140 = load double, ptr %139, align 8, !tbaa !26
  %141 = load ptr, ptr %102, align 8, !tbaa !25
  %142 = getelementptr inbounds double, ptr %141, i64 %storemerge7294.unr
  %143 = load double, ptr %142, align 8, !tbaa !26
  %144 = fmul double %140, %143
  %145 = load ptr, ptr %103, align 8, !tbaa !25
  %146 = getelementptr inbounds double, ptr %145, i64 %storemerge7294.unr
  store double %144, ptr %146, align 8, !tbaa !26
  br label %._crit_edge96

._crit_edge96:                                    ; preds = %.lr.ph95.epil, %._crit_edge96.loopexit.unr-lcssa, %.preheader76
  %storemerge72.lcssa = phi i64 [ 0, %.preheader76 ], [ %11, %._crit_edge96.loopexit.unr-lcssa ], [ %11, %.lr.ph95.epil ]
  store i64 %storemerge72.lcssa, ptr %5, align 8, !tbaa !31
  call void @_ZN11alglib_impl8sparsemvEPNS_12sparsematrixEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef %1, ptr noundef nonnull %23, ptr noundef nonnull %104, ptr noundef %3)
  br label %147

147:                                              ; preds = %._crit_edge96, %115
  %148 = load i8, ptr %105, align 1, !tbaa !38, !range !20, !noundef !21
  %149 = trunc nuw i8 %148 to i1
  br i1 %149, label %150, label %174

150:                                              ; preds = %147
  call void @_ZN11alglib_impl9sparsemtvEPNS_12sparsematrixEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef %1, ptr noundef nonnull %106, ptr noundef nonnull %107, ptr noundef %3)
  br i1 %.not.not7393, label %.lr.ph101.preheader, label %.loopexit

.lr.ph101.preheader:                              ; preds = %150
  br i1 %111, label %.loopexit.loopexit.unr-lcssa, label %.lr.ph101

.lr.ph101:                                        ; preds = %.lr.ph101.preheader, %.lr.ph101
  %storemerge7499 = phi i64 [ %166, %.lr.ph101 ], [ 0, %.lr.ph101.preheader ]
  %niter133 = phi i64 [ %niter133.next.1, %.lr.ph101 ], [ 0, %.lr.ph101.preheader ]
  %151 = load ptr, ptr %101, align 8, !tbaa !25
  %152 = getelementptr inbounds double, ptr %151, i64 %storemerge7499
  %153 = load double, ptr %152, align 8, !tbaa !26
  %154 = load ptr, ptr %108, align 8, !tbaa !25
  %155 = getelementptr inbounds double, ptr %154, i64 %storemerge7499
  %156 = load double, ptr %155, align 8, !tbaa !26
  %157 = fmul double %153, %156
  store double %157, ptr %155, align 8, !tbaa !26
  %158 = or disjoint i64 %storemerge7499, 1
  %159 = load ptr, ptr %101, align 8, !tbaa !25
  %160 = getelementptr inbounds double, ptr %159, i64 %158
  %161 = load double, ptr %160, align 8, !tbaa !26
  %162 = load ptr, ptr %108, align 8, !tbaa !25
  %163 = getelementptr inbounds double, ptr %162, i64 %158
  %164 = load double, ptr %163, align 8, !tbaa !26
  %165 = fmul double %161, %164
  store double %165, ptr %163, align 8, !tbaa !26
  %166 = add nuw nsw i64 %storemerge7499, 2
  %niter133.next.1 = add i64 %niter133, 2
  %niter133.ncmp.1 = icmp eq i64 %niter133.next.1, %unroll_iter132
  br i1 %niter133.ncmp.1, label %.loopexit.loopexit.unr-lcssa, label %.lr.ph101, !llvm.loop !39

.loopexit.loopexit.unr-lcssa:                     ; preds = %.lr.ph101, %.lr.ph101.preheader
  %storemerge7499.unr = phi i64 [ 0, %.lr.ph101.preheader ], [ %166, %.lr.ph101 ]
  br i1 %lcmp.mod131.not, label %.loopexit, label %.lr.ph101.epil

.lr.ph101.epil:                                   ; preds = %.loopexit.loopexit.unr-lcssa
  %167 = load ptr, ptr %101, align 8, !tbaa !25
  %168 = getelementptr inbounds double, ptr %167, i64 %storemerge7499.unr
  %169 = load double, ptr %168, align 8, !tbaa !26
  %170 = load ptr, ptr %108, align 8, !tbaa !25
  %171 = getelementptr inbounds double, ptr %170, i64 %storemerge7499.unr
  %172 = load double, ptr %171, align 8, !tbaa !26
  %173 = fmul double %169, %172
  store double %173, ptr %171, align 8, !tbaa !26
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph101.epil, %.loopexit.loopexit.unr-lcssa, %150
  %storemerge74.lcssa = phi i64 [ 0, %150 ], [ %11, %.loopexit.loopexit.unr-lcssa ], [ %11, %.lr.ph101.epil ]
  store i64 %storemerge74.lcssa, ptr %5, align 8, !tbaa !31
  br label %174

174:                                              ; preds = %.loopexit, %147
  %175 = call noundef zeroext i1 @_ZN11alglib_impl16linlsqriterationEPNS_12linlsqrstateEPNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef %3)
  br i1 %175, label %115, label %.preheader, !llvm.loop !40

176:                                              ; preds = %176, %.lr.ph107.new
  %storemerge70106 = phi i64 [ 0, %.lr.ph107.new ], [ %192, %176 ]
  %niter139 = phi i64 [ 0, %.lr.ph107.new ], [ %niter139.next.1, %176 ]
  %177 = load ptr, ptr %112, align 8, !tbaa !25
  %178 = getelementptr inbounds double, ptr %177, i64 %storemerge70106
  %179 = load double, ptr %178, align 8, !tbaa !26
  %180 = load ptr, ptr %113, align 8, !tbaa !25
  %181 = getelementptr inbounds double, ptr %180, i64 %storemerge70106
  %182 = load double, ptr %181, align 8, !tbaa !26
  %183 = fmul double %179, %182
  store double %183, ptr %181, align 8, !tbaa !26
  %184 = or disjoint i64 %storemerge70106, 1
  %185 = load ptr, ptr %112, align 8, !tbaa !25
  %186 = getelementptr inbounds double, ptr %185, i64 %184
  %187 = load double, ptr %186, align 8, !tbaa !26
  %188 = load ptr, ptr %113, align 8, !tbaa !25
  %189 = getelementptr inbounds double, ptr %188, i64 %184
  %190 = load double, ptr %189, align 8, !tbaa !26
  %191 = fmul double %187, %190
  store double %191, ptr %189, align 8, !tbaa !26
  %192 = add nuw nsw i64 %storemerge70106, 2
  %niter139.next.1 = add i64 %niter139, 2
  %niter139.ncmp.1 = icmp eq i64 %niter139.next.1, %unroll_iter138
  br i1 %niter139.ncmp.1, label %._crit_edge108.loopexit.unr-lcssa, label %176, !llvm.loop !41

._crit_edge108.loopexit.unr-lcssa:                ; preds = %176, %.lr.ph107
  %storemerge70106.unr = phi i64 [ 0, %.lr.ph107 ], [ %192, %176 ]
  %lcmp.mod137.not = icmp eq i64 %xtraiter135, 0
  br i1 %lcmp.mod137.not, label %._crit_edge108, label %._crit_edge108.loopexit.epilog-lcssa

._crit_edge108.loopexit.epilog-lcssa:             ; preds = %._crit_edge108.loopexit.unr-lcssa
  %193 = load ptr, ptr %112, align 8, !tbaa !25
  %194 = getelementptr inbounds double, ptr %193, i64 %storemerge70106.unr
  %195 = load double, ptr %194, align 8, !tbaa !26
  %196 = load ptr, ptr %113, align 8, !tbaa !25
  %197 = getelementptr inbounds double, ptr %196, i64 %storemerge70106.unr
  %198 = load double, ptr %197, align 8, !tbaa !26
  %199 = fmul double %195, %198
  store double %199, ptr %197, align 8, !tbaa !26
  br label %._crit_edge108

._crit_edge108:                                   ; preds = %._crit_edge108.loopexit.epilog-lcssa, %._crit_edge108.loopexit.unr-lcssa, %.preheader
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  ret void
}

declare noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #1

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

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

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

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

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

declare noundef double @_ZN11alglib_impl6ae_sqrEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #1

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

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

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

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

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !8, i64 920}
!6 = !{!"_ZTSN11alglib_impl12linlsqrstateE", !7, i64 0, !11, i64 792, !11, i64 856, !8, i64 920, !8, i64 928, !8, i64 936, !11, i64 944, !11, i64 1008, !11, i64 1072, !11, i64 1136, !11, i64 1200, !11, i64 1264, !16, i64 1328, !16, i64 1336, !16, i64 1344, !16, i64 1352, !16, i64 1360, !16, i64 1368, !16, i64 1376, !16, i64 1384, !16, i64 1392, !16, i64 1400, !16, i64 1408, !16, i64 1416, !16, i64 1424, !16, i64 1432, !11, i64 1440, !16, i64 1504, !16, i64 1512, !16, i64 1520, !16, i64 1528, !11, i64 1536, !11, i64 1600, !11, i64 1664, !16, i64 1728, !16, i64 1736, !16, i64 1744, !8, i64 1752, !12, i64 1760, !12, i64 1761, !12, i64 1762, !12, i64 1763, !12, i64 1764, !12, i64 1765, !12, i64 1766, !8, i64 1768, !8, i64 1776, !8, i64 1784, !12, i64 1792, !12, i64 1793, !11, i64 1800, !11, i64 1864, !17, i64 1928}
!7 = !{!"_ZTSN11alglib_impl18normestimatorstateE", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !11, i64 40, !11, i64 104, !11, i64 168, !11, i64 232, !15, i64 296, !11, i64 320, !11, i64 384, !11, i64 448, !12, i64 512, !12, i64 513, !16, i64 520, !17, i64 528}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"_ZTSN11alglib_impl9ae_vectorE", !8, i64 0, !8, i64 8, !12, i64 16, !13, i64 24, !9, i64 56}
!12 = !{!"bool", !9, i64 0}
!13 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!"_ZTSN11alglib_impl10hqrndstateE", !8, i64 0, !8, i64 8, !8, i64 16}
!16 = !{!"double", !9, i64 0}
!17 = !{!"_ZTSN11alglib_impl10rcommstateE", !18, i64 0, !11, i64 8, !11, i64 72, !11, i64 136, !11, i64 200}
!18 = !{!"int", !9, i64 0}
!19 = !{!6, !12, i64 1792}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = !{!11, !8, i64 0}
!23 = !{!6, !8, i64 928}
!24 = !{!6, !8, i64 936}
!25 = !{!9, !9, i64 0}
!26 = !{!16, !16, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.unroll.disable"}
!31 = !{!8, !8, i64 0}
!32 = distinct !{!32, !28}
!33 = distinct !{!33, !28}
!34 = distinct !{!34, !28}
!35 = distinct !{!35, !30}
!36 = !{!6, !12, i64 1762}
!37 = distinct !{!37, !28}
!38 = !{!6, !12, i64 1763}
!39 = distinct !{!39, !28}
!40 = distinct !{!40, !28}
!41 = distinct !{!41, !28}


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