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

; 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::Matrix.3" = type { %"class.Eigen::PlainObjectBase.4" }
%"class.Eigen::PlainObjectBase.4" = type { %"class.Eigen::DenseStorage.11" }
%"class.Eigen::DenseStorage.11" = type { %"struct.Eigen::internal::plain_array.12" }
%"struct.Eigen::internal::plain_array.12" = type { [9 x float] }
%"class.Eigen::Product" = type { ptr, ptr }
%"class.Eigen::JacobiSVD" = type { %"class.Eigen::SVDBase.base", %"class.Eigen::Matrix.3", [4 x i8], %"class.Eigen::Matrix.3" }
%"class.Eigen::SVDBase.base" = type <{ %"class.Eigen::Matrix.3", %"class.Eigen::Matrix.3", %"class.Eigen::Matrix", i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, [4 x i8], i64, i64, i64, i64, float }>
%"class.Eigen::Matrix" = type { %"class.Eigen::PlainObjectBase" }
%"class.Eigen::PlainObjectBase" = type { %"class.Eigen::DenseStorage" }
%"class.Eigen::DenseStorage" = type { %"struct.Eigen::internal::plain_array" }
%"struct.Eigen::internal::plain_array" = type { [3 x float] }
%"class.Eigen::Block" = type { %"class.Eigen::BlockImpl" }
%"class.Eigen::BlockImpl" = type { %"class.Eigen::internal::BlockImpl_dense" }
%"class.Eigen::internal::BlockImpl_dense" = type { %"class.Eigen::MapBase.base.62", ptr, %"class.Eigen::internal::variable_if_dynamic", %"class.Eigen::internal::variable_if_dynamic", i64 }
%"class.Eigen::MapBase.base.62" = type { %"class.Eigen::MapBase.base" }
%"class.Eigen::MapBase.base" = type <{ ptr, [2 x i8] }>
%"class.Eigen::internal::variable_if_dynamic" = type { i64 }
%"class.Eigen::Product.63" = type { %"class.Eigen::Product.70", ptr }
%"class.Eigen::Product.70" = type { ptr, %"class.Eigen::Transpose" }
%"class.Eigen::Transpose" = type { ptr }
%class.SnowParticle = type { float, float, float, %"class.Eigen::Matrix", %"class.Eigen::Matrix", %"class.Eigen::Matrix.3", %"class.Eigen::Matrix.3", %"class.Eigen::Matrix.3", %"class.Eigen::Matrix.3", %"class.Eigen::Matrix.3", %"class.Eigen::Matrix", %"class.Eigen::Matrix.3", %"class.Eigen::Matrix.3", %"class.Eigen::Matrix.3", [64 x %"class.Eigen::Matrix"], [64 x float], ptr }
%class.SnowParticleMaterial = type { float, i32, float, float, float, float, float, float, float, float }

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12SnowParticle30updateCombinedPElasticGradientEv(ptr noundef nonnull align 8 dereferenceable(1368) %0) #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.Eigen::Matrix.3", align 4
  %4 = alloca %"class.Eigen::Product", align 8
  %5 = alloca %"class.Eigen::JacobiSVD", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %"class.Eigen::Matrix.3", align 4
  %10 = alloca %"class.Eigen::Matrix.3", align 4
  %11 = alloca %"class.Eigen::Block", align 8
  %12 = alloca %"class.Eigen::Block", align 8
  %13 = alloca %"class.Eigen::Block", align 8
  %14 = alloca %"class.Eigen::Block", align 8
  %15 = alloca %"class.Eigen::Block", align 8
  %16 = alloca %"class.Eigen::Block", align 8
  %17 = alloca %"class.Eigen::Product.63", align 8
  %18 = alloca %"class.Eigen::Product.70", align 8
  %19 = alloca %"class.Eigen::Transpose", align 8
  %20 = alloca %"class.Eigen::Product.70", align 8
  %21 = alloca %"class.Eigen::Transpose", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %22 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 36, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #4
  %23 = getelementptr inbounds %class.SnowParticle, ptr %22, i32 0, i32 6
  %24 = getelementptr inbounds %class.SnowParticle, ptr %22, i32 0, i32 7
  %25 = call { ptr, ptr } @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEEmlIS2_EEKNS_7ProductIS2_T_Li0EEERKNS0_IS6_EE(ptr noundef nonnull align 1 dereferenceable(1) %23, ptr noundef nonnull align 1 dereferenceable(1) %24)
  %26 = getelementptr inbounds { ptr, ptr }, ptr %4, i32 0, i32 0
  %27 = extractvalue { ptr, ptr } %25, 0
  store ptr %27, ptr %26, align 8
  %28 = getelementptr inbounds { ptr, ptr }, ptr %4, i32 0, i32 1
  %29 = extractvalue { ptr, ptr } %25, 1
  store ptr %29, ptr %28, align 8
  call void @_ZN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEC2INS_7ProductIS1_S1_Li0EEEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(36) %3, ptr noundef nonnull align 1 dereferenceable(1) %4)
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 216, ptr %5) #4
  %30 = getelementptr inbounds %class.SnowParticle, ptr %22, i32 0, i32 6
  call void @_ZN5Eigen9JacobiSVDINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi2EEC2ERKS2_j(ptr noundef nonnull align 8 dereferenceable(216) %5, ptr noundef nonnull align 4 dereferenceable(36) %30, i32 noundef 20)
  %31 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZNK5Eigen7SVDBaseINS_9JacobiSVDINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi2EEEE14singularValuesEv(ptr noundef nonnull align 8 dereferenceable(140) %5)
          to label %32 unwind label %50

32:                                               ; preds = %1
  %33 = getelementptr inbounds %class.SnowParticle, ptr %22, i32 0, i32 10
  %34 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %33, ptr noundef nonnull align 4 dereferenceable(12) %31)
          to label %35 unwind label %50

35:                                               ; preds = %32
  %36 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZNK5Eigen7SVDBaseINS_9JacobiSVDINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi2EEEE7matrixUEv(ptr noundef nonnull align 8 dereferenceable(140) %5)
          to label %37 unwind label %50

37:                                               ; preds = %35
  %38 = getelementptr inbounds %class.SnowParticle, ptr %22, i32 0, i32 8
  %39 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(36) %38, ptr noundef nonnull align 4 dereferenceable(36) %36)
          to label %40 unwind label %50

40:                                               ; preds = %37
  %41 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZNK5Eigen7SVDBaseINS_9JacobiSVDINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi2EEEE7matrixVEv(ptr noundef nonnull align 8 dereferenceable(140) %5)
          to label %42 unwind label %50

42:                                               ; preds = %40
  %43 = getelementptr inbounds %class.SnowParticle, ptr %22, i32 0, i32 9
  %44 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(36) %43, ptr noundef nonnull align 4 dereferenceable(36) %41)
          to label %45 unwind label %50

45:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %46

46:                                               ; preds = %73, %45
  %47 = load i32, ptr %8, align 4, !tbaa !9
  %48 = icmp slt i32 %47, 3
  br i1 %48, label %54, label %49

49:                                               ; preds = %46
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %80

50:                                               ; preds = %42, %40, %37, %35, %32, %1
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %6, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %7, align 4
  br label %190

54:                                               ; preds = %46
  %55 = getelementptr inbounds %class.SnowParticle, ptr %22, i32 0, i32 16
  %56 = load ptr, ptr %55, align 8, !tbaa !11
  %57 = getelementptr inbounds %class.SnowParticleMaterial, ptr %56, i32 0, i32 2
  %58 = getelementptr inbounds %class.SnowParticle, ptr %22, i32 0, i32 16
  %59 = load ptr, ptr %58, align 8, !tbaa !11
  %60 = getelementptr inbounds %class.SnowParticleMaterial, ptr %59, i32 0, i32 3
  %61 = getelementptr inbounds %class.SnowParticle, ptr %22, i32 0, i32 10
  %62 = load i32, ptr %8, align 4, !tbaa !9
  %63 = sext i32 %62 to i64
  %64 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EEixEl(ptr noundef nonnull align 1 dereferenceable(1) %61, i64 noundef %63)
          to label %65 unwind label %76

65:                                               ; preds = %54
  %66 = invoke noundef float @_Z5clampRKfS0_S0_(ptr noundef nonnull align 4 dereferenceable(4) %57, ptr noundef nonnull align 4 dereferenceable(4) %60, ptr noundef nonnull align 4 dereferenceable(4) %64)
          to label %67 unwind label %76

67:                                               ; preds = %65
  %68 = getelementptr inbounds %class.SnowParticle, ptr %22, i32 0, i32 10
  %69 = load i32, ptr %8, align 4, !tbaa !9
  %70 = sext i32 %69 to i64
  %71 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EEixEl(ptr noundef nonnull align 1 dereferenceable(1) %68, i64 noundef %70)
          to label %72 unwind label %76

72:                                               ; preds = %67
  store float %66, ptr %71, align 4, !tbaa !22
  br label %73

73:                                               ; preds = %72
  %74 = load i32, ptr %8, align 4, !tbaa !9
  %75 = add nsw i32 %74, 1
  store i32 %75, ptr %8, align 4, !tbaa !9
  br label %46, !llvm.loop !23

76:                                               ; preds = %67, %65, %54
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %6, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %190

80:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 36, ptr %9) #4
  %81 = getelementptr inbounds %class.SnowParticle, ptr %22, i32 0, i32 9
  invoke void @_ZN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(36) %9, ptr noundef nonnull align 4 dereferenceable(36) %81)
          to label %82 unwind label %148

82:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 36, ptr %10) #4
  %83 = getelementptr inbounds %class.SnowParticle, ptr %22, i32 0, i32 8
  invoke void @_ZN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(36) %10, ptr noundef nonnull align 4 dereferenceable(36) %83)
          to label %84 unwind label %152

84:                                               ; preds = %82
  %85 = getelementptr inbounds %class.SnowParticle, ptr %22, i32 0, i32 10
  %86 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EEixEl(ptr noundef nonnull align 1 dereferenceable(1) %85, i64 noundef 0)
          to label %87 unwind label %152

87:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 48, ptr %11) #4
  invoke void @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEE3colEl(ptr dead_on_unwind writable sret(%"class.Eigen::Block") align 8 %11, ptr noundef nonnull align 1 dereferenceable(1) %9, i64 noundef 0)
          to label %88 unwind label %156

88:                                               ; preds = %87
  %89 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5Eigen9DenseBaseINS_5BlockINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi3ELi1ELb1EEEEdVERKf(ptr noundef nonnull align 1 dereferenceable(1) %11, ptr noundef nonnull align 4 dereferenceable(4) %86)
          to label %90 unwind label %156

90:                                               ; preds = %88
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #4
  %91 = getelementptr inbounds %class.SnowParticle, ptr %22, i32 0, i32 10
  %92 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EEixEl(ptr noundef nonnull align 1 dereferenceable(1) %91, i64 noundef 1)
          to label %93 unwind label %152

93:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 48, ptr %12) #4
  invoke void @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEE3colEl(ptr dead_on_unwind writable sret(%"class.Eigen::Block") align 8 %12, ptr noundef nonnull align 1 dereferenceable(1) %9, i64 noundef 1)
          to label %94 unwind label %160

94:                                               ; preds = %93
  %95 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5Eigen9DenseBaseINS_5BlockINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi3ELi1ELb1EEEEdVERKf(ptr noundef nonnull align 1 dereferenceable(1) %12, ptr noundef nonnull align 4 dereferenceable(4) %92)
          to label %96 unwind label %160

96:                                               ; preds = %94
  call void @llvm.lifetime.end.p0(i64 48, ptr %12) #4
  %97 = getelementptr inbounds %class.SnowParticle, ptr %22, i32 0, i32 10
  %98 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EEixEl(ptr noundef nonnull align 1 dereferenceable(1) %97, i64 noundef 2)
          to label %99 unwind label %152

99:                                               ; preds = %96
  call void @llvm.lifetime.start.p0(i64 48, ptr %13) #4
  invoke void @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEE3colEl(ptr dead_on_unwind writable sret(%"class.Eigen::Block") align 8 %13, ptr noundef nonnull align 1 dereferenceable(1) %9, i64 noundef 2)
          to label %100 unwind label %164

100:                                              ; preds = %99
  %101 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5Eigen9DenseBaseINS_5BlockINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi3ELi1ELb1EEEEdVERKf(ptr noundef nonnull align 1 dereferenceable(1) %13, ptr noundef nonnull align 4 dereferenceable(4) %98)
          to label %102 unwind label %164

102:                                              ; preds = %100
  call void @llvm.lifetime.end.p0(i64 48, ptr %13) #4
  %103 = getelementptr inbounds %class.SnowParticle, ptr %22, i32 0, i32 10
  %104 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EEixEl(ptr noundef nonnull align 1 dereferenceable(1) %103, i64 noundef 0)
          to label %105 unwind label %152

105:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 48, ptr %14) #4
  invoke void @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEE3colEl(ptr dead_on_unwind writable sret(%"class.Eigen::Block") align 8 %14, ptr noundef nonnull align 1 dereferenceable(1) %10, i64 noundef 0)
          to label %106 unwind label %168

106:                                              ; preds = %105
  %107 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5Eigen9DenseBaseINS_5BlockINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi3ELi1ELb1EEEEmLERKf(ptr noundef nonnull align 1 dereferenceable(1) %14, ptr noundef nonnull align 4 dereferenceable(4) %104)
          to label %108 unwind label %168

108:                                              ; preds = %106
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #4
  %109 = getelementptr inbounds %class.SnowParticle, ptr %22, i32 0, i32 10
  %110 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EEixEl(ptr noundef nonnull align 1 dereferenceable(1) %109, i64 noundef 1)
          to label %111 unwind label %152

111:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 48, ptr %15) #4
  invoke void @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEE3colEl(ptr dead_on_unwind writable sret(%"class.Eigen::Block") align 8 %15, ptr noundef nonnull align 1 dereferenceable(1) %10, i64 noundef 1)
          to label %112 unwind label %172

112:                                              ; preds = %111
  %113 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5Eigen9DenseBaseINS_5BlockINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi3ELi1ELb1EEEEmLERKf(ptr noundef nonnull align 1 dereferenceable(1) %15, ptr noundef nonnull align 4 dereferenceable(4) %110)
          to label %114 unwind label %172

114:                                              ; preds = %112
  call void @llvm.lifetime.end.p0(i64 48, ptr %15) #4
  %115 = getelementptr inbounds %class.SnowParticle, ptr %22, i32 0, i32 10
  %116 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EEixEl(ptr noundef nonnull align 1 dereferenceable(1) %115, i64 noundef 2)
          to label %117 unwind label %152

117:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 48, ptr %16) #4
  invoke void @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEE3colEl(ptr dead_on_unwind writable sret(%"class.Eigen::Block") align 8 %16, ptr noundef nonnull align 1 dereferenceable(1) %10, i64 noundef 2)
          to label %118 unwind label %176

118:                                              ; preds = %117
  %119 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5Eigen9DenseBaseINS_5BlockINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi3ELi1ELb1EEEEmLERKf(ptr noundef nonnull align 1 dereferenceable(1) %16, ptr noundef nonnull align 4 dereferenceable(4) %116)
          to label %120 unwind label %176

120:                                              ; preds = %118
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %121 = getelementptr inbounds %class.SnowParticle, ptr %22, i32 0, i32 8
  %122 = invoke ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEE9transposeEv(ptr noundef nonnull align 1 dereferenceable(1) %121)
          to label %123 unwind label %180

123:                                              ; preds = %120
  %124 = getelementptr inbounds %"class.Eigen::Transpose", ptr %19, i32 0, i32 0
  store ptr %122, ptr %124, align 8
  %125 = invoke { ptr, ptr } @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEEmlINS_9TransposeIS2_EEEEKNS_7ProductIS2_T_Li0EEERKNS0_IS8_EE(ptr noundef nonnull align 1 dereferenceable(1) %9, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %126 unwind label %180

126:                                              ; preds = %123
  %127 = getelementptr inbounds { ptr, ptr }, ptr %18, i32 0, i32 0
  %128 = extractvalue { ptr, ptr } %125, 0
  store ptr %128, ptr %127, align 8
  %129 = getelementptr inbounds { ptr, ptr }, ptr %18, i32 0, i32 1
  %130 = extractvalue { ptr, ptr } %125, 1
  store ptr %130, ptr %129, align 8
  invoke void @_ZNK5Eigen10MatrixBaseINS_7ProductINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEENS_9TransposeIS3_EELi0EEEEmlIS3_EEKNS1_IS6_T_Li0EEERKNS0_IS9_EE(ptr dead_on_unwind writable sret(%"class.Eigen::Product.63") align 8 %17, ptr noundef nonnull align 1 dereferenceable(1) %18, ptr noundef nonnull align 1 dereferenceable(1) %3)
          to label %131 unwind label %180

131:                                              ; preds = %126
  %132 = getelementptr inbounds %class.SnowParticle, ptr %22, i32 0, i32 7
  %133 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEaSINS_7ProductINS3_IS1_NS_9TransposeIS1_EELi0EEES1_Li0EEEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(36) %132, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %134 unwind label %180

134:                                              ; preds = %131
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  %135 = getelementptr inbounds %class.SnowParticle, ptr %22, i32 0, i32 9
  %136 = invoke ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEE9transposeEv(ptr noundef nonnull align 1 dereferenceable(1) %135)
          to label %137 unwind label %184

137:                                              ; preds = %134
  %138 = getelementptr inbounds %"class.Eigen::Transpose", ptr %21, i32 0, i32 0
  store ptr %136, ptr %138, align 8
  %139 = invoke { ptr, ptr } @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEEmlINS_9TransposeIS2_EEEEKNS_7ProductIS2_T_Li0EEERKNS0_IS8_EE(ptr noundef nonnull align 1 dereferenceable(1) %10, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %140 unwind label %184

140:                                              ; preds = %137
  %141 = getelementptr inbounds { ptr, ptr }, ptr %20, i32 0, i32 0
  %142 = extractvalue { ptr, ptr } %139, 0
  store ptr %142, ptr %141, align 8
  %143 = getelementptr inbounds { ptr, ptr }, ptr %20, i32 0, i32 1
  %144 = extractvalue { ptr, ptr } %139, 1
  store ptr %144, ptr %143, align 8
  %145 = getelementptr inbounds %class.SnowParticle, ptr %22, i32 0, i32 6
  %146 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEaSINS_7ProductIS1_NS_9TransposeIS1_EELi0EEEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(36) %145, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %147 unwind label %184

147:                                              ; preds = %140
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 36, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 36, ptr %9) #4
  call void @_ZN5Eigen10SolverBaseINS_7SVDBaseINS_9JacobiSVDINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi2EEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(216) %5) #4
  call void @llvm.lifetime.end.p0(i64 216, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 36, ptr %3) #4
  ret void

148:                                              ; preds = %80
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %6, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %7, align 4
  br label %189

152:                                              ; preds = %114, %108, %102, %96, %90, %84, %82
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %6, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %7, align 4
  br label %188

156:                                              ; preds = %88, %87
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %6, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #4
  br label %188

160:                                              ; preds = %94, %93
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %6, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 48, ptr %12) #4
  br label %188

164:                                              ; preds = %100, %99
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %6, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 48, ptr %13) #4
  br label %188

168:                                              ; preds = %106, %105
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %6, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #4
  br label %188

172:                                              ; preds = %112, %111
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %6, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 48, ptr %15) #4
  br label %188

176:                                              ; preds = %118, %117
  %177 = landingpad { ptr, i32 }
          cleanup
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %6, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #4
  br label %188

180:                                              ; preds = %131, %126, %123, %120
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %6, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #4
  br label %188

184:                                              ; preds = %140, %137, %134
  %185 = landingpad { ptr, i32 }
          cleanup
  %186 = extractvalue { ptr, i32 } %185, 0
  store ptr %186, ptr %6, align 8
  %187 = extractvalue { ptr, i32 } %185, 1
  store i32 %187, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #4
  br label %188

188:                                              ; preds = %184, %180, %176, %172, %168, %164, %160, %156, %152
  call void @llvm.lifetime.end.p0(i64 36, ptr %10) #4
  br label %189

189:                                              ; preds = %188, %148
  call void @llvm.lifetime.end.p0(i64 36, ptr %9) #4
  br label %190

190:                                              ; preds = %189, %76, %50
  call void @_ZN5Eigen10SolverBaseINS_7SVDBaseINS_9JacobiSVDINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi2EEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(216) %5) #4
  call void @llvm.lifetime.end.p0(i64 216, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 36, ptr %3) #4
  br label %191

191:                                              ; preds = %190
  %192 = load ptr, ptr %6, align 8
  %193 = load i32, ptr %7, align 4
  %194 = insertvalue { ptr, i32 } poison, ptr %192, 0
  %195 = insertvalue { ptr, i32 } %194, i32 %193, 1
  resume { ptr, i32 } %195
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Eigen9JacobiSVDINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi2EEC2ERKS2_j(ptr noundef nonnull align 8 dereferenceable(216), ptr noundef nonnull align 4 dereferenceable(36), i32 noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNK5Eigen7SVDBaseINS_9JacobiSVDINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi2EEEE14singularValuesEv(ptr noundef nonnull align 8 dereferenceable(140)) #2 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(36) ptr @_ZNK5Eigen7SVDBaseINS_9JacobiSVDINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi2EEEE7matrixUEv(ptr noundef nonnull align 8 dereferenceable(140)) #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(36) ptr @_ZNK5Eigen7SVDBaseINS_9JacobiSVDINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi2EEEE7matrixVEv(ptr noundef nonnull align 8 dereferenceable(140)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef float @_Z5clampRKfS0_S0_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #1

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

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

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

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

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

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

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 1360}
!12 = !{!"_ZTS12SnowParticle", !13, i64 0, !13, i64 4, !13, i64 8, !14, i64 12, !14, i64 24, !18, i64 36, !18, i64 72, !18, i64 108, !18, i64 144, !18, i64 180, !14, i64 216, !18, i64 228, !18, i64 264, !18, i64 300, !7, i64 336, !7, i64 1104, !6, i64 1360}
!13 = !{!"float", !7, i64 0}
!14 = !{!"_ZTSN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEE", !15, i64 0}
!15 = !{!"_ZTSN5Eigen15PlainObjectBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEE", !16, i64 0}
!16 = !{!"_ZTSN5Eigen12DenseStorageIfLi3ELi3ELi1ELi0EEE", !17, i64 0}
!17 = !{!"_ZTSN5Eigen8internal11plain_arrayIfLi3ELi0ELi0EEE", !7, i64 0}
!18 = !{!"_ZTSN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEE", !19, i64 0}
!19 = !{!"_ZTSN5Eigen15PlainObjectBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEEE", !20, i64 0}
!20 = !{!"_ZTSN5Eigen12DenseStorageIfLi9ELi3ELi3ELi0EEE", !21, i64 0}
!21 = !{!"_ZTSN5Eigen8internal11plain_arrayIfLi9ELi0ELi0EEE", !7, i64 0}
!22 = !{!13, !13, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}


; 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::Matrix.3" = type { %"class.Eigen::PlainObjectBase.4" }
%"class.Eigen::PlainObjectBase.4" = type { %"class.Eigen::DenseStorage.11" }
%"class.Eigen::DenseStorage.11" = type { %"struct.Eigen::internal::plain_array.12" }
%"struct.Eigen::internal::plain_array.12" = type { [9 x float] }
%"class.Eigen::Product" = type { ptr, ptr }
%"class.Eigen::JacobiSVD" = type { %"class.Eigen::SVDBase.base", %"class.Eigen::Matrix.3", [4 x i8], %"class.Eigen::Matrix.3" }
%"class.Eigen::SVDBase.base" = type <{ %"class.Eigen::Matrix.3", %"class.Eigen::Matrix.3", %"class.Eigen::Matrix", i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, [4 x i8], i64, i64, i64, i64, float }>
%"class.Eigen::Matrix" = type { %"class.Eigen::PlainObjectBase" }
%"class.Eigen::PlainObjectBase" = type { %"class.Eigen::DenseStorage" }
%"class.Eigen::DenseStorage" = type { %"struct.Eigen::internal::plain_array" }
%"struct.Eigen::internal::plain_array" = type { [3 x float] }
%"class.Eigen::Block" = type { %"class.Eigen::BlockImpl" }
%"class.Eigen::BlockImpl" = type { %"class.Eigen::internal::BlockImpl_dense" }
%"class.Eigen::internal::BlockImpl_dense" = type { %"class.Eigen::MapBase.base.62", ptr, %"class.Eigen::internal::variable_if_dynamic", %"class.Eigen::internal::variable_if_dynamic", i64 }
%"class.Eigen::MapBase.base.62" = type { %"class.Eigen::MapBase.base" }
%"class.Eigen::MapBase.base" = type <{ ptr, [2 x i8] }>
%"class.Eigen::internal::variable_if_dynamic" = type { i64 }
%"class.Eigen::Product.63" = type { %"class.Eigen::Product.70", ptr }
%"class.Eigen::Product.70" = type { ptr, %"class.Eigen::Transpose" }
%"class.Eigen::Transpose" = type { ptr }

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12SnowParticle30updateCombinedPElasticGradientEv(ptr noundef nonnull align 8 dereferenceable(1368) %0) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.Eigen::Matrix.3", align 4
  %3 = alloca %"class.Eigen::Product", align 8
  %4 = alloca %"class.Eigen::JacobiSVD", align 8
  %5 = alloca %"class.Eigen::Matrix.3", align 4
  %6 = alloca %"class.Eigen::Matrix.3", align 4
  %7 = alloca %"class.Eigen::Block", align 8
  %8 = alloca %"class.Eigen::Block", align 8
  %9 = alloca %"class.Eigen::Block", align 8
  %10 = alloca %"class.Eigen::Block", align 8
  %11 = alloca %"class.Eigen::Block", align 8
  %12 = alloca %"class.Eigen::Block", align 8
  %13 = alloca %"class.Eigen::Product.63", align 8
  %14 = alloca %"class.Eigen::Product.70", align 8
  %15 = alloca %"class.Eigen::Transpose", align 8
  %16 = alloca %"class.Eigen::Product.70", align 8
  %17 = alloca %"class.Eigen::Transpose", align 8
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #4
  %18 = getelementptr inbounds i8, ptr %0, i64 72
  %19 = getelementptr inbounds i8, ptr %0, i64 108
  %20 = tail call { ptr, ptr } @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEEmlIS2_EEKNS_7ProductIS2_T_Li0EEERKNS0_IS6_EE(ptr noundef nonnull align 1 dereferenceable(1) %18, ptr noundef nonnull align 1 dereferenceable(1) %19)
  %21 = extractvalue { ptr, ptr } %20, 0
  store ptr %21, ptr %3, align 8
  %22 = getelementptr inbounds i8, ptr %3, i64 8
  %23 = extractvalue { ptr, ptr } %20, 1
  store ptr %23, ptr %22, align 8
  call void @_ZN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEC2INS_7ProductIS1_S1_Li0EEEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(36) %2, ptr noundef nonnull align 1 dereferenceable(1) %3)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 216, ptr nonnull %4) #4
  call void @_ZN5Eigen9JacobiSVDINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi2EEC2ERKS2_j(ptr noundef nonnull align 8 dereferenceable(216) %4, ptr noundef nonnull align 4 dereferenceable(36) %18, i32 noundef 20)
  %24 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZNK5Eigen7SVDBaseINS_9JacobiSVDINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi2EEEE14singularValuesEv(ptr noundef nonnull align 8 dereferenceable(140) %4)
          to label %25 unwind label %39

25:                                               ; preds = %1
  %26 = getelementptr inbounds i8, ptr %0, i64 216
  %27 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %26, ptr noundef nonnull align 4 dereferenceable(12) %24)
          to label %28 unwind label %39

28:                                               ; preds = %25
  %29 = call noundef nonnull align 4 dereferenceable(36) ptr @_ZNK5Eigen7SVDBaseINS_9JacobiSVDINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi2EEEE7matrixUEv(ptr noundef nonnull align 8 dereferenceable(140) %4)
  %30 = getelementptr inbounds i8, ptr %0, i64 144
  %31 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(36) %30, ptr noundef nonnull align 4 dereferenceable(36) %29)
          to label %32 unwind label %39

32:                                               ; preds = %28
  %33 = call noundef nonnull align 4 dereferenceable(36) ptr @_ZNK5Eigen7SVDBaseINS_9JacobiSVDINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi2EEEE7matrixVEv(ptr noundef nonnull align 8 dereferenceable(140) %4)
  %34 = getelementptr inbounds i8, ptr %0, i64 180
  %35 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(36) %34, ptr noundef nonnull align 4 dereferenceable(36) %33)
          to label %.preheader unwind label %39

.preheader:                                       ; preds = %32
  %36 = getelementptr inbounds i8, ptr %0, i64 1360
  %37 = load ptr, ptr %36, align 8, !tbaa !5
  %38 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EEixEl(ptr noundef nonnull align 1 dereferenceable(1) %26, i64 noundef 0)
          to label %41 unwind label %66

39:                                               ; preds = %32, %28, %25, %1
  %40 = landingpad { ptr, i32 }
          cleanup
  br label %141

41:                                               ; preds = %.preheader
  %42 = getelementptr inbounds i8, ptr %37, i64 12
  %43 = getelementptr inbounds i8, ptr %37, i64 8
  %44 = invoke noundef float @_Z5clampRKfS0_S0_(ptr noundef nonnull align 4 dereferenceable(4) %43, ptr noundef nonnull align 4 dereferenceable(4) %42, ptr noundef nonnull align 4 dereferenceable(4) %38)
          to label %45 unwind label %66

45:                                               ; preds = %41
  %46 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EEixEl(ptr noundef nonnull align 1 dereferenceable(1) %26, i64 noundef 0)
          to label %47 unwind label %66

47:                                               ; preds = %45
  store float %44, ptr %46, align 4, !tbaa !19
  %48 = load ptr, ptr %36, align 8, !tbaa !5
  %49 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EEixEl(ptr noundef nonnull align 1 dereferenceable(1) %26, i64 noundef 1)
          to label %50 unwind label %66

50:                                               ; preds = %47
  %51 = getelementptr inbounds i8, ptr %48, i64 12
  %52 = getelementptr inbounds i8, ptr %48, i64 8
  %53 = invoke noundef float @_Z5clampRKfS0_S0_(ptr noundef nonnull align 4 dereferenceable(4) %52, ptr noundef nonnull align 4 dereferenceable(4) %51, ptr noundef nonnull align 4 dereferenceable(4) %49)
          to label %54 unwind label %66

54:                                               ; preds = %50
  %55 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EEixEl(ptr noundef nonnull align 1 dereferenceable(1) %26, i64 noundef 1)
          to label %56 unwind label %66

56:                                               ; preds = %54
  store float %53, ptr %55, align 4, !tbaa !19
  %57 = load ptr, ptr %36, align 8, !tbaa !5
  %58 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EEixEl(ptr noundef nonnull align 1 dereferenceable(1) %26, i64 noundef 2)
          to label %59 unwind label %66

59:                                               ; preds = %56
  %60 = getelementptr inbounds i8, ptr %57, i64 12
  %61 = getelementptr inbounds i8, ptr %57, i64 8
  %62 = invoke noundef float @_Z5clampRKfS0_S0_(ptr noundef nonnull align 4 dereferenceable(4) %61, ptr noundef nonnull align 4 dereferenceable(4) %60, ptr noundef nonnull align 4 dereferenceable(4) %58)
          to label %63 unwind label %66

63:                                               ; preds = %59
  %64 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EEixEl(ptr noundef nonnull align 1 dereferenceable(1) %26, i64 noundef 2)
          to label %65 unwind label %66

65:                                               ; preds = %63
  store float %62, ptr %64, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %5) #4
  invoke void @_ZN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(36) %5, ptr noundef nonnull align 4 dereferenceable(36) %34)
          to label %68 unwind label %119

66:                                               ; preds = %63, %59, %56, %54, %50, %47, %45, %41, %.preheader
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %141

68:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %6) #4
  invoke void @_ZN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(36) %6, ptr noundef nonnull align 4 dereferenceable(36) %30)
          to label %69 unwind label %121

69:                                               ; preds = %68
  %70 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EEixEl(ptr noundef nonnull align 1 dereferenceable(1) %26, i64 noundef 0)
          to label %71 unwind label %121

71:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %7) #4
  invoke void @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEE3colEl(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Block") align 8 %7, ptr noundef nonnull align 1 dereferenceable(1) %5, i64 noundef 0)
          to label %72 unwind label %123

72:                                               ; preds = %71
  %73 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5Eigen9DenseBaseINS_5BlockINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi3ELi1ELb1EEEEdVERKf(ptr noundef nonnull align 1 dereferenceable(1) %7, ptr noundef nonnull align 4 dereferenceable(4) %70)
          to label %74 unwind label %123

74:                                               ; preds = %72
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #4
  %75 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EEixEl(ptr noundef nonnull align 1 dereferenceable(1) %26, i64 noundef 1)
          to label %76 unwind label %121

76:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #4
  invoke void @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEE3colEl(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Block") align 8 %8, ptr noundef nonnull align 1 dereferenceable(1) %5, i64 noundef 1)
          to label %77 unwind label %125

77:                                               ; preds = %76
  %78 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5Eigen9DenseBaseINS_5BlockINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi3ELi1ELb1EEEEdVERKf(ptr noundef nonnull align 1 dereferenceable(1) %8, ptr noundef nonnull align 4 dereferenceable(4) %75)
          to label %79 unwind label %125

79:                                               ; preds = %77
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #4
  %80 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EEixEl(ptr noundef nonnull align 1 dereferenceable(1) %26, i64 noundef 2)
          to label %81 unwind label %121

81:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #4
  invoke void @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEE3colEl(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Block") align 8 %9, ptr noundef nonnull align 1 dereferenceable(1) %5, i64 noundef 2)
          to label %82 unwind label %127

82:                                               ; preds = %81
  %83 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5Eigen9DenseBaseINS_5BlockINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi3ELi1ELb1EEEEdVERKf(ptr noundef nonnull align 1 dereferenceable(1) %9, ptr noundef nonnull align 4 dereferenceable(4) %80)
          to label %84 unwind label %127

84:                                               ; preds = %82
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #4
  %85 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EEixEl(ptr noundef nonnull align 1 dereferenceable(1) %26, i64 noundef 0)
          to label %86 unwind label %121

86:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %10) #4
  invoke void @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEE3colEl(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Block") align 8 %10, ptr noundef nonnull align 1 dereferenceable(1) %6, i64 noundef 0)
          to label %87 unwind label %129

87:                                               ; preds = %86
  %88 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5Eigen9DenseBaseINS_5BlockINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi3ELi1ELb1EEEEmLERKf(ptr noundef nonnull align 1 dereferenceable(1) %10, ptr noundef nonnull align 4 dereferenceable(4) %85)
          to label %89 unwind label %129

89:                                               ; preds = %87
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #4
  %90 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EEixEl(ptr noundef nonnull align 1 dereferenceable(1) %26, i64 noundef 1)
          to label %91 unwind label %121

91:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %11) #4
  invoke void @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEE3colEl(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Block") align 8 %11, ptr noundef nonnull align 1 dereferenceable(1) %6, i64 noundef 1)
          to label %92 unwind label %131

92:                                               ; preds = %91
  %93 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5Eigen9DenseBaseINS_5BlockINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi3ELi1ELb1EEEEmLERKf(ptr noundef nonnull align 1 dereferenceable(1) %11, ptr noundef nonnull align 4 dereferenceable(4) %90)
          to label %94 unwind label %131

94:                                               ; preds = %92
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %11) #4
  %95 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi1EEixEl(ptr noundef nonnull align 1 dereferenceable(1) %26, i64 noundef 2)
          to label %96 unwind label %121

96:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %12) #4
  invoke void @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEE3colEl(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Block") align 8 %12, ptr noundef nonnull align 1 dereferenceable(1) %6, i64 noundef 2)
          to label %97 unwind label %133

97:                                               ; preds = %96
  %98 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5Eigen9DenseBaseINS_5BlockINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi3ELi1ELb1EEEEmLERKf(ptr noundef nonnull align 1 dereferenceable(1) %12, ptr noundef nonnull align 4 dereferenceable(4) %95)
          to label %99 unwind label %133

99:                                               ; preds = %97
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #4
  %100 = invoke ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEE9transposeEv(ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %101 unwind label %135

101:                                              ; preds = %99
  store ptr %100, ptr %15, align 8
  %102 = invoke { ptr, ptr } @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEEmlINS_9TransposeIS2_EEEEKNS_7ProductIS2_T_Li0EEERKNS0_IS8_EE(ptr noundef nonnull align 1 dereferenceable(1) %5, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %103 unwind label %135

103:                                              ; preds = %101
  %104 = extractvalue { ptr, ptr } %102, 0
  store ptr %104, ptr %14, align 8
  %105 = getelementptr inbounds i8, ptr %14, i64 8
  %106 = extractvalue { ptr, ptr } %102, 1
  store ptr %106, ptr %105, align 8
  invoke void @_ZNK5Eigen10MatrixBaseINS_7ProductINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEENS_9TransposeIS3_EELi0EEEEmlIS3_EEKNS1_IS6_T_Li0EEERKNS0_IS9_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Product.63") align 8 %13, ptr noundef nonnull align 1 dereferenceable(1) %14, ptr noundef nonnull align 1 dereferenceable(1) %2)
          to label %107 unwind label %135

107:                                              ; preds = %103
  %108 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEaSINS_7ProductINS3_IS1_NS_9TransposeIS1_EELi0EEES1_Li0EEEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(36) %19, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %109 unwind label %135

109:                                              ; preds = %107
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #4
  %110 = invoke ptr @_ZN5Eigen9DenseBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEE9transposeEv(ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %111 unwind label %137

111:                                              ; preds = %109
  store ptr %110, ptr %17, align 8
  %112 = invoke { ptr, ptr } @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEEmlINS_9TransposeIS2_EEEEKNS_7ProductIS2_T_Li0EEERKNS0_IS8_EE(ptr noundef nonnull align 1 dereferenceable(1) %6, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %113 unwind label %137

113:                                              ; preds = %111
  %114 = extractvalue { ptr, ptr } %112, 0
  store ptr %114, ptr %16, align 8
  %115 = getelementptr inbounds i8, ptr %16, i64 8
  %116 = extractvalue { ptr, ptr } %112, 1
  store ptr %116, ptr %115, align 8
  %117 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEaSINS_7ProductIS1_NS_9TransposeIS1_EELi0EEEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(36) %18, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %118 unwind label %137

118:                                              ; preds = %113
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #4
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %5) #4
  call void @_ZN5Eigen10SolverBaseINS_7SVDBaseINS_9JacobiSVDINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi2EEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(216) %4) #4
  call void @llvm.lifetime.end.p0(i64 216, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %2) #4
  ret void

119:                                              ; preds = %65
  %120 = landingpad { ptr, i32 }
          cleanup
  br label %140

121:                                              ; preds = %94, %89, %84, %79, %74, %69, %68
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %139

123:                                              ; preds = %72, %71
  %124 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #4
  br label %139

125:                                              ; preds = %77, %76
  %126 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #4
  br label %139

127:                                              ; preds = %82, %81
  %128 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #4
  br label %139

129:                                              ; preds = %87, %86
  %130 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #4
  br label %139

131:                                              ; preds = %92, %91
  %132 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %11) #4
  br label %139

133:                                              ; preds = %97, %96
  %134 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #4
  br label %139

135:                                              ; preds = %107, %103, %101, %99
  %136 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #4
  br label %139

137:                                              ; preds = %113, %111, %109
  %138 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #4
  br label %139

139:                                              ; preds = %137, %135, %133, %131, %129, %127, %125, %123, %121
  %.pn = phi { ptr, i32 } [ %138, %137 ], [ %136, %135 ], [ %134, %133 ], [ %122, %121 ], [ %132, %131 ], [ %130, %129 ], [ %128, %127 ], [ %126, %125 ], [ %124, %123 ]
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %6) #4
  br label %140

140:                                              ; preds = %139, %119
  %.pn.pn = phi { ptr, i32 } [ %.pn, %139 ], [ %120, %119 ]
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %5) #4
  br label %141

141:                                              ; preds = %140, %66, %39
  %.pn12 = phi { ptr, i32 } [ %67, %66 ], [ %.pn.pn, %140 ], [ %40, %39 ]
  call void @_ZN5Eigen10SolverBaseINS_7SVDBaseINS_9JacobiSVDINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi2EEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(216) %4) #4
  call void @llvm.lifetime.end.p0(i64 216, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %2) #4
  resume { ptr, i32 } %.pn12
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Eigen9JacobiSVDINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi2EEC2ERKS2_j(ptr noundef nonnull align 8 dereferenceable(216), ptr noundef nonnull align 4 dereferenceable(36), i32 noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNK5Eigen7SVDBaseINS_9JacobiSVDINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi2EEEE14singularValuesEv(ptr noundef nonnull align 8 dereferenceable(140)) local_unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(36) ptr @_ZNK5Eigen7SVDBaseINS_9JacobiSVDINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi2EEEE7matrixUEv(ptr noundef nonnull align 8 dereferenceable(140)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(36) ptr @_ZNK5Eigen7SVDBaseINS_9JacobiSVDINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEELi2EEEE7matrixVEv(ptr noundef nonnull align 8 dereferenceable(140)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef float @_Z5clampRKfS0_S0_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1

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

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

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

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

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

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

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 1360}
!6 = !{!"_ZTS12SnowParticle", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 12, !10, i64 24, !14, i64 36, !14, i64 72, !14, i64 108, !14, i64 144, !14, i64 180, !10, i64 216, !14, i64 228, !14, i64 264, !14, i64 300, !8, i64 336, !8, i64 1104, !18, i64 1360}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEE", !11, i64 0}
!11 = !{!"_ZTSN5Eigen15PlainObjectBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEE", !12, i64 0}
!12 = !{!"_ZTSN5Eigen12DenseStorageIfLi3ELi3ELi1ELi0EEE", !13, i64 0}
!13 = !{!"_ZTSN5Eigen8internal11plain_arrayIfLi3ELi0ELi0EEE", !8, i64 0}
!14 = !{!"_ZTSN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEE", !15, i64 0}
!15 = !{!"_ZTSN5Eigen15PlainObjectBaseINS_6MatrixIfLi3ELi3ELi0ELi3ELi3EEEEE", !16, i64 0}
!16 = !{!"_ZTSN5Eigen12DenseStorageIfLi9ELi3ELi3ELi0EEE", !17, i64 0}
!17 = !{!"_ZTSN5Eigen8internal11plain_arrayIfLi9ELi0ELi0EEE", !8, i64 0}
!18 = !{!"any pointer", !8, i64 0}
!19 = !{!7, !7, i64 0}


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