; LLVM IR from bldeng/AASolver :: AndersonOpt/external/OpenMesh/Core/Mesh/ArrayKernel.ll (ZN8OpenMesh11ArrayKernelC2Ev)

; 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.OpenMesh::ArrayKernel" = type { %"class.OpenMesh::BaseKernel", %"class.std::vector.0", %"class.std::vector.5", %"class.std::vector.10", %"struct.OpenMesh::VPropHandleT", %"struct.OpenMesh::HPropHandleT", %"struct.OpenMesh::EPropHandleT", %"struct.OpenMesh::FPropHandleT", i32, i32, i32, i32, %"class.std::vector.15", %"class.std::vector.15", %"class.std::vector.15", %"class.std::vector.15" }
%"class.OpenMesh::BaseKernel" = type { ptr, %"class.OpenMesh::PropertyContainer", %"class.OpenMesh::PropertyContainer", %"class.OpenMesh::PropertyContainer", %"class.OpenMesh::PropertyContainer", %"class.OpenMesh::PropertyContainer" }
%"class.OpenMesh::PropertyContainer" = type { ptr, %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<OpenMesh::BaseProperty *, std::allocator<OpenMesh::BaseProperty *>>::_Vector_impl" }
%"struct.std::_Vector_base<OpenMesh::BaseProperty *, std::allocator<OpenMesh::BaseProperty *>>::_Vector_impl" = type { %"struct.std::_Vector_base<OpenMesh::BaseProperty *, std::allocator<OpenMesh::BaseProperty *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<OpenMesh::BaseProperty *, std::allocator<OpenMesh::BaseProperty *>>::_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<OpenMesh::ArrayItems::Vertex, std::allocator<OpenMesh::ArrayItems::Vertex>>::_Vector_impl" }
%"struct.std::_Vector_base<OpenMesh::ArrayItems::Vertex, std::allocator<OpenMesh::ArrayItems::Vertex>>::_Vector_impl" = type { %"struct.std::_Vector_base<OpenMesh::ArrayItems::Vertex, std::allocator<OpenMesh::ArrayItems::Vertex>>::_Vector_impl_data" }
%"struct.std::_Vector_base<OpenMesh::ArrayItems::Vertex, std::allocator<OpenMesh::ArrayItems::Vertex>>::_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<OpenMesh::ArrayItems::Edge, std::allocator<OpenMesh::ArrayItems::Edge>>::_Vector_impl" }
%"struct.std::_Vector_base<OpenMesh::ArrayItems::Edge, std::allocator<OpenMesh::ArrayItems::Edge>>::_Vector_impl" = type { %"struct.std::_Vector_base<OpenMesh::ArrayItems::Edge, std::allocator<OpenMesh::ArrayItems::Edge>>::_Vector_impl_data" }
%"struct.std::_Vector_base<OpenMesh::ArrayItems::Edge, std::allocator<OpenMesh::ArrayItems::Edge>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<OpenMesh::ArrayItems::Face, std::allocator<OpenMesh::ArrayItems::Face>>::_Vector_impl" }
%"struct.std::_Vector_base<OpenMesh::ArrayItems::Face, std::allocator<OpenMesh::ArrayItems::Face>>::_Vector_impl" = type { %"struct.std::_Vector_base<OpenMesh::ArrayItems::Face, std::allocator<OpenMesh::ArrayItems::Face>>::_Vector_impl_data" }
%"struct.std::_Vector_base<OpenMesh::ArrayItems::Face, std::allocator<OpenMesh::ArrayItems::Face>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.OpenMesh::VPropHandleT" = type { %"struct.OpenMesh::BasePropHandleT" }
%"struct.OpenMesh::BasePropHandleT" = type { %"class.OpenMesh::BaseHandle" }
%"class.OpenMesh::BaseHandle" = type { i32 }
%"struct.OpenMesh::HPropHandleT" = type { %"struct.OpenMesh::BasePropHandleT" }
%"struct.OpenMesh::EPropHandleT" = type { %"struct.OpenMesh::BasePropHandleT" }
%"struct.OpenMesh::FPropHandleT" = type { %"struct.OpenMesh::BasePropHandleT" }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZTVN8OpenMesh11ArrayKernelE = external dso_local unnamed_addr constant { [8 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8OpenMesh11ArrayKernelC2Ev(ptr noundef nonnull align 8 dereferenceable(368) %0) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %5 = load ptr, ptr %2, align 8
  call void @_ZN8OpenMesh10BaseKernelC2Ev(ptr noundef nonnull align 8 dereferenceable(168) %5)
  store ptr getelementptr inbounds inrange(-16, 48) ({ [8 x ptr] }, ptr @_ZTVN8OpenMesh11ArrayKernelE, i32 0, i32 0, i32 2), ptr %5, align 8, !tbaa !9
  %6 = getelementptr inbounds %"class.OpenMesh::ArrayKernel", ptr %5, i32 0, i32 1
  call void @_ZNSt6vectorIN8OpenMesh10ArrayItems6VertexESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #2
  %7 = getelementptr inbounds %"class.OpenMesh::ArrayKernel", ptr %5, i32 0, i32 2
  call void @_ZNSt6vectorIN8OpenMesh10ArrayItems4EdgeESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #2
  %8 = getelementptr inbounds %"class.OpenMesh::ArrayKernel", ptr %5, i32 0, i32 3
  call void @_ZNSt6vectorIN8OpenMesh10ArrayItems4FaceESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #2
  %9 = getelementptr inbounds %"class.OpenMesh::ArrayKernel", ptr %5, i32 0, i32 4
  invoke void @_ZN8OpenMesh12VPropHandleTINS_10Attributes10StatusInfoEEC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %9, i32 noundef -1)
          to label %10 unwind label %26

10:                                               ; preds = %1
  %11 = getelementptr inbounds %"class.OpenMesh::ArrayKernel", ptr %5, i32 0, i32 5
  invoke void @_ZN8OpenMesh12HPropHandleTINS_10Attributes10StatusInfoEEC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %11, i32 noundef -1)
          to label %12 unwind label %26

12:                                               ; preds = %10
  %13 = getelementptr inbounds %"class.OpenMesh::ArrayKernel", ptr %5, i32 0, i32 6
  invoke void @_ZN8OpenMesh12EPropHandleTINS_10Attributes10StatusInfoEEC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %13, i32 noundef -1)
          to label %14 unwind label %26

14:                                               ; preds = %12
  %15 = getelementptr inbounds %"class.OpenMesh::ArrayKernel", ptr %5, i32 0, i32 7
  invoke void @_ZN8OpenMesh12FPropHandleTINS_10Attributes10StatusInfoEEC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %15, i32 noundef -1)
          to label %16 unwind label %26

16:                                               ; preds = %14
  %17 = getelementptr inbounds %"class.OpenMesh::ArrayKernel", ptr %5, i32 0, i32 8
  store i32 0, ptr %17, align 8, !tbaa !11
  %18 = getelementptr inbounds %"class.OpenMesh::ArrayKernel", ptr %5, i32 0, i32 9
  store i32 0, ptr %18, align 4, !tbaa !42
  %19 = getelementptr inbounds %"class.OpenMesh::ArrayKernel", ptr %5, i32 0, i32 10
  store i32 0, ptr %19, align 8, !tbaa !43
  %20 = getelementptr inbounds %"class.OpenMesh::ArrayKernel", ptr %5, i32 0, i32 11
  store i32 0, ptr %20, align 4, !tbaa !44
  %21 = getelementptr inbounds %"class.OpenMesh::ArrayKernel", ptr %5, i32 0, i32 12
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #2
  %22 = getelementptr inbounds %"class.OpenMesh::ArrayKernel", ptr %5, i32 0, i32 13
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #2
  %23 = getelementptr inbounds %"class.OpenMesh::ArrayKernel", ptr %5, i32 0, i32 14
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #2
  %24 = getelementptr inbounds %"class.OpenMesh::ArrayKernel", ptr %5, i32 0, i32 15
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #2
  invoke void @_ZN8OpenMesh11ArrayKernel14init_bit_masksEv(ptr noundef nonnull align 8 dereferenceable(368) %5)
          to label %25 unwind label %30

25:                                               ; preds = %16
  ret void

26:                                               ; preds = %14, %12, %10, %1
  %27 = landingpad { ptr, i32 }
          cleanup
  %28 = extractvalue { ptr, i32 } %27, 0
  store ptr %28, ptr %3, align 8
  %29 = extractvalue { ptr, i32 } %27, 1
  store i32 %29, ptr %4, align 4
  br label %34

30:                                               ; preds = %16
  %31 = landingpad { ptr, i32 }
          cleanup
  %32 = extractvalue { ptr, i32 } %31, 0
  store ptr %32, ptr %3, align 8
  %33 = extractvalue { ptr, i32 } %31, 1
  store i32 %33, ptr %4, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #2
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #2
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #2
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #2
  br label %34

34:                                               ; preds = %30, %26
  call void @_ZNSt6vectorIN8OpenMesh10ArrayItems4FaceESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #2
  call void @_ZNSt6vectorIN8OpenMesh10ArrayItems4EdgeESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #2
  call void @_ZNSt6vectorIN8OpenMesh10ArrayItems6VertexESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #2
  call void @_ZN8OpenMesh10BaseKernelD2Ev(ptr noundef nonnull align 8 dereferenceable(168) %5) #2
  br label %35

35:                                               ; preds = %34
  %36 = load ptr, ptr %3, align 8
  %37 = load i32, ptr %4, align 4
  %38 = insertvalue { ptr, i32 } poison, ptr %36, 0
  %39 = insertvalue { ptr, i32 } %38, i32 %37, 1
  resume { ptr, i32 } %39
}

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8OpenMesh10BaseKernelD2Ev(ptr noundef nonnull align 8 dereferenceable(168)) 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 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !34, i64 256}
!12 = !{!"_ZTSN8OpenMesh11ArrayKernelE", !13, i64 0, !19, i64 168, !23, i64 192, !27, i64 216, !31, i64 240, !35, i64 244, !36, i64 248, !37, i64 252, !34, i64 256, !34, i64 260, !34, i64 264, !34, i64 268, !38, i64 272, !38, i64 296, !38, i64 320, !38, i64 344}
!13 = !{!"_ZTSN8OpenMesh10BaseKernelE", !14, i64 8, !14, i64 40, !14, i64 72, !14, i64 104, !14, i64 136}
!14 = !{!"_ZTSN8OpenMesh17PropertyContainerE", !15, i64 8}
!15 = !{!"_ZTSSt6vectorIPN8OpenMesh12BasePropertyESaIS2_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIPN8OpenMesh12BasePropertyESaIS2_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIPN8OpenMesh12BasePropertyESaIS2_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIPN8OpenMesh12BasePropertyESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTSSt6vectorIN8OpenMesh10ArrayItems6VertexESaIS2_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIN8OpenMesh10ArrayItems6VertexESaIS2_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN8OpenMesh10ArrayItems6VertexESaIS2_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN8OpenMesh10ArrayItems6VertexESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTSSt6vectorIN8OpenMesh10ArrayItems4EdgeESaIS2_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIN8OpenMesh10ArrayItems4EdgeESaIS2_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN8OpenMesh10ArrayItems4EdgeESaIS2_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN8OpenMesh10ArrayItems4EdgeESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!27 = !{!"_ZTSSt6vectorIN8OpenMesh10ArrayItems4FaceESaIS2_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIN8OpenMesh10ArrayItems4FaceESaIS2_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN8OpenMesh10ArrayItems4FaceESaIS2_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN8OpenMesh10ArrayItems4FaceESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{!"_ZTSN8OpenMesh12VPropHandleTINS_10Attributes10StatusInfoEEE", !32, i64 0}
!32 = !{!"_ZTSN8OpenMesh15BasePropHandleTINS_10Attributes10StatusInfoEEE", !33, i64 0}
!33 = !{!"_ZTSN8OpenMesh10BaseHandleE", !34, i64 0}
!34 = !{!"int", !7, i64 0}
!35 = !{!"_ZTSN8OpenMesh12HPropHandleTINS_10Attributes10StatusInfoEEE", !32, i64 0}
!36 = !{!"_ZTSN8OpenMesh12EPropHandleTINS_10Attributes10StatusInfoEEE", !32, i64 0}
!37 = !{!"_ZTSN8OpenMesh12FPropHandleTINS_10Attributes10StatusInfoEEE", !32, i64 0}
!38 = !{!"_ZTSSt6vectorIjSaIjEE", !39, i64 0}
!39 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!42 = !{!12, !34, i64 260}
!43 = !{!12, !34, i64 264}
!44 = !{!12, !34, i64 268}


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

@_ZTVN8OpenMesh11ArrayKernelE = external dso_local unnamed_addr constant { [8 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8OpenMesh11ArrayKernelC2Ev(ptr noundef nonnull align 8 dereferenceable(368) %0) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  tail call void @_ZN8OpenMesh10BaseKernelC2Ev(ptr noundef nonnull align 8 dereferenceable(168) %0)
  store ptr getelementptr inbounds inrange(-16, 48) (i8, ptr @_ZTVN8OpenMesh11ArrayKernelE, i64 16), ptr %0, align 8, !tbaa !5
  %2 = getelementptr inbounds i8, ptr %0, i64 168
  tail call void @_ZNSt6vectorIN8OpenMesh10ArrayItems6VertexESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #3
  %3 = getelementptr inbounds i8, ptr %0, i64 192
  tail call void @_ZNSt6vectorIN8OpenMesh10ArrayItems4EdgeESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #3
  %4 = getelementptr inbounds i8, ptr %0, i64 216
  tail call void @_ZNSt6vectorIN8OpenMesh10ArrayItems4FaceESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #3
  %5 = getelementptr inbounds i8, ptr %0, i64 240
  invoke void @_ZN8OpenMesh12VPropHandleTINS_10Attributes10StatusInfoEEC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %5, i32 noundef -1)
          to label %6 unwind label %19

6:                                                ; preds = %1
  %7 = getelementptr inbounds i8, ptr %0, i64 244
  invoke void @_ZN8OpenMesh12HPropHandleTINS_10Attributes10StatusInfoEEC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %7, i32 noundef -1)
          to label %8 unwind label %19

8:                                                ; preds = %6
  %9 = getelementptr inbounds i8, ptr %0, i64 248
  invoke void @_ZN8OpenMesh12EPropHandleTINS_10Attributes10StatusInfoEEC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %9, i32 noundef -1)
          to label %10 unwind label %19

10:                                               ; preds = %8
  %11 = getelementptr inbounds i8, ptr %0, i64 252
  invoke void @_ZN8OpenMesh12FPropHandleTINS_10Attributes10StatusInfoEEC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %11, i32 noundef -1)
          to label %12 unwind label %19

12:                                               ; preds = %10
  %13 = getelementptr inbounds i8, ptr %0, i64 256
  %14 = getelementptr inbounds i8, ptr %0, i64 272
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %13, i8 0, i64 16, i1 false)
  tail call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #3
  %15 = getelementptr inbounds i8, ptr %0, i64 296
  tail call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #3
  %16 = getelementptr inbounds i8, ptr %0, i64 320
  tail call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #3
  %17 = getelementptr inbounds i8, ptr %0, i64 344
  tail call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #3
  invoke void @_ZN8OpenMesh11ArrayKernel14init_bit_masksEv(ptr noundef nonnull align 8 dereferenceable(368) %0)
          to label %18 unwind label %21

18:                                               ; preds = %12
  ret void

19:                                               ; preds = %10, %8, %6, %1
  %20 = landingpad { ptr, i32 }
          cleanup
  br label %23

21:                                               ; preds = %12
  %22 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #3
  tail call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #3
  tail call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #3
  tail call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #3
  br label %23

23:                                               ; preds = %21, %19
  %.pn = phi { ptr, i32 } [ %22, %21 ], [ %20, %19 ]
  tail call void @_ZNSt6vectorIN8OpenMesh10ArrayItems4FaceESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #3
  tail call void @_ZNSt6vectorIN8OpenMesh10ArrayItems4EdgeESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #3
  tail call void @_ZNSt6vectorIN8OpenMesh10ArrayItems6VertexESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #3
  tail call void @_ZN8OpenMesh10BaseKernelD2Ev(ptr noundef nonnull align 8 dereferenceable(168) %0) #3
  resume { ptr, i32 } %.pn
}

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}


; Effective O3 passes: GlobalOptPass,InstCombinePass,MemCpyOptPass,SROAPass,SimplifyCFGPass,TailCallElimPass