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

; 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 }
%struct.ImVec2 = type { float, float }
%"struct.vox::NodeEditor::Detail::HintBuilder" = type { ptr, i8, ptr, float, i32 }
%"struct.ImGuiEx::CanvasView" = type { %struct.ImVec2, float, float }
%struct.ImDrawList = type <{ %struct.ImVector, %struct.ImVector.0, %struct.ImVector.1, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.2, %struct.ImVector.3, %struct.ImVector.4, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector = type { i32, i32, ptr }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImVec4 = type { float, float, float, float }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.5 }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }

@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [25 x i8], align 1
@__PRETTY_FUNCTION__._ZN3vox10NodeEditor6Detail11HintBuilder5BeginENS0_6NodeIdE = external hidden unnamed_addr constant [57 x i8], align 1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10ImDrawList18ChannelsSetCurrentEi(ptr noundef nonnull align 8 dereferenceable(196), i32 noundef) #0 align 2

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

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

; 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) #2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL7IsGroupPKN3vox10NodeEditor6Detail4NodeE(ptr noundef) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef, float noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZNK3vox10NodeEditor6Detail13EditorContext7GetViewEv(ptr noundef nonnull align 8 dereferenceable(2040)) #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #3

declare noundef ptr @_ZN5ImGui17GetWindowDrawListEv() #7

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN3vox10NodeEditor6Detail13EditorContext8FindNodeENS0_6NodeIdE(ptr noundef nonnull align 8 dereferenceable(2040), i64) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox10NodeEditor6Detail13EditorContext7SuspendENS1_12SuspendFlagsE(ptr noundef nonnull align 8 dereferenceable(2040), i8 noundef zeroext) #6 align 2

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

declare void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i1 noundef zeroext) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #5

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN3vox10NodeEditor6Detail11HintBuilder5BeginENS0_6NodeIdE(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 %1) #9 align 2 {
  %3 = alloca i1, align 1
  %4 = alloca %"struct.vox::NodeEditor::NodeId", align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca %"struct.vox::NodeEditor::NodeId", align 8
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca %struct.ImVec2, align 4
  %17 = alloca %struct.ImVec2, align 4
  %18 = alloca %struct.ImVec2, align 4
  %19 = alloca %struct.ImVec2, align 4
  %20 = alloca %struct.ImVec2, align 4
  %21 = alloca %struct.ImVec2, align 4
  %22 = alloca %struct.ImVec2, align 4
  %23 = alloca %struct.ImVec2, align 4
  %24 = getelementptr inbounds %"struct.vox::NodeEditor::NodeId", ptr %4, i32 0, i32 0
  %25 = getelementptr inbounds %"struct.vox::NodeEditor::Details::SafePointerType.6", ptr %24, i32 0, i32 0
  %26 = getelementptr inbounds %"struct.vox::NodeEditor::Details::SafeType.7", ptr %25, i32 0, i32 0
  store i64 %1, ptr %26, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  %27 = load ptr, ptr %5, align 8
  %28 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::HintBuilder", ptr %27, i32 0, i32 2
  %29 = load ptr, ptr %28, align 8, !tbaa !9
  %30 = icmp eq ptr null, %29
  br i1 %30, label %31, label %32

31:                                               ; preds = %2
  br label %34

32:                                               ; preds = %2
  call void @__assert_fail(ptr noundef @.str.56, ptr noundef @.str.1, i32 noundef 4463, ptr noundef @__PRETTY_FUNCTION__._ZN3vox10NodeEditor6Detail11HintBuilder5BeginENS0_6NodeIdE) #10
  unreachable

33:                                               ; No predecessors!
  br label %34

34:                                               ; preds = %33, %31
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #11
  %35 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::HintBuilder", ptr %27, i32 0, i32 0
  %36 = load ptr, ptr %35, align 8, !tbaa !14
  %37 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK3vox10NodeEditor6Detail13EditorContext7GetViewEv(ptr noundef nonnull align 8 dereferenceable(2040) %36)
  store ptr %37, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #11
  %38 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::HintBuilder", ptr %27, i32 0, i32 0
  %39 = load ptr, ptr %38, align 8, !tbaa !14
  %40 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK3vox10NodeEditor6Detail13EditorContext7GetRectEv(ptr noundef nonnull align 8 dereferenceable(2040) %39)
  store ptr %40, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #11
  store float 7.500000e-01, ptr %8, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #11
  store float 5.000000e-01, ptr %9, align 4, !tbaa !15
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = getelementptr inbounds %"struct.ImGuiEx::CanvasView", ptr %41, i32 0, i32 1
  %43 = load float, ptr %42, align 4, !tbaa !16
  %44 = fcmp ogt float %43, 7.500000e-01
  br i1 %44, label %45, label %46

45:                                               ; preds = %34
  store i1 false, ptr %3, align 1
  store i32 1, ptr %10, align 4
  br label %92

46:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #11
  %47 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::HintBuilder", ptr %27, i32 0, i32 0
  %48 = load ptr, ptr %47, align 8, !tbaa !14
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %12, ptr align 8 %4, i64 8, i1 false)
  %49 = getelementptr inbounds %"struct.vox::NodeEditor::NodeId", ptr %12, i32 0, i32 0
  %50 = getelementptr inbounds %"struct.vox::NodeEditor::Details::SafePointerType.6", ptr %49, i32 0, i32 0
  %51 = getelementptr inbounds %"struct.vox::NodeEditor::Details::SafeType.7", ptr %50, i32 0, i32 0
  %52 = load i64, ptr %51, align 8
  %53 = call noundef ptr @_ZN3vox10NodeEditor6Detail13EditorContext8FindNodeENS0_6NodeIdE(ptr noundef nonnull align 8 dereferenceable(2040) %48, i64 %52)
  store ptr %53, ptr %11, align 8, !tbaa !5
  %54 = load ptr, ptr %11, align 8, !tbaa !5
  %55 = call noundef zeroext i1 @_ZL7IsGroupPKN3vox10NodeEditor6Detail4NodeE(ptr noundef %54)
  br i1 %55, label %57, label %56

56:                                               ; preds = %46
  store i1 false, ptr %3, align 1
  store i32 1, ptr %10, align 4
  br label %91

57:                                               ; preds = %46
  %58 = load ptr, ptr %11, align 8, !tbaa !5
  %59 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::HintBuilder", ptr %27, i32 0, i32 2
  store ptr %58, ptr %59, align 8, !tbaa !9
  %60 = call noundef ptr @_ZN5ImGui17GetWindowDrawListEv()
  %61 = getelementptr inbounds %struct.ImDrawList, ptr %60, i32 0, i32 13
  %62 = getelementptr inbounds %struct.ImDrawListSplitter, ptr %61, i32 0, i32 0
  %63 = load i32, ptr %62, align 8, !tbaa !19
  %64 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::HintBuilder", ptr %27, i32 0, i32 4
  store i32 %63, ptr %64, align 4, !tbaa !31
  %65 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::HintBuilder", ptr %27, i32 0, i32 0
  %66 = load ptr, ptr %65, align 8, !tbaa !14
  call void @_ZN3vox10NodeEditor6Detail13EditorContext7SuspendENS1_12SuspendFlagsE(ptr noundef nonnull align 8 dereferenceable(2040) %66, i8 noundef zeroext 1)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #11
  store float 1.000000e+00, ptr %14, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #11
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = getelementptr inbounds %"struct.ImGuiEx::CanvasView", ptr %67, i32 0, i32 1
  %69 = load float, ptr %68, align 4, !tbaa !16
  %70 = fsub float %69, 7.500000e-01
  %71 = fdiv float %70, -2.500000e-01
  store float %71, ptr %15, align 4, !tbaa !15
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %15)
  %73 = load float, ptr %72, align 4, !tbaa !15
  %74 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %73)
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #11
  store float %74, ptr %13, align 4, !tbaa !15
  %75 = call noundef ptr @_ZN5ImGui17GetWindowDrawListEv()
  call void @_ZN10ImDrawList18ChannelsSetCurrentEi(ptr noundef nonnull align 8 dereferenceable(196) %75, i32 noundef 3)
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #11
  %76 = load ptr, ptr %7, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.ImRect, ptr %76, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %17, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %78 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %77, ptr noundef nonnull align 4 dereferenceable(8) %17)
  store <2 x float> %78, ptr %16, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #11
  %79 = load ptr, ptr %7, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.ImRect, ptr %79, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %19, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %81 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %80, ptr noundef nonnull align 4 dereferenceable(8) %19)
  store <2 x float> %81, ptr %18, align 4
  call void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %18, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #11
  %82 = call noundef ptr @_ZN5ImGui17GetWindowDrawListEv()
  call void @_ZN10ImDrawList18ChannelsSetCurrentEi(ptr noundef nonnull align 8 dereferenceable(196) %82, i32 noundef 4)
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #11
  %83 = load ptr, ptr %7, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.ImRect, ptr %83, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %21, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %85 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %84, ptr noundef nonnull align 4 dereferenceable(8) %21)
  store <2 x float> %85, ptr %20, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #11
  %86 = load ptr, ptr %7, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.ImRect, ptr %86, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %23, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %88 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %87, ptr noundef nonnull align 4 dereferenceable(8) %23)
  store <2 x float> %88, ptr %22, align 4
  call void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %20, ptr noundef nonnull align 4 dereferenceable(8) %22, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #11
  %89 = load float, ptr %13, align 4, !tbaa !15
  call void @_ZN5ImGui12PushStyleVarEif(i32 noundef 0, float noundef %89)
  %90 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::HintBuilder", ptr %27, i32 0, i32 1
  store i8 1, ptr %90, align 8, !tbaa !32
  store i1 true, ptr %3, align 1
  store i32 1, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #11
  br label %91

91:                                               ; preds = %57, %56
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #11
  br label %92

92:                                               ; preds = %91, %45
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #11
  %93 = load i1, ptr %3, align 1
  ret i1 %93
}

declare void @_ZN5ImGui12PushStyleVarEif(i32 noundef, float noundef) #7

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "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 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 = { 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 #6 = { 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 = { "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 #8 = { 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 #9 = { mustprogress uwtable "min-legal-vector-width"="64" "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 #10 = { noreturn nounwind }
attributes #11 = { 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 16}
!10 = !{!"_ZTSN3vox10NodeEditor6Detail11HintBuilderE", !6, i64 0, !11, i64 8, !6, i64 16, !12, i64 24, !13, i64 28}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!10, !6, i64 0}
!15 = !{!12, !12, i64 0}
!16 = !{!17, !12, i64 8}
!17 = !{!"_ZTSN7ImGuiEx10CanvasViewE", !18, i64 0, !12, i64 8, !12, i64 12}
!18 = !{!"_ZTS6ImVec2", !12, i64 0, !12, i64 4}
!19 = !{!20, !13, i64 168}
!20 = !{!"_ZTS10ImDrawList", !21, i64 0, !22, i64 16, !23, i64 32, !13, i64 48, !13, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !24, i64 88, !25, i64 104, !26, i64 120, !27, i64 136, !29, i64 168, !12, i64 192}
!21 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!22 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!23 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!24 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!25 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!27 = !{!"_ZTS15ImDrawCmdHeader", !28, i64 0, !6, i64 16, !13, i64 24}
!28 = !{!"_ZTS6ImVec4", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!29 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !30, i64 8}
!30 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!31 = !{!10, !13, i64 28}
!32 = !{!10, !11, i64 8}


; 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.ImVec2 = type { float, float }

@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [25 x i8], align 1
@__PRETTY_FUNCTION__._ZN3vox10NodeEditor6Detail11HintBuilder5BeginENS0_6NodeIdE = external hidden unnamed_addr constant [57 x i8], align 1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10ImDrawList18ChannelsSetCurrentEi(ptr noundef nonnull align 8 dereferenceable(196), i32 noundef) local_unnamed_addr #0 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL7IsGroupPKN3vox10NodeEditor6Detail4NodeE(ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef, float noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZNK3vox10NodeEditor6Detail13EditorContext7GetViewEv(ptr noundef nonnull align 8 dereferenceable(2040)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2

declare noundef ptr @_ZN5ImGui17GetWindowDrawListEv() local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN3vox10NodeEditor6Detail13EditorContext8FindNodeENS0_6NodeIdE(ptr noundef nonnull align 8 dereferenceable(2040), i64) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox10NodeEditor6Detail13EditorContext7SuspendENS1_12SuspendFlagsE(ptr noundef nonnull align 8 dereferenceable(2040), i8 noundef zeroext) local_unnamed_addr #5 align 2

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

declare void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i1 noundef zeroext) local_unnamed_addr #6

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN3vox10NodeEditor6Detail11HintBuilder5BeginENS0_6NodeIdE(ptr nocapture noundef nonnull align 8 dereferenceable(32) %0, i64 %1) local_unnamed_addr #8 align 2 {
  %3 = alloca float, align 4
  %4 = alloca float, align 4
  %5 = alloca %struct.ImVec2, align 8
  %6 = alloca %struct.ImVec2, align 4
  %7 = alloca %struct.ImVec2, align 8
  %8 = alloca %struct.ImVec2, align 4
  %9 = alloca %struct.ImVec2, align 8
  %10 = alloca %struct.ImVec2, align 4
  %11 = alloca %struct.ImVec2, align 8
  %12 = alloca %struct.ImVec2, align 4
  %13 = getelementptr inbounds i8, ptr %0, i64 16
  %14 = load ptr, ptr %13, align 8, !tbaa !5
  %15 = icmp eq ptr %14, null
  br i1 %15, label %17, label %16

16:                                               ; preds = %2
  tail call void @__assert_fail(ptr noundef nonnull @.str.56, ptr noundef nonnull @.str.1, i32 noundef 4463, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3vox10NodeEditor6Detail11HintBuilder5BeginENS0_6NodeIdE) #9
  unreachable

17:                                               ; preds = %2
  %18 = load ptr, ptr %0, align 8, !tbaa !13
  %19 = tail call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK3vox10NodeEditor6Detail13EditorContext7GetViewEv(ptr noundef nonnull align 8 dereferenceable(2040) %18)
  %20 = load ptr, ptr %0, align 8, !tbaa !13
  %21 = tail call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK3vox10NodeEditor6Detail13EditorContext7GetRectEv(ptr noundef nonnull align 8 dereferenceable(2040) %20)
  %22 = getelementptr inbounds i8, ptr %19, i64 8
  %23 = load float, ptr %22, align 4, !tbaa !14
  %24 = fcmp ogt float %23, 7.500000e-01
  br i1 %24, label %49, label %25

25:                                               ; preds = %17
  %26 = load ptr, ptr %0, align 8, !tbaa !13
  %27 = tail call noundef ptr @_ZN3vox10NodeEditor6Detail13EditorContext8FindNodeENS0_6NodeIdE(ptr noundef nonnull align 8 dereferenceable(2040) %26, i64 %1)
  %28 = tail call noundef zeroext i1 @_ZL7IsGroupPKN3vox10NodeEditor6Detail4NodeE(ptr noundef %27)
  br i1 %28, label %29, label %49

29:                                               ; preds = %25
  store ptr %27, ptr %13, align 8, !tbaa !5
  %30 = tail call noundef ptr @_ZN5ImGui17GetWindowDrawListEv()
  %31 = getelementptr inbounds i8, ptr %30, i64 168
  %32 = load i32, ptr %31, align 8, !tbaa !17
  %33 = getelementptr inbounds i8, ptr %0, i64 28
  store i32 %32, ptr %33, align 4, !tbaa !29
  %34 = load ptr, ptr %0, align 8, !tbaa !13
  tail call void @_ZN3vox10NodeEditor6Detail13EditorContext7SuspendENS1_12SuspendFlagsE(ptr noundef nonnull align 8 dereferenceable(2040) %34, i8 noundef zeroext 1)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #10
  store float 1.000000e+00, ptr %3, align 4, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #10
  %35 = load float, ptr %22, align 4, !tbaa !14
  %36 = fadd float %35, -7.500000e-01
  %37 = fmul float %36, -4.000000e+00
  store float %37, ptr %4, align 4, !tbaa !30
  %38 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %39 = load float, ptr %38, align 4, !tbaa !30
  %40 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %39)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #10
  %41 = call noundef ptr @_ZN5ImGui17GetWindowDrawListEv()
  call void @_ZN10ImDrawList18ChannelsSetCurrentEi(ptr noundef nonnull align 8 dereferenceable(196) %41, i32 noundef 3)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %42 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(8) %6)
  store <2 x float> %42, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #10
  %43 = getelementptr inbounds i8, ptr %21, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %44 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %43, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %44, ptr %7, align 8
  call void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %5, ptr noundef nonnull align 4 dereferenceable(8) %7, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #10
  %45 = call noundef ptr @_ZN5ImGui17GetWindowDrawListEv()
  call void @_ZN10ImDrawList18ChannelsSetCurrentEi(ptr noundef nonnull align 8 dereferenceable(196) %45, i32 noundef 4)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %46 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(8) %10)
  store <2 x float> %46, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %47 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %43, ptr noundef nonnull align 4 dereferenceable(8) %12)
  store <2 x float> %47, ptr %11, align 8
  call void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %11, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #10
  call void @_ZN5ImGui12PushStyleVarEif(i32 noundef 0, float noundef %40)
  %48 = getelementptr inbounds i8, ptr %0, i64 8
  store i8 1, ptr %48, align 8, !tbaa !31
  br label %49

49:                                               ; preds = %29, %25, %17
  %.1 = phi i1 [ false, %17 ], [ false, %25 ], [ true, %29 ]
  ret i1 %.1
}

declare void @_ZN5ImGui12PushStyleVarEif(i32 noundef, float noundef) local_unnamed_addr #6

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "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 = { "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 = { 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 #8 = { mustprogress uwtable "min-legal-vector-width"="64" "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 #9 = { noreturn nounwind }
attributes #10 = { 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 16}
!6 = !{!"_ZTSN3vox10NodeEditor6Detail11HintBuilderE", !7, i64 0, !10, i64 8, !7, i64 16, !11, i64 24, !12, i64 28}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"float", !8, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!15, !11, i64 8}
!15 = !{!"_ZTSN7ImGuiEx10CanvasViewE", !16, i64 0, !11, i64 8, !11, i64 12}
!16 = !{!"_ZTS6ImVec2", !11, i64 0, !11, i64 4}
!17 = !{!18, !12, i64 168}
!18 = !{!"_ZTS10ImDrawList", !19, i64 0, !20, i64 16, !21, i64 32, !12, i64 48, !12, i64 52, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !22, i64 88, !23, i64 104, !24, i64 120, !25, i64 136, !27, i64 168, !11, i64 192}
!19 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !12, i64 0, !12, i64 4, !7, i64 8}
!20 = !{!"_ZTS8ImVectorItE", !12, i64 0, !12, i64 4, !7, i64 8}
!21 = !{!"_ZTS8ImVectorI10ImDrawVertE", !12, i64 0, !12, i64 4, !7, i64 8}
!22 = !{!"_ZTS8ImVectorI6ImVec4E", !12, i64 0, !12, i64 4, !7, i64 8}
!23 = !{!"_ZTS8ImVectorIPvE", !12, i64 0, !12, i64 4, !7, i64 8}
!24 = !{!"_ZTS8ImVectorI6ImVec2E", !12, i64 0, !12, i64 4, !7, i64 8}
!25 = !{!"_ZTS15ImDrawCmdHeader", !26, i64 0, !7, i64 16, !12, i64 24}
!26 = !{!"_ZTS6ImVec4", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!27 = !{!"_ZTS18ImDrawListSplitter", !12, i64 0, !12, i64 4, !28, i64 8}
!28 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !12, i64 0, !12, i64 4, !7, i64 8}
!29 = !{!6, !12, i64 28}
!30 = !{!11, !11, i64 0}
!31 = !{!6, !10, i64 8}


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