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

; 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::TableListBox" = type <{ %"class.juce::ListBox", %"class.juce::ListBoxModel", %"class.juce::TableHeaderComponent::Listener", ptr, ptr, i32, i8, [3 x i8] }>
%"class.juce::ListBox" = type { %"class.juce::Component.base", %"class.juce::SettableTooltipClient", ptr, %"class.juce::ScopedPointer.286", %"class.juce::ScopedPointer.159", %"class.juce::ScopedPointer.287", i32, i32, i32, i32, i32, i8, i8, i8, i8, %"class.juce::SparseSet" }
%"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::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::Point" = type { i32, i32 }
%"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::SettableTooltipClient" = type { %"class.juce::TooltipClient", %"class.juce::String" }
%"class.juce::TooltipClient" = type { ptr }
%"class.juce::ScopedPointer.286" = type { ptr }
%"class.juce::ScopedPointer.159" = type { ptr }
%"class.juce::ScopedPointer.287" = type { ptr }
%"class.juce::SparseSet" = type { %"class.juce::Array.288" }
%"class.juce::Array.288" = type { %"class.juce::ArrayAllocationBase.289", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.289" = type <{ %"class.juce::HeapBlock.290", i32, [4 x i8] }>
%"class.juce::HeapBlock.290" = type { ptr }
%"class.juce::ListBoxModel" = type { ptr }
%"class.juce::TableHeaderComponent::Listener" = type { ptr }

@_ZTVN4juce12TableListBoxE = external dso_local unnamed_addr constant { [60 x ptr], [6 x ptr], [17 x ptr], [8 x ptr] }, align 8

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #0

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce7ListBoxC2ERKNS_6StringEPNS_12ListBoxModelE(ptr noundef nonnull align 8 dereferenceable(296), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce12TableListBoxC2ERKNS_6StringEPNS_17TableListBoxModelE(ptr noundef nonnull align 8 dereferenceable(333) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef %2) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %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
  store ptr %2, ptr %6, align 8, !tbaa !5
  %9 = load ptr, ptr %4, align 8
  %10 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN4juce7ListBoxC2ERKNS_6StringEPNS_12ListBoxModelE(ptr noundef nonnull align 8 dereferenceable(296) %9, ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef null)
  %11 = getelementptr inbounds i8, ptr %9, i64 296
  call void @_ZN4juce12ListBoxModelC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %12 = getelementptr inbounds i8, ptr %9, i64 304
  invoke void @_ZN4juce20TableHeaderComponent8ListenerC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %13 unwind label %27

13:                                               ; preds = %3
  store ptr getelementptr inbounds inrange(-16, 464) ({ [60 x ptr], [6 x ptr], [17 x ptr], [8 x ptr] }, ptr @_ZTVN4juce12TableListBoxE, i32 0, i32 0, i32 2), ptr %9, align 8, !tbaa !9
  %14 = getelementptr inbounds i8, ptr %9, i64 200
  store ptr getelementptr inbounds inrange(-16, 32) ({ [60 x ptr], [6 x ptr], [17 x ptr], [8 x ptr] }, ptr @_ZTVN4juce12TableListBoxE, i32 0, i32 1, i32 2), ptr %14, align 8, !tbaa !9
  %15 = getelementptr inbounds i8, ptr %9, i64 296
  store ptr getelementptr inbounds inrange(-16, 120) ({ [60 x ptr], [6 x ptr], [17 x ptr], [8 x ptr] }, ptr @_ZTVN4juce12TableListBoxE, i32 0, i32 2, i32 2), ptr %15, align 8, !tbaa !9
  %16 = getelementptr inbounds i8, ptr %9, i64 304
  store ptr getelementptr inbounds inrange(-16, 48) ({ [60 x ptr], [6 x ptr], [17 x ptr], [8 x ptr] }, ptr @_ZTVN4juce12TableListBoxE, i32 0, i32 3, i32 2), ptr %16, align 8, !tbaa !9
  %17 = getelementptr inbounds %"class.juce::TableListBox", ptr %9, i32 0, i32 3
  store ptr null, ptr %17, align 8, !tbaa !11
  %18 = getelementptr inbounds %"class.juce::TableListBox", ptr %9, i32 0, i32 4
  %19 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %19, ptr %18, align 8, !tbaa !52
  %20 = getelementptr inbounds %"class.juce::TableListBox", ptr %9, i32 0, i32 6
  store i8 1, ptr %20, align 4, !tbaa !53
  %21 = getelementptr inbounds i8, ptr %9, i64 296
  %22 = getelementptr inbounds %"class.juce::ListBox", ptr %9, i32 0, i32 2
  store ptr %21, ptr %22, align 8, !tbaa !54
  %23 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 320) #6
          to label %24 unwind label %31

24:                                               ; preds = %13
  invoke void @_ZN4juce12TableListBox6HeaderC2ERS0_(ptr noundef nonnull align 8 dereferenceable(320) %23, ptr noundef nonnull align 8 dereferenceable(333) %9)
          to label %25 unwind label %35

25:                                               ; preds = %24
  invoke void @_ZN4juce12TableListBox9setHeaderEPNS_20TableHeaderComponentE(ptr noundef nonnull align 8 dereferenceable(333) %9, ptr noundef %23)
          to label %26 unwind label %31

26:                                               ; preds = %25
  ret void

27:                                               ; preds = %3
  %28 = landingpad { ptr, i32 }
          cleanup
  %29 = extractvalue { ptr, i32 } %28, 0
  store ptr %29, ptr %7, align 8
  %30 = extractvalue { ptr, i32 } %28, 1
  store i32 %30, ptr %8, align 4
  br label %41

31:                                               ; preds = %25, %13
  %32 = landingpad { ptr, i32 }
          cleanup
  %33 = extractvalue { ptr, i32 } %32, 0
  store ptr %33, ptr %7, align 8
  %34 = extractvalue { ptr, i32 } %32, 1
  store i32 %34, ptr %8, align 4
  br label %39

35:                                               ; preds = %24
  %36 = landingpad { ptr, i32 }
          cleanup
  %37 = extractvalue { ptr, i32 } %36, 0
  store ptr %37, ptr %7, align 8
  %38 = extractvalue { ptr, i32 } %36, 1
  store i32 %38, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %23, i64 noundef 320) #7
  br label %39

39:                                               ; preds = %35, %31
  %40 = getelementptr inbounds i8, ptr %9, i64 304
  call void @_ZN4juce20TableHeaderComponent8ListenerD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %40) #5
  br label %41

41:                                               ; preds = %39, %27
  %42 = getelementptr inbounds i8, ptr %9, i64 296
  call void @_ZN4juce12ListBoxModelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %42) #5
  call void @_ZN4juce7ListBoxD2Ev(ptr noundef nonnull align 8 dereferenceable(296) %9) #5
  br label %43

43:                                               ; preds = %41
  %44 = load ptr, ptr %7, align 8
  %45 = load i32, ptr %8, align 4
  %46 = insertvalue { ptr, i32 } poison, ptr %44, 0
  %47 = insertvalue { ptr, i32 } %46, i32 %45, 1
  resume { ptr, i32 } %47
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce12TableListBox9setHeaderEPNS_20TableHeaderComponentE(ptr noundef nonnull align 8 dereferenceable(333), ptr noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce12TableListBox6HeaderC2ERS0_(ptr noundef nonnull align 8 dereferenceable(320), ptr noundef nonnull align 8 dereferenceable(333)) unnamed_addr #2 align 2

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

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

attributes #0 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nobuiltin allocsize(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 = { 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 = { nounwind }
attributes #6 = { builtin allocsize(0) }
attributes #7 = { builtin 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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !6, i64 312}
!12 = !{!"_ZTSN4juce12TableListBoxE", !13, i64 0, !50, i64 296, !51, i64 304, !6, i64 312, !6, i64 320, !20, i64 328, !45, i64 332}
!13 = !{!"_ZTSN4juce7ListBoxE", !14, i64 0, !40, i64 200, !6, i64 216, !42, i64 224, !43, i64 232, !44, i64 240, !20, i64 248, !20, i64 252, !20, i64 256, !20, i64 260, !20, i64 264, !45, i64 268, !45, i64 269, !45, i64 270, !45, i64 271, !46, i64 272}
!14 = !{!"_ZTSN4juce9ComponentE", !15, i64 0, !16, i64 8, !16, i64 16, !6, i64 24, !18, i64 32, !21, i64 48, !22, i64 56, !23, i64 64, !6, i64 88, !26, i64 96, !6, i64 104, !27, i64 112, !28, i64 120, !29, i64 128, !30, i64 136, !34, i64 160, !38, i64 184, !7, i64 192, !7, i64 196}
!15 = !{!"_ZTSN4juce13MouseListenerE"}
!16 = !{!"_ZTSN4juce6StringE", !17, i64 0}
!17 = !{!"_ZTSN4juce16CharPointer_UTF8E", !6, i64 0}
!18 = !{!"_ZTSN4juce9RectangleIiEE", !19, i64 0, !20, i64 8, !20, i64 12}
!19 = !{!"_ZTSN4juce5PointIiEE", !20, i64 0, !20, i64 4}
!20 = !{!"int", !7, i64 0}
!21 = !{!"_ZTSN4juce13ScopedPointerINS_9Component10PositionerEEE", !6, i64 0}
!22 = !{!"_ZTSN4juce13ScopedPointerINS_15AffineTransformEEE", !6, i64 0}
!23 = !{!"_ZTSN4juce5ArrayIPNS_9ComponentENS_20DummyCriticalSectionELi0EEE", !24, i64 0, !20, i64 16}
!24 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ComponentENS_20DummyCriticalSectionEEE", !25, i64 0, !20, i64 8}
!25 = !{!"_ZTSN4juce9HeapBlockIPNS_9ComponentELb0EEE", !6, i64 0}
!26 = !{!"_ZTSN4juce11MouseCursorE", !6, i64 0}
!27 = !{!"_ZTSN4juce13ScopedPointerINS_20CachedComponentImageEEE", !6, i64 0}
!28 = !{!"_ZTSN4juce13ScopedPointerINS_9Component17MouseListenerListEEE", !6, i64 0}
!29 = !{!"_ZTSN4juce13ScopedPointerINS_5ArrayIPNS_11KeyListenerENS_20DummyCriticalSectionELi0EEEEE", !6, i64 0}
!30 = !{!"_ZTSN4juce12ListenerListINS_17ComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !31, i64 0}
!31 = !{!"_ZTSN4juce5ArrayIPNS_17ComponentListenerENS_20DummyCriticalSectionELi0EEE", !32, i64 0, !20, i64 16}
!32 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17ComponentListenerENS_20DummyCriticalSectionEEE", !33, i64 0, !20, i64 8}
!33 = !{!"_ZTSN4juce9HeapBlockIPNS_17ComponentListenerELb0EEE", !6, i64 0}
!34 = !{!"_ZTSN4juce13NamedValueSetE", !35, i64 0}
!35 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !36, i64 0, !20, i64 16}
!36 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !37, i64 0, !20, i64 8}
!37 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !6, i64 0}
!38 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE6MasterE", !39, i64 0}
!39 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !6, i64 0}
!40 = !{!"_ZTSN4juce21SettableTooltipClientE", !41, i64 0, !16, i64 8}
!41 = !{!"_ZTSN4juce13TooltipClientE"}
!42 = !{!"_ZTSN4juce13ScopedPointerINS_7ListBox12ListViewportEEE", !6, i64 0}
!43 = !{!"_ZTSN4juce13ScopedPointerINS_9ComponentEEE", !6, i64 0}
!44 = !{!"_ZTSN4juce13ScopedPointerINS_13MouseListenerEEE", !6, i64 0}
!45 = !{!"bool", !7, i64 0}
!46 = !{!"_ZTSN4juce9SparseSetIiEE", !47, i64 0}
!47 = !{!"_ZTSN4juce5ArrayIiNS_20DummyCriticalSectionELi0EEE", !48, i64 0, !20, i64 16}
!48 = !{!"_ZTSN4juce19ArrayAllocationBaseIiNS_20DummyCriticalSectionEEE", !49, i64 0, !20, i64 8}
!49 = !{!"_ZTSN4juce9HeapBlockIiLb0EEE", !6, i64 0}
!50 = !{!"_ZTSN4juce12ListBoxModelE"}
!51 = !{!"_ZTSN4juce20TableHeaderComponent8ListenerE"}
!52 = !{!12, !6, i64 320}
!53 = !{!12, !45, i64 332}
!54 = !{!13, !6, i64 216}


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

@_ZTVN4juce12TableListBoxE = external dso_local unnamed_addr constant { [60 x ptr], [6 x ptr], [17 x ptr], [8 x ptr] }, align 8

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce7ListBoxC2ERKNS_6StringEPNS_12ListBoxModelE(ptr noundef nonnull align 8 dereferenceable(296), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce12TableListBoxC2ERKNS_6StringEPNS_17TableListBoxModelE(ptr noundef nonnull align 8 dereferenceable(333) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef %2) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  tail call void @_ZN4juce7ListBoxC2ERKNS_6StringEPNS_12ListBoxModelE(ptr noundef nonnull align 8 dereferenceable(296) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef null)
  %4 = getelementptr inbounds i8, ptr %0, i64 296
  tail call void @_ZN4juce12ListBoxModelC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  %5 = getelementptr inbounds i8, ptr %0, i64 304
  tail call void @_ZN4juce20TableHeaderComponent8ListenerC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5)
  store ptr getelementptr inbounds inrange(-16, 464) (i8, ptr @_ZTVN4juce12TableListBoxE, i64 16), ptr %0, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 200
  store ptr getelementptr inbounds inrange(-16, 32) (i8, ptr @_ZTVN4juce12TableListBoxE, i64 496), ptr %6, align 8, !tbaa !5
  store ptr getelementptr inbounds inrange(-16, 120) (i8, ptr @_ZTVN4juce12TableListBoxE, i64 544), ptr %4, align 8, !tbaa !5
  store ptr getelementptr inbounds inrange(-16, 48) (i8, ptr @_ZTVN4juce12TableListBoxE, i64 680), ptr %5, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 312
  store ptr null, ptr %7, align 8, !tbaa !8
  %8 = getelementptr inbounds i8, ptr %0, i64 320
  store ptr %2, ptr %8, align 8, !tbaa !51
  %9 = getelementptr inbounds i8, ptr %0, i64 332
  store i8 1, ptr %9, align 4, !tbaa !52
  %10 = getelementptr inbounds i8, ptr %0, i64 216
  store ptr %4, ptr %10, align 8, !tbaa !53
  %11 = invoke noalias noundef nonnull dereferenceable(320) ptr @_Znwm(i64 noundef 320) #6
          to label %12 unwind label %15

12:                                               ; preds = %3
  invoke void @_ZN4juce12TableListBox6HeaderC2ERS0_(ptr noundef nonnull align 8 dereferenceable(320) %11, ptr noundef nonnull align 8 dereferenceable(333) %0)
          to label %13 unwind label %17

13:                                               ; preds = %12
  invoke void @_ZN4juce12TableListBox9setHeaderEPNS_20TableHeaderComponentE(ptr noundef nonnull align 8 dereferenceable(333) %0, ptr noundef nonnull %11)
          to label %14 unwind label %15

14:                                               ; preds = %13
  ret void

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

17:                                               ; preds = %12
  %18 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %11, i64 noundef 320) #7
  br label %19

19:                                               ; preds = %17, %15
  %.pn = phi { ptr, i32 } [ %16, %15 ], [ %18, %17 ]
  tail call void @_ZN4juce20TableHeaderComponent8ListenerD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  tail call void @_ZN4juce12ListBoxModelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  tail call void @_ZN4juce7ListBoxD2Ev(ptr noundef nonnull align 8 dereferenceable(296) %0) #5
  resume { ptr, i32 } %.pn
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce12TableListBox9setHeaderEPNS_20TableHeaderComponentE(ptr noundef nonnull align 8 dereferenceable(333), ptr noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce12TableListBox6HeaderC2ERS0_(ptr noundef nonnull align 8 dereferenceable(320), ptr noundef nonnull align 8 dereferenceable(333)) unnamed_addr #2 align 2

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

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

attributes #0 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nobuiltin allocsize(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 = { 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 = { nounwind }
attributes #6 = { builtin allocsize(0) }
attributes #7 = { builtin 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, !15, i64 312}
!9 = !{!"_ZTSN4juce12TableListBoxE", !10, i64 0, !49, i64 296, !50, i64 304, !15, i64 312, !15, i64 320, !19, i64 328, !44, i64 332}
!10 = !{!"_ZTSN4juce7ListBoxE", !11, i64 0, !39, i64 200, !15, i64 216, !41, i64 224, !42, i64 232, !43, i64 240, !19, i64 248, !19, i64 252, !19, i64 256, !19, i64 260, !19, i64 264, !44, i64 268, !44, i64 269, !44, i64 270, !44, i64 271, !45, i64 272}
!11 = !{!"_ZTSN4juce9ComponentE", !12, i64 0, !13, i64 8, !13, i64 16, !15, i64 24, !17, i64 32, !20, i64 48, !21, i64 56, !22, i64 64, !15, i64 88, !25, i64 96, !15, i64 104, !26, i64 112, !27, i64 120, !28, i64 128, !29, i64 136, !33, i64 160, !37, i64 184, !16, i64 192, !16, i64 196}
!12 = !{!"_ZTSN4juce13MouseListenerE"}
!13 = !{!"_ZTSN4juce6StringE", !14, i64 0}
!14 = !{!"_ZTSN4juce16CharPointer_UTF8E", !15, i64 0}
!15 = !{!"any pointer", !16, i64 0}
!16 = !{!"omnipotent char", !7, i64 0}
!17 = !{!"_ZTSN4juce9RectangleIiEE", !18, i64 0, !19, i64 8, !19, i64 12}
!18 = !{!"_ZTSN4juce5PointIiEE", !19, i64 0, !19, i64 4}
!19 = !{!"int", !16, i64 0}
!20 = !{!"_ZTSN4juce13ScopedPointerINS_9Component10PositionerEEE", !15, i64 0}
!21 = !{!"_ZTSN4juce13ScopedPointerINS_15AffineTransformEEE", !15, i64 0}
!22 = !{!"_ZTSN4juce5ArrayIPNS_9ComponentENS_20DummyCriticalSectionELi0EEE", !23, i64 0, !19, i64 16}
!23 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ComponentENS_20DummyCriticalSectionEEE", !24, i64 0, !19, i64 8}
!24 = !{!"_ZTSN4juce9HeapBlockIPNS_9ComponentELb0EEE", !15, i64 0}
!25 = !{!"_ZTSN4juce11MouseCursorE", !15, i64 0}
!26 = !{!"_ZTSN4juce13ScopedPointerINS_20CachedComponentImageEEE", !15, i64 0}
!27 = !{!"_ZTSN4juce13ScopedPointerINS_9Component17MouseListenerListEEE", !15, i64 0}
!28 = !{!"_ZTSN4juce13ScopedPointerINS_5ArrayIPNS_11KeyListenerENS_20DummyCriticalSectionELi0EEEEE", !15, i64 0}
!29 = !{!"_ZTSN4juce12ListenerListINS_17ComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !30, i64 0}
!30 = !{!"_ZTSN4juce5ArrayIPNS_17ComponentListenerENS_20DummyCriticalSectionELi0EEE", !31, i64 0, !19, i64 16}
!31 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17ComponentListenerENS_20DummyCriticalSectionEEE", !32, i64 0, !19, i64 8}
!32 = !{!"_ZTSN4juce9HeapBlockIPNS_17ComponentListenerELb0EEE", !15, i64 0}
!33 = !{!"_ZTSN4juce13NamedValueSetE", !34, i64 0}
!34 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !35, i64 0, !19, i64 16}
!35 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !36, i64 0, !19, i64 8}
!36 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !15, i64 0}
!37 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE6MasterE", !38, i64 0}
!38 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !15, i64 0}
!39 = !{!"_ZTSN4juce21SettableTooltipClientE", !40, i64 0, !13, i64 8}
!40 = !{!"_ZTSN4juce13TooltipClientE"}
!41 = !{!"_ZTSN4juce13ScopedPointerINS_7ListBox12ListViewportEEE", !15, i64 0}
!42 = !{!"_ZTSN4juce13ScopedPointerINS_9ComponentEEE", !15, i64 0}
!43 = !{!"_ZTSN4juce13ScopedPointerINS_13MouseListenerEEE", !15, i64 0}
!44 = !{!"bool", !16, i64 0}
!45 = !{!"_ZTSN4juce9SparseSetIiEE", !46, i64 0}
!46 = !{!"_ZTSN4juce5ArrayIiNS_20DummyCriticalSectionELi0EEE", !47, i64 0, !19, i64 16}
!47 = !{!"_ZTSN4juce19ArrayAllocationBaseIiNS_20DummyCriticalSectionEEE", !48, i64 0, !19, i64 8}
!48 = !{!"_ZTSN4juce9HeapBlockIiLb0EEE", !15, i64 0}
!49 = !{!"_ZTSN4juce12ListBoxModelE"}
!50 = !{!"_ZTSN4juce20TableHeaderComponent8ListenerE"}
!51 = !{!9, !15, i64 320}
!52 = !{!9, !44, i64 332}
!53 = !{!10, !15, i64 216}


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