; LLVM IR from Dimandragon/non-parametric-dsp :: alglib-cpp/src (interpolation)

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

%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%union.anon.0 = type { ptr }
%"struct.alglib_impl::rbfv3model" = type { i64, i64, i64, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::rbf3evaluator", %"struct.alglib_impl::rbf3fastevaluator", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::rbfv3calcbuffer", i8, double }
%"struct.alglib_impl::rbf3evaluator" = type { i64, i64, %"struct.alglib_impl::ae_matrix", i64, i64, double, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_shared_pool", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::ae_shared_pool" = type { %"struct.alglib_impl::ae_lock", ptr, ptr, ptr, ptr, i64, ptr, ptr, %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_lock" = type { ptr, %"struct.alglib_impl::ae_dyn_block", i8 }
%"struct.alglib_impl::rbf3fastevaluator" = type { i64, i64, i64, i64, i64, double, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", i8, %"struct.alglib_impl::ae_obj_array", %"struct.alglib_impl::biharmonicevaluator", %"struct.alglib_impl::ae_shared_pool", %"struct.alglib_impl::ae_matrix", i8, i64, i64, i64 }
%"struct.alglib_impl::ae_obj_array" = type { i64, i64, i8, ptr, ptr, ptr, ptr, %"struct.alglib_impl::ae_lock", %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::biharmonicevaluator" = type { i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.1 }
%union.anon.1 = type { ptr }
%"struct.alglib_impl::rbfv3calcbuffer" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::rbf3evaluatorbuffer", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::rbf3evaluatorbuffer" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix" }

@.str.790 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.791 = external hidden unnamed_addr constant [50 x i8], align 1

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl18rbfv3tsfastcalcbufEPNS_10rbfv3modelEPNS_15rbfv3calcbufferEPKNS_9ae_vectorEPS4_PNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #3 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 8, 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
  %16 = load ptr, ptr %8, align 8, !tbaa !5
  %17 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 0
  %18 = load i64, ptr %17, align 8, !tbaa !9
  %19 = load ptr, ptr %6, align 8, !tbaa !5
  %20 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %19, i32 0, i32 1
  %21 = load i64, ptr %20, align 8, !tbaa !14
  %22 = icmp sge i64 %18, %21
  %23 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %22, ptr noundef @.str.790, ptr noundef %23)
  %24 = load ptr, ptr %8, align 8, !tbaa !5
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %25, i32 0, i32 1
  %27 = load i64, ptr %26, align 8, !tbaa !14
  %28 = load ptr, ptr %10, align 8, !tbaa !5
  %29 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %24, i64 noundef %27, ptr noundef %28)
  %30 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %29, ptr noundef @.str.791, ptr noundef %30)
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %31, i32 0, i32 1
  %33 = load i64, ptr %32, align 8, !tbaa !14
  store i64 %33, ptr %11, align 8, !tbaa !26
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %34, i32 0, i32 0
  %36 = load i64, ptr %35, align 8, !tbaa !27
  store i64 %36, ptr %12, align 8, !tbaa !26
  %37 = load ptr, ptr %9, align 8, !tbaa !5
  %38 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %37, i32 0, i32 0
  %39 = load i64, ptr %38, align 8, !tbaa !9
  %40 = load i64, ptr %12, align 8, !tbaa !26
  %41 = icmp slt i64 %39, %40
  br i1 %41, label %42, label %46

42:                                               ; preds = %5
  %43 = load ptr, ptr %9, align 8, !tbaa !5
  %44 = load i64, ptr %12, align 8, !tbaa !26
  %45 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %43, i64 noundef %44, ptr noundef %45)
  br label %46

46:                                               ; preds = %42, %5
  store i64 0, ptr %13, align 8, !tbaa !26
  br label %47

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

52:                                               ; preds = %47
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %53, i32 0, i32 5
  %55 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %54, i32 0, i32 6
  %56 = load ptr, ptr %55, align 8, !tbaa !28
  %57 = load i64, ptr %13, align 8, !tbaa !26
  %58 = getelementptr inbounds ptr, ptr %56, i64 %57
  %59 = load ptr, ptr %58, align 8, !tbaa !5
  %60 = load i64, ptr %11, align 8, !tbaa !26
  %61 = getelementptr inbounds double, ptr %59, i64 %60
  %62 = load double, ptr %61, align 8, !tbaa !29
  %63 = load ptr, ptr %9, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %63, i32 0, i32 4
  %65 = load ptr, ptr %64, align 8, !tbaa !28
  %66 = load i64, ptr %13, align 8, !tbaa !26
  %67 = getelementptr inbounds double, ptr %65, i64 %66
  store double %62, ptr %67, align 8, !tbaa !29
  store i64 0, ptr %14, align 8, !tbaa !26
  br label %68

68:                                               ; preds = %102, %52
  %69 = load i64, ptr %14, align 8, !tbaa !26
  %70 = load i64, ptr %11, align 8, !tbaa !26
  %71 = sub nsw i64 %70, 1
  %72 = icmp sle i64 %69, %71
  br i1 %72, label %73, label %105

73:                                               ; preds = %68
  %74 = load ptr, ptr %9, align 8, !tbaa !5
  %75 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %74, i32 0, i32 4
  %76 = load ptr, ptr %75, align 8, !tbaa !28
  %77 = load i64, ptr %13, align 8, !tbaa !26
  %78 = getelementptr inbounds double, ptr %76, i64 %77
  %79 = load double, ptr %78, align 8, !tbaa !29
  %80 = load ptr, ptr %6, align 8, !tbaa !5
  %81 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %80, i32 0, i32 5
  %82 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %81, i32 0, i32 6
  %83 = load ptr, ptr %82, align 8, !tbaa !28
  %84 = load i64, ptr %13, align 8, !tbaa !26
  %85 = getelementptr inbounds ptr, ptr %83, i64 %84
  %86 = load ptr, ptr %85, align 8, !tbaa !5
  %87 = load i64, ptr %14, align 8, !tbaa !26
  %88 = getelementptr inbounds double, ptr %86, i64 %87
  %89 = load double, ptr %88, align 8, !tbaa !29
  %90 = load ptr, ptr %8, align 8, !tbaa !5
  %91 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %90, i32 0, i32 4
  %92 = load ptr, ptr %91, align 8, !tbaa !28
  %93 = load i64, ptr %14, align 8, !tbaa !26
  %94 = getelementptr inbounds double, ptr %92, i64 %93
  %95 = load double, ptr %94, align 8, !tbaa !29
  %96 = call double @llvm.fmuladd.f64(double %89, double %95, double %79)
  %97 = load ptr, ptr %9, align 8, !tbaa !5
  %98 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %97, i32 0, i32 4
  %99 = load ptr, ptr %98, align 8, !tbaa !28
  %100 = load i64, ptr %13, align 8, !tbaa !26
  %101 = getelementptr inbounds double, ptr %99, i64 %100
  store double %96, ptr %101, align 8, !tbaa !29
  br label %102

102:                                              ; preds = %73
  %103 = load i64, ptr %14, align 8, !tbaa !26
  %104 = add nsw i64 %103, 1
  store i64 %104, ptr %14, align 8, !tbaa !26
  br label %68, !llvm.loop !30

105:                                              ; preds = %68
  br label %106

106:                                              ; preds = %105
  %107 = load i64, ptr %13, align 8, !tbaa !26
  %108 = add nsw i64 %107, 1
  store i64 %108, ptr %13, align 8, !tbaa !26
  br label %47, !llvm.loop !32

109:                                              ; preds = %47
  %110 = load ptr, ptr %6, align 8, !tbaa !5
  %111 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %110, i32 0, i32 8
  %112 = load i64, ptr %111, align 8, !tbaa !33
  %113 = icmp eq i64 %112, 0
  br i1 %113, label %114, label %115

114:                                              ; preds = %109
  store i32 1, ptr %15, align 4
  br label %190

115:                                              ; preds = %109
  %116 = load i64, ptr %11, align 8, !tbaa !26
  %117 = load ptr, ptr %7, align 8, !tbaa !5
  %118 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %117, i32 0, i32 4
  %119 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocmEllPNS_9ae_matrixEPNS_8ae_stateE(i64 noundef 1, i64 noundef %116, ptr noundef %118, ptr noundef %119)
  store i64 0, ptr %14, align 8, !tbaa !26
  br label %120

120:                                              ; preds = %148, %115
  %121 = load i64, ptr %14, align 8, !tbaa !26
  %122 = load i64, ptr %11, align 8, !tbaa !26
  %123 = sub nsw i64 %122, 1
  %124 = icmp sle i64 %121, %123
  br i1 %124, label %125, label %151

125:                                              ; preds = %120
  %126 = load ptr, ptr %8, align 8, !tbaa !5
  %127 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %126, i32 0, i32 4
  %128 = load ptr, ptr %127, align 8, !tbaa !28
  %129 = load i64, ptr %14, align 8, !tbaa !26
  %130 = getelementptr inbounds double, ptr %128, i64 %129
  %131 = load double, ptr %130, align 8, !tbaa !29
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %132, i32 0, i32 4
  %134 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %133, i32 0, i32 4
  %135 = load ptr, ptr %134, align 8, !tbaa !28
  %136 = load i64, ptr %14, align 8, !tbaa !26
  %137 = getelementptr inbounds double, ptr %135, i64 %136
  %138 = load double, ptr %137, align 8, !tbaa !29
  %139 = fdiv double %131, %138
  %140 = load ptr, ptr %7, align 8, !tbaa !5
  %141 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %140, i32 0, i32 4
  %142 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %141, i32 0, i32 6
  %143 = load ptr, ptr %142, align 8, !tbaa !28
  %144 = getelementptr inbounds ptr, ptr %143, i64 0
  %145 = load ptr, ptr %144, align 8, !tbaa !5
  %146 = load i64, ptr %14, align 8, !tbaa !26
  %147 = getelementptr inbounds double, ptr %145, i64 %146
  store double %139, ptr %147, align 8, !tbaa !29
  br label %148

148:                                              ; preds = %125
  %149 = load i64, ptr %14, align 8, !tbaa !26
  %150 = add nsw i64 %149, 1
  store i64 %150, ptr %14, align 8, !tbaa !26
  br label %120, !llvm.loop !34

151:                                              ; preds = %120
  %152 = load ptr, ptr %6, align 8, !tbaa !5
  %153 = getelementptr inbounds %"struct.alglib_impl::rbfv3model", ptr %152, i32 0, i32 10
  %154 = load ptr, ptr %7, align 8, !tbaa !5
  %155 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %154, i32 0, i32 4
  %156 = load ptr, ptr %7, align 8, !tbaa !5
  %157 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %156, i32 0, i32 5
  %158 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_implL31rbfv3_fastevaluatorcomputebatchEPNS_17rbf3fastevaluatorEPKNS_9ae_matrixElbPS2_PNS_8ae_stateE(ptr noundef %153, ptr noundef %155, i64 noundef 1, i1 noundef zeroext true, ptr noundef %157, ptr noundef %158)
  store i64 0, ptr %13, align 8, !tbaa !26
  br label %159

159:                                              ; preds = %186, %151
  %160 = load i64, ptr %13, align 8, !tbaa !26
  %161 = load i64, ptr %12, align 8, !tbaa !26
  %162 = sub nsw i64 %161, 1
  %163 = icmp sle i64 %160, %162
  br i1 %163, label %164, label %189

164:                                              ; preds = %159
  %165 = load ptr, ptr %9, align 8, !tbaa !5
  %166 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %165, i32 0, i32 4
  %167 = load ptr, ptr %166, align 8, !tbaa !28
  %168 = load i64, ptr %13, align 8, !tbaa !26
  %169 = getelementptr inbounds double, ptr %167, i64 %168
  %170 = load double, ptr %169, align 8, !tbaa !29
  %171 = load ptr, ptr %7, align 8, !tbaa !5
  %172 = getelementptr inbounds %"struct.alglib_impl::rbfv3calcbuffer", ptr %171, i32 0, i32 5
  %173 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %172, i32 0, i32 6
  %174 = load ptr, ptr %173, align 8, !tbaa !28
  %175 = load i64, ptr %13, align 8, !tbaa !26
  %176 = getelementptr inbounds ptr, ptr %174, i64 %175
  %177 = load ptr, ptr %176, align 8, !tbaa !5
  %178 = getelementptr inbounds double, ptr %177, i64 0
  %179 = load double, ptr %178, align 8, !tbaa !29
  %180 = fadd double %170, %179
  %181 = load ptr, ptr %9, align 8, !tbaa !5
  %182 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %181, i32 0, i32 4
  %183 = load ptr, ptr %182, align 8, !tbaa !28
  %184 = load i64, ptr %13, align 8, !tbaa !26
  %185 = getelementptr inbounds double, ptr %183, i64 %184
  store double %180, ptr %185, align 8, !tbaa !29
  br label %186

186:                                              ; preds = %164
  %187 = load i64, ptr %13, align 8, !tbaa !26
  %188 = add nsw i64 %187, 1
  store i64 %188, ptr %13, align 8, !tbaa !26
  br label %159, !llvm.loop !35

189:                                              ; preds = %159
  store i32 0, ptr %15, align 4
  br label %190

190:                                              ; preds = %189, %114
  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 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  %191 = load i32, ptr %15, align 4
  switch i32 %191, label %193 [
    i32 0, label %192
    i32 1, label %192
  ]

192:                                              ; preds = %190, %190
  ret void

193:                                              ; preds = %190
  unreachable
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL31rbfv3_fastevaluatorcomputebatchEPNS_17rbf3fastevaluatorEPKNS_9ae_matrixElbPS2_PNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, i1 noundef zeroext, ptr noundef, ptr noundef) #3

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSN11alglib_impl9ae_vectorE", !11, i64 0, !11, i64 8, !12, i64 16, !13, i64 24, !7, i64 56}
!11 = !{!"long", !7, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!14 = !{!15, !11, i64 8}
!15 = !{!"_ZTSN11alglib_impl10rbfv3modelE", !11, i64 0, !11, i64 8, !11, i64 16, !16, i64 24, !10, i64 32, !17, i64 96, !10, i64 176, !10, i64 240, !11, i64 304, !18, i64 312, !21, i64 864, !17, i64 2440, !24, i64 2520, !12, i64 3720, !16, i64 3728}
!16 = !{!"double", !7, i64 0}
!17 = !{!"_ZTSN11alglib_impl9ae_matrixE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !12, i64 32, !13, i64 40, !7, i64 72}
!18 = !{!"_ZTSN11alglib_impl13rbf3evaluatorE", !11, i64 0, !11, i64 8, !17, i64 16, !11, i64 96, !11, i64 104, !16, i64 112, !11, i64 120, !10, i64 128, !17, i64 192, !17, i64 272, !19, i64 352, !10, i64 488}
!19 = !{!"_ZTSN11alglib_impl14ae_shared_poolE", !20, i64 0, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !11, i64 80, !6, i64 88, !6, i64 96, !13, i64 104}
!20 = !{!"_ZTSN11alglib_impl7ae_lockE", !6, i64 0, !13, i64 8, !12, i64 40}
!21 = !{!"_ZTSN11alglib_impl17rbf3fastevaluatorE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !16, i64 40, !17, i64 48, !10, i64 128, !17, i64 192, !12, i64 272, !22, i64 280, !23, i64 416, !19, i64 1328, !17, i64 1464, !12, i64 1544, !11, i64 1552, !11, i64 1560, !11, i64 1568}
!22 = !{!"_ZTSN11alglib_impl12ae_obj_arrayE", !11, i64 0, !11, i64 8, !12, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !20, i64 56, !13, i64 104}
!23 = !{!"_ZTSN11alglib_impl19biharmonicevaluatorE", !11, i64 0, !11, i64 8, !10, i64 16, !10, i64 80, !10, i64 144, !10, i64 208, !10, i64 272, !10, i64 336, !10, i64 400, !10, i64 464, !10, i64 528, !10, i64 592, !10, i64 656, !10, i64 720, !10, i64 784, !10, i64 848}
!24 = !{!"_ZTSN11alglib_impl15rbfv3calcbufferE", !10, i64 0, !25, i64 64, !10, i64 784, !10, i64 848, !17, i64 912, !17, i64 992, !10, i64 1072, !10, i64 1136}
!25 = !{!"_ZTSN11alglib_impl19rbf3evaluatorbufferE", !10, i64 0, !10, i64 64, !10, i64 128, !10, i64 192, !10, i64 256, !10, i64 320, !10, i64 384, !10, i64 448, !10, i64 512, !10, i64 576, !17, i64 640}
!26 = !{!11, !11, i64 0}
!27 = !{!15, !11, i64 0}
!28 = !{!7, !7, i64 0}
!29 = !{!16, !16, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = distinct !{!32, !31}
!33 = !{!15, !11, i64 304}
!34 = distinct !{!34, !31}
!35 = distinct !{!35, !31}


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

@.str.790 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.791 = external hidden unnamed_addr constant [50 x i8], align 1

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

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

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

declare noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl18rbfv3tsfastcalcbufEPNS_10rbfv3modelEPNS_15rbfv3calcbufferEPKNS_9ae_vectorEPS4_PNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #2 {
  %6 = load i64, ptr %2, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 8
  %8 = load i64, ptr %7, align 8, !tbaa !13
  %9 = icmp sge i64 %6, %8
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %9, ptr noundef nonnull @.str.790, ptr noundef %4)
  %10 = load i64, ptr %7, align 8, !tbaa !13
  %11 = tail call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %2, i64 noundef %10, ptr noundef %4)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %11, ptr noundef nonnull @.str.791, ptr noundef %4)
  %12 = load i64, ptr %7, align 8, !tbaa !13
  %13 = load i64, ptr %0, align 8, !tbaa !25
  %14 = load i64, ptr %3, align 8, !tbaa !5
  %15 = icmp slt i64 %14, %13
  br i1 %15, label %16, label %17

16:                                               ; preds = %5
  tail call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %3, i64 noundef %13, ptr noundef %4)
  br label %17

17:                                               ; preds = %16, %5
  %.not.not68 = icmp sgt i64 %13, 0
  br i1 %.not.not68, label %.lr.ph71, label %._crit_edge72

.lr.ph71:                                         ; preds = %17
  %18 = getelementptr inbounds i8, ptr %0, i64 168
  %19 = getelementptr inbounds i8, ptr %3, i64 56
  %.not.not6566 = icmp sgt i64 %12, 0
  %20 = getelementptr inbounds i8, ptr %2, i64 56
  br i1 %.not.not6566, label %.lr.ph.us.preheader, label %.lr.ph71.split.preheader

.lr.ph71.split.preheader:                         ; preds = %.lr.ph71
  %xtraiter = and i64 %13, 1
  %21 = icmp eq i64 %13, 1
  br i1 %21, label %._crit_edge72.loopexit86.unr-lcssa, label %.lr.ph71.split.preheader.new

.lr.ph71.split.preheader.new:                     ; preds = %.lr.ph71.split.preheader
  %unroll_iter = and i64 %13, 9223372036854775806
  br label %.lr.ph71.split

.lr.ph.us.preheader:                              ; preds = %.lr.ph71
  %xtraiter87 = and i64 %12, 1
  %22 = icmp eq i64 %12, 1
  %unroll_iter89 = and i64 %12, 9223372036854775806
  %lcmp.mod88.not = icmp eq i64 %xtraiter87, 0
  br label %.lr.ph.us

.lr.ph.us:                                        ; preds = %.lr.ph.us.preheader, %._crit_edge.us
  %.05969.us = phi i64 [ %68, %._crit_edge.us ], [ 0, %.lr.ph.us.preheader ]
  %23 = load ptr, ptr %18, align 8, !tbaa !26
  %24 = getelementptr inbounds ptr, ptr %23, i64 %.05969.us
  %25 = load ptr, ptr %24, align 8, !tbaa !27
  %26 = getelementptr inbounds double, ptr %25, i64 %12
  %27 = load double, ptr %26, align 8, !tbaa !28
  %28 = load ptr, ptr %19, align 8, !tbaa !26
  %29 = getelementptr inbounds double, ptr %28, i64 %.05969.us
  store double %27, ptr %29, align 8, !tbaa !28
  br i1 %22, label %._crit_edge.us.unr-lcssa, label %.lr.ph.us.new

.lr.ph.us.new:                                    ; preds = %.lr.ph.us, %.lr.ph.us.new
  %.067.us = phi i64 [ %55, %.lr.ph.us.new ], [ 0, %.lr.ph.us ]
  %niter90 = phi i64 [ %niter90.next.1, %.lr.ph.us.new ], [ 0, %.lr.ph.us ]
  %30 = load ptr, ptr %19, align 8, !tbaa !26
  %31 = getelementptr inbounds double, ptr %30, i64 %.05969.us
  %32 = load double, ptr %31, align 8, !tbaa !28
  %33 = load ptr, ptr %18, align 8, !tbaa !26
  %34 = getelementptr inbounds ptr, ptr %33, i64 %.05969.us
  %35 = load ptr, ptr %34, align 8, !tbaa !27
  %36 = getelementptr inbounds double, ptr %35, i64 %.067.us
  %37 = load double, ptr %36, align 8, !tbaa !28
  %38 = load ptr, ptr %20, align 8, !tbaa !26
  %39 = getelementptr inbounds double, ptr %38, i64 %.067.us
  %40 = load double, ptr %39, align 8, !tbaa !28
  %41 = tail call double @llvm.fmuladd.f64(double %37, double %40, double %32)
  store double %41, ptr %31, align 8, !tbaa !28
  %42 = or disjoint i64 %.067.us, 1
  %43 = load ptr, ptr %19, align 8, !tbaa !26
  %44 = getelementptr inbounds double, ptr %43, i64 %.05969.us
  %45 = load double, ptr %44, align 8, !tbaa !28
  %46 = load ptr, ptr %18, align 8, !tbaa !26
  %47 = getelementptr inbounds ptr, ptr %46, i64 %.05969.us
  %48 = load ptr, ptr %47, align 8, !tbaa !27
  %49 = getelementptr inbounds double, ptr %48, i64 %42
  %50 = load double, ptr %49, align 8, !tbaa !28
  %51 = load ptr, ptr %20, align 8, !tbaa !26
  %52 = getelementptr inbounds double, ptr %51, i64 %42
  %53 = load double, ptr %52, align 8, !tbaa !28
  %54 = tail call double @llvm.fmuladd.f64(double %50, double %53, double %45)
  store double %54, ptr %44, align 8, !tbaa !28
  %55 = add nuw nsw i64 %.067.us, 2
  %niter90.next.1 = add i64 %niter90, 2
  %niter90.ncmp.1 = icmp eq i64 %niter90.next.1, %unroll_iter89
  br i1 %niter90.ncmp.1, label %._crit_edge.us.unr-lcssa, label %.lr.ph.us.new, !llvm.loop !29

._crit_edge.us.unr-lcssa:                         ; preds = %.lr.ph.us.new, %.lr.ph.us
  %.067.us.unr = phi i64 [ 0, %.lr.ph.us ], [ %55, %.lr.ph.us.new ]
  br i1 %lcmp.mod88.not, label %._crit_edge.us, label %._crit_edge.us.epilog-lcssa

._crit_edge.us.epilog-lcssa:                      ; preds = %._crit_edge.us.unr-lcssa
  %56 = load ptr, ptr %19, align 8, !tbaa !26
  %57 = getelementptr inbounds double, ptr %56, i64 %.05969.us
  %58 = load double, ptr %57, align 8, !tbaa !28
  %59 = load ptr, ptr %18, align 8, !tbaa !26
  %60 = getelementptr inbounds ptr, ptr %59, i64 %.05969.us
  %61 = load ptr, ptr %60, align 8, !tbaa !27
  %62 = getelementptr inbounds double, ptr %61, i64 %.067.us.unr
  %63 = load double, ptr %62, align 8, !tbaa !28
  %64 = load ptr, ptr %20, align 8, !tbaa !26
  %65 = getelementptr inbounds double, ptr %64, i64 %.067.us.unr
  %66 = load double, ptr %65, align 8, !tbaa !28
  %67 = tail call double @llvm.fmuladd.f64(double %63, double %66, double %58)
  store double %67, ptr %57, align 8, !tbaa !28
  br label %._crit_edge.us

._crit_edge.us:                                   ; preds = %._crit_edge.us.unr-lcssa, %._crit_edge.us.epilog-lcssa
  %68 = add nuw nsw i64 %.05969.us, 1
  %exitcond81.not = icmp eq i64 %68, %13
  br i1 %exitcond81.not, label %._crit_edge72, label %.lr.ph.us, !llvm.loop !31

.lr.ph71.split:                                   ; preds = %.lr.ph71.split, %.lr.ph71.split.preheader.new
  %.05969 = phi i64 [ 0, %.lr.ph71.split.preheader.new ], [ %84, %.lr.ph71.split ]
  %niter = phi i64 [ 0, %.lr.ph71.split.preheader.new ], [ %niter.next.1, %.lr.ph71.split ]
  %69 = load ptr, ptr %18, align 8, !tbaa !26
  %70 = getelementptr inbounds ptr, ptr %69, i64 %.05969
  %71 = load ptr, ptr %70, align 8, !tbaa !27
  %72 = getelementptr inbounds double, ptr %71, i64 %12
  %73 = load double, ptr %72, align 8, !tbaa !28
  %74 = load ptr, ptr %19, align 8, !tbaa !26
  %75 = getelementptr inbounds double, ptr %74, i64 %.05969
  store double %73, ptr %75, align 8, !tbaa !28
  %76 = or disjoint i64 %.05969, 1
  %77 = load ptr, ptr %18, align 8, !tbaa !26
  %78 = getelementptr inbounds ptr, ptr %77, i64 %76
  %79 = load ptr, ptr %78, align 8, !tbaa !27
  %80 = getelementptr inbounds double, ptr %79, i64 %12
  %81 = load double, ptr %80, align 8, !tbaa !28
  %82 = load ptr, ptr %19, align 8, !tbaa !26
  %83 = getelementptr inbounds double, ptr %82, i64 %76
  store double %81, ptr %83, align 8, !tbaa !28
  %84 = add nuw nsw i64 %.05969, 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 %._crit_edge72.loopexit86.unr-lcssa, label %.lr.ph71.split, !llvm.loop !31

._crit_edge72.loopexit86.unr-lcssa:               ; preds = %.lr.ph71.split, %.lr.ph71.split.preheader
  %.05969.unr = phi i64 [ 0, %.lr.ph71.split.preheader ], [ %84, %.lr.ph71.split ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge72, label %.lr.ph71.split.epil

.lr.ph71.split.epil:                              ; preds = %._crit_edge72.loopexit86.unr-lcssa
  %85 = load ptr, ptr %18, align 8, !tbaa !26
  %86 = getelementptr inbounds ptr, ptr %85, i64 %.05969.unr
  %87 = load ptr, ptr %86, align 8, !tbaa !27
  %88 = getelementptr inbounds double, ptr %87, i64 %12
  %89 = load double, ptr %88, align 8, !tbaa !28
  %90 = load ptr, ptr %19, align 8, !tbaa !26
  %91 = getelementptr inbounds double, ptr %90, i64 %.05969.unr
  store double %89, ptr %91, align 8, !tbaa !28
  br label %._crit_edge72

._crit_edge72:                                    ; preds = %.lr.ph71.split.epil, %._crit_edge72.loopexit86.unr-lcssa, %._crit_edge.us, %17
  %92 = getelementptr inbounds i8, ptr %0, i64 304
  %93 = load i64, ptr %92, align 8, !tbaa !32
  %94 = icmp eq i64 %93, 0
  br i1 %94, label %.loopexit, label %95

95:                                               ; preds = %._crit_edge72
  %96 = getelementptr inbounds i8, ptr %1, i64 912
  tail call void @_ZN11alglib_impl7rallocmEllPNS_9ae_matrixEPNS_8ae_stateE(i64 noundef 1, i64 noundef %12, ptr noundef nonnull %96, ptr noundef %4)
  %.not.not6373 = icmp sgt i64 %12, 0
  br i1 %.not.not6373, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %95
  %97 = getelementptr inbounds i8, ptr %2, i64 56
  %98 = getelementptr inbounds i8, ptr %0, i64 88
  %99 = getelementptr inbounds i8, ptr %1, i64 984
  %xtraiter92 = and i64 %12, 1
  %100 = icmp eq i64 %12, 1
  br i1 %100, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter94 = and i64 %12, 9223372036854775806
  br label %101

101:                                              ; preds = %101, %.lr.ph.new
  %.174 = phi i64 [ 0, %.lr.ph.new ], [ %123, %101 ]
  %niter95 = phi i64 [ 0, %.lr.ph.new ], [ %niter95.next.1, %101 ]
  %102 = load ptr, ptr %97, align 8, !tbaa !26
  %103 = getelementptr inbounds double, ptr %102, i64 %.174
  %104 = load double, ptr %103, align 8, !tbaa !28
  %105 = load ptr, ptr %98, align 8, !tbaa !26
  %106 = getelementptr inbounds double, ptr %105, i64 %.174
  %107 = load double, ptr %106, align 8, !tbaa !28
  %108 = fdiv double %104, %107
  %109 = load ptr, ptr %99, align 8, !tbaa !26
  %110 = load ptr, ptr %109, align 8, !tbaa !27
  %111 = getelementptr inbounds double, ptr %110, i64 %.174
  store double %108, ptr %111, align 8, !tbaa !28
  %112 = or disjoint i64 %.174, 1
  %113 = load ptr, ptr %97, align 8, !tbaa !26
  %114 = getelementptr inbounds double, ptr %113, i64 %112
  %115 = load double, ptr %114, align 8, !tbaa !28
  %116 = load ptr, ptr %98, align 8, !tbaa !26
  %117 = getelementptr inbounds double, ptr %116, i64 %112
  %118 = load double, ptr %117, align 8, !tbaa !28
  %119 = fdiv double %115, %118
  %120 = load ptr, ptr %99, align 8, !tbaa !26
  %121 = load ptr, ptr %120, align 8, !tbaa !27
  %122 = getelementptr inbounds double, ptr %121, i64 %112
  store double %119, ptr %122, align 8, !tbaa !28
  %123 = add nuw nsw i64 %.174, 2
  %niter95.next.1 = add i64 %niter95, 2
  %niter95.ncmp.1 = icmp eq i64 %niter95.next.1, %unroll_iter94
  br i1 %niter95.ncmp.1, label %._crit_edge.loopexit.unr-lcssa, label %101, !llvm.loop !33

._crit_edge.loopexit.unr-lcssa:                   ; preds = %101, %.lr.ph
  %.174.unr = phi i64 [ 0, %.lr.ph ], [ %123, %101 ]
  %lcmp.mod93.not = icmp eq i64 %xtraiter92, 0
  br i1 %lcmp.mod93.not, label %._crit_edge, label %._crit_edge.loopexit.epilog-lcssa

._crit_edge.loopexit.epilog-lcssa:                ; preds = %._crit_edge.loopexit.unr-lcssa
  %124 = load ptr, ptr %97, align 8, !tbaa !26
  %125 = getelementptr inbounds double, ptr %124, i64 %.174.unr
  %126 = load double, ptr %125, align 8, !tbaa !28
  %127 = load ptr, ptr %98, align 8, !tbaa !26
  %128 = getelementptr inbounds double, ptr %127, i64 %.174.unr
  %129 = load double, ptr %128, align 8, !tbaa !28
  %130 = fdiv double %126, %129
  %131 = load ptr, ptr %99, align 8, !tbaa !26
  %132 = load ptr, ptr %131, align 8, !tbaa !27
  %133 = getelementptr inbounds double, ptr %132, i64 %.174.unr
  store double %130, ptr %133, align 8, !tbaa !28
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit.epilog-lcssa, %._crit_edge.loopexit.unr-lcssa, %95
  %134 = getelementptr inbounds i8, ptr %0, i64 864
  %135 = getelementptr inbounds i8, ptr %1, i64 992
  tail call void @_ZN11alglib_implL31rbfv3_fastevaluatorcomputebatchEPNS_17rbf3fastevaluatorEPKNS_9ae_matrixElbPS2_PNS_8ae_stateE(ptr noundef nonnull %134, ptr noundef nonnull %96, i64 noundef 1, i1 noundef zeroext true, ptr noundef nonnull %135, ptr noundef %4)
  br i1 %.not.not68, label %.lr.ph78, label %.loopexit

.lr.ph78:                                         ; preds = %._crit_edge
  %136 = getelementptr inbounds i8, ptr %3, i64 56
  %137 = getelementptr inbounds i8, ptr %1, i64 1064
  %xtraiter97 = and i64 %13, 1
  %138 = icmp eq i64 %13, 1
  br i1 %138, label %.loopexit.loopexit.unr-lcssa, label %.lr.ph78.new

.lr.ph78.new:                                     ; preds = %.lr.ph78
  %unroll_iter99 = and i64 %13, 9223372036854775806
  br label %139

139:                                              ; preds = %139, %.lr.ph78.new
  %.16076 = phi i64 [ 0, %.lr.ph78.new ], [ %157, %139 ]
  %niter100 = phi i64 [ 0, %.lr.ph78.new ], [ %niter100.next.1, %139 ]
  %140 = load ptr, ptr %136, align 8, !tbaa !26
  %141 = getelementptr inbounds double, ptr %140, i64 %.16076
  %142 = load double, ptr %141, align 8, !tbaa !28
  %143 = load ptr, ptr %137, align 8, !tbaa !26
  %144 = getelementptr inbounds ptr, ptr %143, i64 %.16076
  %145 = load ptr, ptr %144, align 8, !tbaa !27
  %146 = load double, ptr %145, align 8, !tbaa !28
  %147 = fadd double %142, %146
  store double %147, ptr %141, align 8, !tbaa !28
  %148 = or disjoint i64 %.16076, 1
  %149 = load ptr, ptr %136, align 8, !tbaa !26
  %150 = getelementptr inbounds double, ptr %149, i64 %148
  %151 = load double, ptr %150, align 8, !tbaa !28
  %152 = load ptr, ptr %137, align 8, !tbaa !26
  %153 = getelementptr inbounds ptr, ptr %152, i64 %148
  %154 = load ptr, ptr %153, align 8, !tbaa !27
  %155 = load double, ptr %154, align 8, !tbaa !28
  %156 = fadd double %151, %155
  store double %156, ptr %150, align 8, !tbaa !28
  %157 = add nuw nsw i64 %.16076, 2
  %niter100.next.1 = add i64 %niter100, 2
  %niter100.ncmp.1 = icmp eq i64 %niter100.next.1, %unroll_iter99
  br i1 %niter100.ncmp.1, label %.loopexit.loopexit.unr-lcssa, label %139, !llvm.loop !34

.loopexit.loopexit.unr-lcssa:                     ; preds = %139, %.lr.ph78
  %.16076.unr = phi i64 [ 0, %.lr.ph78 ], [ %157, %139 ]
  %lcmp.mod98.not = icmp eq i64 %xtraiter97, 0
  br i1 %lcmp.mod98.not, label %.loopexit, label %.loopexit.loopexit.epilog-lcssa

.loopexit.loopexit.epilog-lcssa:                  ; preds = %.loopexit.loopexit.unr-lcssa
  %158 = load ptr, ptr %136, align 8, !tbaa !26
  %159 = getelementptr inbounds double, ptr %158, i64 %.16076.unr
  %160 = load double, ptr %159, align 8, !tbaa !28
  %161 = load ptr, ptr %137, align 8, !tbaa !26
  %162 = getelementptr inbounds ptr, ptr %161, i64 %.16076.unr
  %163 = load ptr, ptr %162, align 8, !tbaa !27
  %164 = load double, ptr %163, align 8, !tbaa !28
  %165 = fadd double %160, %164
  store double %165, ptr %159, align 8, !tbaa !28
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit.epilog-lcssa, %.loopexit.loopexit.unr-lcssa, %._crit_edge, %._crit_edge72
  ret void
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11alglib_implL31rbfv3_fastevaluatorcomputebatchEPNS_17rbf3fastevaluatorEPKNS_9ae_matrixElbPS2_PNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, i1 noundef zeroext, ptr noundef, ptr noundef) local_unnamed_addr #2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTSN11alglib_impl9ae_vectorE", !7, i64 0, !7, i64 8, !10, i64 16, !11, i64 24, !8, i64 56}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 8}
!14 = !{!"_ZTSN11alglib_impl10rbfv3modelE", !7, i64 0, !7, i64 8, !7, i64 16, !15, i64 24, !6, i64 32, !16, i64 96, !6, i64 176, !6, i64 240, !7, i64 304, !17, i64 312, !20, i64 864, !16, i64 2440, !23, i64 2520, !10, i64 3720, !15, i64 3728}
!15 = !{!"double", !8, i64 0}
!16 = !{!"_ZTSN11alglib_impl9ae_matrixE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !11, i64 40, !8, i64 72}
!17 = !{!"_ZTSN11alglib_impl13rbf3evaluatorE", !7, i64 0, !7, i64 8, !16, i64 16, !7, i64 96, !7, i64 104, !15, i64 112, !7, i64 120, !6, i64 128, !16, i64 192, !16, i64 272, !18, i64 352, !6, i64 488}
!18 = !{!"_ZTSN11alglib_impl14ae_shared_poolE", !19, i64 0, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !7, i64 80, !12, i64 88, !12, i64 96, !11, i64 104}
!19 = !{!"_ZTSN11alglib_impl7ae_lockE", !12, i64 0, !11, i64 8, !10, i64 40}
!20 = !{!"_ZTSN11alglib_impl17rbf3fastevaluatorE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !15, i64 40, !16, i64 48, !6, i64 128, !16, i64 192, !10, i64 272, !21, i64 280, !22, i64 416, !18, i64 1328, !16, i64 1464, !10, i64 1544, !7, i64 1552, !7, i64 1560, !7, i64 1568}
!21 = !{!"_ZTSN11alglib_impl12ae_obj_arrayE", !7, i64 0, !7, i64 8, !10, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !19, i64 56, !11, i64 104}
!22 = !{!"_ZTSN11alglib_impl19biharmonicevaluatorE", !7, i64 0, !7, i64 8, !6, i64 16, !6, i64 80, !6, i64 144, !6, i64 208, !6, i64 272, !6, i64 336, !6, i64 400, !6, i64 464, !6, i64 528, !6, i64 592, !6, i64 656, !6, i64 720, !6, i64 784, !6, i64 848}
!23 = !{!"_ZTSN11alglib_impl15rbfv3calcbufferE", !6, i64 0, !24, i64 64, !6, i64 784, !6, i64 848, !16, i64 912, !16, i64 992, !6, i64 1072, !6, i64 1136}
!24 = !{!"_ZTSN11alglib_impl19rbf3evaluatorbufferE", !6, i64 0, !6, i64 64, !6, i64 128, !6, i64 192, !6, i64 256, !6, i64 320, !6, i64 384, !6, i64 448, !6, i64 512, !6, i64 576, !16, i64 640}
!25 = !{!14, !7, i64 0}
!26 = !{!8, !8, i64 0}
!27 = !{!12, !12, i64 0}
!28 = !{!15, !15, i64 0}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = distinct !{!31, !30}
!32 = !{!14, !7, i64 304}
!33 = distinct !{!33, !30}
!34 = distinct !{!34, !30}


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