; LLVM IR from Eydcao/Yan-CG-SnowSim :: src/Grid.ll (ZN8GridMesh21updateVelocityInGridsERKN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEE)

; 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.Eigen::CwiseBinaryOp.42" = type <{ ptr, ptr, [8 x i8] }>
%"class.Eigen::CwiseBinaryOp.50" = type <{ ptr, ptr, [8 x i8] }>
%"class.Eigen::CwiseBinaryOp.75" = type <{ [4 x i8], %"class.Eigen::CwiseNullaryOp", [4 x i8], ptr, [8 x i8] }>
%"class.Eigen::CwiseNullaryOp" = type { [4 x i8], %"struct.Eigen::internal::scalar_constant_op" }
%"struct.Eigen::internal::scalar_constant_op" = type { float }
%"class.Eigen::Matrix" = type { %"class.Eigen::PlainObjectBase" }
%"class.Eigen::PlainObjectBase" = type { %"class.Eigen::DenseStorage" }
%"class.Eigen::DenseStorage" = type { %"struct.Eigen::internal::plain_array" }
%"struct.Eigen::internal::plain_array" = type { [3 x float] }
%"class.Eigen::CwiseNullaryOp.82" = type { [4 x i8], %"struct.Eigen::internal::scalar_constant_op" }
%"class.Eigen::Matrix.58" = type { %"class.Eigen::PlainObjectBase.59" }
%"class.Eigen::PlainObjectBase.59" = type { %"class.Eigen::DenseStorage.66" }
%"class.Eigen::DenseStorage.66" = type { %"struct.Eigen::internal::plain_array.67" }
%"struct.Eigen::internal::plain_array.67" = type { [9 x float] }
%"class.Eigen::Product" = type { ptr, ptr }
%"class.Eigen::CwiseBinaryOp.91" = type <{ ptr, %"class.Eigen::CwiseBinaryOp.97", [8 x i8] }>
%"class.Eigen::CwiseBinaryOp.97" = type <{ [4 x i8], %"class.Eigen::CwiseNullaryOp", [4 x i8], %"class.Eigen::CwiseBinaryOp.103", [8 x i8] }>
%"class.Eigen::CwiseBinaryOp.103" = type <{ ptr, %"class.Eigen::CwiseBinaryOp.109", [8 x i8] }>
%"class.Eigen::CwiseBinaryOp.109" = type <{ ptr, %"class.Eigen::CwiseNullaryOp", [8 x i8] }>
%"class.Eigen::CwiseBinaryOp.119" = type <{ ptr, %"class.Eigen::CwiseBinaryOp.75", [8 x i8] }>
%class.GridMesh = type { %class.Bounds3, %class.Bounds3, %"class.Eigen::Matrix.9", %"class.Eigen::Matrix", ptr, float, i32, %"class.std::vector.19", i32, %"class.std::vector.19" }
%class.Bounds3 = type { %"class.Eigen::Matrix", %"class.Eigen::Matrix" }
%"class.Eigen::Matrix.9" = type { %"class.Eigen::PlainObjectBase.10" }
%"class.Eigen::PlainObjectBase.10" = type { %"class.Eigen::DenseStorage.17" }
%"class.Eigen::DenseStorage.17" = type { %"struct.Eigen::internal::plain_array.18" }
%"struct.Eigen::internal::plain_array.18" = type { [3 x i32] }
%"class.std::vector.19" = type { %"struct.std::_Vector_base.20" }
%"struct.std::_Vector_base.20" = type { %"struct.std::_Vector_base<GridCell *, std::allocator<GridCell *>>::_Vector_impl" }
%"struct.std::_Vector_base<GridCell *, std::allocator<GridCell *>>::_Vector_impl" = type { %"struct.std::_Vector_base<GridCell *, std::allocator<GridCell *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<GridCell *, std::allocator<GridCell *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.GridCell = type { i8, i32, i32, i32, float, %"class.Eigen::Matrix", %"class.Eigen::Matrix", %"class.Eigen::Matrix", %"class.std::vector", %"class.std::vector.3", %"class.Eigen::Matrix", %"class.Eigen::Matrix", %"class.Eigen::Matrix", %"class.Eigen::Matrix", %"class.Eigen::Matrix", float }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<SnowParticle *, std::allocator<SnowParticle *>>::_Vector_impl" }
%"struct.std::_Vector_base<SnowParticle *, std::allocator<SnowParticle *>>::_Vector_impl" = type { %"struct.std::_Vector_base<SnowParticle *, std::allocator<SnowParticle *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<SnowParticle *, std::allocator<SnowParticle *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.SnowParticle = type { float, float, float, %"class.Eigen::Matrix", %"class.Eigen::Matrix", %"class.Eigen::Matrix.58", %"class.Eigen::Matrix.58", %"class.Eigen::Matrix.58", %"class.Eigen::Matrix.58", %"class.Eigen::Matrix.58", %"class.Eigen::Matrix", %"class.Eigen::Matrix.58", %"class.Eigen::Matrix.58", %"class.Eigen::Matrix.58", [64 x %"class.Eigen::Matrix"], [64 x float], ptr }
%class.SnowParticleSet = type <{ %"class.std::vector", float, [4 x i8] }>
%class.SnowParticleMaterial = type { float, i32, float, float, float, float, float, float, float, float }

@_ZL6deltaT = external hidden global float, align 4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE7setZeroEv(ptr noundef nonnull align 1 dereferenceable(1)) #0 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIfNS6_6traitsIT_E6ScalarEEEKS2_KS9_EERKNS0_IS9_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseBinaryOp.42") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIffEEKS1_S7_EEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEplIS2_EEKNS_13CwiseBinaryOpINS_8internal13scalar_sum_opIfNS6_6traitsIT_E6ScalarEEEKS2_KS9_EERKNS0_IS9_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseBinaryOp.50") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #0 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef float @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5EigenmlIfEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_opINS2_18promote_scalar_argIfT_Xsr5Eigen8internal14has_ReturnTypeINS_20ScalarBinaryOpTraitsIS5_fNS3_IS5_fEEEEEE5valueEE4typeEfEEKNS2_19plain_constant_typeINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEESA_E4typeEKSE_EERKS5_RKNS_10MatrixBaseISE_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseBinaryOp.75") align 8, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(1)) #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8GridMesh21updateVelocityInGridsERKN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEE(ptr noundef nonnull align 8 dereferenceable(144) %0, ptr noundef nonnull align 4 dereferenceable(12) %1) #3 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.Eigen::Matrix", align 4
  %10 = alloca %"class.Eigen::CwiseNullaryOp.82", align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca float, align 4
  %15 = alloca %"class.Eigen::Matrix", align 4
  %16 = alloca %"class.Eigen::Matrix.58", align 4
  %17 = alloca %"class.Eigen::Product", align 8
  %18 = alloca %"class.Eigen::CwiseBinaryOp.91", align 8
  %19 = alloca %"class.Eigen::CwiseBinaryOp.97", align 8
  %20 = alloca %"class.Eigen::CwiseBinaryOp.103", align 8
  %21 = alloca %"class.Eigen::CwiseBinaryOp.109", align 8
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca %"class.Eigen::Matrix", align 4
  %27 = alloca float, align 4
  %28 = alloca float, align 4
  %29 = alloca float, align 4
  %30 = alloca %"class.Eigen::Matrix", align 4
  %31 = alloca %"class.Eigen::CwiseBinaryOp.119", align 8
  %32 = alloca %"class.Eigen::CwiseBinaryOp.75", align 8
  %33 = alloca %"class.Eigen::Matrix", align 4
  %34 = alloca float, align 4
  %35 = alloca float, align 4
  %36 = alloca float, align 4
  %37 = alloca %"class.Eigen::Matrix", align 4
  %38 = alloca %"class.Eigen::CwiseBinaryOp.42", align 8
  %39 = alloca %"class.Eigen::Matrix", align 4
  %40 = alloca float, align 4
  %41 = alloca float, align 4
  %42 = alloca %"class.Eigen::Matrix", align 4
  %43 = alloca float, align 4
  %44 = alloca float, align 4
  %45 = alloca float, align 4
  %46 = alloca float, align 4
  %47 = alloca %"class.Eigen::CwiseBinaryOp.75", align 8
  %48 = alloca double, align 8
  %49 = alloca %"class.Eigen::CwiseBinaryOp.50", align 8
  %50 = alloca %"class.Eigen::Matrix", align 4
  %51 = alloca float, align 4
  %52 = alloca float, align 4
  %53 = alloca float, align 4
  %54 = alloca %"class.Eigen::Matrix", align 4
  %55 = alloca %"class.Eigen::CwiseBinaryOp.42", align 8
  %56 = alloca %"class.Eigen::Matrix", align 4
  %57 = alloca float, align 4
  %58 = alloca float, align 4
  %59 = alloca %"class.Eigen::Matrix", align 4
  %60 = alloca float, align 4
  %61 = alloca float, align 4
  %62 = alloca float, align 4
  %63 = alloca float, align 4
  %64 = alloca %"class.Eigen::CwiseBinaryOp.75", align 8
  %65 = alloca double, align 8
  %66 = alloca %"class.Eigen::CwiseBinaryOp.50", align 8
  %67 = alloca %"class.Eigen::Matrix", align 4
  %68 = alloca float, align 4
  %69 = alloca float, align 4
  %70 = alloca float, align 4
  %71 = alloca %"class.Eigen::Matrix", align 4
  %72 = alloca %"class.Eigen::CwiseBinaryOp.42", align 8
  %73 = alloca %"class.Eigen::Matrix", align 4
  %74 = alloca float, align 4
  %75 = alloca float, align 4
  %76 = alloca %"class.Eigen::Matrix", align 4
  %77 = alloca float, align 4
  %78 = alloca float, align 4
  %79 = alloca float, align 4
  %80 = alloca float, align 4
  %81 = alloca %"class.Eigen::CwiseBinaryOp.75", align 8
  %82 = alloca double, align 8
  %83 = alloca %"class.Eigen::CwiseBinaryOp.50", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %84 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %85

85:                                               ; preds = %376, %2
  %86 = load i32, ptr %5, align 4, !tbaa !9
  %87 = getelementptr inbounds %class.GridMesh, ptr %84, i32 0, i32 8
  %88 = load i32, ptr %87, align 8, !tbaa !11
  %89 = icmp slt i32 %86, %88
  br i1 %89, label %91, label %90

90:                                               ; preds = %85
  store i32 2, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %379

91:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %92 = getelementptr inbounds %class.GridMesh, ptr %84, i32 0, i32 9
  %93 = load i32, ptr %5, align 4, !tbaa !9
  %94 = sext i32 %93 to i64
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8GridCellSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %92, i64 noundef %94) #5
  %96 = load ptr, ptr %95, align 8, !tbaa !5
  store ptr %96, ptr %7, align 8, !tbaa !5
  %97 = load ptr, ptr %7, align 8, !tbaa !5
  %98 = getelementptr inbounds %class.GridCell, ptr %97, i32 0, i32 4
  %99 = load ptr, ptr %7, align 8, !tbaa !5
  %100 = getelementptr inbounds %class.GridCell, ptr %99, i32 0, i32 5
  %101 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEdVERKf(ptr noundef nonnull align 1 dereferenceable(1) %100, ptr noundef nonnull align 4 dereferenceable(4) %98)
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %102 = getelementptr inbounds %class.GridMesh, ptr %84, i32 0, i32 9
  %103 = load i32, ptr %5, align 4, !tbaa !9
  %104 = sext i32 %103 to i64
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8GridCellSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %102, i64 noundef %104) #5
  %106 = load ptr, ptr %105, align 8, !tbaa !5
  store ptr %106, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  call void @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4ZeroEv(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseNullaryOp.82") align 4 %10)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_14CwiseNullaryOpINS_8internal18scalar_constant_opIfEES1_EEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 1 dereferenceable(1) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %107

107:                                              ; preds = %150, %91
  %108 = load i32, ptr %11, align 4, !tbaa !9
  %109 = sext i32 %108 to i64
  %110 = load ptr, ptr %8, align 8, !tbaa !5
  %111 = getelementptr inbounds %class.GridCell, ptr %110, i32 0, i32 8
  %112 = call noundef i64 @_ZNKSt6vectorIP12SnowParticleSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %111) #5
  %113 = icmp ult i64 %109, %112
  br i1 %113, label %115, label %114

114:                                              ; preds = %107
  store i32 5, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %153

115:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %116 = load ptr, ptr %8, align 8, !tbaa !5
  %117 = getelementptr inbounds %class.GridCell, ptr %116, i32 0, i32 8
  %118 = load i32, ptr %11, align 4, !tbaa !9
  %119 = sext i32 %118 to i64
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP12SnowParticleSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %117, i64 noundef %119) #5
  %121 = load ptr, ptr %120, align 8, !tbaa !5
  store ptr %121, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %122 = load ptr, ptr %8, align 8, !tbaa !5
  %123 = getelementptr inbounds %class.GridCell, ptr %122, i32 0, i32 9
  %124 = load i32, ptr %11, align 4, !tbaa !9
  %125 = sext i32 %124 to i64
  %126 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %123, i64 noundef %125) #5
  %127 = load i32, ptr %126, align 4, !tbaa !9
  store i32 %127, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %128 = load ptr, ptr %12, align 8, !tbaa !5
  %129 = getelementptr inbounds %class.SnowParticle, ptr %128, i32 0, i32 15
  %130 = load i32, ptr %13, align 4, !tbaa !9
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds [64 x float], ptr %129, i64 0, i64 %131
  %133 = load float, ptr %132, align 4, !tbaa !27
  store float %133, ptr %14, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 12, ptr %15) #5
  %134 = load ptr, ptr %12, align 8, !tbaa !5
  %135 = getelementptr inbounds %class.SnowParticle, ptr %134, i32 0, i32 14
  %136 = load i32, ptr %13, align 4, !tbaa !9
  %137 = sext i32 %136 to i64
  %138 = getelementptr inbounds [64 x %"class.Eigen::Matrix"], ptr %135, i64 0, i64 %137
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %138)
  call void @llvm.lifetime.start.p0(i64 36, ptr %16) #5
  %139 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN12SnowParticle16energyDerivativeEv(ptr dead_on_unwind writable sret(%"class.Eigen::Matrix.58") align 4 %16, ptr noundef nonnull align 8 dereferenceable(1368) %139)
  %140 = load float, ptr %14, align 4, !tbaa !27
  %141 = fcmp ogt float %140, 0x3F1A36E2E0000000
  br i1 %141, label %142, label %149

142:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #5
  %143 = call { ptr, ptr } @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEEmlINS1_IfLi3ELi1ELi0ELi3ELi1EEEEEKNS_7ProductIS2_T_Li0EEERKNS0_IS7_EE(ptr noundef nonnull align 1 dereferenceable(1) %16, ptr noundef nonnull align 1 dereferenceable(1) %15)
  %144 = getelementptr inbounds { ptr, ptr }, ptr %17, i32 0, i32 0
  %145 = extractvalue { ptr, ptr } %143, 0
  store ptr %145, ptr %144, align 8
  %146 = getelementptr inbounds { ptr, ptr }, ptr %17, i32 0, i32 1
  %147 = extractvalue { ptr, ptr } %143, 1
  store ptr %147, ptr %146, align 8
  %148 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEpLINS_7ProductINS1_IfLi3ELi3ELi0ELi3ELi3EEES2_Li0EEEEERS2_RKNS0_IT_EE(ptr noundef nonnull align 1 dereferenceable(1) %9, ptr noundef nonnull align 1 dereferenceable(1) %17)
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #5
  br label %149

149:                                              ; preds = %142, %115
  call void @llvm.lifetime.end.p0(i64 36, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %150

150:                                              ; preds = %149
  %151 = load i32, ptr %11, align 4, !tbaa !9
  %152 = add nsw i32 %151, 1
  store i32 %152, ptr %11, align 4, !tbaa !9
  br label %107, !llvm.loop !28

153:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 80, ptr %18) #5
  %154 = load ptr, ptr %8, align 8, !tbaa !5
  %155 = getelementptr inbounds %class.GridCell, ptr %154, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 64, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %20) #5
  %156 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #5
  %157 = load ptr, ptr %8, align 8, !tbaa !5
  %158 = getelementptr inbounds %class.GridCell, ptr %157, i32 0, i32 4
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEdvIfEEKNS_13CwiseBinaryOpINS_8internal18scalar_quotient_opIfNS6_18promote_scalar_argIfT_Xsr5Eigen8internal14has_ReturnTypeINS_20ScalarBinaryOpTraitsIfS9_NS7_IfS9_EEEEEE5valueEE4typeEEEKS2_KNS6_19plain_constant_typeIS2_SE_E4typeEEERKS9_(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.109") align 8 %21, ptr noundef nonnull align 1 dereferenceable(1) %9, ptr noundef nonnull align 4 dereferenceable(4) %158)
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmiINS_13CwiseBinaryOpINS_8internal18scalar_quotient_opIffEEKS2_KNS_14CwiseNullaryOpINS6_18scalar_constant_opIfEES9_EEEEEEKNS5_INS6_20scalar_difference_opIfNS6_6traitsIT_E6ScalarEEES9_KSI_EERKNS0_ISI_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.103") align 8 %20, ptr noundef nonnull align 1 dereferenceable(1) %156, ptr noundef nonnull align 1 dereferenceable(1) %21)
  call void @_ZN5EigenmlIfEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_opINS2_18promote_scalar_argIfT_Xsr5Eigen8internal14has_ReturnTypeINS_20ScalarBinaryOpTraitsIS5_fNS3_IS5_fEEEEEE5valueEE4typeEfEEKNS2_19plain_constant_typeINS1_INS2_20scalar_difference_opIffEEKNS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEKNS1_INS2_18scalar_quotient_opIffEESH_KNS_14CwiseNullaryOpINS2_18scalar_constant_opIfEESH_EEEEEESA_E4typeEKSR_EERKS5_RKNS_10MatrixBaseISR_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.97") align 8 %19, ptr noundef nonnull align 4 dereferenceable(4) @_ZL6deltaT, ptr noundef nonnull align 1 dereferenceable(1) %20)
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEplINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKNS_14CwiseNullaryOpINS6_18scalar_constant_opIfEEKS2_EEKNS5_INS6_20scalar_difference_opIffEESC_KNS5_INS6_18scalar_quotient_opIffEESC_SE_EEEEEEEEKNS5_INS6_13scalar_sum_opIfNS6_6traitsIT_E6ScalarEEESC_KSQ_EERKNS0_ISQ_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.91") align 8 %18, ptr noundef nonnull align 1 dereferenceable(1) %155, ptr noundef nonnull align 1 dereferenceable(1) %19)
  %159 = load ptr, ptr %8, align 8, !tbaa !5
  %160 = getelementptr inbounds %class.GridCell, ptr %159, i32 0, i32 6
  %161 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEaSINS_13CwiseBinaryOpINS_8internal13scalar_sum_opIffEEKS1_KNS3_INS4_17scalar_product_opIffEEKNS_14CwiseNullaryOpINS4_18scalar_constant_opIfEES7_EEKNS3_INS4_20scalar_difference_opIffEES7_KNS3_INS4_18scalar_quotient_opIffEES7_SE_EEEEEEEEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %160, ptr noundef nonnull align 1 dereferenceable(1) %18)
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %162 = getelementptr inbounds %class.GridMesh, ptr %84, i32 0, i32 7
  %163 = load i32, ptr %5, align 4, !tbaa !9
  %164 = sext i32 %163 to i64
  %165 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8GridCellSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %162, i64 noundef %164) #5
  %166 = load ptr, ptr %165, align 8, !tbaa !5
  store ptr %166, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  %167 = load ptr, ptr %22, align 8, !tbaa !5
  %168 = getelementptr inbounds %class.GridCell, ptr %167, i32 0, i32 1
  %169 = load i32, ptr %168, align 4, !tbaa !30
  store i32 %169, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  %170 = load ptr, ptr %22, align 8, !tbaa !5
  %171 = getelementptr inbounds %class.GridCell, ptr %170, i32 0, i32 2
  %172 = load i32, ptr %171, align 8, !tbaa !41
  store i32 %172, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  %173 = load ptr, ptr %22, align 8, !tbaa !5
  %174 = getelementptr inbounds %class.GridCell, ptr %173, i32 0, i32 3
  %175 = load i32, ptr %174, align 4, !tbaa !42
  store i32 %175, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  %176 = load i32, ptr %23, align 4, !tbaa !9
  %177 = sitofp i32 %176 to double
  %178 = fadd double %177, 5.000000e-01
  %179 = getelementptr inbounds %class.GridMesh, ptr %84, i32 0, i32 3
  %180 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %179)
  %181 = load float, ptr %180, align 4, !tbaa !27
  %182 = fpext float %181 to double
  %183 = fmul double %178, %182
  %184 = fptrunc double %183 to float
  store float %184, ptr %27, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  %185 = load i32, ptr %24, align 4, !tbaa !9
  %186 = sitofp i32 %185 to double
  %187 = fadd double %186, 5.000000e-01
  %188 = getelementptr inbounds %class.GridMesh, ptr %84, i32 0, i32 3
  %189 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %188)
  %190 = load float, ptr %189, align 4, !tbaa !27
  %191 = fpext float %190 to double
  %192 = fmul double %187, %191
  %193 = fptrunc double %192 to float
  store float %193, ptr %28, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  %194 = load i32, ptr %25, align 4, !tbaa !9
  %195 = sitofp i32 %194 to double
  %196 = fadd double %195, 5.000000e-01
  %197 = getelementptr inbounds %class.GridMesh, ptr %84, i32 0, i32 3
  %198 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %197)
  %199 = load float, ptr %198, align 4, !tbaa !27
  %200 = fpext float %199 to double
  %201 = fmul double %196, %200
  %202 = fptrunc double %201 to float
  store float %202, ptr %29, align 4, !tbaa !27
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %26, ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 4 dereferenceable(4) %29)
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #5
  %203 = load ptr, ptr %22, align 8, !tbaa !5
  %204 = getelementptr inbounds %class.GridCell, ptr %203, i32 0, i32 6
  call void @_ZN5EigenmlIfEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_opINS2_18promote_scalar_argIfT_Xsr5Eigen8internal14has_ReturnTypeINS_20ScalarBinaryOpTraitsIS5_fNS3_IS5_fEEEEEE5valueEE4typeEfEEKNS2_19plain_constant_typeINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEESA_E4typeEKSE_EERKS5_RKNS_10MatrixBaseISE_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.75") align 8 %32, ptr noundef nonnull align 4 dereferenceable(4) @_ZL6deltaT, ptr noundef nonnull align 1 dereferenceable(1) %204)
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEplINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKNS_14CwiseNullaryOpINS6_18scalar_constant_opIfEEKS2_EESC_EEEEKNS5_INS6_13scalar_sum_opIfNS6_6traitsIT_E6ScalarEEESC_KSI_EERKNS0_ISI_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.119") align 8 %31, ptr noundef nonnull align 1 dereferenceable(1) %26, ptr noundef nonnull align 1 dereferenceable(1) %32)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_13CwiseBinaryOpINS_8internal13scalar_sum_opIffEEKS1_KNS3_INS4_17scalar_product_opIffEEKNS_14CwiseNullaryOpINS4_18scalar_constant_opIfEES7_EES7_EEEEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %30, ptr noundef nonnull align 1 dereferenceable(1) %31)
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %31) #5
  %205 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %30)
  %206 = load float, ptr %205, align 4, !tbaa !27
  %207 = getelementptr inbounds %class.GridMesh, ptr %84, i32 0, i32 0
  %208 = getelementptr inbounds %class.Bounds3, ptr %207, i32 0, i32 1
  %209 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %208)
  %210 = load float, ptr %209, align 4, !tbaa !27
  %211 = fcmp ogt float %206, %210
  br i1 %211, label %220, label %212

212:                                              ; preds = %153
  %213 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %30)
  %214 = load float, ptr %213, align 4, !tbaa !27
  %215 = getelementptr inbounds %class.GridMesh, ptr %84, i32 0, i32 0
  %216 = getelementptr inbounds %class.Bounds3, ptr %215, i32 0, i32 0
  %217 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %216)
  %218 = load float, ptr %217, align 4, !tbaa !27
  %219 = fcmp olt float %214, %218
  br i1 %219, label %220, label %261

220:                                              ; preds = %212, %153
  call void @llvm.lifetime.start.p0(i64 12, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #5
  store float 0.000000e+00, ptr %34, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #5
  store float 0.000000e+00, ptr %35, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #5
  store float 0.000000e+00, ptr %36, align 4, !tbaa !27
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %33, ptr noundef nonnull align 4 dereferenceable(4) %34, ptr noundef nonnull align 4 dereferenceable(4) %35, ptr noundef nonnull align 4 dereferenceable(4) %36)
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %37) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %38) #5
  %221 = load ptr, ptr %22, align 8, !tbaa !5
  %222 = getelementptr inbounds %class.GridCell, ptr %221, i32 0, i32 6
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIfNS6_6traitsIT_E6ScalarEEEKS2_KS9_EERKNS0_IS9_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.42") align 8 %38, ptr noundef nonnull align 1 dereferenceable(1) %222, ptr noundef nonnull align 1 dereferenceable(1) %33)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIffEEKS1_S7_EEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %37, ptr noundef nonnull align 1 dereferenceable(1) %38)
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %39) #5
  %223 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %37)
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #5
  store float 0.000000e+00, ptr %40, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #5
  store float 0.000000e+00, ptr %41, align 4, !tbaa !27
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %39, ptr noundef nonnull align 4 dereferenceable(4) %223, ptr noundef nonnull align 4 dereferenceable(4) %40, ptr noundef nonnull align 4 dereferenceable(4) %41)
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %42) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #5
  store float 0.000000e+00, ptr %43, align 4, !tbaa !27
  %224 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %37)
  %225 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %37)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %42, ptr noundef nonnull align 4 dereferenceable(4) %43, ptr noundef nonnull align 4 dereferenceable(4) %224, ptr noundef nonnull align 4 dereferenceable(4) %225)
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #5
  %226 = call noundef float @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1) %39)
  store float %226, ptr %44, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #5
  %227 = call noundef float @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1) %42)
  store float %227, ptr %45, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #5
  %228 = getelementptr inbounds %class.GridMesh, ptr %84, i32 0, i32 4
  %229 = load ptr, ptr %228, align 8, !tbaa !43
  %230 = getelementptr inbounds %class.SnowParticleSet, ptr %229, i32 0, i32 0
  %231 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP12SnowParticleSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %230, i64 noundef 0) #5
  %232 = load ptr, ptr %231, align 8, !tbaa !5
  %233 = getelementptr inbounds %class.SnowParticle, ptr %232, i32 0, i32 16
  %234 = load ptr, ptr %233, align 8, !tbaa !44
  %235 = getelementptr inbounds %class.SnowParticleMaterial, ptr %234, i32 0, i32 7
  %236 = load float, ptr %235, align 4, !tbaa !50
  store float %236, ptr %46, align 4, !tbaa !27
  %237 = load float, ptr %45, align 4, !tbaa !27
  %238 = load float, ptr %46, align 4, !tbaa !27
  %239 = load float, ptr %44, align 4, !tbaa !27
  %240 = fmul float %238, %239
  %241 = fcmp olt float %237, %240
  br i1 %241, label %246, label %242

242:                                              ; preds = %220
  %243 = load float, ptr %45, align 4, !tbaa !27
  %244 = fpext float %243 to double
  %245 = fcmp olt double %244, 0x3D719799812DEA11
  br i1 %245, label %246, label %248

246:                                              ; preds = %242, %220
  %247 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE7setZeroEv(ptr noundef nonnull align 1 dereferenceable(1) %37)
  br label %257

248:                                              ; preds = %242
  call void @llvm.lifetime.start.p0(i64 32, ptr %47) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #5
  %249 = load float, ptr %46, align 4, !tbaa !27
  %250 = load float, ptr %44, align 4, !tbaa !27
  %251 = fmul float %249, %250
  %252 = load float, ptr %45, align 4, !tbaa !27
  %253 = fdiv float %251, %252
  %254 = fpext float %253 to double
  %255 = fsub double 1.000000e+00, %254
  store double %255, ptr %48, align 8, !tbaa !52
  call void @_ZN5EigenmlIdEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_opINS2_18promote_scalar_argIfT_Xsr5Eigen8internal14has_ReturnTypeINS_20ScalarBinaryOpTraitsIS5_fNS3_IS5_fEEEEEE5valueEE4typeEfEEKNS2_19plain_constant_typeINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEESA_E4typeEKSE_EERKS5_RKNS_10MatrixBaseISE_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.75") align 8 %47, ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 1 dereferenceable(1) %42)
  %256 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEaSINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKNS_14CwiseNullaryOpINS4_18scalar_constant_opIfEEKS1_EESA_EEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %37, ptr noundef nonnull align 1 dereferenceable(1) %47)
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #5
  br label %257

257:                                              ; preds = %248, %246
  call void @llvm.lifetime.start.p0(i64 24, ptr %49) #5
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEplIS2_EEKNS_13CwiseBinaryOpINS_8internal13scalar_sum_opIfNS6_6traitsIT_E6ScalarEEEKS2_KS9_EERKNS0_IS9_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.50") align 8 %49, ptr noundef nonnull align 1 dereferenceable(1) %37, ptr noundef nonnull align 1 dereferenceable(1) %33)
  %258 = load ptr, ptr %22, align 8, !tbaa !5
  %259 = getelementptr inbounds %class.GridCell, ptr %258, i32 0, i32 6
  %260 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEaSINS_13CwiseBinaryOpINS_8internal13scalar_sum_opIffEEKS1_S7_EEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %259, ptr noundef nonnull align 1 dereferenceable(1) %49)
  call void @llvm.lifetime.end.p0(i64 24, ptr %49) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %42) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %33) #5
  br label %261

261:                                              ; preds = %257, %212
  %262 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %30)
  %263 = load float, ptr %262, align 4, !tbaa !27
  %264 = getelementptr inbounds %class.GridMesh, ptr %84, i32 0, i32 0
  %265 = getelementptr inbounds %class.Bounds3, ptr %264, i32 0, i32 1
  %266 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %265)
  %267 = load float, ptr %266, align 4, !tbaa !27
  %268 = fcmp ogt float %263, %267
  br i1 %268, label %277, label %269

269:                                              ; preds = %261
  %270 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %30)
  %271 = load float, ptr %270, align 4, !tbaa !27
  %272 = getelementptr inbounds %class.GridMesh, ptr %84, i32 0, i32 0
  %273 = getelementptr inbounds %class.Bounds3, ptr %272, i32 0, i32 0
  %274 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %273)
  %275 = load float, ptr %274, align 4, !tbaa !27
  %276 = fcmp olt float %271, %275
  br i1 %276, label %277, label %318

277:                                              ; preds = %269, %261
  call void @llvm.lifetime.start.p0(i64 12, ptr %50) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #5
  store float 0.000000e+00, ptr %51, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #5
  store float 0.000000e+00, ptr %52, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #5
  store float 0.000000e+00, ptr %53, align 4, !tbaa !27
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %50, ptr noundef nonnull align 4 dereferenceable(4) %51, ptr noundef nonnull align 4 dereferenceable(4) %52, ptr noundef nonnull align 4 dereferenceable(4) %53)
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %54) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %55) #5
  %278 = load ptr, ptr %22, align 8, !tbaa !5
  %279 = getelementptr inbounds %class.GridCell, ptr %278, i32 0, i32 6
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIfNS6_6traitsIT_E6ScalarEEEKS2_KS9_EERKNS0_IS9_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.42") align 8 %55, ptr noundef nonnull align 1 dereferenceable(1) %279, ptr noundef nonnull align 1 dereferenceable(1) %50)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIffEEKS1_S7_EEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %54, ptr noundef nonnull align 1 dereferenceable(1) %55)
  call void @llvm.lifetime.end.p0(i64 24, ptr %55) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %56) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #5
  store float 0.000000e+00, ptr %57, align 4, !tbaa !27
  %280 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %54)
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #5
  store float 0.000000e+00, ptr %58, align 4, !tbaa !27
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %56, ptr noundef nonnull align 4 dereferenceable(4) %57, ptr noundef nonnull align 4 dereferenceable(4) %280, ptr noundef nonnull align 4 dereferenceable(4) %58)
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %59) #5
  %281 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %54)
  call void @llvm.lifetime.start.p0(i64 4, ptr %60) #5
  store float 0.000000e+00, ptr %60, align 4, !tbaa !27
  %282 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %54)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %59, ptr noundef nonnull align 4 dereferenceable(4) %281, ptr noundef nonnull align 4 dereferenceable(4) %60, ptr noundef nonnull align 4 dereferenceable(4) %282)
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %61) #5
  %283 = call noundef float @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1) %56)
  store float %283, ptr %61, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %62) #5
  %284 = call noundef float @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1) %59)
  store float %284, ptr %62, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %63) #5
  %285 = getelementptr inbounds %class.GridMesh, ptr %84, i32 0, i32 4
  %286 = load ptr, ptr %285, align 8, !tbaa !43
  %287 = getelementptr inbounds %class.SnowParticleSet, ptr %286, i32 0, i32 0
  %288 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP12SnowParticleSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %287, i64 noundef 0) #5
  %289 = load ptr, ptr %288, align 8, !tbaa !5
  %290 = getelementptr inbounds %class.SnowParticle, ptr %289, i32 0, i32 16
  %291 = load ptr, ptr %290, align 8, !tbaa !44
  %292 = getelementptr inbounds %class.SnowParticleMaterial, ptr %291, i32 0, i32 7
  %293 = load float, ptr %292, align 4, !tbaa !50
  store float %293, ptr %63, align 4, !tbaa !27
  %294 = load float, ptr %62, align 4, !tbaa !27
  %295 = load float, ptr %63, align 4, !tbaa !27
  %296 = load float, ptr %61, align 4, !tbaa !27
  %297 = fmul float %295, %296
  %298 = fcmp olt float %294, %297
  br i1 %298, label %303, label %299

299:                                              ; preds = %277
  %300 = load float, ptr %62, align 4, !tbaa !27
  %301 = fpext float %300 to double
  %302 = fcmp olt double %301, 0x3D719799812DEA11
  br i1 %302, label %303, label %305

303:                                              ; preds = %299, %277
  %304 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE7setZeroEv(ptr noundef nonnull align 1 dereferenceable(1) %54)
  br label %314

305:                                              ; preds = %299
  call void @llvm.lifetime.start.p0(i64 32, ptr %64) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #5
  %306 = load float, ptr %63, align 4, !tbaa !27
  %307 = load float, ptr %61, align 4, !tbaa !27
  %308 = fmul float %306, %307
  %309 = load float, ptr %62, align 4, !tbaa !27
  %310 = fdiv float %308, %309
  %311 = fpext float %310 to double
  %312 = fsub double 1.000000e+00, %311
  store double %312, ptr %65, align 8, !tbaa !52
  call void @_ZN5EigenmlIdEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_opINS2_18promote_scalar_argIfT_Xsr5Eigen8internal14has_ReturnTypeINS_20ScalarBinaryOpTraitsIS5_fNS3_IS5_fEEEEEE5valueEE4typeEfEEKNS2_19plain_constant_typeINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEESA_E4typeEKSE_EERKS5_RKNS_10MatrixBaseISE_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.75") align 8 %64, ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef nonnull align 1 dereferenceable(1) %59)
  %313 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEaSINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKNS_14CwiseNullaryOpINS4_18scalar_constant_opIfEEKS1_EESA_EEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %54, ptr noundef nonnull align 1 dereferenceable(1) %64)
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %64) #5
  br label %314

314:                                              ; preds = %305, %303
  call void @llvm.lifetime.start.p0(i64 24, ptr %66) #5
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEplIS2_EEKNS_13CwiseBinaryOpINS_8internal13scalar_sum_opIfNS6_6traitsIT_E6ScalarEEEKS2_KS9_EERKNS0_IS9_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.50") align 8 %66, ptr noundef nonnull align 1 dereferenceable(1) %54, ptr noundef nonnull align 1 dereferenceable(1) %50)
  %315 = load ptr, ptr %22, align 8, !tbaa !5
  %316 = getelementptr inbounds %class.GridCell, ptr %315, i32 0, i32 6
  %317 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEaSINS_13CwiseBinaryOpINS_8internal13scalar_sum_opIffEEKS1_S7_EEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %316, ptr noundef nonnull align 1 dereferenceable(1) %66)
  call void @llvm.lifetime.end.p0(i64 24, ptr %66) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %59) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %56) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %54) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %50) #5
  br label %318

318:                                              ; preds = %314, %269
  %319 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %30)
  %320 = load float, ptr %319, align 4, !tbaa !27
  %321 = getelementptr inbounds %class.GridMesh, ptr %84, i32 0, i32 0
  %322 = getelementptr inbounds %class.Bounds3, ptr %321, i32 0, i32 1
  %323 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %322)
  %324 = load float, ptr %323, align 4, !tbaa !27
  %325 = fcmp ogt float %320, %324
  br i1 %325, label %334, label %326

326:                                              ; preds = %318
  %327 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %30)
  %328 = load float, ptr %327, align 4, !tbaa !27
  %329 = getelementptr inbounds %class.GridMesh, ptr %84, i32 0, i32 0
  %330 = getelementptr inbounds %class.Bounds3, ptr %329, i32 0, i32 0
  %331 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %330)
  %332 = load float, ptr %331, align 4, !tbaa !27
  %333 = fcmp olt float %328, %332
  br i1 %333, label %334, label %375

334:                                              ; preds = %326, %318
  call void @llvm.lifetime.start.p0(i64 12, ptr %67) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %68) #5
  store float 0.000000e+00, ptr %68, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %69) #5
  store float 0.000000e+00, ptr %69, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %70) #5
  store float 0.000000e+00, ptr %70, align 4, !tbaa !27
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %67, ptr noundef nonnull align 4 dereferenceable(4) %68, ptr noundef nonnull align 4 dereferenceable(4) %69, ptr noundef nonnull align 4 dereferenceable(4) %70)
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %69) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %68) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %71) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %72) #5
  %335 = load ptr, ptr %22, align 8, !tbaa !5
  %336 = getelementptr inbounds %class.GridCell, ptr %335, i32 0, i32 6
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIfNS6_6traitsIT_E6ScalarEEEKS2_KS9_EERKNS0_IS9_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.42") align 8 %72, ptr noundef nonnull align 1 dereferenceable(1) %336, ptr noundef nonnull align 1 dereferenceable(1) %67)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIffEEKS1_S7_EEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %71, ptr noundef nonnull align 1 dereferenceable(1) %72)
  call void @llvm.lifetime.end.p0(i64 24, ptr %72) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %73) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %74) #5
  store float 0.000000e+00, ptr %74, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %75) #5
  store float 0.000000e+00, ptr %75, align 4, !tbaa !27
  %337 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %71)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %73, ptr noundef nonnull align 4 dereferenceable(4) %74, ptr noundef nonnull align 4 dereferenceable(4) %75, ptr noundef nonnull align 4 dereferenceable(4) %337)
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %74) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %76) #5
  %338 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %71)
  %339 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %71)
  call void @llvm.lifetime.start.p0(i64 4, ptr %77) #5
  store float 0.000000e+00, ptr %77, align 4, !tbaa !27
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %76, ptr noundef nonnull align 4 dereferenceable(4) %338, ptr noundef nonnull align 4 dereferenceable(4) %339, ptr noundef nonnull align 4 dereferenceable(4) %77)
  call void @llvm.lifetime.end.p0(i64 4, ptr %77) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %78) #5
  %340 = call noundef float @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1) %73)
  store float %340, ptr %78, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %79) #5
  %341 = call noundef float @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1) %76)
  store float %341, ptr %79, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %80) #5
  %342 = getelementptr inbounds %class.GridMesh, ptr %84, i32 0, i32 4
  %343 = load ptr, ptr %342, align 8, !tbaa !43
  %344 = getelementptr inbounds %class.SnowParticleSet, ptr %343, i32 0, i32 0
  %345 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP12SnowParticleSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %344, i64 noundef 0) #5
  %346 = load ptr, ptr %345, align 8, !tbaa !5
  %347 = getelementptr inbounds %class.SnowParticle, ptr %346, i32 0, i32 16
  %348 = load ptr, ptr %347, align 8, !tbaa !44
  %349 = getelementptr inbounds %class.SnowParticleMaterial, ptr %348, i32 0, i32 7
  %350 = load float, ptr %349, align 4, !tbaa !50
  store float %350, ptr %80, align 4, !tbaa !27
  %351 = load float, ptr %79, align 4, !tbaa !27
  %352 = load float, ptr %80, align 4, !tbaa !27
  %353 = load float, ptr %78, align 4, !tbaa !27
  %354 = fmul float %352, %353
  %355 = fcmp olt float %351, %354
  br i1 %355, label %360, label %356

356:                                              ; preds = %334
  %357 = load float, ptr %79, align 4, !tbaa !27
  %358 = fpext float %357 to double
  %359 = fcmp olt double %358, 0x3D719799812DEA11
  br i1 %359, label %360, label %362

360:                                              ; preds = %356, %334
  %361 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE7setZeroEv(ptr noundef nonnull align 1 dereferenceable(1) %71)
  br label %371

362:                                              ; preds = %356
  call void @llvm.lifetime.start.p0(i64 32, ptr %81) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %82) #5
  %363 = load float, ptr %80, align 4, !tbaa !27
  %364 = load float, ptr %78, align 4, !tbaa !27
  %365 = fmul float %363, %364
  %366 = load float, ptr %79, align 4, !tbaa !27
  %367 = fdiv float %365, %366
  %368 = fpext float %367 to double
  %369 = fsub double 1.000000e+00, %368
  store double %369, ptr %82, align 8, !tbaa !52
  call void @_ZN5EigenmlIdEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_opINS2_18promote_scalar_argIfT_Xsr5Eigen8internal14has_ReturnTypeINS_20ScalarBinaryOpTraitsIS5_fNS3_IS5_fEEEEEE5valueEE4typeEfEEKNS2_19plain_constant_typeINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEESA_E4typeEKSE_EERKS5_RKNS_10MatrixBaseISE_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.75") align 8 %81, ptr noundef nonnull align 8 dereferenceable(8) %82, ptr noundef nonnull align 1 dereferenceable(1) %76)
  %370 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEaSINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKNS_14CwiseNullaryOpINS4_18scalar_constant_opIfEEKS1_EESA_EEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %71, ptr noundef nonnull align 1 dereferenceable(1) %81)
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %81) #5
  br label %371

371:                                              ; preds = %362, %360
  call void @llvm.lifetime.start.p0(i64 24, ptr %83) #5
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEplIS2_EEKNS_13CwiseBinaryOpINS_8internal13scalar_sum_opIfNS6_6traitsIT_E6ScalarEEEKS2_KS9_EERKNS0_IS9_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.50") align 8 %83, ptr noundef nonnull align 1 dereferenceable(1) %71, ptr noundef nonnull align 1 dereferenceable(1) %67)
  %372 = load ptr, ptr %22, align 8, !tbaa !5
  %373 = getelementptr inbounds %class.GridCell, ptr %372, i32 0, i32 6
  %374 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEaSINS_13CwiseBinaryOpINS_8internal13scalar_sum_opIffEEKS1_S7_EEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %373, ptr noundef nonnull align 1 dereferenceable(1) %83)
  call void @llvm.lifetime.end.p0(i64 24, ptr %83) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %80) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %79) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %78) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %76) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %73) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %71) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %67) #5
  br label %375

375:                                              ; preds = %371, %326
  call void @llvm.lifetime.end.p0(i64 12, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  br label %376

376:                                              ; preds = %375
  %377 = load i32, ptr %5, align 4, !tbaa !9
  %378 = add nsw i32 %377, 1
  store i32 %378, ptr %5, align 4, !tbaa !9
  br label %85, !llvm.loop !54

379:                                              ; preds = %90
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEdVERKf(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4ZeroEv(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseNullaryOp.82") align 4) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_14CwiseNullaryOpINS_8internal18scalar_constant_opIfEES1_EEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

declare void @_ZN12SnowParticle16energyDerivativeEv(ptr dead_on_unwind writable sret(%"class.Eigen::Matrix.58") align 4, ptr noundef nonnull align 8 dereferenceable(1368)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { ptr, ptr } @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEEmlINS1_IfLi3ELi1ELi0ELi3ELi1EEEEEKNS_7ProductIS2_T_Li0EEERKNS0_IS7_EE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEpLINS_7ProductINS1_IfLi3ELi3ELi0ELi3ELi3EEES2_Li0EEEEERS2_RKNS0_IT_EE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEplINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKNS_14CwiseNullaryOpINS6_18scalar_constant_opIfEEKS2_EEKNS5_INS6_20scalar_difference_opIffEESC_KNS5_INS6_18scalar_quotient_opIffEESC_SE_EEEEEEEEKNS5_INS6_13scalar_sum_opIfNS6_6traitsIT_E6ScalarEEESC_KSQ_EERKNS0_ISQ_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseBinaryOp.91") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5EigenmlIfEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_opINS2_18promote_scalar_argIfT_Xsr5Eigen8internal14has_ReturnTypeINS_20ScalarBinaryOpTraitsIS5_fNS3_IS5_fEEEEEE5valueEE4typeEfEEKNS2_19plain_constant_typeINS1_INS2_20scalar_difference_opIffEEKNS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEKNS1_INS2_18scalar_quotient_opIffEESH_KNS_14CwiseNullaryOpINS2_18scalar_constant_opIfEESH_EEEEEESA_E4typeEKSR_EERKS5_RKNS_10MatrixBaseISR_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseBinaryOp.97") align 8, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(1)) #0

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmiINS_13CwiseBinaryOpINS_8internal18scalar_quotient_opIffEEKS2_KNS_14CwiseNullaryOpINS6_18scalar_constant_opIfEES9_EEEEEEKNS5_INS6_20scalar_difference_opIfNS6_6traitsIT_E6ScalarEEES9_KSI_EERKNS0_ISI_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseBinaryOp.103") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEdvIfEEKNS_13CwiseBinaryOpINS_8internal18scalar_quotient_opIfNS6_18promote_scalar_argIfT_Xsr5Eigen8internal14has_ReturnTypeINS_20ScalarBinaryOpTraitsIfS9_NS7_IfS9_EEEEEE5valueEE4typeEEEKS2_KNS6_19plain_constant_typeIS2_SE_E4typeEEERKS9_(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseBinaryOp.109") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEaSINS_13CwiseBinaryOpINS_8internal13scalar_sum_opIffEEKS1_KNS3_INS4_17scalar_product_opIffEEKNS_14CwiseNullaryOpINS4_18scalar_constant_opIfEES7_EEKNS3_INS4_20scalar_difference_opIffEES7_KNS3_INS4_18scalar_quotient_opIffEES7_SE_EEEEEEEEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(1)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEplINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKNS_14CwiseNullaryOpINS6_18scalar_constant_opIfEEKS2_EESC_EEEEKNS5_INS6_13scalar_sum_opIfNS6_6traitsIT_E6ScalarEEESC_KSI_EERKNS0_ISI_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseBinaryOp.119") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_13CwiseBinaryOpINS_8internal13scalar_sum_opIffEEKS1_KNS3_INS4_17scalar_product_opIffEEKNS_14CwiseNullaryOpINS4_18scalar_constant_opIfEES7_EES7_EEEEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5EigenmlIdEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_opINS2_18promote_scalar_argIfT_Xsr5Eigen8internal14has_ReturnTypeINS_20ScalarBinaryOpTraitsIS5_fNS3_IS5_fEEEEEE5valueEE4typeEfEEKNS2_19plain_constant_typeINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEESA_E4typeEKSE_EERKS5_RKNS_10MatrixBaseISE_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseBinaryOp.75") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(1)) #0

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEaSINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKNS_14CwiseNullaryOpINS4_18scalar_constant_opIfEEKS1_EESA_EEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(1)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEaSINS_13CwiseBinaryOpINS_8internal13scalar_sum_opIffEEKS1_S7_EEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(1)) #0 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 112}
!12 = !{!"_ZTS8GridMesh", !13, i64 0, !13, i64 24, !18, i64 48, !14, i64 60, !6, i64 72, !22, i64 80, !10, i64 84, !23, i64 88, !10, i64 112, !23, i64 120}
!13 = !{!"_ZTS7Bounds3", !14, i64 0, !14, i64 12}
!14 = !{!"_ZTSN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEE", !15, i64 0}
!15 = !{!"_ZTSN5Eigen15PlainObjectBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEE", !16, i64 0}
!16 = !{!"_ZTSN5Eigen12DenseStorageIfLi3ELi3ELi1ELi0EEE", !17, i64 0}
!17 = !{!"_ZTSN5Eigen8internal11plain_arrayIfLi3ELi0ELi0EEE", !7, i64 0}
!18 = !{!"_ZTSN5Eigen6MatrixIiLi3ELi1ELi0ELi3ELi1EEE", !19, i64 0}
!19 = !{!"_ZTSN5Eigen15PlainObjectBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEEEE", !20, i64 0}
!20 = !{!"_ZTSN5Eigen12DenseStorageIiLi3ELi3ELi1ELi0EEE", !21, i64 0}
!21 = !{!"_ZTSN5Eigen8internal11plain_arrayIiLi3ELi0ELi0EEE", !7, i64 0}
!22 = !{!"float", !7, i64 0}
!23 = !{!"_ZTSSt6vectorIP8GridCellSaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIP8GridCellSaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIP8GridCellSaIS1_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIP8GridCellSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!27 = !{!22, !22, i64 0}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = !{!31, !10, i64 4}
!31 = !{!"_ZTS8GridCell", !32, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !22, i64 16, !14, i64 20, !14, i64 32, !14, i64 44, !33, i64 56, !37, i64 80, !14, i64 104, !14, i64 116, !14, i64 128, !14, i64 140, !14, i64 152, !22, i64 164}
!32 = !{!"bool", !7, i64 0}
!33 = !{!"_ZTSSt6vectorIP12SnowParticleSaIS1_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIP12SnowParticleSaIS1_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIP12SnowParticleSaIS1_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIP12SnowParticleSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!37 = !{!"_ZTSSt6vectorIiSaIiEE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!41 = !{!31, !10, i64 8}
!42 = !{!31, !10, i64 12}
!43 = !{!12, !6, i64 72}
!44 = !{!45, !6, i64 1360}
!45 = !{!"_ZTS12SnowParticle", !22, i64 0, !22, i64 4, !22, i64 8, !14, i64 12, !14, i64 24, !46, i64 36, !46, i64 72, !46, i64 108, !46, i64 144, !46, i64 180, !14, i64 216, !46, i64 228, !46, i64 264, !46, i64 300, !7, i64 336, !7, i64 1104, !6, i64 1360}
!46 = !{!"_ZTSN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEE", !47, i64 0}
!47 = !{!"_ZTSN5Eigen15PlainObjectBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEEE", !48, i64 0}
!48 = !{!"_ZTSN5Eigen12DenseStorageIfLi9ELi3ELi3ELi0EEE", !49, i64 0}
!49 = !{!"_ZTSN5Eigen8internal11plain_arrayIfLi9ELi0ELi0EEE", !7, i64 0}
!50 = !{!51, !22, i64 28}
!51 = !{!"_ZTS20SnowParticleMaterial", !22, i64 0, !10, i64 4, !22, i64 8, !22, i64 12, !22, i64 16, !22, i64 20, !22, i64 24, !22, i64 28, !22, i64 32, !22, i64 36}
!52 = !{!53, !53, i64 0}
!53 = !{!"double", !7, i64 0}
!54 = distinct !{!54, !29}


; 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.Eigen::CwiseBinaryOp.42" = type <{ ptr, ptr, [8 x i8] }>
%"class.Eigen::CwiseBinaryOp.50" = type <{ ptr, ptr, [8 x i8] }>
%"class.Eigen::CwiseBinaryOp.75" = type <{ [4 x i8], %"class.Eigen::CwiseNullaryOp", [4 x i8], ptr, [8 x i8] }>
%"class.Eigen::CwiseNullaryOp" = type { [4 x i8], %"struct.Eigen::internal::scalar_constant_op" }
%"struct.Eigen::internal::scalar_constant_op" = type { float }
%"class.Eigen::Matrix" = type { %"class.Eigen::PlainObjectBase" }
%"class.Eigen::PlainObjectBase" = type { %"class.Eigen::DenseStorage" }
%"class.Eigen::DenseStorage" = type { %"struct.Eigen::internal::plain_array" }
%"struct.Eigen::internal::plain_array" = type { [3 x float] }
%"class.Eigen::CwiseNullaryOp.82" = type { [4 x i8], %"struct.Eigen::internal::scalar_constant_op" }
%"class.Eigen::Matrix.58" = type { %"class.Eigen::PlainObjectBase.59" }
%"class.Eigen::PlainObjectBase.59" = type { %"class.Eigen::DenseStorage.66" }
%"class.Eigen::DenseStorage.66" = type { %"struct.Eigen::internal::plain_array.67" }
%"struct.Eigen::internal::plain_array.67" = type { [9 x float] }
%"class.Eigen::Product" = type { ptr, ptr }
%"class.Eigen::CwiseBinaryOp.91" = type <{ ptr, %"class.Eigen::CwiseBinaryOp.97", [8 x i8] }>
%"class.Eigen::CwiseBinaryOp.97" = type <{ [4 x i8], %"class.Eigen::CwiseNullaryOp", [4 x i8], %"class.Eigen::CwiseBinaryOp.103", [8 x i8] }>
%"class.Eigen::CwiseBinaryOp.103" = type <{ ptr, %"class.Eigen::CwiseBinaryOp.109", [8 x i8] }>
%"class.Eigen::CwiseBinaryOp.109" = type <{ ptr, %"class.Eigen::CwiseNullaryOp", [8 x i8] }>
%"class.Eigen::CwiseBinaryOp.119" = type <{ ptr, %"class.Eigen::CwiseBinaryOp.75", [8 x i8] }>

@_ZL6deltaT = external hidden global float, align 4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE7setZeroEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #0 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIfNS6_6traitsIT_E6ScalarEEEKS2_KS9_EERKNS0_IS9_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseBinaryOp.42") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIffEEKS1_S7_EEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEplIS2_EEKNS_13CwiseBinaryOpINS_8internal13scalar_sum_opIfNS6_6traitsIT_E6ScalarEEEKS2_KS9_EERKNS0_IS9_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseBinaryOp.50") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #0 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef float @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5EigenmlIfEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_opINS2_18promote_scalar_argIfT_Xsr5Eigen8internal14has_ReturnTypeINS_20ScalarBinaryOpTraitsIS5_fNS3_IS5_fEEEEEE5valueEE4typeEfEEKNS2_19plain_constant_typeINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEESA_E4typeEKSE_EERKS5_RKNS_10MatrixBaseISE_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseBinaryOp.75") align 8, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8GridMesh21updateVelocityInGridsERKN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEE(ptr noundef nonnull align 8 dereferenceable(144) %0, ptr noundef nonnull align 4 dereferenceable(12) %1) local_unnamed_addr #3 align 2 {
  %3 = alloca %"class.Eigen::Matrix", align 4
  %4 = alloca %"class.Eigen::CwiseNullaryOp.82", align 4
  %5 = alloca %"class.Eigen::Matrix", align 4
  %6 = alloca %"class.Eigen::Matrix.58", align 4
  %7 = alloca %"class.Eigen::Product", align 8
  %8 = alloca %"class.Eigen::CwiseBinaryOp.91", align 8
  %9 = alloca %"class.Eigen::CwiseBinaryOp.97", align 8
  %10 = alloca %"class.Eigen::CwiseBinaryOp.103", align 8
  %11 = alloca %"class.Eigen::CwiseBinaryOp.109", align 8
  %12 = alloca %"class.Eigen::Matrix", align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca %"class.Eigen::Matrix", align 4
  %17 = alloca %"class.Eigen::CwiseBinaryOp.119", align 8
  %18 = alloca %"class.Eigen::CwiseBinaryOp.75", align 8
  %19 = alloca %"class.Eigen::Matrix", align 4
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca %"class.Eigen::Matrix", align 4
  %24 = alloca %"class.Eigen::CwiseBinaryOp.42", align 8
  %25 = alloca %"class.Eigen::Matrix", align 4
  %26 = alloca float, align 4
  %27 = alloca float, align 4
  %28 = alloca %"class.Eigen::Matrix", align 4
  %29 = alloca float, align 4
  %30 = alloca %"class.Eigen::CwiseBinaryOp.75", align 8
  %31 = alloca double, align 8
  %32 = alloca %"class.Eigen::CwiseBinaryOp.50", align 8
  %33 = alloca %"class.Eigen::Matrix", align 4
  %34 = alloca float, align 4
  %35 = alloca float, align 4
  %36 = alloca float, align 4
  %37 = alloca %"class.Eigen::Matrix", align 4
  %38 = alloca %"class.Eigen::CwiseBinaryOp.42", align 8
  %39 = alloca %"class.Eigen::Matrix", align 4
  %40 = alloca float, align 4
  %41 = alloca float, align 4
  %42 = alloca %"class.Eigen::Matrix", align 4
  %43 = alloca float, align 4
  %44 = alloca %"class.Eigen::CwiseBinaryOp.75", align 8
  %45 = alloca double, align 8
  %46 = alloca %"class.Eigen::CwiseBinaryOp.50", align 8
  %47 = alloca %"class.Eigen::Matrix", align 4
  %48 = alloca float, align 4
  %49 = alloca float, align 4
  %50 = alloca float, align 4
  %51 = alloca %"class.Eigen::Matrix", align 4
  %52 = alloca %"class.Eigen::CwiseBinaryOp.42", align 8
  %53 = alloca %"class.Eigen::Matrix", align 4
  %54 = alloca float, align 4
  %55 = alloca float, align 4
  %56 = alloca %"class.Eigen::Matrix", align 4
  %57 = alloca float, align 4
  %58 = alloca %"class.Eigen::CwiseBinaryOp.75", align 8
  %59 = alloca double, align 8
  %60 = alloca %"class.Eigen::CwiseBinaryOp.50", align 8
  %61 = getelementptr inbounds i8, ptr %0, i64 112
  %62 = load i32, ptr %61, align 8, !tbaa !5
  %63 = icmp sgt i32 %62, 0
  br i1 %63, label %.lr.ph74, label %._crit_edge75

.lr.ph74:                                         ; preds = %2
  %64 = getelementptr inbounds i8, ptr %0, i64 120
  %65 = getelementptr inbounds i8, ptr %7, i64 8
  %66 = getelementptr inbounds i8, ptr %0, i64 88
  %67 = getelementptr inbounds i8, ptr %0, i64 60
  %68 = getelementptr inbounds i8, ptr %0, i64 12
  %69 = getelementptr inbounds i8, ptr %0, i64 72
  br label %70

._crit_edge75:                                    ; preds = %248, %2
  ret void

70:                                               ; preds = %.lr.ph74, %248
  %indvars.iv77 = phi i64 [ 0, %.lr.ph74 ], [ %indvars.iv.next78, %248 ]
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8GridCellSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %64, i64 noundef %indvars.iv77) #5
  %72 = load ptr, ptr %71, align 8, !tbaa !25
  %73 = getelementptr inbounds i8, ptr %72, i64 16
  %74 = getelementptr inbounds i8, ptr %72, i64 20
  %75 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEdVERKf(ptr noundef nonnull align 1 dereferenceable(1) %74, ptr noundef nonnull align 4 dereferenceable(4) %73)
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8GridCellSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %64, i64 noundef %indvars.iv77) #5
  %77 = load ptr, ptr %76, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  call void @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4ZeroEv(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseNullaryOp.82") align 4 %4)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_14CwiseNullaryOpINS_8internal18scalar_constant_opIfEES1_EEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 1 dereferenceable(1) %4)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  %78 = getelementptr inbounds i8, ptr %77, i64 56
  %79 = call noundef i64 @_ZNKSt6vectorIP12SnowParticleSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %78) #5
  %.not = icmp eq i64 %79, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %70
  %80 = getelementptr inbounds i8, ptr %77, i64 80
  br label %120

._crit_edge:                                      ; preds = %137, %70
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %8) #5
  %81 = getelementptr inbounds i8, ptr %77, i64 20
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #5
  %82 = getelementptr inbounds i8, ptr %77, i64 16
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEdvIfEEKNS_13CwiseBinaryOpINS_8internal18scalar_quotient_opIfNS6_18promote_scalar_argIfT_Xsr5Eigen8internal14has_ReturnTypeINS_20ScalarBinaryOpTraitsIfS9_NS7_IfS9_EEEEEE5valueEE4typeEEEKS2_KNS6_19plain_constant_typeIS2_SE_E4typeEEERKS9_(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.109") align 8 %11, ptr noundef nonnull align 1 dereferenceable(1) %3, ptr noundef nonnull align 4 dereferenceable(4) %82)
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmiINS_13CwiseBinaryOpINS_8internal18scalar_quotient_opIffEEKS2_KNS_14CwiseNullaryOpINS6_18scalar_constant_opIfEES9_EEEEEEKNS5_INS6_20scalar_difference_opIfNS6_6traitsIT_E6ScalarEEES9_KSI_EERKNS0_ISI_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.103") align 8 %10, ptr noundef nonnull align 1 dereferenceable(1) %1, ptr noundef nonnull align 1 dereferenceable(1) %11)
  call void @_ZN5EigenmlIfEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_opINS2_18promote_scalar_argIfT_Xsr5Eigen8internal14has_ReturnTypeINS_20ScalarBinaryOpTraitsIS5_fNS3_IS5_fEEEEEE5valueEE4typeEfEEKNS2_19plain_constant_typeINS1_INS2_20scalar_difference_opIffEEKNS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEKNS1_INS2_18scalar_quotient_opIffEESH_KNS_14CwiseNullaryOpINS2_18scalar_constant_opIfEESH_EEEEEESA_E4typeEKSR_EERKS5_RKNS_10MatrixBaseISR_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.97") align 8 %9, ptr noundef nonnull align 4 dereferenceable(4) @_ZL6deltaT, ptr noundef nonnull align 1 dereferenceable(1) %10)
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEplINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKNS_14CwiseNullaryOpINS6_18scalar_constant_opIfEEKS2_EEKNS5_INS6_20scalar_difference_opIffEESC_KNS5_INS6_18scalar_quotient_opIffEESC_SE_EEEEEEEEKNS5_INS6_13scalar_sum_opIfNS6_6traitsIT_E6ScalarEEESC_KSQ_EERKNS0_ISQ_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.91") align 8 %8, ptr noundef nonnull align 1 dereferenceable(1) %81, ptr noundef nonnull align 1 dereferenceable(1) %9)
  %83 = getelementptr inbounds i8, ptr %77, i64 32
  %84 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEaSINS_13CwiseBinaryOpINS_8internal13scalar_sum_opIffEEKS1_KNS3_INS4_17scalar_product_opIffEEKNS_14CwiseNullaryOpINS4_18scalar_constant_opIfEES7_EEKNS3_INS4_20scalar_difference_opIffEES7_KNS3_INS4_18scalar_quotient_opIffEES7_SE_EEEEEEEEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %83, ptr noundef nonnull align 1 dereferenceable(1) %8)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #5
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP8GridCellSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %66, i64 noundef %indvars.iv77) #5
  %86 = load ptr, ptr %85, align 8, !tbaa !25
  %87 = getelementptr inbounds i8, ptr %86, i64 4
  %88 = load i32, ptr %87, align 4, !tbaa !26
  %89 = getelementptr inbounds i8, ptr %86, i64 8
  %90 = load i32, ptr %89, align 8, !tbaa !37
  %91 = getelementptr inbounds i8, ptr %86, i64 12
  %92 = load i32, ptr %91, align 4, !tbaa !38
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #5
  %93 = sitofp i32 %88 to double
  %94 = fadd double %93, 5.000000e-01
  %95 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %67)
  %96 = load float, ptr %95, align 4, !tbaa !39
  %97 = fpext float %96 to double
  %98 = fmul double %94, %97
  %99 = fptrunc double %98 to float
  store float %99, ptr %13, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #5
  %100 = sitofp i32 %90 to double
  %101 = fadd double %100, 5.000000e-01
  %102 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %67)
  %103 = load float, ptr %102, align 4, !tbaa !39
  %104 = fpext float %103 to double
  %105 = fmul double %101, %104
  %106 = fptrunc double %105 to float
  store float %106, ptr %14, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #5
  %107 = sitofp i32 %92 to double
  %108 = fadd double %107, 5.000000e-01
  %109 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %67)
  %110 = load float, ptr %109, align 4, !tbaa !39
  %111 = fpext float %110 to double
  %112 = fmul double %108, %111
  %113 = fptrunc double %112 to float
  store float %113, ptr %15, align 4, !tbaa !39
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %12, ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %15)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #5
  %114 = getelementptr inbounds i8, ptr %86, i64 32
  call void @_ZN5EigenmlIfEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_opINS2_18promote_scalar_argIfT_Xsr5Eigen8internal14has_ReturnTypeINS_20ScalarBinaryOpTraitsIS5_fNS3_IS5_fEEEEEE5valueEE4typeEfEEKNS2_19plain_constant_typeINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEESA_E4typeEKSE_EERKS5_RKNS_10MatrixBaseISE_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.75") align 8 %18, ptr noundef nonnull align 4 dereferenceable(4) @_ZL6deltaT, ptr noundef nonnull align 1 dereferenceable(1) %114)
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEplINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKNS_14CwiseNullaryOpINS6_18scalar_constant_opIfEEKS2_EESC_EEEEKNS5_INS6_13scalar_sum_opIfNS6_6traitsIT_E6ScalarEEESC_KSI_EERKNS0_ISI_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.119") align 8 %17, ptr noundef nonnull align 1 dereferenceable(1) %12, ptr noundef nonnull align 1 dereferenceable(1) %18)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_13CwiseBinaryOpINS_8internal13scalar_sum_opIffEEKS1_KNS3_INS4_17scalar_product_opIffEEKNS_14CwiseNullaryOpINS4_18scalar_constant_opIfEES7_EES7_EEEEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 1 dereferenceable(1) %17)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %17) #5
  %115 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %16)
  %116 = load float, ptr %115, align 4, !tbaa !39
  %117 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %68)
  %118 = load float, ptr %117, align 4, !tbaa !39
  %119 = fcmp ogt float %116, %118
  br i1 %119, label %146, label %140

120:                                              ; preds = %.lr.ph, %137
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %137 ]
  %121 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP12SnowParticleSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %78, i64 noundef %indvars.iv) #5
  %122 = load ptr, ptr %121, align 8, !tbaa !25
  %123 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %80, i64 noundef %indvars.iv) #5
  %124 = load i32, ptr %123, align 4, !tbaa !40
  %125 = getelementptr inbounds i8, ptr %122, i64 1104
  %126 = sext i32 %124 to i64
  %127 = getelementptr inbounds [64 x float], ptr %125, i64 0, i64 %126
  %128 = load float, ptr %127, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #5
  %129 = getelementptr inbounds i8, ptr %122, i64 336
  %130 = getelementptr inbounds [64 x %"class.Eigen::Matrix"], ptr %129, i64 0, i64 %126
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %130)
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %6) #5
  call void @_ZN12SnowParticle16energyDerivativeEv(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Matrix.58") align 4 %6, ptr noundef nonnull align 8 dereferenceable(1368) %122)
  %131 = fcmp ogt float %128, 0x3F1A36E2E0000000
  br i1 %131, label %132, label %137

132:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5
  %133 = call { ptr, ptr } @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEEmlINS1_IfLi3ELi1ELi0ELi3ELi1EEEEEKNS_7ProductIS2_T_Li0EEERKNS0_IS7_EE(ptr noundef nonnull align 1 dereferenceable(1) %6, ptr noundef nonnull align 1 dereferenceable(1) %5)
  %134 = extractvalue { ptr, ptr } %133, 0
  store ptr %134, ptr %7, align 8
  %135 = extractvalue { ptr, ptr } %133, 1
  store ptr %135, ptr %65, align 8
  %136 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEpLINS_7ProductINS1_IfLi3ELi3ELi0ELi3ELi3EEES2_Li0EEEEERS2_RKNS0_IT_EE(ptr noundef nonnull align 1 dereferenceable(1) %3, ptr noundef nonnull align 1 dereferenceable(1) %7)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  br label %137

137:                                              ; preds = %132, %120
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %138 = call noundef i64 @_ZNKSt6vectorIP12SnowParticleSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %78) #5
  %139 = icmp ugt i64 %138, %indvars.iv.next
  br i1 %139, label %120, label %._crit_edge, !llvm.loop !41

140:                                              ; preds = %._crit_edge
  %141 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %16)
  %142 = load float, ptr %141, align 4, !tbaa !39
  %143 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %0)
  %144 = load float, ptr %143, align 4, !tbaa !39
  %145 = fcmp olt float %142, %144
  br i1 %145, label %146, label %172

146:                                              ; preds = %140, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %19) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #5
  store float 0.000000e+00, ptr %20, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #5
  store float 0.000000e+00, ptr %21, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #5
  store float 0.000000e+00, ptr %22, align 4, !tbaa !39
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %19, ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 4 dereferenceable(4) %22)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %23) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %24) #5
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIfNS6_6traitsIT_E6ScalarEEEKS2_KS9_EERKNS0_IS9_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.42") align 8 %24, ptr noundef nonnull align 1 dereferenceable(1) %114, ptr noundef nonnull align 1 dereferenceable(1) %19)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIffEEKS1_S7_EEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %23, ptr noundef nonnull align 1 dereferenceable(1) %24)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %25) #5
  %147 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %23)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %26) #5
  store float 0.000000e+00, ptr %26, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %27) #5
  store float 0.000000e+00, ptr %27, align 4, !tbaa !39
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %25, ptr noundef nonnull align 4 dereferenceable(4) %147, ptr noundef nonnull align 4 dereferenceable(4) %26, ptr noundef nonnull align 4 dereferenceable(4) %27)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %28) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %29) #5
  store float 0.000000e+00, ptr %29, align 4, !tbaa !39
  %148 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %23)
  %149 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %23)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %28, ptr noundef nonnull align 4 dereferenceable(4) %29, ptr noundef nonnull align 4 dereferenceable(4) %148, ptr noundef nonnull align 4 dereferenceable(4) %149)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #5
  %150 = call noundef float @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1) %25)
  %151 = call noundef float @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1) %28)
  %152 = load ptr, ptr %69, align 8, !tbaa !43
  %153 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP12SnowParticleSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %152, i64 noundef 0) #5
  %154 = load ptr, ptr %153, align 8, !tbaa !25
  %155 = getelementptr inbounds i8, ptr %154, i64 1360
  %156 = load ptr, ptr %155, align 8, !tbaa !44
  %157 = getelementptr inbounds i8, ptr %156, i64 28
  %158 = load float, ptr %157, align 4, !tbaa !50
  %159 = fmul float %150, %158
  %160 = fcmp olt float %151, %159
  %161 = fpext float %151 to double
  %162 = fcmp olt double %161, 0x3D719799812DEA11
  %or.cond = or i1 %162, %160
  br i1 %or.cond, label %163, label %165

163:                                              ; preds = %146
  %164 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE7setZeroEv(ptr noundef nonnull align 1 dereferenceable(1) %23)
  br label %170

165:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %30) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #5
  %166 = fdiv float %159, %151
  %167 = fpext float %166 to double
  %168 = fsub double 1.000000e+00, %167
  store double %168, ptr %31, align 8, !tbaa !52
  call void @_ZN5EigenmlIdEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_opINS2_18promote_scalar_argIfT_Xsr5Eigen8internal14has_ReturnTypeINS_20ScalarBinaryOpTraitsIS5_fNS3_IS5_fEEEEEE5valueEE4typeEfEEKNS2_19plain_constant_typeINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEESA_E4typeEKSE_EERKS5_RKNS_10MatrixBaseISE_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.75") align 8 %30, ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 1 dereferenceable(1) %28)
  %169 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEaSINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKNS_14CwiseNullaryOpINS4_18scalar_constant_opIfEEKS1_EESA_EEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %23, ptr noundef nonnull align 1 dereferenceable(1) %30)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %30) #5
  br label %170

170:                                              ; preds = %165, %163
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %32) #5
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEplIS2_EEKNS_13CwiseBinaryOpINS_8internal13scalar_sum_opIfNS6_6traitsIT_E6ScalarEEEKS2_KS9_EERKNS0_IS9_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.50") align 8 %32, ptr noundef nonnull align 1 dereferenceable(1) %23, ptr noundef nonnull align 1 dereferenceable(1) %19)
  %171 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEaSINS_13CwiseBinaryOpINS_8internal13scalar_sum_opIffEEKS1_S7_EEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %114, ptr noundef nonnull align 1 dereferenceable(1) %32)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %32) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %28) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %25) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %19) #5
  br label %172

172:                                              ; preds = %170, %140
  %173 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %16)
  %174 = load float, ptr %173, align 4, !tbaa !39
  %175 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %68)
  %176 = load float, ptr %175, align 4, !tbaa !39
  %177 = fcmp ogt float %174, %176
  br i1 %177, label %184, label %178

178:                                              ; preds = %172
  %179 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %16)
  %180 = load float, ptr %179, align 4, !tbaa !39
  %181 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %0)
  %182 = load float, ptr %181, align 4, !tbaa !39
  %183 = fcmp olt float %180, %182
  br i1 %183, label %184, label %210

184:                                              ; preds = %178, %172
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %33) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %34) #5
  store float 0.000000e+00, ptr %34, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %35) #5
  store float 0.000000e+00, ptr %35, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %36) #5
  store float 0.000000e+00, ptr %36, align 4, !tbaa !39
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %33, ptr noundef nonnull align 4 dereferenceable(4) %34, ptr noundef nonnull align 4 dereferenceable(4) %35, ptr noundef nonnull align 4 dereferenceable(4) %36)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %36) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %35) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %34) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %37) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %38) #5
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIfNS6_6traitsIT_E6ScalarEEEKS2_KS9_EERKNS0_IS9_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.42") align 8 %38, ptr noundef nonnull align 1 dereferenceable(1) %114, ptr noundef nonnull align 1 dereferenceable(1) %33)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIffEEKS1_S7_EEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %37, ptr noundef nonnull align 1 dereferenceable(1) %38)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %38) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %39) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %40) #5
  store float 0.000000e+00, ptr %40, align 4, !tbaa !39
  %185 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %37)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %41) #5
  store float 0.000000e+00, ptr %41, align 4, !tbaa !39
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %39, ptr noundef nonnull align 4 dereferenceable(4) %40, ptr noundef nonnull align 4 dereferenceable(4) %185, ptr noundef nonnull align 4 dereferenceable(4) %41)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %41) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %40) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %42) #5
  %186 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %37)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %43) #5
  store float 0.000000e+00, ptr %43, align 4, !tbaa !39
  %187 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %37)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %42, ptr noundef nonnull align 4 dereferenceable(4) %186, ptr noundef nonnull align 4 dereferenceable(4) %43, ptr noundef nonnull align 4 dereferenceable(4) %187)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %43) #5
  %188 = call noundef float @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1) %39)
  %189 = call noundef float @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1) %42)
  %190 = load ptr, ptr %69, align 8, !tbaa !43
  %191 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP12SnowParticleSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %190, i64 noundef 0) #5
  %192 = load ptr, ptr %191, align 8, !tbaa !25
  %193 = getelementptr inbounds i8, ptr %192, i64 1360
  %194 = load ptr, ptr %193, align 8, !tbaa !44
  %195 = getelementptr inbounds i8, ptr %194, i64 28
  %196 = load float, ptr %195, align 4, !tbaa !50
  %197 = fmul float %188, %196
  %198 = fcmp olt float %189, %197
  %199 = fpext float %189 to double
  %200 = fcmp olt double %199, 0x3D719799812DEA11
  %or.cond68 = or i1 %200, %198
  br i1 %or.cond68, label %201, label %203

201:                                              ; preds = %184
  %202 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE7setZeroEv(ptr noundef nonnull align 1 dereferenceable(1) %37)
  br label %208

203:                                              ; preds = %184
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %44) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %45) #5
  %204 = fdiv float %197, %189
  %205 = fpext float %204 to double
  %206 = fsub double 1.000000e+00, %205
  store double %206, ptr %45, align 8, !tbaa !52
  call void @_ZN5EigenmlIdEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_opINS2_18promote_scalar_argIfT_Xsr5Eigen8internal14has_ReturnTypeINS_20ScalarBinaryOpTraitsIS5_fNS3_IS5_fEEEEEE5valueEE4typeEfEEKNS2_19plain_constant_typeINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEESA_E4typeEKSE_EERKS5_RKNS_10MatrixBaseISE_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.75") align 8 %44, ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull align 1 dereferenceable(1) %42)
  %207 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEaSINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKNS_14CwiseNullaryOpINS4_18scalar_constant_opIfEEKS1_EESA_EEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %37, ptr noundef nonnull align 1 dereferenceable(1) %44)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %45) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %44) #5
  br label %208

208:                                              ; preds = %203, %201
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %46) #5
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEplIS2_EEKNS_13CwiseBinaryOpINS_8internal13scalar_sum_opIfNS6_6traitsIT_E6ScalarEEEKS2_KS9_EERKNS0_IS9_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.50") align 8 %46, ptr noundef nonnull align 1 dereferenceable(1) %37, ptr noundef nonnull align 1 dereferenceable(1) %33)
  %209 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEaSINS_13CwiseBinaryOpINS_8internal13scalar_sum_opIffEEKS1_S7_EEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %114, ptr noundef nonnull align 1 dereferenceable(1) %46)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %46) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %42) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %39) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %37) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %33) #5
  br label %210

210:                                              ; preds = %208, %178
  %211 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %16)
  %212 = load float, ptr %211, align 4, !tbaa !39
  %213 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %68)
  %214 = load float, ptr %213, align 4, !tbaa !39
  %215 = fcmp ogt float %212, %214
  br i1 %215, label %222, label %216

216:                                              ; preds = %210
  %217 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %16)
  %218 = load float, ptr %217, align 4, !tbaa !39
  %219 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %0)
  %220 = load float, ptr %219, align 4, !tbaa !39
  %221 = fcmp olt float %218, %220
  br i1 %221, label %222, label %248

222:                                              ; preds = %216, %210
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %47) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %48) #5
  store float 0.000000e+00, ptr %48, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %49) #5
  store float 0.000000e+00, ptr %49, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %50) #5
  store float 0.000000e+00, ptr %50, align 4, !tbaa !39
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %47, ptr noundef nonnull align 4 dereferenceable(4) %48, ptr noundef nonnull align 4 dereferenceable(4) %49, ptr noundef nonnull align 4 dereferenceable(4) %50)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %50) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %49) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %48) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %51) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %52) #5
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIfNS6_6traitsIT_E6ScalarEEEKS2_KS9_EERKNS0_IS9_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.42") align 8 %52, ptr noundef nonnull align 1 dereferenceable(1) %114, ptr noundef nonnull align 1 dereferenceable(1) %47)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIffEEKS1_S7_EEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %51, ptr noundef nonnull align 1 dereferenceable(1) %52)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %52) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %53) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %54) #5
  store float 0.000000e+00, ptr %54, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %55) #5
  store float 0.000000e+00, ptr %55, align 4, !tbaa !39
  %223 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %51)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %53, ptr noundef nonnull align 4 dereferenceable(4) %54, ptr noundef nonnull align 4 dereferenceable(4) %55, ptr noundef nonnull align 4 dereferenceable(4) %223)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %55) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %54) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %56) #5
  %224 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %51)
  %225 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %51)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %57) #5
  store float 0.000000e+00, ptr %57, align 4, !tbaa !39
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %56, ptr noundef nonnull align 4 dereferenceable(4) %224, ptr noundef nonnull align 4 dereferenceable(4) %225, ptr noundef nonnull align 4 dereferenceable(4) %57)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %57) #5
  %226 = call noundef float @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1) %53)
  %227 = call noundef float @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1) %56)
  %228 = load ptr, ptr %69, align 8, !tbaa !43
  %229 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP12SnowParticleSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %228, i64 noundef 0) #5
  %230 = load ptr, ptr %229, align 8, !tbaa !25
  %231 = getelementptr inbounds i8, ptr %230, i64 1360
  %232 = load ptr, ptr %231, align 8, !tbaa !44
  %233 = getelementptr inbounds i8, ptr %232, i64 28
  %234 = load float, ptr %233, align 4, !tbaa !50
  %235 = fmul float %226, %234
  %236 = fcmp olt float %227, %235
  %237 = fpext float %227 to double
  %238 = fcmp olt double %237, 0x3D719799812DEA11
  %or.cond70 = or i1 %238, %236
  br i1 %or.cond70, label %239, label %241

239:                                              ; preds = %222
  %240 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE7setZeroEv(ptr noundef nonnull align 1 dereferenceable(1) %51)
  br label %246

241:                                              ; preds = %222
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %58) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %59) #5
  %242 = fdiv float %235, %227
  %243 = fpext float %242 to double
  %244 = fsub double 1.000000e+00, %243
  store double %244, ptr %59, align 8, !tbaa !52
  call void @_ZN5EigenmlIdEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_opINS2_18promote_scalar_argIfT_Xsr5Eigen8internal14has_ReturnTypeINS_20ScalarBinaryOpTraitsIS5_fNS3_IS5_fEEEEEE5valueEE4typeEfEEKNS2_19plain_constant_typeINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEESA_E4typeEKSE_EERKS5_RKNS_10MatrixBaseISE_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.75") align 8 %58, ptr noundef nonnull align 8 dereferenceable(8) %59, ptr noundef nonnull align 1 dereferenceable(1) %56)
  %245 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEaSINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKNS_14CwiseNullaryOpINS4_18scalar_constant_opIfEEKS1_EESA_EEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %51, ptr noundef nonnull align 1 dereferenceable(1) %58)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %59) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %58) #5
  br label %246

246:                                              ; preds = %241, %239
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %60) #5
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEplIS2_EEKNS_13CwiseBinaryOpINS_8internal13scalar_sum_opIfNS6_6traitsIT_E6ScalarEEEKS2_KS9_EERKNS0_IS9_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.50") align 8 %60, ptr noundef nonnull align 1 dereferenceable(1) %51, ptr noundef nonnull align 1 dereferenceable(1) %47)
  %247 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEaSINS_13CwiseBinaryOpINS_8internal13scalar_sum_opIffEEKS1_S7_EEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %114, ptr noundef nonnull align 1 dereferenceable(1) %60)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %60) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %56) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %53) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %51) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %47) #5
  br label %248

248:                                              ; preds = %246, %216
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %12) #5
  %indvars.iv.next78 = add nuw nsw i64 %indvars.iv77, 1
  %249 = load i32, ptr %61, align 8, !tbaa !5
  %250 = sext i32 %249 to i64
  %251 = icmp slt i64 %indvars.iv.next78, %250
  br i1 %251, label %70, label %._crit_edge75, !llvm.loop !54
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEdVERKf(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4ZeroEv(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseNullaryOp.82") align 4) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_14CwiseNullaryOpINS_8internal18scalar_constant_opIfEES1_EEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

declare void @_ZN12SnowParticle16energyDerivativeEv(ptr dead_on_unwind writable sret(%"class.Eigen::Matrix.58") align 4, ptr noundef nonnull align 8 dereferenceable(1368)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { ptr, ptr } @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEEmlINS1_IfLi3ELi1ELi0ELi3ELi1EEEEEKNS_7ProductIS2_T_Li0EEERKNS0_IS7_EE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEpLINS_7ProductINS1_IfLi3ELi3ELi0ELi3ELi3EEES2_Li0EEEEERS2_RKNS0_IT_EE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEplINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKNS_14CwiseNullaryOpINS6_18scalar_constant_opIfEEKS2_EEKNS5_INS6_20scalar_difference_opIffEESC_KNS5_INS6_18scalar_quotient_opIffEESC_SE_EEEEEEEEKNS5_INS6_13scalar_sum_opIfNS6_6traitsIT_E6ScalarEEESC_KSQ_EERKNS0_ISQ_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseBinaryOp.91") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5EigenmlIfEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_opINS2_18promote_scalar_argIfT_Xsr5Eigen8internal14has_ReturnTypeINS_20ScalarBinaryOpTraitsIS5_fNS3_IS5_fEEEEEE5valueEE4typeEfEEKNS2_19plain_constant_typeINS1_INS2_20scalar_difference_opIffEEKNS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEKNS1_INS2_18scalar_quotient_opIffEESH_KNS_14CwiseNullaryOpINS2_18scalar_constant_opIfEESH_EEEEEESA_E4typeEKSR_EERKS5_RKNS_10MatrixBaseISR_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseBinaryOp.97") align 8, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmiINS_13CwiseBinaryOpINS_8internal18scalar_quotient_opIffEEKS2_KNS_14CwiseNullaryOpINS6_18scalar_constant_opIfEES9_EEEEEEKNS5_INS6_20scalar_difference_opIfNS6_6traitsIT_E6ScalarEEES9_KSI_EERKNS0_ISI_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseBinaryOp.103") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEdvIfEEKNS_13CwiseBinaryOpINS_8internal18scalar_quotient_opIfNS6_18promote_scalar_argIfT_Xsr5Eigen8internal14has_ReturnTypeINS_20ScalarBinaryOpTraitsIfS9_NS7_IfS9_EEEEEE5valueEE4typeEEEKS2_KNS6_19plain_constant_typeIS2_SE_E4typeEEERKS9_(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseBinaryOp.109") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEaSINS_13CwiseBinaryOpINS_8internal13scalar_sum_opIffEEKS1_KNS3_INS4_17scalar_product_opIffEEKNS_14CwiseNullaryOpINS4_18scalar_constant_opIfEES7_EEKNS3_INS4_20scalar_difference_opIffEES7_KNS3_INS4_18scalar_quotient_opIffEES7_SE_EEEEEEEEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEplINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKNS_14CwiseNullaryOpINS6_18scalar_constant_opIfEEKS2_EESC_EEEEKNS5_INS6_13scalar_sum_opIfNS6_6traitsIT_E6ScalarEEESC_KSI_EERKNS0_ISI_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseBinaryOp.119") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_13CwiseBinaryOpINS_8internal13scalar_sum_opIffEEKS1_KNS3_INS4_17scalar_product_opIffEEKNS_14CwiseNullaryOpINS4_18scalar_constant_opIfEES7_EES7_EEEEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5EigenmlIdEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_opINS2_18promote_scalar_argIfT_Xsr5Eigen8internal14has_ReturnTypeINS_20ScalarBinaryOpTraitsIS5_fNS3_IS5_fEEEEEE5valueEE4typeEfEEKNS2_19plain_constant_typeINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEESA_E4typeEKSE_EERKS5_RKNS_10MatrixBaseISE_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseBinaryOp.75") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEaSINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKNS_14CwiseNullaryOpINS4_18scalar_constant_opIfEEKS1_EESA_EEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEaSINS_13CwiseBinaryOpINS_8internal13scalar_sum_opIffEEKS1_S7_EEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #0 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !20, i64 112}
!6 = !{!"_ZTS8GridMesh", !7, i64 0, !7, i64 24, !14, i64 48, !8, i64 60, !18, i64 72, !19, i64 80, !20, i64 84, !21, i64 88, !20, i64 112, !21, i64 120}
!7 = !{!"_ZTS7Bounds3", !8, i64 0, !8, i64 12}
!8 = !{!"_ZTSN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEE", !9, i64 0}
!9 = !{!"_ZTSN5Eigen15PlainObjectBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEE", !10, i64 0}
!10 = !{!"_ZTSN5Eigen12DenseStorageIfLi3ELi3ELi1ELi0EEE", !11, i64 0}
!11 = !{!"_ZTSN5Eigen8internal11plain_arrayIfLi3ELi0ELi0EEE", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!"_ZTSN5Eigen6MatrixIiLi3ELi1ELi0ELi3ELi1EEE", !15, i64 0}
!15 = !{!"_ZTSN5Eigen15PlainObjectBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEEEE", !16, i64 0}
!16 = !{!"_ZTSN5Eigen12DenseStorageIiLi3ELi3ELi1ELi0EEE", !17, i64 0}
!17 = !{!"_ZTSN5Eigen8internal11plain_arrayIiLi3ELi0ELi0EEE", !12, i64 0}
!18 = !{!"any pointer", !12, i64 0}
!19 = !{!"float", !12, i64 0}
!20 = !{!"int", !12, i64 0}
!21 = !{!"_ZTSSt6vectorIP8GridCellSaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIP8GridCellSaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIP8GridCellSaIS1_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIP8GridCellSaIS1_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!25 = !{!18, !18, i64 0}
!26 = !{!27, !20, i64 4}
!27 = !{!"_ZTS8GridCell", !28, i64 0, !20, i64 4, !20, i64 8, !20, i64 12, !19, i64 16, !8, i64 20, !8, i64 32, !8, i64 44, !29, i64 56, !33, i64 80, !8, i64 104, !8, i64 116, !8, i64 128, !8, i64 140, !8, i64 152, !19, i64 164}
!28 = !{!"bool", !12, i64 0}
!29 = !{!"_ZTSSt6vectorIP12SnowParticleSaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIP12SnowParticleSaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIP12SnowParticleSaIS1_EE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIP12SnowParticleSaIS1_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!33 = !{!"_ZTSSt6vectorIiSaIiEE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!37 = !{!27, !20, i64 8}
!38 = !{!27, !20, i64 12}
!39 = !{!19, !19, i64 0}
!40 = !{!20, !20, i64 0}
!41 = distinct !{!41, !42}
!42 = !{!"llvm.loop.mustprogress"}
!43 = !{!6, !18, i64 72}
!44 = !{!45, !18, i64 1360}
!45 = !{!"_ZTS12SnowParticle", !19, i64 0, !19, i64 4, !19, i64 8, !8, i64 12, !8, i64 24, !46, i64 36, !46, i64 72, !46, i64 108, !46, i64 144, !46, i64 180, !8, i64 216, !46, i64 228, !46, i64 264, !46, i64 300, !12, i64 336, !12, i64 1104, !18, i64 1360}
!46 = !{!"_ZTSN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEE", !47, i64 0}
!47 = !{!"_ZTSN5Eigen15PlainObjectBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEEE", !48, i64 0}
!48 = !{!"_ZTSN5Eigen12DenseStorageIfLi9ELi3ELi3ELi0EEE", !49, i64 0}
!49 = !{!"_ZTSN5Eigen8internal11plain_arrayIfLi9ELi0ELi0EEE", !12, i64 0}
!50 = !{!51, !19, i64 28}
!51 = !{!"_ZTS20SnowParticleMaterial", !19, i64 0, !20, i64 4, !19, i64 8, !19, i64 12, !19, i64 16, !19, i64 20, !19, i64 24, !19, i64 28, !19, i64 32, !19, i64 36}
!52 = !{!53, !53, i64 0}
!53 = !{!"double", !12, i64 0}
!54 = distinct !{!54, !42}


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