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

; 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::Size3", ptr }
%"class.jet::Size3" = type { i64, i64, i64 }
%"class.jet::Array" = type { %"class.jet::Size3", %"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.17" = 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.31 = type { ptr, ptr, ptr }
%"class.jet::Vector" = type { double, double, double }
%"class.std::function.32" = type { %"class.std::_Function_base", ptr }
%class.anon.34 = type { ptr, ptr, ptr, ptr }
%"class.jet::ArrayAccessor" = type { %"class.jet::Size3", ptr }
%class.anon.35 = type { ptr, ptr, ptr, ptr }

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

declare noundef zeroext i1 @_ZNK3jet5Grid312hasSameShapeERKS0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(128)) #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(24) ptr @_ZNK3jet5Grid311gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(128)) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3jet6VectorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) 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 @_ZN3jet5ArrayIdLm3EEC2ERKNS_5Size3ERKd(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3jet18FmmLevelSetSolver311extrapolateERKNS_21CollocatedVectorGrid3ERKNS_12ScalarField3EdPS1_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(320) %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::Size3", align 8
  %15 = alloca double, align 8
  %16 = alloca %"class.std::function.17", align 8
  %17 = alloca %class.anon.31, align 8
  %18 = alloca %"class.jet::Vector", align 8
  %19 = alloca %"class.jet::Array", align 8
  %20 = alloca %"class.jet::Size3", align 8
  %21 = alloca double, align 8
  %22 = alloca %"class.jet::Array", align 8
  %23 = alloca %"class.jet::Size3", align 8
  %24 = alloca double, align 8
  %25 = alloca %"class.jet::Array", align 8
  %26 = alloca %"class.jet::Size3", align 8
  %27 = alloca double, align 8
  %28 = alloca %"class.jet::Array", align 8
  %29 = alloca %"class.jet::Size3", align 8
  %30 = alloca double, align 8
  %31 = alloca %"class.jet::Array", align 8
  %32 = alloca %"class.jet::Size3", align 8
  %33 = alloca double, align 8
  %34 = alloca %"class.jet::Array", align 8
  %35 = alloca %"class.jet::Size3", align 8
  %36 = alloca double, align 8
  %37 = alloca %"class.std::function.32", align 8
  %38 = alloca %class.anon.34, align 8
  %39 = alloca %"class.jet::ConstArrayAccessor", align 8
  %40 = alloca %"class.jet::ConstArrayAccessor", align 8
  %41 = alloca %"class.jet::ArrayAccessor", align 8
  %42 = alloca %"class.jet::ConstArrayAccessor", align 8
  %43 = alloca %"class.jet::ConstArrayAccessor", align 8
  %44 = alloca %"class.jet::ArrayAccessor", align 8
  %45 = alloca %"class.jet::ConstArrayAccessor", align 8
  %46 = alloca %"class.jet::ConstArrayAccessor", align 8
  %47 = alloca %"class.jet::ArrayAccessor", align 8
  %48 = alloca %"class.std::function.32", align 8
  %49 = 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
  %50 = load ptr, ptr %6, align 8
  %51 = load ptr, ptr %7, align 8, !tbaa !5
  %52 = getelementptr inbounds i8, ptr %51, i64 8
  %53 = load ptr, ptr %10, align 8, !tbaa !5
  %54 = getelementptr inbounds i8, ptr %53, i64 8
  %55 = call noundef zeroext i1 @_ZNK3jet5Grid312hasSameShapeERKS0_(ptr noundef nonnull align 8 dereferenceable(128) %52, ptr noundef nonnull align 8 dereferenceable(128) %54)
  br i1 %55, label %63, label %56

56:                                               ; preds = %5
  %57 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZNSt16invalid_argumentC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %57, ptr noundef @.str.1)
          to label %58 unwind label %59

58:                                               ; preds = %56
  call void @__cxa_throw(ptr %57, ptr @_ZTISt16invalid_argument, ptr @_ZNSt16invalid_argumentD1Ev) #7
  unreachable

59:                                               ; preds = %56
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %11, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %12, align 4
  call void @__cxa_free_exception(ptr %57) #6
  br label %267

63:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 48, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #6
  %64 = load ptr, ptr %7, align 8, !tbaa !5
  %65 = load ptr, ptr %64, align 8, !tbaa !11
  %66 = getelementptr inbounds ptr, ptr %65, i64 12
  %67 = load ptr, ptr %66, align 8
  call void %67(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %14, ptr noundef nonnull align 8 dereferenceable(320) %64)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  store double 0.000000e+00, ptr %15, align 8, !tbaa !9
  call void @_ZN3jet5ArrayIdLm3EEC2ERKNS_5Size3ERKd(ptr noundef nonnull align 8 dereferenceable(48) %13, ptr noundef nonnull align 8 dereferenceable(24) %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 24, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #6
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZNK3jet21CollocatedVectorGrid312dataPositionEv(ptr dead_on_unwind writable sret(%"class.std::function.17") align 8 %16, ptr noundef nonnull align 8 dereferenceable(320) %68)
          to label %69 unwind label %146

69:                                               ; preds = %63
  %70 = getelementptr inbounds %class.anon.31, ptr %17, i32 0, i32 0
  store ptr %13, ptr %70, align 8, !tbaa !5
  %71 = getelementptr inbounds %class.anon.31, ptr %17, i32 0, i32 1
  %72 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %72, ptr %71, align 8, !tbaa !5
  %73 = getelementptr inbounds %class.anon.31, ptr %17, i32 0, i32 2
  store ptr %16, ptr %73, align 8, !tbaa !5
  invoke void @"_ZNK3jet5ArrayIdLm3EE20parallelForEachIndexIZNS_18FmmLevelSetSolver311extrapolateERKNS_21CollocatedVectorGrid3ERKNS_12ScalarField3EdPS4_E3$_2EEvT_"(ptr noundef nonnull align 8 dereferenceable(48) %13, ptr noundef byval(%class.anon.31) align 8 %17)
          to label %74 unwind label %150

74:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #6
  %75 = load ptr, ptr %7, align 8, !tbaa !5
  %76 = getelementptr inbounds i8, ptr %75, i64 8
  %77 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3jet5Grid311gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(128) %76)
          to label %78 unwind label %154

78:                                               ; preds = %74
  invoke void @_ZN3jet6VectorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %77)
          to label %79 unwind label %154

79:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 48, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #6
  %80 = load ptr, ptr %7, align 8, !tbaa !5
  %81 = load ptr, ptr %80, align 8, !tbaa !11
  %82 = getelementptr inbounds ptr, ptr %81, i64 12
  %83 = load ptr, ptr %82, align 8
  invoke void %83(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %20, ptr noundef nonnull align 8 dereferenceable(320) %80)
          to label %84 unwind label %158

84:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  store double 0.000000e+00, ptr %21, align 8, !tbaa !9
  invoke void @_ZN3jet5ArrayIdLm3EEC2ERKNS_5Size3ERKd(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %85 unwind label %162

85:                                               ; preds = %84
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #6
  %86 = load ptr, ptr %7, align 8, !tbaa !5
  %87 = load ptr, ptr %86, align 8, !tbaa !11
  %88 = getelementptr inbounds ptr, ptr %87, i64 12
  %89 = load ptr, ptr %88, align 8
  invoke void %89(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %23, ptr noundef nonnull align 8 dereferenceable(320) %86)
          to label %90 unwind label %167

90:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  store double 0.000000e+00, ptr %24, align 8, !tbaa !9
  invoke void @_ZN3jet5ArrayIdLm3EEC2ERKNS_5Size3ERKd(ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(8) %24)
          to label %91 unwind label %171

91:                                               ; preds = %90
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #6
  %92 = load ptr, ptr %7, align 8, !tbaa !5
  %93 = load ptr, ptr %92, align 8, !tbaa !11
  %94 = getelementptr inbounds ptr, ptr %93, i64 12
  %95 = load ptr, ptr %94, align 8
  invoke void %95(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %26, ptr noundef nonnull align 8 dereferenceable(320) %92)
          to label %96 unwind label %176

96:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  store double 0.000000e+00, ptr %27, align 8, !tbaa !9
  invoke void @_ZN3jet5ArrayIdLm3EEC2ERKNS_5Size3ERKd(ptr noundef nonnull align 8 dereferenceable(48) %25, ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(8) %27)
          to label %97 unwind label %180

97:                                               ; preds = %96
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #6
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  %99 = load ptr, ptr %98, align 8, !tbaa !11
  %100 = getelementptr inbounds ptr, ptr %99, i64 12
  %101 = load ptr, ptr %100, align 8
  invoke void %101(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %29, ptr noundef nonnull align 8 dereferenceable(320) %98)
          to label %102 unwind label %185

102:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  store double 0.000000e+00, ptr %30, align 8, !tbaa !9
  invoke void @_ZN3jet5ArrayIdLm3EEC2ERKNS_5Size3ERKd(ptr noundef nonnull align 8 dereferenceable(48) %28, ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(8) %30)
          to label %103 unwind label %189

103:                                              ; preds = %102
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #6
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  %105 = load ptr, ptr %104, align 8, !tbaa !11
  %106 = getelementptr inbounds ptr, ptr %105, i64 12
  %107 = load ptr, ptr %106, align 8
  invoke void %107(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %32, ptr noundef nonnull align 8 dereferenceable(320) %104)
          to label %108 unwind label %194

108:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  store double 0.000000e+00, ptr %33, align 8, !tbaa !9
  invoke void @_ZN3jet5ArrayIdLm3EEC2ERKNS_5Size3ERKd(ptr noundef nonnull align 8 dereferenceable(48) %31, ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(8) %33)
          to label %109 unwind label %198

109:                                              ; preds = %108
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %34) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %35) #6
  %110 = load ptr, ptr %7, align 8, !tbaa !5
  %111 = load ptr, ptr %110, align 8, !tbaa !11
  %112 = getelementptr inbounds ptr, ptr %111, i64 12
  %113 = load ptr, ptr %112, align 8
  invoke void %113(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %35, ptr noundef nonnull align 8 dereferenceable(320) %110)
          to label %114 unwind label %203

114:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #6
  store double 0.000000e+00, ptr %36, align 8, !tbaa !9
  invoke void @_ZN3jet5ArrayIdLm3EEC2ERKNS_5Size3ERKd(ptr noundef nonnull align 8 dereferenceable(48) %34, ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 8 dereferenceable(8) %36)
          to label %115 unwind label %207

115:                                              ; preds = %114
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #6
  %116 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %37) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %38) #6
  %117 = getelementptr inbounds %class.anon.34, ptr %38, i32 0, i32 0
  store ptr %19, ptr %117, align 8, !tbaa !5
  %118 = getelementptr inbounds %class.anon.34, ptr %38, i32 0, i32 1
  %119 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %119, ptr %118, align 8, !tbaa !5
  %120 = getelementptr inbounds %class.anon.34, ptr %38, i32 0, i32 2
  store ptr %25, ptr %120, align 8, !tbaa !5
  %121 = getelementptr inbounds %class.anon.34, ptr %38, i32 0, i32 3
  store ptr %31, ptr %121, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFvmmmEEC2IZN3jet18FmmLevelSetSolver311extrapolateERKNS3_21CollocatedVectorGrid3ERKNS3_12ScalarField3EdPS5_E3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull align 8 dereferenceable(32) %38)
          to label %122 unwind label %212

122:                                              ; preds = %115
  invoke void @_ZNK3jet21CollocatedVectorGrid329parallelForEachDataPointIndexERKSt8functionIFvmmmEE(ptr noundef nonnull align 8 dereferenceable(320) %116, ptr noundef nonnull align 8 dereferenceable(32) %37)
          to label %123 unwind label %216

123:                                              ; preds = %122
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %39) #6
  invoke void @_ZNK3jet5ArrayIdLm3EEcvNS_18ConstArrayAccessorIdLm3EEEEv(ptr dead_on_unwind writable sret(%"class.jet::ConstArrayAccessor") align 8 %39, ptr noundef nonnull align 8 dereferenceable(48) %19)
          to label %124 unwind label %221

124:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 32, ptr %40) #6
  invoke void @_ZNK3jet5ArrayIdLm3EE13constAccessorEv(ptr dead_on_unwind writable sret(%"class.jet::ConstArrayAccessor") align 8 %40, ptr noundef nonnull align 8 dereferenceable(48) %13)
          to label %125 unwind label %225

125:                                              ; preds = %124
  %126 = load double, ptr %9, align 8, !tbaa !9
  invoke void @_ZN3jet5ArrayIdLm3EEcvNS_13ArrayAccessorIdLm3EEEEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor") align 8 %41, ptr noundef nonnull align 8 dereferenceable(48) %22)
          to label %127 unwind label %225

127:                                              ; preds = %125
  invoke void @_ZN3jet18FmmLevelSetSolver311extrapolateERKNS_18ConstArrayAccessorIdLm3EEES4_RKNS_6VectorIdLm3EEEdNS_13ArrayAccessorIdLm3EEE(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef nonnull align 8 dereferenceable(24) %18, double noundef %126, ptr noundef %41)
          to label %128 unwind label %225

128:                                              ; preds = %127
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %42) #6
  invoke void @_ZNK3jet5ArrayIdLm3EEcvNS_18ConstArrayAccessorIdLm3EEEEv(ptr dead_on_unwind writable sret(%"class.jet::ConstArrayAccessor") align 8 %42, ptr noundef nonnull align 8 dereferenceable(48) %25)
          to label %129 unwind label %230

129:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 32, ptr %43) #6
  invoke void @_ZNK3jet5ArrayIdLm3EE13constAccessorEv(ptr dead_on_unwind writable sret(%"class.jet::ConstArrayAccessor") align 8 %43, ptr noundef nonnull align 8 dereferenceable(48) %13)
          to label %130 unwind label %234

130:                                              ; preds = %129
  %131 = load double, ptr %9, align 8, !tbaa !9
  invoke void @_ZN3jet5ArrayIdLm3EEcvNS_13ArrayAccessorIdLm3EEEEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor") align 8 %44, ptr noundef nonnull align 8 dereferenceable(48) %28)
          to label %132 unwind label %234

132:                                              ; preds = %130
  invoke void @_ZN3jet18FmmLevelSetSolver311extrapolateERKNS_18ConstArrayAccessorIdLm3EEES4_RKNS_6VectorIdLm3EEEdNS_13ArrayAccessorIdLm3EEE(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(24) %18, double noundef %131, ptr noundef %44)
          to label %133 unwind label %234

133:                                              ; preds = %132
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %42) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %45) #6
  invoke void @_ZNK3jet5ArrayIdLm3EEcvNS_18ConstArrayAccessorIdLm3EEEEv(ptr dead_on_unwind writable sret(%"class.jet::ConstArrayAccessor") align 8 %45, ptr noundef nonnull align 8 dereferenceable(48) %31)
          to label %134 unwind label %239

134:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 32, ptr %46) #6
  invoke void @_ZNK3jet5ArrayIdLm3EE13constAccessorEv(ptr dead_on_unwind writable sret(%"class.jet::ConstArrayAccessor") align 8 %46, ptr noundef nonnull align 8 dereferenceable(48) %13)
          to label %135 unwind label %243

135:                                              ; preds = %134
  %136 = load double, ptr %9, align 8, !tbaa !9
  invoke void @_ZN3jet5ArrayIdLm3EEcvNS_13ArrayAccessorIdLm3EEEEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor") align 8 %47, ptr noundef nonnull align 8 dereferenceable(48) %34)
          to label %137 unwind label %243

137:                                              ; preds = %135
  invoke void @_ZN3jet18FmmLevelSetSolver311extrapolateERKNS_18ConstArrayAccessorIdLm3EEES4_RKNS_6VectorIdLm3EEEdNS_13ArrayAccessorIdLm3EEE(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef nonnull align 8 dereferenceable(24) %18, double noundef %136, ptr noundef %47)
          to label %138 unwind label %243

138:                                              ; preds = %137
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #6
  %139 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %48) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %49) #6
  %140 = getelementptr inbounds %class.anon.35, ptr %49, i32 0, i32 0
  store ptr %10, ptr %140, align 8, !tbaa !5
  %141 = getelementptr inbounds %class.anon.35, ptr %49, i32 0, i32 1
  store ptr %19, ptr %141, align 8, !tbaa !5
  %142 = getelementptr inbounds %class.anon.35, ptr %49, i32 0, i32 2
  store ptr %25, ptr %142, align 8, !tbaa !5
  %143 = getelementptr inbounds %class.anon.35, ptr %49, i32 0, i32 3
  store ptr %31, ptr %143, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFvmmmEEC2IZN3jet18FmmLevelSetSolver311extrapolateERKNS3_21CollocatedVectorGrid3ERKNS3_12ScalarField3EdPS5_E3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef nonnull align 8 dereferenceable(32) %49)
          to label %144 unwind label %248

144:                                              ; preds = %138
  invoke void @_ZNK3jet21CollocatedVectorGrid329parallelForEachDataPointIndexERKSt8functionIFvmmmEE(ptr noundef nonnull align 8 dereferenceable(320) %139, ptr noundef nonnull align 8 dereferenceable(32) %48)
          to label %145 unwind label %252

145:                                              ; preds = %144
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %49) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %34) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %34) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %31) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %28) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %25) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 24, 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 @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %13) #6
  ret void

146:                                              ; preds = %63
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %11, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %12, align 4
  br label %266

150:                                              ; preds = %69
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %11, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %12, align 4
  br label %265

154:                                              ; preds = %78, %74
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %11, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %12, align 4
  br label %264

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

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

166:                                              ; preds = %162, %158
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #6
  br label %263

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

171:                                              ; preds = %90
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %11, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  br label %175

175:                                              ; preds = %171, %167
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #6
  br label %262

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

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

184:                                              ; preds = %180, %176
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #6
  br label %261

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

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

193:                                              ; preds = %189, %185
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #6
  br label %260

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

198:                                              ; preds = %108
  %199 = landingpad { ptr, i32 }
          cleanup
  %200 = extractvalue { ptr, i32 } %199, 0
  store ptr %200, ptr %11, align 8
  %201 = extractvalue { ptr, i32 } %199, 1
  store i32 %201, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  br label %202

202:                                              ; preds = %198, %194
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #6
  br label %259

203:                                              ; preds = %109
  %204 = landingpad { ptr, i32 }
          cleanup
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %11, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %12, align 4
  br label %211

207:                                              ; preds = %114
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %11, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  br label %211

211:                                              ; preds = %207, %203
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #6
  br label %258

212:                                              ; preds = %115
  %213 = landingpad { ptr, i32 }
          cleanup
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %11, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %12, align 4
  br label %220

216:                                              ; preds = %122
  %217 = landingpad { ptr, i32 }
          cleanup
  %218 = extractvalue { ptr, i32 } %217, 0
  store ptr %218, ptr %11, align 8
  %219 = extractvalue { ptr, i32 } %217, 1
  store i32 %219, ptr %12, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #6
  br label %220

220:                                              ; preds = %216, %212
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #6
  br label %257

221:                                              ; preds = %123
  %222 = landingpad { ptr, i32 }
          cleanup
  %223 = extractvalue { ptr, i32 } %222, 0
  store ptr %223, ptr %11, align 8
  %224 = extractvalue { ptr, i32 } %222, 1
  store i32 %224, ptr %12, align 4
  br label %229

225:                                              ; preds = %127, %125, %124
  %226 = landingpad { ptr, i32 }
          cleanup
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %11, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #6
  br label %229

229:                                              ; preds = %225, %221
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #6
  br label %257

230:                                              ; preds = %128
  %231 = landingpad { ptr, i32 }
          cleanup
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %11, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %12, align 4
  br label %238

234:                                              ; preds = %132, %130, %129
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %11, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #6
  br label %238

238:                                              ; preds = %234, %230
  call void @llvm.lifetime.end.p0(i64 32, ptr %42) #6
  br label %257

239:                                              ; preds = %133
  %240 = landingpad { ptr, i32 }
          cleanup
  %241 = extractvalue { ptr, i32 } %240, 0
  store ptr %241, ptr %11, align 8
  %242 = extractvalue { ptr, i32 } %240, 1
  store i32 %242, ptr %12, align 4
  br label %247

243:                                              ; preds = %137, %135, %134
  %244 = landingpad { ptr, i32 }
          cleanup
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %11, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #6
  br label %247

247:                                              ; preds = %243, %239
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #6
  br label %257

248:                                              ; preds = %138
  %249 = landingpad { ptr, i32 }
          cleanup
  %250 = extractvalue { ptr, i32 } %249, 0
  store ptr %250, ptr %11, align 8
  %251 = extractvalue { ptr, i32 } %249, 1
  store i32 %251, ptr %12, align 4
  br label %256

252:                                              ; preds = %144
  %253 = landingpad { ptr, i32 }
          cleanup
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %11, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %12, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #6
  br label %256

256:                                              ; preds = %252, %248
  call void @llvm.lifetime.end.p0(i64 32, ptr %49) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #6
  br label %257

257:                                              ; preds = %256, %247, %238, %229, %220
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %34) #6
  br label %258

258:                                              ; preds = %257, %211
  call void @llvm.lifetime.end.p0(i64 48, ptr %34) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #6
  br label %259

259:                                              ; preds = %258, %202
  call void @llvm.lifetime.end.p0(i64 48, ptr %31) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #6
  br label %260

260:                                              ; preds = %259, %193
  call void @llvm.lifetime.end.p0(i64 48, ptr %28) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #6
  br label %261

261:                                              ; preds = %260, %184
  call void @llvm.lifetime.end.p0(i64 48, ptr %25) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #6
  br label %262

262:                                              ; preds = %261, %175
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #6
  br label %263

263:                                              ; preds = %262, %166
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #6
  br label %264

264:                                              ; preds = %263, %154
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #6
  br label %265

265:                                              ; preds = %264, %150
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #6
  br label %266

266:                                              ; preds = %265, %146
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %13) #6
  br label %267

267:                                              ; preds = %266, %59
  %268 = load ptr, ptr %11, align 8
  %269 = load i32, ptr %12, align 4
  %270 = insertvalue { ptr, i32 } poison, ptr %268, 0
  %271 = insertvalue { ptr, i32 } %270, i32 %269, 1
  resume { ptr, i32 } %271
}

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

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

declare void @_ZNK3jet21CollocatedVectorGrid329parallelForEachDataPointIndexERKSt8functionIFvmmmEE(ptr noundef nonnull align 8 dereferenceable(320), ptr noundef nonnull align 8 dereferenceable(32)) #0

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFvmmmEEC2IZN3jet18FmmLevelSetSolver311extrapolateERKNS3_21CollocatedVectorGrid3ERKNS3_12ScalarField3EdPS5_E3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) 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 @_ZNK3jet5ArrayIdLm3EEcvNS_18ConstArrayAccessorIdLm3EEEEv(ptr dead_on_unwind noalias writable sret(%"class.jet::ConstArrayAccessor") align 8, ptr noundef nonnull align 8 dereferenceable(48)) #4 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFvmmmEEC2IZN3jet18FmmLevelSetSolver311extrapolateERKNS3_21CollocatedVectorGrid3ERKNS3_12ScalarField3EdPS5_E3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) 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::Size3", ptr }
%"class.jet::Size3" = type { i64, i64, i64 }
%"class.jet::Array" = type { %"class.jet::Size3", %"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.17" = 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.31 = type { ptr, ptr, ptr }
%"class.jet::Vector" = type { double, double, double }
%"class.std::function.32" = type { %"class.std::_Function_base", ptr }
%class.anon.34 = type { ptr, ptr, ptr, ptr }
%"class.jet::ArrayAccessor" = type { %"class.jet::Size3", ptr }
%class.anon.35 = type { ptr, ptr, ptr, ptr }

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

declare noundef zeroext i1 @_ZNK3jet5Grid312hasSameShapeERKS0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(128)) 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(24) ptr @_ZNK3jet5Grid311gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3jet6VectorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) 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 @_ZN3jet5ArrayIdLm3EEC2ERKNS_5Size3ERKd(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3jet18FmmLevelSetSolver311extrapolateERKNS_21CollocatedVectorGrid3ERKNS_12ScalarField3EdPS1_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(320) %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::Size3", align 8
  %9 = alloca double, align 8
  %10 = alloca %"class.std::function.17", align 8
  %11 = alloca %class.anon.31, align 8
  %12 = alloca %"class.jet::Vector", align 8
  %13 = alloca %"class.jet::Array", align 8
  %14 = alloca %"class.jet::Size3", align 8
  %15 = alloca double, align 8
  %16 = alloca %"class.jet::Array", align 8
  %17 = alloca %"class.jet::Size3", align 8
  %18 = alloca double, align 8
  %19 = alloca %"class.jet::Array", align 8
  %20 = alloca %"class.jet::Size3", align 8
  %21 = alloca double, align 8
  %22 = alloca %"class.jet::Array", align 8
  %23 = alloca %"class.jet::Size3", align 8
  %24 = alloca double, align 8
  %25 = alloca %"class.jet::Array", align 8
  %26 = alloca %"class.jet::Size3", align 8
  %27 = alloca double, align 8
  %28 = alloca %"class.jet::Array", align 8
  %29 = alloca %"class.jet::Size3", align 8
  %30 = alloca double, align 8
  %31 = alloca %"class.std::function.32", 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.jet::ConstArrayAccessor", align 8
  %40 = alloca %"class.jet::ConstArrayAccessor", align 8
  %41 = alloca %"class.jet::ArrayAccessor", align 8
  %42 = alloca %"class.std::function.32", align 8
  %43 = alloca %class.anon.35, align 8
  store ptr %4, ptr %6, align 8, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %1, i64 8
  %45 = getelementptr inbounds i8, ptr %4, i64 8
  %46 = tail call noundef zeroext i1 @_ZNK3jet5Grid312hasSameShapeERKS0_(ptr noundef nonnull align 8 dereferenceable(128) %44, ptr noundef nonnull align 8 dereferenceable(128) %45)
  br i1 %46, label %52, label %47

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

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

50:                                               ; preds = %47
  %51 = landingpad { ptr, i32 }
          cleanup
  tail call void @__cxa_free_exception(ptr %48) #6
  br label %185

52:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #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
  call void %55(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %8, ptr noundef nonnull align 8 dereferenceable(320) %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 @_ZN3jet5ArrayIdLm3EEC2ERKNS_5Size3ERKd(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 8 dereferenceable(24) %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 24, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #6
  invoke void @_ZNK3jet21CollocatedVectorGrid312dataPositionEv(ptr dead_on_unwind nonnull writable sret(%"class.std::function.17") align 8 %10, ptr noundef nonnull align 8 dereferenceable(320) %1)
          to label %56 unwind label %114

56:                                               ; preds = %52
  store ptr %7, ptr %11, align 8, !tbaa !5
  %57 = getelementptr inbounds i8, ptr %11, i64 8
  store ptr %2, ptr %57, align 8, !tbaa !5
  %58 = getelementptr inbounds i8, ptr %11, i64 16
  store ptr %10, ptr %58, align 8, !tbaa !5
  invoke void @"_ZNK3jet5ArrayIdLm3EE20parallelForEachIndexIZNS_18FmmLevelSetSolver311extrapolateERKNS_21CollocatedVectorGrid3ERKNS_12ScalarField3EdPS4_E3$_2EEvT_"(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull byval(%class.anon.31) align 8 %11)
          to label %59 unwind label %116

59:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #6
  %60 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3jet5Grid311gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(128) %44)
          to label %61 unwind label %118

61:                                               ; preds = %59
  call void @_ZN3jet6VectorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %60)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #6
  %62 = load ptr, ptr %1, align 8, !tbaa !9
  %63 = getelementptr inbounds i8, ptr %62, i64 96
  %64 = load ptr, ptr %63, align 8
  invoke void %64(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %14, ptr noundef nonnull align 8 dereferenceable(320) %1)
          to label %65 unwind label %120

65:                                               ; preds = %61
  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 @_ZN3jet5ArrayIdLm3EEC2ERKNS_5Size3ERKd(ptr noundef nonnull align 8 dereferenceable(48) %13, ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %66 unwind label %122

66:                                               ; preds = %65
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #6
  %67 = load ptr, ptr %1, align 8, !tbaa !9
  %68 = getelementptr inbounds i8, ptr %67, i64 96
  %69 = load ptr, ptr %68, align 8
  invoke void %69(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %17, ptr noundef nonnull align 8 dereferenceable(320) %1)
          to label %70 unwind label %125

70:                                               ; preds = %66
  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 @_ZN3jet5ArrayIdLm3EEC2ERKNS_5Size3ERKd(ptr noundef nonnull align 8 dereferenceable(48) %16, ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %71 unwind label %127

71:                                               ; preds = %70
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %19) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %20) #6
  %72 = load ptr, ptr %1, align 8, !tbaa !9
  %73 = getelementptr inbounds i8, ptr %72, i64 96
  %74 = load ptr, ptr %73, align 8
  invoke void %74(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %20, ptr noundef nonnull align 8 dereferenceable(320) %1)
          to label %75 unwind label %130

75:                                               ; preds = %71
  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 @_ZN3jet5ArrayIdLm3EEC2ERKNS_5Size3ERKd(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %76 unwind label %132

76:                                               ; preds = %75
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %22) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %23) #6
  %77 = load ptr, ptr %1, align 8, !tbaa !9
  %78 = getelementptr inbounds i8, ptr %77, i64 96
  %79 = load ptr, ptr %78, align 8
  invoke void %79(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %23, ptr noundef nonnull align 8 dereferenceable(320) %1)
          to label %80 unwind label %135

80:                                               ; preds = %76
  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 @_ZN3jet5ArrayIdLm3EEC2ERKNS_5Size3ERKd(ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(8) %24)
          to label %81 unwind label %137

81:                                               ; preds = %80
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %25) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %26) #6
  %82 = load ptr, ptr %1, align 8, !tbaa !9
  %83 = getelementptr inbounds i8, ptr %82, i64 96
  %84 = load ptr, ptr %83, align 8
  invoke void %84(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %26, ptr noundef nonnull align 8 dereferenceable(320) %1)
          to label %85 unwind label %140

85:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #6
  store double 0.000000e+00, ptr %27, align 8, !tbaa !11
  invoke void @_ZN3jet5ArrayIdLm3EEC2ERKNS_5Size3ERKd(ptr noundef nonnull align 8 dereferenceable(48) %25, ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(8) %27)
          to label %86 unwind label %142

86:                                               ; preds = %85
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %26) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %28) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %29) #6
  %87 = load ptr, ptr %1, align 8, !tbaa !9
  %88 = getelementptr inbounds i8, ptr %87, i64 96
  %89 = load ptr, ptr %88, align 8
  invoke void %89(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %29, ptr noundef nonnull align 8 dereferenceable(320) %1)
          to label %90 unwind label %145

90:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #6
  store double 0.000000e+00, ptr %30, align 8, !tbaa !11
  invoke void @_ZN3jet5ArrayIdLm3EEC2ERKNS_5Size3ERKd(ptr noundef nonnull align 8 dereferenceable(48) %28, ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(8) %30)
          to label %91 unwind label %147

91:                                               ; preds = %90
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %31) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %32) #6
  store ptr %13, ptr %32, align 8, !tbaa !5
  %92 = getelementptr inbounds i8, ptr %32, i64 8
  store ptr %1, ptr %92, align 8, !tbaa !5
  %93 = getelementptr inbounds i8, ptr %32, i64 16
  store ptr %19, ptr %93, align 8, !tbaa !5
  %94 = getelementptr inbounds i8, ptr %32, i64 24
  store ptr %25, ptr %94, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFvmmmEEC2IZN3jet18FmmLevelSetSolver311extrapolateERKNS3_21CollocatedVectorGrid3ERKNS3_12ScalarField3EdPS5_E3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull align 8 dereferenceable(32) %32)
          to label %95 unwind label %150

95:                                               ; preds = %91
  invoke void @_ZNK3jet21CollocatedVectorGrid329parallelForEachDataPointIndexERKSt8functionIFvmmmEE(ptr noundef nonnull align 8 dereferenceable(320) %1, ptr noundef nonnull align 8 dereferenceable(32) %31)
          to label %96 unwind label %152

96:                                               ; preds = %95
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %32) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %33) #6
  invoke void @_ZNK3jet5ArrayIdLm3EEcvNS_18ConstArrayAccessorIdLm3EEEEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ConstArrayAccessor") align 8 %33, ptr noundef nonnull align 8 dereferenceable(48) %13)
          to label %97 unwind label %155

97:                                               ; preds = %96
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %34) #6
  invoke void @_ZNK3jet5ArrayIdLm3EE13constAccessorEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ConstArrayAccessor") align 8 %34, ptr noundef nonnull align 8 dereferenceable(48) %7)
          to label %98 unwind label %157

98:                                               ; preds = %97
  invoke void @_ZN3jet5ArrayIdLm3EEcvNS_13ArrayAccessorIdLm3EEEEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ArrayAccessor") align 8 %35, ptr noundef nonnull align 8 dereferenceable(48) %16)
          to label %99 unwind label %157

99:                                               ; preds = %98
  invoke void @_ZN3jet18FmmLevelSetSolver311extrapolateERKNS_18ConstArrayAccessorIdLm3EEES4_RKNS_6VectorIdLm3EEEdNS_13ArrayAccessorIdLm3EEE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull align 8 dereferenceable(24) %12, double noundef %3, ptr noundef nonnull %35)
          to label %100 unwind label %157

100:                                              ; preds = %99
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %34) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %36) #6
  invoke void @_ZNK3jet5ArrayIdLm3EEcvNS_18ConstArrayAccessorIdLm3EEEEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ConstArrayAccessor") align 8 %36, ptr noundef nonnull align 8 dereferenceable(48) %19)
          to label %101 unwind label %160

101:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %37) #6
  invoke void @_ZNK3jet5ArrayIdLm3EE13constAccessorEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ConstArrayAccessor") align 8 %37, ptr noundef nonnull align 8 dereferenceable(48) %7)
          to label %102 unwind label %162

102:                                              ; preds = %101
  invoke void @_ZN3jet5ArrayIdLm3EEcvNS_13ArrayAccessorIdLm3EEEEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ArrayAccessor") align 8 %38, ptr noundef nonnull align 8 dereferenceable(48) %22)
          to label %103 unwind label %162

103:                                              ; preds = %102
  invoke void @_ZN3jet18FmmLevelSetSolver311extrapolateERKNS_18ConstArrayAccessorIdLm3EEES4_RKNS_6VectorIdLm3EEEdNS_13ArrayAccessorIdLm3EEE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull align 8 dereferenceable(24) %12, double noundef %3, ptr noundef nonnull %38)
          to label %104 unwind label %162

104:                                              ; preds = %103
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %36) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %39) #6
  invoke void @_ZNK3jet5ArrayIdLm3EEcvNS_18ConstArrayAccessorIdLm3EEEEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ConstArrayAccessor") align 8 %39, ptr noundef nonnull align 8 dereferenceable(48) %25)
          to label %105 unwind label %165

105:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %40) #6
  invoke void @_ZNK3jet5ArrayIdLm3EE13constAccessorEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ConstArrayAccessor") align 8 %40, ptr noundef nonnull align 8 dereferenceable(48) %7)
          to label %106 unwind label %167

106:                                              ; preds = %105
  invoke void @_ZN3jet5ArrayIdLm3EEcvNS_13ArrayAccessorIdLm3EEEEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ArrayAccessor") align 8 %41, ptr noundef nonnull align 8 dereferenceable(48) %28)
          to label %107 unwind label %167

107:                                              ; preds = %106
  invoke void @_ZN3jet18FmmLevelSetSolver311extrapolateERKNS_18ConstArrayAccessorIdLm3EEES4_RKNS_6VectorIdLm3EEEdNS_13ArrayAccessorIdLm3EEE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef nonnull align 8 dereferenceable(24) %12, double noundef %3, ptr noundef nonnull %41)
          to label %108 unwind label %167

108:                                              ; preds = %107
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %40) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %39) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %42) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %43) #6
  store ptr %6, ptr %43, align 8, !tbaa !5
  %109 = getelementptr inbounds i8, ptr %43, i64 8
  store ptr %13, ptr %109, align 8, !tbaa !5
  %110 = getelementptr inbounds i8, ptr %43, i64 16
  store ptr %19, ptr %110, align 8, !tbaa !5
  %111 = getelementptr inbounds i8, ptr %43, i64 24
  store ptr %25, ptr %111, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFvmmmEEC2IZN3jet18FmmLevelSetSolver311extrapolateERKNS3_21CollocatedVectorGrid3ERKNS3_12ScalarField3EdPS5_E3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull align 8 dereferenceable(32) %43)
          to label %112 unwind label %170

112:                                              ; preds = %108
  invoke void @_ZNK3jet21CollocatedVectorGrid329parallelForEachDataPointIndexERKSt8functionIFvmmmEE(ptr noundef nonnull align 8 dereferenceable(320) %4, ptr noundef nonnull align 8 dereferenceable(32) %42)
          to label %113 unwind label %172

113:                                              ; preds = %112
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %43) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %42) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %28) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %25) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %22) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %19) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %16) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 24, 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 @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #6
  ret void

114:                                              ; preds = %52
  %115 = landingpad { ptr, i32 }
          cleanup
  br label %184

116:                                              ; preds = %56
  %117 = landingpad { ptr, i32 }
          cleanup
  br label %183

118:                                              ; preds = %59
  %119 = landingpad { ptr, i32 }
          cleanup
  br label %182

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

122:                                              ; preds = %65
  %123 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  br label %124

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

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

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

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

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

132:                                              ; preds = %75
  %133 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #6
  br label %134

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

135:                                              ; preds = %76
  %136 = landingpad { ptr, i32 }
          cleanup
  br label %139

137:                                              ; preds = %80
  %138 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #6
  br label %139

139:                                              ; preds = %137, %135
  %.pn45 = phi { ptr, i32 } [ %138, %137 ], [ %136, %135 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #6
  br label %178

140:                                              ; preds = %81
  %141 = landingpad { ptr, i32 }
          cleanup
  br label %144

142:                                              ; preds = %85
  %143 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #6
  br label %144

144:                                              ; preds = %142, %140
  %.pn47 = phi { ptr, i32 } [ %143, %142 ], [ %141, %140 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %26) #6
  br label %177

145:                                              ; preds = %86
  %146 = landingpad { ptr, i32 }
          cleanup
  br label %149

147:                                              ; preds = %90
  %148 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #6
  br label %149

149:                                              ; preds = %147, %145
  %.pn49 = phi { ptr, i32 } [ %148, %147 ], [ %146, %145 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #6
  br label %176

150:                                              ; preds = %91
  %151 = landingpad { ptr, i32 }
          cleanup
  br label %154

152:                                              ; preds = %95
  %153 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #6
  br label %154

154:                                              ; preds = %152, %150
  %.pn51 = phi { ptr, i32 } [ %153, %152 ], [ %151, %150 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %32) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #6
  br label %175

155:                                              ; preds = %96
  %156 = landingpad { ptr, i32 }
          cleanup
  br label %159

157:                                              ; preds = %99, %98, %97
  %158 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %34) #6
  br label %159

159:                                              ; preds = %157, %155
  %.pn53 = phi { ptr, i32 } [ %158, %157 ], [ %156, %155 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #6
  br label %175

160:                                              ; preds = %100
  %161 = landingpad { ptr, i32 }
          cleanup
  br label %164

162:                                              ; preds = %103, %102, %101
  %163 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #6
  br label %164

164:                                              ; preds = %162, %160
  %.pn55 = phi { ptr, i32 } [ %163, %162 ], [ %161, %160 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %36) #6
  br label %175

165:                                              ; preds = %104
  %166 = landingpad { ptr, i32 }
          cleanup
  br label %169

167:                                              ; preds = %107, %106, %105
  %168 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %40) #6
  br label %169

169:                                              ; preds = %167, %165
  %.pn57 = phi { ptr, i32 } [ %168, %167 ], [ %166, %165 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %39) #6
  br label %175

170:                                              ; preds = %108
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %174

172:                                              ; preds = %112
  %173 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #6
  br label %174

174:                                              ; preds = %172, %170
  %.pn59 = phi { ptr, i32 } [ %173, %172 ], [ %171, %170 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %43) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %42) #6
  br label %175

175:                                              ; preds = %174, %169, %164, %159, %154
  %.pn59.pn = phi { ptr, i32 } [ %.pn59, %174 ], [ %.pn57, %169 ], [ %.pn55, %164 ], [ %.pn53, %159 ], [ %.pn51, %154 ]
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #6
  br label %176

176:                                              ; preds = %175, %149
  %.pn59.pn.pn = phi { ptr, i32 } [ %.pn59.pn, %175 ], [ %.pn49, %149 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %28) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #6
  br label %177

177:                                              ; preds = %176, %144
  %.pn59.pn.pn.pn = phi { ptr, i32 } [ %.pn59.pn.pn, %176 ], [ %.pn47, %144 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %25) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #6
  br label %178

178:                                              ; preds = %177, %139
  %.pn59.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn59.pn.pn.pn, %177 ], [ %.pn45, %139 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %22) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #6
  br label %179

179:                                              ; preds = %178, %134
  %.pn59.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn59.pn.pn.pn.pn, %178 ], [ %.pn43, %134 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %19) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #6
  br label %180

180:                                              ; preds = %179, %129
  %.pn59.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn59.pn.pn.pn.pn.pn, %179 ], [ %.pn41, %129 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %16) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #6
  br label %181

181:                                              ; preds = %180, %124
  %.pn59.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn59.pn.pn.pn.pn.pn.pn, %180 ], [ %.pn, %124 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #6
  br label %182

182:                                              ; preds = %181, %118
  %.pn59.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn59.pn.pn.pn.pn.pn.pn.pn, %181 ], [ %119, %118 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #6
  br label %183

183:                                              ; preds = %182, %116
  %.pn59.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn59.pn.pn.pn.pn.pn.pn.pn.pn, %182 ], [ %117, %116 ]
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  br label %184

184:                                              ; preds = %183, %114
  %.pn59.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn59.pn.pn.pn.pn.pn.pn.pn.pn.pn, %183 ], [ %115, %114 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #6
  br label %185

185:                                              ; preds = %184, %50
  %.pn59.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn59.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %184 ], [ %51, %50 ]
  resume { ptr, i32 } %.pn59.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFvmmmEEC2IZN3jet18FmmLevelSetSolver311extrapolateERKNS3_21CollocatedVectorGrid3ERKNS3_12ScalarField3EdPS5_E3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) 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 @_ZNK3jet5ArrayIdLm3EEcvNS_18ConstArrayAccessorIdLm3EEEEv(ptr dead_on_unwind noalias writable sret(%"class.jet::ConstArrayAccessor") align 8, ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFvmmmEEC2IZN3jet18FmmLevelSetSolver311extrapolateERKNS3_21CollocatedVectorGrid3ERKNS3_12ScalarField3EdPS5_E3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) 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