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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.alglib_impl::ae_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::sparsematrix" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64, i64, i64, i64 }

@.str.58 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [38 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_impl18sparsecreatesksbufEllPNS_9ae_vectorES1_PNS_12sparsematrixEPNS_8ae_stateE(i64 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #2 {
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  store i64 %0, ptr %7, align 8, !tbaa !5
  store i64 %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !9
  store ptr %3, ptr %10, align 8, !tbaa !9
  store ptr %4, ptr %11, align 8, !tbaa !9
  store ptr %5, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  %18 = load i64, ptr %7, align 8, !tbaa !5
  %19 = icmp sgt i64 %18, 0
  %20 = load ptr, ptr %12, align 8, !tbaa !9
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %19, ptr noundef @.str.58, ptr noundef %20)
  %21 = load i64, ptr %8, align 8, !tbaa !5
  %22 = icmp sgt i64 %21, 0
  %23 = load ptr, ptr %12, align 8, !tbaa !9
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %22, ptr noundef @.str.59, ptr noundef %23)
  %24 = load i64, ptr %7, align 8, !tbaa !5
  %25 = load i64, ptr %8, align 8, !tbaa !5
  %26 = icmp eq i64 %24, %25
  %27 = load ptr, ptr %12, align 8, !tbaa !9
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %26, ptr noundef @.str.60, ptr noundef %27)
  %28 = load ptr, ptr %9, align 8, !tbaa !9
  %29 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %28, i32 0, i32 0
  %30 = load i64, ptr %29, align 8, !tbaa !11
  %31 = load i64, ptr %7, align 8, !tbaa !5
  %32 = icmp sge i64 %30, %31
  %33 = load ptr, ptr %12, align 8, !tbaa !9
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %32, ptr noundef @.str.61, ptr noundef %33)
  %34 = load ptr, ptr %10, align 8, !tbaa !9
  %35 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %34, i32 0, i32 0
  %36 = load i64, ptr %35, align 8, !tbaa !11
  %37 = load i64, ptr %8, align 8, !tbaa !5
  %38 = icmp sge i64 %36, %37
  %39 = load ptr, ptr %12, align 8, !tbaa !9
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %38, ptr noundef @.str.62, ptr noundef %39)
  store i64 0, ptr %13, align 8, !tbaa !5
  br label %40

40:                                               ; preds = %63, %6
  %41 = load i64, ptr %13, align 8, !tbaa !5
  %42 = load i64, ptr %7, align 8, !tbaa !5
  %43 = sub nsw i64 %42, 1
  %44 = icmp sle i64 %41, %43
  br i1 %44, label %45, label %66

45:                                               ; preds = %40
  %46 = load ptr, ptr %9, align 8, !tbaa !9
  %47 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %46, i32 0, i32 4
  %48 = load ptr, ptr %47, align 8, !tbaa !15
  %49 = load i64, ptr %13, align 8, !tbaa !5
  %50 = getelementptr inbounds i64, ptr %48, i64 %49
  %51 = load i64, ptr %50, align 8, !tbaa !5
  %52 = icmp sge i64 %51, 0
  %53 = load ptr, ptr %12, align 8, !tbaa !9
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %52, ptr noundef @.str.63, ptr noundef %53)
  %54 = load ptr, ptr %9, align 8, !tbaa !9
  %55 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %54, i32 0, i32 4
  %56 = load ptr, ptr %55, align 8, !tbaa !15
  %57 = load i64, ptr %13, align 8, !tbaa !5
  %58 = getelementptr inbounds i64, ptr %56, i64 %57
  %59 = load i64, ptr %58, align 8, !tbaa !5
  %60 = load i64, ptr %13, align 8, !tbaa !5
  %61 = icmp sle i64 %59, %60
  %62 = load ptr, ptr %12, align 8, !tbaa !9
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %61, ptr noundef @.str.64, ptr noundef %62)
  br label %63

63:                                               ; preds = %45
  %64 = load i64, ptr %13, align 8, !tbaa !5
  %65 = add nsw i64 %64, 1
  store i64 %65, ptr %13, align 8, !tbaa !5
  br label %40, !llvm.loop !16

66:                                               ; preds = %40
  store i64 0, ptr %13, align 8, !tbaa !5
  br label %67

67:                                               ; preds = %90, %66
  %68 = load i64, ptr %13, align 8, !tbaa !5
  %69 = load i64, ptr %8, align 8, !tbaa !5
  %70 = sub nsw i64 %69, 1
  %71 = icmp sle i64 %68, %70
  br i1 %71, label %72, label %93

72:                                               ; preds = %67
  %73 = load ptr, ptr %10, align 8, !tbaa !9
  %74 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %73, i32 0, i32 4
  %75 = load ptr, ptr %74, align 8, !tbaa !15
  %76 = load i64, ptr %13, align 8, !tbaa !5
  %77 = getelementptr inbounds i64, ptr %75, i64 %76
  %78 = load i64, ptr %77, align 8, !tbaa !5
  %79 = icmp sge i64 %78, 0
  %80 = load ptr, ptr %12, align 8, !tbaa !9
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %79, ptr noundef @.str.65, ptr noundef %80)
  %81 = load ptr, ptr %10, align 8, !tbaa !9
  %82 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %81, i32 0, i32 4
  %83 = load ptr, ptr %82, align 8, !tbaa !15
  %84 = load i64, ptr %13, align 8, !tbaa !5
  %85 = getelementptr inbounds i64, ptr %83, i64 %84
  %86 = load i64, ptr %85, align 8, !tbaa !5
  %87 = load i64, ptr %13, align 8, !tbaa !5
  %88 = icmp sle i64 %86, %87
  %89 = load ptr, ptr %12, align 8, !tbaa !9
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %88, ptr noundef @.str.66, ptr noundef %89)
  br label %90

90:                                               ; preds = %72
  %91 = load i64, ptr %13, align 8, !tbaa !5
  %92 = add nsw i64 %91, 1
  store i64 %92, ptr %13, align 8, !tbaa !5
  br label %67, !llvm.loop !18

93:                                               ; preds = %67
  %94 = load i64, ptr %7, align 8, !tbaa !5
  %95 = load i64, ptr %8, align 8, !tbaa !5
  %96 = load ptr, ptr %12, align 8, !tbaa !9
  %97 = call noundef i64 @_ZN11alglib_impl9ae_minintEllPNS_8ae_stateE(i64 noundef %94, i64 noundef %95, ptr noundef %96)
  store i64 %97, ptr %14, align 8, !tbaa !5
  %98 = load ptr, ptr %11, align 8, !tbaa !9
  %99 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %98, i32 0, i32 5
  store i64 2, ptr %99, align 8, !tbaa !19
  %100 = load ptr, ptr %11, align 8, !tbaa !9
  %101 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %100, i32 0, i32 9
  store i64 0, ptr %101, align 8, !tbaa !21
  %102 = load i64, ptr %7, align 8, !tbaa !5
  %103 = load ptr, ptr %11, align 8, !tbaa !9
  %104 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %103, i32 0, i32 6
  store i64 %102, ptr %104, align 8, !tbaa !22
  %105 = load i64, ptr %8, align 8, !tbaa !5
  %106 = load ptr, ptr %11, align 8, !tbaa !9
  %107 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %106, i32 0, i32 7
  store i64 %105, ptr %107, align 8, !tbaa !23
  %108 = load ptr, ptr %11, align 8, !tbaa !9
  %109 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %108, i32 0, i32 2
  %110 = load i64, ptr %14, align 8, !tbaa !5
  %111 = add nsw i64 %110, 1
  %112 = load ptr, ptr %12, align 8, !tbaa !9
  call void @_ZN11alglib_impl23ivectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %109, i64 noundef %111, ptr noundef %112)
  %113 = load ptr, ptr %11, align 8, !tbaa !9
  %114 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %113, i32 0, i32 2
  %115 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %114, i32 0, i32 4
  %116 = load ptr, ptr %115, align 8, !tbaa !15
  %117 = getelementptr inbounds i64, ptr %116, i64 0
  store i64 0, ptr %117, align 8, !tbaa !5
  store i64 0, ptr %15, align 8, !tbaa !5
  store i64 0, ptr %13, align 8, !tbaa !5
  br label %118

118:                                              ; preds = %169, %93
  %119 = load i64, ptr %13, align 8, !tbaa !5
  %120 = load i64, ptr %14, align 8, !tbaa !5
  %121 = sub nsw i64 %120, 1
  %122 = icmp sle i64 %119, %121
  br i1 %122, label %123, label %172

123:                                              ; preds = %118
  %124 = load i64, ptr %15, align 8, !tbaa !5
  %125 = add nsw i64 %124, 1
  %126 = load ptr, ptr %9, align 8, !tbaa !9
  %127 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %126, i32 0, i32 4
  %128 = load ptr, ptr %127, align 8, !tbaa !15
  %129 = load i64, ptr %13, align 8, !tbaa !5
  %130 = getelementptr inbounds i64, ptr %128, i64 %129
  %131 = load i64, ptr %130, align 8, !tbaa !5
  %132 = add nsw i64 %125, %131
  %133 = load ptr, ptr %10, align 8, !tbaa !9
  %134 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %133, i32 0, i32 4
  %135 = load ptr, ptr %134, align 8, !tbaa !15
  %136 = load i64, ptr %13, align 8, !tbaa !5
  %137 = getelementptr inbounds i64, ptr %135, i64 %136
  %138 = load i64, ptr %137, align 8, !tbaa !5
  %139 = add nsw i64 %132, %138
  store i64 %139, ptr %15, align 8, !tbaa !5
  %140 = load ptr, ptr %11, align 8, !tbaa !9
  %141 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %140, i32 0, i32 2
  %142 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %141, i32 0, i32 4
  %143 = load ptr, ptr %142, align 8, !tbaa !15
  %144 = load i64, ptr %13, align 8, !tbaa !5
  %145 = getelementptr inbounds i64, ptr %143, i64 %144
  %146 = load i64, ptr %145, align 8, !tbaa !5
  %147 = add nsw i64 %146, 1
  %148 = load ptr, ptr %9, align 8, !tbaa !9
  %149 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %148, i32 0, i32 4
  %150 = load ptr, ptr %149, align 8, !tbaa !15
  %151 = load i64, ptr %13, align 8, !tbaa !5
  %152 = getelementptr inbounds i64, ptr %150, i64 %151
  %153 = load i64, ptr %152, align 8, !tbaa !5
  %154 = add nsw i64 %147, %153
  %155 = load ptr, ptr %10, align 8, !tbaa !9
  %156 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %155, i32 0, i32 4
  %157 = load ptr, ptr %156, align 8, !tbaa !15
  %158 = load i64, ptr %13, align 8, !tbaa !5
  %159 = getelementptr inbounds i64, ptr %157, i64 %158
  %160 = load i64, ptr %159, align 8, !tbaa !5
  %161 = add nsw i64 %154, %160
  %162 = load ptr, ptr %11, align 8, !tbaa !9
  %163 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %162, i32 0, i32 2
  %164 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %163, i32 0, i32 4
  %165 = load ptr, ptr %164, align 8, !tbaa !15
  %166 = load i64, ptr %13, align 8, !tbaa !5
  %167 = add nsw i64 %166, 1
  %168 = getelementptr inbounds i64, ptr %165, i64 %167
  store i64 %161, ptr %168, align 8, !tbaa !5
  br label %169

169:                                              ; preds = %123
  %170 = load i64, ptr %13, align 8, !tbaa !5
  %171 = add nsw i64 %170, 1
  store i64 %171, ptr %13, align 8, !tbaa !5
  br label %118, !llvm.loop !24

172:                                              ; preds = %118
  %173 = load ptr, ptr %11, align 8, !tbaa !9
  %174 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %173, i32 0, i32 0
  %175 = load i64, ptr %15, align 8, !tbaa !5
  %176 = load ptr, ptr %12, align 8, !tbaa !9
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %174, i64 noundef %175, ptr noundef %176)
  store i64 0, ptr %13, align 8, !tbaa !5
  br label %177

177:                                              ; preds = %189, %172
  %178 = load i64, ptr %13, align 8, !tbaa !5
  %179 = load i64, ptr %15, align 8, !tbaa !5
  %180 = sub nsw i64 %179, 1
  %181 = icmp sle i64 %178, %180
  br i1 %181, label %182, label %192

182:                                              ; preds = %177
  %183 = load ptr, ptr %11, align 8, !tbaa !9
  %184 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %183, i32 0, i32 0
  %185 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %184, i32 0, i32 4
  %186 = load ptr, ptr %185, align 8, !tbaa !15
  %187 = load i64, ptr %13, align 8, !tbaa !5
  %188 = getelementptr inbounds double, ptr %186, i64 %187
  store double 0.000000e+00, ptr %188, align 8, !tbaa !25
  br label %189

189:                                              ; preds = %182
  %190 = load i64, ptr %13, align 8, !tbaa !5
  %191 = add nsw i64 %190, 1
  store i64 %191, ptr %13, align 8, !tbaa !5
  br label %177, !llvm.loop !27

192:                                              ; preds = %177
  %193 = load ptr, ptr %11, align 8, !tbaa !9
  %194 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %193, i32 0, i32 3
  %195 = load i64, ptr %7, align 8, !tbaa !5
  %196 = add nsw i64 %195, 1
  %197 = load ptr, ptr %12, align 8, !tbaa !9
  call void @_ZN11alglib_impl23ivectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %194, i64 noundef %196, ptr noundef %197)
  store i64 0, ptr %16, align 8, !tbaa !5
  store i64 0, ptr %13, align 8, !tbaa !5
  br label %198

198:                                              ; preds = %225, %192
  %199 = load i64, ptr %13, align 8, !tbaa !5
  %200 = load i64, ptr %7, align 8, !tbaa !5
  %201 = sub nsw i64 %200, 1
  %202 = icmp sle i64 %199, %201
  br i1 %202, label %203, label %228

203:                                              ; preds = %198
  %204 = load ptr, ptr %9, align 8, !tbaa !9
  %205 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %204, i32 0, i32 4
  %206 = load ptr, ptr %205, align 8, !tbaa !15
  %207 = load i64, ptr %13, align 8, !tbaa !5
  %208 = getelementptr inbounds i64, ptr %206, i64 %207
  %209 = load i64, ptr %208, align 8, !tbaa !5
  %210 = load ptr, ptr %11, align 8, !tbaa !9
  %211 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %210, i32 0, i32 3
  %212 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %211, i32 0, i32 4
  %213 = load ptr, ptr %212, align 8, !tbaa !15
  %214 = load i64, ptr %13, align 8, !tbaa !5
  %215 = getelementptr inbounds i64, ptr %213, i64 %214
  store i64 %209, ptr %215, align 8, !tbaa !5
  %216 = load i64, ptr %16, align 8, !tbaa !5
  %217 = load ptr, ptr %9, align 8, !tbaa !9
  %218 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %217, i32 0, i32 4
  %219 = load ptr, ptr %218, align 8, !tbaa !15
  %220 = load i64, ptr %13, align 8, !tbaa !5
  %221 = getelementptr inbounds i64, ptr %219, i64 %220
  %222 = load i64, ptr %221, align 8, !tbaa !5
  %223 = load ptr, ptr %12, align 8, !tbaa !9
  %224 = call noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 noundef %216, i64 noundef %222, ptr noundef %223)
  store i64 %224, ptr %16, align 8, !tbaa !5
  br label %225

225:                                              ; preds = %203
  %226 = load i64, ptr %13, align 8, !tbaa !5
  %227 = add nsw i64 %226, 1
  store i64 %227, ptr %13, align 8, !tbaa !5
  br label %198, !llvm.loop !28

228:                                              ; preds = %198
  %229 = load i64, ptr %16, align 8, !tbaa !5
  %230 = load ptr, ptr %11, align 8, !tbaa !9
  %231 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %230, i32 0, i32 3
  %232 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %231, i32 0, i32 4
  %233 = load ptr, ptr %232, align 8, !tbaa !15
  %234 = load i64, ptr %7, align 8, !tbaa !5
  %235 = getelementptr inbounds i64, ptr %233, i64 %234
  store i64 %229, ptr %235, align 8, !tbaa !5
  %236 = load ptr, ptr %11, align 8, !tbaa !9
  %237 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %236, i32 0, i32 4
  %238 = load i64, ptr %8, align 8, !tbaa !5
  %239 = add nsw i64 %238, 1
  %240 = load ptr, ptr %12, align 8, !tbaa !9
  call void @_ZN11alglib_impl23ivectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %237, i64 noundef %239, ptr noundef %240)
  store i64 0, ptr %17, align 8, !tbaa !5
  store i64 0, ptr %13, align 8, !tbaa !5
  br label %241

241:                                              ; preds = %268, %228
  %242 = load i64, ptr %13, align 8, !tbaa !5
  %243 = load i64, ptr %8, align 8, !tbaa !5
  %244 = sub nsw i64 %243, 1
  %245 = icmp sle i64 %242, %244
  br i1 %245, label %246, label %271

246:                                              ; preds = %241
  %247 = load ptr, ptr %10, align 8, !tbaa !9
  %248 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %247, i32 0, i32 4
  %249 = load ptr, ptr %248, align 8, !tbaa !15
  %250 = load i64, ptr %13, align 8, !tbaa !5
  %251 = getelementptr inbounds i64, ptr %249, i64 %250
  %252 = load i64, ptr %251, align 8, !tbaa !5
  %253 = load ptr, ptr %11, align 8, !tbaa !9
  %254 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %253, i32 0, i32 4
  %255 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %254, i32 0, i32 4
  %256 = load ptr, ptr %255, align 8, !tbaa !15
  %257 = load i64, ptr %13, align 8, !tbaa !5
  %258 = getelementptr inbounds i64, ptr %256, i64 %257
  store i64 %252, ptr %258, align 8, !tbaa !5
  %259 = load i64, ptr %17, align 8, !tbaa !5
  %260 = load ptr, ptr %10, align 8, !tbaa !9
  %261 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %260, i32 0, i32 4
  %262 = load ptr, ptr %261, align 8, !tbaa !15
  %263 = load i64, ptr %13, align 8, !tbaa !5
  %264 = getelementptr inbounds i64, ptr %262, i64 %263
  %265 = load i64, ptr %264, align 8, !tbaa !5
  %266 = load ptr, ptr %12, align 8, !tbaa !9
  %267 = call noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 noundef %259, i64 noundef %265, ptr noundef %266)
  store i64 %267, ptr %17, align 8, !tbaa !5
  br label %268

268:                                              ; preds = %246
  %269 = load i64, ptr %13, align 8, !tbaa !5
  %270 = add nsw i64 %269, 1
  store i64 %270, ptr %13, align 8, !tbaa !5
  br label %241, !llvm.loop !29

271:                                              ; preds = %241
  %272 = load i64, ptr %17, align 8, !tbaa !5
  %273 = load ptr, ptr %11, align 8, !tbaa !9
  %274 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %273, i32 0, i32 4
  %275 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %274, i32 0, i32 4
  %276 = load ptr, ptr %275, align 8, !tbaa !15
  %277 = load i64, ptr %8, align 8, !tbaa !5
  %278 = getelementptr inbounds i64, ptr %276, i64 %277
  store i64 %272, ptr %278, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  ret void
}

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

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

declare noundef i64 @_ZN11alglib_impl9ae_minintEllPNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef) #1

declare noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 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 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSN11alglib_impl9ae_vectorE", !6, i64 0, !6, i64 8, !13, i64 16, !14, i64 24, !7, i64 56}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = !{!20, !6, i64 320}
!20 = !{!"_ZTSN11alglib_impl12sparsematrixE", !12, i64 0, !12, i64 64, !12, i64 128, !12, i64 192, !12, i64 256, !6, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360}
!21 = !{!20, !6, i64 352}
!22 = !{!20, !6, i64 328}
!23 = !{!20, !6, i64 336}
!24 = distinct !{!24, !17}
!25 = !{!26, !26, i64 0}
!26 = !{!"double", !7, i64 0}
!27 = distinct !{!27, !17}
!28 = distinct !{!28, !17}
!29 = distinct !{!29, !17}


; 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.58 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [38 x i8], align 1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl18sparsecreatesksbufEllPNS_9ae_vectorES1_PNS_12sparsematrixEPNS_8ae_stateE(i64 noundef %0, i64 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #1 {
  %7 = icmp sgt i64 %0, 0
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %7, ptr noundef nonnull @.str.58, ptr noundef %5)
  %8 = icmp sgt i64 %1, 0
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %8, ptr noundef nonnull @.str.59, ptr noundef %5)
  %9 = icmp eq i64 %0, %1
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %9, ptr noundef nonnull @.str.60, ptr noundef %5)
  %10 = load i64, ptr %2, align 8, !tbaa !5
  %11 = icmp sge i64 %10, %0
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %11, ptr noundef nonnull @.str.61, ptr noundef %5)
  %12 = load i64, ptr %3, align 8, !tbaa !5
  %13 = icmp sge i64 %12, %1
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %13, ptr noundef nonnull @.str.62, ptr noundef %5)
  br i1 %7, label %.lr.ph, label %.preheader

.lr.ph:                                           ; preds = %6
  %14 = getelementptr inbounds i8, ptr %2, i64 56
  br label %16

.preheader:                                       ; preds = %16, %6
  br i1 %8, label %.lr.ph117, label %._crit_edge

.lr.ph117:                                        ; preds = %.preheader
  %15 = getelementptr inbounds i8, ptr %3, i64 56
  br label %26

16:                                               ; preds = %.lr.ph, %16
  %.0105114 = phi i64 [ 0, %.lr.ph ], [ %25, %16 ]
  %17 = load ptr, ptr %14, align 8, !tbaa !13
  %18 = getelementptr inbounds i64, ptr %17, i64 %.0105114
  %19 = load i64, ptr %18, align 8, !tbaa !14
  %20 = icmp sgt i64 %19, -1
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %20, ptr noundef nonnull @.str.63, ptr noundef %5)
  %21 = load ptr, ptr %14, align 8, !tbaa !13
  %22 = getelementptr inbounds i64, ptr %21, i64 %.0105114
  %23 = load i64, ptr %22, align 8, !tbaa !14
  %24 = icmp sle i64 %23, %.0105114
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %24, ptr noundef nonnull @.str.64, ptr noundef %5)
  %25 = add nuw nsw i64 %.0105114, 1
  %exitcond.not = icmp eq i64 %25, %0
  br i1 %exitcond.not, label %.preheader, label %16, !llvm.loop !15

26:                                               ; preds = %.lr.ph117, %26
  %.1116 = phi i64 [ 0, %.lr.ph117 ], [ %35, %26 ]
  %27 = load ptr, ptr %15, align 8, !tbaa !13
  %28 = getelementptr inbounds i64, ptr %27, i64 %.1116
  %29 = load i64, ptr %28, align 8, !tbaa !14
  %30 = icmp sgt i64 %29, -1
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %30, ptr noundef nonnull @.str.65, ptr noundef %5)
  %31 = load ptr, ptr %15, align 8, !tbaa !13
  %32 = getelementptr inbounds i64, ptr %31, i64 %.1116
  %33 = load i64, ptr %32, align 8, !tbaa !14
  %34 = icmp sle i64 %33, %.1116
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %34, ptr noundef nonnull @.str.66, ptr noundef %5)
  %35 = add nuw nsw i64 %.1116, 1
  %exitcond145.not = icmp eq i64 %35, %1
  br i1 %exitcond145.not, label %._crit_edge, label %26, !llvm.loop !17

._crit_edge:                                      ; preds = %26, %.preheader
  %36 = tail call noundef i64 @_ZN11alglib_impl9ae_minintEllPNS_8ae_stateE(i64 noundef %0, i64 noundef %1, ptr noundef %5)
  %37 = getelementptr inbounds i8, ptr %4, i64 320
  store i64 2, ptr %37, align 8, !tbaa !18
  %38 = getelementptr inbounds i8, ptr %4, i64 352
  store i64 0, ptr %38, align 8, !tbaa !20
  %39 = getelementptr inbounds i8, ptr %4, i64 328
  store i64 %0, ptr %39, align 8, !tbaa !21
  %40 = getelementptr inbounds i8, ptr %4, i64 336
  store i64 %1, ptr %40, align 8, !tbaa !22
  %41 = getelementptr inbounds i8, ptr %4, i64 128
  %42 = add nsw i64 %36, 1
  tail call void @_ZN11alglib_impl23ivectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %41, i64 noundef %42, ptr noundef %5)
  %43 = getelementptr inbounds i8, ptr %4, i64 184
  %44 = load ptr, ptr %43, align 8, !tbaa !13
  store i64 0, ptr %44, align 8, !tbaa !14
  %.not.not109118 = icmp sgt i64 %36, 0
  br i1 %.not.not109118, label %.lr.ph122, label %._crit_edge123.thread

._crit_edge123.thread:                            ; preds = %._crit_edge
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef 0, ptr noundef %5)
  br label %._crit_edge128

.lr.ph122:                                        ; preds = %._crit_edge
  %45 = getelementptr inbounds i8, ptr %2, i64 56
  %46 = getelementptr inbounds i8, ptr %3, i64 56
  br label %47

47:                                               ; preds = %.lr.ph122, %47
  %.0104120 = phi i64 [ 0, %.lr.ph122 ], [ %56, %47 ]
  %.2119 = phi i64 [ 0, %.lr.ph122 ], [ %63, %47 ]
  %48 = add nsw i64 %.0104120, 1
  %49 = load ptr, ptr %45, align 8, !tbaa !13
  %50 = getelementptr inbounds i64, ptr %49, i64 %.2119
  %51 = load i64, ptr %50, align 8, !tbaa !14
  %52 = add nsw i64 %48, %51
  %53 = load ptr, ptr %46, align 8, !tbaa !13
  %54 = getelementptr inbounds i64, ptr %53, i64 %.2119
  %55 = load i64, ptr %54, align 8, !tbaa !14
  %56 = add nsw i64 %52, %55
  %57 = load ptr, ptr %43, align 8, !tbaa !13
  %58 = getelementptr inbounds i64, ptr %57, i64 %.2119
  %59 = load i64, ptr %58, align 8, !tbaa !14
  %60 = add i64 %51, 1
  %61 = add i64 %60, %55
  %62 = add i64 %61, %59
  %63 = add nuw nsw i64 %.2119, 1
  %64 = getelementptr inbounds i64, ptr %57, i64 %63
  store i64 %62, ptr %64, align 8, !tbaa !14
  %exitcond146.not = icmp eq i64 %63, %36
  br i1 %exitcond146.not, label %._crit_edge123, label %47, !llvm.loop !23

._crit_edge123:                                   ; preds = %47
  tail call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef %56, ptr noundef %5)
  %.not.not110124 = icmp sgt i64 %56, 0
  br i1 %.not.not110124, label %.lr.ph127, label %._crit_edge128

.lr.ph127:                                        ; preds = %._crit_edge123
  %65 = getelementptr inbounds i8, ptr %4, i64 56
  %66 = add i64 %.0104120, %51
  %67 = add i64 %66, %55
  %xtraiter = and i64 %56, 3
  %68 = icmp ult i64 %67, 3
  br i1 %68, label %._crit_edge128.loopexit.unr-lcssa, label %.lr.ph127.new

.lr.ph127.new:                                    ; preds = %.lr.ph127
  %unroll_iter = and i64 %56, 9223372036854775804
  br label %69

69:                                               ; preds = %69, %.lr.ph127.new
  %.3125 = phi i64 [ 0, %.lr.ph127.new ], [ %81, %69 ]
  %niter = phi i64 [ 0, %.lr.ph127.new ], [ %niter.next.3, %69 ]
  %70 = load ptr, ptr %65, align 8, !tbaa !13
  %71 = getelementptr inbounds double, ptr %70, i64 %.3125
  store double 0.000000e+00, ptr %71, align 8, !tbaa !24
  %72 = or disjoint i64 %.3125, 1
  %73 = load ptr, ptr %65, align 8, !tbaa !13
  %74 = getelementptr inbounds double, ptr %73, i64 %72
  store double 0.000000e+00, ptr %74, align 8, !tbaa !24
  %75 = or disjoint i64 %.3125, 2
  %76 = load ptr, ptr %65, align 8, !tbaa !13
  %77 = getelementptr inbounds double, ptr %76, i64 %75
  store double 0.000000e+00, ptr %77, align 8, !tbaa !24
  %78 = or disjoint i64 %.3125, 3
  %79 = load ptr, ptr %65, align 8, !tbaa !13
  %80 = getelementptr inbounds double, ptr %79, i64 %78
  store double 0.000000e+00, ptr %80, align 8, !tbaa !24
  %81 = add nuw nsw i64 %.3125, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge128.loopexit.unr-lcssa, label %69, !llvm.loop !26

._crit_edge128.loopexit.unr-lcssa:                ; preds = %69, %.lr.ph127
  %.3125.unr = phi i64 [ 0, %.lr.ph127 ], [ %81, %69 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge128, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge128.loopexit.unr-lcssa, %.epil.preheader
  %.3125.epil = phi i64 [ %84, %.epil.preheader ], [ %.3125.unr, %._crit_edge128.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge128.loopexit.unr-lcssa ]
  %82 = load ptr, ptr %65, align 8, !tbaa !13
  %83 = getelementptr inbounds double, ptr %82, i64 %.3125.epil
  store double 0.000000e+00, ptr %83, align 8, !tbaa !24
  %84 = add nuw nsw i64 %.3125.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge128, label %.epil.preheader, !llvm.loop !27

._crit_edge128:                                   ; preds = %._crit_edge128.loopexit.unr-lcssa, %.epil.preheader, %._crit_edge123.thread, %._crit_edge123
  %85 = getelementptr inbounds i8, ptr %4, i64 192
  %86 = add nsw i64 %0, 1
  tail call void @_ZN11alglib_impl23ivectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %85, i64 noundef %86, ptr noundef %5)
  br i1 %7, label %.lr.ph133, label %._crit_edge134

.lr.ph133:                                        ; preds = %._crit_edge128
  %87 = getelementptr inbounds i8, ptr %2, i64 56
  %88 = getelementptr inbounds i8, ptr %4, i64 248
  br label %89

89:                                               ; preds = %.lr.ph133, %89
  %.0103131 = phi i64 [ 0, %.lr.ph133 ], [ %98, %89 ]
  %.4130 = phi i64 [ 0, %.lr.ph133 ], [ %99, %89 ]
  %90 = load ptr, ptr %87, align 8, !tbaa !13
  %91 = getelementptr inbounds i64, ptr %90, i64 %.4130
  %92 = load i64, ptr %91, align 8, !tbaa !14
  %93 = load ptr, ptr %88, align 8, !tbaa !13
  %94 = getelementptr inbounds i64, ptr %93, i64 %.4130
  store i64 %92, ptr %94, align 8, !tbaa !14
  %95 = load ptr, ptr %87, align 8, !tbaa !13
  %96 = getelementptr inbounds i64, ptr %95, i64 %.4130
  %97 = load i64, ptr %96, align 8, !tbaa !14
  %98 = tail call noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 noundef %.0103131, i64 noundef %97, ptr noundef %5)
  %99 = add nuw nsw i64 %.4130, 1
  %exitcond148.not = icmp eq i64 %99, %0
  br i1 %exitcond148.not, label %._crit_edge134, label %89, !llvm.loop !29

._crit_edge134:                                   ; preds = %89, %._crit_edge128
  %.0103.lcssa = phi i64 [ 0, %._crit_edge128 ], [ %98, %89 ]
  %100 = getelementptr inbounds i8, ptr %4, i64 248
  %101 = load ptr, ptr %100, align 8, !tbaa !13
  %102 = getelementptr inbounds i64, ptr %101, i64 %0
  store i64 %.0103.lcssa, ptr %102, align 8, !tbaa !14
  %103 = getelementptr inbounds i8, ptr %4, i64 256
  %104 = add nsw i64 %1, 1
  tail call void @_ZN11alglib_impl23ivectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %103, i64 noundef %104, ptr noundef %5)
  br i1 %8, label %.lr.ph140, label %._crit_edge141

.lr.ph140:                                        ; preds = %._crit_edge134
  %105 = getelementptr inbounds i8, ptr %3, i64 56
  %106 = getelementptr inbounds i8, ptr %4, i64 312
  br label %107

107:                                              ; preds = %.lr.ph140, %107
  %.0138 = phi i64 [ 0, %.lr.ph140 ], [ %116, %107 ]
  %.5137 = phi i64 [ 0, %.lr.ph140 ], [ %117, %107 ]
  %108 = load ptr, ptr %105, align 8, !tbaa !13
  %109 = getelementptr inbounds i64, ptr %108, i64 %.5137
  %110 = load i64, ptr %109, align 8, !tbaa !14
  %111 = load ptr, ptr %106, align 8, !tbaa !13
  %112 = getelementptr inbounds i64, ptr %111, i64 %.5137
  store i64 %110, ptr %112, align 8, !tbaa !14
  %113 = load ptr, ptr %105, align 8, !tbaa !13
  %114 = getelementptr inbounds i64, ptr %113, i64 %.5137
  %115 = load i64, ptr %114, align 8, !tbaa !14
  %116 = tail call noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 noundef %.0138, i64 noundef %115, ptr noundef %5)
  %117 = add nuw nsw i64 %.5137, 1
  %exitcond149.not = icmp eq i64 %117, %1
  br i1 %exitcond149.not, label %._crit_edge141, label %107, !llvm.loop !30

._crit_edge141:                                   ; preds = %107, %._crit_edge134
  %.0.lcssa = phi i64 [ 0, %._crit_edge134 ], [ %116, %107 ]
  %118 = getelementptr inbounds i8, ptr %4, i64 312
  %119 = load ptr, ptr %118, align 8, !tbaa !13
  %120 = getelementptr inbounds i64, ptr %119, i64 %1
  store i64 %.0.lcssa, ptr %120, align 8, !tbaa !14
  ret void
}

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

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

declare noundef i64 @_ZN11alglib_impl9ae_minintEllPNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

declare noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 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 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_impl9ae_vectorE", !7, i64 0, !7, i64 8, !10, i64 16, !11, i64 24, !8, i64 56}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = !{!19, !7, i64 320}
!19 = !{!"_ZTSN11alglib_impl12sparsematrixE", !6, i64 0, !6, i64 64, !6, i64 128, !6, i64 192, !6, i64 256, !7, i64 320, !7, i64 328, !7, i64 336, !7, i64 344, !7, i64 352, !7, i64 360}
!20 = !{!19, !7, i64 352}
!21 = !{!19, !7, i64 328}
!22 = !{!19, !7, i64 336}
!23 = distinct !{!23, !16}
!24 = !{!25, !25, i64 0}
!25 = !{!"double", !8, i64 0}
!26 = distinct !{!26, !16}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.unroll.disable"}
!29 = distinct !{!29, !16}
!30 = distinct !{!30, !16}


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