; LLVM IR from SourangshuGhosh/Fluid-Simulation-for-Computer-Graphics :: src (anisotropicparticlemesher)

; 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.vmath::vec3" = type { float, float, float }
%"class.vmath::quat" = type { float, float, float, float }
%"class.vmath::mat3" = type { [9 x float] }
%class.AnisotropicParticleMesher = type { double, double, double, double, double, double, double, double, i32, double, i32, double, i32, i32, i32, double, i32, double, %class.SpatialPointGrid, %class.FragmentedVector, %class.FragmentedVector.10, %class.FragmentedVector.10, %class.FragmentedVector.16, %class.ScalarField, i32, i32, i32, [4 x i8], %class.Array3d.22 }
%class.SpatialPointGrid = type { i32, i32, i32, double, %"class.std::vector", %"class.std::vector.0", %class.Array3d, %class.AABB }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<GridPoint, std::allocator<GridPoint>>::_Vector_impl" }
%"struct.std::_Vector_base<GridPoint, std::allocator<GridPoint>>::_Vector_impl" = type { %"struct.std::_Vector_base<GridPoint, std::allocator<GridPoint>>::_Vector_impl_data" }
%"struct.std::_Vector_base<GridPoint, std::allocator<GridPoint>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = 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.Array3d = type { i32, i32, i32, ptr, i8, %"struct.SpatialPointGrid::CellNode", i32 }
%"struct.SpatialPointGrid::CellNode" = type { i32, i32 }
%class.AABB = type { %"class.vmath::vec3", double, double, double }
%class.FragmentedVector = type { %"class.std::vector.5", i32, i32, double, i32, i32 }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<FragmentedVector<AnisotropicParticleMesher::SurfaceParticle>::VectorNode, std::allocator<FragmentedVector<AnisotropicParticleMesher::SurfaceParticle>::VectorNode>>::_Vector_impl" }
%"struct.std::_Vector_base<FragmentedVector<AnisotropicParticleMesher::SurfaceParticle>::VectorNode, std::allocator<FragmentedVector<AnisotropicParticleMesher::SurfaceParticle>::VectorNode>>::_Vector_impl" = type { %"struct.std::_Vector_base<FragmentedVector<AnisotropicParticleMesher::SurfaceParticle>::VectorNode, std::allocator<FragmentedVector<AnisotropicParticleMesher::SurfaceParticle>::VectorNode>>::_Vector_impl_data" }
%"struct.std::_Vector_base<FragmentedVector<AnisotropicParticleMesher::SurfaceParticle>::VectorNode, std::allocator<FragmentedVector<AnisotropicParticleMesher::SurfaceParticle>::VectorNode>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.FragmentedVector.10 = type { %"class.std::vector.11", i32, i32, double, i32, i32 }
%"class.std::vector.11" = type { %"struct.std::_Vector_base.12" }
%"struct.std::_Vector_base.12" = type { %"struct.std::_Vector_base<FragmentedVector<GridPointReference>::VectorNode, std::allocator<FragmentedVector<GridPointReference>::VectorNode>>::_Vector_impl" }
%"struct.std::_Vector_base<FragmentedVector<GridPointReference>::VectorNode, std::allocator<FragmentedVector<GridPointReference>::VectorNode>>::_Vector_impl" = type { %"struct.std::_Vector_base<FragmentedVector<GridPointReference>::VectorNode, std::allocator<FragmentedVector<GridPointReference>::VectorNode>>::_Vector_impl_data" }
%"struct.std::_Vector_base<FragmentedVector<GridPointReference>::VectorNode, std::allocator<FragmentedVector<GridPointReference>::VectorNode>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.FragmentedVector.16 = type { %"class.std::vector.17", i32, i32, double, i32, i32 }
%"class.std::vector.17" = type { %"struct.std::_Vector_base.18" }
%"struct.std::_Vector_base.18" = type { %"struct.std::_Vector_base<FragmentedVector<vmath::vec3>::VectorNode, std::allocator<FragmentedVector<vmath::vec3>::VectorNode>>::_Vector_impl" }
%"struct.std::_Vector_base<FragmentedVector<vmath::vec3>::VectorNode, std::allocator<FragmentedVector<vmath::vec3>::VectorNode>>::_Vector_impl" = type { %"struct.std::_Vector_base<FragmentedVector<vmath::vec3>::VectorNode, std::allocator<FragmentedVector<vmath::vec3>::VectorNode>>::_Vector_impl_data" }
%"struct.std::_Vector_base<FragmentedVector<vmath::vec3>::VectorNode, std::allocator<FragmentedVector<vmath::vec3>::VectorNode>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.ScalarField = type { i32, i32, i32, double, double, double, double, double, double, double, double, i8, [7 x i8], %class.Array3d.22, %class.Array3d.23, %class.Array3d.22, %class.Array3d.23, i8, %"class.vmath::vec3" }
%class.Array3d.23 = type { i32, i32, i32, ptr, i8, i8, i32 }
%class.Array3d.22 = type <{ i32, i32, i32, [4 x i8], ptr, i8, [3 x i8], float, i32, [4 x i8] }>
%"struct.AnisotropicParticleMesher::SVD" = type { %"class.vmath::mat3", %"class.vmath::vec3" }

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: nounwind
declare void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #2

declare void @_ZN5vmathmlEfRKNS_4vec3E(ptr dead_on_unwind writable sret(%"class.vmath::vec3") align 4, float noundef, ptr noundef nonnull align 4 dereferenceable(12)) #3

declare void @_ZN5vmath4vec3C1Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN5vmath4mat3D1Ev(ptr noundef nonnull align 4 dereferenceable(36)) unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN25AnisotropicParticleMesher22_covarianceMatrixToSVDERN5vmath4mat3ERNS_3SVDE(ptr noundef nonnull align 8 dereferenceable(784) %0, ptr noundef nonnull align 4 dereferenceable(36) %1, ptr noundef nonnull align 4 dereferenceable(48) %2) #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.vmath::quat", align 4
  %8 = alloca %"class.vmath::mat3", align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.vmath::mat3", align 4
  %12 = alloca %"class.vmath::mat3", align 4
  %13 = alloca %"class.vmath::mat3", align 4
  %14 = alloca %"class.vmath::mat3", align 4
  %15 = alloca double, align 8
  %16 = alloca %"class.vmath::vec3", align 4
  %17 = alloca double, align 8
  %18 = alloca %"class.vmath::vec3", align 4
  %19 = alloca double, align 8
  %20 = alloca %"class.vmath::vec3", align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca %"class.vmath::vec3", align 4
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = alloca %"class.vmath::vec3", align 4
  %30 = alloca double, align 8
  %31 = alloca double, align 8
  %32 = alloca double, align 8
  %33 = alloca %"class.vmath::vec3", align 4
  %34 = alloca double, align 8
  %35 = alloca double, align 8
  %36 = alloca %"class.vmath::mat3", align 4
  %37 = alloca %"class.vmath::vec3", align 4
  %38 = alloca %"class.vmath::vec3", align 4
  %39 = alloca %"class.vmath::vec3", align 4
  %40 = alloca %"class.vmath::vec3", align 4
  %41 = alloca %"class.vmath::vec3", align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %42 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #8
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %43, i64 36, i1 false), !tbaa.struct !9
  invoke void @_ZN25AnisotropicParticleMesher18_diagonalizeMatrixEN5vmath4mat3E(ptr dead_on_unwind writable sret(%"class.vmath::quat") align 4 %7, ptr noundef nonnull align 8 dereferenceable(784) %42, ptr noundef %8)
          to label %44 unwind label %74

44:                                               ; preds = %3
  call void @_ZN5vmath4mat3D1Ev(ptr noundef nonnull align 4 dereferenceable(36) %8) #8
  call void @llvm.lifetime.start.p0(i64 36, ptr %11) #8
  invoke void @_ZN5vmath9mat3_castERKNS_4quatE(ptr dead_on_unwind writable sret(%"class.vmath::mat3") align 4 %11, ptr noundef nonnull align 4 dereferenceable(16) %7)
          to label %45 unwind label %78

45:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 36, ptr %12) #8
  call void @llvm.lifetime.start.p0(i64 36, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 36, ptr %14) #8
  invoke void @_ZN5vmath9transposeERKNS_4mat3E(ptr dead_on_unwind writable sret(%"class.vmath::mat3") align 4 %14, ptr noundef nonnull align 4 dereferenceable(36) %11)
          to label %46 unwind label %82

46:                                               ; preds = %45
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN5vmathmlERKNS_4mat3ES2_(ptr dead_on_unwind writable sret(%"class.vmath::mat3") align 4 %13, ptr noundef nonnull align 4 dereferenceable(36) %14, ptr noundef nonnull align 4 dereferenceable(36) %47)
          to label %48 unwind label %86

48:                                               ; preds = %46
  invoke void @_ZN5vmathmlERKNS_4mat3ES2_(ptr dead_on_unwind writable sret(%"class.vmath::mat3") align 4 %12, ptr noundef nonnull align 4 dereferenceable(36) %13, ptr noundef nonnull align 4 dereferenceable(36) %11)
          to label %49 unwind label %90

49:                                               ; preds = %48
  call void @_ZN5vmath4mat3D1Ev(ptr noundef nonnull align 4 dereferenceable(36) %13) #8
  call void @_ZN5vmath4mat3D1Ev(ptr noundef nonnull align 4 dereferenceable(36) %14) #8
  call void @llvm.lifetime.end.p0(i64 36, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 36, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %16) #8
  invoke void @_ZN5vmath4mat3ixEi(ptr dead_on_unwind writable sret(%"class.vmath::vec3") align 4 %16, ptr noundef nonnull align 4 dereferenceable(36) %12, i32 noundef 0)
          to label %50 unwind label %96

50:                                               ; preds = %49
  %51 = invoke noundef float @_ZN5vmath4vec3ixEi(ptr noundef nonnull align 4 dereferenceable(12) %16, i32 noundef 0)
          to label %52 unwind label %100

52:                                               ; preds = %50
  %53 = fpext float %51 to double
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %16) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %16) #8
  store double %53, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %18) #8
  invoke void @_ZN5vmath4mat3ixEi(ptr dead_on_unwind writable sret(%"class.vmath::vec3") align 4 %18, ptr noundef nonnull align 4 dereferenceable(36) %12, i32 noundef 1)
          to label %54 unwind label %105

54:                                               ; preds = %52
  %55 = invoke noundef float @_ZN5vmath4vec3ixEi(ptr noundef nonnull align 4 dereferenceable(12) %18, i32 noundef 1)
          to label %56 unwind label %109

56:                                               ; preds = %54
  %57 = fpext float %55 to double
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %18) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #8
  store double %57, ptr %17, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %20) #8
  invoke void @_ZN5vmath4mat3ixEi(ptr dead_on_unwind writable sret(%"class.vmath::vec3") align 4 %20, ptr noundef nonnull align 4 dereferenceable(36) %12, i32 noundef 2)
          to label %58 unwind label %114

58:                                               ; preds = %56
  %59 = invoke noundef float @_ZN5vmath4vec3ixEi(ptr noundef nonnull align 4 dereferenceable(12) %20, i32 noundef 2)
          to label %60 unwind label %118

60:                                               ; preds = %58
  %61 = fpext float %59 to double
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %20) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %20) #8
  store double %61, ptr %19, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  store i32 0, ptr %21, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  store i32 1, ptr %22, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  store i32 2, ptr %23, align 4, !tbaa !13
  %62 = load double, ptr %15, align 8, !tbaa !11
  %63 = load double, ptr %17, align 8, !tbaa !11
  %64 = fcmp ogt double %62, %63
  br i1 %64, label %65, label %125

65:                                               ; preds = %60
  %66 = load double, ptr %15, align 8, !tbaa !11
  %67 = load double, ptr %19, align 8, !tbaa !11
  %68 = fcmp ogt double %66, %67
  br i1 %68, label %69, label %125

69:                                               ; preds = %65
  %70 = load double, ptr %17, align 8, !tbaa !11
  %71 = load double, ptr %19, align 8, !tbaa !11
  %72 = fcmp ogt double %70, %71
  br i1 %72, label %73, label %123

73:                                               ; preds = %69
  store i32 0, ptr %21, align 4, !tbaa !13
  store i32 1, ptr %22, align 4, !tbaa !13
  store i32 2, ptr %23, align 4, !tbaa !13
  br label %124

74:                                               ; preds = %3
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %9, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %10, align 4
  call void @_ZN5vmath4mat3D1Ev(ptr noundef nonnull align 4 dereferenceable(36) %8) #8
  br label %292

78:                                               ; preds = %44
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %9, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %10, align 4
  br label %291

82:                                               ; preds = %45
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %9, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %10, align 4
  br label %95

86:                                               ; preds = %46
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %9, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %10, align 4
  br label %94

90:                                               ; preds = %48
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %9, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %10, align 4
  call void @_ZN5vmath4mat3D1Ev(ptr noundef nonnull align 4 dereferenceable(36) %13) #8
  br label %94

94:                                               ; preds = %90, %86
  call void @_ZN5vmath4mat3D1Ev(ptr noundef nonnull align 4 dereferenceable(36) %14) #8
  br label %95

95:                                               ; preds = %94, %82
  call void @llvm.lifetime.end.p0(i64 36, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 36, ptr %13) #8
  br label %290

96:                                               ; preds = %49
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %9, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %10, align 4
  br label %104

100:                                              ; preds = %50
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %9, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %10, align 4
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %16) #8
  br label %104

104:                                              ; preds = %100, %96
  call void @llvm.lifetime.end.p0(i64 12, ptr %16) #8
  br label %289

105:                                              ; preds = %52
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %9, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %10, align 4
  br label %113

109:                                              ; preds = %54
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %9, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %10, align 4
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %18) #8
  br label %113

113:                                              ; preds = %109, %105
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #8
  br label %288

114:                                              ; preds = %56
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %9, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %10, align 4
  br label %122

118:                                              ; preds = %58
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %9, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %10, align 4
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %20) #8
  br label %122

122:                                              ; preds = %118, %114
  call void @llvm.lifetime.end.p0(i64 12, ptr %20) #8
  br label %287

123:                                              ; preds = %69
  store i32 0, ptr %21, align 4, !tbaa !13
  store i32 2, ptr %22, align 4, !tbaa !13
  store i32 1, ptr %23, align 4, !tbaa !13
  br label %124

124:                                              ; preds = %123, %73
  br label %157

125:                                              ; preds = %65, %60
  %126 = load double, ptr %17, align 8, !tbaa !11
  %127 = load double, ptr %15, align 8, !tbaa !11
  %128 = fcmp ogt double %126, %127
  br i1 %128, label %129, label %140

129:                                              ; preds = %125
  %130 = load double, ptr %17, align 8, !tbaa !11
  %131 = load double, ptr %19, align 8, !tbaa !11
  %132 = fcmp ogt double %130, %131
  br i1 %132, label %133, label %140

133:                                              ; preds = %129
  %134 = load double, ptr %15, align 8, !tbaa !11
  %135 = load double, ptr %19, align 8, !tbaa !11
  %136 = fcmp ogt double %134, %135
  br i1 %136, label %137, label %138

137:                                              ; preds = %133
  store i32 1, ptr %21, align 4, !tbaa !13
  store i32 0, ptr %22, align 4, !tbaa !13
  store i32 2, ptr %23, align 4, !tbaa !13
  br label %139

138:                                              ; preds = %133
  store i32 1, ptr %21, align 4, !tbaa !13
  store i32 2, ptr %22, align 4, !tbaa !13
  store i32 0, ptr %23, align 4, !tbaa !13
  br label %139

139:                                              ; preds = %138, %137
  br label %156

140:                                              ; preds = %129, %125
  %141 = load double, ptr %19, align 8, !tbaa !11
  %142 = load double, ptr %15, align 8, !tbaa !11
  %143 = fcmp ogt double %141, %142
  br i1 %143, label %144, label %155

144:                                              ; preds = %140
  %145 = load double, ptr %19, align 8, !tbaa !11
  %146 = load double, ptr %17, align 8, !tbaa !11
  %147 = fcmp ogt double %145, %146
  br i1 %147, label %148, label %155

148:                                              ; preds = %144
  %149 = load double, ptr %15, align 8, !tbaa !11
  %150 = load double, ptr %17, align 8, !tbaa !11
  %151 = fcmp ogt double %149, %150
  br i1 %151, label %152, label %153

152:                                              ; preds = %148
  store i32 2, ptr %21, align 4, !tbaa !13
  store i32 0, ptr %22, align 4, !tbaa !13
  store i32 1, ptr %23, align 4, !tbaa !13
  br label %154

153:                                              ; preds = %148
  store i32 2, ptr %21, align 4, !tbaa !13
  store i32 1, ptr %22, align 4, !tbaa !13
  store i32 0, ptr %23, align 4, !tbaa !13
  br label %154

154:                                              ; preds = %153, %152
  br label %155

155:                                              ; preds = %154, %144, %140
  br label %156

156:                                              ; preds = %155, %139
  br label %157

157:                                              ; preds = %156, %124
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %158 = getelementptr inbounds %class.AnisotropicParticleMesher, ptr %42, i32 0, i32 11
  %159 = load double, ptr %158, align 8, !tbaa !15
  store double %159, ptr %24, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %26) #8
  %160 = load i32, ptr %21, align 4, !tbaa !13
  invoke void @_ZN5vmath4mat3ixEi(ptr dead_on_unwind writable sret(%"class.vmath::vec3") align 4 %26, ptr noundef nonnull align 4 dereferenceable(36) %12, i32 noundef %160)
          to label %161 unwind label %218

161:                                              ; preds = %157
  %162 = load i32, ptr %21, align 4, !tbaa !13
  %163 = invoke noundef float @_ZN5vmath4vec3ixEi(ptr noundef nonnull align 4 dereferenceable(12) %26, i32 noundef %162)
          to label %164 unwind label %222

164:                                              ; preds = %161
  %165 = fpext float %163 to double
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %26) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %26) #8
  store double %165, ptr %25, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %29) #8
  %166 = load i32, ptr %22, align 4, !tbaa !13
  invoke void @_ZN5vmath4mat3ixEi(ptr dead_on_unwind writable sret(%"class.vmath::vec3") align 4 %29, ptr noundef nonnull align 4 dereferenceable(36) %12, i32 noundef %166)
          to label %167 unwind label %227

167:                                              ; preds = %164
  %168 = load i32, ptr %22, align 4, !tbaa !13
  %169 = invoke noundef float @_ZN5vmath4vec3ixEi(ptr noundef nonnull align 4 dereferenceable(12) %29, i32 noundef %168)
          to label %170 unwind label %231

170:                                              ; preds = %167
  %171 = fpext float %169 to double
  store double %171, ptr %28, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %172 = load double, ptr %25, align 8, !tbaa !11
  %173 = load double, ptr %24, align 8, !tbaa !11
  %174 = fdiv double %172, %173
  store double %174, ptr %30, align 8, !tbaa !11
  %175 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %30)
          to label %176 unwind label %235

176:                                              ; preds = %170
  %177 = load double, ptr %175, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %29) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  store double %177, ptr %27, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %33) #8
  %178 = load i32, ptr %23, align 4, !tbaa !13
  invoke void @_ZN5vmath4mat3ixEi(ptr dead_on_unwind writable sret(%"class.vmath::vec3") align 4 %33, ptr noundef nonnull align 4 dereferenceable(36) %12, i32 noundef %178)
          to label %179 unwind label %241

179:                                              ; preds = %176
  %180 = load i32, ptr %23, align 4, !tbaa !13
  %181 = invoke noundef float @_ZN5vmath4vec3ixEi(ptr noundef nonnull align 4 dereferenceable(12) %33, i32 noundef %180)
          to label %182 unwind label %245

182:                                              ; preds = %179
  %183 = fpext float %181 to double
  store double %183, ptr %32, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %184 = load double, ptr %25, align 8, !tbaa !11
  %185 = load double, ptr %24, align 8, !tbaa !11
  %186 = fdiv double %184, %185
  store double %186, ptr %34, align 8, !tbaa !11
  %187 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %34)
          to label %188 unwind label %249

188:                                              ; preds = %182
  %189 = load double, ptr %187, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %33) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  store double %189, ptr %31, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  %190 = load double, ptr %25, align 8, !tbaa !11
  %191 = load double, ptr %27, align 8, !tbaa !11
  %192 = fmul double %190, %191
  %193 = load double, ptr %31, align 8, !tbaa !11
  %194 = fmul double %192, %193
  %195 = fdiv double 1.000000e+00, %194
  %196 = call double @cbrt(double noundef %195) #9
  store double %196, ptr %35, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 36, ptr %36) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %37) #8
  %197 = load i32, ptr %21, align 4, !tbaa !13
  invoke void @_ZN5vmath4mat3ixEi(ptr dead_on_unwind writable sret(%"class.vmath::vec3") align 4 %37, ptr noundef nonnull align 4 dereferenceable(36) %11, i32 noundef %197)
          to label %198 unwind label %255

198:                                              ; preds = %188
  call void @llvm.lifetime.start.p0(i64 12, ptr %38) #8
  %199 = load i32, ptr %22, align 4, !tbaa !13
  invoke void @_ZN5vmath4mat3ixEi(ptr dead_on_unwind writable sret(%"class.vmath::vec3") align 4 %38, ptr noundef nonnull align 4 dereferenceable(36) %11, i32 noundef %199)
          to label %200 unwind label %259

200:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 12, ptr %39) #8
  %201 = load i32, ptr %23, align 4, !tbaa !13
  invoke void @_ZN5vmath4mat3ixEi(ptr dead_on_unwind writable sret(%"class.vmath::vec3") align 4 %39, ptr noundef nonnull align 4 dereferenceable(36) %11, i32 noundef %201)
          to label %202 unwind label %263

202:                                              ; preds = %200
  invoke void @_ZN5vmath4mat3C1ERKNS_4vec3ES3_S3_(ptr noundef nonnull align 4 dereferenceable(36) %36, ptr noundef nonnull align 4 dereferenceable(12) %37, ptr noundef nonnull align 4 dereferenceable(12) %38, ptr noundef nonnull align 4 dereferenceable(12) %39)
          to label %203 unwind label %267

203:                                              ; preds = %202
  %204 = load ptr, ptr %6, align 8, !tbaa !5
  %205 = getelementptr inbounds %"struct.AnisotropicParticleMesher::SVD", ptr %204, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %205, ptr align 4 %36, i64 36, i1 false), !tbaa.struct !9
  call void @_ZN5vmath4mat3D1Ev(ptr noundef nonnull align 4 dereferenceable(36) %36) #8
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %39) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %39) #8
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %38) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %38) #8
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %37) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 36, ptr %36) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %40) #8
  %206 = load double, ptr %35, align 8, !tbaa !11
  %207 = fptrunc double %206 to float
  call void @llvm.lifetime.start.p0(i64 12, ptr %41) #8
  %208 = load double, ptr %25, align 8, !tbaa !11
  %209 = fptrunc double %208 to float
  %210 = load double, ptr %27, align 8, !tbaa !11
  %211 = fptrunc double %210 to float
  %212 = load double, ptr %31, align 8, !tbaa !11
  %213 = fptrunc double %212 to float
  invoke void @_ZN5vmath4vec3C1Efff(ptr noundef nonnull align 4 dereferenceable(12) %41, float noundef %209, float noundef %211, float noundef %213)
          to label %214 unwind label %274

214:                                              ; preds = %203
  invoke void @_ZN5vmathmlEfRKNS_4vec3E(ptr dead_on_unwind writable sret(%"class.vmath::vec3") align 4 %40, float noundef %207, ptr noundef nonnull align 4 dereferenceable(12) %41)
          to label %215 unwind label %278

215:                                              ; preds = %214
  %216 = load ptr, ptr %6, align 8, !tbaa !5
  %217 = getelementptr inbounds %"struct.AnisotropicParticleMesher::SVD", ptr %216, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %217, ptr align 4 %40, i64 12, i1 false), !tbaa.struct !50
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %40) #8
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %41) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @_ZN5vmath4mat3D1Ev(ptr noundef nonnull align 4 dereferenceable(36) %12) #8
  call void @llvm.lifetime.end.p0(i64 36, ptr %12) #8
  call void @_ZN5vmath4mat3D1Ev(ptr noundef nonnull align 4 dereferenceable(36) %11) #8
  call void @llvm.lifetime.end.p0(i64 36, ptr %11) #8
  call void @_ZN5vmath4quatD1Ev(ptr noundef nonnull align 4 dereferenceable(16) %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #8
  ret void

218:                                              ; preds = %157
  %219 = landingpad { ptr, i32 }
          cleanup
  %220 = extractvalue { ptr, i32 } %219, 0
  store ptr %220, ptr %9, align 8
  %221 = extractvalue { ptr, i32 } %219, 1
  store i32 %221, ptr %10, align 4
  br label %226

222:                                              ; preds = %161
  %223 = landingpad { ptr, i32 }
          cleanup
  %224 = extractvalue { ptr, i32 } %223, 0
  store ptr %224, ptr %9, align 8
  %225 = extractvalue { ptr, i32 } %223, 1
  store i32 %225, ptr %10, align 4
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %26) #8
  br label %226

226:                                              ; preds = %222, %218
  call void @llvm.lifetime.end.p0(i64 12, ptr %26) #8
  br label %286

227:                                              ; preds = %164
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %9, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %10, align 4
  br label %240

231:                                              ; preds = %167
  %232 = landingpad { ptr, i32 }
          cleanup
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %9, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, ptr %10, align 4
  br label %239

235:                                              ; preds = %170
  %236 = landingpad { ptr, i32 }
          cleanup
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %9, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  br label %239

239:                                              ; preds = %235, %231
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %29) #8
  br label %240

240:                                              ; preds = %239, %227
  call void @llvm.lifetime.end.p0(i64 12, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  br label %285

241:                                              ; preds = %176
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %9, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %10, align 4
  br label %254

245:                                              ; preds = %179
  %246 = landingpad { ptr, i32 }
          cleanup
  %247 = extractvalue { ptr, i32 } %246, 0
  store ptr %247, ptr %9, align 8
  %248 = extractvalue { ptr, i32 } %246, 1
  store i32 %248, ptr %10, align 4
  br label %253

249:                                              ; preds = %182
  %250 = landingpad { ptr, i32 }
          cleanup
  %251 = extractvalue { ptr, i32 } %250, 0
  store ptr %251, ptr %9, align 8
  %252 = extractvalue { ptr, i32 } %250, 1
  store i32 %252, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  br label %253

253:                                              ; preds = %249, %245
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %33) #8
  br label %254

254:                                              ; preds = %253, %241
  call void @llvm.lifetime.end.p0(i64 12, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br label %284

255:                                              ; preds = %188
  %256 = landingpad { ptr, i32 }
          cleanup
  %257 = extractvalue { ptr, i32 } %256, 0
  store ptr %257, ptr %9, align 8
  %258 = extractvalue { ptr, i32 } %256, 1
  store i32 %258, ptr %10, align 4
  br label %273

259:                                              ; preds = %198
  %260 = landingpad { ptr, i32 }
          cleanup
  %261 = extractvalue { ptr, i32 } %260, 0
  store ptr %261, ptr %9, align 8
  %262 = extractvalue { ptr, i32 } %260, 1
  store i32 %262, ptr %10, align 4
  br label %272

263:                                              ; preds = %200
  %264 = landingpad { ptr, i32 }
          cleanup
  %265 = extractvalue { ptr, i32 } %264, 0
  store ptr %265, ptr %9, align 8
  %266 = extractvalue { ptr, i32 } %264, 1
  store i32 %266, ptr %10, align 4
  br label %271

267:                                              ; preds = %202
  %268 = landingpad { ptr, i32 }
          cleanup
  %269 = extractvalue { ptr, i32 } %268, 0
  store ptr %269, ptr %9, align 8
  %270 = extractvalue { ptr, i32 } %268, 1
  store i32 %270, ptr %10, align 4
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %39) #8
  br label %271

271:                                              ; preds = %267, %263
  call void @llvm.lifetime.end.p0(i64 12, ptr %39) #8
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %38) #8
  br label %272

272:                                              ; preds = %271, %259
  call void @llvm.lifetime.end.p0(i64 12, ptr %38) #8
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %37) #8
  br label %273

273:                                              ; preds = %272, %255
  call void @llvm.lifetime.end.p0(i64 12, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 36, ptr %36) #8
  br label %283

274:                                              ; preds = %203
  %275 = landingpad { ptr, i32 }
          cleanup
  %276 = extractvalue { ptr, i32 } %275, 0
  store ptr %276, ptr %9, align 8
  %277 = extractvalue { ptr, i32 } %275, 1
  store i32 %277, ptr %10, align 4
  br label %282

278:                                              ; preds = %214
  %279 = landingpad { ptr, i32 }
          cleanup
  %280 = extractvalue { ptr, i32 } %279, 0
  store ptr %280, ptr %9, align 8
  %281 = extractvalue { ptr, i32 } %279, 1
  store i32 %281, ptr %10, align 4
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %41) #8
  br label %282

282:                                              ; preds = %278, %274
  call void @llvm.lifetime.end.p0(i64 12, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %40) #8
  br label %283

283:                                              ; preds = %282, %273
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  br label %284

284:                                              ; preds = %283, %254
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  br label %285

285:                                              ; preds = %284, %240
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %286

286:                                              ; preds = %285, %226
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  br label %287

287:                                              ; preds = %286, %122
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %288

288:                                              ; preds = %287, %113
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %289

289:                                              ; preds = %288, %104
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @_ZN5vmath4mat3D1Ev(ptr noundef nonnull align 4 dereferenceable(36) %12) #8
  br label %290

290:                                              ; preds = %289, %95
  call void @llvm.lifetime.end.p0(i64 36, ptr %12) #8
  call void @_ZN5vmath4mat3D1Ev(ptr noundef nonnull align 4 dereferenceable(36) %11) #8
  br label %291

291:                                              ; preds = %290, %78
  call void @llvm.lifetime.end.p0(i64 36, ptr %11) #8
  call void @_ZN5vmath4quatD1Ev(ptr noundef nonnull align 4 dereferenceable(16) %7) #8
  br label %292

292:                                              ; preds = %291, %74
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #8
  br label %293

293:                                              ; preds = %292
  %294 = load ptr, ptr %9, align 8
  %295 = load i32, ptr %10, align 4
  %296 = insertvalue { ptr, i32 } poison, ptr %294, 0
  %297 = insertvalue { ptr, i32 } %296, i32 %295, 1
  resume { ptr, i32 } %297
}

declare noundef float @_ZN5vmath4vec3ixEi(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN25AnisotropicParticleMesher18_diagonalizeMatrixEN5vmath4mat3E(ptr dead_on_unwind noalias writable sret(%"class.vmath::quat") align 4, ptr noundef nonnull align 8 dereferenceable(784), ptr noundef) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5vmath9mat3_castERKNS_4quatE(ptr dead_on_unwind noalias writable sret(%"class.vmath::mat3") align 4, ptr noundef nonnull align 4 dereferenceable(16)) #5

declare void @_ZN5vmathmlERKNS_4mat3ES2_(ptr dead_on_unwind writable sret(%"class.vmath::mat3") align 4, ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(36)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5vmath9transposeERKNS_4mat3E(ptr dead_on_unwind noalias writable sret(%"class.vmath::mat3") align 4, ptr noundef nonnull align 4 dereferenceable(36)) #5

declare void @_ZN5vmath4mat3ixEi(ptr dead_on_unwind writable sret(%"class.vmath::vec3") align 4, ptr noundef nonnull align 4 dereferenceable(36), i32 noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #6

; Function Attrs: nounwind willreturn memory(none)
declare double @cbrt(double noundef) #7

declare void @_ZN5vmath4mat3C1ERKNS_4vec3ES3_S3_(ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN5vmath4quatD1Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #2

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

!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 = !{i64 0, i64 36, !10}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!16, !12, i64 88}
!16 = !{!"_ZTS25AnisotropicParticleMesher", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !14, i64 64, !12, i64 72, !14, i64 80, !12, i64 88, !14, i64 96, !14, i64 100, !14, i64 104, !12, i64 112, !14, i64 120, !12, i64 128, !17, i64 136, !32, i64 288, !37, i64 336, !37, i64 384, !42, i64 432, !47, i64 480, !14, i64 728, !14, i64 732, !14, i64 736, !48, i64 744}
!17 = !{!"_ZTS16SpatialPointGrid", !14, i64 0, !14, i64 4, !14, i64 8, !12, i64 16, !18, i64 24, !22, i64 48, !26, i64 72, !29, i64 112}
!18 = !{!"_ZTSSt6vectorI9GridPointSaIS0_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseI9GridPointSaIS0_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseI9GridPointSaIS0_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseI9GridPointSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTSSt6vectorIiSaIiEE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"_ZTS7Array3dIN16SpatialPointGrid8CellNodeEE", !14, i64 0, !14, i64 4, !14, i64 8, !6, i64 16, !27, i64 24, !28, i64 28, !14, i64 36}
!27 = !{!"bool", !7, i64 0}
!28 = !{!"_ZTSN16SpatialPointGrid8CellNodeE", !14, i64 0, !14, i64 4}
!29 = !{!"_ZTS4AABB", !30, i64 0, !12, i64 16, !12, i64 24, !12, i64 32}
!30 = !{!"_ZTSN5vmath4vec3E", !31, i64 0, !31, i64 4, !31, i64 8}
!31 = !{!"float", !7, i64 0}
!32 = !{!"_ZTS16FragmentedVectorIN25AnisotropicParticleMesher15SurfaceParticleEE", !33, i64 0, !14, i64 24, !14, i64 28, !12, i64 32, !14, i64 40, !14, i64 44}
!33 = !{!"_ZTSSt6vectorIN16FragmentedVectorIN25AnisotropicParticleMesher15SurfaceParticleEE10VectorNodeESaIS4_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIN16FragmentedVectorIN25AnisotropicParticleMesher15SurfaceParticleEE10VectorNodeESaIS4_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIN16FragmentedVectorIN25AnisotropicParticleMesher15SurfaceParticleEE10VectorNodeESaIS4_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIN16FragmentedVectorIN25AnisotropicParticleMesher15SurfaceParticleEE10VectorNodeESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!37 = !{!"_ZTS16FragmentedVectorI18GridPointReferenceE", !38, i64 0, !14, i64 24, !14, i64 28, !12, i64 32, !14, i64 40, !14, i64 44}
!38 = !{!"_ZTSSt6vectorIN16FragmentedVectorI18GridPointReferenceE10VectorNodeESaIS3_EE", !39, i64 0}
!39 = !{!"_ZTSSt12_Vector_baseIN16FragmentedVectorI18GridPointReferenceE10VectorNodeESaIS3_EE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIN16FragmentedVectorI18GridPointReferenceE10VectorNodeESaIS3_EE12_Vector_implE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIN16FragmentedVectorI18GridPointReferenceE10VectorNodeESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!42 = !{!"_ZTS16FragmentedVectorIN5vmath4vec3EE", !43, i64 0, !14, i64 24, !14, i64 28, !12, i64 32, !14, i64 40, !14, i64 44}
!43 = !{!"_ZTSSt6vectorIN16FragmentedVectorIN5vmath4vec3EE10VectorNodeESaIS4_EE", !44, i64 0}
!44 = !{!"_ZTSSt12_Vector_baseIN16FragmentedVectorIN5vmath4vec3EE10VectorNodeESaIS4_EE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseIN16FragmentedVectorIN5vmath4vec3EE10VectorNodeESaIS4_EE12_Vector_implE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIN16FragmentedVectorIN5vmath4vec3EE10VectorNodeESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!47 = !{!"_ZTS11ScalarField", !14, i64 0, !14, i64 4, !14, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !27, i64 80, !48, i64 88, !49, i64 128, !48, i64 160, !49, i64 200, !27, i64 232, !30, i64 236}
!48 = !{!"_ZTS7Array3dIfE", !14, i64 0, !14, i64 4, !14, i64 8, !6, i64 16, !27, i64 24, !31, i64 28, !14, i64 32}
!49 = !{!"_ZTS7Array3dIbE", !14, i64 0, !14, i64 4, !14, i64 8, !6, i64 16, !27, i64 24, !27, i64 25, !14, i64 28}
!50 = !{i64 0, i64 4, !51, i64 4, i64 4, !51, i64 8, i64 4, !51}
!51 = !{!31, !31, i64 0}


; 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.vmath::vec3" = type { float, float, float }
%"class.vmath::quat" = type { float, float, float, float }
%"class.vmath::mat3" = type { [9 x float] }

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: nounwind
declare void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #2

declare void @_ZN5vmathmlEfRKNS_4vec3E(ptr dead_on_unwind writable sret(%"class.vmath::vec3") align 4, float noundef, ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3

declare void @_ZN5vmath4vec3C1Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN5vmath4mat3D1Ev(ptr noundef nonnull align 4 dereferenceable(36)) unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN25AnisotropicParticleMesher22_covarianceMatrixToSVDERN5vmath4mat3ERNS_3SVDE(ptr noundef nonnull align 8 dereferenceable(784) %0, ptr noundef nonnull align 4 dereferenceable(36) %1, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(48) %2) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.vmath::quat", align 4
  %5 = alloca %"class.vmath::mat3", align 4
  %6 = alloca %"class.vmath::mat3", align 4
  %7 = alloca %"class.vmath::mat3", align 4
  %8 = alloca %"class.vmath::mat3", align 4
  %9 = alloca %"class.vmath::mat3", align 4
  %10 = alloca %"class.vmath::vec3", align 4
  %11 = alloca %"class.vmath::vec3", align 4
  %12 = alloca %"class.vmath::vec3", align 4
  %13 = alloca %"class.vmath::vec3", align 4
  %14 = alloca double, align 8
  %15 = alloca %"class.vmath::vec3", align 4
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca %"class.vmath::vec3", align 4
  %19 = alloca double, align 8
  %20 = alloca %"class.vmath::mat3", align 4
  %21 = alloca %"class.vmath::vec3", align 4
  %22 = alloca %"class.vmath::vec3", align 4
  %23 = alloca %"class.vmath::vec3", align 4
  %24 = alloca %"class.vmath::vec3", align 4
  %25 = alloca %"class.vmath::vec3", align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(36) %5, ptr noundef nonnull align 4 dereferenceable(36) %1, i64 36, i1 false), !tbaa.struct !5
  invoke void @_ZN25AnisotropicParticleMesher18_diagonalizeMatrixEN5vmath4mat3E(ptr dead_on_unwind nonnull writable sret(%"class.vmath::quat") align 4 %4, ptr noundef nonnull align 8 dereferenceable(784) %0, ptr noundef nonnull %5)
          to label %26 unwind label %44

26:                                               ; preds = %3
  call void @_ZN5vmath4mat3D1Ev(ptr noundef nonnull align 4 dereferenceable(36) %5) #8
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %6) #8
  invoke void @_ZN5vmath9mat3_castERKNS_4quatE(ptr dead_on_unwind nonnull writable sret(%"class.vmath::mat3") align 4 %6, ptr noundef nonnull align 4 dereferenceable(16) %4)
          to label %27 unwind label %46

27:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %9) #8
  invoke void @_ZN5vmath9transposeERKNS_4mat3E(ptr dead_on_unwind nonnull writable sret(%"class.vmath::mat3") align 4 %9, ptr noundef nonnull align 4 dereferenceable(36) %6)
          to label %28 unwind label %48

28:                                               ; preds = %27
  invoke void @_ZN5vmathmlERKNS_4mat3ES2_(ptr dead_on_unwind nonnull writable sret(%"class.vmath::mat3") align 4 %8, ptr noundef nonnull align 4 dereferenceable(36) %9, ptr noundef nonnull align 4 dereferenceable(36) %1)
          to label %29 unwind label %50

29:                                               ; preds = %28
  invoke void @_ZN5vmathmlERKNS_4mat3ES2_(ptr dead_on_unwind nonnull writable sret(%"class.vmath::mat3") align 4 %7, ptr noundef nonnull align 4 dereferenceable(36) %8, ptr noundef nonnull align 4 dereferenceable(36) %6)
          to label %30 unwind label %52

30:                                               ; preds = %29
  call void @_ZN5vmath4mat3D1Ev(ptr noundef nonnull align 4 dereferenceable(36) %8) #8
  call void @_ZN5vmath4mat3D1Ev(ptr noundef nonnull align 4 dereferenceable(36) %9) #8
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %10) #8
  invoke void @_ZN5vmath4mat3ixEi(ptr dead_on_unwind nonnull writable sret(%"class.vmath::vec3") align 4 %10, ptr noundef nonnull align 4 dereferenceable(36) %7, i32 noundef 0)
          to label %31 unwind label %56

31:                                               ; preds = %30
  %32 = invoke noundef float @_ZN5vmath4vec3ixEi(ptr noundef nonnull align 4 dereferenceable(12) %10, i32 noundef 0)
          to label %33 unwind label %58

33:                                               ; preds = %31
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %10) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %11) #8
  invoke void @_ZN5vmath4mat3ixEi(ptr dead_on_unwind nonnull writable sret(%"class.vmath::vec3") align 4 %11, ptr noundef nonnull align 4 dereferenceable(36) %7, i32 noundef 1)
          to label %34 unwind label %61

34:                                               ; preds = %33
  %35 = invoke noundef float @_ZN5vmath4vec3ixEi(ptr noundef nonnull align 4 dereferenceable(12) %11, i32 noundef 1)
          to label %36 unwind label %63

36:                                               ; preds = %34
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %11) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %12) #8
  invoke void @_ZN5vmath4mat3ixEi(ptr dead_on_unwind nonnull writable sret(%"class.vmath::vec3") align 4 %12, ptr noundef nonnull align 4 dereferenceable(36) %7, i32 noundef 2)
          to label %37 unwind label %66

37:                                               ; preds = %36
  %38 = invoke noundef float @_ZN5vmath4vec3ixEi(ptr noundef nonnull align 4 dereferenceable(12) %12, i32 noundef 2)
          to label %39 unwind label %68

39:                                               ; preds = %37
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %12) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %12) #8
  %40 = fcmp ogt float %32, %35
  %41 = fcmp ogt float %32, %38
  %or.cond = and i1 %40, %41
  br i1 %or.cond, label %42, label %71

42:                                               ; preds = %39
  %43 = fcmp ogt float %35, %38
  %. = select i1 %43, i32 2, i32 1
  %.106 = select i1 %43, i32 1, i32 2
  br label %79

44:                                               ; preds = %3
  %45 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5vmath4mat3D1Ev(ptr noundef nonnull align 4 dereferenceable(36) %5) #8
  br label %147

46:                                               ; preds = %26
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %146

48:                                               ; preds = %27
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %55

50:                                               ; preds = %28
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %54

52:                                               ; preds = %29
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5vmath4mat3D1Ev(ptr noundef nonnull align 4 dereferenceable(36) %8) #8
  br label %54

54:                                               ; preds = %52, %50
  %.pn = phi { ptr, i32 } [ %53, %52 ], [ %51, %50 ]
  call void @_ZN5vmath4mat3D1Ev(ptr noundef nonnull align 4 dereferenceable(36) %9) #8
  br label %55

55:                                               ; preds = %54, %48
  %.pn.pn = phi { ptr, i32 } [ %.pn, %54 ], [ %49, %48 ]
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %8) #8
  br label %145

56:                                               ; preds = %30
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %60

58:                                               ; preds = %31
  %59 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %10) #8
  br label %60

60:                                               ; preds = %58, %56
  %.pn78 = phi { ptr, i32 } [ %59, %58 ], [ %57, %56 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %10) #8
  br label %144

61:                                               ; preds = %33
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %65

63:                                               ; preds = %34
  %64 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %11) #8
  br label %65

65:                                               ; preds = %63, %61
  %.pn80 = phi { ptr, i32 } [ %64, %63 ], [ %62, %61 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #8
  br label %144

66:                                               ; preds = %36
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %70

68:                                               ; preds = %37
  %69 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %12) #8
  br label %70

70:                                               ; preds = %68, %66
  %.pn82 = phi { ptr, i32 } [ %69, %68 ], [ %67, %66 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %12) #8
  br label %144

71:                                               ; preds = %39
  %72 = fcmp ogt float %35, %32
  %73 = fcmp ogt float %35, %38
  %or.cond107 = and i1 %72, %73
  br i1 %or.cond107, label %74, label %75

74:                                               ; preds = %71
  %.108 = select i1 %41, i32 2, i32 0
  %.109 = select i1 %41, i32 0, i32 2
  br label %79

75:                                               ; preds = %71
  %76 = fcmp ogt float %38, %32
  %77 = fcmp ogt float %38, %35
  %or.cond110 = and i1 %76, %77
  br i1 %or.cond110, label %78, label %79

78:                                               ; preds = %75
  %.111 = zext i1 %40 to i32
  %not. = xor i1 %40, true
  %.112 = zext i1 %not. to i32
  br label %79

79:                                               ; preds = %78, %74, %42, %75
  %.068 = phi i32 [ 2, %75 ], [ %., %42 ], [ %.108, %74 ], [ %.111, %78 ]
  %.067 = phi i32 [ 1, %75 ], [ %.106, %42 ], [ %.109, %74 ], [ %.112, %78 ]
  %.066 = phi i32 [ 0, %75 ], [ 0, %42 ], [ 1, %74 ], [ 2, %78 ]
  %80 = getelementptr inbounds i8, ptr %0, i64 88
  %81 = load double, ptr %80, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %13) #8
  invoke void @_ZN5vmath4mat3ixEi(ptr dead_on_unwind nonnull writable sret(%"class.vmath::vec3") align 4 %13, ptr noundef nonnull align 4 dereferenceable(36) %7, i32 noundef %.066)
          to label %82 unwind label %113

82:                                               ; preds = %79
  %83 = invoke noundef float @_ZN5vmath4vec3ixEi(ptr noundef nonnull align 4 dereferenceable(12) %13, i32 noundef %.066)
          to label %84 unwind label %115

84:                                               ; preds = %82
  %85 = fpext float %83 to double
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %13) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %13) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %15) #8
  invoke void @_ZN5vmath4mat3ixEi(ptr dead_on_unwind nonnull writable sret(%"class.vmath::vec3") align 4 %15, ptr noundef nonnull align 4 dereferenceable(36) %7, i32 noundef %.067)
          to label %86 unwind label %118

86:                                               ; preds = %84
  %87 = invoke noundef float @_ZN5vmath4vec3ixEi(ptr noundef nonnull align 4 dereferenceable(12) %15, i32 noundef %.067)
          to label %88 unwind label %120

88:                                               ; preds = %86
  %89 = fpext float %87 to double
  store double %89, ptr %14, align 8, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #8
  %90 = fdiv double %85, %81
  store double %90, ptr %16, align 8, !tbaa !47
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %16)
  %92 = load double, ptr %91, align 8, !tbaa !47
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %15) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %18) #8
  invoke void @_ZN5vmath4mat3ixEi(ptr dead_on_unwind nonnull writable sret(%"class.vmath::vec3") align 4 %18, ptr noundef nonnull align 4 dereferenceable(36) %7, i32 noundef %.068)
          to label %93 unwind label %123

93:                                               ; preds = %88
  %94 = invoke noundef float @_ZN5vmath4vec3ixEi(ptr noundef nonnull align 4 dereferenceable(12) %18, i32 noundef %.068)
          to label %95 unwind label %125

95:                                               ; preds = %93
  %96 = fpext float %94 to double
  store double %96, ptr %17, align 8, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #8
  store double %90, ptr %19, align 8, !tbaa !47
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %19)
  %98 = load double, ptr %97, align 8, !tbaa !47
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #8
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %18) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  %99 = fmul double %92, %85
  %100 = fmul double %99, %98
  %101 = fdiv double 1.000000e+00, %100
  %102 = call double @cbrt(double noundef %101) #9
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %20) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %21) #8
  invoke void @_ZN5vmath4mat3ixEi(ptr dead_on_unwind nonnull writable sret(%"class.vmath::vec3") align 4 %21, ptr noundef nonnull align 4 dereferenceable(36) %6, i32 noundef %.066)
          to label %103 unwind label %128

103:                                              ; preds = %95
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %22) #8
  invoke void @_ZN5vmath4mat3ixEi(ptr dead_on_unwind nonnull writable sret(%"class.vmath::vec3") align 4 %22, ptr noundef nonnull align 4 dereferenceable(36) %6, i32 noundef %.067)
          to label %104 unwind label %130

104:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %23) #8
  invoke void @_ZN5vmath4mat3ixEi(ptr dead_on_unwind nonnull writable sret(%"class.vmath::vec3") align 4 %23, ptr noundef nonnull align 4 dereferenceable(36) %6, i32 noundef %.068)
          to label %105 unwind label %132

105:                                              ; preds = %104
  invoke void @_ZN5vmath4mat3C1ERKNS_4vec3ES3_S3_(ptr noundef nonnull align 4 dereferenceable(36) %20, ptr noundef nonnull align 4 dereferenceable(12) %21, ptr noundef nonnull align 4 dereferenceable(12) %22, ptr noundef nonnull align 4 dereferenceable(12) %23)
          to label %106 unwind label %134

106:                                              ; preds = %105
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(36) %2, ptr noundef nonnull align 4 dereferenceable(36) %20, i64 36, i1 false), !tbaa.struct !5
  call void @_ZN5vmath4mat3D1Ev(ptr noundef nonnull align 4 dereferenceable(36) %20) #8
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %23) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %23) #8
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %22) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %22) #8
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %21) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %21) #8
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %20) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %24) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %25) #8
  %107 = fptrunc double %92 to float
  %108 = fptrunc double %98 to float
  invoke void @_ZN5vmath4vec3C1Efff(ptr noundef nonnull align 4 dereferenceable(12) %25, float noundef %83, float noundef %107, float noundef %108)
          to label %109 unwind label %139

109:                                              ; preds = %106
  %110 = fptrunc double %102 to float
  invoke void @_ZN5vmathmlEfRKNS_4vec3E(ptr dead_on_unwind nonnull writable sret(%"class.vmath::vec3") align 4 %24, float noundef %110, ptr noundef nonnull align 4 dereferenceable(12) %25)
          to label %111 unwind label %141

111:                                              ; preds = %109
  %112 = getelementptr inbounds i8, ptr %2, i64 36
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %112, ptr noundef nonnull align 4 dereferenceable(12) %24, i64 12, i1 false), !tbaa.struct !48
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %24) #8
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %25) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %25) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %24) #8
  call void @_ZN5vmath4mat3D1Ev(ptr noundef nonnull align 4 dereferenceable(36) %7) #8
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %7) #8
  call void @_ZN5vmath4mat3D1Ev(ptr noundef nonnull align 4 dereferenceable(36) %6) #8
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %6) #8
  call void @_ZN5vmath4quatD1Ev(ptr noundef nonnull align 4 dereferenceable(16) %4) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  ret void

113:                                              ; preds = %79
  %114 = landingpad { ptr, i32 }
          cleanup
  br label %117

115:                                              ; preds = %82
  %116 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %13) #8
  br label %117

117:                                              ; preds = %115, %113
  %.pn84 = phi { ptr, i32 } [ %116, %115 ], [ %114, %113 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %13) #8
  br label %144

118:                                              ; preds = %84
  %119 = landingpad { ptr, i32 }
          cleanup
  br label %122

120:                                              ; preds = %86
  %121 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %15) #8
  br label %122

122:                                              ; preds = %120, %118
  %.pn86 = phi { ptr, i32 } [ %121, %120 ], [ %119, %118 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  br label %144

123:                                              ; preds = %88
  %124 = landingpad { ptr, i32 }
          cleanup
  br label %127

125:                                              ; preds = %93
  %126 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %18) #8
  br label %127

127:                                              ; preds = %125, %123
  %.pn88 = phi { ptr, i32 } [ %126, %125 ], [ %124, %123 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  br label %144

128:                                              ; preds = %95
  %129 = landingpad { ptr, i32 }
          cleanup
  br label %138

130:                                              ; preds = %103
  %131 = landingpad { ptr, i32 }
          cleanup
  br label %137

132:                                              ; preds = %104
  %133 = landingpad { ptr, i32 }
          cleanup
  br label %136

134:                                              ; preds = %105
  %135 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %23) #8
  br label %136

136:                                              ; preds = %134, %132
  %.pn90 = phi { ptr, i32 } [ %135, %134 ], [ %133, %132 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %23) #8
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %22) #8
  br label %137

137:                                              ; preds = %136, %130
  %.pn90.pn = phi { ptr, i32 } [ %.pn90, %136 ], [ %131, %130 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %22) #8
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %21) #8
  br label %138

138:                                              ; preds = %137, %128
  %.pn90.pn.pn = phi { ptr, i32 } [ %.pn90.pn, %137 ], [ %129, %128 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %21) #8
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %20) #8
  br label %144

139:                                              ; preds = %106
  %140 = landingpad { ptr, i32 }
          cleanup
  br label %143

141:                                              ; preds = %109
  %142 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5vmath4vec3D1Ev(ptr noundef nonnull align 4 dereferenceable(12) %25) #8
  br label %143

143:                                              ; preds = %141, %139
  %.pn94 = phi { ptr, i32 } [ %142, %141 ], [ %140, %139 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %25) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %24) #8
  br label %144

144:                                              ; preds = %65, %117, %127, %143, %138, %122, %70, %60
  %.pn94.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn78, %60 ], [ %.pn80, %65 ], [ %.pn82, %70 ], [ %.pn84, %117 ], [ %.pn86, %122 ], [ %.pn88, %127 ], [ %.pn94, %143 ], [ %.pn90.pn.pn, %138 ]
  call void @_ZN5vmath4mat3D1Ev(ptr noundef nonnull align 4 dereferenceable(36) %7) #8
  br label %145

145:                                              ; preds = %144, %55
  %.pn94.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn94.pn.pn.pn.pn.pn.pn.pn, %144 ], [ %.pn.pn, %55 ]
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %7) #8
  call void @_ZN5vmath4mat3D1Ev(ptr noundef nonnull align 4 dereferenceable(36) %6) #8
  br label %146

146:                                              ; preds = %145, %46
  %.pn94.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn94.pn.pn.pn.pn.pn.pn.pn.pn, %145 ], [ %47, %46 ]
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %6) #8
  call void @_ZN5vmath4quatD1Ev(ptr noundef nonnull align 4 dereferenceable(16) %4) #8
  br label %147

147:                                              ; preds = %146, %44
  %.pn94.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn94.pn.pn.pn.pn.pn.pn.pn.pn.pn, %146 ], [ %45, %44 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  resume { ptr, i32 } %.pn94.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

declare noundef float @_ZN5vmath4vec3ixEi(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN25AnisotropicParticleMesher18_diagonalizeMatrixEN5vmath4mat3E(ptr dead_on_unwind noalias writable sret(%"class.vmath::quat") align 4, ptr noundef nonnull align 8 dereferenceable(784), ptr noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5vmath9mat3_castERKNS_4quatE(ptr dead_on_unwind noalias writable sret(%"class.vmath::mat3") align 4, ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #5

declare void @_ZN5vmathmlERKNS_4mat3ES2_(ptr dead_on_unwind writable sret(%"class.vmath::mat3") align 4, ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5vmath9transposeERKNS_4mat3E(ptr dead_on_unwind noalias writable sret(%"class.vmath::mat3") align 4, ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #5

declare void @_ZN5vmath4mat3ixEi(ptr dead_on_unwind writable sret(%"class.vmath::vec3") align 4, ptr noundef nonnull align 4 dereferenceable(36), i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none)
declare double @cbrt(double noundef) local_unnamed_addr #7

declare void @_ZN5vmath4mat3C1ERKNS_4vec3ES3_S3_(ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN5vmath4quatD1Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #2

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

!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 = !{i64 0, i64 36, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 88}
!10 = !{!"_ZTS25AnisotropicParticleMesher", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !12, i64 64, !11, i64 72, !12, i64 80, !11, i64 88, !12, i64 96, !12, i64 100, !12, i64 104, !11, i64 112, !12, i64 120, !11, i64 128, !13, i64 136, !29, i64 288, !34, i64 336, !34, i64 384, !39, i64 432, !44, i64 480, !12, i64 728, !12, i64 732, !12, i64 736, !45, i64 744}
!11 = !{!"double", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTS16SpatialPointGrid", !12, i64 0, !12, i64 4, !12, i64 8, !11, i64 16, !14, i64 24, !19, i64 48, !23, i64 72, !26, i64 112}
!14 = !{!"_ZTSSt6vectorI9GridPointSaIS0_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseI9GridPointSaIS0_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseI9GridPointSaIS0_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseI9GridPointSaIS0_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!18 = !{!"any pointer", !7, i64 0}
!19 = !{!"_ZTSSt6vectorIiSaIiEE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!23 = !{!"_ZTS7Array3dIN16SpatialPointGrid8CellNodeEE", !12, i64 0, !12, i64 4, !12, i64 8, !18, i64 16, !24, i64 24, !25, i64 28, !12, i64 36}
!24 = !{!"bool", !7, i64 0}
!25 = !{!"_ZTSN16SpatialPointGrid8CellNodeE", !12, i64 0, !12, i64 4}
!26 = !{!"_ZTS4AABB", !27, i64 0, !11, i64 16, !11, i64 24, !11, i64 32}
!27 = !{!"_ZTSN5vmath4vec3E", !28, i64 0, !28, i64 4, !28, i64 8}
!28 = !{!"float", !7, i64 0}
!29 = !{!"_ZTS16FragmentedVectorIN25AnisotropicParticleMesher15SurfaceParticleEE", !30, i64 0, !12, i64 24, !12, i64 28, !11, i64 32, !12, i64 40, !12, i64 44}
!30 = !{!"_ZTSSt6vectorIN16FragmentedVectorIN25AnisotropicParticleMesher15SurfaceParticleEE10VectorNodeESaIS4_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIN16FragmentedVectorIN25AnisotropicParticleMesher15SurfaceParticleEE10VectorNodeESaIS4_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN16FragmentedVectorIN25AnisotropicParticleMesher15SurfaceParticleEE10VectorNodeESaIS4_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIN16FragmentedVectorIN25AnisotropicParticleMesher15SurfaceParticleEE10VectorNodeESaIS4_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!34 = !{!"_ZTS16FragmentedVectorI18GridPointReferenceE", !35, i64 0, !12, i64 24, !12, i64 28, !11, i64 32, !12, i64 40, !12, i64 44}
!35 = !{!"_ZTSSt6vectorIN16FragmentedVectorI18GridPointReferenceE10VectorNodeESaIS3_EE", !36, i64 0}
!36 = !{!"_ZTSSt12_Vector_baseIN16FragmentedVectorI18GridPointReferenceE10VectorNodeESaIS3_EE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIN16FragmentedVectorI18GridPointReferenceE10VectorNodeESaIS3_EE12_Vector_implE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIN16FragmentedVectorI18GridPointReferenceE10VectorNodeESaIS3_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!39 = !{!"_ZTS16FragmentedVectorIN5vmath4vec3EE", !40, i64 0, !12, i64 24, !12, i64 28, !11, i64 32, !12, i64 40, !12, i64 44}
!40 = !{!"_ZTSSt6vectorIN16FragmentedVectorIN5vmath4vec3EE10VectorNodeESaIS4_EE", !41, i64 0}
!41 = !{!"_ZTSSt12_Vector_baseIN16FragmentedVectorIN5vmath4vec3EE10VectorNodeESaIS4_EE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIN16FragmentedVectorIN5vmath4vec3EE10VectorNodeESaIS4_EE12_Vector_implE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIN16FragmentedVectorIN5vmath4vec3EE10VectorNodeESaIS4_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!44 = !{!"_ZTS11ScalarField", !12, i64 0, !12, i64 4, !12, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !24, i64 80, !45, i64 88, !46, i64 128, !45, i64 160, !46, i64 200, !24, i64 232, !27, i64 236}
!45 = !{!"_ZTS7Array3dIfE", !12, i64 0, !12, i64 4, !12, i64 8, !18, i64 16, !24, i64 24, !28, i64 28, !12, i64 32}
!46 = !{!"_ZTS7Array3dIbE", !12, i64 0, !12, i64 4, !12, i64 8, !18, i64 16, !24, i64 24, !24, i64 25, !12, i64 28}
!47 = !{!11, !11, i64 0}
!48 = !{i64 0, i64 4, !49, i64 4, i64 4, !49, i64 8, i64 4, !49}
!49 = !{!28, !28, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass