; LLVM IR from erwincoumans/tiny-differentiable-simulator :: third_party/dear_imgui/imnodes.ll (ZN7imnodes13IsLinkDroppedEPib)

; 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.anon = type <{ ptr, ptr, ptr, %struct.ImGuiStorage, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVec2, %struct.ImRect, i32, [4 x i8], %"struct.imnodes::IO", %"struct.imnodes::Style", %struct.ImVector.1, %struct.ImVector.2, %struct.ImGuiTextBuffer, i32, [4 x i8], %struct.ImVector.0, i32, i32, i32, %"struct.imnodes::(anonymous namespace)::OptionalIndex", %"struct.imnodes::(anonymous namespace)::OptionalIndex", %"struct.imnodes::(anonymous namespace)::OptionalIndex", i32, %"struct.imnodes::(anonymous namespace)::OptionalIndex", %"struct.imnodes::(anonymous namespace)::OptionalIndex", i32, i32, i8, [3 x i8], %struct.ImVec2, i8, i8, i8, i8, i8, [3 x i8] }>
%struct.ImGuiStorage = type { %struct.ImVector }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%"struct.imnodes::IO" = type { %"struct.imnodes::IO::EmulateThreeButtonMouse", %"struct.imnodes::IO::LinkDetachWithModifierClick" }
%"struct.imnodes::IO::EmulateThreeButtonMouse" = type { i8, ptr }
%"struct.imnodes::IO::LinkDetachWithModifierClick" = type { ptr }
%"struct.imnodes::Style" = type { float, float, float, float, float, float, float, float, float, float, float, float, float, i32, [16 x i32] }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.3 }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVector.0 = type { i32, i32, ptr }
%"struct.imnodes::(anonymous namespace)::OptionalIndex" = type { i32 }
%struct.ImVec2 = type { float, float }
%"struct.imnodes::EditorContext" = type { %"struct.imnodes::(anonymous namespace)::ObjectPool", %"struct.imnodes::(anonymous namespace)::ObjectPool.6", %"struct.imnodes::(anonymous namespace)::ObjectPool.8", %struct.ImVector.0, %struct.ImVec2, %struct.ImVector.0, %struct.ImVector.0, i32, %"struct.imnodes::(anonymous namespace)::ClickInteractionState" }
%"struct.imnodes::(anonymous namespace)::ObjectPool" = type { %struct.ImVector.4, %struct.ImVector.5, %struct.ImVector.0, %struct.ImGuiStorage }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.5 = type { i32, i32, ptr }
%"struct.imnodes::(anonymous namespace)::ObjectPool.6" = type { %struct.ImVector.7, %struct.ImVector.5, %struct.ImVector.0, %struct.ImGuiStorage }
%struct.ImVector.7 = type { i32, i32, ptr }
%"struct.imnodes::(anonymous namespace)::ObjectPool.8" = type { %struct.ImVector.9, %struct.ImVector.5, %struct.ImVector.0, %struct.ImGuiStorage }
%struct.ImVector.9 = type { i32, i32, ptr }
%"struct.imnodes::(anonymous namespace)::ClickInteractionState" = type { %struct.anon.10, %struct.anon.11 }
%struct.anon.10 = type { i32, %"struct.imnodes::(anonymous namespace)::OptionalIndex", i32 }
%struct.anon.11 = type { %struct.ImRect }
%"struct.imnodes::(anonymous namespace)::PinData" = type { i32, i32, %struct.ImRect, i32, i32, %struct.ImVec2, i32, %struct.anon.15 }
%struct.anon.15 = type { i32, i32 }

@_ZN7imnodes12_GLOBAL__N_11gE = external hidden global %struct.anon, align 8
@.str.1 = external hidden unnamed_addr constant [111 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [30 x i8], align 1
@__PRETTY_FUNCTION__._ZN7imnodes13IsLinkDroppedEPib = external hidden unnamed_addr constant [52 x i8], align 1

; 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: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(280) ptr @_ZN7imnodes12_GLOBAL__N_118editor_context_getEv() #1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef nonnull align 4 dereferenceable(52) ptr @_ZNK8ImVectorIN7imnodes12_GLOBAL__N_17PinDataEEixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7imnodes13IsLinkDroppedEPib(ptr noundef %0, i1 noundef zeroext %1) #4 {
  %3 = alloca ptr, align 8
  %4 = alloca i8, align 1
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  %8 = zext i1 %1 to i8
  store i8 %8, ptr %4, align 1, !tbaa !9
  %9 = load i32, ptr getelementptr inbounds (%struct.anon, ptr @_ZN7imnodes12_GLOBAL__N_11gE, i32 0, i32 8), align 8, !tbaa !11
  %10 = icmp eq i32 %9, 1
  br i1 %10, label %11, label %12

11:                                               ; preds = %2
  br label %14

12:                                               ; preds = %2
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 2535, ptr noundef @__PRETTY_FUNCTION__._ZN7imnodes13IsLinkDroppedEPib) #5
  unreachable

13:                                               ; No predecessors!
  br label %14

14:                                               ; preds = %13, %11
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %15 = call noundef nonnull align 8 dereferenceable(280) ptr @_ZN7imnodes12_GLOBAL__N_118editor_context_getEv()
  store ptr %15, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #6
  %16 = load i32, ptr getelementptr inbounds (%struct.anon, ptr @_ZN7imnodes12_GLOBAL__N_11gE, i32 0, i32 27), align 4, !tbaa !30
  %17 = and i32 %16, 2
  %18 = icmp ne i32 %17, 0
  br i1 %18, label %19, label %31

19:                                               ; preds = %14
  %20 = load i8, ptr %4, align 1, !tbaa !9, !range !31, !noundef !32
  %21 = trunc i8 %20 to i1
  br i1 %21, label %29, label %22

22:                                               ; preds = %19
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = getelementptr inbounds %"struct.imnodes::EditorContext", ptr %23, i32 0, i32 8
  %25 = getelementptr inbounds %"struct.imnodes::(anonymous namespace)::ClickInteractionState", ptr %24, i32 0, i32 0
  %26 = getelementptr inbounds %struct.anon.10, ptr %25, i32 0, i32 2
  %27 = load i32, ptr %26, align 4, !tbaa !33
  %28 = icmp ne i32 %27, 1
  br label %29

29:                                               ; preds = %22, %19
  %30 = phi i1 [ true, %19 ], [ %28, %22 ]
  br label %31

31:                                               ; preds = %29, %14
  %32 = phi i1 [ false, %14 ], [ %30, %29 ]
  %33 = zext i1 %32 to i8
  store i8 %33, ptr %6, align 1, !tbaa !9
  %34 = load i8, ptr %6, align 1, !tbaa !9, !range !31, !noundef !32
  %35 = trunc i8 %34 to i1
  br i1 %35, label %36, label %53

36:                                               ; preds = %31
  %37 = load ptr, ptr %3, align 8, !tbaa !5
  %38 = icmp ne ptr %37, null
  br i1 %38, label %39, label %53

39:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = getelementptr inbounds %"struct.imnodes::EditorContext", ptr %40, i32 0, i32 8
  %42 = getelementptr inbounds %"struct.imnodes::(anonymous namespace)::ClickInteractionState", ptr %41, i32 0, i32 0
  %43 = getelementptr inbounds %struct.anon.10, ptr %42, i32 0, i32 0
  %44 = load i32, ptr %43, align 4, !tbaa !45
  store i32 %44, ptr %7, align 4, !tbaa !46
  %45 = load ptr, ptr %5, align 8, !tbaa !5
  %46 = getelementptr inbounds %"struct.imnodes::EditorContext", ptr %45, i32 0, i32 1
  %47 = getelementptr inbounds %"struct.imnodes::(anonymous namespace)::ObjectPool.6", ptr %46, i32 0, i32 0
  %48 = load i32, ptr %7, align 4, !tbaa !46
  %49 = call noundef nonnull align 4 dereferenceable(52) ptr @_ZNK8ImVectorIN7imnodes12_GLOBAL__N_17PinDataEEixEi(ptr noundef nonnull align 8 dereferenceable(16) %47, i32 noundef %48)
  %50 = getelementptr inbounds %"struct.imnodes::(anonymous namespace)::PinData", ptr %49, i32 0, i32 0
  %51 = load i32, ptr %50, align 4, !tbaa !47
  %52 = load ptr, ptr %3, align 8, !tbaa !5
  store i32 %51, ptr %52, align 4, !tbaa !46
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %53

53:                                               ; preds = %39, %36, %31
  %54 = load i8, ptr %6, align 1, !tbaa !9, !range !31, !noundef !32
  %55 = trunc i8 %54 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  ret i1 %55
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn 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 #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 = { noreturn nounwind }
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, !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 = !{!12, !7, i64 96}
!12 = !{!"_ZTSN7imnodes12_GLOBAL__N_13$_0E", !6, i64 0, !6, i64 8, !6, i64 16, !13, i64 24, !16, i64 40, !16, i64 56, !17, i64 72, !19, i64 80, !7, i64 96, !20, i64 104, !23, i64 128, !25, i64 248, !26, i64 264, !27, i64 280, !15, i64 296, !16, i64 304, !15, i64 320, !15, i64 324, !15, i64 328, !29, i64 332, !29, i64 336, !29, i64 340, !15, i64 344, !29, i64 348, !29, i64 352, !15, i64 356, !15, i64 360, !10, i64 364, !17, i64 368, !10, i64 376, !10, i64 377, !10, i64 378, !10, i64 379, !10, i64 380}
!13 = !{!"_ZTS12ImGuiStorage", !14, i64 0}
!14 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !15, i64 0, !15, i64 4, !6, i64 8}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_ZTS8ImVectorIiE", !15, i64 0, !15, i64 4, !6, i64 8}
!17 = !{!"_ZTS6ImVec2", !18, i64 0, !18, i64 4}
!18 = !{!"float", !7, i64 0}
!19 = !{!"_ZTS6ImRect", !17, i64 0, !17, i64 8}
!20 = !{!"_ZTSN7imnodes2IOE", !21, i64 0, !22, i64 16}
!21 = !{!"_ZTSN7imnodes2IO23EmulateThreeButtonMouseE", !10, i64 0, !6, i64 8}
!22 = !{!"_ZTSN7imnodes2IO27LinkDetachWithModifierClickE", !6, i64 0}
!23 = !{!"_ZTSN7imnodes5StyleE", !18, i64 0, !18, i64 4, !18, i64 8, !18, i64 12, !18, i64 16, !18, i64 20, !18, i64 24, !18, i64 28, !18, i64 32, !18, i64 36, !18, i64 40, !18, i64 44, !18, i64 48, !24, i64 52, !7, i64 56}
!24 = !{!"_ZTSN7imnodes10StyleFlagsE", !7, i64 0}
!25 = !{!"_ZTS8ImVectorIN7imnodes12_GLOBAL__N_117ColorStyleElementEE", !15, i64 0, !15, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorIN7imnodes12_GLOBAL__N_112StyleElementEE", !15, i64 0, !15, i64 4, !6, i64 8}
!27 = !{!"_ZTS15ImGuiTextBuffer", !28, i64 0}
!28 = !{!"_ZTS8ImVectorIcE", !15, i64 0, !15, i64 4, !6, i64 8}
!29 = !{!"_ZTSN7imnodes12_GLOBAL__N_113OptionalIndexE", !15, i64 0}
!30 = !{!12, !15, i64 356}
!31 = !{i8 0, i8 2}
!32 = !{}
!33 = !{!34, !7, i64 260}
!34 = !{!"_ZTSN7imnodes13EditorContextE", !35, i64 0, !38, i64 64, !40, i64 128, !16, i64 192, !17, i64 208, !16, i64 216, !16, i64 232, !7, i64 248, !42, i64 252}
!35 = !{!"_ZTSN7imnodes12_GLOBAL__N_110ObjectPoolINS0_8NodeDataEEE", !36, i64 0, !37, i64 16, !16, i64 32, !13, i64 48}
!36 = !{!"_ZTS8ImVectorIN7imnodes12_GLOBAL__N_18NodeDataEE", !15, i64 0, !15, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorIbE", !15, i64 0, !15, i64 4, !6, i64 8}
!38 = !{!"_ZTSN7imnodes12_GLOBAL__N_110ObjectPoolINS0_7PinDataEEE", !39, i64 0, !37, i64 16, !16, i64 32, !13, i64 48}
!39 = !{!"_ZTS8ImVectorIN7imnodes12_GLOBAL__N_17PinDataEE", !15, i64 0, !15, i64 4, !6, i64 8}
!40 = !{!"_ZTSN7imnodes12_GLOBAL__N_110ObjectPoolINS0_8LinkDataEEE", !41, i64 0, !37, i64 16, !16, i64 32, !13, i64 48}
!41 = !{!"_ZTS8ImVectorIN7imnodes12_GLOBAL__N_18LinkDataEE", !15, i64 0, !15, i64 4, !6, i64 8}
!42 = !{!"_ZTSN7imnodes12_GLOBAL__N_121ClickInteractionStateE", !43, i64 0, !44, i64 12}
!43 = !{!"_ZTSN7imnodes12_GLOBAL__N_121ClickInteractionState3$_1E", !15, i64 0, !29, i64 4, !7, i64 8}
!44 = !{!"_ZTSN7imnodes12_GLOBAL__N_121ClickInteractionState3$_2E", !19, i64 0}
!45 = !{!34, !15, i64 252}
!46 = !{!15, !15, i64 0}
!47 = !{!48, !15, i64 0}
!48 = !{!"_ZTSN7imnodes12_GLOBAL__N_17PinDataE", !15, i64 0, !15, i64 4, !19, i64 8, !7, i64 24, !49, i64 28, !17, i64 32, !15, i64 40, !50, i64 44}
!49 = !{!"_ZTSN7imnodes8PinShapeE", !7, i64 0}
!50 = !{!"_ZTSN7imnodes12_GLOBAL__N_17PinData3$_5E", !15, i64 0, !15, i64 4}


; 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.anon = type <{ ptr, ptr, ptr, %struct.ImGuiStorage, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVec2, %struct.ImRect, i32, [4 x i8], %"struct.imnodes::IO", %"struct.imnodes::Style", %struct.ImVector.1, %struct.ImVector.2, %struct.ImGuiTextBuffer, i32, [4 x i8], %struct.ImVector.0, i32, i32, i32, %"struct.imnodes::(anonymous namespace)::OptionalIndex", %"struct.imnodes::(anonymous namespace)::OptionalIndex", %"struct.imnodes::(anonymous namespace)::OptionalIndex", i32, %"struct.imnodes::(anonymous namespace)::OptionalIndex", %"struct.imnodes::(anonymous namespace)::OptionalIndex", i32, i32, i8, [3 x i8], %struct.ImVec2, i8, i8, i8, i8, i8, [3 x i8] }>
%struct.ImGuiStorage = type { %struct.ImVector }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%"struct.imnodes::IO" = type { %"struct.imnodes::IO::EmulateThreeButtonMouse", %"struct.imnodes::IO::LinkDetachWithModifierClick" }
%"struct.imnodes::IO::EmulateThreeButtonMouse" = type { i8, ptr }
%"struct.imnodes::IO::LinkDetachWithModifierClick" = type { ptr }
%"struct.imnodes::Style" = type { float, float, float, float, float, float, float, float, float, float, float, float, float, i32, [16 x i32] }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.3 }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVector.0 = type { i32, i32, ptr }
%"struct.imnodes::(anonymous namespace)::OptionalIndex" = type { i32 }
%struct.ImVec2 = type { float, float }

@_ZN7imnodes12_GLOBAL__N_11gE = external hidden local_unnamed_addr global %struct.anon, align 8
@.str.1 = external hidden unnamed_addr constant [111 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [30 x i8], align 1
@__PRETTY_FUNCTION__._ZN7imnodes13IsLinkDroppedEPib = external hidden unnamed_addr constant [52 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(280) ptr @_ZN7imnodes12_GLOBAL__N_118editor_context_getEv() local_unnamed_addr #0

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef nonnull align 4 dereferenceable(52) ptr @_ZNK8ImVectorIN7imnodes12_GLOBAL__N_17PinDataEEixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef zeroext i1 @_ZN7imnodes13IsLinkDroppedEPib(ptr noundef writeonly %0, i1 noundef zeroext %1) local_unnamed_addr #0 {
  %3 = load i32, ptr getelementptr inbounds (i8, ptr @_ZN7imnodes12_GLOBAL__N_11gE, i64 96), align 8, !tbaa !5
  %4 = icmp eq i32 %3, 1
  br i1 %4, label %6, label %5

5:                                                ; preds = %2
  tail call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 2535, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7imnodes13IsLinkDroppedEPib) #3
  unreachable

6:                                                ; preds = %2
  %7 = tail call noundef nonnull align 8 dereferenceable(280) ptr @_ZN7imnodes12_GLOBAL__N_118editor_context_getEv()
  %8 = load i32, ptr getelementptr inbounds (i8, ptr @_ZN7imnodes12_GLOBAL__N_11gE, i64 356), align 4, !tbaa !28
  %9 = and i32 %8, 2
  %.not = icmp eq i32 %9, 0
  %brmerge = or i1 %.not, %1
  %not..not = xor i1 %.not, true
  br i1 %brmerge, label %14, label %10

10:                                               ; preds = %6
  %11 = getelementptr inbounds i8, ptr %7, i64 260
  %12 = load i32, ptr %11, align 4, !tbaa !29
  %13 = icmp ne i32 %12, 1
  br label %14

14:                                               ; preds = %6, %10
  %15 = phi i1 [ %not..not, %6 ], [ %13, %10 ]
  %16 = icmp ne ptr %0, null
  %or.cond = and i1 %16, %15
  br i1 %or.cond, label %17, label %23

17:                                               ; preds = %14
  %18 = getelementptr inbounds i8, ptr %7, i64 252
  %19 = load i32, ptr %18, align 4, !tbaa !41
  %20 = getelementptr inbounds i8, ptr %7, i64 64
  %21 = tail call noundef nonnull align 4 dereferenceable(52) ptr @_ZNK8ImVectorIN7imnodes12_GLOBAL__N_17PinDataEEixEi(ptr noundef nonnull align 8 dereferenceable(16) %20, i32 noundef %19)
  %22 = load i32, ptr %21, align 4, !tbaa !42
  store i32 %22, ptr %0, align 4, !tbaa !46
  br label %23

23:                                               ; preds = %17, %14
  ret i1 %15
}

attributes #0 = { 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 #1 = { noreturn 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 = { 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 #3 = { noreturn 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, !8, i64 96}
!6 = !{!"_ZTSN7imnodes12_GLOBAL__N_13$_0E", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !13, i64 40, !13, i64 56, !14, i64 72, !16, i64 80, !8, i64 96, !17, i64 104, !21, i64 128, !23, i64 248, !24, i64 264, !25, i64 280, !12, i64 296, !13, i64 304, !12, i64 320, !12, i64 324, !12, i64 328, !27, i64 332, !27, i64 336, !27, i64 340, !12, i64 344, !27, i64 348, !27, i64 352, !12, i64 356, !12, i64 360, !19, i64 364, !14, i64 368, !19, i64 376, !19, i64 377, !19, i64 378, !19, i64 379, !19, i64 380}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS12ImGuiStorage", !11, i64 0}
!11 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !12, i64 0, !12, i64 4, !7, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!"_ZTS8ImVectorIiE", !12, i64 0, !12, i64 4, !7, i64 8}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !8, i64 0}
!16 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!17 = !{!"_ZTSN7imnodes2IOE", !18, i64 0, !20, i64 16}
!18 = !{!"_ZTSN7imnodes2IO23EmulateThreeButtonMouseE", !19, i64 0, !7, i64 8}
!19 = !{!"bool", !8, i64 0}
!20 = !{!"_ZTSN7imnodes2IO27LinkDetachWithModifierClickE", !7, i64 0}
!21 = !{!"_ZTSN7imnodes5StyleE", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !15, i64 32, !15, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !22, i64 52, !8, i64 56}
!22 = !{!"_ZTSN7imnodes10StyleFlagsE", !8, i64 0}
!23 = !{!"_ZTS8ImVectorIN7imnodes12_GLOBAL__N_117ColorStyleElementEE", !12, i64 0, !12, i64 4, !7, i64 8}
!24 = !{!"_ZTS8ImVectorIN7imnodes12_GLOBAL__N_112StyleElementEE", !12, i64 0, !12, i64 4, !7, i64 8}
!25 = !{!"_ZTS15ImGuiTextBuffer", !26, i64 0}
!26 = !{!"_ZTS8ImVectorIcE", !12, i64 0, !12, i64 4, !7, i64 8}
!27 = !{!"_ZTSN7imnodes12_GLOBAL__N_113OptionalIndexE", !12, i64 0}
!28 = !{!6, !12, i64 356}
!29 = !{!30, !8, i64 260}
!30 = !{!"_ZTSN7imnodes13EditorContextE", !31, i64 0, !34, i64 64, !36, i64 128, !13, i64 192, !14, i64 208, !13, i64 216, !13, i64 232, !8, i64 248, !38, i64 252}
!31 = !{!"_ZTSN7imnodes12_GLOBAL__N_110ObjectPoolINS0_8NodeDataEEE", !32, i64 0, !33, i64 16, !13, i64 32, !10, i64 48}
!32 = !{!"_ZTS8ImVectorIN7imnodes12_GLOBAL__N_18NodeDataEE", !12, i64 0, !12, i64 4, !7, i64 8}
!33 = !{!"_ZTS8ImVectorIbE", !12, i64 0, !12, i64 4, !7, i64 8}
!34 = !{!"_ZTSN7imnodes12_GLOBAL__N_110ObjectPoolINS0_7PinDataEEE", !35, i64 0, !33, i64 16, !13, i64 32, !10, i64 48}
!35 = !{!"_ZTS8ImVectorIN7imnodes12_GLOBAL__N_17PinDataEE", !12, i64 0, !12, i64 4, !7, i64 8}
!36 = !{!"_ZTSN7imnodes12_GLOBAL__N_110ObjectPoolINS0_8LinkDataEEE", !37, i64 0, !33, i64 16, !13, i64 32, !10, i64 48}
!37 = !{!"_ZTS8ImVectorIN7imnodes12_GLOBAL__N_18LinkDataEE", !12, i64 0, !12, i64 4, !7, i64 8}
!38 = !{!"_ZTSN7imnodes12_GLOBAL__N_121ClickInteractionStateE", !39, i64 0, !40, i64 12}
!39 = !{!"_ZTSN7imnodes12_GLOBAL__N_121ClickInteractionState3$_1E", !12, i64 0, !27, i64 4, !8, i64 8}
!40 = !{!"_ZTSN7imnodes12_GLOBAL__N_121ClickInteractionState3$_2E", !16, i64 0}
!41 = !{!30, !12, i64 252}
!42 = !{!43, !12, i64 0}
!43 = !{!"_ZTSN7imnodes12_GLOBAL__N_17PinDataE", !12, i64 0, !12, i64 4, !16, i64 8, !8, i64 24, !44, i64 28, !14, i64 32, !12, i64 40, !45, i64 44}
!44 = !{!"_ZTSN7imnodes8PinShapeE", !8, i64 0}
!45 = !{!"_ZTSN7imnodes12_GLOBAL__N_17PinData3$_5E", !12, i64 0, !12, i64 4}
!46 = !{!12, !12, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass