; 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::StringArray" = type { %"class.juce::Array.150" }
%"class.juce::Array.150" = type { %"class.juce::ArrayAllocationBase.151", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.151" = type <{ %"class.juce::HeapBlock.152", i32, [4 x i8] }>
%"class.juce::HeapBlock.152" = type { ptr }
%"class.juce::FilenameComponent" = type { %"class.juce::Component.base", %"class.juce::SettableTooltipClient", %"class.juce::FileDragAndDropTarget", %"class.juce::AsyncUpdater", %"class.juce::Button::Listener", %"class.juce::ComboBox::Listener", %"class.juce::ComboBox", %"class.juce::String", %"class.juce::ScopedPointer.282", i32, i8, i8, i8, %"class.juce::String", %"class.juce::String", %"class.juce::String", %"class.juce::ListenerList.332", %"class.juce::File" }
%"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::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::FileDragAndDropTarget" = type { ptr }
%"class.juce::AsyncUpdater" = type { ptr, %"class.juce::ReferenceCountedObjectPtr.15" }
%"class.juce::ReferenceCountedObjectPtr.15" = type { ptr }
%"class.juce::Button::Listener" = type { ptr }
%"class.juce::ComboBox::Listener" = type { ptr }
%"class.juce::ComboBox" = type <{ %"class.juce::Component.base", [3 x i8], %"class.juce::SettableTooltipClient", %"class.juce::Label::Listener", %"class.juce::Value::Listener", %"class.juce::AsyncUpdater", %"class.juce::PopupMenu", %"class.juce::Value", i32, i8, i8, i8, i8, float, [4 x i8], %"class.juce::ListenerList.244", %"class.juce::ScopedPointer.250", %"class.juce::String", %"class.juce::String", i32, [4 x i8] }>
%"class.juce::Label::Listener" = type { ptr }
%"class.juce::Value::Listener" = type { ptr }
%"class.juce::PopupMenu" = type { %"class.juce::OwnedArray.239", %"class.juce::WeakReference.37" }
%"class.juce::OwnedArray.239" = type { %"class.juce::ArrayAllocationBase.240", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.240" = type <{ %"class.juce::HeapBlock.241", i32, [4 x i8] }>
%"class.juce::HeapBlock.241" = type { ptr }
%"class.juce::WeakReference.37" = type { %"class.juce::ReferenceCountedObjectPtr.38" }
%"class.juce::ReferenceCountedObjectPtr.38" = type { ptr }
%"class.juce::Value" = type { %"class.juce::ReferenceCountedObjectPtr.116", %"class.juce::ListenerList.117" }
%"class.juce::ReferenceCountedObjectPtr.116" = type { ptr }
%"class.juce::ListenerList.117" = type { %"class.juce::Array.118" }
%"class.juce::Array.118" = type { %"class.juce::ArrayAllocationBase.119", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.119" = type <{ %"class.juce::HeapBlock.120", i32, [4 x i8] }>
%"class.juce::HeapBlock.120" = type { ptr }
%"class.juce::ListenerList.244" = type { %"class.juce::Array.245" }
%"class.juce::Array.245" = type { %"class.juce::ArrayAllocationBase.246", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.246" = type <{ %"class.juce::HeapBlock.247", i32, [4 x i8] }>
%"class.juce::HeapBlock.247" = type { ptr }
%"class.juce::ScopedPointer.250" = type { ptr }
%"class.juce::ScopedPointer.282" = type { ptr }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::ListenerList.332" = type { %"class.juce::Array.333" }
%"class.juce::Array.333" = type { %"class.juce::ArrayAllocationBase.334", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.334" = type <{ %"class.juce::HeapBlock.335", i32, [4 x i8] }>
%"class.juce::HeapBlock.335" = type { ptr }
%"class.juce::File" = type { %"class.juce::String" }

; 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: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef, i32 noundef) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce11StringArray4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: nounwind
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce11StringArrayixEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #3

; Function Attrs: nounwind
declare void @_ZN4juce11StringArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce8ComboBox7addItemERKNS_6StringEi(ptr noundef nonnull align 8 dereferenceable(380), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce8ComboBox5clearENS_16NotificationTypeE(ptr noundef nonnull align 8 dereferenceable(380), i32 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4juce17FilenameComponent24getRecentlyUsedFilenamesEv(ptr dead_on_unwind noalias writable sret(%"class.juce::StringArray") align 8, ptr noundef nonnull align 8 dereferenceable(720)) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce17FilenameComponent24setRecentlyUsedFilenamesERKNS_11StringArrayE(ptr noundef nonnull align 8 dereferenceable(720) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) #4 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.juce::StringArray", align 8
  %6 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %7 = load ptr, ptr %3, align 8
  %8 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #5
  call void @_ZNK4juce17FilenameComponent24getRecentlyUsedFilenamesEv(ptr dead_on_unwind writable sret(%"class.juce::StringArray") align 8 %5, ptr noundef nonnull align 8 dereferenceable(720) %7)
  %9 = call noundef zeroext i1 @_ZNK4juce11StringArrayneERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @_ZN4juce11StringArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #5
  br i1 %9, label %10, label %32

10:                                               ; preds = %2
  %11 = getelementptr inbounds %"class.juce::FilenameComponent", ptr %7, i32 0, i32 6
  call void @_ZN4juce8ComboBox5clearENS_16NotificationTypeE(ptr noundef nonnull align 8 dereferenceable(380) %11, i32 noundef 3)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %12

12:                                               ; preds = %28, %10
  %13 = load i32, ptr %6, align 4, !tbaa !9
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = call noundef i32 @_ZNK4juce11StringArray4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #5
  %16 = getelementptr inbounds %"class.juce::FilenameComponent", ptr %7, i32 0, i32 9
  %17 = load i32, ptr %16, align 8, !tbaa !11
  %18 = call noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef %15, i32 noundef %17)
  %19 = icmp slt i32 %13, %18
  br i1 %19, label %21, label %20

20:                                               ; preds = %12
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %31

21:                                               ; preds = %12
  %22 = getelementptr inbounds %"class.juce::FilenameComponent", ptr %7, i32 0, i32 6
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = load i32, ptr %6, align 4, !tbaa !9
  %25 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce11StringArrayixEi(ptr noundef nonnull align 8 dereferenceable(24) %23, i32 noundef %24) #5
  %26 = load i32, ptr %6, align 4, !tbaa !9
  %27 = add nsw i32 %26, 1
  call void @_ZN4juce8ComboBox7addItemERKNS_6StringEi(ptr noundef nonnull align 8 dereferenceable(380) %22, ptr noundef nonnull align 8 dereferenceable(8) %25, i32 noundef %27)
  br label %28

28:                                               ; preds = %21
  %29 = load i32, ptr %6, align 4, !tbaa !9
  %30 = add nsw i32 %29, 1
  store i32 %30, ptr %6, align 4, !tbaa !9
  br label %12, !llvm.loop !74

31:                                               ; preds = %20
  br label %32

32:                                               ; preds = %31, %2
  ret void
}

; Function Attrs: nounwind
declare noundef zeroext i1 @_ZNK4juce11StringArrayneERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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 #3 = { 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 #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 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 656}
!12 = !{!"_ZTSN4juce17FilenameComponentE", !13, i64 0, !38, i64 200, !40, i64 216, !41, i64 224, !43, i64 240, !44, i64 248, !45, i64 256, !15, i64 640, !68, i64 648, !10, i64 656, !60, i64 660, !60, i64 661, !60, i64 662, !15, i64 664, !15, i64 672, !15, i64 680, !69, i64 688, !73, i64 712}
!13 = !{!"_ZTSN4juce9ComponentE", !14, i64 0, !15, i64 8, !15, i64 16, !6, i64 24, !17, i64 32, !19, i64 48, !20, i64 56, !21, i64 64, !6, i64 88, !24, i64 96, !6, i64 104, !25, i64 112, !26, i64 120, !27, i64 128, !28, i64 136, !32, i64 160, !36, i64 184, !7, i64 192, !7, i64 196}
!14 = !{!"_ZTSN4juce13MouseListenerE"}
!15 = !{!"_ZTSN4juce6StringE", !16, i64 0}
!16 = !{!"_ZTSN4juce16CharPointer_UTF8E", !6, i64 0}
!17 = !{!"_ZTSN4juce9RectangleIiEE", !18, i64 0, !10, i64 8, !10, i64 12}
!18 = !{!"_ZTSN4juce5PointIiEE", !10, i64 0, !10, i64 4}
!19 = !{!"_ZTSN4juce13ScopedPointerINS_9Component10PositionerEEE", !6, i64 0}
!20 = !{!"_ZTSN4juce13ScopedPointerINS_15AffineTransformEEE", !6, i64 0}
!21 = !{!"_ZTSN4juce5ArrayIPNS_9ComponentENS_20DummyCriticalSectionELi0EEE", !22, i64 0, !10, i64 16}
!22 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ComponentENS_20DummyCriticalSectionEEE", !23, i64 0, !10, i64 8}
!23 = !{!"_ZTSN4juce9HeapBlockIPNS_9ComponentELb0EEE", !6, i64 0}
!24 = !{!"_ZTSN4juce11MouseCursorE", !6, i64 0}
!25 = !{!"_ZTSN4juce13ScopedPointerINS_20CachedComponentImageEEE", !6, i64 0}
!26 = !{!"_ZTSN4juce13ScopedPointerINS_9Component17MouseListenerListEEE", !6, i64 0}
!27 = !{!"_ZTSN4juce13ScopedPointerINS_5ArrayIPNS_11KeyListenerENS_20DummyCriticalSectionELi0EEEEE", !6, i64 0}
!28 = !{!"_ZTSN4juce12ListenerListINS_17ComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !29, i64 0}
!29 = !{!"_ZTSN4juce5ArrayIPNS_17ComponentListenerENS_20DummyCriticalSectionELi0EEE", !30, i64 0, !10, i64 16}
!30 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17ComponentListenerENS_20DummyCriticalSectionEEE", !31, i64 0, !10, i64 8}
!31 = !{!"_ZTSN4juce9HeapBlockIPNS_17ComponentListenerELb0EEE", !6, i64 0}
!32 = !{!"_ZTSN4juce13NamedValueSetE", !33, i64 0}
!33 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !34, i64 0, !10, i64 16}
!34 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !35, i64 0, !10, i64 8}
!35 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !6, i64 0}
!36 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE6MasterE", !37, i64 0}
!37 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !6, i64 0}
!38 = !{!"_ZTSN4juce21SettableTooltipClientE", !39, i64 0, !15, i64 8}
!39 = !{!"_ZTSN4juce13TooltipClientE"}
!40 = !{!"_ZTSN4juce21FileDragAndDropTargetE"}
!41 = !{!"_ZTSN4juce12AsyncUpdaterE", !42, i64 8}
!42 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_12AsyncUpdater19AsyncUpdaterMessageEEE", !6, i64 0}
!43 = !{!"_ZTSN4juce6Button8ListenerE"}
!44 = !{!"_ZTSN4juce8ComboBox8ListenerE"}
!45 = !{!"_ZTSN4juce8ComboBoxE", !13, i64 0, !38, i64 200, !46, i64 216, !47, i64 224, !41, i64 232, !48, i64 248, !54, i64 280, !10, i64 312, !60, i64 316, !60, i64 317, !60, i64 318, !61, i64 320, !62, i64 328, !66, i64 352, !15, i64 360, !15, i64 368, !67, i64 376}
!46 = !{!"_ZTSN4juce5Label8ListenerE"}
!47 = !{!"_ZTSN4juce5Value8ListenerE"}
!48 = !{!"_ZTSN4juce9PopupMenuE", !49, i64 0, !52, i64 24}
!49 = !{!"_ZTSN4juce10OwnedArrayINS_9PopupMenu4ItemENS_20DummyCriticalSectionEEE", !50, i64 0, !10, i64 16}
!50 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9PopupMenu4ItemENS_20DummyCriticalSectionEEE", !51, i64 0, !10, i64 8}
!51 = !{!"_ZTSN4juce9HeapBlockIPNS_9PopupMenu4ItemELb0EEE", !6, i64 0}
!52 = !{!"_ZTSN4juce13WeakReferenceINS_11LookAndFeelENS_22ReferenceCountedObjectEEE", !53, i64 0}
!53 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_11LookAndFeelENS_22ReferenceCountedObjectEE13SharedPointerEEE", !6, i64 0}
!54 = !{!"_ZTSN4juce5ValueE", !55, i64 0, !56, i64 8}
!55 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_5Value11ValueSourceEEE", !6, i64 0}
!56 = !{!"_ZTSN4juce12ListenerListINS_5Value8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEEE", !57, i64 0}
!57 = !{!"_ZTSN4juce5ArrayIPNS_5Value8ListenerENS_20DummyCriticalSectionELi0EEE", !58, i64 0, !10, i64 16}
!58 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_5Value8ListenerENS_20DummyCriticalSectionEEE", !59, i64 0, !10, i64 8}
!59 = !{!"_ZTSN4juce9HeapBlockIPNS_5Value8ListenerELb0EEE", !6, i64 0}
!60 = !{!"bool", !7, i64 0}
!61 = !{!"float", !7, i64 0}
!62 = !{!"_ZTSN4juce12ListenerListINS_8ComboBox8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEEE", !63, i64 0}
!63 = !{!"_ZTSN4juce5ArrayIPNS_8ComboBox8ListenerENS_20DummyCriticalSectionELi0EEE", !64, i64 0, !10, i64 16}
!64 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_8ComboBox8ListenerENS_20DummyCriticalSectionEEE", !65, i64 0, !10, i64 8}
!65 = !{!"_ZTSN4juce9HeapBlockIPNS_8ComboBox8ListenerELb0EEE", !6, i64 0}
!66 = !{!"_ZTSN4juce13ScopedPointerINS_5LabelEEE", !6, i64 0}
!67 = !{!"_ZTSN4juce8ComboBox13EditableStateE", !7, i64 0}
!68 = !{!"_ZTSN4juce13ScopedPointerINS_6ButtonEEE", !6, i64 0}
!69 = !{!"_ZTSN4juce12ListenerListINS_25FilenameComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !70, i64 0}
!70 = !{!"_ZTSN4juce5ArrayIPNS_25FilenameComponentListenerENS_20DummyCriticalSectionELi0EEE", !71, i64 0, !10, i64 16}
!71 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_25FilenameComponentListenerENS_20DummyCriticalSectionEEE", !72, i64 0, !10, i64 8}
!72 = !{!"_ZTSN4juce9HeapBlockIPNS_25FilenameComponentListenerELb0EEE", !6, i64 0}
!73 = !{!"_ZTSN4juce4FileE", !15, i64 0}
!74 = distinct !{!74, !75}
!75 = !{!"llvm.loop.mustprogress"}


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

%"class.juce::StringArray" = type { %"class.juce::Array.150" }
%"class.juce::Array.150" = type { %"class.juce::ArrayAllocationBase.151", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.151" = type <{ %"class.juce::HeapBlock.152", i32, [4 x i8] }>
%"class.juce::HeapBlock.152" = type { ptr }

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce11StringArray4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: nounwind
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce11StringArrayixEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN4juce11StringArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce8ComboBox7addItemERKNS_6StringEi(ptr noundef nonnull align 8 dereferenceable(380), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce8ComboBox5clearENS_16NotificationTypeE(ptr noundef nonnull align 8 dereferenceable(380), i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4juce17FilenameComponent24getRecentlyUsedFilenamesEv(ptr dead_on_unwind noalias writable sret(%"class.juce::StringArray") align 8, ptr noundef nonnull align 8 dereferenceable(720)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce17FilenameComponent24setRecentlyUsedFilenamesERKNS_11StringArrayE(ptr noundef nonnull align 8 dereferenceable(720) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) local_unnamed_addr #4 align 2 {
  %3 = alloca %"class.juce::StringArray", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #5
  call void @_ZNK4juce17FilenameComponent24getRecentlyUsedFilenamesEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::StringArray") align 8 %3, ptr noundef nonnull align 8 dereferenceable(720) %0)
  %4 = call noundef zeroext i1 @_ZNK4juce11StringArrayneERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  call void @_ZN4juce11StringArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #5
  br i1 %4, label %5, label %.loopexit

5:                                                ; preds = %2
  %6 = getelementptr inbounds i8, ptr %0, i64 256
  call void @_ZN4juce8ComboBox5clearENS_16NotificationTypeE(ptr noundef nonnull align 8 dereferenceable(380) %6, i32 noundef 3)
  %7 = call noundef i32 @_ZNK4juce11StringArray4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  %8 = getelementptr inbounds i8, ptr %0, i64 656
  %9 = load i32, ptr %8, align 8, !tbaa !5
  %10 = call noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef %7, i32 noundef %9)
  %11 = icmp sgt i32 %10, 0
  br i1 %11, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %5, %.lr.ph
  %.07 = phi i32 [ %13, %.lr.ph ], [ 0, %5 ]
  %12 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce11StringArrayixEi(ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %.07) #5
  %13 = add nuw nsw i32 %.07, 1
  call void @_ZN4juce8ComboBox7addItemERKNS_6StringEi(ptr noundef nonnull align 8 dereferenceable(380) %6, ptr noundef nonnull align 8 dereferenceable(8) %12, i32 noundef %13)
  %14 = call noundef i32 @_ZNK4juce11StringArray4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  %15 = load i32, ptr %8, align 8, !tbaa !5
  %16 = call noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef %14, i32 noundef %15)
  %17 = icmp slt i32 %13, %16
  br i1 %17, label %.lr.ph, label %.loopexit, !llvm.loop !72

.loopexit:                                        ; preds = %.lr.ph, %5, %2
  ret void
}

; Function Attrs: nounwind
declare noundef zeroext i1 @_ZNK4juce11StringArrayneERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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 #3 = { 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 #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 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !16, i64 656}
!6 = !{!"_ZTSN4juce17FilenameComponentE", !7, i64 0, !36, i64 200, !38, i64 216, !39, i64 224, !41, i64 240, !42, i64 248, !43, i64 256, !9, i64 640, !66, i64 648, !16, i64 656, !58, i64 660, !58, i64 661, !58, i64 662, !9, i64 664, !9, i64 672, !9, i64 680, !67, i64 688, !71, i64 712}
!7 = !{!"_ZTSN4juce9ComponentE", !8, i64 0, !9, i64 8, !9, i64 16, !11, i64 24, !14, i64 32, !17, i64 48, !18, i64 56, !19, i64 64, !11, i64 88, !22, i64 96, !11, i64 104, !23, i64 112, !24, i64 120, !25, i64 128, !26, i64 136, !30, i64 160, !34, i64 184, !12, i64 192, !12, i64 196}
!8 = !{!"_ZTSN4juce13MouseListenerE"}
!9 = !{!"_ZTSN4juce6StringE", !10, i64 0}
!10 = !{!"_ZTSN4juce16CharPointer_UTF8E", !11, i64 0}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!"_ZTSN4juce9RectangleIiEE", !15, i64 0, !16, i64 8, !16, i64 12}
!15 = !{!"_ZTSN4juce5PointIiEE", !16, i64 0, !16, i64 4}
!16 = !{!"int", !12, i64 0}
!17 = !{!"_ZTSN4juce13ScopedPointerINS_9Component10PositionerEEE", !11, i64 0}
!18 = !{!"_ZTSN4juce13ScopedPointerINS_15AffineTransformEEE", !11, i64 0}
!19 = !{!"_ZTSN4juce5ArrayIPNS_9ComponentENS_20DummyCriticalSectionELi0EEE", !20, i64 0, !16, i64 16}
!20 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ComponentENS_20DummyCriticalSectionEEE", !21, i64 0, !16, i64 8}
!21 = !{!"_ZTSN4juce9HeapBlockIPNS_9ComponentELb0EEE", !11, i64 0}
!22 = !{!"_ZTSN4juce11MouseCursorE", !11, i64 0}
!23 = !{!"_ZTSN4juce13ScopedPointerINS_20CachedComponentImageEEE", !11, i64 0}
!24 = !{!"_ZTSN4juce13ScopedPointerINS_9Component17MouseListenerListEEE", !11, i64 0}
!25 = !{!"_ZTSN4juce13ScopedPointerINS_5ArrayIPNS_11KeyListenerENS_20DummyCriticalSectionELi0EEEEE", !11, i64 0}
!26 = !{!"_ZTSN4juce12ListenerListINS_17ComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !27, i64 0}
!27 = !{!"_ZTSN4juce5ArrayIPNS_17ComponentListenerENS_20DummyCriticalSectionELi0EEE", !28, i64 0, !16, i64 16}
!28 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17ComponentListenerENS_20DummyCriticalSectionEEE", !29, i64 0, !16, i64 8}
!29 = !{!"_ZTSN4juce9HeapBlockIPNS_17ComponentListenerELb0EEE", !11, i64 0}
!30 = !{!"_ZTSN4juce13NamedValueSetE", !31, i64 0}
!31 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !32, i64 0, !16, i64 16}
!32 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !33, i64 0, !16, i64 8}
!33 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !11, i64 0}
!34 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE6MasterE", !35, i64 0}
!35 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !11, i64 0}
!36 = !{!"_ZTSN4juce21SettableTooltipClientE", !37, i64 0, !9, i64 8}
!37 = !{!"_ZTSN4juce13TooltipClientE"}
!38 = !{!"_ZTSN4juce21FileDragAndDropTargetE"}
!39 = !{!"_ZTSN4juce12AsyncUpdaterE", !40, i64 8}
!40 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_12AsyncUpdater19AsyncUpdaterMessageEEE", !11, i64 0}
!41 = !{!"_ZTSN4juce6Button8ListenerE"}
!42 = !{!"_ZTSN4juce8ComboBox8ListenerE"}
!43 = !{!"_ZTSN4juce8ComboBoxE", !7, i64 0, !36, i64 200, !44, i64 216, !45, i64 224, !39, i64 232, !46, i64 248, !52, i64 280, !16, i64 312, !58, i64 316, !58, i64 317, !58, i64 318, !59, i64 320, !60, i64 328, !64, i64 352, !9, i64 360, !9, i64 368, !65, i64 376}
!44 = !{!"_ZTSN4juce5Label8ListenerE"}
!45 = !{!"_ZTSN4juce5Value8ListenerE"}
!46 = !{!"_ZTSN4juce9PopupMenuE", !47, i64 0, !50, i64 24}
!47 = !{!"_ZTSN4juce10OwnedArrayINS_9PopupMenu4ItemENS_20DummyCriticalSectionEEE", !48, i64 0, !16, i64 16}
!48 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9PopupMenu4ItemENS_20DummyCriticalSectionEEE", !49, i64 0, !16, i64 8}
!49 = !{!"_ZTSN4juce9HeapBlockIPNS_9PopupMenu4ItemELb0EEE", !11, i64 0}
!50 = !{!"_ZTSN4juce13WeakReferenceINS_11LookAndFeelENS_22ReferenceCountedObjectEEE", !51, i64 0}
!51 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_11LookAndFeelENS_22ReferenceCountedObjectEE13SharedPointerEEE", !11, i64 0}
!52 = !{!"_ZTSN4juce5ValueE", !53, i64 0, !54, i64 8}
!53 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_5Value11ValueSourceEEE", !11, i64 0}
!54 = !{!"_ZTSN4juce12ListenerListINS_5Value8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEEE", !55, i64 0}
!55 = !{!"_ZTSN4juce5ArrayIPNS_5Value8ListenerENS_20DummyCriticalSectionELi0EEE", !56, i64 0, !16, i64 16}
!56 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_5Value8ListenerENS_20DummyCriticalSectionEEE", !57, i64 0, !16, i64 8}
!57 = !{!"_ZTSN4juce9HeapBlockIPNS_5Value8ListenerELb0EEE", !11, i64 0}
!58 = !{!"bool", !12, i64 0}
!59 = !{!"float", !12, i64 0}
!60 = !{!"_ZTSN4juce12ListenerListINS_8ComboBox8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEEE", !61, i64 0}
!61 = !{!"_ZTSN4juce5ArrayIPNS_8ComboBox8ListenerENS_20DummyCriticalSectionELi0EEE", !62, i64 0, !16, i64 16}
!62 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_8ComboBox8ListenerENS_20DummyCriticalSectionEEE", !63, i64 0, !16, i64 8}
!63 = !{!"_ZTSN4juce9HeapBlockIPNS_8ComboBox8ListenerELb0EEE", !11, i64 0}
!64 = !{!"_ZTSN4juce13ScopedPointerINS_5LabelEEE", !11, i64 0}
!65 = !{!"_ZTSN4juce8ComboBox13EditableStateE", !12, i64 0}
!66 = !{!"_ZTSN4juce13ScopedPointerINS_6ButtonEEE", !11, i64 0}
!67 = !{!"_ZTSN4juce12ListenerListINS_25FilenameComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !68, i64 0}
!68 = !{!"_ZTSN4juce5ArrayIPNS_25FilenameComponentListenerENS_20DummyCriticalSectionELi0EEE", !69, i64 0, !16, i64 16}
!69 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_25FilenameComponentListenerENS_20DummyCriticalSectionEEE", !70, i64 0, !16, i64 8}
!70 = !{!"_ZTSN4juce9HeapBlockIPNS_25FilenameComponentListenerELb0EEE", !11, i64 0}
!71 = !{!"_ZTSN4juce4FileE", !9, i64 0}
!72 = distinct !{!72, !73}
!73 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass