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

; 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.24" = type { %"class.std::__shared_ptr.25" }
%"class.std::__shared_ptr.25" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.jet::ArrayAccessor" = type { i64, ptr }
%"class.jet::Vector" = type { double, double }
%"class.jet::ArrayAccessor.75" = type { %"class.jet::Size2", ptr }
%"class.jet::Size2" = type { i64, i64 }
%"class.jet::Array.67" = type { %"class.jet::Size2", %"class.std::vector.68" }
%"class.std::vector.68" = type { %"struct.std::_Vector_base.69" }
%"struct.std::_Vector_base.69" = 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.76" = type { [4 x double] }
%class.anon = type { ptr, ptr }
%class.anon.77 = type { ptr, ptr }
%"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.18" = type { %"class.std::__shared_ptr.19" }
%"class.std::__shared_ptr.19" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.21" = type { %"class.std::__shared_ptr.22" }
%"class.std::__shared_ptr.22" = type { ptr, %"class.std::__shared_count" }

; 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(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3jet10PicSolver228transferFromParticlesToGridsEv(ptr noundef nonnull align 8 dereferenceable(312) %0) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.std::shared_ptr.24", align 8
  %4 = alloca %"class.jet::ArrayAccessor", align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.jet::ArrayAccessor", align 8
  %8 = alloca i64, align 8
  %9 = alloca %"class.jet::Vector", align 8
  %10 = alloca %"class.jet::ArrayAccessor.75", align 8
  %11 = alloca %"class.jet::ArrayAccessor.75", align 8
  %12 = alloca %"class.jet::Array.67", align 8
  %13 = alloca %"class.jet::Size2", align 8
  %14 = alloca double, align 8
  %15 = alloca %"class.jet::Array.67", align 8
  %16 = alloca %"class.jet::Size2", align 8
  %17 = alloca double, align 8
  %18 = alloca %"class.jet::Size2", align 8
  %19 = alloca i8, align 1
  %20 = alloca %"class.jet::Size2", align 8
  %21 = alloca i8, align 1
  %22 = alloca i8, align 1
  %23 = alloca i8, align 1
  %24 = alloca %"class.jet::LinearArraySampler", align 8
  %25 = alloca %"class.jet::ConstArrayAccessor", align 8
  %26 = alloca %"class.jet::Vector", align 8
  %27 = alloca %"class.jet::LinearArraySampler", align 8
  %28 = alloca %"class.jet::ConstArrayAccessor", align 8
  %29 = alloca %"class.jet::Vector", align 8
  %30 = alloca i64, align 8
  %31 = alloca i32, align 4
  %32 = alloca %"struct.std::array", align 8
  %33 = alloca %"struct.std::array.76", align 8
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca %class.anon, align 8
  %37 = alloca %class.anon.77, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %38 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #7
  %39 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet16GridFluidSolver214gridSystemDataEv(ptr noundef nonnull align 8 dereferenceable(192) %38)
  %40 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet15GridSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %39) #7
  %41 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet15GridSystemData28velocityEv(ptr noundef nonnull align 8 dereferenceable(176) %40)
  call void @_ZNSt10shared_ptrIN3jet17FaceCenteredGrid2EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) %41) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #7
  %42 = getelementptr inbounds %"class.jet::PicSolver2", ptr %38, i32 0, i32 4
  %43 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet19ParticleSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %42) #7
  invoke void @_ZN3jet19ParticleSystemData29positionsEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor") align 8 %4, ptr noundef nonnull align 8 dereferenceable(144) %43)
          to label %44 unwind label %96

44:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #7
  %45 = getelementptr inbounds %"class.jet::PicSolver2", ptr %38, i32 0, i32 4
  %46 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet19ParticleSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %45) #7
  invoke void @_ZN3jet19ParticleSystemData210velocitiesEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor") align 8 %7, ptr noundef nonnull align 8 dereferenceable(144) %46)
          to label %47 unwind label %100

47:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %48 = getelementptr inbounds %"class.jet::PicSolver2", ptr %38, i32 0, i32 4
  %49 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet19ParticleSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %48) #7
  %50 = invoke noundef i64 @_ZNK3jet19ParticleSystemData217numberOfParticlesEv(ptr noundef nonnull align 8 dereferenceable(144) %49)
          to label %51 unwind label %104

51:                                               ; preds = %47
  store i64 %50, ptr %8, align 8, !tbaa !9
  %52 = 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 %9) #7
  invoke void @_ZN3jet6VectorIdLm2EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %53 unwind label %108

53:                                               ; preds = %51
  invoke void @_ZN3jet17FaceCenteredGrid24fillERKNS_6VectorIdLm2EEENS_15ExecutionPolicyE(ptr noundef nonnull align 8 dereferenceable(384) %52, ptr noundef nonnull align 8 dereferenceable(16) %9, i32 noundef 1)
          to label %54 unwind label %108

54:                                               ; preds = %53
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #7
  %55 = 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.75") align 8 %10, ptr noundef nonnull align 8 dereferenceable(384) %55)
          to label %56 unwind label %112

56:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #7
  %57 = 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.75") align 8 %11, ptr noundef nonnull align 8 dereferenceable(384) %57)
          to label %58 unwind label %116

58:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 40, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #7
  invoke void @_ZNK3jet13ArrayAccessorIdLm2EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size2") align 8 %13, ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %59 unwind label %120

59:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  store double 0.000000e+00, ptr %14, align 8, !tbaa !11
  invoke void @_ZN3jet5ArrayIdLm2EEC2ERKNS_5Size2ERKd(ptr noundef nonnull align 8 dereferenceable(40) %12, ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %60 unwind label %124

60:                                               ; preds = %59
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #7
  invoke void @_ZNK3jet13ArrayAccessorIdLm2EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size2") align 8 %16, ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %61 unwind label %129

61:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  store double 0.000000e+00, ptr %17, align 8, !tbaa !11
  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 %62 unwind label %133

62:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #7
  %63 = getelementptr inbounds %"class.jet::PicSolver2", ptr %38, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #7
  invoke void @_ZNK3jet13ArrayAccessorIdLm2EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size2") align 8 %18, ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %64 unwind label %138

64:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #7
  store i8 0, ptr %19, align 1, !tbaa !13
  invoke void @_ZN3jet5ArrayIcLm2EE6resizeERKNS_5Size2ERKc(ptr noundef nonnull align 8 dereferenceable(40) %63, ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %65 unwind label %142

65:                                               ; preds = %64
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #7
  %66 = getelementptr inbounds %"class.jet::PicSolver2", ptr %38, i32 0, i32 2
  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) %11)
          to label %67 unwind label %147

67:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #7
  store i8 0, ptr %21, align 1, !tbaa !13
  invoke void @_ZN3jet5ArrayIcLm2EE6resizeERKNS_5Size2ERKc(ptr noundef nonnull align 8 dereferenceable(40) %66, ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %68 unwind label %151

68:                                               ; preds = %67
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #7
  %69 = getelementptr inbounds %"class.jet::PicSolver2", ptr %38, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #7
  store i8 0, ptr %22, align 1, !tbaa !13
  invoke void @_ZN3jet5ArrayIcLm2EE3setERKc(ptr noundef nonnull align 8 dereferenceable(40) %69, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %70 unwind label %156

70:                                               ; preds = %68
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #7
  %71 = getelementptr inbounds %"class.jet::PicSolver2", ptr %38, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #7
  store i8 0, ptr %23, align 1, !tbaa !13
  invoke void @_ZN3jet5ArrayIcLm2EE3setERKc(ptr noundef nonnull align 8 dereferenceable(40) %71, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %72 unwind label %160

72:                                               ; preds = %70
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #7
  call void @llvm.lifetime.start.p0(i64 72, ptr %24) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %25) #7
  %73 = 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 %25, ptr noundef nonnull align 8 dereferenceable(384) %73)
          to label %74 unwind label %164

74:                                               ; preds = %72
  %75 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  %76 = getelementptr inbounds i8, ptr %75, i64 8
  %77 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid211gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(88) %76)
          to label %78 unwind label %164

78:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #7
  %79 = 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 %26, ptr noundef nonnull align 8 dereferenceable(384) %79)
          to label %80 unwind label %168

80:                                               ; preds = %78
  invoke void @_ZN3jet18LinearArraySamplerIddLm2EEC2ERKNS_18ConstArrayAccessorIdLm2EEERKNS_6VectorIdLm2EEES9_(ptr noundef nonnull align 8 dereferenceable(72) %24, ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 8 dereferenceable(16) %77, ptr noundef nonnull align 8 dereferenceable(16) %26)
          to label %81 unwind label %168

81:                                               ; preds = %80
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 72, ptr %27) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #7
  %82 = 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 %28, ptr noundef nonnull align 8 dereferenceable(384) %82)
          to label %83 unwind label %173

83:                                               ; preds = %81
  %84 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  %85 = getelementptr inbounds i8, ptr %84, i64 8
  %86 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid211gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(88) %85)
          to label %87 unwind label %173

87:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #7
  %88 = 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 %29, ptr noundef nonnull align 8 dereferenceable(384) %88)
          to label %89 unwind label %177

89:                                               ; preds = %87
  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) %86, ptr noundef nonnull align 8 dereferenceable(16) %29)
          to label %90 unwind label %177

90:                                               ; preds = %89
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  store i64 0, ptr %30, align 8, !tbaa !9
  br label %91

91:                                               ; preds = %292, %90
  %92 = load i64, ptr %30, align 8, !tbaa !9
  %93 = load i64, ptr %8, align 8, !tbaa !9
  %94 = icmp ult i64 %92, %93
  br i1 %94, label %182, label %95

95:                                               ; preds = %91
  store i32 2, ptr %31, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  br label %297

96:                                               ; preds = %1
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %5, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %6, align 4
  br label %325

100:                                              ; preds = %44
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %5, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %6, align 4
  br label %324

104:                                              ; preds = %47
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %5, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %6, align 4
  br label %323

108:                                              ; preds = %53, %51
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %5, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #7
  br label %323

112:                                              ; preds = %54
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %5, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %6, align 4
  br label %322

116:                                              ; preds = %56
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %5, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %6, align 4
  br label %321

120:                                              ; preds = %58
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %5, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %6, align 4
  br label %128

124:                                              ; preds = %59
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %5, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %128

128:                                              ; preds = %124, %120
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  br label %320

129:                                              ; preds = %60
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %5, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %6, align 4
  br label %137

133:                                              ; preds = %61
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %5, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  br label %137

137:                                              ; preds = %133, %129
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #7
  br label %319

138:                                              ; preds = %62
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %5, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %6, align 4
  br label %146

142:                                              ; preds = %64
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %5, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #7
  br label %146

146:                                              ; preds = %142, %138
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #7
  br label %318

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

151:                                              ; preds = %67
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %5, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #7
  br label %155

155:                                              ; preds = %151, %147
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #7
  br label %318

156:                                              ; preds = %68
  %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 1, ptr %22) #7
  br label %318

160:                                              ; preds = %70
  %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 1, ptr %23) #7
  br label %318

164:                                              ; preds = %74, %72
  %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
  br label %172

168:                                              ; preds = %80, %78
  %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
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #7
  br label %172

172:                                              ; preds = %168, %164
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #7
  br label %317

173:                                              ; preds = %83, %81
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %5, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %6, align 4
  br label %181

177:                                              ; preds = %89, %87
  %178 = landingpad { ptr, i32 }
          cleanup
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %5, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #7
  br label %181

181:                                              ; preds = %177, %173
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #7
  br label %316

182:                                              ; preds = %91
  call void @llvm.lifetime.start.p0(i64 64, ptr %32) #7
  invoke void @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEC2Ev(ptr noundef nonnull align 8 dereferenceable(64) %32)
          to label %183 unwind label %192

183:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 32, ptr %33) #7
  %184 = load i64, ptr %30, align 8, !tbaa !9
  %185 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet13ArrayAccessorINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %184)
          to label %186 unwind label %196

186:                                              ; preds = %183
  invoke void @_ZNK3jet18LinearArraySamplerIddLm2EE24getCoordinatesAndWeightsERKNS_6VectorIdLm2EEEPSt5arrayINS_5PointImLm2EEELm4EEPS6_IdLm4EE(ptr noundef nonnull align 8 dereferenceable(72) %24, ptr noundef nonnull align 8 dereferenceable(16) %185, ptr noundef %32, ptr noundef %33)
          to label %187 unwind label %196

187:                                              ; preds = %186
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #7
  store i32 0, ptr %34, align 4, !tbaa !14
  br label %188

188:                                              ; preds = %234, %187
  %189 = load i32, ptr %34, align 4, !tbaa !14
  %190 = icmp slt i32 %189, 4
  br i1 %190, label %200, label %191

191:                                              ; preds = %188
  store i32 5, ptr %31, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #7
  br label %241

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

196:                                              ; preds = %244, %241, %186, %183
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %5, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %6, align 4
  br label %295

200:                                              ; preds = %188
  %201 = load i64, ptr %30, align 8, !tbaa !9
  %202 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet13ArrayAccessorINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %7, i64 noundef %201)
          to label %203 unwind label %237

203:                                              ; preds = %200
  %204 = getelementptr inbounds %"class.jet::Vector", ptr %202, i32 0, i32 0
  %205 = load double, ptr %204, align 8, !tbaa !16
  %206 = load i32, ptr %34, align 4, !tbaa !14
  %207 = sext i32 %206 to i64
  %208 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %33, i64 noundef %207) #7
  %209 = load double, ptr %208, align 8, !tbaa !11
  %210 = load i32, ptr %34, align 4, !tbaa !14
  %211 = sext i32 %210 to i64
  %212 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %32, i64 noundef %211) #7
  %213 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(16) %212)
          to label %214 unwind label %237

214:                                              ; preds = %203
  %215 = load double, ptr %213, align 8, !tbaa !11
  %216 = call double @llvm.fmuladd.f64(double %205, double %209, double %215)
  store double %216, ptr %213, align 8, !tbaa !11
  %217 = load i32, ptr %34, align 4, !tbaa !14
  %218 = sext i32 %217 to i64
  %219 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %33, i64 noundef %218) #7
  %220 = load double, ptr %219, align 8, !tbaa !11
  %221 = load i32, ptr %34, align 4, !tbaa !14
  %222 = sext i32 %221 to i64
  %223 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %32, i64 noundef %222) #7
  %224 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet5ArrayIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %12, ptr noundef nonnull align 8 dereferenceable(16) %223)
          to label %225 unwind label %237

225:                                              ; preds = %214
  %226 = load double, ptr %224, align 8, !tbaa !11
  %227 = fadd double %226, %220
  store double %227, ptr %224, align 8, !tbaa !11
  %228 = getelementptr inbounds %"class.jet::PicSolver2", ptr %38, i32 0, i32 1
  %229 = load i32, ptr %34, align 4, !tbaa !14
  %230 = sext i32 %229 to i64
  %231 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %32, i64 noundef %230) #7
  %232 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %228, ptr noundef nonnull align 8 dereferenceable(16) %231)
          to label %233 unwind label %237

233:                                              ; preds = %225
  store i8 1, ptr %232, align 1, !tbaa !13
  br label %234

234:                                              ; preds = %233
  %235 = load i32, ptr %34, align 4, !tbaa !14
  %236 = add nsw i32 %235, 1
  store i32 %236, ptr %34, align 4, !tbaa !14
  br label %188, !llvm.loop !18

237:                                              ; preds = %225, %214, %203, %200
  %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
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #7
  br label %295

241:                                              ; preds = %191
  %242 = load i64, ptr %30, align 8, !tbaa !9
  %243 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet13ArrayAccessorINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %242)
          to label %244 unwind label %196

244:                                              ; preds = %241
  invoke void @_ZNK3jet18LinearArraySamplerIddLm2EE24getCoordinatesAndWeightsERKNS_6VectorIdLm2EEEPSt5arrayINS_5PointImLm2EEELm4EEPS6_IdLm4EE(ptr noundef nonnull align 8 dereferenceable(72) %27, ptr noundef nonnull align 8 dereferenceable(16) %243, ptr noundef %32, ptr noundef %33)
          to label %245 unwind label %196

245:                                              ; preds = %244
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #7
  store i32 0, ptr %35, align 4, !tbaa !14
  br label %246

246:                                              ; preds = %284, %245
  %247 = load i32, ptr %35, align 4, !tbaa !14
  %248 = icmp slt i32 %247, 4
  br i1 %248, label %250, label %249

249:                                              ; preds = %246
  store i32 8, ptr %31, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #7
  br label %291

250:                                              ; preds = %246
  %251 = load i64, ptr %30, align 8, !tbaa !9
  %252 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet13ArrayAccessorINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %7, i64 noundef %251)
          to label %253 unwind label %287

253:                                              ; preds = %250
  %254 = getelementptr inbounds %"class.jet::Vector", ptr %252, i32 0, i32 1
  %255 = load double, ptr %254, align 8, !tbaa !20
  %256 = load i32, ptr %35, align 4, !tbaa !14
  %257 = sext i32 %256 to i64
  %258 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %33, i64 noundef %257) #7
  %259 = load double, ptr %258, align 8, !tbaa !11
  %260 = load i32, ptr %35, align 4, !tbaa !14
  %261 = sext i32 %260 to i64
  %262 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %32, i64 noundef %261) #7
  %263 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(16) %262)
          to label %264 unwind label %287

264:                                              ; preds = %253
  %265 = load double, ptr %263, align 8, !tbaa !11
  %266 = call double @llvm.fmuladd.f64(double %255, double %259, double %265)
  store double %266, ptr %263, align 8, !tbaa !11
  %267 = load i32, ptr %35, align 4, !tbaa !14
  %268 = sext i32 %267 to i64
  %269 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %33, i64 noundef %268) #7
  %270 = load double, ptr %269, align 8, !tbaa !11
  %271 = load i32, ptr %35, align 4, !tbaa !14
  %272 = sext i32 %271 to i64
  %273 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %32, i64 noundef %272) #7
  %274 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet5ArrayIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %15, ptr noundef nonnull align 8 dereferenceable(16) %273)
          to label %275 unwind label %287

275:                                              ; preds = %264
  %276 = load double, ptr %274, align 8, !tbaa !11
  %277 = fadd double %276, %270
  store double %277, ptr %274, align 8, !tbaa !11
  %278 = getelementptr inbounds %"class.jet::PicSolver2", ptr %38, i32 0, i32 2
  %279 = load i32, ptr %35, align 4, !tbaa !14
  %280 = sext i32 %279 to i64
  %281 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %32, i64 noundef %280) #7
  %282 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %278, ptr noundef nonnull align 8 dereferenceable(16) %281)
          to label %283 unwind label %287

283:                                              ; preds = %275
  store i8 1, ptr %282, align 1, !tbaa !13
  br label %284

284:                                              ; preds = %283
  %285 = load i32, ptr %35, align 4, !tbaa !14
  %286 = add nsw i32 %285, 1
  store i32 %286, ptr %35, align 4, !tbaa !14
  br label %246, !llvm.loop !21

287:                                              ; preds = %275, %264, %253, %250
  %288 = landingpad { ptr, i32 }
          cleanup
  %289 = extractvalue { ptr, i32 } %288, 0
  store ptr %289, ptr %5, align 8
  %290 = extractvalue { ptr, i32 } %288, 1
  store i32 %290, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #7
  br label %295

291:                                              ; preds = %249
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %32) #7
  br label %292

292:                                              ; preds = %291
  %293 = load i64, ptr %30, align 8, !tbaa !9
  %294 = add i64 %293, 1
  store i64 %294, ptr %30, align 8, !tbaa !9
  br label %91, !llvm.loop !22

295:                                              ; preds = %287, %237, %196
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #7
  br label %296

296:                                              ; preds = %295, %192
  call void @llvm.lifetime.end.p0(i64 64, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  br label %316

297:                                              ; preds = %95
  %298 = getelementptr inbounds %class.anon, ptr %36, i32 0, i32 0
  store ptr %12, ptr %298, align 8, !tbaa !5
  %299 = getelementptr inbounds %class.anon, ptr %36, i32 0, i32 1
  store ptr %10, ptr %299, align 8, !tbaa !5
  %300 = getelementptr inbounds { ptr, ptr }, ptr %36, i32 0, i32 0
  %301 = load ptr, ptr %300, align 8
  %302 = getelementptr inbounds { ptr, ptr }, ptr %36, i32 0, i32 1
  %303 = load ptr, ptr %302, align 8
  invoke void @"_ZNK3jet5ArrayIdLm2EE20parallelForEachIndexIZNS_10PicSolver228transferFromParticlesToGridsEvE3$_0EEvT_"(ptr noundef nonnull align 8 dereferenceable(40) %12, ptr %301, ptr %303)
          to label %304 unwind label %312

304:                                              ; preds = %297
  %305 = getelementptr inbounds %class.anon.77, ptr %37, i32 0, i32 0
  store ptr %15, ptr %305, align 8, !tbaa !5
  %306 = getelementptr inbounds %class.anon.77, ptr %37, i32 0, i32 1
  store ptr %11, ptr %306, align 8, !tbaa !5
  %307 = getelementptr inbounds { ptr, ptr }, ptr %37, i32 0, i32 0
  %308 = load ptr, ptr %307, align 8
  %309 = getelementptr inbounds { ptr, ptr }, ptr %37, i32 0, i32 1
  %310 = load ptr, ptr %309, align 8
  invoke void @"_ZNK3jet5ArrayIdLm2EE20parallelForEachIndexIZNS_10PicSolver228transferFromParticlesToGridsEvE3$_1EEvT_"(ptr noundef nonnull align 8 dereferenceable(40) %15, ptr %308, ptr %310)
          to label %311 unwind label %312

311:                                              ; preds = %304
  call void @llvm.lifetime.end.p0(i64 72, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr %24) #7
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %15) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %15) #7
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %12) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #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

312:                                              ; preds = %304, %297
  %313 = landingpad { ptr, i32 }
          cleanup
  %314 = extractvalue { ptr, i32 } %313, 0
  store ptr %314, ptr %5, align 8
  %315 = extractvalue { ptr, i32 } %313, 1
  store i32 %315, ptr %6, align 4
  br label %316

316:                                              ; preds = %312, %296, %181
  call void @llvm.lifetime.end.p0(i64 72, ptr %27) #7
  br label %317

317:                                              ; preds = %316, %172
  call void @llvm.lifetime.end.p0(i64 72, ptr %24) #7
  br label %318

318:                                              ; preds = %317, %160, %156, %155, %146
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %15) #7
  br label %319

319:                                              ; preds = %318, %137
  call void @llvm.lifetime.end.p0(i64 40, ptr %15) #7
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %12) #7
  br label %320

320:                                              ; preds = %319, %128
  call void @llvm.lifetime.end.p0(i64 40, ptr %12) #7
  br label %321

321:                                              ; preds = %320, %116
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #7
  br label %322

322:                                              ; preds = %321, %112
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #7
  br label %323

323:                                              ; preds = %322, %108, %104
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %324

324:                                              ; preds = %323, %100
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #7
  br label %325

325:                                              ; preds = %324, %96
  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 %326

326:                                              ; preds = %325
  %327 = load ptr, ptr %5, align 8
  %328 = load i32, ptr %6, align 4
  %329 = insertvalue { ptr, i32 } poison, ptr %327, 0
  %330 = insertvalue { ptr, i32 } %329, i32 %328, 1
  resume { ptr, i32 } %330
}

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

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

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

declare void @_ZN3jet19ParticleSystemData210velocitiesEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor") align 8, ptr noundef nonnull align 8 dereferenceable(144)) #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)) #2 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 #1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #6 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 #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { 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 #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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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 #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, !15, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!17, !12, i64 0}
!17 = !{!"_ZTSN3jet6VectorIdLm2EEE", !12, i64 0, !12, i64 8}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!17, !12, i64 8}
!21 = distinct !{!21, !19}
!22 = distinct !{!22, !19}


; 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.24" = type { %"class.std::__shared_ptr.25" }
%"class.std::__shared_ptr.25" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.jet::ArrayAccessor" = type { i64, ptr }
%"class.jet::Vector" = type { double, double }
%"class.jet::ArrayAccessor.75" = type { %"class.jet::Size2", ptr }
%"class.jet::Size2" = type { i64, i64 }
%"class.jet::Array.67" = type { %"class.jet::Size2", %"class.std::vector.68" }
%"class.std::vector.68" = type { %"struct.std::_Vector_base.69" }
%"struct.std::_Vector_base.69" = 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.76" = 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(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3jet10PicSolver228transferFromParticlesToGridsEv(ptr noundef nonnull align 8 dereferenceable(312) %0) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::shared_ptr.24", align 8
  %3 = alloca %"class.jet::ArrayAccessor", align 8
  %4 = alloca %"class.jet::ArrayAccessor", align 8
  %5 = alloca %"class.jet::Vector", align 8
  %6 = alloca %"class.jet::ArrayAccessor.75", align 8
  %7 = alloca %"class.jet::ArrayAccessor.75", align 8
  %8 = alloca %"class.jet::Array.67", align 8
  %9 = alloca %"class.jet::Size2", align 8
  %10 = alloca double, align 8
  %11 = alloca %"class.jet::Array.67", align 8
  %12 = alloca %"class.jet::Size2", align 8
  %13 = alloca double, align 8
  %14 = alloca %"class.jet::Size2", align 8
  %15 = alloca i8, align 1
  %16 = alloca %"class.jet::Size2", align 8
  %17 = alloca i8, align 1
  %18 = alloca i8, align 1
  %19 = alloca i8, align 1
  %20 = alloca %"class.jet::LinearArraySampler", align 8
  %21 = alloca %"class.jet::ConstArrayAccessor", align 8
  %22 = alloca %"class.jet::Vector", align 8
  %23 = alloca %"class.jet::LinearArraySampler", align 8
  %24 = alloca %"class.jet::ConstArrayAccessor", align 8
  %25 = alloca %"class.jet::Vector", align 8
  %26 = alloca %"struct.std::array", align 8
  %27 = alloca %"struct.std::array.76", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #7
  %28 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet16GridFluidSolver214gridSystemDataEv(ptr noundef nonnull align 8 dereferenceable(192) %0)
  %29 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet15GridSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %28) #7
  %30 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet15GridSystemData28velocityEv(ptr noundef nonnull align 8 dereferenceable(176) %29)
  call void @_ZNSt10shared_ptrIN3jet17FaceCenteredGrid2EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(16) %30) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #7
  %31 = getelementptr inbounds i8, ptr %0, i64 280
  %32 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet19ParticleSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %31) #7
  invoke void @_ZN3jet19ParticleSystemData29positionsEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ArrayAccessor") align 8 %3, ptr noundef nonnull align 8 dereferenceable(144) %32)
          to label %33 unwind label %73

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

35:                                               ; preds = %33
  %36 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet19ParticleSystemData2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %31) #7
  %37 = invoke noundef i64 @_ZNK3jet19ParticleSystemData217numberOfParticlesEv(ptr noundef nonnull align 8 dereferenceable(144) %36)
          to label %38 unwind label %77

38:                                               ; preds = %35
  %39 = 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 %5) #7
  call void @_ZN3jet6VectorIdLm2EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5)
  invoke void @_ZN3jet17FaceCenteredGrid24fillERKNS_6VectorIdLm2EEENS_15ExecutionPolicyE(ptr noundef nonnull align 8 dereferenceable(384) %39, ptr noundef nonnull align 8 dereferenceable(16) %5, i32 noundef 1)
          to label %40 unwind label %79

40:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #7
  %41 = 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.75") align 8 %6, ptr noundef nonnull align 8 dereferenceable(384) %41)
          to label %42 unwind label %81

42:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #7
  %43 = 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.75") align 8 %7, ptr noundef nonnull align 8 dereferenceable(384) %43)
          to label %44 unwind label %83

44:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #7
  invoke void @_ZNK3jet13ArrayAccessorIdLm2EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size2") align 8 %9, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %45 unwind label %85

45:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  store double 0.000000e+00, ptr %10, align 8, !tbaa !5
  invoke void @_ZN3jet5ArrayIdLm2EEC2ERKNS_5Size2ERKd(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %46 unwind label %87

46:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #7
  invoke void @_ZNK3jet13ArrayAccessorIdLm2EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size2") align 8 %12, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %47 unwind label %90

47:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  store double 0.000000e+00, ptr %13, align 8, !tbaa !5
  invoke void @_ZN3jet5ArrayIdLm2EEC2ERKNS_5Size2ERKd(ptr noundef nonnull align 8 dereferenceable(40) %11, ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %48 unwind label %92

48:                                               ; preds = %47
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  %49 = getelementptr inbounds i8, ptr %0, i64 192
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #7
  invoke void @_ZNK3jet13ArrayAccessorIdLm2EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size2") align 8 %14, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %50 unwind label %95

50:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #7
  store i8 0, ptr %15, align 1, !tbaa !9
  invoke void @_ZN3jet5ArrayIcLm2EE6resizeERKNS_5Size2ERKc(ptr noundef nonnull align 8 dereferenceable(40) %49, ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %51 unwind label %97

51:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #7
  %52 = getelementptr inbounds i8, ptr %0, i64 232
  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) %7)
          to label %53 unwind label %100

53:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #7
  store i8 0, ptr %17, align 1, !tbaa !9
  invoke void @_ZN3jet5ArrayIcLm2EE6resizeERKNS_5Size2ERKc(ptr noundef nonnull align 8 dereferenceable(40) %52, ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %54 unwind label %102

54:                                               ; preds = %53
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #7
  store i8 0, ptr %18, align 1, !tbaa !9
  call void @_ZN3jet5ArrayIcLm2EE3setERKc(ptr noundef nonnull align 8 dereferenceable(40) %49, ptr noundef nonnull align 1 dereferenceable(1) %18)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #7
  store i8 0, ptr %19, align 1, !tbaa !9
  call void @_ZN3jet5ArrayIcLm2EE3setERKc(ptr noundef nonnull align 8 dereferenceable(40) %52, ptr noundef nonnull align 1 dereferenceable(1) %19)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %20) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %21) #7
  %55 = 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 %21, ptr noundef nonnull align 8 dereferenceable(384) %55)
          to label %56 unwind label %105

56:                                               ; preds = %54
  %57 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #7
  %58 = getelementptr inbounds i8, ptr %57, i64 8
  %59 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet5Grid211gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(88) %58)
          to label %60 unwind label %105

60:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #7
  %61 = 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 %22, ptr noundef nonnull align 8 dereferenceable(384) %61)
          to label %62 unwind label %107

62:                                               ; preds = %60
  invoke void @_ZN3jet18LinearArraySamplerIddLm2EEC2ERKNS_18ConstArrayAccessorIdLm2EEERKNS_6VectorIdLm2EEES9_(ptr noundef nonnull align 8 dereferenceable(72) %20, ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 8 dereferenceable(16) %59, ptr noundef nonnull align 8 dereferenceable(16) %22)
          to label %63 unwind label %107

63:                                               ; preds = %62
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #7
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %23) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %24) #7
  %64 = 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 %24, ptr noundef nonnull align 8 dereferenceable(384) %64)
          to label %65 unwind label %110

65:                                               ; preds = %63
  %66 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet17FaceCenteredGrid2ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #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 %110

69:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %25) #7
  %70 = 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 %25, ptr noundef nonnull align 8 dereferenceable(384) %70)
          to label %71 unwind label %112

71:                                               ; preds = %69
  invoke void @_ZN3jet18LinearArraySamplerIddLm2EEC2ERKNS_18ConstArrayAccessorIdLm2EEERKNS_6VectorIdLm2EEES9_(ptr noundef nonnull align 8 dereferenceable(72) %23, ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 8 dereferenceable(16) %68, ptr noundef nonnull align 8 dereferenceable(16) %25)
          to label %72 unwind label %112

72:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #7
  %.not = icmp eq i64 %37, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.preheader.preheader, %72
  invoke void @"_ZNK3jet5ArrayIdLm2EE20parallelForEachIndexIZNS_10PicSolver228transferFromParticlesToGridsEvE3$_0EEvT_"(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr nonnull %8, ptr nonnull %6)
          to label %256 unwind label %258

73:                                               ; preds = %1
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %268

75:                                               ; preds = %33
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %267

77:                                               ; preds = %35
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %267

79:                                               ; preds = %38
  %80 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  br label %267

81:                                               ; preds = %40
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %266

83:                                               ; preds = %42
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %265

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

87:                                               ; preds = %45
  %88 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  br label %89

89:                                               ; preds = %87, %85
  %.pn = phi { ptr, i32 } [ %88, %87 ], [ %86, %85 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  br label %264

90:                                               ; preds = %46
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %94

92:                                               ; preds = %47
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  br label %94

94:                                               ; preds = %92, %90
  %.pn46 = phi { ptr, i32 } [ %93, %92 ], [ %91, %90 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  br label %263

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

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

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

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

102:                                              ; preds = %53
  %103 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #7
  br label %104

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

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

107:                                              ; preds = %62, %60
  %108 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #7
  br label %109

109:                                              ; preds = %107, %105
  %.pn52 = phi { ptr, i32 } [ %108, %107 ], [ %106, %105 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #7
  br label %261

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

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

114:                                              ; preds = %112, %110
  %.pn54 = phi { ptr, i32 } [ %113, %112 ], [ %111, %110 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #7
  br label %260

.lr.ph:                                           ; preds = %72, %.preheader.preheader
  %.04271 = phi i64 [ %250, %.preheader.preheader ], [ 0, %72 ]
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %26) #7
  invoke void @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEC2Ev(ptr noundef nonnull align 8 dereferenceable(64) %26)
          to label %115 unwind label %251

115:                                              ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %27) #7
  %116 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet13ArrayAccessorINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 noundef %.04271)
  invoke void @_ZNK3jet18LinearArraySamplerIddLm2EE24getCoordinatesAndWeightsERKNS_6VectorIdLm2EEEPSt5arrayINS_5PointImLm2EEELm4EEPS6_IdLm4EE(ptr noundef nonnull align 8 dereferenceable(72) %20, ptr noundef nonnull align 8 dereferenceable(16) %116, ptr noundef nonnull %26, ptr noundef nonnull %27)
          to label %.preheader68.preheader unwind label %253

.preheader68.preheader:                           ; preds = %115
  %117 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet13ArrayAccessorINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %.04271)
  %118 = load double, ptr %117, align 8, !tbaa !10
  %119 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %27, i64 noundef 0) #7
  %120 = load double, ptr %119, align 8, !tbaa !5
  %121 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %26, i64 noundef 0) #7
  %122 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(16) %121)
  %123 = load double, ptr %122, align 8, !tbaa !5
  %124 = call double @llvm.fmuladd.f64(double %118, double %120, double %123)
  store double %124, ptr %122, align 8, !tbaa !5
  %125 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %27, i64 noundef 0) #7
  %126 = load double, ptr %125, align 8, !tbaa !5
  %127 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %26, i64 noundef 0) #7
  %128 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet5ArrayIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull align 8 dereferenceable(16) %127)
  %129 = load double, ptr %128, align 8, !tbaa !5
  %130 = fadd double %126, %129
  store double %130, ptr %128, align 8, !tbaa !5
  %131 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %26, i64 noundef 0) #7
  %132 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %49, ptr noundef nonnull align 8 dereferenceable(16) %131)
  store i8 1, ptr %132, align 1, !tbaa !9
  %133 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet13ArrayAccessorINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %.04271)
  %134 = load double, ptr %133, align 8, !tbaa !10
  %135 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %27, i64 noundef 1) #7
  %136 = load double, ptr %135, align 8, !tbaa !5
  %137 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %26, i64 noundef 1) #7
  %138 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(16) %137)
  %139 = load double, ptr %138, align 8, !tbaa !5
  %140 = call double @llvm.fmuladd.f64(double %134, double %136, double %139)
  store double %140, ptr %138, align 8, !tbaa !5
  %141 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %27, i64 noundef 1) #7
  %142 = load double, ptr %141, align 8, !tbaa !5
  %143 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %26, i64 noundef 1) #7
  %144 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet5ArrayIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull align 8 dereferenceable(16) %143)
  %145 = load double, ptr %144, align 8, !tbaa !5
  %146 = fadd double %142, %145
  store double %146, ptr %144, align 8, !tbaa !5
  %147 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %26, i64 noundef 1) #7
  %148 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %49, ptr noundef nonnull align 8 dereferenceable(16) %147)
  store i8 1, ptr %148, align 1, !tbaa !9
  %149 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet13ArrayAccessorINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %.04271)
  %150 = load double, ptr %149, align 8, !tbaa !10
  %151 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %27, i64 noundef 2) #7
  %152 = load double, ptr %151, align 8, !tbaa !5
  %153 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %26, i64 noundef 2) #7
  %154 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(16) %153)
  %155 = load double, ptr %154, align 8, !tbaa !5
  %156 = call double @llvm.fmuladd.f64(double %150, double %152, double %155)
  store double %156, ptr %154, align 8, !tbaa !5
  %157 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %27, i64 noundef 2) #7
  %158 = load double, ptr %157, align 8, !tbaa !5
  %159 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %26, i64 noundef 2) #7
  %160 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet5ArrayIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull align 8 dereferenceable(16) %159)
  %161 = load double, ptr %160, align 8, !tbaa !5
  %162 = fadd double %158, %161
  store double %162, ptr %160, align 8, !tbaa !5
  %163 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %26, i64 noundef 2) #7
  %164 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %49, ptr noundef nonnull align 8 dereferenceable(16) %163)
  store i8 1, ptr %164, align 1, !tbaa !9
  %165 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet13ArrayAccessorINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %.04271)
  %166 = load double, ptr %165, align 8, !tbaa !10
  %167 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %27, i64 noundef 3) #7
  %168 = load double, ptr %167, align 8, !tbaa !5
  %169 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %26, i64 noundef 3) #7
  %170 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(16) %169)
  %171 = load double, ptr %170, align 8, !tbaa !5
  %172 = call double @llvm.fmuladd.f64(double %166, double %168, double %171)
  store double %172, ptr %170, align 8, !tbaa !5
  %173 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %27, i64 noundef 3) #7
  %174 = load double, ptr %173, align 8, !tbaa !5
  %175 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %26, i64 noundef 3) #7
  %176 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet5ArrayIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull align 8 dereferenceable(16) %175)
  %177 = load double, ptr %176, align 8, !tbaa !5
  %178 = fadd double %174, %177
  store double %178, ptr %176, align 8, !tbaa !5
  %179 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %26, i64 noundef 3) #7
  %180 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %49, ptr noundef nonnull align 8 dereferenceable(16) %179)
  store i8 1, ptr %180, align 1, !tbaa !9
  %181 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet13ArrayAccessorINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 noundef %.04271)
  invoke void @_ZNK3jet18LinearArraySamplerIddLm2EE24getCoordinatesAndWeightsERKNS_6VectorIdLm2EEEPSt5arrayINS_5PointImLm2EEELm4EEPS6_IdLm4EE(ptr noundef nonnull align 8 dereferenceable(72) %23, ptr noundef nonnull align 8 dereferenceable(16) %181, ptr noundef nonnull %26, ptr noundef nonnull %27)
          to label %.preheader.preheader unwind label %253

.preheader.preheader:                             ; preds = %.preheader68.preheader
  %182 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet13ArrayAccessorINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %.04271)
  %183 = getelementptr inbounds i8, ptr %182, i64 8
  %184 = load double, ptr %183, align 8, !tbaa !12
  %185 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %27, i64 noundef 0) #7
  %186 = load double, ptr %185, align 8, !tbaa !5
  %187 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %26, i64 noundef 0) #7
  %188 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(16) %187)
  %189 = load double, ptr %188, align 8, !tbaa !5
  %190 = call double @llvm.fmuladd.f64(double %184, double %186, double %189)
  store double %190, ptr %188, align 8, !tbaa !5
  %191 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %27, i64 noundef 0) #7
  %192 = load double, ptr %191, align 8, !tbaa !5
  %193 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %26, i64 noundef 0) #7
  %194 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet5ArrayIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %11, ptr noundef nonnull align 8 dereferenceable(16) %193)
  %195 = load double, ptr %194, align 8, !tbaa !5
  %196 = fadd double %192, %195
  store double %196, ptr %194, align 8, !tbaa !5
  %197 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %26, i64 noundef 0) #7
  %198 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %52, ptr noundef nonnull align 8 dereferenceable(16) %197)
  store i8 1, ptr %198, align 1, !tbaa !9
  %199 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet13ArrayAccessorINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %.04271)
  %200 = getelementptr inbounds i8, ptr %199, i64 8
  %201 = load double, ptr %200, align 8, !tbaa !12
  %202 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %27, i64 noundef 1) #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) %26, i64 noundef 1) #7
  %205 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(16) %204)
  %206 = load double, ptr %205, align 8, !tbaa !5
  %207 = call double @llvm.fmuladd.f64(double %201, double %203, double %206)
  store double %207, ptr %205, align 8, !tbaa !5
  %208 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %27, i64 noundef 1) #7
  %209 = load double, ptr %208, align 8, !tbaa !5
  %210 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %26, i64 noundef 1) #7
  %211 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet5ArrayIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %11, ptr noundef nonnull align 8 dereferenceable(16) %210)
  %212 = load double, ptr %211, align 8, !tbaa !5
  %213 = fadd double %209, %212
  store double %213, ptr %211, align 8, !tbaa !5
  %214 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %26, i64 noundef 1) #7
  %215 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %52, ptr noundef nonnull align 8 dereferenceable(16) %214)
  store i8 1, ptr %215, align 1, !tbaa !9
  %216 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet13ArrayAccessorINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %.04271)
  %217 = getelementptr inbounds i8, ptr %216, i64 8
  %218 = load double, ptr %217, align 8, !tbaa !12
  %219 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %27, i64 noundef 2) #7
  %220 = load double, ptr %219, align 8, !tbaa !5
  %221 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %26, i64 noundef 2) #7
  %222 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(16) %221)
  %223 = load double, ptr %222, align 8, !tbaa !5
  %224 = call double @llvm.fmuladd.f64(double %218, double %220, double %223)
  store double %224, ptr %222, align 8, !tbaa !5
  %225 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %27, i64 noundef 2) #7
  %226 = load double, ptr %225, align 8, !tbaa !5
  %227 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %26, i64 noundef 2) #7
  %228 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet5ArrayIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %11, ptr noundef nonnull align 8 dereferenceable(16) %227)
  %229 = load double, ptr %228, align 8, !tbaa !5
  %230 = fadd double %226, %229
  store double %230, ptr %228, align 8, !tbaa !5
  %231 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %26, i64 noundef 2) #7
  %232 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %52, ptr noundef nonnull align 8 dereferenceable(16) %231)
  store i8 1, ptr %232, align 1, !tbaa !9
  %233 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet13ArrayAccessorINS_6VectorIdLm2EEELm1EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %.04271)
  %234 = getelementptr inbounds i8, ptr %233, i64 8
  %235 = load double, ptr %234, align 8, !tbaa !12
  %236 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %27, i64 noundef 3) #7
  %237 = load double, ptr %236, align 8, !tbaa !5
  %238 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %26, i64 noundef 3) #7
  %239 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(16) %238)
  %240 = load double, ptr %239, align 8, !tbaa !5
  %241 = call double @llvm.fmuladd.f64(double %235, double %237, double %240)
  store double %241, ptr %239, align 8, !tbaa !5
  %242 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm4EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %27, i64 noundef 3) #7
  %243 = load double, ptr %242, align 8, !tbaa !5
  %244 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %26, i64 noundef 3) #7
  %245 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet5ArrayIdLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %11, ptr noundef nonnull align 8 dereferenceable(16) %244)
  %246 = load double, ptr %245, align 8, !tbaa !5
  %247 = fadd double %243, %246
  store double %247, ptr %245, align 8, !tbaa !5
  %248 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN3jet5PointImLm2EEELm4EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %26, i64 noundef 3) #7
  %249 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm2EEclERKNS_5PointImLm2EEE(ptr noundef nonnull align 8 dereferenceable(40) %52, ptr noundef nonnull align 8 dereferenceable(16) %248)
  store i8 1, ptr %249, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %27) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %26) #7
  %250 = add nuw i64 %.04271, 1
  %exitcond.not = icmp eq i64 %250, %37
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !13

251:                                              ; preds = %.lr.ph
  %252 = landingpad { ptr, i32 }
          cleanup
  br label %255

253:                                              ; preds = %.preheader68.preheader, %115
  %254 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %27) #7
  br label %255

255:                                              ; preds = %253, %251
  %.pn56 = phi { ptr, i32 } [ %254, %253 ], [ %252, %251 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %26) #7
  br label %260

256:                                              ; preds = %._crit_edge
  invoke void @"_ZNK3jet5ArrayIdLm2EE20parallelForEachIndexIZNS_10PicSolver228transferFromParticlesToGridsEvE3$_1EEvT_"(ptr noundef nonnull align 8 dereferenceable(40) %11, ptr nonnull %11, ptr nonnull %7)
          to label %257 unwind label %258

257:                                              ; preds = %256
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %20) #7
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #7
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #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

258:                                              ; preds = %256, %._crit_edge
  %259 = landingpad { ptr, i32 }
          cleanup
  br label %260

260:                                              ; preds = %258, %255, %114
  %.pn56.pn = phi { ptr, i32 } [ %.pn56, %255 ], [ %259, %258 ], [ %.pn54, %114 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %23) #7
  br label %261

261:                                              ; preds = %260, %109
  %.pn56.pn.pn = phi { ptr, i32 } [ %.pn56.pn, %260 ], [ %.pn52, %109 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %20) #7
  br label %262

262:                                              ; preds = %261, %104, %99
  %.pn56.pn.pn.pn = phi { ptr, i32 } [ %.pn56.pn.pn, %261 ], [ %.pn50, %104 ], [ %.pn48, %99 ]
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #7
  br label %263

263:                                              ; preds = %262, %94
  %.pn56.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn56.pn.pn.pn, %262 ], [ %.pn46, %94 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #7
  call void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #7
  br label %264

264:                                              ; preds = %263, %89
  %.pn56.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn56.pn.pn.pn.pn, %263 ], [ %.pn, %89 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #7
  br label %265

265:                                              ; preds = %264, %83
  %.pn56.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn56.pn.pn.pn.pn.pn, %264 ], [ %84, %83 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  br label %266

266:                                              ; preds = %265, %81
  %.pn56.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn56.pn.pn.pn.pn.pn.pn, %265 ], [ %82, %81 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  br label %267

267:                                              ; preds = %77, %79, %266, %75
  %.pn56.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %76, %75 ], [ %.pn56.pn.pn.pn.pn.pn.pn.pn, %266 ], [ %80, %79 ], [ %78, %77 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  br label %268

268:                                              ; preds = %267, %73
  %.pn56.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn56.pn.pn.pn.pn.pn.pn.pn.pn.pn, %267 ], [ %74, %73 ]
  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 } %.pn56.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

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

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

declare void @_ZN3jet19ParticleSystemData210velocitiesEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor") align 8, ptr noundef nonnull align 8 dereferenceable(144)) 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 #2 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 #1

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

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

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

; 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 #3 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 #3 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 #3 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 #2 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 #1

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

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

; 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 #3 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 #1

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3jet5ArrayIdLm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #6 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 #2 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { 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 #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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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 #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 0}
!11 = !{!"_ZTSN3jet6VectorIdLm2EEE", !6, i64 0, !6, i64 8}
!12 = !{!11, !6, i64 8}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


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