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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }
%"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::Object" = type <{ ptr, ptr, i8, [7 x i8] }>
%"struct.ImGuiEx::CanvasView" = type { %struct.ImVec2, float, float }

; 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
define dso_local { <2 x float>, <2 x float> } @_ZNK3vox10NodeEditor6Detail4Node15GetRegionBoundsENS1_10NodeRegionE(ptr noundef nonnull align 8 dereferenceable(128) %0, i8 noundef zeroext %1) #2 align 2 {
  %3 = alloca %struct.ImRect, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i8, align 1
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca %struct.ImVec2, align 4
  %9 = alloca %struct.ImVec2, align 4
  %10 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i8 %1, ptr %5, align 1, !tbaa !9
  %11 = load ptr, ptr %4, align 8
  %12 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %11, i32 0, i32 3
  %13 = load i32, ptr %12, align 8, !tbaa !11
  %14 = icmp eq i32 %13, 0
  br i1 %14, label %15, label %21

15:                                               ; preds = %2
  %16 = load i8, ptr %5, align 1, !tbaa !9
  %17 = icmp eq i8 %16, 32
  br i1 %17, label %18, label %20

18:                                               ; preds = %15
  %19 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %11, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 %19, i64 16, i1 false), !tbaa.struct !24
  br label %291

20:                                               ; preds = %15
  br label %290

21:                                               ; preds = %2
  %22 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %11, i32 0, i32 3
  %23 = load i32, ptr %22, align 8, !tbaa !11
  %24 = icmp eq i32 %23, 1
  br i1 %24, label %25, label %289

25:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  %26 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Object", ptr %11, i32 0, i32 1
  %27 = load ptr, ptr %26, align 8, !tbaa !26
  %28 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK3vox10NodeEditor6Detail13EditorContext7GetViewEv(ptr noundef nonnull align 8 dereferenceable(2040) %27)
  %29 = getelementptr inbounds %"struct.ImGuiEx::CanvasView", ptr %28, i32 0, i32 2
  %30 = load float, ptr %29, align 4, !tbaa !27
  %31 = fmul float %30, 6.000000e+00
  %32 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %11, i32 0, i32 14
  %33 = load float, ptr %32, align 8, !tbaa !29
  %34 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %31, float noundef %33)
  %35 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %34, float noundef 6.000000e+00)
  store float %35, ptr %6, align 4, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  %36 = load float, ptr %6, align 4, !tbaa !25
  %37 = fmul float %36, 5.000000e+00
  store float %37, ptr %7, align 4, !tbaa !25
  %38 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %11, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 %38, i64 16, i1 false), !tbaa.struct !24
  %39 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %3)
  %40 = load float, ptr %7, align 4, !tbaa !25
  %41 = fcmp olt float %39, %40
  br i1 %41, label %42, label %46

42:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %43 = load float, ptr %7, align 4, !tbaa !25
  %44 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %3)
  %45 = fsub float %43, %44
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef %45, float noundef 0.000000e+00)
  call void @_ZN6ImRect6ExpandERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(8) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %46

46:                                               ; preds = %42, %25
  %47 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %3)
  %48 = load float, ptr %7, align 4, !tbaa !25
  %49 = fcmp olt float %47, %48
  br i1 %49, label %50, label %54

50:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %51 = load float, ptr %7, align 4, !tbaa !25
  %52 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %3)
  %53 = fsub float %51, %52
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef 0.000000e+00, float noundef %53)
  call void @_ZN6ImRect6ExpandERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(8) %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %54

54:                                               ; preds = %50, %46
  %55 = load i8, ptr %5, align 1, !tbaa !9
  %56 = icmp eq i8 %55, 1
  br i1 %56, label %57, label %75

57:                                               ; preds = %54
  %58 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 0
  %59 = getelementptr inbounds %struct.ImVec2, ptr %58, i32 0, i32 1
  %60 = load float, ptr %59, align 4, !tbaa !30
  %61 = load float, ptr %6, align 4, !tbaa !25
  %62 = fadd float %60, %61
  %63 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 1
  %64 = getelementptr inbounds %struct.ImVec2, ptr %63, i32 0, i32 1
  store float %62, ptr %64, align 4, !tbaa !31
  %65 = load float, ptr %6, align 4, !tbaa !25
  %66 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 0
  %67 = getelementptr inbounds %struct.ImVec2, ptr %66, i32 0, i32 0
  %68 = load float, ptr %67, align 4, !tbaa !32
  %69 = fadd float %68, %65
  store float %69, ptr %67, align 4, !tbaa !32
  %70 = load float, ptr %6, align 4, !tbaa !25
  %71 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 1
  %72 = getelementptr inbounds %struct.ImVec2, ptr %71, i32 0, i32 0
  %73 = load float, ptr %72, align 4, !tbaa !33
  %74 = fsub float %73, %70
  store float %74, ptr %72, align 4, !tbaa !33
  store i32 1, ptr %10, align 4
  br label %286

75:                                               ; preds = %54
  %76 = load i8, ptr %5, align 1, !tbaa !9
  %77 = icmp eq i8 %76, 2
  br i1 %77, label %78, label %96

78:                                               ; preds = %75
  %79 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 1
  %80 = getelementptr inbounds %struct.ImVec2, ptr %79, i32 0, i32 1
  %81 = load float, ptr %80, align 4, !tbaa !31
  %82 = load float, ptr %6, align 4, !tbaa !25
  %83 = fsub float %81, %82
  %84 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 0
  %85 = getelementptr inbounds %struct.ImVec2, ptr %84, i32 0, i32 1
  store float %83, ptr %85, align 4, !tbaa !30
  %86 = load float, ptr %6, align 4, !tbaa !25
  %87 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 0
  %88 = getelementptr inbounds %struct.ImVec2, ptr %87, i32 0, i32 0
  %89 = load float, ptr %88, align 4, !tbaa !32
  %90 = fadd float %89, %86
  store float %90, ptr %88, align 4, !tbaa !32
  %91 = load float, ptr %6, align 4, !tbaa !25
  %92 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 1
  %93 = getelementptr inbounds %struct.ImVec2, ptr %92, i32 0, i32 0
  %94 = load float, ptr %93, align 4, !tbaa !33
  %95 = fsub float %94, %91
  store float %95, ptr %93, align 4, !tbaa !33
  store i32 1, ptr %10, align 4
  br label %286

96:                                               ; preds = %75
  %97 = load i8, ptr %5, align 1, !tbaa !9
  %98 = icmp eq i8 %97, 4
  br i1 %98, label %99, label %117

99:                                               ; preds = %96
  %100 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 0
  %101 = getelementptr inbounds %struct.ImVec2, ptr %100, i32 0, i32 0
  %102 = load float, ptr %101, align 4, !tbaa !32
  %103 = load float, ptr %6, align 4, !tbaa !25
  %104 = fadd float %102, %103
  %105 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 1
  %106 = getelementptr inbounds %struct.ImVec2, ptr %105, i32 0, i32 0
  store float %104, ptr %106, align 4, !tbaa !33
  %107 = load float, ptr %6, align 4, !tbaa !25
  %108 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 0
  %109 = getelementptr inbounds %struct.ImVec2, ptr %108, i32 0, i32 1
  %110 = load float, ptr %109, align 4, !tbaa !30
  %111 = fadd float %110, %107
  store float %111, ptr %109, align 4, !tbaa !30
  %112 = load float, ptr %6, align 4, !tbaa !25
  %113 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 1
  %114 = getelementptr inbounds %struct.ImVec2, ptr %113, i32 0, i32 1
  %115 = load float, ptr %114, align 4, !tbaa !31
  %116 = fsub float %115, %112
  store float %116, ptr %114, align 4, !tbaa !31
  store i32 1, ptr %10, align 4
  br label %286

117:                                              ; preds = %96
  %118 = load i8, ptr %5, align 1, !tbaa !9
  %119 = icmp eq i8 %118, 8
  br i1 %119, label %120, label %138

120:                                              ; preds = %117
  %121 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 1
  %122 = getelementptr inbounds %struct.ImVec2, ptr %121, i32 0, i32 0
  %123 = load float, ptr %122, align 4, !tbaa !33
  %124 = load float, ptr %6, align 4, !tbaa !25
  %125 = fsub float %123, %124
  %126 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 0
  %127 = getelementptr inbounds %struct.ImVec2, ptr %126, i32 0, i32 0
  store float %125, ptr %127, align 4, !tbaa !32
  %128 = load float, ptr %6, align 4, !tbaa !25
  %129 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 0
  %130 = getelementptr inbounds %struct.ImVec2, ptr %129, i32 0, i32 1
  %131 = load float, ptr %130, align 4, !tbaa !30
  %132 = fadd float %131, %128
  store float %132, ptr %130, align 4, !tbaa !30
  %133 = load float, ptr %6, align 4, !tbaa !25
  %134 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 1
  %135 = getelementptr inbounds %struct.ImVec2, ptr %134, i32 0, i32 1
  %136 = load float, ptr %135, align 4, !tbaa !31
  %137 = fsub float %136, %133
  store float %137, ptr %135, align 4, !tbaa !31
  store i32 1, ptr %10, align 4
  br label %286

138:                                              ; preds = %117
  %139 = load i8, ptr %5, align 1, !tbaa !9
  %140 = icmp eq i8 %139, 5
  br i1 %140, label %141, label %156

141:                                              ; preds = %138
  %142 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 0
  %143 = getelementptr inbounds %struct.ImVec2, ptr %142, i32 0, i32 0
  %144 = load float, ptr %143, align 4, !tbaa !32
  %145 = load float, ptr %6, align 4, !tbaa !25
  %146 = call float @llvm.fmuladd.f32(float %145, float 2.000000e+00, float %144)
  %147 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 1
  %148 = getelementptr inbounds %struct.ImVec2, ptr %147, i32 0, i32 0
  store float %146, ptr %148, align 4, !tbaa !33
  %149 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 0
  %150 = getelementptr inbounds %struct.ImVec2, ptr %149, i32 0, i32 1
  %151 = load float, ptr %150, align 4, !tbaa !30
  %152 = load float, ptr %6, align 4, !tbaa !25
  %153 = call float @llvm.fmuladd.f32(float %152, float 2.000000e+00, float %151)
  %154 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 1
  %155 = getelementptr inbounds %struct.ImVec2, ptr %154, i32 0, i32 1
  store float %153, ptr %155, align 4, !tbaa !31
  store i32 1, ptr %10, align 4
  br label %286

156:                                              ; preds = %138
  %157 = load i8, ptr %5, align 1, !tbaa !9
  %158 = icmp eq i8 %157, 9
  br i1 %158, label %159, label %175

159:                                              ; preds = %156
  %160 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 1
  %161 = getelementptr inbounds %struct.ImVec2, ptr %160, i32 0, i32 0
  %162 = load float, ptr %161, align 4, !tbaa !33
  %163 = load float, ptr %6, align 4, !tbaa !25
  %164 = fneg float %163
  %165 = call float @llvm.fmuladd.f32(float %164, float 2.000000e+00, float %162)
  %166 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 0
  %167 = getelementptr inbounds %struct.ImVec2, ptr %166, i32 0, i32 0
  store float %165, ptr %167, align 4, !tbaa !32
  %168 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 0
  %169 = getelementptr inbounds %struct.ImVec2, ptr %168, i32 0, i32 1
  %170 = load float, ptr %169, align 4, !tbaa !30
  %171 = load float, ptr %6, align 4, !tbaa !25
  %172 = call float @llvm.fmuladd.f32(float %171, float 2.000000e+00, float %170)
  %173 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 1
  %174 = getelementptr inbounds %struct.ImVec2, ptr %173, i32 0, i32 1
  store float %172, ptr %174, align 4, !tbaa !31
  store i32 1, ptr %10, align 4
  br label %286

175:                                              ; preds = %156
  %176 = load i8, ptr %5, align 1, !tbaa !9
  %177 = icmp eq i8 %176, 10
  br i1 %177, label %178, label %195

178:                                              ; preds = %175
  %179 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 1
  %180 = getelementptr inbounds %struct.ImVec2, ptr %179, i32 0, i32 0
  %181 = load float, ptr %180, align 4, !tbaa !33
  %182 = load float, ptr %6, align 4, !tbaa !25
  %183 = fneg float %182
  %184 = call float @llvm.fmuladd.f32(float %183, float 2.000000e+00, float %181)
  %185 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 0
  %186 = getelementptr inbounds %struct.ImVec2, ptr %185, i32 0, i32 0
  store float %184, ptr %186, align 4, !tbaa !32
  %187 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 1
  %188 = getelementptr inbounds %struct.ImVec2, ptr %187, i32 0, i32 1
  %189 = load float, ptr %188, align 4, !tbaa !31
  %190 = load float, ptr %6, align 4, !tbaa !25
  %191 = fneg float %190
  %192 = call float @llvm.fmuladd.f32(float %191, float 2.000000e+00, float %189)
  %193 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 0
  %194 = getelementptr inbounds %struct.ImVec2, ptr %193, i32 0, i32 1
  store float %192, ptr %194, align 4, !tbaa !30
  store i32 1, ptr %10, align 4
  br label %286

195:                                              ; preds = %175
  %196 = load i8, ptr %5, align 1, !tbaa !9
  %197 = icmp eq i8 %196, 6
  br i1 %197, label %198, label %214

198:                                              ; preds = %195
  %199 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 0
  %200 = getelementptr inbounds %struct.ImVec2, ptr %199, i32 0, i32 0
  %201 = load float, ptr %200, align 4, !tbaa !32
  %202 = load float, ptr %6, align 4, !tbaa !25
  %203 = call float @llvm.fmuladd.f32(float %202, float 2.000000e+00, float %201)
  %204 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 1
  %205 = getelementptr inbounds %struct.ImVec2, ptr %204, i32 0, i32 0
  store float %203, ptr %205, align 4, !tbaa !33
  %206 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 1
  %207 = getelementptr inbounds %struct.ImVec2, ptr %206, i32 0, i32 1
  %208 = load float, ptr %207, align 4, !tbaa !31
  %209 = load float, ptr %6, align 4, !tbaa !25
  %210 = fneg float %209
  %211 = call float @llvm.fmuladd.f32(float %210, float 2.000000e+00, float %208)
  %212 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 0
  %213 = getelementptr inbounds %struct.ImVec2, ptr %212, i32 0, i32 1
  store float %211, ptr %213, align 4, !tbaa !30
  store i32 1, ptr %10, align 4
  br label %286

214:                                              ; preds = %195
  %215 = load i8, ptr %5, align 1, !tbaa !9
  %216 = icmp eq i8 %215, 32
  br i1 %216, label %217, label %245

217:                                              ; preds = %214
  %218 = load float, ptr %6, align 4, !tbaa !25
  %219 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 0
  %220 = getelementptr inbounds %struct.ImVec2, ptr %219, i32 0, i32 0
  %221 = load float, ptr %220, align 4, !tbaa !32
  %222 = fadd float %221, %218
  store float %222, ptr %220, align 4, !tbaa !32
  %223 = load float, ptr %6, align 4, !tbaa !25
  %224 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 1
  %225 = getelementptr inbounds %struct.ImVec2, ptr %224, i32 0, i32 0
  %226 = load float, ptr %225, align 4, !tbaa !33
  %227 = fsub float %226, %223
  store float %227, ptr %225, align 4, !tbaa !33
  %228 = load float, ptr %6, align 4, !tbaa !25
  %229 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 0
  %230 = getelementptr inbounds %struct.ImVec2, ptr %229, i32 0, i32 1
  %231 = load float, ptr %230, align 4, !tbaa !30
  %232 = fadd float %231, %228
  store float %232, ptr %230, align 4, !tbaa !30
  %233 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 0
  %234 = getelementptr inbounds %struct.ImVec2, ptr %233, i32 0, i32 1
  %235 = load float, ptr %234, align 4, !tbaa !30
  %236 = load float, ptr %6, align 4, !tbaa !25
  %237 = fadd float %235, %236
  %238 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %11, i32 0, i32 16
  %239 = getelementptr inbounds %struct.ImRect, ptr %238, i32 0, i32 0
  %240 = getelementptr inbounds %struct.ImVec2, ptr %239, i32 0, i32 1
  %241 = load float, ptr %240, align 4, !tbaa !34
  %242 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %237, float noundef %241)
  %243 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 1
  %244 = getelementptr inbounds %struct.ImVec2, ptr %243, i32 0, i32 1
  store float %242, ptr %244, align 4, !tbaa !31
  store i32 1, ptr %10, align 4
  br label %286

245:                                              ; preds = %214
  %246 = load i8, ptr %5, align 1, !tbaa !9
  %247 = icmp eq i8 %246, 16
  br i1 %247, label %248, label %276

248:                                              ; preds = %245
  %249 = load float, ptr %6, align 4, !tbaa !25
  %250 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 1
  %251 = getelementptr inbounds %struct.ImVec2, ptr %250, i32 0, i32 0
  %252 = load float, ptr %251, align 4, !tbaa !33
  %253 = fsub float %252, %249
  store float %253, ptr %251, align 4, !tbaa !33
  %254 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 0
  %255 = getelementptr inbounds %struct.ImVec2, ptr %254, i32 0, i32 1
  %256 = load float, ptr %255, align 4, !tbaa !30
  %257 = load float, ptr %6, align 4, !tbaa !25
  %258 = fadd float %256, %257
  %259 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Node", ptr %11, i32 0, i32 16
  %260 = getelementptr inbounds %struct.ImRect, ptr %259, i32 0, i32 0
  %261 = getelementptr inbounds %struct.ImVec2, ptr %260, i32 0, i32 1
  %262 = load float, ptr %261, align 4, !tbaa !34
  %263 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %258, float noundef %262)
  %264 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 0
  %265 = getelementptr inbounds %struct.ImVec2, ptr %264, i32 0, i32 1
  store float %263, ptr %265, align 4, !tbaa !30
  %266 = load float, ptr %6, align 4, !tbaa !25
  %267 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 0
  %268 = getelementptr inbounds %struct.ImVec2, ptr %267, i32 0, i32 0
  %269 = load float, ptr %268, align 4, !tbaa !32
  %270 = fadd float %269, %266
  store float %270, ptr %268, align 4, !tbaa !32
  %271 = load float, ptr %6, align 4, !tbaa !25
  %272 = getelementptr inbounds %struct.ImRect, ptr %3, i32 0, i32 1
  %273 = getelementptr inbounds %struct.ImVec2, ptr %272, i32 0, i32 1
  %274 = load float, ptr %273, align 4, !tbaa !31
  %275 = fsub float %274, %271
  store float %275, ptr %273, align 4, !tbaa !31
  store i32 1, ptr %10, align 4
  br label %286

276:                                              ; preds = %245
  br label %277

277:                                              ; preds = %276
  br label %278

278:                                              ; preds = %277
  br label %279

279:                                              ; preds = %278
  br label %280

280:                                              ; preds = %279
  br label %281

281:                                              ; preds = %280
  br label %282

282:                                              ; preds = %281
  br label %283

283:                                              ; preds = %282
  br label %284

284:                                              ; preds = %283
  br label %285

285:                                              ; preds = %284
  store i32 0, ptr %10, align 4
  br label %286

286:                                              ; preds = %285, %248, %217, %198, %178, %159, %141, %120, %99, %78, %57
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  %287 = load i32, ptr %10, align 4
  switch i32 %287, label %293 [
    i32 0, label %288
    i32 1, label %291
  ]

288:                                              ; preds = %286
  br label %289

289:                                              ; preds = %288, %21
  br label %290

290:                                              ; preds = %289, %20
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %3)
  br label %291

291:                                              ; preds = %290, %286, %18
  %292 = load { <2 x float>, <2 x float> }, ptr %3, align 4
  ret { <2 x float>, <2 x float> } %292

293:                                              ; preds = %286
  unreachable
}

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

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

; 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 void @_ZN6ImRect6ExpandERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(8)) #4 align 2

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #2 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"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTSN3vox10NodeEditor6Detail10NodeRegionE", !7, i64 0}
!11 = !{!12, !19, i64 32}
!12 = !{!"_ZTSN3vox10NodeEditor6Detail4NodeE", !13, i64 0, !15, i64 24, !19, i64 32, !20, i64 36, !23, i64 52, !6, i64 56, !21, i64 64, !23, i64 72, !23, i64 76, !22, i64 80, !22, i64 84, !23, i64 88, !23, i64 92, !22, i64 96, !22, i64 100, !20, i64 104, !14, i64 120, !14, i64 121}
!13 = !{!"_ZTSN3vox10NodeEditor6Detail6ObjectE", !6, i64 8, !14, i64 16}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTSN3vox10NodeEditor6NodeIdE", !16, i64 0}
!16 = !{!"_ZTSN3vox10NodeEditor7Details15SafePointerTypeINS0_6NodeIdEEE", !17, i64 0}
!17 = !{!"_ZTSN3vox10NodeEditor7Details8SafeTypeImNS0_6NodeIdEEE", !18, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!"_ZTSN3vox10NodeEditor6Detail8NodeTypeE", !7, i64 0}
!20 = !{!"_ZTS6ImRect", !21, i64 0, !21, i64 8}
!21 = !{!"_ZTS6ImVec2", !22, i64 0, !22, i64 4}
!22 = !{!"float", !7, i64 0}
!23 = !{!"int", !7, i64 0}
!24 = !{i64 0, i64 4, !25, i64 4, i64 4, !25, i64 8, i64 4, !25, i64 12, i64 4, !25}
!25 = !{!22, !22, i64 0}
!26 = !{!13, !6, i64 8}
!27 = !{!28, !22, i64 12}
!28 = !{!"_ZTSN7ImGuiEx10CanvasViewE", !21, i64 0, !22, i64 8, !22, i64 12}
!29 = !{!12, !22, i64 96}
!30 = !{!20, !22, i64 4}
!31 = !{!20, !22, i64 12}
!32 = !{!20, !22, i64 0}
!33 = !{!20, !22, i64 8}
!34 = !{!12, !22, i64 108}


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

; 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
define dso_local { <2 x float>, <2 x float> } @_ZNK3vox10NodeEditor6Detail4Node15GetRegionBoundsENS1_10NodeRegionE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(128) %0, i8 noundef zeroext %1) local_unnamed_addr #2 align 2 {
  %3 = alloca %struct.ImRect, align 16
  %4 = alloca %struct.ImVec2, align 4
  %5 = alloca %struct.ImVec2, align 4
  %6 = getelementptr inbounds i8, ptr %0, i64 32
  %7 = load i32, ptr %6, align 8, !tbaa !5
  switch i32 %7, label %138 [
    i32 0, label %8
    i32 1, label %12
  ]

8:                                                ; preds = %2
  %9 = icmp eq i8 %1, 32
  br i1 %9, label %10, label %138

10:                                               ; preds = %8
  %11 = getelementptr inbounds i8, ptr %0, i64 36
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(16) %11, i64 16, i1 false), !tbaa.struct !21
  br label %.thread

12:                                               ; preds = %2
  %13 = getelementptr inbounds i8, ptr %0, i64 8
  %14 = load ptr, ptr %13, align 8, !tbaa !23
  %15 = tail call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK3vox10NodeEditor6Detail13EditorContext7GetViewEv(ptr noundef nonnull align 8 dereferenceable(2040) %14)
  %16 = getelementptr inbounds i8, ptr %15, i64 12
  %17 = load float, ptr %16, align 4, !tbaa !24
  %18 = fmul float %17, 6.000000e+00
  %19 = getelementptr inbounds i8, ptr %0, i64 96
  %20 = load float, ptr %19, align 8, !tbaa !26
  %21 = tail call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %18, float noundef %20)
  %22 = tail call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %21, float noundef 6.000000e+00)
  %23 = fmul float %22, 5.000000e+00
  %24 = getelementptr inbounds i8, ptr %0, i64 36
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(16) %24, i64 16, i1 false), !tbaa.struct !21
  %25 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %3)
  %26 = fcmp olt float %25, %23
  br i1 %26, label %27, label %30

27:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %28 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %3)
  %29 = fsub float %23, %28
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %4, float noundef %29, float noundef 0.000000e+00)
  call void @_ZN6ImRect6ExpandERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(8) %4)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  br label %30

30:                                               ; preds = %27, %12
  %31 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %3)
  %32 = fcmp olt float %31, %23
  br i1 %32, label %33, label %36

33:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %34 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %3)
  %35 = fsub float %23, %34
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef 0.000000e+00, float noundef %35)
  call void @_ZN6ImRect6ExpandERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(8) %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  br label %36

36:                                               ; preds = %33, %30
  switch i8 %1, label %138 [
    i8 1, label %37
    i8 2, label %47
    i8 4, label %57
    i8 8, label %67
    i8 5, label %77
    i8 9, label %83
    i8 10, label %92
    i8 6, label %99
    i8 32, label %109
    i8 16, label %123
  ]

37:                                               ; preds = %36
  %38 = getelementptr inbounds i8, ptr %3, i64 4
  %39 = load float, ptr %38, align 4, !tbaa !27
  %40 = fadd float %22, %39
  %41 = getelementptr inbounds i8, ptr %3, i64 8
  %42 = getelementptr inbounds i8, ptr %3, i64 12
  store float %40, ptr %42, align 4, !tbaa !28
  %43 = load float, ptr %3, align 16, !tbaa !29
  %44 = fadd float %22, %43
  store float %44, ptr %3, align 16, !tbaa !29
  %45 = load float, ptr %41, align 8, !tbaa !30
  %46 = fsub float %45, %22
  store float %46, ptr %41, align 8, !tbaa !30
  br label %.thread

47:                                               ; preds = %36
  %48 = getelementptr inbounds i8, ptr %3, i64 8
  %49 = getelementptr inbounds i8, ptr %3, i64 4
  %50 = load float, ptr %3, align 16, !tbaa !29
  %51 = fadd float %22, %50
  store float %51, ptr %3, align 16, !tbaa !29
  %52 = load <2 x float>, ptr %48, align 8, !tbaa !22
  %53 = insertelement <2 x float> poison, float %22, i64 0
  %54 = shufflevector <2 x float> %53, <2 x float> poison, <2 x i32> zeroinitializer
  %55 = fsub <2 x float> %52, %54
  %56 = shufflevector <2 x float> %55, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  store <2 x float> %56, ptr %49, align 4, !tbaa !22
  br label %.thread

57:                                               ; preds = %36
  %58 = getelementptr inbounds i8, ptr %3, i64 4
  %59 = load <2 x float>, ptr %3, align 16, !tbaa !22
  %60 = insertelement <2 x float> poison, float %22, i64 0
  %61 = shufflevector <2 x float> %60, <2 x float> poison, <2 x i32> zeroinitializer
  %62 = fadd <2 x float> %61, %59
  %63 = shufflevector <2 x float> %62, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  store <2 x float> %63, ptr %58, align 4, !tbaa !22
  %64 = getelementptr inbounds i8, ptr %3, i64 12
  %65 = load float, ptr %64, align 4, !tbaa !28
  %66 = fsub float %65, %22
  store float %66, ptr %64, align 4, !tbaa !28
  br label %.thread

67:                                               ; preds = %36
  %68 = getelementptr inbounds i8, ptr %3, i64 8
  %69 = load float, ptr %68, align 8, !tbaa !30
  %70 = fsub float %69, %22
  store float %70, ptr %3, align 16, !tbaa !29
  %71 = getelementptr inbounds i8, ptr %3, i64 4
  %72 = load float, ptr %71, align 4, !tbaa !27
  %73 = fadd float %22, %72
  store float %73, ptr %71, align 4, !tbaa !27
  %74 = getelementptr inbounds i8, ptr %3, i64 12
  %75 = load float, ptr %74, align 4, !tbaa !28
  %76 = fsub float %75, %22
  store float %76, ptr %74, align 4, !tbaa !28
  br label %.thread

77:                                               ; preds = %36
  %78 = getelementptr inbounds i8, ptr %3, i64 8
  %79 = load <2 x float>, ptr %3, align 16, !tbaa !22
  %80 = insertelement <2 x float> poison, float %22, i64 0
  %81 = shufflevector <2 x float> %80, <2 x float> poison, <2 x i32> zeroinitializer
  %82 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %81, <2 x float> <float 2.000000e+00, float 2.000000e+00>, <2 x float> %79)
  store <2 x float> %82, ptr %78, align 8, !tbaa !22
  br label %.thread

83:                                               ; preds = %36
  %84 = getelementptr inbounds i8, ptr %3, i64 8
  %85 = load float, ptr %84, align 8, !tbaa !30
  %86 = fneg float %22
  %87 = call float @llvm.fmuladd.f32(float %86, float 2.000000e+00, float %85)
  store float %87, ptr %3, align 16, !tbaa !29
  %88 = getelementptr inbounds i8, ptr %3, i64 4
  %89 = load float, ptr %88, align 4, !tbaa !27
  %90 = call float @llvm.fmuladd.f32(float %22, float 2.000000e+00, float %89)
  %91 = getelementptr inbounds i8, ptr %3, i64 12
  store float %90, ptr %91, align 4, !tbaa !28
  br label %.thread

92:                                               ; preds = %36
  %93 = getelementptr inbounds i8, ptr %3, i64 8
  %94 = fneg float %22
  %95 = load <2 x float>, ptr %93, align 8, !tbaa !22
  %96 = insertelement <2 x float> poison, float %94, i64 0
  %97 = shufflevector <2 x float> %96, <2 x float> poison, <2 x i32> zeroinitializer
  %98 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %97, <2 x float> <float 2.000000e+00, float 2.000000e+00>, <2 x float> %95)
  store <2 x float> %98, ptr %3, align 16, !tbaa !22
  br label %.thread

99:                                               ; preds = %36
  %100 = load float, ptr %3, align 16, !tbaa !29
  %101 = load <4 x float>, ptr %3, align 16
  %102 = shufflevector <4 x float> %101, <4 x float> poison, <2 x i32> <i32 3, i32 poison>
  %103 = fneg float %22
  %104 = getelementptr inbounds i8, ptr %3, i64 4
  %105 = insertelement <2 x float> poison, float %103, i64 0
  %106 = insertelement <2 x float> %105, float %22, i64 1
  %107 = insertelement <2 x float> %102, float %100, i64 1
  %108 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %106, <2 x float> <float 2.000000e+00, float 2.000000e+00>, <2 x float> %107)
  store <2 x float> %108, ptr %104, align 4, !tbaa !22
  br label %.thread

109:                                              ; preds = %36
  %110 = getelementptr inbounds i8, ptr %3, i64 8
  %111 = load float, ptr %110, align 8, !tbaa !30
  %112 = fsub float %111, %22
  store float %112, ptr %110, align 8, !tbaa !30
  %113 = load <2 x float>, ptr %3, align 16, !tbaa !22
  %114 = insertelement <2 x float> poison, float %22, i64 0
  %115 = shufflevector <2 x float> %114, <2 x float> poison, <2 x i32> zeroinitializer
  %116 = fadd <2 x float> %115, %113
  store <2 x float> %116, ptr %3, align 16, !tbaa !22
  %117 = extractelement <2 x float> %116, i64 1
  %118 = fadd float %22, %117
  %119 = getelementptr inbounds i8, ptr %0, i64 108
  %120 = load float, ptr %119, align 4, !tbaa !31
  %121 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %118, float noundef %120)
  %122 = getelementptr inbounds i8, ptr %3, i64 12
  store float %121, ptr %122, align 4, !tbaa !28
  br label %.thread

123:                                              ; preds = %36
  %124 = getelementptr inbounds i8, ptr %3, i64 8
  %125 = load float, ptr %124, align 8, !tbaa !30
  %126 = fsub float %125, %22
  store float %126, ptr %124, align 8, !tbaa !30
  %127 = getelementptr inbounds i8, ptr %3, i64 4
  %128 = load float, ptr %127, align 4, !tbaa !27
  %129 = fadd float %22, %128
  %130 = getelementptr inbounds i8, ptr %0, i64 108
  %131 = load float, ptr %130, align 4, !tbaa !31
  %132 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %129, float noundef %131)
  store float %132, ptr %127, align 4, !tbaa !27
  %133 = load float, ptr %3, align 16, !tbaa !29
  %134 = fadd float %22, %133
  store float %134, ptr %3, align 16, !tbaa !29
  %135 = getelementptr inbounds i8, ptr %3, i64 12
  %136 = load float, ptr %135, align 4, !tbaa !28
  %137 = fsub float %136, %22
  store float %137, ptr %135, align 4, !tbaa !28
  br label %.thread

138:                                              ; preds = %36, %2, %8
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %3)
  br label %.thread

.thread:                                          ; preds = %123, %109, %99, %92, %83, %77, %67, %57, %47, %37, %138, %10
  %.fca.0.load = load <2 x float>, ptr %3, align 16
  %.fca.0.insert = insertvalue { <2 x float>, <2 x float> } poison, <2 x float> %.fca.0.load, 0
  %.fca.1.gep = getelementptr inbounds i8, ptr %3, i64 8
  %.fca.1.load = load <2 x float>, ptr %.fca.1.gep, align 8
  %.fca.1.insert = insertvalue { <2 x float>, <2 x float> } %.fca.0.insert, <2 x float> %.fca.1.load, 1
  ret { <2 x float>, <2 x float> } %.fca.1.insert
}

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

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

; 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 void @_ZN6ImRect6ExpandERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #5

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x float> @llvm.fmuladd.v2f32(<2 x float>, <2 x float>, <2 x float>) #6

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"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { 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, !16, i64 32}
!6 = !{!"_ZTSN3vox10NodeEditor6Detail4NodeE", !7, i64 0, !12, i64 24, !16, i64 32, !17, i64 36, !20, i64 52, !8, i64 56, !18, i64 64, !20, i64 72, !20, i64 76, !19, i64 80, !19, i64 84, !20, i64 88, !20, i64 92, !19, i64 96, !19, i64 100, !17, i64 104, !11, i64 120, !11, i64 121}
!7 = !{!"_ZTSN3vox10NodeEditor6Detail6ObjectE", !8, i64 8, !11, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"bool", !9, i64 0}
!12 = !{!"_ZTSN3vox10NodeEditor6NodeIdE", !13, i64 0}
!13 = !{!"_ZTSN3vox10NodeEditor7Details15SafePointerTypeINS0_6NodeIdEEE", !14, i64 0}
!14 = !{!"_ZTSN3vox10NodeEditor7Details8SafeTypeImNS0_6NodeIdEEE", !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!"_ZTSN3vox10NodeEditor6Detail8NodeTypeE", !9, i64 0}
!17 = !{!"_ZTS6ImRect", !18, i64 0, !18, i64 8}
!18 = !{!"_ZTS6ImVec2", !19, i64 0, !19, i64 4}
!19 = !{!"float", !9, i64 0}
!20 = !{!"int", !9, i64 0}
!21 = !{i64 0, i64 4, !22, i64 4, i64 4, !22, i64 8, i64 4, !22, i64 12, i64 4, !22}
!22 = !{!19, !19, i64 0}
!23 = !{!7, !8, i64 8}
!24 = !{!25, !19, i64 12}
!25 = !{!"_ZTSN7ImGuiEx10CanvasViewE", !18, i64 0, !19, i64 8, !19, i64 12}
!26 = !{!6, !19, i64 96}
!27 = !{!17, !19, i64 4}
!28 = !{!17, !19, i64 12}
!29 = !{!17, !19, i64 0}
!30 = !{!17, !19, i64 8}
!31 = !{!6, !19, i64 108}


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