; LLVM IR from carmeloevoli/NumericalMethodsGSSI :: src/examples/galaxy.ll (ZN2NM24AdvectionAntiParallelLaxESt6vectorIdSaIdEES2_d)

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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr, ptr, ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 align 2

declare noundef double @_ZN2NM10Gaussian1DEdd(double noundef, double noundef) #5

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

declare noundef i32 @_ZN3GSL24gsl_linalg_solve_tridiagERKSt6vectorIdSaIdEES4_S4_S4_RS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2NM24AdvectionAntiParallelLaxESt6vectorIdSaIdEES2_d(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef %1, ptr noundef %2, double noundef %3) #3 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca double, align 8
  %9 = alloca i64, align 8
  %10 = alloca i1, align 1
  %11 = alloca %"class.std::allocator", align 1
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca %"class.std::vector", align 8
  %19 = alloca %"class.std::allocator", align 1
  %20 = alloca %"class.std::vector", align 8
  %21 = alloca %"class.std::allocator", align 1
  %22 = alloca %"class.std::vector", align 8
  %23 = alloca %"class.std::allocator", align 1
  %24 = alloca %"class.std::vector", align 8
  %25 = alloca %"class.std::allocator", align 1
  %26 = alloca %"class.std::vector", align 8
  %27 = alloca %"class.std::allocator", align 1
  %28 = alloca double, align 8
  %29 = alloca i64, align 8
  %30 = alloca i64, align 8
  %31 = alloca double, align 8
  %32 = alloca i64, align 8
  store ptr %0, ptr %5, align 8
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store double %3, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %33 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  store i64 %33, ptr %9, align 8, !tbaa !11
  store i1 false, ptr %10, align 1
  %34 = load i64, ptr %9, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %34, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %35 unwind label %76

35:                                               ; preds = %4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #6
  %36 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %37 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  store ptr %36, ptr %37, align 8
  %38 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %39 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  store ptr %38, ptr %39, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  store double 0.000000e+00, ptr %16, align 8, !tbaa !9
  %40 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  %41 = load ptr, ptr %40, align 8
  %42 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  %43 = load ptr, ptr %42, align 8
  invoke void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %41, ptr %43, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %44 unwind label %80

44:                                               ; preds = %35
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 1) #6
  %46 = load double, ptr %45, align 8, !tbaa !9
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #6
  %48 = load double, ptr %47, align 8, !tbaa !9
  %49 = fsub double %46, %48
  store double %49, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #6
  %50 = load i64, ptr %9, align 8, !tbaa !11
  %51 = sub i64 %50, 2
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %51, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %52 unwind label %84

52:                                               ; preds = %44
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #6
  %53 = load i64, ptr %9, align 8, !tbaa !11
  %54 = sub i64 %53, 2
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %54, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %55 unwind label %88

55:                                               ; preds = %52
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #6
  %56 = load i64, ptr %9, align 8, !tbaa !11
  %57 = sub i64 %56, 2
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %57, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %58 unwind label %92

58:                                               ; preds = %55
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #6
  %59 = load i64, ptr %9, align 8, !tbaa !11
  %60 = sub i64 %59, 3
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %60, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %61 unwind label %96

61:                                               ; preds = %58
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #6
  %62 = load i64, ptr %9, align 8, !tbaa !11
  %63 = sub i64 %62, 3
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %63, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %64 unwind label %100

64:                                               ; preds = %61
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %65 = load double, ptr %8, align 8, !tbaa !9
  %66 = fmul double 0x3FAA2A0230A51D3C, %65
  %67 = fdiv double %66, 4.000000e+00
  %68 = load double, ptr %17, align 8, !tbaa !9
  %69 = fdiv double %67, %68
  store double %69, ptr %28, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  store i64 1, ptr %29, align 8, !tbaa !11
  br label %70

70:                                               ; preds = %197, %64
  %71 = load i64, ptr %29, align 8, !tbaa !11
  %72 = load i64, ptr %9, align 8, !tbaa !11
  %73 = sub i64 %72, 1
  %74 = icmp ult i64 %71, %73
  br i1 %74, label %104, label %75

75:                                               ; preds = %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  br label %200

76:                                               ; preds = %4
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %12, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %13, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #6
  br label %341

80:                                               ; preds = %35
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %12, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %340

84:                                               ; preds = %44
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %12, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %13, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #6
  br label %337

88:                                               ; preds = %52
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %12, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %13, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  br label %336

92:                                               ; preds = %55
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %12, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %13, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #6
  br label %335

96:                                               ; preds = %58
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %12, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %13, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #6
  br label %334

100:                                              ; preds = %61
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %12, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %13, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #6
  br label %333

104:                                              ; preds = %70
  %105 = load i64, ptr %29, align 8, !tbaa !11
  %106 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %105)
          to label %107 unwind label %124

107:                                              ; preds = %104
  %108 = load double, ptr %106, align 8, !tbaa !9
  %109 = fcmp ogt double %108, 1.000000e-10
  br i1 %109, label %110, label %140

110:                                              ; preds = %107
  %111 = load i64, ptr %29, align 8, !tbaa !11
  %112 = sub i64 %111, 1
  %113 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %112)
          to label %114 unwind label %124

114:                                              ; preds = %110
  store double 1.000000e+00, ptr %113, align 8, !tbaa !9
  %115 = load i64, ptr %29, align 8, !tbaa !11
  %116 = icmp ne i64 %115, 1
  br i1 %116, label %117, label %128

117:                                              ; preds = %114
  %118 = load double, ptr %28, align 8, !tbaa !9
  %119 = fneg double %118
  %120 = load i64, ptr %29, align 8, !tbaa !11
  %121 = sub i64 %120, 2
  %122 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %121)
          to label %123 unwind label %124

123:                                              ; preds = %117
  store double %119, ptr %122, align 8, !tbaa !9
  br label %128

124:                                              ; preds = %189, %179, %172, %164, %153, %146, %140, %133, %117, %110, %104
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %12, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  br label %332

128:                                              ; preds = %123, %114
  %129 = load i64, ptr %29, align 8, !tbaa !11
  %130 = load i64, ptr %9, align 8, !tbaa !11
  %131 = sub i64 %130, 2
  %132 = icmp ne i64 %129, %131
  br i1 %132, label %133, label %139

133:                                              ; preds = %128
  %134 = load double, ptr %28, align 8, !tbaa !9
  %135 = load i64, ptr %29, align 8, !tbaa !11
  %136 = sub i64 %135, 1
  %137 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %136)
          to label %138 unwind label %124

138:                                              ; preds = %133
  store double %134, ptr %137, align 8, !tbaa !9
  br label %139

139:                                              ; preds = %138, %128
  br label %196

140:                                              ; preds = %107
  %141 = load i64, ptr %29, align 8, !tbaa !11
  %142 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %141)
          to label %143 unwind label %124

143:                                              ; preds = %140
  %144 = load double, ptr %142, align 8, !tbaa !9
  %145 = fcmp olt double %144, -1.000000e-10
  br i1 %145, label %146, label %172

146:                                              ; preds = %143
  %147 = load i64, ptr %29, align 8, !tbaa !11
  %148 = sub i64 %147, 1
  %149 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %148)
          to label %150 unwind label %124

150:                                              ; preds = %146
  store double 1.000000e+00, ptr %149, align 8, !tbaa !9
  %151 = load i64, ptr %29, align 8, !tbaa !11
  %152 = icmp ne i64 %151, 1
  br i1 %152, label %153, label %159

153:                                              ; preds = %150
  %154 = load double, ptr %28, align 8, !tbaa !9
  %155 = load i64, ptr %29, align 8, !tbaa !11
  %156 = sub i64 %155, 2
  %157 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %156)
          to label %158 unwind label %124

158:                                              ; preds = %153
  store double %154, ptr %157, align 8, !tbaa !9
  br label %159

159:                                              ; preds = %158, %150
  %160 = load i64, ptr %29, align 8, !tbaa !11
  %161 = load i64, ptr %9, align 8, !tbaa !11
  %162 = sub i64 %161, 2
  %163 = icmp ne i64 %160, %162
  br i1 %163, label %164, label %171

164:                                              ; preds = %159
  %165 = load double, ptr %28, align 8, !tbaa !9
  %166 = fneg double %165
  %167 = load i64, ptr %29, align 8, !tbaa !11
  %168 = sub i64 %167, 1
  %169 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %168)
          to label %170 unwind label %124

170:                                              ; preds = %164
  store double %166, ptr %169, align 8, !tbaa !9
  br label %171

171:                                              ; preds = %170, %159
  br label %195

172:                                              ; preds = %143
  %173 = load i64, ptr %29, align 8, !tbaa !11
  %174 = sub i64 %173, 1
  %175 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %174)
          to label %176 unwind label %124

176:                                              ; preds = %172
  store double 1.000000e+00, ptr %175, align 8, !tbaa !9
  %177 = load i64, ptr %29, align 8, !tbaa !11
  %178 = icmp ne i64 %177, 1
  br i1 %178, label %179, label %184

179:                                              ; preds = %176
  %180 = load i64, ptr %29, align 8, !tbaa !11
  %181 = sub i64 %180, 2
  %182 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %181)
          to label %183 unwind label %124

183:                                              ; preds = %179
  store double 0.000000e+00, ptr %182, align 8, !tbaa !9
  br label %184

184:                                              ; preds = %183, %176
  %185 = load i64, ptr %29, align 8, !tbaa !11
  %186 = load i64, ptr %9, align 8, !tbaa !11
  %187 = sub i64 %186, 2
  %188 = icmp ne i64 %185, %187
  br i1 %188, label %189, label %194

189:                                              ; preds = %184
  %190 = load i64, ptr %29, align 8, !tbaa !11
  %191 = sub i64 %190, 1
  %192 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %191)
          to label %193 unwind label %124

193:                                              ; preds = %189
  store double 0.000000e+00, ptr %192, align 8, !tbaa !9
  br label %194

194:                                              ; preds = %193, %184
  br label %195

195:                                              ; preds = %194, %171
  br label %196

196:                                              ; preds = %195, %139
  br label %197

197:                                              ; preds = %196
  %198 = load i64, ptr %29, align 8, !tbaa !11
  %199 = add i64 %198, 1
  store i64 %199, ptr %29, align 8, !tbaa !11
  br label %70, !llvm.loop !13

200:                                              ; preds = %75
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  store i64 1, ptr %30, align 8, !tbaa !11
  br label %201

201:                                              ; preds = %304, %200
  %202 = load i64, ptr %30, align 8, !tbaa !11
  %203 = load i64, ptr %9, align 8, !tbaa !11
  %204 = sub i64 %203, 1
  %205 = icmp ult i64 %202, %204
  br i1 %205, label %207, label %206

206:                                              ; preds = %201
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  br label %307

207:                                              ; preds = %201
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %208 = load i64, ptr %30, align 8, !tbaa !11
  %209 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %208)
          to label %210 unwind label %255

210:                                              ; preds = %207
  %211 = load double, ptr %209, align 8, !tbaa !9
  %212 = call double @llvm.fabs.f64(double %211)
  %213 = invoke noundef double @_ZN2NM10Gaussian1DEdd(double noundef %212, double noundef 1.000000e-01)
          to label %214 unwind label %255

214:                                              ; preds = %210
  %215 = fmul double 2.000000e-01, %213
  store double %215, ptr %31, align 8, !tbaa !9
  %216 = load double, ptr %8, align 8, !tbaa !9
  %217 = load double, ptr %31, align 8, !tbaa !9
  %218 = fmul double %216, %217
  %219 = fdiv double %218, 2.000000e+00
  %220 = load i64, ptr %30, align 8, !tbaa !11
  %221 = sub i64 %220, 1
  %222 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %221)
          to label %223 unwind label %255

223:                                              ; preds = %214
  store double %219, ptr %222, align 8, !tbaa !9
  %224 = load i64, ptr %30, align 8, !tbaa !11
  %225 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %224)
          to label %226 unwind label %255

226:                                              ; preds = %223
  %227 = load double, ptr %225, align 8, !tbaa !9
  %228 = fcmp ogt double %227, 1.000000e-10
  br i1 %228, label %229, label %259

229:                                              ; preds = %226
  %230 = load double, ptr %28, align 8, !tbaa !9
  %231 = load i64, ptr %30, align 8, !tbaa !11
  %232 = sub i64 %231, 1
  %233 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %232)
          to label %234 unwind label %255

234:                                              ; preds = %229
  %235 = load double, ptr %233, align 8, !tbaa !9
  %236 = load i64, ptr %30, align 8, !tbaa !11
  %237 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %236)
          to label %238 unwind label %255

238:                                              ; preds = %234
  %239 = load double, ptr %237, align 8, !tbaa !9
  %240 = call double @llvm.fmuladd.f64(double %230, double %235, double %239)
  %241 = load double, ptr %28, align 8, !tbaa !9
  %242 = load i64, ptr %30, align 8, !tbaa !11
  %243 = add i64 %242, 1
  %244 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %243)
          to label %245 unwind label %255

245:                                              ; preds = %238
  %246 = load double, ptr %244, align 8, !tbaa !9
  %247 = fneg double %241
  %248 = call double @llvm.fmuladd.f64(double %247, double %246, double %240)
  %249 = load i64, ptr %30, align 8, !tbaa !11
  %250 = sub i64 %249, 1
  %251 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %250)
          to label %252 unwind label %255

252:                                              ; preds = %245
  %253 = load double, ptr %251, align 8, !tbaa !9
  %254 = fadd double %253, %248
  store double %254, ptr %251, align 8, !tbaa !9
  br label %303

255:                                              ; preds = %294, %291, %282, %275, %271, %265, %259, %245, %238, %234, %229, %223, %214, %210, %207
  %256 = landingpad { ptr, i32 }
          cleanup
  %257 = extractvalue { ptr, i32 } %256, 0
  store ptr %257, ptr %12, align 8
  %258 = extractvalue { ptr, i32 } %256, 1
  store i32 %258, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  br label %332

259:                                              ; preds = %226
  %260 = load i64, ptr %30, align 8, !tbaa !11
  %261 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %260)
          to label %262 unwind label %255

262:                                              ; preds = %259
  %263 = load double, ptr %261, align 8, !tbaa !9
  %264 = fcmp olt double %263, -1.000000e-10
  br i1 %264, label %265, label %291

265:                                              ; preds = %262
  %266 = load double, ptr %28, align 8, !tbaa !9
  %267 = fneg double %266
  %268 = load i64, ptr %30, align 8, !tbaa !11
  %269 = sub i64 %268, 1
  %270 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %269)
          to label %271 unwind label %255

271:                                              ; preds = %265
  %272 = load double, ptr %270, align 8, !tbaa !9
  %273 = load i64, ptr %30, align 8, !tbaa !11
  %274 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %273)
          to label %275 unwind label %255

275:                                              ; preds = %271
  %276 = load double, ptr %274, align 8, !tbaa !9
  %277 = call double @llvm.fmuladd.f64(double %267, double %272, double %276)
  %278 = load double, ptr %28, align 8, !tbaa !9
  %279 = load i64, ptr %30, align 8, !tbaa !11
  %280 = add i64 %279, 1
  %281 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %280)
          to label %282 unwind label %255

282:                                              ; preds = %275
  %283 = load double, ptr %281, align 8, !tbaa !9
  %284 = call double @llvm.fmuladd.f64(double %278, double %283, double %277)
  %285 = load i64, ptr %30, align 8, !tbaa !11
  %286 = sub i64 %285, 1
  %287 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %286)
          to label %288 unwind label %255

288:                                              ; preds = %282
  %289 = load double, ptr %287, align 8, !tbaa !9
  %290 = fadd double %289, %284
  store double %290, ptr %287, align 8, !tbaa !9
  br label %302

291:                                              ; preds = %262
  %292 = load i64, ptr %30, align 8, !tbaa !11
  %293 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %292)
          to label %294 unwind label %255

294:                                              ; preds = %291
  %295 = load double, ptr %293, align 8, !tbaa !9
  %296 = load i64, ptr %30, align 8, !tbaa !11
  %297 = sub i64 %296, 1
  %298 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %297)
          to label %299 unwind label %255

299:                                              ; preds = %294
  %300 = load double, ptr %298, align 8, !tbaa !9
  %301 = fadd double %300, %295
  store double %301, ptr %298, align 8, !tbaa !9
  br label %302

302:                                              ; preds = %299, %288
  br label %303

303:                                              ; preds = %302, %252
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  br label %304

304:                                              ; preds = %303
  %305 = load i64, ptr %30, align 8, !tbaa !11
  %306 = add i64 %305, 1
  store i64 %306, ptr %30, align 8, !tbaa !11
  br label %201, !llvm.loop !15

307:                                              ; preds = %206
  %308 = invoke noundef i32 @_ZN3GSL24gsl_linalg_solve_tridiagERKSt6vectorIdSaIdEES4_S4_S4_RS2_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(24) %22)
          to label %309 unwind label %316

309:                                              ; preds = %307
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  store i64 1, ptr %32, align 8, !tbaa !11
  br label %310

310:                                              ; preds = %327, %309
  %311 = load i64, ptr %32, align 8, !tbaa !11
  %312 = load i64, ptr %9, align 8, !tbaa !11
  %313 = sub i64 %312, 1
  %314 = icmp ult i64 %311, %313
  br i1 %314, label %320, label %315

315:                                              ; preds = %310
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  br label %330

316:                                              ; preds = %307
  %317 = landingpad { ptr, i32 }
          cleanup
  %318 = extractvalue { ptr, i32 } %317, 0
  store ptr %318, ptr %12, align 8
  %319 = extractvalue { ptr, i32 } %317, 1
  store i32 %319, ptr %13, align 4
  br label %332

320:                                              ; preds = %310
  %321 = load i64, ptr %32, align 8, !tbaa !11
  %322 = sub i64 %321, 1
  %323 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %322) #6
  %324 = load double, ptr %323, align 8, !tbaa !9
  %325 = load i64, ptr %32, align 8, !tbaa !11
  %326 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %325) #6
  store double %324, ptr %326, align 8, !tbaa !9
  br label %327

327:                                              ; preds = %320
  %328 = load i64, ptr %32, align 8, !tbaa !11
  %329 = add i64 %328, 1
  store i64 %329, ptr %32, align 8, !tbaa !11
  br label %310, !llvm.loop !16

330:                                              ; preds = %315
  store i1 true, ptr %10, align 1
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  %331 = load i1, ptr %10, align 1
  br i1 %331, label %339, label %338

332:                                              ; preds = %316, %255, %124
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #6
  br label %333

333:                                              ; preds = %332, %100
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #6
  br label %334

334:                                              ; preds = %333, %96
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #6
  br label %335

335:                                              ; preds = %334, %92
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  br label %336

336:                                              ; preds = %335, %88
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  br label %337

337:                                              ; preds = %336, %84
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %340

338:                                              ; preds = %330
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  br label %339

339:                                              ; preds = %338, %330
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  ret void

340:                                              ; preds = %337, %80
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  br label %341

341:                                              ; preds = %340, %76
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %342

342:                                              ; preds = %341
  %343 = load ptr, ptr %12, align 8
  %344 = load i32, ptr %13, align 4
  %345 = insertvalue { ptr, i32 } poison, ptr %343, 0
  %346 = insertvalue { ptr, i32 } %345, i32 %344, 1
  resume { ptr, i32 } %346
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { mustprogress nounwind 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 = { 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 = { inlinehint 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 #5 = { "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 #6 = { 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 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}


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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }

; 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 speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr, ptr, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #3 align 2

declare noundef double @_ZN2NM10Gaussian1DEdd(double noundef, double noundef) local_unnamed_addr #5

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

declare noundef i32 @_ZN3GSL24gsl_linalg_solve_tridiagERKSt6vectorIdSaIdEES4_S4_S4_RS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2NM24AdvectionAntiParallelLaxESt6vectorIdSaIdEES2_d(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef %1, ptr noundef nonnull %2, double noundef %3) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.std::allocator", align 1
  %6 = alloca double, align 8
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca %"class.std::allocator", align 1
  %9 = alloca %"class.std::vector", align 8
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca %"class.std::allocator", align 1
  %13 = alloca %"class.std::vector", align 8
  %14 = alloca %"class.std::allocator", align 1
  %15 = alloca %"class.std::vector", align 8
  %16 = alloca %"class.std::allocator", align 1
  %17 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %17, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %18 unwind label %69

18:                                               ; preds = %4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  %19 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %20 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  store double 0.000000e+00, ptr %6, align 8, !tbaa !5
  invoke void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %19, ptr %20, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %21 unwind label %71

21:                                               ; preds = %18
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  %22 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 1) #6
  %23 = load double, ptr %22, align 8, !tbaa !5
  %24 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #6
  %25 = load double, ptr %24, align 8, !tbaa !5
  %26 = fsub double %23, %25
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #6
  %27 = add i64 %17, -2
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %27, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %28 unwind label %73

28:                                               ; preds = %21
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %27, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %29 unwind label %75

29:                                               ; preds = %28
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %27, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %30 unwind label %77

30:                                               ; preds = %29
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #6
  %31 = add i64 %17, -3
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %31, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %32 unwind label %79

32:                                               ; preds = %30
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %31, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %33 unwind label %81

33:                                               ; preds = %32
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  %34 = fmul double %3, 0x3FAA2A0230A51D3C
  %35 = fmul double %34, 2.500000e-01
  %36 = fdiv double %35, %26
  %37 = add i64 %17, -1
  %38 = icmp ugt i64 %37, 1
  br i1 %38, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %33
  %39 = fneg double %36
  %40 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 1)
          to label %41 unwind label %.loopexit.split-lp

41:                                               ; preds = %.lr.ph
  %42 = load double, ptr %40, align 8, !tbaa !5
  %43 = fcmp ogt double %42, 1.000000e-10
  br i1 %43, label %61, label %44

44:                                               ; preds = %41
  %45 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 1)
          to label %46 unwind label %.loopexit.split-lp

46:                                               ; preds = %44
  %47 = load double, ptr %45, align 8, !tbaa !5
  %48 = fcmp olt double %47, -1.000000e-10
  br i1 %48, label %55, label %49

49:                                               ; preds = %46
  %50 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 0)
          to label %51 unwind label %.loopexit.split-lp

51:                                               ; preds = %49
  store double 1.000000e+00, ptr %50, align 8, !tbaa !5
  %.not78.peel = icmp eq i64 %27, 1
  br i1 %.not78.peel, label %.lr.ph96, label %52

52:                                               ; preds = %51
  %53 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef 0)
          to label %54 unwind label %.loopexit.split-lp

54:                                               ; preds = %52
  store double 0.000000e+00, ptr %53, align 8, !tbaa !5
  br label %67

55:                                               ; preds = %46
  %56 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 0)
          to label %57 unwind label %.loopexit.split-lp

57:                                               ; preds = %55
  store double 1.000000e+00, ptr %56, align 8, !tbaa !5
  %.not80.peel = icmp eq i64 %27, 1
  br i1 %.not80.peel, label %.lr.ph96, label %58

58:                                               ; preds = %57
  %59 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef 0)
          to label %60 unwind label %.loopexit.split-lp

60:                                               ; preds = %58
  store double %39, ptr %59, align 8, !tbaa !5
  br label %67

61:                                               ; preds = %41
  %62 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 0)
          to label %63 unwind label %.loopexit.split-lp

63:                                               ; preds = %61
  store double 1.000000e+00, ptr %62, align 8, !tbaa !5
  %.not82.peel = icmp eq i64 %27, 1
  br i1 %.not82.peel, label %.lr.ph96, label %64

64:                                               ; preds = %63
  %65 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef 0)
          to label %66 unwind label %.loopexit.split-lp

66:                                               ; preds = %64
  store double %36, ptr %65, align 8, !tbaa !5
  br label %67

67:                                               ; preds = %66, %60, %54
  %exitcond.peel.not = icmp eq i64 %37, 2
  br i1 %exitcond.peel.not, label %.lr.ph96, label %.peel.next

.preheader91:                                     ; preds = %121
  br i1 %38, label %.lr.ph96, label %._crit_edge

.lr.ph96:                                         ; preds = %51, %57, %63, %67, %.preheader91
  %68 = fneg double %36
  br label %124

69:                                               ; preds = %4
  %70 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  br label %205

71:                                               ; preds = %18
  %72 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %204

73:                                               ; preds = %21
  %74 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  br label %203

75:                                               ; preds = %28
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  br label %202

77:                                               ; preds = %29
  %78 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  br label %201

79:                                               ; preds = %30
  %80 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #6
  br label %200

81:                                               ; preds = %32
  %82 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  br label %199

.peel.next:                                       ; preds = %67, %121
  %.06793 = phi i64 [ %122, %121 ], [ 2, %67 ]
  %83 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.06793)
          to label %84 unwind label %.loopexit

84:                                               ; preds = %.peel.next
  %85 = load double, ptr %83, align 8, !tbaa !5
  %86 = fcmp ogt double %85, 1.000000e-10
  br i1 %86, label %87, label %97

87:                                               ; preds = %84
  %88 = add i64 %.06793, -1
  %89 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %88)
          to label %90 unwind label %.loopexit

90:                                               ; preds = %87
  store double 1.000000e+00, ptr %89, align 8, !tbaa !5
  %91 = add i64 %.06793, -2
  %92 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %91)
          to label %93 unwind label %.loopexit

.loopexit:                                        ; preds = %.peel.next, %87, %90, %94, %97, %103, %105, %109, %112, %114, %118
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %198

.loopexit.split-lp:                               ; preds = %.lr.ph, %44, %49, %52, %55, %58, %61, %64
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %198

93:                                               ; preds = %90
  store double %39, ptr %92, align 8, !tbaa !5
  %.not82 = icmp eq i64 %.06793, %27
  br i1 %.not82, label %121, label %94

94:                                               ; preds = %93
  %95 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %88)
          to label %96 unwind label %.loopexit

96:                                               ; preds = %94
  store double %36, ptr %95, align 8, !tbaa !5
  br label %121

97:                                               ; preds = %84
  %98 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.06793)
          to label %99 unwind label %.loopexit

99:                                               ; preds = %97
  %100 = load double, ptr %98, align 8, !tbaa !5
  %101 = fcmp olt double %100, -1.000000e-10
  %102 = add i64 %.06793, -1
  br i1 %101, label %103, label %112

103:                                              ; preds = %99
  %104 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %102)
          to label %105 unwind label %.loopexit

105:                                              ; preds = %103
  store double 1.000000e+00, ptr %104, align 8, !tbaa !5
  %106 = add i64 %.06793, -2
  %107 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %106)
          to label %108 unwind label %.loopexit

108:                                              ; preds = %105
  store double %36, ptr %107, align 8, !tbaa !5
  %.not80 = icmp eq i64 %.06793, %27
  br i1 %.not80, label %121, label %109

109:                                              ; preds = %108
  %110 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %102)
          to label %111 unwind label %.loopexit

111:                                              ; preds = %109
  store double %39, ptr %110, align 8, !tbaa !5
  br label %121

112:                                              ; preds = %99
  %113 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %102)
          to label %114 unwind label %.loopexit

114:                                              ; preds = %112
  store double 1.000000e+00, ptr %113, align 8, !tbaa !5
  %115 = add i64 %.06793, -2
  %116 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %115)
          to label %117 unwind label %.loopexit

117:                                              ; preds = %114
  store double 0.000000e+00, ptr %116, align 8, !tbaa !5
  %.not78 = icmp eq i64 %.06793, %27
  br i1 %.not78, label %121, label %118

118:                                              ; preds = %117
  %119 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %102)
          to label %120 unwind label %.loopexit

120:                                              ; preds = %118
  store double 0.000000e+00, ptr %119, align 8, !tbaa !5
  br label %121

121:                                              ; preds = %96, %93, %117, %120, %108, %111
  %122 = add nuw i64 %.06793, 1
  %exitcond.not = icmp eq i64 %122, %37
  br i1 %exitcond.not, label %.preheader91, label %.peel.next, !llvm.loop !9

._crit_edge:                                      ; preds = %190, %33, %.preheader91
  %123 = invoke noundef i32 @_ZN3GSL24gsl_linalg_solve_tridiagERKSt6vectorIdSaIdEES4_S4_S4_RS2_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %.preheader unwind label %191

.preheader:                                       ; preds = %._crit_edge
  br i1 %38, label %.lr.ph98, label %._crit_edge99

124:                                              ; preds = %.lr.ph96, %190
  %.06695 = phi i64 [ 1, %.lr.ph96 ], [ %.pre-phi, %190 ]
  %125 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.06695)
          to label %126 unwind label %158

126:                                              ; preds = %124
  %127 = load double, ptr %125, align 8, !tbaa !5
  %128 = call double @llvm.fabs.f64(double %127)
  %129 = invoke noundef double @_ZN2NM10Gaussian1DEdd(double noundef %128, double noundef 1.000000e-01)
          to label %130 unwind label %158

130:                                              ; preds = %126
  %131 = add i64 %.06695, -1
  %132 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %131)
          to label %133 unwind label %158

133:                                              ; preds = %130
  %134 = fmul double %129, 2.000000e-01
  %135 = fmul double %134, %3
  %136 = fmul double %135, 5.000000e-01
  store double %136, ptr %132, align 8, !tbaa !5
  %137 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.06695)
          to label %138 unwind label %158

138:                                              ; preds = %133
  %139 = load double, ptr %137, align 8, !tbaa !5
  %140 = fcmp ogt double %139, 1.000000e-10
  br i1 %140, label %141, label %160

141:                                              ; preds = %138
  %142 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %131)
          to label %143 unwind label %158

143:                                              ; preds = %141
  %144 = load double, ptr %142, align 8, !tbaa !5
  %145 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.06695)
          to label %146 unwind label %158

146:                                              ; preds = %143
  %147 = load double, ptr %145, align 8, !tbaa !5
  %148 = add nuw i64 %.06695, 1
  %149 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %148)
          to label %150 unwind label %158

150:                                              ; preds = %146
  %151 = load double, ptr %149, align 8, !tbaa !5
  %152 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %131)
          to label %153 unwind label %158

153:                                              ; preds = %150
  %154 = call double @llvm.fmuladd.f64(double %36, double %144, double %147)
  %155 = call double @llvm.fmuladd.f64(double %68, double %151, double %154)
  %156 = load double, ptr %152, align 8, !tbaa !5
  %157 = fadd double %155, %156
  store double %157, ptr %152, align 8, !tbaa !5
  br label %190

158:                                              ; preds = %184, %182, %174, %170, %167, %165, %160, %150, %146, %143, %141, %133, %130, %126, %124
  %159 = landingpad { ptr, i32 }
          cleanup
  br label %198

160:                                              ; preds = %138
  %161 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.06695)
          to label %162 unwind label %158

162:                                              ; preds = %160
  %163 = load double, ptr %161, align 8, !tbaa !5
  %164 = fcmp olt double %163, -1.000000e-10
  br i1 %164, label %165, label %182

165:                                              ; preds = %162
  %166 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %131)
          to label %167 unwind label %158

167:                                              ; preds = %165
  %168 = load double, ptr %166, align 8, !tbaa !5
  %169 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.06695)
          to label %170 unwind label %158

170:                                              ; preds = %167
  %171 = load double, ptr %169, align 8, !tbaa !5
  %172 = add nuw i64 %.06695, 1
  %173 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %172)
          to label %174 unwind label %158

174:                                              ; preds = %170
  %175 = load double, ptr %173, align 8, !tbaa !5
  %176 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %131)
          to label %177 unwind label %158

177:                                              ; preds = %174
  %178 = call double @llvm.fmuladd.f64(double %68, double %168, double %171)
  %179 = call double @llvm.fmuladd.f64(double %36, double %175, double %178)
  %180 = load double, ptr %176, align 8, !tbaa !5
  %181 = fadd double %179, %180
  store double %181, ptr %176, align 8, !tbaa !5
  br label %190

182:                                              ; preds = %162
  %183 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.06695)
          to label %184 unwind label %158

184:                                              ; preds = %182
  %185 = load double, ptr %183, align 8, !tbaa !5
  %186 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %131)
          to label %187 unwind label %158

187:                                              ; preds = %184
  %188 = load double, ptr %186, align 8, !tbaa !5
  %189 = fadd double %185, %188
  store double %189, ptr %186, align 8, !tbaa !5
  %.pre = add nuw i64 %.06695, 1
  br label %190

190:                                              ; preds = %177, %187, %153
  %.pre-phi = phi i64 [ %172, %177 ], [ %.pre, %187 ], [ %148, %153 ]
  %exitcond101.not = icmp eq i64 %.pre-phi, %37
  br i1 %exitcond101.not, label %._crit_edge, label %124, !llvm.loop !12

._crit_edge99:                                    ; preds = %.lr.ph98, %.preheader
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  ret void

191:                                              ; preds = %._crit_edge
  %192 = landingpad { ptr, i32 }
          cleanup
  br label %198

.lr.ph98:                                         ; preds = %.preheader, %.lr.ph98
  %.097 = phi i64 [ %197, %.lr.ph98 ], [ 1, %.preheader ]
  %193 = add i64 %.097, -1
  %194 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %193) #6
  %195 = load double, ptr %194, align 8, !tbaa !5
  %196 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.097) #6
  store double %195, ptr %196, align 8, !tbaa !5
  %197 = add nuw i64 %.097, 1
  %exitcond102.not = icmp eq i64 %197, %37
  br i1 %exitcond102.not, label %._crit_edge99, label %.lr.ph98, !llvm.loop !13

198:                                              ; preds = %.loopexit, %.loopexit.split-lp, %191, %158
  %.pn = phi { ptr, i32 } [ %159, %158 ], [ %192, %191 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  br label %199

199:                                              ; preds = %198, %81
  %.pn.pn = phi { ptr, i32 } [ %.pn, %198 ], [ %82, %81 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  br label %200

200:                                              ; preds = %199, %79
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %199 ], [ %80, %79 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  br label %201

201:                                              ; preds = %200, %77
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %200 ], [ %78, %77 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  br label %202

202:                                              ; preds = %201, %75
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %201 ], [ %76, %75 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  br label %203

203:                                              ; preds = %202, %73
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %202 ], [ %74, %73 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  br label %204

204:                                              ; preds = %203, %71
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %203 ], [ %72, %71 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  br label %205

205:                                              ; preds = %204, %69
  %.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn, %204 ], [ %70, %69 ]
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn.pn.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { mustprogress nounwind 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 = { 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 = { inlinehint 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 #5 = { "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 #6 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10, !11}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.peeled.count", i32 1}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}


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