; LLVM IR from unitreerobotics/kinect_teleoperate :: src/sample_helper_libs/window_controller_3d (WindowController3d)

; 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.Visualization::WindowController3d" = type { i8, i32, i32, i8, %class.ViewControl, %class.ViewControl, %class.ViewControl, %class.ViewControl, %"struct.std::array", %"class.Visualization::PointCloudRenderer", %"class.Visualization::SkeletonRenderer", %"class.Visualization::FloorRenderer", double, float, i32, i32, i32, i32, float, float, ptr, i8, i8, i32, [2 x float], ptr, ptr, ptr, ptr, %"class.std::mutex" }
%class.ViewControl = type { %struct.ViewParameters, %struct.Viewport, i8, float, float, float }
%struct.ViewParameters = type { [3 x float], float, [3 x float], float, float, [3 x float], [3 x float], [3 x float] }
%struct.Viewport = type { i32, i32, i32, i32 }
%"struct.std::array" = type { [4 x ptr] }
%"class.Visualization::PointCloudRenderer" = type { %"class.Visualization::RendererBase.base", float, %"class.std::optional", i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %"class.std::mutex" }
%"class.Visualization::RendererBase.base" = type <{ ptr, i8, [3 x i8], [4 x [4 x float]], [4 x [4 x float]], [4 x i8], ptr, i32, i32, i32 }>
%"class.std::optional" = type { %"struct.std::_Optional_base" }
%"struct.std::_Optional_base" = type { %"struct.std::_Optional_payload" }
%"struct.std::_Optional_payload" = type { %"struct.std::_Optional_payload_base.base", [3 x i8] }
%"struct.std::_Optional_payload_base.base" = type <{ %"union.std::_Optional_payload_base<float>::_Storage", i8 }>
%"union.std::_Optional_payload_base<float>::_Storage" = type { float }
%"class.Visualization::SkeletonRenderer" = type { %"class.Visualization::RendererBase.base", i8, i8, float, float, float, float, %"class.Visualization::Sphere", %"class.Visualization::Cylinder", %"class.Visualization::CoordinateAxes", %"class.std::vector.10", %"class.std::vector.15" }
%"class.Visualization::Sphere" = type <{ %"class.Visualization::RendererBase.base", float, i32, i32, %"class.std::vector", %"class.std::vector.0", i32, i32, i32, i32, i32, i32, i32, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Visualization::MonoVertex, std::allocator<Visualization::MonoVertex>>::_Vector_impl" }
%"struct.std::_Vector_base<Visualization::MonoVertex, std::allocator<Visualization::MonoVertex>>::_Vector_impl" = type { %"struct.std::_Vector_base<Visualization::MonoVertex, std::allocator<Visualization::MonoVertex>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Visualization::MonoVertex, std::allocator<Visualization::MonoVertex>>::_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<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 }
%"class.Visualization::Cylinder" = type <{ %"class.Visualization::RendererBase.base", float, float, i32, %"class.std::vector", %"class.std::vector.0", i32, i32, i32, i32, i32, i32, i32, [4 x i8] }>
%"class.Visualization::CoordinateAxes" = type { %"class.Visualization::RendererBase.base", float, float, %"class.std::vector.5", %"class.std::vector.0", i32, i32, i32, i32, i32, i32 }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<Visualization::ColorVertex, std::allocator<Visualization::ColorVertex>>::_Vector_impl" }
%"struct.std::_Vector_base<Visualization::ColorVertex, std::allocator<Visualization::ColorVertex>>::_Vector_impl" = type { %"struct.std::_Vector_base<Visualization::ColorVertex, std::allocator<Visualization::ColorVertex>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Visualization::ColorVertex, std::allocator<Visualization::ColorVertex>>::_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<Visualization::Joint, std::allocator<Visualization::Joint>>::_Vector_impl" }
%"struct.std::_Vector_base<Visualization::Joint, std::allocator<Visualization::Joint>>::_Vector_impl" = type { %"struct.std::_Vector_base<Visualization::Joint, std::allocator<Visualization::Joint>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Visualization::Joint, std::allocator<Visualization::Joint>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<Visualization::Bone, std::allocator<Visualization::Bone>>::_Vector_impl" }
%"struct.std::_Vector_base<Visualization::Bone, std::allocator<Visualization::Bone>>::_Vector_impl" = type { %"struct.std::_Vector_base<Visualization::Bone, std::allocator<Visualization::Bone>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Visualization::Bone, std::allocator<Visualization::Bone>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.Visualization::FloorRenderer" = type <{ %"class.Visualization::RendererBase.base", [4 x [4 x float]], float, float, [4 x i8], %"class.std::vector", %"class.std::vector.0", i32, i32, i32, i32, i32, i32, i32, [4 x i8] }>
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13Visualization18WindowController3dC2Ev(ptr noundef nonnull align 8 dereferenceable(2184) %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
  %6 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 0
  store i8 0, ptr %6, align 8, !tbaa !9
  %7 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 1
  store i32 0, ptr %7, align 4, !tbaa !54
  %8 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 2
  store i32 0, ptr %8, align 8, !tbaa !55
  %9 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 3
  store i8 0, ptr %9, align 4, !tbaa !56
  %10 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 4
  call void @_ZN11ViewControlC1Ev(ptr noundef nonnull align 4 dereferenceable(104) %10)
  %11 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 5
  call void @_ZN11ViewControlC1Ev(ptr noundef nonnull align 4 dereferenceable(104) %11)
  %12 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 6
  call void @_ZN11ViewControlC1Ev(ptr noundef nonnull align 4 dereferenceable(104) %12)
  %13 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 7
  call void @_ZN11ViewControlC1Ev(ptr noundef nonnull align 4 dereferenceable(104) %13)
  %14 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 8
  %15 = getelementptr inbounds %"struct.std::array", ptr %14, i32 0, i32 0
  %16 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 4
  store ptr %16, ptr %15, align 8, !tbaa !5
  %17 = getelementptr inbounds ptr, ptr %15, i64 1
  %18 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 5
  store ptr %18, ptr %17, align 8, !tbaa !5
  %19 = getelementptr inbounds ptr, ptr %15, i64 2
  %20 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 6
  store ptr %20, ptr %19, align 8, !tbaa !5
  %21 = getelementptr inbounds ptr, ptr %15, i64 3
  %22 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 7
  store ptr %22, ptr %21, align 8, !tbaa !5
  %23 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 9
  call void @_ZN13Visualization18PointCloudRendererC1Ev(ptr noundef nonnull align 8 dereferenceable(272) %23)
  %24 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 10
  invoke void @_ZN13Visualization16SkeletonRendererC1Ev(ptr noundef nonnull align 8 dereferenceable(992) %24)
          to label %25 unwind label %49

25:                                               ; preds = %1
  %26 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 11
  invoke void @_ZN13Visualization13FloorRendererC1Eff(ptr noundef nonnull align 8 dereferenceable(316) %26, float noundef 3.000000e+00, float noundef 3.000000e+00)
          to label %27 unwind label %53

27:                                               ; preds = %25
  %28 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 12
  store double 0.000000e+00, ptr %28, align 8, !tbaa !57
  %29 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 13
  store float 0.000000e+00, ptr %29, align 8, !tbaa !58
  %30 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 18
  store float 0x3FE3333340000000, ptr %30, align 4, !tbaa !59
  %31 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 19
  store float 0x3FE3333340000000, ptr %31, align 8, !tbaa !60
  %32 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 20
  store ptr null, ptr %32, align 8, !tbaa !61
  %33 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 21
  store i8 0, ptr %33, align 8, !tbaa !62
  %34 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 22
  store i8 0, ptr %34, align 1, !tbaa !63
  %35 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 23
  store i32 0, ptr %35, align 4, !tbaa !64
  %36 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 24
  store float 0.000000e+00, ptr %36, align 4, !tbaa !65
  %37 = getelementptr inbounds float, ptr %36, i64 1
  store float 0.000000e+00, ptr %37, align 4, !tbaa !65
  %38 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 25
  store ptr null, ptr %38, align 8, !tbaa !66
  %39 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 26
  store ptr null, ptr %39, align 8, !tbaa !67
  %40 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 27
  store ptr null, ptr %40, align 8, !tbaa !68
  %41 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 28
  store ptr null, ptr %41, align 8, !tbaa !69
  %42 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 29
  call void @_ZNSt5mutexC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %42) #5
  %43 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 5
  invoke void @_ZN11ViewControl12SetViewPointE9ViewPoint(ptr noundef nonnull align 4 dereferenceable(104) %43, i32 noundef 2)
          to label %44 unwind label %57

44:                                               ; preds = %27
  %45 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 6
  invoke void @_ZN11ViewControl12SetViewPointE9ViewPoint(ptr noundef nonnull align 4 dereferenceable(104) %45, i32 noundef 1)
          to label %46 unwind label %57

46:                                               ; preds = %44
  %47 = getelementptr inbounds %"class.Visualization::WindowController3d", ptr %5, i32 0, i32 7
  invoke void @_ZN11ViewControl12SetViewPointE9ViewPoint(ptr noundef nonnull align 4 dereferenceable(104) %47, i32 noundef 4)
          to label %48 unwind label %57

48:                                               ; preds = %46
  ret void

49:                                               ; preds = %1
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %3, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %4, align 4
  br label %62

53:                                               ; preds = %25
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %3, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %4, align 4
  br label %61

57:                                               ; preds = %46, %44, %27
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %3, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %4, align 4
  call void @_ZN13Visualization13FloorRendererD2Ev(ptr noundef nonnull align 8 dereferenceable(316) %26) #5
  br label %61

61:                                               ; preds = %57, %53
  call void @_ZN13Visualization16SkeletonRendererD1Ev(ptr noundef nonnull align 8 dereferenceable(992) %24) #5
  br label %62

62:                                               ; preds = %61, %49
  call void @_ZN13Visualization18PointCloudRendererD1Ev(ptr noundef nonnull align 8 dereferenceable(272) %23) #5
  br label %63

63:                                               ; preds = %62
  %64 = load ptr, ptr %3, align 8
  %65 = load i32, ptr %4, align 4
  %66 = insertvalue { ptr, i32 } poison, ptr %64, 0
  %67 = insertvalue { ptr, i32 } %66, i32 %65, 1
  resume { ptr, i32 } %67
}

declare void @_ZN11ViewControlC1Ev(ptr noundef nonnull align 4 dereferenceable(104)) unnamed_addr #1

declare void @_ZN13Visualization18PointCloudRendererC1Ev(ptr noundef nonnull align 8 dereferenceable(272)) unnamed_addr #1

declare void @_ZN13Visualization16SkeletonRendererC1Ev(ptr noundef nonnull align 8 dereferenceable(992)) unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

declare void @_ZN13Visualization13FloorRendererC1Eff(ptr noundef nonnull align 8 dereferenceable(316), float noundef, float noundef) unnamed_addr #1

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

declare void @_ZN11ViewControl12SetViewPointE9ViewPoint(ptr noundef nonnull align 4 dereferenceable(104), i32 noundef) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN13Visualization13FloorRendererD2Ev(ptr noundef nonnull align 8 dereferenceable(316)) unnamed_addr #3 align 2

; Function Attrs: nounwind
declare void @_ZN13Visualization16SkeletonRendererD1Ev(ptr noundef nonnull align 8 dereferenceable(992)) unnamed_addr #4

; Function Attrs: nounwind
declare void @_ZN13Visualization18PointCloudRendererD1Ev(ptr noundef nonnull align 8 dereferenceable(272)) unnamed_addr #4

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 = { "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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !11, i64 0}
!10 = !{!"_ZTSN13Visualization18WindowController3dE", !11, i64 0, !12, i64 4, !13, i64 8, !11, i64 12, !14, i64 16, !14, i64 120, !14, i64 224, !14, i64 328, !19, i64 432, !20, i64 464, !28, i64 736, !52, i64 1728, !53, i64 2048, !16, i64 2056, !18, i64 2060, !18, i64 2064, !18, i64 2068, !18, i64 2072, !16, i64 2076, !16, i64 2080, !6, i64 2088, !11, i64 2096, !11, i64 2097, !18, i64 2100, !7, i64 2104, !6, i64 2112, !6, i64 2120, !6, i64 2128, !6, i64 2136, !26, i64 2144}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTSN13Visualization8Layout3dE", !7, i64 0}
!13 = !{!"_ZTSN13Visualization18SkeletonRenderModeE", !7, i64 0}
!14 = !{!"_ZTS11ViewControl", !15, i64 0, !17, i64 72, !11, i64 88, !16, i64 92, !16, i64 96, !16, i64 100}
!15 = !{!"_ZTS14ViewParameters", !7, i64 0, !16, i64 12, !7, i64 16, !16, i64 28, !16, i64 32, !7, i64 36, !7, i64 48, !7, i64 60}
!16 = !{!"float", !7, i64 0}
!17 = !{!"_ZTS8Viewport", !18, i64 0, !18, i64 4, !18, i64 8, !18, i64 12}
!18 = !{!"int", !7, i64 0}
!19 = !{!"_ZTSSt5arrayIP11ViewControlLm4EE", !7, i64 0}
!20 = !{!"_ZTSN13Visualization18PointCloudRendererE", !21, i64 0, !16, i64 164, !22, i64 168, !11, i64 176, !18, i64 180, !18, i64 184, !18, i64 188, !18, i64 192, !18, i64 196, !18, i64 200, !18, i64 204, !18, i64 208, !18, i64 212, !18, i64 216, !18, i64 220, !18, i64 224, !26, i64 232}
!21 = !{!"_ZTSN13Visualization12RendererBaseE", !11, i64 8, !7, i64 12, !7, i64 76, !6, i64 144, !18, i64 152, !18, i64 156, !18, i64 160}
!22 = !{!"_ZTSSt8optionalIfE", !23, i64 0}
!23 = !{!"_ZTSSt14_Optional_baseIfLb1ELb1EE", !24, i64 0}
!24 = !{!"_ZTSSt17_Optional_payloadIfLb1ELb1ELb1EE", !25, i64 0}
!25 = !{!"_ZTSSt22_Optional_payload_baseIfE", !7, i64 0, !11, i64 4}
!26 = !{!"_ZTSSt5mutex", !27, i64 0}
!27 = !{!"_ZTSSt12__mutex_base", !7, i64 0}
!28 = !{!"_ZTSN13Visualization16SkeletonRendererE", !21, i64 0, !11, i64 164, !11, i64 165, !16, i64 168, !16, i64 172, !16, i64 176, !16, i64 180, !29, i64 184, !38, i64 440, !39, i64 696, !44, i64 944, !48, i64 968}
!29 = !{!"_ZTSN13Visualization6SphereE", !21, i64 0, !16, i64 164, !18, i64 168, !18, i64 172, !30, i64 176, !34, i64 200, !18, i64 224, !18, i64 228, !18, i64 232, !18, i64 236, !18, i64 240, !18, i64 244, !18, i64 248}
!30 = !{!"_ZTSSt6vectorIN13Visualization10MonoVertexESaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIN13Visualization10MonoVertexESaIS1_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN13Visualization10MonoVertexESaIS1_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIN13Visualization10MonoVertexESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!34 = !{!"_ZTSSt6vectorIjSaIjEE", !35, i64 0}
!35 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!38 = !{!"_ZTSN13Visualization8CylinderE", !21, i64 0, !16, i64 164, !16, i64 168, !18, i64 172, !30, i64 176, !34, i64 200, !18, i64 224, !18, i64 228, !18, i64 232, !18, i64 236, !18, i64 240, !18, i64 244, !18, i64 248}
!39 = !{!"_ZTSN13Visualization14CoordinateAxesE", !21, i64 0, !16, i64 164, !16, i64 168, !40, i64 176, !34, i64 200, !18, i64 224, !18, i64 228, !18, i64 232, !18, i64 236, !18, i64 240, !18, i64 244}
!40 = !{!"_ZTSSt6vectorIN13Visualization11ColorVertexESaIS1_EE", !41, i64 0}
!41 = !{!"_ZTSSt12_Vector_baseIN13Visualization11ColorVertexESaIS1_EE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIN13Visualization11ColorVertexESaIS1_EE12_Vector_implE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIN13Visualization11ColorVertexESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!44 = !{!"_ZTSSt6vectorIN13Visualization5JointESaIS1_EE", !45, i64 0}
!45 = !{!"_ZTSSt12_Vector_baseIN13Visualization5JointESaIS1_EE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIN13Visualization5JointESaIS1_EE12_Vector_implE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIN13Visualization5JointESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!48 = !{!"_ZTSSt6vectorIN13Visualization4BoneESaIS1_EE", !49, i64 0}
!49 = !{!"_ZTSSt12_Vector_baseIN13Visualization4BoneESaIS1_EE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseIN13Visualization4BoneESaIS1_EE12_Vector_implE", !51, i64 0}
!51 = !{!"_ZTSNSt12_Vector_baseIN13Visualization4BoneESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!52 = !{!"_ZTSN13Visualization13FloorRendererE", !21, i64 0, !7, i64 164, !16, i64 228, !16, i64 232, !30, i64 240, !34, i64 264, !18, i64 288, !18, i64 292, !18, i64 296, !18, i64 300, !18, i64 304, !18, i64 308, !18, i64 312}
!53 = !{!"double", !7, i64 0}
!54 = !{!10, !12, i64 4}
!55 = !{!10, !13, i64 8}
!56 = !{!10, !11, i64 12}
!57 = !{!10, !53, i64 2048}
!58 = !{!10, !16, i64 2056}
!59 = !{!10, !16, i64 2076}
!60 = !{!10, !16, i64 2080}
!61 = !{!10, !6, i64 2088}
!62 = !{!10, !11, i64 2096}
!63 = !{!10, !11, i64 2097}
!64 = !{!10, !18, i64 2100}
!65 = !{!16, !16, i64 0}
!66 = !{!10, !6, i64 2112}
!67 = !{!10, !6, i64 2120}
!68 = !{!10, !6, i64 2128}
!69 = !{!10, !6, i64 2136}


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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13Visualization18WindowController3dC2Ev(ptr noundef nonnull align 8 dereferenceable(2184) %0) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  store i8 0, ptr %0, align 8, !tbaa !5
  %2 = getelementptr inbounds i8, ptr %0, i64 4
  %3 = getelementptr inbounds i8, ptr %0, i64 16
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(9) %2, i8 0, i64 9, i1 false)
  tail call void @_ZN11ViewControlC1Ev(ptr noundef nonnull align 4 dereferenceable(104) %3)
  %4 = getelementptr inbounds i8, ptr %0, i64 120
  tail call void @_ZN11ViewControlC1Ev(ptr noundef nonnull align 4 dereferenceable(104) %4)
  %5 = getelementptr inbounds i8, ptr %0, i64 224
  tail call void @_ZN11ViewControlC1Ev(ptr noundef nonnull align 4 dereferenceable(104) %5)
  %6 = getelementptr inbounds i8, ptr %0, i64 328
  tail call void @_ZN11ViewControlC1Ev(ptr noundef nonnull align 4 dereferenceable(104) %6)
  %7 = getelementptr inbounds i8, ptr %0, i64 432
  store ptr %3, ptr %7, align 8, !tbaa !53
  %8 = getelementptr inbounds i8, ptr %0, i64 440
  store ptr %4, ptr %8, align 8, !tbaa !53
  %9 = getelementptr inbounds i8, ptr %0, i64 448
  store ptr %5, ptr %9, align 8, !tbaa !53
  %10 = getelementptr inbounds i8, ptr %0, i64 456
  store ptr %6, ptr %10, align 8, !tbaa !53
  %11 = getelementptr inbounds i8, ptr %0, i64 464
  tail call void @_ZN13Visualization18PointCloudRendererC1Ev(ptr noundef nonnull align 8 dereferenceable(272) %11)
  %12 = getelementptr inbounds i8, ptr %0, i64 736
  invoke void @_ZN13Visualization16SkeletonRendererC1Ev(ptr noundef nonnull align 8 dereferenceable(992) %12)
          to label %13 unwind label %27

13:                                               ; preds = %1
  %14 = getelementptr inbounds i8, ptr %0, i64 1728
  invoke void @_ZN13Visualization13FloorRendererC1Eff(ptr noundef nonnull align 8 dereferenceable(316) %14, float noundef 3.000000e+00, float noundef 3.000000e+00)
          to label %15 unwind label %29

15:                                               ; preds = %13
  %16 = getelementptr inbounds i8, ptr %0, i64 2048
  store double 0.000000e+00, ptr %16, align 8, !tbaa !54
  %17 = getelementptr inbounds i8, ptr %0, i64 2056
  store float 0.000000e+00, ptr %17, align 8, !tbaa !55
  %18 = getelementptr inbounds i8, ptr %0, i64 2076
  store <2 x float> <float 0x3FE3333340000000, float 0x3FE3333340000000>, ptr %18, align 4, !tbaa !56
  %19 = getelementptr inbounds i8, ptr %0, i64 2088
  store ptr null, ptr %19, align 8, !tbaa !57
  %20 = getelementptr inbounds i8, ptr %0, i64 2096
  store i8 0, ptr %20, align 8, !tbaa !58
  %21 = getelementptr inbounds i8, ptr %0, i64 2097
  store i8 0, ptr %21, align 1, !tbaa !59
  %22 = getelementptr inbounds i8, ptr %0, i64 2100
  %23 = getelementptr inbounds i8, ptr %0, i64 2144
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(44) %22, i8 0, i64 44, i1 false)
  tail call void @_ZNSt5mutexC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %23) #6
  invoke void @_ZN11ViewControl12SetViewPointE9ViewPoint(ptr noundef nonnull align 4 dereferenceable(104) %4, i32 noundef 2)
          to label %24 unwind label %31

24:                                               ; preds = %15
  invoke void @_ZN11ViewControl12SetViewPointE9ViewPoint(ptr noundef nonnull align 4 dereferenceable(104) %5, i32 noundef 1)
          to label %25 unwind label %31

25:                                               ; preds = %24
  invoke void @_ZN11ViewControl12SetViewPointE9ViewPoint(ptr noundef nonnull align 4 dereferenceable(104) %6, i32 noundef 4)
          to label %26 unwind label %31

26:                                               ; preds = %25
  ret void

27:                                               ; preds = %1
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %34

29:                                               ; preds = %13
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %33

31:                                               ; preds = %25, %24, %15
  %32 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN13Visualization13FloorRendererD2Ev(ptr noundef nonnull align 8 dereferenceable(316) %14) #6
  br label %33

33:                                               ; preds = %31, %29
  %.pn = phi { ptr, i32 } [ %32, %31 ], [ %30, %29 ]
  tail call void @_ZN13Visualization16SkeletonRendererD1Ev(ptr noundef nonnull align 8 dereferenceable(992) %12) #6
  br label %34

34:                                               ; preds = %33, %27
  %.pn.pn = phi { ptr, i32 } [ %.pn, %33 ], [ %28, %27 ]
  tail call void @_ZN13Visualization18PointCloudRendererD1Ev(ptr noundef nonnull align 8 dereferenceable(272) %11) #6
  resume { ptr, i32 } %.pn.pn
}

declare void @_ZN11ViewControlC1Ev(ptr noundef nonnull align 4 dereferenceable(104)) unnamed_addr #1

declare void @_ZN13Visualization18PointCloudRendererC1Ev(ptr noundef nonnull align 8 dereferenceable(272)) unnamed_addr #1

declare void @_ZN13Visualization16SkeletonRendererC1Ev(ptr noundef nonnull align 8 dereferenceable(992)) unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

declare void @_ZN13Visualization13FloorRendererC1Eff(ptr noundef nonnull align 8 dereferenceable(316), float noundef, float noundef) unnamed_addr #1

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

declare void @_ZN11ViewControl12SetViewPointE9ViewPoint(ptr noundef nonnull align 4 dereferenceable(104), i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN13Visualization13FloorRendererD2Ev(ptr noundef nonnull align 8 dereferenceable(316)) unnamed_addr #3 align 2

; Function Attrs: nounwind
declare void @_ZN13Visualization16SkeletonRendererD1Ev(ptr noundef nonnull align 8 dereferenceable(992)) unnamed_addr #4

; Function Attrs: nounwind
declare void @_ZN13Visualization18PointCloudRendererD1Ev(ptr noundef nonnull align 8 dereferenceable(272)) unnamed_addr #4

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTSN13Visualization18WindowController3dE", !7, i64 0, !10, i64 4, !11, i64 8, !7, i64 12, !12, i64 16, !12, i64 120, !12, i64 224, !12, i64 328, !17, i64 432, !18, i64 464, !27, i64 736, !51, i64 1728, !52, i64 2048, !14, i64 2056, !16, i64 2060, !16, i64 2064, !16, i64 2068, !16, i64 2072, !14, i64 2076, !14, i64 2080, !20, i64 2088, !7, i64 2096, !7, i64 2097, !16, i64 2100, !8, i64 2104, !20, i64 2112, !20, i64 2120, !20, i64 2128, !20, i64 2136, !25, i64 2144}
!7 = !{!"bool", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN13Visualization8Layout3dE", !8, i64 0}
!11 = !{!"_ZTSN13Visualization18SkeletonRenderModeE", !8, i64 0}
!12 = !{!"_ZTS11ViewControl", !13, i64 0, !15, i64 72, !7, i64 88, !14, i64 92, !14, i64 96, !14, i64 100}
!13 = !{!"_ZTS14ViewParameters", !8, i64 0, !14, i64 12, !8, i64 16, !14, i64 28, !14, i64 32, !8, i64 36, !8, i64 48, !8, i64 60}
!14 = !{!"float", !8, i64 0}
!15 = !{!"_ZTS8Viewport", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!16 = !{!"int", !8, i64 0}
!17 = !{!"_ZTSSt5arrayIP11ViewControlLm4EE", !8, i64 0}
!18 = !{!"_ZTSN13Visualization18PointCloudRendererE", !19, i64 0, !14, i64 164, !21, i64 168, !7, i64 176, !16, i64 180, !16, i64 184, !16, i64 188, !16, i64 192, !16, i64 196, !16, i64 200, !16, i64 204, !16, i64 208, !16, i64 212, !16, i64 216, !16, i64 220, !16, i64 224, !25, i64 232}
!19 = !{!"_ZTSN13Visualization12RendererBaseE", !7, i64 8, !8, i64 12, !8, i64 76, !20, i64 144, !16, i64 152, !16, i64 156, !16, i64 160}
!20 = !{!"any pointer", !8, i64 0}
!21 = !{!"_ZTSSt8optionalIfE", !22, i64 0}
!22 = !{!"_ZTSSt14_Optional_baseIfLb1ELb1EE", !23, i64 0}
!23 = !{!"_ZTSSt17_Optional_payloadIfLb1ELb1ELb1EE", !24, i64 0}
!24 = !{!"_ZTSSt22_Optional_payload_baseIfE", !8, i64 0, !7, i64 4}
!25 = !{!"_ZTSSt5mutex", !26, i64 0}
!26 = !{!"_ZTSSt12__mutex_base", !8, i64 0}
!27 = !{!"_ZTSN13Visualization16SkeletonRendererE", !19, i64 0, !7, i64 164, !7, i64 165, !14, i64 168, !14, i64 172, !14, i64 176, !14, i64 180, !28, i64 184, !37, i64 440, !38, i64 696, !43, i64 944, !47, i64 968}
!28 = !{!"_ZTSN13Visualization6SphereE", !19, i64 0, !14, i64 164, !16, i64 168, !16, i64 172, !29, i64 176, !33, i64 200, !16, i64 224, !16, i64 228, !16, i64 232, !16, i64 236, !16, i64 240, !16, i64 244, !16, i64 248}
!29 = !{!"_ZTSSt6vectorIN13Visualization10MonoVertexESaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIN13Visualization10MonoVertexESaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIN13Visualization10MonoVertexESaIS1_EE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN13Visualization10MonoVertexESaIS1_EE17_Vector_impl_dataE", !20, i64 0, !20, i64 8, !20, i64 16}
!33 = !{!"_ZTSSt6vectorIjSaIjEE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !20, i64 0, !20, i64 8, !20, i64 16}
!37 = !{!"_ZTSN13Visualization8CylinderE", !19, i64 0, !14, i64 164, !14, i64 168, !16, i64 172, !29, i64 176, !33, i64 200, !16, i64 224, !16, i64 228, !16, i64 232, !16, i64 236, !16, i64 240, !16, i64 244, !16, i64 248}
!38 = !{!"_ZTSN13Visualization14CoordinateAxesE", !19, i64 0, !14, i64 164, !14, i64 168, !39, i64 176, !33, i64 200, !16, i64 224, !16, i64 228, !16, i64 232, !16, i64 236, !16, i64 240, !16, i64 244}
!39 = !{!"_ZTSSt6vectorIN13Visualization11ColorVertexESaIS1_EE", !40, i64 0}
!40 = !{!"_ZTSSt12_Vector_baseIN13Visualization11ColorVertexESaIS1_EE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIN13Visualization11ColorVertexESaIS1_EE12_Vector_implE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIN13Visualization11ColorVertexESaIS1_EE17_Vector_impl_dataE", !20, i64 0, !20, i64 8, !20, i64 16}
!43 = !{!"_ZTSSt6vectorIN13Visualization5JointESaIS1_EE", !44, i64 0}
!44 = !{!"_ZTSSt12_Vector_baseIN13Visualization5JointESaIS1_EE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseIN13Visualization5JointESaIS1_EE12_Vector_implE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIN13Visualization5JointESaIS1_EE17_Vector_impl_dataE", !20, i64 0, !20, i64 8, !20, i64 16}
!47 = !{!"_ZTSSt6vectorIN13Visualization4BoneESaIS1_EE", !48, i64 0}
!48 = !{!"_ZTSSt12_Vector_baseIN13Visualization4BoneESaIS1_EE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseIN13Visualization4BoneESaIS1_EE12_Vector_implE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseIN13Visualization4BoneESaIS1_EE17_Vector_impl_dataE", !20, i64 0, !20, i64 8, !20, i64 16}
!51 = !{!"_ZTSN13Visualization13FloorRendererE", !19, i64 0, !8, i64 164, !14, i64 228, !14, i64 232, !29, i64 240, !33, i64 264, !16, i64 288, !16, i64 292, !16, i64 296, !16, i64 300, !16, i64 304, !16, i64 308, !16, i64 312}
!52 = !{!"double", !8, i64 0}
!53 = !{!20, !20, i64 0}
!54 = !{!6, !52, i64 2048}
!55 = !{!6, !14, i64 2056}
!56 = !{!14, !14, i64 0}
!57 = !{!6, !20, i64 2088}
!58 = !{!6, !7, i64 2096}
!59 = !{!6, !7, i64 2097}


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