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

; 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::CwiseNullaryOp.82" = type { [4 x i8], %"struct.Eigen::internal::scalar_constant_op" }
%"class.Eigen::CwiseBinaryOp.119" = type <{ ptr, %"class.Eigen::CwiseBinaryOp.75", [8 x i8] }>
%"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::CwiseBinaryOp.126" = type <{ ptr, %"class.Eigen::CwiseNullaryOp", [8 x i8] }>
%"class.Eigen::CwiseBinaryOp.133" = type <{ [8 x i8], %"class.Eigen::CwiseBinaryOp.42", %"class.Eigen::CwiseNullaryOp", [8 x i8] }>
%"class.Eigen::Product.140" = type { ptr, %"class.Eigen::Transpose" }
%"class.Eigen::Transpose" = type { ptr }
%"class.Eigen::CwiseBinaryOp.153" = type { [8 x i8], %"class.Eigen::CwiseBinaryOp.126", %"class.Eigen::CwiseBinaryOp.126", [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.SnowParticleSet = type <{ %"class.std::vector", float, [4 x i8] }>
%"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.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.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.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.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.SnowParticleMaterial = type { float, i32, float, float, float, float, float, float, float, float }

@_ZL6deltaT = external hidden global float, align 4
@_ZL12FLIP_PERCENT = external hidden constant 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: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0EE1xEv(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 @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0EE1yEv(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 @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0EE1zEv(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 @_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: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3

; 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: 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: 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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1xEv(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 @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1yEv(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 @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1zEv(ptr noundef nonnull align 1 dereferenceable(1)) #0 align 2

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

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

90:                                               ; preds = %465, %1
  %91 = load i32, ptr %3, align 4, !tbaa !9
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds %class.GridMesh, ptr %89, i32 0, i32 4
  %94 = load ptr, ptr %93, align 8, !tbaa !11
  %95 = getelementptr inbounds %class.SnowParticleSet, ptr %94, i32 0, i32 0
  %96 = call noundef i64 @_ZNKSt6vectorIP12SnowParticleSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %95) #6
  %97 = icmp ult i64 %92, %96
  br i1 %97, label %99, label %98

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

99:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %100 = getelementptr inbounds %class.GridMesh, ptr %89, i32 0, i32 4
  %101 = load ptr, ptr %100, align 8, !tbaa !11
  %102 = getelementptr inbounds %class.SnowParticleSet, ptr %101, i32 0, i32 0
  %103 = load i32, ptr %3, align 4, !tbaa !9
  %104 = sext i32 %103 to i64
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP12SnowParticleSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %102, i64 noundef %104) #6
  %106 = load ptr, ptr %105, align 8, !tbaa !5
  store ptr %106, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #6
  %107 = load ptr, ptr %5, align 8, !tbaa !5
  %108 = getelementptr inbounds %class.SnowParticle, ptr %107, i32 0, i32 3
  %109 = getelementptr inbounds %class.GridMesh, ptr %89, i32 0, i32 0
  %110 = getelementptr inbounds %class.Bounds3, ptr %109, i32 0, i32 0
  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 %7, ptr noundef nonnull align 1 dereferenceable(1) %108, ptr noundef nonnull align 1 dereferenceable(1) %110)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIffEEKS1_S7_EEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 1 dereferenceable(1) %7)
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  call void @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4ZeroEv(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseNullaryOp.82") align 4 %9)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_14CwiseNullaryOpINS_8internal18scalar_constant_opIfEES1_EEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 1 dereferenceable(1) %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %10) #6
  %111 = load ptr, ptr %5, align 8, !tbaa !5
  %112 = getelementptr inbounds %class.SnowParticle, ptr %111, i32 0, i32 4
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(12) %112)
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %113 = load ptr, ptr %5, align 8, !tbaa !5
  %114 = getelementptr inbounds %class.SnowParticle, ptr %113, i32 0, i32 5
  store ptr %114, ptr %11, align 8, !tbaa !5
  %115 = load ptr, ptr %11, align 8, !tbaa !5
  %116 = call noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEE7setZeroEv(ptr noundef nonnull align 1 dereferenceable(1) %115)
  %117 = load ptr, ptr %5, align 8, !tbaa !5
  %118 = getelementptr inbounds %class.SnowParticle, ptr %117, i32 0, i32 2
  store float 0.000000e+00, ptr %118, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  %119 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %6)
  %120 = load float, ptr %119, align 4, !tbaa !33
  %121 = getelementptr inbounds %class.GridMesh, ptr %89, i32 0, i32 3
  %122 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %121)
  %123 = load float, ptr %122, align 4, !tbaa !33
  %124 = fdiv float %120, %123
  %125 = fptosi float %124 to i32
  store i32 %125, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %126 = load i32, ptr %13, align 4, !tbaa !9
  %127 = sub nsw i32 %126, 1
  store i32 %127, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %128 = load i32, ptr %13, align 4, !tbaa !9
  %129 = add nsw i32 %128, 3
  store i32 %129, ptr %15, align 4, !tbaa !9
  br label %130

130:                                              ; preds = %279, %99
  %131 = load i32, ptr %14, align 4, !tbaa !9
  %132 = load i32, ptr %15, align 4, !tbaa !9
  %133 = icmp slt i32 %131, %132
  br i1 %133, label %135, label %134

134:                                              ; preds = %130
  store i32 5, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %282

135:                                              ; preds = %130
  %136 = load i32, ptr %14, align 4, !tbaa !9
  %137 = icmp sge i32 %136, 0
  br i1 %137, label %138, label %275

138:                                              ; preds = %135
  %139 = load i32, ptr %14, align 4, !tbaa !9
  %140 = getelementptr inbounds %class.GridMesh, ptr %89, i32 0, i32 2
  %141 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %140)
  %142 = load i32, ptr %141, align 4, !tbaa !9
  %143 = icmp slt i32 %139, %142
  br i1 %143, label %144, label %275

144:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %145 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %6)
  %146 = load float, ptr %145, align 4, !tbaa !33
  %147 = getelementptr inbounds %class.GridMesh, ptr %89, i32 0, i32 3
  %148 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %147)
  %149 = load float, ptr %148, align 4, !tbaa !33
  %150 = fdiv float %146, %149
  %151 = fptosi float %150 to i32
  store i32 %151, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  %152 = load i32, ptr %16, align 4, !tbaa !9
  %153 = sub nsw i32 %152, 1
  store i32 %153, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  %154 = load i32, ptr %16, align 4, !tbaa !9
  %155 = add nsw i32 %154, 3
  store i32 %155, ptr %18, align 4, !tbaa !9
  br label %156

156:                                              ; preds = %271, %144
  %157 = load i32, ptr %17, align 4, !tbaa !9
  %158 = load i32, ptr %18, align 4, !tbaa !9
  %159 = icmp slt i32 %157, %158
  br i1 %159, label %161, label %160

160:                                              ; preds = %156
  store i32 8, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %274

161:                                              ; preds = %156
  %162 = load i32, ptr %17, align 4, !tbaa !9
  %163 = icmp sge i32 %162, 0
  br i1 %163, label %164, label %267

164:                                              ; preds = %161
  %165 = load i32, ptr %17, align 4, !tbaa !9
  %166 = getelementptr inbounds %class.GridMesh, ptr %89, i32 0, i32 2
  %167 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %166)
  %168 = load i32, ptr %167, align 4, !tbaa !9
  %169 = icmp slt i32 %165, %168
  br i1 %169, label %170, label %267

170:                                              ; preds = %164
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %171 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %6)
  %172 = load float, ptr %171, align 4, !tbaa !33
  %173 = getelementptr inbounds %class.GridMesh, ptr %89, i32 0, i32 3
  %174 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %173)
  %175 = load float, ptr %174, align 4, !tbaa !33
  %176 = fdiv float %172, %175
  %177 = fptosi float %176 to i32
  store i32 %177, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  %178 = load i32, ptr %19, align 4, !tbaa !9
  %179 = sub nsw i32 %178, 1
  store i32 %179, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %180 = load i32, ptr %19, align 4, !tbaa !9
  %181 = add nsw i32 %180, 3
  store i32 %181, ptr %21, align 4, !tbaa !9
  br label %182

182:                                              ; preds = %263, %170
  %183 = load i32, ptr %20, align 4, !tbaa !9
  %184 = load i32, ptr %21, align 4, !tbaa !9
  %185 = icmp slt i32 %183, %184
  br i1 %185, label %187, label %186

186:                                              ; preds = %182
  store i32 11, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %266

187:                                              ; preds = %182
  %188 = load i32, ptr %20, align 4, !tbaa !9
  %189 = icmp sge i32 %188, 0
  br i1 %189, label %190, label %260

190:                                              ; preds = %187
  %191 = load i32, ptr %20, align 4, !tbaa !9
  %192 = getelementptr inbounds %class.GridMesh, ptr %89, i32 0, i32 2
  %193 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %192)
  %194 = load i32, ptr %193, align 4, !tbaa !9
  %195 = icmp slt i32 %191, %194
  br i1 %195, label %196, label %260

196:                                              ; preds = %190
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %197 = load ptr, ptr %5, align 8, !tbaa !5
  %198 = getelementptr inbounds %class.SnowParticle, ptr %197, i32 0, i32 15
  %199 = load i32, ptr %12, align 4, !tbaa !9
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds [64 x float], ptr %198, i64 0, i64 %200
  %202 = load float, ptr %201, align 4, !tbaa !33
  store float %202, ptr %22, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 12, ptr %23) #6
  %203 = load ptr, ptr %5, align 8, !tbaa !5
  %204 = getelementptr inbounds %class.SnowParticle, ptr %203, i32 0, i32 14
  %205 = load i32, ptr %12, align 4, !tbaa !9
  %206 = sext i32 %205 to i64
  %207 = getelementptr inbounds [64 x %"class.Eigen::Matrix"], ptr %204, i64 0, i64 %206
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %23, ptr noundef nonnull align 4 dereferenceable(12) %207)
  %208 = load float, ptr %22, align 4, !tbaa !33
  %209 = fcmp ogt float %208, 0x3F1A36E2E0000000
  br i1 %209, label %210, label %259

210:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %211 = getelementptr inbounds %class.GridMesh, ptr %89, i32 0, i32 7
  %212 = load i32, ptr %14, align 4, !tbaa !9
  %213 = getelementptr inbounds %class.GridMesh, ptr %89, i32 0, i32 2
  %214 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %213)
  %215 = load i32, ptr %214, align 4, !tbaa !9
  %216 = mul nsw i32 %212, %215
  %217 = getelementptr inbounds %class.GridMesh, ptr %89, i32 0, i32 2
  %218 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %217)
  %219 = load i32, ptr %218, align 4, !tbaa !9
  %220 = mul nsw i32 %216, %219
  %221 = load i32, ptr %17, align 4, !tbaa !9
  %222 = getelementptr inbounds %class.GridMesh, ptr %89, i32 0, i32 2
  %223 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %222)
  %224 = load i32, ptr %223, align 4, !tbaa !9
  %225 = mul nsw i32 %221, %224
  %226 = add nsw i32 %220, %225
  %227 = load i32, ptr %20, align 4, !tbaa !9
  %228 = add nsw i32 %226, %227
  %229 = sext i32 %228 to i64
  %230 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP8GridCellSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %211, i64 noundef %229) #6
  %231 = load ptr, ptr %230, align 8, !tbaa !5
  store ptr %231, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %25) #6
  %232 = load ptr, ptr %24, align 8, !tbaa !5
  %233 = getelementptr inbounds %class.GridCell, ptr %232, i32 0, i32 6
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmlIfEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_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.126") align 8 %25, ptr noundef nonnull align 1 dereferenceable(1) %233, ptr noundef nonnull align 4 dereferenceable(4) %22)
  %234 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEpLINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKS2_KNS_14CwiseNullaryOpINS6_18scalar_constant_opIfEES9_EEEEEERS2_RKNS0_IT_EE(ptr noundef nonnull align 1 dereferenceable(1) %8, ptr noundef nonnull align 1 dereferenceable(1) %25)
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %27) #6
  %235 = load ptr, ptr %24, align 8, !tbaa !5
  %236 = getelementptr inbounds %class.GridCell, ptr %235, i32 0, i32 6
  %237 = load ptr, ptr %24, align 8, !tbaa !5
  %238 = getelementptr inbounds %class.GridCell, ptr %237, i32 0, i32 5
  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 %27, ptr noundef nonnull align 1 dereferenceable(1) %236, ptr noundef nonnull align 1 dereferenceable(1) %238)
  call void @_ZNK5Eigen10MatrixBaseINS_13CwiseBinaryOpINS_8internal20scalar_difference_opIffEEKNS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEES7_EEEmlIfEEKNS1_INS2_17scalar_product_opIfNS2_18promote_scalar_argIfT_Xsr5Eigen8internal14has_ReturnTypeINS_20ScalarBinaryOpTraitsIfSD_NSB_IfSD_EEEEEE5valueEE4typeEEEKS8_KNS2_19plain_constant_typeIS8_SI_E4typeEEERKSD_(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.133") align 8 %26, ptr noundef nonnull align 1 dereferenceable(1) %27, ptr noundef nonnull align 4 dereferenceable(4) %22)
  %239 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEpLINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKNS5_INS6_20scalar_difference_opIffEEKS2_SB_EEKNS_14CwiseNullaryOpINS6_18scalar_constant_opIfEESB_EEEEEERS2_RKNS0_IT_EE(ptr noundef nonnull align 1 dereferenceable(1) %10, ptr noundef nonnull align 1 dereferenceable(1) %26)
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #6
  %240 = load ptr, ptr %24, align 8, !tbaa !5
  %241 = getelementptr inbounds %class.GridCell, ptr %240, i32 0, i32 6
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %242 = call ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE9transposeEv(ptr noundef nonnull align 1 dereferenceable(1) %23)
  %243 = getelementptr inbounds %"class.Eigen::Transpose", ptr %29, i32 0, i32 0
  store ptr %242, ptr %243, align 8
  %244 = call { ptr, ptr } @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmlINS_9TransposeIS2_EEEEKNS_7ProductIS2_T_Li0EEERKNS0_IS8_EE(ptr noundef nonnull align 1 dereferenceable(1) %241, ptr noundef nonnull align 1 dereferenceable(1) %29)
  %245 = getelementptr inbounds { ptr, ptr }, ptr %28, i32 0, i32 0
  %246 = extractvalue { ptr, ptr } %244, 0
  store ptr %246, ptr %245, align 8
  %247 = getelementptr inbounds { ptr, ptr }, ptr %28, i32 0, i32 1
  %248 = extractvalue { ptr, ptr } %244, 1
  store ptr %248, ptr %247, align 8
  %249 = load ptr, ptr %11, align 8, !tbaa !5
  %250 = call noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEEpLINS_7ProductINS1_IfLi3ELi1ELi0ELi3ELi1EEENS_9TransposeIS6_EELi0EEEEERS2_RKNS0_IT_EE(ptr noundef nonnull align 1 dereferenceable(1) %249, ptr noundef nonnull align 1 dereferenceable(1) %28)
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #6
  %251 = load float, ptr %22, align 4, !tbaa !33
  %252 = load ptr, ptr %24, align 8, !tbaa !5
  %253 = getelementptr inbounds %class.GridCell, ptr %252, i32 0, i32 4
  %254 = load float, ptr %253, align 8, !tbaa !34
  %255 = load ptr, ptr %5, align 8, !tbaa !5
  %256 = getelementptr inbounds %class.SnowParticle, ptr %255, i32 0, i32 2
  %257 = load float, ptr %256, align 8, !tbaa !27
  %258 = call float @llvm.fmuladd.f32(float %251, float %254, float %257)
  store float %258, ptr %256, align 8, !tbaa !27
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  br label %259

259:                                              ; preds = %210, %196
  call void @llvm.lifetime.end.p0(i64 12, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  br label %260

260:                                              ; preds = %259, %190, %187
  %261 = load i32, ptr %12, align 4, !tbaa !9
  %262 = add nsw i32 %261, 1
  store i32 %262, ptr %12, align 4, !tbaa !9
  br label %263

263:                                              ; preds = %260
  %264 = load i32, ptr %20, align 4, !tbaa !9
  %265 = add nsw i32 %264, 1
  store i32 %265, ptr %20, align 4, !tbaa !9
  br label %182, !llvm.loop !45

266:                                              ; preds = %186
  br label %270

267:                                              ; preds = %164, %161
  %268 = load i32, ptr %12, align 4, !tbaa !9
  %269 = add nsw i32 %268, 4
  store i32 %269, ptr %12, align 4, !tbaa !9
  br label %270

270:                                              ; preds = %267, %266
  br label %271

271:                                              ; preds = %270
  %272 = load i32, ptr %17, align 4, !tbaa !9
  %273 = add nsw i32 %272, 1
  store i32 %273, ptr %17, align 4, !tbaa !9
  br label %156, !llvm.loop !47

274:                                              ; preds = %160
  br label %278

275:                                              ; preds = %138, %135
  %276 = load i32, ptr %12, align 4, !tbaa !9
  %277 = add nsw i32 %276, 16
  store i32 %277, ptr %12, align 4, !tbaa !9
  br label %278

278:                                              ; preds = %275, %274
  br label %279

279:                                              ; preds = %278
  %280 = load i32, ptr %14, align 4, !tbaa !9
  %281 = add nsw i32 %280, 1
  store i32 %281, ptr %14, align 4, !tbaa !9
  br label %130, !llvm.loop !48

282:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 64, ptr %30) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %31) #6
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmlIfEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_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.126") align 8 %31, ptr noundef nonnull align 1 dereferenceable(1) %10, ptr noundef nonnull align 4 dereferenceable(4) @_ZL12FLIP_PERCENT)
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  store double 0x3FA9999A00000000, ptr %33, align 8, !tbaa !49
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmlIdEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_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.126") align 8 %32, ptr noundef nonnull align 1 dereferenceable(1) %8, ptr noundef nonnull align 8 dereferenceable(8) %33)
  call void @_ZNK5Eigen10MatrixBaseINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKNS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEKNS_14CwiseNullaryOpINS2_18scalar_constant_opIfEES7_EEEEEplISD_EEKNS1_INS2_13scalar_sum_opIfNS2_6traitsIT_E6ScalarEEEKSD_KSI_EERKNS0_ISI_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.153") align 8 %30, ptr noundef nonnull align 1 dereferenceable(1) %31, ptr noundef nonnull align 1 dereferenceable(1) %32)
  %283 = load ptr, ptr %5, align 8, !tbaa !5
  %284 = getelementptr inbounds %class.SnowParticle, ptr %283, i32 0, i32 4
  %285 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEaSINS_13CwiseBinaryOpINS_8internal13scalar_sum_opIffEEKNS3_INS4_17scalar_product_opIffEEKS1_KNS_14CwiseNullaryOpINS4_18scalar_constant_opIfEES9_EEEESG_EEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %284, ptr noundef nonnull align 1 dereferenceable(1) %30)
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %30) #6
  %286 = getelementptr inbounds %class.GridMesh, ptr %89, i32 0, i32 5
  %287 = load float, ptr %286, align 8, !tbaa !51
  %288 = load ptr, ptr %5, align 8, !tbaa !5
  %289 = getelementptr inbounds %class.SnowParticle, ptr %288, i32 0, i32 2
  %290 = load float, ptr %289, align 8, !tbaa !27
  %291 = fdiv float %290, %287
  store float %291, ptr %289, align 8, !tbaa !27
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  %292 = getelementptr inbounds %class.GridMesh, ptr %89, i32 0, i32 4
  %293 = load ptr, ptr %292, align 8, !tbaa !11
  %294 = getelementptr inbounds %class.SnowParticleSet, ptr %293, i32 0, i32 0
  %295 = load i32, ptr %3, align 4, !tbaa !9
  %296 = sext i32 %295 to i64
  %297 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP12SnowParticleSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %294, i64 noundef %296) #6
  %298 = load ptr, ptr %297, align 8, !tbaa !5
  store ptr %298, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %35) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %36) #6
  %299 = load ptr, ptr %34, align 8, !tbaa !5
  %300 = getelementptr inbounds %class.SnowParticle, ptr %299, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 32, ptr %37) #6
  %301 = load ptr, ptr %34, align 8, !tbaa !5
  %302 = getelementptr inbounds %class.SnowParticle, ptr %301, i32 0, i32 4
  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 %37, ptr noundef nonnull align 4 dereferenceable(4) @_ZL6deltaT, ptr noundef nonnull align 1 dereferenceable(1) %302)
  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 %36, ptr noundef nonnull align 1 dereferenceable(1) %300, ptr noundef nonnull align 1 dereferenceable(1) %37)
  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) %35, ptr noundef nonnull align 1 dereferenceable(1) %36)
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %36) #6
  %303 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %35)
  %304 = load float, ptr %303, align 4, !tbaa !33
  %305 = getelementptr inbounds %class.GridMesh, ptr %89, i32 0, i32 0
  %306 = getelementptr inbounds %class.Bounds3, ptr %305, i32 0, i32 1
  %307 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %306)
  %308 = load float, ptr %307, align 4, !tbaa !33
  %309 = fcmp ogt float %304, %308
  br i1 %309, label %318, label %310

310:                                              ; preds = %282
  %311 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %35)
  %312 = load float, ptr %311, align 4, !tbaa !33
  %313 = getelementptr inbounds %class.GridMesh, ptr %89, i32 0, i32 0
  %314 = getelementptr inbounds %class.Bounds3, ptr %313, i32 0, i32 0
  %315 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %314)
  %316 = load float, ptr %315, align 4, !tbaa !33
  %317 = fcmp olt float %312, %316
  br i1 %317, label %318, label %355

318:                                              ; preds = %310, %282
  call void @llvm.lifetime.start.p0(i64 12, ptr %38) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #6
  store float 0.000000e+00, ptr %39, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #6
  store float 0.000000e+00, ptr %40, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #6
  store float 0.000000e+00, ptr %41, align 4, !tbaa !33
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %38, ptr noundef nonnull align 4 dereferenceable(4) %39, 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) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %42) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %43) #6
  %319 = load ptr, ptr %34, align 8, !tbaa !5
  %320 = getelementptr inbounds %class.SnowParticle, ptr %319, i32 0, i32 4
  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 %43, ptr noundef nonnull align 1 dereferenceable(1) %320, ptr noundef nonnull align 1 dereferenceable(1) %38)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIffEEKS1_S7_EEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %42, ptr noundef nonnull align 1 dereferenceable(1) %43)
  call void @llvm.lifetime.end.p0(i64 24, ptr %43) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %44) #6
  %321 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %42)
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #6
  store float 0.000000e+00, ptr %45, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #6
  store float 0.000000e+00, ptr %46, align 4, !tbaa !33
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %44, ptr noundef nonnull align 4 dereferenceable(4) %321, ptr noundef nonnull align 4 dereferenceable(4) %45, ptr noundef nonnull align 4 dereferenceable(4) %46)
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %47) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #6
  store float 0.000000e+00, ptr %48, align 4, !tbaa !33
  %322 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %42)
  %323 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %42)
  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) %322, ptr noundef nonnull align 4 dereferenceable(4) %323)
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #6
  %324 = call noundef float @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1) %44)
  store float %324, ptr %49, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #6
  %325 = call noundef float @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1) %47)
  store float %325, ptr %50, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #6
  %326 = load ptr, ptr %34, align 8, !tbaa !5
  %327 = getelementptr inbounds %class.SnowParticle, ptr %326, i32 0, i32 16
  %328 = load ptr, ptr %327, align 8, !tbaa !52
  %329 = getelementptr inbounds %class.SnowParticleMaterial, ptr %328, i32 0, i32 7
  %330 = load float, ptr %329, align 4, !tbaa !53
  store float %330, ptr %51, align 4, !tbaa !33
  %331 = load float, ptr %50, align 4, !tbaa !33
  %332 = load float, ptr %51, align 4, !tbaa !33
  %333 = load float, ptr %49, align 4, !tbaa !33
  %334 = fmul float %332, %333
  %335 = fcmp olt float %331, %334
  br i1 %335, label %340, label %336

336:                                              ; preds = %318
  %337 = load float, ptr %50, align 4, !tbaa !33
  %338 = fpext float %337 to double
  %339 = fcmp olt double %338, 0x3D719799812DEA11
  br i1 %339, label %340, label %342

340:                                              ; preds = %336, %318
  %341 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE7setZeroEv(ptr noundef nonnull align 1 dereferenceable(1) %42)
  br label %351

342:                                              ; preds = %336
  call void @llvm.lifetime.start.p0(i64 32, ptr %52) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #6
  %343 = load float, ptr %51, align 4, !tbaa !33
  %344 = load float, ptr %49, align 4, !tbaa !33
  %345 = fmul float %343, %344
  %346 = load float, ptr %50, align 4, !tbaa !33
  %347 = fdiv float %345, %346
  %348 = fpext float %347 to double
  %349 = fsub double 1.000000e+00, %348
  store double %349, ptr %53, align 8, !tbaa !49
  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 %52, ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef nonnull align 1 dereferenceable(1) %47)
  %350 = 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) %42, ptr noundef nonnull align 1 dereferenceable(1) %52)
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %52) #6
  br label %351

351:                                              ; preds = %342, %340
  call void @llvm.lifetime.start.p0(i64 24, ptr %54) #6
  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 %54, ptr noundef nonnull align 1 dereferenceable(1) %42, ptr noundef nonnull align 1 dereferenceable(1) %38)
  %352 = load ptr, ptr %34, align 8, !tbaa !5
  %353 = getelementptr inbounds %class.SnowParticle, ptr %352, i32 0, i32 4
  %354 = 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) %353, ptr noundef nonnull align 1 dereferenceable(1) %54)
  call void @llvm.lifetime.end.p0(i64 24, ptr %54) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %47) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %38) #6
  br label %355

355:                                              ; preds = %351, %310
  %356 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %35)
  %357 = load float, ptr %356, align 4, !tbaa !33
  %358 = getelementptr inbounds %class.GridMesh, ptr %89, i32 0, i32 0
  %359 = getelementptr inbounds %class.Bounds3, ptr %358, i32 0, i32 1
  %360 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %359)
  %361 = load float, ptr %360, align 4, !tbaa !33
  %362 = fcmp ogt float %357, %361
  br i1 %362, label %371, label %363

363:                                              ; preds = %355
  %364 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %35)
  %365 = load float, ptr %364, align 4, !tbaa !33
  %366 = getelementptr inbounds %class.GridMesh, ptr %89, i32 0, i32 0
  %367 = getelementptr inbounds %class.Bounds3, ptr %366, i32 0, i32 0
  %368 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %367)
  %369 = load float, ptr %368, align 4, !tbaa !33
  %370 = fcmp olt float %365, %369
  br i1 %370, label %371, label %408

371:                                              ; preds = %363, %355
  call void @llvm.lifetime.start.p0(i64 12, ptr %55) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #6
  store float 0.000000e+00, ptr %56, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #6
  store float 0.000000e+00, ptr %57, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #6
  store float 0.000000e+00, ptr %58, align 4, !tbaa !33
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %55, ptr noundef nonnull align 4 dereferenceable(4) %56, ptr noundef nonnull align 4 dereferenceable(4) %57, ptr noundef nonnull align 4 dereferenceable(4) %58)
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %59) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %60) #6
  %372 = load ptr, ptr %34, align 8, !tbaa !5
  %373 = getelementptr inbounds %class.SnowParticle, ptr %372, i32 0, i32 4
  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 %60, ptr noundef nonnull align 1 dereferenceable(1) %373, ptr noundef nonnull align 1 dereferenceable(1) %55)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIffEEKS1_S7_EEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %59, ptr noundef nonnull align 1 dereferenceable(1) %60)
  call void @llvm.lifetime.end.p0(i64 24, ptr %60) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %61) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %62) #6
  store float 0.000000e+00, ptr %62, align 4, !tbaa !33
  %374 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %59)
  call void @llvm.lifetime.start.p0(i64 4, ptr %63) #6
  store float 0.000000e+00, ptr %63, align 4, !tbaa !33
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %61, ptr noundef nonnull align 4 dereferenceable(4) %62, ptr noundef nonnull align 4 dereferenceable(4) %374, ptr noundef nonnull align 4 dereferenceable(4) %63)
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %64) #6
  %375 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %59)
  call void @llvm.lifetime.start.p0(i64 4, ptr %65) #6
  store float 0.000000e+00, ptr %65, align 4, !tbaa !33
  %376 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %59)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %64, ptr noundef nonnull align 4 dereferenceable(4) %375, ptr noundef nonnull align 4 dereferenceable(4) %65, ptr noundef nonnull align 4 dereferenceable(4) %376)
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %66) #6
  %377 = call noundef float @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1) %61)
  store float %377, ptr %66, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %67) #6
  %378 = call noundef float @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1) %64)
  store float %378, ptr %67, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %68) #6
  %379 = load ptr, ptr %34, align 8, !tbaa !5
  %380 = getelementptr inbounds %class.SnowParticle, ptr %379, i32 0, i32 16
  %381 = load ptr, ptr %380, align 8, !tbaa !52
  %382 = getelementptr inbounds %class.SnowParticleMaterial, ptr %381, i32 0, i32 7
  %383 = load float, ptr %382, align 4, !tbaa !53
  store float %383, ptr %68, align 4, !tbaa !33
  %384 = load float, ptr %67, align 4, !tbaa !33
  %385 = load float, ptr %68, align 4, !tbaa !33
  %386 = load float, ptr %66, align 4, !tbaa !33
  %387 = fmul float %385, %386
  %388 = fcmp olt float %384, %387
  br i1 %388, label %393, label %389

389:                                              ; preds = %371
  %390 = load float, ptr %67, align 4, !tbaa !33
  %391 = fpext float %390 to double
  %392 = fcmp olt double %391, 0x3D719799812DEA11
  br i1 %392, label %393, label %395

393:                                              ; preds = %389, %371
  %394 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE7setZeroEv(ptr noundef nonnull align 1 dereferenceable(1) %59)
  br label %404

395:                                              ; preds = %389
  call void @llvm.lifetime.start.p0(i64 32, ptr %69) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #6
  %396 = load float, ptr %68, align 4, !tbaa !33
  %397 = load float, ptr %66, align 4, !tbaa !33
  %398 = fmul float %396, %397
  %399 = load float, ptr %67, align 4, !tbaa !33
  %400 = fdiv float %398, %399
  %401 = fpext float %400 to double
  %402 = fsub double 1.000000e+00, %401
  store double %402, ptr %70, align 8, !tbaa !49
  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 %69, ptr noundef nonnull align 8 dereferenceable(8) %70, ptr noundef nonnull align 1 dereferenceable(1) %64)
  %403 = 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) %59, ptr noundef nonnull align 1 dereferenceable(1) %69)
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %69) #6
  br label %404

404:                                              ; preds = %395, %393
  call void @llvm.lifetime.start.p0(i64 24, ptr %71) #6
  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 %71, ptr noundef nonnull align 1 dereferenceable(1) %59, ptr noundef nonnull align 1 dereferenceable(1) %55)
  %405 = load ptr, ptr %34, align 8, !tbaa !5
  %406 = getelementptr inbounds %class.SnowParticle, ptr %405, i32 0, i32 4
  %407 = 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) %406, ptr noundef nonnull align 1 dereferenceable(1) %71)
  call void @llvm.lifetime.end.p0(i64 24, ptr %71) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %68) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %64) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %61) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %59) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %55) #6
  br label %408

408:                                              ; preds = %404, %363
  %409 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %35)
  %410 = load float, ptr %409, align 4, !tbaa !33
  %411 = getelementptr inbounds %class.GridMesh, ptr %89, i32 0, i32 0
  %412 = getelementptr inbounds %class.Bounds3, ptr %411, i32 0, i32 1
  %413 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %412)
  %414 = load float, ptr %413, align 4, !tbaa !33
  %415 = fcmp ogt float %410, %414
  br i1 %415, label %424, label %416

416:                                              ; preds = %408
  %417 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %35)
  %418 = load float, ptr %417, align 4, !tbaa !33
  %419 = getelementptr inbounds %class.GridMesh, ptr %89, i32 0, i32 0
  %420 = getelementptr inbounds %class.Bounds3, ptr %419, i32 0, i32 0
  %421 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %420)
  %422 = load float, ptr %421, align 4, !tbaa !33
  %423 = fcmp olt float %418, %422
  br i1 %423, label %424, label %461

424:                                              ; preds = %416, %408
  call void @llvm.lifetime.start.p0(i64 12, ptr %72) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %73) #6
  store float 0.000000e+00, ptr %73, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %74) #6
  store float 0.000000e+00, ptr %74, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %75) #6
  store float 0.000000e+00, ptr %75, align 4, !tbaa !33
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %72, ptr noundef nonnull align 4 dereferenceable(4) %73, ptr noundef nonnull align 4 dereferenceable(4) %74, ptr noundef nonnull align 4 dereferenceable(4) %75)
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %74) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %73) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %76) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %77) #6
  %425 = load ptr, ptr %34, align 8, !tbaa !5
  %426 = getelementptr inbounds %class.SnowParticle, ptr %425, i32 0, i32 4
  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 %77, ptr noundef nonnull align 1 dereferenceable(1) %426, ptr noundef nonnull align 1 dereferenceable(1) %72)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIffEEKS1_S7_EEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %76, ptr noundef nonnull align 1 dereferenceable(1) %77)
  call void @llvm.lifetime.end.p0(i64 24, ptr %77) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %78) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %79) #6
  store float 0.000000e+00, ptr %79, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %80) #6
  store float 0.000000e+00, ptr %80, align 4, !tbaa !33
  %427 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %76)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %78, ptr noundef nonnull align 4 dereferenceable(4) %79, ptr noundef nonnull align 4 dereferenceable(4) %80, ptr noundef nonnull align 4 dereferenceable(4) %427)
  call void @llvm.lifetime.end.p0(i64 4, ptr %80) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %79) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %81) #6
  %428 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %76)
  %429 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %76)
  call void @llvm.lifetime.start.p0(i64 4, ptr %82) #6
  store float 0.000000e+00, ptr %82, align 4, !tbaa !33
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %81, ptr noundef nonnull align 4 dereferenceable(4) %428, ptr noundef nonnull align 4 dereferenceable(4) %429, ptr noundef nonnull align 4 dereferenceable(4) %82)
  call void @llvm.lifetime.end.p0(i64 4, ptr %82) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %83) #6
  %430 = call noundef float @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1) %78)
  store float %430, ptr %83, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %84) #6
  %431 = call noundef float @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1) %81)
  store float %431, ptr %84, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %85) #6
  %432 = load ptr, ptr %34, align 8, !tbaa !5
  %433 = getelementptr inbounds %class.SnowParticle, ptr %432, i32 0, i32 16
  %434 = load ptr, ptr %433, align 8, !tbaa !52
  %435 = getelementptr inbounds %class.SnowParticleMaterial, ptr %434, i32 0, i32 7
  %436 = load float, ptr %435, align 4, !tbaa !53
  store float %436, ptr %85, align 4, !tbaa !33
  %437 = load float, ptr %84, align 4, !tbaa !33
  %438 = load float, ptr %85, align 4, !tbaa !33
  %439 = load float, ptr %83, align 4, !tbaa !33
  %440 = fmul float %438, %439
  %441 = fcmp olt float %437, %440
  br i1 %441, label %446, label %442

442:                                              ; preds = %424
  %443 = load float, ptr %84, align 4, !tbaa !33
  %444 = fpext float %443 to double
  %445 = fcmp olt double %444, 0x3D719799812DEA11
  br i1 %445, label %446, label %448

446:                                              ; preds = %442, %424
  %447 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE7setZeroEv(ptr noundef nonnull align 1 dereferenceable(1) %76)
  br label %457

448:                                              ; preds = %442
  call void @llvm.lifetime.start.p0(i64 32, ptr %86) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %87) #6
  %449 = load float, ptr %85, align 4, !tbaa !33
  %450 = load float, ptr %83, align 4, !tbaa !33
  %451 = fmul float %449, %450
  %452 = load float, ptr %84, align 4, !tbaa !33
  %453 = fdiv float %451, %452
  %454 = fpext float %453 to double
  %455 = fsub double 1.000000e+00, %454
  store double %455, ptr %87, align 8, !tbaa !49
  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 %86, ptr noundef nonnull align 8 dereferenceable(8) %87, ptr noundef nonnull align 1 dereferenceable(1) %81)
  %456 = 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) %76, ptr noundef nonnull align 1 dereferenceable(1) %86)
  call void @llvm.lifetime.end.p0(i64 8, ptr %87) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %86) #6
  br label %457

457:                                              ; preds = %448, %446
  call void @llvm.lifetime.start.p0(i64 24, ptr %88) #6
  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 %88, ptr noundef nonnull align 1 dereferenceable(1) %76, ptr noundef nonnull align 1 dereferenceable(1) %72)
  %458 = load ptr, ptr %34, align 8, !tbaa !5
  %459 = getelementptr inbounds %class.SnowParticle, ptr %458, i32 0, i32 4
  %460 = 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) %459, ptr noundef nonnull align 1 dereferenceable(1) %88)
  call void @llvm.lifetime.end.p0(i64 24, ptr %88) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %85) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %84) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %83) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %81) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %78) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %76) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %72) #6
  br label %461

461:                                              ; preds = %457, %416
  %462 = load ptr, ptr %34, align 8, !tbaa !5
  call void @_ZN12SnowParticle9updatePosEv(ptr noundef nonnull align 8 dereferenceable(1368) %462)
  %463 = load ptr, ptr %34, align 8, !tbaa !5
  call void @_ZN12SnowParticle25updatePureElasticGradientEv(ptr noundef nonnull align 8 dereferenceable(1368) %463)
  %464 = load ptr, ptr %34, align 8, !tbaa !5
  call void @_ZN12SnowParticle30updateCombinedPElasticGradientEv(ptr noundef nonnull align 8 dereferenceable(1368) %464)
  call void @llvm.lifetime.end.p0(i64 12, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  br label %465

465:                                              ; preds = %461
  %466 = load i32, ptr %3, align 4, !tbaa !9
  %467 = add nsw i32 %466, 1
  store i32 %467, ptr %3, align 4, !tbaa !9
  br label %90, !llvm.loop !55

468:                                              ; preds = %98
  ret void
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmlIfEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_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.126") 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 @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEpLINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKS2_KNS_14CwiseNullaryOpINS6_18scalar_constant_opIfEES9_EEEEEERS2_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_13CwiseBinaryOpINS_8internal20scalar_difference_opIffEEKNS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEES7_EEEmlIfEEKNS1_INS2_17scalar_product_opIfNS2_18promote_scalar_argIfT_Xsr5Eigen8internal14has_ReturnTypeINS_20ScalarBinaryOpTraitsIfSD_NSB_IfSD_EEEEEE5valueEE4typeEEEKS8_KNS2_19plain_constant_typeIS8_SI_E4typeEEERKSD_(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseBinaryOp.133") 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 @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEpLINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKNS5_INS6_20scalar_difference_opIffEEKS2_SB_EEKNS_14CwiseNullaryOpINS6_18scalar_constant_opIfEESB_EEEEEERS2_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 { ptr, ptr } @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmlINS_9TransposeIS2_EEEEKNS_7ProductIS2_T_Li0EEERKNS0_IS8_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 ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE9transposeEv(ptr noundef nonnull align 1 dereferenceable(1)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEEpLINS_7ProductINS1_IfLi3ELi1ELi0ELi3ELi1EEENS_9TransposeIS6_EELi0EEEEERS2_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_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKNS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEKNS_14CwiseNullaryOpINS2_18scalar_constant_opIfEES7_EEEEEplISD_EEKNS1_INS2_13scalar_sum_opIfNS2_6traitsIT_E6ScalarEEEKSD_KSI_EERKNS0_ISI_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseBinaryOp.153") 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_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmlIdEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_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.126") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

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

declare void @_ZN12SnowParticle9updatePosEv(ptr noundef nonnull align 8 dereferenceable(1368)) #5

declare void @_ZN12SnowParticle25updatePureElasticGradientEv(ptr noundef nonnull align 8 dereferenceable(1368)) #5

declare void @_ZN12SnowParticle30updateCombinedPElasticGradientEv(ptr noundef nonnull align 8 dereferenceable(1368)) #5

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 72}
!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 = !{!28, !22, i64 8}
!28 = !{!"_ZTS12SnowParticle", !22, i64 0, !22, i64 4, !22, i64 8, !14, i64 12, !14, i64 24, !29, i64 36, !29, i64 72, !29, i64 108, !29, i64 144, !29, i64 180, !14, i64 216, !29, i64 228, !29, i64 264, !29, i64 300, !7, i64 336, !7, i64 1104, !6, i64 1360}
!29 = !{!"_ZTSN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEE", !30, i64 0}
!30 = !{!"_ZTSN5Eigen15PlainObjectBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEEE", !31, i64 0}
!31 = !{!"_ZTSN5Eigen12DenseStorageIfLi9ELi3ELi3ELi0EEE", !32, i64 0}
!32 = !{!"_ZTSN5Eigen8internal11plain_arrayIfLi9ELi0ELi0EEE", !7, i64 0}
!33 = !{!22, !22, i64 0}
!34 = !{!35, !22, i64 16}
!35 = !{!"_ZTS8GridCell", !36, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !22, i64 16, !14, i64 20, !14, i64 32, !14, i64 44, !37, i64 56, !41, i64 80, !14, i64 104, !14, i64 116, !14, i64 128, !14, i64 140, !14, i64 152, !22, i64 164}
!36 = !{!"bool", !7, i64 0}
!37 = !{!"_ZTSSt6vectorIP12SnowParticleSaIS1_EE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseIP12SnowParticleSaIS1_EE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIP12SnowParticleSaIS1_EE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIP12SnowParticleSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!41 = !{!"_ZTSSt6vectorIiSaIiEE", !42, i64 0}
!42 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!45 = distinct !{!45, !46}
!46 = !{!"llvm.loop.mustprogress"}
!47 = distinct !{!47, !46}
!48 = distinct !{!48, !46}
!49 = !{!50, !50, i64 0}
!50 = !{!"double", !7, i64 0}
!51 = !{!12, !22, i64 80}
!52 = !{!28, !6, i64 1360}
!53 = !{!54, !22, i64 28}
!54 = !{!"_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}
!55 = distinct !{!55, !46}


; 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::CwiseNullaryOp.82" = type { [4 x i8], %"struct.Eigen::internal::scalar_constant_op" }
%"class.Eigen::CwiseBinaryOp.119" = type <{ ptr, %"class.Eigen::CwiseBinaryOp.75", [8 x i8] }>
%"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::CwiseBinaryOp.126" = type <{ ptr, %"class.Eigen::CwiseNullaryOp", [8 x i8] }>
%"class.Eigen::CwiseBinaryOp.133" = type <{ [8 x i8], %"class.Eigen::CwiseBinaryOp.42", %"class.Eigen::CwiseNullaryOp", [8 x i8] }>
%"class.Eigen::Product.140" = type { ptr, %"class.Eigen::Transpose" }
%"class.Eigen::Transpose" = type { ptr }
%"class.Eigen::CwiseBinaryOp.153" = type { [8 x i8], %"class.Eigen::CwiseBinaryOp.126", %"class.Eigen::CwiseBinaryOp.126", [8 x i8] }

@_ZL6deltaT = external hidden global float, align 4
@_ZL12FLIP_PERCENT = external hidden constant 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: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0EE1xEv(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 @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0EE1yEv(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 @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0EE1zEv(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 @_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: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3

; 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: 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: 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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1xEv(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 @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1yEv(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 @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1zEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #0 align 2

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

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

.lr.ph:                                           ; preds = %1
  %66 = getelementptr inbounds i8, ptr %0, i64 60
  %67 = getelementptr inbounds i8, ptr %0, i64 48
  %68 = getelementptr inbounds i8, ptr %0, i64 88
  %69 = getelementptr inbounds i8, ptr %12, i64 8
  %70 = getelementptr inbounds i8, ptr %0, i64 80
  %71 = getelementptr inbounds i8, ptr %0, i64 12
  br label %72

._crit_edge:                                      ; preds = %411, %1
  ret void

72:                                               ; preds = %.lr.ph, %411
  %indvars.iv112 = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next113, %411 ]
  %73 = load ptr, ptr %63, align 8, !tbaa !5
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP12SnowParticleSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %73, i64 noundef %indvars.iv112) #6
  %75 = load ptr, ptr %74, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #6
  %76 = getelementptr inbounds i8, ptr %75, i64 12
  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 %3, ptr noundef nonnull align 1 dereferenceable(1) %76, ptr noundef nonnull align 1 dereferenceable(1) %0)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIffEEKS1_S7_EEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 1 dereferenceable(1) %3)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  call void @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4ZeroEv(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseNullaryOp.82") align 4 %5)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_14CwiseNullaryOpINS_8internal18scalar_constant_opIfEES1_EEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 1 dereferenceable(1) %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #6
  %77 = getelementptr inbounds i8, ptr %75, i64 24
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %77)
  %78 = getelementptr inbounds i8, ptr %75, i64 36
  %79 = call noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEE7setZeroEv(ptr noundef nonnull align 1 dereferenceable(1) %78)
  %80 = getelementptr inbounds i8, ptr %75, i64 8
  store float 0.000000e+00, ptr %80, align 8, !tbaa !26
  %81 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %2)
  %82 = load float, ptr %81, align 4, !tbaa !32
  %83 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %66)
  %84 = load float, ptr %83, align 4, !tbaa !32
  %85 = fdiv float %82, %84
  %86 = fptosi float %85 to i32
  %87 = add nsw i32 %86, -1
  %88 = getelementptr inbounds i8, ptr %75, i64 1104
  %89 = getelementptr inbounds i8, ptr %75, i64 336
  %90 = add nsw i32 %86, 2
  br label %106

91:                                               ; preds = %.loopexit100
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #6
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmlIfEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_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.126") align 8 %15, ptr noundef nonnull align 1 dereferenceable(1) %6, ptr noundef nonnull align 4 dereferenceable(4) @_ZL12FLIP_PERCENT)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #6
  store double 0x3FA9999A00000000, ptr %17, align 8, !tbaa !33
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmlIdEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_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.126") align 8 %16, ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull align 8 dereferenceable(8) %17)
  call void @_ZNK5Eigen10MatrixBaseINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKNS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEKNS_14CwiseNullaryOpINS2_18scalar_constant_opIfEES7_EEEEEplISD_EEKNS1_INS2_13scalar_sum_opIfNS2_6traitsIT_E6ScalarEEEKSD_KSI_EERKNS0_ISI_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.153") align 8 %14, ptr noundef nonnull align 1 dereferenceable(1) %15, ptr noundef nonnull align 1 dereferenceable(1) %16)
  %92 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEaSINS_13CwiseBinaryOpINS_8internal13scalar_sum_opIffEEKNS3_INS4_17scalar_product_opIffEEKS1_KNS_14CwiseNullaryOpINS4_18scalar_constant_opIfEES9_EEEESG_EEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %77, ptr noundef nonnull align 1 dereferenceable(1) %14)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #6
  %93 = load float, ptr %70, align 8, !tbaa !35
  %94 = load float, ptr %80, align 8, !tbaa !26
  %95 = fdiv float %94, %93
  store float %95, ptr %80, align 8, !tbaa !26
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #6
  %96 = load ptr, ptr %63, align 8, !tbaa !5
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP12SnowParticleSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %96, i64 noundef %indvars.iv112) #6
  %98 = load ptr, ptr %97, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %18) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %19) #6
  %99 = getelementptr inbounds i8, ptr %98, i64 12
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #6
  %100 = getelementptr inbounds i8, ptr %98, i64 24
  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 %20, ptr noundef nonnull align 4 dereferenceable(4) @_ZL6deltaT, ptr noundef nonnull align 1 dereferenceable(1) %100)
  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 %19, ptr noundef nonnull align 1 dereferenceable(1) %99, ptr noundef nonnull align 1 dereferenceable(1) %20)
  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) %18, ptr noundef nonnull align 1 dereferenceable(1) %19)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %19) #6
  %101 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %18)
  %102 = load float, ptr %101, align 4, !tbaa !32
  %103 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %71)
  %104 = load float, ptr %103, align 4, !tbaa !32
  %105 = fcmp ogt float %102, %104
  br i1 %105, label %318, label %312

106:                                              ; preds = %72, %.loopexit100
  %.084109 = phi i32 [ 0, %72 ], [ %.4, %.loopexit100 ]
  %.085107 = phi i32 [ %87, %72 ], [ %310, %.loopexit100 ]
  %107 = icmp sgt i32 %.085107, -1
  br i1 %107, label %108, label %308

108:                                              ; preds = %106
  %109 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %67)
  %110 = load i32, ptr %109, align 4, !tbaa !36
  %111 = icmp slt i32 %.085107, %110
  br i1 %111, label %112, label %308

112:                                              ; preds = %108
  %113 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %2)
  %114 = load float, ptr %113, align 4, !tbaa !32
  %115 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %66)
  %116 = load float, ptr %115, align 4, !tbaa !32
  %117 = fdiv float %114, %116
  %118 = fptosi float %117 to i32
  %119 = add nsw i32 %118, -1
  %120 = add nsw i32 %118, 2
  br label %121

121:                                              ; preds = %112, %.loopexit
  %.1106 = phi i32 [ %.084109, %112 ], [ %.3, %.loopexit ]
  %.086104 = phi i32 [ %119, %112 ], [ %306, %.loopexit ]
  %122 = icmp sgt i32 %.086104, -1
  br i1 %122, label %123, label %304

123:                                              ; preds = %121
  %124 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %67)
  %125 = load i32, ptr %124, align 4, !tbaa !36
  %126 = icmp slt i32 %.086104, %125
  br i1 %126, label %127, label %304

127:                                              ; preds = %123
  %128 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %2)
  %129 = load float, ptr %128, align 4, !tbaa !32
  %130 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %66)
  %131 = load float, ptr %130, align 4, !tbaa !32
  %132 = fdiv float %129, %131
  %133 = fptosi float %132 to i32
  %134 = add nsw i32 %133, -1
  %135 = sext i32 %.1106 to i64
  %136 = icmp sgt i32 %133, 0
  br i1 %136, label %137, label %176

137:                                              ; preds = %127
  %138 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %67)
  %139 = load i32, ptr %138, align 4, !tbaa !36
  %.not115 = icmp slt i32 %139, %133
  br i1 %.not115, label %176, label %140

140:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  %141 = getelementptr inbounds [64 x float], ptr %88, i64 0, i64 %135
  %142 = load float, ptr %141, align 4, !tbaa !32
  store float %142, ptr %7, align 4, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %8) #6
  %143 = getelementptr inbounds [64 x %"class.Eigen::Matrix"], ptr %89, i64 0, i64 %135
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(12) %143)
  %144 = load float, ptr %7, align 4, !tbaa !32
  %145 = fcmp ogt float %144, 0x3F1A36E2E0000000
  br i1 %145, label %146, label %175

146:                                              ; preds = %140
  %147 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %67)
  %148 = load i32, ptr %147, align 4, !tbaa !36
  %149 = mul nsw i32 %148, %.085107
  %150 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %67)
  %151 = load i32, ptr %150, align 4, !tbaa !36
  %152 = mul nsw i32 %149, %151
  %153 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %67)
  %154 = load i32, ptr %153, align 4, !tbaa !36
  %155 = mul nsw i32 %154, %.086104
  %156 = add i32 %152, %134
  %157 = add i32 %156, %155
  %158 = sext i32 %157 to i64
  %159 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP8GridCellSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %68, i64 noundef %158) #6
  %160 = load ptr, ptr %159, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  %161 = getelementptr inbounds i8, ptr %160, i64 32
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmlIfEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_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.126") align 8 %9, ptr noundef nonnull align 1 dereferenceable(1) %161, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %162 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEpLINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKS2_KNS_14CwiseNullaryOpINS6_18scalar_constant_opIfEES9_EEEEEERS2_RKNS0_IT_EE(ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull align 1 dereferenceable(1) %9)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #6
  %163 = getelementptr inbounds i8, ptr %160, i64 20
  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 %11, ptr noundef nonnull align 1 dereferenceable(1) %161, ptr noundef nonnull align 1 dereferenceable(1) %163)
  call void @_ZNK5Eigen10MatrixBaseINS_13CwiseBinaryOpINS_8internal20scalar_difference_opIffEEKNS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEES7_EEEmlIfEEKNS1_INS2_17scalar_product_opIfNS2_18promote_scalar_argIfT_Xsr5Eigen8internal14has_ReturnTypeINS_20ScalarBinaryOpTraitsIfSD_NSB_IfSD_EEEEEE5valueEE4typeEEEKS8_KNS2_19plain_constant_typeIS8_SI_E4typeEEERKSD_(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.133") align 8 %10, ptr noundef nonnull align 1 dereferenceable(1) %11, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %164 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEpLINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKNS5_INS6_20scalar_difference_opIffEEKS2_SB_EEKNS_14CwiseNullaryOpINS6_18scalar_constant_opIfEESB_EEEEEERS2_RKNS0_IT_EE(ptr noundef nonnull align 1 dereferenceable(1) %6, ptr noundef nonnull align 1 dereferenceable(1) %10)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %165 = call ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE9transposeEv(ptr noundef nonnull align 1 dereferenceable(1) %8)
  store ptr %165, ptr %13, align 8
  %166 = call { ptr, ptr } @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmlINS_9TransposeIS2_EEEEKNS_7ProductIS2_T_Li0EEERKNS0_IS8_EE(ptr noundef nonnull align 1 dereferenceable(1) %161, ptr noundef nonnull align 1 dereferenceable(1) %13)
  %167 = extractvalue { ptr, ptr } %166, 0
  store ptr %167, ptr %12, align 8
  %168 = extractvalue { ptr, ptr } %166, 1
  store ptr %168, ptr %69, align 8
  %169 = call noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEEpLINS_7ProductINS1_IfLi3ELi1ELi0ELi3ELi1EEENS_9TransposeIS6_EELi0EEEEERS2_RKNS0_IT_EE(ptr noundef nonnull align 1 dereferenceable(1) %78, ptr noundef nonnull align 1 dereferenceable(1) %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  %170 = load float, ptr %7, align 4, !tbaa !32
  %171 = getelementptr inbounds i8, ptr %160, i64 16
  %172 = load float, ptr %171, align 8, !tbaa !37
  %173 = load float, ptr %80, align 8, !tbaa !26
  %174 = call float @llvm.fmuladd.f32(float %170, float %172, float %173)
  store float %174, ptr %80, align 8, !tbaa !26
  br label %175

175:                                              ; preds = %146, %140
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  br label %176

176:                                              ; preds = %175, %137, %127
  %indvars.iv.next = add nsw i64 %135, 1
  %177 = icmp sgt i32 %133, -1
  br i1 %177, label %178, label %218

178:                                              ; preds = %176
  %179 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %67)
  %180 = load i32, ptr %179, align 4, !tbaa !36
  %181 = icmp sgt i32 %180, %133
  br i1 %181, label %182, label %218

182:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  %183 = getelementptr inbounds [64 x float], ptr %88, i64 0, i64 %indvars.iv.next
  %184 = load float, ptr %183, align 4, !tbaa !32
  store float %184, ptr %7, align 4, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %8) #6
  %185 = getelementptr inbounds [64 x %"class.Eigen::Matrix"], ptr %89, i64 0, i64 %indvars.iv.next
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(12) %185)
  %186 = load float, ptr %7, align 4, !tbaa !32
  %187 = fcmp ogt float %186, 0x3F1A36E2E0000000
  br i1 %187, label %188, label %217

188:                                              ; preds = %182
  %189 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %67)
  %190 = load i32, ptr %189, align 4, !tbaa !36
  %191 = mul nsw i32 %190, %.085107
  %192 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %67)
  %193 = load i32, ptr %192, align 4, !tbaa !36
  %194 = mul nsw i32 %191, %193
  %195 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %67)
  %196 = load i32, ptr %195, align 4, !tbaa !36
  %197 = mul nsw i32 %196, %.086104
  %198 = add i32 %194, %133
  %199 = add i32 %198, %197
  %200 = sext i32 %199 to i64
  %201 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP8GridCellSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %68, i64 noundef %200) #6
  %202 = load ptr, ptr %201, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  %203 = getelementptr inbounds i8, ptr %202, i64 32
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmlIfEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_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.126") align 8 %9, ptr noundef nonnull align 1 dereferenceable(1) %203, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %204 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEpLINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKS2_KNS_14CwiseNullaryOpINS6_18scalar_constant_opIfEES9_EEEEEERS2_RKNS0_IT_EE(ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull align 1 dereferenceable(1) %9)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #6
  %205 = getelementptr inbounds i8, ptr %202, i64 20
  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 %11, ptr noundef nonnull align 1 dereferenceable(1) %203, ptr noundef nonnull align 1 dereferenceable(1) %205)
  call void @_ZNK5Eigen10MatrixBaseINS_13CwiseBinaryOpINS_8internal20scalar_difference_opIffEEKNS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEES7_EEEmlIfEEKNS1_INS2_17scalar_product_opIfNS2_18promote_scalar_argIfT_Xsr5Eigen8internal14has_ReturnTypeINS_20ScalarBinaryOpTraitsIfSD_NSB_IfSD_EEEEEE5valueEE4typeEEEKS8_KNS2_19plain_constant_typeIS8_SI_E4typeEEERKSD_(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.133") align 8 %10, ptr noundef nonnull align 1 dereferenceable(1) %11, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %206 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEpLINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKNS5_INS6_20scalar_difference_opIffEEKS2_SB_EEKNS_14CwiseNullaryOpINS6_18scalar_constant_opIfEESB_EEEEEERS2_RKNS0_IT_EE(ptr noundef nonnull align 1 dereferenceable(1) %6, ptr noundef nonnull align 1 dereferenceable(1) %10)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %207 = call ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE9transposeEv(ptr noundef nonnull align 1 dereferenceable(1) %8)
  store ptr %207, ptr %13, align 8
  %208 = call { ptr, ptr } @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmlINS_9TransposeIS2_EEEEKNS_7ProductIS2_T_Li0EEERKNS0_IS8_EE(ptr noundef nonnull align 1 dereferenceable(1) %203, ptr noundef nonnull align 1 dereferenceable(1) %13)
  %209 = extractvalue { ptr, ptr } %208, 0
  store ptr %209, ptr %12, align 8
  %210 = extractvalue { ptr, ptr } %208, 1
  store ptr %210, ptr %69, align 8
  %211 = call noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEEpLINS_7ProductINS1_IfLi3ELi1ELi0ELi3ELi1EEENS_9TransposeIS6_EELi0EEEEERS2_RKNS0_IT_EE(ptr noundef nonnull align 1 dereferenceable(1) %78, ptr noundef nonnull align 1 dereferenceable(1) %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  %212 = load float, ptr %7, align 4, !tbaa !32
  %213 = getelementptr inbounds i8, ptr %202, i64 16
  %214 = load float, ptr %213, align 8, !tbaa !37
  %215 = load float, ptr %80, align 8, !tbaa !26
  %216 = call float @llvm.fmuladd.f32(float %212, float %214, float %215)
  store float %216, ptr %80, align 8, !tbaa !26
  br label %217

217:                                              ; preds = %188, %182
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  br label %218

218:                                              ; preds = %217, %178, %176
  %indvars.iv.next.1 = add nsw i64 %135, 2
  %219 = add nsw i32 %133, 1
  %220 = icmp sgt i32 %133, -2
  br i1 %220, label %221, label %261

221:                                              ; preds = %218
  %222 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %67)
  %223 = load i32, ptr %222, align 4, !tbaa !36
  %224 = icmp slt i32 %219, %223
  br i1 %224, label %225, label %261

225:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  %226 = getelementptr inbounds [64 x float], ptr %88, i64 0, i64 %indvars.iv.next.1
  %227 = load float, ptr %226, align 4, !tbaa !32
  store float %227, ptr %7, align 4, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %8) #6
  %228 = getelementptr inbounds [64 x %"class.Eigen::Matrix"], ptr %89, i64 0, i64 %indvars.iv.next.1
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(12) %228)
  %229 = load float, ptr %7, align 4, !tbaa !32
  %230 = fcmp ogt float %229, 0x3F1A36E2E0000000
  br i1 %230, label %231, label %260

231:                                              ; preds = %225
  %232 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %67)
  %233 = load i32, ptr %232, align 4, !tbaa !36
  %234 = mul nsw i32 %233, %.085107
  %235 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %67)
  %236 = load i32, ptr %235, align 4, !tbaa !36
  %237 = mul nsw i32 %234, %236
  %238 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %67)
  %239 = load i32, ptr %238, align 4, !tbaa !36
  %240 = mul nsw i32 %239, %.086104
  %241 = add i32 %237, %219
  %242 = add i32 %241, %240
  %243 = sext i32 %242 to i64
  %244 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP8GridCellSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %68, i64 noundef %243) #6
  %245 = load ptr, ptr %244, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  %246 = getelementptr inbounds i8, ptr %245, i64 32
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmlIfEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_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.126") align 8 %9, ptr noundef nonnull align 1 dereferenceable(1) %246, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %247 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEpLINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKS2_KNS_14CwiseNullaryOpINS6_18scalar_constant_opIfEES9_EEEEEERS2_RKNS0_IT_EE(ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull align 1 dereferenceable(1) %9)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #6
  %248 = getelementptr inbounds i8, ptr %245, i64 20
  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 %11, ptr noundef nonnull align 1 dereferenceable(1) %246, ptr noundef nonnull align 1 dereferenceable(1) %248)
  call void @_ZNK5Eigen10MatrixBaseINS_13CwiseBinaryOpINS_8internal20scalar_difference_opIffEEKNS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEES7_EEEmlIfEEKNS1_INS2_17scalar_product_opIfNS2_18promote_scalar_argIfT_Xsr5Eigen8internal14has_ReturnTypeINS_20ScalarBinaryOpTraitsIfSD_NSB_IfSD_EEEEEE5valueEE4typeEEEKS8_KNS2_19plain_constant_typeIS8_SI_E4typeEEERKSD_(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.133") align 8 %10, ptr noundef nonnull align 1 dereferenceable(1) %11, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %249 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEpLINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKNS5_INS6_20scalar_difference_opIffEEKS2_SB_EEKNS_14CwiseNullaryOpINS6_18scalar_constant_opIfEESB_EEEEEERS2_RKNS0_IT_EE(ptr noundef nonnull align 1 dereferenceable(1) %6, ptr noundef nonnull align 1 dereferenceable(1) %10)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %250 = call ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE9transposeEv(ptr noundef nonnull align 1 dereferenceable(1) %8)
  store ptr %250, ptr %13, align 8
  %251 = call { ptr, ptr } @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmlINS_9TransposeIS2_EEEEKNS_7ProductIS2_T_Li0EEERKNS0_IS8_EE(ptr noundef nonnull align 1 dereferenceable(1) %246, ptr noundef nonnull align 1 dereferenceable(1) %13)
  %252 = extractvalue { ptr, ptr } %251, 0
  store ptr %252, ptr %12, align 8
  %253 = extractvalue { ptr, ptr } %251, 1
  store ptr %253, ptr %69, align 8
  %254 = call noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEEpLINS_7ProductINS1_IfLi3ELi1ELi0ELi3ELi1EEENS_9TransposeIS6_EELi0EEEEERS2_RKNS0_IT_EE(ptr noundef nonnull align 1 dereferenceable(1) %78, ptr noundef nonnull align 1 dereferenceable(1) %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  %255 = load float, ptr %7, align 4, !tbaa !32
  %256 = getelementptr inbounds i8, ptr %245, i64 16
  %257 = load float, ptr %256, align 8, !tbaa !37
  %258 = load float, ptr %80, align 8, !tbaa !26
  %259 = call float @llvm.fmuladd.f32(float %255, float %257, float %258)
  store float %259, ptr %80, align 8, !tbaa !26
  br label %260

260:                                              ; preds = %231, %225
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  br label %261

261:                                              ; preds = %260, %221, %218
  %indvars.iv.next.2 = add nsw i64 %135, 3
  %262 = add nsw i32 %133, 2
  %263 = icmp sgt i32 %133, -3
  br i1 %263, label %264, label %.loopexit.loopexit

264:                                              ; preds = %261
  %265 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %67)
  %266 = load i32, ptr %265, align 4, !tbaa !36
  %267 = icmp slt i32 %262, %266
  br i1 %267, label %268, label %.loopexit.loopexit

268:                                              ; preds = %264
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  %269 = getelementptr inbounds [64 x float], ptr %88, i64 0, i64 %indvars.iv.next.2
  %270 = load float, ptr %269, align 4, !tbaa !32
  store float %270, ptr %7, align 4, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %8) #6
  %271 = getelementptr inbounds [64 x %"class.Eigen::Matrix"], ptr %89, i64 0, i64 %indvars.iv.next.2
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(12) %271)
  %272 = load float, ptr %7, align 4, !tbaa !32
  %273 = fcmp ogt float %272, 0x3F1A36E2E0000000
  br i1 %273, label %274, label %303

274:                                              ; preds = %268
  %275 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %67)
  %276 = load i32, ptr %275, align 4, !tbaa !36
  %277 = mul nsw i32 %276, %.085107
  %278 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %67)
  %279 = load i32, ptr %278, align 4, !tbaa !36
  %280 = mul nsw i32 %277, %279
  %281 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIiLi3ELi1ELi0ELi3ELi1EEELi0EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %67)
  %282 = load i32, ptr %281, align 4, !tbaa !36
  %283 = mul nsw i32 %282, %.086104
  %284 = add i32 %280, %262
  %285 = add i32 %284, %283
  %286 = sext i32 %285 to i64
  %287 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP8GridCellSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %68, i64 noundef %286) #6
  %288 = load ptr, ptr %287, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  %289 = getelementptr inbounds i8, ptr %288, i64 32
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmlIfEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_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.126") align 8 %9, ptr noundef nonnull align 1 dereferenceable(1) %289, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %290 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEpLINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKS2_KNS_14CwiseNullaryOpINS6_18scalar_constant_opIfEES9_EEEEEERS2_RKNS0_IT_EE(ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull align 1 dereferenceable(1) %9)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #6
  %291 = getelementptr inbounds i8, ptr %288, i64 20
  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 %11, ptr noundef nonnull align 1 dereferenceable(1) %289, ptr noundef nonnull align 1 dereferenceable(1) %291)
  call void @_ZNK5Eigen10MatrixBaseINS_13CwiseBinaryOpINS_8internal20scalar_difference_opIffEEKNS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEES7_EEEmlIfEEKNS1_INS2_17scalar_product_opIfNS2_18promote_scalar_argIfT_Xsr5Eigen8internal14has_ReturnTypeINS_20ScalarBinaryOpTraitsIfSD_NSB_IfSD_EEEEEE5valueEE4typeEEEKS8_KNS2_19plain_constant_typeIS8_SI_E4typeEEERKSD_(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.133") align 8 %10, ptr noundef nonnull align 1 dereferenceable(1) %11, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %292 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEpLINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKNS5_INS6_20scalar_difference_opIffEEKS2_SB_EEKNS_14CwiseNullaryOpINS6_18scalar_constant_opIfEESB_EEEEEERS2_RKNS0_IT_EE(ptr noundef nonnull align 1 dereferenceable(1) %6, ptr noundef nonnull align 1 dereferenceable(1) %10)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %293 = call ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE9transposeEv(ptr noundef nonnull align 1 dereferenceable(1) %8)
  store ptr %293, ptr %13, align 8
  %294 = call { ptr, ptr } @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmlINS_9TransposeIS2_EEEEKNS_7ProductIS2_T_Li0EEERKNS0_IS8_EE(ptr noundef nonnull align 1 dereferenceable(1) %289, ptr noundef nonnull align 1 dereferenceable(1) %13)
  %295 = extractvalue { ptr, ptr } %294, 0
  store ptr %295, ptr %12, align 8
  %296 = extractvalue { ptr, ptr } %294, 1
  store ptr %296, ptr %69, align 8
  %297 = call noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEEpLINS_7ProductINS1_IfLi3ELi1ELi0ELi3ELi1EEENS_9TransposeIS6_EELi0EEEEERS2_RKNS0_IT_EE(ptr noundef nonnull align 1 dereferenceable(1) %78, ptr noundef nonnull align 1 dereferenceable(1) %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  %298 = load float, ptr %7, align 4, !tbaa !32
  %299 = getelementptr inbounds i8, ptr %288, i64 16
  %300 = load float, ptr %299, align 8, !tbaa !37
  %301 = load float, ptr %80, align 8, !tbaa !26
  %302 = call float @llvm.fmuladd.f32(float %298, float %300, float %301)
  store float %302, ptr %80, align 8, !tbaa !26
  br label %303

303:                                              ; preds = %274, %268
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  br label %.loopexit.loopexit

.loopexit.loopexit:                               ; preds = %303, %264, %261
  %indvars.iv.next.3 = add i32 %.1106, 4
  br label %.loopexit

304:                                              ; preds = %123, %121
  %305 = add nsw i32 %.1106, 4
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit, %304
  %.3 = phi i32 [ %305, %304 ], [ %indvars.iv.next.3, %.loopexit.loopexit ]
  %306 = add nsw i32 %.086104, 1
  %307 = icmp slt i32 %.086104, %120
  br i1 %307, label %121, label %.loopexit100, !llvm.loop !48

308:                                              ; preds = %108, %106
  %309 = add nsw i32 %.084109, 16
  br label %.loopexit100

.loopexit100:                                     ; preds = %.loopexit, %308
  %.4 = phi i32 [ %309, %308 ], [ %.3, %.loopexit ]
  %310 = add nsw i32 %.085107, 1
  %311 = icmp slt i32 %.085107, %90
  br i1 %311, label %106, label %91, !llvm.loop !50

312:                                              ; preds = %91
  %313 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %18)
  %314 = load float, ptr %313, align 4, !tbaa !32
  %315 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %0)
  %316 = load float, ptr %315, align 4, !tbaa !32
  %317 = fcmp olt float %314, %316
  br i1 %317, label %318, label %341

318:                                              ; preds = %312, %91
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %21) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #6
  store float 0.000000e+00, ptr %22, align 4, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #6
  store float 0.000000e+00, ptr %23, align 4, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #6
  store float 0.000000e+00, ptr %24, align 4, !tbaa !32
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %21, ptr noundef nonnull align 4 dereferenceable(4) %22, ptr noundef nonnull align 4 dereferenceable(4) %23, ptr noundef nonnull align 4 dereferenceable(4) %24)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %25) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %26) #6
  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 %26, ptr noundef nonnull align 1 dereferenceable(1) %100, ptr noundef nonnull align 1 dereferenceable(1) %21)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIffEEKS1_S7_EEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %25, ptr noundef nonnull align 1 dereferenceable(1) %26)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %26) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %27) #6
  %319 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %25)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %28) #6
  store float 0.000000e+00, ptr %28, align 4, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %29) #6
  store float 0.000000e+00, ptr %29, align 4, !tbaa !32
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %27, ptr noundef nonnull align 4 dereferenceable(4) %319, 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 nonnull %29) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %30) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %31) #6
  store float 0.000000e+00, ptr %31, align 4, !tbaa !32
  %320 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %25)
  %321 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %25)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %30, ptr noundef nonnull align 4 dereferenceable(4) %31, ptr noundef nonnull align 4 dereferenceable(4) %320, ptr noundef nonnull align 4 dereferenceable(4) %321)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #6
  %322 = call noundef float @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1) %27)
  %323 = call noundef float @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1) %30)
  %324 = getelementptr inbounds i8, ptr %98, i64 1360
  %325 = load ptr, ptr %324, align 8, !tbaa !51
  %326 = getelementptr inbounds i8, ptr %325, i64 28
  %327 = load float, ptr %326, align 4, !tbaa !52
  %328 = fmul float %322, %327
  %329 = fcmp olt float %323, %328
  %330 = fpext float %323 to double
  %331 = fcmp olt double %330, 0x3D719799812DEA11
  %or.cond = or i1 %331, %329
  br i1 %or.cond, label %332, label %334

332:                                              ; preds = %318
  %333 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE7setZeroEv(ptr noundef nonnull align 1 dereferenceable(1) %25)
  br label %339

334:                                              ; preds = %318
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %32) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #6
  %335 = fdiv float %328, %323
  %336 = fpext float %335 to double
  %337 = fsub double 1.000000e+00, %336
  store double %337, ptr %33, align 8, !tbaa !33
  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 %32, ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 1 dereferenceable(1) %30)
  %338 = 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) %25, ptr noundef nonnull align 1 dereferenceable(1) %32)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %32) #6
  br label %339

339:                                              ; preds = %334, %332
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %34) #6
  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 %34, ptr noundef nonnull align 1 dereferenceable(1) %25, ptr noundef nonnull align 1 dereferenceable(1) %21)
  %340 = 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) %100, ptr noundef nonnull align 1 dereferenceable(1) %34)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %34) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %30) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %27) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %25) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %21) #6
  br label %341

341:                                              ; preds = %339, %312
  %342 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %18)
  %343 = load float, ptr %342, align 4, !tbaa !32
  %344 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %71)
  %345 = load float, ptr %344, align 4, !tbaa !32
  %346 = fcmp ogt float %343, %345
  br i1 %346, label %353, label %347

347:                                              ; preds = %341
  %348 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %18)
  %349 = load float, ptr %348, align 4, !tbaa !32
  %350 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %0)
  %351 = load float, ptr %350, align 4, !tbaa !32
  %352 = fcmp olt float %349, %351
  br i1 %352, label %353, label %376

353:                                              ; preds = %347, %341
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %35) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %36) #6
  store float 0.000000e+00, ptr %36, align 4, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %37) #6
  store float 0.000000e+00, ptr %37, align 4, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %38) #6
  store float 0.000000e+00, ptr %38, align 4, !tbaa !32
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %35, ptr noundef nonnull align 4 dereferenceable(4) %36, ptr noundef nonnull align 4 dereferenceable(4) %37, ptr noundef nonnull align 4 dereferenceable(4) %38)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %38) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %37) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %36) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %39) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %40) #6
  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 %40, ptr noundef nonnull align 1 dereferenceable(1) %100, ptr noundef nonnull align 1 dereferenceable(1) %35)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIffEEKS1_S7_EEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %39, ptr noundef nonnull align 1 dereferenceable(1) %40)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %40) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %41) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %42) #6
  store float 0.000000e+00, ptr %42, align 4, !tbaa !32
  %354 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %39)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %43) #6
  store float 0.000000e+00, ptr %43, align 4, !tbaa !32
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %41, ptr noundef nonnull align 4 dereferenceable(4) %42, ptr noundef nonnull align 4 dereferenceable(4) %354, ptr noundef nonnull align 4 dereferenceable(4) %43)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %43) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %42) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %44) #6
  %355 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %39)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %45) #6
  store float 0.000000e+00, ptr %45, align 4, !tbaa !32
  %356 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %39)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %44, ptr noundef nonnull align 4 dereferenceable(4) %355, ptr noundef nonnull align 4 dereferenceable(4) %45, ptr noundef nonnull align 4 dereferenceable(4) %356)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %45) #6
  %357 = call noundef float @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1) %41)
  %358 = call noundef float @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1) %44)
  %359 = getelementptr inbounds i8, ptr %98, i64 1360
  %360 = load ptr, ptr %359, align 8, !tbaa !51
  %361 = getelementptr inbounds i8, ptr %360, i64 28
  %362 = load float, ptr %361, align 4, !tbaa !52
  %363 = fmul float %357, %362
  %364 = fcmp olt float %358, %363
  %365 = fpext float %358 to double
  %366 = fcmp olt double %365, 0x3D719799812DEA11
  %or.cond97 = or i1 %366, %364
  br i1 %or.cond97, label %367, label %369

367:                                              ; preds = %353
  %368 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE7setZeroEv(ptr noundef nonnull align 1 dereferenceable(1) %39)
  br label %374

369:                                              ; preds = %353
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %46) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %47) #6
  %370 = fdiv float %363, %358
  %371 = fpext float %370 to double
  %372 = fsub double 1.000000e+00, %371
  store double %372, ptr %47, align 8, !tbaa !33
  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 %46, ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull align 1 dereferenceable(1) %44)
  %373 = 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) %39, ptr noundef nonnull align 1 dereferenceable(1) %46)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %47) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %46) #6
  br label %374

374:                                              ; preds = %369, %367
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %48) #6
  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 %48, ptr noundef nonnull align 1 dereferenceable(1) %39, ptr noundef nonnull align 1 dereferenceable(1) %35)
  %375 = 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) %100, ptr noundef nonnull align 1 dereferenceable(1) %48)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %48) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %44) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %41) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %39) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %35) #6
  br label %376

376:                                              ; preds = %374, %347
  %377 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %18)
  %378 = load float, ptr %377, align 4, !tbaa !32
  %379 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %71)
  %380 = load float, ptr %379, align 4, !tbaa !32
  %381 = fcmp ogt float %378, %380
  br i1 %381, label %388, label %382

382:                                              ; preds = %376
  %383 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %18)
  %384 = load float, ptr %383, align 4, !tbaa !32
  %385 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %0)
  %386 = load float, ptr %385, align 4, !tbaa !32
  %387 = fcmp olt float %384, %386
  br i1 %387, label %388, label %411

388:                                              ; preds = %382, %376
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %49) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %50) #6
  store float 0.000000e+00, ptr %50, align 4, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %51) #6
  store float 0.000000e+00, ptr %51, align 4, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %52) #6
  store float 0.000000e+00, ptr %52, align 4, !tbaa !32
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %49, ptr noundef nonnull align 4 dereferenceable(4) %50, ptr noundef nonnull align 4 dereferenceable(4) %51, ptr noundef nonnull align 4 dereferenceable(4) %52)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %52) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %51) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %50) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %53) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %54) #6
  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 %54, ptr noundef nonnull align 1 dereferenceable(1) %100, ptr noundef nonnull align 1 dereferenceable(1) %49)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIffEEKS1_S7_EEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %53, ptr noundef nonnull align 1 dereferenceable(1) %54)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %54) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %55) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %56) #6
  store float 0.000000e+00, ptr %56, align 4, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %57) #6
  store float 0.000000e+00, ptr %57, align 4, !tbaa !32
  %389 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1zEv(ptr noundef nonnull align 1 dereferenceable(1) %53)
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %55, ptr noundef nonnull align 4 dereferenceable(4) %56, ptr noundef nonnull align 4 dereferenceable(4) %57, ptr noundef nonnull align 4 dereferenceable(4) %389)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %57) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %56) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %58) #6
  %390 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %53)
  %391 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %53)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %59) #6
  store float 0.000000e+00, ptr %59, align 4, !tbaa !32
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %58, ptr noundef nonnull align 4 dereferenceable(4) %390, ptr noundef nonnull align 4 dereferenceable(4) %391, ptr noundef nonnull align 4 dereferenceable(4) %59)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %59) #6
  %392 = call noundef float @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1) %55)
  %393 = call noundef float @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE4normEv(ptr noundef nonnull align 1 dereferenceable(1) %58)
  %394 = getelementptr inbounds i8, ptr %98, i64 1360
  %395 = load ptr, ptr %394, align 8, !tbaa !51
  %396 = getelementptr inbounds i8, ptr %395, i64 28
  %397 = load float, ptr %396, align 4, !tbaa !52
  %398 = fmul float %392, %397
  %399 = fcmp olt float %393, %398
  %400 = fpext float %393 to double
  %401 = fcmp olt double %400, 0x3D719799812DEA11
  %or.cond99 = or i1 %401, %399
  br i1 %or.cond99, label %402, label %404

402:                                              ; preds = %388
  %403 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE7setZeroEv(ptr noundef nonnull align 1 dereferenceable(1) %53)
  br label %409

404:                                              ; preds = %388
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %60) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %61) #6
  %405 = fdiv float %398, %393
  %406 = fpext float %405 to double
  %407 = fsub double 1.000000e+00, %406
  store double %407, ptr %61, align 8, !tbaa !33
  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 %60, ptr noundef nonnull align 8 dereferenceable(8) %61, ptr noundef nonnull align 1 dereferenceable(1) %58)
  %408 = 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) %53, ptr noundef nonnull align 1 dereferenceable(1) %60)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %61) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %60) #6
  br label %409

409:                                              ; preds = %404, %402
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %62) #6
  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 %62, ptr noundef nonnull align 1 dereferenceable(1) %53, ptr noundef nonnull align 1 dereferenceable(1) %49)
  %410 = 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) %100, ptr noundef nonnull align 1 dereferenceable(1) %62)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %62) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %58) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %55) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %53) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %49) #6
  br label %411

411:                                              ; preds = %409, %382
  call void @_ZN12SnowParticle9updatePosEv(ptr noundef nonnull align 8 dereferenceable(1368) %98)
  call void @_ZN12SnowParticle25updatePureElasticGradientEv(ptr noundef nonnull align 8 dereferenceable(1368) %98)
  call void @_ZN12SnowParticle30updateCombinedPElasticGradientEv(ptr noundef nonnull align 8 dereferenceable(1368) %98)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %18) #6
  %indvars.iv.next113 = add nuw nsw i64 %indvars.iv112, 1
  %412 = load ptr, ptr %63, align 8, !tbaa !5
  %413 = call noundef i64 @_ZNKSt6vectorIP12SnowParticleSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %412) #6
  %414 = icmp ugt i64 %413, %indvars.iv.next113
  br i1 %414, label %72, label %._crit_edge, !llvm.loop !54
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmlIfEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_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.126") 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 @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEpLINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKS2_KNS_14CwiseNullaryOpINS6_18scalar_constant_opIfEES9_EEEEEERS2_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_13CwiseBinaryOpINS_8internal20scalar_difference_opIffEEKNS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEES7_EEEmlIfEEKNS1_INS2_17scalar_product_opIfNS2_18promote_scalar_argIfT_Xsr5Eigen8internal14has_ReturnTypeINS_20ScalarBinaryOpTraitsIfSD_NSB_IfSD_EEEEEE5valueEE4typeEEEKS8_KNS2_19plain_constant_typeIS8_SI_E4typeEEERKSD_(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseBinaryOp.133") 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 @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEpLINS_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKNS5_INS6_20scalar_difference_opIffEEKS2_SB_EEKNS_14CwiseNullaryOpINS6_18scalar_constant_opIfEESB_EEEEEERS2_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 { ptr, ptr } @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmlINS_9TransposeIS2_EEEEKNS_7ProductIS2_T_Li0EEERKNS0_IS8_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 ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE9transposeEv(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(36) ptr @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEEpLINS_7ProductINS1_IfLi3ELi1ELi0ELi3ELi1EEENS_9TransposeIS6_EELi0EEEEERS2_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_13CwiseBinaryOpINS_8internal17scalar_product_opIffEEKNS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEKNS_14CwiseNullaryOpINS2_18scalar_constant_opIfEES7_EEEEEplISD_EEKNS1_INS2_13scalar_sum_opIfNS2_6traitsIT_E6ScalarEEEKSD_KSI_EERKNS0_ISI_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseBinaryOp.153") 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_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEmlIdEEKNS_13CwiseBinaryOpINS_8internal17scalar_product_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.126") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(8)) 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_opIffEEKNS3_INS4_17scalar_product_opIffEEKS1_KNS_14CwiseNullaryOpINS4_18scalar_constant_opIfEES9_EEEESG_EEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #0 align 2

declare void @_ZN12SnowParticle9updatePosEv(ptr noundef nonnull align 8 dereferenceable(1368)) local_unnamed_addr #5

declare void @_ZN12SnowParticle25updatePureElasticGradientEv(ptr noundef nonnull align 8 dereferenceable(1368)) local_unnamed_addr #5

declare void @_ZN12SnowParticle30updateCombinedPElasticGradientEv(ptr noundef nonnull align 8 dereferenceable(1368)) local_unnamed_addr #5

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !18, i64 72}
!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, !19, i64 8}
!27 = !{!"_ZTS12SnowParticle", !19, i64 0, !19, i64 4, !19, i64 8, !8, i64 12, !8, i64 24, !28, i64 36, !28, i64 72, !28, i64 108, !28, i64 144, !28, i64 180, !8, i64 216, !28, i64 228, !28, i64 264, !28, i64 300, !12, i64 336, !12, i64 1104, !18, i64 1360}
!28 = !{!"_ZTSN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEE", !29, i64 0}
!29 = !{!"_ZTSN5Eigen15PlainObjectBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEEE", !30, i64 0}
!30 = !{!"_ZTSN5Eigen12DenseStorageIfLi9ELi3ELi3ELi0EEE", !31, i64 0}
!31 = !{!"_ZTSN5Eigen8internal11plain_arrayIfLi9ELi0ELi0EEE", !12, i64 0}
!32 = !{!19, !19, i64 0}
!33 = !{!34, !34, i64 0}
!34 = !{!"double", !12, i64 0}
!35 = !{!6, !19, i64 80}
!36 = !{!20, !20, i64 0}
!37 = !{!38, !19, i64 16}
!38 = !{!"_ZTS8GridCell", !39, i64 0, !20, i64 4, !20, i64 8, !20, i64 12, !19, i64 16, !8, i64 20, !8, i64 32, !8, i64 44, !40, i64 56, !44, i64 80, !8, i64 104, !8, i64 116, !8, i64 128, !8, i64 140, !8, i64 152, !19, i64 164}
!39 = !{!"bool", !12, i64 0}
!40 = !{!"_ZTSSt6vectorIP12SnowParticleSaIS1_EE", !41, i64 0}
!41 = !{!"_ZTSSt12_Vector_baseIP12SnowParticleSaIS1_EE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIP12SnowParticleSaIS1_EE12_Vector_implE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIP12SnowParticleSaIS1_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!44 = !{!"_ZTSSt6vectorIiSaIiEE", !45, i64 0}
!45 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!48 = distinct !{!48, !49}
!49 = !{!"llvm.loop.mustprogress"}
!50 = distinct !{!50, !49}
!51 = !{!27, !18, i64 1360}
!52 = !{!53, !19, i64 28}
!53 = !{!"_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}
!54 = distinct !{!54, !49}


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