; LLVM IR from o0o0o0o0o0o0o/image-processing-from-scratch :: ImageMatting/Eigen/demos/opengl/icosphere.ll (ZN9IcoSphereC2Ej)

; 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" = 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::Map" = type { %"class.Eigen::MapBase.base.19", [6 x i8] }
%"class.Eigen::MapBase.base.19" = type { %"class.Eigen::MapBase.base" }
%"class.Eigen::MapBase.base" = type <{ ptr, [2 x i8] }>
%"class.Eigen::Stride" = type { [2 x i8] }
%class.IcoSphere = type { %"class.std::vector", %"class.std::vector.0", %"class.std::vector.5" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Eigen::Matrix<float, 3, 1>, std::allocator<Eigen::Matrix<float, 3, 1>>>::_Vector_impl" }
%"struct.std::_Vector_base<Eigen::Matrix<float, 3, 1>, std::allocator<Eigen::Matrix<float, 3, 1>>>::_Vector_impl" = type { %"struct.std::_Vector_base<Eigen::Matrix<float, 3, 1>, std::allocator<Eigen::Matrix<float, 3, 1>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Eigen::Matrix<float, 3, 1>, std::allocator<Eigen::Matrix<float, 3, 1>>>::_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<std::vector<int> *, std::allocator<std::vector<int> *>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<int> *, std::allocator<std::vector<int> *>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<int> *, std::allocator<std::vector<int> *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<int> *, std::allocator<std::vector<int> *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = 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 }

@_ZL5vdata = external hidden global [12 x [3 x float]], align 16
@_ZL8tindices = external hidden global [20 x [3 x i32]], align 16

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9IcoSphereC2Ej(ptr noundef nonnull align 8 dereferenceable(72) %0, i32 noundef %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %"class.Eigen::Matrix", align 4
  %7 = alloca %"class.Eigen::Map", align 8
  %8 = alloca %"class.Eigen::Stride", align 1
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  %17 = load ptr, ptr %3, align 8
  %18 = getelementptr inbounds %class.IcoSphere, ptr %17, i32 0, i32 0
  call void @_ZNSt6vectorIN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  %19 = getelementptr inbounds %class.IcoSphere, ptr %17, i32 0, i32 1
  call void @_ZNSt6vectorIPS_IiSaIiEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #5
  %20 = getelementptr inbounds %class.IcoSphere, ptr %17, i32 0, i32 2
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %21

21:                                               ; preds = %35, %2
  %22 = load i32, ptr %5, align 4, !tbaa !9
  %23 = icmp slt i32 %22, 12
  br i1 %23, label %25, label %24

24:                                               ; preds = %21
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %42

25:                                               ; preds = %21
  %26 = getelementptr inbounds %class.IcoSphere, ptr %17, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 12, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #5
  %27 = load i32, ptr %5, align 4, !tbaa !9
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [12 x [3 x float]], ptr @_ZL5vdata, i64 0, i64 %28
  %30 = getelementptr inbounds [3 x float], ptr %29, i64 0, i64 0
  call void @llvm.lifetime.start.p0(i64 2, ptr %8) #5
  invoke void @_ZN5Eigen6StrideILi0ELi0EEC2Ev(ptr noundef nonnull align 1 dereferenceable(2) %8)
          to label %31 unwind label %38

31:                                               ; preds = %25
  invoke void @_ZN5Eigen3MapINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0ENS_6StrideILi0ELi0EEEEC2EPfRKS4_(ptr noundef nonnull align 8 dereferenceable(12) %7, ptr noundef %30, ptr noundef nonnull align 1 dereferenceable(2) %8)
          to label %32 unwind label %38

32:                                               ; preds = %31
  invoke void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_3MapIS1_Li0ENS_6StrideILi0ELi0EEEEEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %33 unwind label %38

33:                                               ; preds = %32
  invoke void @_ZNSt6vectorIN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 4 dereferenceable(12) %6)
          to label %34 unwind label %38

34:                                               ; preds = %33
  call void @llvm.lifetime.end.p0(i64 2, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %6) #5
  br label %35

35:                                               ; preds = %34
  %36 = load i32, ptr %5, align 4, !tbaa !9
  %37 = add nsw i32 %36, 1
  store i32 %37, ptr %5, align 4, !tbaa !9
  br label %21, !llvm.loop !11

38:                                               ; preds = %33, %32, %31, %25
  %39 = landingpad { ptr, i32 }
          cleanup
  %40 = extractvalue { ptr, i32 } %39, 0
  store ptr %40, ptr %9, align 8
  %41 = extractvalue { ptr, i32 } %39, 1
  store i32 %41, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %104

42:                                               ; preds = %24
  %43 = getelementptr inbounds %class.IcoSphere, ptr %17, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %44 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #6
          to label %45 unwind label %54

45:                                               ; preds = %42
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #5
  store ptr %44, ptr %11, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIPS_IiSaIiEESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %43, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %46 unwind label %54

46:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %47 = getelementptr inbounds %class.IcoSphere, ptr %17, i32 0, i32 1
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPS_IiSaIiEESaIS2_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %47) #5
  %49 = load ptr, ptr %48, align 8, !tbaa !5
  store ptr %49, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %50

50:                                               ; preds = %80, %46
  %51 = load i32, ptr %13, align 4, !tbaa !9
  %52 = icmp slt i32 %51, 20
  br i1 %52, label %58, label %53

53:                                               ; preds = %50
  store i32 5, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %83

54:                                               ; preds = %45, %42
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %9, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  br label %104

58:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %59

59:                                               ; preds = %72, %58
  %60 = load i32, ptr %15, align 4, !tbaa !9
  %61 = icmp slt i32 %60, 3
  br i1 %61, label %63, label %62

62:                                               ; preds = %59
  store i32 8, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %79

63:                                               ; preds = %59
  %64 = load ptr, ptr %12, align 8, !tbaa !5
  %65 = load i32, ptr %13, align 4, !tbaa !9
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [20 x [3 x i32]], ptr @_ZL8tindices, i64 0, i64 %66
  %68 = load i32, ptr %15, align 4, !tbaa !9
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds [3 x i32], ptr %67, i64 0, i64 %69
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %64, ptr noundef nonnull align 4 dereferenceable(4) %70)
          to label %71 unwind label %75

71:                                               ; preds = %63
  br label %72

72:                                               ; preds = %71
  %73 = load i32, ptr %15, align 4, !tbaa !9
  %74 = add nsw i32 %73, 1
  store i32 %74, ptr %15, align 4, !tbaa !9
  br label %59, !llvm.loop !13

75:                                               ; preds = %63
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %9, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %103

79:                                               ; preds = %62
  br label %80

80:                                               ; preds = %79
  %81 = load i32, ptr %13, align 4, !tbaa !9
  %82 = add nsw i32 %81, 1
  store i32 %82, ptr %13, align 4, !tbaa !9
  br label %50, !llvm.loop !14

83:                                               ; preds = %53
  %84 = getelementptr inbounds %class.IcoSphere, ptr %17, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store i32 0, ptr %16, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %84, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %85 unwind label %94

85:                                               ; preds = %83
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %86

86:                                               ; preds = %93, %85
  %87 = getelementptr inbounds %class.IcoSphere, ptr %17, i32 0, i32 1
  %88 = call noundef i64 @_ZNKSt6vectorIPS_IiSaIiEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %87) #5
  %89 = load i32, ptr %4, align 4, !tbaa !9
  %90 = zext i32 %89 to i64
  %91 = icmp ult i64 %88, %90
  br i1 %91, label %92, label %102

92:                                               ; preds = %86
  invoke void @_ZN9IcoSphere10_subdivideEv(ptr noundef nonnull align 8 dereferenceable(72) %17)
          to label %93 unwind label %98

93:                                               ; preds = %92
  br label %86, !llvm.loop !15

94:                                               ; preds = %83
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %9, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %103

98:                                               ; preds = %92
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %9, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %10, align 4
  br label %103

102:                                              ; preds = %86
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  ret void

103:                                              ; preds = %98, %94, %75
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %104

104:                                              ; preds = %103, %54, %38
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #5
  call void @_ZNSt6vectorIPS_IiSaIiEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #5
  call void @_ZNSt6vectorIN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  br label %105

105:                                              ; preds = %104
  %106 = load ptr, ptr %9, align 8
  %107 = load i32, ptr %10, align 4
  %108 = insertvalue { ptr, i32 } poison, ptr %106, 0
  %109 = insertvalue { ptr, i32 } %108, i32 %107, 1
  resume { ptr, i32 } %109
}

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12)) #0 align 2

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #4

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9IcoSphere10_subdivideEv(ptr noundef nonnull align 8 dereferenceable(72)) #0 align 2

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

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

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

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

!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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}


; 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" = 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::Map" = type { %"class.Eigen::MapBase.base.19", [6 x i8] }
%"class.Eigen::MapBase.base.19" = type { %"class.Eigen::MapBase.base" }
%"class.Eigen::MapBase.base" = type <{ ptr, [2 x i8] }>
%"class.Eigen::Stride" = type { [2 x i8] }

@_ZL5vdata = external hidden global [12 x [3 x float]], align 16
@_ZL8tindices = external hidden global [20 x [3 x i32]], align 16

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9IcoSphereC2Ej(ptr noundef nonnull align 8 dereferenceable(72) %0, i32 noundef %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.Eigen::Matrix", align 4
  %4 = alloca %"class.Eigen::Map", align 8
  %5 = alloca %"class.Eigen::Stride", align 1
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  tail call void @_ZNSt6vectorIN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %8 = getelementptr inbounds i8, ptr %0, i64 24
  tail call void @_ZNSt6vectorIPS_IiSaIiEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  %9 = getelementptr inbounds i8, ptr %0, i64 48
  tail call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %5) #5
  invoke void @_ZN5Eigen6StrideILi0ELi0EEC2Ev(ptr noundef nonnull align 1 dereferenceable(2) %5)
          to label %10 unwind label %59

10:                                               ; preds = %2
  invoke void @_ZN5Eigen3MapINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0ENS_6StrideILi0ELi0EEEEC2EPfRKS4_(ptr noundef nonnull align 8 dereferenceable(12) %4, ptr noundef nonnull @_ZL5vdata, ptr noundef nonnull align 1 dereferenceable(2) %5)
          to label %11 unwind label %59

11:                                               ; preds = %10
  invoke void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_3MapIS1_Li0ENS_6StrideILi0ELi0EEEEEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %12 unwind label %59

12:                                               ; preds = %11
  invoke void @_ZNSt6vectorIN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(12) %3)
          to label %13 unwind label %59

13:                                               ; preds = %12
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %5) #5
  invoke void @_ZN5Eigen6StrideILi0ELi0EEC2Ev(ptr noundef nonnull align 1 dereferenceable(2) %5)
          to label %14 unwind label %59

14:                                               ; preds = %13
  invoke void @_ZN5Eigen3MapINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0ENS_6StrideILi0ELi0EEEEC2EPfRKS4_(ptr noundef nonnull align 8 dereferenceable(12) %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @_ZL5vdata, i64 12), ptr noundef nonnull align 1 dereferenceable(2) %5)
          to label %15 unwind label %59

15:                                               ; preds = %14
  invoke void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_3MapIS1_Li0ENS_6StrideILi0ELi0EEEEEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %16 unwind label %59

16:                                               ; preds = %15
  invoke void @_ZNSt6vectorIN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(12) %3)
          to label %17 unwind label %59

17:                                               ; preds = %16
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %5) #5
  invoke void @_ZN5Eigen6StrideILi0ELi0EEC2Ev(ptr noundef nonnull align 1 dereferenceable(2) %5)
          to label %18 unwind label %59

18:                                               ; preds = %17
  invoke void @_ZN5Eigen3MapINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0ENS_6StrideILi0ELi0EEEEC2EPfRKS4_(ptr noundef nonnull align 8 dereferenceable(12) %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @_ZL5vdata, i64 24), ptr noundef nonnull align 1 dereferenceable(2) %5)
          to label %19 unwind label %59

19:                                               ; preds = %18
  invoke void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_3MapIS1_Li0ENS_6StrideILi0ELi0EEEEEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %20 unwind label %59

20:                                               ; preds = %19
  invoke void @_ZNSt6vectorIN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(12) %3)
          to label %21 unwind label %59

21:                                               ; preds = %20
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %5) #5
  invoke void @_ZN5Eigen6StrideILi0ELi0EEC2Ev(ptr noundef nonnull align 1 dereferenceable(2) %5)
          to label %22 unwind label %59

22:                                               ; preds = %21
  invoke void @_ZN5Eigen3MapINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0ENS_6StrideILi0ELi0EEEEC2EPfRKS4_(ptr noundef nonnull align 8 dereferenceable(12) %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @_ZL5vdata, i64 36), ptr noundef nonnull align 1 dereferenceable(2) %5)
          to label %23 unwind label %59

23:                                               ; preds = %22
  invoke void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_3MapIS1_Li0ENS_6StrideILi0ELi0EEEEEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %24 unwind label %59

24:                                               ; preds = %23
  invoke void @_ZNSt6vectorIN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(12) %3)
          to label %25 unwind label %59

25:                                               ; preds = %24
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %5) #5
  invoke void @_ZN5Eigen6StrideILi0ELi0EEC2Ev(ptr noundef nonnull align 1 dereferenceable(2) %5)
          to label %26 unwind label %59

26:                                               ; preds = %25
  invoke void @_ZN5Eigen3MapINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0ENS_6StrideILi0ELi0EEEEC2EPfRKS4_(ptr noundef nonnull align 8 dereferenceable(12) %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @_ZL5vdata, i64 48), ptr noundef nonnull align 1 dereferenceable(2) %5)
          to label %27 unwind label %59

27:                                               ; preds = %26
  invoke void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_3MapIS1_Li0ENS_6StrideILi0ELi0EEEEEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %28 unwind label %59

28:                                               ; preds = %27
  invoke void @_ZNSt6vectorIN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(12) %3)
          to label %29 unwind label %59

29:                                               ; preds = %28
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %5) #5
  invoke void @_ZN5Eigen6StrideILi0ELi0EEC2Ev(ptr noundef nonnull align 1 dereferenceable(2) %5)
          to label %30 unwind label %59

30:                                               ; preds = %29
  invoke void @_ZN5Eigen3MapINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0ENS_6StrideILi0ELi0EEEEC2EPfRKS4_(ptr noundef nonnull align 8 dereferenceable(12) %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @_ZL5vdata, i64 60), ptr noundef nonnull align 1 dereferenceable(2) %5)
          to label %31 unwind label %59

31:                                               ; preds = %30
  invoke void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_3MapIS1_Li0ENS_6StrideILi0ELi0EEEEEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %32 unwind label %59

32:                                               ; preds = %31
  invoke void @_ZNSt6vectorIN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(12) %3)
          to label %33 unwind label %59

33:                                               ; preds = %32
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %5) #5
  invoke void @_ZN5Eigen6StrideILi0ELi0EEC2Ev(ptr noundef nonnull align 1 dereferenceable(2) %5)
          to label %34 unwind label %59

34:                                               ; preds = %33
  invoke void @_ZN5Eigen3MapINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0ENS_6StrideILi0ELi0EEEEC2EPfRKS4_(ptr noundef nonnull align 8 dereferenceable(12) %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @_ZL5vdata, i64 72), ptr noundef nonnull align 1 dereferenceable(2) %5)
          to label %35 unwind label %59

35:                                               ; preds = %34
  invoke void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_3MapIS1_Li0ENS_6StrideILi0ELi0EEEEEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %36 unwind label %59

36:                                               ; preds = %35
  invoke void @_ZNSt6vectorIN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(12) %3)
          to label %37 unwind label %59

37:                                               ; preds = %36
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %5) #5
  invoke void @_ZN5Eigen6StrideILi0ELi0EEC2Ev(ptr noundef nonnull align 1 dereferenceable(2) %5)
          to label %38 unwind label %59

38:                                               ; preds = %37
  invoke void @_ZN5Eigen3MapINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0ENS_6StrideILi0ELi0EEEEC2EPfRKS4_(ptr noundef nonnull align 8 dereferenceable(12) %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @_ZL5vdata, i64 84), ptr noundef nonnull align 1 dereferenceable(2) %5)
          to label %39 unwind label %59

39:                                               ; preds = %38
  invoke void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_3MapIS1_Li0ENS_6StrideILi0ELi0EEEEEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %40 unwind label %59

40:                                               ; preds = %39
  invoke void @_ZNSt6vectorIN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(12) %3)
          to label %41 unwind label %59

41:                                               ; preds = %40
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %5) #5
  invoke void @_ZN5Eigen6StrideILi0ELi0EEC2Ev(ptr noundef nonnull align 1 dereferenceable(2) %5)
          to label %42 unwind label %59

42:                                               ; preds = %41
  invoke void @_ZN5Eigen3MapINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0ENS_6StrideILi0ELi0EEEEC2EPfRKS4_(ptr noundef nonnull align 8 dereferenceable(12) %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @_ZL5vdata, i64 96), ptr noundef nonnull align 1 dereferenceable(2) %5)
          to label %43 unwind label %59

43:                                               ; preds = %42
  invoke void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_3MapIS1_Li0ENS_6StrideILi0ELi0EEEEEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %44 unwind label %59

44:                                               ; preds = %43
  invoke void @_ZNSt6vectorIN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(12) %3)
          to label %45 unwind label %59

45:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %5) #5
  invoke void @_ZN5Eigen6StrideILi0ELi0EEC2Ev(ptr noundef nonnull align 1 dereferenceable(2) %5)
          to label %46 unwind label %59

46:                                               ; preds = %45
  invoke void @_ZN5Eigen3MapINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0ENS_6StrideILi0ELi0EEEEC2EPfRKS4_(ptr noundef nonnull align 8 dereferenceable(12) %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @_ZL5vdata, i64 108), ptr noundef nonnull align 1 dereferenceable(2) %5)
          to label %47 unwind label %59

47:                                               ; preds = %46
  invoke void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_3MapIS1_Li0ENS_6StrideILi0ELi0EEEEEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %48 unwind label %59

48:                                               ; preds = %47
  invoke void @_ZNSt6vectorIN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(12) %3)
          to label %49 unwind label %59

49:                                               ; preds = %48
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %5) #5
  invoke void @_ZN5Eigen6StrideILi0ELi0EEC2Ev(ptr noundef nonnull align 1 dereferenceable(2) %5)
          to label %50 unwind label %59

50:                                               ; preds = %49
  invoke void @_ZN5Eigen3MapINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0ENS_6StrideILi0ELi0EEEEC2EPfRKS4_(ptr noundef nonnull align 8 dereferenceable(12) %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @_ZL5vdata, i64 120), ptr noundef nonnull align 1 dereferenceable(2) %5)
          to label %51 unwind label %59

51:                                               ; preds = %50
  invoke void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_3MapIS1_Li0ENS_6StrideILi0ELi0EEEEEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %52 unwind label %59

52:                                               ; preds = %51
  invoke void @_ZNSt6vectorIN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(12) %3)
          to label %53 unwind label %59

53:                                               ; preds = %52
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %5) #5
  invoke void @_ZN5Eigen6StrideILi0ELi0EEC2Ev(ptr noundef nonnull align 1 dereferenceable(2) %5)
          to label %54 unwind label %59

54:                                               ; preds = %53
  invoke void @_ZN5Eigen3MapINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEELi0ENS_6StrideILi0ELi0EEEEC2EPfRKS4_(ptr noundef nonnull align 8 dereferenceable(12) %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @_ZL5vdata, i64 132), ptr noundef nonnull align 1 dereferenceable(2) %5)
          to label %55 unwind label %59

55:                                               ; preds = %54
  invoke void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2INS_3MapIS1_Li0ENS_6StrideILi0ELi0EEEEEEERKNS_9EigenBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %56 unwind label %59

56:                                               ; preds = %55
  invoke void @_ZNSt6vectorIN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(12) %3)
          to label %57 unwind label %59

57:                                               ; preds = %56
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %58 = invoke noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #6
          to label %61 unwind label %64

59:                                               ; preds = %56, %55, %54, %53, %52, %51, %50, %49, %48, %47, %46, %45, %44, %43, %42, %41, %40, %39, %38, %37, %36, %35, %34, %33, %32, %31, %30, %29, %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17, %16, %15, %14, %13, %12, %11, %10, %2
  %60 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #5
  br label %120

61:                                               ; preds = %57
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %58) #5
  store ptr %58, ptr %6, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIPS_IiSaIiEESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %.preheader unwind label %64

.preheader:                                       ; preds = %61
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  %62 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPS_IiSaIiEESaIS2_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  %63 = load ptr, ptr %62, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) @_ZL8tindices)
          to label %66 unwind label %107

64:                                               ; preds = %61, %57
  %65 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br label %120

66:                                               ; preds = %.preheader
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 4))
          to label %67 unwind label %107

67:                                               ; preds = %66
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 8))
          to label %.preheader.1 unwind label %107

.preheader.1:                                     ; preds = %67
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 12))
          to label %68 unwind label %107

68:                                               ; preds = %.preheader.1
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 16))
          to label %69 unwind label %107

69:                                               ; preds = %68
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 20))
          to label %.preheader.2 unwind label %107

.preheader.2:                                     ; preds = %69
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 24))
          to label %70 unwind label %107

70:                                               ; preds = %.preheader.2
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 28))
          to label %71 unwind label %107

71:                                               ; preds = %70
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 32))
          to label %.preheader.3 unwind label %107

.preheader.3:                                     ; preds = %71
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 36))
          to label %72 unwind label %107

72:                                               ; preds = %.preheader.3
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 40))
          to label %73 unwind label %107

73:                                               ; preds = %72
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 44))
          to label %.preheader.4 unwind label %107

.preheader.4:                                     ; preds = %73
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 48))
          to label %74 unwind label %107

74:                                               ; preds = %.preheader.4
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 52))
          to label %75 unwind label %107

75:                                               ; preds = %74
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 56))
          to label %.preheader.5 unwind label %107

.preheader.5:                                     ; preds = %75
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 60))
          to label %76 unwind label %107

76:                                               ; preds = %.preheader.5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 64))
          to label %77 unwind label %107

77:                                               ; preds = %76
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 68))
          to label %.preheader.6 unwind label %107

.preheader.6:                                     ; preds = %77
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 72))
          to label %78 unwind label %107

78:                                               ; preds = %.preheader.6
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 76))
          to label %79 unwind label %107

79:                                               ; preds = %78
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 80))
          to label %.preheader.7 unwind label %107

.preheader.7:                                     ; preds = %79
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 84))
          to label %80 unwind label %107

80:                                               ; preds = %.preheader.7
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 88))
          to label %81 unwind label %107

81:                                               ; preds = %80
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 92))
          to label %.preheader.8 unwind label %107

.preheader.8:                                     ; preds = %81
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 96))
          to label %82 unwind label %107

82:                                               ; preds = %.preheader.8
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 100))
          to label %83 unwind label %107

83:                                               ; preds = %82
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 104))
          to label %.preheader.9 unwind label %107

.preheader.9:                                     ; preds = %83
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 108))
          to label %84 unwind label %107

84:                                               ; preds = %.preheader.9
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 112))
          to label %85 unwind label %107

85:                                               ; preds = %84
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 116))
          to label %.preheader.10 unwind label %107

.preheader.10:                                    ; preds = %85
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 120))
          to label %86 unwind label %107

86:                                               ; preds = %.preheader.10
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 124))
          to label %87 unwind label %107

87:                                               ; preds = %86
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 128))
          to label %.preheader.11 unwind label %107

.preheader.11:                                    ; preds = %87
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 132))
          to label %88 unwind label %107

88:                                               ; preds = %.preheader.11
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 136))
          to label %89 unwind label %107

89:                                               ; preds = %88
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 140))
          to label %.preheader.12 unwind label %107

.preheader.12:                                    ; preds = %89
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 144))
          to label %90 unwind label %107

90:                                               ; preds = %.preheader.12
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 148))
          to label %91 unwind label %107

91:                                               ; preds = %90
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 152))
          to label %.preheader.13 unwind label %107

.preheader.13:                                    ; preds = %91
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 156))
          to label %92 unwind label %107

92:                                               ; preds = %.preheader.13
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 160))
          to label %93 unwind label %107

93:                                               ; preds = %92
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 164))
          to label %.preheader.14 unwind label %107

.preheader.14:                                    ; preds = %93
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 168))
          to label %94 unwind label %107

94:                                               ; preds = %.preheader.14
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 172))
          to label %95 unwind label %107

95:                                               ; preds = %94
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 176))
          to label %.preheader.15 unwind label %107

.preheader.15:                                    ; preds = %95
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 180))
          to label %96 unwind label %107

96:                                               ; preds = %.preheader.15
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 184))
          to label %97 unwind label %107

97:                                               ; preds = %96
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 188))
          to label %.preheader.16 unwind label %107

.preheader.16:                                    ; preds = %97
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 192))
          to label %98 unwind label %107

98:                                               ; preds = %.preheader.16
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 196))
          to label %99 unwind label %107

99:                                               ; preds = %98
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 200))
          to label %.preheader.17 unwind label %107

.preheader.17:                                    ; preds = %99
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 204))
          to label %100 unwind label %107

100:                                              ; preds = %.preheader.17
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 208))
          to label %101 unwind label %107

101:                                              ; preds = %100
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 212))
          to label %.preheader.18 unwind label %107

.preheader.18:                                    ; preds = %101
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 216))
          to label %102 unwind label %107

102:                                              ; preds = %.preheader.18
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 220))
          to label %103 unwind label %107

103:                                              ; preds = %102
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 224))
          to label %.preheader.19 unwind label %107

.preheader.19:                                    ; preds = %103
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 228))
          to label %104 unwind label %107

104:                                              ; preds = %.preheader.19
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 232))
          to label %105 unwind label %107

105:                                              ; preds = %104
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZL8tindices, i64 236))
          to label %106 unwind label %107

106:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5
  store i32 0, ptr %7, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %109 unwind label %115

107:                                              ; preds = %105, %104, %.preheader.19, %103, %102, %.preheader.18, %101, %100, %.preheader.17, %99, %98, %.preheader.16, %97, %96, %.preheader.15, %95, %94, %.preheader.14, %93, %92, %.preheader.13, %91, %90, %.preheader.12, %89, %88, %.preheader.11, %87, %86, %.preheader.10, %85, %84, %.preheader.9, %83, %82, %.preheader.8, %81, %80, %.preheader.7, %79, %78, %.preheader.6, %77, %76, %.preheader.5, %75, %74, %.preheader.4, %73, %72, %.preheader.3, %71, %70, %.preheader.2, %69, %68, %.preheader.1, %67, %66, %.preheader
  %108 = landingpad { ptr, i32 }
          cleanup
  br label %120

109:                                              ; preds = %106
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  %110 = zext i32 %1 to i64
  br label %111

111:                                              ; preds = %114, %109
  %112 = call noundef i64 @_ZNKSt6vectorIPS_IiSaIiEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  %113 = icmp ult i64 %112, %110
  br i1 %113, label %114, label %119

114:                                              ; preds = %111
  invoke void @_ZN9IcoSphere10_subdivideEv(ptr noundef nonnull align 8 dereferenceable(72) %0)
          to label %111 unwind label %117, !llvm.loop !11

115:                                              ; preds = %106
  %116 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  br label %120

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

119:                                              ; preds = %111
  ret void

120:                                              ; preds = %107, %115, %117, %64, %59
  %.pn19 = phi { ptr, i32 } [ %60, %59 ], [ %65, %64 ], [ %108, %107 ], [ %118, %117 ], [ %116, %115 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  call void @_ZNSt6vectorIPS_IiSaIiEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  call void @_ZNSt6vectorIN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  resume { ptr, i32 } %.pn19
}

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

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #4

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9IcoSphere10_subdivideEv(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #0 align 2

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

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

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

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

!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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


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