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

; 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::PluginListComponent" = type { %"class.juce::Component.base", %"class.juce::FileDragAndDropTarget", %"class.juce::ChangeListener", %"class.juce::Button::Listener", ptr, ptr, %"class.juce::File", %"class.juce::TableListBox", %"class.juce::TextButton", ptr, %"class.juce::String", %"class.juce::String", i8, i32, %"class.juce::ScopedPointer.184", %"class.juce::ScopedPointer.185" }
%"class.juce::Component.base" = type <{ %"class.juce::MouseListener", %"class.juce::String", %"class.juce::String", ptr, %"class.juce::Rectangle", %"class.juce::ScopedPointer.63", %"class.juce::ScopedPointer.64", %"class.juce::Array.65", ptr, %"class.juce::MouseCursor", ptr, %"class.juce::ScopedPointer.70", %"class.juce::ScopedPointer.71", %"class.juce::ScopedPointer.72", %"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.63" = type { ptr }
%"class.juce::ScopedPointer.64" = type { ptr }
%"class.juce::Array.65" = type { %"class.juce::ArrayAllocationBase.66", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.66" = type <{ %"class.juce::HeapBlock.67", i32, [4 x i8] }>
%"class.juce::HeapBlock.67" = type { ptr }
%"class.juce::MouseCursor" = type { ptr }
%"class.juce::ScopedPointer.70" = type { ptr }
%"class.juce::ScopedPointer.71" = type { ptr }
%"class.juce::ScopedPointer.72" = type { ptr }
%"class.juce::ListenerList" = type { %"class.juce::Array.73" }
%"class.juce::Array.73" = type { %"class.juce::ArrayAllocationBase.74", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.74" = type <{ %"class.juce::HeapBlock.75", i32, [4 x i8] }>
%"class.juce::HeapBlock.75" = type { ptr }
%"class.juce::NamedValueSet" = type { %"class.juce::Array.78" }
%"class.juce::Array.78" = type { %"class.juce::ArrayAllocationBase.79", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.79" = type <{ %"class.juce::HeapBlock.80", i32, [4 x i8] }>
%"class.juce::HeapBlock.80" = type { ptr }
%"class.juce::WeakReference<juce::Component>::Master" = type { %"class.juce::ReferenceCountedObjectPtr" }
%"class.juce::ReferenceCountedObjectPtr" = type { ptr }
%union.anon = type { i32 }
%"class.juce::FileDragAndDropTarget" = type { ptr }
%"class.juce::ChangeListener" = type { ptr }
%"class.juce::Button::Listener" = type { ptr }
%"class.juce::File" = type { %"class.juce::String" }
%"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.162", %"class.juce::ScopedPointer.163", %"class.juce::ScopedPointer.164", i32, i32, i32, i32, i32, i8, i8, i8, i8, %"class.juce::SparseSet" }
%"class.juce::SettableTooltipClient" = type { %"class.juce::TooltipClient", %"class.juce::String" }
%"class.juce::TooltipClient" = type { ptr }
%"class.juce::ScopedPointer.162" = type { ptr }
%"class.juce::ScopedPointer.163" = type { ptr }
%"class.juce::ScopedPointer.164" = type { ptr }
%"class.juce::SparseSet" = type { %"class.juce::Array.96" }
%"class.juce::Array.96" = type { %"class.juce::ArrayAllocationBase.97", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.97" = type <{ %"class.juce::HeapBlock.98", i32, [4 x i8] }>
%"class.juce::HeapBlock.98" = type { ptr }
%"class.juce::ListBoxModel" = type { ptr }
%"class.juce::TableHeaderComponent::Listener" = type { ptr }
%"class.juce::TextButton" = type { %"class.juce::Button.base", i8 }
%"class.juce::Button.base" = type <{ %"class.juce::Component.base", [3 x i8], %"class.juce::SettableTooltipClient", %"class.juce::Array.165", %"class.juce::WeakReference", %"class.juce::String", %"class.juce::ListenerList.170", %"class.juce::ScopedPointer.176", i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, %"class.juce::Value", i8, i8, i8, i8, i8, i8, i8 }>
%"class.juce::Array.165" = type { %"class.juce::ArrayAllocationBase.166", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.166" = type <{ %"class.juce::HeapBlock.167", i32, [4 x i8] }>
%"class.juce::HeapBlock.167" = type { ptr }
%"class.juce::WeakReference" = type { %"class.juce::ReferenceCountedObjectPtr" }
%"class.juce::ListenerList.170" = type { %"class.juce::Array.171" }
%"class.juce::Array.171" = type { %"class.juce::ArrayAllocationBase.172", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.172" = type <{ %"class.juce::HeapBlock.173", i32, [4 x i8] }>
%"class.juce::HeapBlock.173" = type { ptr }
%"class.juce::ScopedPointer.176" = type { ptr }
%"class.juce::Value" = type { %"class.juce::ReferenceCountedObjectPtr.177", %"class.juce::ListenerList.178" }
%"class.juce::ReferenceCountedObjectPtr.177" = type { ptr }
%"class.juce::ListenerList.178" = type { %"class.juce::Array.179" }
%"class.juce::Array.179" = type { %"class.juce::ArrayAllocationBase.180", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.180" = type <{ %"class.juce::HeapBlock.181", i32, [4 x i8] }>
%"class.juce::HeapBlock.181" = type { ptr }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::ScopedPointer.184" = type { ptr }
%"class.juce::ScopedPointer.185" = type { ptr }

; 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 uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce24AudioPluginFormatManager20doesPluginStillExistERKNS_17PluginDescriptionE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(89)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15KnownPluginList10removeTypeEi(ptr noundef nonnull align 8 dereferenceable(192), i32 noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4juce15KnownPluginList7getTypeEi(ptr noundef nonnull align 8 dereferenceable(192), i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce19PluginListComponent20removeMissingPluginsEv(ptr noundef nonnull align 8 dereferenceable(1008) %0) #1 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %4 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  %5 = getelementptr inbounds %"class.juce::PluginListComponent", ptr %4, i32 0, i32 5
  %6 = load ptr, ptr %5, align 8, !tbaa !9
  %7 = call noundef i32 @_ZNK4juce15KnownPluginList11getNumTypesEv(ptr noundef nonnull align 8 dereferenceable(192) %6) #3
  store i32 %7, ptr %3, align 4, !tbaa !75
  br label %8

8:                                                ; preds = %25, %1
  %9 = load i32, ptr %3, align 4, !tbaa !75
  %10 = add nsw i32 %9, -1
  store i32 %10, ptr %3, align 4, !tbaa !75
  %11 = icmp sge i32 %10, 0
  br i1 %11, label %13, label %12

12:                                               ; preds = %8
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  br label %26

13:                                               ; preds = %8
  %14 = getelementptr inbounds %"class.juce::PluginListComponent", ptr %4, i32 0, i32 4
  %15 = load ptr, ptr %14, align 8, !tbaa !76
  %16 = getelementptr inbounds %"class.juce::PluginListComponent", ptr %4, i32 0, i32 5
  %17 = load ptr, ptr %16, align 8, !tbaa !9
  %18 = load i32, ptr %3, align 4, !tbaa !75
  %19 = call noundef ptr @_ZNK4juce15KnownPluginList7getTypeEi(ptr noundef nonnull align 8 dereferenceable(192) %17, i32 noundef %18) #3
  %20 = call noundef zeroext i1 @_ZNK4juce24AudioPluginFormatManager20doesPluginStillExistERKNS_17PluginDescriptionE(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(89) %19)
  br i1 %20, label %25, label %21

21:                                               ; preds = %13
  %22 = getelementptr inbounds %"class.juce::PluginListComponent", ptr %4, i32 0, i32 5
  %23 = load ptr, ptr %22, align 8, !tbaa !9
  %24 = load i32, ptr %3, align 4, !tbaa !75
  call void @_ZN4juce15KnownPluginList10removeTypeEi(ptr noundef nonnull align 8 dereferenceable(192) %23, i32 noundef %24)
  br label %25

25:                                               ; preds = %21, %13
  br label %8, !llvm.loop !77

26:                                               ; preds = %12
  ret void
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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, !6, i64 232}
!10 = !{!"_ZTSN4juce19PluginListComponentE", !11, i64 0, !37, i64 200, !38, i64 208, !39, i64 216, !6, i64 224, !6, i64 232, !40, i64 240, !41, i64 248, !55, i64 584, !6, i64 960, !13, i64 968, !13, i64 976, !48, i64 984, !17, i64 988, !73, i64 992, !74, i64 1000}
!11 = !{!"_ZTSN4juce9ComponentE", !12, i64 0, !13, i64 8, !13, i64 16, !6, i64 24, !15, i64 32, !18, i64 48, !19, i64 56, !20, i64 64, !6, i64 88, !23, i64 96, !6, i64 104, !24, i64 112, !25, i64 120, !26, i64 128, !27, i64 136, !31, i64 160, !35, i64 184, !7, i64 192, !7, i64 196}
!12 = !{!"_ZTSN4juce13MouseListenerE"}
!13 = !{!"_ZTSN4juce6StringE", !14, i64 0}
!14 = !{!"_ZTSN4juce16CharPointer_UTF8E", !6, i64 0}
!15 = !{!"_ZTSN4juce9RectangleIiEE", !16, i64 0, !17, i64 8, !17, i64 12}
!16 = !{!"_ZTSN4juce5PointIiEE", !17, i64 0, !17, i64 4}
!17 = !{!"int", !7, i64 0}
!18 = !{!"_ZTSN4juce13ScopedPointerINS_9Component10PositionerEEE", !6, i64 0}
!19 = !{!"_ZTSN4juce13ScopedPointerINS_15AffineTransformEEE", !6, i64 0}
!20 = !{!"_ZTSN4juce5ArrayIPNS_9ComponentENS_20DummyCriticalSectionELi0EEE", !21, i64 0, !17, i64 16}
!21 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ComponentENS_20DummyCriticalSectionEEE", !22, i64 0, !17, i64 8}
!22 = !{!"_ZTSN4juce9HeapBlockIPNS_9ComponentELb0EEE", !6, i64 0}
!23 = !{!"_ZTSN4juce11MouseCursorE", !6, i64 0}
!24 = !{!"_ZTSN4juce13ScopedPointerINS_20CachedComponentImageEEE", !6, i64 0}
!25 = !{!"_ZTSN4juce13ScopedPointerINS_9Component17MouseListenerListEEE", !6, i64 0}
!26 = !{!"_ZTSN4juce13ScopedPointerINS_5ArrayIPNS_11KeyListenerENS_20DummyCriticalSectionELi0EEEEE", !6, i64 0}
!27 = !{!"_ZTSN4juce12ListenerListINS_17ComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !28, i64 0}
!28 = !{!"_ZTSN4juce5ArrayIPNS_17ComponentListenerENS_20DummyCriticalSectionELi0EEE", !29, i64 0, !17, i64 16}
!29 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17ComponentListenerENS_20DummyCriticalSectionEEE", !30, i64 0, !17, i64 8}
!30 = !{!"_ZTSN4juce9HeapBlockIPNS_17ComponentListenerELb0EEE", !6, i64 0}
!31 = !{!"_ZTSN4juce13NamedValueSetE", !32, i64 0}
!32 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !33, i64 0, !17, i64 16}
!33 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !34, i64 0, !17, i64 8}
!34 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !6, i64 0}
!35 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE6MasterE", !36, i64 0}
!36 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !6, i64 0}
!37 = !{!"_ZTSN4juce21FileDragAndDropTargetE"}
!38 = !{!"_ZTSN4juce14ChangeListenerE"}
!39 = !{!"_ZTSN4juce6Button8ListenerE"}
!40 = !{!"_ZTSN4juce4FileE", !13, i64 0}
!41 = !{!"_ZTSN4juce12TableListBoxE", !42, i64 0, !53, i64 296, !54, i64 304, !6, i64 312, !6, i64 320, !17, i64 328, !48, i64 332}
!42 = !{!"_ZTSN4juce7ListBoxE", !11, i64 0, !43, i64 200, !6, i64 216, !45, i64 224, !46, i64 232, !47, i64 240, !17, i64 248, !17, i64 252, !17, i64 256, !17, i64 260, !17, i64 264, !48, i64 268, !48, i64 269, !48, i64 270, !48, i64 271, !49, i64 272}
!43 = !{!"_ZTSN4juce21SettableTooltipClientE", !44, i64 0, !13, i64 8}
!44 = !{!"_ZTSN4juce13TooltipClientE"}
!45 = !{!"_ZTSN4juce13ScopedPointerINS_7ListBox12ListViewportEEE", !6, i64 0}
!46 = !{!"_ZTSN4juce13ScopedPointerINS_9ComponentEEE", !6, i64 0}
!47 = !{!"_ZTSN4juce13ScopedPointerINS_13MouseListenerEEE", !6, i64 0}
!48 = !{!"bool", !7, i64 0}
!49 = !{!"_ZTSN4juce9SparseSetIiEE", !50, i64 0}
!50 = !{!"_ZTSN4juce5ArrayIiNS_20DummyCriticalSectionELi0EEE", !51, i64 0, !17, i64 16}
!51 = !{!"_ZTSN4juce19ArrayAllocationBaseIiNS_20DummyCriticalSectionEEE", !52, i64 0, !17, i64 8}
!52 = !{!"_ZTSN4juce9HeapBlockIiLb0EEE", !6, i64 0}
!53 = !{!"_ZTSN4juce12ListBoxModelE"}
!54 = !{!"_ZTSN4juce20TableHeaderComponent8ListenerE"}
!55 = !{!"_ZTSN4juce10TextButtonE", !56, i64 0}
!56 = !{!"_ZTSN4juce6ButtonE", !11, i64 0, !43, i64 200, !57, i64 216, !60, i64 240, !13, i64 248, !61, i64 256, !65, i64 280, !17, i64 288, !17, i64 292, !6, i64 296, !17, i64 304, !17, i64 308, !17, i64 312, !17, i64 316, !17, i64 320, !17, i64 324, !66, i64 328, !66, i64 332, !67, i64 336, !48, i64 368, !48, i64 369, !48, i64 370, !48, i64 371, !48, i64 372, !48, i64 373, !48, i64 374}
!57 = !{!"_ZTSN4juce5ArrayINS_8KeyPressENS_20DummyCriticalSectionELi0EEE", !58, i64 0, !17, i64 16}
!58 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_8KeyPressENS_20DummyCriticalSectionEEE", !59, i64 0, !17, i64 8}
!59 = !{!"_ZTSN4juce9HeapBlockINS_8KeyPressELb0EEE", !6, i64 0}
!60 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEEE", !36, i64 0}
!61 = !{!"_ZTSN4juce12ListenerListINS_6Button8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEEE", !62, i64 0}
!62 = !{!"_ZTSN4juce5ArrayIPNS_6Button8ListenerENS_20DummyCriticalSectionELi0EEE", !63, i64 0, !17, i64 16}
!63 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_6Button8ListenerENS_20DummyCriticalSectionEEE", !64, i64 0, !17, i64 8}
!64 = !{!"_ZTSN4juce9HeapBlockIPNS_6Button8ListenerELb0EEE", !6, i64 0}
!65 = !{!"_ZTSN4juce13ScopedPointerINS_6Button14CallbackHelperEEE", !6, i64 0}
!66 = !{!"_ZTSN4juce6Button11ButtonStateE", !7, i64 0}
!67 = !{!"_ZTSN4juce5ValueE", !68, i64 0, !69, i64 8}
!68 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_5Value11ValueSourceEEE", !6, i64 0}
!69 = !{!"_ZTSN4juce12ListenerListINS_5Value8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEEE", !70, i64 0}
!70 = !{!"_ZTSN4juce5ArrayIPNS_5Value8ListenerENS_20DummyCriticalSectionELi0EEE", !71, i64 0, !17, i64 16}
!71 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_5Value8ListenerENS_20DummyCriticalSectionEEE", !72, i64 0, !17, i64 8}
!72 = !{!"_ZTSN4juce9HeapBlockIPNS_5Value8ListenerELb0EEE", !6, i64 0}
!73 = !{!"_ZTSN4juce13ScopedPointerINS_17TableListBoxModelEEE", !6, i64 0}
!74 = !{!"_ZTSN4juce13ScopedPointerINS_19PluginListComponent7ScannerEEE", !6, i64 0}
!75 = !{!17, !17, i64 0}
!76 = !{!10, !6, i64 224}
!77 = distinct !{!77, !78}
!78 = !{!"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"

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce24AudioPluginFormatManager20doesPluginStillExistERKNS_17PluginDescriptionE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(89)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15KnownPluginList10removeTypeEi(ptr noundef nonnull align 8 dereferenceable(192), i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4juce15KnownPluginList7getTypeEi(ptr noundef nonnull align 8 dereferenceable(192), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce19PluginListComponent20removeMissingPluginsEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(1008) %0) local_unnamed_addr #0 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 232
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  %4 = tail call noundef i32 @_ZNK4juce15KnownPluginList11getNumTypesEv(ptr noundef nonnull align 8 dereferenceable(192) %3) #2
  %5 = icmp sgt i32 %4, 0
  br i1 %5, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %1
  %6 = getelementptr inbounds i8, ptr %0, i64 224
  br label %7

._crit_edge:                                      ; preds = %15, %1
  ret void

7:                                                ; preds = %.lr.ph, %15
  %.in = phi i32 [ %4, %.lr.ph ], [ %8, %15 ]
  %8 = add nsw i32 %.in, -1
  %9 = load ptr, ptr %6, align 8, !tbaa !74
  %10 = load ptr, ptr %2, align 8, !tbaa !5
  %11 = tail call noundef ptr @_ZNK4juce15KnownPluginList7getTypeEi(ptr noundef nonnull align 8 dereferenceable(192) %10, i32 noundef %8) #2
  %12 = tail call noundef zeroext i1 @_ZNK4juce24AudioPluginFormatManager20doesPluginStillExistERKNS_17PluginDescriptionE(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(89) %11)
  br i1 %12, label %15, label %13

13:                                               ; preds = %7
  %14 = load ptr, ptr %2, align 8, !tbaa !5
  tail call void @_ZN4juce15KnownPluginList10removeTypeEi(ptr noundef nonnull align 8 dereferenceable(192) %14, i32 noundef %8)
  br label %15

15:                                               ; preds = %13, %7
  %16 = icmp ugt i32 %.in, 1
  br i1 %16, label %7, label %._crit_edge, !llvm.loop !75
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce15KnownPluginList11getNumTypesEv(ptr noundef nonnull align 8 dereferenceable(192)) local_unnamed_addr #1 align 2

attributes #0 = { 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 #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 = { 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, !11, i64 232}
!6 = !{!"_ZTSN4juce19PluginListComponentE", !7, i64 0, !36, i64 200, !37, i64 208, !38, i64 216, !11, i64 224, !11, i64 232, !39, i64 240, !40, i64 248, !54, i64 584, !11, i64 960, !9, i64 968, !9, i64 976, !47, i64 984, !16, i64 988, !72, i64 992, !73, i64 1000}
!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 = !{!"_ZTSN4juce21FileDragAndDropTargetE"}
!37 = !{!"_ZTSN4juce14ChangeListenerE"}
!38 = !{!"_ZTSN4juce6Button8ListenerE"}
!39 = !{!"_ZTSN4juce4FileE", !9, i64 0}
!40 = !{!"_ZTSN4juce12TableListBoxE", !41, i64 0, !52, i64 296, !53, i64 304, !11, i64 312, !11, i64 320, !16, i64 328, !47, i64 332}
!41 = !{!"_ZTSN4juce7ListBoxE", !7, i64 0, !42, i64 200, !11, i64 216, !44, i64 224, !45, i64 232, !46, i64 240, !16, i64 248, !16, i64 252, !16, i64 256, !16, i64 260, !16, i64 264, !47, i64 268, !47, i64 269, !47, i64 270, !47, i64 271, !48, i64 272}
!42 = !{!"_ZTSN4juce21SettableTooltipClientE", !43, i64 0, !9, i64 8}
!43 = !{!"_ZTSN4juce13TooltipClientE"}
!44 = !{!"_ZTSN4juce13ScopedPointerINS_7ListBox12ListViewportEEE", !11, i64 0}
!45 = !{!"_ZTSN4juce13ScopedPointerINS_9ComponentEEE", !11, i64 0}
!46 = !{!"_ZTSN4juce13ScopedPointerINS_13MouseListenerEEE", !11, i64 0}
!47 = !{!"bool", !12, i64 0}
!48 = !{!"_ZTSN4juce9SparseSetIiEE", !49, i64 0}
!49 = !{!"_ZTSN4juce5ArrayIiNS_20DummyCriticalSectionELi0EEE", !50, i64 0, !16, i64 16}
!50 = !{!"_ZTSN4juce19ArrayAllocationBaseIiNS_20DummyCriticalSectionEEE", !51, i64 0, !16, i64 8}
!51 = !{!"_ZTSN4juce9HeapBlockIiLb0EEE", !11, i64 0}
!52 = !{!"_ZTSN4juce12ListBoxModelE"}
!53 = !{!"_ZTSN4juce20TableHeaderComponent8ListenerE"}
!54 = !{!"_ZTSN4juce10TextButtonE", !55, i64 0}
!55 = !{!"_ZTSN4juce6ButtonE", !7, i64 0, !42, i64 200, !56, i64 216, !59, i64 240, !9, i64 248, !60, i64 256, !64, i64 280, !16, i64 288, !16, i64 292, !11, i64 296, !16, i64 304, !16, i64 308, !16, i64 312, !16, i64 316, !16, i64 320, !16, i64 324, !65, i64 328, !65, i64 332, !66, i64 336, !47, i64 368, !47, i64 369, !47, i64 370, !47, i64 371, !47, i64 372, !47, i64 373, !47, i64 374}
!56 = !{!"_ZTSN4juce5ArrayINS_8KeyPressENS_20DummyCriticalSectionELi0EEE", !57, i64 0, !16, i64 16}
!57 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_8KeyPressENS_20DummyCriticalSectionEEE", !58, i64 0, !16, i64 8}
!58 = !{!"_ZTSN4juce9HeapBlockINS_8KeyPressELb0EEE", !11, i64 0}
!59 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEEE", !35, i64 0}
!60 = !{!"_ZTSN4juce12ListenerListINS_6Button8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEEE", !61, i64 0}
!61 = !{!"_ZTSN4juce5ArrayIPNS_6Button8ListenerENS_20DummyCriticalSectionELi0EEE", !62, i64 0, !16, i64 16}
!62 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_6Button8ListenerENS_20DummyCriticalSectionEEE", !63, i64 0, !16, i64 8}
!63 = !{!"_ZTSN4juce9HeapBlockIPNS_6Button8ListenerELb0EEE", !11, i64 0}
!64 = !{!"_ZTSN4juce13ScopedPointerINS_6Button14CallbackHelperEEE", !11, i64 0}
!65 = !{!"_ZTSN4juce6Button11ButtonStateE", !12, i64 0}
!66 = !{!"_ZTSN4juce5ValueE", !67, i64 0, !68, i64 8}
!67 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_5Value11ValueSourceEEE", !11, i64 0}
!68 = !{!"_ZTSN4juce12ListenerListINS_5Value8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEEE", !69, i64 0}
!69 = !{!"_ZTSN4juce5ArrayIPNS_5Value8ListenerENS_20DummyCriticalSectionELi0EEE", !70, i64 0, !16, i64 16}
!70 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_5Value8ListenerENS_20DummyCriticalSectionEEE", !71, i64 0, !16, i64 8}
!71 = !{!"_ZTSN4juce9HeapBlockIPNS_5Value8ListenerELb0EEE", !11, i64 0}
!72 = !{!"_ZTSN4juce13ScopedPointerINS_17TableListBoxModelEEE", !11, i64 0}
!73 = !{!"_ZTSN4juce13ScopedPointerINS_19PluginListComponent7ScannerEEE", !11, i64 0}
!74 = !{!6, !11, i64 224}
!75 = distinct !{!75, !76}
!76 = !{!"llvm.loop.mustprogress"}


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