; 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::Array.104" = type { %"class.juce::ArrayAllocationBase.105", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.105" = type <{ %"class.juce::HeapBlock.106", i32, [4 x i8] }>
%"class.juce::HeapBlock.106" = type { ptr }
%"class.juce::ApplicationCommandManager" = type { %"class.juce::AsyncUpdater", %"class.juce::FocusChangeListener", %"class.juce::OwnedArray.126", %"class.juce::ListenerList.131", %"class.juce::ScopedPointer.137", ptr }
%"class.juce::AsyncUpdater" = type { ptr, %"class.juce::ReferenceCountedObjectPtr.15" }
%"class.juce::ReferenceCountedObjectPtr.15" = type { ptr }
%"class.juce::FocusChangeListener" = type { ptr }
%"class.juce::OwnedArray.126" = type { %"class.juce::ArrayAllocationBase.127", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.127" = type <{ %"class.juce::HeapBlock.128", i32, [4 x i8] }>
%"class.juce::HeapBlock.128" = type { ptr }
%"class.juce::ListenerList.131" = type { %"class.juce::Array.132" }
%"class.juce::Array.132" = type { %"class.juce::ArrayAllocationBase.133", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.133" = type <{ %"class.juce::HeapBlock.134", i32, [4 x i8] }>
%"class.juce::HeapBlock.134" = type { ptr }
%"class.juce::ScopedPointer.137" = type { ptr }
%"struct.juce::ApplicationCommandInfo" = type <{ i32, [4 x i8], %"class.juce::String", %"class.juce::String", %"class.juce::String", %"class.juce::Array.104", i32, [4 x i8] }>
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }

declare i32 @__gxx_personality_v0(...)

; 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 void @_ZN4juce12AsyncUpdater18triggerAsyncUpdateEv(ptr noundef nonnull align 8 dereferenceable(16)) #1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4juce18KeyPressMappingSet30getKeyPressesAssignedToCommandEi(ptr dead_on_unwind noalias writable sret(%"class.juce::Array.104") align 8, ptr noundef nonnull align 8 dereferenceable(128), i32 noundef) #3 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNK4juce5ArrayINS_8KeyPressENS_20DummyCriticalSectionELi0EE12getReferenceEi(ptr noundef nonnull align 8 dereferenceable(20), i32 noundef) #4 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce25ApplicationCommandManager13removeCommandEi(ptr noundef nonnull align 8 dereferenceable(88) %0, i32 noundef %1) #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca %"class.juce::Array.104", align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  %11 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  %12 = getelementptr inbounds %"class.juce::ApplicationCommandManager", ptr %11, i32 0, i32 2
  %13 = call noundef i32 @_ZNK4juce10OwnedArrayINS_22ApplicationCommandInfoENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %12) #5
  store i32 %13, ptr %5, align 4, !tbaa !9
  br label %14

14:                                               ; preds = %50, %2
  %15 = load i32, ptr %5, align 4, !tbaa !9
  %16 = add nsw i32 %15, -1
  store i32 %16, ptr %5, align 4, !tbaa !9
  %17 = icmp sge i32 %16, 0
  br i1 %17, label %19, label %18

18:                                               ; preds = %14
  store i32 2, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %51

19:                                               ; preds = %14
  %20 = getelementptr inbounds %"class.juce::ApplicationCommandManager", ptr %11, i32 0, i32 2
  %21 = load i32, ptr %5, align 4, !tbaa !9
  %22 = call noundef ptr @_ZNK4juce10OwnedArrayINS_22ApplicationCommandInfoENS_20DummyCriticalSectionEE12getUncheckedEi(ptr noundef nonnull align 8 dereferenceable(20) %20, i32 noundef %21) #5
  %23 = getelementptr inbounds %"struct.juce::ApplicationCommandInfo", ptr %22, i32 0, i32 0
  %24 = load i32, ptr %23, align 8, !tbaa !11
  %25 = load i32, ptr %4, align 4, !tbaa !9
  %26 = icmp eq i32 %24, %25
  br i1 %26, label %27, label %50

27:                                               ; preds = %19
  %28 = getelementptr inbounds %"class.juce::ApplicationCommandManager", ptr %11, i32 0, i32 2
  %29 = load i32, ptr %5, align 4, !tbaa !9
  call void @_ZN4juce10OwnedArrayINS_22ApplicationCommandInfoENS_20DummyCriticalSectionEE6removeEib(ptr noundef nonnull align 8 dereferenceable(20) %28, i32 noundef %29, i1 noundef zeroext true)
  call void @_ZN4juce12AsyncUpdater18triggerAsyncUpdateEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #5
  %30 = getelementptr inbounds %"class.juce::ApplicationCommandManager", ptr %11, i32 0, i32 4
  %31 = call noundef ptr @_ZNK4juce13ScopedPointerINS_18KeyPressMappingSetEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #5
  %32 = load i32, ptr %4, align 4, !tbaa !9
  call void @_ZNK4juce18KeyPressMappingSet30getKeyPressesAssignedToCommandEi(ptr dead_on_unwind writable sret(%"class.juce::Array.104") align 8 %7, ptr noundef nonnull align 8 dereferenceable(128) %31, i32 noundef %32)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %33 = call noundef i32 @_ZNK4juce5ArrayINS_8KeyPressENS_20DummyCriticalSectionELi0EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %7) #5
  store i32 %33, ptr %8, align 4, !tbaa !9
  br label %34

34:                                               ; preds = %44, %27
  %35 = load i32, ptr %8, align 4, !tbaa !9
  %36 = add nsw i32 %35, -1
  store i32 %36, ptr %8, align 4, !tbaa !9
  %37 = icmp sge i32 %36, 0
  br i1 %37, label %39, label %38

38:                                               ; preds = %34
  store i32 4, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %49

39:                                               ; preds = %34
  %40 = getelementptr inbounds %"class.juce::ApplicationCommandManager", ptr %11, i32 0, i32 4
  %41 = call noundef ptr @_ZNK4juce13ScopedPointerINS_18KeyPressMappingSetEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #5
  %42 = load i32, ptr %8, align 4, !tbaa !9
  %43 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK4juce5ArrayINS_8KeyPressENS_20DummyCriticalSectionELi0EE12getReferenceEi(ptr noundef nonnull align 8 dereferenceable(20) %7, i32 noundef %42) #5
  invoke void @_ZN4juce18KeyPressMappingSet14removeKeyPressERKNS_8KeyPressE(ptr noundef nonnull align 8 dereferenceable(128) %41, ptr noundef nonnull align 4 dereferenceable(12) %43)
          to label %44 unwind label %45

44:                                               ; preds = %39
  br label %34, !llvm.loop !18

45:                                               ; preds = %39
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %9, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @_ZN4juce5ArrayINS_8KeyPressENS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %7) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %52

49:                                               ; preds = %38
  call void @_ZN4juce5ArrayINS_8KeyPressENS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %7) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #5
  br label %50

50:                                               ; preds = %49, %19
  br label %14, !llvm.loop !20

51:                                               ; preds = %18
  ret void

52:                                               ; preds = %45
  %53 = load ptr, ptr %9, align 8
  %54 = load i32, ptr %10, align 4
  %55 = insertvalue { ptr, i32 } poison, ptr %53, 0
  %56 = insertvalue { ptr, i32 } %55, i32 %54, 1
  resume { ptr, i32 } %56
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4juce10OwnedArrayINS_22ApplicationCommandInfoENS_20DummyCriticalSectionEE12getUncheckedEi(ptr noundef nonnull align 8 dereferenceable(20), i32 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce10OwnedArrayINS_22ApplicationCommandInfoENS_20DummyCriticalSectionEE6removeEib(ptr noundef nonnull align 8 dereferenceable(20), i32 noundef, i1 noundef zeroext) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce18KeyPressMappingSet14removeKeyPressERKNS_8KeyPressE(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 4 dereferenceable(12)) #3 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 #4 = { 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 #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 0}
!12 = !{!"_ZTSN4juce22ApplicationCommandInfoE", !10, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !15, i64 32, !10, i64 56}
!13 = !{!"_ZTSN4juce6StringE", !14, i64 0}
!14 = !{!"_ZTSN4juce16CharPointer_UTF8E", !6, i64 0}
!15 = !{!"_ZTSN4juce5ArrayINS_8KeyPressENS_20DummyCriticalSectionELi0EEE", !16, i64 0, !10, i64 16}
!16 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_8KeyPressENS_20DummyCriticalSectionEEE", !17, i64 0, !10, i64 8}
!17 = !{!"_ZTSN4juce9HeapBlockINS_8KeyPressELb0EEE", !6, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}


; 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::Array.104" = type { %"class.juce::ArrayAllocationBase.105", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.105" = type <{ %"class.juce::HeapBlock.106", i32, [4 x i8] }>
%"class.juce::HeapBlock.106" = type { ptr }

declare i32 @__gxx_personality_v0(...)

; 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 void @_ZN4juce12AsyncUpdater18triggerAsyncUpdateEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4juce18KeyPressMappingSet30getKeyPressesAssignedToCommandEi(ptr dead_on_unwind noalias writable sret(%"class.juce::Array.104") align 8, ptr noundef nonnull align 8 dereferenceable(128), i32 noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNK4juce5ArrayINS_8KeyPressENS_20DummyCriticalSectionELi0EE12getReferenceEi(ptr noundef nonnull align 8 dereferenceable(20), i32 noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce25ApplicationCommandManager13removeCommandEi(ptr noundef nonnull align 8 dereferenceable(88) %0, i32 noundef %1) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.juce::Array.104", align 8
  %4 = getelementptr inbounds i8, ptr %0, i64 24
  %5 = tail call noundef i32 @_ZNK4juce10OwnedArrayINS_22ApplicationCommandInfoENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %4) #5
  %6 = icmp sgt i32 %5, 0
  br i1 %6, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %2
  %7 = getelementptr inbounds i8, ptr %0, i64 72
  br label %8

._crit_edge:                                      ; preds = %25, %2
  ret void

8:                                                ; preds = %.lr.ph, %25
  %.in = phi i32 [ %5, %.lr.ph ], [ %9, %25 ]
  %9 = add nsw i32 %.in, -1
  %10 = call noundef ptr @_ZNK4juce10OwnedArrayINS_22ApplicationCommandInfoENS_20DummyCriticalSectionEE12getUncheckedEi(ptr noundef nonnull align 8 dereferenceable(20) %4, i32 noundef %9) #5
  %11 = load i32, ptr %10, align 8, !tbaa !5
  %12 = icmp eq i32 %11, %1
  br i1 %12, label %13, label %25

13:                                               ; preds = %8
  call void @_ZN4juce10OwnedArrayINS_22ApplicationCommandInfoENS_20DummyCriticalSectionEE6removeEib(ptr noundef nonnull align 8 dereferenceable(20) %4, i32 noundef %9, i1 noundef zeroext true)
  call void @_ZN4juce12AsyncUpdater18triggerAsyncUpdateEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #5
  %14 = call noundef ptr @_ZNK4juce13ScopedPointerINS_18KeyPressMappingSetEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  call void @_ZNK4juce18KeyPressMappingSet30getKeyPressesAssignedToCommandEi(ptr dead_on_unwind nonnull writable sret(%"class.juce::Array.104") align 8 %3, ptr noundef nonnull align 8 dereferenceable(128) %14, i32 noundef %1)
  %15 = call noundef i32 @_ZNK4juce5ArrayINS_8KeyPressENS_20DummyCriticalSectionELi0EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %3) #5
  br label %16

16:                                               ; preds = %19, %13
  %.09 = phi i32 [ %15, %13 ], [ %20, %19 ]
  %17 = icmp sgt i32 %.09, 0
  br i1 %17, label %19, label %18

18:                                               ; preds = %16
  call void @_ZN4juce5ArrayINS_8KeyPressENS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %3) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #5
  br label %25

19:                                               ; preds = %16
  %20 = add nsw i32 %.09, -1
  %21 = call noundef ptr @_ZNK4juce13ScopedPointerINS_18KeyPressMappingSetEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %22 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK4juce5ArrayINS_8KeyPressENS_20DummyCriticalSectionELi0EE12getReferenceEi(ptr noundef nonnull align 8 dereferenceable(20) %3, i32 noundef %20) #5
  invoke void @_ZN4juce18KeyPressMappingSet14removeKeyPressERKNS_8KeyPressE(ptr noundef nonnull align 8 dereferenceable(128) %21, ptr noundef nonnull align 4 dereferenceable(12) %22)
          to label %16 unwind label %23, !llvm.loop !16

23:                                               ; preds = %19
  %24 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce5ArrayINS_8KeyPressENS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %3) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #5
  resume { ptr, i32 } %24

25:                                               ; preds = %18, %8
  %26 = icmp sgt i32 %.in, 1
  br i1 %26, label %8, label %._crit_edge, !llvm.loop !18
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4juce10OwnedArrayINS_22ApplicationCommandInfoENS_20DummyCriticalSectionEE12getUncheckedEi(ptr noundef nonnull align 8 dereferenceable(20), i32 noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce18KeyPressMappingSet14removeKeyPressERKNS_8KeyPressE(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 #4 = { 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 #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, !7, i64 0}
!6 = !{!"_ZTSN4juce22ApplicationCommandInfoE", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !13, i64 32, !7, i64 56}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN4juce6StringE", !11, i64 0}
!11 = !{!"_ZTSN4juce16CharPointer_UTF8E", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"_ZTSN4juce5ArrayINS_8KeyPressENS_20DummyCriticalSectionELi0EEE", !14, i64 0, !7, i64 16}
!14 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_8KeyPressENS_20DummyCriticalSectionEEE", !15, i64 0, !7, i64 8}
!15 = !{!"_ZTSN4juce9HeapBlockINS_8KeyPressELb0EEE", !12, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}


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