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

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

%"class.jet::Size3" = type { i64, i64, i64 }
%"class.jet::ArrayAccessor" = type { %"class.jet::Size3", ptr }
%"class.std::function.9" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.jet::Array" = type { %"class.jet::Size3", %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.jet::Array.11" = type { %"class.jet::Size3", %"class.std::vector.12" }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.jet::Vector" = type { double, double, double }
%"class.std::function.17" = type { %"class.std::_Function_base", ptr }
%class.anon = type { ptr, ptr, ptr, ptr, ptr }
%class.anon.19 = type { ptr, ptr, ptr, ptr, ptr }
%class.anon.20 = type { ptr, ptr, ptr, ptr, ptr }
%"class.jet::ConstArrayAccessor" = type { %"class.jet::Size3", ptr }
%"class.jet::ConstArrayAccessor.21" = type { %"class.jet::Size3", ptr }
%class.anon.22 = type { ptr, ptr, ptr, ptr, ptr }
%class.anon.23 = type { ptr, ptr, ptr, ptr, ptr }
%class.anon.24 = type { ptr, ptr, ptr, ptr, ptr }
%class.anon.25 = type { ptr, ptr }
%class.anon.26 = type { ptr, ptr }
%class.anon.27 = type { ptr, ptr }
%"class.jet::GridFractionalBoundaryConditionSolver3" = type { %"class.jet::GridBoundaryConditionSolver3.base", %"class.std::shared_ptr.0", %"class.std::shared_ptr.3" }
%"class.jet::GridBoundaryConditionSolver3.base" = type <{ ptr, %"class.std::shared_ptr", %"class.jet::Size3", %"class.jet::Vector", %"class.jet::Vector", i32 }>
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::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" }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3jet38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS_17FaceCenteredGrid3Ej(ptr noundef nonnull align 8 dereferenceable(136) %0, ptr noundef %1, i32 noundef %2) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.jet::Size3", align 8
  %8 = alloca %"class.jet::ArrayAccessor", align 8
  %9 = alloca %"class.jet::ArrayAccessor", align 8
  %10 = alloca %"class.jet::ArrayAccessor", align 8
  %11 = alloca %"class.std::function.9", align 8
  %12 = alloca %"class.std::function.9", align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.std::function.9", align 8
  %16 = alloca %"class.jet::Array", align 8
  %17 = alloca %"class.jet::Size3", align 8
  %18 = alloca double, align 8
  %19 = alloca %"class.jet::Array", align 8
  %20 = alloca %"class.jet::Size3", align 8
  %21 = alloca double, align 8
  %22 = alloca %"class.jet::Array", align 8
  %23 = alloca %"class.jet::Size3", align 8
  %24 = alloca double, align 8
  %25 = alloca %"class.jet::Array.11", align 8
  %26 = alloca %"class.jet::Size3", align 8
  %27 = alloca i8, align 1
  %28 = alloca %"class.jet::Array.11", align 8
  %29 = alloca %"class.jet::Size3", align 8
  %30 = alloca i8, align 1
  %31 = alloca %"class.jet::Array.11", align 8
  %32 = alloca %"class.jet::Size3", align 8
  %33 = alloca i8, align 1
  %34 = alloca %"class.jet::Vector", align 8
  %35 = alloca %"class.std::function.17", align 8
  %36 = alloca %class.anon, align 8
  %37 = alloca %"class.std::function.17", align 8
  %38 = alloca %class.anon.19, align 8
  %39 = alloca %"class.std::function.17", align 8
  %40 = alloca %class.anon.20, align 8
  %41 = alloca %"class.jet::ConstArrayAccessor", align 8
  %42 = alloca %"class.jet::ConstArrayAccessor.21", align 8
  %43 = alloca %"class.jet::ArrayAccessor", align 8
  %44 = alloca %"class.jet::ConstArrayAccessor", align 8
  %45 = alloca %"class.jet::ConstArrayAccessor.21", align 8
  %46 = alloca %"class.jet::ArrayAccessor", align 8
  %47 = alloca %"class.jet::ConstArrayAccessor", align 8
  %48 = alloca %"class.jet::ConstArrayAccessor.21", align 8
  %49 = alloca %"class.jet::ArrayAccessor", align 8
  %50 = alloca %"class.std::function.17", align 8
  %51 = alloca %class.anon.22, align 8
  %52 = alloca %"class.std::function.17", align 8
  %53 = alloca %class.anon.23, align 8
  %54 = alloca %"class.std::function.17", align 8
  %55 = alloca %class.anon.24, align 8
  %56 = alloca %class.anon.25, align 8
  %57 = alloca %class.anon.26, align 8
  %58 = alloca %class.anon.27, align 8
  %59 = alloca i64, align 8
  %60 = alloca %"class.jet::Size3", align 8
  %61 = alloca i32, align 4
  %62 = alloca i64, align 8
  %63 = alloca %"class.jet::Size3", align 8
  %64 = alloca i64, align 8
  %65 = alloca %"class.jet::Size3", align 8
  %66 = alloca i64, align 8
  %67 = alloca %"class.jet::Size3", align 8
  %68 = alloca %"class.jet::Size3", align 8
  %69 = alloca i64, align 8
  %70 = alloca %"class.jet::Size3", align 8
  %71 = alloca i64, align 8
  %72 = alloca %"class.jet::Size3", align 8
  %73 = alloca i64, align 8
  %74 = alloca %"class.jet::Size3", align 8
  %75 = alloca i64, align 8
  %76 = alloca %"class.jet::Size3", align 8
  %77 = alloca %"class.jet::Size3", align 8
  %78 = alloca i64, align 8
  %79 = alloca %"class.jet::Size3", align 8
  %80 = alloca i64, align 8
  %81 = alloca %"class.jet::Size3", align 8
  %82 = alloca i64, align 8
  %83 = alloca %"class.jet::Size3", align 8
  %84 = alloca i64, align 8
  %85 = alloca %"class.jet::Size3", align 8
  %86 = alloca %"class.jet::Size3", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  %87 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #6
  %88 = load ptr, ptr %5, align 8, !tbaa !5
  %89 = getelementptr inbounds i8, ptr %88, i64 8
  %90 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3jet5Grid310resolutionEv(ptr noundef nonnull align 8 dereferenceable(128) %89)
  call void @_ZN3jet5Size3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %90)
  %91 = getelementptr inbounds %"class.jet::GridFractionalBoundaryConditionSolver3", ptr %87, i32 0, i32 1
  %92 = call noundef zeroext i1 @_ZSteqIN3jet23CellCenteredScalarGrid3EEbRKSt10shared_ptrIT_EDn(ptr noundef nonnull align 8 dereferenceable(16) %91, ptr null) #6
  br i1 %92, label %99, label %93

93:                                               ; preds = %3
  %94 = getelementptr inbounds %"class.jet::GridFractionalBoundaryConditionSolver3", ptr %87, i32 0, i32 1
  %95 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet23CellCenteredScalarGrid3ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %94) #6
  %96 = getelementptr inbounds i8, ptr %95, i64 8
  %97 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3jet5Grid310resolutionEv(ptr noundef nonnull align 8 dereferenceable(128) %96)
  %98 = call noundef zeroext i1 @_ZNK3jet5Size3neERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %97, ptr noundef nonnull align 8 dereferenceable(24) %7)
  br i1 %98, label %99, label %107

99:                                               ; preds = %93, %3
  %100 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet28GridBoundaryConditionSolver38colliderEv(ptr noundef nonnull align 8 dereferenceable(100) %87)
  %101 = load ptr, ptr %5, align 8, !tbaa !5
  %102 = getelementptr inbounds i8, ptr %101, i64 8
  %103 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3jet5Grid311gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(128) %102)
  %104 = load ptr, ptr %5, align 8, !tbaa !5
  %105 = getelementptr inbounds i8, ptr %104, i64 8
  %106 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3jet5Grid36originEv(ptr noundef nonnull align 8 dereferenceable(128) %105)
  call void @_ZN3jet28GridBoundaryConditionSolver314updateColliderERKSt10shared_ptrINS_9Collider3EERKNS_5Size3ERKNS_6VectorIdLm3EEESC_(ptr noundef nonnull align 8 dereferenceable(100) %87, ptr noundef nonnull align 8 dereferenceable(16) %100, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %103, ptr noundef nonnull align 8 dereferenceable(24) %106)
  br label %107

107:                                              ; preds = %99, %93
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #6
  %108 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN3jet17FaceCenteredGrid39uAccessorEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor") align 8 %8, ptr noundef nonnull align 8 dereferenceable(696) %108)
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #6
  %109 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN3jet17FaceCenteredGrid39vAccessorEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor") align 8 %9, ptr noundef nonnull align 8 dereferenceable(696) %109)
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #6
  %110 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN3jet17FaceCenteredGrid39wAccessorEv(ptr dead_on_unwind writable sret(%"class.jet::ArrayAccessor") align 8 %10, ptr noundef nonnull align 8 dereferenceable(696) %110)
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #6
  %111 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZNK3jet17FaceCenteredGrid39uPositionEv(ptr dead_on_unwind writable sret(%"class.std::function.9") align 8 %11, ptr noundef nonnull align 8 dereferenceable(696) %111)
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #6
  %112 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZNK3jet17FaceCenteredGrid39vPositionEv(ptr dead_on_unwind writable sret(%"class.std::function.9") align 8 %12, ptr noundef nonnull align 8 dereferenceable(696) %112)
          to label %113 unwind label %232

113:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #6
  %114 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZNK3jet17FaceCenteredGrid39wPositionEv(ptr dead_on_unwind writable sret(%"class.std::function.9") align 8 %15, ptr noundef nonnull align 8 dereferenceable(696) %114)
          to label %115 unwind label %236

115:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 48, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %17, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %116 unwind label %240

116:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  store double 0.000000e+00, ptr %18, align 8, !tbaa !11
  invoke void @_ZN3jet5ArrayIdLm3EEC2ERKNS_5Size3ERKd(ptr noundef nonnull align 8 dereferenceable(48) %16, ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %117 unwind label %244

117:                                              ; preds = %116
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %20, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %118 unwind label %249

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

119:                                              ; preds = %118
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %23, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %120 unwind label %258

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

121:                                              ; preds = %120
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %26, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %122 unwind label %267

122:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #6
  store i8 1, ptr %27, align 1, !tbaa !13
  invoke void @_ZN3jet5ArrayIcLm3EEC2ERKNS_5Size3ERKc(ptr noundef nonnull align 8 dereferenceable(48) %25, ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %123 unwind label %271

123:                                              ; preds = %122
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %29, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %124 unwind label %276

124:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #6
  store i8 1, ptr %30, align 1, !tbaa !13
  invoke void @_ZN3jet5ArrayIcLm3EEC2ERKNS_5Size3ERKc(ptr noundef nonnull align 8 dereferenceable(48) %28, ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %125 unwind label %280

125:                                              ; preds = %124
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %32, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %126 unwind label %285

126:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #6
  store i8 1, ptr %33, align 1, !tbaa !13
  invoke void @_ZN3jet5ArrayIcLm3EEC2ERKNS_5Size3ERKc(ptr noundef nonnull align 8 dereferenceable(48) %31, ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %127 unwind label %289

127:                                              ; preds = %126
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %34) #6
  %128 = load ptr, ptr %5, align 8, !tbaa !5
  %129 = getelementptr inbounds i8, ptr %128, i64 8
  %130 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3jet5Grid311gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(128) %129)
          to label %131 unwind label %294

131:                                              ; preds = %127
  invoke void @_ZN3jet6VectorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %34, ptr noundef nonnull align 8 dereferenceable(24) %130)
          to label %132 unwind label %294

132:                                              ; preds = %131
  %133 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %35) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr %36) #6
  %134 = getelementptr inbounds %class.anon, ptr %36, i32 0, i32 0
  store ptr %11, ptr %134, align 8, !tbaa !5
  %135 = getelementptr inbounds %class.anon, ptr %36, i32 0, i32 1
  store ptr %87, ptr %135, align 8, !tbaa !14
  %136 = getelementptr inbounds %class.anon, ptr %36, i32 0, i32 2
  store ptr %34, ptr %136, align 8, !tbaa !5
  %137 = getelementptr inbounds %class.anon, ptr %36, i32 0, i32 3
  store ptr %25, ptr %137, align 8, !tbaa !5
  %138 = getelementptr inbounds %class.anon, ptr %36, i32 0, i32 4
  store ptr %8, ptr %138, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFvmmmEEC2IZN3jet38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS3_17FaceCenteredGrid3EjE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull align 8 dereferenceable(40) %36)
          to label %139 unwind label %298

139:                                              ; preds = %132
  invoke void @_ZNK3jet17FaceCenteredGrid321parallelForEachUIndexERKSt8functionIFvmmmEE(ptr noundef nonnull align 8 dereferenceable(696) %133, ptr noundef nonnull align 8 dereferenceable(32) %35)
          to label %140 unwind label %302

140:                                              ; preds = %139
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #6
  %141 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %37) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr %38) #6
  %142 = getelementptr inbounds %class.anon.19, ptr %38, i32 0, i32 0
  store ptr %12, ptr %142, align 8, !tbaa !5
  %143 = getelementptr inbounds %class.anon.19, ptr %38, i32 0, i32 1
  store ptr %87, ptr %143, align 8, !tbaa !16
  %144 = getelementptr inbounds %class.anon.19, ptr %38, i32 0, i32 2
  store ptr %34, ptr %144, align 8, !tbaa !5
  %145 = getelementptr inbounds %class.anon.19, ptr %38, i32 0, i32 3
  store ptr %28, ptr %145, align 8, !tbaa !5
  %146 = getelementptr inbounds %class.anon.19, ptr %38, i32 0, i32 4
  store ptr %9, ptr %146, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFvmmmEEC2IZN3jet38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS3_17FaceCenteredGrid3EjE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull align 8 dereferenceable(40) %38)
          to label %147 unwind label %307

147:                                              ; preds = %140
  invoke void @_ZNK3jet17FaceCenteredGrid321parallelForEachVIndexERKSt8functionIFvmmmEE(ptr noundef nonnull align 8 dereferenceable(696) %141, ptr noundef nonnull align 8 dereferenceable(32) %37)
          to label %148 unwind label %311

148:                                              ; preds = %147
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #6
  %149 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %39) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr %40) #6
  %150 = getelementptr inbounds %class.anon.20, ptr %40, i32 0, i32 0
  store ptr %15, ptr %150, align 8, !tbaa !5
  %151 = getelementptr inbounds %class.anon.20, ptr %40, i32 0, i32 1
  store ptr %87, ptr %151, align 8, !tbaa !18
  %152 = getelementptr inbounds %class.anon.20, ptr %40, i32 0, i32 2
  store ptr %34, ptr %152, align 8, !tbaa !5
  %153 = getelementptr inbounds %class.anon.20, ptr %40, i32 0, i32 3
  store ptr %31, ptr %153, align 8, !tbaa !5
  %154 = getelementptr inbounds %class.anon.20, ptr %40, i32 0, i32 4
  store ptr %10, ptr %154, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFvmmmEEC2IZN3jet38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS3_17FaceCenteredGrid3EjE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef nonnull align 8 dereferenceable(40) %40)
          to label %155 unwind label %316

155:                                              ; preds = %148
  invoke void @_ZNK3jet17FaceCenteredGrid321parallelForEachWIndexERKSt8functionIFvmmmEE(ptr noundef nonnull align 8 dereferenceable(696) %149, ptr noundef nonnull align 8 dereferenceable(32) %39)
          to label %156 unwind label %320

156:                                              ; preds = %155
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %41) #6
  %157 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZNK3jet17FaceCenteredGrid314uConstAccessorEv(ptr dead_on_unwind writable sret(%"class.jet::ConstArrayAccessor") align 8 %41, ptr noundef nonnull align 8 dereferenceable(696) %157)
          to label %158 unwind label %325

158:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 32, ptr %42) #6
  invoke void @_ZNK3jet5ArrayIcLm3EEcvNS_18ConstArrayAccessorIcLm3EEEEv(ptr dead_on_unwind writable sret(%"class.jet::ConstArrayAccessor.21") align 8 %42, ptr noundef nonnull align 8 dereferenceable(48) %25)
          to label %159 unwind label %329

159:                                              ; preds = %158
  %160 = load i32, ptr %6, align 4, !tbaa !9
  invoke void @_ZN3jet13ArrayAccessorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %161 unwind label %329

161:                                              ; preds = %159
  invoke void @_ZN3jet19extrapolateToRegionIdEEvRKNS_18ConstArrayAccessorIT_Lm3EEERKNS1_IcLm3EEEjNS_13ArrayAccessorIS2_Lm3EEE(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef nonnull align 8 dereferenceable(32) %42, i32 noundef %160, ptr noundef %43)
          to label %162 unwind label %329

162:                                              ; preds = %161
  call void @llvm.lifetime.end.p0(i64 32, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %44) #6
  %163 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZNK3jet17FaceCenteredGrid314vConstAccessorEv(ptr dead_on_unwind writable sret(%"class.jet::ConstArrayAccessor") align 8 %44, ptr noundef nonnull align 8 dereferenceable(696) %163)
          to label %164 unwind label %334

164:                                              ; preds = %162
  call void @llvm.lifetime.start.p0(i64 32, ptr %45) #6
  invoke void @_ZNK3jet5ArrayIcLm3EEcvNS_18ConstArrayAccessorIcLm3EEEEv(ptr dead_on_unwind writable sret(%"class.jet::ConstArrayAccessor.21") align 8 %45, ptr noundef nonnull align 8 dereferenceable(48) %28)
          to label %165 unwind label %338

165:                                              ; preds = %164
  %166 = load i32, ptr %6, align 4, !tbaa !9
  invoke void @_ZN3jet13ArrayAccessorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %167 unwind label %338

167:                                              ; preds = %165
  invoke void @_ZN3jet19extrapolateToRegionIdEEvRKNS_18ConstArrayAccessorIT_Lm3EEERKNS1_IcLm3EEEjNS_13ArrayAccessorIS2_Lm3EEE(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull align 8 dereferenceable(32) %45, i32 noundef %166, ptr noundef %46)
          to label %168 unwind label %338

168:                                              ; preds = %167
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %44) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %47) #6
  %169 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZNK3jet17FaceCenteredGrid314wConstAccessorEv(ptr dead_on_unwind writable sret(%"class.jet::ConstArrayAccessor") align 8 %47, ptr noundef nonnull align 8 dereferenceable(696) %169)
          to label %170 unwind label %343

170:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 32, ptr %48) #6
  invoke void @_ZNK3jet5ArrayIcLm3EEcvNS_18ConstArrayAccessorIcLm3EEEEv(ptr dead_on_unwind writable sret(%"class.jet::ConstArrayAccessor.21") align 8 %48, ptr noundef nonnull align 8 dereferenceable(48) %31)
          to label %171 unwind label %347

171:                                              ; preds = %170
  %172 = load i32, ptr %6, align 4, !tbaa !9
  invoke void @_ZN3jet13ArrayAccessorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %173 unwind label %347

173:                                              ; preds = %171
  invoke void @_ZN3jet19extrapolateToRegionIdEEvRKNS_18ConstArrayAccessorIT_Lm3EEERKNS1_IcLm3EEEjNS_13ArrayAccessorIS2_Lm3EEE(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef nonnull align 8 dereferenceable(32) %48, i32 noundef %172, ptr noundef %49)
          to label %174 unwind label %347

174:                                              ; preds = %173
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #6
  %175 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %50) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr %51) #6
  %176 = getelementptr inbounds %class.anon.22, ptr %51, i32 0, i32 0
  store ptr %11, ptr %176, align 8, !tbaa !5
  %177 = getelementptr inbounds %class.anon.22, ptr %51, i32 0, i32 1
  store ptr %87, ptr %177, align 8, !tbaa !20
  %178 = getelementptr inbounds %class.anon.22, ptr %51, i32 0, i32 2
  store ptr %5, ptr %178, align 8, !tbaa !5
  %179 = getelementptr inbounds %class.anon.22, ptr %51, i32 0, i32 3
  store ptr %16, ptr %179, align 8, !tbaa !5
  %180 = getelementptr inbounds %class.anon.22, ptr %51, i32 0, i32 4
  store ptr %8, ptr %180, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFvmmmEEC2IZN3jet38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS3_17FaceCenteredGrid3EjE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %50, ptr noundef nonnull align 8 dereferenceable(40) %51)
          to label %181 unwind label %352

181:                                              ; preds = %174
  invoke void @_ZNK3jet17FaceCenteredGrid321parallelForEachUIndexERKSt8functionIFvmmmEE(ptr noundef nonnull align 8 dereferenceable(696) %175, ptr noundef nonnull align 8 dereferenceable(32) %50)
          to label %182 unwind label %356

182:                                              ; preds = %181
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %51) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %50) #6
  %183 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %52) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr %53) #6
  %184 = getelementptr inbounds %class.anon.23, ptr %53, i32 0, i32 0
  store ptr %12, ptr %184, align 8, !tbaa !5
  %185 = getelementptr inbounds %class.anon.23, ptr %53, i32 0, i32 1
  store ptr %87, ptr %185, align 8, !tbaa !22
  %186 = getelementptr inbounds %class.anon.23, ptr %53, i32 0, i32 2
  store ptr %5, ptr %186, align 8, !tbaa !5
  %187 = getelementptr inbounds %class.anon.23, ptr %53, i32 0, i32 3
  store ptr %19, ptr %187, align 8, !tbaa !5
  %188 = getelementptr inbounds %class.anon.23, ptr %53, i32 0, i32 4
  store ptr %9, ptr %188, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFvmmmEEC2IZN3jet38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS3_17FaceCenteredGrid3EjE3$_4vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %52, ptr noundef nonnull align 8 dereferenceable(40) %53)
          to label %189 unwind label %361

189:                                              ; preds = %182
  invoke void @_ZNK3jet17FaceCenteredGrid321parallelForEachVIndexERKSt8functionIFvmmmEE(ptr noundef nonnull align 8 dereferenceable(696) %183, ptr noundef nonnull align 8 dereferenceable(32) %52)
          to label %190 unwind label %365

190:                                              ; preds = %189
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %53) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %52) #6
  %191 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %54) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr %55) #6
  %192 = getelementptr inbounds %class.anon.24, ptr %55, i32 0, i32 0
  store ptr %15, ptr %192, align 8, !tbaa !5
  %193 = getelementptr inbounds %class.anon.24, ptr %55, i32 0, i32 1
  store ptr %87, ptr %193, align 8, !tbaa !24
  %194 = getelementptr inbounds %class.anon.24, ptr %55, i32 0, i32 2
  store ptr %5, ptr %194, align 8, !tbaa !5
  %195 = getelementptr inbounds %class.anon.24, ptr %55, i32 0, i32 3
  store ptr %22, ptr %195, align 8, !tbaa !5
  %196 = getelementptr inbounds %class.anon.24, ptr %55, i32 0, i32 4
  store ptr %10, ptr %196, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFvmmmEEC2IZN3jet38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS3_17FaceCenteredGrid3EjE3$_5vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %54, ptr noundef nonnull align 8 dereferenceable(40) %55)
          to label %197 unwind label %370

197:                                              ; preds = %190
  invoke void @_ZNK3jet17FaceCenteredGrid321parallelForEachWIndexERKSt8functionIFvmmmEE(ptr noundef nonnull align 8 dereferenceable(696) %191, ptr noundef nonnull align 8 dereferenceable(32) %54)
          to label %198 unwind label %374

198:                                              ; preds = %197
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %55) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %54) #6
  %199 = getelementptr inbounds %class.anon.25, ptr %56, i32 0, i32 0
  store ptr %8, ptr %199, align 8, !tbaa !5
  %200 = getelementptr inbounds %class.anon.25, ptr %56, i32 0, i32 1
  store ptr %16, ptr %200, align 8, !tbaa !5
  %201 = getelementptr inbounds { ptr, ptr }, ptr %56, i32 0, i32 0
  %202 = load ptr, ptr %201, align 8
  %203 = getelementptr inbounds { ptr, ptr }, ptr %56, i32 0, i32 1
  %204 = load ptr, ptr %203, align 8
  invoke void @"_ZNK3jet13ArrayAccessorIdLm3EE20parallelForEachIndexIZNS_38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS_17FaceCenteredGrid3EjE3$_6EEvT_"(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr %202, ptr %204)
          to label %205 unwind label %294

205:                                              ; preds = %198
  %206 = getelementptr inbounds %class.anon.26, ptr %57, i32 0, i32 0
  store ptr %9, ptr %206, align 8, !tbaa !5
  %207 = getelementptr inbounds %class.anon.26, ptr %57, i32 0, i32 1
  store ptr %19, ptr %207, align 8, !tbaa !5
  %208 = getelementptr inbounds { ptr, ptr }, ptr %57, i32 0, i32 0
  %209 = load ptr, ptr %208, align 8
  %210 = getelementptr inbounds { ptr, ptr }, ptr %57, i32 0, i32 1
  %211 = load ptr, ptr %210, align 8
  invoke void @"_ZNK3jet13ArrayAccessorIdLm3EE20parallelForEachIndexIZNS_38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS_17FaceCenteredGrid3EjE3$_7EEvT_"(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr %209, ptr %211)
          to label %212 unwind label %294

212:                                              ; preds = %205
  %213 = getelementptr inbounds %class.anon.27, ptr %58, i32 0, i32 0
  store ptr %10, ptr %213, align 8, !tbaa !5
  %214 = getelementptr inbounds %class.anon.27, ptr %58, i32 0, i32 1
  store ptr %22, ptr %214, align 8, !tbaa !5
  %215 = getelementptr inbounds { ptr, ptr }, ptr %58, i32 0, i32 0
  %216 = load ptr, ptr %215, align 8
  %217 = getelementptr inbounds { ptr, ptr }, ptr %58, i32 0, i32 1
  %218 = load ptr, ptr %217, align 8
  invoke void @"_ZNK3jet13ArrayAccessorIdLm3EE20parallelForEachIndexIZNS_38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS_17FaceCenteredGrid3EjE3$_8EEvT_"(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr %216, ptr %218)
          to label %219 unwind label %294

219:                                              ; preds = %212
  %220 = invoke noundef i32 @_ZNK3jet28GridBoundaryConditionSolver324closedDomainBoundaryFlagEv(ptr noundef nonnull align 8 dereferenceable(100) %87)
          to label %221 unwind label %294

221:                                              ; preds = %219
  %222 = and i32 %220, 1
  %223 = icmp ne i32 %222, 0
  br i1 %223, label %224, label %414

224:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #6
  store i64 0, ptr %59, align 8, !tbaa !26
  br label %225

225:                                              ; preds = %409, %224
  %226 = load i64, ptr %59, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 24, ptr %60) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %60, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %227 unwind label %379

227:                                              ; preds = %225
  %228 = getelementptr inbounds %"class.jet::Size3", ptr %60, i32 0, i32 2
  %229 = load i64, ptr %228, align 8, !tbaa !28
  %230 = icmp ult i64 %226, %229
  call void @llvm.lifetime.end.p0(i64 24, ptr %60) #6
  br i1 %230, label %383, label %231

231:                                              ; preds = %227
  store i32 2, ptr %61, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #6
  br label %413

232:                                              ; preds = %107
  %233 = landingpad { ptr, i32 }
          cleanup
  %234 = extractvalue { ptr, i32 } %233, 0
  store ptr %234, ptr %13, align 8
  %235 = extractvalue { ptr, i32 } %233, 1
  store i32 %235, ptr %14, align 4
  br label %675

236:                                              ; preds = %113
  %237 = landingpad { ptr, i32 }
          cleanup
  %238 = extractvalue { ptr, i32 } %237, 0
  store ptr %238, ptr %13, align 8
  %239 = extractvalue { ptr, i32 } %237, 1
  store i32 %239, ptr %14, align 4
  br label %674

240:                                              ; preds = %115
  %241 = landingpad { ptr, i32 }
          cleanup
  %242 = extractvalue { ptr, i32 } %241, 0
  store ptr %242, ptr %13, align 8
  %243 = extractvalue { ptr, i32 } %241, 1
  store i32 %243, ptr %14, align 4
  br label %248

244:                                              ; preds = %116
  %245 = landingpad { ptr, i32 }
          cleanup
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %13, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %248

248:                                              ; preds = %244, %240
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #6
  br label %673

249:                                              ; preds = %117
  %250 = landingpad { ptr, i32 }
          cleanup
  %251 = extractvalue { ptr, i32 } %250, 0
  store ptr %251, ptr %13, align 8
  %252 = extractvalue { ptr, i32 } %250, 1
  store i32 %252, ptr %14, align 4
  br label %257

253:                                              ; preds = %118
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %13, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %257

257:                                              ; preds = %253, %249
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #6
  br label %672

258:                                              ; preds = %119
  %259 = landingpad { ptr, i32 }
          cleanup
  %260 = extractvalue { ptr, i32 } %259, 0
  store ptr %260, ptr %13, align 8
  %261 = extractvalue { ptr, i32 } %259, 1
  store i32 %261, ptr %14, align 4
  br label %266

262:                                              ; preds = %120
  %263 = landingpad { ptr, i32 }
          cleanup
  %264 = extractvalue { ptr, i32 } %263, 0
  store ptr %264, ptr %13, align 8
  %265 = extractvalue { ptr, i32 } %263, 1
  store i32 %265, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  br label %266

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

267:                                              ; preds = %121
  %268 = landingpad { ptr, i32 }
          cleanup
  %269 = extractvalue { ptr, i32 } %268, 0
  store ptr %269, ptr %13, align 8
  %270 = extractvalue { ptr, i32 } %268, 1
  store i32 %270, ptr %14, align 4
  br label %275

271:                                              ; preds = %122
  %272 = landingpad { ptr, i32 }
          cleanup
  %273 = extractvalue { ptr, i32 } %272, 0
  store ptr %273, ptr %13, align 8
  %274 = extractvalue { ptr, i32 } %272, 1
  store i32 %274, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #6
  br label %275

275:                                              ; preds = %271, %267
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #6
  br label %670

276:                                              ; preds = %123
  %277 = landingpad { ptr, i32 }
          cleanup
  %278 = extractvalue { ptr, i32 } %277, 0
  store ptr %278, ptr %13, align 8
  %279 = extractvalue { ptr, i32 } %277, 1
  store i32 %279, ptr %14, align 4
  br label %284

280:                                              ; preds = %124
  %281 = landingpad { ptr, i32 }
          cleanup
  %282 = extractvalue { ptr, i32 } %281, 0
  store ptr %282, ptr %13, align 8
  %283 = extractvalue { ptr, i32 } %281, 1
  store i32 %283, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #6
  br label %284

284:                                              ; preds = %280, %276
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #6
  br label %669

285:                                              ; preds = %125
  %286 = landingpad { ptr, i32 }
          cleanup
  %287 = extractvalue { ptr, i32 } %286, 0
  store ptr %287, ptr %13, align 8
  %288 = extractvalue { ptr, i32 } %286, 1
  store i32 %288, ptr %14, align 4
  br label %293

289:                                              ; preds = %126
  %290 = landingpad { ptr, i32 }
          cleanup
  %291 = extractvalue { ptr, i32 } %290, 0
  store ptr %291, ptr %13, align 8
  %292 = extractvalue { ptr, i32 } %290, 1
  store i32 %292, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #6
  br label %293

293:                                              ; preds = %289, %285
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #6
  br label %668

294:                                              ; preds = %614, %566, %514, %466, %414, %219, %212, %205, %198, %131, %127
  %295 = landingpad { ptr, i32 }
          cleanup
  %296 = extractvalue { ptr, i32 } %295, 0
  store ptr %296, ptr %13, align 8
  %297 = extractvalue { ptr, i32 } %295, 1
  store i32 %297, ptr %14, align 4
  br label %667

298:                                              ; preds = %132
  %299 = landingpad { ptr, i32 }
          cleanup
  %300 = extractvalue { ptr, i32 } %299, 0
  store ptr %300, ptr %13, align 8
  %301 = extractvalue { ptr, i32 } %299, 1
  store i32 %301, ptr %14, align 4
  br label %306

302:                                              ; preds = %139
  %303 = landingpad { ptr, i32 }
          cleanup
  %304 = extractvalue { ptr, i32 } %303, 0
  store ptr %304, ptr %13, align 8
  %305 = extractvalue { ptr, i32 } %303, 1
  store i32 %305, ptr %14, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #6
  br label %306

306:                                              ; preds = %302, %298
  call void @llvm.lifetime.end.p0(i64 40, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #6
  br label %667

307:                                              ; preds = %140
  %308 = landingpad { ptr, i32 }
          cleanup
  %309 = extractvalue { ptr, i32 } %308, 0
  store ptr %309, ptr %13, align 8
  %310 = extractvalue { ptr, i32 } %308, 1
  store i32 %310, ptr %14, align 4
  br label %315

311:                                              ; preds = %147
  %312 = landingpad { ptr, i32 }
          cleanup
  %313 = extractvalue { ptr, i32 } %312, 0
  store ptr %313, ptr %13, align 8
  %314 = extractvalue { ptr, i32 } %312, 1
  store i32 %314, ptr %14, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #6
  br label %315

315:                                              ; preds = %311, %307
  call void @llvm.lifetime.end.p0(i64 40, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #6
  br label %667

316:                                              ; preds = %148
  %317 = landingpad { ptr, i32 }
          cleanup
  %318 = extractvalue { ptr, i32 } %317, 0
  store ptr %318, ptr %13, align 8
  %319 = extractvalue { ptr, i32 } %317, 1
  store i32 %319, ptr %14, align 4
  br label %324

320:                                              ; preds = %155
  %321 = landingpad { ptr, i32 }
          cleanup
  %322 = extractvalue { ptr, i32 } %321, 0
  store ptr %322, ptr %13, align 8
  %323 = extractvalue { ptr, i32 } %321, 1
  store i32 %323, ptr %14, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #6
  br label %324

324:                                              ; preds = %320, %316
  call void @llvm.lifetime.end.p0(i64 40, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #6
  br label %667

325:                                              ; preds = %156
  %326 = landingpad { ptr, i32 }
          cleanup
  %327 = extractvalue { ptr, i32 } %326, 0
  store ptr %327, ptr %13, align 8
  %328 = extractvalue { ptr, i32 } %326, 1
  store i32 %328, ptr %14, align 4
  br label %333

329:                                              ; preds = %161, %159, %158
  %330 = landingpad { ptr, i32 }
          cleanup
  %331 = extractvalue { ptr, i32 } %330, 0
  store ptr %331, ptr %13, align 8
  %332 = extractvalue { ptr, i32 } %330, 1
  store i32 %332, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %42) #6
  br label %333

333:                                              ; preds = %329, %325
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #6
  br label %667

334:                                              ; preds = %162
  %335 = landingpad { ptr, i32 }
          cleanup
  %336 = extractvalue { ptr, i32 } %335, 0
  store ptr %336, ptr %13, align 8
  %337 = extractvalue { ptr, i32 } %335, 1
  store i32 %337, ptr %14, align 4
  br label %342

338:                                              ; preds = %167, %165, %164
  %339 = landingpad { ptr, i32 }
          cleanup
  %340 = extractvalue { ptr, i32 } %339, 0
  store ptr %340, ptr %13, align 8
  %341 = extractvalue { ptr, i32 } %339, 1
  store i32 %341, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #6
  br label %342

342:                                              ; preds = %338, %334
  call void @llvm.lifetime.end.p0(i64 32, ptr %44) #6
  br label %667

343:                                              ; preds = %168
  %344 = landingpad { ptr, i32 }
          cleanup
  %345 = extractvalue { ptr, i32 } %344, 0
  store ptr %345, ptr %13, align 8
  %346 = extractvalue { ptr, i32 } %344, 1
  store i32 %346, ptr %14, align 4
  br label %351

347:                                              ; preds = %173, %171, %170
  %348 = landingpad { ptr, i32 }
          cleanup
  %349 = extractvalue { ptr, i32 } %348, 0
  store ptr %349, ptr %13, align 8
  %350 = extractvalue { ptr, i32 } %348, 1
  store i32 %350, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #6
  br label %351

351:                                              ; preds = %347, %343
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #6
  br label %667

352:                                              ; preds = %174
  %353 = landingpad { ptr, i32 }
          cleanup
  %354 = extractvalue { ptr, i32 } %353, 0
  store ptr %354, ptr %13, align 8
  %355 = extractvalue { ptr, i32 } %353, 1
  store i32 %355, ptr %14, align 4
  br label %360

356:                                              ; preds = %181
  %357 = landingpad { ptr, i32 }
          cleanup
  %358 = extractvalue { ptr, i32 } %357, 0
  store ptr %358, ptr %13, align 8
  %359 = extractvalue { ptr, i32 } %357, 1
  store i32 %359, ptr %14, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #6
  br label %360

360:                                              ; preds = %356, %352
  call void @llvm.lifetime.end.p0(i64 40, ptr %51) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %50) #6
  br label %667

361:                                              ; preds = %182
  %362 = landingpad { ptr, i32 }
          cleanup
  %363 = extractvalue { ptr, i32 } %362, 0
  store ptr %363, ptr %13, align 8
  %364 = extractvalue { ptr, i32 } %362, 1
  store i32 %364, ptr %14, align 4
  br label %369

365:                                              ; preds = %189
  %366 = landingpad { ptr, i32 }
          cleanup
  %367 = extractvalue { ptr, i32 } %366, 0
  store ptr %367, ptr %13, align 8
  %368 = extractvalue { ptr, i32 } %366, 1
  store i32 %368, ptr %14, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #6
  br label %369

369:                                              ; preds = %365, %361
  call void @llvm.lifetime.end.p0(i64 40, ptr %53) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %52) #6
  br label %667

370:                                              ; preds = %190
  %371 = landingpad { ptr, i32 }
          cleanup
  %372 = extractvalue { ptr, i32 } %371, 0
  store ptr %372, ptr %13, align 8
  %373 = extractvalue { ptr, i32 } %371, 1
  store i32 %373, ptr %14, align 4
  br label %378

374:                                              ; preds = %197
  %375 = landingpad { ptr, i32 }
          cleanup
  %376 = extractvalue { ptr, i32 } %375, 0
  store ptr %376, ptr %13, align 8
  %377 = extractvalue { ptr, i32 } %375, 1
  store i32 %377, ptr %14, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #6
  br label %378

378:                                              ; preds = %374, %370
  call void @llvm.lifetime.end.p0(i64 40, ptr %55) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %54) #6
  br label %667

379:                                              ; preds = %225
  %380 = landingpad { ptr, i32 }
          cleanup
  %381 = extractvalue { ptr, i32 } %380, 0
  store ptr %381, ptr %13, align 8
  %382 = extractvalue { ptr, i32 } %380, 1
  store i32 %382, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %60) #6
  br label %412

383:                                              ; preds = %227
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #6
  store i64 0, ptr %62, align 8, !tbaa !26
  br label %384

384:                                              ; preds = %400, %383
  %385 = load i64, ptr %62, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 24, ptr %63) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %63, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %386 unwind label %391

386:                                              ; preds = %384
  %387 = getelementptr inbounds %"class.jet::Size3", ptr %63, i32 0, i32 1
  %388 = load i64, ptr %387, align 8, !tbaa !30
  %389 = icmp ult i64 %385, %388
  call void @llvm.lifetime.end.p0(i64 24, ptr %63) #6
  br i1 %389, label %395, label %390

390:                                              ; preds = %386
  store i32 5, ptr %61, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #6
  br label %408

391:                                              ; preds = %384
  %392 = landingpad { ptr, i32 }
          cleanup
  %393 = extractvalue { ptr, i32 } %392, 0
  store ptr %393, ptr %13, align 8
  %394 = extractvalue { ptr, i32 } %392, 1
  store i32 %394, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %63) #6
  br label %407

395:                                              ; preds = %386
  %396 = load i64, ptr %62, align 8, !tbaa !26
  %397 = load i64, ptr %59, align 8, !tbaa !26
  %398 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef 0, i64 noundef %396, i64 noundef %397)
          to label %399 unwind label %403

399:                                              ; preds = %395
  store double 0.000000e+00, ptr %398, align 8, !tbaa !11
  br label %400

400:                                              ; preds = %399
  %401 = load i64, ptr %62, align 8, !tbaa !26
  %402 = add i64 %401, 1
  store i64 %402, ptr %62, align 8, !tbaa !26
  br label %384, !llvm.loop !31

403:                                              ; preds = %395
  %404 = landingpad { ptr, i32 }
          cleanup
  %405 = extractvalue { ptr, i32 } %404, 0
  store ptr %405, ptr %13, align 8
  %406 = extractvalue { ptr, i32 } %404, 1
  store i32 %406, ptr %14, align 4
  br label %407

407:                                              ; preds = %403, %391
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #6
  br label %412

408:                                              ; preds = %390
  br label %409

409:                                              ; preds = %408
  %410 = load i64, ptr %59, align 8, !tbaa !26
  %411 = add i64 %410, 1
  store i64 %411, ptr %59, align 8, !tbaa !26
  br label %225, !llvm.loop !33

412:                                              ; preds = %407, %379
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #6
  br label %667

413:                                              ; preds = %231
  br label %414

414:                                              ; preds = %413, %221
  %415 = invoke noundef i32 @_ZNK3jet28GridBoundaryConditionSolver324closedDomainBoundaryFlagEv(ptr noundef nonnull align 8 dereferenceable(100) %87)
          to label %416 unwind label %294

416:                                              ; preds = %414
  %417 = and i32 %415, 2
  %418 = icmp ne i32 %417, 0
  br i1 %418, label %419, label %466

419:                                              ; preds = %416
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #6
  store i64 0, ptr %64, align 8, !tbaa !26
  br label %420

420:                                              ; preds = %461, %419
  %421 = load i64, ptr %64, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 24, ptr %65) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %65, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %422 unwind label %427

422:                                              ; preds = %420
  %423 = getelementptr inbounds %"class.jet::Size3", ptr %65, i32 0, i32 2
  %424 = load i64, ptr %423, align 8, !tbaa !28
  %425 = icmp ult i64 %421, %424
  call void @llvm.lifetime.end.p0(i64 24, ptr %65) #6
  br i1 %425, label %431, label %426

426:                                              ; preds = %422
  store i32 8, ptr %61, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #6
  br label %465

427:                                              ; preds = %420
  %428 = landingpad { ptr, i32 }
          cleanup
  %429 = extractvalue { ptr, i32 } %428, 0
  store ptr %429, ptr %13, align 8
  %430 = extractvalue { ptr, i32 } %428, 1
  store i32 %430, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %65) #6
  br label %464

431:                                              ; preds = %422
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #6
  store i64 0, ptr %66, align 8, !tbaa !26
  br label %432

432:                                              ; preds = %452, %431
  %433 = load i64, ptr %66, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 24, ptr %67) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %67, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %434 unwind label %439

434:                                              ; preds = %432
  %435 = getelementptr inbounds %"class.jet::Size3", ptr %67, i32 0, i32 1
  %436 = load i64, ptr %435, align 8, !tbaa !30
  %437 = icmp ult i64 %433, %436
  call void @llvm.lifetime.end.p0(i64 24, ptr %67) #6
  br i1 %437, label %443, label %438

438:                                              ; preds = %434
  store i32 11, ptr %61, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #6
  br label %460

439:                                              ; preds = %432
  %440 = landingpad { ptr, i32 }
          cleanup
  %441 = extractvalue { ptr, i32 } %440, 0
  store ptr %441, ptr %13, align 8
  %442 = extractvalue { ptr, i32 } %440, 1
  store i32 %442, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %67) #6
  br label %459

443:                                              ; preds = %434
  call void @llvm.lifetime.start.p0(i64 24, ptr %68) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %68, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %444 unwind label %455

444:                                              ; preds = %443
  %445 = getelementptr inbounds %"class.jet::Size3", ptr %68, i32 0, i32 0
  %446 = load i64, ptr %445, align 8, !tbaa !34
  %447 = sub i64 %446, 1
  %448 = load i64, ptr %66, align 8, !tbaa !26
  %449 = load i64, ptr %64, align 8, !tbaa !26
  %450 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef %447, i64 noundef %448, i64 noundef %449)
          to label %451 unwind label %455

451:                                              ; preds = %444
  store double 0.000000e+00, ptr %450, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %68) #6
  br label %452

452:                                              ; preds = %451
  %453 = load i64, ptr %66, align 8, !tbaa !26
  %454 = add i64 %453, 1
  store i64 %454, ptr %66, align 8, !tbaa !26
  br label %432, !llvm.loop !35

455:                                              ; preds = %444, %443
  %456 = landingpad { ptr, i32 }
          cleanup
  %457 = extractvalue { ptr, i32 } %456, 0
  store ptr %457, ptr %13, align 8
  %458 = extractvalue { ptr, i32 } %456, 1
  store i32 %458, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %68) #6
  br label %459

459:                                              ; preds = %455, %439
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #6
  br label %464

460:                                              ; preds = %438
  br label %461

461:                                              ; preds = %460
  %462 = load i64, ptr %64, align 8, !tbaa !26
  %463 = add i64 %462, 1
  store i64 %463, ptr %64, align 8, !tbaa !26
  br label %420, !llvm.loop !36

464:                                              ; preds = %459, %427
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #6
  br label %667

465:                                              ; preds = %426
  br label %466

466:                                              ; preds = %465, %416
  %467 = invoke noundef i32 @_ZNK3jet28GridBoundaryConditionSolver324closedDomainBoundaryFlagEv(ptr noundef nonnull align 8 dereferenceable(100) %87)
          to label %468 unwind label %294

468:                                              ; preds = %466
  %469 = and i32 %467, 4
  %470 = icmp ne i32 %469, 0
  br i1 %470, label %471, label %514

471:                                              ; preds = %468
  call void @llvm.lifetime.start.p0(i64 8, ptr %69) #6
  store i64 0, ptr %69, align 8, !tbaa !26
  br label %472

472:                                              ; preds = %509, %471
  %473 = load i64, ptr %69, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 24, ptr %70) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %70, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %474 unwind label %479

474:                                              ; preds = %472
  %475 = getelementptr inbounds %"class.jet::Size3", ptr %70, i32 0, i32 2
  %476 = load i64, ptr %475, align 8, !tbaa !28
  %477 = icmp ult i64 %473, %476
  call void @llvm.lifetime.end.p0(i64 24, ptr %70) #6
  br i1 %477, label %483, label %478

478:                                              ; preds = %474
  store i32 14, ptr %61, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #6
  br label %513

479:                                              ; preds = %472
  %480 = landingpad { ptr, i32 }
          cleanup
  %481 = extractvalue { ptr, i32 } %480, 0
  store ptr %481, ptr %13, align 8
  %482 = extractvalue { ptr, i32 } %480, 1
  store i32 %482, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %70) #6
  br label %512

483:                                              ; preds = %474
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #6
  store i64 0, ptr %71, align 8, !tbaa !26
  br label %484

484:                                              ; preds = %500, %483
  %485 = load i64, ptr %71, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 24, ptr %72) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %72, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %486 unwind label %491

486:                                              ; preds = %484
  %487 = getelementptr inbounds %"class.jet::Size3", ptr %72, i32 0, i32 0
  %488 = load i64, ptr %487, align 8, !tbaa !34
  %489 = icmp ult i64 %485, %488
  call void @llvm.lifetime.end.p0(i64 24, ptr %72) #6
  br i1 %489, label %495, label %490

490:                                              ; preds = %486
  store i32 17, ptr %61, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #6
  br label %508

491:                                              ; preds = %484
  %492 = landingpad { ptr, i32 }
          cleanup
  %493 = extractvalue { ptr, i32 } %492, 0
  store ptr %493, ptr %13, align 8
  %494 = extractvalue { ptr, i32 } %492, 1
  store i32 %494, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %72) #6
  br label %507

495:                                              ; preds = %486
  %496 = load i64, ptr %71, align 8, !tbaa !26
  %497 = load i64, ptr %69, align 8, !tbaa !26
  %498 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %9, i64 noundef %496, i64 noundef 0, i64 noundef %497)
          to label %499 unwind label %503

499:                                              ; preds = %495
  store double 0.000000e+00, ptr %498, align 8, !tbaa !11
  br label %500

500:                                              ; preds = %499
  %501 = load i64, ptr %71, align 8, !tbaa !26
  %502 = add i64 %501, 1
  store i64 %502, ptr %71, align 8, !tbaa !26
  br label %484, !llvm.loop !37

503:                                              ; preds = %495
  %504 = landingpad { ptr, i32 }
          cleanup
  %505 = extractvalue { ptr, i32 } %504, 0
  store ptr %505, ptr %13, align 8
  %506 = extractvalue { ptr, i32 } %504, 1
  store i32 %506, ptr %14, align 4
  br label %507

507:                                              ; preds = %503, %491
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #6
  br label %512

508:                                              ; preds = %490
  br label %509

509:                                              ; preds = %508
  %510 = load i64, ptr %69, align 8, !tbaa !26
  %511 = add i64 %510, 1
  store i64 %511, ptr %69, align 8, !tbaa !26
  br label %472, !llvm.loop !38

512:                                              ; preds = %507, %479
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #6
  br label %667

513:                                              ; preds = %478
  br label %514

514:                                              ; preds = %513, %468
  %515 = invoke noundef i32 @_ZNK3jet28GridBoundaryConditionSolver324closedDomainBoundaryFlagEv(ptr noundef nonnull align 8 dereferenceable(100) %87)
          to label %516 unwind label %294

516:                                              ; preds = %514
  %517 = and i32 %515, 8
  %518 = icmp ne i32 %517, 0
  br i1 %518, label %519, label %566

519:                                              ; preds = %516
  call void @llvm.lifetime.start.p0(i64 8, ptr %73) #6
  store i64 0, ptr %73, align 8, !tbaa !26
  br label %520

520:                                              ; preds = %561, %519
  %521 = load i64, ptr %73, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 24, ptr %74) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %74, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %522 unwind label %527

522:                                              ; preds = %520
  %523 = getelementptr inbounds %"class.jet::Size3", ptr %74, i32 0, i32 2
  %524 = load i64, ptr %523, align 8, !tbaa !28
  %525 = icmp ult i64 %521, %524
  call void @llvm.lifetime.end.p0(i64 24, ptr %74) #6
  br i1 %525, label %531, label %526

526:                                              ; preds = %522
  store i32 20, ptr %61, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #6
  br label %565

527:                                              ; preds = %520
  %528 = landingpad { ptr, i32 }
          cleanup
  %529 = extractvalue { ptr, i32 } %528, 0
  store ptr %529, ptr %13, align 8
  %530 = extractvalue { ptr, i32 } %528, 1
  store i32 %530, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %74) #6
  br label %564

531:                                              ; preds = %522
  call void @llvm.lifetime.start.p0(i64 8, ptr %75) #6
  store i64 0, ptr %75, align 8, !tbaa !26
  br label %532

532:                                              ; preds = %552, %531
  %533 = load i64, ptr %75, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 24, ptr %76) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %76, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %534 unwind label %539

534:                                              ; preds = %532
  %535 = getelementptr inbounds %"class.jet::Size3", ptr %76, i32 0, i32 0
  %536 = load i64, ptr %535, align 8, !tbaa !34
  %537 = icmp ult i64 %533, %536
  call void @llvm.lifetime.end.p0(i64 24, ptr %76) #6
  br i1 %537, label %543, label %538

538:                                              ; preds = %534
  store i32 23, ptr %61, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #6
  br label %560

539:                                              ; preds = %532
  %540 = landingpad { ptr, i32 }
          cleanup
  %541 = extractvalue { ptr, i32 } %540, 0
  store ptr %541, ptr %13, align 8
  %542 = extractvalue { ptr, i32 } %540, 1
  store i32 %542, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %76) #6
  br label %559

543:                                              ; preds = %534
  %544 = load i64, ptr %75, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 24, ptr %77) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %77, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %545 unwind label %555

545:                                              ; preds = %543
  %546 = getelementptr inbounds %"class.jet::Size3", ptr %77, i32 0, i32 1
  %547 = load i64, ptr %546, align 8, !tbaa !30
  %548 = sub i64 %547, 1
  %549 = load i64, ptr %73, align 8, !tbaa !26
  %550 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %9, i64 noundef %544, i64 noundef %548, i64 noundef %549)
          to label %551 unwind label %555

551:                                              ; preds = %545
  store double 0.000000e+00, ptr %550, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %77) #6
  br label %552

552:                                              ; preds = %551
  %553 = load i64, ptr %75, align 8, !tbaa !26
  %554 = add i64 %553, 1
  store i64 %554, ptr %75, align 8, !tbaa !26
  br label %532, !llvm.loop !39

555:                                              ; preds = %545, %543
  %556 = landingpad { ptr, i32 }
          cleanup
  %557 = extractvalue { ptr, i32 } %556, 0
  store ptr %557, ptr %13, align 8
  %558 = extractvalue { ptr, i32 } %556, 1
  store i32 %558, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %77) #6
  br label %559

559:                                              ; preds = %555, %539
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #6
  br label %564

560:                                              ; preds = %538
  br label %561

561:                                              ; preds = %560
  %562 = load i64, ptr %73, align 8, !tbaa !26
  %563 = add i64 %562, 1
  store i64 %563, ptr %73, align 8, !tbaa !26
  br label %520, !llvm.loop !40

564:                                              ; preds = %559, %527
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #6
  br label %667

565:                                              ; preds = %526
  br label %566

566:                                              ; preds = %565, %516
  %567 = invoke noundef i32 @_ZNK3jet28GridBoundaryConditionSolver324closedDomainBoundaryFlagEv(ptr noundef nonnull align 8 dereferenceable(100) %87)
          to label %568 unwind label %294

568:                                              ; preds = %566
  %569 = and i32 %567, 16
  %570 = icmp ne i32 %569, 0
  br i1 %570, label %571, label %614

571:                                              ; preds = %568
  call void @llvm.lifetime.start.p0(i64 8, ptr %78) #6
  store i64 0, ptr %78, align 8, !tbaa !26
  br label %572

572:                                              ; preds = %609, %571
  %573 = load i64, ptr %78, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 24, ptr %79) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %79, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %574 unwind label %579

574:                                              ; preds = %572
  %575 = getelementptr inbounds %"class.jet::Size3", ptr %79, i32 0, i32 1
  %576 = load i64, ptr %575, align 8, !tbaa !30
  %577 = icmp ult i64 %573, %576
  call void @llvm.lifetime.end.p0(i64 24, ptr %79) #6
  br i1 %577, label %583, label %578

578:                                              ; preds = %574
  store i32 26, ptr %61, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %78) #6
  br label %613

579:                                              ; preds = %572
  %580 = landingpad { ptr, i32 }
          cleanup
  %581 = extractvalue { ptr, i32 } %580, 0
  store ptr %581, ptr %13, align 8
  %582 = extractvalue { ptr, i32 } %580, 1
  store i32 %582, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %79) #6
  br label %612

583:                                              ; preds = %574
  call void @llvm.lifetime.start.p0(i64 8, ptr %80) #6
  store i64 0, ptr %80, align 8, !tbaa !26
  br label %584

584:                                              ; preds = %600, %583
  %585 = load i64, ptr %80, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 24, ptr %81) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %81, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %586 unwind label %591

586:                                              ; preds = %584
  %587 = getelementptr inbounds %"class.jet::Size3", ptr %81, i32 0, i32 0
  %588 = load i64, ptr %587, align 8, !tbaa !34
  %589 = icmp ult i64 %585, %588
  call void @llvm.lifetime.end.p0(i64 24, ptr %81) #6
  br i1 %589, label %595, label %590

590:                                              ; preds = %586
  store i32 29, ptr %61, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %80) #6
  br label %608

591:                                              ; preds = %584
  %592 = landingpad { ptr, i32 }
          cleanup
  %593 = extractvalue { ptr, i32 } %592, 0
  store ptr %593, ptr %13, align 8
  %594 = extractvalue { ptr, i32 } %592, 1
  store i32 %594, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %81) #6
  br label %607

595:                                              ; preds = %586
  %596 = load i64, ptr %80, align 8, !tbaa !26
  %597 = load i64, ptr %78, align 8, !tbaa !26
  %598 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %10, i64 noundef %596, i64 noundef %597, i64 noundef 0)
          to label %599 unwind label %603

599:                                              ; preds = %595
  store double 0.000000e+00, ptr %598, align 8, !tbaa !11
  br label %600

600:                                              ; preds = %599
  %601 = load i64, ptr %80, align 8, !tbaa !26
  %602 = add i64 %601, 1
  store i64 %602, ptr %80, align 8, !tbaa !26
  br label %584, !llvm.loop !41

603:                                              ; preds = %595
  %604 = landingpad { ptr, i32 }
          cleanup
  %605 = extractvalue { ptr, i32 } %604, 0
  store ptr %605, ptr %13, align 8
  %606 = extractvalue { ptr, i32 } %604, 1
  store i32 %606, ptr %14, align 4
  br label %607

607:                                              ; preds = %603, %591
  call void @llvm.lifetime.end.p0(i64 8, ptr %80) #6
  br label %612

608:                                              ; preds = %590
  br label %609

609:                                              ; preds = %608
  %610 = load i64, ptr %78, align 8, !tbaa !26
  %611 = add i64 %610, 1
  store i64 %611, ptr %78, align 8, !tbaa !26
  br label %572, !llvm.loop !42

612:                                              ; preds = %607, %579
  call void @llvm.lifetime.end.p0(i64 8, ptr %78) #6
  br label %667

613:                                              ; preds = %578
  br label %614

614:                                              ; preds = %613, %568
  %615 = invoke noundef i32 @_ZNK3jet28GridBoundaryConditionSolver324closedDomainBoundaryFlagEv(ptr noundef nonnull align 8 dereferenceable(100) %87)
          to label %616 unwind label %294

616:                                              ; preds = %614
  %617 = and i32 %615, 32
  %618 = icmp ne i32 %617, 0
  br i1 %618, label %619, label %666

619:                                              ; preds = %616
  call void @llvm.lifetime.start.p0(i64 8, ptr %82) #6
  store i64 0, ptr %82, align 8, !tbaa !26
  br label %620

620:                                              ; preds = %661, %619
  %621 = load i64, ptr %82, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 24, ptr %83) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %83, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %622 unwind label %627

622:                                              ; preds = %620
  %623 = getelementptr inbounds %"class.jet::Size3", ptr %83, i32 0, i32 1
  %624 = load i64, ptr %623, align 8, !tbaa !30
  %625 = icmp ult i64 %621, %624
  call void @llvm.lifetime.end.p0(i64 24, ptr %83) #6
  br i1 %625, label %631, label %626

626:                                              ; preds = %622
  store i32 32, ptr %61, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #6
  br label %665

627:                                              ; preds = %620
  %628 = landingpad { ptr, i32 }
          cleanup
  %629 = extractvalue { ptr, i32 } %628, 0
  store ptr %629, ptr %13, align 8
  %630 = extractvalue { ptr, i32 } %628, 1
  store i32 %630, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %83) #6
  br label %664

631:                                              ; preds = %622
  call void @llvm.lifetime.start.p0(i64 8, ptr %84) #6
  store i64 0, ptr %84, align 8, !tbaa !26
  br label %632

632:                                              ; preds = %652, %631
  %633 = load i64, ptr %84, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 24, ptr %85) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %85, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %634 unwind label %639

634:                                              ; preds = %632
  %635 = getelementptr inbounds %"class.jet::Size3", ptr %85, i32 0, i32 0
  %636 = load i64, ptr %635, align 8, !tbaa !34
  %637 = icmp ult i64 %633, %636
  call void @llvm.lifetime.end.p0(i64 24, ptr %85) #6
  br i1 %637, label %643, label %638

638:                                              ; preds = %634
  store i32 35, ptr %61, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #6
  br label %660

639:                                              ; preds = %632
  %640 = landingpad { ptr, i32 }
          cleanup
  %641 = extractvalue { ptr, i32 } %640, 0
  store ptr %641, ptr %13, align 8
  %642 = extractvalue { ptr, i32 } %640, 1
  store i32 %642, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %85) #6
  br label %659

643:                                              ; preds = %634
  %644 = load i64, ptr %84, align 8, !tbaa !26
  %645 = load i64, ptr %82, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 24, ptr %86) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %86, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %646 unwind label %655

646:                                              ; preds = %643
  %647 = getelementptr inbounds %"class.jet::Size3", ptr %86, i32 0, i32 2
  %648 = load i64, ptr %647, align 8, !tbaa !28
  %649 = sub i64 %648, 1
  %650 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %10, i64 noundef %644, i64 noundef %645, i64 noundef %649)
          to label %651 unwind label %655

651:                                              ; preds = %646
  store double 0.000000e+00, ptr %650, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 24, ptr %86) #6
  br label %652

652:                                              ; preds = %651
  %653 = load i64, ptr %84, align 8, !tbaa !26
  %654 = add i64 %653, 1
  store i64 %654, ptr %84, align 8, !tbaa !26
  br label %632, !llvm.loop !43

655:                                              ; preds = %646, %643
  %656 = landingpad { ptr, i32 }
          cleanup
  %657 = extractvalue { ptr, i32 } %656, 0
  store ptr %657, ptr %13, align 8
  %658 = extractvalue { ptr, i32 } %656, 1
  store i32 %658, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %86) #6
  br label %659

659:                                              ; preds = %655, %639
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #6
  br label %664

660:                                              ; preds = %638
  br label %661

661:                                              ; preds = %660
  %662 = load i64, ptr %82, align 8, !tbaa !26
  %663 = add i64 %662, 1
  store i64 %663, ptr %82, align 8, !tbaa !26
  br label %620, !llvm.loop !44

664:                                              ; preds = %659, %627
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #6
  br label %667

665:                                              ; preds = %626
  br label %666

666:                                              ; preds = %665, %616
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #6
  call void @_ZN3jet5ArrayIcLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %31) #6
  call void @_ZN3jet5ArrayIcLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %28) #6
  call void @_ZN3jet5ArrayIcLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %25) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #6
  ret void

667:                                              ; preds = %664, %612, %564, %512, %464, %412, %378, %369, %360, %351, %342, %333, %324, %315, %306, %294
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #6
  call void @_ZN3jet5ArrayIcLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #6
  br label %668

668:                                              ; preds = %667, %293
  call void @llvm.lifetime.end.p0(i64 48, ptr %31) #6
  call void @_ZN3jet5ArrayIcLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #6
  br label %669

669:                                              ; preds = %668, %284
  call void @llvm.lifetime.end.p0(i64 48, ptr %28) #6
  call void @_ZN3jet5ArrayIcLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #6
  br label %670

670:                                              ; preds = %669, %275
  call void @llvm.lifetime.end.p0(i64 48, ptr %25) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #6
  br label %671

671:                                              ; preds = %670, %266
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #6
  br label %672

672:                                              ; preds = %671, %257
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #6
  br label %673

673:                                              ; preds = %672, %248
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  br label %674

674:                                              ; preds = %673, %236
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  br label %675

675:                                              ; preds = %674, %232
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #6
  br label %676

676:                                              ; preds = %675
  %677 = load ptr, ptr %13, align 8
  %678 = load i32, ptr %14, align 4
  %679 = insertvalue { ptr, i32 } poison, ptr %677, 0
  %680 = insertvalue { ptr, i32 } %679, i32 %678, 1
  resume { ptr, i32 } %680
}

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

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3jet5Grid310resolutionEv(ptr noundef nonnull align 8 dereferenceable(128)) #2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIN3jet23CellCenteredScalarGrid3EEbRKSt10shared_ptrIT_EDn(ptr noundef nonnull align 8 dereferenceable(16), ptr) #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3jet5Size3neERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

declare void @_ZN3jet28GridBoundaryConditionSolver314updateColliderERKSt10shared_ptrINS_9Collider3EERKNS_5Size3ERKNS_6VectorIdLm3EEESC_(ptr noundef nonnull align 8 dereferenceable(100), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet28GridBoundaryConditionSolver38colliderEv(ptr noundef nonnull align 8 dereferenceable(100)) #2

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

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3jet5Grid36originEv(ptr noundef nonnull align 8 dereferenceable(128)) #2

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

declare void @_ZNK3jet17FaceCenteredGrid321parallelForEachUIndexERKSt8functionIFvmmmEE(ptr noundef nonnull align 8 dereferenceable(696), ptr noundef nonnull align 8 dereferenceable(32)) #2

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

declare void @_ZNK3jet17FaceCenteredGrid321parallelForEachVIndexERKSt8functionIFvmmmEE(ptr noundef nonnull align 8 dereferenceable(696), ptr noundef nonnull align 8 dereferenceable(32)) #2

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

declare void @_ZNK3jet17FaceCenteredGrid321parallelForEachWIndexERKSt8functionIFvmmmEE(ptr noundef nonnull align 8 dereferenceable(696), ptr noundef nonnull align 8 dereferenceable(32)) #2

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

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

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

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

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

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

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

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

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

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

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

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

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

declare noundef i32 @_ZNK3jet28GridBoundaryConditionSolver324closedDomainBoundaryFlagEv(ptr noundef nonnull align 8 dereferenceable(100)) #2

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !6, i64 8}
!15 = !{!"_ZTSZN3jet38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS_17FaceCenteredGrid3EjE3$_0", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!16 = !{!17, !6, i64 8}
!17 = !{!"_ZTSZN3jet38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS_17FaceCenteredGrid3EjE3$_1", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!18 = !{!19, !6, i64 8}
!19 = !{!"_ZTSZN3jet38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS_17FaceCenteredGrid3EjE3$_2", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!20 = !{!21, !6, i64 8}
!21 = !{!"_ZTSZN3jet38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS_17FaceCenteredGrid3EjE3$_3", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!22 = !{!23, !6, i64 8}
!23 = !{!"_ZTSZN3jet38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS_17FaceCenteredGrid3EjE3$_4", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!24 = !{!25, !6, i64 8}
!25 = !{!"_ZTSZN3jet38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS_17FaceCenteredGrid3EjE3$_5", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!26 = !{!27, !27, i64 0}
!27 = !{!"long", !7, i64 0}
!28 = !{!29, !27, i64 16}
!29 = !{!"_ZTSN3jet5Size3E", !27, i64 0, !27, i64 8, !27, i64 16}
!30 = !{!29, !27, i64 8}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = distinct !{!33, !32}
!34 = !{!29, !27, i64 0}
!35 = distinct !{!35, !32}
!36 = distinct !{!36, !32}
!37 = distinct !{!37, !32}
!38 = distinct !{!38, !32}
!39 = distinct !{!39, !32}
!40 = distinct !{!40, !32}
!41 = distinct !{!41, !32}
!42 = distinct !{!42, !32}
!43 = distinct !{!43, !32}
!44 = distinct !{!44, !32}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.jet::Size3" = type { i64, i64, i64 }
%"class.jet::ArrayAccessor" = type { %"class.jet::Size3", ptr }
%"class.std::function.9" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.jet::Array" = type { %"class.jet::Size3", %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.jet::Array.11" = type { %"class.jet::Size3", %"class.std::vector.12" }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.jet::Vector" = type { double, double, double }
%"class.std::function.17" = type { %"class.std::_Function_base", ptr }
%class.anon = type { ptr, ptr, ptr, ptr, ptr }
%class.anon.19 = type { ptr, ptr, ptr, ptr, ptr }
%class.anon.20 = type { ptr, ptr, ptr, ptr, ptr }
%"class.jet::ConstArrayAccessor" = type { %"class.jet::Size3", ptr }
%"class.jet::ConstArrayAccessor.21" = type { %"class.jet::Size3", ptr }
%class.anon.22 = type { ptr, ptr, ptr, ptr, ptr }
%class.anon.23 = type { ptr, ptr, ptr, ptr, ptr }
%class.anon.24 = type { ptr, ptr, ptr, ptr, ptr }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3jet38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS_17FaceCenteredGrid3Ej(ptr noundef nonnull align 8 dereferenceable(136) %0, ptr noundef %1, i32 noundef %2) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca %"class.jet::Size3", align 8
  %6 = alloca %"class.jet::ArrayAccessor", align 8
  %7 = alloca %"class.jet::ArrayAccessor", align 8
  %8 = alloca %"class.jet::ArrayAccessor", align 8
  %9 = alloca %"class.std::function.9", align 8
  %10 = alloca %"class.std::function.9", align 8
  %11 = alloca %"class.std::function.9", align 8
  %12 = alloca %"class.jet::Array", align 8
  %13 = alloca %"class.jet::Size3", align 8
  %14 = alloca double, align 8
  %15 = alloca %"class.jet::Array", align 8
  %16 = alloca %"class.jet::Size3", align 8
  %17 = alloca double, align 8
  %18 = alloca %"class.jet::Array", align 8
  %19 = alloca %"class.jet::Size3", align 8
  %20 = alloca double, align 8
  %21 = alloca %"class.jet::Array.11", align 8
  %22 = alloca %"class.jet::Size3", align 8
  %23 = alloca i8, align 1
  %24 = alloca %"class.jet::Array.11", align 8
  %25 = alloca %"class.jet::Size3", align 8
  %26 = alloca i8, align 1
  %27 = alloca %"class.jet::Array.11", align 8
  %28 = alloca %"class.jet::Size3", align 8
  %29 = alloca i8, align 1
  %30 = alloca %"class.jet::Vector", align 8
  %31 = alloca %"class.std::function.17", align 8
  %32 = alloca %class.anon, align 8
  %33 = alloca %"class.std::function.17", align 8
  %34 = alloca %class.anon.19, align 8
  %35 = alloca %"class.std::function.17", align 8
  %36 = alloca %class.anon.20, align 8
  %37 = alloca %"class.jet::ConstArrayAccessor", align 8
  %38 = alloca %"class.jet::ConstArrayAccessor.21", align 8
  %39 = alloca %"class.jet::ArrayAccessor", align 8
  %40 = alloca %"class.jet::ConstArrayAccessor", align 8
  %41 = alloca %"class.jet::ConstArrayAccessor.21", align 8
  %42 = alloca %"class.jet::ArrayAccessor", align 8
  %43 = alloca %"class.jet::ConstArrayAccessor", align 8
  %44 = alloca %"class.jet::ConstArrayAccessor.21", align 8
  %45 = alloca %"class.jet::ArrayAccessor", align 8
  %46 = alloca %"class.std::function.17", align 8
  %47 = alloca %class.anon.22, align 8
  %48 = alloca %"class.std::function.17", align 8
  %49 = alloca %class.anon.23, align 8
  %50 = alloca %"class.std::function.17", align 8
  %51 = alloca %class.anon.24, align 8
  %52 = alloca %"class.jet::Size3", align 8
  %53 = alloca %"class.jet::Size3", align 8
  %54 = alloca %"class.jet::Size3", align 8
  %55 = alloca %"class.jet::Size3", align 8
  %56 = alloca %"class.jet::Size3", align 8
  %57 = alloca %"class.jet::Size3", align 8
  %58 = alloca %"class.jet::Size3", align 8
  %59 = alloca %"class.jet::Size3", align 8
  %60 = alloca %"class.jet::Size3", align 8
  %61 = alloca %"class.jet::Size3", align 8
  %62 = alloca %"class.jet::Size3", align 8
  %63 = alloca %"class.jet::Size3", align 8
  %64 = alloca %"class.jet::Size3", align 8
  %65 = alloca %"class.jet::Size3", align 8
  %66 = alloca %"class.jet::Size3", align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #6
  %67 = getelementptr inbounds i8, ptr %1, i64 8
  %68 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3jet5Grid310resolutionEv(ptr noundef nonnull align 8 dereferenceable(128) %67)
  call void @_ZN3jet5Size3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %68)
  %69 = getelementptr inbounds i8, ptr %0, i64 104
  %70 = call noundef zeroext i1 @_ZSteqIN3jet23CellCenteredScalarGrid3EEbRKSt10shared_ptrIT_EDn(ptr noundef nonnull align 8 dereferenceable(16) %69, ptr null) #6
  br i1 %70, label %76, label %71

71:                                               ; preds = %3
  %72 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet23CellCenteredScalarGrid3ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %69) #6
  %73 = getelementptr inbounds i8, ptr %72, i64 8
  %74 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3jet5Grid310resolutionEv(ptr noundef nonnull align 8 dereferenceable(128) %73)
  %75 = call noundef zeroext i1 @_ZNK3jet5Size3neERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %74, ptr noundef nonnull align 8 dereferenceable(24) %5)
  br i1 %75, label %76, label %84

76:                                               ; preds = %71, %3
  %77 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet28GridBoundaryConditionSolver38colliderEv(ptr noundef nonnull align 8 dereferenceable(100) %0)
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  %79 = getelementptr inbounds i8, ptr %78, i64 8
  %80 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3jet5Grid311gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(128) %79)
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = getelementptr inbounds i8, ptr %81, i64 8
  %83 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3jet5Grid36originEv(ptr noundef nonnull align 8 dereferenceable(128) %82)
  call void @_ZN3jet28GridBoundaryConditionSolver314updateColliderERKSt10shared_ptrINS_9Collider3EERKNS_5Size3ERKNS_6VectorIdLm3EEESC_(ptr noundef nonnull align 8 dereferenceable(100) %0, ptr noundef nonnull align 8 dereferenceable(16) %77, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %80, ptr noundef nonnull align 8 dereferenceable(24) %83)
  br label %84

84:                                               ; preds = %76, %71
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #6
  %85 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN3jet17FaceCenteredGrid39uAccessorEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ArrayAccessor") align 8 %6, ptr noundef nonnull align 8 dereferenceable(696) %85)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #6
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN3jet17FaceCenteredGrid39vAccessorEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ArrayAccessor") align 8 %7, ptr noundef nonnull align 8 dereferenceable(696) %86)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #6
  %87 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN3jet17FaceCenteredGrid39wAccessorEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ArrayAccessor") align 8 %8, ptr noundef nonnull align 8 dereferenceable(696) %87)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #6
  %88 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK3jet17FaceCenteredGrid39uPositionEv(ptr dead_on_unwind nonnull writable sret(%"class.std::function.9") align 8 %9, ptr noundef nonnull align 8 dereferenceable(696) %88)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #6
  %89 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZNK3jet17FaceCenteredGrid39vPositionEv(ptr dead_on_unwind nonnull writable sret(%"class.std::function.9") align 8 %10, ptr noundef nonnull align 8 dereferenceable(696) %89)
          to label %90 unwind label %178

90:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #6
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZNK3jet17FaceCenteredGrid39wPositionEv(ptr dead_on_unwind nonnull writable sret(%"class.std::function.9") align 8 %11, ptr noundef nonnull align 8 dereferenceable(696) %91)
          to label %92 unwind label %180

92:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %13, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %93 unwind label %182

93:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  store double 0.000000e+00, ptr %14, align 8, !tbaa !9
  invoke void @_ZN3jet5ArrayIdLm3EEC2ERKNS_5Size3ERKd(ptr noundef nonnull align 8 dereferenceable(48) %12, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %94 unwind label %184

94:                                               ; preds = %93
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %16, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %95 unwind label %187

95:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #6
  store double 0.000000e+00, ptr %17, align 8, !tbaa !9
  invoke void @_ZN3jet5ArrayIdLm3EEC2ERKNS_5Size3ERKd(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %96 unwind label %189

96:                                               ; preds = %95
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %18) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %19, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %97 unwind label %192

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

98:                                               ; preds = %97
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %21) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %22) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %22, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %99 unwind label %197

99:                                               ; preds = %98
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #6
  store i8 1, ptr %23, align 1, !tbaa !11
  invoke void @_ZN3jet5ArrayIcLm3EEC2ERKNS_5Size3ERKc(ptr noundef nonnull align 8 dereferenceable(48) %21, ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %100 unwind label %199

100:                                              ; preds = %99
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %24) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %25) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %25, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %101 unwind label %202

101:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %26) #6
  store i8 1, ptr %26, align 1, !tbaa !11
  invoke void @_ZN3jet5ArrayIcLm3EEC2ERKNS_5Size3ERKc(ptr noundef nonnull align 8 dereferenceable(48) %24, ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %102 unwind label %204

102:                                              ; preds = %101
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %27) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %28) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %28, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %103 unwind label %207

103:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %29) #6
  store i8 1, ptr %29, align 1, !tbaa !11
  invoke void @_ZN3jet5ArrayIcLm3EEC2ERKNS_5Size3ERKc(ptr noundef nonnull align 8 dereferenceable(48) %27, ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %104 unwind label %209

104:                                              ; preds = %103
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %30) #6
  %105 = load ptr, ptr %4, align 8, !tbaa !5
  %106 = getelementptr inbounds i8, ptr %105, i64 8
  %107 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3jet5Grid311gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(128) %106)
          to label %108 unwind label %212

108:                                              ; preds = %104
  call void @_ZN3jet6VectorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 8 dereferenceable(24) %107)
  %109 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %31) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %32) #6
  store ptr %9, ptr %32, align 8, !tbaa !5
  %110 = getelementptr inbounds i8, ptr %32, i64 8
  store ptr %0, ptr %110, align 8, !tbaa !12
  %111 = getelementptr inbounds i8, ptr %32, i64 16
  store ptr %30, ptr %111, align 8, !tbaa !5
  %112 = getelementptr inbounds i8, ptr %32, i64 24
  store ptr %21, ptr %112, align 8, !tbaa !5
  %113 = getelementptr inbounds i8, ptr %32, i64 32
  store ptr %6, ptr %113, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFvmmmEEC2IZN3jet38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS3_17FaceCenteredGrid3EjE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull align 8 dereferenceable(40) %32)
          to label %114 unwind label %214

114:                                              ; preds = %108
  invoke void @_ZNK3jet17FaceCenteredGrid321parallelForEachUIndexERKSt8functionIFvmmmEE(ptr noundef nonnull align 8 dereferenceable(696) %109, ptr noundef nonnull align 8 dereferenceable(32) %31)
          to label %115 unwind label %216

115:                                              ; preds = %114
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %32) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #6
  %116 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %33) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %34) #6
  store ptr %10, ptr %34, align 8, !tbaa !5
  %117 = getelementptr inbounds i8, ptr %34, i64 8
  store ptr %0, ptr %117, align 8, !tbaa !14
  %118 = getelementptr inbounds i8, ptr %34, i64 16
  store ptr %30, ptr %118, align 8, !tbaa !5
  %119 = getelementptr inbounds i8, ptr %34, i64 24
  store ptr %24, ptr %119, align 8, !tbaa !5
  %120 = getelementptr inbounds i8, ptr %34, i64 32
  store ptr %7, ptr %120, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFvmmmEEC2IZN3jet38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS3_17FaceCenteredGrid3EjE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull align 8 dereferenceable(40) %34)
          to label %121 unwind label %219

121:                                              ; preds = %115
  invoke void @_ZNK3jet17FaceCenteredGrid321parallelForEachVIndexERKSt8functionIFvmmmEE(ptr noundef nonnull align 8 dereferenceable(696) %116, ptr noundef nonnull align 8 dereferenceable(32) %33)
          to label %122 unwind label %221

122:                                              ; preds = %121
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %34) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #6
  %123 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %35) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %36) #6
  store ptr %11, ptr %36, align 8, !tbaa !5
  %124 = getelementptr inbounds i8, ptr %36, i64 8
  store ptr %0, ptr %124, align 8, !tbaa !16
  %125 = getelementptr inbounds i8, ptr %36, i64 16
  store ptr %30, ptr %125, align 8, !tbaa !5
  %126 = getelementptr inbounds i8, ptr %36, i64 24
  store ptr %27, ptr %126, align 8, !tbaa !5
  %127 = getelementptr inbounds i8, ptr %36, i64 32
  store ptr %8, ptr %127, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFvmmmEEC2IZN3jet38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS3_17FaceCenteredGrid3EjE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull align 8 dereferenceable(40) %36)
          to label %128 unwind label %224

128:                                              ; preds = %122
  invoke void @_ZNK3jet17FaceCenteredGrid321parallelForEachWIndexERKSt8functionIFvmmmEE(ptr noundef nonnull align 8 dereferenceable(696) %123, ptr noundef nonnull align 8 dereferenceable(32) %35)
          to label %129 unwind label %226

129:                                              ; preds = %128
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %36) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %35) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %37) #6
  %130 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZNK3jet17FaceCenteredGrid314uConstAccessorEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ConstArrayAccessor") align 8 %37, ptr noundef nonnull align 8 dereferenceable(696) %130)
          to label %131 unwind label %229

131:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %38) #6
  invoke void @_ZNK3jet5ArrayIcLm3EEcvNS_18ConstArrayAccessorIcLm3EEEEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ConstArrayAccessor.21") align 8 %38, ptr noundef nonnull align 8 dereferenceable(48) %21)
          to label %132 unwind label %231

132:                                              ; preds = %131
  invoke void @_ZN3jet13ArrayAccessorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %133 unwind label %231

133:                                              ; preds = %132
  invoke void @_ZN3jet19extrapolateToRegionIdEEvRKNS_18ConstArrayAccessorIT_Lm3EEERKNS1_IcLm3EEEjNS_13ArrayAccessorIS2_Lm3EEE(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull align 8 dereferenceable(32) %38, i32 noundef %2, ptr noundef nonnull %39)
          to label %134 unwind label %231

134:                                              ; preds = %133
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %38) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %40) #6
  %135 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZNK3jet17FaceCenteredGrid314vConstAccessorEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ConstArrayAccessor") align 8 %40, ptr noundef nonnull align 8 dereferenceable(696) %135)
          to label %136 unwind label %234

136:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %41) #6
  invoke void @_ZNK3jet5ArrayIcLm3EEcvNS_18ConstArrayAccessorIcLm3EEEEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ConstArrayAccessor.21") align 8 %41, ptr noundef nonnull align 8 dereferenceable(48) %24)
          to label %137 unwind label %236

137:                                              ; preds = %136
  invoke void @_ZN3jet13ArrayAccessorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %138 unwind label %236

138:                                              ; preds = %137
  invoke void @_ZN3jet19extrapolateToRegionIdEEvRKNS_18ConstArrayAccessorIT_Lm3EEERKNS1_IcLm3EEEjNS_13ArrayAccessorIS2_Lm3EEE(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef nonnull align 8 dereferenceable(32) %41, i32 noundef %2, ptr noundef nonnull %42)
          to label %139 unwind label %236

139:                                              ; preds = %138
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %41) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %40) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %43) #6
  %140 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZNK3jet17FaceCenteredGrid314wConstAccessorEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ConstArrayAccessor") align 8 %43, ptr noundef nonnull align 8 dereferenceable(696) %140)
          to label %141 unwind label %239

141:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %44) #6
  invoke void @_ZNK3jet5ArrayIcLm3EEcvNS_18ConstArrayAccessorIcLm3EEEEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::ConstArrayAccessor.21") align 8 %44, ptr noundef nonnull align 8 dereferenceable(48) %27)
          to label %142 unwind label %241

142:                                              ; preds = %141
  invoke void @_ZN3jet13ArrayAccessorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %143 unwind label %241

143:                                              ; preds = %142
  invoke void @_ZN3jet19extrapolateToRegionIdEEvRKNS_18ConstArrayAccessorIT_Lm3EEERKNS1_IcLm3EEEjNS_13ArrayAccessorIS2_Lm3EEE(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(32) %44, i32 noundef %2, ptr noundef nonnull %45)
          to label %144 unwind label %241

144:                                              ; preds = %143
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %44) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %43) #6
  %145 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %46) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %47) #6
  store ptr %9, ptr %47, align 8, !tbaa !5
  %146 = getelementptr inbounds i8, ptr %47, i64 8
  store ptr %0, ptr %146, align 8, !tbaa !18
  %147 = getelementptr inbounds i8, ptr %47, i64 16
  store ptr %4, ptr %147, align 8, !tbaa !5
  %148 = getelementptr inbounds i8, ptr %47, i64 24
  store ptr %12, ptr %148, align 8, !tbaa !5
  %149 = getelementptr inbounds i8, ptr %47, i64 32
  store ptr %6, ptr %149, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFvmmmEEC2IZN3jet38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS3_17FaceCenteredGrid3EjE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef nonnull align 8 dereferenceable(40) %47)
          to label %150 unwind label %244

150:                                              ; preds = %144
  invoke void @_ZNK3jet17FaceCenteredGrid321parallelForEachUIndexERKSt8functionIFvmmmEE(ptr noundef nonnull align 8 dereferenceable(696) %145, ptr noundef nonnull align 8 dereferenceable(32) %46)
          to label %151 unwind label %246

151:                                              ; preds = %150
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %47) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %46) #6
  %152 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %48) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %49) #6
  store ptr %10, ptr %49, align 8, !tbaa !5
  %153 = getelementptr inbounds i8, ptr %49, i64 8
  store ptr %0, ptr %153, align 8, !tbaa !20
  %154 = getelementptr inbounds i8, ptr %49, i64 16
  store ptr %4, ptr %154, align 8, !tbaa !5
  %155 = getelementptr inbounds i8, ptr %49, i64 24
  store ptr %15, ptr %155, align 8, !tbaa !5
  %156 = getelementptr inbounds i8, ptr %49, i64 32
  store ptr %7, ptr %156, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFvmmmEEC2IZN3jet38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS3_17FaceCenteredGrid3EjE3$_4vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef nonnull align 8 dereferenceable(40) %49)
          to label %157 unwind label %249

157:                                              ; preds = %151
  invoke void @_ZNK3jet17FaceCenteredGrid321parallelForEachVIndexERKSt8functionIFvmmmEE(ptr noundef nonnull align 8 dereferenceable(696) %152, ptr noundef nonnull align 8 dereferenceable(32) %48)
          to label %158 unwind label %251

158:                                              ; preds = %157
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %49) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %48) #6
  %159 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %50) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %51) #6
  store ptr %11, ptr %51, align 8, !tbaa !5
  %160 = getelementptr inbounds i8, ptr %51, i64 8
  store ptr %0, ptr %160, align 8, !tbaa !22
  %161 = getelementptr inbounds i8, ptr %51, i64 16
  store ptr %4, ptr %161, align 8, !tbaa !5
  %162 = getelementptr inbounds i8, ptr %51, i64 24
  store ptr %18, ptr %162, align 8, !tbaa !5
  %163 = getelementptr inbounds i8, ptr %51, i64 32
  store ptr %8, ptr %163, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFvmmmEEC2IZN3jet38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS3_17FaceCenteredGrid3EjE3$_5vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %50, ptr noundef nonnull align 8 dereferenceable(40) %51)
          to label %164 unwind label %254

164:                                              ; preds = %158
  invoke void @_ZNK3jet17FaceCenteredGrid321parallelForEachWIndexERKSt8functionIFvmmmEE(ptr noundef nonnull align 8 dereferenceable(696) %159, ptr noundef nonnull align 8 dereferenceable(32) %50)
          to label %165 unwind label %256

165:                                              ; preds = %164
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %51) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %50) #6
  invoke void @"_ZNK3jet13ArrayAccessorIdLm3EE20parallelForEachIndexIZNS_38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS_17FaceCenteredGrid3EjE3$_6EEvT_"(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr nonnull %6, ptr nonnull %12)
          to label %166 unwind label %212

166:                                              ; preds = %165
  invoke void @"_ZNK3jet13ArrayAccessorIdLm3EE20parallelForEachIndexIZNS_38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS_17FaceCenteredGrid3EjE3$_7EEvT_"(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr nonnull %7, ptr nonnull %15)
          to label %167 unwind label %212

167:                                              ; preds = %166
  invoke void @"_ZNK3jet13ArrayAccessorIdLm3EE20parallelForEachIndexIZNS_38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS_17FaceCenteredGrid3EjE3$_8EEvT_"(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr nonnull %8, ptr nonnull %18)
          to label %168 unwind label %212

168:                                              ; preds = %167
  %169 = invoke noundef i32 @_ZNK3jet28GridBoundaryConditionSolver324closedDomainBoundaryFlagEv(ptr noundef nonnull align 8 dereferenceable(100) %0)
          to label %170 unwind label %212

170:                                              ; preds = %168
  %171 = and i32 %169, 1
  %.not = icmp eq i32 %171, 0
  br i1 %.not, label %.loopexit163, label %.preheader162

.preheader162:                                    ; preds = %170
  %172 = getelementptr inbounds i8, ptr %52, i64 16
  %173 = getelementptr inbounds i8, ptr %53, i64 8
  br label %174

174:                                              ; preds = %.preheader162, %264
  %.055 = phi i64 [ %265, %264 ], [ 0, %.preheader162 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %52) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %52, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %175 unwind label %259

175:                                              ; preds = %174
  %176 = load i64, ptr %172, align 8, !tbaa !24
  %177 = icmp ult i64 %.055, %176
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %52) #6
  br i1 %177, label %.preheader161, label %.loopexit163

178:                                              ; preds = %84
  %179 = landingpad { ptr, i32 }
          cleanup
  br label %397

180:                                              ; preds = %90
  %181 = landingpad { ptr, i32 }
          cleanup
  br label %396

182:                                              ; preds = %92
  %183 = landingpad { ptr, i32 }
          cleanup
  br label %186

184:                                              ; preds = %93
  %185 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  br label %186

186:                                              ; preds = %184, %182
  %.pn = phi { ptr, i32 } [ %185, %184 ], [ %183, %182 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  br label %395

187:                                              ; preds = %94
  %188 = landingpad { ptr, i32 }
          cleanup
  br label %191

189:                                              ; preds = %95
  %190 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  br label %191

191:                                              ; preds = %189, %187
  %.pn91 = phi { ptr, i32 } [ %190, %189 ], [ %188, %187 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #6
  br label %394

192:                                              ; preds = %96
  %193 = landingpad { ptr, i32 }
          cleanup
  br label %196

194:                                              ; preds = %97
  %195 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  br label %196

196:                                              ; preds = %194, %192
  %.pn93 = phi { ptr, i32 } [ %195, %194 ], [ %193, %192 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #6
  br label %393

197:                                              ; preds = %98
  %198 = landingpad { ptr, i32 }
          cleanup
  br label %201

199:                                              ; preds = %99
  %200 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #6
  br label %201

201:                                              ; preds = %199, %197
  %.pn95 = phi { ptr, i32 } [ %200, %199 ], [ %198, %197 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #6
  br label %392

202:                                              ; preds = %100
  %203 = landingpad { ptr, i32 }
          cleanup
  br label %206

204:                                              ; preds = %101
  %205 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #6
  br label %206

206:                                              ; preds = %204, %202
  %.pn97 = phi { ptr, i32 } [ %205, %204 ], [ %203, %202 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #6
  br label %391

207:                                              ; preds = %102
  %208 = landingpad { ptr, i32 }
          cleanup
  br label %211

209:                                              ; preds = %103
  %210 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #6
  br label %211

211:                                              ; preds = %209, %207
  %.pn99 = phi { ptr, i32 } [ %210, %209 ], [ %208, %207 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #6
  br label %390

212:                                              ; preds = %.loopexit151, %.loopexit154, %.loopexit157, %.loopexit160, %.loopexit163, %168, %167, %166, %165, %104
  %213 = landingpad { ptr, i32 }
          cleanup
  br label %389

214:                                              ; preds = %108
  %215 = landingpad { ptr, i32 }
          cleanup
  br label %218

216:                                              ; preds = %114
  %217 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #6
  br label %218

218:                                              ; preds = %216, %214
  %.pn101 = phi { ptr, i32 } [ %217, %216 ], [ %215, %214 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %32) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #6
  br label %389

219:                                              ; preds = %115
  %220 = landingpad { ptr, i32 }
          cleanup
  br label %223

221:                                              ; preds = %121
  %222 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #6
  br label %223

223:                                              ; preds = %221, %219
  %.pn103 = phi { ptr, i32 } [ %222, %221 ], [ %220, %219 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %34) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #6
  br label %389

224:                                              ; preds = %122
  %225 = landingpad { ptr, i32 }
          cleanup
  br label %228

226:                                              ; preds = %128
  %227 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #6
  br label %228

228:                                              ; preds = %226, %224
  %.pn105 = phi { ptr, i32 } [ %227, %226 ], [ %225, %224 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %36) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %35) #6
  br label %389

229:                                              ; preds = %129
  %230 = landingpad { ptr, i32 }
          cleanup
  br label %233

231:                                              ; preds = %133, %132, %131
  %232 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %38) #6
  br label %233

233:                                              ; preds = %231, %229
  %.pn107 = phi { ptr, i32 } [ %232, %231 ], [ %230, %229 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #6
  br label %389

234:                                              ; preds = %134
  %235 = landingpad { ptr, i32 }
          cleanup
  br label %238

236:                                              ; preds = %138, %137, %136
  %237 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %41) #6
  br label %238

238:                                              ; preds = %236, %234
  %.pn109 = phi { ptr, i32 } [ %237, %236 ], [ %235, %234 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %40) #6
  br label %389

239:                                              ; preds = %139
  %240 = landingpad { ptr, i32 }
          cleanup
  br label %243

241:                                              ; preds = %143, %142, %141
  %242 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %44) #6
  br label %243

243:                                              ; preds = %241, %239
  %.pn111 = phi { ptr, i32 } [ %242, %241 ], [ %240, %239 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %43) #6
  br label %389

244:                                              ; preds = %144
  %245 = landingpad { ptr, i32 }
          cleanup
  br label %248

246:                                              ; preds = %150
  %247 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #6
  br label %248

248:                                              ; preds = %246, %244
  %.pn113 = phi { ptr, i32 } [ %247, %246 ], [ %245, %244 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %47) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %46) #6
  br label %389

249:                                              ; preds = %151
  %250 = landingpad { ptr, i32 }
          cleanup
  br label %253

251:                                              ; preds = %157
  %252 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #6
  br label %253

253:                                              ; preds = %251, %249
  %.pn115 = phi { ptr, i32 } [ %252, %251 ], [ %250, %249 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %49) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %48) #6
  br label %389

254:                                              ; preds = %158
  %255 = landingpad { ptr, i32 }
          cleanup
  br label %258

256:                                              ; preds = %164
  %257 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #6
  br label %258

258:                                              ; preds = %256, %254
  %.pn117 = phi { ptr, i32 } [ %257, %256 ], [ %255, %254 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %51) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %50) #6
  br label %389

259:                                              ; preds = %174
  %260 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %52) #6
  br label %389

.preheader161:                                    ; preds = %175, %268
  %.054 = phi i64 [ %270, %268 ], [ 0, %175 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %53) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %53, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %261 unwind label %266

261:                                              ; preds = %.preheader161
  %262 = load i64, ptr %173, align 8, !tbaa !27
  %263 = icmp ult i64 %.054, %262
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %53) #6
  br i1 %263, label %268, label %264

264:                                              ; preds = %261
  %265 = add nuw i64 %.055, 1
  br label %174, !llvm.loop !28

266:                                              ; preds = %.preheader161
  %267 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %53) #6
  br label %389

268:                                              ; preds = %261
  %269 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef 0, i64 noundef %.054, i64 noundef %.055)
  store double 0.000000e+00, ptr %269, align 8, !tbaa !9
  %270 = add nuw i64 %.054, 1
  br label %.preheader161, !llvm.loop !30

.loopexit163:                                     ; preds = %175, %170
  %271 = invoke noundef i32 @_ZNK3jet28GridBoundaryConditionSolver324closedDomainBoundaryFlagEv(ptr noundef nonnull align 8 dereferenceable(100) %0)
          to label %272 unwind label %212

272:                                              ; preds = %.loopexit163
  %273 = and i32 %271, 2
  %.not119 = icmp eq i32 %273, 0
  br i1 %.not119, label %.loopexit160, label %.preheader159

.preheader159:                                    ; preds = %272
  %274 = getelementptr inbounds i8, ptr %54, i64 16
  %275 = getelementptr inbounds i8, ptr %55, i64 8
  br label %276

276:                                              ; preds = %.preheader159, %285
  %.053 = phi i64 [ %286, %285 ], [ 0, %.preheader159 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %54) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %54, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %277 unwind label %280

277:                                              ; preds = %276
  %278 = load i64, ptr %274, align 8, !tbaa !24
  %279 = icmp ult i64 %.053, %278
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %54) #6
  br i1 %279, label %.preheader158, label %.loopexit160

280:                                              ; preds = %276
  %281 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %54) #6
  br label %389

.preheader158:                                    ; preds = %277, %290
  %.052 = phi i64 [ %294, %290 ], [ 0, %277 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %55) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %55, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %282 unwind label %287

282:                                              ; preds = %.preheader158
  %283 = load i64, ptr %275, align 8, !tbaa !27
  %284 = icmp ult i64 %.052, %283
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %55) #6
  br i1 %284, label %289, label %285

285:                                              ; preds = %282
  %286 = add nuw i64 %.053, 1
  br label %276, !llvm.loop !31

287:                                              ; preds = %.preheader158
  %288 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %55) #6
  br label %389

289:                                              ; preds = %282
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %56) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %56, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %290 unwind label %295

290:                                              ; preds = %289
  %291 = load i64, ptr %56, align 8, !tbaa !32
  %292 = add i64 %291, -1
  %293 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef %292, i64 noundef %.052, i64 noundef %.053)
  store double 0.000000e+00, ptr %293, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %56) #6
  %294 = add nuw i64 %.052, 1
  br label %.preheader158, !llvm.loop !33

295:                                              ; preds = %289
  %296 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %56) #6
  br label %389

.loopexit160:                                     ; preds = %277, %272
  %297 = invoke noundef i32 @_ZNK3jet28GridBoundaryConditionSolver324closedDomainBoundaryFlagEv(ptr noundef nonnull align 8 dereferenceable(100) %0)
          to label %298 unwind label %212

298:                                              ; preds = %.loopexit160
  %299 = and i32 %297, 4
  %.not120 = icmp eq i32 %299, 0
  br i1 %.not120, label %.loopexit157, label %.preheader156

.preheader156:                                    ; preds = %298
  %300 = getelementptr inbounds i8, ptr %57, i64 16
  br label %301

301:                                              ; preds = %.preheader156, %310
  %.051 = phi i64 [ %311, %310 ], [ 0, %.preheader156 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %57) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %57, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %302 unwind label %305

302:                                              ; preds = %301
  %303 = load i64, ptr %300, align 8, !tbaa !24
  %304 = icmp ult i64 %.051, %303
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %57) #6
  br i1 %304, label %.preheader155, label %.loopexit157

305:                                              ; preds = %301
  %306 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %57) #6
  br label %389

.preheader155:                                    ; preds = %302, %314
  %.050 = phi i64 [ %316, %314 ], [ 0, %302 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %58) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %58, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %307 unwind label %312

307:                                              ; preds = %.preheader155
  %308 = load i64, ptr %58, align 8, !tbaa !32
  %309 = icmp ult i64 %.050, %308
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %58) #6
  br i1 %309, label %314, label %310

310:                                              ; preds = %307
  %311 = add nuw i64 %.051, 1
  br label %301, !llvm.loop !34

312:                                              ; preds = %.preheader155
  %313 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %58) #6
  br label %389

314:                                              ; preds = %307
  %315 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %7, i64 noundef %.050, i64 noundef 0, i64 noundef %.051)
  store double 0.000000e+00, ptr %315, align 8, !tbaa !9
  %316 = add nuw i64 %.050, 1
  br label %.preheader155, !llvm.loop !35

.loopexit157:                                     ; preds = %302, %298
  %317 = invoke noundef i32 @_ZNK3jet28GridBoundaryConditionSolver324closedDomainBoundaryFlagEv(ptr noundef nonnull align 8 dereferenceable(100) %0)
          to label %318 unwind label %212

318:                                              ; preds = %.loopexit157
  %319 = and i32 %317, 8
  %.not121 = icmp eq i32 %319, 0
  br i1 %.not121, label %.loopexit154, label %.preheader153

.preheader153:                                    ; preds = %318
  %320 = getelementptr inbounds i8, ptr %59, i64 16
  %321 = getelementptr inbounds i8, ptr %61, i64 8
  br label %322

322:                                              ; preds = %.preheader153, %331
  %.049 = phi i64 [ %332, %331 ], [ 0, %.preheader153 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %59) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %59, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %323 unwind label %326

323:                                              ; preds = %322
  %324 = load i64, ptr %320, align 8, !tbaa !24
  %325 = icmp ult i64 %.049, %324
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %59) #6
  br i1 %325, label %.preheader152, label %.loopexit154

326:                                              ; preds = %322
  %327 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %59) #6
  br label %389

.preheader152:                                    ; preds = %323, %336
  %.048 = phi i64 [ %340, %336 ], [ 0, %323 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %60) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %60, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %328 unwind label %333

328:                                              ; preds = %.preheader152
  %329 = load i64, ptr %60, align 8, !tbaa !32
  %330 = icmp ult i64 %.048, %329
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %60) #6
  br i1 %330, label %335, label %331

331:                                              ; preds = %328
  %332 = add nuw i64 %.049, 1
  br label %322, !llvm.loop !36

333:                                              ; preds = %.preheader152
  %334 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %60) #6
  br label %389

335:                                              ; preds = %328
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %61) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %61, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %336 unwind label %341

336:                                              ; preds = %335
  %337 = load i64, ptr %321, align 8, !tbaa !27
  %338 = add i64 %337, -1
  %339 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %7, i64 noundef %.048, i64 noundef %338, i64 noundef %.049)
  store double 0.000000e+00, ptr %339, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %61) #6
  %340 = add nuw i64 %.048, 1
  br label %.preheader152, !llvm.loop !37

341:                                              ; preds = %335
  %342 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %61) #6
  br label %389

.loopexit154:                                     ; preds = %323, %318
  %343 = invoke noundef i32 @_ZNK3jet28GridBoundaryConditionSolver324closedDomainBoundaryFlagEv(ptr noundef nonnull align 8 dereferenceable(100) %0)
          to label %344 unwind label %212

344:                                              ; preds = %.loopexit154
  %345 = and i32 %343, 16
  %.not122 = icmp eq i32 %345, 0
  br i1 %.not122, label %.loopexit151, label %.preheader150

.preheader150:                                    ; preds = %344
  %346 = getelementptr inbounds i8, ptr %62, i64 8
  br label %347

347:                                              ; preds = %.preheader150, %356
  %.047 = phi i64 [ %357, %356 ], [ 0, %.preheader150 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %62) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %62, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %348 unwind label %351

348:                                              ; preds = %347
  %349 = load i64, ptr %346, align 8, !tbaa !27
  %350 = icmp ult i64 %.047, %349
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %62) #6
  br i1 %350, label %.preheader149, label %.loopexit151

351:                                              ; preds = %347
  %352 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %62) #6
  br label %389

.preheader149:                                    ; preds = %348, %360
  %.046 = phi i64 [ %362, %360 ], [ 0, %348 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %63) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %63, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %353 unwind label %358

353:                                              ; preds = %.preheader149
  %354 = load i64, ptr %63, align 8, !tbaa !32
  %355 = icmp ult i64 %.046, %354
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %63) #6
  br i1 %355, label %360, label %356

356:                                              ; preds = %353
  %357 = add nuw i64 %.047, 1
  br label %347, !llvm.loop !38

358:                                              ; preds = %.preheader149
  %359 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %63) #6
  br label %389

360:                                              ; preds = %353
  %361 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef %.046, i64 noundef %.047, i64 noundef 0)
  store double 0.000000e+00, ptr %361, align 8, !tbaa !9
  %362 = add nuw i64 %.046, 1
  br label %.preheader149, !llvm.loop !39

.loopexit151:                                     ; preds = %348, %344
  %363 = invoke noundef i32 @_ZNK3jet28GridBoundaryConditionSolver324closedDomainBoundaryFlagEv(ptr noundef nonnull align 8 dereferenceable(100) %0)
          to label %364 unwind label %212

364:                                              ; preds = %.loopexit151
  %365 = and i32 %363, 32
  %.not123 = icmp eq i32 %365, 0
  br i1 %.not123, label %.loopexit, label %.preheader148

.preheader148:                                    ; preds = %364
  %366 = getelementptr inbounds i8, ptr %64, i64 8
  %367 = getelementptr inbounds i8, ptr %66, i64 16
  br label %368

368:                                              ; preds = %.preheader148, %377
  %.045 = phi i64 [ %378, %377 ], [ 0, %.preheader148 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %64) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %64, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %369 unwind label %372

369:                                              ; preds = %368
  %370 = load i64, ptr %366, align 8, !tbaa !27
  %371 = icmp ult i64 %.045, %370
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %64) #6
  br i1 %371, label %.preheader, label %.loopexit

372:                                              ; preds = %368
  %373 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %64) #6
  br label %389

.preheader:                                       ; preds = %369, %382
  %.0 = phi i64 [ %386, %382 ], [ 0, %369 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %65) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %65, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %374 unwind label %379

374:                                              ; preds = %.preheader
  %375 = load i64, ptr %65, align 8, !tbaa !32
  %376 = icmp ult i64 %.0, %375
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %65) #6
  br i1 %376, label %381, label %377

377:                                              ; preds = %374
  %378 = add nuw i64 %.045, 1
  br label %368, !llvm.loop !40

379:                                              ; preds = %.preheader
  %380 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %65) #6
  br label %389

381:                                              ; preds = %374
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %66) #6
  invoke void @_ZNK3jet13ArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %66, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %382 unwind label %387

382:                                              ; preds = %381
  %383 = load i64, ptr %367, align 8, !tbaa !24
  %384 = add i64 %383, -1
  %385 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef %.0, i64 noundef %.045, i64 noundef %384)
  store double 0.000000e+00, ptr %385, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %66) #6
  %386 = add nuw i64 %.0, 1
  br label %.preheader, !llvm.loop !41

387:                                              ; preds = %381
  %388 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %66) #6
  br label %389

.loopexit:                                        ; preds = %369, %364
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %30) #6
  call void @_ZN3jet5ArrayIcLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %27) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %27) #6
  call void @_ZN3jet5ArrayIcLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %24) #6
  call void @_ZN3jet5ArrayIcLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %21) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %18) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  ret void

389:                                              ; preds = %372, %387, %379, %351, %358, %326, %341, %333, %305, %312, %280, %295, %287, %259, %266, %258, %253, %248, %243, %238, %233, %228, %223, %218, %212
  %.pn137.pn = phi { ptr, i32 } [ %213, %212 ], [ %.pn117, %258 ], [ %.pn115, %253 ], [ %.pn113, %248 ], [ %.pn111, %243 ], [ %.pn109, %238 ], [ %.pn107, %233 ], [ %.pn105, %228 ], [ %.pn103, %223 ], [ %.pn101, %218 ], [ %267, %266 ], [ %260, %259 ], [ %281, %280 ], [ %296, %295 ], [ %288, %287 ], [ %313, %312 ], [ %306, %305 ], [ %327, %326 ], [ %342, %341 ], [ %334, %333 ], [ %359, %358 ], [ %352, %351 ], [ %373, %372 ], [ %388, %387 ], [ %380, %379 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %30) #6
  call void @_ZN3jet5ArrayIcLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %27) #6
  br label %390

390:                                              ; preds = %389, %211
  %.pn137.pn.pn = phi { ptr, i32 } [ %.pn137.pn, %389 ], [ %.pn99, %211 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %27) #6
  call void @_ZN3jet5ArrayIcLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #6
  br label %391

391:                                              ; preds = %390, %206
  %.pn137.pn.pn.pn = phi { ptr, i32 } [ %.pn137.pn.pn, %390 ], [ %.pn97, %206 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %24) #6
  call void @_ZN3jet5ArrayIcLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #6
  br label %392

392:                                              ; preds = %391, %201
  %.pn137.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn137.pn.pn.pn, %391 ], [ %.pn95, %201 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %21) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #6
  br label %393

393:                                              ; preds = %392, %196
  %.pn137.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn137.pn.pn.pn.pn, %392 ], [ %.pn93, %196 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %18) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #6
  br label %394

394:                                              ; preds = %393, %191
  %.pn137.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn137.pn.pn.pn.pn.pn, %393 ], [ %.pn91, %191 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #6
  call void @_ZN3jet5ArrayIdLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #6
  br label %395

395:                                              ; preds = %394, %186
  %.pn137.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn137.pn.pn.pn.pn.pn.pn, %394 ], [ %.pn, %186 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  br label %396

396:                                              ; preds = %395, %180
  %.pn137.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn137.pn.pn.pn.pn.pn.pn.pn, %395 ], [ %181, %180 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  br label %397

397:                                              ; preds = %396, %178
  %.pn137.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn137.pn.pn.pn.pn.pn.pn.pn.pn, %396 ], [ %179, %178 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  resume { ptr, i32 } %.pn137.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

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

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3jet5Grid310resolutionEv(ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIN3jet23CellCenteredScalarGrid3EEbRKSt10shared_ptrIT_EDn(ptr noundef nonnull align 8 dereferenceable(16), ptr) local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3jet5Size3neERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5 align 2

declare void @_ZN3jet28GridBoundaryConditionSolver314updateColliderERKSt10shared_ptrINS_9Collider3EERKNS_5Size3ERKNS_6VectorIdLm3EEESC_(ptr noundef nonnull align 8 dereferenceable(100), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3jet28GridBoundaryConditionSolver38colliderEv(ptr noundef nonnull align 8 dereferenceable(100)) local_unnamed_addr #2

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

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3jet5Grid36originEv(ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #2

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

declare void @_ZNK3jet17FaceCenteredGrid321parallelForEachUIndexERKSt8functionIFvmmmEE(ptr noundef nonnull align 8 dereferenceable(696), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

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

declare void @_ZNK3jet17FaceCenteredGrid321parallelForEachVIndexERKSt8functionIFvmmmEE(ptr noundef nonnull align 8 dereferenceable(696), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

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

declare void @_ZNK3jet17FaceCenteredGrid321parallelForEachWIndexERKSt8functionIFvmmmEE(ptr noundef nonnull align 8 dereferenceable(696), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jet19extrapolateToRegionIdEEvRKNS_18ConstArrayAccessorIT_Lm3EEERKNS1_IcLm3EEEjNS_13ArrayAccessorIS2_Lm3EEE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, ptr noundef) local_unnamed_addr #0

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

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

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

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

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

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

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

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

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

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

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

declare noundef i32 @_ZNK3jet28GridBoundaryConditionSolver324closedDomainBoundaryFlagEv(ptr noundef nonnull align 8 dereferenceable(100)) local_unnamed_addr #2

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

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

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 #6 = { 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 = !{!"double", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !6, i64 8}
!13 = !{!"_ZTSZN3jet38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS_17FaceCenteredGrid3EjE3$_0", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!14 = !{!15, !6, i64 8}
!15 = !{!"_ZTSZN3jet38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS_17FaceCenteredGrid3EjE3$_1", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!16 = !{!17, !6, i64 8}
!17 = !{!"_ZTSZN3jet38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS_17FaceCenteredGrid3EjE3$_2", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!18 = !{!19, !6, i64 8}
!19 = !{!"_ZTSZN3jet38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS_17FaceCenteredGrid3EjE3$_3", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!20 = !{!21, !6, i64 8}
!21 = !{!"_ZTSZN3jet38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS_17FaceCenteredGrid3EjE3$_4", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!22 = !{!23, !6, i64 8}
!23 = !{!"_ZTSZN3jet38GridFractionalBoundaryConditionSolver317constrainVelocityEPNS_17FaceCenteredGrid3EjE3$_5", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!24 = !{!25, !26, i64 16}
!25 = !{!"_ZTSN3jet5Size3E", !26, i64 0, !26, i64 8, !26, i64 16}
!26 = !{!"long", !7, i64 0}
!27 = !{!25, !26, i64 8}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = distinct !{!30, !29}
!31 = distinct !{!31, !29}
!32 = !{!25, !26, i64 0}
!33 = distinct !{!33, !29}
!34 = distinct !{!34, !29}
!35 = distinct !{!35, !29}
!36 = distinct !{!36, !29}
!37 = distinct !{!37, !29}
!38 = distinct !{!38, !29}
!39 = distinct !{!39, !29}
!40 = distinct !{!40, !29}
!41 = distinct !{!41, !29}


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