; 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::Size3" = type { i64, i64, i64 }
%"class.jet::Vector" = type { double, double, double }
%"class.jet::Array.0" = type { %"class.jet::Size3", %"class.std::vector.1" }
%"class.std::vector.1" = type { %"struct.std::_Vector_base.2" }
%"struct.std::_Vector_base.2" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.jet::ArrayAccessor" = type { %"class.jet::Size3", ptr }
%class.anon = type { ptr, ptr }
%class.anon.6 = type { ptr, ptr, ptr, ptr, ptr, ptr }
%class.anon.7 = type { ptr, ptr, ptr, ptr, ptr, ptr }
%class.anon.8 = type { ptr, ptr }
%class.anon.9 = type { ptr }
%"class.std::priority_queue" = type { %"class.std::vector.10", %class.anon.9 }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<jet::Point<unsigned long, 3>, std::allocator<jet::Point<unsigned long, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::Point<unsigned long, 3>, std::allocator<jet::Point<unsigned long, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::Point<unsigned long, 3>, std::allocator<jet::Point<unsigned long, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::Point<unsigned long, 3>, std::allocator<jet::Point<unsigned long, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.anon.15 = type { ptr, ptr, ptr }
%"class.jet::Point" = type { i64, i64, i64 }
%class.anon.16 = type { ptr }

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3jet18FmmLevelSetSolver312reinitializeERKNS_11ScalarGrid3EdPS1_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(320) %1, double noundef %2, ptr noundef %3) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca double, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.jet::Size3", align 8
  %12 = alloca %"class.jet::Vector", align 8
  %13 = alloca %"class.jet::Vector", align 8
  %14 = alloca %"class.jet::Vector", align 8
  %15 = alloca %"class.jet::Array.0", align 8
  %16 = alloca i8, align 1
  %17 = alloca %"class.jet::ArrayAccessor", align 8
  %18 = alloca %class.anon, align 8
  %19 = alloca %class.anon.6, align 8
  %20 = alloca %class.anon.7, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca %class.anon.8, align 8
  %24 = alloca %class.anon.9, align 8
  %25 = alloca %"class.std::priority_queue", align 8
  %26 = alloca %"class.std::vector.10", align 8
  %27 = alloca %class.anon.15, align 8
  %28 = alloca %"class.jet::Point", align 8
  %29 = alloca i64, align 8
  %30 = alloca i64, align 8
  %31 = alloca i64, align 8
  %32 = alloca %"class.jet::ArrayAccessor", align 8
  %33 = alloca %"class.jet::ArrayAccessor", align 8
  %34 = alloca %"class.jet::Point", align 8
  %35 = alloca %"class.jet::ArrayAccessor", align 8
  %36 = alloca %"class.jet::Point", align 8
  %37 = alloca %"class.jet::ArrayAccessor", align 8
  %38 = alloca %"class.jet::Point", align 8
  %39 = alloca %"class.jet::ArrayAccessor", align 8
  %40 = alloca %"class.jet::Point", align 8
  %41 = alloca %"class.jet::ArrayAccessor", align 8
  %42 = alloca %"class.jet::Point", align 8
  %43 = alloca %"class.jet::ArrayAccessor", align 8
  %44 = alloca %"class.jet::Point", align 8
  %45 = alloca %class.anon.16, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store double %2, ptr %7, align 8, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !5
  %46 = load ptr, ptr %5, align 8
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = getelementptr inbounds i8, ptr %47, i64 8
  %49 = load ptr, ptr %8, align 8, !tbaa !5
  %50 = getelementptr inbounds i8, ptr %49, i64 8
  %51 = call noundef zeroext i1 @_ZNK3jet5Grid312hasSameShapeERKS0_(ptr noundef nonnull align 8 dereferenceable(128) %48, ptr noundef nonnull align 8 dereferenceable(128) %50)
  br i1 %51, label %59, label %52

52:                                               ; preds = %4
  %53 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt16invalid_argumentC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %53, ptr noundef @.str)
          to label %54 unwind label %55

54:                                               ; preds = %52
  call void @__cxa_throw(ptr %53, ptr @_ZTISt16invalid_argument, ptr @_ZNSt16invalid_argumentD1Ev) #9
  unreachable

55:                                               ; preds = %52
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %9, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %10, align 4
  call void @__cxa_free_exception(ptr %53) #8
  br label %467

59:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #8
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  %61 = load ptr, ptr %60, align 8, !tbaa !11
  %62 = getelementptr inbounds ptr, ptr %61, i64 6
  %63 = load ptr, ptr %62, align 8
  call void %63(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %11, ptr noundef nonnull align 8 dereferenceable(320) %60)
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #8
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = getelementptr inbounds i8, ptr %64, i64 8
  %66 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3jet5Grid311gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(128) %65)
  call void @_ZN3jet6VectorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %66)
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #8
  call void @_ZN3jetdvIdEENS_6VectorIT_Lm3EEES2_RKS3_(ptr dead_on_unwind writable sret(%"class.jet::Vector") align 8 %13, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(24) %12)
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #8
  call void @_ZN3jetmlIdEENS_6VectorIT_Lm3EEERKS3_S5_(ptr dead_on_unwind writable sret(%"class.jet::Vector") align 8 %14, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %13)
  call void @llvm.lifetime.start.p0(i64 48, ptr %15) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #8
  store i8 0, ptr %16, align 1, !tbaa !13
  call void @_ZN3jet5ArrayIcLm3EEC2ERKNS_5Size3ERKc(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 1 dereferenceable(1) %16)
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #8
  %67 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN3jet11ScalarGrid312dataAccessorEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor") align 8 %17, ptr noundef nonnull align 8 dereferenceable(320) %67)
          to label %68 unwind label %97

68:                                               ; preds = %59
  %69 = getelementptr inbounds %class.anon, ptr %18, i32 0, i32 0
  store ptr %17, ptr %69, align 8, !tbaa !5
  %70 = getelementptr inbounds %class.anon, ptr %18, i32 0, i32 1
  %71 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %71, ptr %70, align 8, !tbaa !5
  %72 = getelementptr inbounds { ptr, ptr }, ptr %18, i32 0, i32 0
  %73 = load ptr, ptr %72, align 8
  %74 = getelementptr inbounds { ptr, ptr }, ptr %18, i32 0, i32 1
  %75 = load ptr, ptr %74, align 8
  invoke void @"_ZNK3jet5ArrayIcLm3EE20parallelForEachIndexIZNS_18FmmLevelSetSolver312reinitializeERKNS_11ScalarGrid3EdPS4_E3$_0EEvT_"(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr %73, ptr %75)
          to label %76 unwind label %97

76:                                               ; preds = %68
  %77 = getelementptr inbounds %class.anon.6, ptr %19, i32 0, i32 0
  store ptr %17, ptr %77, align 8, !tbaa !5
  %78 = getelementptr inbounds %class.anon.6, ptr %19, i32 0, i32 1
  store ptr %11, ptr %78, align 8, !tbaa !5
  %79 = getelementptr inbounds %class.anon.6, ptr %19, i32 0, i32 2
  store ptr %15, ptr %79, align 8, !tbaa !5
  %80 = getelementptr inbounds %class.anon.6, ptr %19, i32 0, i32 3
  %81 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %81, ptr %80, align 8, !tbaa !5
  %82 = getelementptr inbounds %class.anon.6, ptr %19, i32 0, i32 4
  store ptr %12, ptr %82, align 8, !tbaa !5
  %83 = getelementptr inbounds %class.anon.6, ptr %19, i32 0, i32 5
  store ptr %14, ptr %83, align 8, !tbaa !5
  invoke void @"_ZNK3jet5ArrayIcLm3EE12forEachIndexIZNS_18FmmLevelSetSolver312reinitializeERKNS_11ScalarGrid3EdPS4_E3$_1EEvT_"(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef byval(%class.anon.6) align 8 %19)
          to label %84 unwind label %97

84:                                               ; preds = %76
  %85 = getelementptr inbounds %class.anon.7, ptr %20, i32 0, i32 0
  store ptr %17, ptr %85, align 8, !tbaa !5
  %86 = getelementptr inbounds %class.anon.7, ptr %20, i32 0, i32 1
  store ptr %11, ptr %86, align 8, !tbaa !5
  %87 = getelementptr inbounds %class.anon.7, ptr %20, i32 0, i32 2
  store ptr %15, ptr %87, align 8, !tbaa !5
  %88 = getelementptr inbounds %class.anon.7, ptr %20, i32 0, i32 3
  %89 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %89, ptr %88, align 8, !tbaa !5
  %90 = getelementptr inbounds %class.anon.7, ptr %20, i32 0, i32 4
  store ptr %12, ptr %90, align 8, !tbaa !5
  %91 = getelementptr inbounds %class.anon.7, ptr %20, i32 0, i32 5
  store ptr %14, ptr %91, align 8, !tbaa !5
  invoke void @"_ZNK3jet5ArrayIcLm3EE12forEachIndexIZNS_18FmmLevelSetSolver312reinitializeERKNS_11ScalarGrid3EdPS4_E3$_2EEvT_"(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef byval(%class.anon.7) align 8 %20)
          to label %92 unwind label %97

92:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  store i32 0, ptr %21, align 4, !tbaa !14
  br label %93

93:                                               ; preds = %459, %92
  %94 = load i32, ptr %21, align 4, !tbaa !14
  %95 = icmp slt i32 %94, 2
  br i1 %95, label %101, label %96

96:                                               ; preds = %93
  store i32 2, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  br label %465

97:                                               ; preds = %84, %76, %68, %59
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %9, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %10, align 4
  br label %466

101:                                              ; preds = %93
  %102 = getelementptr inbounds %class.anon.8, ptr %23, i32 0, i32 0
  store ptr %17, ptr %102, align 8, !tbaa !5
  %103 = getelementptr inbounds %class.anon.8, ptr %23, i32 0, i32 1
  store ptr %15, ptr %103, align 8, !tbaa !5
  %104 = getelementptr inbounds { ptr, ptr }, ptr %23, i32 0, i32 0
  %105 = load ptr, ptr %104, align 8
  %106 = getelementptr inbounds { ptr, ptr }, ptr %23, i32 0, i32 1
  %107 = load ptr, ptr %106, align 8
  invoke void @"_ZNK3jet5ArrayIcLm3EE20parallelForEachIndexIZNS_18FmmLevelSetSolver312reinitializeERKNS_11ScalarGrid3EdPS4_E3$_3EEvT_"(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr %105, ptr %107)
          to label %108 unwind label %155

108:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %109 = getelementptr inbounds %class.anon.9, ptr %24, i32 0, i32 0
  store ptr %17, ptr %109, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #8
  call void @llvm.memset.p0.i64(ptr align 8 %26, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIN3jet5PointImLm3EEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #8
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4EC2ERKSB_OS5_"(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %110 unwind label %159

110:                                              ; preds = %108
  call void @_ZNSt6vectorIN3jet5PointImLm3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #8
  %111 = getelementptr inbounds %class.anon.15, ptr %27, i32 0, i32 0
  store ptr %15, ptr %111, align 8, !tbaa !5
  %112 = getelementptr inbounds %class.anon.15, ptr %27, i32 0, i32 1
  store ptr %11, ptr %112, align 8, !tbaa !5
  %113 = getelementptr inbounds %class.anon.15, ptr %27, i32 0, i32 2
  store ptr %25, ptr %113, align 8, !tbaa !5
  invoke void @"_ZNK3jet5ArrayIcLm3EE12forEachIndexIZNS_18FmmLevelSetSolver312reinitializeERKNS_11ScalarGrid3EdPS4_E3$_5EEvT_"(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef byval(%class.anon.15) align 8 %27)
          to label %114 unwind label %163

114:                                              ; preds = %110
  br label %115

115:                                              ; preds = %451, %114
  %116 = invoke noundef zeroext i1 @"_ZNKSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4E5emptyEv"(ptr noundef nonnull align 8 dereferenceable(32) %25)
          to label %117 unwind label %163

117:                                              ; preds = %115
  %118 = xor i1 %116, true
  br i1 %118, label %119, label %454

119:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #8
  %120 = invoke noundef nonnull align 8 dereferenceable(24) ptr @"_ZNKSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4E3topEv"(ptr noundef nonnull align 8 dereferenceable(32) %25)
          to label %121 unwind label %167

121:                                              ; preds = %119
  invoke void @_ZN3jet5PointImLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 8 dereferenceable(24) %120)
          to label %122 unwind label %167

122:                                              ; preds = %121
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4E3popEv"(ptr noundef nonnull align 8 dereferenceable(32) %25)
          to label %123 unwind label %167

123:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %124 = getelementptr inbounds %"class.jet::Point", ptr %28, i32 0, i32 0
  %125 = load i64, ptr %124, align 8, !tbaa !16
  store i64 %125, ptr %29, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %126 = getelementptr inbounds %"class.jet::Point", ptr %28, i32 0, i32 1
  %127 = load i64, ptr %126, align 8, !tbaa !20
  store i64 %127, ptr %30, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %128 = getelementptr inbounds %"class.jet::Point", ptr %28, i32 0, i32 2
  %129 = load i64, ptr %128, align 8, !tbaa !21
  store i64 %129, ptr %31, align 8, !tbaa !19
  %130 = load i64, ptr %29, align 8, !tbaa !19
  %131 = load i64, ptr %30, align 8, !tbaa !19
  %132 = load i64, ptr %31, align 8, !tbaa !19
  %133 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %130, i64 noundef %131, i64 noundef %132)
          to label %134 unwind label %171

134:                                              ; preds = %123
  store i8 1, ptr %133, align 1, !tbaa !13
  invoke void @_ZN3jet13ArrayAccessorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %135 unwind label %171

135:                                              ; preds = %134
  %136 = load i64, ptr %29, align 8, !tbaa !19
  %137 = load i64, ptr %30, align 8, !tbaa !19
  %138 = load i64, ptr %31, align 8, !tbaa !19
  %139 = invoke noundef double @_Z9solveQuadRKN3jet5ArrayIcLm3EEENS_13ArrayAccessorIdLm3EEERKNS_6VectorIdLm3EEES9_mmm(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef %32, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %136, i64 noundef %137, i64 noundef %138)
          to label %140 unwind label %171

140:                                              ; preds = %135
  %141 = load i64, ptr %29, align 8, !tbaa !19
  %142 = load i64, ptr %30, align 8, !tbaa !19
  %143 = load i64, ptr %31, align 8, !tbaa !19
  %144 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %17, i64 noundef %141, i64 noundef %142, i64 noundef %143)
          to label %145 unwind label %171

145:                                              ; preds = %140
  store double %139, ptr %144, align 8, !tbaa !9
  %146 = load i64, ptr %29, align 8, !tbaa !19
  %147 = load i64, ptr %30, align 8, !tbaa !19
  %148 = load i64, ptr %31, align 8, !tbaa !19
  %149 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %17, i64 noundef %146, i64 noundef %147, i64 noundef %148)
          to label %150 unwind label %171

150:                                              ; preds = %145
  %151 = load double, ptr %149, align 8, !tbaa !9
  %152 = load double, ptr %7, align 8, !tbaa !9
  %153 = fcmp ogt double %151, %152
  br i1 %153, label %154, label %175

154:                                              ; preds = %150
  store i32 6, ptr %22, align 4
  br label %449

155:                                              ; preds = %101
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %9, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %10, align 4
  br label %464

159:                                              ; preds = %108
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %9, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %10, align 4
  call void @_ZNSt6vectorIN3jet5PointImLm3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #8
  br label %463

163:                                              ; preds = %454, %115, %110
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %9, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %10, align 4
  br label %462

167:                                              ; preds = %122, %121, %119
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %9, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %10, align 4
  br label %453

171:                                              ; preds = %430, %424, %423, %417, %407, %383, %377, %376, %370, %360, %339, %333, %332, %326, %316, %292, %286, %285, %279, %269, %248, %242, %241, %235, %225, %201, %195, %194, %188, %178, %145, %140, %135, %134, %123
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %9, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %10, align 4
  br label %452

175:                                              ; preds = %150
  %176 = load i64, ptr %29, align 8, !tbaa !19
  %177 = icmp ugt i64 %176, 0
  br i1 %177, label %178, label %219

178:                                              ; preds = %175
  %179 = load i64, ptr %29, align 8, !tbaa !19
  %180 = sub i64 %179, 1
  %181 = load i64, ptr %30, align 8, !tbaa !19
  %182 = load i64, ptr %31, align 8, !tbaa !19
  %183 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %180, i64 noundef %181, i64 noundef %182)
          to label %184 unwind label %171

184:                                              ; preds = %178
  %185 = load i8, ptr %183, align 1, !tbaa !13
  %186 = sext i8 %185 to i32
  %187 = icmp eq i32 %186, 0
  br i1 %187, label %188, label %218

188:                                              ; preds = %184
  %189 = load i64, ptr %29, align 8, !tbaa !19
  %190 = sub i64 %189, 1
  %191 = load i64, ptr %30, align 8, !tbaa !19
  %192 = load i64, ptr %31, align 8, !tbaa !19
  %193 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %190, i64 noundef %191, i64 noundef %192)
          to label %194 unwind label %171

194:                                              ; preds = %188
  store i8 2, ptr %193, align 1, !tbaa !13
  invoke void @_ZN3jet13ArrayAccessorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %195 unwind label %171

195:                                              ; preds = %194
  %196 = load i64, ptr %29, align 8, !tbaa !19
  %197 = sub i64 %196, 1
  %198 = load i64, ptr %30, align 8, !tbaa !19
  %199 = load i64, ptr %31, align 8, !tbaa !19
  %200 = invoke noundef double @_Z9solveQuadRKN3jet5ArrayIcLm3EEENS_13ArrayAccessorIdLm3EEERKNS_6VectorIdLm3EEES9_mmm(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef %33, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %197, i64 noundef %198, i64 noundef %199)
          to label %201 unwind label %171

201:                                              ; preds = %195
  %202 = load i64, ptr %29, align 8, !tbaa !19
  %203 = sub i64 %202, 1
  %204 = load i64, ptr %30, align 8, !tbaa !19
  %205 = load i64, ptr %31, align 8, !tbaa !19
  %206 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %17, i64 noundef %203, i64 noundef %204, i64 noundef %205)
          to label %207 unwind label %171

207:                                              ; preds = %201
  store double %200, ptr %206, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %34) #8
  %208 = load i64, ptr %29, align 8, !tbaa !19
  %209 = sub i64 %208, 1
  %210 = load i64, ptr %30, align 8, !tbaa !19
  %211 = load i64, ptr %31, align 8, !tbaa !19
  invoke void @_ZN3jet5PointImLm3EEC2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %209, i64 noundef %210, i64 noundef %211)
          to label %212 unwind label %214

212:                                              ; preds = %207
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4E4pushEOS2_"(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(24) %34)
          to label %213 unwind label %214

213:                                              ; preds = %212
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #8
  br label %218

214:                                              ; preds = %212, %207
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %9, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #8
  br label %452

218:                                              ; preds = %213, %184
  br label %219

219:                                              ; preds = %218, %175
  %220 = load i64, ptr %29, align 8, !tbaa !19
  %221 = add i64 %220, 1
  %222 = getelementptr inbounds %"class.jet::Size3", ptr %11, i32 0, i32 0
  %223 = load i64, ptr %222, align 8, !tbaa !22
  %224 = icmp ult i64 %221, %223
  br i1 %224, label %225, label %266

225:                                              ; preds = %219
  %226 = load i64, ptr %29, align 8, !tbaa !19
  %227 = add i64 %226, 1
  %228 = load i64, ptr %30, align 8, !tbaa !19
  %229 = load i64, ptr %31, align 8, !tbaa !19
  %230 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %227, i64 noundef %228, i64 noundef %229)
          to label %231 unwind label %171

231:                                              ; preds = %225
  %232 = load i8, ptr %230, align 1, !tbaa !13
  %233 = sext i8 %232 to i32
  %234 = icmp eq i32 %233, 0
  br i1 %234, label %235, label %265

235:                                              ; preds = %231
  %236 = load i64, ptr %29, align 8, !tbaa !19
  %237 = add i64 %236, 1
  %238 = load i64, ptr %30, align 8, !tbaa !19
  %239 = load i64, ptr %31, align 8, !tbaa !19
  %240 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %237, i64 noundef %238, i64 noundef %239)
          to label %241 unwind label %171

241:                                              ; preds = %235
  store i8 2, ptr %240, align 1, !tbaa !13
  invoke void @_ZN3jet13ArrayAccessorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %242 unwind label %171

242:                                              ; preds = %241
  %243 = load i64, ptr %29, align 8, !tbaa !19
  %244 = add i64 %243, 1
  %245 = load i64, ptr %30, align 8, !tbaa !19
  %246 = load i64, ptr %31, align 8, !tbaa !19
  %247 = invoke noundef double @_Z9solveQuadRKN3jet5ArrayIcLm3EEENS_13ArrayAccessorIdLm3EEERKNS_6VectorIdLm3EEES9_mmm(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef %35, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %244, i64 noundef %245, i64 noundef %246)
          to label %248 unwind label %171

248:                                              ; preds = %242
  %249 = load i64, ptr %29, align 8, !tbaa !19
  %250 = add i64 %249, 1
  %251 = load i64, ptr %30, align 8, !tbaa !19
  %252 = load i64, ptr %31, align 8, !tbaa !19
  %253 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %17, i64 noundef %250, i64 noundef %251, i64 noundef %252)
          to label %254 unwind label %171

254:                                              ; preds = %248
  store double %247, ptr %253, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %36) #8
  %255 = load i64, ptr %29, align 8, !tbaa !19
  %256 = add i64 %255, 1
  %257 = load i64, ptr %30, align 8, !tbaa !19
  %258 = load i64, ptr %31, align 8, !tbaa !19
  invoke void @_ZN3jet5PointImLm3EEC2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %256, i64 noundef %257, i64 noundef %258)
          to label %259 unwind label %261

259:                                              ; preds = %254
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4E4pushEOS2_"(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(24) %36)
          to label %260 unwind label %261

260:                                              ; preds = %259
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #8
  br label %265

261:                                              ; preds = %259, %254
  %262 = landingpad { ptr, i32 }
          cleanup
  %263 = extractvalue { ptr, i32 } %262, 0
  store ptr %263, ptr %9, align 8
  %264 = extractvalue { ptr, i32 } %262, 1
  store i32 %264, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #8
  br label %452

265:                                              ; preds = %260, %231
  br label %266

266:                                              ; preds = %265, %219
  %267 = load i64, ptr %30, align 8, !tbaa !19
  %268 = icmp ugt i64 %267, 0
  br i1 %268, label %269, label %310

269:                                              ; preds = %266
  %270 = load i64, ptr %29, align 8, !tbaa !19
  %271 = load i64, ptr %30, align 8, !tbaa !19
  %272 = sub i64 %271, 1
  %273 = load i64, ptr %31, align 8, !tbaa !19
  %274 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %270, i64 noundef %272, i64 noundef %273)
          to label %275 unwind label %171

275:                                              ; preds = %269
  %276 = load i8, ptr %274, align 1, !tbaa !13
  %277 = sext i8 %276 to i32
  %278 = icmp eq i32 %277, 0
  br i1 %278, label %279, label %309

279:                                              ; preds = %275
  %280 = load i64, ptr %29, align 8, !tbaa !19
  %281 = load i64, ptr %30, align 8, !tbaa !19
  %282 = sub i64 %281, 1
  %283 = load i64, ptr %31, align 8, !tbaa !19
  %284 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %280, i64 noundef %282, i64 noundef %283)
          to label %285 unwind label %171

285:                                              ; preds = %279
  store i8 2, ptr %284, align 1, !tbaa !13
  invoke void @_ZN3jet13ArrayAccessorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %286 unwind label %171

286:                                              ; preds = %285
  %287 = load i64, ptr %29, align 8, !tbaa !19
  %288 = load i64, ptr %30, align 8, !tbaa !19
  %289 = sub i64 %288, 1
  %290 = load i64, ptr %31, align 8, !tbaa !19
  %291 = invoke noundef double @_Z9solveQuadRKN3jet5ArrayIcLm3EEENS_13ArrayAccessorIdLm3EEERKNS_6VectorIdLm3EEES9_mmm(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef %37, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %287, i64 noundef %289, i64 noundef %290)
          to label %292 unwind label %171

292:                                              ; preds = %286
  %293 = load i64, ptr %29, align 8, !tbaa !19
  %294 = load i64, ptr %30, align 8, !tbaa !19
  %295 = sub i64 %294, 1
  %296 = load i64, ptr %31, align 8, !tbaa !19
  %297 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %17, i64 noundef %293, i64 noundef %295, i64 noundef %296)
          to label %298 unwind label %171

298:                                              ; preds = %292
  store double %291, ptr %297, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %38) #8
  %299 = load i64, ptr %29, align 8, !tbaa !19
  %300 = load i64, ptr %30, align 8, !tbaa !19
  %301 = sub i64 %300, 1
  %302 = load i64, ptr %31, align 8, !tbaa !19
  invoke void @_ZN3jet5PointImLm3EEC2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %299, i64 noundef %301, i64 noundef %302)
          to label %303 unwind label %305

303:                                              ; preds = %298
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4E4pushEOS2_"(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(24) %38)
          to label %304 unwind label %305

304:                                              ; preds = %303
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #8
  br label %309

305:                                              ; preds = %303, %298
  %306 = landingpad { ptr, i32 }
          cleanup
  %307 = extractvalue { ptr, i32 } %306, 0
  store ptr %307, ptr %9, align 8
  %308 = extractvalue { ptr, i32 } %306, 1
  store i32 %308, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #8
  br label %452

309:                                              ; preds = %304, %275
  br label %310

310:                                              ; preds = %309, %266
  %311 = load i64, ptr %30, align 8, !tbaa !19
  %312 = add i64 %311, 1
  %313 = getelementptr inbounds %"class.jet::Size3", ptr %11, i32 0, i32 1
  %314 = load i64, ptr %313, align 8, !tbaa !24
  %315 = icmp ult i64 %312, %314
  br i1 %315, label %316, label %357

316:                                              ; preds = %310
  %317 = load i64, ptr %29, align 8, !tbaa !19
  %318 = load i64, ptr %30, align 8, !tbaa !19
  %319 = add i64 %318, 1
  %320 = load i64, ptr %31, align 8, !tbaa !19
  %321 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %317, i64 noundef %319, i64 noundef %320)
          to label %322 unwind label %171

322:                                              ; preds = %316
  %323 = load i8, ptr %321, align 1, !tbaa !13
  %324 = sext i8 %323 to i32
  %325 = icmp eq i32 %324, 0
  br i1 %325, label %326, label %356

326:                                              ; preds = %322
  %327 = load i64, ptr %29, align 8, !tbaa !19
  %328 = load i64, ptr %30, align 8, !tbaa !19
  %329 = add i64 %328, 1
  %330 = load i64, ptr %31, align 8, !tbaa !19
  %331 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %327, i64 noundef %329, i64 noundef %330)
          to label %332 unwind label %171

332:                                              ; preds = %326
  store i8 2, ptr %331, align 1, !tbaa !13
  invoke void @_ZN3jet13ArrayAccessorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %333 unwind label %171

333:                                              ; preds = %332
  %334 = load i64, ptr %29, align 8, !tbaa !19
  %335 = load i64, ptr %30, align 8, !tbaa !19
  %336 = add i64 %335, 1
  %337 = load i64, ptr %31, align 8, !tbaa !19
  %338 = invoke noundef double @_Z9solveQuadRKN3jet5ArrayIcLm3EEENS_13ArrayAccessorIdLm3EEERKNS_6VectorIdLm3EEES9_mmm(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef %39, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %334, i64 noundef %336, i64 noundef %337)
          to label %339 unwind label %171

339:                                              ; preds = %333
  %340 = load i64, ptr %29, align 8, !tbaa !19
  %341 = load i64, ptr %30, align 8, !tbaa !19
  %342 = add i64 %341, 1
  %343 = load i64, ptr %31, align 8, !tbaa !19
  %344 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %17, i64 noundef %340, i64 noundef %342, i64 noundef %343)
          to label %345 unwind label %171

345:                                              ; preds = %339
  store double %338, ptr %344, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %40) #8
  %346 = load i64, ptr %29, align 8, !tbaa !19
  %347 = load i64, ptr %30, align 8, !tbaa !19
  %348 = add i64 %347, 1
  %349 = load i64, ptr %31, align 8, !tbaa !19
  invoke void @_ZN3jet5PointImLm3EEC2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef %346, i64 noundef %348, i64 noundef %349)
          to label %350 unwind label %352

350:                                              ; preds = %345
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4E4pushEOS2_"(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(24) %40)
          to label %351 unwind label %352

351:                                              ; preds = %350
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #8
  br label %356

352:                                              ; preds = %350, %345
  %353 = landingpad { ptr, i32 }
          cleanup
  %354 = extractvalue { ptr, i32 } %353, 0
  store ptr %354, ptr %9, align 8
  %355 = extractvalue { ptr, i32 } %353, 1
  store i32 %355, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #8
  br label %452

356:                                              ; preds = %351, %322
  br label %357

357:                                              ; preds = %356, %310
  %358 = load i64, ptr %31, align 8, !tbaa !19
  %359 = icmp ugt i64 %358, 0
  br i1 %359, label %360, label %401

360:                                              ; preds = %357
  %361 = load i64, ptr %29, align 8, !tbaa !19
  %362 = load i64, ptr %30, align 8, !tbaa !19
  %363 = load i64, ptr %31, align 8, !tbaa !19
  %364 = sub i64 %363, 1
  %365 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %361, i64 noundef %362, i64 noundef %364)
          to label %366 unwind label %171

366:                                              ; preds = %360
  %367 = load i8, ptr %365, align 1, !tbaa !13
  %368 = sext i8 %367 to i32
  %369 = icmp eq i32 %368, 0
  br i1 %369, label %370, label %400

370:                                              ; preds = %366
  %371 = load i64, ptr %29, align 8, !tbaa !19
  %372 = load i64, ptr %30, align 8, !tbaa !19
  %373 = load i64, ptr %31, align 8, !tbaa !19
  %374 = sub i64 %373, 1
  %375 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %371, i64 noundef %372, i64 noundef %374)
          to label %376 unwind label %171

376:                                              ; preds = %370
  store i8 2, ptr %375, align 1, !tbaa !13
  invoke void @_ZN3jet13ArrayAccessorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %377 unwind label %171

377:                                              ; preds = %376
  %378 = load i64, ptr %29, align 8, !tbaa !19
  %379 = load i64, ptr %30, align 8, !tbaa !19
  %380 = load i64, ptr %31, align 8, !tbaa !19
  %381 = sub i64 %380, 1
  %382 = invoke noundef double @_Z9solveQuadRKN3jet5ArrayIcLm3EEENS_13ArrayAccessorIdLm3EEERKNS_6VectorIdLm3EEES9_mmm(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef %41, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %378, i64 noundef %379, i64 noundef %381)
          to label %383 unwind label %171

383:                                              ; preds = %377
  %384 = load i64, ptr %29, align 8, !tbaa !19
  %385 = load i64, ptr %30, align 8, !tbaa !19
  %386 = load i64, ptr %31, align 8, !tbaa !19
  %387 = sub i64 %386, 1
  %388 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %17, i64 noundef %384, i64 noundef %385, i64 noundef %387)
          to label %389 unwind label %171

389:                                              ; preds = %383
  store double %382, ptr %388, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %42) #8
  %390 = load i64, ptr %29, align 8, !tbaa !19
  %391 = load i64, ptr %30, align 8, !tbaa !19
  %392 = load i64, ptr %31, align 8, !tbaa !19
  %393 = sub i64 %392, 1
  invoke void @_ZN3jet5PointImLm3EEC2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %390, i64 noundef %391, i64 noundef %393)
          to label %394 unwind label %396

394:                                              ; preds = %389
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4E4pushEOS2_"(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(24) %42)
          to label %395 unwind label %396

395:                                              ; preds = %394
  call void @llvm.lifetime.end.p0(i64 24, ptr %42) #8
  br label %400

396:                                              ; preds = %394, %389
  %397 = landingpad { ptr, i32 }
          cleanup
  %398 = extractvalue { ptr, i32 } %397, 0
  store ptr %398, ptr %9, align 8
  %399 = extractvalue { ptr, i32 } %397, 1
  store i32 %399, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %42) #8
  br label %452

400:                                              ; preds = %395, %366
  br label %401

401:                                              ; preds = %400, %357
  %402 = load i64, ptr %31, align 8, !tbaa !19
  %403 = add i64 %402, 1
  %404 = getelementptr inbounds %"class.jet::Size3", ptr %11, i32 0, i32 2
  %405 = load i64, ptr %404, align 8, !tbaa !25
  %406 = icmp ult i64 %403, %405
  br i1 %406, label %407, label %448

407:                                              ; preds = %401
  %408 = load i64, ptr %29, align 8, !tbaa !19
  %409 = load i64, ptr %30, align 8, !tbaa !19
  %410 = load i64, ptr %31, align 8, !tbaa !19
  %411 = add i64 %410, 1
  %412 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %408, i64 noundef %409, i64 noundef %411)
          to label %413 unwind label %171

413:                                              ; preds = %407
  %414 = load i8, ptr %412, align 1, !tbaa !13
  %415 = sext i8 %414 to i32
  %416 = icmp eq i32 %415, 0
  br i1 %416, label %417, label %447

417:                                              ; preds = %413
  %418 = load i64, ptr %29, align 8, !tbaa !19
  %419 = load i64, ptr %30, align 8, !tbaa !19
  %420 = load i64, ptr %31, align 8, !tbaa !19
  %421 = add i64 %420, 1
  %422 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %418, i64 noundef %419, i64 noundef %421)
          to label %423 unwind label %171

423:                                              ; preds = %417
  store i8 2, ptr %422, align 1, !tbaa !13
  invoke void @_ZN3jet13ArrayAccessorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %424 unwind label %171

424:                                              ; preds = %423
  %425 = load i64, ptr %29, align 8, !tbaa !19
  %426 = load i64, ptr %30, align 8, !tbaa !19
  %427 = load i64, ptr %31, align 8, !tbaa !19
  %428 = add i64 %427, 1
  %429 = invoke noundef double @_Z9solveQuadRKN3jet5ArrayIcLm3EEENS_13ArrayAccessorIdLm3EEERKNS_6VectorIdLm3EEES9_mmm(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef %43, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %425, i64 noundef %426, i64 noundef %428)
          to label %430 unwind label %171

430:                                              ; preds = %424
  %431 = load i64, ptr %29, align 8, !tbaa !19
  %432 = load i64, ptr %30, align 8, !tbaa !19
  %433 = load i64, ptr %31, align 8, !tbaa !19
  %434 = add i64 %433, 1
  %435 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %17, i64 noundef %431, i64 noundef %432, i64 noundef %434)
          to label %436 unwind label %171

436:                                              ; preds = %430
  store double %429, ptr %435, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %44) #8
  %437 = load i64, ptr %29, align 8, !tbaa !19
  %438 = load i64, ptr %30, align 8, !tbaa !19
  %439 = load i64, ptr %31, align 8, !tbaa !19
  %440 = add i64 %439, 1
  invoke void @_ZN3jet5PointImLm3EEC2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %437, i64 noundef %438, i64 noundef %440)
          to label %441 unwind label %443

441:                                              ; preds = %436
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4E4pushEOS2_"(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(24) %44)
          to label %442 unwind label %443

442:                                              ; preds = %441
  call void @llvm.lifetime.end.p0(i64 24, ptr %44) #8
  br label %447

443:                                              ; preds = %441, %436
  %444 = landingpad { ptr, i32 }
          cleanup
  %445 = extractvalue { ptr, i32 } %444, 0
  store ptr %445, ptr %9, align 8
  %446 = extractvalue { ptr, i32 } %444, 1
  store i32 %446, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %44) #8
  br label %452

447:                                              ; preds = %442, %413
  br label %448

448:                                              ; preds = %447, %401
  store i32 0, ptr %22, align 4
  br label %449

449:                                              ; preds = %448, %154
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #8
  %450 = load i32, ptr %22, align 4
  switch i32 %450, label %472 [
    i32 0, label %451
    i32 6, label %454
  ]

451:                                              ; preds = %449
  br label %115, !llvm.loop !26

452:                                              ; preds = %443, %396, %352, %305, %261, %214, %171
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  br label %453

453:                                              ; preds = %452, %167
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #8
  br label %462

454:                                              ; preds = %449, %117
  %455 = getelementptr inbounds %class.anon.16, ptr %45, i32 0, i32 0
  store ptr %17, ptr %455, align 8, !tbaa !5
  %456 = getelementptr inbounds %class.anon.16, ptr %45, i32 0, i32 0
  %457 = load ptr, ptr %456, align 8
  invoke void @"_ZNK3jet5ArrayIcLm3EE20parallelForEachIndexIZNS_18FmmLevelSetSolver312reinitializeERKNS_11ScalarGrid3EdPS4_E3$_6EEvT_"(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr %457)
          to label %458 unwind label %163

458:                                              ; preds = %454
  call void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4ED2Ev"(ptr noundef nonnull align 8 dereferenceable(32) %25) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %459

459:                                              ; preds = %458
  %460 = load i32, ptr %21, align 4, !tbaa !14
  %461 = add nsw i32 %460, 1
  store i32 %461, ptr %21, align 4, !tbaa !14
  br label %93, !llvm.loop !28

462:                                              ; preds = %453, %163
  call void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4ED2Ev"(ptr noundef nonnull align 8 dereferenceable(32) %25) #8
  br label %463

463:                                              ; preds = %462, %159
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %464

464:                                              ; preds = %463, %155
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  br label %466

465:                                              ; preds = %96
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #8
  call void @_ZN3jet5ArrayIcLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #8
  ret void

466:                                              ; preds = %464, %97
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #8
  call void @_ZN3jet5ArrayIcLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #8
  br label %467

467:                                              ; preds = %466, %55
  %468 = load ptr, ptr %9, align 8
  %469 = load i32, ptr %10, align 4
  %470 = insertvalue { ptr, i32 } poison, ptr %468, 0
  %471 = insertvalue { ptr, i32 } %470, i32 %469, 1
  resume { ptr, i32 } %471

472:                                              ; preds = %449
  unreachable
}

declare noundef zeroext i1 @_ZNK3jet5Grid312hasSameShapeERKS0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(128)) #1

declare ptr @__cxa_allocate_exception(i64)

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

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 #2

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) #3

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3jet5Grid311gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(128)) #1

; 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 #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jetdvIdEENS_6VectorIT_Lm3EEES2_RKS3_(ptr dead_on_unwind noalias writable sret(%"class.jet::Vector") align 8, double noundef, ptr noundef nonnull align 8 dereferenceable(24)) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jetmlIdEENS_6VectorIT_Lm3EEERKS3_S5_(ptr dead_on_unwind noalias writable sret(%"class.jet::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #0

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

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

declare void @_ZN3jet11ScalarGrid312dataAccessorEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor") align 8, ptr noundef nonnull align 8 dereferenceable(320)) #1

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNK3jet5ArrayIcLm3EE20parallelForEachIndexIZNS_18FmmLevelSetSolver312reinitializeERKNS_11ScalarGrid3EdPS4_E3$_0EEvT_"(ptr noundef nonnull align 8 dereferenceable(48), ptr, ptr) #0 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNK3jet5ArrayIcLm3EE12forEachIndexIZNS_18FmmLevelSetSolver312reinitializeERKNS_11ScalarGrid3EdPS4_E3$_1EEvT_"(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef byval(%class.anon.6) align 8) #0 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNK3jet5ArrayIcLm3EE20parallelForEachIndexIZNS_18FmmLevelSetSolver312reinitializeERKNS_11ScalarGrid3EdPS4_E3$_3EEvT_"(ptr noundef nonnull align 8 dereferenceable(48), ptr, ptr) #0 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNK3jet5ArrayIcLm3EE12forEachIndexIZNS_18FmmLevelSetSolver312reinitializeERKNS_11ScalarGrid3EdPS4_E3$_5EEvT_"(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef byval(%class.anon.15) align 8) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @"_ZNKSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4E5emptyEv"(ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZNKSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4E3topEv"(ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4E3popEv"(ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48), i64 noundef, i64 noundef, i64 noundef) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_Z9solveQuadRKN3jet5ArrayIcLm3EEENS_13ArrayAccessorIdLm3EEERKNS_6VectorIdLm3EEES9_mmm(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, i64 noundef, i64 noundef) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jet13ArrayAccessorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4E4pushEOS2_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) #0 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNK3jet5ArrayIcLm3EE20parallelForEachIndexIZNS_18FmmLevelSetSolver312reinitializeERKNS_11ScalarGrid3EdPS4_E3$_6EEvT_"(ptr noundef nonnull align 8 dereferenceable(48), ptr) #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4ED2Ev"(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #7 align 2

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

attributes #0 = { 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 #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { nounwind }
attributes #9 = { 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}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!17, !18, i64 0}
!17 = !{!"_ZTSN3jet5PointImLm3EEE", !18, i64 0, !18, i64 8, !18, i64 16}
!18 = !{!"long", !7, i64 0}
!19 = !{!18, !18, i64 0}
!20 = !{!17, !18, i64 8}
!21 = !{!17, !18, i64 16}
!22 = !{!23, !18, i64 0}
!23 = !{!"_ZTSN3jet5Size3E", !18, i64 0, !18, i64 8, !18, i64 16}
!24 = !{!23, !18, i64 8}
!25 = !{!23, !18, i64 16}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = distinct !{!28, !27}


; 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::Size3" = type { i64, i64, i64 }
%"class.jet::Vector" = type { double, double, double }
%"class.jet::Array.0" = type { %"class.jet::Size3", %"class.std::vector.1" }
%"class.std::vector.1" = type { %"struct.std::_Vector_base.2" }
%"struct.std::_Vector_base.2" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.jet::ArrayAccessor" = type { %"class.jet::Size3", ptr }
%class.anon.6 = type { ptr, ptr, ptr, ptr, ptr, ptr }
%class.anon.7 = type { ptr, ptr, ptr, ptr, ptr, ptr }
%class.anon.9 = type { ptr }
%"class.std::priority_queue" = type { %"class.std::vector.10", %class.anon.9 }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<jet::Point<unsigned long, 3>, std::allocator<jet::Point<unsigned long, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::Point<unsigned long, 3>, std::allocator<jet::Point<unsigned long, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::Point<unsigned long, 3>, std::allocator<jet::Point<unsigned long, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::Point<unsigned long, 3>, std::allocator<jet::Point<unsigned long, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.anon.15 = type { ptr, ptr, ptr }
%"class.jet::Point" = type { i64, i64, i64 }

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3jet18FmmLevelSetSolver312reinitializeERKNS_11ScalarGrid3EdPS1_(ptr nocapture noundef nonnull readnone align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(320) %1, double noundef %2, ptr noundef %3) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.jet::Size3", align 8
  %6 = alloca %"class.jet::Vector", align 8
  %7 = alloca %"class.jet::Vector", align 8
  %8 = alloca %"class.jet::Vector", align 8
  %9 = alloca %"class.jet::Array.0", align 8
  %10 = alloca i8, align 1
  %11 = alloca %"class.jet::ArrayAccessor", align 8
  %12 = alloca %class.anon.6, align 8
  %13 = alloca %class.anon.7, align 8
  %14 = alloca %class.anon.9, align 8
  %15 = alloca %"class.std::priority_queue", align 8
  %16 = alloca %"class.std::vector.10", align 8
  %17 = alloca %class.anon.15, align 8
  %18 = alloca %"class.jet::Point", align 8
  %19 = alloca %"class.jet::ArrayAccessor", align 8
  %20 = alloca %"class.jet::ArrayAccessor", align 8
  %21 = alloca %"class.jet::Point", align 8
  %22 = alloca %"class.jet::ArrayAccessor", align 8
  %23 = alloca %"class.jet::Point", align 8
  %24 = alloca %"class.jet::ArrayAccessor", align 8
  %25 = alloca %"class.jet::Point", align 8
  %26 = alloca %"class.jet::ArrayAccessor", align 8
  %27 = alloca %"class.jet::Point", align 8
  %28 = alloca %"class.jet::ArrayAccessor", align 8
  %29 = alloca %"class.jet::Point", align 8
  %30 = alloca %"class.jet::ArrayAccessor", align 8
  %31 = alloca %"class.jet::Point", align 8
  %32 = getelementptr inbounds i8, ptr %1, i64 8
  %33 = getelementptr inbounds i8, ptr %3, i64 8
  %34 = tail call noundef zeroext i1 @_ZNK3jet5Grid312hasSameShapeERKS0_(ptr noundef nonnull align 8 dereferenceable(128) %32, ptr noundef nonnull align 8 dereferenceable(128) %33)
  br i1 %34, label %40, label %35

35:                                               ; preds = %4
  %36 = tail call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt16invalid_argumentC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %36, ptr noundef nonnull @.str)
          to label %37 unwind label %38

37:                                               ; preds = %35
  tail call void @__cxa_throw(ptr nonnull %36, ptr nonnull @_ZTISt16invalid_argument, ptr nonnull @_ZNSt16invalid_argumentD1Ev) #9
  unreachable

38:                                               ; preds = %35
  %39 = landingpad { ptr, i32 }
          cleanup
  tail call void @__cxa_free_exception(ptr %36) #8
  br label %198

40:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #8
  %41 = load ptr, ptr %1, align 8, !tbaa !5
  %42 = getelementptr inbounds i8, ptr %41, i64 48
  %43 = load ptr, ptr %42, align 8
  call void %43(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %5, ptr noundef nonnull align 8 dereferenceable(320) %1)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #8
  %44 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3jet5Grid311gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(128) %32)
  call void @_ZN3jet6VectorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %44)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #8
  call void @_ZN3jetdvIdEENS_6VectorIT_Lm3EEES2_RKS3_(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %7, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(24) %6)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #8
  call void @_ZN3jetmlIdEENS_6VectorIT_Lm3EEERKS3_S5_(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %8, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %7)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #8
  store i8 0, ptr %10, align 1, !tbaa !8
  call void @_ZN3jet5ArrayIcLm3EEC2ERKNS_5Size3ERKc(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 1 dereferenceable(1) %10)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #8
  invoke void @_ZN3jet11ScalarGrid312dataAccessorEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ArrayAccessor") align 8 %11, ptr noundef nonnull align 8 dereferenceable(320) %3)
          to label %45 unwind label %65

45:                                               ; preds = %40
  invoke void @"_ZNK3jet5ArrayIcLm3EE20parallelForEachIndexIZNS_18FmmLevelSetSolver312reinitializeERKNS_11ScalarGrid3EdPS4_E3$_0EEvT_"(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr nonnull %11, ptr nonnull %1)
          to label %46 unwind label %65

46:                                               ; preds = %45
  store ptr %11, ptr %12, align 8, !tbaa !10
  %47 = getelementptr inbounds i8, ptr %12, i64 8
  store ptr %5, ptr %47, align 8, !tbaa !10
  %48 = getelementptr inbounds i8, ptr %12, i64 16
  store ptr %9, ptr %48, align 8, !tbaa !10
  %49 = getelementptr inbounds i8, ptr %12, i64 24
  store ptr %1, ptr %49, align 8, !tbaa !10
  %50 = getelementptr inbounds i8, ptr %12, i64 32
  store ptr %6, ptr %50, align 8, !tbaa !10
  %51 = getelementptr inbounds i8, ptr %12, i64 40
  store ptr %8, ptr %51, align 8, !tbaa !10
  invoke void @"_ZNK3jet5ArrayIcLm3EE12forEachIndexIZNS_18FmmLevelSetSolver312reinitializeERKNS_11ScalarGrid3EdPS4_E3$_1EEvT_"(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull byval(%class.anon.6) align 8 %12)
          to label %52 unwind label %65

52:                                               ; preds = %46
  store ptr %11, ptr %13, align 8, !tbaa !10
  %53 = getelementptr inbounds i8, ptr %13, i64 8
  store ptr %5, ptr %53, align 8, !tbaa !10
  %54 = getelementptr inbounds i8, ptr %13, i64 16
  store ptr %9, ptr %54, align 8, !tbaa !10
  %55 = getelementptr inbounds i8, ptr %13, i64 24
  store ptr %1, ptr %55, align 8, !tbaa !10
  %56 = getelementptr inbounds i8, ptr %13, i64 32
  store ptr %6, ptr %56, align 8, !tbaa !10
  %57 = getelementptr inbounds i8, ptr %13, i64 40
  store ptr %8, ptr %57, align 8, !tbaa !10
  invoke void @"_ZNK3jet5ArrayIcLm3EE12forEachIndexIZNS_18FmmLevelSetSolver312reinitializeERKNS_11ScalarGrid3EdPS4_E3$_2EEvT_"(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull byval(%class.anon.7) align 8 %13)
          to label %.preheader152 unwind label %65

.preheader152:                                    ; preds = %52
  %58 = getelementptr inbounds i8, ptr %17, i64 8
  %59 = getelementptr inbounds i8, ptr %17, i64 16
  %60 = getelementptr inbounds i8, ptr %18, i64 8
  %61 = getelementptr inbounds i8, ptr %18, i64 16
  %62 = getelementptr inbounds i8, ptr %5, i64 8
  %63 = getelementptr inbounds i8, ptr %5, i64 16
  br label %67

64:                                               ; preds = %194
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #8
  call void @_ZN3jet5ArrayIcLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #8
  ret void

65:                                               ; preds = %52, %46, %45, %40
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %197

67:                                               ; preds = %.preheader152, %194
  %68 = phi i1 [ true, %.preheader152 ], [ false, %194 ]
  invoke void @"_ZNK3jet5ArrayIcLm3EE20parallelForEachIndexIZNS_18FmmLevelSetSolver312reinitializeERKNS_11ScalarGrid3EdPS4_E3$_3EEvT_"(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr nonnull %11, ptr nonnull %9)
          to label %69 unwind label %85

69:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #8
  store ptr %11, ptr %14, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %16, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIN3jet5PointImLm3EEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4EC2ERKSB_OS5_"(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %70 unwind label %87

70:                                               ; preds = %69
  call void @_ZNSt6vectorIN3jet5PointImLm3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #8
  store ptr %9, ptr %17, align 8, !tbaa !10
  store ptr %5, ptr %58, align 8, !tbaa !10
  store ptr %15, ptr %59, align 8, !tbaa !10
  invoke void @"_ZNK3jet5ArrayIcLm3EE12forEachIndexIZNS_18FmmLevelSetSolver312reinitializeERKNS_11ScalarGrid3EdPS4_E3$_5EEvT_"(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull byval(%class.anon.15) align 8 %17)
          to label %.preheader unwind label %89

.preheader:                                       ; preds = %70
  %71 = call noundef zeroext i1 @"_ZNKSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4E5emptyEv"(ptr noundef nonnull align 8 dereferenceable(32) %15)
  br i1 %71, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader, %191
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #8
  %72 = call noundef nonnull align 8 dereferenceable(24) ptr @"_ZNKSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4E3topEv"(ptr noundef nonnull align 8 dereferenceable(32) %15)
  call void @_ZN3jet5PointImLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %72)
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4E3popEv"(ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %73 unwind label %91

73:                                               ; preds = %.lr.ph
  %74 = load i64, ptr %18, align 8, !tbaa !12
  %75 = load i64, ptr %60, align 8, !tbaa !15
  %76 = load i64, ptr %61, align 8, !tbaa !16
  %77 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %74, i64 noundef %75, i64 noundef %76)
  store i8 1, ptr %77, align 1, !tbaa !8
  invoke void @_ZN3jet13ArrayAccessorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %78 unwind label %93

78:                                               ; preds = %73
  %79 = invoke noundef double @_Z9solveQuadRKN3jet5ArrayIcLm3EEENS_13ArrayAccessorIdLm3EEERKNS_6VectorIdLm3EEES9_mmm(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull %19, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %74, i64 noundef %75, i64 noundef %76)
          to label %80 unwind label %93

80:                                               ; preds = %78
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %11, i64 noundef %74, i64 noundef %75, i64 noundef %76)
  store double %79, ptr %81, align 8, !tbaa !17
  %82 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %11, i64 noundef %74, i64 noundef %75, i64 noundef %76)
  %83 = load double, ptr %82, align 8, !tbaa !17
  %84 = fcmp ogt double %83, %2
  br i1 %84, label %.thread, label %95

.thread:                                          ; preds = %80
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #8
  br label %.loopexit

85:                                               ; preds = %67
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %197

87:                                               ; preds = %69
  %88 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIN3jet5PointImLm3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #8
  br label %196

89:                                               ; preds = %.loopexit, %70
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %195

91:                                               ; preds = %.lr.ph
  %92 = landingpad { ptr, i32 }
          cleanup
  br label %193

93:                                               ; preds = %184, %182, %167, %165, %152, %150, %135, %133, %120, %118, %103, %101, %78, %73
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %193

95:                                               ; preds = %80
  %.not = icmp eq i64 %74, 0
  br i1 %.not, label %110, label %96

96:                                               ; preds = %95
  %97 = add i64 %74, -1
  %98 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %97, i64 noundef %75, i64 noundef %76)
  %99 = load i8, ptr %98, align 1, !tbaa !8
  %100 = icmp eq i8 %99, 0
  br i1 %100, label %101, label %110

101:                                              ; preds = %96
  %102 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %97, i64 noundef %75, i64 noundef %76)
  store i8 2, ptr %102, align 1, !tbaa !8
  invoke void @_ZN3jet13ArrayAccessorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %103 unwind label %93

103:                                              ; preds = %101
  %104 = invoke noundef double @_Z9solveQuadRKN3jet5ArrayIcLm3EEENS_13ArrayAccessorIdLm3EEERKNS_6VectorIdLm3EEES9_mmm(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull %20, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %97, i64 noundef %75, i64 noundef %76)
          to label %105 unwind label %93

105:                                              ; preds = %103
  %106 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %11, i64 noundef %97, i64 noundef %75, i64 noundef %76)
  store double %104, ptr %106, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %21) #8
  call void @_ZN3jet5PointImLm3EEC2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %97, i64 noundef %75, i64 noundef %76)
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4E4pushEOS2_"(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(24) %21)
          to label %107 unwind label %108

107:                                              ; preds = %105
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #8
  br label %110

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

110:                                              ; preds = %96, %107, %95
  %111 = add i64 %74, 1
  %112 = load i64, ptr %5, align 8, !tbaa !19
  %113 = icmp ult i64 %111, %112
  br i1 %113, label %114, label %127

114:                                              ; preds = %110
  %115 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %111, i64 noundef %75, i64 noundef %76)
  %116 = load i8, ptr %115, align 1, !tbaa !8
  %117 = icmp eq i8 %116, 0
  br i1 %117, label %118, label %127

118:                                              ; preds = %114
  %119 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %111, i64 noundef %75, i64 noundef %76)
  store i8 2, ptr %119, align 1, !tbaa !8
  invoke void @_ZN3jet13ArrayAccessorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %120 unwind label %93

120:                                              ; preds = %118
  %121 = invoke noundef double @_Z9solveQuadRKN3jet5ArrayIcLm3EEENS_13ArrayAccessorIdLm3EEERKNS_6VectorIdLm3EEES9_mmm(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull %22, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %111, i64 noundef %75, i64 noundef %76)
          to label %122 unwind label %93

122:                                              ; preds = %120
  %123 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %11, i64 noundef %111, i64 noundef %75, i64 noundef %76)
  store double %121, ptr %123, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %23) #8
  call void @_ZN3jet5PointImLm3EEC2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %111, i64 noundef %75, i64 noundef %76)
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4E4pushEOS2_"(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(24) %23)
          to label %124 unwind label %125

124:                                              ; preds = %122
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #8
  br label %127

125:                                              ; preds = %122
  %126 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #8
  br label %193

127:                                              ; preds = %114, %124, %110
  %.not140 = icmp eq i64 %75, 0
  br i1 %.not140, label %142, label %128

128:                                              ; preds = %127
  %129 = add i64 %75, -1
  %130 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %74, i64 noundef %129, i64 noundef %76)
  %131 = load i8, ptr %130, align 1, !tbaa !8
  %132 = icmp eq i8 %131, 0
  br i1 %132, label %133, label %142

133:                                              ; preds = %128
  %134 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %74, i64 noundef %129, i64 noundef %76)
  store i8 2, ptr %134, align 1, !tbaa !8
  invoke void @_ZN3jet13ArrayAccessorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %135 unwind label %93

135:                                              ; preds = %133
  %136 = invoke noundef double @_Z9solveQuadRKN3jet5ArrayIcLm3EEENS_13ArrayAccessorIdLm3EEERKNS_6VectorIdLm3EEES9_mmm(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull %24, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %74, i64 noundef %129, i64 noundef %76)
          to label %137 unwind label %93

137:                                              ; preds = %135
  %138 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %11, i64 noundef %74, i64 noundef %129, i64 noundef %76)
  store double %136, ptr %138, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %25) #8
  call void @_ZN3jet5PointImLm3EEC2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %74, i64 noundef %129, i64 noundef %76)
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4E4pushEOS2_"(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(24) %25)
          to label %139 unwind label %140

139:                                              ; preds = %137
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #8
  br label %142

140:                                              ; preds = %137
  %141 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #8
  br label %193

142:                                              ; preds = %128, %139, %127
  %143 = add i64 %75, 1
  %144 = load i64, ptr %62, align 8, !tbaa !21
  %145 = icmp ult i64 %143, %144
  br i1 %145, label %146, label %159

146:                                              ; preds = %142
  %147 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %74, i64 noundef %143, i64 noundef %76)
  %148 = load i8, ptr %147, align 1, !tbaa !8
  %149 = icmp eq i8 %148, 0
  br i1 %149, label %150, label %159

150:                                              ; preds = %146
  %151 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %74, i64 noundef %143, i64 noundef %76)
  store i8 2, ptr %151, align 1, !tbaa !8
  invoke void @_ZN3jet13ArrayAccessorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %152 unwind label %93

152:                                              ; preds = %150
  %153 = invoke noundef double @_Z9solveQuadRKN3jet5ArrayIcLm3EEENS_13ArrayAccessorIdLm3EEERKNS_6VectorIdLm3EEES9_mmm(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull %26, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %74, i64 noundef %143, i64 noundef %76)
          to label %154 unwind label %93

154:                                              ; preds = %152
  %155 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %11, i64 noundef %74, i64 noundef %143, i64 noundef %76)
  store double %153, ptr %155, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %27) #8
  call void @_ZN3jet5PointImLm3EEC2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %74, i64 noundef %143, i64 noundef %76)
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4E4pushEOS2_"(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(24) %27)
          to label %156 unwind label %157

156:                                              ; preds = %154
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #8
  br label %159

157:                                              ; preds = %154
  %158 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #8
  br label %193

159:                                              ; preds = %146, %156, %142
  %.not141 = icmp eq i64 %76, 0
  br i1 %.not141, label %174, label %160

160:                                              ; preds = %159
  %161 = add i64 %76, -1
  %162 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %74, i64 noundef %75, i64 noundef %161)
  %163 = load i8, ptr %162, align 1, !tbaa !8
  %164 = icmp eq i8 %163, 0
  br i1 %164, label %165, label %174

165:                                              ; preds = %160
  %166 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %74, i64 noundef %75, i64 noundef %161)
  store i8 2, ptr %166, align 1, !tbaa !8
  invoke void @_ZN3jet13ArrayAccessorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %167 unwind label %93

167:                                              ; preds = %165
  %168 = invoke noundef double @_Z9solveQuadRKN3jet5ArrayIcLm3EEENS_13ArrayAccessorIdLm3EEERKNS_6VectorIdLm3EEES9_mmm(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull %28, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %74, i64 noundef %75, i64 noundef %161)
          to label %169 unwind label %93

169:                                              ; preds = %167
  %170 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %11, i64 noundef %74, i64 noundef %75, i64 noundef %161)
  store double %168, ptr %170, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %29) #8
  call void @_ZN3jet5PointImLm3EEC2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %74, i64 noundef %75, i64 noundef %161)
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4E4pushEOS2_"(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(24) %29)
          to label %171 unwind label %172

171:                                              ; preds = %169
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #8
  br label %174

172:                                              ; preds = %169
  %173 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #8
  br label %193

174:                                              ; preds = %160, %171, %159
  %175 = add i64 %76, 1
  %176 = load i64, ptr %63, align 8, !tbaa !22
  %177 = icmp ult i64 %175, %176
  br i1 %177, label %178, label %191

178:                                              ; preds = %174
  %179 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %74, i64 noundef %75, i64 noundef %175)
  %180 = load i8, ptr %179, align 1, !tbaa !8
  %181 = icmp eq i8 %180, 0
  br i1 %181, label %182, label %191

182:                                              ; preds = %178
  %183 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %74, i64 noundef %75, i64 noundef %175)
  store i8 2, ptr %183, align 1, !tbaa !8
  invoke void @_ZN3jet13ArrayAccessorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %184 unwind label %93

184:                                              ; preds = %182
  %185 = invoke noundef double @_Z9solveQuadRKN3jet5ArrayIcLm3EEENS_13ArrayAccessorIdLm3EEERKNS_6VectorIdLm3EEES9_mmm(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull %30, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %74, i64 noundef %75, i64 noundef %175)
          to label %186 unwind label %93

186:                                              ; preds = %184
  %187 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %11, i64 noundef %74, i64 noundef %75, i64 noundef %175)
  store double %185, ptr %187, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %31) #8
  call void @_ZN3jet5PointImLm3EEC2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %74, i64 noundef %75, i64 noundef %175)
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4E4pushEOS2_"(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(24) %31)
          to label %188 unwind label %189

188:                                              ; preds = %186
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %31) #8
  br label %191

189:                                              ; preds = %186
  %190 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %31) #8
  br label %193

191:                                              ; preds = %174, %188, %178
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #8
  %192 = call noundef zeroext i1 @"_ZNKSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4E5emptyEv"(ptr noundef nonnull align 8 dereferenceable(32) %15)
  br i1 %192, label %.loopexit, label %.lr.ph

193:                                              ; preds = %93, %108, %125, %140, %157, %172, %189, %91
  %.pn.pn = phi { ptr, i32 } [ %92, %91 ], [ %190, %189 ], [ %94, %93 ], [ %173, %172 ], [ %158, %157 ], [ %141, %140 ], [ %126, %125 ], [ %109, %108 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #8
  br label %195

.loopexit:                                        ; preds = %191, %.preheader, %.thread
  invoke void @"_ZNK3jet5ArrayIcLm3EE20parallelForEachIndexIZNS_18FmmLevelSetSolver312reinitializeERKNS_11ScalarGrid3EdPS4_E3$_6EEvT_"(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr nonnull %11)
          to label %194 unwind label %89

194:                                              ; preds = %.loopexit
  call void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4ED2Ev"(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  br i1 %68, label %67, label %64, !llvm.loop !23

195:                                              ; preds = %193, %89
  %.pn144 = phi { ptr, i32 } [ %90, %89 ], [ %.pn.pn, %193 ]
  call void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4ED2Ev"(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  br label %196

196:                                              ; preds = %195, %87
  %.pn144.pn = phi { ptr, i32 } [ %.pn144, %195 ], [ %88, %87 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  br label %197

197:                                              ; preds = %85, %196, %65
  %.pn144.pn.pn.pn = phi { ptr, i32 } [ %66, %65 ], [ %.pn144.pn, %196 ], [ %86, %85 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #8
  call void @_ZN3jet5ArrayIcLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #8
  br label %198

198:                                              ; preds = %197, %38
  %.pn144.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn144.pn.pn.pn, %197 ], [ %39, %38 ]
  resume { ptr, i32 } %.pn144.pn.pn.pn.pn
}

declare noundef zeroext i1 @_ZNK3jet5Grid312hasSameShapeERKS0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #1

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

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 #2

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) #3

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3jet5Grid311gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #1

; 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 #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jetdvIdEENS_6VectorIT_Lm3EEES2_RKS3_(ptr dead_on_unwind noalias writable sret(%"class.jet::Vector") align 8, double noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jetmlIdEENS_6VectorIT_Lm3EEERKS3_S5_(ptr dead_on_unwind noalias writable sret(%"class.jet::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0

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

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

declare void @_ZN3jet11ScalarGrid312dataAccessorEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor") align 8, ptr noundef nonnull align 8 dereferenceable(320)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNK3jet5ArrayIcLm3EE20parallelForEachIndexIZNS_18FmmLevelSetSolver312reinitializeERKNS_11ScalarGrid3EdPS4_E3$_0EEvT_"(ptr noundef nonnull align 8 dereferenceable(48), ptr, ptr) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNK3jet5ArrayIcLm3EE12forEachIndexIZNS_18FmmLevelSetSolver312reinitializeERKNS_11ScalarGrid3EdPS4_E3$_1EEvT_"(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef byval(%class.anon.6) align 8) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNK3jet5ArrayIcLm3EE20parallelForEachIndexIZNS_18FmmLevelSetSolver312reinitializeERKNS_11ScalarGrid3EdPS4_E3$_3EEvT_"(ptr noundef nonnull align 8 dereferenceable(48), ptr, ptr) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNK3jet5ArrayIcLm3EE12forEachIndexIZNS_18FmmLevelSetSolver312reinitializeERKNS_11ScalarGrid3EdPS4_E3$_5EEvT_"(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef byval(%class.anon.15) align 8) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @"_ZNKSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4E5emptyEv"(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZNKSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4E3topEv"(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4E3popEv"(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48), i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_Z9solveQuadRKN3jet5ArrayIcLm3EEENS_13ArrayAccessorIdLm3EEERKNS_6VectorIdLm3EEES9_mmm(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jet13ArrayAccessorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4E4pushEOS2_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNK3jet5ArrayIcLm3EE20parallelForEachIndexIZNS_18FmmLevelSetSolver312reinitializeERKNS_11ScalarGrid3EdPS4_E3$_6EEvT_"(ptr noundef nonnull align 8 dereferenceable(48), ptr) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver312reinitializeERKNS0_11ScalarGrid3EdPS7_E3$_4ED2Ev"(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #7 align 2

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

attributes #0 = { 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 #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { nounwind }
attributes #9 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"omnipotent char", !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"_ZTSN3jet5PointImLm3EEE", !14, i64 0, !14, i64 8, !14, i64 16}
!14 = !{!"long", !9, i64 0}
!15 = !{!13, !14, i64 8}
!16 = !{!13, !14, i64 16}
!17 = !{!18, !18, i64 0}
!18 = !{!"double", !9, i64 0}
!19 = !{!20, !14, i64 0}
!20 = !{!"_ZTSN3jet5Size3E", !14, i64 0, !14, i64 8, !14, i64 16}
!21 = !{!20, !14, i64 8}
!22 = !{!20, !14, i64 16}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: ADCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass