; LLVM IR from doyubkim/fluid-engine-dev :: src/jet (grid_fractional_single_phase_pressure_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.std::function.48" = 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.std::function" = type { %"class.std::_Function_base", ptr }
%"class.jet::Vector" = type { double, double, double }
%class.anon = type { ptr, ptr, ptr }
%class.anon.50 = type { ptr, ptr, ptr, ptr }
%class.anon.51 = type { ptr, ptr, ptr, ptr }
%class.anon.52 = type { ptr, ptr, ptr, ptr }
%"class.jet::GridFractionalSinglePhasePressureSolver3" = type { %"class.jet::GridPressureSolver3", %"struct.jet::FdmLinearSystem3", %"struct.jet::FdmCompressedLinearSystem3", %"class.std::shared_ptr", %"struct.jet::FdmMgLinearSystem3", %"class.std::shared_ptr.21", %"class.std::vector.24", %"class.std::vector.24", %"class.std::vector.24", %"class.std::vector.24", %"class.std::function" }
%"class.jet::GridPressureSolver3" = type { ptr }
%"struct.jet::FdmLinearSystem3" = type { %"class.jet::Array", %"class.jet::Array.0", %"class.jet::Array.0" }
%"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<jet::FdmMatrixRow3, std::allocator<jet::FdmMatrixRow3>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::FdmMatrixRow3, std::allocator<jet::FdmMatrixRow3>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::FdmMatrixRow3, std::allocator<jet::FdmMatrixRow3>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::FdmMatrixRow3, std::allocator<jet::FdmMatrixRow3>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.jet::Array.0" = type { %"class.jet::Size3", %"class.std::vector.1" }
%"class.std::vector.1" = type { %"struct.std::_Vector_base.2" }
%"struct.std::_Vector_base.2" = type { %"struct.std::_Vector_base<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 }
%"struct.jet::FdmCompressedLinearSystem3" = type { %"class.jet::MatrixCsr", %"class.jet::VectorN", %"class.jet::VectorN" }
%"class.jet::MatrixCsr" = type { %"class.jet::Size2", %"class.std::vector.1", %"class.std::vector.6", %"class.std::vector.6" }
%"class.jet::Size2" = type { i64, i64 }
%"class.std::vector.6" = type { %"struct.std::_Vector_base.7" }
%"struct.std::_Vector_base.7" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.jet::VectorN" = type { %"class.std::vector.1" }
%"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 }
%"struct.jet::FdmMgLinearSystem3" = type { %"struct.jet::MgMatrix", %"struct.jet::MgVector", %"struct.jet::MgVector" }
%"struct.jet::MgMatrix" = type { %"class.std::vector.11" }
%"class.std::vector.11" = type { %"struct.std::_Vector_base.12" }
%"struct.std::_Vector_base.12" = type { %"struct.std::_Vector_base<jet::Array<jet::FdmMatrixRow3, 3>, std::allocator<jet::Array<jet::FdmMatrixRow3, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::Array<jet::FdmMatrixRow3, 3>, std::allocator<jet::Array<jet::FdmMatrixRow3, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::Array<jet::FdmMatrixRow3, 3>, std::allocator<jet::Array<jet::FdmMatrixRow3, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::Array<jet::FdmMatrixRow3, 3>, std::allocator<jet::Array<jet::FdmMatrixRow3, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.jet::MgVector" = type { %"class.std::vector.16" }
%"class.std::vector.16" = type { %"struct.std::_Vector_base.17" }
%"struct.std::_Vector_base.17" = type { %"struct.std::_Vector_base<jet::Array<double, 3>, std::allocator<jet::Array<double, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::Array<double, 3>, std::allocator<jet::Array<double, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::Array<double, 3>, std::allocator<jet::Array<double, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::Array<double, 3>, std::allocator<jet::Array<double, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::shared_ptr.21" = type { %"class.std::__shared_ptr.22" }
%"class.std::__shared_ptr.22" = type { ptr, %"class.std::__shared_count" }
%"class.std::vector.24" = type { %"struct.std::_Vector_base.25" }
%"struct.std::_Vector_base.25" = type { %"struct.std::_Vector_base<jet::Array<float, 3>, std::allocator<jet::Array<float, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::Array<float, 3>, std::allocator<jet::Array<float, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::Array<float, 3>, std::allocator<jet::Array<float, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::Array<float, 3>, std::allocator<jet::Array<float, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.jet::MgParameters" = type { i64, i32, i32, i32, i32, %"class.std::function.32", %"class.std::function.34", %"class.std::function.34", double }
%"class.std::function.32" = type { %"class.std::_Function_base", ptr }
%"class.std::function.34" = type { %"class.std::_Function_base", ptr }

declare i32 @__gxx_personality_v0(...)

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

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

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

53:                                               ; preds = %5
  %54 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 5
  %55 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet12FdmMgSolver3ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %54) #6
  %56 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK3jet12FdmMgSolver36paramsEv(ptr noundef nonnull align 8 dereferenceable(145) %55)
  %57 = getelementptr inbounds %"struct.jet::MgParameters", ptr %56, i32 0, i32 0
  %58 = load i64, ptr %57, align 8, !tbaa !11
  store i64 %58, ptr %12, align 8, !tbaa !9
  br label %59

59:                                               ; preds = %53, %5
  %60 = load i64, ptr %12, align 8, !tbaa !9
  %61 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 9
  call void @_ZN3jet11FdmMgUtils321resizeArrayWithFinestIfEEvRKNS_5Size3EmPSt6vectorINS_5ArrayIT_Lm3EEESaIS8_EE(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %60, ptr noundef %61)
  %62 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 6
  %63 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 9
  %64 = call noundef i64 @_ZNKSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %63) #6
  call void @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef %64)
  %65 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 7
  %66 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 9
  %67 = call noundef i64 @_ZNKSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %66) #6
  call void @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef %67)
  %68 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 8
  %69 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 9
  %70 = call noundef i64 @_ZNKSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %69) #6
  call void @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %68, i64 noundef %70)
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  store i64 0, ptr %13, align 8, !tbaa !9
  br label %71

71:                                               ; preds = %96, %59
  %72 = load i64, ptr %13, align 8, !tbaa !9
  %73 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 9
  %74 = call noundef i64 @_ZNKSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %73) #6
  %75 = icmp ult i64 %72, %74
  br i1 %75, label %77, label %76

76:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %99

77:                                               ; preds = %71
  %78 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 6
  %79 = load i64, ptr %13, align 8, !tbaa !9
  %80 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %78, i64 noundef %79) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #6
  %81 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 9
  %82 = load i64, ptr %13, align 8, !tbaa !9
  %83 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %81, i64 noundef %82) #6
  call void @_ZNK3jet5ArrayIfLm3EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %15, ptr noundef nonnull align 8 dereferenceable(48) %83)
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #6
  call void @_ZN3jet5Size3C2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 1, i64 noundef 0, i64 noundef 0)
  call void @_ZN3jetplERKNS_5Size3ES2_(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %14, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %16)
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store float 0.000000e+00, ptr %17, align 4, !tbaa !18
  call void @_ZN3jet5ArrayIfLm3EE6resizeERKNS_5Size3ERKf(ptr noundef nonnull align 8 dereferenceable(48) %80, ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 4 dereferenceable(4) %17)
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #6
  %84 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 7
  %85 = load i64, ptr %13, align 8, !tbaa !9
  %86 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %84, i64 noundef %85) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #6
  %87 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 9
  %88 = load i64, ptr %13, align 8, !tbaa !9
  %89 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %87, i64 noundef %88) #6
  call void @_ZNK3jet5ArrayIfLm3EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %19, ptr noundef nonnull align 8 dereferenceable(48) %89)
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #6
  call void @_ZN3jet5Size3C2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 0, i64 noundef 1, i64 noundef 0)
  call void @_ZN3jetplERKNS_5Size3ES2_(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %18, ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(24) %20)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store float 0.000000e+00, ptr %21, align 4, !tbaa !18
  call void @_ZN3jet5ArrayIfLm3EE6resizeERKNS_5Size3ERKf(ptr noundef nonnull align 8 dereferenceable(48) %86, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 4 dereferenceable(4) %21)
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #6
  %90 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 8
  %91 = load i64, ptr %13, align 8, !tbaa !9
  %92 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %90, i64 noundef %91) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #6
  %93 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 9
  %94 = load i64, ptr %13, align 8, !tbaa !9
  %95 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %93, i64 noundef %94) #6
  call void @_ZNK3jet5ArrayIfLm3EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %23, ptr noundef nonnull align 8 dereferenceable(48) %95)
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #6
  call void @_ZN3jet5Size3C2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 0, i64 noundef 0, i64 noundef 1)
  call void @_ZN3jetplERKNS_5Size3ES2_(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %22, ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(24) %24)
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  store float 0.000000e+00, ptr %25, align 4, !tbaa !18
  call void @_ZN3jet5ArrayIfLm3EE6resizeERKNS_5Size3ERKf(ptr noundef nonnull align 8 dereferenceable(48) %92, ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 4 dereferenceable(4) %25)
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #6
  br label %96

96:                                               ; preds = %77
  %97 = load i64, ptr %13, align 8, !tbaa !9
  %98 = add i64 %97, 1
  store i64 %98, ptr %13, align 8, !tbaa !9
  br label %71, !llvm.loop !20

99:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #6
  %100 = load ptr, ptr %7, align 8, !tbaa !5
  %101 = getelementptr inbounds i8, ptr %100, i64 8
  call void @_ZNK3jet5Grid318cellCenterPositionEv(ptr dead_on_unwind writable sret(%"class.std::function.48") align 8 %26, ptr noundef nonnull align 8 dereferenceable(128) %101)
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #6
  %102 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZNK3jet17FaceCenteredGrid39uPositionEv(ptr dead_on_unwind writable sret(%"class.std::function.48") align 8 %27, ptr noundef nonnull align 8 dereferenceable(696) %102)
          to label %103 unwind label %157

103:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #6
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZNK3jet17FaceCenteredGrid39vPositionEv(ptr dead_on_unwind writable sret(%"class.std::function.48") align 8 %30, ptr noundef nonnull align 8 dereferenceable(696) %104)
          to label %105 unwind label %161

105:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 32, ptr %31) #6
  %106 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZNK3jet17FaceCenteredGrid39wPositionEv(ptr dead_on_unwind writable sret(%"class.std::function.48") align 8 %31, ptr noundef nonnull align 8 dereferenceable(696) %106)
          to label %107 unwind label %165

107:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #6
  %108 = load ptr, ptr %9, align 8, !tbaa !5
  %109 = load ptr, ptr %108, align 8, !tbaa !22
  %110 = getelementptr inbounds ptr, ptr %109, i64 5
  %111 = load ptr, ptr %110, align 8
  invoke void %111(ptr dead_on_unwind writable sret(%"class.std::function") align 8 %32, ptr noundef nonnull align 8 dereferenceable(8) %108)
          to label %112 unwind label %169

112:                                              ; preds = %107
  %113 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 10
  %114 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt8functionIFN3jet6VectorIdLm3EEERKS2_EEaSEOS6_(ptr noundef nonnull align 8 dereferenceable(32) %113, ptr noundef nonnull align 8 dereferenceable(32) %32) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %33) #6
  %115 = load ptr, ptr %7, align 8, !tbaa !5
  %116 = getelementptr inbounds i8, ptr %115, i64 8
  %117 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3jet5Grid311gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(128) %116)
          to label %118 unwind label %173

118:                                              ; preds = %112
  invoke void @_ZN3jet6VectorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(24) %117)
          to label %119 unwind label %173

119:                                              ; preds = %118
  %120 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 9
  %121 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %120, i64 noundef 0) #6
  %122 = getelementptr inbounds %class.anon, ptr %34, i32 0, i32 0
  store ptr %47, ptr %122, align 8, !tbaa !24
  %123 = getelementptr inbounds %class.anon, ptr %34, i32 0, i32 1
  %124 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %124, ptr %123, align 8, !tbaa !5
  %125 = getelementptr inbounds %class.anon, ptr %34, i32 0, i32 2
  store ptr %26, ptr %125, align 8, !tbaa !5
  invoke void @"_ZNK3jet5ArrayIfLm3EE20parallelForEachIndexIZNS_40GridFractionalSinglePhasePressureSolver312buildWeightsERKNS_17FaceCenteredGrid3ERKNS_12ScalarField3ERKNS_12VectorField3ES9_E3$_0EEvT_"(ptr noundef nonnull align 8 dereferenceable(48) %121, ptr noundef byval(%class.anon) align 8 %34)
          to label %126 unwind label %173

126:                                              ; preds = %119
  %127 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 6
  %128 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %127, i64 noundef 0) #6
  %129 = getelementptr inbounds %class.anon.50, ptr %35, i32 0, i32 0
  store ptr %27, ptr %129, align 8, !tbaa !5
  %130 = getelementptr inbounds %class.anon.50, ptr %35, i32 0, i32 1
  %131 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %131, ptr %130, align 8, !tbaa !5
  %132 = getelementptr inbounds %class.anon.50, ptr %35, i32 0, i32 2
  store ptr %33, ptr %132, align 8, !tbaa !5
  %133 = getelementptr inbounds %class.anon.50, ptr %35, i32 0, i32 3
  store ptr %47, ptr %133, align 8, !tbaa !26
  invoke void @"_ZNK3jet5ArrayIfLm3EE20parallelForEachIndexIZNS_40GridFractionalSinglePhasePressureSolver312buildWeightsERKNS_17FaceCenteredGrid3ERKNS_12ScalarField3ERKNS_12VectorField3ES9_E3$_1EEvT_"(ptr noundef nonnull align 8 dereferenceable(48) %128, ptr noundef byval(%class.anon.50) align 8 %35)
          to label %134 unwind label %173

134:                                              ; preds = %126
  %135 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 7
  %136 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %135, i64 noundef 0) #6
  %137 = getelementptr inbounds %class.anon.51, ptr %36, i32 0, i32 0
  store ptr %30, ptr %137, align 8, !tbaa !5
  %138 = getelementptr inbounds %class.anon.51, ptr %36, i32 0, i32 1
  %139 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %139, ptr %138, align 8, !tbaa !5
  %140 = getelementptr inbounds %class.anon.51, ptr %36, i32 0, i32 2
  store ptr %33, ptr %140, align 8, !tbaa !5
  %141 = getelementptr inbounds %class.anon.51, ptr %36, i32 0, i32 3
  store ptr %47, ptr %141, align 8, !tbaa !28
  invoke void @"_ZNK3jet5ArrayIfLm3EE20parallelForEachIndexIZNS_40GridFractionalSinglePhasePressureSolver312buildWeightsERKNS_17FaceCenteredGrid3ERKNS_12ScalarField3ERKNS_12VectorField3ES9_E3$_2EEvT_"(ptr noundef nonnull align 8 dereferenceable(48) %136, ptr noundef byval(%class.anon.51) align 8 %36)
          to label %142 unwind label %173

142:                                              ; preds = %134
  %143 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 8
  %144 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %143, i64 noundef 0) #6
  %145 = getelementptr inbounds %class.anon.52, ptr %37, i32 0, i32 0
  store ptr %31, ptr %145, align 8, !tbaa !5
  %146 = getelementptr inbounds %class.anon.52, ptr %37, i32 0, i32 1
  %147 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %147, ptr %146, align 8, !tbaa !5
  %148 = getelementptr inbounds %class.anon.52, ptr %37, i32 0, i32 2
  store ptr %33, ptr %148, align 8, !tbaa !5
  %149 = getelementptr inbounds %class.anon.52, ptr %37, i32 0, i32 3
  store ptr %47, ptr %149, align 8, !tbaa !30
  invoke void @"_ZNK3jet5ArrayIfLm3EE20parallelForEachIndexIZNS_40GridFractionalSinglePhasePressureSolver312buildWeightsERKNS_17FaceCenteredGrid3ERKNS_12ScalarField3ERKNS_12VectorField3ES9_E3$_3EEvT_"(ptr noundef nonnull align 8 dereferenceable(48) %144, ptr noundef byval(%class.anon.52) align 8 %37)
          to label %150 unwind label %173

150:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #6
  store i64 1, ptr %38, align 8, !tbaa !9
  br label %151

151:                                              ; preds = %218, %150
  %152 = load i64, ptr %38, align 8, !tbaa !9
  %153 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 9
  %154 = call noundef i64 @_ZNKSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %153) #6
  %155 = icmp ult i64 %152, %154
  br i1 %155, label %177, label %156

156:                                              ; preds = %151
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  br label %225

157:                                              ; preds = %99
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %28, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %29, align 4
  br label %230

161:                                              ; preds = %103
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %28, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %29, align 4
  br label %229

165:                                              ; preds = %105
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %28, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %29, align 4
  br label %228

169:                                              ; preds = %107
  %170 = landingpad { ptr, i32 }
          cleanup
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %28, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #6
  br label %227

173:                                              ; preds = %142, %134, %126, %119, %118, %112
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %28, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %29, align 4
  br label %226

177:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #6
  %178 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 9
  %179 = load i64, ptr %38, align 8, !tbaa !9
  %180 = sub i64 %179, 1
  %181 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %178, i64 noundef %180) #6
  store ptr %181, ptr %39, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #6
  %182 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 9
  %183 = load i64, ptr %38, align 8, !tbaa !9
  %184 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %182, i64 noundef %183) #6
  store ptr %184, ptr %40, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #6
  %185 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 6
  %186 = load i64, ptr %38, align 8, !tbaa !9
  %187 = sub i64 %186, 1
  %188 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %185, i64 noundef %187) #6
  store ptr %188, ptr %41, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #6
  %189 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 6
  %190 = load i64, ptr %38, align 8, !tbaa !9
  %191 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %189, i64 noundef %190) #6
  store ptr %191, ptr %42, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #6
  %192 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 7
  %193 = load i64, ptr %38, align 8, !tbaa !9
  %194 = sub i64 %193, 1
  %195 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %192, i64 noundef %194) #6
  store ptr %195, ptr %43, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #6
  %196 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 7
  %197 = load i64, ptr %38, align 8, !tbaa !9
  %198 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %196, i64 noundef %197) #6
  store ptr %198, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #6
  %199 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 8
  %200 = load i64, ptr %38, align 8, !tbaa !9
  %201 = sub i64 %200, 1
  %202 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %199, i64 noundef %201) #6
  store ptr %202, ptr %45, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #6
  %203 = getelementptr inbounds %"class.jet::GridFractionalSinglePhasePressureSolver3", ptr %47, i32 0, i32 8
  %204 = load i64, ptr %38, align 8, !tbaa !9
  %205 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %203, i64 noundef %204) #6
  store ptr %205, ptr %46, align 8, !tbaa !5
  %206 = load ptr, ptr %39, align 8, !tbaa !5
  %207 = load ptr, ptr %40, align 8, !tbaa !5
  invoke void @_ZN12_GLOBAL__N_18restrictERKN3jet5ArrayIfLm3EEEPS2_(ptr noundef nonnull align 8 dereferenceable(48) %206, ptr noundef %207)
          to label %208 unwind label %221

208:                                              ; preds = %177
  %209 = load ptr, ptr %41, align 8, !tbaa !5
  %210 = load ptr, ptr %42, align 8, !tbaa !5
  invoke void @_ZN12_GLOBAL__N_18restrictERKN3jet5ArrayIfLm3EEEPS2_(ptr noundef nonnull align 8 dereferenceable(48) %209, ptr noundef %210)
          to label %211 unwind label %221

211:                                              ; preds = %208
  %212 = load ptr, ptr %43, align 8, !tbaa !5
  %213 = load ptr, ptr %44, align 8, !tbaa !5
  invoke void @_ZN12_GLOBAL__N_18restrictERKN3jet5ArrayIfLm3EEEPS2_(ptr noundef nonnull align 8 dereferenceable(48) %212, ptr noundef %213)
          to label %214 unwind label %221

214:                                              ; preds = %211
  %215 = load ptr, ptr %45, align 8, !tbaa !5
  %216 = load ptr, ptr %46, align 8, !tbaa !5
  invoke void @_ZN12_GLOBAL__N_18restrictERKN3jet5ArrayIfLm3EEEPS2_(ptr noundef nonnull align 8 dereferenceable(48) %215, ptr noundef %216)
          to label %217 unwind label %221

217:                                              ; preds = %214
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #6
  br label %218

218:                                              ; preds = %217
  %219 = load i64, ptr %38, align 8, !tbaa !9
  %220 = add i64 %219, 1
  store i64 %220, ptr %38, align 8, !tbaa !9
  br label %151, !llvm.loop !32

221:                                              ; preds = %214, %211, %208, %177
  %222 = landingpad { ptr, i32 }
          cleanup
  %223 = extractvalue { ptr, i32 } %222, 0
  store ptr %223, ptr %28, align 8
  %224 = extractvalue { ptr, i32 } %222, 1
  store i32 %224, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  br label %226

225:                                              ; preds = %156
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #6
  ret void

226:                                              ; preds = %221, %173
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #6
  br label %227

227:                                              ; preds = %226, %169
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #6
  br label %228

228:                                              ; preds = %227, %165
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #6
  br label %229

229:                                              ; preds = %228, %161
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #6
  br label %230

230:                                              ; preds = %229, %157
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #6
  br label %231

231:                                              ; preds = %230
  %232 = load ptr, ptr %28, align 8
  %233 = load i32, ptr %29, align 4
  %234 = insertvalue { ptr, i32 } poison, ptr %232, 0
  %235 = insertvalue { ptr, i32 } %234, i32 %233, 1
  resume { ptr, i32 } %235
}

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

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

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

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

declare noundef nonnull align 8 dereferenceable(128) ptr @_ZNK3jet12FdmMgSolver36paramsEv(ptr noundef nonnull align 8 dereferenceable(145)) #3

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

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

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

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

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

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

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

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

declare void @_ZNK3jet5Grid318cellCenterPositionEv(ptr dead_on_unwind writable sret(%"class.std::function.48") align 8, ptr noundef nonnull align 8 dereferenceable(128)) #3

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNK3jet5ArrayIfLm3EE20parallelForEachIndexIZNS_40GridFractionalSinglePhasePressureSolver312buildWeightsERKNS_17FaceCenteredGrid3ERKNS_12ScalarField3ERKNS_12VectorField3ES9_E3$_3EEvT_"(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef byval(%class.anon.52) align 8) #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_18restrictERKN3jet5ArrayIfLm3EEEPS2_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef) #1

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTSN3jet12MgParametersINS_8FdmBlas3EEE", !10, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !14, i64 24, !16, i64 56, !16, i64 88, !17, i64 120}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTSSt8functionIFvRKN3jet5ArrayINS0_13FdmMatrixRow3ELm3EEERKNS1_IdLm3EEEjdPS6_S9_EE", !15, i64 0, !6, i64 24}
!15 = !{!"_ZTSSt14_Function_base", !7, i64 0, !6, i64 16}
!16 = !{!"_ZTSSt8functionIFvRKN3jet5ArrayIdLm3EEEPS2_EE", !15, i64 0, !6, i64 24}
!17 = !{!"double", !7, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"float", !7, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!23, !23, i64 0}
!23 = !{!"vtable pointer", !8, i64 0}
!24 = !{!25, !6, i64 0}
!25 = !{!"_ZTSZN3jet40GridFractionalSinglePhasePressureSolver312buildWeightsERKNS_17FaceCenteredGrid3ERKNS_12ScalarField3ERKNS_12VectorField3ES6_E3$_0", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!27, !6, i64 24}
!27 = !{!"_ZTSZN3jet40GridFractionalSinglePhasePressureSolver312buildWeightsERKNS_17FaceCenteredGrid3ERKNS_12ScalarField3ERKNS_12VectorField3ES6_E3$_1", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!28 = !{!29, !6, i64 24}
!29 = !{!"_ZTSZN3jet40GridFractionalSinglePhasePressureSolver312buildWeightsERKNS_17FaceCenteredGrid3ERKNS_12ScalarField3ERKNS_12VectorField3ES6_E3$_2", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!30 = !{!31, !6, i64 24}
!31 = !{!"_ZTSZN3jet40GridFractionalSinglePhasePressureSolver312buildWeightsERKNS_17FaceCenteredGrid3ERKNS_12ScalarField3ERKNS_12VectorField3ES6_E3$_3", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!32 = distinct !{!32, !21}


; 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.std::function.48" = 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.std::function" = type { %"class.std::_Function_base", ptr }
%"class.jet::Vector" = type { double, double, double }
%class.anon = type { ptr, ptr, ptr }
%class.anon.50 = type { ptr, ptr, ptr, ptr }
%class.anon.51 = type { ptr, ptr, ptr, ptr }
%class.anon.52 = type { ptr, ptr, ptr, ptr }

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3jet40GridFractionalSinglePhasePressureSolver312buildWeightsERKNS_17FaceCenteredGrid3ERKNS_12ScalarField3ERKNS_12VectorField3ES6_(ptr noundef nonnull align 8 dereferenceable(520) %0, ptr noundef nonnull align 8 dereferenceable(696) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.jet::Size3", align 8
  %7 = alloca %"class.jet::Size3", align 8
  %8 = alloca %"class.jet::Size3", align 8
  %9 = alloca %"class.jet::Size3", align 8
  %10 = alloca float, align 4
  %11 = alloca %"class.jet::Size3", align 8
  %12 = alloca %"class.jet::Size3", align 8
  %13 = alloca %"class.jet::Size3", align 8
  %14 = alloca float, align 4
  %15 = alloca %"class.jet::Size3", align 8
  %16 = alloca %"class.jet::Size3", align 8
  %17 = alloca %"class.jet::Size3", align 8
  %18 = alloca float, align 4
  %19 = alloca %"class.std::function.48", align 8
  %20 = alloca %"class.std::function.48", align 8
  %21 = alloca %"class.std::function.48", align 8
  %22 = alloca %"class.std::function.48", align 8
  %23 = alloca %"class.std::function", align 8
  %24 = alloca %"class.jet::Vector", align 8
  %25 = alloca %class.anon, align 8
  %26 = alloca %class.anon.50, align 8
  %27 = alloca %class.anon.51, align 8
  %28 = alloca %class.anon.52, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #6
  %29 = getelementptr inbounds i8, ptr %1, i64 8
  %30 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3jet5Grid310resolutionEv(ptr noundef nonnull align 8 dereferenceable(128) %29)
  call void @_ZN3jet5Size3C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %30)
  %31 = getelementptr inbounds i8, ptr %0, i64 376
  %32 = call noundef zeroext i1 @_ZStneIN3jet12FdmMgSolver3EEbRKSt10shared_ptrIT_EDn(ptr noundef nonnull align 8 dereferenceable(16) %31, ptr null) #6
  br i1 %32, label %33, label %37

33:                                               ; preds = %5
  %34 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3jet12FdmMgSolver3ELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %31) #6
  %35 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK3jet12FdmMgSolver36paramsEv(ptr noundef nonnull align 8 dereferenceable(145) %34)
  %36 = load i64, ptr %35, align 8, !tbaa !5
  br label %37

37:                                               ; preds = %33, %5
  %.0 = phi i64 [ %36, %33 ], [ 1, %5 ]
  %38 = getelementptr inbounds i8, ptr %0, i64 464
  call void @_ZN3jet11FdmMgUtils321resizeArrayWithFinestIfEEvRKNS_5Size3EmPSt6vectorINS_5ArrayIT_Lm3EEESaIS8_EE(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.0, ptr noundef nonnull %38)
  %39 = getelementptr inbounds i8, ptr %0, i64 392
  %40 = call noundef i64 @_ZNKSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #6
  call void @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %40)
  %41 = getelementptr inbounds i8, ptr %0, i64 416
  %42 = call noundef i64 @_ZNKSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #6
  call void @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %41, i64 noundef %42)
  %43 = getelementptr inbounds i8, ptr %0, i64 440
  %44 = call noundef i64 @_ZNKSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #6
  call void @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %44)
  %45 = call noundef i64 @_ZNKSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #6
  %.not = icmp eq i64 %45, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %37
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #6
  call void @_ZNK3jet5Grid318cellCenterPositionEv(ptr dead_on_unwind nonnull writable sret(%"class.std::function.48") align 8 %19, ptr noundef nonnull align 8 dereferenceable(128) %29)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #6
  invoke void @_ZNK3jet17FaceCenteredGrid39uPositionEv(ptr dead_on_unwind nonnull writable sret(%"class.std::function.48") align 8 %20, ptr noundef nonnull align 8 dereferenceable(696) %1)
          to label %55 unwind label %86

.lr.ph:                                           ; preds = %37, %.lr.ph
  %.04053 = phi i64 [ %52, %.lr.ph ], [ 0, %37 ]
  %46 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %.04053) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #6
  %47 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %.04053) #6
  call void @_ZNK3jet5ArrayIfLm3EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %8, ptr noundef nonnull align 8 dereferenceable(48) %47)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  call void @_ZN3jet5Size3C2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 1, i64 noundef 0, i64 noundef 0)
  call void @_ZN3jetplERKNS_5Size3ES2_(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %7, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %9)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #6
  store float 0.000000e+00, ptr %10, align 4, !tbaa !16
  call void @_ZN3jet5ArrayIfLm3EE6resizeERKNS_5Size3ERKf(ptr noundef nonnull align 8 dereferenceable(48) %46, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(4) %10)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  %48 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %41, i64 noundef %.04053) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #6
  %49 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %.04053) #6
  call void @_ZNK3jet5ArrayIfLm3EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %12, ptr noundef nonnull align 8 dereferenceable(48) %49)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #6
  call void @_ZN3jet5Size3C2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef 0, i64 noundef 1, i64 noundef 0)
  call void @_ZN3jetplERKNS_5Size3ES2_(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %11, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %13)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #6
  store float 0.000000e+00, ptr %14, align 4, !tbaa !16
  call void @_ZN3jet5ArrayIfLm3EE6resizeERKNS_5Size3ERKf(ptr noundef nonnull align 8 dereferenceable(48) %48, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 4 dereferenceable(4) %14)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  %50 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %.04053) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #6
  %51 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %.04053) #6
  call void @_ZNK3jet5ArrayIfLm3EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %16, ptr noundef nonnull align 8 dereferenceable(48) %51)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #6
  call void @_ZN3jet5Size3C2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef 0, i64 noundef 0, i64 noundef 1)
  call void @_ZN3jetplERKNS_5Size3ES2_(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %15, ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %17)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #6
  store float 0.000000e+00, ptr %18, align 4, !tbaa !16
  call void @_ZN3jet5ArrayIfLm3EE6resizeERKNS_5Size3ERKf(ptr noundef nonnull align 8 dereferenceable(48) %50, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 4 dereferenceable(4) %18)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #6
  %52 = add nuw i64 %.04053, 1
  %53 = call noundef i64 @_ZNKSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #6
  %54 = icmp ult i64 %52, %53
  br i1 %54, label %.lr.ph, label %._crit_edge, !llvm.loop !18

55:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #6
  invoke void @_ZNK3jet17FaceCenteredGrid39vPositionEv(ptr dead_on_unwind nonnull writable sret(%"class.std::function.48") align 8 %21, ptr noundef nonnull align 8 dereferenceable(696) %1)
          to label %56 unwind label %88

56:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #6
  invoke void @_ZNK3jet17FaceCenteredGrid39wPositionEv(ptr dead_on_unwind nonnull writable sret(%"class.std::function.48") align 8 %22, ptr noundef nonnull align 8 dereferenceable(696) %1)
          to label %57 unwind label %90

57:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #6
  %58 = load ptr, ptr %3, align 8, !tbaa !20
  %59 = getelementptr inbounds i8, ptr %58, i64 40
  %60 = load ptr, ptr %59, align 8
  invoke void %60(ptr dead_on_unwind nonnull writable sret(%"class.std::function") align 8 %23, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %61 unwind label %92

61:                                               ; preds = %57
  %62 = getelementptr inbounds i8, ptr %0, i64 488
  %63 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt8functionIFN3jet6VectorIdLm3EEERKS2_EEaSEOS6_(ptr noundef nonnull align 8 dereferenceable(32) %62, ptr noundef nonnull align 8 dereferenceable(32) %23) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %24) #6
  %64 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3jet5Grid311gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(128) %29)
          to label %65 unwind label %94

65:                                               ; preds = %61
  call void @_ZN3jet6VectorIdLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 8 dereferenceable(24) %64)
  %66 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef 0) #6
  store ptr %0, ptr %25, align 8, !tbaa !22
  %67 = getelementptr inbounds i8, ptr %25, i64 8
  store ptr %4, ptr %67, align 8, !tbaa !24
  %68 = getelementptr inbounds i8, ptr %25, i64 16
  store ptr %19, ptr %68, align 8, !tbaa !24
  invoke void @"_ZNK3jet5ArrayIfLm3EE20parallelForEachIndexIZNS_40GridFractionalSinglePhasePressureSolver312buildWeightsERKNS_17FaceCenteredGrid3ERKNS_12ScalarField3ERKNS_12VectorField3ES9_E3$_0EEvT_"(ptr noundef nonnull align 8 dereferenceable(48) %66, ptr noundef nonnull byval(%class.anon) align 8 %25)
          to label %69 unwind label %94

69:                                               ; preds = %65
  %70 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef 0) #6
  store ptr %20, ptr %26, align 8, !tbaa !24
  %71 = getelementptr inbounds i8, ptr %26, i64 8
  store ptr %2, ptr %71, align 8, !tbaa !24
  %72 = getelementptr inbounds i8, ptr %26, i64 16
  store ptr %24, ptr %72, align 8, !tbaa !24
  %73 = getelementptr inbounds i8, ptr %26, i64 24
  store ptr %0, ptr %73, align 8, !tbaa !25
  invoke void @"_ZNK3jet5ArrayIfLm3EE20parallelForEachIndexIZNS_40GridFractionalSinglePhasePressureSolver312buildWeightsERKNS_17FaceCenteredGrid3ERKNS_12ScalarField3ERKNS_12VectorField3ES9_E3$_1EEvT_"(ptr noundef nonnull align 8 dereferenceable(48) %70, ptr noundef nonnull byval(%class.anon.50) align 8 %26)
          to label %74 unwind label %94

74:                                               ; preds = %69
  %75 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %41, i64 noundef 0) #6
  store ptr %21, ptr %27, align 8, !tbaa !24
  %76 = getelementptr inbounds i8, ptr %27, i64 8
  store ptr %2, ptr %76, align 8, !tbaa !24
  %77 = getelementptr inbounds i8, ptr %27, i64 16
  store ptr %24, ptr %77, align 8, !tbaa !24
  %78 = getelementptr inbounds i8, ptr %27, i64 24
  store ptr %0, ptr %78, align 8, !tbaa !27
  invoke void @"_ZNK3jet5ArrayIfLm3EE20parallelForEachIndexIZNS_40GridFractionalSinglePhasePressureSolver312buildWeightsERKNS_17FaceCenteredGrid3ERKNS_12ScalarField3ERKNS_12VectorField3ES9_E3$_2EEvT_"(ptr noundef nonnull align 8 dereferenceable(48) %75, ptr noundef nonnull byval(%class.anon.51) align 8 %27)
          to label %79 unwind label %94

79:                                               ; preds = %74
  %80 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef 0) #6
  store ptr %22, ptr %28, align 8, !tbaa !24
  %81 = getelementptr inbounds i8, ptr %28, i64 8
  store ptr %2, ptr %81, align 8, !tbaa !24
  %82 = getelementptr inbounds i8, ptr %28, i64 16
  store ptr %24, ptr %82, align 8, !tbaa !24
  %83 = getelementptr inbounds i8, ptr %28, i64 24
  store ptr %0, ptr %83, align 8, !tbaa !29
  invoke void @"_ZNK3jet5ArrayIfLm3EE20parallelForEachIndexIZNS_40GridFractionalSinglePhasePressureSolver312buildWeightsERKNS_17FaceCenteredGrid3ERKNS_12ScalarField3ERKNS_12VectorField3ES9_E3$_3EEvT_"(ptr noundef nonnull align 8 dereferenceable(48) %80, ptr noundef nonnull byval(%class.anon.52) align 8 %28)
          to label %.preheader unwind label %94

.preheader:                                       ; preds = %79
  %84 = call noundef i64 @_ZNKSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #6
  %85 = icmp ugt i64 %84, 1
  br i1 %85, label %.lr.ph55, label %._crit_edge56

._crit_edge56:                                    ; preds = %108, %.preheader
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  ret void

86:                                               ; preds = %._crit_edge
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %118

88:                                               ; preds = %55
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %117

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

92:                                               ; preds = %57
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #6
  br label %115

94:                                               ; preds = %79, %74, %69, %65, %61
  %95 = landingpad { ptr, i32 }
          cleanup
  br label %114

.lr.ph55:                                         ; preds = %.preheader, %108
  %.04754 = phi i64 [ %109, %108 ], [ 1, %.preheader ]
  %96 = add i64 %.04754, -1
  %97 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %96) #6
  %98 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %.04754) #6
  %99 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %96) #6
  %100 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %.04754) #6
  %101 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %41, i64 noundef %96) #6
  %102 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %41, i64 noundef %.04754) #6
  %103 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %96) #6
  %104 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %.04754) #6
  invoke void @_ZN12_GLOBAL__N_18restrictERKN3jet5ArrayIfLm3EEEPS2_(ptr noundef nonnull align 8 dereferenceable(48) %97, ptr noundef nonnull %98)
          to label %105 unwind label %112

105:                                              ; preds = %.lr.ph55
  invoke void @_ZN12_GLOBAL__N_18restrictERKN3jet5ArrayIfLm3EEEPS2_(ptr noundef nonnull align 8 dereferenceable(48) %99, ptr noundef nonnull %100)
          to label %106 unwind label %112

106:                                              ; preds = %105
  invoke void @_ZN12_GLOBAL__N_18restrictERKN3jet5ArrayIfLm3EEEPS2_(ptr noundef nonnull align 8 dereferenceable(48) %101, ptr noundef nonnull %102)
          to label %107 unwind label %112

107:                                              ; preds = %106
  invoke void @_ZN12_GLOBAL__N_18restrictERKN3jet5ArrayIfLm3EEEPS2_(ptr noundef nonnull align 8 dereferenceable(48) %103, ptr noundef nonnull %104)
          to label %108 unwind label %112

108:                                              ; preds = %107
  %109 = add nuw i64 %.04754, 1
  %110 = call noundef i64 @_ZNKSt6vectorIN3jet5ArrayIfLm3EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #6
  %111 = icmp ult i64 %109, %110
  br i1 %111, label %.lr.ph55, label %._crit_edge56, !llvm.loop !31

112:                                              ; preds = %107, %106, %105, %.lr.ph55
  %113 = landingpad { ptr, i32 }
          cleanup
  br label %114

114:                                              ; preds = %112, %94
  %.pn = phi { ptr, i32 } [ %113, %112 ], [ %95, %94 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #6
  br label %115

115:                                              ; preds = %114, %92
  %.pn.pn = phi { ptr, i32 } [ %.pn, %114 ], [ %93, %92 ]
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #6
  br label %116

116:                                              ; preds = %115, %90
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %115 ], [ %91, %90 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #6
  br label %117

117:                                              ; preds = %116, %88
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %116 ], [ %89, %88 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  br label %118

118:                                              ; preds = %117, %86
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %117 ], [ %87, %86 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  resume { ptr, i32 } %.pn.pn.pn.pn.pn
}

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

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

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

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

declare noundef nonnull align 8 dereferenceable(128) ptr @_ZNK3jet12FdmMgSolver36paramsEv(ptr noundef nonnull align 8 dereferenceable(145)) local_unnamed_addr #3

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

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

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

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

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

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

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

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

declare void @_ZNK3jet5Grid318cellCenterPositionEv(ptr dead_on_unwind writable sret(%"class.std::function.48") align 8, ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #3

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNK3jet5ArrayIfLm3EE20parallelForEachIndexIZNS_40GridFractionalSinglePhasePressureSolver312buildWeightsERKNS_17FaceCenteredGrid3ERKNS_12ScalarField3ERKNS_12VectorField3ES9_E3$_3EEvT_"(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef byval(%class.anon.52) align 8) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_18restrictERKN3jet5ArrayIfLm3EEEPS2_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef) local_unnamed_addr #1

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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, !7, i64 0}
!6 = !{!"_ZTSN3jet12MgParametersINS_8FdmBlas3EEE", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !11, i64 24, !14, i64 56, !14, i64 88, !15, i64 120}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTSSt8functionIFvRKN3jet5ArrayINS0_13FdmMatrixRow3ELm3EEERKNS1_IdLm3EEEjdPS6_S9_EE", !12, i64 0, !13, i64 24}
!12 = !{!"_ZTSSt14_Function_base", !8, i64 0, !13, i64 16}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!"_ZTSSt8functionIFvRKN3jet5ArrayIdLm3EEEPS2_EE", !12, i64 0, !13, i64 24}
!15 = !{!"double", !8, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"float", !8, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21, !21, i64 0}
!21 = !{!"vtable pointer", !9, i64 0}
!22 = !{!23, !13, i64 0}
!23 = !{!"_ZTSZN3jet40GridFractionalSinglePhasePressureSolver312buildWeightsERKNS_17FaceCenteredGrid3ERKNS_12ScalarField3ERKNS_12VectorField3ES6_E3$_0", !13, i64 0, !13, i64 8, !13, i64 16}
!24 = !{!13, !13, i64 0}
!25 = !{!26, !13, i64 24}
!26 = !{!"_ZTSZN3jet40GridFractionalSinglePhasePressureSolver312buildWeightsERKNS_17FaceCenteredGrid3ERKNS_12ScalarField3ERKNS_12VectorField3ES6_E3$_1", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!27 = !{!28, !13, i64 24}
!28 = !{!"_ZTSZN3jet40GridFractionalSinglePhasePressureSolver312buildWeightsERKNS_17FaceCenteredGrid3ERKNS_12ScalarField3ERKNS_12VectorField3ES6_E3$_2", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!29 = !{!30, !13, i64 24}
!30 = !{!"_ZTSZN3jet40GridFractionalSinglePhasePressureSolver312buildWeightsERKNS_17FaceCenteredGrid3ERKNS_12ScalarField3ERKNS_12VectorField3ES6_E3$_3", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!31 = distinct !{!31, !19}


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