; 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::rbfmodel" = type { i64, i64, i64, %"struct.alglib_impl::rbfv1model", %"struct.alglib_impl::rbfv2model", %"struct.alglib_impl::rbfv3model", %"struct.alglib_impl::rbfcalcbuffer", double, double, double, i64, i64, i64, i64, i64, double, double, double, i64, double, i64, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", i8, %"struct.alglib_impl::ae_vector", double, i64, i8 }
%"struct.alglib_impl::rbfv1model" = type { i64, i64, i64, i64, %"struct.alglib_impl::kdtree", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", double, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::kdtree" = type { i64, i64, i64, i64, %"struct.alglib_impl::ae_matrix", %"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::kdtreerequestbuffer", i64 }
%"struct.alglib_impl::kdtreerequestbuffer" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, double, i8, double, 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", double, %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::rbfv2model" = type { i64, i64, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", double, i64, double, i64, %"struct.alglib_impl::rbfv2calcbuffer" }
%"struct.alglib_impl::rbfv2calcbuffer" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"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::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" }
%"struct.alglib_impl::rbfcalcbuffer" = type { i64, %"struct.alglib_impl::rbfv1calcbuffer", %"struct.alglib_impl::rbfv2calcbuffer", %"struct.alglib_impl::rbfv3calcbuffer", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::rbfv1calcbuffer" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::kdtreerequestbuffer" }
%"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 }

@.str.708 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.709 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.1029 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1030 = external hidden unnamed_addr constant [35 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl10rbfdiffbufEPNS_8rbfmodelEPKNS_9ae_vectorEPS2_S5_PNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #2 {
  %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 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) #3
  %13 = load ptr, ptr %7, align 8, !tbaa !5
  %14 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 0
  %15 = load i64, ptr %14, align 8, !tbaa !9
  %16 = load ptr, ptr %6, align 8, !tbaa !5
  %17 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %16, i32 0, i32 0
  %18 = load i64, ptr %17, align 8, !tbaa !14
  %19 = icmp sge i64 %15, %18
  %20 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %19, ptr noundef @.str.708, ptr noundef %20)
  %21 = load ptr, ptr %7, align 8, !tbaa !5
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %22, i32 0, i32 0
  %24 = load i64, ptr %23, align 8, !tbaa !14
  %25 = load ptr, ptr %10, align 8, !tbaa !5
  %26 = call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %21, i64 noundef %24, ptr noundef %25)
  %27 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %26, ptr noundef @.str.709, ptr noundef %27)
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %28, i32 0, i32 2
  %30 = load i64, ptr %29, align 8, !tbaa !34
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %31, i32 0, i32 6
  %33 = getelementptr inbounds %"struct.alglib_impl::rbfcalcbuffer", ptr %32, i32 0, i32 0
  %34 = load i64, ptr %33, align 8, !tbaa !35
  %35 = icmp eq i64 %30, %34
  %36 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %35, ptr noundef @.str.1029, ptr noundef %36)
  %37 = load ptr, ptr %8, 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 ptr, ptr %6, align 8, !tbaa !5
  %41 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %40, i32 0, i32 1
  %42 = load i64, ptr %41, align 8, !tbaa !36
  %43 = icmp slt i64 %39, %42
  br i1 %43, label %44, label %50

44:                                               ; preds = %5
  %45 = load ptr, ptr %8, align 8, !tbaa !5
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %46, i32 0, i32 1
  %48 = load i64, ptr %47, align 8, !tbaa !36
  %49 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %45, i64 noundef %48, ptr noundef %49)
  br label %50

50:                                               ; preds = %44, %5
  %51 = load ptr, ptr %9, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %51, i32 0, i32 0
  %53 = load i64, ptr %52, align 8, !tbaa !9
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %54, i32 0, i32 1
  %56 = load i64, ptr %55, align 8, !tbaa !36
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  %58 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %57, i32 0, i32 0
  %59 = load i64, ptr %58, align 8, !tbaa !14
  %60 = mul nsw i64 %56, %59
  %61 = icmp slt i64 %53, %60
  br i1 %61, label %62, label %72

62:                                               ; preds = %50
  %63 = load ptr, ptr %9, align 8, !tbaa !5
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %64, i32 0, i32 1
  %66 = load i64, ptr %65, align 8, !tbaa !36
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %67, i32 0, i32 0
  %69 = load i64, ptr %68, align 8, !tbaa !14
  %70 = mul nsw i64 %66, %69
  %71 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %63, i64 noundef %70, ptr noundef %71)
  br label %72

72:                                               ; preds = %62, %50
  store i64 0, ptr %11, align 8, !tbaa !37
  br label %73

73:                                               ; preds = %86, %72
  %74 = load i64, ptr %11, align 8, !tbaa !37
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %75, i32 0, i32 1
  %77 = load i64, ptr %76, align 8, !tbaa !36
  %78 = sub nsw i64 %77, 1
  %79 = icmp sle i64 %74, %78
  br i1 %79, label %80, label %89

80:                                               ; preds = %73
  %81 = load ptr, ptr %8, align 8, !tbaa !5
  %82 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %81, i32 0, i32 4
  %83 = load ptr, ptr %82, align 8, !tbaa !38
  %84 = load i64, ptr %11, align 8, !tbaa !37
  %85 = getelementptr inbounds double, ptr %83, i64 %84
  store double 0.000000e+00, ptr %85, align 8, !tbaa !39
  br label %86

86:                                               ; preds = %80
  %87 = load i64, ptr %11, align 8, !tbaa !37
  %88 = add nsw i64 %87, 1
  store i64 %88, ptr %11, align 8, !tbaa !37
  br label %73, !llvm.loop !40

89:                                               ; preds = %73
  store i64 0, ptr %11, align 8, !tbaa !37
  br label %90

90:                                               ; preds = %107, %89
  %91 = load i64, ptr %11, align 8, !tbaa !37
  %92 = load ptr, ptr %6, align 8, !tbaa !5
  %93 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %92, i32 0, i32 1
  %94 = load i64, ptr %93, align 8, !tbaa !36
  %95 = load ptr, ptr %6, align 8, !tbaa !5
  %96 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %95, i32 0, i32 0
  %97 = load i64, ptr %96, align 8, !tbaa !14
  %98 = mul nsw i64 %94, %97
  %99 = sub nsw i64 %98, 1
  %100 = icmp sle i64 %91, %99
  br i1 %100, label %101, label %110

101:                                              ; preds = %90
  %102 = load ptr, ptr %9, align 8, !tbaa !5
  %103 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %102, i32 0, i32 4
  %104 = load ptr, ptr %103, align 8, !tbaa !38
  %105 = load i64, ptr %11, align 8, !tbaa !37
  %106 = getelementptr inbounds double, ptr %104, i64 %105
  store double 0.000000e+00, ptr %106, align 8, !tbaa !39
  br label %107

107:                                              ; preds = %101
  %108 = load i64, ptr %11, align 8, !tbaa !37
  %109 = add nsw i64 %108, 1
  store i64 %109, ptr %11, align 8, !tbaa !37
  br label %90, !llvm.loop !42

110:                                              ; preds = %90
  %111 = load ptr, ptr %6, align 8, !tbaa !5
  %112 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %111, i32 0, i32 2
  %113 = load i64, ptr %112, align 8, !tbaa !34
  %114 = icmp eq i64 %113, 1
  br i1 %114, label %115, label %125

115:                                              ; preds = %110
  %116 = load ptr, ptr %6, align 8, !tbaa !5
  %117 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %116, i32 0, i32 3
  %118 = load ptr, ptr %6, align 8, !tbaa !5
  %119 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %118, i32 0, i32 6
  %120 = getelementptr inbounds %"struct.alglib_impl::rbfcalcbuffer", ptr %119, i32 0, i32 1
  %121 = load ptr, ptr %7, align 8, !tbaa !5
  %122 = load ptr, ptr %8, align 8, !tbaa !5
  %123 = load ptr, ptr %9, align 8, !tbaa !5
  %124 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl14rbfv1tsdiffbufEPKNS_10rbfv1modelEPNS_15rbfv1calcbufferEPKNS_9ae_vectorEPS5_S8_PNS_8ae_stateE(ptr noundef %117, ptr noundef %120, ptr noundef %121, ptr noundef %122, ptr noundef %123, ptr noundef %124)
  store i32 1, ptr %12, align 4
  br label %157

125:                                              ; preds = %110
  %126 = load ptr, ptr %6, align 8, !tbaa !5
  %127 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %126, i32 0, i32 2
  %128 = load i64, ptr %127, align 8, !tbaa !34
  %129 = icmp eq i64 %128, 2
  br i1 %129, label %130, label %140

130:                                              ; preds = %125
  %131 = load ptr, ptr %6, align 8, !tbaa !5
  %132 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %131, i32 0, i32 4
  %133 = load ptr, ptr %6, align 8, !tbaa !5
  %134 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %133, i32 0, i32 6
  %135 = getelementptr inbounds %"struct.alglib_impl::rbfcalcbuffer", ptr %134, i32 0, i32 2
  %136 = load ptr, ptr %7, align 8, !tbaa !5
  %137 = load ptr, ptr %8, align 8, !tbaa !5
  %138 = load ptr, ptr %9, align 8, !tbaa !5
  %139 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl14rbfv2tsdiffbufEPKNS_10rbfv2modelEPNS_15rbfv2calcbufferEPKNS_9ae_vectorEPS5_S8_PNS_8ae_stateE(ptr noundef %132, ptr noundef %135, ptr noundef %136, ptr noundef %137, ptr noundef %138, ptr noundef %139)
  store i32 1, ptr %12, align 4
  br label %157

140:                                              ; preds = %125
  %141 = load ptr, ptr %6, align 8, !tbaa !5
  %142 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %141, i32 0, i32 2
  %143 = load i64, ptr %142, align 8, !tbaa !34
  %144 = icmp eq i64 %143, 3
  br i1 %144, label %145, label %155

145:                                              ; preds = %140
  %146 = load ptr, ptr %6, align 8, !tbaa !5
  %147 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %146, i32 0, i32 5
  %148 = load ptr, ptr %6, align 8, !tbaa !5
  %149 = getelementptr inbounds %"struct.alglib_impl::rbfmodel", ptr %148, i32 0, i32 6
  %150 = getelementptr inbounds %"struct.alglib_impl::rbfcalcbuffer", ptr %149, i32 0, i32 3
  %151 = load ptr, ptr %7, align 8, !tbaa !5
  %152 = load ptr, ptr %8, align 8, !tbaa !5
  %153 = load ptr, ptr %9, align 8, !tbaa !5
  %154 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl14rbfv3tsdiffbufEPKNS_10rbfv3modelEPNS_15rbfv3calcbufferEPKNS_9ae_vectorEPS5_S8_PNS_8ae_stateE(ptr noundef %147, ptr noundef %150, ptr noundef %151, ptr noundef %152, ptr noundef %153, ptr noundef %154)
  store i32 1, ptr %12, align 4
  br label %157

155:                                              ; preds = %140
  %156 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef @.str.1030, ptr noundef %156)
  store i32 0, ptr %12, align 4
  br label %157

157:                                              ; preds = %155, %145, %130, %115
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  %158 = load i32, ptr %12, align 4
  switch i32 %158, label %160 [
    i32 0, label %159
    i32 1, label %159
  ]

159:                                              ; preds = %157, %157
  ret void

160:                                              ; preds = %157
  unreachable
}

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !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 0}
!15 = !{!"_ZTSN11alglib_impl8rbfmodelE", !11, i64 0, !11, i64 8, !11, i64 16, !16, i64 24, !21, i64 1576, !23, i64 2560, !32, i64 6296, !20, i64 8856, !20, i64 8864, !20, i64 8872, !11, i64 8880, !11, i64 8888, !11, i64 8896, !11, i64 8904, !11, i64 8912, !20, i64 8920, !20, i64 8928, !20, i64 8936, !11, i64 8944, !20, i64 8952, !11, i64 8960, !11, i64 8968, !18, i64 8976, !18, i64 9056, !12, i64 9136, !10, i64 9144, !20, i64 9208, !11, i64 9216, !12, i64 9224}
!16 = !{!"_ZTSN11alglib_impl10rbfv1modelE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !17, i64 32, !18, i64 1096, !18, i64 1176, !20, i64 1256, !18, i64 1264, !10, i64 1344, !18, i64 1408, !10, i64 1488}
!17 = !{!"_ZTSN11alglib_impl6kdtreeE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !18, i64 32, !10, i64 112, !10, i64 176, !10, i64 240, !10, i64 304, !10, i64 368, !19, i64 432, !11, i64 1056}
!18 = !{!"_ZTSN11alglib_impl9ae_matrixE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !12, i64 32, !13, i64 40, !7, i64 72}
!19 = !{!"_ZTSN11alglib_impl19kdtreerequestbufferE", !10, i64 0, !10, i64 64, !10, i64 128, !11, i64 192, !20, i64 200, !12, i64 208, !20, i64 216, !11, i64 224, !10, i64 232, !10, i64 296, !10, i64 360, !10, i64 424, !10, i64 488, !20, i64 552, !10, i64 560}
!20 = !{!"double", !7, i64 0}
!21 = !{!"_ZTSN11alglib_impl10rbfv2modelE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !10, i64 32, !10, i64 96, !10, i64 160, !10, i64 224, !10, i64 288, !10, i64 352, !10, i64 416, !10, i64 480, !18, i64 544, !20, i64 624, !11, i64 632, !20, i64 640, !11, i64 648, !22, i64 656}
!22 = !{!"_ZTSN11alglib_impl15rbfv2calcbufferE", !10, i64 0, !10, i64 64, !10, i64 128, !20, i64 192, !10, i64 200, !10, i64 264}
!23 = !{!"_ZTSN11alglib_impl10rbfv3modelE", !11, i64 0, !11, i64 8, !11, i64 16, !20, i64 24, !10, i64 32, !18, i64 96, !10, i64 176, !10, i64 240, !11, i64 304, !24, i64 312, !27, i64 864, !18, i64 2440, !30, i64 2520, !12, i64 3720, !20, i64 3728}
!24 = !{!"_ZTSN11alglib_impl13rbf3evaluatorE", !11, i64 0, !11, i64 8, !18, i64 16, !11, i64 96, !11, i64 104, !20, i64 112, !11, i64 120, !10, i64 128, !18, i64 192, !18, i64 272, !25, i64 352, !10, i64 488}
!25 = !{!"_ZTSN11alglib_impl14ae_shared_poolE", !26, 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}
!26 = !{!"_ZTSN11alglib_impl7ae_lockE", !6, i64 0, !13, i64 8, !12, i64 40}
!27 = !{!"_ZTSN11alglib_impl17rbf3fastevaluatorE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !20, i64 40, !18, i64 48, !10, i64 128, !18, i64 192, !12, i64 272, !28, i64 280, !29, i64 416, !25, i64 1328, !18, i64 1464, !12, i64 1544, !11, i64 1552, !11, i64 1560, !11, i64 1568}
!28 = !{!"_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, !26, i64 56, !13, i64 104}
!29 = !{!"_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}
!30 = !{!"_ZTSN11alglib_impl15rbfv3calcbufferE", !10, i64 0, !31, i64 64, !10, i64 784, !10, i64 848, !18, i64 912, !18, i64 992, !10, i64 1072, !10, i64 1136}
!31 = !{!"_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, !18, i64 640}
!32 = !{!"_ZTSN11alglib_impl13rbfcalcbufferE", !11, i64 0, !33, i64 8, !22, i64 840, !30, i64 1168, !10, i64 2368, !10, i64 2432, !10, i64 2496}
!33 = !{!"_ZTSN11alglib_impl15rbfv1calcbufferE", !10, i64 0, !18, i64 64, !10, i64 144, !19, i64 208}
!34 = !{!15, !11, i64 16}
!35 = !{!15, !11, i64 6296}
!36 = !{!15, !11, i64 8}
!37 = !{!11, !11, i64 0}
!38 = !{!7, !7, i64 0}
!39 = !{!20, !20, i64 0}
!40 = distinct !{!40, !41}
!41 = !{!"llvm.loop.mustprogress"}
!42 = distinct !{!42, !41}


; 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.708 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.709 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.1029 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1030 = external hidden unnamed_addr constant [35 x i8], align 1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl10rbfdiffbufEPNS_8rbfmodelEPKNS_9ae_vectorEPS2_S5_PNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #1 {
  %6 = load i64, ptr %1, align 8, !tbaa !5
  %7 = load i64, ptr %0, align 8, !tbaa !13
  %8 = icmp sge i64 %6, %7
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %8, ptr noundef nonnull @.str.708, ptr noundef %4)
  %9 = load i64, ptr %0, align 8, !tbaa !13
  %10 = tail call noundef zeroext i1 @_ZN11alglib_impl14isfinitevectorEPKNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %1, i64 noundef %9, ptr noundef %4)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %10, ptr noundef nonnull @.str.709, ptr noundef %4)
  %11 = getelementptr inbounds i8, ptr %0, i64 16
  %12 = load i64, ptr %11, align 8, !tbaa !33
  %13 = getelementptr inbounds i8, ptr %0, i64 6296
  %14 = load i64, ptr %13, align 8, !tbaa !34
  %15 = icmp eq i64 %12, %14
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %15, ptr noundef nonnull @.str.1029, ptr noundef %4)
  %16 = load i64, ptr %2, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %0, i64 8
  %18 = load i64, ptr %17, align 8, !tbaa !35
  %19 = icmp slt i64 %16, %18
  br i1 %19, label %20, label %21

20:                                               ; preds = %5
  tail call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %2, i64 noundef %18, ptr noundef %4)
  %.pre = load i64, ptr %17, align 8, !tbaa !35
  br label %21

21:                                               ; preds = %20, %5
  %22 = phi i64 [ %.pre, %20 ], [ %18, %5 ]
  %23 = load i64, ptr %3, align 8, !tbaa !5
  %24 = load i64, ptr %0, align 8, !tbaa !13
  %25 = mul nsw i64 %24, %22
  %26 = icmp slt i64 %23, %25
  br i1 %26, label %27, label %28

27:                                               ; preds = %21
  tail call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %3, i64 noundef %25, ptr noundef %4)
  %.pre64 = load i64, ptr %17, align 8, !tbaa !35
  br label %28

28:                                               ; preds = %27, %21
  %29 = phi i64 [ %.pre64, %27 ], [ %22, %21 ]
  %.not.not58 = icmp sgt i64 %29, 0
  br i1 %.not.not58, label %.lr.ph, label %.preheader

.lr.ph:                                           ; preds = %28
  %30 = getelementptr inbounds i8, ptr %2, i64 56
  %xtraiter = and i64 %29, 3
  %31 = icmp ult i64 %29, 4
  br i1 %31, label %.preheader.loopexit.unr-lcssa, label %.lr.ph.new

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

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

.epil.preheader:                                  ; preds = %.preheader.loopexit.unr-lcssa, %.epil.preheader
  %.059.epil = phi i64 [ %34, %.epil.preheader ], [ %.059.unr, %.preheader.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %.preheader.loopexit.unr-lcssa ]
  %32 = load ptr, ptr %30, align 8, !tbaa !36
  %33 = getelementptr inbounds double, ptr %32, i64 %.059.epil
  store double 0.000000e+00, ptr %33, align 8, !tbaa !37
  %34 = add nuw nsw i64 %.059.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %.preheader, label %.epil.preheader, !llvm.loop !38

.preheader:                                       ; preds = %.preheader.loopexit.unr-lcssa, %.epil.preheader, %28
  %35 = load i64, ptr %0, align 8, !tbaa !13
  %36 = mul nsw i64 %35, %29
  %.not.not5760 = icmp sgt i64 %36, 0
  br i1 %.not.not5760, label %.lr.ph62, label %._crit_edge

.lr.ph62:                                         ; preds = %.preheader
  %37 = getelementptr inbounds i8, ptr %3, i64 56
  %xtraiter66 = and i64 %36, 3
  %38 = icmp ult i64 %36, 4
  br i1 %38, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph62.new

.lr.ph62.new:                                     ; preds = %.lr.ph62
  %unroll_iter69 = and i64 %36, 9223372036854775804
  br label %52

39:                                               ; preds = %39, %.lr.ph.new
  %.059 = phi i64 [ 0, %.lr.ph.new ], [ %51, %39 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.3, %39 ]
  %40 = load ptr, ptr %30, align 8, !tbaa !36
  %41 = getelementptr inbounds double, ptr %40, i64 %.059
  store double 0.000000e+00, ptr %41, align 8, !tbaa !37
  %42 = or disjoint i64 %.059, 1
  %43 = load ptr, ptr %30, align 8, !tbaa !36
  %44 = getelementptr inbounds double, ptr %43, i64 %42
  store double 0.000000e+00, ptr %44, align 8, !tbaa !37
  %45 = or disjoint i64 %.059, 2
  %46 = load ptr, ptr %30, align 8, !tbaa !36
  %47 = getelementptr inbounds double, ptr %46, i64 %45
  store double 0.000000e+00, ptr %47, align 8, !tbaa !37
  %48 = or disjoint i64 %.059, 3
  %49 = load ptr, ptr %30, align 8, !tbaa !36
  %50 = getelementptr inbounds double, ptr %49, i64 %48
  store double 0.000000e+00, ptr %50, align 8, !tbaa !37
  %51 = add nuw nsw i64 %.059, 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 %.preheader.loopexit.unr-lcssa, label %39, !llvm.loop !40

52:                                               ; preds = %52, %.lr.ph62.new
  %.161 = phi i64 [ 0, %.lr.ph62.new ], [ %64, %52 ]
  %niter70 = phi i64 [ 0, %.lr.ph62.new ], [ %niter70.next.3, %52 ]
  %53 = load ptr, ptr %37, align 8, !tbaa !36
  %54 = getelementptr inbounds double, ptr %53, i64 %.161
  store double 0.000000e+00, ptr %54, align 8, !tbaa !37
  %55 = or disjoint i64 %.161, 1
  %56 = load ptr, ptr %37, align 8, !tbaa !36
  %57 = getelementptr inbounds double, ptr %56, i64 %55
  store double 0.000000e+00, ptr %57, align 8, !tbaa !37
  %58 = or disjoint i64 %.161, 2
  %59 = load ptr, ptr %37, align 8, !tbaa !36
  %60 = getelementptr inbounds double, ptr %59, i64 %58
  store double 0.000000e+00, ptr %60, align 8, !tbaa !37
  %61 = or disjoint i64 %.161, 3
  %62 = load ptr, ptr %37, align 8, !tbaa !36
  %63 = getelementptr inbounds double, ptr %62, i64 %61
  store double 0.000000e+00, ptr %63, align 8, !tbaa !37
  %64 = add nuw nsw i64 %.161, 4
  %niter70.next.3 = add i64 %niter70, 4
  %niter70.ncmp.3 = icmp eq i64 %niter70.next.3, %unroll_iter69
  br i1 %niter70.ncmp.3, label %._crit_edge.loopexit.unr-lcssa, label %52, !llvm.loop !42

._crit_edge.loopexit.unr-lcssa:                   ; preds = %52, %.lr.ph62
  %.161.unr = phi i64 [ 0, %.lr.ph62 ], [ %64, %52 ]
  %lcmp.mod68.not = icmp eq i64 %xtraiter66, 0
  br i1 %lcmp.mod68.not, label %._crit_edge, label %.epil.preheader65

.epil.preheader65:                                ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader65
  %.161.epil = phi i64 [ %67, %.epil.preheader65 ], [ %.161.unr, %._crit_edge.loopexit.unr-lcssa ]
  %epil.iter67 = phi i64 [ %epil.iter67.next, %.epil.preheader65 ], [ 0, %._crit_edge.loopexit.unr-lcssa ]
  %65 = load ptr, ptr %37, align 8, !tbaa !36
  %66 = getelementptr inbounds double, ptr %65, i64 %.161.epil
  store double 0.000000e+00, ptr %66, align 8, !tbaa !37
  %67 = add nuw nsw i64 %.161.epil, 1
  %epil.iter67.next = add i64 %epil.iter67, 1
  %epil.iter67.cmp.not = icmp eq i64 %epil.iter67.next, %xtraiter66
  br i1 %epil.iter67.cmp.not, label %._crit_edge, label %.epil.preheader65, !llvm.loop !43

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader65, %.preheader
  %68 = load i64, ptr %11, align 8, !tbaa !33
  switch i64 %68, label %78 [
    i64 1, label %69
    i64 2, label %72
    i64 3, label %75
  ]

69:                                               ; preds = %._crit_edge
  %70 = getelementptr inbounds i8, ptr %0, i64 24
  %71 = getelementptr inbounds i8, ptr %0, i64 6304
  tail call void @_ZN11alglib_impl14rbfv1tsdiffbufEPKNS_10rbfv1modelEPNS_15rbfv1calcbufferEPKNS_9ae_vectorEPS5_S8_PNS_8ae_stateE(ptr noundef nonnull %70, ptr noundef nonnull %71, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef %4)
  br label %79

72:                                               ; preds = %._crit_edge
  %73 = getelementptr inbounds i8, ptr %0, i64 1576
  %74 = getelementptr inbounds i8, ptr %0, i64 7136
  tail call void @_ZN11alglib_impl14rbfv2tsdiffbufEPKNS_10rbfv2modelEPNS_15rbfv2calcbufferEPKNS_9ae_vectorEPS5_S8_PNS_8ae_stateE(ptr noundef nonnull %73, ptr noundef nonnull %74, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef %4)
  br label %79

75:                                               ; preds = %._crit_edge
  %76 = getelementptr inbounds i8, ptr %0, i64 2560
  %77 = getelementptr inbounds i8, ptr %0, i64 7464
  tail call void @_ZN11alglib_impl14rbfv3tsdiffbufEPKNS_10rbfv3modelEPNS_15rbfv3calcbufferEPKNS_9ae_vectorEPS5_S8_PNS_8ae_stateE(ptr noundef nonnull %76, ptr noundef nonnull %77, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef %4)
  br label %79

78:                                               ; preds = %._crit_edge
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef nonnull @.str.1030, ptr noundef %4)
  br label %79

79:                                               ; preds = %78, %75, %72, %69
  ret void
}

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

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

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

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

attributes #0 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTSN11alglib_impl9ae_vectorE", !7, i64 0, !7, i64 8, !10, i64 16, !11, i64 24, !8, i64 56}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"_ZTSN11alglib_impl8rbfmodelE", !7, i64 0, !7, i64 8, !7, i64 16, !15, i64 24, !20, i64 1576, !22, i64 2560, !31, i64 6296, !19, i64 8856, !19, i64 8864, !19, i64 8872, !7, i64 8880, !7, i64 8888, !7, i64 8896, !7, i64 8904, !7, i64 8912, !19, i64 8920, !19, i64 8928, !19, i64 8936, !7, i64 8944, !19, i64 8952, !7, i64 8960, !7, i64 8968, !17, i64 8976, !17, i64 9056, !10, i64 9136, !6, i64 9144, !19, i64 9208, !7, i64 9216, !10, i64 9224}
!15 = !{!"_ZTSN11alglib_impl10rbfv1modelE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !16, i64 32, !17, i64 1096, !17, i64 1176, !19, i64 1256, !17, i64 1264, !6, i64 1344, !17, i64 1408, !6, i64 1488}
!16 = !{!"_ZTSN11alglib_impl6kdtreeE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !17, i64 32, !6, i64 112, !6, i64 176, !6, i64 240, !6, i64 304, !6, i64 368, !18, i64 432, !7, i64 1056}
!17 = !{!"_ZTSN11alglib_impl9ae_matrixE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !11, i64 40, !8, i64 72}
!18 = !{!"_ZTSN11alglib_impl19kdtreerequestbufferE", !6, i64 0, !6, i64 64, !6, i64 128, !7, i64 192, !19, i64 200, !10, i64 208, !19, i64 216, !7, i64 224, !6, i64 232, !6, i64 296, !6, i64 360, !6, i64 424, !6, i64 488, !19, i64 552, !6, i64 560}
!19 = !{!"double", !8, i64 0}
!20 = !{!"_ZTSN11alglib_impl10rbfv2modelE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !6, i64 32, !6, i64 96, !6, i64 160, !6, i64 224, !6, i64 288, !6, i64 352, !6, i64 416, !6, i64 480, !17, i64 544, !19, i64 624, !7, i64 632, !19, i64 640, !7, i64 648, !21, i64 656}
!21 = !{!"_ZTSN11alglib_impl15rbfv2calcbufferE", !6, i64 0, !6, i64 64, !6, i64 128, !19, i64 192, !6, i64 200, !6, i64 264}
!22 = !{!"_ZTSN11alglib_impl10rbfv3modelE", !7, i64 0, !7, i64 8, !7, i64 16, !19, i64 24, !6, i64 32, !17, i64 96, !6, i64 176, !6, i64 240, !7, i64 304, !23, i64 312, !26, i64 864, !17, i64 2440, !29, i64 2520, !10, i64 3720, !19, i64 3728}
!23 = !{!"_ZTSN11alglib_impl13rbf3evaluatorE", !7, i64 0, !7, i64 8, !17, i64 16, !7, i64 96, !7, i64 104, !19, i64 112, !7, i64 120, !6, i64 128, !17, i64 192, !17, i64 272, !24, i64 352, !6, i64 488}
!24 = !{!"_ZTSN11alglib_impl14ae_shared_poolE", !25, 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}
!25 = !{!"_ZTSN11alglib_impl7ae_lockE", !12, i64 0, !11, i64 8, !10, i64 40}
!26 = !{!"_ZTSN11alglib_impl17rbf3fastevaluatorE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !19, i64 40, !17, i64 48, !6, i64 128, !17, i64 192, !10, i64 272, !27, i64 280, !28, i64 416, !24, i64 1328, !17, i64 1464, !10, i64 1544, !7, i64 1552, !7, i64 1560, !7, i64 1568}
!27 = !{!"_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, !25, i64 56, !11, i64 104}
!28 = !{!"_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}
!29 = !{!"_ZTSN11alglib_impl15rbfv3calcbufferE", !6, i64 0, !30, i64 64, !6, i64 784, !6, i64 848, !17, i64 912, !17, i64 992, !6, i64 1072, !6, i64 1136}
!30 = !{!"_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, !17, i64 640}
!31 = !{!"_ZTSN11alglib_impl13rbfcalcbufferE", !7, i64 0, !32, i64 8, !21, i64 840, !29, i64 1168, !6, i64 2368, !6, i64 2432, !6, i64 2496}
!32 = !{!"_ZTSN11alglib_impl15rbfv1calcbufferE", !6, i64 0, !17, i64 64, !6, i64 144, !18, i64 208}
!33 = !{!14, !7, i64 16}
!34 = !{!14, !7, i64 6296}
!35 = !{!14, !7, i64 8}
!36 = !{!8, !8, i64 0}
!37 = !{!19, !19, i64 0}
!38 = distinct !{!38, !39}
!39 = !{!"llvm.loop.unroll.disable"}
!40 = distinct !{!40, !41}
!41 = !{!"llvm.loop.mustprogress"}
!42 = distinct !{!42, !41}
!43 = distinct !{!43, !39}


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