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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl9rmatrixbdEPNS_9ae_matrixEllPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #2 {
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"struct.alglib_impl::ae_frame", align 8
  %14 = alloca %"struct.alglib_impl::ae_vector", align 8
  %15 = alloca %"struct.alglib_impl::ae_vector", align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca double, align 8
  %19 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i64 %1, ptr %8, align 8, !tbaa !9
  store i64 %2, ptr %9, align 8, !tbaa !9
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store ptr %5, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %20 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %20, ptr noundef %13)
  call void @llvm.memset.p0.i64(ptr align 8 %14, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %15, i8 0, i64 64, i1 false)
  %21 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl15ae_vector_clearEPNS_9ae_vectorE(ptr noundef %21)
  %22 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN11alglib_impl15ae_vector_clearEPNS_9ae_vectorE(ptr noundef %22)
  %23 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %14, i64 noundef 0, i64 noundef 3, ptr noundef %23, i1 noundef zeroext true)
  %24 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %15, i64 noundef 0, i64 noundef 3, ptr noundef %24, i1 noundef zeroext true)
  %25 = load i64, ptr %9, align 8, !tbaa !9
  %26 = icmp sle i64 %25, 0
  br i1 %26, label %30, label %27

27:                                               ; preds = %6
  %28 = load i64, ptr %8, align 8, !tbaa !9
  %29 = icmp sle i64 %28, 0
  br i1 %29, label %30, label %32

30:                                               ; preds = %27, %6
  %31 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %31)
  store i32 1, ptr %19, align 4
  br label %398

32:                                               ; preds = %27
  %33 = load i64, ptr %8, align 8, !tbaa !9
  %34 = load i64, ptr %9, align 8, !tbaa !9
  %35 = load ptr, ptr %12, align 8, !tbaa !5
  %36 = call noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 noundef %33, i64 noundef %34, ptr noundef %35)
  store i64 %36, ptr %16, align 8, !tbaa !9
  %37 = load i64, ptr %16, align 8, !tbaa !9
  %38 = add nsw i64 %37, 1
  %39 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %14, i64 noundef %38, ptr noundef %39)
  %40 = load i64, ptr %16, align 8, !tbaa !9
  %41 = add nsw i64 %40, 1
  %42 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %15, i64 noundef %41, ptr noundef %42)
  %43 = load i64, ptr %8, align 8, !tbaa !9
  %44 = load i64, ptr %9, align 8, !tbaa !9
  %45 = icmp sge i64 %43, %44
  br i1 %45, label %46, label %73

46:                                               ; preds = %32
  %47 = load ptr, ptr %10, align 8, !tbaa !5
  %48 = load i64, ptr %9, align 8, !tbaa !9
  %49 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %47, i64 noundef %48, ptr noundef %49)
  %50 = load ptr, ptr %11, align 8, !tbaa !5
  %51 = load i64, ptr %9, align 8, !tbaa !9
  %52 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %50, i64 noundef %51, ptr noundef %52)
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %53

53:                                               ; preds = %69, %46
  %54 = load i64, ptr %17, align 8, !tbaa !9
  %55 = load i64, ptr %9, align 8, !tbaa !9
  %56 = sub nsw i64 %55, 1
  %57 = icmp sle i64 %54, %56
  br i1 %57, label %58, label %72

58:                                               ; preds = %53
  %59 = load ptr, ptr %10, align 8, !tbaa !5
  %60 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %59, i32 0, i32 4
  %61 = load ptr, ptr %60, align 8, !tbaa !11
  %62 = load i64, ptr %17, align 8, !tbaa !9
  %63 = getelementptr inbounds double, ptr %61, i64 %62
  store double 0.000000e+00, ptr %63, align 8, !tbaa !12
  %64 = load ptr, ptr %11, align 8, !tbaa !5
  %65 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %64, i32 0, i32 4
  %66 = load ptr, ptr %65, align 8, !tbaa !11
  %67 = load i64, ptr %17, align 8, !tbaa !9
  %68 = getelementptr inbounds double, ptr %66, i64 %67
  store double 0.000000e+00, ptr %68, align 8, !tbaa !12
  br label %69

69:                                               ; preds = %58
  %70 = load i64, ptr %17, align 8, !tbaa !9
  %71 = add nsw i64 %70, 1
  store i64 %71, ptr %17, align 8, !tbaa !9
  br label %53, !llvm.loop !14

72:                                               ; preds = %53
  br label %100

73:                                               ; preds = %32
  %74 = load ptr, ptr %10, align 8, !tbaa !5
  %75 = load i64, ptr %8, align 8, !tbaa !9
  %76 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %74, i64 noundef %75, ptr noundef %76)
  %77 = load ptr, ptr %11, align 8, !tbaa !5
  %78 = load i64, ptr %8, align 8, !tbaa !9
  %79 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %77, i64 noundef %78, ptr noundef %79)
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %80

80:                                               ; preds = %96, %73
  %81 = load i64, ptr %17, align 8, !tbaa !9
  %82 = load i64, ptr %8, align 8, !tbaa !9
  %83 = sub nsw i64 %82, 1
  %84 = icmp sle i64 %81, %83
  br i1 %84, label %85, label %99

85:                                               ; preds = %80
  %86 = load ptr, ptr %10, align 8, !tbaa !5
  %87 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %86, i32 0, i32 4
  %88 = load ptr, ptr %87, align 8, !tbaa !11
  %89 = load i64, ptr %17, align 8, !tbaa !9
  %90 = getelementptr inbounds double, ptr %88, i64 %89
  store double 0.000000e+00, ptr %90, align 8, !tbaa !12
  %91 = load ptr, ptr %11, align 8, !tbaa !5
  %92 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %91, i32 0, i32 4
  %93 = load ptr, ptr %92, align 8, !tbaa !11
  %94 = load i64, ptr %17, align 8, !tbaa !9
  %95 = getelementptr inbounds double, ptr %93, i64 %94
  store double 0.000000e+00, ptr %95, align 8, !tbaa !12
  br label %96

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

99:                                               ; preds = %80
  br label %100

100:                                              ; preds = %99, %72
  %101 = load ptr, ptr %7, align 8, !tbaa !5
  %102 = load i64, ptr %8, align 8, !tbaa !9
  %103 = load i64, ptr %9, align 8, !tbaa !9
  %104 = load ptr, ptr %10, align 8, !tbaa !5
  %105 = load ptr, ptr %11, align 8, !tbaa !5
  %106 = load ptr, ptr %12, align 8, !tbaa !5
  %107 = call noundef zeroext i1 @_ZN11alglib_impl12rmatrixbdmklEPNS_9ae_matrixEllPNS_9ae_vectorES3_S3_S3_PNS_8ae_stateE(ptr noundef %101, i64 noundef %102, i64 noundef %103, ptr noundef %14, ptr noundef %15, ptr noundef %104, ptr noundef %105, ptr noundef %106)
  br i1 %107, label %108, label %110

108:                                              ; preds = %100
  %109 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %109)
  store i32 1, ptr %19, align 4
  br label %398

110:                                              ; preds = %100
  %111 = load i64, ptr %8, align 8, !tbaa !9
  %112 = load i64, ptr %9, align 8, !tbaa !9
  %113 = icmp sge i64 %111, %112
  br i1 %113, label %114, label %255

114:                                              ; preds = %110
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %115

115:                                              ; preds = %251, %114
  %116 = load i64, ptr %17, align 8, !tbaa !9
  %117 = load i64, ptr %9, align 8, !tbaa !9
  %118 = sub nsw i64 %117, 1
  %119 = icmp sle i64 %116, %118
  br i1 %119, label %120, label %254

120:                                              ; preds = %115
  %121 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %122 = load ptr, ptr %121, align 8, !tbaa !11
  %123 = getelementptr inbounds double, ptr %122, i64 1
  %124 = load ptr, ptr %7, align 8, !tbaa !5
  %125 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %124, i32 0, i32 6
  %126 = load ptr, ptr %125, align 8, !tbaa !11
  %127 = load i64, ptr %17, align 8, !tbaa !9
  %128 = getelementptr inbounds ptr, ptr %126, i64 %127
  %129 = load ptr, ptr %128, align 8, !tbaa !5
  %130 = load i64, ptr %17, align 8, !tbaa !9
  %131 = getelementptr inbounds double, ptr %129, i64 %130
  %132 = load ptr, ptr %7, align 8, !tbaa !5
  %133 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %132, i32 0, i32 2
  %134 = load i64, ptr %133, align 8, !tbaa !17
  %135 = load i64, ptr %8, align 8, !tbaa !9
  %136 = load i64, ptr %17, align 8, !tbaa !9
  %137 = sub nsw i64 %135, %136
  %138 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 1, i64 noundef %137)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %123, i64 noundef 1, ptr noundef %131, i64 noundef %134, i64 noundef %138)
  %139 = load i64, ptr %8, align 8, !tbaa !9
  %140 = load i64, ptr %17, align 8, !tbaa !9
  %141 = sub nsw i64 %139, %140
  %142 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl18generatereflectionEPNS_9ae_vectorElPdPNS_8ae_stateE(ptr noundef %15, i64 noundef %141, ptr noundef %18, ptr noundef %142)
  %143 = load double, ptr %18, align 8, !tbaa !12
  %144 = load ptr, ptr %10, align 8, !tbaa !5
  %145 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %144, i32 0, i32 4
  %146 = load ptr, ptr %145, align 8, !tbaa !11
  %147 = load i64, ptr %17, align 8, !tbaa !9
  %148 = getelementptr inbounds double, ptr %146, i64 %147
  store double %143, ptr %148, align 8, !tbaa !12
  %149 = load ptr, ptr %7, align 8, !tbaa !5
  %150 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %149, i32 0, i32 6
  %151 = load ptr, ptr %150, align 8, !tbaa !11
  %152 = load i64, ptr %17, align 8, !tbaa !9
  %153 = getelementptr inbounds ptr, ptr %151, i64 %152
  %154 = load ptr, ptr %153, align 8, !tbaa !5
  %155 = load i64, ptr %17, align 8, !tbaa !9
  %156 = getelementptr inbounds double, ptr %154, i64 %155
  %157 = load ptr, ptr %7, align 8, !tbaa !5
  %158 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %157, i32 0, i32 2
  %159 = load i64, ptr %158, align 8, !tbaa !17
  %160 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %161 = load ptr, ptr %160, align 8, !tbaa !11
  %162 = getelementptr inbounds double, ptr %161, i64 1
  %163 = load i64, ptr %17, align 8, !tbaa !9
  %164 = load i64, ptr %8, align 8, !tbaa !9
  %165 = sub nsw i64 %164, 1
  %166 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef %163, i64 noundef %165)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %156, i64 noundef %159, ptr noundef %162, i64 noundef 1, i64 noundef %166)
  %167 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %168 = load ptr, ptr %167, align 8, !tbaa !11
  %169 = getelementptr inbounds double, ptr %168, i64 1
  store double 1.000000e+00, ptr %169, align 8, !tbaa !12
  %170 = load ptr, ptr %7, align 8, !tbaa !5
  %171 = load double, ptr %18, align 8, !tbaa !12
  %172 = load i64, ptr %17, align 8, !tbaa !9
  %173 = load i64, ptr %8, align 8, !tbaa !9
  %174 = sub nsw i64 %173, 1
  %175 = load i64, ptr %17, align 8, !tbaa !9
  %176 = add nsw i64 %175, 1
  %177 = load i64, ptr %9, align 8, !tbaa !9
  %178 = sub nsw i64 %177, 1
  %179 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl26applyreflectionfromtheleftEPNS_9ae_matrixEdPNS_9ae_vectorEllllS3_PNS_8ae_stateE(ptr noundef %170, double noundef %171, ptr noundef %15, i64 noundef %172, i64 noundef %174, i64 noundef %176, i64 noundef %178, ptr noundef %14, ptr noundef %179)
  %180 = load i64, ptr %17, align 8, !tbaa !9
  %181 = load i64, ptr %9, align 8, !tbaa !9
  %182 = sub nsw i64 %181, 1
  %183 = icmp slt i64 %180, %182
  br i1 %183, label %184, label %244

184:                                              ; preds = %120
  %185 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %186 = load ptr, ptr %185, align 8, !tbaa !11
  %187 = getelementptr inbounds double, ptr %186, i64 1
  %188 = load ptr, ptr %7, align 8, !tbaa !5
  %189 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %188, i32 0, i32 6
  %190 = load ptr, ptr %189, align 8, !tbaa !11
  %191 = load i64, ptr %17, align 8, !tbaa !9
  %192 = getelementptr inbounds ptr, ptr %190, i64 %191
  %193 = load ptr, ptr %192, align 8, !tbaa !5
  %194 = load i64, ptr %17, align 8, !tbaa !9
  %195 = add nsw i64 %194, 1
  %196 = getelementptr inbounds double, ptr %193, i64 %195
  %197 = load i64, ptr %9, align 8, !tbaa !9
  %198 = load i64, ptr %17, align 8, !tbaa !9
  %199 = sub nsw i64 %197, %198
  %200 = sub nsw i64 %199, 1
  %201 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 1, i64 noundef %200)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %187, i64 noundef 1, ptr noundef %196, i64 noundef 1, i64 noundef %201)
  %202 = load i64, ptr %9, align 8, !tbaa !9
  %203 = sub nsw i64 %202, 1
  %204 = load i64, ptr %17, align 8, !tbaa !9
  %205 = sub nsw i64 %203, %204
  %206 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl18generatereflectionEPNS_9ae_vectorElPdPNS_8ae_stateE(ptr noundef %15, i64 noundef %205, ptr noundef %18, ptr noundef %206)
  %207 = load double, ptr %18, align 8, !tbaa !12
  %208 = load ptr, ptr %11, align 8, !tbaa !5
  %209 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %208, i32 0, i32 4
  %210 = load ptr, ptr %209, align 8, !tbaa !11
  %211 = load i64, ptr %17, align 8, !tbaa !9
  %212 = getelementptr inbounds double, ptr %210, i64 %211
  store double %207, ptr %212, align 8, !tbaa !12
  %213 = load ptr, ptr %7, align 8, !tbaa !5
  %214 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %213, i32 0, i32 6
  %215 = load ptr, ptr %214, align 8, !tbaa !11
  %216 = load i64, ptr %17, align 8, !tbaa !9
  %217 = getelementptr inbounds ptr, ptr %215, i64 %216
  %218 = load ptr, ptr %217, align 8, !tbaa !5
  %219 = load i64, ptr %17, align 8, !tbaa !9
  %220 = add nsw i64 %219, 1
  %221 = getelementptr inbounds double, ptr %218, i64 %220
  %222 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %223 = load ptr, ptr %222, align 8, !tbaa !11
  %224 = getelementptr inbounds double, ptr %223, i64 1
  %225 = load i64, ptr %17, align 8, !tbaa !9
  %226 = add nsw i64 %225, 1
  %227 = load i64, ptr %9, align 8, !tbaa !9
  %228 = sub nsw i64 %227, 1
  %229 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef %226, i64 noundef %228)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %221, i64 noundef 1, ptr noundef %224, i64 noundef 1, i64 noundef %229)
  %230 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %231 = load ptr, ptr %230, align 8, !tbaa !11
  %232 = getelementptr inbounds double, ptr %231, i64 1
  store double 1.000000e+00, ptr %232, align 8, !tbaa !12
  %233 = load ptr, ptr %7, align 8, !tbaa !5
  %234 = load double, ptr %18, align 8, !tbaa !12
  %235 = load i64, ptr %17, align 8, !tbaa !9
  %236 = add nsw i64 %235, 1
  %237 = load i64, ptr %8, align 8, !tbaa !9
  %238 = sub nsw i64 %237, 1
  %239 = load i64, ptr %17, align 8, !tbaa !9
  %240 = add nsw i64 %239, 1
  %241 = load i64, ptr %9, align 8, !tbaa !9
  %242 = sub nsw i64 %241, 1
  %243 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl27applyreflectionfromtherightEPNS_9ae_matrixEdPNS_9ae_vectorEllllS3_PNS_8ae_stateE(ptr noundef %233, double noundef %234, ptr noundef %15, i64 noundef %236, i64 noundef %238, i64 noundef %240, i64 noundef %242, ptr noundef %14, ptr noundef %243)
  br label %250

244:                                              ; preds = %120
  %245 = load ptr, ptr %11, align 8, !tbaa !5
  %246 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %245, i32 0, i32 4
  %247 = load ptr, ptr %246, align 8, !tbaa !11
  %248 = load i64, ptr %17, align 8, !tbaa !9
  %249 = getelementptr inbounds double, ptr %247, i64 %248
  store double 0.000000e+00, ptr %249, align 8, !tbaa !12
  br label %250

250:                                              ; preds = %244, %184
  br label %251

251:                                              ; preds = %250
  %252 = load i64, ptr %17, align 8, !tbaa !9
  %253 = add nsw i64 %252, 1
  store i64 %253, ptr %17, align 8, !tbaa !9
  br label %115, !llvm.loop !21

254:                                              ; preds = %115
  br label %396

255:                                              ; preds = %110
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %256

256:                                              ; preds = %392, %255
  %257 = load i64, ptr %17, align 8, !tbaa !9
  %258 = load i64, ptr %8, align 8, !tbaa !9
  %259 = sub nsw i64 %258, 1
  %260 = icmp sle i64 %257, %259
  br i1 %260, label %261, label %395

261:                                              ; preds = %256
  %262 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %263 = load ptr, ptr %262, align 8, !tbaa !11
  %264 = getelementptr inbounds double, ptr %263, i64 1
  %265 = load ptr, ptr %7, align 8, !tbaa !5
  %266 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %265, i32 0, i32 6
  %267 = load ptr, ptr %266, align 8, !tbaa !11
  %268 = load i64, ptr %17, align 8, !tbaa !9
  %269 = getelementptr inbounds ptr, ptr %267, i64 %268
  %270 = load ptr, ptr %269, align 8, !tbaa !5
  %271 = load i64, ptr %17, align 8, !tbaa !9
  %272 = getelementptr inbounds double, ptr %270, i64 %271
  %273 = load i64, ptr %9, align 8, !tbaa !9
  %274 = load i64, ptr %17, align 8, !tbaa !9
  %275 = sub nsw i64 %273, %274
  %276 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 1, i64 noundef %275)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %264, i64 noundef 1, ptr noundef %272, i64 noundef 1, i64 noundef %276)
  %277 = load i64, ptr %9, align 8, !tbaa !9
  %278 = load i64, ptr %17, align 8, !tbaa !9
  %279 = sub nsw i64 %277, %278
  %280 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl18generatereflectionEPNS_9ae_vectorElPdPNS_8ae_stateE(ptr noundef %15, i64 noundef %279, ptr noundef %18, ptr noundef %280)
  %281 = load double, ptr %18, align 8, !tbaa !12
  %282 = load ptr, ptr %11, align 8, !tbaa !5
  %283 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %282, i32 0, i32 4
  %284 = load ptr, ptr %283, align 8, !tbaa !11
  %285 = load i64, ptr %17, align 8, !tbaa !9
  %286 = getelementptr inbounds double, ptr %284, i64 %285
  store double %281, ptr %286, align 8, !tbaa !12
  %287 = load ptr, ptr %7, align 8, !tbaa !5
  %288 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %287, i32 0, i32 6
  %289 = load ptr, ptr %288, align 8, !tbaa !11
  %290 = load i64, ptr %17, align 8, !tbaa !9
  %291 = getelementptr inbounds ptr, ptr %289, i64 %290
  %292 = load ptr, ptr %291, align 8, !tbaa !5
  %293 = load i64, ptr %17, align 8, !tbaa !9
  %294 = getelementptr inbounds double, ptr %292, i64 %293
  %295 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %296 = load ptr, ptr %295, align 8, !tbaa !11
  %297 = getelementptr inbounds double, ptr %296, i64 1
  %298 = load i64, ptr %17, align 8, !tbaa !9
  %299 = load i64, ptr %9, align 8, !tbaa !9
  %300 = sub nsw i64 %299, 1
  %301 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef %298, i64 noundef %300)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %294, i64 noundef 1, ptr noundef %297, i64 noundef 1, i64 noundef %301)
  %302 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %303 = load ptr, ptr %302, align 8, !tbaa !11
  %304 = getelementptr inbounds double, ptr %303, i64 1
  store double 1.000000e+00, ptr %304, align 8, !tbaa !12
  %305 = load ptr, ptr %7, align 8, !tbaa !5
  %306 = load double, ptr %18, align 8, !tbaa !12
  %307 = load i64, ptr %17, align 8, !tbaa !9
  %308 = add nsw i64 %307, 1
  %309 = load i64, ptr %8, align 8, !tbaa !9
  %310 = sub nsw i64 %309, 1
  %311 = load i64, ptr %17, align 8, !tbaa !9
  %312 = load i64, ptr %9, align 8, !tbaa !9
  %313 = sub nsw i64 %312, 1
  %314 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl27applyreflectionfromtherightEPNS_9ae_matrixEdPNS_9ae_vectorEllllS3_PNS_8ae_stateE(ptr noundef %305, double noundef %306, ptr noundef %15, i64 noundef %308, i64 noundef %310, i64 noundef %311, i64 noundef %313, ptr noundef %14, ptr noundef %314)
  %315 = load i64, ptr %17, align 8, !tbaa !9
  %316 = load i64, ptr %8, align 8, !tbaa !9
  %317 = sub nsw i64 %316, 1
  %318 = icmp slt i64 %315, %317
  br i1 %318, label %319, label %385

319:                                              ; preds = %261
  %320 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %321 = load ptr, ptr %320, align 8, !tbaa !11
  %322 = getelementptr inbounds double, ptr %321, i64 1
  %323 = load ptr, ptr %7, align 8, !tbaa !5
  %324 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %323, i32 0, i32 6
  %325 = load ptr, ptr %324, align 8, !tbaa !11
  %326 = load i64, ptr %17, align 8, !tbaa !9
  %327 = add nsw i64 %326, 1
  %328 = getelementptr inbounds ptr, ptr %325, i64 %327
  %329 = load ptr, ptr %328, align 8, !tbaa !5
  %330 = load i64, ptr %17, align 8, !tbaa !9
  %331 = getelementptr inbounds double, ptr %329, i64 %330
  %332 = load ptr, ptr %7, align 8, !tbaa !5
  %333 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %332, i32 0, i32 2
  %334 = load i64, ptr %333, align 8, !tbaa !17
  %335 = load i64, ptr %8, align 8, !tbaa !9
  %336 = sub nsw i64 %335, 1
  %337 = load i64, ptr %17, align 8, !tbaa !9
  %338 = sub nsw i64 %336, %337
  %339 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 1, i64 noundef %338)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %322, i64 noundef 1, ptr noundef %331, i64 noundef %334, i64 noundef %339)
  %340 = load i64, ptr %8, align 8, !tbaa !9
  %341 = sub nsw i64 %340, 1
  %342 = load i64, ptr %17, align 8, !tbaa !9
  %343 = sub nsw i64 %341, %342
  %344 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl18generatereflectionEPNS_9ae_vectorElPdPNS_8ae_stateE(ptr noundef %15, i64 noundef %343, ptr noundef %18, ptr noundef %344)
  %345 = load double, ptr %18, align 8, !tbaa !12
  %346 = load ptr, ptr %10, align 8, !tbaa !5
  %347 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %346, i32 0, i32 4
  %348 = load ptr, ptr %347, align 8, !tbaa !11
  %349 = load i64, ptr %17, align 8, !tbaa !9
  %350 = getelementptr inbounds double, ptr %348, i64 %349
  store double %345, ptr %350, align 8, !tbaa !12
  %351 = load ptr, ptr %7, align 8, !tbaa !5
  %352 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %351, i32 0, i32 6
  %353 = load ptr, ptr %352, align 8, !tbaa !11
  %354 = load i64, ptr %17, align 8, !tbaa !9
  %355 = add nsw i64 %354, 1
  %356 = getelementptr inbounds ptr, ptr %353, i64 %355
  %357 = load ptr, ptr %356, align 8, !tbaa !5
  %358 = load i64, ptr %17, align 8, !tbaa !9
  %359 = getelementptr inbounds double, ptr %357, i64 %358
  %360 = load ptr, ptr %7, align 8, !tbaa !5
  %361 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %360, i32 0, i32 2
  %362 = load i64, ptr %361, align 8, !tbaa !17
  %363 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %364 = load ptr, ptr %363, align 8, !tbaa !11
  %365 = getelementptr inbounds double, ptr %364, i64 1
  %366 = load i64, ptr %17, align 8, !tbaa !9
  %367 = add nsw i64 %366, 1
  %368 = load i64, ptr %8, align 8, !tbaa !9
  %369 = sub nsw i64 %368, 1
  %370 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef %367, i64 noundef %369)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %359, i64 noundef %362, ptr noundef %365, i64 noundef 1, i64 noundef %370)
  %371 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %372 = load ptr, ptr %371, align 8, !tbaa !11
  %373 = getelementptr inbounds double, ptr %372, i64 1
  store double 1.000000e+00, ptr %373, align 8, !tbaa !12
  %374 = load ptr, ptr %7, align 8, !tbaa !5
  %375 = load double, ptr %18, align 8, !tbaa !12
  %376 = load i64, ptr %17, align 8, !tbaa !9
  %377 = add nsw i64 %376, 1
  %378 = load i64, ptr %8, align 8, !tbaa !9
  %379 = sub nsw i64 %378, 1
  %380 = load i64, ptr %17, align 8, !tbaa !9
  %381 = add nsw i64 %380, 1
  %382 = load i64, ptr %9, align 8, !tbaa !9
  %383 = sub nsw i64 %382, 1
  %384 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl26applyreflectionfromtheleftEPNS_9ae_matrixEdPNS_9ae_vectorEllllS3_PNS_8ae_stateE(ptr noundef %374, double noundef %375, ptr noundef %15, i64 noundef %377, i64 noundef %379, i64 noundef %381, i64 noundef %383, ptr noundef %14, ptr noundef %384)
  br label %391

385:                                              ; preds = %261
  %386 = load ptr, ptr %10, align 8, !tbaa !5
  %387 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %386, i32 0, i32 4
  %388 = load ptr, ptr %387, align 8, !tbaa !11
  %389 = load i64, ptr %17, align 8, !tbaa !9
  %390 = getelementptr inbounds double, ptr %388, i64 %389
  store double 0.000000e+00, ptr %390, align 8, !tbaa !12
  br label %391

391:                                              ; preds = %385, %319
  br label %392

392:                                              ; preds = %391
  %393 = load i64, ptr %17, align 8, !tbaa !9
  %394 = add nsw i64 %393, 1
  store i64 %394, ptr %17, align 8, !tbaa !9
  br label %256, !llvm.loop !22

395:                                              ; preds = %256
  br label %396

396:                                              ; preds = %395, %254
  %397 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %397)
  store i32 0, ptr %19, align 4
  br label %398

398:                                              ; preds = %396, %108, %30
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #4
  %399 = load i32, ptr %19, align 4
  switch i32 %399, label %401 [
    i32 0, label %400
    i32 1, label %400
  ]

400:                                              ; preds = %398, %398
  ret void

401:                                              ; preds = %398
  unreachable
}

declare noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef) #3

declare noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef, i64 noundef) #3

declare void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef, ptr noundef) #3

declare void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) #3

declare void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) #3

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #3

declare void @_ZN11alglib_impl15ae_vector_clearEPNS_9ae_vectorE(ptr noundef) #3

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

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

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

declare void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef) #3

declare noundef zeroext i1 @_ZN11alglib_impl12rmatrixbdmklEPNS_9ae_matrixEllPNS_9ae_vectorES3_S3_S3_PNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"double", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = !{!18, !10, i64 16}
!18 = !{!"_ZTSN11alglib_impl9ae_matrixE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !19, i64 32, !20, i64 40, !7, i64 72}
!19 = !{!"bool", !7, i64 0}
!20 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!21 = distinct !{!21, !15}
!22 = distinct !{!22, !15}


; 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"

%"struct.alglib_impl::ae_frame" = type { %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }

; 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl9rmatrixbdEPNS_9ae_matrixEllPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #2 {
  %7 = alloca %"struct.alglib_impl::ae_frame", align 8
  %8 = alloca %"struct.alglib_impl::ae_vector", align 8
  %9 = alloca %"struct.alglib_impl::ae_vector", align 8
  %10 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %9) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #4
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %5, ptr noundef nonnull %7)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %8, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %9, i8 0, i64 64, i1 false)
  call void @_ZN11alglib_impl15ae_vector_clearEPNS_9ae_vectorE(ptr noundef %3)
  call void @_ZN11alglib_impl15ae_vector_clearEPNS_9ae_vectorE(ptr noundef %4)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %8, i64 noundef 0, i64 noundef 3, ptr noundef %5, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %9, i64 noundef 0, i64 noundef 3, ptr noundef %5, i1 noundef zeroext true)
  %11 = icmp slt i64 %2, 1
  %12 = icmp slt i64 %1, 1
  %or.cond = or i1 %12, %11
  br i1 %or.cond, label %.loopexit, label %13

13:                                               ; preds = %6
  %14 = call noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 noundef %1, i64 noundef %2, ptr noundef %5)
  %15 = add nsw i64 %14, 1
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef %15, ptr noundef %5)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %9, i64 noundef %15, ptr noundef %5)
  %.not = icmp ult i64 %1, %2
  %16 = getelementptr inbounds i8, ptr %3, i64 56
  %17 = getelementptr inbounds i8, ptr %4, i64 56
  br i1 %.not, label %.lr.ph171, label %.lr.ph

.lr.ph:                                           ; preds = %13
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %3, i64 noundef %2, ptr noundef %5)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %4, i64 noundef %2, ptr noundef %5)
  %xtraiter = and i64 %2, 1
  %18 = icmp eq i64 %2, 1
  br i1 %18, label %.loopexit165.loopexit188.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i64 %2, 9223372036854775806
  br label %19

19:                                               ; preds = %19, %.lr.ph.new
  %.0168 = phi i64 [ 0, %.lr.ph.new ], [ %29, %19 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.1, %19 ]
  %20 = load ptr, ptr %16, align 8, !tbaa !5
  %21 = getelementptr inbounds double, ptr %20, i64 %.0168
  store double 0.000000e+00, ptr %21, align 8, !tbaa !8
  %22 = load ptr, ptr %17, align 8, !tbaa !5
  %23 = getelementptr inbounds double, ptr %22, i64 %.0168
  store double 0.000000e+00, ptr %23, align 8, !tbaa !8
  %24 = or disjoint i64 %.0168, 1
  %25 = load ptr, ptr %16, align 8, !tbaa !5
  %26 = getelementptr inbounds double, ptr %25, i64 %24
  store double 0.000000e+00, ptr %26, align 8, !tbaa !8
  %27 = load ptr, ptr %17, align 8, !tbaa !5
  %28 = getelementptr inbounds double, ptr %27, i64 %24
  store double 0.000000e+00, ptr %28, align 8, !tbaa !8
  %29 = add nuw nsw i64 %.0168, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %.loopexit165.loopexit188.unr-lcssa, label %19, !llvm.loop !10

.lr.ph171:                                        ; preds = %13
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %3, i64 noundef %1, ptr noundef %5)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %4, i64 noundef %1, ptr noundef %5)
  %xtraiter190 = and i64 %1, 1
  %30 = icmp eq i64 %1, 1
  br i1 %30, label %.loopexit165.loopexit.unr-lcssa, label %.lr.ph171.new

.lr.ph171.new:                                    ; preds = %.lr.ph171
  %unroll_iter192 = and i64 %1, 9223372036854775806
  br label %31

31:                                               ; preds = %31, %.lr.ph171.new
  %.1170 = phi i64 [ 0, %.lr.ph171.new ], [ %41, %31 ]
  %niter193 = phi i64 [ 0, %.lr.ph171.new ], [ %niter193.next.1, %31 ]
  %32 = load ptr, ptr %16, align 8, !tbaa !5
  %33 = getelementptr inbounds double, ptr %32, i64 %.1170
  store double 0.000000e+00, ptr %33, align 8, !tbaa !8
  %34 = load ptr, ptr %17, align 8, !tbaa !5
  %35 = getelementptr inbounds double, ptr %34, i64 %.1170
  store double 0.000000e+00, ptr %35, align 8, !tbaa !8
  %36 = or disjoint i64 %.1170, 1
  %37 = load ptr, ptr %16, align 8, !tbaa !5
  %38 = getelementptr inbounds double, ptr %37, i64 %36
  store double 0.000000e+00, ptr %38, align 8, !tbaa !8
  %39 = load ptr, ptr %17, align 8, !tbaa !5
  %40 = getelementptr inbounds double, ptr %39, i64 %36
  store double 0.000000e+00, ptr %40, align 8, !tbaa !8
  %41 = add nuw nsw i64 %.1170, 2
  %niter193.next.1 = add i64 %niter193, 2
  %niter193.ncmp.1 = icmp eq i64 %niter193.next.1, %unroll_iter192
  br i1 %niter193.ncmp.1, label %.loopexit165.loopexit.unr-lcssa, label %31, !llvm.loop !12

.loopexit165.loopexit.unr-lcssa:                  ; preds = %31, %.lr.ph171
  %.1170.unr = phi i64 [ 0, %.lr.ph171 ], [ %41, %31 ]
  %lcmp.mod191.not = icmp eq i64 %xtraiter190, 0
  br i1 %lcmp.mod191.not, label %.loopexit165, label %.loopexit165.loopexit.epilog-lcssa

.loopexit165.loopexit.epilog-lcssa:               ; preds = %.loopexit165.loopexit.unr-lcssa
  %42 = load ptr, ptr %16, align 8, !tbaa !5
  %43 = getelementptr inbounds double, ptr %42, i64 %.1170.unr
  store double 0.000000e+00, ptr %43, align 8, !tbaa !8
  %44 = load ptr, ptr %17, align 8, !tbaa !5
  %45 = getelementptr inbounds double, ptr %44, i64 %.1170.unr
  store double 0.000000e+00, ptr %45, align 8, !tbaa !8
  br label %.loopexit165

.loopexit165.loopexit188.unr-lcssa:               ; preds = %19, %.lr.ph
  %.0168.unr = phi i64 [ 0, %.lr.ph ], [ %29, %19 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.loopexit165, label %.loopexit165.loopexit188.epilog-lcssa

.loopexit165.loopexit188.epilog-lcssa:            ; preds = %.loopexit165.loopexit188.unr-lcssa
  %46 = load ptr, ptr %16, align 8, !tbaa !5
  %47 = getelementptr inbounds double, ptr %46, i64 %.0168.unr
  store double 0.000000e+00, ptr %47, align 8, !tbaa !8
  %48 = load ptr, ptr %17, align 8, !tbaa !5
  %49 = getelementptr inbounds double, ptr %48, i64 %.0168.unr
  store double 0.000000e+00, ptr %49, align 8, !tbaa !8
  br label %.loopexit165

.loopexit165:                                     ; preds = %.loopexit165.loopexit188.epilog-lcssa, %.loopexit165.loopexit188.unr-lcssa, %.loopexit165.loopexit.epilog-lcssa, %.loopexit165.loopexit.unr-lcssa
  %50 = call noundef zeroext i1 @_ZN11alglib_impl12rmatrixbdmklEPNS_9ae_matrixEllPNS_9ae_vectorES3_S3_S3_PNS_8ae_stateE(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef %5)
  br i1 %50, label %.loopexit, label %51

51:                                               ; preds = %.loopexit165
  br i1 %.not, label %.preheader, label %.preheader163

.preheader163:                                    ; preds = %51
  %52 = add nsw i64 %2, -1
  %.not162.not172.not = icmp eq i64 %2, 0
  br i1 %.not162.not172.not, label %.loopexit, label %.lr.ph174

.lr.ph174:                                        ; preds = %.preheader163
  %53 = getelementptr inbounds i8, ptr %9, i64 56
  %54 = getelementptr inbounds i8, ptr %0, i64 72
  %55 = getelementptr inbounds i8, ptr %0, i64 16
  %56 = getelementptr inbounds i8, ptr %3, i64 56
  %57 = add nsw i64 %1, -1
  %58 = getelementptr inbounds i8, ptr %4, i64 56
  br label %66

.preheader:                                       ; preds = %51
  %59 = add nsw i64 %1, -1
  %.not161.not175.not = icmp eq i64 %1, 0
  br i1 %.not161.not175.not, label %.loopexit, label %.lr.ph177

.lr.ph177:                                        ; preds = %.preheader
  %60 = getelementptr inbounds i8, ptr %9, i64 56
  %61 = getelementptr inbounds i8, ptr %0, i64 72
  %62 = getelementptr inbounds i8, ptr %4, i64 56
  %63 = add nsw i64 %2, -1
  %64 = getelementptr inbounds i8, ptr %3, i64 56
  %65 = getelementptr inbounds i8, ptr %0, i64 16
  br label %120

66:                                               ; preds = %.lr.ph174, %119
  %.2173 = phi i64 [ 0, %.lr.ph174 ], [ %90, %119 ]
  %67 = load ptr, ptr %53, align 8, !tbaa !5
  %68 = getelementptr inbounds i8, ptr %67, i64 8
  %69 = load ptr, ptr %54, align 8, !tbaa !5
  %70 = getelementptr inbounds ptr, ptr %69, i64 %.2173
  %71 = load ptr, ptr %70, align 8, !tbaa !13
  %72 = getelementptr inbounds double, ptr %71, i64 %.2173
  %73 = load i64, ptr %55, align 8, !tbaa !15
  %74 = sub nsw i64 %1, %.2173
  %75 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 1, i64 noundef %74)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef nonnull %68, i64 noundef 1, ptr noundef %72, i64 noundef %73, i64 noundef %75)
  call void @_ZN11alglib_impl18generatereflectionEPNS_9ae_vectorElPdPNS_8ae_stateE(ptr noundef nonnull %9, i64 noundef %74, ptr noundef nonnull %10, ptr noundef %5)
  %76 = load double, ptr %10, align 8, !tbaa !8
  %77 = load ptr, ptr %56, align 8, !tbaa !5
  %78 = getelementptr inbounds double, ptr %77, i64 %.2173
  store double %76, ptr %78, align 8, !tbaa !8
  %79 = load ptr, ptr %54, align 8, !tbaa !5
  %80 = getelementptr inbounds ptr, ptr %79, i64 %.2173
  %81 = load ptr, ptr %80, align 8, !tbaa !13
  %82 = getelementptr inbounds double, ptr %81, i64 %.2173
  %83 = load i64, ptr %55, align 8, !tbaa !15
  %84 = load ptr, ptr %53, align 8, !tbaa !5
  %85 = getelementptr inbounds i8, ptr %84, i64 8
  %86 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef %.2173, i64 noundef %57)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %82, i64 noundef %83, ptr noundef nonnull %85, i64 noundef 1, i64 noundef %86)
  %87 = load ptr, ptr %53, align 8, !tbaa !5
  %88 = getelementptr inbounds i8, ptr %87, i64 8
  store double 1.000000e+00, ptr %88, align 8, !tbaa !8
  %89 = load double, ptr %10, align 8, !tbaa !8
  %90 = add nuw nsw i64 %.2173, 1
  call void @_ZN11alglib_impl26applyreflectionfromtheleftEPNS_9ae_matrixEdPNS_9ae_vectorEllllS3_PNS_8ae_stateE(ptr noundef %0, double noundef %89, ptr noundef nonnull %9, i64 noundef %.2173, i64 noundef %57, i64 noundef %90, i64 noundef %52, ptr noundef nonnull %8, ptr noundef %5)
  %91 = icmp slt i64 %.2173, %52
  br i1 %91, label %92, label %116

92:                                               ; preds = %66
  %93 = load ptr, ptr %53, align 8, !tbaa !5
  %94 = getelementptr inbounds i8, ptr %93, i64 8
  %95 = load ptr, ptr %54, align 8, !tbaa !5
  %96 = getelementptr inbounds ptr, ptr %95, i64 %.2173
  %97 = load ptr, ptr %96, align 8, !tbaa !13
  %98 = getelementptr inbounds double, ptr %97, i64 %90
  %99 = xor i64 %.2173, -1
  %100 = add nsw i64 %99, %2
  %101 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 1, i64 noundef %100)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef nonnull %94, i64 noundef 1, ptr noundef nonnull %98, i64 noundef 1, i64 noundef %101)
  %102 = sub nsw i64 %52, %.2173
  call void @_ZN11alglib_impl18generatereflectionEPNS_9ae_vectorElPdPNS_8ae_stateE(ptr noundef nonnull %9, i64 noundef %102, ptr noundef nonnull %10, ptr noundef %5)
  %103 = load double, ptr %10, align 8, !tbaa !8
  %104 = load ptr, ptr %58, align 8, !tbaa !5
  %105 = getelementptr inbounds double, ptr %104, i64 %.2173
  store double %103, ptr %105, align 8, !tbaa !8
  %106 = load ptr, ptr %54, align 8, !tbaa !5
  %107 = getelementptr inbounds ptr, ptr %106, i64 %.2173
  %108 = load ptr, ptr %107, align 8, !tbaa !13
  %109 = getelementptr inbounds double, ptr %108, i64 %90
  %110 = load ptr, ptr %53, align 8, !tbaa !5
  %111 = getelementptr inbounds i8, ptr %110, i64 8
  %112 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef %90, i64 noundef %52)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef nonnull %109, i64 noundef 1, ptr noundef nonnull %111, i64 noundef 1, i64 noundef %112)
  %113 = load ptr, ptr %53, align 8, !tbaa !5
  %114 = getelementptr inbounds i8, ptr %113, i64 8
  store double 1.000000e+00, ptr %114, align 8, !tbaa !8
  %115 = load double, ptr %10, align 8, !tbaa !8
  call void @_ZN11alglib_impl27applyreflectionfromtherightEPNS_9ae_matrixEdPNS_9ae_vectorEllllS3_PNS_8ae_stateE(ptr noundef nonnull %0, double noundef %115, ptr noundef nonnull %9, i64 noundef %90, i64 noundef %57, i64 noundef %90, i64 noundef %52, ptr noundef nonnull %8, ptr noundef %5)
  br label %119

116:                                              ; preds = %66
  %117 = load ptr, ptr %58, align 8, !tbaa !5
  %118 = getelementptr inbounds double, ptr %117, i64 %.2173
  store double 0.000000e+00, ptr %118, align 8, !tbaa !8
  br label %119

119:                                              ; preds = %92, %116
  %exitcond181.not = icmp eq i64 %90, %2
  br i1 %exitcond181.not, label %.loopexit, label %66, !llvm.loop !20

120:                                              ; preds = %.lr.ph177, %171
  %.3176 = phi i64 [ 0, %.lr.ph177 ], [ %142, %171 ]
  %121 = load ptr, ptr %60, align 8, !tbaa !5
  %122 = getelementptr inbounds i8, ptr %121, i64 8
  %123 = load ptr, ptr %61, align 8, !tbaa !5
  %124 = getelementptr inbounds ptr, ptr %123, i64 %.3176
  %125 = load ptr, ptr %124, align 8, !tbaa !13
  %126 = getelementptr inbounds double, ptr %125, i64 %.3176
  %127 = sub nsw i64 %2, %.3176
  %128 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 1, i64 noundef %127)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef nonnull %122, i64 noundef 1, ptr noundef %126, i64 noundef 1, i64 noundef %128)
  call void @_ZN11alglib_impl18generatereflectionEPNS_9ae_vectorElPdPNS_8ae_stateE(ptr noundef nonnull %9, i64 noundef %127, ptr noundef nonnull %10, ptr noundef %5)
  %129 = load double, ptr %10, align 8, !tbaa !8
  %130 = load ptr, ptr %62, align 8, !tbaa !5
  %131 = getelementptr inbounds double, ptr %130, i64 %.3176
  store double %129, ptr %131, align 8, !tbaa !8
  %132 = load ptr, ptr %61, align 8, !tbaa !5
  %133 = getelementptr inbounds ptr, ptr %132, i64 %.3176
  %134 = load ptr, ptr %133, align 8, !tbaa !13
  %135 = getelementptr inbounds double, ptr %134, i64 %.3176
  %136 = load ptr, ptr %60, align 8, !tbaa !5
  %137 = getelementptr inbounds i8, ptr %136, i64 8
  %138 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef %.3176, i64 noundef %63)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %135, i64 noundef 1, ptr noundef nonnull %137, i64 noundef 1, i64 noundef %138)
  %139 = load ptr, ptr %60, align 8, !tbaa !5
  %140 = getelementptr inbounds i8, ptr %139, i64 8
  store double 1.000000e+00, ptr %140, align 8, !tbaa !8
  %141 = load double, ptr %10, align 8, !tbaa !8
  %142 = add nuw nsw i64 %.3176, 1
  call void @_ZN11alglib_impl27applyreflectionfromtherightEPNS_9ae_matrixEdPNS_9ae_vectorEllllS3_PNS_8ae_stateE(ptr noundef %0, double noundef %141, ptr noundef nonnull %9, i64 noundef %142, i64 noundef %59, i64 noundef %.3176, i64 noundef %63, ptr noundef nonnull %8, ptr noundef %5)
  %143 = icmp slt i64 %.3176, %59
  br i1 %143, label %144, label %168

144:                                              ; preds = %120
  %145 = load ptr, ptr %60, align 8, !tbaa !5
  %146 = getelementptr inbounds i8, ptr %145, i64 8
  %147 = load ptr, ptr %61, align 8, !tbaa !5
  %148 = getelementptr inbounds ptr, ptr %147, i64 %142
  %149 = load ptr, ptr %148, align 8, !tbaa !13
  %150 = getelementptr inbounds double, ptr %149, i64 %.3176
  %151 = load i64, ptr %65, align 8, !tbaa !15
  %152 = sub nsw i64 %59, %.3176
  %153 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef 1, i64 noundef %152)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef nonnull %146, i64 noundef 1, ptr noundef %150, i64 noundef %151, i64 noundef %153)
  call void @_ZN11alglib_impl18generatereflectionEPNS_9ae_vectorElPdPNS_8ae_stateE(ptr noundef nonnull %9, i64 noundef %152, ptr noundef nonnull %10, ptr noundef %5)
  %154 = load double, ptr %10, align 8, !tbaa !8
  %155 = load ptr, ptr %64, align 8, !tbaa !5
  %156 = getelementptr inbounds double, ptr %155, i64 %.3176
  store double %154, ptr %156, align 8, !tbaa !8
  %157 = load ptr, ptr %61, align 8, !tbaa !5
  %158 = getelementptr inbounds ptr, ptr %157, i64 %142
  %159 = load ptr, ptr %158, align 8, !tbaa !13
  %160 = getelementptr inbounds double, ptr %159, i64 %.3176
  %161 = load i64, ptr %65, align 8, !tbaa !15
  %162 = load ptr, ptr %60, align 8, !tbaa !5
  %163 = getelementptr inbounds i8, ptr %162, i64 8
  %164 = call noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef %142, i64 noundef %59)
  call void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef %160, i64 noundef %161, ptr noundef nonnull %163, i64 noundef 1, i64 noundef %164)
  %165 = load ptr, ptr %60, align 8, !tbaa !5
  %166 = getelementptr inbounds i8, ptr %165, i64 8
  store double 1.000000e+00, ptr %166, align 8, !tbaa !8
  %167 = load double, ptr %10, align 8, !tbaa !8
  call void @_ZN11alglib_impl26applyreflectionfromtheleftEPNS_9ae_matrixEdPNS_9ae_vectorEllllS3_PNS_8ae_stateE(ptr noundef nonnull %0, double noundef %167, ptr noundef nonnull %9, i64 noundef %142, i64 noundef %59, i64 noundef %142, i64 noundef %63, ptr noundef nonnull %8, ptr noundef %5)
  br label %171

168:                                              ; preds = %120
  %169 = load ptr, ptr %64, align 8, !tbaa !5
  %170 = getelementptr inbounds double, ptr %169, i64 %.3176
  store double 0.000000e+00, ptr %170, align 8, !tbaa !8
  br label %171

171:                                              ; preds = %144, %168
  %exitcond182.not = icmp eq i64 %142, %1
  br i1 %exitcond182.not, label %.loopexit, label %120, !llvm.loop !21

.loopexit:                                        ; preds = %119, %171, %.preheader, %.preheader163, %.loopexit165, %6
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #4
  ret void
}

declare noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #3

declare noundef i64 @_ZN11alglib_impl8ae_v_lenEll(i64 noundef, i64 noundef) local_unnamed_addr #3

declare void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #3

declare void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #3

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #3

declare void @_ZN11alglib_impl15ae_vector_clearEPNS_9ae_vectorE(ptr noundef) local_unnamed_addr #3

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

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

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

declare void @_ZN11alglib_impl9ae_v_moveEPdlPKdll(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN11alglib_impl12rmatrixbdmklEPNS_9ae_matrixEllPNS_9ae_vectorES3_S3_S3_PNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"double", !6, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !6, i64 0}
!15 = !{!16, !17, i64 16}
!16 = !{!"_ZTSN11alglib_impl9ae_matrixE", !17, i64 0, !17, i64 8, !17, i64 16, !17, i64 24, !18, i64 32, !19, i64 40, !6, i64 72}
!17 = !{!"long", !6, i64 0}
!18 = !{!"bool", !6, i64 0}
!19 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24}
!20 = distinct !{!20, !11}
!21 = distinct !{!21, !11}


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