; 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::File" = type { %"class.juce::String" }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"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::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::ScopedPointer.184" = type { ptr }
%"class.juce::ScopedPointer.185" = type { ptr }
%"class.juce::PluginDescription" = type <{ %"class.juce::String", %"class.juce::String", %"class.juce::String", %"class.juce::String", %"class.juce::String", %"class.juce::String", %"class.juce::String", %"class.juce::Time", %"class.juce::Time", i32, i8, [3 x i8], i32, i32, i8, [7 x i8] }>
%"class.juce::Time" = type { i64 }

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4juce19PluginListComponent21canShowSelectedFolderEv(ptr noundef nonnull align 8 dereferenceable(1008) %0) #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca i1, align 1
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.juce::File", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  %9 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %10 = getelementptr inbounds %"class.juce::PluginListComponent", ptr %9, i32 0, i32 5
  %11 = load ptr, ptr %10, align 8, !tbaa !9
  %12 = getelementptr inbounds %"class.juce::PluginListComponent", ptr %9, i32 0, i32 7
  %13 = call noundef i32 @_ZNK4juce7ListBox14getSelectedRowEi(ptr noundef nonnull align 8 dereferenceable(296) %12, i32 noundef 0)
  %14 = call noundef ptr @_ZNK4juce15KnownPluginList7getTypeEi(ptr noundef nonnull align 8 dereferenceable(192) %11, i32 noundef %13) #5
  store ptr %14, ptr %4, align 8, !tbaa !5
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = icmp ne ptr %15, null
  br i1 %16, label %17, label %26

17:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = getelementptr inbounds %"class.juce::PluginDescription", ptr %18, i32 0, i32 6
  call void @_ZN4juce4File29createFileWithoutCheckingPathERKNS_6StringE(ptr dead_on_unwind writable sret(%"class.juce::File") align 8 %5, ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  %20 = invoke noundef zeroext i1 @_ZNK4juce4File6existsEv(ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %21 unwind label %22

21:                                               ; preds = %17
  store i1 %20, ptr %2, align 1
  call void @_ZN4juce4FileD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  store i32 1, ptr %8, align 4
  br label %27

22:                                               ; preds = %17
  %23 = landingpad { ptr, i32 }
          cleanup
  %24 = extractvalue { ptr, i32 } %23, 0
  store ptr %24, ptr %6, align 8
  %25 = extractvalue { ptr, i32 } %23, 1
  store i32 %25, ptr %7, align 4
  call void @_ZN4juce4FileD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  br label %32

26:                                               ; preds = %1
  store i32 0, ptr %8, align 4
  br label %27

27:                                               ; preds = %26, %21
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  %28 = load i32, ptr %8, align 4
  switch i32 %28, label %37 [
    i32 0, label %29
    i32 1, label %30
  ]

29:                                               ; preds = %27
  store i1 false, ptr %2, align 1
  br label %30

30:                                               ; preds = %29, %27
  %31 = load i1, ptr %2, align 1
  ret i1 %31

32:                                               ; preds = %22
  %33 = load ptr, ptr %6, align 8
  %34 = load i32, ptr %7, align 4
  %35 = insertvalue { ptr, i32 } poison, ptr %33, 0
  %36 = insertvalue { ptr, i32 } %35, i32 %34, 1
  resume { ptr, i32 } %36

37:                                               ; preds = %27
  unreachable
}

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

declare noundef i32 @_ZNK4juce7ListBox14getSelectedRowEi(ptr noundef nonnull align 8 dereferenceable(296), i32 noundef) #3

; Function Attrs: nounwind
declare void @_ZN4juce4File29createFileWithoutCheckingPathERKNS_6StringE(ptr dead_on_unwind writable sret(%"class.juce::File") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #4

declare noundef zeroext i1 @_ZNK4juce4File6existsEv(ptr noundef nonnull align 8 dereferenceable(8)) #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 = { 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 = { "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 = { 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 #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, !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}


; 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::File" = type { %"class.juce::String" }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = 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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4juce19PluginListComponent21canShowSelectedFolderEv(ptr noundef nonnull align 8 dereferenceable(1008) %0) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.juce::File", align 8
  %3 = getelementptr inbounds i8, ptr %0, i64 232
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 248
  %6 = tail call noundef i32 @_ZNK4juce7ListBox14getSelectedRowEi(ptr noundef nonnull align 8 dereferenceable(296) %5, i32 noundef 0)
  %7 = tail call noundef ptr @_ZNK4juce15KnownPluginList7getTypeEi(ptr noundef nonnull align 8 dereferenceable(192) %4, i32 noundef %6) #5
  %.not.not = icmp ne ptr %7, null
  br i1 %.not.not, label %8, label %14

8:                                                ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  %9 = getelementptr inbounds i8, ptr %7, i64 48
  call void @_ZN4juce4File29createFileWithoutCheckingPathERKNS_6StringE(ptr dead_on_unwind nonnull writable sret(%"class.juce::File") align 8 %2, ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  %10 = invoke noundef zeroext i1 @_ZNK4juce4File6existsEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %11 unwind label %12

11:                                               ; preds = %8
  call void @_ZN4juce4FileD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  br label %14

12:                                               ; preds = %8
  %13 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce4FileD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  resume { ptr, i32 } %13

14:                                               ; preds = %1, %11
  %.06 = phi i1 [ %10, %11 ], [ undef, %1 ]
  %spec.select = and i1 %.not.not, %.06
  ret i1 %spec.select
}

; 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

declare noundef i32 @_ZNK4juce7ListBox14getSelectedRowEi(ptr noundef nonnull align 8 dereferenceable(296), i32 noundef) local_unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN4juce4File29createFileWithoutCheckingPathERKNS_6StringE(ptr dead_on_unwind writable sret(%"class.juce::File") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

declare noundef zeroext i1 @_ZNK4juce4File6existsEv(ptr noundef nonnull align 8 dereferenceable(8)) 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 = { 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 = { "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 = { 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 #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, !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}


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