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

%"class.__gnu_cxx::__normal_iterator.133" = type { ptr }
%class.anon.134 = type { 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 }

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #1

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN3vox10NodeEditor6Detail23FlowAnimationController11GetOrCreateEPNS1_4LinkE(ptr noundef nonnull align 8 dereferenceable(64) %0, ptr noundef %1) #5 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.133", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.133", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.133", align 8
  %9 = alloca %class.anon.134, align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.133", align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %16 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  %17 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::FlowAnimationController", ptr %16, i32 0, i32 1
  %18 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail13FlowAnimationESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  %19 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.133", ptr %7, i32 0, i32 0
  store ptr %18, ptr %19, align 8
  %20 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::FlowAnimationController", ptr %16, i32 0, i32 1
  %21 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail13FlowAnimationESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #7
  %22 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.133", ptr %8, i32 0, i32 0
  store ptr %21, ptr %22, align 8
  %23 = getelementptr inbounds %class.anon.134, ptr %9, i32 0, i32 0
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %24, ptr %23, align 8, !tbaa !9
  %25 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.133", ptr %7, i32 0, i32 0
  %26 = load ptr, ptr %25, align 8
  %27 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.133", ptr %8, i32 0, i32 0
  %28 = load ptr, ptr %27, align 8
  %29 = getelementptr inbounds %class.anon.134, ptr %9, i32 0, i32 0
  %30 = load ptr, ptr %29, align 8
  %31 = call ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPPN3vox10NodeEditor6Detail13FlowAnimationESt6vectorIS6_SaIS6_EEEEZNS4_23FlowAnimationController11GetOrCreateEPNS4_4LinkEE3$_0ET_SG_SG_T0_"(ptr %26, ptr %28, ptr %30)
  %32 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.133", ptr %6, i32 0, i32 0
  store ptr %31, ptr %32, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %33 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::FlowAnimationController", ptr %16, i32 0, i32 1
  %34 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail13FlowAnimationESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #7
  %35 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.133", ptr %10, i32 0, i32 0
  store ptr %34, ptr %35, align 8
  %36 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3vox10NodeEditor6Detail13FlowAnimationESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br i1 %36, label %37, label %40

37:                                               ; preds = %2
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN3vox10NodeEditor6Detail13FlowAnimationESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  %39 = load ptr, ptr %38, align 8, !tbaa !5
  store ptr %39, ptr %3, align 8
  store i32 1, ptr %11, align 4
  br label %41

40:                                               ; preds = %2
  store i32 0, ptr %11, align 4
  br label %41

41:                                               ; preds = %40, %37
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  %42 = load i32, ptr %11, align 4
  switch i32 %42, label %68 [
    i32 0, label %43
    i32 1, label %61
  ]

43:                                               ; preds = %41
  %44 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::FlowAnimationController", ptr %16, i32 0, i32 2
  %45 = call noundef zeroext i1 @_ZNKSt6vectorIPN3vox10NodeEditor6Detail13FlowAnimationESaIS4_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #7
  br i1 %45, label %52, label %46

46:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %47 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::FlowAnimationController", ptr %16, i32 0, i32 2
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail13FlowAnimationESaIS4_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %47) #7
  %49 = load ptr, ptr %48, align 8, !tbaa !5
  store ptr %49, ptr %12, align 8, !tbaa !5
  %50 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::FlowAnimationController", ptr %16, i32 0, i32 2
  call void @_ZNSt6vectorIPN3vox10NodeEditor6Detail13FlowAnimationESaIS4_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #7
  %51 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %51, ptr %3, align 8
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  br label %61

52:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %53 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 104) #8
  invoke void @_ZN3vox10NodeEditor6Detail13FlowAnimationC1EPNS1_23FlowAnimationControllerE(ptr noundef nonnull align 8 dereferenceable(104) %53, ptr noundef %16)
          to label %54 unwind label %57

54:                                               ; preds = %52
  store ptr %53, ptr %13, align 8, !tbaa !5
  %55 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::FlowAnimationController", ptr %16, i32 0, i32 1
  call void @_ZNSt6vectorIPN3vox10NodeEditor6Detail13FlowAnimationESaIS4_EE9push_backERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %55, ptr noundef nonnull align 8 dereferenceable(8) %13)
  %56 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %56, ptr %3, align 8
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %61

57:                                               ; preds = %52
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %14, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %15, align 4
  call void @_ZdlPvm(ptr noundef %53, i64 noundef 104) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %63

61:                                               ; preds = %54, %46, %41
  %62 = load ptr, ptr %3, align 8
  ret ptr %62

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

68:                                               ; preds = %41
  unreachable
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPPN3vox10NodeEditor6Detail13FlowAnimationESt6vectorIS6_SaIS6_EEEEZNS4_23FlowAnimationController11GetOrCreateEPNS4_4LinkEE3$_0ET_SG_SG_T0_"(ptr, ptr, ptr) #6

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

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

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

declare void @_ZN3vox10NodeEditor6Detail13FlowAnimationC1EPNS1_23FlowAnimationControllerE(ptr, ptr)

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.__gnu_cxx::__normal_iterator.133" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #1

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN3vox10NodeEditor6Detail23FlowAnimationController11GetOrCreateEPNS1_4LinkE(ptr noundef nonnull align 8 dereferenceable(64) %0, ptr noundef %1) local_unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.__gnu_cxx::__normal_iterator.133", align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator.133", align 8
  %5 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  %6 = getelementptr inbounds i8, ptr %0, i64 16
  %7 = tail call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail13FlowAnimationESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  %8 = tail call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail13FlowAnimationESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  %9 = tail call ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPPN3vox10NodeEditor6Detail13FlowAnimationESt6vectorIS6_SaIS6_EEEEZNS4_23FlowAnimationController11GetOrCreateEPNS4_4LinkEE3$_0ET_SG_SG_T0_"(ptr %7, ptr %8, ptr %1)
  store ptr %9, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %10 = tail call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail13FlowAnimationESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  store ptr %10, ptr %4, align 8
  %11 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3vox10NodeEditor6Detail13FlowAnimationESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  br i1 %11, label %12, label %15

12:                                               ; preds = %2
  %13 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN3vox10NodeEditor6Detail13FlowAnimationESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  %14 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  br label %27

15:                                               ; preds = %2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  %16 = getelementptr inbounds i8, ptr %0, i64 40
  %17 = call noundef zeroext i1 @_ZNKSt6vectorIPN3vox10NodeEditor6Detail13FlowAnimationESaIS4_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  br i1 %17, label %21, label %18

18:                                               ; preds = %15
  %19 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail13FlowAnimationESaIS4_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  %20 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZNSt6vectorIPN3vox10NodeEditor6Detail13FlowAnimationESaIS4_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  br label %27

21:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %22 = call noalias noundef nonnull dereferenceable(104) ptr @_Znwm(i64 noundef 104) #8
  invoke void @_ZN3vox10NodeEditor6Detail13FlowAnimationC1EPNS1_23FlowAnimationControllerE(ptr noundef nonnull align 8 dereferenceable(104) %22, ptr noundef nonnull %0)
          to label %23 unwind label %25

23:                                               ; preds = %21
  store ptr %22, ptr %5, align 8, !tbaa !5
  call void @_ZNSt6vectorIPN3vox10NodeEditor6Detail13FlowAnimationESaIS4_EE9push_backERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  br label %27

25:                                               ; preds = %21
  %26 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %22, i64 noundef 104) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  resume { ptr, i32 } %26

27:                                               ; preds = %12, %23, %18
  %.1 = phi ptr [ %14, %12 ], [ %24, %23 ], [ %20, %18 ]
  ret ptr %.1
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPPN3vox10NodeEditor6Detail13FlowAnimationESt6vectorIS6_SaIS6_EEEEZNS4_23FlowAnimationController11GetOrCreateEPNS4_4LinkEE3$_0ET_SG_SG_T0_"(ptr, ptr, ptr) local_unnamed_addr #6

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

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

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

declare void @_ZN3vox10NodeEditor6Detail13FlowAnimationC1EPNS1_23FlowAnimationControllerE(ptr, ptr) local_unnamed_addr

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass,TailCallElimPass