; LLVM IR from doyubkim/fluid-engine-dev :: src/jet (fmm_level_set_solver2)

; 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.jet::ConstArrayAccessor" = type { %"class.jet::Size2", ptr }
%"class.jet::Size2" = type { i64, i64 }
%"class.jet::Array" = type { %"class.jet::Size2", %"class.std::vector" }
%"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::function.16" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.30 = type { ptr, ptr, ptr }
%"class.jet::Vector" = type { double, double }
%"class.std::function.31" = type { %"class.std::_Function_base", ptr }
%class.anon.34 = type { ptr, ptr, ptr }
%"class.jet::ArrayAccessor" = type { %"class.jet::Size2", ptr }
%class.anon.35 = type { ptr, ptr, ptr }

@_ZTISt16invalid_argument = external constant ptr
@.str.1 = external hidden unnamed_addr constant [29 x i8], align 1

declare noundef zeroext i1 @_ZNK3jet5Grid212hasSameShapeERKS0_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88)) #0

declare ptr @__cxa_allocate_exception(i64)

declare void @_ZNSt16invalid_argumentC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #0

declare i32 @__gxx_personality_v0(...)

declare void @__cxa_free_exception(ptr)

; Function Attrs: nounwind
declare void @_ZNSt16invalid_argumentD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1

declare void @__cxa_throw(ptr, ptr, ptr)

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid211gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(88)) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3jet6VectorIdLm2EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jet5ArrayIdLm2EEC2ERKNS_5Size2ERKd(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jet18FmmLevelSetSolver211extrapolateERKNS_18ConstArrayAccessorIdLm2EEES4_RKNS_6VectorIdLm2EEEdNS_13ArrayAccessorIdLm2EEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(16), double noundef, ptr noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3jet5ArrayIdLm2EE13constAccessorEv(ptr dead_on_unwind noalias writable sret(%"class.jet::ConstArrayAccessor") align 8, ptr noundef nonnull align 8 dereferenceable(40)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3jet18FmmLevelSetSolver211extrapolateERKNS_21CollocatedVectorGrid2ERKNS_12ScalarField2EdPS1_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(240) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, double noundef %3, ptr noundef %4) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca double, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.jet::Array", align 8
  %14 = alloca %"class.jet::Size2", align 8
  %15 = alloca double, align 8
  %16 = alloca %"class.std::function.16", align 8
  %17 = alloca %class.anon.30, align 8
  %18 = alloca %"class.jet::Vector", align 8
  %19 = alloca %"class.jet::Array", align 8
  %20 = alloca %"class.jet::Size2", align 8
  %21 = alloca double, align 8
  %22 = alloca %"class.jet::Array", align 8
  %23 = alloca %"class.jet::Size2", align 8
  %24 = alloca double, align 8
  %25 = alloca %"class.jet::Array", align 8
  %26 = alloca %"class.jet::Size2", align 8
  %27 = alloca double, align 8
  %28 = alloca %"class.jet::Array", align 8
  %29 = alloca %"class.jet::Size2", align 8
  %30 = alloca double, align 8
  %31 = alloca %"class.std::function.31", align 8
  %32 = alloca %class.anon.34, align 8
  %33 = alloca %"class.jet::ConstArrayAccessor", align 8
  %34 = alloca %"class.jet::ConstArrayAccessor", align 8
  %35 = alloca %"class.jet::ArrayAccessor", align 8
  %36 = alloca %"class.jet::ConstArrayAccessor", align 8
  %37 = alloca %"class.jet::ConstArrayAccessor", align 8
  %38 = alloca %"class.jet::ArrayAccessor", align 8
  %39 = alloca %"class.std::function.31", align 8
  %40 = alloca %class.anon.35, align 8
  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 double %3, ptr %9, align 8, !tbaa !9
  store ptr %4, ptr %10, align 8, !tbaa !5
  %41 = load ptr, ptr %6, align 8
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = getelementptr inbounds i8, ptr %42, i64 8
  %44 = load ptr, ptr %10, align 8, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %44, i64 8
  %46 = call noundef zeroext i1 @_ZNK3jet5Grid212hasSameShapeERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %43, ptr noundef nonnull align 8 dereferenceable(88) %45)
  br i1 %46, label %54, label %47

47:                                               ; preds = %5
  %48 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZNSt16invalid_argumentC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %48, ptr noundef @.str.1)
          to label %49 unwind label %50

49:                                               ; preds = %47
  call void @__cxa_throw(ptr %48, ptr @_ZTISt16invalid_argument, ptr @_ZNSt16invalid_argumentD1Ev) #7
  unreachable

50:                                               ; preds = %47
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %11, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %12, align 4
  call void @__cxa_free_exception(ptr %48) #6
  br label %210

54:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 40, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #6
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = load ptr, ptr %55, align 8, !tbaa !11
  %57 = getelementptr inbounds ptr, ptr %56, i64 12
  %58 = load ptr, ptr %57, align 8
  call void %58(ptr dead_on_unwind writable sret(%"class.jet::Size2") align 8 %14, ptr noundef nonnull align 8 dereferenceable(240) %55)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  store double 0.000000e+00, ptr %15, align 8, !tbaa !9
  call void @_ZN3jet5ArrayIdLm2EEC2ERKNS_5Size2ERKd(ptr noundef nonnull align 8 dereferenceable(40) %13, ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(8) %15)
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #6
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZNK3jet21CollocatedVectorGrid212dataPositionEv(ptr dead_on_unwind writable sret(%"class.std::function.16") align 8 %16, ptr noundef nonnull align 8 dereferenceable(240) %59)
          to label %60 unwind label %118

60:                                               ; preds = %54
  %61 = getelementptr inbounds %class.anon.30, ptr %17, i32 0, i32 0
  store ptr %13, ptr %61, align 8, !tbaa !5
  %62 = getelementptr inbounds %class.anon.30, ptr %17, i32 0, i32 1
  %63 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %63, ptr %62, align 8, !tbaa !5
  %64 = getelementptr inbounds %class.anon.30, ptr %17, i32 0, i32 2
  store ptr %16, ptr %64, align 8, !tbaa !5
  invoke void @"_ZNK3jet5ArrayIdLm2EE20parallelForEachIndexIZNS_18FmmLevelSetSolver211extrapolateERKNS_21CollocatedVectorGrid2ERKNS_12ScalarField2EdPS4_E3$_2EEvT_"(ptr noundef nonnull align 8 dereferenceable(40) %13, ptr noundef byval(%class.anon.30) align 8 %17)
          to label %65 unwind label %122

65:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #6
  %66 = load ptr, ptr %7, align 8, !tbaa !5
  %67 = getelementptr inbounds i8, ptr %66, i64 8
  %68 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid211gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(88) %67)
          to label %69 unwind label %126

69:                                               ; preds = %65
  invoke void @_ZN3jet6VectorIdLm2EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %68)
          to label %70 unwind label %126

70:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 40, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #6
  %71 = load ptr, ptr %7, align 8, !tbaa !5
  %72 = load ptr, ptr %71, align 8, !tbaa !11
  %73 = getelementptr inbounds ptr, ptr %72, i64 12
  %74 = load ptr, ptr %73, align 8
  invoke void %74(ptr dead_on_unwind writable sret(%"class.jet::Size2") align 8 %20, ptr noundef nonnull align 8 dereferenceable(240) %71)
          to label %75 unwind label %130

75:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  store double 0.000000e+00, ptr %21, align 8, !tbaa !9
  invoke void @_ZN3jet5ArrayIdLm2EEC2ERKNS_5Size2ERKd(ptr noundef nonnull align 8 dereferenceable(40) %19, ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %76 unwind label %134

76:                                               ; preds = %75
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #6
  %77 = load ptr, ptr %7, align 8, !tbaa !5
  %78 = load ptr, ptr %77, align 8, !tbaa !11
  %79 = getelementptr inbounds ptr, ptr %78, i64 12
  %80 = load ptr, ptr %79, align 8
  invoke void %80(ptr dead_on_unwind writable sret(%"class.jet::Size2") align 8 %23, ptr noundef nonnull align 8 dereferenceable(240) %77)
          to label %81 unwind label %139

81:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  store double 0.000000e+00, ptr %24, align 8, !tbaa !9
  invoke void @_ZN3jet5ArrayIdLm2EEC2ERKNS_5Size2ERKd(ptr noundef nonnull align 8 dereferenceable(40) %22, ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(8) %24)
          to label %82 unwind label %143

82:                                               ; preds = %81
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #6
  %83 = load ptr, ptr %7, align 8, !tbaa !5
  %84 = load ptr, ptr %83, align 8, !tbaa !11
  %85 = getelementptr inbounds ptr, ptr %84, i64 12
  %86 = load ptr, ptr %85, align 8
  invoke void %86(ptr dead_on_unwind writable sret(%"class.jet::Size2") align 8 %26, ptr noundef nonnull align 8 dereferenceable(240) %83)
          to label %87 unwind label %148

87:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  store double 0.000000e+00, ptr %27, align 8, !tbaa !9
  invoke void @_ZN3jet5ArrayIdLm2EEC2ERKNS_5Size2ERKd(ptr noundef nonnull align 8 dereferenceable(40) %25, ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(8) %27)
          to label %88 unwind label %152

88:                                               ; preds = %87
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #6
  %89 = load ptr, ptr %7, align 8, !tbaa !5
  %90 = load ptr, ptr %89, align 8, !tbaa !11
  %91 = getelementptr inbounds ptr, ptr %90, i64 12
  %92 = load ptr, ptr %91, align 8
  invoke void %92(ptr dead_on_unwind writable sret(%"class.jet::Size2") align 8 %29, ptr noundef nonnull align 8 dereferenceable(240) %89)
          to label %93 unwind label %157

93:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  store double 0.000000e+00, ptr %30, align 8, !tbaa !9
  invoke void @_ZN3jet5ArrayIdLm2EEC2ERKNS_5Size2ERKd(ptr noundef nonnull align 8 dereferenceable(40) %28, ptr noundef nonnull align 8 dereferenceable(16) %29, ptr noundef nonnull align 8 dereferenceable(8) %30)
          to label %94 unwind label %161

94:                                               ; preds = %93
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #6
  %95 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #6
  %96 = getelementptr inbounds %class.anon.34, ptr %32, i32 0, i32 0
  store ptr %19, ptr %96, align 8, !tbaa !5
  %97 = getelementptr inbounds %class.anon.34, ptr %32, i32 0, i32 1
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %98, ptr %97, align 8, !tbaa !5
  %99 = getelementptr inbounds %class.anon.34, ptr %32, i32 0, i32 2
  store ptr %25, ptr %99, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFvmmEEC2IZN3jet18FmmLevelSetSolver211extrapolateERKNS3_21CollocatedVectorGrid2ERKNS3_12ScalarField2EdPS5_E3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull align 8 dereferenceable(24) %32)
          to label %100 unwind label %166

100:                                              ; preds = %94
  invoke void @_ZNK3jet21CollocatedVectorGrid229parallelForEachDataPointIndexERKSt8functionIFvmmEE(ptr noundef nonnull align 8 dereferenceable(240) %95, ptr noundef nonnull align 8 dereferenceable(32) %31)
          to label %101 unwind label %170

101:                                              ; preds = %100
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %33) #6
  invoke void @_ZNK3jet5ArrayIdLm2EEcvNS_18ConstArrayAccessorIdLm2EEEEv(ptr dead_on_unwind writable sret(%"class.jet::ConstArrayAccessor") align 8 %33, ptr noundef nonnull align 8 dereferenceable(40) %19)
          to label %102 unwind label %175

102:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 24, ptr %34) #6
  invoke void @_ZNK3jet5ArrayIdLm2EE13constAccessorEv(ptr dead_on_unwind writable sret(%"class.jet::ConstArrayAccessor") align 8 %34, ptr noundef nonnull align 8 dereferenceable(40) %13)
          to label %103 unwind label %179

103:                                              ; preds = %102
  %104 = load double, ptr %9, align 8, !tbaa !9
  invoke void @_ZN3jet5ArrayIdLm2EEcvNS_13ArrayAccessorIdLm2EEEEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor") align 8 %35, ptr noundef nonnull align 8 dereferenceable(40) %22)
          to label %105 unwind label %179

105:                                              ; preds = %103
  invoke void @_ZN3jet18FmmLevelSetSolver211extrapolateERKNS_18ConstArrayAccessorIdLm2EEES4_RKNS_6VectorIdLm2EEEdNS_13ArrayAccessorIdLm2EEE(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(24) %34, ptr noundef nonnull align 8 dereferenceable(16) %18, double noundef %104, ptr noundef %35)
          to label %106 unwind label %179

106:                                              ; preds = %105
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %36) #6
  invoke void @_ZNK3jet5ArrayIdLm2EEcvNS_18ConstArrayAccessorIdLm2EEEEv(ptr dead_on_unwind writable sret(%"class.jet::ConstArrayAccessor") align 8 %36, ptr noundef nonnull align 8 dereferenceable(40) %25)
          to label %107 unwind label %184

107:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 24, ptr %37) #6
  invoke void @_ZNK3jet5ArrayIdLm2EE13constAccessorEv(ptr dead_on_unwind writable sret(%"class.jet::ConstArrayAccessor") align 8 %37, ptr noundef nonnull align 8 dereferenceable(40) %13)
          to label %108 unwind label %188

108:                                              ; preds = %107
  %109 = load double, ptr %9, align 8, !tbaa !9
  invoke void @_ZN3jet5ArrayIdLm2EEcvNS_13ArrayAccessorIdLm2EEEEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor") align 8 %38, ptr noundef nonnull align 8 dereferenceable(40) %28)
          to label %110 unwind label %188

110:                                              ; preds = %108
  invoke void @_ZN3jet18FmmLevelSetSolver211extrapolateERKNS_18ConstArrayAccessorIdLm2EEES4_RKNS_6VectorIdLm2EEEdNS_13ArrayAccessorIdLm2EEE(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(16) %18, double noundef %109, ptr noundef %38)
          to label %111 unwind label %188

111:                                              ; preds = %110
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #6
  %112 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %39) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %40) #6
  %113 = getelementptr inbounds %class.anon.35, ptr %40, i32 0, i32 0
  store ptr %10, ptr %113, align 8, !tbaa !5
  %114 = getelementptr inbounds %class.anon.35, ptr %40, i32 0, i32 1
  store ptr %19, ptr %114, align 8, !tbaa !5
  %115 = getelementptr inbounds %class.anon.35, ptr %40, i32 0, i32 2
  store ptr %25, ptr %115, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFvmmEEC2IZN3jet18FmmLevelSetSolver211extrapolateERKNS3_21CollocatedVectorGrid2ERKNS3_12ScalarField2EdPS5_E3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef nonnull align 8 dereferenceable(24) %40)
          to label %116 unwind label %193

116:                                              ; preds = %111
  invoke void @_ZNK3jet21CollocatedVectorGrid229parallelForEachDataPointIndexERKSt8functionIFvmmEE(ptr noundef nonnull align 8 dereferenceable(240) %112, ptr noundef nonnull align 8 dereferenceable(32) %39)
          to label %117 unwind label %197

117:                                              ; preds = %116
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #6
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %28) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %28) #6
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %25) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %25) #6
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %22) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %22) #6
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %19) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #6
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #6
  ret void

118:                                              ; preds = %54
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %11, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %12, align 4
  br label %209

122:                                              ; preds = %60
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %11, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %12, align 4
  br label %208

126:                                              ; preds = %69, %65
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %11, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %12, align 4
  br label %207

130:                                              ; preds = %70
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %11, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %12, align 4
  br label %138

134:                                              ; preds = %75
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %11, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %138

138:                                              ; preds = %134, %130
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  br label %206

139:                                              ; preds = %76
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %11, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %12, align 4
  br label %147

143:                                              ; preds = %81
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %11, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  br label %147

147:                                              ; preds = %143, %139
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #6
  br label %205

148:                                              ; preds = %82
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %11, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %12, align 4
  br label %156

152:                                              ; preds = %87
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %11, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  br label %156

156:                                              ; preds = %152, %148
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #6
  br label %204

157:                                              ; preds = %88
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %11, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %12, align 4
  br label %165

161:                                              ; preds = %93
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %11, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  br label %165

165:                                              ; preds = %161, %157
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #6
  br label %203

166:                                              ; preds = %94
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %11, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %12, align 4
  br label %174

170:                                              ; preds = %100
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %11, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %12, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #6
  br label %174

174:                                              ; preds = %170, %166
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #6
  br label %202

175:                                              ; preds = %101
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %11, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %12, align 4
  br label %183

179:                                              ; preds = %105, %103, %102
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %11, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #6
  br label %183

183:                                              ; preds = %179, %175
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #6
  br label %202

184:                                              ; preds = %106
  %185 = landingpad { ptr, i32 }
          cleanup
  %186 = extractvalue { ptr, i32 } %185, 0
  store ptr %186, ptr %11, align 8
  %187 = extractvalue { ptr, i32 } %185, 1
  store i32 %187, ptr %12, align 4
  br label %192

188:                                              ; preds = %110, %108, %107
  %189 = landingpad { ptr, i32 }
          cleanup
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %11, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #6
  br label %192

192:                                              ; preds = %188, %184
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #6
  br label %202

193:                                              ; preds = %111
  %194 = landingpad { ptr, i32 }
          cleanup
  %195 = extractvalue { ptr, i32 } %194, 0
  store ptr %195, ptr %11, align 8
  %196 = extractvalue { ptr, i32 } %194, 1
  store i32 %196, ptr %12, align 4
  br label %201

197:                                              ; preds = %116
  %198 = landingpad { ptr, i32 }
          cleanup
  %199 = extractvalue { ptr, i32 } %198, 0
  store ptr %199, ptr %11, align 8
  %200 = extractvalue { ptr, i32 } %198, 1
  store i32 %200, ptr %12, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #6
  br label %201

201:                                              ; preds = %197, %193
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #6
  br label %202

202:                                              ; preds = %201, %192, %183, %174
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %28) #6
  br label %203

203:                                              ; preds = %202, %165
  call void @llvm.lifetime.end.p0(i64 40, ptr %28) #6
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %25) #6
  br label %204

204:                                              ; preds = %203, %156
  call void @llvm.lifetime.end.p0(i64 40, ptr %25) #6
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %22) #6
  br label %205

205:                                              ; preds = %204, %147
  call void @llvm.lifetime.end.p0(i64 40, ptr %22) #6
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %19) #6
  br label %206

206:                                              ; preds = %205, %138
  call void @llvm.lifetime.end.p0(i64 40, ptr %19) #6
  br label %207

207:                                              ; preds = %206, %126
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #6
  br label %208

208:                                              ; preds = %207, %122
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #6
  br label %209

209:                                              ; preds = %208, %118
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #6
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #6
  br label %210

210:                                              ; preds = %209, %50
  %211 = load ptr, ptr %11, align 8
  %212 = load i32, ptr %12, align 4
  %213 = insertvalue { ptr, i32 } poison, ptr %211, 0
  %214 = insertvalue { ptr, i32 } %213, i32 %212, 1
  resume { ptr, i32 } %214
}

declare void @_ZNK3jet21CollocatedVectorGrid212dataPositionEv(ptr dead_on_unwind writable sret(%"class.std::function.16") align 8, ptr noundef nonnull align 8 dereferenceable(240)) #0

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNK3jet5ArrayIdLm2EE20parallelForEachIndexIZNS_18FmmLevelSetSolver211extrapolateERKNS_21CollocatedVectorGrid2ERKNS_12ScalarField2EdPS4_E3$_2EEvT_"(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef byval(%class.anon.30) align 8) #4 align 2

declare void @_ZNK3jet21CollocatedVectorGrid229parallelForEachDataPointIndexERKSt8functionIFvmmEE(ptr noundef nonnull align 8 dereferenceable(240), ptr noundef nonnull align 8 dereferenceable(32)) #0

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFvmmEEC2IZN3jet18FmmLevelSetSolver211extrapolateERKNS3_21CollocatedVectorGrid2ERKNS3_12ScalarField2EdPS5_E3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3jet5ArrayIdLm2EEcvNS_18ConstArrayAccessorIdLm2EEEEv(ptr dead_on_unwind noalias writable sret(%"class.jet::ConstArrayAccessor") align 8, ptr noundef nonnull align 8 dereferenceable(40)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jet5ArrayIdLm2EEcvNS_13ArrayAccessorIdLm2EEEEv(ptr dead_on_unwind noalias writable sret(%"class.jet::ArrayAccessor") align 8, ptr noundef nonnull align 8 dereferenceable(40)) #4 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFvmmEEC2IZN3jet18FmmLevelSetSolver211extrapolateERKNS3_21CollocatedVectorGrid2ERKNS3_12ScalarField2EdPS5_E3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

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

!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 = !{!"vtable pointer", !8, i64 0}


; 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.jet::ConstArrayAccessor" = type { %"class.jet::Size2", ptr }
%"class.jet::Size2" = type { i64, i64 }
%"class.jet::Array" = type { %"class.jet::Size2", %"class.std::vector" }
%"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::function.16" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.30 = type { ptr, ptr, ptr }
%"class.jet::Vector" = type { double, double }
%"class.std::function.31" = type { %"class.std::_Function_base", ptr }
%class.anon.34 = type { ptr, ptr, ptr }
%"class.jet::ArrayAccessor" = type { %"class.jet::Size2", ptr }
%class.anon.35 = type { ptr, ptr, ptr }

@_ZTISt16invalid_argument = external constant ptr
@.str.1 = external hidden unnamed_addr constant [29 x i8], align 1

declare noundef zeroext i1 @_ZNK3jet5Grid212hasSameShapeERKS0_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #0

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @_ZNSt16invalid_argumentC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #0

declare i32 @__gxx_personality_v0(...)

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: nounwind
declare void @_ZNSt16invalid_argumentD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid211gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3jet6VectorIdLm2EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jet5ArrayIdLm2EEC2ERKNS_5Size2ERKd(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jet18FmmLevelSetSolver211extrapolateERKNS_18ConstArrayAccessorIdLm2EEES4_RKNS_6VectorIdLm2EEEdNS_13ArrayAccessorIdLm2EEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(16), double noundef, ptr noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3jet5ArrayIdLm2EE13constAccessorEv(ptr dead_on_unwind noalias writable sret(%"class.jet::ConstArrayAccessor") align 8, ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3jet18FmmLevelSetSolver211extrapolateERKNS_21CollocatedVectorGrid2ERKNS_12ScalarField2EdPS1_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(240) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, double noundef %3, ptr noundef %4) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca %"class.jet::Array", align 8
  %8 = alloca %"class.jet::Size2", align 8
  %9 = alloca double, align 8
  %10 = alloca %"class.std::function.16", align 8
  %11 = alloca %class.anon.30, align 8
  %12 = alloca %"class.jet::Vector", align 8
  %13 = alloca %"class.jet::Array", align 8
  %14 = alloca %"class.jet::Size2", align 8
  %15 = alloca double, align 8
  %16 = alloca %"class.jet::Array", align 8
  %17 = alloca %"class.jet::Size2", align 8
  %18 = alloca double, align 8
  %19 = alloca %"class.jet::Array", align 8
  %20 = alloca %"class.jet::Size2", align 8
  %21 = alloca double, align 8
  %22 = alloca %"class.jet::Array", align 8
  %23 = alloca %"class.jet::Size2", align 8
  %24 = alloca double, align 8
  %25 = alloca %"class.std::function.31", align 8
  %26 = alloca %class.anon.34, align 8
  %27 = alloca %"class.jet::ConstArrayAccessor", align 8
  %28 = alloca %"class.jet::ConstArrayAccessor", align 8
  %29 = alloca %"class.jet::ArrayAccessor", align 8
  %30 = alloca %"class.jet::ConstArrayAccessor", align 8
  %31 = alloca %"class.jet::ConstArrayAccessor", align 8
  %32 = alloca %"class.jet::ArrayAccessor", align 8
  %33 = alloca %"class.std::function.31", align 8
  %34 = alloca %class.anon.35, align 8
  store ptr %4, ptr %6, align 8, !tbaa !5
  %35 = getelementptr inbounds i8, ptr %1, i64 8
  %36 = getelementptr inbounds i8, ptr %4, i64 8
  %37 = tail call noundef zeroext i1 @_ZNK3jet5Grid212hasSameShapeERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %35, ptr noundef nonnull align 8 dereferenceable(88) %36)
  br i1 %37, label %43, label %38

38:                                               ; preds = %5
  %39 = tail call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZNSt16invalid_argumentC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %39, ptr noundef nonnull @.str.1)
          to label %40 unwind label %41

40:                                               ; preds = %38
  tail call void @__cxa_throw(ptr nonnull %39, ptr nonnull @_ZTISt16invalid_argument, ptr nonnull @_ZNSt16invalid_argumentD1Ev) #7
  unreachable

41:                                               ; preds = %38
  %42 = landingpad { ptr, i32 }
          cleanup
  tail call void @__cxa_free_exception(ptr %39) #6
  br label %143

43:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #6
  %44 = load ptr, ptr %1, align 8, !tbaa !9
  %45 = getelementptr inbounds i8, ptr %44, i64 96
  %46 = load ptr, ptr %45, align 8
  call void %46(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size2") align 8 %8, ptr noundef nonnull align 8 dereferenceable(240) %1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  store double 0.000000e+00, ptr %9, align 8, !tbaa !11
  call void @_ZN3jet5ArrayIdLm2EEC2ERKNS_5Size2ERKd(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(8) %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #6
  invoke void @_ZNK3jet21CollocatedVectorGrid212dataPositionEv(ptr dead_on_unwind nonnull writable sret(%"class.std::function.16") align 8 %10, ptr noundef nonnull align 8 dereferenceable(240) %1)
          to label %47 unwind label %89

47:                                               ; preds = %43
  store ptr %7, ptr %11, align 8, !tbaa !5
  %48 = getelementptr inbounds i8, ptr %11, i64 8
  store ptr %2, ptr %48, align 8, !tbaa !5
  %49 = getelementptr inbounds i8, ptr %11, i64 16
  store ptr %10, ptr %49, align 8, !tbaa !5
  invoke void @"_ZNK3jet5ArrayIdLm2EE20parallelForEachIndexIZNS_18FmmLevelSetSolver211extrapolateERKNS_21CollocatedVectorGrid2ERKNS_12ScalarField2EdPS4_E3$_2EEvT_"(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull byval(%class.anon.30) align 8 %11)
          to label %50 unwind label %91

50:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  %51 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid211gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(88) %35)
          to label %52 unwind label %93

52:                                               ; preds = %50
  call void @_ZN3jet6VectorIdLm2EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %51)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #6
  %53 = load ptr, ptr %1, align 8, !tbaa !9
  %54 = getelementptr inbounds i8, ptr %53, i64 96
  %55 = load ptr, ptr %54, align 8
  invoke void %55(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size2") align 8 %14, ptr noundef nonnull align 8 dereferenceable(240) %1)
          to label %56 unwind label %95

56:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  store double 0.000000e+00, ptr %15, align 8, !tbaa !11
  invoke void @_ZN3jet5ArrayIdLm2EEC2ERKNS_5Size2ERKd(ptr noundef nonnull align 8 dereferenceable(40) %13, ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %57 unwind label %97

57:                                               ; preds = %56
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #6
  %58 = load ptr, ptr %1, align 8, !tbaa !9
  %59 = getelementptr inbounds i8, ptr %58, i64 96
  %60 = load ptr, ptr %59, align 8
  invoke void %60(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size2") align 8 %17, ptr noundef nonnull align 8 dereferenceable(240) %1)
          to label %61 unwind label %100

61:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #6
  store double 0.000000e+00, ptr %18, align 8, !tbaa !11
  invoke void @_ZN3jet5ArrayIdLm2EEC2ERKNS_5Size2ERKd(ptr noundef nonnull align 8 dereferenceable(40) %16, ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %62 unwind label %102

62:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %19) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #6
  %63 = load ptr, ptr %1, align 8, !tbaa !9
  %64 = getelementptr inbounds i8, ptr %63, i64 96
  %65 = load ptr, ptr %64, align 8
  invoke void %65(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size2") align 8 %20, ptr noundef nonnull align 8 dereferenceable(240) %1)
          to label %66 unwind label %105

66:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #6
  store double 0.000000e+00, ptr %21, align 8, !tbaa !11
  invoke void @_ZN3jet5ArrayIdLm2EEC2ERKNS_5Size2ERKd(ptr noundef nonnull align 8 dereferenceable(40) %19, ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %67 unwind label %107

67:                                               ; preds = %66
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %22) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #6
  %68 = load ptr, ptr %1, align 8, !tbaa !9
  %69 = getelementptr inbounds i8, ptr %68, i64 96
  %70 = load ptr, ptr %69, align 8
  invoke void %70(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size2") align 8 %23, ptr noundef nonnull align 8 dereferenceable(240) %1)
          to label %71 unwind label %110

71:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #6
  store double 0.000000e+00, ptr %24, align 8, !tbaa !11
  invoke void @_ZN3jet5ArrayIdLm2EEC2ERKNS_5Size2ERKd(ptr noundef nonnull align 8 dereferenceable(40) %22, ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(8) %24)
          to label %72 unwind label %112

72:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %25) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %26) #6
  store ptr %13, ptr %26, align 8, !tbaa !5
  %73 = getelementptr inbounds i8, ptr %26, i64 8
  store ptr %1, ptr %73, align 8, !tbaa !5
  %74 = getelementptr inbounds i8, ptr %26, i64 16
  store ptr %19, ptr %74, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFvmmEEC2IZN3jet18FmmLevelSetSolver211extrapolateERKNS3_21CollocatedVectorGrid2ERKNS3_12ScalarField2EdPS5_E3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %75 unwind label %115

75:                                               ; preds = %72
  invoke void @_ZNK3jet21CollocatedVectorGrid229parallelForEachDataPointIndexERKSt8functionIFvmmEE(ptr noundef nonnull align 8 dereferenceable(240) %1, ptr noundef nonnull align 8 dereferenceable(32) %25)
          to label %76 unwind label %117

76:                                               ; preds = %75
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %26) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %27) #6
  invoke void @_ZNK3jet5ArrayIdLm2EEcvNS_18ConstArrayAccessorIdLm2EEEEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ConstArrayAccessor") align 8 %27, ptr noundef nonnull align 8 dereferenceable(40) %13)
          to label %77 unwind label %120

77:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %28) #6
  invoke void @_ZNK3jet5ArrayIdLm2EE13constAccessorEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ConstArrayAccessor") align 8 %28, ptr noundef nonnull align 8 dereferenceable(40) %7)
          to label %78 unwind label %122

78:                                               ; preds = %77
  invoke void @_ZN3jet5ArrayIdLm2EEcvNS_13ArrayAccessorIdLm2EEEEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ArrayAccessor") align 8 %29, ptr noundef nonnull align 8 dereferenceable(40) %16)
          to label %79 unwind label %122

79:                                               ; preds = %78
  invoke void @_ZN3jet18FmmLevelSetSolver211extrapolateERKNS_18ConstArrayAccessorIdLm2EEES4_RKNS_6VectorIdLm2EEEdNS_13ArrayAccessorIdLm2EEE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 8 dereferenceable(16) %12, double noundef %3, ptr noundef nonnull %29)
          to label %80 unwind label %122

80:                                               ; preds = %79
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %30) #6
  invoke void @_ZNK3jet5ArrayIdLm2EEcvNS_18ConstArrayAccessorIdLm2EEEEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ConstArrayAccessor") align 8 %30, ptr noundef nonnull align 8 dereferenceable(40) %19)
          to label %81 unwind label %125

81:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %31) #6
  invoke void @_ZNK3jet5ArrayIdLm2EE13constAccessorEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ConstArrayAccessor") align 8 %31, ptr noundef nonnull align 8 dereferenceable(40) %7)
          to label %82 unwind label %127

82:                                               ; preds = %81
  invoke void @_ZN3jet5ArrayIdLm2EEcvNS_13ArrayAccessorIdLm2EEEEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ArrayAccessor") align 8 %32, ptr noundef nonnull align 8 dereferenceable(40) %22)
          to label %83 unwind label %127

83:                                               ; preds = %82
  invoke void @_ZN3jet18FmmLevelSetSolver211extrapolateERKNS_18ConstArrayAccessorIdLm2EEES4_RKNS_6VectorIdLm2EEEdNS_13ArrayAccessorIdLm2EEE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 8 dereferenceable(16) %12, double noundef %3, ptr noundef nonnull %32)
          to label %84 unwind label %127

84:                                               ; preds = %83
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %31) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %30) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %33) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %34) #6
  store ptr %6, ptr %34, align 8, !tbaa !5
  %85 = getelementptr inbounds i8, ptr %34, i64 8
  store ptr %13, ptr %85, align 8, !tbaa !5
  %86 = getelementptr inbounds i8, ptr %34, i64 16
  store ptr %19, ptr %86, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFvmmEEC2IZN3jet18FmmLevelSetSolver211extrapolateERKNS3_21CollocatedVectorGrid2ERKNS3_12ScalarField2EdPS5_E3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull align 8 dereferenceable(24) %34)
          to label %87 unwind label %130

87:                                               ; preds = %84
  invoke void @_ZNK3jet21CollocatedVectorGrid229parallelForEachDataPointIndexERKSt8functionIFvmmEE(ptr noundef nonnull align 8 dereferenceable(240) %4, ptr noundef nonnull align 8 dereferenceable(32) %33)
          to label %88 unwind label %132

88:                                               ; preds = %87
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %34) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #6
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %22) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %22) #6
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %19) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %19) #6
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %16) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %16) #6
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #6
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #6
  ret void

89:                                               ; preds = %43
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %142

91:                                               ; preds = %47
  %92 = landingpad { ptr, i32 }
          cleanup
  br label %141

93:                                               ; preds = %50
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %140

95:                                               ; preds = %52
  %96 = landingpad { ptr, i32 }
          cleanup
  br label %99

97:                                               ; preds = %56
  %98 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  br label %99

99:                                               ; preds = %97, %95
  %.pn = phi { ptr, i32 } [ %98, %97 ], [ %96, %95 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #6
  br label %139

100:                                              ; preds = %57
  %101 = landingpad { ptr, i32 }
          cleanup
  br label %104

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

104:                                              ; preds = %102, %100
  %.pn33 = phi { ptr, i32 } [ %103, %102 ], [ %101, %100 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #6
  br label %138

105:                                              ; preds = %62
  %106 = landingpad { ptr, i32 }
          cleanup
  br label %109

107:                                              ; preds = %66
  %108 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #6
  br label %109

109:                                              ; preds = %107, %105
  %.pn35 = phi { ptr, i32 } [ %108, %107 ], [ %106, %105 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #6
  br label %137

110:                                              ; preds = %67
  %111 = landingpad { ptr, i32 }
          cleanup
  br label %114

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

114:                                              ; preds = %112, %110
  %.pn37 = phi { ptr, i32 } [ %113, %112 ], [ %111, %110 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #6
  br label %136

115:                                              ; preds = %72
  %116 = landingpad { ptr, i32 }
          cleanup
  br label %119

117:                                              ; preds = %75
  %118 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #6
  br label %119

119:                                              ; preds = %117, %115
  %.pn39 = phi { ptr, i32 } [ %118, %117 ], [ %116, %115 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %26) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #6
  br label %135

120:                                              ; preds = %76
  %121 = landingpad { ptr, i32 }
          cleanup
  br label %124

122:                                              ; preds = %79, %78, %77
  %123 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #6
  br label %124

124:                                              ; preds = %122, %120
  %.pn41 = phi { ptr, i32 } [ %123, %122 ], [ %121, %120 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #6
  br label %135

125:                                              ; preds = %80
  %126 = landingpad { ptr, i32 }
          cleanup
  br label %129

127:                                              ; preds = %83, %82, %81
  %128 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %31) #6
  br label %129

129:                                              ; preds = %127, %125
  %.pn43 = phi { ptr, i32 } [ %128, %127 ], [ %126, %125 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %30) #6
  br label %135

130:                                              ; preds = %84
  %131 = landingpad { ptr, i32 }
          cleanup
  br label %134

132:                                              ; preds = %87
  %133 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #6
  br label %134

134:                                              ; preds = %132, %130
  %.pn45 = phi { ptr, i32 } [ %133, %132 ], [ %131, %130 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %34) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #6
  br label %135

135:                                              ; preds = %134, %129, %124, %119
  %.pn45.pn = phi { ptr, i32 } [ %.pn45, %134 ], [ %.pn43, %129 ], [ %.pn41, %124 ], [ %.pn39, %119 ]
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %22) #6
  br label %136

136:                                              ; preds = %135, %114
  %.pn45.pn.pn = phi { ptr, i32 } [ %.pn45.pn, %135 ], [ %.pn37, %114 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %22) #6
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %19) #6
  br label %137

137:                                              ; preds = %136, %109
  %.pn45.pn.pn.pn = phi { ptr, i32 } [ %.pn45.pn.pn, %136 ], [ %.pn35, %109 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %19) #6
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %16) #6
  br label %138

138:                                              ; preds = %137, %104
  %.pn45.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn45.pn.pn.pn, %137 ], [ %.pn33, %104 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %16) #6
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #6
  br label %139

139:                                              ; preds = %138, %99
  %.pn45.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn45.pn.pn.pn.pn, %138 ], [ %.pn, %99 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #6
  br label %140

140:                                              ; preds = %139, %93
  %.pn45.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn45.pn.pn.pn.pn.pn, %139 ], [ %94, %93 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br label %141

141:                                              ; preds = %140, %91
  %.pn45.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn45.pn.pn.pn.pn.pn.pn, %140 ], [ %92, %91 ]
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  br label %142

142:                                              ; preds = %141, %89
  %.pn45.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn45.pn.pn.pn.pn.pn.pn.pn, %141 ], [ %90, %89 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #6
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #6
  br label %143

143:                                              ; preds = %142, %41
  %.pn45.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn45.pn.pn.pn.pn.pn.pn.pn.pn, %142 ], [ %42, %41 ]
  resume { ptr, i32 } %.pn45.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

declare void @_ZNK3jet21CollocatedVectorGrid212dataPositionEv(ptr dead_on_unwind writable sret(%"class.std::function.16") align 8, ptr noundef nonnull align 8 dereferenceable(240)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNK3jet5ArrayIdLm2EE20parallelForEachIndexIZNS_18FmmLevelSetSolver211extrapolateERKNS_21CollocatedVectorGrid2ERKNS_12ScalarField2EdPS4_E3$_2EEvT_"(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef byval(%class.anon.30) align 8) local_unnamed_addr #4 align 2

declare void @_ZNK3jet21CollocatedVectorGrid229parallelForEachDataPointIndexERKSt8functionIFvmmEE(ptr noundef nonnull align 8 dereferenceable(240), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFvmmEEC2IZN3jet18FmmLevelSetSolver211extrapolateERKNS3_21CollocatedVectorGrid2ERKNS3_12ScalarField2EdPS5_E3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3jet5ArrayIdLm2EEcvNS_18ConstArrayAccessorIdLm2EEEEv(ptr dead_on_unwind noalias writable sret(%"class.jet::ConstArrayAccessor") align 8, ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jet5ArrayIdLm2EEcvNS_13ArrayAccessorIdLm2EEEEv(ptr dead_on_unwind noalias writable sret(%"class.jet::ArrayAccessor") align 8, ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFvmmEEC2IZN3jet18FmmLevelSetSolver211extrapolateERKNS3_21CollocatedVectorGrid2ERKNS3_12ScalarField2EdPS5_E3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

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

!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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass