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

; 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.ImVec2 = type { 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.ImDrawListSplitter = type { i32, i32, %struct.ImVector.5 }
%struct.ImVector.5 = type { i32, i32, ptr }
%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.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.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] }>
%"struct.vox::NodeEditor::Detail::Object.base" = type <{ ptr, ptr, i8 }>
%"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.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::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 }

@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [25 x i8], align 1
@__PRETTY_FUNCTION__._ZN3vox10NodeEditor6Detail11NodeBuilder3EndEv = external hidden unnamed_addr constant [49 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [32 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: 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 uwtable
declare dso_local <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16)) #2 align 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZneRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(464) ptr @_ZN3vox10NodeEditor6Detail13EditorContext8GetStyleEv(ptr noundef nonnull align 8 dereferenceable(2040)) #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 #5 align 2

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

declare noundef ptr @_ZN5ImGui17GetWindowDrawListEv() #6

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL23ImDrawList_SwapSplitterP10ImDrawListR18ImDrawListSplitter(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImRect5FloorEv(ptr noundef nonnull align 4 dereferenceable(16)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox10NodeEditor6Detail13EditorContext9MakeDirtyENS0_15SaveReasonFlagsEPNS1_4NodeE(ptr noundef nonnull align 8 dereferenceable(2040), i32 noundef, ptr noundef) #7 align 2

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

declare void @_ZN5ImGui8SameLineEff(float noundef, float noundef) #6

declare void @_ZN5ImGui8EndGroupEv() #6

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3vox10NodeEditor6Detail11NodeBuilder3EndEv(ptr noundef nonnull align 8 dereferenceable(152) %0) #2 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %struct.ImVec2, align 4
  %6 = alloca %struct.ImRect, align 4
  %7 = alloca %struct.ImVec2, align 4
  %8 = alloca %struct.ImVec2, align 4
  %9 = alloca %struct.ImVec2, align 4
  %10 = alloca %struct.ImVec2, align 4
  %11 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %12 = load ptr, ptr %2, align 8
  %13 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NodeBuilder", ptr %12, i32 0, i32 1
  %14 = load ptr, ptr %13, align 8, !tbaa !9
  %15 = icmp ne ptr null, %14
  br i1 %15, label %16, label %17

16:                                               ; preds = %1
  br label %19

17:                                               ; preds = %1
  call void @__assert_fail(ptr noundef @.str.57, ptr noundef @.str.1, i32 noundef 4270, ptr noundef @__PRETTY_FUNCTION__._ZN3vox10NodeEditor6Detail11NodeBuilder3EndEv) #9
  unreachable

18:                                               ; No predecessors!
  br label %19

19:                                               ; preds = %18, %16
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #10
  %20 = call noundef ptr @_ZN5ImGui17GetWindowDrawListEv()
  store ptr %20, ptr %3, align 8, !tbaa !5
  %21 = load ptr, ptr %3, align 8, !tbaa !5
  %22 = icmp ne ptr %21, null
  br i1 %22, label %23, label %35

23:                                               ; preds = %19
  %24 = load ptr, ptr %3, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.ImDrawList, ptr %24, i32 0, i32 13
  %26 = getelementptr inbounds %struct.ImDrawListSplitter, ptr %25, i32 0, i32 1
  %27 = load i32, ptr %26, align 4, !tbaa !18
  %28 = icmp eq i32 %27, 1
  br i1 %28, label %29, label %30

29:                                               ; preds = %23
  br label %32

30:                                               ; preds = %23
  call void @__assert_fail(ptr noundef @.str.58, ptr noundef @.str.1, i32 noundef 4273, ptr noundef @__PRETTY_FUNCTION__._ZN3vox10NodeEditor6Detail11NodeBuilder3EndEv) #9
  unreachable

31:                                               ; No predecessors!
  br label %32

32:                                               ; preds = %31, %29
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NodeBuilder", ptr %12, i32 0, i32 12
  call void @_ZL23ImDrawList_SwapSplitterP10ImDrawListR18ImDrawListSplitter(ptr noundef %33, ptr noundef nonnull align 8 dereferenceable(24) %34)
  br label %35

35:                                               ; preds = %32, %19
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #10
  %36 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NodeBuilder", ptr %12, i32 0, i32 0
  %37 = load ptr, ptr %36, align 8, !tbaa !28
  %38 = call noundef nonnull align 8 dereferenceable(464) ptr @_ZN3vox10NodeEditor6Detail13EditorContext8GetStyleEv(ptr noundef nonnull align 8 dereferenceable(2040) %37)
  store ptr %38, ptr %4, align 8, !tbaa !5
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %"struct.vox::NodeEditor::Style", ptr %39, i32 0, i32 0
  %41 = getelementptr inbounds %struct.ImVec4, ptr %40, i32 0, i32 0
  %42 = load float, ptr %41, align 8, !tbaa !29
  %43 = fcmp une float %42, 0.000000e+00
  br i1 %43, label %62, label %44

44:                                               ; preds = %35
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %"struct.vox::NodeEditor::Style", ptr %45, i32 0, i32 0
  %47 = getelementptr inbounds %struct.ImVec4, ptr %46, i32 0, i32 1
  %48 = load float, ptr %47, align 4, !tbaa !31
  %49 = fcmp une float %48, 0.000000e+00
  br i1 %49, label %62, label %50

50:                                               ; preds = %44
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.vox::NodeEditor::Style", ptr %51, i32 0, i32 0
  %53 = getelementptr inbounds %struct.ImVec4, ptr %52, i32 0, i32 2
  %54 = load float, ptr %53, align 8, !tbaa !32
  %55 = fcmp une float %54, 0.000000e+00
  br i1 %55, label %62, label %56

56:                                               ; preds = %50
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = getelementptr inbounds %"struct.vox::NodeEditor::Style", ptr %57, i32 0, i32 0
  %59 = getelementptr inbounds %struct.ImVec4, ptr %58, i32 0, i32 3
  %60 = load float, ptr %59, align 4, !tbaa !33
  %61 = fcmp une float %60, 0.000000e+00
  br i1 %61, label %62, label %73

62:                                               ; preds = %56, %50, %44, %35
  call void @_ZN5ImGui8EndGroupEv()
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.vox::NodeEditor::Style", ptr %63, i32 0, i32 0
  %65 = getelementptr inbounds %struct.ImVec4, ptr %64, i32 0, i32 2
  %66 = load float, ptr %65, align 8, !tbaa !32
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef %66)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui5DummyERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #10
  %67 = call noundef float @_ZN5ImGui13GetCursorPosYEv()
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = getelementptr inbounds %"struct.vox::NodeEditor::Style", ptr %68, i32 0, i32 0
  %70 = getelementptr inbounds %struct.ImVec4, ptr %69, i32 0, i32 3
  %71 = load float, ptr %70, align 4, !tbaa !33
  %72 = fadd float %67, %71
  call void @_ZN5ImGui13SetCursorPosYEf(float noundef %72)
  br label %73

73:                                               ; preds = %62, %56
  call void @_ZN5ImGui8EndGroupEv()
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #10
  %74 = call { <2 x float>, <2 x float> } @_ZN3vox10NodeEditor6Detail17ImGui_GetItemRectEv()
  %75 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %6, i32 0, i32 0
  %76 = extractvalue { <2 x float>, <2 x float> } %74, 0
  store <2 x float> %76, ptr %75, align 4
  %77 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %6, i32 0, i32 1
  %78 = extractvalue { <2 x float>, <2 x float> } %74, 1
  store <2 x float> %78, ptr %77, align 4
  %79 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NodeBuilder", ptr %12, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %79, ptr align 4 %6, i64 16, i1 false), !tbaa.struct !34
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #10
  %80 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NodeBuilder", ptr %12, i32 0, i32 3
  call void @_ZN6ImRect5FloorEv(ptr noundef nonnull align 4 dereferenceable(16) %80)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #10
  %81 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NodeBuilder", ptr %12, i32 0, i32 1
  %82 = load ptr, ptr %81, align 8, !tbaa !9
  %83 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %82, i32 0, i32 4
  %84 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %83)
  store <2 x float> %84, ptr %7, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #10
  %85 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NodeBuilder", ptr %12, i32 0, i32 3
  %86 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %85)
  store <2 x float> %86, ptr %8, align 4
  %87 = call noundef zeroext i1 @_ZneRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  br i1 %87, label %88, label %104

88:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #10
  %89 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NodeBuilder", ptr %12, i32 0, i32 1
  %90 = load ptr, ptr %89, align 8, !tbaa !9
  %91 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %90, i32 0, i32 4
  %92 = getelementptr inbounds %struct.ImRect, ptr %91, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #10
  %93 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NodeBuilder", ptr %12, i32 0, i32 3
  %94 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %93)
  store <2 x float> %94, ptr %10, align 4
  %95 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %92, ptr noundef nonnull align 4 dereferenceable(8) %10)
  store <2 x float> %95, ptr %9, align 4
  %96 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NodeBuilder", ptr %12, i32 0, i32 1
  %97 = load ptr, ptr %96, align 8, !tbaa !9
  %98 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %97, i32 0, i32 4
  %99 = getelementptr inbounds %struct.ImRect, ptr %98, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %99, ptr align 4 %9, i64 8, i1 false), !tbaa.struct !36
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  %100 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NodeBuilder", ptr %12, i32 0, i32 0
  %101 = load ptr, ptr %100, align 8, !tbaa !28
  %102 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NodeBuilder", ptr %12, i32 0, i32 1
  %103 = load ptr, ptr %102, align 8, !tbaa !9
  call void @_ZN3vox10NodeEditor6Detail13EditorContext9MakeDirtyENS0_15SaveReasonFlagsEPNS1_4NodeE(ptr noundef nonnull align 8 dereferenceable(2040) %101, i32 noundef 4, ptr noundef %103)
  br label %104

104:                                              ; preds = %88, %73
  %105 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NodeBuilder", ptr %12, i32 0, i32 11
  %106 = load i8, ptr %105, align 4, !tbaa !37, !range !38, !noundef !39
  %107 = trunc i8 %106 to i1
  br i1 %107, label %108, label %134

108:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #10
  %109 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NodeBuilder", ptr %12, i32 0, i32 1
  %110 = load ptr, ptr %109, align 8, !tbaa !9
  %111 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %110, i32 0, i32 6
  %112 = load ptr, ptr %111, align 8, !tbaa !40
  store ptr %112, ptr %11, align 8, !tbaa !5
  br label %113

113:                                              ; preds = %119, %108
  %114 = load ptr, ptr %11, align 8, !tbaa !5
  %115 = icmp ne ptr %114, null
  br i1 %115, label %117, label %116

116:                                              ; preds = %113
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  br label %123

117:                                              ; preds = %113
  %118 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN3vox10NodeEditor6Detail3Pin5ResetEv(ptr noundef nonnull align 8 dereferenceable(136) %118)
  br label %119

119:                                              ; preds = %117
  %120 = load ptr, ptr %11, align 8, !tbaa !5
  %121 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Pin", ptr %120, i32 0, i32 8
  %122 = load ptr, ptr %121, align 8, !tbaa !48
  store ptr %122, ptr %11, align 8, !tbaa !5
  br label %113, !llvm.loop !54

123:                                              ; preds = %116
  %124 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NodeBuilder", ptr %12, i32 0, i32 1
  %125 = load ptr, ptr %124, align 8, !tbaa !9
  %126 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %125, i32 0, i32 3
  store i32 1, ptr %126, align 8, !tbaa !56
  %127 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NodeBuilder", ptr %12, i32 0, i32 10
  %128 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NodeBuilder", ptr %12, i32 0, i32 1
  %129 = load ptr, ptr %128, align 8, !tbaa !9
  %130 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %129, i32 0, i32 16
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %130, ptr align 4 %127, i64 16, i1 false), !tbaa.struct !34
  %131 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NodeBuilder", ptr %12, i32 0, i32 1
  %132 = load ptr, ptr %131, align 8, !tbaa !9
  %133 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %132, i32 0, i32 6
  store ptr null, ptr %133, align 8, !tbaa !40
  br label %138

134:                                              ; preds = %104
  %135 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NodeBuilder", ptr %12, i32 0, i32 1
  %136 = load ptr, ptr %135, align 8, !tbaa !9
  %137 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %136, i32 0, i32 3
  store i32 0, ptr %137, align 8, !tbaa !56
  br label %138

138:                                              ; preds = %134, %123
  %139 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NodeBuilder", ptr %12, i32 0, i32 1
  store ptr null, ptr %139, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #10
  ret void
}

declare void @_ZN5ImGui5DummyERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8)) #6

declare void @_ZN5ImGui13SetCursorPosYEf(float noundef) #6

declare noundef float @_ZN5ImGui13GetCursorPosYEv() #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN3vox10NodeEditor6Detail17ImGui_GetItemRectEv() #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = { 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 = { 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 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 = { "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 = { 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 #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 = { 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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"_ZTSN3vox10NodeEditor6Detail11NodeBuilderE", !6, i64 0, !6, i64 8, !6, i64 16, !11, i64 24, !11, i64 40, !12, i64 56, !12, i64 64, !12, i64 72, !14, i64 80, !14, i64 81, !11, i64 84, !14, i64 100, !15, i64 104, !15, i64 128}
!11 = !{!"_ZTS6ImRect", !12, i64 0, !12, i64 8}
!12 = !{!"_ZTS6ImVec2", !13, i64 0, !13, i64 4}
!13 = !{!"float", !7, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTS18ImDrawListSplitter", !16, i64 0, !16, i64 4, !17, i64 8}
!16 = !{!"int", !7, i64 0}
!17 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !16, i64 0, !16, i64 4, !6, i64 8}
!18 = !{!19, !16, i64 172}
!19 = !{!"_ZTS10ImDrawList", !20, i64 0, !21, i64 16, !22, i64 32, !16, i64 48, !16, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !23, i64 88, !24, i64 104, !25, i64 120, !26, i64 136, !15, i64 168, !13, i64 192}
!20 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !16, i64 0, !16, i64 4, !6, i64 8}
!21 = !{!"_ZTS8ImVectorItE", !16, i64 0, !16, i64 4, !6, i64 8}
!22 = !{!"_ZTS8ImVectorI10ImDrawVertE", !16, i64 0, !16, i64 4, !6, i64 8}
!23 = !{!"_ZTS8ImVectorI6ImVec4E", !16, i64 0, !16, i64 4, !6, i64 8}
!24 = !{!"_ZTS8ImVectorIPvE", !16, i64 0, !16, i64 4, !6, i64 8}
!25 = !{!"_ZTS8ImVectorI6ImVec2E", !16, i64 0, !16, i64 4, !6, i64 8}
!26 = !{!"_ZTS15ImDrawCmdHeader", !27, i64 0, !6, i64 16, !16, i64 24}
!27 = !{!"_ZTS6ImVec4", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!28 = !{!10, !6, i64 0}
!29 = !{!30, !13, i64 0}
!30 = !{!"_ZTSN3vox10NodeEditor5StyleE", !27, i64 0, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !13, i64 40, !12, i64 44, !12, i64 52, !13, i64 60, !13, i64 64, !13, i64 68, !13, i64 72, !12, i64 76, !12, i64 84, !12, i64 92, !13, i64 100, !13, i64 104, !13, i64 108, !13, i64 112, !13, i64 116, !13, i64 120, !7, i64 124}
!31 = !{!30, !13, i64 4}
!32 = !{!30, !13, i64 8}
!33 = !{!30, !13, i64 12}
!34 = !{i64 0, i64 4, !35, i64 4, i64 4, !35, i64 8, i64 4, !35, i64 12, i64 4, !35}
!35 = !{!13, !13, i64 0}
!36 = !{i64 0, i64 4, !35, i64 4, i64 4, !35}
!37 = !{!10, !14, i64 100}
!38 = !{i8 0, i8 2}
!39 = !{}
!40 = !{!41, !6, i64 56}
!41 = !{!"_ZTSN3vox10NodeEditor6Detail4NodeE", !42, i64 0, !43, i64 24, !47, i64 32, !11, i64 36, !16, i64 52, !6, i64 56, !12, i64 64, !16, i64 72, !16, i64 76, !13, i64 80, !13, i64 84, !16, i64 88, !16, i64 92, !13, i64 96, !13, i64 100, !11, i64 104, !14, i64 120, !14, i64 121}
!42 = !{!"_ZTSN3vox10NodeEditor6Detail6ObjectE", !6, i64 8, !14, i64 16}
!43 = !{!"_ZTSN3vox10NodeEditor6NodeIdE", !44, i64 0}
!44 = !{!"_ZTSN3vox10NodeEditor7Details15SafePointerTypeINS0_6NodeIdEEE", !45, i64 0}
!45 = !{!"_ZTSN3vox10NodeEditor7Details8SafeTypeImNS0_6NodeIdEEE", !46, i64 0}
!46 = !{!"long", !7, i64 0}
!47 = !{!"_ZTSN3vox10NodeEditor6Detail8NodeTypeE", !7, i64 0}
!48 = !{!49, !6, i64 80}
!49 = !{!"_ZTSN3vox10NodeEditor6Detail3PinE", !42, i64 0, !50, i64 24, !53, i64 32, !6, i64 40, !11, i64 48, !11, i64 64, !6, i64 80, !16, i64 88, !16, i64 92, !13, i64 96, !13, i64 100, !16, i64 104, !12, i64 108, !13, i64 116, !13, i64 120, !13, i64 124, !13, i64 128, !14, i64 132, !14, i64 133}
!50 = !{!"_ZTSN3vox10NodeEditor5PinIdE", !51, i64 0}
!51 = !{!"_ZTSN3vox10NodeEditor7Details15SafePointerTypeINS0_5PinIdEEE", !52, i64 0}
!52 = !{!"_ZTSN3vox10NodeEditor7Details8SafeTypeImNS0_5PinIdEEE", !46, i64 0}
!53 = !{!"_ZTSN3vox10NodeEditor7PinKindE", !7, i64 0}
!54 = distinct !{!54, !55}
!55 = !{!"llvm.loop.mustprogress"}
!56 = !{!41, !47, i64 32}


; 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.57 = external hidden unnamed_addr constant [25 x i8], align 1
@__PRETTY_FUNCTION__._ZN3vox10NodeEditor6Detail11NodeBuilder3EndEv = external hidden unnamed_addr constant [49 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [32 x i8], align 1

; 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 uwtable
declare dso_local <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #2 align 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)) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(464) ptr @_ZN3vox10NodeEditor6Detail13EditorContext8GetStyleEv(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 #5 align 2

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

declare noundef ptr @_ZN5ImGui17GetWindowDrawListEv() local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL23ImDrawList_SwapSplitterP10ImDrawListR18ImDrawListSplitter(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImRect5FloorEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox10NodeEditor6Detail13EditorContext9MakeDirtyENS0_15SaveReasonFlagsEPNS1_4NodeE(ptr noundef nonnull align 8 dereferenceable(2040), i32 noundef, ptr noundef) local_unnamed_addr #7 align 2

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

declare void @_ZN5ImGui8SameLineEff(float noundef, float noundef) local_unnamed_addr #6

declare void @_ZN5ImGui8EndGroupEv() local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3vox10NodeEditor6Detail11NodeBuilder3EndEv(ptr noundef nonnull align 8 dereferenceable(152) %0) local_unnamed_addr #2 align 2 {
  %2 = alloca %struct.ImVec2, align 4
  %3 = alloca %struct.ImVec2, align 8
  %4 = alloca %struct.ImVec2, align 8
  %5 = alloca %struct.ImVec2, align 8
  %6 = getelementptr inbounds i8, ptr %0, i64 8
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  %.not = icmp eq ptr %7, null
  br i1 %.not, label %8, label %9

8:                                                ; preds = %1
  tail call void @__assert_fail(ptr noundef nonnull @.str.57, ptr noundef nonnull @.str.1, i32 noundef 4270, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3vox10NodeEditor6Detail11NodeBuilder3EndEv) #9
  unreachable

9:                                                ; preds = %1
  %10 = tail call noundef ptr @_ZN5ImGui17GetWindowDrawListEv()
  %.not15 = icmp eq ptr %10, null
  br i1 %.not15, label %18, label %11

11:                                               ; preds = %9
  %12 = getelementptr inbounds i8, ptr %10, i64 172
  %13 = load i32, ptr %12, align 4, !tbaa !17
  %14 = icmp eq i32 %13, 1
  br i1 %14, label %16, label %15

15:                                               ; preds = %11
  tail call void @__assert_fail(ptr noundef nonnull @.str.58, ptr noundef nonnull @.str.1, i32 noundef 4273, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3vox10NodeEditor6Detail11NodeBuilder3EndEv) #9
  unreachable

16:                                               ; preds = %11
  %17 = getelementptr inbounds i8, ptr %0, i64 104
  tail call void @_ZL23ImDrawList_SwapSplitterP10ImDrawListR18ImDrawListSplitter(ptr noundef nonnull %10, ptr noundef nonnull align 8 dereferenceable(24) %17)
  br label %18

18:                                               ; preds = %16, %9
  %19 = load ptr, ptr %0, align 8, !tbaa !27
  %20 = tail call noundef nonnull align 8 dereferenceable(464) ptr @_ZN3vox10NodeEditor6Detail13EditorContext8GetStyleEv(ptr noundef nonnull align 8 dereferenceable(2040) %19)
  %21 = load <4 x float>, ptr %20, align 8
  %.fr = freeze <4 x float> %21
  %22 = fcmp une <4 x float> %.fr, zeroinitializer
  %23 = bitcast <4 x i1> %22 to i4
  %.not28 = icmp eq i4 %23, 0
  br i1 %.not28, label %31, label %24

24:                                               ; preds = %18
  %25 = getelementptr inbounds i8, ptr %20, i64 12
  %26 = getelementptr inbounds i8, ptr %20, i64 8
  tail call void @_ZN5ImGui8EndGroupEv()
  %27 = load float, ptr %26, align 8, !tbaa !28
  tail call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef %27)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %2, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui5DummyERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %2)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #10
  %28 = call noundef float @_ZN5ImGui13GetCursorPosYEv()
  %29 = load float, ptr %25, align 4, !tbaa !30
  %30 = fadd float %28, %29
  call void @_ZN5ImGui13SetCursorPosYEf(float noundef %30)
  br label %31

31:                                               ; preds = %18, %24
  call void @_ZN5ImGui8EndGroupEv()
  %32 = call { <2 x float>, <2 x float> } @_ZN3vox10NodeEditor6Detail17ImGui_GetItemRectEv()
  %33 = extractvalue { <2 x float>, <2 x float> } %32, 0
  %34 = extractvalue { <2 x float>, <2 x float> } %32, 1
  %35 = getelementptr inbounds i8, ptr %0, i64 24
  store <2 x float> %33, ptr %35, align 8
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 32
  store <2 x float> %34, ptr %.sroa.4.0..sroa_idx, align 8
  call void @_ZN6ImRect5FloorEv(ptr noundef nonnull align 4 dereferenceable(16) %35)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #10
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %36, i64 36
  %38 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %37)
  store <2 x float> %38, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #10
  %39 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %35)
  store <2 x float> %39, ptr %4, align 8
  %40 = call noundef zeroext i1 @_ZneRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %3, ptr noundef nonnull align 4 dereferenceable(8) %4)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #10
  br i1 %40, label %41, label %50

41:                                               ; preds = %31
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = getelementptr inbounds i8, ptr %42, i64 36
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #10
  %44 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %35)
  store <2 x float> %44, ptr %5, align 8
  %45 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %43, ptr noundef nonnull align 4 dereferenceable(8) %5)
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %46, i64 44
  store <2 x float> %45, ptr %47, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #10
  %48 = load ptr, ptr %0, align 8, !tbaa !27
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN3vox10NodeEditor6Detail13EditorContext9MakeDirtyENS0_15SaveReasonFlagsEPNS1_4NodeE(ptr noundef nonnull align 8 dereferenceable(2040) %48, i32 noundef 4, ptr noundef %49)
  br label %50

50:                                               ; preds = %41, %31
  %51 = getelementptr inbounds i8, ptr %0, i64 100
  %52 = load i8, ptr %51, align 4, !tbaa !31, !range !32, !noundef !33
  %53 = trunc nuw i8 %52 to i1
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  br i1 %53, label %55, label %64

55:                                               ; preds = %50
  %56 = getelementptr inbounds i8, ptr %54, i64 56
  %.025 = load ptr, ptr %56, align 8, !tbaa !34
  %.not1626 = icmp eq ptr %.025, null
  br i1 %.not1626, label %._crit_edge, label %.lr.ph

._crit_edge.loopexit:                             ; preds = %.lr.ph
  %.pre = load ptr, ptr %6, align 8, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %55
  %57 = phi ptr [ %.pre, %._crit_edge.loopexit ], [ %54, %55 ]
  %58 = getelementptr inbounds i8, ptr %57, i64 32
  store i32 1, ptr %58, align 8, !tbaa !35
  %59 = getelementptr inbounds i8, ptr %0, i64 84
  %60 = getelementptr inbounds i8, ptr %57, i64 104
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %60, ptr noundef nonnull align 4 dereferenceable(16) %59, i64 16, i1 false), !tbaa.struct !43
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = getelementptr inbounds i8, ptr %61, i64 56
  store ptr null, ptr %62, align 8, !tbaa !45
  br label %66

.lr.ph:                                           ; preds = %55, %.lr.ph
  %.027 = phi ptr [ %.0, %.lr.ph ], [ %.025, %55 ]
  call void @_ZN3vox10NodeEditor6Detail3Pin5ResetEv(ptr noundef nonnull align 8 dereferenceable(136) %.027)
  %63 = getelementptr inbounds i8, ptr %.027, i64 80
  %.0 = load ptr, ptr %63, align 8, !tbaa !34
  %.not16 = icmp eq ptr %.0, null
  br i1 %.not16, label %._crit_edge.loopexit, label %.lr.ph, !llvm.loop !46

64:                                               ; preds = %50
  %65 = getelementptr inbounds i8, ptr %54, i64 32
  store i32 0, ptr %65, align 8, !tbaa !35
  br label %66

66:                                               ; preds = %64, %._crit_edge
  store ptr null, ptr %6, align 8, !tbaa !5
  ret void
}

declare void @_ZN5ImGui5DummyERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #6

declare void @_ZN5ImGui13SetCursorPosYEf(float noundef) local_unnamed_addr #6

declare noundef float @_ZN5ImGui13GetCursorPosYEv() local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN3vox10NodeEditor6Detail17ImGui_GetItemRectEv() 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 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 = { 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 = { 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 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 = { "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 = { 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 #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 = { 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 8}
!6 = !{!"_ZTSN3vox10NodeEditor6Detail11NodeBuilderE", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 40, !11, i64 56, !11, i64 64, !11, i64 72, !13, i64 80, !13, i64 81, !10, i64 84, !13, i64 100, !14, i64 104, !14, i64 128}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS6ImRect", !11, i64 0, !11, i64 8}
!11 = !{!"_ZTS6ImVec2", !12, i64 0, !12, i64 4}
!12 = !{!"float", !8, i64 0}
!13 = !{!"bool", !8, i64 0}
!14 = !{!"_ZTS18ImDrawListSplitter", !15, i64 0, !15, i64 4, !16, i64 8}
!15 = !{!"int", !8, i64 0}
!16 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !15, i64 0, !15, i64 4, !7, i64 8}
!17 = !{!18, !15, i64 172}
!18 = !{!"_ZTS10ImDrawList", !19, i64 0, !20, i64 16, !21, i64 32, !15, i64 48, !15, 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, !14, i64 168, !12, i64 192}
!19 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !15, i64 0, !15, i64 4, !7, i64 8}
!20 = !{!"_ZTS8ImVectorItE", !15, i64 0, !15, i64 4, !7, i64 8}
!21 = !{!"_ZTS8ImVectorI10ImDrawVertE", !15, i64 0, !15, i64 4, !7, i64 8}
!22 = !{!"_ZTS8ImVectorI6ImVec4E", !15, i64 0, !15, i64 4, !7, i64 8}
!23 = !{!"_ZTS8ImVectorIPvE", !15, i64 0, !15, i64 4, !7, i64 8}
!24 = !{!"_ZTS8ImVectorI6ImVec2E", !15, i64 0, !15, i64 4, !7, i64 8}
!25 = !{!"_ZTS15ImDrawCmdHeader", !26, i64 0, !7, i64 16, !15, i64 24}
!26 = !{!"_ZTS6ImVec4", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!27 = !{!6, !7, i64 0}
!28 = !{!29, !12, i64 8}
!29 = !{!"_ZTSN3vox10NodeEditor5StyleE", !26, i64 0, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !11, i64 44, !11, i64 52, !12, i64 60, !12, i64 64, !12, i64 68, !12, i64 72, !11, i64 76, !11, i64 84, !11, i64 92, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !8, i64 124}
!30 = !{!29, !12, i64 12}
!31 = !{!6, !13, i64 100}
!32 = !{i8 0, i8 2}
!33 = !{}
!34 = !{!7, !7, i64 0}
!35 = !{!36, !42, i64 32}
!36 = !{!"_ZTSN3vox10NodeEditor6Detail4NodeE", !37, i64 0, !38, i64 24, !42, i64 32, !10, i64 36, !15, i64 52, !7, i64 56, !11, i64 64, !15, i64 72, !15, i64 76, !12, i64 80, !12, i64 84, !15, i64 88, !15, i64 92, !12, i64 96, !12, i64 100, !10, i64 104, !13, i64 120, !13, i64 121}
!37 = !{!"_ZTSN3vox10NodeEditor6Detail6ObjectE", !7, i64 8, !13, i64 16}
!38 = !{!"_ZTSN3vox10NodeEditor6NodeIdE", !39, i64 0}
!39 = !{!"_ZTSN3vox10NodeEditor7Details15SafePointerTypeINS0_6NodeIdEEE", !40, i64 0}
!40 = !{!"_ZTSN3vox10NodeEditor7Details8SafeTypeImNS0_6NodeIdEEE", !41, i64 0}
!41 = !{!"long", !8, i64 0}
!42 = !{!"_ZTSN3vox10NodeEditor6Detail8NodeTypeE", !8, i64 0}
!43 = !{i64 0, i64 4, !44, i64 4, i64 4, !44, i64 8, i64 4, !44, i64 12, i64 4, !44}
!44 = !{!12, !12, i64 0}
!45 = !{!36, !7, i64 56}
!46 = distinct !{!46, !47}
!47 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass