; LLVM IR from modlfo/AudioEngine :: AudioEngine/JuceLibraryCode/juce_gui_basics.ll (ZN4juce15ResizableWindowC2ERKNS_6StringEb)

; 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"

%"class.juce::ResizableWindow" = type { %"class.juce::TopLevelWindow", %"class.juce::ScopedPointer.294", %"class.juce::ScopedPointer.295", %"class.juce::Component::SafePointer", i8, i8, i8, i8, i8, %"class.juce::ComponentDragger", %"class.juce::Rectangle", %"class.juce::ComponentBoundsConstrainer", ptr }
%"class.juce::TopLevelWindow" = type { %"class.juce::Component.base", i8, i8, i8, %"class.juce::ScopedPointer.293" }
%"class.juce::Component.base" = type <{ %"class.juce::MouseListener", %"class.juce::String", %"class.juce::String", ptr, %"class.juce::Rectangle", %"class.juce::ScopedPointer", %"class.juce::ScopedPointer.0", %"class.juce::Array", ptr, %"class.juce::MouseCursor", ptr, %"class.juce::ScopedPointer.1", %"class.juce::ScopedPointer.2", %"class.juce::ScopedPointer.3", %"class.juce::ListenerList", %"class.juce::NamedValueSet", %"class.juce::WeakReference<juce::Component>::Master", %union.anon, i8 }>
%"class.juce::MouseListener" = type { ptr }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::ScopedPointer" = type { ptr }
%"class.juce::ScopedPointer.0" = type { ptr }
%"class.juce::Array" = type { %"class.juce::ArrayAllocationBase", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase" = type <{ %"class.juce::HeapBlock", i32, [4 x i8] }>
%"class.juce::HeapBlock" = type { ptr }
%"class.juce::MouseCursor" = type { ptr }
%"class.juce::ScopedPointer.1" = type { ptr }
%"class.juce::ScopedPointer.2" = type { ptr }
%"class.juce::ScopedPointer.3" = type { ptr }
%"class.juce::ListenerList" = type { %"class.juce::Array.4" }
%"class.juce::Array.4" = type { %"class.juce::ArrayAllocationBase.5", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.5" = type <{ %"class.juce::HeapBlock.6", i32, [4 x i8] }>
%"class.juce::HeapBlock.6" = type { ptr }
%"class.juce::NamedValueSet" = type { %"class.juce::Array.9" }
%"class.juce::Array.9" = type { %"class.juce::ArrayAllocationBase.10", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.10" = type <{ %"class.juce::HeapBlock.11", i32, [4 x i8] }>
%"class.juce::HeapBlock.11" = type { ptr }
%"class.juce::WeakReference<juce::Component>::Master" = type { %"class.juce::ReferenceCountedObjectPtr" }
%"class.juce::ReferenceCountedObjectPtr" = type { ptr }
%union.anon = type { i32 }
%"class.juce::ScopedPointer.293" = type { ptr }
%"class.juce::ScopedPointer.294" = type { ptr }
%"class.juce::ScopedPointer.295" = type { ptr }
%"class.juce::Component::SafePointer" = type { %"class.juce::WeakReference" }
%"class.juce::WeakReference" = type { %"class.juce::ReferenceCountedObjectPtr" }
%"class.juce::ComponentDragger" = type { ptr, %"class.juce::Point" }
%"class.juce::Point" = type { i32, i32 }
%"class.juce::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::ComponentBoundsConstrainer" = type { ptr, i32, i32, i32, i32, i32, i32, i32, i32, double }

@_ZTVN4juce15ResizableWindowE = external dso_local unnamed_addr constant { [51 x ptr] }, align 8

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce9Component11SafePointerIS0_ED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce14TopLevelWindowC2ERKNS_6StringEb(ptr noundef nonnull align 8 dereferenceable(208), ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce14TopLevelWindowD2Ev(ptr noundef nonnull align 8 dereferenceable(208)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce15ResizableWindowC2ERKNS_6StringEb(ptr noundef nonnull align 8 dereferenceable(328) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i1 noundef zeroext %2) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %9 = zext i1 %2 to i8
  store i8 %9, ptr %6, align 1, !tbaa !9
  %10 = load ptr, ptr %4, align 8
  %11 = load ptr, ptr %5, align 8, !tbaa !5
  %12 = load i8, ptr %6, align 1, !tbaa !9, !range !11, !noundef !12
  %13 = trunc i8 %12 to i1
  call void @_ZN4juce14TopLevelWindowC2ERKNS_6StringEb(ptr noundef nonnull align 8 dereferenceable(208) %10, ptr noundef nonnull align 8 dereferenceable(8) %11, i1 noundef zeroext %13)
  store ptr getelementptr inbounds inrange(-16, 392) ({ [51 x ptr] }, ptr @_ZTVN4juce15ResizableWindowE, i32 0, i32 0, i32 2), ptr %10, align 8, !tbaa !13
  %14 = getelementptr inbounds %"class.juce::ResizableWindow", ptr %10, i32 0, i32 1
  call void @_ZN4juce13ScopedPointerINS_24ResizableCornerComponentEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #3
  %15 = getelementptr inbounds %"class.juce::ResizableWindow", ptr %10, i32 0, i32 2
  call void @_ZN4juce13ScopedPointerINS_24ResizableBorderComponentEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #3
  %16 = getelementptr inbounds %"class.juce::ResizableWindow", ptr %10, i32 0, i32 3
  call void @_ZN4juce9Component11SafePointerIS0_EC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #3
  %17 = getelementptr inbounds %"class.juce::ResizableWindow", ptr %10, i32 0, i32 4
  store i8 0, ptr %17, align 8, !tbaa !15
  %18 = getelementptr inbounds %"class.juce::ResizableWindow", ptr %10, i32 0, i32 5
  store i8 0, ptr %18, align 1, !tbaa !52
  %19 = getelementptr inbounds %"class.juce::ResizableWindow", ptr %10, i32 0, i32 6
  store i8 0, ptr %19, align 2, !tbaa !53
  %20 = getelementptr inbounds %"class.juce::ResizableWindow", ptr %10, i32 0, i32 7
  store i8 1, ptr %20, align 1, !tbaa !54
  %21 = getelementptr inbounds %"class.juce::ResizableWindow", ptr %10, i32 0, i32 8
  store i8 0, ptr %21, align 4, !tbaa !55
  %22 = getelementptr inbounds %"class.juce::ResizableWindow", ptr %10, i32 0, i32 9
  invoke void @_ZN4juce16ComponentDraggerC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %22)
          to label %23 unwind label %30

23:                                               ; preds = %3
  %24 = getelementptr inbounds %"class.juce::ResizableWindow", ptr %10, i32 0, i32 10
  call void @_ZN4juce9RectangleIiEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %24) #3
  %25 = getelementptr inbounds %"class.juce::ResizableWindow", ptr %10, i32 0, i32 11
  call void @_ZN4juce26ComponentBoundsConstrainerC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #3
  %26 = getelementptr inbounds %"class.juce::ResizableWindow", ptr %10, i32 0, i32 12
  store ptr null, ptr %26, align 8, !tbaa !56
  %27 = load i8, ptr %6, align 1, !tbaa !9, !range !11, !noundef !12
  %28 = trunc i8 %27 to i1
  invoke void @_ZN4juce15ResizableWindow10initialiseEb(ptr noundef nonnull align 8 dereferenceable(328) %10, i1 noundef zeroext %28)
          to label %29 unwind label %34

29:                                               ; preds = %23
  ret void

30:                                               ; preds = %3
  %31 = landingpad { ptr, i32 }
          cleanup
  %32 = extractvalue { ptr, i32 } %31, 0
  store ptr %32, ptr %7, align 8
  %33 = extractvalue { ptr, i32 } %31, 1
  store i32 %33, ptr %8, align 4
  br label %38

34:                                               ; preds = %23
  %35 = landingpad { ptr, i32 }
          cleanup
  %36 = extractvalue { ptr, i32 } %35, 0
  store ptr %36, ptr %7, align 8
  %37 = extractvalue { ptr, i32 } %35, 1
  store i32 %37, ptr %8, align 4
  call void @_ZN4juce26ComponentBoundsConstrainerD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #3
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %24) #3
  call void @_ZN4juce16ComponentDraggerD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #3
  br label %38

38:                                               ; preds = %34, %30
  call void @_ZN4juce9Component11SafePointerIS0_ED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #3
  call void @_ZN4juce13ScopedPointerINS_24ResizableBorderComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #3
  call void @_ZN4juce13ScopedPointerINS_24ResizableCornerComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #3
  call void @_ZN4juce14TopLevelWindowD2Ev(ptr noundef nonnull align 8 dereferenceable(208) %10) #3
  br label %39

39:                                               ; preds = %38
  %40 = load ptr, ptr %7, align 8
  %41 = load i32, ptr %8, align 4
  %42 = insertvalue { ptr, i32 } poison, ptr %40, 0
  %43 = insertvalue { ptr, i32 } %42, i32 %41, 1
  resume { ptr, i32 } %43
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce13ScopedPointerINS_24ResizableCornerComponentEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce13ScopedPointerINS_24ResizableBorderComponentEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15ResizableWindow10initialiseEb(ptr noundef nonnull align 8 dereferenceable(328), i1 noundef zeroext) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce13ScopedPointerINS_24ResizableBorderComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce13ScopedPointerINS_24ResizableCornerComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

declare void @_ZN4juce16ComponentDraggerC1Ev(ptr)

declare void @_ZN4juce16ComponentDraggerD1Ev(ptr)

declare void @_ZN4juce26ComponentBoundsConstrainerC1Ev(ptr)

declare void @_ZN4juce26ComponentBoundsConstrainerD1Ev(ptr)

attributes #0 = { 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 #1 = { 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 #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 = { 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 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = !{!16, !10, i64 232}
!16 = !{!"_ZTSN4juce15ResizableWindowE", !17, i64 0, !45, i64 208, !46, i64 216, !47, i64 224, !10, i64 232, !10, i64 233, !10, i64 234, !10, i64 235, !10, i64 236, !49, i64 240, !22, i64 256, !50, i64 272, !6, i64 320}
!17 = !{!"_ZTSN4juce14TopLevelWindowE", !18, i64 0, !10, i64 197, !10, i64 198, !10, i64 199, !44, i64 200}
!18 = !{!"_ZTSN4juce9ComponentE", !19, i64 0, !20, i64 8, !20, i64 16, !6, i64 24, !22, i64 32, !25, i64 48, !26, i64 56, !27, i64 64, !6, i64 88, !30, i64 96, !6, i64 104, !31, i64 112, !32, i64 120, !33, i64 128, !34, i64 136, !38, i64 160, !42, i64 184, !7, i64 192, !7, i64 196}
!19 = !{!"_ZTSN4juce13MouseListenerE"}
!20 = !{!"_ZTSN4juce6StringE", !21, i64 0}
!21 = !{!"_ZTSN4juce16CharPointer_UTF8E", !6, i64 0}
!22 = !{!"_ZTSN4juce9RectangleIiEE", !23, i64 0, !24, i64 8, !24, i64 12}
!23 = !{!"_ZTSN4juce5PointIiEE", !24, i64 0, !24, i64 4}
!24 = !{!"int", !7, i64 0}
!25 = !{!"_ZTSN4juce13ScopedPointerINS_9Component10PositionerEEE", !6, i64 0}
!26 = !{!"_ZTSN4juce13ScopedPointerINS_15AffineTransformEEE", !6, i64 0}
!27 = !{!"_ZTSN4juce5ArrayIPNS_9ComponentENS_20DummyCriticalSectionELi0EEE", !28, i64 0, !24, i64 16}
!28 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ComponentENS_20DummyCriticalSectionEEE", !29, i64 0, !24, i64 8}
!29 = !{!"_ZTSN4juce9HeapBlockIPNS_9ComponentELb0EEE", !6, i64 0}
!30 = !{!"_ZTSN4juce11MouseCursorE", !6, i64 0}
!31 = !{!"_ZTSN4juce13ScopedPointerINS_20CachedComponentImageEEE", !6, i64 0}
!32 = !{!"_ZTSN4juce13ScopedPointerINS_9Component17MouseListenerListEEE", !6, i64 0}
!33 = !{!"_ZTSN4juce13ScopedPointerINS_5ArrayIPNS_11KeyListenerENS_20DummyCriticalSectionELi0EEEEE", !6, i64 0}
!34 = !{!"_ZTSN4juce12ListenerListINS_17ComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !35, i64 0}
!35 = !{!"_ZTSN4juce5ArrayIPNS_17ComponentListenerENS_20DummyCriticalSectionELi0EEE", !36, i64 0, !24, i64 16}
!36 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17ComponentListenerENS_20DummyCriticalSectionEEE", !37, i64 0, !24, i64 8}
!37 = !{!"_ZTSN4juce9HeapBlockIPNS_17ComponentListenerELb0EEE", !6, i64 0}
!38 = !{!"_ZTSN4juce13NamedValueSetE", !39, i64 0}
!39 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !40, i64 0, !24, i64 16}
!40 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !41, i64 0, !24, i64 8}
!41 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !6, i64 0}
!42 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE6MasterE", !43, i64 0}
!43 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !6, i64 0}
!44 = !{!"_ZTSN4juce13ScopedPointerINS_12DropShadowerEEE", !6, i64 0}
!45 = !{!"_ZTSN4juce13ScopedPointerINS_24ResizableCornerComponentEEE", !6, i64 0}
!46 = !{!"_ZTSN4juce13ScopedPointerINS_24ResizableBorderComponentEEE", !6, i64 0}
!47 = !{!"_ZTSN4juce9Component11SafePointerIS0_EE", !48, i64 0}
!48 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEEE", !43, i64 0}
!49 = !{!"_ZTSN4juce16ComponentDraggerE", !23, i64 8}
!50 = !{!"_ZTSN4juce26ComponentBoundsConstrainerE", !24, i64 8, !24, i64 12, !24, i64 16, !24, i64 20, !24, i64 24, !24, i64 28, !24, i64 32, !24, i64 36, !51, i64 40}
!51 = !{!"double", !7, i64 0}
!52 = !{!16, !10, i64 233}
!53 = !{!16, !10, i64 234}
!54 = !{!16, !10, i64 235}
!55 = !{!16, !10, i64 236}
!56 = !{!16, !6, i64 320}


; 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"

@_ZTVN4juce15ResizableWindowE = external dso_local unnamed_addr constant { [51 x ptr] }, align 8

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce9Component11SafePointerIS0_ED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce14TopLevelWindowC2ERKNS_6StringEb(ptr noundef nonnull align 8 dereferenceable(208), ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce14TopLevelWindowD2Ev(ptr noundef nonnull align 8 dereferenceable(208)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce15ResizableWindowC2ERKNS_6StringEb(ptr noundef nonnull align 8 dereferenceable(328) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i1 noundef zeroext %2) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  tail call void @_ZN4juce14TopLevelWindowC2ERKNS_6StringEb(ptr noundef nonnull align 8 dereferenceable(208) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i1 noundef zeroext %2)
  store ptr getelementptr inbounds inrange(-16, 392) (i8, ptr @_ZTVN4juce15ResizableWindowE, i64 16), ptr %0, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %0, i64 208
  tail call void @_ZN4juce13ScopedPointerINS_24ResizableCornerComponentEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #3
  %5 = getelementptr inbounds i8, ptr %0, i64 216
  tail call void @_ZN4juce13ScopedPointerINS_24ResizableBorderComponentEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #3
  %6 = getelementptr inbounds i8, ptr %0, i64 224
  tail call void @_ZN4juce9Component11SafePointerIS0_EC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #3
  %7 = getelementptr inbounds i8, ptr %0, i64 232
  store <4 x i8> <i8 0, i8 0, i8 0, i8 1>, ptr %7, align 8, !tbaa !8
  %8 = getelementptr inbounds i8, ptr %0, i64 236
  store i8 0, ptr %8, align 4, !tbaa !11
  %9 = getelementptr inbounds i8, ptr %0, i64 240
  invoke void @_ZN4juce16ComponentDraggerC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %10 unwind label %15

10:                                               ; preds = %3
  %11 = getelementptr inbounds i8, ptr %0, i64 256
  tail call void @_ZN4juce9RectangleIiEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %11) #3
  %12 = getelementptr inbounds i8, ptr %0, i64 272
  tail call void @_ZN4juce26ComponentBoundsConstrainerC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #3
  %13 = getelementptr inbounds i8, ptr %0, i64 320
  store ptr null, ptr %13, align 8, !tbaa !49
  invoke void @_ZN4juce15ResizableWindow10initialiseEb(ptr noundef nonnull align 8 dereferenceable(328) %0, i1 noundef zeroext %2)
          to label %14 unwind label %17

14:                                               ; preds = %10
  ret void

15:                                               ; preds = %3
  %16 = landingpad { ptr, i32 }
          cleanup
  br label %19

17:                                               ; preds = %10
  %18 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN4juce26ComponentBoundsConstrainerD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #3
  tail call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %11) #3
  tail call void @_ZN4juce16ComponentDraggerD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #3
  br label %19

19:                                               ; preds = %17, %15
  %.pn = phi { ptr, i32 } [ %18, %17 ], [ %16, %15 ]
  tail call void @_ZN4juce9Component11SafePointerIS0_ED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #3
  tail call void @_ZN4juce13ScopedPointerINS_24ResizableBorderComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #3
  tail call void @_ZN4juce13ScopedPointerINS_24ResizableCornerComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #3
  tail call void @_ZN4juce14TopLevelWindowD2Ev(ptr noundef nonnull align 8 dereferenceable(208) %0) #3
  resume { ptr, i32 } %.pn
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce13ScopedPointerINS_24ResizableCornerComponentEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce13ScopedPointerINS_24ResizableBorderComponentEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15ResizableWindow10initialiseEb(ptr noundef nonnull align 8 dereferenceable(328), i1 noundef zeroext) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce13ScopedPointerINS_24ResizableBorderComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce13ScopedPointerINS_24ResizableCornerComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

declare void @_ZN4juce16ComponentDraggerC1Ev(ptr) local_unnamed_addr

declare void @_ZN4juce16ComponentDraggerD1Ev(ptr) local_unnamed_addr

declare void @_ZN4juce26ComponentBoundsConstrainerC1Ev(ptr) local_unnamed_addr

declare void @_ZN4juce26ComponentBoundsConstrainerD1Ev(ptr) local_unnamed_addr

attributes #0 = { 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 #1 = { 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 #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 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"bool", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !9, i64 236}
!12 = !{!"_ZTSN4juce15ResizableWindowE", !13, i64 0, !42, i64 208, !43, i64 216, !44, i64 224, !9, i64 232, !9, i64 233, !9, i64 234, !9, i64 235, !9, i64 236, !46, i64 240, !19, i64 256, !47, i64 272, !18, i64 320}
!13 = !{!"_ZTSN4juce14TopLevelWindowE", !14, i64 0, !9, i64 197, !9, i64 198, !9, i64 199, !41, i64 200}
!14 = !{!"_ZTSN4juce9ComponentE", !15, i64 0, !16, i64 8, !16, i64 16, !18, i64 24, !19, i64 32, !22, i64 48, !23, i64 56, !24, i64 64, !18, i64 88, !27, i64 96, !18, i64 104, !28, i64 112, !29, i64 120, !30, i64 128, !31, i64 136, !35, i64 160, !39, i64 184, !10, i64 192, !10, i64 196}
!15 = !{!"_ZTSN4juce13MouseListenerE"}
!16 = !{!"_ZTSN4juce6StringE", !17, i64 0}
!17 = !{!"_ZTSN4juce16CharPointer_UTF8E", !18, i64 0}
!18 = !{!"any pointer", !10, i64 0}
!19 = !{!"_ZTSN4juce9RectangleIiEE", !20, i64 0, !21, i64 8, !21, i64 12}
!20 = !{!"_ZTSN4juce5PointIiEE", !21, i64 0, !21, i64 4}
!21 = !{!"int", !10, i64 0}
!22 = !{!"_ZTSN4juce13ScopedPointerINS_9Component10PositionerEEE", !18, i64 0}
!23 = !{!"_ZTSN4juce13ScopedPointerINS_15AffineTransformEEE", !18, i64 0}
!24 = !{!"_ZTSN4juce5ArrayIPNS_9ComponentENS_20DummyCriticalSectionELi0EEE", !25, i64 0, !21, i64 16}
!25 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ComponentENS_20DummyCriticalSectionEEE", !26, i64 0, !21, i64 8}
!26 = !{!"_ZTSN4juce9HeapBlockIPNS_9ComponentELb0EEE", !18, i64 0}
!27 = !{!"_ZTSN4juce11MouseCursorE", !18, i64 0}
!28 = !{!"_ZTSN4juce13ScopedPointerINS_20CachedComponentImageEEE", !18, i64 0}
!29 = !{!"_ZTSN4juce13ScopedPointerINS_9Component17MouseListenerListEEE", !18, i64 0}
!30 = !{!"_ZTSN4juce13ScopedPointerINS_5ArrayIPNS_11KeyListenerENS_20DummyCriticalSectionELi0EEEEE", !18, i64 0}
!31 = !{!"_ZTSN4juce12ListenerListINS_17ComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !32, i64 0}
!32 = !{!"_ZTSN4juce5ArrayIPNS_17ComponentListenerENS_20DummyCriticalSectionELi0EEE", !33, i64 0, !21, i64 16}
!33 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17ComponentListenerENS_20DummyCriticalSectionEEE", !34, i64 0, !21, i64 8}
!34 = !{!"_ZTSN4juce9HeapBlockIPNS_17ComponentListenerELb0EEE", !18, i64 0}
!35 = !{!"_ZTSN4juce13NamedValueSetE", !36, i64 0}
!36 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !37, i64 0, !21, i64 16}
!37 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !38, i64 0, !21, i64 8}
!38 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !18, i64 0}
!39 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE6MasterE", !40, i64 0}
!40 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !18, i64 0}
!41 = !{!"_ZTSN4juce13ScopedPointerINS_12DropShadowerEEE", !18, i64 0}
!42 = !{!"_ZTSN4juce13ScopedPointerINS_24ResizableCornerComponentEEE", !18, i64 0}
!43 = !{!"_ZTSN4juce13ScopedPointerINS_24ResizableBorderComponentEEE", !18, i64 0}
!44 = !{!"_ZTSN4juce9Component11SafePointerIS0_EE", !45, i64 0}
!45 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEEE", !40, i64 0}
!46 = !{!"_ZTSN4juce16ComponentDraggerE", !20, i64 8}
!47 = !{!"_ZTSN4juce26ComponentBoundsConstrainerE", !21, i64 8, !21, i64 12, !21, i64 16, !21, i64 20, !21, i64 24, !21, i64 28, !21, i64 32, !21, i64 36, !48, i64 40}
!48 = !{!"double", !10, i64 0}
!49 = !{!12, !18, i64 320}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InstCombinePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass