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

; 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::Logger" = type { i8, %"class.std::__cxx11::basic_stringstream" }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.jet::Size2" = type { i64, i64 }
%"class.jet::BoundingBox" = type { %"class.jet::Vector", %"class.jet::Vector" }
%"class.jet::Vector" = type { double, double }
%"class.jet::ParticleSystemData2" = type { %"class.jet::Serializable", double, double, i64, i64, i64, i64, %"class.std::vector.3", %"class.std::vector.8", %"class.std::shared_ptr", %"class.std::vector.13" }
%"class.jet::Serializable" = type { ptr }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<jet::Array<double, 1>, std::allocator<jet::Array<double, 1>>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::Array<double, 1>, std::allocator<jet::Array<double, 1>>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::Array<double, 1>, std::allocator<jet::Array<double, 1>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::Array<double, 1>, std::allocator<jet::Array<double, 1>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<jet::Array<jet::Vector<double, 2>, 1>, std::allocator<jet::Array<jet::Vector<double, 2>, 1>>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::Array<jet::Vector<double, 2>, 1>, std::allocator<jet::Array<jet::Vector<double, 2>, 1>>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::Array<jet::Vector<double, 2>, 1>, std::allocator<jet::Array<jet::Vector<double, 2>, 1>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::Array<jet::Vector<double, 2>, 1>, std::allocator<jet::Array<jet::Vector<double, 2>, 1>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.jet::ConstArrayAccessor.18" = type { i64, ptr }
%"class.std::shared_ptr.19" = type { %"class.std::__shared_ptr.20" }
%"class.std::__shared_ptr.20" = type { ptr, %"class.std::__shared_count" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon = type { ptr, ptr }
%"class.jet::FmmLevelSetSolver2" = type { %"class.jet::LevelSetSolver2" }
%"class.jet::LevelSetSolver2" = type { ptr }
%"class.jet::SphericalPointsToImplicit2" = type <{ %"class.jet::PointsToImplicit2", double, i8, [7 x i8] }>
%"class.jet::PointsToImplicit2" = type { ptr }

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@__func__._ZNK3jet26SphericalPointsToImplicit27convertERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEPNS_11ScalarGrid2E = external hidden unnamed_addr constant [8 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [26 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3jet26SphericalPointsToImplicit27convertERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEPNS_11ScalarGrid2E(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef %2) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.jet::Logger", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %"class.jet::Size2", align 8
  %13 = alloca %"class.jet::Logger", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca %"class.jet::BoundingBox", align 8
  %18 = alloca %"class.jet::Logger", align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca i32, align 4
  %21 = alloca %"class.jet::ParticleSystemData2", align 8
  %22 = alloca %"class.jet::ConstArrayAccessor.18", align 8
  %23 = alloca %"class.jet::ConstArrayAccessor.18", align 8
  %24 = alloca %"class.std::shared_ptr", align 8
  %25 = alloca %"class.std::shared_ptr.19", align 8
  %26 = alloca %"class.std::function", align 8
  %27 = alloca %class.anon, align 8
  %28 = alloca %"class.jet::FmmLevelSetSolver2", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %29 = load ptr, ptr %4, align 8
  %30 = load ptr, ptr %6, align 8, !tbaa !5
  %31 = icmp eq ptr %30, null
  br i1 %31, label %32, label %66

32:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 400, ptr %7) #5
  call void @_ZN3jet6LoggerC1ENS_12LoggingLevelE(ptr noundef nonnull align 8 dereferenceable(400) %7, i8 noundef zeroext 3)
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #5
  invoke void @_ZN3jet7Logging9getHeaderB5cxx11ENS_12LoggingLevelE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %8, i8 noundef zeroext 3)
          to label %33 unwind label %52

33:                                               ; preds = %32
  %34 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %7, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %35 unwind label %56

35:                                               ; preds = %33
  %36 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA2_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %34, ptr noundef nonnull align 1 dereferenceable(2) @.str)
          to label %37 unwind label %56

37:                                               ; preds = %35
  %38 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA101_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %36, ptr noundef nonnull align 1 dereferenceable(101) @.str.1)
          to label %39 unwind label %56

39:                                               ; preds = %37
  %40 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA2_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %38, ptr noundef nonnull align 1 dereferenceable(2) @.str.2)
          to label %41 unwind label %56

41:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 22, ptr %11, align 4, !tbaa !9
  %42 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIiEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %40, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %43 unwind label %60

43:                                               ; preds = %41
  %44 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA3_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %42, ptr noundef nonnull align 1 dereferenceable(3) @.str.3)
          to label %45 unwind label %60

45:                                               ; preds = %43
  %46 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA8_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %44, ptr noundef nonnull align 1 dereferenceable(8) @__func__._ZNK3jet26SphericalPointsToImplicit27convertERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEPNS_11ScalarGrid2E)
          to label %47 unwind label %60

47:                                               ; preds = %45
  %48 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA4_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %46, ptr noundef nonnull align 1 dereferenceable(4) @.str.4)
          to label %49 unwind label %60

49:                                               ; preds = %47
  %50 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA42_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %48, ptr noundef nonnull align 1 dereferenceable(42) @.str.5)
          to label %51 unwind label %60

51:                                               ; preds = %49
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #5
  call void @_ZN3jet6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400) %7) #5
  call void @llvm.lifetime.end.p0(i64 400, ptr %7) #5
  br label %232

52:                                               ; preds = %32
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %9, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %10, align 4
  br label %65

56:                                               ; preds = %39, %37, %35, %33
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %9, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %10, align 4
  br label %64

60:                                               ; preds = %49, %47, %45, %43, %41
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %9, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %64

64:                                               ; preds = %60, %56
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  br label %65

65:                                               ; preds = %64, %52
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #5
  call void @_ZN3jet6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400) %7) #5
  call void @llvm.lifetime.end.p0(i64 400, ptr %7) #5
  br label %239

66:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #5
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = getelementptr inbounds i8, ptr %67, i64 8
  %69 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid210resolutionEv(ptr noundef nonnull align 8 dereferenceable(88) %68)
  call void @_ZN3jet5Size2C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %69)
  %70 = getelementptr inbounds %"class.jet::Size2", ptr %12, i32 0, i32 0
  %71 = load i64, ptr %70, align 8, !tbaa !11
  %72 = getelementptr inbounds %"class.jet::Size2", ptr %12, i32 0, i32 1
  %73 = load i64, ptr %72, align 8, !tbaa !14
  %74 = mul i64 %71, %73
  %75 = icmp eq i64 %74, 0
  br i1 %75, label %76, label %110

76:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 400, ptr %13) #5
  call void @_ZN3jet6LoggerC1ENS_12LoggingLevelE(ptr noundef nonnull align 8 dereferenceable(400) %13, i8 noundef zeroext 3)
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #5
  invoke void @_ZN3jet7Logging9getHeaderB5cxx11ENS_12LoggingLevelE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %14, i8 noundef zeroext 3)
          to label %77 unwind label %96

77:                                               ; preds = %76
  %78 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %13, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %79 unwind label %100

79:                                               ; preds = %77
  %80 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA2_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %78, ptr noundef nonnull align 1 dereferenceable(2) @.str)
          to label %81 unwind label %100

81:                                               ; preds = %79
  %82 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA101_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %80, ptr noundef nonnull align 1 dereferenceable(101) @.str.1)
          to label %83 unwind label %100

83:                                               ; preds = %81
  %84 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA2_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %82, ptr noundef nonnull align 1 dereferenceable(2) @.str.2)
          to label %85 unwind label %100

85:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 28, ptr %15, align 4, !tbaa !9
  %86 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIiEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %84, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %87 unwind label %104

87:                                               ; preds = %85
  %88 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA3_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %86, ptr noundef nonnull align 1 dereferenceable(3) @.str.3)
          to label %89 unwind label %104

89:                                               ; preds = %87
  %90 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA8_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %88, ptr noundef nonnull align 1 dereferenceable(8) @__func__._ZNK3jet26SphericalPointsToImplicit27convertERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEPNS_11ScalarGrid2E)
          to label %91 unwind label %104

91:                                               ; preds = %89
  %92 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA4_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %90, ptr noundef nonnull align 1 dereferenceable(4) @.str.4)
          to label %93 unwind label %104

93:                                               ; preds = %91
  %94 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA24_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %92, ptr noundef nonnull align 1 dereferenceable(24) @.str.6)
          to label %95 unwind label %104

95:                                               ; preds = %93
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #5
  call void @_ZN3jet6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400) %13) #5
  call void @llvm.lifetime.end.p0(i64 400, ptr %13) #5
  store i32 1, ptr %16, align 4
  br label %230

96:                                               ; preds = %76
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %9, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %10, align 4
  br label %109

100:                                              ; preds = %83, %81, %79, %77
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %9, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %10, align 4
  br label %108

104:                                              ; preds = %93, %91, %89, %87, %85
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %9, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %108

108:                                              ; preds = %104, %100
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #5
  br label %109

109:                                              ; preds = %108, %96
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #5
  call void @_ZN3jet6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400) %13) #5
  call void @llvm.lifetime.end.p0(i64 400, ptr %13) #5
  br label %238

110:                                              ; preds = %66
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #5
  %111 = load ptr, ptr %6, align 8, !tbaa !5
  %112 = getelementptr inbounds i8, ptr %111, i64 8
  %113 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3jet5Grid211boundingBoxEv(ptr noundef nonnull align 8 dereferenceable(88) %112)
  call void @_ZN3jet11BoundingBoxIdLm2EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) %113)
  %114 = call noundef zeroext i1 @_ZNK3jet11BoundingBoxIdLm2EE7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(32) %17)
  br i1 %114, label %115, label %149

115:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 400, ptr %18) #5
  call void @_ZN3jet6LoggerC1ENS_12LoggingLevelE(ptr noundef nonnull align 8 dereferenceable(400) %18, i8 noundef zeroext 3)
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #5
  invoke void @_ZN3jet7Logging9getHeaderB5cxx11ENS_12LoggingLevelE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %19, i8 noundef zeroext 3)
          to label %116 unwind label %135

116:                                              ; preds = %115
  %117 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %18, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %118 unwind label %139

118:                                              ; preds = %116
  %119 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA2_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %117, ptr noundef nonnull align 1 dereferenceable(2) @.str)
          to label %120 unwind label %139

120:                                              ; preds = %118
  %121 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA101_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %119, ptr noundef nonnull align 1 dereferenceable(101) @.str.1)
          to label %122 unwind label %139

122:                                              ; preds = %120
  %123 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA2_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %121, ptr noundef nonnull align 1 dereferenceable(2) @.str.2)
          to label %124 unwind label %139

124:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  store i32 34, ptr %20, align 4, !tbaa !9
  %125 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIiEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %123, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %126 unwind label %143

126:                                              ; preds = %124
  %127 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA3_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %125, ptr noundef nonnull align 1 dereferenceable(3) @.str.3)
          to label %128 unwind label %143

128:                                              ; preds = %126
  %129 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA8_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %127, ptr noundef nonnull align 1 dereferenceable(8) @__func__._ZNK3jet26SphericalPointsToImplicit27convertERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEPNS_11ScalarGrid2E)
          to label %130 unwind label %143

130:                                              ; preds = %128
  %131 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA4_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %129, ptr noundef nonnull align 1 dereferenceable(4) @.str.4)
          to label %132 unwind label %143

132:                                              ; preds = %130
  %133 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA26_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %131, ptr noundef nonnull align 1 dereferenceable(26) @.str.7)
          to label %134 unwind label %143

134:                                              ; preds = %132
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #5
  call void @_ZN3jet6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400) %18) #5
  call void @llvm.lifetime.end.p0(i64 400, ptr %18) #5
  store i32 1, ptr %16, align 4
  br label %229

135:                                              ; preds = %115
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %9, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %10, align 4
  br label %148

139:                                              ; preds = %122, %120, %118, %116
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %9, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %10, align 4
  br label %147

143:                                              ; preds = %132, %130, %128, %126, %124
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %9, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  br label %147

147:                                              ; preds = %143, %139
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #5
  br label %148

148:                                              ; preds = %147, %135
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #5
  call void @_ZN3jet6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400) %18) #5
  call void @llvm.lifetime.end.p0(i64 400, ptr %18) #5
  br label %237

149:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 144, ptr %21) #5
  call void @_ZN3jet19ParticleSystemData2C1Ev(ptr noundef nonnull align 8 dereferenceable(144) %21)
  %150 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #5
  invoke void @_ZN3jet18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22)
          to label %151 unwind label %177

151:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #5
  invoke void @_ZN3jet18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23)
          to label %152 unwind label %181

152:                                              ; preds = %151
  invoke void @_ZN3jet19ParticleSystemData212addParticlesERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEES6_S6_(ptr noundef nonnull align 8 dereferenceable(144) %21, ptr noundef nonnull align 8 dereferenceable(16) %150, ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 8 dereferenceable(16) %23)
          to label %153 unwind label %181

153:                                              ; preds = %152
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #5
  %154 = getelementptr inbounds %"class.jet::SphericalPointsToImplicit2", ptr %29, i32 0, i32 1
  %155 = load double, ptr %154, align 8, !tbaa !15
  %156 = fmul double 2.000000e+00, %155
  invoke void @_ZN3jet19ParticleSystemData221buildNeighborSearcherEd(ptr noundef nonnull align 8 dereferenceable(144) %21, double noundef %156)
          to label %157 unwind label %186

157:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #5
  %158 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet19ParticleSystemData216neighborSearcherEv(ptr noundef nonnull align 8 dereferenceable(144) %21)
          to label %159 unwind label %190

159:                                              ; preds = %157
  call void @_ZNSt10shared_ptrIN3jet22PointNeighborSearcher2EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(16) %158) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #5
  %160 = load ptr, ptr %6, align 8, !tbaa !5
  %161 = load ptr, ptr %160, align 8, !tbaa !20
  %162 = getelementptr inbounds ptr, ptr %161, i64 8
  %163 = load ptr, ptr %162, align 8
  invoke void %163(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.19") align 8 %25, ptr noundef nonnull align 8 dereferenceable(240) %160)
          to label %164 unwind label %194

164:                                              ; preds = %159
  %165 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet11ScalarGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #5
  %166 = getelementptr inbounds %class.anon, ptr %27, i32 0, i32 0
  store ptr %29, ptr %166, align 8, !tbaa !22
  %167 = getelementptr inbounds %class.anon, ptr %27, i32 0, i32 1
  store ptr %24, ptr %167, align 8, !tbaa !5
  call void @"_ZNSt8functionIFdRKN3jet6VectorIdLm2EEEEEC2IZNKS0_26SphericalPointsToImplicit27convertERKNS0_18ConstArrayAccessorIS2_Lm1EEEPNS0_11ScalarGrid2EE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(16) %27) #5
  invoke void @_ZN3jet11ScalarGrid24fillERKSt8functionIFdRKNS_6VectorIdLm2EEEEENS_15ExecutionPolicyE(ptr noundef nonnull align 8 dereferenceable(240) %165, ptr noundef nonnull align 8 dereferenceable(32) %26, i32 noundef 1)
          to label %168 unwind label %198

168:                                              ; preds = %164
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #5
  %169 = getelementptr inbounds %"class.jet::SphericalPointsToImplicit2", ptr %29, i32 0, i32 2
  %170 = load i8, ptr %169, align 8, !tbaa !24, !range !25, !noundef !26
  %171 = trunc i8 %170 to i1
  br i1 %171, label %172, label %211

172:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  invoke void @_ZN3jet18FmmLevelSetSolver2C1Ev(ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %173 unwind label %202

173:                                              ; preds = %172
  %174 = call noundef nonnull align 8 dereferenceable(240) ptr @_ZNKSt19__shared_ptr_accessIN3jet11ScalarGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  %175 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN3jet18FmmLevelSetSolver212reinitializeERKNS_11ScalarGrid2EdPS1_(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(240) %174, double noundef 0x7FEFFFFFFFFFFFFF, ptr noundef %175)
          to label %176 unwind label %206

176:                                              ; preds = %173
  call void @_ZN3jet15LevelSetSolver2D2Ev(ptr noundef nonnull align 8 dereferenceable(8) %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  br label %228

177:                                              ; preds = %149
  %178 = landingpad { ptr, i32 }
          cleanup
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %9, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %10, align 4
  br label %185

181:                                              ; preds = %152, %151
  %182 = landingpad { ptr, i32 }
          cleanup
  %183 = extractvalue { ptr, i32 } %182, 0
  store ptr %183, ptr %9, align 8
  %184 = extractvalue { ptr, i32 } %182, 1
  store i32 %184, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #5
  br label %185

185:                                              ; preds = %181, %177
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #5
  br label %236

186:                                              ; preds = %153
  %187 = landingpad { ptr, i32 }
          cleanup
  %188 = extractvalue { ptr, i32 } %187, 0
  store ptr %188, ptr %9, align 8
  %189 = extractvalue { ptr, i32 } %187, 1
  store i32 %189, ptr %10, align 4
  br label %236

190:                                              ; preds = %157
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %9, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %10, align 4
  br label %235

194:                                              ; preds = %159
  %195 = landingpad { ptr, i32 }
          cleanup
  %196 = extractvalue { ptr, i32 } %195, 0
  store ptr %196, ptr %9, align 8
  %197 = extractvalue { ptr, i32 } %195, 1
  store i32 %197, ptr %10, align 4
  br label %234

198:                                              ; preds = %164
  %199 = landingpad { ptr, i32 }
          cleanup
  %200 = extractvalue { ptr, i32 } %199, 0
  store ptr %200, ptr %9, align 8
  %201 = extractvalue { ptr, i32 } %199, 1
  store i32 %201, ptr %10, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #5
  br label %233

202:                                              ; preds = %172
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %9, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %10, align 4
  br label %210

206:                                              ; preds = %173
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %9, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %10, align 4
  call void @_ZN3jet15LevelSetSolver2D2Ev(ptr noundef nonnull align 8 dereferenceable(8) %28) #5
  br label %210

210:                                              ; preds = %206, %202
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  br label %233

211:                                              ; preds = %168
  %212 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet11ScalarGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  %213 = getelementptr inbounds i8, ptr %212, i64 8
  %214 = load ptr, ptr %6, align 8, !tbaa !5
  %215 = icmp eq ptr %214, null
  br i1 %215, label %218, label %216

216:                                              ; preds = %211
  %217 = getelementptr inbounds i8, ptr %214, i64 8
  br label %218

218:                                              ; preds = %216, %211
  %219 = phi ptr [ %217, %216 ], [ null, %211 ]
  %220 = load ptr, ptr %213, align 8, !tbaa !20
  %221 = getelementptr inbounds ptr, ptr %220, i64 5
  %222 = load ptr, ptr %221, align 8
  invoke void %222(ptr noundef nonnull align 8 dereferenceable(88) %213, ptr noundef %219)
          to label %223 unwind label %224

223:                                              ; preds = %218
  br label %228

224:                                              ; preds = %218
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %9, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %10, align 4
  br label %233

228:                                              ; preds = %223, %176
  call void @_ZNSt12__shared_ptrIN3jet11ScalarGrid2ELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #5
  call void @_ZNSt12__shared_ptrIN3jet22PointNeighborSearcher2ELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  call void @_ZN3jet19ParticleSystemData2D1Ev(ptr noundef nonnull align 8 dereferenceable(144) %21) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr %21) #5
  store i32 0, ptr %16, align 4
  br label %229

229:                                              ; preds = %228, %134
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #5
  br label %230

230:                                              ; preds = %229, %95
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #5
  %231 = load i32, ptr %16, align 4
  switch i32 %231, label %244 [
    i32 0, label %232
    i32 1, label %232
  ]

232:                                              ; preds = %230, %230, %51
  ret void

233:                                              ; preds = %224, %210, %198
  call void @_ZNSt12__shared_ptrIN3jet11ScalarGrid2ELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #5
  br label %234

234:                                              ; preds = %233, %194
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #5
  call void @_ZNSt12__shared_ptrIN3jet22PointNeighborSearcher2ELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #5
  br label %235

235:                                              ; preds = %234, %190
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  br label %236

236:                                              ; preds = %235, %186, %185
  call void @_ZN3jet19ParticleSystemData2D1Ev(ptr noundef nonnull align 8 dereferenceable(144) %21) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr %21) #5
  br label %237

237:                                              ; preds = %236, %148
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #5
  br label %238

238:                                              ; preds = %237, %109
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #5
  br label %239

239:                                              ; preds = %238, %65
  %240 = load ptr, ptr %9, align 8
  %241 = load i32, ptr %10, align 4
  %242 = insertvalue { ptr, i32 } poison, ptr %240, 0
  %243 = insertvalue { ptr, i32 } %242, i32 %241, 1
  resume { ptr, i32 } %243

244:                                              ; preds = %230
  unreachable
}

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

declare void @_ZN3jet6LoggerC1ENS_12LoggingLevelE(ptr noundef nonnull align 8 dereferenceable(400), i8 noundef zeroext) unnamed_addr #2

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

declare void @_ZN3jet7Logging9getHeaderB5cxx11ENS_12LoggingLevelE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, i8 noundef zeroext) #2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA2_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(2)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA101_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(101)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIiEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA3_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(3)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA8_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(8)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA4_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(4)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA42_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(42)) #0 align 2

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

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

; Function Attrs: nounwind
declare void @_ZN3jet6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400)) unnamed_addr #4

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid210resolutionEv(ptr noundef nonnull align 8 dereferenceable(88)) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA24_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(24)) #0 align 2

declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3jet5Grid211boundingBoxEv(ptr noundef nonnull align 8 dereferenceable(88)) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jet11BoundingBoxIdLm2EEC2ERKS1_(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 zeroext i1 @_ZNK3jet11BoundingBoxIdLm2EE7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA26_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(26)) #0 align 2

declare void @_ZN3jet19ParticleSystemData2C1Ev(ptr noundef nonnull align 8 dereferenceable(144)) unnamed_addr #2

declare void @_ZN3jet19ParticleSystemData212addParticlesERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEES6_S6_(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #2

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

declare void @_ZN3jet19ParticleSystemData221buildNeighborSearcherEd(ptr noundef nonnull align 8 dereferenceable(144), double noundef) #2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet19ParticleSystemData216neighborSearcherEv(ptr noundef nonnull align 8 dereferenceable(144)) #2

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

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

declare void @_ZN3jet11ScalarGrid24fillERKSt8functionIFdRKNS_6VectorIdLm2EEEEENS_15ExecutionPolicyE(ptr noundef nonnull align 8 dereferenceable(240), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFdRKN3jet6VectorIdLm2EEEEEC2IZNKS0_26SphericalPointsToImplicit27convertERKNS0_18ConstArrayAccessorIS2_Lm1EEEPNS0_11ScalarGrid2EE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

declare void @_ZN3jet18FmmLevelSetSolver2C1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2

declare void @_ZN3jet18FmmLevelSetSolver212reinitializeERKNS_11ScalarGrid2EdPS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(240), double noundef, ptr noundef) unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(240) ptr @_ZNKSt19__shared_ptr_accessIN3jet11ScalarGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1)) #3 align 2

; Function Attrs: nounwind
declare void @_ZN3jet15LevelSetSolver2D2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4

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

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

; Function Attrs: nounwind
declare void @_ZN3jet19ParticleSystemData2D1Ev(ptr noundef nonnull align 8 dereferenceable(144)) unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTSN3jet5Size2E", !13, i64 0, !13, i64 8}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !13, i64 8}
!15 = !{!16, !18, i64 8}
!16 = !{!"_ZTSN3jet26SphericalPointsToImplicit2E", !17, i64 0, !18, i64 8, !19, i64 16}
!17 = !{!"_ZTSN3jet17PointsToImplicit2E"}
!18 = !{!"double", !7, i64 0}
!19 = !{!"bool", !7, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"vtable pointer", !8, i64 0}
!22 = !{!23, !6, i64 0}
!23 = !{!"_ZTSZNK3jet26SphericalPointsToImplicit27convertERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEPNS_11ScalarGrid2EE3$_0", !6, i64 0, !6, i64 8}
!24 = !{!16, !19, i64 16}
!25 = !{i8 0, i8 2}
!26 = !{}


; 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::Logger" = type { i8, %"class.std::__cxx11::basic_stringstream" }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.jet::Size2" = type { i64, i64 }
%"class.jet::BoundingBox" = type { %"class.jet::Vector", %"class.jet::Vector" }
%"class.jet::Vector" = type { double, double }
%"class.jet::ParticleSystemData2" = type { %"class.jet::Serializable", double, double, i64, i64, i64, i64, %"class.std::vector.3", %"class.std::vector.8", %"class.std::shared_ptr", %"class.std::vector.13" }
%"class.jet::Serializable" = type { ptr }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<jet::Array<double, 1>, std::allocator<jet::Array<double, 1>>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::Array<double, 1>, std::allocator<jet::Array<double, 1>>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::Array<double, 1>, std::allocator<jet::Array<double, 1>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::Array<double, 1>, std::allocator<jet::Array<double, 1>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<jet::Array<jet::Vector<double, 2>, 1>, std::allocator<jet::Array<jet::Vector<double, 2>, 1>>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::Array<jet::Vector<double, 2>, 1>, std::allocator<jet::Array<jet::Vector<double, 2>, 1>>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::Array<jet::Vector<double, 2>, 1>, std::allocator<jet::Array<jet::Vector<double, 2>, 1>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::Array<jet::Vector<double, 2>, 1>, std::allocator<jet::Array<jet::Vector<double, 2>, 1>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.jet::ConstArrayAccessor.18" = type { i64, ptr }
%"class.std::shared_ptr.19" = type { %"class.std::__shared_ptr.20" }
%"class.std::__shared_ptr.20" = type { ptr, %"class.std::__shared_count" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon = type { ptr, ptr }
%"class.jet::FmmLevelSetSolver2" = type { %"class.jet::LevelSetSolver2" }
%"class.jet::LevelSetSolver2" = type { ptr }

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@__func__._ZNK3jet26SphericalPointsToImplicit27convertERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEPNS_11ScalarGrid2E = external hidden unnamed_addr constant [8 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [26 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3jet26SphericalPointsToImplicit27convertERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEPNS_11ScalarGrid2E(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef %2) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.jet::Logger", align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.jet::Size2", align 8
  %8 = alloca %"class.jet::Logger", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.jet::BoundingBox", align 8
  %12 = alloca %"class.jet::Logger", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.jet::ParticleSystemData2", align 8
  %16 = alloca %"class.jet::ConstArrayAccessor.18", align 8
  %17 = alloca %"class.jet::ConstArrayAccessor.18", align 8
  %18 = alloca %"class.std::shared_ptr", align 8
  %19 = alloca %"class.std::shared_ptr.19", align 8
  %20 = alloca %"class.std::function", align 8
  %21 = alloca %class.anon, align 8
  %22 = alloca %"class.jet::FmmLevelSetSolver2", align 8
  %23 = icmp eq ptr %2, null
  br i1 %23, label %24, label %52

24:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 400, ptr nonnull %4) #5
  call void @_ZN3jet6LoggerC1ENS_12LoggingLevelE(ptr noundef nonnull align 8 dereferenceable(400) %4, i8 noundef zeroext 3)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #5
  invoke void @_ZN3jet7Logging9getHeaderB5cxx11ENS_12LoggingLevelE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %5, i8 noundef zeroext 3)
          to label %25 unwind label %44

25:                                               ; preds = %24
  %26 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %4, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %27 unwind label %46

27:                                               ; preds = %25
  %28 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA2_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %26, ptr noundef nonnull align 1 dereferenceable(2) @.str)
          to label %29 unwind label %46

29:                                               ; preds = %27
  %30 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA101_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %28, ptr noundef nonnull align 1 dereferenceable(101) @.str.1)
          to label %31 unwind label %46

31:                                               ; preds = %29
  %32 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA2_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %30, ptr noundef nonnull align 1 dereferenceable(2) @.str.2)
          to label %33 unwind label %46

33:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  store i32 22, ptr %6, align 4, !tbaa !5
  %34 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIiEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %32, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %35 unwind label %48

35:                                               ; preds = %33
  %36 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA3_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %34, ptr noundef nonnull align 1 dereferenceable(3) @.str.3)
          to label %37 unwind label %48

37:                                               ; preds = %35
  %38 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA8_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %36, ptr noundef nonnull align 1 dereferenceable(8) @__func__._ZNK3jet26SphericalPointsToImplicit27convertERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEPNS_11ScalarGrid2E)
          to label %39 unwind label %48

39:                                               ; preds = %37
  %40 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA4_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %38, ptr noundef nonnull align 1 dereferenceable(4) @.str.4)
          to label %41 unwind label %48

41:                                               ; preds = %39
  %42 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA42_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %40, ptr noundef nonnull align 1 dereferenceable(42) @.str.5)
          to label %43 unwind label %48

43:                                               ; preds = %41
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  call void @_ZN3jet6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400) %4) #5
  call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %4) #5
  br label %167

44:                                               ; preds = %24
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %51

46:                                               ; preds = %31, %29, %27, %25
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %50

48:                                               ; preds = %41, %39, %37, %35, %33
  %49 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  br label %50

50:                                               ; preds = %48, %46
  %.pn37 = phi { ptr, i32 } [ %49, %48 ], [ %47, %46 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  br label %51

51:                                               ; preds = %50, %44
  %.pn37.pn = phi { ptr, i32 } [ %.pn37, %50 ], [ %45, %44 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  call void @_ZN3jet6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400) %4) #5
  call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %4) #5
  br label %174

52:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5
  %53 = getelementptr inbounds i8, ptr %2, i64 8
  %54 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid210resolutionEv(ptr noundef nonnull align 8 dereferenceable(88) %53)
  call void @_ZN3jet5Size2C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %54)
  %55 = load i64, ptr %7, align 8, !tbaa !9
  %56 = getelementptr inbounds i8, ptr %7, i64 8
  %57 = load i64, ptr %56, align 8, !tbaa !12
  %58 = mul i64 %57, %55
  %59 = icmp eq i64 %58, 0
  br i1 %59, label %60, label %88

60:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 400, ptr nonnull %8) #5
  call void @_ZN3jet6LoggerC1ENS_12LoggingLevelE(ptr noundef nonnull align 8 dereferenceable(400) %8, i8 noundef zeroext 3)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #5
  invoke void @_ZN3jet7Logging9getHeaderB5cxx11ENS_12LoggingLevelE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %9, i8 noundef zeroext 3)
          to label %61 unwind label %80

61:                                               ; preds = %60
  %62 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %8, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %63 unwind label %82

63:                                               ; preds = %61
  %64 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA2_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %62, ptr noundef nonnull align 1 dereferenceable(2) @.str)
          to label %65 unwind label %82

65:                                               ; preds = %63
  %66 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA101_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %64, ptr noundef nonnull align 1 dereferenceable(101) @.str.1)
          to label %67 unwind label %82

67:                                               ; preds = %65
  %68 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA2_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %66, ptr noundef nonnull align 1 dereferenceable(2) @.str.2)
          to label %69 unwind label %82

69:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  store i32 28, ptr %10, align 4, !tbaa !5
  %70 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIiEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %68, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %71 unwind label %84

71:                                               ; preds = %69
  %72 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA3_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %70, ptr noundef nonnull align 1 dereferenceable(3) @.str.3)
          to label %73 unwind label %84

73:                                               ; preds = %71
  %74 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA8_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %72, ptr noundef nonnull align 1 dereferenceable(8) @__func__._ZNK3jet26SphericalPointsToImplicit27convertERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEPNS_11ScalarGrid2E)
          to label %75 unwind label %84

75:                                               ; preds = %73
  %76 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA4_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %74, ptr noundef nonnull align 1 dereferenceable(4) @.str.4)
          to label %77 unwind label %84

77:                                               ; preds = %75
  %78 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA24_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %76, ptr noundef nonnull align 1 dereferenceable(24) @.str.6)
          to label %79 unwind label %84

79:                                               ; preds = %77
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #5
  call void @_ZN3jet6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400) %8) #5
  call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %8) #5
  br label %166

80:                                               ; preds = %60
  %81 = landingpad { ptr, i32 }
          cleanup
  br label %87

82:                                               ; preds = %67, %65, %63, %61
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %86

84:                                               ; preds = %77, %75, %73, %71, %69
  %85 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  br label %86

86:                                               ; preds = %84, %82
  %.pn33 = phi { ptr, i32 } [ %85, %84 ], [ %83, %82 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #5
  br label %87

87:                                               ; preds = %86, %80
  %.pn33.pn = phi { ptr, i32 } [ %.pn33, %86 ], [ %81, %80 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #5
  call void @_ZN3jet6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400) %8) #5
  call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %8) #5
  br label %173

88:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #5
  %89 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3jet5Grid211boundingBoxEv(ptr noundef nonnull align 8 dereferenceable(88) %53)
  call void @_ZN3jet11BoundingBoxIdLm2EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %89)
  %90 = call noundef zeroext i1 @_ZNK3jet11BoundingBoxIdLm2EE7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(32) %11)
  br i1 %90, label %91, label %119

91:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 400, ptr nonnull %12) #5
  call void @_ZN3jet6LoggerC1ENS_12LoggingLevelE(ptr noundef nonnull align 8 dereferenceable(400) %12, i8 noundef zeroext 3)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #5
  invoke void @_ZN3jet7Logging9getHeaderB5cxx11ENS_12LoggingLevelE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %13, i8 noundef zeroext 3)
          to label %92 unwind label %111

92:                                               ; preds = %91
  %93 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %12, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %94 unwind label %113

94:                                               ; preds = %92
  %95 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA2_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %93, ptr noundef nonnull align 1 dereferenceable(2) @.str)
          to label %96 unwind label %113

96:                                               ; preds = %94
  %97 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA101_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %95, ptr noundef nonnull align 1 dereferenceable(101) @.str.1)
          to label %98 unwind label %113

98:                                               ; preds = %96
  %99 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA2_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %97, ptr noundef nonnull align 1 dereferenceable(2) @.str.2)
          to label %100 unwind label %113

100:                                              ; preds = %98
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #5
  store i32 34, ptr %14, align 4, !tbaa !5
  %101 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIiEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %99, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %102 unwind label %115

102:                                              ; preds = %100
  %103 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA3_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %101, ptr noundef nonnull align 1 dereferenceable(3) @.str.3)
          to label %104 unwind label %115

104:                                              ; preds = %102
  %105 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA8_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %103, ptr noundef nonnull align 1 dereferenceable(8) @__func__._ZNK3jet26SphericalPointsToImplicit27convertERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEPNS_11ScalarGrid2E)
          to label %106 unwind label %115

106:                                              ; preds = %104
  %107 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA4_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %105, ptr noundef nonnull align 1 dereferenceable(4) @.str.4)
          to label %108 unwind label %115

108:                                              ; preds = %106
  %109 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA26_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400) %107, ptr noundef nonnull align 1 dereferenceable(26) @.str.7)
          to label %110 unwind label %115

110:                                              ; preds = %108
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #5
  call void @_ZN3jet6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400) %12) #5
  call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %12) #5
  br label %165

111:                                              ; preds = %91
  %112 = landingpad { ptr, i32 }
          cleanup
  br label %118

113:                                              ; preds = %98, %96, %94, %92
  %114 = landingpad { ptr, i32 }
          cleanup
  br label %117

115:                                              ; preds = %108, %106, %104, %102, %100
  %116 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #5
  br label %117

117:                                              ; preds = %115, %113
  %.pn29 = phi { ptr, i32 } [ %116, %115 ], [ %114, %113 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  br label %118

118:                                              ; preds = %117, %111
  %.pn29.pn = phi { ptr, i32 } [ %.pn29, %117 ], [ %112, %111 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #5
  call void @_ZN3jet6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400) %12) #5
  call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %12) #5
  br label %172

119:                                              ; preds = %88
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %15) #5
  call void @_ZN3jet19ParticleSystemData2C1Ev(ptr noundef nonnull align 8 dereferenceable(144) %15)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #5
  call void @_ZN3jet18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #5
  call void @_ZN3jet18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17)
  invoke void @_ZN3jet19ParticleSystemData212addParticlesERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEES6_S6_(ptr noundef nonnull align 8 dereferenceable(144) %15, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %120 unwind label %141

120:                                              ; preds = %119
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #5
  %121 = getelementptr inbounds i8, ptr %0, i64 8
  %122 = load double, ptr %121, align 8, !tbaa !13
  %123 = fmul double %122, 2.000000e+00
  invoke void @_ZN3jet19ParticleSystemData221buildNeighborSearcherEd(ptr noundef nonnull align 8 dereferenceable(144) %15, double noundef %123)
          to label %124 unwind label %143

124:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #5
  %125 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet19ParticleSystemData216neighborSearcherEv(ptr noundef nonnull align 8 dereferenceable(144) %15)
          to label %126 unwind label %145

126:                                              ; preds = %124
  call void @_ZNSt10shared_ptrIN3jet22PointNeighborSearcher2EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %125) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #5
  %127 = load ptr, ptr %2, align 8, !tbaa !18
  %128 = getelementptr inbounds i8, ptr %127, i64 64
  %129 = load ptr, ptr %128, align 8
  invoke void %129(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.19") align 8 %19, ptr noundef nonnull align 8 dereferenceable(240) %2)
          to label %130 unwind label %147

130:                                              ; preds = %126
  %131 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet11ScalarGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #5
  store ptr %0, ptr %21, align 8, !tbaa !20
  %132 = getelementptr inbounds i8, ptr %21, i64 8
  store ptr %18, ptr %132, align 8, !tbaa !23
  call void @"_ZNSt8functionIFdRKN3jet6VectorIdLm2EEEEEC2IZNKS0_26SphericalPointsToImplicit27convertERKNS0_18ConstArrayAccessorIS2_Lm1EEEPNS0_11ScalarGrid2EE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(16) %21) #5
  invoke void @_ZN3jet11ScalarGrid24fillERKSt8functionIFdRKNS_6VectorIdLm2EEEEENS_15ExecutionPolicyE(ptr noundef nonnull align 8 dereferenceable(240) %131, ptr noundef nonnull align 8 dereferenceable(32) %20, i32 noundef 1)
          to label %133 unwind label %149

133:                                              ; preds = %130
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #5
  %134 = getelementptr inbounds i8, ptr %0, i64 16
  %135 = load i8, ptr %134, align 8, !tbaa !24, !range !25, !noundef !26
  %136 = trunc nuw i8 %135 to i1
  br i1 %136, label %137, label %156

137:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #5
  invoke void @_ZN3jet18FmmLevelSetSolver2C1Ev(ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %138 unwind label %151

138:                                              ; preds = %137
  %139 = call noundef nonnull align 8 dereferenceable(240) ptr @_ZNKSt19__shared_ptr_accessIN3jet11ScalarGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  invoke void @_ZN3jet18FmmLevelSetSolver212reinitializeERKNS_11ScalarGrid2EdPS1_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(240) %139, double noundef 0x7FEFFFFFFFFFFFFF, ptr noundef nonnull %2)
          to label %140 unwind label %153

140:                                              ; preds = %138
  call void @_ZN3jet15LevelSetSolver2D2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #5
  br label %164

141:                                              ; preds = %119
  %142 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #5
  br label %171

143:                                              ; preds = %120
  %144 = landingpad { ptr, i32 }
          cleanup
  br label %171

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

147:                                              ; preds = %126
  %148 = landingpad { ptr, i32 }
          cleanup
  br label %169

149:                                              ; preds = %130
  %150 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #5
  br label %168

151:                                              ; preds = %137
  %152 = landingpad { ptr, i32 }
          cleanup
  br label %155

153:                                              ; preds = %138
  %154 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3jet15LevelSetSolver2D2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #5
  br label %155

155:                                              ; preds = %153, %151
  %.pn = phi { ptr, i32 } [ %154, %153 ], [ %152, %151 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #5
  br label %168

156:                                              ; preds = %133
  %157 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet11ScalarGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  %158 = getelementptr inbounds i8, ptr %157, i64 8
  %159 = load ptr, ptr %158, align 8, !tbaa !18
  %160 = getelementptr inbounds i8, ptr %159, i64 40
  %161 = load ptr, ptr %160, align 8
  invoke void %161(ptr noundef nonnull align 8 dereferenceable(88) %158, ptr noundef nonnull %53)
          to label %164 unwind label %162

162:                                              ; preds = %156
  %163 = landingpad { ptr, i32 }
          cleanup
  br label %168

164:                                              ; preds = %156, %140
  call void @_ZNSt12__shared_ptrIN3jet11ScalarGrid2ELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #5
  call void @_ZNSt12__shared_ptrIN3jet22PointNeighborSearcher2ELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #5
  call void @_ZN3jet19ParticleSystemData2D1Ev(ptr noundef nonnull align 8 dereferenceable(144) %15) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %15) #5
  br label %165

165:                                              ; preds = %164, %110
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #5
  br label %166

166:                                              ; preds = %165, %79
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  br label %167

167:                                              ; preds = %166, %43
  ret void

168:                                              ; preds = %162, %155, %149
  %.pn.pn = phi { ptr, i32 } [ %.pn, %155 ], [ %163, %162 ], [ %150, %149 ]
  call void @_ZNSt12__shared_ptrIN3jet11ScalarGrid2ELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #5
  br label %169

169:                                              ; preds = %168, %147
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %168 ], [ %148, %147 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #5
  call void @_ZNSt12__shared_ptrIN3jet22PointNeighborSearcher2ELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #5
  br label %170

170:                                              ; preds = %169, %145
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %169 ], [ %146, %145 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #5
  br label %171

171:                                              ; preds = %170, %143, %141
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %170 ], [ %144, %143 ], [ %142, %141 ]
  call void @_ZN3jet19ParticleSystemData2D1Ev(ptr noundef nonnull align 8 dereferenceable(144) %15) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %15) #5
  br label %172

172:                                              ; preds = %171, %118
  %.pn29.pn.pn = phi { ptr, i32 } [ %.pn29.pn, %118 ], [ %.pn.pn.pn.pn.pn, %171 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #5
  br label %173

173:                                              ; preds = %172, %87
  %.pn33.pn.pn = phi { ptr, i32 } [ %.pn33.pn, %87 ], [ %.pn29.pn.pn, %172 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  br label %174

174:                                              ; preds = %173, %51
  %.pn37.pn.pn = phi { ptr, i32 } [ %.pn37.pn, %51 ], [ %.pn33.pn.pn, %173 ]
  resume { ptr, i32 } %.pn37.pn.pn
}

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

declare void @_ZN3jet6LoggerC1ENS_12LoggingLevelE(ptr noundef nonnull align 8 dereferenceable(400), i8 noundef zeroext) unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

declare void @_ZN3jet7Logging9getHeaderB5cxx11ENS_12LoggingLevelE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, i8 noundef zeroext) local_unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA2_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(2)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA101_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(101)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIiEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA3_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(3)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA8_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(8)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA4_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(4)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA42_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(42)) local_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) #1

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

; Function Attrs: nounwind
declare void @_ZN3jet6LoggerD1Ev(ptr noundef nonnull align 8 dereferenceable(400)) unnamed_addr #4

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid210resolutionEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA24_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(24)) local_unnamed_addr #0 align 2

declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3jet5Grid211boundingBoxEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jet11BoundingBoxIdLm2EEC2ERKS1_(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 zeroext i1 @_ZNK3jet11BoundingBoxIdLm2EE7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(400) ptr @_ZNK3jet6LoggerlsIA26_cEERKS0_RKT_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 1 dereferenceable(26)) local_unnamed_addr #0 align 2

declare void @_ZN3jet19ParticleSystemData2C1Ev(ptr noundef nonnull align 8 dereferenceable(144)) unnamed_addr #2

declare void @_ZN3jet19ParticleSystemData212addParticlesERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEES6_S6_(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2

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

declare void @_ZN3jet19ParticleSystemData221buildNeighborSearcherEd(ptr noundef nonnull align 8 dereferenceable(144), double noundef) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet19ParticleSystemData216neighborSearcherEv(ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet11ScalarGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #3 align 2

declare void @_ZN3jet11ScalarGrid24fillERKSt8functionIFdRKNS_6VectorIdLm2EEEEENS_15ExecutionPolicyE(ptr noundef nonnull align 8 dereferenceable(240), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFdRKN3jet6VectorIdLm2EEEEEC2IZNKS0_26SphericalPointsToImplicit27convertERKNS0_18ConstArrayAccessorIS2_Lm1EEEPNS0_11ScalarGrid2EE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

declare void @_ZN3jet18FmmLevelSetSolver2C1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2

declare void @_ZN3jet18FmmLevelSetSolver212reinitializeERKNS_11ScalarGrid2EdPS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(240), double noundef, ptr noundef) unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(240) ptr @_ZNKSt19__shared_ptr_accessIN3jet11ScalarGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #3 align 2

; Function Attrs: nounwind
declare void @_ZN3jet15LevelSetSolver2D2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4

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

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

; Function Attrs: nounwind
declare void @_ZN3jet19ParticleSystemData2D1Ev(ptr noundef nonnull align 8 dereferenceable(144)) unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSN3jet5Size2E", !11, i64 0, !11, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = !{!14, !16, i64 8}
!14 = !{!"_ZTSN3jet26SphericalPointsToImplicit2E", !15, i64 0, !16, i64 8, !17, i64 16}
!15 = !{!"_ZTSN3jet17PointsToImplicit2E"}
!16 = !{!"double", !7, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"vtable pointer", !8, i64 0}
!20 = !{!21, !22, i64 0}
!21 = !{!"_ZTSZNK3jet26SphericalPointsToImplicit27convertERKNS_18ConstArrayAccessorINS_6VectorIdLm2EEELm1EEEPNS_11ScalarGrid2EE3$_0", !22, i64 0, !22, i64 8}
!22 = !{!"any pointer", !7, i64 0}
!23 = !{!22, !22, i64 0}
!24 = !{!14, !17, i64 16}
!25 = !{i8 0, i8 2}
!26 = !{}


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