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

; 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.ImCubicBezierPointsT = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%"struct.vox::NodeEditor::Detail::Object" = type <{ ptr, ptr, i8, [7 x i8] }>
%"struct.vox::NodeEditor::Detail::Link" = type { %"struct.vox::NodeEditor::Detail::Object.base", %"struct.vox::NodeEditor::LinkId", ptr, ptr, i32, float, %struct.ImVec2, %struct.ImVec2 }
%"struct.vox::NodeEditor::Detail::Object.base" = type <{ ptr, ptr, i8 }>
%"struct.vox::NodeEditor::LinkId" = type { %"struct.vox::NodeEditor::Details::SafePointerType.50" }
%"struct.vox::NodeEditor::Details::SafePointerType.50" = type { %"struct.vox::NodeEditor::Details::SafeType.51" }
%"struct.vox::NodeEditor::Details::SafeType.51" = type { i64 }
%"struct.vox::NodeEditor::Detail::Pin" = type <{ %"struct.vox::NodeEditor::Detail::Object.base", [7 x i8], %"struct.vox::NodeEditor::PinId", i32, [4 x i8], ptr, %struct.ImRect, %struct.ImRect, ptr, i32, i32, float, float, i32, %struct.ImVec2, float, float, float, float, i8, i8, [2 x i8] }>
%"struct.vox::NodeEditor::PinId" = type { %"struct.vox::NodeEditor::Details::SafePointerType" }
%"struct.vox::NodeEditor::Details::SafePointerType" = type { %"struct.vox::NodeEditor::Details::SafeType" }
%"struct.vox::NodeEditor::Details::SafeType" = type { i64 }

; 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: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3vox10NodeEditor6Detail4Link8GetCurveEv(ptr dead_on_unwind noalias writable sret(%struct.ImCubicBezierPointsT) align 4, ptr noundef nonnull align 8 dereferenceable(72)) #5 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local { <2 x float>, <2 x float> } @_ZNK3vox10NodeEditor6Detail4Link9GetBoundsEv(ptr noundef nonnull align 8 dereferenceable(72) %0) unnamed_addr #5 align 2 {
  %2 = alloca %struct.ImRect, align 4
  %3 = alloca ptr, align 8
  %4 = alloca %struct.ImCubicBezierPointsT, align 4
  %5 = alloca %struct.ImVec2, align 4
  %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.ImRect, align 4
  %13 = alloca %struct.ImVec2, align 4
  %14 = alloca %struct.ImVec2, align 4
  %15 = alloca %struct.ImVec2, align 4
  %16 = alloca %struct.ImVec2, align 4
  %17 = alloca %struct.ImVec2, align 4
  %18 = alloca %struct.ImVec2, align 4
  %19 = alloca %struct.ImVec2, align 4
  %20 = alloca %struct.ImVec2, align 4
  %21 = alloca %struct.ImVec2, align 4
  %22 = alloca %struct.ImVec2, align 4
  %23 = alloca %struct.ImRect, align 4
  %24 = alloca %struct.ImVec2, align 4
  %25 = alloca %struct.ImVec2, align 4
  %26 = alloca %struct.ImVec2, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  %27 = load ptr, ptr %3, align 8
  %28 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Object", ptr %27, i32 0, i32 2
  %29 = load i8, ptr %28, align 8, !tbaa !9, !range !12, !noundef !13
  %30 = trunc i8 %29 to i1
  br i1 %30, label %31, label %115

31:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 32, ptr %4) #6
  call void @_ZNK3vox10NodeEditor6Detail4Link8GetCurveEv(ptr dead_on_unwind writable sret(%struct.ImCubicBezierPointsT) align 4 %4, ptr noundef nonnull align 8 dereferenceable(72) %27)
  %32 = getelementptr inbounds %struct.ImCubicBezierPointsT, ptr %4, i32 0, i32 0
  %33 = getelementptr inbounds %struct.ImCubicBezierPointsT, ptr %4, i32 0, i32 1
  %34 = getelementptr inbounds %struct.ImCubicBezierPointsT, ptr %4, i32 0, i32 2
  %35 = getelementptr inbounds %struct.ImCubicBezierPointsT, ptr %4, i32 0, i32 3
  %36 = call { <2 x float>, <2 x float> } @_Z25ImCubicBezierBoundingRectRK6ImVec2S1_S1_S1_(ptr noundef nonnull align 4 dereferenceable(8) %32, ptr noundef nonnull align 4 dereferenceable(8) %33, ptr noundef nonnull align 4 dereferenceable(8) %34, ptr noundef nonnull align 4 dereferenceable(8) %35)
  %37 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %2, i32 0, i32 0
  %38 = extractvalue { <2 x float>, <2 x float> } %36, 0
  store <2 x float> %38, ptr %37, align 4
  %39 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %2, i32 0, i32 1
  %40 = extractvalue { <2 x float>, <2 x float> } %36, 1
  store <2 x float> %40, ptr %39, align 4
  %41 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %2)
  %42 = fcmp oeq float %41, 0.000000e+00
  br i1 %42, label %43, label %52

43:                                               ; preds = %31
  %44 = getelementptr inbounds %struct.ImRect, ptr %2, i32 0, i32 0
  %45 = getelementptr inbounds %struct.ImVec2, ptr %44, i32 0, i32 0
  %46 = load float, ptr %45, align 4, !tbaa !14
  %47 = fsub float %46, 5.000000e-01
  store float %47, ptr %45, align 4, !tbaa !14
  %48 = getelementptr inbounds %struct.ImRect, ptr %2, i32 0, i32 1
  %49 = getelementptr inbounds %struct.ImVec2, ptr %48, i32 0, i32 0
  %50 = load float, ptr %49, align 4, !tbaa !18
  %51 = fadd float %50, 5.000000e-01
  store float %51, ptr %49, align 4, !tbaa !18
  br label %52

52:                                               ; preds = %43, %31
  %53 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %2)
  %54 = fcmp oeq float %53, 0.000000e+00
  br i1 %54, label %55, label %64

55:                                               ; preds = %52
  %56 = getelementptr inbounds %struct.ImRect, ptr %2, i32 0, i32 0
  %57 = getelementptr inbounds %struct.ImVec2, ptr %56, i32 0, i32 1
  %58 = load float, ptr %57, align 4, !tbaa !19
  %59 = fsub float %58, 5.000000e-01
  store float %59, ptr %57, align 4, !tbaa !19
  %60 = getelementptr inbounds %struct.ImRect, ptr %2, i32 0, i32 1
  %61 = getelementptr inbounds %struct.ImVec2, ptr %60, i32 0, i32 1
  %62 = load float, ptr %61, align 4, !tbaa !20
  %63 = fadd float %62, 5.000000e-01
  store float %63, ptr %61, align 4, !tbaa !20
  br label %64

64:                                               ; preds = %55, %52
  %65 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Link", ptr %27, i32 0, i32 2
  %66 = load ptr, ptr %65, align 8, !tbaa !21
  %67 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Pin", ptr %66, i32 0, i32 17
  %68 = load float, ptr %67, align 4, !tbaa !28
  %69 = fcmp une float %68, 0.000000e+00
  br i1 %69, label %70, label %89

70:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %71 = getelementptr inbounds %struct.ImCubicBezierPointsT, ptr %4, i32 0, i32 0
  %72 = getelementptr inbounds %struct.ImCubicBezierPointsT, ptr %4, i32 0, i32 1
  %73 = getelementptr inbounds %struct.ImCubicBezierPointsT, ptr %4, i32 0, i32 2
  %74 = getelementptr inbounds %struct.ImCubicBezierPointsT, ptr %4, i32 0, i32 3
  %75 = call <2 x float> @_Z20ImCubicBezierTangentI6ImVec2ET_RKS1_S3_S3_S3_f(ptr noundef nonnull align 4 dereferenceable(8) %71, ptr noundef nonnull align 4 dereferenceable(8) %72, ptr noundef nonnull align 4 dereferenceable(8) %73, ptr noundef nonnull align 4 dereferenceable(8) %74, float noundef 0.000000e+00)
  store <2 x float> %75, ptr %6, align 4
  %76 = call <2 x float> @_Z12ImNormalizedRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %6)
  store <2 x float> %76, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %77 = getelementptr inbounds %struct.ImCubicBezierPointsT, ptr %4, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %77, i64 8, i1 false), !tbaa.struct !34
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %78 = getelementptr inbounds %struct.ImCubicBezierPointsT, ptr %4, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %79 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Link", ptr %27, i32 0, i32 2
  %80 = load ptr, ptr %79, align 8, !tbaa !21
  %81 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Pin", ptr %80, i32 0, i32 17
  %82 = load float, ptr %81, align 4, !tbaa !28
  %83 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef %82)
  store <2 x float> %83, ptr %9, align 4
  %84 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %78, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %84, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %85 = call <2 x float> @_ZL5ImMinRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %85, ptr %10, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %86 = call <2 x float> @_ZL5ImMaxRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %86, ptr %11, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %87 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %15)
  store <2 x float> %87, ptr %14, align 4
  %88 = call <2 x float> @_ZL5ImMaxRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(8) %14)
  store <2 x float> %88, ptr %13, align 4
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @_ZN6ImRect3AddERKS_(ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) %12)
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %89

89:                                               ; preds = %70, %64
  %90 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Link", ptr %27, i32 0, i32 3
  %91 = load ptr, ptr %90, align 8, !tbaa !36
  %92 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Pin", ptr %91, i32 0, i32 17
  %93 = load float, ptr %92, align 4, !tbaa !28
  %94 = fcmp une float %93, 0.000000e+00
  br i1 %94, label %95, label %114

95:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %96 = getelementptr inbounds %struct.ImCubicBezierPointsT, ptr %4, i32 0, i32 0
  %97 = getelementptr inbounds %struct.ImCubicBezierPointsT, ptr %4, i32 0, i32 1
  %98 = getelementptr inbounds %struct.ImCubicBezierPointsT, ptr %4, i32 0, i32 2
  %99 = getelementptr inbounds %struct.ImCubicBezierPointsT, ptr %4, i32 0, i32 3
  %100 = call <2 x float> @_Z20ImCubicBezierTangentI6ImVec2ET_RKS1_S3_S3_S3_f(ptr noundef nonnull align 4 dereferenceable(8) %96, ptr noundef nonnull align 4 dereferenceable(8) %97, ptr noundef nonnull align 4 dereferenceable(8) %98, ptr noundef nonnull align 4 dereferenceable(8) %99, float noundef 1.000000e+00)
  store <2 x float> %100, ptr %17, align 4
  %101 = call <2 x float> @_Z12ImNormalizedRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %17)
  store <2 x float> %101, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %102 = getelementptr inbounds %struct.ImCubicBezierPointsT, ptr %4, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %102, i64 8, i1 false), !tbaa.struct !34
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %103 = getelementptr inbounds %struct.ImCubicBezierPointsT, ptr %4, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %104 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Link", ptr %27, i32 0, i32 3
  %105 = load ptr, ptr %104, align 8, !tbaa !36
  %106 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::Pin", ptr %105, i32 0, i32 17
  %107 = load float, ptr %106, align 4, !tbaa !28
  %108 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef %107)
  store <2 x float> %108, ptr %20, align 4
  %109 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %103, ptr noundef nonnull align 4 dereferenceable(8) %20)
  store <2 x float> %109, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %110 = call <2 x float> @_ZL5ImMinRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %19)
  store <2 x float> %110, ptr %21, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %111 = call <2 x float> @_ZL5ImMaxRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %19)
  store <2 x float> %111, ptr %22, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %26, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %112 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(8) %26)
  store <2 x float> %112, ptr %25, align 4
  %113 = call <2 x float> @_ZL5ImMaxRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %22, ptr noundef nonnull align 4 dereferenceable(8) %25)
  store <2 x float> %113, ptr %24, align 4
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %23, ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(8) %24)
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @_ZN6ImRect3AddERKS_(ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) %23)
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %114

114:                                              ; preds = %95, %89
  call void @llvm.lifetime.end.p0(i64 32, ptr %4) #6
  br label %116

115:                                              ; preds = %1
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %2)
  br label %116

116:                                              ; preds = %115, %114
  %117 = load { <2 x float>, <2 x float> }, ptr %2, align 4
  ret { <2 x float>, <2 x float> } %117
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_Z25ImCubicBezierBoundingRectRK6ImVec2S1_S1_S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_Z20ImCubicBezierTangentI6ImVec2ET_RKS1_S3_S3_S3_f(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), float noundef) #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)) #2

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = { 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, !11, i64 16}
!10 = !{!"_ZTSN3vox10NodeEditor6Detail6ObjectE", !6, i64 8, !11, i64 16}
!11 = !{!"bool", !7, i64 0}
!12 = !{i8 0, i8 2}
!13 = !{}
!14 = !{!15, !17, i64 0}
!15 = !{!"_ZTS6ImRect", !16, i64 0, !16, i64 8}
!16 = !{!"_ZTS6ImVec2", !17, i64 0, !17, i64 4}
!17 = !{!"float", !7, i64 0}
!18 = !{!15, !17, i64 8}
!19 = !{!15, !17, i64 4}
!20 = !{!15, !17, i64 12}
!21 = !{!22, !6, i64 32}
!22 = !{!"_ZTSN3vox10NodeEditor6Detail4LinkE", !10, i64 0, !23, i64 24, !6, i64 32, !6, i64 40, !27, i64 48, !17, i64 52, !16, i64 56, !16, i64 64}
!23 = !{!"_ZTSN3vox10NodeEditor6LinkIdE", !24, i64 0}
!24 = !{!"_ZTSN3vox10NodeEditor7Details15SafePointerTypeINS0_6LinkIdEEE", !25, i64 0}
!25 = !{!"_ZTSN3vox10NodeEditor7Details8SafeTypeImNS0_6LinkIdEEE", !26, i64 0}
!26 = !{!"long", !7, i64 0}
!27 = !{!"int", !7, i64 0}
!28 = !{!29, !17, i64 124}
!29 = !{!"_ZTSN3vox10NodeEditor6Detail3PinE", !10, i64 0, !30, i64 24, !33, i64 32, !6, i64 40, !15, i64 48, !15, i64 64, !6, i64 80, !27, i64 88, !27, i64 92, !17, i64 96, !17, i64 100, !27, i64 104, !16, i64 108, !17, i64 116, !17, i64 120, !17, i64 124, !17, i64 128, !11, i64 132, !11, i64 133}
!30 = !{!"_ZTSN3vox10NodeEditor5PinIdE", !31, i64 0}
!31 = !{!"_ZTSN3vox10NodeEditor7Details15SafePointerTypeINS0_5PinIdEEE", !32, i64 0}
!32 = !{!"_ZTSN3vox10NodeEditor7Details8SafeTypeImNS0_5PinIdEEE", !26, i64 0}
!33 = !{!"_ZTSN3vox10NodeEditor7PinKindE", !7, i64 0}
!34 = !{i64 0, i64 4, !35, i64 4, i64 4, !35}
!35 = !{!17, !17, i64 0}
!36 = !{!22, !6, i64 40}


; 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.ImCubicBezierPointsT = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2 }
%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: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #1

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3vox10NodeEditor6Detail4Link8GetCurveEv(ptr dead_on_unwind noalias writable sret(%struct.ImCubicBezierPointsT) align 4, ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local { <2 x float>, <2 x float> } @_ZNK3vox10NodeEditor6Detail4Link9GetBoundsEv(ptr noundef nonnull align 8 dereferenceable(72) %0) unnamed_addr #4 align 2 {
  %2 = alloca %struct.ImRect, align 8
  %3 = alloca %struct.ImCubicBezierPointsT, 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.ImVec2, align 8
  %11 = alloca %struct.ImRect, align 4
  %12 = alloca %struct.ImVec2, align 8
  %13 = alloca %struct.ImVec2, align 8
  %14 = alloca %struct.ImVec2, align 4
  %15 = alloca %struct.ImVec2, align 8
  %16 = alloca %struct.ImVec2, align 8
  %17 = alloca %struct.ImVec2, align 8
  %18 = alloca %struct.ImVec2, align 8
  %19 = alloca %struct.ImVec2, align 8
  %20 = alloca %struct.ImVec2, align 8
  %21 = alloca %struct.ImVec2, align 8
  %22 = alloca %struct.ImRect, align 4
  %23 = alloca %struct.ImVec2, align 8
  %24 = alloca %struct.ImVec2, align 8
  %25 = alloca %struct.ImVec2, align 4
  %26 = getelementptr inbounds i8, ptr %0, i64 16
  %27 = load i8, ptr %26, align 8, !tbaa !5, !range !11, !noundef !12
  %28 = trunc nuw i8 %27 to i1
  br i1 %28, label %29, label %93

29:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #5
  call void @_ZNK3vox10NodeEditor6Detail4Link8GetCurveEv(ptr dead_on_unwind nonnull writable sret(%struct.ImCubicBezierPointsT) align 4 %3, ptr noundef nonnull align 8 dereferenceable(72) %0)
  %30 = getelementptr inbounds i8, ptr %3, i64 8
  %31 = getelementptr inbounds i8, ptr %3, i64 16
  %32 = getelementptr inbounds i8, ptr %3, i64 24
  %33 = call { <2 x float>, <2 x float> } @_Z25ImCubicBezierBoundingRectRK6ImVec2S1_S1_S1_(ptr noundef nonnull align 4 dereferenceable(8) %3, ptr noundef nonnull align 4 dereferenceable(8) %30, ptr noundef nonnull align 4 dereferenceable(8) %31, ptr noundef nonnull align 4 dereferenceable(8) %32)
  %34 = extractvalue { <2 x float>, <2 x float> } %33, 0
  store <2 x float> %34, ptr %2, align 8
  %35 = getelementptr inbounds i8, ptr %2, i64 8
  %36 = extractvalue { <2 x float>, <2 x float> } %33, 1
  store <2 x float> %36, ptr %35, align 8
  %37 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %2)
  %38 = fcmp oeq float %37, 0.000000e+00
  br i1 %38, label %39, label %44

39:                                               ; preds = %29
  %40 = load float, ptr %2, align 8, !tbaa !13
  %41 = fadd float %40, -5.000000e-01
  store float %41, ptr %2, align 8, !tbaa !13
  %42 = load float, ptr %35, align 8, !tbaa !17
  %43 = fadd float %42, 5.000000e-01
  store float %43, ptr %35, align 8, !tbaa !17
  br label %44

44:                                               ; preds = %39, %29
  %45 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %2)
  %46 = fcmp oeq float %45, 0.000000e+00
  br i1 %46, label %47, label %54

47:                                               ; preds = %44
  %48 = getelementptr inbounds i8, ptr %2, i64 4
  %49 = load float, ptr %48, align 4, !tbaa !18
  %50 = fadd float %49, -5.000000e-01
  store float %50, ptr %48, align 4, !tbaa !18
  %51 = getelementptr inbounds i8, ptr %2, i64 12
  %52 = load float, ptr %51, align 4, !tbaa !19
  %53 = fadd float %52, 5.000000e-01
  store float %53, ptr %51, align 4, !tbaa !19
  br label %54

54:                                               ; preds = %47, %44
  %55 = getelementptr inbounds i8, ptr %0, i64 32
  %56 = load ptr, ptr %55, align 8, !tbaa !20
  %57 = getelementptr inbounds i8, ptr %56, i64 124
  %58 = load float, ptr %57, align 4, !tbaa !27
  %59 = fcmp une float %58, 0.000000e+00
  br i1 %59, label %60, label %73

60:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %61 = call <2 x float> @_Z20ImCubicBezierTangentI6ImVec2ET_RKS1_S3_S3_S3_f(ptr noundef nonnull align 4 dereferenceable(8) %3, ptr noundef nonnull align 4 dereferenceable(8) %30, ptr noundef nonnull align 4 dereferenceable(8) %31, ptr noundef nonnull align 4 dereferenceable(8) %32, float noundef 0.000000e+00)
  store <2 x float> %61, ptr %5, align 8
  %62 = call <2 x float> @_Z12ImNormalizedRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %5)
  store <2 x float> %62, ptr %4, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %63 = load i64, ptr %3, align 8
  store i64 %63, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %64 = load ptr, ptr %55, align 8, !tbaa !20
  %65 = getelementptr inbounds i8, ptr %64, i64 124
  %66 = load float, ptr %65, align 4, !tbaa !27
  %67 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %4, float noundef %66)
  store <2 x float> %67, ptr %8, align 8
  %68 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %3, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %68, ptr %7, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %69 = call <2 x float> @_ZL5ImMinRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %7)
  store <2 x float> %69, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  %70 = call <2 x float> @_ZL5ImMaxRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %7)
  store <2 x float> %70, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %71 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %14)
  store <2 x float> %71, ptr %13, align 8
  %72 = call <2 x float> @_ZL5ImMaxRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %13)
  store <2 x float> %72, ptr %12, align 8
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %11, ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @_ZN6ImRect3AddERKS_(ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) %11)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  br label %73

73:                                               ; preds = %60, %54
  %74 = getelementptr inbounds i8, ptr %0, i64 40
  %75 = load ptr, ptr %74, align 8, !tbaa !33
  %76 = getelementptr inbounds i8, ptr %75, i64 124
  %77 = load float, ptr %76, align 4, !tbaa !27
  %78 = fcmp une float %77, 0.000000e+00
  br i1 %78, label %79, label %92

79:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #5
  %80 = call <2 x float> @_Z20ImCubicBezierTangentI6ImVec2ET_RKS1_S3_S3_S3_f(ptr noundef nonnull align 4 dereferenceable(8) %3, ptr noundef nonnull align 4 dereferenceable(8) %30, ptr noundef nonnull align 4 dereferenceable(8) %31, ptr noundef nonnull align 4 dereferenceable(8) %32, float noundef 1.000000e+00)
  store <2 x float> %80, ptr %16, align 8
  %81 = call <2 x float> @_Z12ImNormalizedRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %16)
  store <2 x float> %81, ptr %15, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
  %82 = load i64, ptr %32, align 8
  store i64 %82, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #5
  %83 = load ptr, ptr %74, align 8, !tbaa !33
  %84 = getelementptr inbounds i8, ptr %83, i64 124
  %85 = load float, ptr %84, align 4, !tbaa !27
  %86 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef %85)
  store <2 x float> %86, ptr %19, align 8
  %87 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %32, ptr noundef nonnull align 4 dereferenceable(8) %19)
  store <2 x float> %87, ptr %18, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #5
  %88 = call <2 x float> @_ZL5ImMinRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %18)
  store <2 x float> %88, ptr %20, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #5
  %89 = call <2 x float> @_ZL5ImMaxRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %18)
  store <2 x float> %89, ptr %21, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #5
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %25, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %90 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %20, ptr noundef nonnull align 4 dereferenceable(8) %25)
  store <2 x float> %90, ptr %24, align 8
  %91 = call <2 x float> @_ZL5ImMaxRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(8) %24)
  store <2 x float> %91, ptr %23, align 8
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %22, ptr noundef nonnull align 4 dereferenceable(8) %20, ptr noundef nonnull align 4 dereferenceable(8) %23)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #5
  call void @_ZN6ImRect3AddERKS_(ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) %22)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  br label %92

92:                                               ; preds = %79, %73
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  br label %94

93:                                               ; preds = %1
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %2)
  br label %94

94:                                               ; preds = %93, %92
  %.fca.0.load = load <2 x float>, ptr %2, align 8
  %.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 %2, 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 uwtable
declare dso_local { <2 x float>, <2 x float> } @_Z25ImCubicBezierBoundingRectRK6ImVec2S1_S1_S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #1

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

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

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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 #5 = { 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, !10, i64 16}
!6 = !{!"_ZTSN3vox10NodeEditor6Detail6ObjectE", !7, i64 8, !10, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !16, i64 0}
!14 = !{!"_ZTS6ImRect", !15, i64 0, !15, i64 8}
!15 = !{!"_ZTS6ImVec2", !16, i64 0, !16, i64 4}
!16 = !{!"float", !8, i64 0}
!17 = !{!14, !16, i64 8}
!18 = !{!14, !16, i64 4}
!19 = !{!14, !16, i64 12}
!20 = !{!21, !7, i64 32}
!21 = !{!"_ZTSN3vox10NodeEditor6Detail4LinkE", !6, i64 0, !22, i64 24, !7, i64 32, !7, i64 40, !26, i64 48, !16, i64 52, !15, i64 56, !15, i64 64}
!22 = !{!"_ZTSN3vox10NodeEditor6LinkIdE", !23, i64 0}
!23 = !{!"_ZTSN3vox10NodeEditor7Details15SafePointerTypeINS0_6LinkIdEEE", !24, i64 0}
!24 = !{!"_ZTSN3vox10NodeEditor7Details8SafeTypeImNS0_6LinkIdEEE", !25, i64 0}
!25 = !{!"long", !8, i64 0}
!26 = !{!"int", !8, i64 0}
!27 = !{!28, !16, i64 124}
!28 = !{!"_ZTSN3vox10NodeEditor6Detail3PinE", !6, i64 0, !29, i64 24, !32, i64 32, !7, i64 40, !14, i64 48, !14, i64 64, !7, i64 80, !26, i64 88, !26, i64 92, !16, i64 96, !16, i64 100, !26, i64 104, !15, i64 108, !16, i64 116, !16, i64 120, !16, i64 124, !16, i64 128, !10, i64 132, !10, i64 133}
!29 = !{!"_ZTSN3vox10NodeEditor5PinIdE", !30, i64 0}
!30 = !{!"_ZTSN3vox10NodeEditor7Details15SafePointerTypeINS0_5PinIdEEE", !31, i64 0}
!31 = !{!"_ZTSN3vox10NodeEditor7Details8SafeTypeImNS0_5PinIdEEE", !25, i64 0}
!32 = !{!"_ZTSN3vox10NodeEditor7PinKindE", !8, i64 0}
!33 = !{!21, !7, i64 40}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,SROAPass