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

; 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::SizeAction" = type { %"struct.vox::NodeEditor::Detail::EditorAction", i8, i8, ptr, %struct.ImRect, %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i32 }
%"struct.vox::NodeEditor::Detail::EditorAction" = type { ptr, ptr }
%"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::Control" = type <{ ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8, i8, i8, [4 x i8] }>

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16)) #2 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16)) #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)) #5

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3vox10NodeEditororENS0_15SaveReasonFlagsES1_(i32 noundef, i32 noundef) #3

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

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

declare <2 x float> @_ZN5ImGui17GetMouseDragDeltaEif(i32 noundef, float noundef) #7

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN3vox10NodeEditor6Detail10SizeAction7ProcessERKNS1_7ControlE(ptr noundef nonnull align 8 dereferenceable(96) %0, ptr noundef nonnull align 8 dereferenceable(132) %1) unnamed_addr #2 align 2 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %struct.ImVec2, 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 %struct.ImVec2, align 4
  %12 = alloca %struct.ImVec2, align 4
  %13 = alloca %struct.ImVec2, align 4
  %14 = alloca %struct.ImVec2, align 4
  %15 = alloca %struct.ImRect, align 4
  %16 = alloca %struct.ImVec2, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %17 = load ptr, ptr %4, align 8
  %18 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 2
  %19 = load i8, ptr %18, align 1, !tbaa !9, !range !18, !noundef !19
  %20 = trunc i8 %19 to i1
  br i1 %20, label %21, label %70

21:                                               ; preds = %2
  %22 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 2
  store i8 0, ptr %22, align 1, !tbaa !9
  %23 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 3
  %24 = load ptr, ptr %23, align 8, !tbaa !20
  %25 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %24, i32 0, i32 4
  %26 = getelementptr inbounds %struct.ImRect, ptr %25, i32 0, i32 0
  %27 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 4
  %28 = getelementptr inbounds %struct.ImRect, ptr %27, i32 0, i32 0
  %29 = call noundef zeroext i1 @_ZneRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %26, ptr noundef nonnull align 4 dereferenceable(8) %28)
  br i1 %29, label %38, label %30

30:                                               ; preds = %21
  %31 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 3
  %32 = load ptr, ptr %31, align 8, !tbaa !20
  %33 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %32, i32 0, i32 16
  %34 = getelementptr inbounds %struct.ImRect, ptr %33, i32 0, i32 0
  %35 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 5
  %36 = getelementptr inbounds %struct.ImRect, ptr %35, i32 0, i32 0
  %37 = call noundef zeroext i1 @_ZneRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %34, ptr noundef nonnull align 4 dereferenceable(8) %36)
  br i1 %37, label %38, label %44

38:                                               ; preds = %30, %21
  %39 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::EditorAction", ptr %17, i32 0, i32 1
  %40 = load ptr, ptr %39, align 8, !tbaa !21
  %41 = call noundef i32 @_ZN3vox10NodeEditororENS0_15SaveReasonFlagsES1_(i32 noundef 2, i32 noundef 16)
  %42 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 3
  %43 = load ptr, ptr %42, align 8, !tbaa !20
  call void @_ZN3vox10NodeEditor6Detail13EditorContext9MakeDirtyENS0_15SaveReasonFlagsEPNS1_4NodeE(ptr noundef nonnull align 8 dereferenceable(2040) %40, i32 noundef %41, ptr noundef %43)
  br label %44

44:                                               ; preds = %38, %30
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  %45 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 3
  %46 = load ptr, ptr %45, align 8, !tbaa !20
  %47 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %46, i32 0, i32 4
  %48 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %47)
  store <2 x float> %48, ptr %6, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  %49 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 4
  %50 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %49)
  store <2 x float> %50, ptr %7, align 4
  %51 = call noundef zeroext i1 @_ZneRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %7)
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  br i1 %51, label %60, label %52

52:                                               ; preds = %44
  %53 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 3
  %54 = load ptr, ptr %53, align 8, !tbaa !20
  %55 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %54, i32 0, i32 16
  %56 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %55)
  store <2 x float> %56, ptr %8, align 4
  %57 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 5
  %58 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %57)
  store <2 x float> %58, ptr %9, align 4
  %59 = call noundef zeroext i1 @_ZneRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(8) %9)
  br label %60

60:                                               ; preds = %52, %44
  %61 = phi i1 [ true, %44 ], [ %59, %52 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  br i1 %61, label %62, label %68

62:                                               ; preds = %60
  %63 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::EditorAction", ptr %17, i32 0, i32 1
  %64 = load ptr, ptr %63, align 8, !tbaa !21
  %65 = call noundef i32 @_ZN3vox10NodeEditororENS0_15SaveReasonFlagsES1_(i32 noundef 4, i32 noundef 16)
  %66 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 3
  %67 = load ptr, ptr %66, align 8, !tbaa !20
  call void @_ZN3vox10NodeEditor6Detail13EditorContext9MakeDirtyENS0_15SaveReasonFlagsEPNS1_4NodeE(ptr noundef nonnull align 8 dereferenceable(2040) %64, i32 noundef %65, ptr noundef %67)
  br label %68

68:                                               ; preds = %62, %60
  %69 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 3
  store ptr null, ptr %69, align 8, !tbaa !20
  br label %70

70:                                               ; preds = %68, %2
  %71 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 1
  %72 = load i8, ptr %71, align 8, !tbaa !22, !range !18, !noundef !19
  %73 = trunc i8 %72 to i1
  br i1 %73, label %75, label %74

74:                                               ; preds = %70
  store i1 false, ptr %3, align 1
  br label %326

75:                                               ; preds = %70
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  %77 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Control", ptr %76, i32 0, i32 5
  %78 = load ptr, ptr %77, align 8, !tbaa !23
  %79 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 3
  %80 = load ptr, ptr %79, align 8, !tbaa !20
  %81 = icmp eq ptr %78, %80
  br i1 %81, label %82, label %313

82:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Control", ptr %83, i32 0, i32 5
  %85 = load ptr, ptr %84, align 8, !tbaa !23
  %86 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 3
  %87 = load ptr, ptr %86, align 8, !tbaa !20
  %88 = icmp eq ptr %85, %87
  br i1 %88, label %89, label %91

89:                                               ; preds = %82
  %90 = call <2 x float> @_ZN5ImGui17GetMouseDragDeltaEif(i32 noundef 0, float noundef 0.000000e+00)
  store <2 x float> %90, ptr %10, align 4
  br label %93

91:                                               ; preds = %82
  %92 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 8 %92, i64 8, i1 false), !tbaa.struct !25
  br label %93

93:                                               ; preds = %91, %89
  %94 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %94, ptr align 4 %10, i64 8, i1 false), !tbaa.struct !25
  %95 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 7
  %96 = getelementptr inbounds %struct.ImVec2, ptr %95, i32 0, i32 0
  %97 = load float, ptr %96, align 8, !tbaa !27
  %98 = fcmp oeq float %97, 0.000000e+00
  br i1 %98, label %99, label %115

99:                                               ; preds = %93
  %100 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 6
  %101 = getelementptr inbounds %struct.ImVec2, ptr %100, i32 0, i32 0
  %102 = load float, ptr %101, align 8, !tbaa !28
  %103 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 3
  %104 = load ptr, ptr %103, align 8, !tbaa !20
  %105 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %104, i32 0, i32 4
  %106 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %105)
  %107 = fcmp une float %102, %106
  br i1 %107, label %108, label %115

108:                                              ; preds = %99
  %109 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 3
  %110 = load ptr, ptr %109, align 8, !tbaa !20
  %111 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %110, i32 0, i32 4
  %112 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %111)
  %113 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 7
  %114 = getelementptr inbounds %struct.ImVec2, ptr %113, i32 0, i32 0
  store float %112, ptr %114, align 8, !tbaa !27
  br label %115

115:                                              ; preds = %108, %99, %93
  %116 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 7
  %117 = getelementptr inbounds %struct.ImVec2, ptr %116, i32 0, i32 1
  %118 = load float, ptr %117, align 4, !tbaa !29
  %119 = fcmp oeq float %118, 0.000000e+00
  br i1 %119, label %120, label %136

120:                                              ; preds = %115
  %121 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 6
  %122 = getelementptr inbounds %struct.ImVec2, ptr %121, i32 0, i32 1
  %123 = load float, ptr %122, align 4, !tbaa !30
  %124 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 3
  %125 = load ptr, ptr %124, align 8, !tbaa !20
  %126 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %125, i32 0, i32 4
  %127 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %126)
  %128 = fcmp une float %123, %127
  br i1 %128, label %129, label %136

129:                                              ; preds = %120
  %130 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 3
  %131 = load ptr, ptr %130, align 8, !tbaa !20
  %132 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %131, i32 0, i32 4
  %133 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %132)
  %134 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 7
  %135 = getelementptr inbounds %struct.ImVec2, ptr %134, i32 0, i32 1
  store float %133, ptr %135, align 4, !tbaa !29
  br label %136

136:                                              ; preds = %129, %120, %115
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %137 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 7
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %138 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 4
  %139 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %138)
  store <2 x float> %139, ptr %13, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %140 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 5
  %141 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %140)
  store <2 x float> %141, ptr %14, align 4
  %142 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %14)
  store <2 x float> %142, ptr %12, align 4
  %143 = call <2 x float> @_ZL5ImMaxRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %137, ptr noundef nonnull align 4 dereferenceable(8) %12)
  store <2 x float> %143, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #8
  %144 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 8 %144, i64 16, i1 false), !tbaa.struct !31
  %145 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 9
  %146 = load i8, ptr %145, align 8, !tbaa !32
  %147 = call noundef zeroext i8 @_ZN3vox10NodeEditor6DetailanENS1_10NodeRegionES2_(i8 noundef zeroext %146, i8 noundef zeroext 1)
  %148 = icmp eq i8 %147, 1
  br i1 %148, label %149, label %168

149:                                              ; preds = %136
  %150 = getelementptr inbounds %struct.ImRect, ptr %15, i32 0, i32 1
  %151 = getelementptr inbounds %struct.ImVec2, ptr %150, i32 0, i32 1
  %152 = load float, ptr %151, align 4, !tbaa !33
  %153 = getelementptr inbounds %struct.ImVec2, ptr %11, i32 0, i32 1
  %154 = load float, ptr %153, align 4, !tbaa !34
  %155 = fsub float %152, %154
  %156 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::EditorAction", ptr %17, i32 0, i32 1
  %157 = load ptr, ptr %156, align 8, !tbaa !21
  %158 = getelementptr inbounds %struct.ImRect, ptr %15, i32 0, i32 0
  %159 = getelementptr inbounds %struct.ImVec2, ptr %158, i32 0, i32 1
  %160 = load float, ptr %159, align 4, !tbaa !35
  %161 = getelementptr inbounds %struct.ImVec2, ptr %10, i32 0, i32 1
  %162 = load float, ptr %161, align 4, !tbaa !34
  %163 = fadd float %160, %162
  %164 = call noundef float @_ZNK3vox10NodeEditor6Detail13EditorContext16AlignPointToGridEf(ptr noundef nonnull align 8 dereferenceable(2040) %157, float noundef %163)
  %165 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %155, float noundef %164)
  %166 = getelementptr inbounds %struct.ImRect, ptr %15, i32 0, i32 0
  %167 = getelementptr inbounds %struct.ImVec2, ptr %166, i32 0, i32 1
  store float %165, ptr %167, align 4, !tbaa !35
  br label %168

168:                                              ; preds = %149, %136
  %169 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 9
  %170 = load i8, ptr %169, align 8, !tbaa !32
  %171 = call noundef zeroext i8 @_ZN3vox10NodeEditor6DetailanENS1_10NodeRegionES2_(i8 noundef zeroext %170, i8 noundef zeroext 2)
  %172 = icmp eq i8 %171, 2
  br i1 %172, label %173, label %192

173:                                              ; preds = %168
  %174 = getelementptr inbounds %struct.ImRect, ptr %15, i32 0, i32 0
  %175 = getelementptr inbounds %struct.ImVec2, ptr %174, i32 0, i32 1
  %176 = load float, ptr %175, align 4, !tbaa !35
  %177 = getelementptr inbounds %struct.ImVec2, ptr %11, i32 0, i32 1
  %178 = load float, ptr %177, align 4, !tbaa !34
  %179 = fadd float %176, %178
  %180 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::EditorAction", ptr %17, i32 0, i32 1
  %181 = load ptr, ptr %180, align 8, !tbaa !21
  %182 = getelementptr inbounds %struct.ImRect, ptr %15, i32 0, i32 1
  %183 = getelementptr inbounds %struct.ImVec2, ptr %182, i32 0, i32 1
  %184 = load float, ptr %183, align 4, !tbaa !33
  %185 = getelementptr inbounds %struct.ImVec2, ptr %10, i32 0, i32 1
  %186 = load float, ptr %185, align 4, !tbaa !34
  %187 = fadd float %184, %186
  %188 = call noundef float @_ZNK3vox10NodeEditor6Detail13EditorContext16AlignPointToGridEf(ptr noundef nonnull align 8 dereferenceable(2040) %181, float noundef %187)
  %189 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %179, float noundef %188)
  %190 = getelementptr inbounds %struct.ImRect, ptr %15, i32 0, i32 1
  %191 = getelementptr inbounds %struct.ImVec2, ptr %190, i32 0, i32 1
  store float %189, ptr %191, align 4, !tbaa !33
  br label %192

192:                                              ; preds = %173, %168
  %193 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 9
  %194 = load i8, ptr %193, align 8, !tbaa !32
  %195 = call noundef zeroext i8 @_ZN3vox10NodeEditor6DetailanENS1_10NodeRegionES2_(i8 noundef zeroext %194, i8 noundef zeroext 4)
  %196 = icmp eq i8 %195, 4
  br i1 %196, label %197, label %216

197:                                              ; preds = %192
  %198 = getelementptr inbounds %struct.ImRect, ptr %15, i32 0, i32 1
  %199 = getelementptr inbounds %struct.ImVec2, ptr %198, i32 0, i32 0
  %200 = load float, ptr %199, align 4, !tbaa !36
  %201 = getelementptr inbounds %struct.ImVec2, ptr %11, i32 0, i32 0
  %202 = load float, ptr %201, align 4, !tbaa !37
  %203 = fsub float %200, %202
  %204 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::EditorAction", ptr %17, i32 0, i32 1
  %205 = load ptr, ptr %204, align 8, !tbaa !21
  %206 = getelementptr inbounds %struct.ImRect, ptr %15, i32 0, i32 0
  %207 = getelementptr inbounds %struct.ImVec2, ptr %206, i32 0, i32 0
  %208 = load float, ptr %207, align 4, !tbaa !38
  %209 = getelementptr inbounds %struct.ImVec2, ptr %10, i32 0, i32 0
  %210 = load float, ptr %209, align 4, !tbaa !37
  %211 = fadd float %208, %210
  %212 = call noundef float @_ZNK3vox10NodeEditor6Detail13EditorContext16AlignPointToGridEf(ptr noundef nonnull align 8 dereferenceable(2040) %205, float noundef %211)
  %213 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %203, float noundef %212)
  %214 = getelementptr inbounds %struct.ImRect, ptr %15, i32 0, i32 0
  %215 = getelementptr inbounds %struct.ImVec2, ptr %214, i32 0, i32 0
  store float %213, ptr %215, align 4, !tbaa !38
  br label %216

216:                                              ; preds = %197, %192
  %217 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 9
  %218 = load i8, ptr %217, align 8, !tbaa !32
  %219 = call noundef zeroext i8 @_ZN3vox10NodeEditor6DetailanENS1_10NodeRegionES2_(i8 noundef zeroext %218, i8 noundef zeroext 8)
  %220 = icmp eq i8 %219, 8
  br i1 %220, label %221, label %240

221:                                              ; preds = %216
  %222 = getelementptr inbounds %struct.ImRect, ptr %15, i32 0, i32 0
  %223 = getelementptr inbounds %struct.ImVec2, ptr %222, i32 0, i32 0
  %224 = load float, ptr %223, align 4, !tbaa !38
  %225 = getelementptr inbounds %struct.ImVec2, ptr %11, i32 0, i32 0
  %226 = load float, ptr %225, align 4, !tbaa !37
  %227 = fadd float %224, %226
  %228 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::EditorAction", ptr %17, i32 0, i32 1
  %229 = load ptr, ptr %228, align 8, !tbaa !21
  %230 = getelementptr inbounds %struct.ImRect, ptr %15, i32 0, i32 1
  %231 = getelementptr inbounds %struct.ImVec2, ptr %230, i32 0, i32 0
  %232 = load float, ptr %231, align 4, !tbaa !36
  %233 = getelementptr inbounds %struct.ImVec2, ptr %10, i32 0, i32 0
  %234 = load float, ptr %233, align 4, !tbaa !37
  %235 = fadd float %232, %234
  %236 = call noundef float @_ZNK3vox10NodeEditor6Detail13EditorContext16AlignPointToGridEf(ptr noundef nonnull align 8 dereferenceable(2040) %229, float noundef %235)
  %237 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %227, float noundef %236)
  %238 = getelementptr inbounds %struct.ImRect, ptr %15, i32 0, i32 1
  %239 = getelementptr inbounds %struct.ImVec2, ptr %238, i32 0, i32 0
  store float %237, ptr %239, align 4, !tbaa !36
  br label %240

240:                                              ; preds = %221, %216
  call void @_ZN6ImRect5FloorEv(ptr noundef nonnull align 4 dereferenceable(16) %15)
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %241 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %15)
  store <2 x float> %241, ptr %16, align 4
  %242 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %242, ptr align 4 %16, i64 8, i1 false), !tbaa.struct !25
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  %243 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 3
  %244 = load ptr, ptr %243, align 8, !tbaa !20
  %245 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %244, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %245, ptr align 4 %15, i64 16, i1 false), !tbaa.struct !31
  %246 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 3
  %247 = load ptr, ptr %246, align 8, !tbaa !20
  %248 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %247, i32 0, i32 16
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %248, ptr align 4 %15, i64 16, i1 false), !tbaa.struct !31
  %249 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 4
  %250 = getelementptr inbounds %struct.ImRect, ptr %249, i32 0, i32 0
  %251 = getelementptr inbounds %struct.ImVec2, ptr %250, i32 0, i32 0
  %252 = load float, ptr %251, align 8, !tbaa !39
  %253 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 5
  %254 = getelementptr inbounds %struct.ImRect, ptr %253, i32 0, i32 0
  %255 = getelementptr inbounds %struct.ImVec2, ptr %254, i32 0, i32 0
  %256 = load float, ptr %255, align 8, !tbaa !40
  %257 = fsub float %252, %256
  %258 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 3
  %259 = load ptr, ptr %258, align 8, !tbaa !20
  %260 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %259, i32 0, i32 16
  %261 = getelementptr inbounds %struct.ImRect, ptr %260, i32 0, i32 0
  %262 = getelementptr inbounds %struct.ImVec2, ptr %261, i32 0, i32 0
  %263 = load float, ptr %262, align 8, !tbaa !41
  %264 = fsub float %263, %257
  store float %264, ptr %262, align 8, !tbaa !41
  %265 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 4
  %266 = getelementptr inbounds %struct.ImRect, ptr %265, i32 0, i32 0
  %267 = getelementptr inbounds %struct.ImVec2, ptr %266, i32 0, i32 1
  %268 = load float, ptr %267, align 4, !tbaa !49
  %269 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 5
  %270 = getelementptr inbounds %struct.ImRect, ptr %269, i32 0, i32 0
  %271 = getelementptr inbounds %struct.ImVec2, ptr %270, i32 0, i32 1
  %272 = load float, ptr %271, align 4, !tbaa !50
  %273 = fsub float %268, %272
  %274 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 3
  %275 = load ptr, ptr %274, align 8, !tbaa !20
  %276 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %275, i32 0, i32 16
  %277 = getelementptr inbounds %struct.ImRect, ptr %276, i32 0, i32 0
  %278 = getelementptr inbounds %struct.ImVec2, ptr %277, i32 0, i32 1
  %279 = load float, ptr %278, align 4, !tbaa !51
  %280 = fsub float %279, %273
  store float %280, ptr %278, align 4, !tbaa !51
  %281 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 4
  %282 = getelementptr inbounds %struct.ImRect, ptr %281, i32 0, i32 1
  %283 = getelementptr inbounds %struct.ImVec2, ptr %282, i32 0, i32 0
  %284 = load float, ptr %283, align 8, !tbaa !52
  %285 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 5
  %286 = getelementptr inbounds %struct.ImRect, ptr %285, i32 0, i32 1
  %287 = getelementptr inbounds %struct.ImVec2, ptr %286, i32 0, i32 0
  %288 = load float, ptr %287, align 8, !tbaa !53
  %289 = fsub float %284, %288
  %290 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 3
  %291 = load ptr, ptr %290, align 8, !tbaa !20
  %292 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %291, i32 0, i32 16
  %293 = getelementptr inbounds %struct.ImRect, ptr %292, i32 0, i32 1
  %294 = getelementptr inbounds %struct.ImVec2, ptr %293, i32 0, i32 0
  %295 = load float, ptr %294, align 8, !tbaa !54
  %296 = fsub float %295, %289
  store float %296, ptr %294, align 8, !tbaa !54
  %297 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 4
  %298 = getelementptr inbounds %struct.ImRect, ptr %297, i32 0, i32 1
  %299 = getelementptr inbounds %struct.ImVec2, ptr %298, i32 0, i32 1
  %300 = load float, ptr %299, align 4, !tbaa !55
  %301 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 5
  %302 = getelementptr inbounds %struct.ImRect, ptr %301, i32 0, i32 1
  %303 = getelementptr inbounds %struct.ImVec2, ptr %302, i32 0, i32 1
  %304 = load float, ptr %303, align 4, !tbaa !56
  %305 = fsub float %300, %304
  %306 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 3
  %307 = load ptr, ptr %306, align 8, !tbaa !20
  %308 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %307, i32 0, i32 16
  %309 = getelementptr inbounds %struct.ImRect, ptr %308, i32 0, i32 1
  %310 = getelementptr inbounds %struct.ImVec2, ptr %309, i32 0, i32 1
  %311 = load float, ptr %310, align 4, !tbaa !57
  %312 = fsub float %311, %305
  store float %312, ptr %310, align 4, !tbaa !57
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  br label %322

313:                                              ; preds = %75
  %314 = load ptr, ptr %5, align 8, !tbaa !5
  %315 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Control", ptr %314, i32 0, i32 5
  %316 = load ptr, ptr %315, align 8, !tbaa !23
  %317 = icmp ne ptr %316, null
  br i1 %317, label %321, label %318

318:                                              ; preds = %313
  %319 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 2
  store i8 1, ptr %319, align 1, !tbaa !9
  %320 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 1
  store i8 0, ptr %320, align 8, !tbaa !22
  store i1 true, ptr %3, align 1
  br label %326

321:                                              ; preds = %313
  br label %322

322:                                              ; preds = %321, %240
  %323 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SizeAction", ptr %17, i32 0, i32 1
  %324 = load i8, ptr %323, align 8, !tbaa !22, !range !18, !noundef !19
  %325 = trunc i8 %324 to i1
  store i1 %325, ptr %3, align 1
  br label %326

326:                                              ; preds = %322, %318, %74
  %327 = load i1, ptr %3, align 1
  ret i1 %327
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i8 @_ZN3vox10NodeEditor6DetailanENS1_10NodeRegionES2_(i8 noundef zeroext, i8 noundef zeroext) #3

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

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

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 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 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 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 #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 = { 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, !12, i64 17}
!10 = !{!"_ZTSN3vox10NodeEditor6Detail10SizeActionE", !11, i64 0, !12, i64 16, !12, i64 17, !6, i64 24, !13, i64 32, !13, i64 48, !14, i64 64, !14, i64 72, !14, i64 80, !16, i64 88, !17, i64 92}
!11 = !{!"_ZTSN3vox10NodeEditor6Detail12EditorActionE", !6, i64 8}
!12 = !{!"bool", !7, i64 0}
!13 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"_ZTSN3vox10NodeEditor6Detail10NodeRegionE", !7, i64 0}
!17 = !{!"int", !7, i64 0}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!10, !6, i64 24}
!21 = !{!11, !6, i64 8}
!22 = !{!10, !12, i64 16}
!23 = !{!24, !6, i64 40}
!24 = !{!"_ZTSN3vox10NodeEditor6Detail7ControlE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !12, i64 128, !12, i64 129, !12, i64 130, !12, i64 131}
!25 = !{i64 0, i64 4, !26, i64 4, i64 4, !26}
!26 = !{!15, !15, i64 0}
!27 = !{!10, !15, i64 72}
!28 = !{!10, !15, i64 64}
!29 = !{!10, !15, i64 76}
!30 = !{!10, !15, i64 68}
!31 = !{i64 0, i64 4, !26, i64 4, i64 4, !26, i64 8, i64 4, !26, i64 12, i64 4, !26}
!32 = !{!10, !16, i64 88}
!33 = !{!13, !15, i64 12}
!34 = !{!14, !15, i64 4}
!35 = !{!13, !15, i64 4}
!36 = !{!13, !15, i64 8}
!37 = !{!14, !15, i64 0}
!38 = !{!13, !15, i64 0}
!39 = !{!10, !15, i64 32}
!40 = !{!10, !15, i64 48}
!41 = !{!42, !15, i64 104}
!42 = !{!"_ZTSN3vox10NodeEditor6Detail4NodeE", !43, i64 0, !44, i64 24, !48, i64 32, !13, i64 36, !17, i64 52, !6, i64 56, !14, i64 64, !17, i64 72, !17, i64 76, !15, i64 80, !15, i64 84, !17, i64 88, !17, i64 92, !15, i64 96, !15, i64 100, !13, i64 104, !12, i64 120, !12, i64 121}
!43 = !{!"_ZTSN3vox10NodeEditor6Detail6ObjectE", !6, i64 8, !12, i64 16}
!44 = !{!"_ZTSN3vox10NodeEditor6NodeIdE", !45, i64 0}
!45 = !{!"_ZTSN3vox10NodeEditor7Details15SafePointerTypeINS0_6NodeIdEEE", !46, i64 0}
!46 = !{!"_ZTSN3vox10NodeEditor7Details8SafeTypeImNS0_6NodeIdEEE", !47, i64 0}
!47 = !{!"long", !7, i64 0}
!48 = !{!"_ZTSN3vox10NodeEditor6Detail8NodeTypeE", !7, i64 0}
!49 = !{!10, !15, i64 36}
!50 = !{!10, !15, i64 52}
!51 = !{!42, !15, i64 108}
!52 = !{!10, !15, i64 40}
!53 = !{!10, !15, i64 56}
!54 = !{!42, !15, i64 112}
!55 = !{!10, !15, i64 44}
!56 = !{!10, !15, i64 60}
!57 = !{!42, !15, i64 116}


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

; 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 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 #3

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16)) local_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)) local_unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3vox10NodeEditororENS0_15SaveReasonFlagsES1_(i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImRect5FloorEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #4 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 #6 align 2

declare <2 x float> @_ZN5ImGui17GetMouseDragDeltaEif(i32 noundef, float noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN3vox10NodeEditor6Detail10SizeAction7ProcessERKNS1_7ControlE(ptr noundef nonnull align 8 dereferenceable(96) %0, ptr nocapture noundef nonnull readonly align 8 dereferenceable(132) %1) unnamed_addr #2 align 2 {
  %3 = alloca %struct.ImVec2, align 8
  %4 = alloca %struct.ImVec2, align 8
  %5 = alloca %struct.ImVec2, align 8
  %6 = alloca %struct.ImVec2, align 8
  %7 = alloca %struct.ImVec2, align 8
  %8 = alloca %struct.ImVec2, align 8
  %9 = alloca %struct.ImVec2, align 8
  %10 = alloca %struct.ImRect, align 4
  %11 = getelementptr inbounds i8, ptr %0, i64 17
  %12 = load i8, ptr %11, align 1, !tbaa !5, !range !17, !noundef !18
  %13 = trunc nuw i8 %12 to i1
  br i1 %13, label %14, label %49

14:                                               ; preds = %2
  store i8 0, ptr %11, align 1, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %0, i64 24
  %16 = load ptr, ptr %15, align 8, !tbaa !19
  %17 = getelementptr inbounds i8, ptr %16, i64 36
  %18 = getelementptr inbounds i8, ptr %0, i64 32
  %19 = tail call noundef zeroext i1 @_ZneRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %18)
  br i1 %19, label %25, label %20

20:                                               ; preds = %14
  %21 = load ptr, ptr %15, align 8, !tbaa !19
  %22 = getelementptr inbounds i8, ptr %21, i64 104
  %23 = getelementptr inbounds i8, ptr %0, i64 48
  %24 = tail call noundef zeroext i1 @_ZneRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %22, ptr noundef nonnull align 4 dereferenceable(8) %23)
  br i1 %24, label %25, label %30

25:                                               ; preds = %20, %14
  %26 = getelementptr inbounds i8, ptr %0, i64 8
  %27 = load ptr, ptr %26, align 8, !tbaa !20
  %28 = tail call noundef i32 @_ZN3vox10NodeEditororENS0_15SaveReasonFlagsES1_(i32 noundef 2, i32 noundef 16)
  %29 = load ptr, ptr %15, align 8, !tbaa !19
  tail call void @_ZN3vox10NodeEditor6Detail13EditorContext9MakeDirtyENS0_15SaveReasonFlagsEPNS1_4NodeE(ptr noundef nonnull align 8 dereferenceable(2040) %27, i32 noundef %28, ptr noundef %29)
  br label %30

30:                                               ; preds = %25, %20
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #8
  %31 = load ptr, ptr %15, align 8, !tbaa !19
  %32 = getelementptr inbounds i8, ptr %31, i64 36
  %33 = tail call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %32)
  store <2 x float> %33, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #8
  %34 = tail call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %18)
  store <2 x float> %34, ptr %4, align 8
  %35 = 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.start.p0(i64 8, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  br i1 %35, label %.critedge, label %36

36:                                               ; preds = %30
  %37 = load ptr, ptr %15, align 8, !tbaa !19
  %38 = getelementptr inbounds i8, ptr %37, i64 104
  %39 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %38)
  store <2 x float> %39, ptr %5, align 8
  %40 = getelementptr inbounds i8, ptr %0, i64 48
  %41 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %40)
  store <2 x float> %41, ptr %6, align 8
  %42 = call noundef zeroext i1 @_ZneRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %5, ptr noundef nonnull align 4 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  br i1 %42, label %43, label %48

.critedge:                                        ; preds = %30
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  br label %43

43:                                               ; preds = %.critedge, %36
  %44 = getelementptr inbounds i8, ptr %0, i64 8
  %45 = load ptr, ptr %44, align 8, !tbaa !20
  %46 = call noundef i32 @_ZN3vox10NodeEditororENS0_15SaveReasonFlagsES1_(i32 noundef 4, i32 noundef 16)
  %47 = load ptr, ptr %15, align 8, !tbaa !19
  call void @_ZN3vox10NodeEditor6Detail13EditorContext9MakeDirtyENS0_15SaveReasonFlagsEPNS1_4NodeE(ptr noundef nonnull align 8 dereferenceable(2040) %45, i32 noundef %46, ptr noundef %47)
  br label %48

48:                                               ; preds = %43, %36
  store ptr null, ptr %15, align 8, !tbaa !19
  br label %49

49:                                               ; preds = %48, %2
  %50 = getelementptr inbounds i8, ptr %0, i64 16
  %51 = load i8, ptr %50, align 8, !tbaa !21, !range !17, !noundef !18
  %52 = trunc nuw i8 %51 to i1
  br i1 %52, label %53, label %172

53:                                               ; preds = %49
  %54 = getelementptr inbounds i8, ptr %1, i64 40
  %55 = load ptr, ptr %54, align 8, !tbaa !22
  %56 = getelementptr inbounds i8, ptr %0, i64 24
  %57 = load ptr, ptr %56, align 8, !tbaa !19
  %58 = icmp eq ptr %55, %57
  br i1 %58, label %59, label %170

59:                                               ; preds = %53
  %60 = call <2 x float> @_ZN5ImGui17GetMouseDragDeltaEif(i32 noundef 0, float noundef 0.000000e+00)
  %61 = getelementptr inbounds i8, ptr %0, i64 80
  store <2 x float> %60, ptr %61, align 8
  %62 = getelementptr inbounds i8, ptr %0, i64 72
  %63 = load float, ptr %62, align 8, !tbaa !24
  %64 = fcmp oeq float %63, 0.000000e+00
  br i1 %64, label %65, label %76

65:                                               ; preds = %59
  %66 = getelementptr inbounds i8, ptr %0, i64 64
  %67 = load float, ptr %66, align 8, !tbaa !25
  %68 = load ptr, ptr %56, align 8, !tbaa !19
  %69 = getelementptr inbounds i8, ptr %68, i64 36
  %70 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %69)
  %71 = fcmp une float %67, %70
  br i1 %71, label %72, label %76

72:                                               ; preds = %65
  %73 = load ptr, ptr %56, align 8, !tbaa !19
  %74 = getelementptr inbounds i8, ptr %73, i64 36
  %75 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %74)
  store float %75, ptr %62, align 8, !tbaa !24
  br label %76

76:                                               ; preds = %72, %65, %59
  %77 = getelementptr inbounds i8, ptr %0, i64 76
  %78 = load float, ptr %77, align 4, !tbaa !26
  %79 = fcmp oeq float %78, 0.000000e+00
  br i1 %79, label %80, label %91

80:                                               ; preds = %76
  %81 = getelementptr inbounds i8, ptr %0, i64 68
  %82 = load float, ptr %81, align 4, !tbaa !27
  %83 = load ptr, ptr %56, align 8, !tbaa !19
  %84 = getelementptr inbounds i8, ptr %83, i64 36
  %85 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %84)
  %86 = fcmp une float %82, %85
  br i1 %86, label %87, label %91

87:                                               ; preds = %80
  %88 = load ptr, ptr %56, align 8, !tbaa !19
  %89 = getelementptr inbounds i8, ptr %88, i64 36
  %90 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %89)
  store float %90, ptr %77, align 4, !tbaa !26
  br label %91

91:                                               ; preds = %87, %80, %76
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  %92 = getelementptr inbounds i8, ptr %0, i64 32
  %93 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %92)
  store <2 x float> %93, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  %94 = getelementptr inbounds i8, ptr %0, i64 48
  %95 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %94)
  store <2 x float> %95, ptr %9, align 8
  %96 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %96, ptr %7, align 8
  %97 = call <2 x float> @_ZL5ImMaxRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %62, ptr noundef nonnull align 4 dereferenceable(8) %7)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %92, i64 16, i1 false), !tbaa.struct !28
  %98 = getelementptr inbounds i8, ptr %0, i64 88
  %99 = load i8, ptr %98, align 8, !tbaa !30
  %100 = call noundef zeroext i8 @_ZN3vox10NodeEditor6DetailanENS1_10NodeRegionES2_(i8 noundef zeroext %99, i8 noundef zeroext 1)
  %101 = icmp eq i8 %100, 1
  br i1 %101, label %102, label %113

102:                                              ; preds = %91
  %103 = getelementptr inbounds i8, ptr %10, i64 12
  %104 = load float, ptr %103, align 4, !tbaa !31
  %.sroa.01.4.vec.extract = extractelement <2 x float> %97, i64 1
  %105 = fsub float %104, %.sroa.01.4.vec.extract
  %106 = getelementptr inbounds i8, ptr %0, i64 8
  %107 = load ptr, ptr %106, align 8, !tbaa !20
  %108 = getelementptr inbounds i8, ptr %10, i64 4
  %109 = load float, ptr %108, align 4, !tbaa !32
  %.sroa.06.4.vec.extract = extractelement <2 x float> %60, i64 1
  %110 = fadd float %.sroa.06.4.vec.extract, %109
  %111 = call noundef float @_ZNK3vox10NodeEditor6Detail13EditorContext16AlignPointToGridEf(ptr noundef nonnull align 8 dereferenceable(2040) %107, float noundef %110)
  %112 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %105, float noundef %111)
  store float %112, ptr %108, align 4, !tbaa !32
  br label %113

113:                                              ; preds = %102, %91
  %114 = load i8, ptr %98, align 8, !tbaa !30
  %115 = call noundef zeroext i8 @_ZN3vox10NodeEditor6DetailanENS1_10NodeRegionES2_(i8 noundef zeroext %114, i8 noundef zeroext 2)
  %116 = icmp eq i8 %115, 2
  br i1 %116, label %117, label %128

117:                                              ; preds = %113
  %118 = getelementptr inbounds i8, ptr %10, i64 4
  %119 = load float, ptr %118, align 4, !tbaa !32
  %.sroa.01.4.vec.extract5 = extractelement <2 x float> %97, i64 1
  %120 = fadd float %.sroa.01.4.vec.extract5, %119
  %121 = getelementptr inbounds i8, ptr %0, i64 8
  %122 = load ptr, ptr %121, align 8, !tbaa !20
  %123 = getelementptr inbounds i8, ptr %10, i64 12
  %124 = load float, ptr %123, align 4, !tbaa !31
  %.sroa.06.4.vec.extract11 = extractelement <2 x float> %60, i64 1
  %125 = fadd float %.sroa.06.4.vec.extract11, %124
  %126 = call noundef float @_ZNK3vox10NodeEditor6Detail13EditorContext16AlignPointToGridEf(ptr noundef nonnull align 8 dereferenceable(2040) %122, float noundef %125)
  %127 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %120, float noundef %126)
  store float %127, ptr %123, align 4, !tbaa !31
  br label %128

128:                                              ; preds = %117, %113
  %129 = load i8, ptr %98, align 8, !tbaa !30
  %130 = call noundef zeroext i8 @_ZN3vox10NodeEditor6DetailanENS1_10NodeRegionES2_(i8 noundef zeroext %129, i8 noundef zeroext 4)
  %131 = icmp eq i8 %130, 4
  br i1 %131, label %132, label %142

132:                                              ; preds = %128
  %133 = getelementptr inbounds i8, ptr %10, i64 8
  %134 = load float, ptr %133, align 4, !tbaa !33
  %.sroa.01.0.vec.extract = extractelement <2 x float> %97, i64 0
  %135 = fsub float %134, %.sroa.01.0.vec.extract
  %136 = getelementptr inbounds i8, ptr %0, i64 8
  %137 = load ptr, ptr %136, align 8, !tbaa !20
  %138 = load float, ptr %10, align 4, !tbaa !34
  %.sroa.06.0.vec.extract = extractelement <2 x float> %60, i64 0
  %139 = fadd float %.sroa.06.0.vec.extract, %138
  %140 = call noundef float @_ZNK3vox10NodeEditor6Detail13EditorContext16AlignPointToGridEf(ptr noundef nonnull align 8 dereferenceable(2040) %137, float noundef %139)
  %141 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %135, float noundef %140)
  store float %141, ptr %10, align 4, !tbaa !34
  br label %142

142:                                              ; preds = %132, %128
  %143 = load i8, ptr %98, align 8, !tbaa !30
  %144 = call noundef zeroext i8 @_ZN3vox10NodeEditor6DetailanENS1_10NodeRegionES2_(i8 noundef zeroext %143, i8 noundef zeroext 8)
  %145 = icmp eq i8 %144, 8
  br i1 %145, label %146, label %156

146:                                              ; preds = %142
  %147 = load float, ptr %10, align 4, !tbaa !34
  %.sroa.01.0.vec.extract3 = extractelement <2 x float> %97, i64 0
  %148 = fadd float %.sroa.01.0.vec.extract3, %147
  %149 = getelementptr inbounds i8, ptr %0, i64 8
  %150 = load ptr, ptr %149, align 8, !tbaa !20
  %151 = getelementptr inbounds i8, ptr %10, i64 8
  %152 = load float, ptr %151, align 4, !tbaa !33
  %.sroa.06.0.vec.extract8 = extractelement <2 x float> %60, i64 0
  %153 = fadd float %.sroa.06.0.vec.extract8, %152
  %154 = call noundef float @_ZNK3vox10NodeEditor6Detail13EditorContext16AlignPointToGridEf(ptr noundef nonnull align 8 dereferenceable(2040) %150, float noundef %153)
  %155 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %148, float noundef %154)
  store float %155, ptr %151, align 4, !tbaa !33
  br label %156

156:                                              ; preds = %146, %142
  call void @_ZN6ImRect5FloorEv(ptr noundef nonnull align 4 dereferenceable(16) %10)
  %157 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %10)
  %158 = getelementptr inbounds i8, ptr %0, i64 64
  store <2 x float> %157, ptr %158, align 8
  %159 = load ptr, ptr %56, align 8, !tbaa !19
  %160 = getelementptr inbounds i8, ptr %159, i64 36
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %160, ptr noundef nonnull align 4 dereferenceable(16) %10, i64 16, i1 false), !tbaa.struct !28
  %161 = load ptr, ptr %56, align 8, !tbaa !19
  %162 = getelementptr inbounds i8, ptr %161, i64 104
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %162, ptr noundef nonnull align 4 dereferenceable(16) %10, i64 16, i1 false), !tbaa.struct !28
  %163 = load ptr, ptr %56, align 8, !tbaa !19
  %164 = getelementptr inbounds i8, ptr %163, i64 104
  %165 = load <4 x float>, ptr %92, align 8, !tbaa !29
  %166 = load <4 x float>, ptr %94, align 8, !tbaa !29
  %167 = fsub <4 x float> %165, %166
  %168 = load <4 x float>, ptr %164, align 8, !tbaa !29
  %169 = fsub <4 x float> %168, %167
  store <4 x float> %169, ptr %164, align 8, !tbaa !29
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #8
  %.pre = load i8, ptr %50, align 8, !tbaa !21, !range !17
  %.pre17 = trunc nuw i8 %.pre to i1
  br label %172

170:                                              ; preds = %53
  %.not = icmp eq ptr %55, null
  br i1 %.not, label %171, label %172

171:                                              ; preds = %170
  store i8 1, ptr %11, align 1, !tbaa !5
  store i8 0, ptr %50, align 8, !tbaa !21
  br label %172

172:                                              ; preds = %156, %170, %49, %171
  %.0 = phi i1 [ true, %171 ], [ false, %49 ], [ true, %170 ], [ %.pre17, %156 ]
  ret i1 %.0
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i8 @_ZN3vox10NodeEditor6DetailanENS1_10NodeRegionES2_(i8 noundef zeroext, i8 noundef zeroext) local_unnamed_addr #3

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

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

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 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 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 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 #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 = { 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, !11, i64 17}
!6 = !{!"_ZTSN3vox10NodeEditor6Detail10SizeActionE", !7, i64 0, !11, i64 16, !11, i64 17, !8, i64 24, !12, i64 32, !12, i64 48, !13, i64 64, !13, i64 72, !13, i64 80, !15, i64 88, !16, i64 92}
!7 = !{!"_ZTSN3vox10NodeEditor6Detail12EditorActionE", !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"bool", !9, i64 0}
!12 = !{!"_ZTS6ImRect", !13, i64 0, !13, i64 8}
!13 = !{!"_ZTS6ImVec2", !14, i64 0, !14, i64 4}
!14 = !{!"float", !9, i64 0}
!15 = !{!"_ZTSN3vox10NodeEditor6Detail10NodeRegionE", !9, i64 0}
!16 = !{!"int", !9, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!6, !8, i64 24}
!20 = !{!7, !8, i64 8}
!21 = !{!6, !11, i64 16}
!22 = !{!23, !8, i64 40}
!23 = !{!"_ZTSN3vox10NodeEditor6Detail7ControlE", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !8, i64 40, !8, i64 48, !8, i64 56, !8, i64 64, !8, i64 72, !8, i64 80, !8, i64 88, !8, i64 96, !8, i64 104, !8, i64 112, !8, i64 120, !11, i64 128, !11, i64 129, !11, i64 130, !11, i64 131}
!24 = !{!6, !14, i64 72}
!25 = !{!6, !14, i64 64}
!26 = !{!6, !14, i64 76}
!27 = !{!6, !14, i64 68}
!28 = !{i64 0, i64 4, !29, i64 4, i64 4, !29, i64 8, i64 4, !29, i64 12, i64 4, !29}
!29 = !{!14, !14, i64 0}
!30 = !{!6, !15, i64 88}
!31 = !{!12, !14, i64 12}
!32 = !{!12, !14, i64 4}
!33 = !{!12, !14, i64 8}
!34 = !{!12, !14, i64 0}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass