; LLVM IR from Dimandragon/non-parametric-dsp :: 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.1 }
%union.anon.1 = type { ptr }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }
%"struct.alglib_impl::matinvreport" = type { i64, double, double }

@.str.469 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.470 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.471 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.472 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.473 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.474 = external hidden unnamed_addr constant [42 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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZN11alglib_impl15rmatrixlurcond1EPKNS_9ae_matrixElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZN11alglib_impl17rmatrixlurcondinfEPKNS_9ae_matrixElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl16rmatrixluinverseEPNS_9ae_matrixEPKNS_9ae_vectorElPNS_12matinvreportEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) #3 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"struct.alglib_impl::ae_frame", align 8
  %12 = alloca %"struct.alglib_impl::ae_vector", align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca double, align 8
  %17 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i64 %2, ptr %8, align 8, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %18 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %18, ptr noundef %11)
  call void @llvm.memset.p0.i64(ptr align 8 %12, i8 0, i64 64, i1 false)
  %19 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN11alglib_impl19_matinvreport_clearEPv(ptr noundef %19)
  %20 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %12, i64 noundef 0, i64 noundef 3, ptr noundef %20, i1 noundef zeroext true)
  %21 = load i64, ptr %8, align 8, !tbaa !9
  %22 = icmp sgt i64 %21, 0
  %23 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %22, ptr noundef @.str.469, ptr noundef %23)
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %24, i32 0, i32 1
  %26 = load i64, ptr %25, align 8, !tbaa !11
  %27 = load i64, ptr %8, align 8, !tbaa !9
  %28 = icmp sge i64 %26, %27
  %29 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %28, ptr noundef @.str.470, ptr noundef %29)
  %30 = load ptr, ptr %6, align 8, !tbaa !5
  %31 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %30, i32 0, i32 0
  %32 = load i64, ptr %31, align 8, !tbaa !15
  %33 = load i64, ptr %8, align 8, !tbaa !9
  %34 = icmp sge i64 %32, %33
  %35 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %34, ptr noundef @.str.471, ptr noundef %35)
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  %37 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %36, i32 0, i32 0
  %38 = load i64, ptr %37, align 8, !tbaa !16
  %39 = load i64, ptr %8, align 8, !tbaa !9
  %40 = icmp sge i64 %38, %39
  %41 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %40, ptr noundef @.str.472, ptr noundef %41)
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = load i64, ptr %8, align 8, !tbaa !9
  %44 = load i64, ptr %8, align 8, !tbaa !9
  %45 = load ptr, ptr %10, align 8, !tbaa !5
  %46 = call noundef zeroext i1 @_ZN11alglib_impl20apservisfinitematrixEPKNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %42, i64 noundef %43, i64 noundef %44, ptr noundef %45)
  %47 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %46, ptr noundef @.str.473, ptr noundef %47)
  store i64 0, ptr %13, align 8, !tbaa !9
  br label %48

48:                                               ; preds = %74, %5
  %49 = load i64, ptr %13, align 8, !tbaa !9
  %50 = load i64, ptr %8, align 8, !tbaa !9
  %51 = sub nsw i64 %50, 1
  %52 = icmp sle i64 %49, %51
  br i1 %52, label %53, label %77

53:                                               ; preds = %48
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %54, i32 0, i32 4
  %56 = load ptr, ptr %55, align 8, !tbaa !18
  %57 = load i64, ptr %13, align 8, !tbaa !9
  %58 = getelementptr inbounds i64, ptr %56, i64 %57
  %59 = load i64, ptr %58, align 8, !tbaa !9
  %60 = load i64, ptr %8, align 8, !tbaa !9
  %61 = sub nsw i64 %60, 1
  %62 = icmp sgt i64 %59, %61
  br i1 %62, label %71, label %63

63:                                               ; preds = %53
  %64 = load ptr, ptr %7, 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 !18
  %67 = load i64, ptr %13, align 8, !tbaa !9
  %68 = getelementptr inbounds i64, ptr %66, i64 %67
  %69 = load i64, ptr %68, align 8, !tbaa !9
  %70 = icmp slt i64 %69, 0
  br i1 %70, label %71, label %73

71:                                               ; preds = %63, %53
  %72 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef @.str.474, ptr noundef %72)
  br label %73

73:                                               ; preds = %71, %63
  br label %74

74:                                               ; preds = %73
  %75 = load i64, ptr %13, align 8, !tbaa !9
  %76 = add nsw i64 %75, 1
  store i64 %76, ptr %13, align 8, !tbaa !9
  br label %48, !llvm.loop !19

77:                                               ; preds = %48
  %78 = load ptr, ptr %9, align 8, !tbaa !5
  %79 = getelementptr inbounds %"struct.alglib_impl::matinvreport", ptr %78, i32 0, i32 0
  store i64 1, ptr %79, align 8, !tbaa !21
  %80 = load ptr, ptr %6, align 8, !tbaa !5
  %81 = load i64, ptr %8, align 8, !tbaa !9
  %82 = load ptr, ptr %10, align 8, !tbaa !5
  %83 = call noundef double @_ZN11alglib_impl15rmatrixlurcond1EPKNS_9ae_matrixElPNS_8ae_stateE(ptr noundef %80, i64 noundef %81, ptr noundef %82)
  %84 = load ptr, ptr %9, align 8, !tbaa !5
  %85 = getelementptr inbounds %"struct.alglib_impl::matinvreport", ptr %84, i32 0, i32 1
  store double %83, ptr %85, align 8, !tbaa !24
  %86 = load ptr, ptr %6, align 8, !tbaa !5
  %87 = load i64, ptr %8, align 8, !tbaa !9
  %88 = load ptr, ptr %10, align 8, !tbaa !5
  %89 = call noundef double @_ZN11alglib_impl17rmatrixlurcondinfEPKNS_9ae_matrixElPNS_8ae_stateE(ptr noundef %86, i64 noundef %87, ptr noundef %88)
  %90 = load ptr, ptr %9, align 8, !tbaa !5
  %91 = getelementptr inbounds %"struct.alglib_impl::matinvreport", ptr %90, i32 0, i32 2
  store double %89, ptr %91, align 8, !tbaa !25
  %92 = load ptr, ptr %9, align 8, !tbaa !5
  %93 = getelementptr inbounds %"struct.alglib_impl::matinvreport", ptr %92, i32 0, i32 1
  %94 = load double, ptr %93, align 8, !tbaa !24
  %95 = load ptr, ptr %10, align 8, !tbaa !5
  %96 = call noundef double @_ZN11alglib_impl14rcondthresholdEPNS_8ae_stateE(ptr noundef %95)
  %97 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %94, double noundef %96)
  br i1 %97, label %105, label %98

98:                                               ; preds = %77
  %99 = load ptr, ptr %9, align 8, !tbaa !5
  %100 = getelementptr inbounds %"struct.alglib_impl::matinvreport", ptr %99, i32 0, i32 2
  %101 = load double, ptr %100, align 8, !tbaa !25
  %102 = load ptr, ptr %10, align 8, !tbaa !5
  %103 = call noundef double @_ZN11alglib_impl14rcondthresholdEPNS_8ae_stateE(ptr noundef %102)
  %104 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %101, double noundef %103)
  br i1 %104, label %105, label %141

105:                                              ; preds = %98, %77
  store i64 0, ptr %13, align 8, !tbaa !9
  br label %106

106:                                              ; preds = %130, %105
  %107 = load i64, ptr %13, align 8, !tbaa !9
  %108 = load i64, ptr %8, align 8, !tbaa !9
  %109 = sub nsw i64 %108, 1
  %110 = icmp sle i64 %107, %109
  br i1 %110, label %111, label %133

111:                                              ; preds = %106
  store i64 0, ptr %14, align 8, !tbaa !9
  br label %112

112:                                              ; preds = %126, %111
  %113 = load i64, ptr %14, align 8, !tbaa !9
  %114 = load i64, ptr %8, align 8, !tbaa !9
  %115 = sub nsw i64 %114, 1
  %116 = icmp sle i64 %113, %115
  br i1 %116, label %117, label %129

117:                                              ; preds = %112
  %118 = load ptr, ptr %6, align 8, !tbaa !5
  %119 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %118, i32 0, i32 6
  %120 = load ptr, ptr %119, align 8, !tbaa !18
  %121 = load i64, ptr %13, align 8, !tbaa !9
  %122 = getelementptr inbounds ptr, ptr %120, i64 %121
  %123 = load ptr, ptr %122, align 8, !tbaa !5
  %124 = load i64, ptr %14, align 8, !tbaa !9
  %125 = getelementptr inbounds double, ptr %123, i64 %124
  store double 0.000000e+00, ptr %125, align 8, !tbaa !26
  br label %126

126:                                              ; preds = %117
  %127 = load i64, ptr %14, align 8, !tbaa !9
  %128 = add nsw i64 %127, 1
  store i64 %128, ptr %14, align 8, !tbaa !9
  br label %112, !llvm.loop !27

129:                                              ; preds = %112
  br label %130

130:                                              ; preds = %129
  %131 = load i64, ptr %13, align 8, !tbaa !9
  %132 = add nsw i64 %131, 1
  store i64 %132, ptr %13, align 8, !tbaa !9
  br label %106, !llvm.loop !28

133:                                              ; preds = %106
  %134 = load ptr, ptr %9, align 8, !tbaa !5
  %135 = getelementptr inbounds %"struct.alglib_impl::matinvreport", ptr %134, i32 0, i32 0
  store i64 -3, ptr %135, align 8, !tbaa !21
  %136 = load ptr, ptr %9, align 8, !tbaa !5
  %137 = getelementptr inbounds %"struct.alglib_impl::matinvreport", ptr %136, i32 0, i32 1
  store double 0.000000e+00, ptr %137, align 8, !tbaa !24
  %138 = load ptr, ptr %9, align 8, !tbaa !5
  %139 = getelementptr inbounds %"struct.alglib_impl::matinvreport", ptr %138, i32 0, i32 2
  store double 0.000000e+00, ptr %139, align 8, !tbaa !25
  %140 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %140)
  store i32 1, ptr %17, align 4
  br label %210

141:                                              ; preds = %98
  %142 = load i64, ptr %8, align 8, !tbaa !9
  %143 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %12, i64 noundef %142, ptr noundef %143)
  %144 = load ptr, ptr %6, align 8, !tbaa !5
  %145 = load i64, ptr %8, align 8, !tbaa !9
  %146 = load ptr, ptr %9, align 8, !tbaa !5
  %147 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_implL26matinv_rmatrixluinverserecEPNS_9ae_matrixEllPNS_9ae_vectorEPNS_12matinvreportEPNS_8ae_stateE(ptr noundef %144, i64 noundef 0, i64 noundef %145, ptr noundef %12, ptr noundef %146, ptr noundef %147)
  store i64 0, ptr %13, align 8, !tbaa !9
  br label %148

148:                                              ; preds = %205, %141
  %149 = load i64, ptr %13, align 8, !tbaa !9
  %150 = load i64, ptr %8, align 8, !tbaa !9
  %151 = sub nsw i64 %150, 1
  %152 = icmp sle i64 %149, %151
  br i1 %152, label %153, label %208

153:                                              ; preds = %148
  %154 = load i64, ptr %8, align 8, !tbaa !9
  %155 = sub nsw i64 %154, 2
  store i64 %155, ptr %14, align 8, !tbaa !9
  br label %156

156:                                              ; preds = %201, %153
  %157 = load i64, ptr %14, align 8, !tbaa !9
  %158 = icmp sge i64 %157, 0
  br i1 %158, label %159, label %204

159:                                              ; preds = %156
  %160 = load ptr, ptr %7, align 8, !tbaa !5
  %161 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %160, i32 0, i32 4
  %162 = load ptr, ptr %161, align 8, !tbaa !18
  %163 = load i64, ptr %14, align 8, !tbaa !9
  %164 = getelementptr inbounds i64, ptr %162, i64 %163
  %165 = load i64, ptr %164, align 8, !tbaa !9
  store i64 %165, ptr %15, align 8, !tbaa !9
  %166 = load ptr, ptr %6, align 8, !tbaa !5
  %167 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %166, i32 0, i32 6
  %168 = load ptr, ptr %167, align 8, !tbaa !18
  %169 = load i64, ptr %13, align 8, !tbaa !9
  %170 = getelementptr inbounds ptr, ptr %168, i64 %169
  %171 = load ptr, ptr %170, align 8, !tbaa !5
  %172 = load i64, ptr %14, align 8, !tbaa !9
  %173 = getelementptr inbounds double, ptr %171, i64 %172
  %174 = load double, ptr %173, align 8, !tbaa !26
  store double %174, ptr %16, align 8, !tbaa !26
  %175 = load ptr, ptr %6, align 8, !tbaa !5
  %176 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %175, i32 0, i32 6
  %177 = load ptr, ptr %176, align 8, !tbaa !18
  %178 = load i64, ptr %13, align 8, !tbaa !9
  %179 = getelementptr inbounds ptr, ptr %177, i64 %178
  %180 = load ptr, ptr %179, align 8, !tbaa !5
  %181 = load i64, ptr %15, align 8, !tbaa !9
  %182 = getelementptr inbounds double, ptr %180, i64 %181
  %183 = load double, ptr %182, align 8, !tbaa !26
  %184 = load ptr, ptr %6, align 8, !tbaa !5
  %185 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %184, i32 0, i32 6
  %186 = load ptr, ptr %185, align 8, !tbaa !18
  %187 = load i64, ptr %13, align 8, !tbaa !9
  %188 = getelementptr inbounds ptr, ptr %186, i64 %187
  %189 = load ptr, ptr %188, align 8, !tbaa !5
  %190 = load i64, ptr %14, align 8, !tbaa !9
  %191 = getelementptr inbounds double, ptr %189, i64 %190
  store double %183, ptr %191, align 8, !tbaa !26
  %192 = load double, ptr %16, align 8, !tbaa !26
  %193 = load ptr, ptr %6, align 8, !tbaa !5
  %194 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %193, i32 0, i32 6
  %195 = load ptr, ptr %194, align 8, !tbaa !18
  %196 = load i64, ptr %13, align 8, !tbaa !9
  %197 = getelementptr inbounds ptr, ptr %195, i64 %196
  %198 = load ptr, ptr %197, align 8, !tbaa !5
  %199 = load i64, ptr %15, align 8, !tbaa !9
  %200 = getelementptr inbounds double, ptr %198, i64 %199
  store double %192, ptr %200, align 8, !tbaa !26
  br label %201

201:                                              ; preds = %159
  %202 = load i64, ptr %14, align 8, !tbaa !9
  %203 = add nsw i64 %202, -1
  store i64 %203, ptr %14, align 8, !tbaa !9
  br label %156, !llvm.loop !29

204:                                              ; preds = %156
  br label %205

205:                                              ; preds = %204
  %206 = load i64, ptr %13, align 8, !tbaa !9
  %207 = add nsw i64 %206, 1
  store i64 %207, ptr %13, align 8, !tbaa !9
  br label %148, !llvm.loop !30

208:                                              ; preds = %148
  %209 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %209)
  store i32 0, ptr %17, align 4
  br label %210

210:                                              ; preds = %208, %133
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #4
  %211 = load i32, ptr %17, align 4
  switch i32 %211, label %213 [
    i32 0, label %212
    i32 1, label %212
  ]

212:                                              ; preds = %210, %210
  ret void

213:                                              ; preds = %210
  unreachable
}

declare noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef, double noundef) #2

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

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #2

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

declare noundef zeroext i1 @_ZN11alglib_impl20apservisfinitematrixEPKNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZN11alglib_impl14rcondthresholdEPNS_8ae_stateE(ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl19_matinvreport_clearEPv(ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL26matinv_rmatrixluinverserecEPNS_9ae_matrixEllPNS_9ae_vectorEPNS_12matinvreportEPNS_8ae_stateE(ptr noundef, i64 noundef, i64 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

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

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


; 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.1 }
%union.anon.1 = type { ptr }

@.str.469 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.470 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.471 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.472 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.473 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.474 = external hidden unnamed_addr constant [42 x i8], align 1

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZN11alglib_impl15rmatrixlurcond1EPKNS_9ae_matrixElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZN11alglib_impl17rmatrixlurcondinfEPKNS_9ae_matrixElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl16rmatrixluinverseEPNS_9ae_matrixEPKNS_9ae_vectorElPNS_12matinvreportEPNS_8ae_stateE(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #3 {
  %6 = alloca %"struct.alglib_impl::ae_frame", align 8
  %7 = alloca %"struct.alglib_impl::ae_vector", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #4
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %4, ptr noundef nonnull %6)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %7, i8 0, i64 64, i1 false)
  call void @_ZN11alglib_impl19_matinvreport_clearEPv(ptr noundef %3)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %7, i64 noundef 0, i64 noundef 3, ptr noundef %4, i1 noundef zeroext true)
  %8 = icmp sgt i64 %2, 0
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %8, ptr noundef nonnull @.str.469, ptr noundef %4)
  %9 = getelementptr inbounds i8, ptr %0, i64 8
  %10 = load i64, ptr %9, align 8, !tbaa !5
  %11 = icmp sge i64 %10, %2
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %11, ptr noundef nonnull @.str.470, ptr noundef %4)
  %12 = load i64, ptr %0, align 8, !tbaa !13
  %13 = icmp sge i64 %12, %2
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %13, ptr noundef nonnull @.str.471, ptr noundef %4)
  %14 = load i64, ptr %1, align 8, !tbaa !14
  %15 = icmp sge i64 %14, %2
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %15, ptr noundef nonnull @.str.472, ptr noundef %4)
  %16 = call noundef zeroext i1 @_ZN11alglib_impl20apservisfinitematrixEPKNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %0, i64 noundef %2, i64 noundef %2, ptr noundef %4)
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %16, ptr noundef nonnull @.str.473, ptr noundef %4)
  br i1 %8, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %5
  %17 = getelementptr inbounds i8, ptr %1, i64 56
  br label %18

18:                                               ; preds = %.lr.ph, %23
  %.090 = phi i64 [ 0, %.lr.ph ], [ %24, %23 ]
  %19 = load ptr, ptr %17, align 8, !tbaa !16
  %20 = getelementptr inbounds i64, ptr %19, i64 %.090
  %21 = load i64, ptr %20, align 8, !tbaa !17
  %or.cond.not = icmp ult i64 %21, %2
  br i1 %or.cond.not, label %23, label %22

22:                                               ; preds = %18
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef nonnull @.str.474, ptr noundef %4)
  br label %23

23:                                               ; preds = %18, %22
  %24 = add nuw nsw i64 %.090, 1
  %exitcond.not = icmp eq i64 %24, %2
  br i1 %exitcond.not, label %._crit_edge, label %18, !llvm.loop !18

._crit_edge:                                      ; preds = %23, %5
  store i64 1, ptr %3, align 8, !tbaa !20
  %25 = call noundef double @_ZN11alglib_impl15rmatrixlurcond1EPKNS_9ae_matrixElPNS_8ae_stateE(ptr noundef nonnull %0, i64 noundef %2, ptr noundef %4)
  %26 = getelementptr inbounds i8, ptr %3, i64 8
  store double %25, ptr %26, align 8, !tbaa !23
  %27 = call noundef double @_ZN11alglib_impl17rmatrixlurcondinfEPKNS_9ae_matrixElPNS_8ae_stateE(ptr noundef nonnull %0, i64 noundef %2, ptr noundef %4)
  %28 = getelementptr inbounds i8, ptr %3, i64 16
  store double %27, ptr %28, align 8, !tbaa !24
  %29 = load double, ptr %26, align 8, !tbaa !23
  %30 = call noundef double @_ZN11alglib_impl14rcondthresholdEPNS_8ae_stateE(ptr noundef %4)
  %31 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %29, double noundef %30)
  br i1 %31, label %36, label %32

32:                                               ; preds = %._crit_edge
  %33 = load double, ptr %28, align 8, !tbaa !24
  %34 = call noundef double @_ZN11alglib_impl14rcondthresholdEPNS_8ae_stateE(ptr noundef %4)
  %35 = call noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef %33, double noundef %34)
  br i1 %35, label %36, label %65

36:                                               ; preds = %32, %._crit_edge
  br i1 %8, label %.preheader.lr.ph, label %._crit_edge106

.preheader.lr.ph:                                 ; preds = %36
  %37 = getelementptr inbounds i8, ptr %0, i64 72
  %xtraiter111 = and i64 %2, 3
  %38 = icmp ult i64 %2, 4
  %unroll_iter = and i64 %2, 9223372036854775804
  %lcmp.mod112.not = icmp eq i64 %xtraiter111, 0
  br label %.preheader.us

.preheader.us:                                    ; preds = %._crit_edge103.us, %.preheader.lr.ph
  %.1105.us = phi i64 [ 0, %.preheader.lr.ph ], [ %64, %._crit_edge103.us ]
  br i1 %38, label %._crit_edge103.us.unr-lcssa, label %.preheader.us.new

.preheader.us.new:                                ; preds = %.preheader.us, %.preheader.us.new
  %.081101.us = phi i64 [ %58, %.preheader.us.new ], [ 0, %.preheader.us ]
  %niter = phi i64 [ %niter.next.3, %.preheader.us.new ], [ 0, %.preheader.us ]
  %39 = load ptr, ptr %37, align 8, !tbaa !16
  %40 = getelementptr inbounds ptr, ptr %39, i64 %.1105.us
  %41 = load ptr, ptr %40, align 8, !tbaa !25
  %42 = getelementptr inbounds double, ptr %41, i64 %.081101.us
  store double 0.000000e+00, ptr %42, align 8, !tbaa !26
  %43 = or disjoint i64 %.081101.us, 1
  %44 = load ptr, ptr %37, align 8, !tbaa !16
  %45 = getelementptr inbounds ptr, ptr %44, i64 %.1105.us
  %46 = load ptr, ptr %45, align 8, !tbaa !25
  %47 = getelementptr inbounds double, ptr %46, i64 %43
  store double 0.000000e+00, ptr %47, align 8, !tbaa !26
  %48 = or disjoint i64 %.081101.us, 2
  %49 = load ptr, ptr %37, align 8, !tbaa !16
  %50 = getelementptr inbounds ptr, ptr %49, i64 %.1105.us
  %51 = load ptr, ptr %50, align 8, !tbaa !25
  %52 = getelementptr inbounds double, ptr %51, i64 %48
  store double 0.000000e+00, ptr %52, align 8, !tbaa !26
  %53 = or disjoint i64 %.081101.us, 3
  %54 = load ptr, ptr %37, align 8, !tbaa !16
  %55 = getelementptr inbounds ptr, ptr %54, i64 %.1105.us
  %56 = load ptr, ptr %55, align 8, !tbaa !25
  %57 = getelementptr inbounds double, ptr %56, i64 %53
  store double 0.000000e+00, ptr %57, align 8, !tbaa !26
  %58 = add nuw nsw i64 %.081101.us, 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_edge103.us.unr-lcssa, label %.preheader.us.new, !llvm.loop !27

._crit_edge103.us.unr-lcssa:                      ; preds = %.preheader.us.new, %.preheader.us
  %.081101.us.unr = phi i64 [ 0, %.preheader.us ], [ %58, %.preheader.us.new ]
  br i1 %lcmp.mod112.not, label %._crit_edge103.us, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge103.us.unr-lcssa, %.epil.preheader
  %.081101.us.epil = phi i64 [ %63, %.epil.preheader ], [ %.081101.us.unr, %._crit_edge103.us.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge103.us.unr-lcssa ]
  %59 = load ptr, ptr %37, align 8, !tbaa !16
  %60 = getelementptr inbounds ptr, ptr %59, i64 %.1105.us
  %61 = load ptr, ptr %60, align 8, !tbaa !25
  %62 = getelementptr inbounds double, ptr %61, i64 %.081101.us.epil
  store double 0.000000e+00, ptr %62, align 8, !tbaa !26
  %63 = add nuw nsw i64 %.081101.us.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter111
  br i1 %epil.iter.cmp.not, label %._crit_edge103.us, label %.epil.preheader, !llvm.loop !28

._crit_edge103.us:                                ; preds = %.epil.preheader, %._crit_edge103.us.unr-lcssa
  %64 = add nuw nsw i64 %.1105.us, 1
  %exitcond110.not = icmp eq i64 %64, %2
  br i1 %exitcond110.not, label %._crit_edge106, label %.preheader.us, !llvm.loop !30

._crit_edge106:                                   ; preds = %._crit_edge103.us, %36
  store i64 -3, ptr %3, align 8, !tbaa !20
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %26, i8 0, i64 16, i1 false)
  br label %._crit_edge99

65:                                               ; preds = %32
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %7, i64 noundef %2, ptr noundef %4)
  call void @_ZN11alglib_implL26matinv_rmatrixluinverserecEPNS_9ae_matrixEllPNS_9ae_vectorEPNS_12matinvreportEPNS_8ae_stateE(ptr noundef nonnull %0, i64 noundef 0, i64 noundef %2, ptr noundef nonnull %7, ptr noundef nonnull %3, ptr noundef %4)
  br i1 %8, label %.lr.ph98, label %._crit_edge99

.lr.ph98:                                         ; preds = %65
  %66 = add nsw i64 %2, -2
  %.not = icmp eq i64 %2, 1
  %67 = getelementptr inbounds i8, ptr %1, i64 56
  %68 = getelementptr inbounds i8, ptr %0, i64 72
  br i1 %.not, label %._crit_edge99, label %.lr.ph93.us.preheader

.lr.ph93.us.preheader:                            ; preds = %.lr.ph98
  %69 = and i64 %2, 1
  %lcmp.mod.not.not = icmp eq i64 %69, 0
  %70 = add nsw i64 %2, -3
  %71 = icmp eq i64 %66, 0
  br label %.lr.ph93.us

.lr.ph93.us:                                      ; preds = %.lr.ph93.us.preheader, %._crit_edge94.us
  %.296.us = phi i64 [ %117, %._crit_edge94.us ], [ 0, %.lr.ph93.us.preheader ]
  br i1 %lcmp.mod.not.not, label %.prol.loopexit.unr-lcssa, label %.prol.loopexit

.prol.loopexit.unr-lcssa:                         ; preds = %.lr.ph93.us
  %72 = load ptr, ptr %67, align 8, !tbaa !16
  %73 = getelementptr inbounds i64, ptr %72, i64 %66
  %74 = load i64, ptr %73, align 8, !tbaa !17
  %75 = load ptr, ptr %68, align 8, !tbaa !16
  %76 = getelementptr inbounds ptr, ptr %75, i64 %.296.us
  %77 = load ptr, ptr %76, align 8, !tbaa !25
  %78 = getelementptr inbounds double, ptr %77, i64 %66
  %79 = load double, ptr %78, align 8, !tbaa !26
  %80 = getelementptr inbounds double, ptr %77, i64 %74
  %81 = load double, ptr %80, align 8, !tbaa !26
  store double %81, ptr %78, align 8, !tbaa !26
  %82 = load ptr, ptr %68, align 8, !tbaa !16
  %83 = getelementptr inbounds ptr, ptr %82, i64 %.296.us
  %84 = load ptr, ptr %83, align 8, !tbaa !25
  %85 = getelementptr inbounds double, ptr %84, i64 %74
  store double %79, ptr %85, align 8, !tbaa !26
  br label %.prol.loopexit

.prol.loopexit:                                   ; preds = %.prol.loopexit.unr-lcssa, %.lr.ph93.us
  %.18291.us.unr = phi i64 [ %66, %.lr.ph93.us ], [ %70, %.prol.loopexit.unr-lcssa ]
  br i1 %71, label %._crit_edge94.us, label %.lr.ph93.us.new

.lr.ph93.us.new:                                  ; preds = %.prol.loopexit, %.lr.ph93.us.new
  %.18291.us = phi i64 [ %115, %.lr.ph93.us.new ], [ %.18291.us.unr, %.prol.loopexit ]
  %86 = load ptr, ptr %67, align 8, !tbaa !16
  %87 = getelementptr inbounds i64, ptr %86, i64 %.18291.us
  %88 = load i64, ptr %87, align 8, !tbaa !17
  %89 = load ptr, ptr %68, align 8, !tbaa !16
  %90 = getelementptr inbounds ptr, ptr %89, i64 %.296.us
  %91 = load ptr, ptr %90, align 8, !tbaa !25
  %92 = getelementptr inbounds double, ptr %91, i64 %.18291.us
  %93 = load double, ptr %92, align 8, !tbaa !26
  %94 = getelementptr inbounds double, ptr %91, i64 %88
  %95 = load double, ptr %94, align 8, !tbaa !26
  store double %95, ptr %92, align 8, !tbaa !26
  %96 = load ptr, ptr %68, align 8, !tbaa !16
  %97 = getelementptr inbounds ptr, ptr %96, i64 %.296.us
  %98 = load ptr, ptr %97, align 8, !tbaa !25
  %99 = getelementptr inbounds double, ptr %98, i64 %88
  store double %93, ptr %99, align 8, !tbaa !26
  %100 = add nsw i64 %.18291.us, -1
  %101 = load ptr, ptr %67, align 8, !tbaa !16
  %102 = getelementptr inbounds i64, ptr %101, i64 %100
  %103 = load i64, ptr %102, align 8, !tbaa !17
  %104 = load ptr, ptr %68, align 8, !tbaa !16
  %105 = getelementptr inbounds ptr, ptr %104, i64 %.296.us
  %106 = load ptr, ptr %105, align 8, !tbaa !25
  %107 = getelementptr inbounds double, ptr %106, i64 %100
  %108 = load double, ptr %107, align 8, !tbaa !26
  %109 = getelementptr inbounds double, ptr %106, i64 %103
  %110 = load double, ptr %109, align 8, !tbaa !26
  store double %110, ptr %107, align 8, !tbaa !26
  %111 = load ptr, ptr %68, align 8, !tbaa !16
  %112 = getelementptr inbounds ptr, ptr %111, i64 %.296.us
  %113 = load ptr, ptr %112, align 8, !tbaa !25
  %114 = getelementptr inbounds double, ptr %113, i64 %103
  store double %108, ptr %114, align 8, !tbaa !26
  %115 = add nsw i64 %.18291.us, -2
  %116 = icmp sgt i64 %.18291.us, 1
  br i1 %116, label %.lr.ph93.us.new, label %._crit_edge94.us, !llvm.loop !31

._crit_edge94.us:                                 ; preds = %.lr.ph93.us.new, %.prol.loopexit
  %117 = add nuw nsw i64 %.296.us, 1
  %exitcond108.not = icmp eq i64 %117, %2
  br i1 %exitcond108.not, label %._crit_edge99, label %.lr.ph93.us, !llvm.loop !32

._crit_edge99:                                    ; preds = %._crit_edge94.us, %65, %.lr.ph98, %._crit_edge106
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %4)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #4
  ret void
}

declare noundef zeroext i1 @_ZN11alglib_impl10ae_fp_lessEdd(double noundef, double noundef) local_unnamed_addr #2

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

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #2

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

declare noundef zeroext i1 @_ZN11alglib_impl20apservisfinitematrixEPKNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZN11alglib_impl14rcondthresholdEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL26matinv_rmatrixluinverserecEPNS_9ae_matrixEllPNS_9ae_vectorEPNS_12matinvreportEPNS_8ae_stateE(ptr noundef, i64 noundef, i64 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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, !7, i64 8}
!6 = !{!"_ZTSN11alglib_impl9ae_matrixE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !11, i64 40, !8, i64 72}
!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 = !{!6, !7, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"_ZTSN11alglib_impl9ae_vectorE", !7, i64 0, !7, i64 8, !10, i64 16, !11, i64 24, !8, i64 56}
!16 = !{!8, !8, i64 0}
!17 = !{!7, !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21, !7, i64 0}
!21 = !{!"_ZTSN11alglib_impl12matinvreportE", !7, i64 0, !22, i64 8, !22, i64 16}
!22 = !{!"double", !8, i64 0}
!23 = !{!21, !22, i64 8}
!24 = !{!21, !22, i64 16}
!25 = !{!12, !12, i64 0}
!26 = !{!22, !22, i64 0}
!27 = distinct !{!27, !19}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.unroll.disable"}
!30 = distinct !{!30, !19}
!31 = distinct !{!31, !19}
!32 = distinct !{!32, !19}


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