; LLVM IR from doyubkim/fluid-engine-dev :: src/jet/apic_solver2.ll (ZN3jet11ApicSolver228transferFromParticlesToGridsEv)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::shared_ptr.30" = type { %"class.std::__shared_ptr.31" }
%"class.std::__shared_ptr.31" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.18" = type { %"class.std::__shared_ptr.19" }
%"class.std::__shared_ptr.19" = type { ptr, %"class.std::__shared_count" }
%"class.jet::ArrayAccessor" = type { i64, ptr }
%"class.jet::Vector" = type { double, double }
%"class.jet::BoundingBox" = type { %"class.jet::Vector", %"class.jet::Vector" }
%"class.jet::ArrayAccessor.67" = type { %"class.jet::Size2", ptr }
%"class.jet::Size2" = type { i64, i64 }
%"class.std::function.68" = 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.jet::Array.61" = type { %"class.jet::Size2", %"class.std::vector.62" }
%"class.std::vector.62" = type { %"struct.std::_Vector_base.63" }
%"struct.std::_Vector_base.63" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.jet::LinearArraySampler" = type { %"class.jet::Vector", %"class.jet::Vector", %"class.jet::Vector", %"class.jet::ConstArrayAccessor" }
%"class.jet::ConstArrayAccessor" = type { %"class.jet::Size2", ptr }
%"struct.std::array" = type { [4 x %"class.jet::Point"] }
%"class.jet::Point" = type { i64, i64 }
%"struct.std::array.70" = type { [4 x double] }
%class.anon = type { ptr, ptr }
%class.anon.71 = type { ptr, ptr }
%"class.jet::ApicSolver2" = type { %"class.jet::PicSolver2", %"class.jet::Array.24", %"class.jet::Array.24" }
%"class.jet::PicSolver2" = type { %"class.jet::GridFluidSolver2", %"class.jet::Array", %"class.jet::Array", i64, %"class.std::shared_ptr.18", %"class.std::shared_ptr.21" }
%"class.jet::GridFluidSolver2" = type { %"class.jet::PhysicsAnimation", %"class.jet::Vector", double, double, i8, i32, %"class.std::shared_ptr", %"class.std::shared_ptr.0", %"class.std::shared_ptr.3", %"class.std::shared_ptr.6", %"class.std::shared_ptr.9", %"class.std::shared_ptr.12", %"class.std::shared_ptr.15" }
%"class.jet::PhysicsAnimation" = type { %"class.jet::Animation", %"struct.jet::Frame", i8, i32, double }
%"class.jet::Animation" = type { ptr }
%"struct.jet::Frame" = type { i32, double }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.0" = type { %"class.std::__shared_ptr.1" }
%"class.std::__shared_ptr.1" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.3" = type { %"class.std::__shared_ptr.4" }
%"class.std::__shared_ptr.4" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.6" = type { %"class.std::__shared_ptr.7" }
%"class.std::__shared_ptr.7" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.9" = type { %"class.std::__shared_ptr.10" }
%"class.std::__shared_ptr.10" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.12" = type { %"class.std::__shared_ptr.13" }
%"class.std::__shared_ptr.13" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.15" = type { %"class.std::__shared_ptr.16" }
%"class.std::__shared_ptr.16" = type { ptr, %"class.std::__shared_count" }
%"class.jet::Array" = type { %"class.jet::Size2", %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::shared_ptr.21" = type { %"class.std::__shared_ptr.22" }
%"class.std::__shared_ptr.22" = type { ptr, %"class.std::__shared_count" }
%"class.jet::Array.24" = type { %"class.std::vector.25" }
%"class.std::vector.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = type { %"struct.std::_Vector_base<jet::Vector<double, 2>, std::allocator<jet::Vector<double, 2>>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::Vector<double, 2>, std::allocator<jet::Vector<double, 2>>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::Vector<double, 2>, std::allocator<jet::Vector<double, 2>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::Vector<double, 2>, std::allocator<jet::Vector<double, 2>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3jet11ApicSolver228transferFromParticlesToGridsEv(ptr noundef nonnull align 8 dereferenceable(360) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.std::shared_ptr.30", align 8
  %4 = alloca %"class.std::shared_ptr.18", align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.jet::ArrayAccessor", align 8
  %8 = alloca %"class.jet::ArrayAccessor", align 8
  %9 = alloca i64, align 8
  %10 = alloca %"class.jet::Vector", align 8
  %11 = alloca %"class.jet::BoundingBox", align 8
  %12 = alloca %"class.jet::Vector", align 8
  %13 = alloca %"class.jet::Vector", align 8
  %14 = alloca %"class.jet::Vector", align 8
  %15 = alloca %"class.jet::ArrayAccessor.67", align 8
  %16 = alloca %"class.jet::ArrayAccessor.67", align 8
  %17 = alloca %"class.std::function.68", align 8
  %18 = alloca %"class.std::function.68", align 8
  %19 = alloca %"class.jet::Array.61", align 8
  %20 = alloca %"class.jet::Size2", align 8
  %21 = alloca double, align 8
  %22 = alloca %"class.jet::Array.61", align 8
  %23 = alloca %"class.jet::Size2", align 8
  %24 = alloca double, align 8
  %25 = alloca %"class.jet::Size2", align 8
  %26 = alloca i8, align 1
  %27 = alloca %"class.jet::Size2", align 8
  %28 = alloca i8, align 1
  %29 = alloca i8, align 1
  %30 = alloca i8, align 1
  %31 = alloca %"class.jet::LinearArraySampler", align 8
  %32 = alloca %"class.jet::ConstArrayAccessor", align 8
  %33 = alloca %"class.jet::Vector", align 8
  %34 = alloca %"class.jet::LinearArraySampler", align 8
  %35 = alloca %"class.jet::ConstArrayAccessor", align 8
  %36 = alloca %"class.jet::Vector", align 8
  %37 = alloca i64, align 8
  %38 = alloca i32, align 4
  %39 = alloca %"struct.std::array", align 8
  %40 = alloca %"struct.std::array.70", align 8
  %41 = alloca %"class.jet::Vector", align 8
  %42 = alloca i32, align 4
  %43 = alloca %"class.jet::Vector", align 8
  %44 = alloca double, align 8
  %45 = alloca %"class.jet::Vector", align 8
  %46 = alloca %"class.jet::Vector", align 8
  %47 = alloca i32, align 4
  %48 = alloca %"class.jet::Vector", align 8
  %49 = alloca double, align 8
  %50 = alloca %"class.jet::Vector", align 8
  %51 = alloca %class.anon, align 8
  %52 = alloca %class.anon.71, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %53 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #7
  %54 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet16GridFluidSolver214gridSystemDataEv(ptr noundef nonnull align 8 dereferenceable(192) %53)
  %55 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet15GridSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %54) #7
  %56 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet15GridSystemData28velocityEv(ptr noundef nonnull align 8 dereferenceable(176) %55)
  call void @_ZNSt10shared_ptrIN3jet17FaceCenteredGrid2EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) %56) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #7
  %57 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet10PicSolver218particleSystemDataEv(ptr noundef nonnull align 8 dereferenceable(312) %53)
          to label %58 unwind label %132

58:                                               ; preds = %1
  call void @_ZNSt10shared_ptrIN3jet19ParticleSystemData2EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %57) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #7
  %59 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet19ParticleSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  invoke void @_ZN3jet19ParticleSystemData29positionsEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor") align 8 %7, ptr noundef nonnull align 8 dereferenceable(144) %59)
          to label %60 unwind label %136

60:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #7
  %61 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet19ParticleSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  invoke void @_ZN3jet19ParticleSystemData210velocitiesEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor") align 8 %8, ptr noundef nonnull align 8 dereferenceable(144) %61)
          to label %62 unwind label %140

62:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %63 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet19ParticleSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  %64 = invoke noundef i64 @_ZNK3jet19ParticleSystemData217numberOfParticlesEv(ptr noundef nonnull align 8 dereferenceable(144) %63)
          to label %65 unwind label %144

65:                                               ; preds = %62
  store i64 %64, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #7
  %66 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  %67 = getelementptr inbounds i8, ptr %66, i64 8
  %68 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid211gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(88) %67)
          to label %69 unwind label %148

69:                                               ; preds = %65
  invoke void @_ZN3jetdvIdEENS_6VectorIT_Lm2EEERKS3_S2_(ptr dead_on_unwind writable sret(%"class.jet::Vector") align 8 %10, ptr noundef nonnull align 8 dereferenceable(16) %68, double noundef 2.000000e+00)
          to label %70 unwind label %148

70:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #7
  %71 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  %72 = getelementptr inbounds i8, ptr %71, i64 8
  %73 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3jet5Grid211boundingBoxEv(ptr noundef nonnull align 8 dereferenceable(88) %72)
          to label %74 unwind label %152

74:                                               ; preds = %70
  invoke void @_ZN3jet11BoundingBoxIdLm2EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %73)
          to label %75 unwind label %152

75:                                               ; preds = %74
  %76 = getelementptr inbounds %"class.jet::ApicSolver2", ptr %53, i32 0, i32 1
  %77 = load i64, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #7
  invoke void @_ZN3jet6VectorIdLm2EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %78 unwind label %156

78:                                               ; preds = %75
  invoke void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EE6resizeEmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %76, i64 noundef %77, ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %79 unwind label %156

79:                                               ; preds = %78
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  %80 = getelementptr inbounds %"class.jet::ApicSolver2", ptr %53, i32 0, i32 2
  %81 = load i64, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #7
  invoke void @_ZN3jet6VectorIdLm2EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %82 unwind label %160

82:                                               ; preds = %79
  invoke void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EE6resizeEmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %80, i64 noundef %81, ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %83 unwind label %160

83:                                               ; preds = %82
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  %84 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #7
  invoke void @_ZN3jet6VectorIdLm2EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %85 unwind label %164

85:                                               ; preds = %83
  invoke void @_ZN3jet17FaceCenteredGrid24fillERKNS_6VectorIdLm2EEENS_15ExecutionPolicyE(ptr noundef nonnull align 8 dereferenceable(384) %84, ptr noundef nonnull align 8 dereferenceable(16) %14, i32 noundef 1)
          to label %86 unwind label %164

86:                                               ; preds = %85
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #7
  %87 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  invoke void @_ZN3jet17FaceCenteredGrid29uAccessorEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor.67") align 8 %15, ptr noundef nonnull align 8 dereferenceable(384) %87)
          to label %88 unwind label %168

88:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #7
  %89 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  invoke void @_ZN3jet17FaceCenteredGrid29vAccessorEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor.67") align 8 %16, ptr noundef nonnull align 8 dereferenceable(384) %89)
          to label %90 unwind label %172

90:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #7
  %91 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  invoke void @_ZNK3jet17FaceCenteredGrid29uPositionEv(ptr dead_on_unwind writable sret(%"class.std::function.68") align 8 %17, ptr noundef nonnull align 8 dereferenceable(384) %91)
          to label %92 unwind label %176

92:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #7
  %93 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  invoke void @_ZNK3jet17FaceCenteredGrid29vPositionEv(ptr dead_on_unwind writable sret(%"class.std::function.68") align 8 %18, ptr noundef nonnull align 8 dereferenceable(384) %93)
          to label %94 unwind label %180

94:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 40, ptr %19) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #7
  invoke void @_ZNK3jet13ArrayAccessorIdLm2EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size2") align 8 %20, ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %95 unwind label %184

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

96:                                               ; preds = %95
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr %22) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #7
  invoke void @_ZNK3jet13ArrayAccessorIdLm2EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size2") align 8 %23, ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %97 unwind label %193

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

98:                                               ; preds = %97
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #7
  %99 = getelementptr inbounds %"class.jet::PicSolver2", ptr %53, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #7
  invoke void @_ZNK3jet13ArrayAccessorIdLm2EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size2") align 8 %25, ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %100 unwind label %202

100:                                              ; preds = %98
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #7
  store i8 0, ptr %26, align 1, !tbaa !13
  invoke void @_ZN3jet5ArrayIcLm2EE6resizeERKNS_5Size2ERKc(ptr noundef nonnull align 8 dereferenceable(40) %99, ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %101 unwind label %206

101:                                              ; preds = %100
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #7
  %102 = getelementptr inbounds %"class.jet::PicSolver2", ptr %53, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #7
  invoke void @_ZNK3jet13ArrayAccessorIdLm2EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size2") align 8 %27, ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %103 unwind label %211

103:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #7
  store i8 0, ptr %28, align 1, !tbaa !13
  invoke void @_ZN3jet5ArrayIcLm2EE6resizeERKNS_5Size2ERKc(ptr noundef nonnull align 8 dereferenceable(40) %102, ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %104 unwind label %215

104:                                              ; preds = %103
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #7
  %105 = getelementptr inbounds %"class.jet::PicSolver2", ptr %53, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #7
  store i8 0, ptr %29, align 1, !tbaa !13
  invoke void @_ZN3jet5ArrayIcLm2EE3setERKc(ptr noundef nonnull align 8 dereferenceable(40) %105, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %106 unwind label %220

106:                                              ; preds = %104
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #7
  %107 = getelementptr inbounds %"class.jet::PicSolver2", ptr %53, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #7
  store i8 0, ptr %30, align 1, !tbaa !13
  invoke void @_ZN3jet5ArrayIcLm2EE3setERKc(ptr noundef nonnull align 8 dereferenceable(40) %107, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %108 unwind label %224

108:                                              ; preds = %106
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #7
  call void @llvm.lifetime.start.p0(i64 72, ptr %31) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #7
  %109 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  invoke void @_ZNK3jet17FaceCenteredGrid214uConstAccessorEv(ptr dead_on_unwind writable sret(%"class.jet::ConstArrayAccessor") align 8 %32, ptr noundef nonnull align 8 dereferenceable(384) %109)
          to label %110 unwind label %228

110:                                              ; preds = %108
  %111 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  %112 = getelementptr inbounds i8, ptr %111, i64 8
  %113 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid211gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(88) %112)
          to label %114 unwind label %228

114:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #7
  %115 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  invoke void @_ZNK3jet17FaceCenteredGrid27uOriginEv(ptr dead_on_unwind writable sret(%"class.jet::Vector") align 8 %33, ptr noundef nonnull align 8 dereferenceable(384) %115)
          to label %116 unwind label %232

116:                                              ; preds = %114
  invoke void @_ZN3jet18LinearArraySamplerIddLm2EEC2ERKNS_18ConstArrayAccessorIdLm2EEERKNS_6VectorIdLm2EEES9_(ptr noundef nonnull align 8 dereferenceable(72) %31, ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(16) %113, ptr noundef nonnull align 8 dereferenceable(16) %33)
          to label %117 unwind label %232

117:                                              ; preds = %116
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #7
  call void @llvm.lifetime.start.p0(i64 72, ptr %34) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %35) #7
  %118 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  invoke void @_ZNK3jet17FaceCenteredGrid214vConstAccessorEv(ptr dead_on_unwind writable sret(%"class.jet::ConstArrayAccessor") align 8 %35, ptr noundef nonnull align 8 dereferenceable(384) %118)
          to label %119 unwind label %237

119:                                              ; preds = %117
  %120 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  %121 = getelementptr inbounds i8, ptr %120, i64 8
  %122 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid211gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(88) %121)
          to label %123 unwind label %237

123:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #7
  %124 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  invoke void @_ZNK3jet17FaceCenteredGrid27vOriginEv(ptr dead_on_unwind writable sret(%"class.jet::Vector") align 8 %36, ptr noundef nonnull align 8 dereferenceable(384) %124)
          to label %125 unwind label %241

125:                                              ; preds = %123
  invoke void @_ZN3jet18LinearArraySamplerIddLm2EEC2ERKNS_18ConstArrayAccessorIdLm2EEERKNS_6VectorIdLm2EEES9_(ptr noundef nonnull align 8 dereferenceable(72) %34, ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 8 dereferenceable(16) %122, ptr noundef nonnull align 8 dereferenceable(16) %36)
          to label %126 unwind label %241

126:                                              ; preds = %125
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #7
  store i64 0, ptr %37, align 8, !tbaa !9
  br label %127

127:                                              ; preds = %456, %126
  %128 = load i64, ptr %37, align 8, !tbaa !9
  %129 = load i64, ptr %9, align 8, !tbaa !9
  %130 = icmp ult i64 %128, %129
  br i1 %130, label %246, label %131

131:                                              ; preds = %127
  store i32 2, ptr %38, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  br label %462

132:                                              ; preds = %1
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %5, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %6, align 4
  br label %495

136:                                              ; preds = %58
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %5, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %6, align 4
  br label %494

140:                                              ; preds = %60
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %5, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %6, align 4
  br label %493

144:                                              ; preds = %62
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %5, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %6, align 4
  br label %492

148:                                              ; preds = %69, %65
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %5, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %6, align 4
  br label %491

152:                                              ; preds = %74, %70
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %5, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %6, align 4
  br label %490

156:                                              ; preds = %78, %75
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %5, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  br label %490

160:                                              ; preds = %82, %79
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %5, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  br label %490

164:                                              ; preds = %85, %83
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %5, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #7
  br label %490

168:                                              ; preds = %86
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %5, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %6, align 4
  br label %489

172:                                              ; preds = %88
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %5, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %6, align 4
  br label %488

176:                                              ; preds = %90
  %177 = landingpad { ptr, i32 }
          cleanup
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %5, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %6, align 4
  br label %487

180:                                              ; preds = %92
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %5, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %6, align 4
  br label %486

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

188:                                              ; preds = %95
  %189 = landingpad { ptr, i32 }
          cleanup
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %5, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %192

192:                                              ; preds = %188, %184
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #7
  br label %485

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

197:                                              ; preds = %97
  %198 = landingpad { ptr, i32 }
          cleanup
  %199 = extractvalue { ptr, i32 } %198, 0
  store ptr %199, ptr %5, align 8
  %200 = extractvalue { ptr, i32 } %198, 1
  store i32 %200, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %201

201:                                              ; preds = %197, %193
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #7
  br label %484

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

206:                                              ; preds = %100
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %5, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #7
  br label %210

210:                                              ; preds = %206, %202
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #7
  br label %483

211:                                              ; preds = %101
  %212 = landingpad { ptr, i32 }
          cleanup
  %213 = extractvalue { ptr, i32 } %212, 0
  store ptr %213, ptr %5, align 8
  %214 = extractvalue { ptr, i32 } %212, 1
  store i32 %214, ptr %6, align 4
  br label %219

215:                                              ; preds = %103
  %216 = landingpad { ptr, i32 }
          cleanup
  %217 = extractvalue { ptr, i32 } %216, 0
  store ptr %217, ptr %5, align 8
  %218 = extractvalue { ptr, i32 } %216, 1
  store i32 %218, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #7
  br label %219

219:                                              ; preds = %215, %211
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #7
  br label %483

220:                                              ; preds = %104
  %221 = landingpad { ptr, i32 }
          cleanup
  %222 = extractvalue { ptr, i32 } %221, 0
  store ptr %222, ptr %5, align 8
  %223 = extractvalue { ptr, i32 } %221, 1
  store i32 %223, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #7
  br label %483

224:                                              ; preds = %106
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %5, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #7
  br label %483

228:                                              ; preds = %110, %108
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %5, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %6, align 4
  br label %236

232:                                              ; preds = %116, %114
  %233 = landingpad { ptr, i32 }
          cleanup
  %234 = extractvalue { ptr, i32 } %233, 0
  store ptr %234, ptr %5, align 8
  %235 = extractvalue { ptr, i32 } %233, 1
  store i32 %235, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #7
  br label %236

236:                                              ; preds = %232, %228
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #7
  br label %482

237:                                              ; preds = %119, %117
  %238 = landingpad { ptr, i32 }
          cleanup
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %5, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, ptr %6, align 4
  br label %245

241:                                              ; preds = %125, %123
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %5, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #7
  br label %245

245:                                              ; preds = %241, %237
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #7
  br label %481

246:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 64, ptr %39) #7
  invoke void @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEC2Ev(ptr noundef nonnull align 8 dereferenceable(64) %39)
          to label %247 unwind label %274

247:                                              ; preds = %246
  call void @llvm.lifetime.start.p0(i64 32, ptr %40) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #7
  %248 = load i64, ptr %37, align 8, !tbaa !9
  %249 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet13ArrayAccessorINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %7, i64 noundef %248)
          to label %250 unwind label %278

250:                                              ; preds = %247
  invoke void @_ZN3jet6VectorIdLm2EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %41, ptr noundef nonnull align 8 dereferenceable(16) %249)
          to label %251 unwind label %278

251:                                              ; preds = %250
  %252 = getelementptr inbounds %"class.jet::Vector", ptr %41, i32 0, i32 1
  %253 = load double, ptr %252, align 8, !tbaa !14
  %254 = getelementptr inbounds %"class.jet::BoundingBox", ptr %11, i32 0, i32 0
  %255 = getelementptr inbounds %"class.jet::Vector", ptr %254, i32 0, i32 1
  %256 = load double, ptr %255, align 8, !tbaa !16
  %257 = getelementptr inbounds %"class.jet::Vector", ptr %10, i32 0, i32 1
  %258 = load double, ptr %257, align 8, !tbaa !14
  %259 = fadd double %256, %258
  %260 = getelementptr inbounds %"class.jet::BoundingBox", ptr %11, i32 0, i32 1
  %261 = getelementptr inbounds %"class.jet::Vector", ptr %260, i32 0, i32 1
  %262 = load double, ptr %261, align 8, !tbaa !18
  %263 = getelementptr inbounds %"class.jet::Vector", ptr %10, i32 0, i32 1
  %264 = load double, ptr %263, align 8, !tbaa !14
  %265 = fsub double %262, %264
  %266 = invoke noundef double @_ZN3jet5clampIdEET_S1_S1_S1_(double noundef %253, double noundef %259, double noundef %265)
          to label %267 unwind label %278

267:                                              ; preds = %251
  %268 = getelementptr inbounds %"class.jet::Vector", ptr %41, i32 0, i32 1
  store double %266, ptr %268, align 8, !tbaa !14
  invoke void @_ZNK3jet18LinearArraySamplerIddLm2EE24getCoordinatesAndWeightsERKNS_6VectorIdLm2EEEPSt5arrayINS_5PointImLm2EEELm4EEPS6_IdLm4EE(ptr noundef nonnull align 8 dereferenceable(72) %31, ptr noundef nonnull align 8 dereferenceable(16) %41, ptr noundef %39, ptr noundef %40)
          to label %269 unwind label %278

269:                                              ; preds = %267
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #7
  store i32 0, ptr %42, align 4, !tbaa !19
  br label %270

270:                                              ; preds = %336, %269
  %271 = load i32, ptr %42, align 4, !tbaa !19
  %272 = icmp slt i32 %271, 4
  br i1 %272, label %282, label %273

273:                                              ; preds = %270
  store i32 5, ptr %38, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #7
  br label %353

274:                                              ; preds = %246
  %275 = landingpad { ptr, i32 }
          cleanup
  %276 = extractvalue { ptr, i32 } %275, 0
  store ptr %276, ptr %5, align 8
  %277 = extractvalue { ptr, i32 } %275, 1
  store i32 %277, ptr %6, align 4
  br label %461

278:                                              ; preds = %267, %251, %250, %247
  %279 = landingpad { ptr, i32 }
          cleanup
  %280 = extractvalue { ptr, i32 } %279, 0
  store ptr %280, ptr %5, align 8
  %281 = extractvalue { ptr, i32 } %279, 1
  store i32 %281, ptr %6, align 4
  br label %460

282:                                              ; preds = %270
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #7
  %283 = load i32, ptr %42, align 4, !tbaa !19
  %284 = sext i32 %283 to i64
  %285 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %39, i64 noundef %284) #7
  %286 = getelementptr inbounds %"class.jet::Point", ptr %285, i32 0, i32 0
  %287 = load i64, ptr %286, align 8, !tbaa !21
  %288 = load i32, ptr %42, align 4, !tbaa !19
  %289 = sext i32 %288 to i64
  %290 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %39, i64 noundef %289) #7
  %291 = getelementptr inbounds %"class.jet::Point", ptr %290, i32 0, i32 1
  %292 = load i64, ptr %291, align 8, !tbaa !23
  invoke void @_ZNKSt8functionIFN3jet6VectorIdLm2EEEmmEEclEmm(ptr dead_on_unwind writable sret(%"class.jet::Vector") align 8 %43, ptr noundef nonnull align 8 dereferenceable(32) %17, i64 noundef %287, i64 noundef %292)
          to label %293 unwind label %339

293:                                              ; preds = %282
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #7
  %294 = getelementptr inbounds %"class.jet::ApicSolver2", ptr %53, i32 0, i32 1
  %295 = load i64, ptr %37, align 8, !tbaa !9
  %296 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %294, i64 noundef %295)
          to label %297 unwind label %343

297:                                              ; preds = %293
  call void @llvm.lifetime.start.p0(i64 16, ptr %45) #7
  invoke void @_ZN3jetmiIdEENS_6VectorIT_Lm2EEERKS3_S5_(ptr dead_on_unwind writable sret(%"class.jet::Vector") align 8 %45, ptr noundef nonnull align 8 dereferenceable(16) %43, ptr noundef nonnull align 8 dereferenceable(16) %41)
          to label %298 unwind label %347

298:                                              ; preds = %297
  %299 = invoke noundef double @_ZNK3jet6VectorIdLm2EE3dotERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %296, ptr noundef nonnull align 8 dereferenceable(16) %45)
          to label %300 unwind label %347

300:                                              ; preds = %298
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #7
  store double %299, ptr %44, align 8, !tbaa !11
  %301 = load i32, ptr %42, align 4, !tbaa !19
  %302 = sext i32 %301 to i64
  %303 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %40, i64 noundef %302) #7
  %304 = load double, ptr %303, align 8, !tbaa !11
  %305 = load i64, ptr %37, align 8, !tbaa !9
  %306 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet13ArrayAccessorINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %8, i64 noundef %305)
          to label %307 unwind label %343

307:                                              ; preds = %300
  %308 = getelementptr inbounds %"class.jet::Vector", ptr %306, i32 0, i32 0
  %309 = load double, ptr %308, align 8, !tbaa !24
  %310 = load double, ptr %44, align 8, !tbaa !11
  %311 = fadd double %309, %310
  %312 = load i32, ptr %42, align 4, !tbaa !19
  %313 = sext i32 %312 to i64
  %314 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %39, i64 noundef %313) #7
  %315 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(16) %314)
          to label %316 unwind label %343

316:                                              ; preds = %307
  %317 = load double, ptr %315, align 8, !tbaa !11
  %318 = call double @llvm.fmuladd.f64(double %304, double %311, double %317)
  store double %318, ptr %315, align 8, !tbaa !11
  %319 = load i32, ptr %42, align 4, !tbaa !19
  %320 = sext i32 %319 to i64
  %321 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %40, i64 noundef %320) #7
  %322 = load double, ptr %321, align 8, !tbaa !11
  %323 = load i32, ptr %42, align 4, !tbaa !19
  %324 = sext i32 %323 to i64
  %325 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %39, i64 noundef %324) #7
  %326 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet5ArrayIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %19, ptr noundef nonnull align 8 dereferenceable(16) %325)
          to label %327 unwind label %343

327:                                              ; preds = %316
  %328 = load double, ptr %326, align 8, !tbaa !11
  %329 = fadd double %328, %322
  store double %329, ptr %326, align 8, !tbaa !11
  %330 = getelementptr inbounds %"class.jet::PicSolver2", ptr %53, i32 0, i32 1
  %331 = load i32, ptr %42, align 4, !tbaa !19
  %332 = sext i32 %331 to i64
  %333 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %39, i64 noundef %332) #7
  %334 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %330, ptr noundef nonnull align 8 dereferenceable(16) %333)
          to label %335 unwind label %343

335:                                              ; preds = %327
  store i8 1, ptr %334, align 1, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #7
  br label %336

336:                                              ; preds = %335
  %337 = load i32, ptr %42, align 4, !tbaa !19
  %338 = add nsw i32 %337, 1
  store i32 %338, ptr %42, align 4, !tbaa !19
  br label %270, !llvm.loop !25

339:                                              ; preds = %282
  %340 = landingpad { ptr, i32 }
          cleanup
  %341 = extractvalue { ptr, i32 } %340, 0
  store ptr %341, ptr %5, align 8
  %342 = extractvalue { ptr, i32 } %340, 1
  store i32 %342, ptr %6, align 4
  br label %352

343:                                              ; preds = %327, %316, %307, %300, %293
  %344 = landingpad { ptr, i32 }
          cleanup
  %345 = extractvalue { ptr, i32 } %344, 0
  store ptr %345, ptr %5, align 8
  %346 = extractvalue { ptr, i32 } %344, 1
  store i32 %346, ptr %6, align 4
  br label %351

347:                                              ; preds = %298, %297
  %348 = landingpad { ptr, i32 }
          cleanup
  %349 = extractvalue { ptr, i32 } %348, 0
  store ptr %349, ptr %5, align 8
  %350 = extractvalue { ptr, i32 } %348, 1
  store i32 %350, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #7
  br label %351

351:                                              ; preds = %347, %343
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  br label %352

352:                                              ; preds = %351, %339
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #7
  br label %460

353:                                              ; preds = %273
  call void @llvm.lifetime.start.p0(i64 16, ptr %46) #7
  %354 = load i64, ptr %37, align 8, !tbaa !9
  %355 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet13ArrayAccessorINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %7, i64 noundef %354)
          to label %356 unwind label %380

356:                                              ; preds = %353
  invoke void @_ZN3jet6VectorIdLm2EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %46, ptr noundef nonnull align 8 dereferenceable(16) %355)
          to label %357 unwind label %380

357:                                              ; preds = %356
  %358 = getelementptr inbounds %"class.jet::Vector", ptr %46, i32 0, i32 0
  %359 = load double, ptr %358, align 8, !tbaa !24
  %360 = getelementptr inbounds %"class.jet::BoundingBox", ptr %11, i32 0, i32 0
  %361 = getelementptr inbounds %"class.jet::Vector", ptr %360, i32 0, i32 0
  %362 = load double, ptr %361, align 8, !tbaa !27
  %363 = getelementptr inbounds %"class.jet::Vector", ptr %10, i32 0, i32 0
  %364 = load double, ptr %363, align 8, !tbaa !24
  %365 = fadd double %362, %364
  %366 = getelementptr inbounds %"class.jet::BoundingBox", ptr %11, i32 0, i32 1
  %367 = getelementptr inbounds %"class.jet::Vector", ptr %366, i32 0, i32 0
  %368 = load double, ptr %367, align 8, !tbaa !28
  %369 = getelementptr inbounds %"class.jet::Vector", ptr %10, i32 0, i32 0
  %370 = load double, ptr %369, align 8, !tbaa !24
  %371 = fsub double %368, %370
  %372 = invoke noundef double @_ZN3jet5clampIdEET_S1_S1_S1_(double noundef %359, double noundef %365, double noundef %371)
          to label %373 unwind label %380

373:                                              ; preds = %357
  %374 = getelementptr inbounds %"class.jet::Vector", ptr %46, i32 0, i32 0
  store double %372, ptr %374, align 8, !tbaa !24
  invoke void @_ZNK3jet18LinearArraySamplerIddLm2EE24getCoordinatesAndWeightsERKNS_6VectorIdLm2EEEPSt5arrayINS_5PointImLm2EEELm4EEPS6_IdLm4EE(ptr noundef nonnull align 8 dereferenceable(72) %34, ptr noundef nonnull align 8 dereferenceable(16) %46, ptr noundef %39, ptr noundef %40)
          to label %375 unwind label %380

375:                                              ; preds = %373
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #7
  store i32 0, ptr %47, align 4, !tbaa !19
  br label %376

376:                                              ; preds = %438, %375
  %377 = load i32, ptr %47, align 4, !tbaa !19
  %378 = icmp slt i32 %377, 4
  br i1 %378, label %384, label %379

379:                                              ; preds = %376
  store i32 8, ptr %38, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #7
  br label %455

380:                                              ; preds = %373, %357, %356, %353
  %381 = landingpad { ptr, i32 }
          cleanup
  %382 = extractvalue { ptr, i32 } %381, 0
  store ptr %382, ptr %5, align 8
  %383 = extractvalue { ptr, i32 } %381, 1
  store i32 %383, ptr %6, align 4
  br label %459

384:                                              ; preds = %376
  call void @llvm.lifetime.start.p0(i64 16, ptr %48) #7
  %385 = load i32, ptr %47, align 4, !tbaa !19
  %386 = sext i32 %385 to i64
  %387 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %39, i64 noundef %386) #7
  %388 = getelementptr inbounds %"class.jet::Point", ptr %387, i32 0, i32 0
  %389 = load i64, ptr %388, align 8, !tbaa !21
  %390 = load i32, ptr %47, align 4, !tbaa !19
  %391 = sext i32 %390 to i64
  %392 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %39, i64 noundef %391) #7
  %393 = getelementptr inbounds %"class.jet::Point", ptr %392, i32 0, i32 1
  %394 = load i64, ptr %393, align 8, !tbaa !23
  invoke void @_ZNKSt8functionIFN3jet6VectorIdLm2EEEmmEEclEmm(ptr dead_on_unwind writable sret(%"class.jet::Vector") align 8 %48, ptr noundef nonnull align 8 dereferenceable(32) %18, i64 noundef %389, i64 noundef %394)
          to label %395 unwind label %441

395:                                              ; preds = %384
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #7
  %396 = getelementptr inbounds %"class.jet::ApicSolver2", ptr %53, i32 0, i32 2
  %397 = load i64, ptr %37, align 8, !tbaa !9
  %398 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %396, i64 noundef %397)
          to label %399 unwind label %445

399:                                              ; preds = %395
  call void @llvm.lifetime.start.p0(i64 16, ptr %50) #7
  invoke void @_ZN3jetmiIdEENS_6VectorIT_Lm2EEERKS3_S5_(ptr dead_on_unwind writable sret(%"class.jet::Vector") align 8 %50, ptr noundef nonnull align 8 dereferenceable(16) %48, ptr noundef nonnull align 8 dereferenceable(16) %46)
          to label %400 unwind label %449

400:                                              ; preds = %399
  %401 = invoke noundef double @_ZNK3jet6VectorIdLm2EE3dotERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %398, ptr noundef nonnull align 8 dereferenceable(16) %50)
          to label %402 unwind label %449

402:                                              ; preds = %400
  call void @llvm.lifetime.end.p0(i64 16, ptr %50) #7
  store double %401, ptr %49, align 8, !tbaa !11
  %403 = load i32, ptr %47, align 4, !tbaa !19
  %404 = sext i32 %403 to i64
  %405 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %40, i64 noundef %404) #7
  %406 = load double, ptr %405, align 8, !tbaa !11
  %407 = load i64, ptr %37, align 8, !tbaa !9
  %408 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet13ArrayAccessorINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %8, i64 noundef %407)
          to label %409 unwind label %445

409:                                              ; preds = %402
  %410 = getelementptr inbounds %"class.jet::Vector", ptr %408, i32 0, i32 1
  %411 = load double, ptr %410, align 8, !tbaa !14
  %412 = load double, ptr %49, align 8, !tbaa !11
  %413 = fadd double %411, %412
  %414 = load i32, ptr %47, align 4, !tbaa !19
  %415 = sext i32 %414 to i64
  %416 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %39, i64 noundef %415) #7
  %417 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(16) %416)
          to label %418 unwind label %445

418:                                              ; preds = %409
  %419 = load double, ptr %417, align 8, !tbaa !11
  %420 = call double @llvm.fmuladd.f64(double %406, double %413, double %419)
  store double %420, ptr %417, align 8, !tbaa !11
  %421 = load i32, ptr %47, align 4, !tbaa !19
  %422 = sext i32 %421 to i64
  %423 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %40, i64 noundef %422) #7
  %424 = load double, ptr %423, align 8, !tbaa !11
  %425 = load i32, ptr %47, align 4, !tbaa !19
  %426 = sext i32 %425 to i64
  %427 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %39, i64 noundef %426) #7
  %428 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet5ArrayIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %22, ptr noundef nonnull align 8 dereferenceable(16) %427)
          to label %429 unwind label %445

429:                                              ; preds = %418
  %430 = load double, ptr %428, align 8, !tbaa !11
  %431 = fadd double %430, %424
  store double %431, ptr %428, align 8, !tbaa !11
  %432 = getelementptr inbounds %"class.jet::PicSolver2", ptr %53, i32 0, i32 2
  %433 = load i32, ptr %47, align 4, !tbaa !19
  %434 = sext i32 %433 to i64
  %435 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %39, i64 noundef %434) #7
  %436 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %432, ptr noundef nonnull align 8 dereferenceable(16) %435)
          to label %437 unwind label %445

437:                                              ; preds = %429
  store i8 1, ptr %436, align 1, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #7
  br label %438

438:                                              ; preds = %437
  %439 = load i32, ptr %47, align 4, !tbaa !19
  %440 = add nsw i32 %439, 1
  store i32 %440, ptr %47, align 4, !tbaa !19
  br label %376, !llvm.loop !29

441:                                              ; preds = %384
  %442 = landingpad { ptr, i32 }
          cleanup
  %443 = extractvalue { ptr, i32 } %442, 0
  store ptr %443, ptr %5, align 8
  %444 = extractvalue { ptr, i32 } %442, 1
  store i32 %444, ptr %6, align 4
  br label %454

445:                                              ; preds = %429, %418, %409, %402, %395
  %446 = landingpad { ptr, i32 }
          cleanup
  %447 = extractvalue { ptr, i32 } %446, 0
  store ptr %447, ptr %5, align 8
  %448 = extractvalue { ptr, i32 } %446, 1
  store i32 %448, ptr %6, align 4
  br label %453

449:                                              ; preds = %400, %399
  %450 = landingpad { ptr, i32 }
          cleanup
  %451 = extractvalue { ptr, i32 } %450, 0
  store ptr %451, ptr %5, align 8
  %452 = extractvalue { ptr, i32 } %450, 1
  store i32 %452, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %50) #7
  br label %453

453:                                              ; preds = %449, %445
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #7
  br label %454

454:                                              ; preds = %453, %441
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #7
  br label %459

455:                                              ; preds = %379
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %39) #7
  br label %456

456:                                              ; preds = %455
  %457 = load i64, ptr %37, align 8, !tbaa !9
  %458 = add i64 %457, 1
  store i64 %458, ptr %37, align 8, !tbaa !9
  br label %127, !llvm.loop !30

459:                                              ; preds = %454, %380
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #7
  br label %460

460:                                              ; preds = %459, %352, %278
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #7
  br label %461

461:                                              ; preds = %460, %274
  call void @llvm.lifetime.end.p0(i64 64, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  br label %481

462:                                              ; preds = %131
  %463 = getelementptr inbounds %class.anon, ptr %51, i32 0, i32 0
  store ptr %19, ptr %463, align 8, !tbaa !5
  %464 = getelementptr inbounds %class.anon, ptr %51, i32 0, i32 1
  store ptr %15, ptr %464, align 8, !tbaa !5
  %465 = getelementptr inbounds { ptr, ptr }, ptr %51, i32 0, i32 0
  %466 = load ptr, ptr %465, align 8
  %467 = getelementptr inbounds { ptr, ptr }, ptr %51, i32 0, i32 1
  %468 = load ptr, ptr %467, align 8
  invoke void @"_ZNK3jet5ArrayIdLm2EE20parallelForEachIndexIZNS_11ApicSolver228transferFromParticlesToGridsEvE3$_0EEvT_"(ptr noundef nonnull align 8 dereferenceable(40) %19, ptr %466, ptr %468)
          to label %469 unwind label %477

469:                                              ; preds = %462
  %470 = getelementptr inbounds %class.anon.71, ptr %52, i32 0, i32 0
  store ptr %22, ptr %470, align 8, !tbaa !5
  %471 = getelementptr inbounds %class.anon.71, ptr %52, i32 0, i32 1
  store ptr %16, ptr %471, align 8, !tbaa !5
  %472 = getelementptr inbounds { ptr, ptr }, ptr %52, i32 0, i32 0
  %473 = load ptr, ptr %472, align 8
  %474 = getelementptr inbounds { ptr, ptr }, ptr %52, i32 0, i32 1
  %475 = load ptr, ptr %474, align 8
  invoke void @"_ZNK3jet5ArrayIdLm2EE20parallelForEachIndexIZNS_11ApicSolver228transferFromParticlesToGridsEvE3$_1EEvT_"(ptr noundef nonnull align 8 dereferenceable(40) %22, ptr %473, ptr %475)
          to label %476 unwind label %477

476:                                              ; preds = %469
  call void @llvm.lifetime.end.p0(i64 72, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr %31) #7
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %22) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %22) #7
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %19) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %19) #7
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #7
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #7
  call void @_ZNSt12__shared_ptrIN3jet19ParticleSystemData2ELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #7
  call void @_ZNSt12__shared_ptrIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #7
  ret void

477:                                              ; preds = %469, %462
  %478 = landingpad { ptr, i32 }
          cleanup
  %479 = extractvalue { ptr, i32 } %478, 0
  store ptr %479, ptr %5, align 8
  %480 = extractvalue { ptr, i32 } %478, 1
  store i32 %480, ptr %6, align 4
  br label %481

481:                                              ; preds = %477, %461, %245
  call void @llvm.lifetime.end.p0(i64 72, ptr %34) #7
  br label %482

482:                                              ; preds = %481, %236
  call void @llvm.lifetime.end.p0(i64 72, ptr %31) #7
  br label %483

483:                                              ; preds = %482, %224, %220, %219, %210
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %22) #7
  br label %484

484:                                              ; preds = %483, %201
  call void @llvm.lifetime.end.p0(i64 40, ptr %22) #7
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %19) #7
  br label %485

485:                                              ; preds = %484, %192
  call void @llvm.lifetime.end.p0(i64 40, ptr %19) #7
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  br label %486

486:                                              ; preds = %485, %180
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #7
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  br label %487

487:                                              ; preds = %486, %176
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #7
  br label %488

488:                                              ; preds = %487, %172
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #7
  br label %489

489:                                              ; preds = %488, %168
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #7
  br label %490

490:                                              ; preds = %489, %164, %160, %156, %152
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #7
  br label %491

491:                                              ; preds = %490, %148
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  br label %492

492:                                              ; preds = %491, %144
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  br label %493

493:                                              ; preds = %492, %140
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #7
  br label %494

494:                                              ; preds = %493, %136
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #7
  call void @_ZNSt12__shared_ptrIN3jet19ParticleSystemData2ELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  br label %495

495:                                              ; preds = %494, %132
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #7
  call void @_ZNSt12__shared_ptrIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #7
  br label %496

496:                                              ; preds = %495
  %497 = load ptr, ptr %5, align 8
  %498 = load i32, ptr %6, align 4
  %499 = insertvalue { ptr, i32 } poison, ptr %497, 0
  %500 = insertvalue { ptr, i32 } %499, i32 %498, 1
  resume { ptr, i32 } %500
}

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet16GridFluidSolver214gridSystemDataEv(ptr noundef nonnull align 8 dereferenceable(192)) #2

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet15GridSystemData28velocityEv(ptr noundef nonnull align 8 dereferenceable(176)) #2

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet10PicSolver218particleSystemDataEv(ptr noundef nonnull align 8 dereferenceable(312)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10shared_ptrIN3jet19ParticleSystemData2EEC2ERKS2_(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_accessIN3jet19ParticleSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1)) #3 align 2

declare void @_ZN3jet19ParticleSystemData29positionsEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor") align 8, ptr noundef nonnull align 8 dereferenceable(144)) #2

declare void @_ZN3jet19ParticleSystemData210velocitiesEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor") align 8, ptr noundef nonnull align 8 dereferenceable(144)) #2

declare noundef i64 @_ZNK3jet19ParticleSystemData217numberOfParticlesEv(ptr noundef nonnull align 8 dereferenceable(144)) #2

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

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid211gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(88)) #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 #1 align 2

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

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

declare void @_ZN3jet17FaceCenteredGrid24fillERKNS_6VectorIdLm2EEENS_15ExecutionPolicyE(ptr noundef nonnull align 8 dereferenceable(384), ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #2

declare void @_ZN3jet17FaceCenteredGrid29uAccessorEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor.67") align 8, ptr noundef nonnull align 8 dereferenceable(384)) #2

declare void @_ZN3jet17FaceCenteredGrid29vAccessorEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor.67") align 8, ptr noundef nonnull align 8 dereferenceable(384)) #2

declare void @_ZNK3jet17FaceCenteredGrid29uPositionEv(ptr dead_on_unwind writable sret(%"class.std::function.68") align 8, ptr noundef nonnull align 8 dereferenceable(384)) #2

declare void @_ZNK3jet17FaceCenteredGrid29vPositionEv(ptr dead_on_unwind writable sret(%"class.std::function.68") align 8, ptr noundef nonnull align 8 dereferenceable(384)) #2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3jet5ArrayIcLm2EE3setERKc(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 1 dereferenceable(1)) #3 align 2

declare void @_ZNK3jet17FaceCenteredGrid214uConstAccessorEv(ptr dead_on_unwind writable sret(%"class.jet::ConstArrayAccessor") align 8, ptr noundef nonnull align 8 dereferenceable(384)) #2

declare void @_ZNK3jet17FaceCenteredGrid27uOriginEv(ptr dead_on_unwind writable sret(%"class.jet::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(384)) #2

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

declare void @_ZNK3jet17FaceCenteredGrid214vConstAccessorEv(ptr dead_on_unwind writable sret(%"class.jet::ConstArrayAccessor") align 8, ptr noundef nonnull align 8 dereferenceable(384)) #2

declare void @_ZNK3jet17FaceCenteredGrid27vOriginEv(ptr dead_on_unwind writable sret(%"class.jet::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(384)) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEC2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #4 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZN3jet5clampIdEET_S1_S1_S1_(double noundef, double noundef, double noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3jet18LinearArraySamplerIddLm2EE24getCoordinatesAndWeightsERKNS_6VectorIdLm2EEEPSt5arrayINS_5PointImLm2EEELm4EEPS6_IdLm4EE(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNKSt8functionIFN3jet6VectorIdLm2EEEmmEEclEmm(ptr dead_on_unwind noalias writable sret(%"class.jet::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64), i64 noundef) #3 align 2

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNK3jet5ArrayIdLm2EE20parallelForEachIndexIZNS_11ApicSolver228transferFromParticlesToGridsEvE3$_1EEvT_"(ptr noundef nonnull align 8 dereferenceable(40), ptr, ptr) #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt12__shared_ptrIN3jet19ParticleSystemData2ELN9__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_ptrIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { 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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !12, i64 8}
!15 = !{!"_ZTSN3jet6VectorIdLm2EEE", !12, i64 0, !12, i64 8}
!16 = !{!17, !12, i64 8}
!17 = !{!"_ZTSN3jet11BoundingBoxIdLm2EEE", !15, i64 0, !15, i64 16}
!18 = !{!17, !12, i64 24}
!19 = !{!20, !20, i64 0}
!20 = !{!"int", !7, i64 0}
!21 = !{!22, !10, i64 0}
!22 = !{!"_ZTSN3jet5PointImLm2EEE", !10, i64 0, !10, i64 8}
!23 = !{!22, !10, i64 8}
!24 = !{!15, !12, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!17, !12, i64 0}
!28 = !{!17, !12, i64 16}
!29 = distinct !{!29, !26}
!30 = distinct !{!30, !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.std::shared_ptr.30" = type { %"class.std::__shared_ptr.31" }
%"class.std::__shared_ptr.31" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.18" = type { %"class.std::__shared_ptr.19" }
%"class.std::__shared_ptr.19" = type { ptr, %"class.std::__shared_count" }
%"class.jet::ArrayAccessor" = type { i64, ptr }
%"class.jet::Vector" = type { double, double }
%"class.jet::BoundingBox" = type { %"class.jet::Vector", %"class.jet::Vector" }
%"class.jet::ArrayAccessor.67" = type { %"class.jet::Size2", ptr }
%"class.jet::Size2" = type { i64, i64 }
%"class.std::function.68" = 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.jet::Array.61" = type { %"class.jet::Size2", %"class.std::vector.62" }
%"class.std::vector.62" = type { %"struct.std::_Vector_base.63" }
%"struct.std::_Vector_base.63" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.jet::LinearArraySampler" = type { %"class.jet::Vector", %"class.jet::Vector", %"class.jet::Vector", %"class.jet::ConstArrayAccessor" }
%"class.jet::ConstArrayAccessor" = type { %"class.jet::Size2", ptr }
%"struct.std::array" = type { [4 x %"class.jet::Point"] }
%"class.jet::Point" = type { i64, i64 }
%"struct.std::array.70" = type { [4 x double] }

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3jet11ApicSolver228transferFromParticlesToGridsEv(ptr noundef nonnull align 8 dereferenceable(360) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::shared_ptr.30", align 8
  %3 = alloca %"class.std::shared_ptr.18", align 8
  %4 = alloca %"class.jet::ArrayAccessor", align 8
  %5 = alloca %"class.jet::ArrayAccessor", align 8
  %6 = alloca %"class.jet::Vector", align 8
  %7 = alloca %"class.jet::BoundingBox", align 8
  %8 = alloca %"class.jet::Vector", align 8
  %9 = alloca %"class.jet::Vector", align 8
  %10 = alloca %"class.jet::Vector", align 8
  %11 = alloca %"class.jet::ArrayAccessor.67", align 8
  %12 = alloca %"class.jet::ArrayAccessor.67", align 8
  %13 = alloca %"class.std::function.68", align 8
  %14 = alloca %"class.std::function.68", align 8
  %15 = alloca %"class.jet::Array.61", align 8
  %16 = alloca %"class.jet::Size2", align 8
  %17 = alloca double, align 8
  %18 = alloca %"class.jet::Array.61", align 8
  %19 = alloca %"class.jet::Size2", align 8
  %20 = alloca double, align 8
  %21 = alloca %"class.jet::Size2", align 8
  %22 = alloca i8, align 1
  %23 = alloca %"class.jet::Size2", align 8
  %24 = alloca i8, align 1
  %25 = alloca i8, align 1
  %26 = alloca i8, align 1
  %27 = alloca %"class.jet::LinearArraySampler", align 8
  %28 = alloca %"class.jet::ConstArrayAccessor", align 8
  %29 = alloca %"class.jet::Vector", align 8
  %30 = alloca %"class.jet::LinearArraySampler", align 8
  %31 = alloca %"class.jet::ConstArrayAccessor", align 8
  %32 = alloca %"class.jet::Vector", align 8
  %33 = alloca %"struct.std::array", align 8
  %34 = alloca %"struct.std::array.70", align 8
  %35 = alloca %"class.jet::Vector", align 8
  %36 = alloca %"class.jet::Vector", align 8
  %37 = alloca %"class.jet::Vector", align 8
  %38 = alloca %"class.jet::Vector", align 8
  %39 = alloca %"class.jet::Vector", align 8
  %40 = alloca %"class.jet::Vector", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #7
  %41 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet16GridFluidSolver214gridSystemDataEv(ptr noundef nonnull align 8 dereferenceable(192) %0)
  %42 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet15GridSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %41) #7
  %43 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet15GridSystemData28velocityEv(ptr noundef nonnull align 8 dereferenceable(176) %42)
  call void @_ZNSt10shared_ptrIN3jet17FaceCenteredGrid2EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(16) %43) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #7
  %44 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet10PicSolver218particleSystemDataEv(ptr noundef nonnull align 8 dereferenceable(312) %0)
          to label %45 unwind label %110

45:                                               ; preds = %1
  call void @_ZNSt10shared_ptrIN3jet19ParticleSystemData2EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) %44) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #7
  %46 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet19ParticleSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  invoke void @_ZN3jet19ParticleSystemData29positionsEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ArrayAccessor") align 8 %4, ptr noundef nonnull align 8 dereferenceable(144) %46)
          to label %47 unwind label %112

47:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #7
  %48 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet19ParticleSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  invoke void @_ZN3jet19ParticleSystemData210velocitiesEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ArrayAccessor") align 8 %5, ptr noundef nonnull align 8 dereferenceable(144) %48)
          to label %49 unwind label %114

49:                                               ; preds = %47
  %50 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet19ParticleSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  %51 = invoke noundef i64 @_ZNK3jet19ParticleSystemData217numberOfParticlesEv(ptr noundef nonnull align 8 dereferenceable(144) %50)
          to label %52 unwind label %116

52:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #7
  %53 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #7
  %54 = getelementptr inbounds i8, ptr %53, i64 8
  %55 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid211gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(88) %54)
          to label %56 unwind label %118

56:                                               ; preds = %52
  invoke void @_ZN3jetdvIdEENS_6VectorIT_Lm2EEERKS3_S2_(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %6, ptr noundef nonnull align 8 dereferenceable(16) %55, double noundef 2.000000e+00)
          to label %57 unwind label %118

57:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #7
  %58 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #7
  %59 = getelementptr inbounds i8, ptr %58, i64 8
  %60 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3jet5Grid211boundingBoxEv(ptr noundef nonnull align 8 dereferenceable(88) %59)
          to label %61 unwind label %120

61:                                               ; preds = %57
  invoke void @_ZN3jet11BoundingBoxIdLm2EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %60)
          to label %62 unwind label %120

62:                                               ; preds = %61
  %63 = getelementptr inbounds i8, ptr %0, i64 312
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #7
  call void @_ZN3jet6VectorIdLm2EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8)
  invoke void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EE6resizeEmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef %51, ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %64 unwind label %122

64:                                               ; preds = %62
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  %65 = getelementptr inbounds i8, ptr %0, i64 336
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #7
  call void @_ZN3jet6VectorIdLm2EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9)
  invoke void @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EE6resizeEmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef %51, ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %66 unwind label %124

66:                                               ; preds = %64
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  %67 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #7
  call void @_ZN3jet6VectorIdLm2EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10)
  invoke void @_ZN3jet17FaceCenteredGrid24fillERKNS_6VectorIdLm2EEENS_15ExecutionPolicyE(ptr noundef nonnull align 8 dereferenceable(384) %67, ptr noundef nonnull align 8 dereferenceable(16) %10, i32 noundef 1)
          to label %68 unwind label %126

68:                                               ; preds = %66
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #7
  %69 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #7
  invoke void @_ZN3jet17FaceCenteredGrid29uAccessorEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ArrayAccessor.67") align 8 %11, ptr noundef nonnull align 8 dereferenceable(384) %69)
          to label %70 unwind label %128

70:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #7
  %71 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #7
  invoke void @_ZN3jet17FaceCenteredGrid29vAccessorEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ArrayAccessor.67") align 8 %12, ptr noundef nonnull align 8 dereferenceable(384) %71)
          to label %72 unwind label %130

72:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #7
  %73 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #7
  invoke void @_ZNK3jet17FaceCenteredGrid29uPositionEv(ptr dead_on_unwind nonnull writable sret(%"class.std::function.68") align 8 %13, ptr noundef nonnull align 8 dereferenceable(384) %73)
          to label %74 unwind label %132

74:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #7
  %75 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #7
  invoke void @_ZNK3jet17FaceCenteredGrid29vPositionEv(ptr dead_on_unwind nonnull writable sret(%"class.std::function.68") align 8 %14, ptr noundef nonnull align 8 dereferenceable(384) %75)
          to label %76 unwind label %134

76:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #7
  invoke void @_ZNK3jet13ArrayAccessorIdLm2EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size2") align 8 %16, ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %77 unwind label %136

77:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  store double 0.000000e+00, ptr %17, align 8, !tbaa !5
  invoke void @_ZN3jet5ArrayIdLm2EEC2ERKNS_5Size2ERKd(ptr noundef nonnull align 8 dereferenceable(40) %15, ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %78 unwind label %138

78:                                               ; preds = %77
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #7
  invoke void @_ZNK3jet13ArrayAccessorIdLm2EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size2") align 8 %19, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %79 unwind label %141

79:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  store double 0.000000e+00, ptr %20, align 8, !tbaa !5
  invoke void @_ZN3jet5ArrayIdLm2EEC2ERKNS_5Size2ERKd(ptr noundef nonnull align 8 dereferenceable(40) %18, ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(8) %20)
          to label %80 unwind label %143

80:                                               ; preds = %79
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #7
  %81 = getelementptr inbounds i8, ptr %0, i64 192
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #7
  invoke void @_ZNK3jet13ArrayAccessorIdLm2EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size2") align 8 %21, ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %82 unwind label %146

82:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #7
  store i8 0, ptr %22, align 1, !tbaa !9
  invoke void @_ZN3jet5ArrayIcLm2EE6resizeERKNS_5Size2ERKc(ptr noundef nonnull align 8 dereferenceable(40) %81, ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %83 unwind label %148

83:                                               ; preds = %82
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #7
  %84 = getelementptr inbounds i8, ptr %0, i64 232
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #7
  invoke void @_ZNK3jet13ArrayAccessorIdLm2EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size2") align 8 %23, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %85 unwind label %151

85:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %24) #7
  store i8 0, ptr %24, align 1, !tbaa !9
  invoke void @_ZN3jet5ArrayIcLm2EE6resizeERKNS_5Size2ERKc(ptr noundef nonnull align 8 dereferenceable(40) %84, ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %86 unwind label %153

86:                                               ; preds = %85
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %25) #7
  store i8 0, ptr %25, align 1, !tbaa !9
  call void @_ZN3jet5ArrayIcLm2EE3setERKc(ptr noundef nonnull align 8 dereferenceable(40) %81, ptr noundef nonnull align 1 dereferenceable(1) %25)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %26) #7
  store i8 0, ptr %26, align 1, !tbaa !9
  call void @_ZN3jet5ArrayIcLm2EE3setERKc(ptr noundef nonnull align 8 dereferenceable(40) %84, ptr noundef nonnull align 1 dereferenceable(1) %26)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #7
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %27) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %28) #7
  %87 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #7
  invoke void @_ZNK3jet17FaceCenteredGrid214uConstAccessorEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ConstArrayAccessor") align 8 %28, ptr noundef nonnull align 8 dereferenceable(384) %87)
          to label %88 unwind label %156

88:                                               ; preds = %86
  %89 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #7
  %90 = getelementptr inbounds i8, ptr %89, i64 8
  %91 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid211gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(88) %90)
          to label %92 unwind label %156

92:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %29) #7
  %93 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #7
  invoke void @_ZNK3jet17FaceCenteredGrid27uOriginEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %29, ptr noundef nonnull align 8 dereferenceable(384) %93)
          to label %94 unwind label %158

94:                                               ; preds = %92
  invoke void @_ZN3jet18LinearArraySamplerIddLm2EEC2ERKNS_18ConstArrayAccessorIdLm2EEERKNS_6VectorIdLm2EEES9_(ptr noundef nonnull align 8 dereferenceable(72) %27, ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 8 dereferenceable(16) %91, ptr noundef nonnull align 8 dereferenceable(16) %29)
          to label %95 unwind label %158

95:                                               ; preds = %94
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #7
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %30) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %31) #7
  %96 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #7
  invoke void @_ZNK3jet17FaceCenteredGrid214vConstAccessorEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ConstArrayAccessor") align 8 %31, ptr noundef nonnull align 8 dereferenceable(384) %96)
          to label %97 unwind label %161

97:                                               ; preds = %95
  %98 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #7
  %99 = getelementptr inbounds i8, ptr %98, i64 8
  %100 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid211gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(88) %99)
          to label %101 unwind label %161

101:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %32) #7
  %102 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #7
  invoke void @_ZNK3jet17FaceCenteredGrid27vOriginEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %32, ptr noundef nonnull align 8 dereferenceable(384) %102)
          to label %103 unwind label %163

103:                                              ; preds = %101
  invoke void @_ZN3jet18LinearArraySamplerIddLm2EEC2ERKNS_18ConstArrayAccessorIdLm2EEERKNS_6VectorIdLm2EEES9_(ptr noundef nonnull align 8 dereferenceable(72) %30, ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 8 dereferenceable(16) %100, ptr noundef nonnull align 8 dereferenceable(16) %32)
          to label %104 unwind label %163

104:                                              ; preds = %103
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %31) #7
  %.not = icmp eq i64 %51, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %104
  %105 = getelementptr inbounds i8, ptr %35, i64 8
  %106 = getelementptr inbounds i8, ptr %7, i64 8
  %107 = getelementptr inbounds i8, ptr %6, i64 8
  %108 = getelementptr inbounds i8, ptr %7, i64 16
  %109 = getelementptr inbounds i8, ptr %7, i64 24
  br label %166

._crit_edge:                                      ; preds = %381, %104
  invoke void @"_ZNK3jet5ArrayIdLm2EE20parallelForEachIndexIZNS_11ApicSolver228transferFromParticlesToGridsEvE3$_0EEvT_"(ptr noundef nonnull align 8 dereferenceable(40) %15, ptr nonnull %15, ptr nonnull %11)
          to label %410 unwind label %412

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

112:                                              ; preds = %45
  %113 = landingpad { ptr, i32 }
          cleanup
  br label %426

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

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

118:                                              ; preds = %56, %52
  %119 = landingpad { ptr, i32 }
          cleanup
  br label %424

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

122:                                              ; preds = %62
  %123 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  br label %423

124:                                              ; preds = %64
  %125 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  br label %423

126:                                              ; preds = %66
  %127 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  br label %423

128:                                              ; preds = %68
  %129 = landingpad { ptr, i32 }
          cleanup
  br label %422

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

132:                                              ; preds = %72
  %133 = landingpad { ptr, i32 }
          cleanup
  br label %420

134:                                              ; preds = %74
  %135 = landingpad { ptr, i32 }
          cleanup
  br label %419

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

138:                                              ; preds = %77
  %139 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  br label %140

140:                                              ; preds = %138, %136
  %.pn = phi { ptr, i32 } [ %139, %138 ], [ %137, %136 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  br label %418

141:                                              ; preds = %78
  %142 = landingpad { ptr, i32 }
          cleanup
  br label %145

143:                                              ; preds = %79
  %144 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  br label %145

145:                                              ; preds = %143, %141
  %.pn65 = phi { ptr, i32 } [ %144, %143 ], [ %142, %141 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #7
  br label %417

146:                                              ; preds = %80
  %147 = landingpad { ptr, i32 }
          cleanup
  br label %150

148:                                              ; preds = %82
  %149 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #7
  br label %150

150:                                              ; preds = %148, %146
  %.pn67 = phi { ptr, i32 } [ %149, %148 ], [ %147, %146 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #7
  br label %416

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

153:                                              ; preds = %85
  %154 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #7
  br label %155

155:                                              ; preds = %153, %151
  %.pn69 = phi { ptr, i32 } [ %154, %153 ], [ %152, %151 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #7
  br label %416

156:                                              ; preds = %88, %86
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %160

158:                                              ; preds = %94, %92
  %159 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #7
  br label %160

160:                                              ; preds = %158, %156
  %.pn71 = phi { ptr, i32 } [ %159, %158 ], [ %157, %156 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #7
  br label %415

161:                                              ; preds = %97, %95
  %162 = landingpad { ptr, i32 }
          cleanup
  br label %165

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

165:                                              ; preds = %163, %161
  %.pn73 = phi { ptr, i32 } [ %164, %163 ], [ %162, %161 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %31) #7
  br label %414

166:                                              ; preds = %.lr.ph, %381
  %.061100 = phi i64 [ 0, %.lr.ph ], [ %401, %381 ]
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %33) #7
  invoke void @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEC2Ev(ptr noundef nonnull align 8 dereferenceable(64) %33)
          to label %167 unwind label %186

167:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %34) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %35) #7
  %168 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet13ArrayAccessorINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %.061100)
  call void @_ZN3jet6VectorIdLm2EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %35, ptr noundef nonnull align 8 dereferenceable(16) %168)
  %169 = load double, ptr %105, align 8, !tbaa !10
  %170 = load double, ptr %106, align 8, !tbaa !12
  %171 = load double, ptr %107, align 8, !tbaa !10
  %172 = fadd double %170, %171
  %173 = load double, ptr %109, align 8, !tbaa !14
  %174 = fsub double %173, %171
  %175 = call noundef double @_ZN3jet5clampIdEET_S1_S1_S1_(double noundef %169, double noundef %172, double noundef %174)
  store double %175, ptr %105, align 8, !tbaa !10
  invoke void @_ZNK3jet18LinearArraySamplerIddLm2EE24getCoordinatesAndWeightsERKNS_6VectorIdLm2EEEPSt5arrayINS_5PointImLm2EEELm4EEPS6_IdLm4EE(ptr noundef nonnull align 8 dereferenceable(72) %27, ptr noundef nonnull align 8 dereferenceable(16) %35, ptr noundef nonnull %33, ptr noundef nonnull %34)
          to label %.preheader97.preheader unwind label %188

.preheader97.preheader:                           ; preds = %167
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %36) #7
  %176 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 0) #7
  %177 = load i64, ptr %176, align 8, !tbaa !15
  %178 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 0) #7
  %179 = getelementptr inbounds i8, ptr %178, i64 8
  %180 = load i64, ptr %179, align 8, !tbaa !18
  invoke void @_ZNKSt8functionIFN3jet6VectorIdLm2EEEmmEEclEmm(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %36, ptr noundef nonnull align 8 dereferenceable(32) %13, i64 noundef %177, i64 noundef %180)
          to label %190 unwind label %294

.preheader.preheader:                             ; preds = %267
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %39) #7
  %181 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 0) #7
  %182 = load i64, ptr %181, align 8, !tbaa !15
  %183 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 0) #7
  %184 = getelementptr inbounds i8, ptr %183, i64 8
  %185 = load i64, ptr %184, align 8, !tbaa !18
  invoke void @_ZNKSt8functionIFN3jet6VectorIdLm2EEEmmEEclEmm(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %39, ptr noundef nonnull align 8 dereferenceable(32) %14, i64 noundef %182, i64 noundef %185)
          to label %301 unwind label %402

186:                                              ; preds = %166
  %187 = landingpad { ptr, i32 }
          cleanup
  br label %409

188:                                              ; preds = %167
  %189 = landingpad { ptr, i32 }
          cleanup
  br label %408

190:                                              ; preds = %.preheader97.preheader
  %191 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef %.061100)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %37) #7
  invoke void @_ZN3jetmiIdEENS_6VectorIT_Lm2EEERKS3_S5_(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %37, ptr noundef nonnull align 8 dereferenceable(16) %36, ptr noundef nonnull align 8 dereferenceable(16) %35)
          to label %.preheader97.1 unwind label %296

.preheader97.1:                                   ; preds = %190
  %192 = call noundef double @_ZNK3jet6VectorIdLm2EE3dotERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %191, ptr noundef nonnull align 8 dereferenceable(16) %37)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %37) #7
  %193 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %34, i64 noundef 0) #7
  %194 = load double, ptr %193, align 8, !tbaa !5
  %195 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet13ArrayAccessorINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef %.061100)
  %196 = load double, ptr %195, align 8, !tbaa !19
  %197 = fadd double %192, %196
  %198 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 0) #7
  %199 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(16) %198)
  %200 = load double, ptr %199, align 8, !tbaa !5
  %201 = call double @llvm.fmuladd.f64(double %194, double %197, double %200)
  store double %201, ptr %199, align 8, !tbaa !5
  %202 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %34, i64 noundef 0) #7
  %203 = load double, ptr %202, align 8, !tbaa !5
  %204 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 0) #7
  %205 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet5ArrayIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %15, ptr noundef nonnull align 8 dereferenceable(16) %204)
  %206 = load double, ptr %205, align 8, !tbaa !5
  %207 = fadd double %203, %206
  store double %207, ptr %205, align 8, !tbaa !5
  %208 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 0) #7
  %209 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %81, ptr noundef nonnull align 8 dereferenceable(16) %208)
  store i8 1, ptr %209, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %36) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %36) #7
  %210 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 1) #7
  %211 = load i64, ptr %210, align 8, !tbaa !15
  %212 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 1) #7
  %213 = getelementptr inbounds i8, ptr %212, i64 8
  %214 = load i64, ptr %213, align 8, !tbaa !18
  invoke void @_ZNKSt8functionIFN3jet6VectorIdLm2EEEmmEEclEmm(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %36, ptr noundef nonnull align 8 dereferenceable(32) %13, i64 noundef %211, i64 noundef %214)
          to label %215 unwind label %294

215:                                              ; preds = %.preheader97.1
  %216 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef %.061100)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %37) #7
  invoke void @_ZN3jetmiIdEENS_6VectorIT_Lm2EEERKS3_S5_(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %37, ptr noundef nonnull align 8 dereferenceable(16) %36, ptr noundef nonnull align 8 dereferenceable(16) %35)
          to label %.preheader97.2 unwind label %296

.preheader97.2:                                   ; preds = %215
  %217 = call noundef double @_ZNK3jet6VectorIdLm2EE3dotERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %216, ptr noundef nonnull align 8 dereferenceable(16) %37)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %37) #7
  %218 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %34, i64 noundef 1) #7
  %219 = load double, ptr %218, align 8, !tbaa !5
  %220 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet13ArrayAccessorINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef %.061100)
  %221 = load double, ptr %220, align 8, !tbaa !19
  %222 = fadd double %217, %221
  %223 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 1) #7
  %224 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(16) %223)
  %225 = load double, ptr %224, align 8, !tbaa !5
  %226 = call double @llvm.fmuladd.f64(double %219, double %222, double %225)
  store double %226, ptr %224, align 8, !tbaa !5
  %227 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %34, i64 noundef 1) #7
  %228 = load double, ptr %227, align 8, !tbaa !5
  %229 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 1) #7
  %230 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet5ArrayIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %15, ptr noundef nonnull align 8 dereferenceable(16) %229)
  %231 = load double, ptr %230, align 8, !tbaa !5
  %232 = fadd double %228, %231
  store double %232, ptr %230, align 8, !tbaa !5
  %233 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 1) #7
  %234 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %81, ptr noundef nonnull align 8 dereferenceable(16) %233)
  store i8 1, ptr %234, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %36) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %36) #7
  %235 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 2) #7
  %236 = load i64, ptr %235, align 8, !tbaa !15
  %237 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 2) #7
  %238 = getelementptr inbounds i8, ptr %237, i64 8
  %239 = load i64, ptr %238, align 8, !tbaa !18
  invoke void @_ZNKSt8functionIFN3jet6VectorIdLm2EEEmmEEclEmm(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %36, ptr noundef nonnull align 8 dereferenceable(32) %13, i64 noundef %236, i64 noundef %239)
          to label %240 unwind label %294

240:                                              ; preds = %.preheader97.2
  %241 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef %.061100)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %37) #7
  invoke void @_ZN3jetmiIdEENS_6VectorIT_Lm2EEERKS3_S5_(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %37, ptr noundef nonnull align 8 dereferenceable(16) %36, ptr noundef nonnull align 8 dereferenceable(16) %35)
          to label %.preheader97.3 unwind label %296

.preheader97.3:                                   ; preds = %240
  %242 = call noundef double @_ZNK3jet6VectorIdLm2EE3dotERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %241, ptr noundef nonnull align 8 dereferenceable(16) %37)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %37) #7
  %243 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %34, i64 noundef 2) #7
  %244 = load double, ptr %243, align 8, !tbaa !5
  %245 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet13ArrayAccessorINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef %.061100)
  %246 = load double, ptr %245, align 8, !tbaa !19
  %247 = fadd double %242, %246
  %248 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 2) #7
  %249 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(16) %248)
  %250 = load double, ptr %249, align 8, !tbaa !5
  %251 = call double @llvm.fmuladd.f64(double %244, double %247, double %250)
  store double %251, ptr %249, align 8, !tbaa !5
  %252 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %34, i64 noundef 2) #7
  %253 = load double, ptr %252, align 8, !tbaa !5
  %254 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 2) #7
  %255 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet5ArrayIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %15, ptr noundef nonnull align 8 dereferenceable(16) %254)
  %256 = load double, ptr %255, align 8, !tbaa !5
  %257 = fadd double %253, %256
  store double %257, ptr %255, align 8, !tbaa !5
  %258 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 2) #7
  %259 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %81, ptr noundef nonnull align 8 dereferenceable(16) %258)
  store i8 1, ptr %259, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %36) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %36) #7
  %260 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 3) #7
  %261 = load i64, ptr %260, align 8, !tbaa !15
  %262 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 3) #7
  %263 = getelementptr inbounds i8, ptr %262, i64 8
  %264 = load i64, ptr %263, align 8, !tbaa !18
  invoke void @_ZNKSt8functionIFN3jet6VectorIdLm2EEEmmEEclEmm(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %36, ptr noundef nonnull align 8 dereferenceable(32) %13, i64 noundef %261, i64 noundef %264)
          to label %265 unwind label %294

265:                                              ; preds = %.preheader97.3
  %266 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef %.061100)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %37) #7
  invoke void @_ZN3jetmiIdEENS_6VectorIT_Lm2EEERKS3_S5_(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %37, ptr noundef nonnull align 8 dereferenceable(16) %36, ptr noundef nonnull align 8 dereferenceable(16) %35)
          to label %267 unwind label %296

267:                                              ; preds = %265
  %268 = call noundef double @_ZNK3jet6VectorIdLm2EE3dotERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %266, ptr noundef nonnull align 8 dereferenceable(16) %37)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %37) #7
  %269 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %34, i64 noundef 3) #7
  %270 = load double, ptr %269, align 8, !tbaa !5
  %271 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet13ArrayAccessorINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef %.061100)
  %272 = load double, ptr %271, align 8, !tbaa !19
  %273 = fadd double %268, %272
  %274 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 3) #7
  %275 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(16) %274)
  %276 = load double, ptr %275, align 8, !tbaa !5
  %277 = call double @llvm.fmuladd.f64(double %270, double %273, double %276)
  store double %277, ptr %275, align 8, !tbaa !5
  %278 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %34, i64 noundef 3) #7
  %279 = load double, ptr %278, align 8, !tbaa !5
  %280 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 3) #7
  %281 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet5ArrayIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %15, ptr noundef nonnull align 8 dereferenceable(16) %280)
  %282 = load double, ptr %281, align 8, !tbaa !5
  %283 = fadd double %279, %282
  store double %283, ptr %281, align 8, !tbaa !5
  %284 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 3) #7
  %285 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %81, ptr noundef nonnull align 8 dereferenceable(16) %284)
  store i8 1, ptr %285, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %36) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %38) #7
  %286 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet13ArrayAccessorINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %.061100)
  call void @_ZN3jet6VectorIdLm2EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 8 dereferenceable(16) %286)
  %287 = load double, ptr %38, align 8, !tbaa !19
  %288 = load double, ptr %7, align 8, !tbaa !20
  %289 = load double, ptr %6, align 8, !tbaa !19
  %290 = fadd double %288, %289
  %291 = load double, ptr %108, align 8, !tbaa !21
  %292 = fsub double %291, %289
  %293 = call noundef double @_ZN3jet5clampIdEET_S1_S1_S1_(double noundef %287, double noundef %290, double noundef %292)
  store double %293, ptr %38, align 8, !tbaa !19
  invoke void @_ZNK3jet18LinearArraySamplerIddLm2EE24getCoordinatesAndWeightsERKNS_6VectorIdLm2EEEPSt5arrayINS_5PointImLm2EEELm4EEPS6_IdLm4EE(ptr noundef nonnull align 8 dereferenceable(72) %30, ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull %33, ptr noundef nonnull %34)
          to label %.preheader.preheader unwind label %299

294:                                              ; preds = %.preheader97.3, %.preheader97.2, %.preheader97.1, %.preheader97.preheader
  %295 = landingpad { ptr, i32 }
          cleanup
  br label %298

296:                                              ; preds = %265, %240, %215, %190
  %297 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %37) #7
  br label %298

298:                                              ; preds = %296, %294
  %.pn78 = phi { ptr, i32 } [ %297, %296 ], [ %295, %294 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %36) #7
  br label %408

299:                                              ; preds = %267
  %300 = landingpad { ptr, i32 }
          cleanup
  br label %407

301:                                              ; preds = %.preheader.preheader
  %302 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef %.061100)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %40) #7
  invoke void @_ZN3jetmiIdEENS_6VectorIT_Lm2EEERKS3_S5_(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %40, ptr noundef nonnull align 8 dereferenceable(16) %39, ptr noundef nonnull align 8 dereferenceable(16) %38)
          to label %.preheader.1 unwind label %404

.preheader.1:                                     ; preds = %301
  %303 = call noundef double @_ZNK3jet6VectorIdLm2EE3dotERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %302, ptr noundef nonnull align 8 dereferenceable(16) %40)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %40) #7
  %304 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %34, i64 noundef 0) #7
  %305 = load double, ptr %304, align 8, !tbaa !5
  %306 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet13ArrayAccessorINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef %.061100)
  %307 = getelementptr inbounds i8, ptr %306, i64 8
  %308 = load double, ptr %307, align 8, !tbaa !10
  %309 = fadd double %303, %308
  %310 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 0) #7
  %311 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(16) %310)
  %312 = load double, ptr %311, align 8, !tbaa !5
  %313 = call double @llvm.fmuladd.f64(double %305, double %309, double %312)
  store double %313, ptr %311, align 8, !tbaa !5
  %314 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %34, i64 noundef 0) #7
  %315 = load double, ptr %314, align 8, !tbaa !5
  %316 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 0) #7
  %317 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet5ArrayIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %18, ptr noundef nonnull align 8 dereferenceable(16) %316)
  %318 = load double, ptr %317, align 8, !tbaa !5
  %319 = fadd double %315, %318
  store double %319, ptr %317, align 8, !tbaa !5
  %320 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 0) #7
  %321 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %84, ptr noundef nonnull align 8 dereferenceable(16) %320)
  store i8 1, ptr %321, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %39) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %39) #7
  %322 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 1) #7
  %323 = load i64, ptr %322, align 8, !tbaa !15
  %324 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 1) #7
  %325 = getelementptr inbounds i8, ptr %324, i64 8
  %326 = load i64, ptr %325, align 8, !tbaa !18
  invoke void @_ZNKSt8functionIFN3jet6VectorIdLm2EEEmmEEclEmm(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %39, ptr noundef nonnull align 8 dereferenceable(32) %14, i64 noundef %323, i64 noundef %326)
          to label %327 unwind label %402

327:                                              ; preds = %.preheader.1
  %328 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef %.061100)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %40) #7
  invoke void @_ZN3jetmiIdEENS_6VectorIT_Lm2EEERKS3_S5_(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %40, ptr noundef nonnull align 8 dereferenceable(16) %39, ptr noundef nonnull align 8 dereferenceable(16) %38)
          to label %.preheader.2 unwind label %404

.preheader.2:                                     ; preds = %327
  %329 = call noundef double @_ZNK3jet6VectorIdLm2EE3dotERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %328, ptr noundef nonnull align 8 dereferenceable(16) %40)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %40) #7
  %330 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %34, i64 noundef 1) #7
  %331 = load double, ptr %330, align 8, !tbaa !5
  %332 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet13ArrayAccessorINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef %.061100)
  %333 = getelementptr inbounds i8, ptr %332, i64 8
  %334 = load double, ptr %333, align 8, !tbaa !10
  %335 = fadd double %329, %334
  %336 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 1) #7
  %337 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(16) %336)
  %338 = load double, ptr %337, align 8, !tbaa !5
  %339 = call double @llvm.fmuladd.f64(double %331, double %335, double %338)
  store double %339, ptr %337, align 8, !tbaa !5
  %340 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %34, i64 noundef 1) #7
  %341 = load double, ptr %340, align 8, !tbaa !5
  %342 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 1) #7
  %343 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet5ArrayIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %18, ptr noundef nonnull align 8 dereferenceable(16) %342)
  %344 = load double, ptr %343, align 8, !tbaa !5
  %345 = fadd double %341, %344
  store double %345, ptr %343, align 8, !tbaa !5
  %346 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 1) #7
  %347 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %84, ptr noundef nonnull align 8 dereferenceable(16) %346)
  store i8 1, ptr %347, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %39) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %39) #7
  %348 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 2) #7
  %349 = load i64, ptr %348, align 8, !tbaa !15
  %350 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 2) #7
  %351 = getelementptr inbounds i8, ptr %350, i64 8
  %352 = load i64, ptr %351, align 8, !tbaa !18
  invoke void @_ZNKSt8functionIFN3jet6VectorIdLm2EEEmmEEclEmm(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %39, ptr noundef nonnull align 8 dereferenceable(32) %14, i64 noundef %349, i64 noundef %352)
          to label %353 unwind label %402

353:                                              ; preds = %.preheader.2
  %354 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef %.061100)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %40) #7
  invoke void @_ZN3jetmiIdEENS_6VectorIT_Lm2EEERKS3_S5_(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %40, ptr noundef nonnull align 8 dereferenceable(16) %39, ptr noundef nonnull align 8 dereferenceable(16) %38)
          to label %.preheader.3 unwind label %404

.preheader.3:                                     ; preds = %353
  %355 = call noundef double @_ZNK3jet6VectorIdLm2EE3dotERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %354, ptr noundef nonnull align 8 dereferenceable(16) %40)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %40) #7
  %356 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %34, i64 noundef 2) #7
  %357 = load double, ptr %356, align 8, !tbaa !5
  %358 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet13ArrayAccessorINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef %.061100)
  %359 = getelementptr inbounds i8, ptr %358, i64 8
  %360 = load double, ptr %359, align 8, !tbaa !10
  %361 = fadd double %355, %360
  %362 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 2) #7
  %363 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(16) %362)
  %364 = load double, ptr %363, align 8, !tbaa !5
  %365 = call double @llvm.fmuladd.f64(double %357, double %361, double %364)
  store double %365, ptr %363, align 8, !tbaa !5
  %366 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %34, i64 noundef 2) #7
  %367 = load double, ptr %366, align 8, !tbaa !5
  %368 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 2) #7
  %369 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet5ArrayIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %18, ptr noundef nonnull align 8 dereferenceable(16) %368)
  %370 = load double, ptr %369, align 8, !tbaa !5
  %371 = fadd double %367, %370
  store double %371, ptr %369, align 8, !tbaa !5
  %372 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 2) #7
  %373 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %84, ptr noundef nonnull align 8 dereferenceable(16) %372)
  store i8 1, ptr %373, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %39) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %39) #7
  %374 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 3) #7
  %375 = load i64, ptr %374, align 8, !tbaa !15
  %376 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 3) #7
  %377 = getelementptr inbounds i8, ptr %376, i64 8
  %378 = load i64, ptr %377, align 8, !tbaa !18
  invoke void @_ZNKSt8functionIFN3jet6VectorIdLm2EEEmmEEclEmm(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %39, ptr noundef nonnull align 8 dereferenceable(32) %14, i64 noundef %375, i64 noundef %378)
          to label %379 unwind label %402

379:                                              ; preds = %.preheader.3
  %380 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5ArrayINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef %.061100)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %40) #7
  invoke void @_ZN3jetmiIdEENS_6VectorIT_Lm2EEERKS3_S5_(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %40, ptr noundef nonnull align 8 dereferenceable(16) %39, ptr noundef nonnull align 8 dereferenceable(16) %38)
          to label %381 unwind label %404

381:                                              ; preds = %379
  %382 = call noundef double @_ZNK3jet6VectorIdLm2EE3dotERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %380, ptr noundef nonnull align 8 dereferenceable(16) %40)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %40) #7
  %383 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %34, i64 noundef 3) #7
  %384 = load double, ptr %383, align 8, !tbaa !5
  %385 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet13ArrayAccessorINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef %.061100)
  %386 = getelementptr inbounds i8, ptr %385, i64 8
  %387 = load double, ptr %386, align 8, !tbaa !10
  %388 = fadd double %382, %387
  %389 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 3) #7
  %390 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(16) %389)
  %391 = load double, ptr %390, align 8, !tbaa !5
  %392 = call double @llvm.fmuladd.f64(double %384, double %388, double %391)
  store double %392, ptr %390, align 8, !tbaa !5
  %393 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %34, i64 noundef 3) #7
  %394 = load double, ptr %393, align 8, !tbaa !5
  %395 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 3) #7
  %396 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet5ArrayIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %18, ptr noundef nonnull align 8 dereferenceable(16) %395)
  %397 = load double, ptr %396, align 8, !tbaa !5
  %398 = fadd double %394, %397
  store double %398, ptr %396, align 8, !tbaa !5
  %399 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %33, i64 noundef 3) #7
  %400 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %84, ptr noundef nonnull align 8 dereferenceable(16) %399)
  store i8 1, ptr %400, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %39) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %38) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %35) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %33) #7
  %401 = add nuw i64 %.061100, 1
  %exitcond.not = icmp eq i64 %401, %51
  br i1 %exitcond.not, label %._crit_edge, label %166, !llvm.loop !22

402:                                              ; preds = %.preheader.3, %.preheader.2, %.preheader.1, %.preheader.preheader
  %403 = landingpad { ptr, i32 }
          cleanup
  br label %406

404:                                              ; preds = %379, %353, %327, %301
  %405 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %40) #7
  br label %406

406:                                              ; preds = %404, %402
  %.pn75 = phi { ptr, i32 } [ %405, %404 ], [ %403, %402 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %39) #7
  br label %407

407:                                              ; preds = %406, %299
  %.pn75.pn = phi { ptr, i32 } [ %.pn75, %406 ], [ %300, %299 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %38) #7
  br label %408

408:                                              ; preds = %407, %298, %188
  %.pn78.pn = phi { ptr, i32 } [ %.pn78, %298 ], [ %.pn75.pn, %407 ], [ %189, %188 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %35) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %34) #7
  br label %409

409:                                              ; preds = %408, %186
  %.pn78.pn.pn = phi { ptr, i32 } [ %.pn78.pn, %408 ], [ %187, %186 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %33) #7
  br label %414

410:                                              ; preds = %._crit_edge
  invoke void @"_ZNK3jet5ArrayIdLm2EE20parallelForEachIndexIZNS_11ApicSolver228transferFromParticlesToGridsEvE3$_1EEvT_"(ptr noundef nonnull align 8 dereferenceable(40) %18, ptr nonnull %18, ptr nonnull %12)
          to label %411 unwind label %412

411:                                              ; preds = %410
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %30) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %27) #7
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %18) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %18) #7
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %15) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #7
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #7
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  call void @_ZNSt12__shared_ptrIN3jet19ParticleSystemData2ELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  call void @_ZNSt12__shared_ptrIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %2) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #7
  ret void

412:                                              ; preds = %410, %._crit_edge
  %413 = landingpad { ptr, i32 }
          cleanup
  br label %414

414:                                              ; preds = %412, %409, %165
  %.pn78.pn.pn.pn = phi { ptr, i32 } [ %.pn78.pn.pn, %409 ], [ %413, %412 ], [ %.pn73, %165 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %30) #7
  br label %415

415:                                              ; preds = %414, %160
  %.pn78.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn78.pn.pn.pn, %414 ], [ %.pn71, %160 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %27) #7
  br label %416

416:                                              ; preds = %415, %155, %150
  %.pn78.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn78.pn.pn.pn.pn, %415 ], [ %.pn69, %155 ], [ %.pn67, %150 ]
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %18) #7
  br label %417

417:                                              ; preds = %416, %145
  %.pn78.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn78.pn.pn.pn.pn.pn, %416 ], [ %.pn65, %145 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %18) #7
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %15) #7
  br label %418

418:                                              ; preds = %417, %140
  %.pn78.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn78.pn.pn.pn.pn.pn.pn, %417 ], [ %.pn, %140 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #7
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  br label %419

419:                                              ; preds = %418, %134
  %.pn78.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn78.pn.pn.pn.pn.pn.pn.pn, %418 ], [ %135, %134 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #7
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  br label %420

420:                                              ; preds = %419, %132
  %.pn78.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn78.pn.pn.pn.pn.pn.pn.pn.pn, %419 ], [ %133, %132 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #7
  br label %421

421:                                              ; preds = %420, %130
  %.pn78.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn78.pn.pn.pn.pn.pn.pn.pn.pn.pn, %420 ], [ %131, %130 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #7
  br label %422

422:                                              ; preds = %421, %128
  %.pn78.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn78.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %421 ], [ %129, %128 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  br label %423

423:                                              ; preds = %422, %126, %124, %122, %120
  %.pn78.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn78.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %422 ], [ %127, %126 ], [ %125, %124 ], [ %123, %122 ], [ %121, %120 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #7
  br label %424

424:                                              ; preds = %423, %118
  %.pn78.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn78.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %423 ], [ %119, %118 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  br label %425

425:                                              ; preds = %116, %424, %114
  %.pn78.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %115, %114 ], [ %.pn78.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %424 ], [ %117, %116 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  br label %426

426:                                              ; preds = %425, %112
  %.pn78.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn78.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %425 ], [ %113, %112 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  call void @_ZNSt12__shared_ptrIN3jet19ParticleSystemData2ELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #7
  br label %427

427:                                              ; preds = %426, %110
  %.pn78.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn78.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %426 ], [ %111, %110 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  call void @_ZNSt12__shared_ptrIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %2) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #7
  resume { ptr, i32 } %.pn78.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet16GridFluidSolver214gridSystemDataEv(ptr noundef nonnull align 8 dereferenceable(192)) local_unnamed_addr #2

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet15GridSystemData28velocityEv(ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #2

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet10PicSolver218particleSystemDataEv(ptr noundef nonnull align 8 dereferenceable(312)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10shared_ptrIN3jet19ParticleSystemData2EEC2ERKS2_(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_accessIN3jet19ParticleSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #3 align 2

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

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

declare noundef i64 @_ZNK3jet19ParticleSystemData217numberOfParticlesEv(ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #2

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

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid211gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #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 #1 align 2

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

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

declare void @_ZN3jet17FaceCenteredGrid24fillERKNS_6VectorIdLm2EEENS_15ExecutionPolicyE(ptr noundef nonnull align 8 dereferenceable(384), ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #2

declare void @_ZN3jet17FaceCenteredGrid29uAccessorEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor.67") align 8, ptr noundef nonnull align 8 dereferenceable(384)) local_unnamed_addr #2

declare void @_ZN3jet17FaceCenteredGrid29vAccessorEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor.67") align 8, ptr noundef nonnull align 8 dereferenceable(384)) local_unnamed_addr #2

declare void @_ZNK3jet17FaceCenteredGrid29uPositionEv(ptr dead_on_unwind writable sret(%"class.std::function.68") align 8, ptr noundef nonnull align 8 dereferenceable(384)) local_unnamed_addr #2

declare void @_ZNK3jet17FaceCenteredGrid29vPositionEv(ptr dead_on_unwind writable sret(%"class.std::function.68") align 8, ptr noundef nonnull align 8 dereferenceable(384)) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jet5ArrayIcLm2EE6resizeERKNS_5Size2ERKc(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3jet5ArrayIcLm2EE3setERKc(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #3 align 2

declare void @_ZNK3jet17FaceCenteredGrid214uConstAccessorEv(ptr dead_on_unwind writable sret(%"class.jet::ConstArrayAccessor") align 8, ptr noundef nonnull align 8 dereferenceable(384)) local_unnamed_addr #2

declare void @_ZNK3jet17FaceCenteredGrid27uOriginEv(ptr dead_on_unwind writable sret(%"class.jet::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(384)) local_unnamed_addr #2

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

declare void @_ZNK3jet17FaceCenteredGrid214vConstAccessorEv(ptr dead_on_unwind writable sret(%"class.jet::ConstArrayAccessor") align 8, ptr noundef nonnull align 8 dereferenceable(384)) local_unnamed_addr #2

declare void @_ZNK3jet17FaceCenteredGrid27vOriginEv(ptr dead_on_unwind writable sret(%"class.jet::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(384)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEC2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #4 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZN3jet5clampIdEET_S1_S1_S1_(double noundef, double noundef, double noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3jet18LinearArraySamplerIddLm2EE24getCoordinatesAndWeightsERKNS_6VectorIdLm2EEEPSt5arrayINS_5PointImLm2EEELm4EEPS6_IdLm4EE(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNKSt8functionIFN3jet6VectorIdLm2EEEmmEEclEmm(ptr dead_on_unwind noalias writable sret(%"class.jet::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64), i64 noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNK3jet6VectorIdLm2EE3dotERKS1_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet5ArrayIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNK3jet5ArrayIdLm2EE20parallelForEachIndexIZNS_11ApicSolver228transferFromParticlesToGridsEvE3$_1EEvT_"(ptr noundef nonnull align 8 dereferenceable(40), ptr, ptr) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt12__shared_ptrIN3jet19ParticleSystemData2ELN9__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_ptrIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !6, i64 8}
!11 = !{!"_ZTSN3jet6VectorIdLm2EEE", !6, i64 0, !6, i64 8}
!12 = !{!13, !6, i64 8}
!13 = !{!"_ZTSN3jet11BoundingBoxIdLm2EEE", !11, i64 0, !11, i64 16}
!14 = !{!13, !6, i64 24}
!15 = !{!16, !17, i64 0}
!16 = !{!"_ZTSN3jet5PointImLm2EEE", !17, i64 0, !17, i64 8}
!17 = !{!"long", !7, i64 0}
!18 = !{!16, !17, i64 8}
!19 = !{!11, !6, i64 0}
!20 = !{!13, !6, i64 0}
!21 = !{!13, !6, i64 16}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass