; LLVM IR from yangfengzzz/DigitalVox4 :: editor (imgui_node_editor)

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

%"struct.vox::NodeEditor::NodeId" = type { %"struct.vox::NodeEditor::Details::SafePointerType.6" }
%"struct.vox::NodeEditor::Details::SafePointerType.6" = type { %"struct.vox::NodeEditor::Details::SafeType.7" }
%"struct.vox::NodeEditor::Details::SafeType.7" = type { i64 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.vox::NodeEditor::Detail::ObjectWrapper" = type { %"struct.vox::NodeEditor::LinkId", ptr }
%"struct.vox::NodeEditor::LinkId" = type { %"struct.vox::NodeEditor::Details::SafePointerType.50" }
%"struct.vox::NodeEditor::Details::SafePointerType.50" = type { %"struct.vox::NodeEditor::Details::SafeType.51" }
%"struct.vox::NodeEditor::Details::SafeType.51" = type { i64 }
%"struct.vox::NodeEditor::Detail::EditorContext" = type { i8, i8, i8, %"struct.vox::NodeEditor::Detail::Style", %"class.std::vector.13", %"class.std::vector.18", %"class.std::vector.23", %"class.std::vector.28", %"class.std::vector.28", i64, ptr, %"class.std::vector.33", %"class.std::vector.33", %"struct.ImGuiEx::Canvas", i8, %"struct.vox::NodeEditor::Detail::NodeBuilder", %"struct.vox::NodeEditor::Detail::HintBuilder", ptr, %"struct.vox::NodeEditor::Detail::NavigateAction", %"struct.vox::NodeEditor::Detail::SizeAction", %"struct.vox::NodeEditor::Detail::DragAction", %"struct.vox::NodeEditor::Detail::SelectAction", %"struct.vox::NodeEditor::Detail::ContextMenuAction", %"struct.vox::NodeEditor::Detail::ShortcutAction", %"struct.vox::NodeEditor::Detail::CreateItemAction", %"struct.vox::NodeEditor::Detail::DeleteItemsAction", %"class.std::vector.40", %"struct.vox::NodeEditor::Detail::FlowAnimationController", %"struct.vox::NodeEditor::NodeId", %"struct.vox::NodeEditor::PinId", %"struct.vox::NodeEditor::LinkId", i8, i8, i8, [5 x i8], %"struct.vox::NodeEditor::Detail::Settings", %"struct.vox::NodeEditor::Detail::Config", i32, %struct.ImDrawListSplitter }
%"struct.vox::NodeEditor::Detail::Style" = type { %"struct.vox::NodeEditor::Style", %"class.std::vector", %"class.std::vector.8" }
%"struct.vox::NodeEditor::Style" = type { %struct.ImVec4, float, float, float, float, float, float, float, %struct.ImVec2, %struct.ImVec2, float, float, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, [18 x %struct.ImVec4] }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImVec2 = type { float, float }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::Style::ColorModifier, std::allocator<vox::NodeEditor::Detail::Style::ColorModifier>>::_Vector_impl" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::Style::ColorModifier, std::allocator<vox::NodeEditor::Detail::Style::ColorModifier>>::_Vector_impl" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::Style::ColorModifier, std::allocator<vox::NodeEditor::Detail::Style::ColorModifier>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::Style::ColorModifier, std::allocator<vox::NodeEditor::Detail::Style::ColorModifier>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::Style::VarModifier, std::allocator<vox::NodeEditor::Detail::Style::VarModifier>>::_Vector_impl" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::Style::VarModifier, std::allocator<vox::NodeEditor::Detail::Style::VarModifier>>::_Vector_impl" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::Style::VarModifier, std::allocator<vox::NodeEditor::Detail::Style::VarModifier>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::Style::VarModifier, std::allocator<vox::NodeEditor::Detail::Style::VarModifier>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::ObjectWrapper<vox::NodeEditor::Detail::Node>, std::allocator<vox::NodeEditor::Detail::ObjectWrapper<vox::NodeEditor::Detail::Node>>>::_Vector_impl" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::ObjectWrapper<vox::NodeEditor::Detail::Node>, std::allocator<vox::NodeEditor::Detail::ObjectWrapper<vox::NodeEditor::Detail::Node>>>::_Vector_impl" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::ObjectWrapper<vox::NodeEditor::Detail::Node>, std::allocator<vox::NodeEditor::Detail::ObjectWrapper<vox::NodeEditor::Detail::Node>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::ObjectWrapper<vox::NodeEditor::Detail::Node>, std::allocator<vox::NodeEditor::Detail::ObjectWrapper<vox::NodeEditor::Detail::Node>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::ObjectWrapper<vox::NodeEditor::Detail::Pin>, std::allocator<vox::NodeEditor::Detail::ObjectWrapper<vox::NodeEditor::Detail::Pin>>>::_Vector_impl" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::ObjectWrapper<vox::NodeEditor::Detail::Pin>, std::allocator<vox::NodeEditor::Detail::ObjectWrapper<vox::NodeEditor::Detail::Pin>>>::_Vector_impl" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::ObjectWrapper<vox::NodeEditor::Detail::Pin>, std::allocator<vox::NodeEditor::Detail::ObjectWrapper<vox::NodeEditor::Detail::Pin>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::ObjectWrapper<vox::NodeEditor::Detail::Pin>, std::allocator<vox::NodeEditor::Detail::ObjectWrapper<vox::NodeEditor::Detail::Pin>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::ObjectWrapper<vox::NodeEditor::Detail::Link>, std::allocator<vox::NodeEditor::Detail::ObjectWrapper<vox::NodeEditor::Detail::Link>>>::_Vector_impl" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::ObjectWrapper<vox::NodeEditor::Detail::Link>, std::allocator<vox::NodeEditor::Detail::ObjectWrapper<vox::NodeEditor::Detail::Link>>>::_Vector_impl" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::ObjectWrapper<vox::NodeEditor::Detail::Link>, std::allocator<vox::NodeEditor::Detail::ObjectWrapper<vox::NodeEditor::Detail::Link>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::ObjectWrapper<vox::NodeEditor::Detail::Link>, std::allocator<vox::NodeEditor::Detail::ObjectWrapper<vox::NodeEditor::Detail::Link>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::Object *, std::allocator<vox::NodeEditor::Detail::Object *>>::_Vector_impl" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::Object *, std::allocator<vox::NodeEditor::Detail::Object *>>::_Vector_impl" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::Object *, std::allocator<vox::NodeEditor::Detail::Object *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::Object *, std::allocator<vox::NodeEditor::Detail::Object *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::Animation *, std::allocator<vox::NodeEditor::Detail::Animation *>>::_Vector_impl" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::Animation *, std::allocator<vox::NodeEditor::Detail::Animation *>>::_Vector_impl" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::Animation *, std::allocator<vox::NodeEditor::Detail::Animation *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::Animation *, std::allocator<vox::NodeEditor::Detail::Animation *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.ImGuiEx::Canvas" = type <{ i8, [3 x i8], %struct.ImVec2, %struct.ImVec2, %struct.ImRect, [4 x i8], ptr, i32, i32, i32, %"struct.ImGuiEx::CanvasView", %struct.ImRect, %struct.ImVec2, i32, float, %struct.ImVec2, %struct.ImVec2, [5 x %struct.ImVec2], %struct.ImVec2, [4 x i8] }>
%"struct.ImGuiEx::CanvasView" = type { %struct.ImVec2, float, float }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%"struct.vox::NodeEditor::Detail::NodeBuilder" = type { ptr, ptr, ptr, %struct.ImRect, %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, %struct.ImRect, i8, %struct.ImDrawListSplitter, %struct.ImDrawListSplitter }
%"struct.vox::NodeEditor::Detail::HintBuilder" = type { ptr, i8, ptr, float, i32 }
%"struct.vox::NodeEditor::Detail::NavigateAction" = type <{ %"struct.vox::NodeEditor::Detail::EditorAction", i8, [3 x i8], float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, ptr, %struct.ImVec2, %struct.ImVec2, %"struct.vox::NodeEditor::Detail::NavigateAnimation", i32, [4 x i8], i64, ptr, i8, [3 x i8], %struct.ImVec2, [4 x i8] }>
%"struct.vox::NodeEditor::Detail::EditorAction" = type { ptr, ptr }
%"struct.vox::NodeEditor::Detail::NavigateAnimation" = type { %"struct.vox::NodeEditor::Detail::Animation.base", ptr, %struct.ImRect, %struct.ImRect }
%"struct.vox::NodeEditor::Detail::Animation.base" = type <{ ptr, ptr, i32, float, float }>
%"struct.vox::NodeEditor::Detail::SizeAction" = type { %"struct.vox::NodeEditor::Detail::EditorAction", i8, i8, ptr, %struct.ImRect, %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i32 }
%"struct.vox::NodeEditor::Detail::DragAction" = type { %"struct.vox::NodeEditor::Detail::EditorAction", i8, i8, ptr, %"class.std::vector.28" }
%"struct.vox::NodeEditor::Detail::SelectAction" = type { %"struct.vox::NodeEditor::Detail::EditorAction", i8, i8, i8, i8, %struct.ImVec2, %struct.ImVec2, %"class.std::vector.28", %"class.std::vector.28", %"struct.vox::NodeEditor::Detail::Animation" }
%"struct.vox::NodeEditor::Detail::Animation" = type <{ ptr, ptr, i32, float, float, [4 x i8] }>
%"struct.vox::NodeEditor::Detail::ContextMenuAction" = type { %"struct.vox::NodeEditor::Detail::EditorAction", i32, i32, %"struct.vox::NodeEditor::Detail::ObjectId" }
%"struct.vox::NodeEditor::Detail::ObjectId" = type <{ %"struct.vox::NodeEditor::Details::SafePointerType.38", i32, [4 x i8] }>
%"struct.vox::NodeEditor::Details::SafePointerType.38" = type { %"struct.vox::NodeEditor::Details::SafeType.39" }
%"struct.vox::NodeEditor::Details::SafeType.39" = type { i64 }
%"struct.vox::NodeEditor::Detail::ShortcutAction" = type { %"struct.vox::NodeEditor::Detail::EditorAction", i8, i8, i32, %"class.std::vector.28" }
%"struct.vox::NodeEditor::Detail::CreateItemAction" = type <{ %"struct.vox::NodeEditor::Detail::EditorAction", i8, [3 x i8], i32, i32, i32, i32, i32, float, [4 x i8], ptr, ptr, i8, [7 x i8], ptr, i32, i8, [3 x i8] }>
%"struct.vox::NodeEditor::Detail::DeleteItemsAction" = type <{ %"struct.vox::NodeEditor::Detail::EditorAction", i8, i8, [6 x i8], %"class.std::vector.28", i32, i32, %"class.std::vector.28", i32, [4 x i8] }>
%"class.std::vector.40" = type { %"struct.std::_Vector_base.41" }
%"struct.std::_Vector_base.41" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::AnimationController *, std::allocator<vox::NodeEditor::Detail::AnimationController *>>::_Vector_impl" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::AnimationController *, std::allocator<vox::NodeEditor::Detail::AnimationController *>>::_Vector_impl" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::AnimationController *, std::allocator<vox::NodeEditor::Detail::AnimationController *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::AnimationController *, std::allocator<vox::NodeEditor::Detail::AnimationController *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.vox::NodeEditor::Detail::FlowAnimationController" = type { %"struct.vox::NodeEditor::Detail::AnimationController", %"class.std::vector.45", %"class.std::vector.45" }
%"struct.vox::NodeEditor::Detail::AnimationController" = type { ptr, ptr }
%"class.std::vector.45" = type { %"struct.std::_Vector_base.46" }
%"struct.std::_Vector_base.46" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::FlowAnimation *, std::allocator<vox::NodeEditor::Detail::FlowAnimation *>>::_Vector_impl" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::FlowAnimation *, std::allocator<vox::NodeEditor::Detail::FlowAnimation *>>::_Vector_impl" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::FlowAnimation *, std::allocator<vox::NodeEditor::Detail::FlowAnimation *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::FlowAnimation *, std::allocator<vox::NodeEditor::Detail::FlowAnimation *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.vox::NodeEditor::PinId" = type { %"struct.vox::NodeEditor::Details::SafePointerType" }
%"struct.vox::NodeEditor::Details::SafePointerType" = type { %"struct.vox::NodeEditor::Details::SafeType" }
%"struct.vox::NodeEditor::Details::SafeType" = type { i64 }
%"struct.vox::NodeEditor::Detail::Settings" = type <{ i8, [3 x i8], i32, %"class.std::vector.52", %"class.std::vector.57", %struct.ImVec2, float, [4 x i8] }>
%"class.std::vector.52" = type { %"struct.std::_Vector_base.53" }
%"struct.std::_Vector_base.53" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::NodeSettings, std::allocator<vox::NodeEditor::Detail::NodeSettings>>::_Vector_impl" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::NodeSettings, std::allocator<vox::NodeEditor::Detail::NodeSettings>>::_Vector_impl" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::NodeSettings, std::allocator<vox::NodeEditor::Detail::NodeSettings>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::NodeSettings, std::allocator<vox::NodeEditor::Detail::NodeSettings>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.57" = type { %"struct.std::_Vector_base.58" }
%"struct.std::_Vector_base.58" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::ObjectId, std::allocator<vox::NodeEditor::Detail::ObjectId>>::_Vector_impl" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::ObjectId, std::allocator<vox::NodeEditor::Detail::ObjectId>>::_Vector_impl" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::ObjectId, std::allocator<vox::NodeEditor::Detail::ObjectId>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::ObjectId, std::allocator<vox::NodeEditor::Detail::ObjectId>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.vox::NodeEditor::Detail::Config" = type { %"struct.vox::NodeEditor::Config" }
%"struct.vox::NodeEditor::Config" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.5 }
%struct.ImVector.5 = type { i32, i32, ptr }
%"struct.vox::NodeEditor::Detail::Object" = type <{ ptr, ptr, i8, [7 x i8] }>
%"struct.vox::NodeEditor::Detail::Link" = type { %"struct.vox::NodeEditor::Detail::Object.base", %"struct.vox::NodeEditor::LinkId", ptr, ptr, i32, float, %struct.ImVec2, %struct.ImVec2 }
%"struct.vox::NodeEditor::Detail::Object.base" = type <{ ptr, ptr, i8 }>
%"struct.vox::NodeEditor::Detail::Pin" = type <{ %"struct.vox::NodeEditor::Detail::Object.base", [7 x i8], %"struct.vox::NodeEditor::PinId", i32, [4 x i8], ptr, %struct.ImRect, %struct.ImRect, ptr, i32, i32, float, float, i32, %struct.ImVec2, float, float, float, float, i8, i8, [2 x i8] }>
%"struct.vox::NodeEditor::Detail::Node" = type <{ %"struct.vox::NodeEditor::Detail::Object.base", [7 x i8], %"struct.vox::NodeEditor::NodeId", i32, %struct.ImRect, i32, ptr, %struct.ImVec2, i32, i32, float, float, i32, i32, float, float, %struct.ImRect, i8, i8, [6 x i8] }>

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPN3vox10NodeEditor6Detail13ObjectWrapperINS3_4LinkENS2_6LinkIdEEESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3vox10NodeEditor6Detail13EditorContext16FindLinksForNodeENS0_6NodeIdERSt6vectorIPNS1_4LinkESaIS6_EEb(ptr noundef nonnull align 8 dereferenceable(2040) %0, i64 %1, ptr noundef nonnull align 8 dereferenceable(24) %2, i1 noundef zeroext %3) #4 align 2 {
  %5 = alloca %"struct.vox::NodeEditor::NodeId", align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca ptr, align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca i32, align 4
  %13 = alloca %"struct.vox::NodeEditor::Detail::ObjectWrapper", align 8
  %14 = alloca ptr, align 8
  %15 = getelementptr inbounds %"struct.vox::NodeEditor::NodeId", ptr %5, i32 0, i32 0
  %16 = getelementptr inbounds %"struct.vox::NodeEditor::Details::SafePointerType.6", ptr %15, i32 0, i32 0
  %17 = getelementptr inbounds %"struct.vox::NodeEditor::Details::SafeType.7", ptr %16, i32 0, i32 0
  store i64 %1, ptr %17, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %18 = zext i1 %3 to i8
  store i8 %18, ptr %8, align 1, !tbaa !9
  %19 = load ptr, ptr %6, align 8
  %20 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %21 = trunc i8 %20 to i1
  br i1 %21, label %24, label %22

22:                                               ; preds = %4
  %23 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZNSt6vectorIPN3vox10NodeEditor6Detail4LinkESaIS4_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #5
  br label %24

24:                                               ; preds = %22, %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %25 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::EditorContext", ptr %19, i32 0, i32 6
  store ptr %25, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %26 = load ptr, ptr %9, align 8, !tbaa !5
  %27 = call ptr @_ZNSt6vectorIN3vox10NodeEditor6Detail13ObjectWrapperINS2_4LinkENS1_6LinkIdEEESaIS6_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #5
  %28 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %10, i32 0, i32 0
  store ptr %27, ptr %28, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %29 = load ptr, ptr %9, align 8, !tbaa !5
  %30 = call ptr @_ZNSt6vectorIN3vox10NodeEditor6Detail13ObjectWrapperINS2_4LinkENS1_6LinkIdEEESaIS6_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #5
  %31 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %11, i32 0, i32 0
  store ptr %30, ptr %31, align 8
  br label %32

32:                                               ; preds = %65, %24
  %33 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3vox10NodeEditor6Detail13ObjectWrapperINS3_4LinkENS2_6LinkIdEEESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  br i1 %33, label %35, label %34

34:                                               ; preds = %32
  store i32 2, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %67

35:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  %36 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3vox10NodeEditor6Detail13ObjectWrapperINS3_4LinkENS2_6LinkIdEEESt6vectorIS7_SaIS7_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %36, i64 16, i1 false)
  %37 = call noundef ptr @_ZN3vox10NodeEditor6Detail13ObjectWrapperINS1_4LinkENS0_6LinkIdEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
  %38 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Object", ptr %37, i32 0, i32 2
  %39 = load i8, ptr %38, align 8, !tbaa !13, !range !11, !noundef !12
  %40 = trunc i8 %39 to i1
  br i1 %40, label %42, label %41

41:                                               ; preds = %35
  store i32 3, ptr %12, align 4
  br label %62

42:                                               ; preds = %35
  %43 = call noundef ptr @_ZN3vox10NodeEditor6Detail13ObjectWrapperINS1_4LinkENS0_6LinkIdEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
  %44 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Link", ptr %43, i32 0, i32 2
  %45 = load ptr, ptr %44, align 8, !tbaa !15
  %46 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Pin", ptr %45, i32 0, i32 5
  %47 = load ptr, ptr %46, align 8, !tbaa !24
  %48 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %47, i32 0, i32 2
  %49 = call noundef zeroext i1 @_ZN3vox10NodeEditor7DetailseqINS0_6NodeIdEEEbRKNS1_15SafePointerTypeIT_EES8_(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 8 dereferenceable(8) %5)
  br i1 %49, label %58, label %50

50:                                               ; preds = %42
  %51 = call noundef ptr @_ZN3vox10NodeEditor6Detail13ObjectWrapperINS1_4LinkENS0_6LinkIdEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
  %52 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Link", ptr %51, i32 0, i32 3
  %53 = load ptr, ptr %52, align 8, !tbaa !31
  %54 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Pin", ptr %53, i32 0, i32 5
  %55 = load ptr, ptr %54, align 8, !tbaa !24
  %56 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %55, i32 0, i32 2
  %57 = call noundef zeroext i1 @_ZN3vox10NodeEditor7DetailseqINS0_6NodeIdEEEbRKNS1_15SafePointerTypeIT_EES8_(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef nonnull align 8 dereferenceable(8) %5)
  br i1 %57, label %58, label %61

58:                                               ; preds = %50, %42
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %60 = call noundef ptr @_ZN3vox10NodeEditor6Detail13ObjectWrapperINS1_4LinkENS0_6LinkIdEEcvPS3_Ev(ptr noundef nonnull align 8 dereferenceable(16) %13)
  store ptr %60, ptr %14, align 8, !tbaa !5
  call void @_ZNSt6vectorIPN3vox10NodeEditor6Detail4LinkESaIS4_EE9push_backEOS4_(ptr noundef nonnull align 8 dereferenceable(24) %59, ptr noundef nonnull align 8 dereferenceable(8) %14)
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  br label %61

61:                                               ; preds = %58, %50
  store i32 0, ptr %12, align 4
  br label %62

62:                                               ; preds = %61, %41
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  %63 = load i32, ptr %12, align 4
  switch i32 %63, label %68 [
    i32 0, label %64
    i32 3, label %65
  ]

64:                                               ; preds = %62
  br label %65

65:                                               ; preds = %64, %62
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3vox10NodeEditor6Detail13ObjectWrapperINS3_4LinkENS2_6LinkIdEEESt6vectorIS7_SaIS7_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  br label %32

67:                                               ; preds = %34
  ret void

68:                                               ; preds = %62
  unreachable
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN3vox10NodeEditor7DetailseqINS0_6NodeIdEEEbRKNS1_15SafePointerTypeIT_EES8_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !10, i64 16}
!14 = !{!"_ZTSN3vox10NodeEditor6Detail6ObjectE", !6, i64 8, !10, i64 16}
!15 = !{!16, !6, i64 32}
!16 = !{!"_ZTSN3vox10NodeEditor6Detail4LinkE", !14, i64 0, !17, i64 24, !6, i64 32, !6, i64 40, !21, i64 48, !22, i64 52, !23, i64 56, !23, i64 64}
!17 = !{!"_ZTSN3vox10NodeEditor6LinkIdE", !18, i64 0}
!18 = !{!"_ZTSN3vox10NodeEditor7Details15SafePointerTypeINS0_6LinkIdEEE", !19, i64 0}
!19 = !{!"_ZTSN3vox10NodeEditor7Details8SafeTypeImNS0_6LinkIdEEE", !20, i64 0}
!20 = !{!"long", !7, i64 0}
!21 = !{!"int", !7, i64 0}
!22 = !{!"float", !7, i64 0}
!23 = !{!"_ZTS6ImVec2", !22, i64 0, !22, i64 4}
!24 = !{!25, !6, i64 40}
!25 = !{!"_ZTSN3vox10NodeEditor6Detail3PinE", !14, i64 0, !26, i64 24, !29, i64 32, !6, i64 40, !30, i64 48, !30, i64 64, !6, i64 80, !21, i64 88, !21, i64 92, !22, i64 96, !22, i64 100, !21, i64 104, !23, i64 108, !22, i64 116, !22, i64 120, !22, i64 124, !22, i64 128, !10, i64 132, !10, i64 133}
!26 = !{!"_ZTSN3vox10NodeEditor5PinIdE", !27, i64 0}
!27 = !{!"_ZTSN3vox10NodeEditor7Details15SafePointerTypeINS0_5PinIdEEE", !28, i64 0}
!28 = !{!"_ZTSN3vox10NodeEditor7Details8SafeTypeImNS0_5PinIdEEE", !20, i64 0}
!29 = !{!"_ZTSN3vox10NodeEditor7PinKindE", !7, i64 0}
!30 = !{!"_ZTS6ImRect", !23, i64 0, !23, i64 8}
!31 = !{!16, !6, i64 40}


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

%"struct.vox::NodeEditor::NodeId" = type { %"struct.vox::NodeEditor::Details::SafePointerType.6" }
%"struct.vox::NodeEditor::Details::SafePointerType.6" = type { %"struct.vox::NodeEditor::Details::SafeType.7" }
%"struct.vox::NodeEditor::Details::SafeType.7" = type { i64 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.vox::NodeEditor::Detail::ObjectWrapper" = type { %"struct.vox::NodeEditor::LinkId", ptr }
%"struct.vox::NodeEditor::LinkId" = type { %"struct.vox::NodeEditor::Details::SafePointerType.50" }
%"struct.vox::NodeEditor::Details::SafePointerType.50" = type { %"struct.vox::NodeEditor::Details::SafeType.51" }
%"struct.vox::NodeEditor::Details::SafeType.51" = type { i64 }

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPN3vox10NodeEditor6Detail13ObjectWrapperINS3_4LinkENS2_6LinkIdEEESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3vox10NodeEditor6Detail13EditorContext16FindLinksForNodeENS0_6NodeIdERSt6vectorIPNS1_4LinkESaIS6_EEb(ptr noundef nonnull align 8 dereferenceable(2040) %0, i64 %1, ptr noundef nonnull align 8 dereferenceable(24) %2, i1 noundef zeroext %3) local_unnamed_addr #4 align 2 {
  %5 = alloca %"struct.vox::NodeEditor::NodeId", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"struct.vox::NodeEditor::Detail::ObjectWrapper", align 8
  %9 = alloca ptr, align 8
  store i64 %1, ptr %5, align 8
  br i1 %3, label %11, label %10

10:                                               ; preds = %4
  tail call void @_ZNSt6vectorIPN3vox10NodeEditor6Detail4LinkESaIS4_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  br label %11

11:                                               ; preds = %10, %4
  %12 = getelementptr inbounds i8, ptr %0, i64 520
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %13 = tail call ptr @_ZNSt6vectorIN3vox10NodeEditor6Detail13ObjectWrapperINS2_4LinkENS1_6LinkIdEEESaIS6_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  store ptr %13, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %14 = tail call ptr @_ZNSt6vectorIN3vox10NodeEditor6Detail13ObjectWrapperINS2_4LinkENS1_6LinkIdEEESaIS6_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  store ptr %14, ptr %7, align 8
  %15 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3vox10NodeEditor6Detail13ObjectWrapperINS3_4LinkENS2_6LinkIdEEESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  br i1 %15, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %39, %11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  ret void

.lr.ph:                                           ; preds = %11, %39
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #5
  %16 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3vox10NodeEditor6Detail13ObjectWrapperINS3_4LinkENS2_6LinkIdEEESt6vectorIS7_SaIS7_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %16, i64 16, i1 false)
  %17 = call noundef ptr @_ZN3vox10NodeEditor6Detail13ObjectWrapperINS1_4LinkENS0_6LinkIdEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
  %18 = getelementptr inbounds i8, ptr %17, i64 16
  %19 = load i8, ptr %18, align 8, !tbaa !5, !range !11, !noundef !12
  %20 = trunc nuw i8 %19 to i1
  br i1 %20, label %21, label %39

21:                                               ; preds = %.lr.ph
  %22 = call noundef ptr @_ZN3vox10NodeEditor6Detail13ObjectWrapperINS1_4LinkENS0_6LinkIdEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
  %23 = getelementptr inbounds i8, ptr %22, i64 32
  %24 = load ptr, ptr %23, align 8, !tbaa !13
  %25 = getelementptr inbounds i8, ptr %24, i64 40
  %26 = load ptr, ptr %25, align 8, !tbaa !22
  %27 = getelementptr inbounds i8, ptr %26, i64 24
  %28 = call noundef zeroext i1 @_ZN3vox10NodeEditor7DetailseqINS0_6NodeIdEEEbRKNS1_15SafePointerTypeIT_EES8_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %5)
  br i1 %28, label %37, label %29

29:                                               ; preds = %21
  %30 = call noundef ptr @_ZN3vox10NodeEditor6Detail13ObjectWrapperINS1_4LinkENS0_6LinkIdEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
  %31 = getelementptr inbounds i8, ptr %30, i64 40
  %32 = load ptr, ptr %31, align 8, !tbaa !29
  %33 = getelementptr inbounds i8, ptr %32, i64 40
  %34 = load ptr, ptr %33, align 8, !tbaa !22
  %35 = getelementptr inbounds i8, ptr %34, i64 24
  %36 = call noundef zeroext i1 @_ZN3vox10NodeEditor7DetailseqINS0_6NodeIdEEEbRKNS1_15SafePointerTypeIT_EES8_(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %5)
  br i1 %36, label %37, label %39

37:                                               ; preds = %29, %21
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %38 = call noundef ptr @_ZN3vox10NodeEditor6Detail13ObjectWrapperINS1_4LinkENS0_6LinkIdEEcvPS3_Ev(ptr noundef nonnull align 8 dereferenceable(16) %8)
  store ptr %38, ptr %9, align 8, !tbaa !30
  call void @_ZNSt6vectorIPN3vox10NodeEditor6Detail4LinkESaIS4_EE9push_backEOS4_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(8) %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  br label %39

39:                                               ; preds = %29, %37, %.lr.ph
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  %40 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3vox10NodeEditor6Detail13ObjectWrapperINS3_4LinkENS2_6LinkIdEEESt6vectorIS7_SaIS7_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  %41 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3vox10NodeEditor6Detail13ObjectWrapperINS3_4LinkENS2_6LinkIdEEESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  br i1 %41, label %.lr.ph, label %._crit_edge
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN3vox10NodeEditor7DetailseqINS0_6NodeIdEEEbRKNS1_15SafePointerTypeIT_EES8_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !10, i64 16}
!6 = !{!"_ZTSN3vox10NodeEditor6Detail6ObjectE", !7, i64 8, !10, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !7, i64 32}
!14 = !{!"_ZTSN3vox10NodeEditor6Detail4LinkE", !6, i64 0, !15, i64 24, !7, i64 32, !7, i64 40, !19, i64 48, !20, i64 52, !21, i64 56, !21, i64 64}
!15 = !{!"_ZTSN3vox10NodeEditor6LinkIdE", !16, i64 0}
!16 = !{!"_ZTSN3vox10NodeEditor7Details15SafePointerTypeINS0_6LinkIdEEE", !17, i64 0}
!17 = !{!"_ZTSN3vox10NodeEditor7Details8SafeTypeImNS0_6LinkIdEEE", !18, i64 0}
!18 = !{!"long", !8, i64 0}
!19 = !{!"int", !8, i64 0}
!20 = !{!"float", !8, i64 0}
!21 = !{!"_ZTS6ImVec2", !20, i64 0, !20, i64 4}
!22 = !{!23, !7, i64 40}
!23 = !{!"_ZTSN3vox10NodeEditor6Detail3PinE", !6, i64 0, !24, i64 24, !27, i64 32, !7, i64 40, !28, i64 48, !28, i64 64, !7, i64 80, !19, i64 88, !19, i64 92, !20, i64 96, !20, i64 100, !19, i64 104, !21, i64 108, !20, i64 116, !20, i64 120, !20, i64 124, !20, i64 128, !10, i64 132, !10, i64 133}
!24 = !{!"_ZTSN3vox10NodeEditor5PinIdE", !25, i64 0}
!25 = !{!"_ZTSN3vox10NodeEditor7Details15SafePointerTypeINS0_5PinIdEEE", !26, i64 0}
!26 = !{!"_ZTSN3vox10NodeEditor7Details8SafeTypeImNS0_5PinIdEEE", !18, i64 0}
!27 = !{!"_ZTSN3vox10NodeEditor7PinKindE", !8, i64 0}
!28 = !{!"_ZTS6ImRect", !21, i64 0, !21, i64 8}
!29 = !{!14, !7, i64 40}
!30 = !{!7, !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass