; 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::ValueTree" = type { %"class.juce::ReferenceCountedObjectPtr.227", %"class.juce::ListenerList.228" }
%"class.juce::ReferenceCountedObjectPtr.227" = type { ptr }
%"class.juce::ListenerList.228" = type { %"class.juce::Array.229" }
%"class.juce::Array.229" = type { %"class.juce::ArrayAllocationBase.230", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.230" = type <{ %"class.juce::HeapBlock.231", i32, [4 x i8] }>
%"class.juce::HeapBlock.231" = type { ptr }
%"class.juce::ScopedValueSetter" = type <{ ptr, i8, [7 x i8] }>
%"class.juce::AudioProcessorValueTreeState" = type <{ %"class.juce::Timer", %"class.juce::ValueTree::Listener", ptr, %"class.juce::ValueTree", ptr, %"class.juce::Identifier", %"class.juce::Identifier", %"class.juce::Identifier", i8, [7 x i8] }>
%"class.juce::Timer" = type { ptr, i32, i32, ptr, ptr }
%"class.juce::ValueTree::Listener" = type { ptr }
%"class.juce::Identifier" = type { %"class.juce::String" }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::AudioProcessorParameterWithID" = type <{ %"class.juce::AudioProcessorParameter.base", [4 x i8], %"class.juce::String", %"class.juce::String", %"class.juce::String", i32, [4 x i8] }>
%"class.juce::AudioProcessorParameter.base" = type <{ ptr, ptr, i32 }>

; 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 noundef nonnull align 8 dereferenceable(20) ptr @_ZNK4juce14AudioProcessor13getParametersEv(ptr noundef nonnull align 8 dereferenceable(256)) #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce28AudioProcessorValueTreeState38updateParameterConnectionsToChildTreesEv(ptr noundef nonnull align 8 dereferenceable(113) %0) #4 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.juce::ScopedValueSetter", align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"class.juce::ValueTree", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %11 = load ptr, ptr %2, align 8
  %12 = getelementptr inbounds %"class.juce::AudioProcessorValueTreeState", ptr %11, i32 0, i32 8
  %13 = load i8, ptr %12, align 8, !tbaa !9, !range !24, !noundef !25
  %14 = trunc i8 %13 to i1
  br i1 %14, label %54, label %15

15:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #5
  %16 = getelementptr inbounds %"class.juce::AudioProcessorValueTreeState", ptr %11, i32 0, i32 8
  call void @_ZN4juce17ScopedValueSetterIbEC2ERbbb(ptr noundef nonnull align 8 dereferenceable(9) %3, ptr noundef nonnull align 1 dereferenceable(1) %16, i1 noundef zeroext true, i1 noundef zeroext false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  %17 = getelementptr inbounds %"class.juce::AudioProcessorValueTreeState", ptr %11, i32 0, i32 2
  %18 = load ptr, ptr %17, align 8, !tbaa !26
  %19 = call noundef nonnull align 8 dereferenceable(20) ptr @_ZNK4juce14AudioProcessor13getParametersEv(ptr noundef nonnull align 8 dereferenceable(256) %18) #5
  %20 = call noundef i32 @_ZNK4juce10OwnedArrayINS_23AudioProcessorParameterENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %19) #5
  store i32 %20, ptr %4, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 0, ptr %5, align 4, !tbaa !27
  br label %21

21:                                               ; preds = %41, %15
  %22 = load i32, ptr %5, align 4, !tbaa !27
  %23 = load i32, ptr %4, align 4, !tbaa !27
  %24 = icmp slt i32 %22, %23
  br i1 %24, label %26, label %25

25:                                               ; preds = %21
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %53

26:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %27 = getelementptr inbounds %"class.juce::AudioProcessorValueTreeState", ptr %11, i32 0, i32 2
  %28 = load ptr, ptr %27, align 8, !tbaa !26
  %29 = call noundef nonnull align 8 dereferenceable(20) ptr @_ZNK4juce14AudioProcessor13getParametersEv(ptr noundef nonnull align 8 dereferenceable(256) %28) #5
  %30 = load i32, ptr %5, align 4, !tbaa !27
  %31 = call noundef ptr @_ZNK4juce10OwnedArrayINS_23AudioProcessorParameterENS_20DummyCriticalSectionEE12getUncheckedEi(ptr noundef nonnull align 8 dereferenceable(20) %29, i32 noundef %30) #5
  store ptr %31, ptr %6, align 8, !tbaa !5
  br label %32

32:                                               ; preds = %26
  br label %33

33:                                               ; preds = %32
  br label %34

34:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %35, ptr %7, align 8, !tbaa !5
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #5
  %37 = load ptr, ptr %7, align 8, !tbaa !5
  %38 = getelementptr inbounds %"class.juce::AudioProcessorParameterWithID", ptr %37, i32 0, i32 2
  invoke void @_ZN4juce28AudioProcessorValueTreeState25getOrCreateChildValueTreeERKNS_6StringE(ptr dead_on_unwind writable sret(%"class.juce::ValueTree") align 8 %8, ptr noundef nonnull align 8 dereferenceable(113) %11, ptr noundef nonnull align 8 dereferenceable(8) %38)
          to label %39 unwind label %44

39:                                               ; preds = %34
  invoke void @_ZN4juce28AudioProcessorValueTreeState9Parameter11setNewStateERKNS_9ValueTreeE(ptr noundef nonnull align 8 dereferenceable(233) %36, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %40 unwind label %48

40:                                               ; preds = %39
  call void @_ZN4juce9ValueTreeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  br label %41

41:                                               ; preds = %40
  %42 = load i32, ptr %5, align 4, !tbaa !27
  %43 = add nsw i32 %42, 1
  store i32 %43, ptr %5, align 4, !tbaa !27
  br label %21, !llvm.loop !28

44:                                               ; preds = %34
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %9, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %10, align 4
  br label %52

48:                                               ; preds = %39
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %9, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %10, align 4
  call void @_ZN4juce9ValueTreeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  br label %52

52:                                               ; preds = %48, %44
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @_ZN4juce17ScopedValueSetterIbED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %3) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #5
  br label %55

53:                                               ; preds = %25
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @_ZN4juce17ScopedValueSetterIbED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %3) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #5
  br label %54

54:                                               ; preds = %53, %1
  ret void

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce17ScopedValueSetterIbEC2ERbbb(ptr noundef nonnull align 8 dereferenceable(9), ptr noundef nonnull align 1 dereferenceable(1), i1 noundef zeroext, i1 noundef zeroext) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce28AudioProcessorValueTreeState9Parameter11setNewStateERKNS_9ValueTreeE(ptr noundef nonnull align 8 dereferenceable(233), ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

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

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, !23, i64 112}
!10 = !{!"_ZTSN4juce28AudioProcessorValueTreeStateE", !11, i64 0, !13, i64 32, !6, i64 40, !14, i64 48, !6, i64 80, !20, i64 88, !20, i64 96, !20, i64 104, !23, i64 112}
!11 = !{!"_ZTSN4juce5TimerE", !12, i64 8, !12, i64 12, !6, i64 16, !6, i64 24}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTSN4juce9ValueTree8ListenerE"}
!14 = !{!"_ZTSN4juce9ValueTreeE", !15, i64 0, !16, i64 8}
!15 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_9ValueTree12SharedObjectEEE", !6, i64 0}
!16 = !{!"_ZTSN4juce12ListenerListINS_9ValueTree8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEEE", !17, i64 0}
!17 = !{!"_ZTSN4juce5ArrayIPNS_9ValueTree8ListenerENS_20DummyCriticalSectionELi0EEE", !18, i64 0, !12, i64 16}
!18 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ValueTree8ListenerENS_20DummyCriticalSectionEEE", !19, i64 0, !12, i64 8}
!19 = !{!"_ZTSN4juce9HeapBlockIPNS_9ValueTree8ListenerELb0EEE", !6, i64 0}
!20 = !{!"_ZTSN4juce10IdentifierE", !21, i64 0}
!21 = !{!"_ZTSN4juce6StringE", !22, i64 0}
!22 = !{!"_ZTSN4juce16CharPointer_UTF8E", !6, i64 0}
!23 = !{!"bool", !7, i64 0}
!24 = !{i8 0, i8 2}
!25 = !{}
!26 = !{!10, !6, i64 40}
!27 = !{!12, !12, i64 0}
!28 = distinct !{!28, !29}
!29 = !{!"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::ValueTree" = type { %"class.juce::ReferenceCountedObjectPtr.227", %"class.juce::ListenerList.228" }
%"class.juce::ReferenceCountedObjectPtr.227" = type { ptr }
%"class.juce::ListenerList.228" = type { %"class.juce::Array.229" }
%"class.juce::Array.229" = type { %"class.juce::ArrayAllocationBase.230", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.230" = type <{ %"class.juce::HeapBlock.231", i32, [4 x i8] }>
%"class.juce::HeapBlock.231" = type { ptr }
%"class.juce::ScopedValueSetter" = type <{ ptr, i8, [7 x i8] }>

; 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 noundef nonnull align 8 dereferenceable(20) ptr @_ZNK4juce14AudioProcessor13getParametersEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce28AudioProcessorValueTreeState38updateParameterConnectionsToChildTreesEv(ptr noundef nonnull align 8 dereferenceable(113) %0) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.juce::ScopedValueSetter", align 8
  %3 = alloca %"class.juce::ValueTree", align 8
  %4 = getelementptr inbounds i8, ptr %0, i64 112
  %5 = load i8, ptr %4, align 8, !tbaa !5, !range !23, !noundef !24
  %6 = trunc nuw i8 %5 to i1
  br i1 %6, label %25, label %7

7:                                                ; preds = %1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #5
  call void @_ZN4juce17ScopedValueSetterIbEC2ERbbb(ptr noundef nonnull align 8 dereferenceable(9) %2, ptr noundef nonnull align 1 dereferenceable(1) %4, i1 noundef zeroext true, i1 noundef zeroext false)
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = load ptr, ptr %8, align 8, !tbaa !25
  %10 = call noundef nonnull align 8 dereferenceable(20) ptr @_ZNK4juce14AudioProcessor13getParametersEv(ptr noundef nonnull align 8 dereferenceable(256) %9) #5
  %11 = call noundef i32 @_ZNK4juce10OwnedArrayINS_23AudioProcessorParameterENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %10) #5
  %12 = icmp sgt i32 %11, 0
  br i1 %12, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %18, %7
  call void @_ZN4juce17ScopedValueSetterIbED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %2) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #5
  br label %25

.lr.ph:                                           ; preds = %7, %18
  %.01012 = phi i32 [ %19, %18 ], [ 0, %7 ]
  %13 = load ptr, ptr %8, align 8, !tbaa !25
  %14 = call noundef nonnull align 8 dereferenceable(20) ptr @_ZNK4juce14AudioProcessor13getParametersEv(ptr noundef nonnull align 8 dereferenceable(256) %13) #5
  %15 = call noundef ptr @_ZNK4juce10OwnedArrayINS_23AudioProcessorParameterENS_20DummyCriticalSectionEE12getUncheckedEi(ptr noundef nonnull align 8 dereferenceable(20) %14, i32 noundef %.01012) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #5
  %16 = getelementptr inbounds i8, ptr %15, i64 24
  invoke void @_ZN4juce28AudioProcessorValueTreeState25getOrCreateChildValueTreeERKNS_6StringE(ptr dead_on_unwind nonnull writable sret(%"class.juce::ValueTree") align 8 %3, ptr noundef nonnull align 8 dereferenceable(113) %0, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %17 unwind label %20

17:                                               ; preds = %.lr.ph
  invoke void @_ZN4juce28AudioProcessorValueTreeState9Parameter11setNewStateERKNS_9ValueTreeE(ptr noundef nonnull align 8 dereferenceable(233) %15, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %18 unwind label %22

18:                                               ; preds = %17
  call void @_ZN4juce9ValueTreeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  %19 = add nuw nsw i32 %.01012, 1
  %exitcond.not = icmp eq i32 %19, %11
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !26

20:                                               ; preds = %.lr.ph
  %21 = landingpad { ptr, i32 }
          cleanup
  br label %24

22:                                               ; preds = %17
  %23 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce9ValueTreeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  br label %24

24:                                               ; preds = %22, %20
  %.pn = phi { ptr, i32 } [ %23, %22 ], [ %21, %20 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  call void @_ZN4juce17ScopedValueSetterIbED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %2) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #5
  resume { ptr, i32 } %.pn

25:                                               ; preds = %._crit_edge, %1
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce17ScopedValueSetterIbEC2ERbbb(ptr noundef nonnull align 8 dereferenceable(9), ptr noundef nonnull align 1 dereferenceable(1), i1 noundef zeroext, i1 noundef zeroext) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce28AudioProcessorValueTreeState9Parameter11setNewStateERKNS_9ValueTreeE(ptr noundef nonnull align 8 dereferenceable(233), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

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

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, !22, i64 112}
!6 = !{!"_ZTSN4juce28AudioProcessorValueTreeStateE", !7, i64 0, !12, i64 32, !11, i64 40, !13, i64 48, !11, i64 80, !19, i64 88, !19, i64 96, !19, i64 104, !22, i64 112}
!7 = !{!"_ZTSN4juce5TimerE", !8, i64 8, !8, i64 12, !11, i64 16, !11, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"_ZTSN4juce9ValueTree8ListenerE"}
!13 = !{!"_ZTSN4juce9ValueTreeE", !14, i64 0, !15, i64 8}
!14 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_9ValueTree12SharedObjectEEE", !11, i64 0}
!15 = !{!"_ZTSN4juce12ListenerListINS_9ValueTree8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEEE", !16, i64 0}
!16 = !{!"_ZTSN4juce5ArrayIPNS_9ValueTree8ListenerENS_20DummyCriticalSectionELi0EEE", !17, i64 0, !8, i64 16}
!17 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ValueTree8ListenerENS_20DummyCriticalSectionEEE", !18, i64 0, !8, i64 8}
!18 = !{!"_ZTSN4juce9HeapBlockIPNS_9ValueTree8ListenerELb0EEE", !11, i64 0}
!19 = !{!"_ZTSN4juce10IdentifierE", !20, i64 0}
!20 = !{!"_ZTSN4juce6StringE", !21, i64 0}
!21 = !{!"_ZTSN4juce16CharPointer_UTF8E", !11, i64 0}
!22 = !{!"bool", !9, i64 0}
!23 = !{i8 0, i8 2}
!24 = !{}
!25 = !{!6, !11, i64 40}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}


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