; LLVM IR from modlfo/AudioEngine :: AudioEngine/JuceLibraryCode (juce_audio_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::MidiMessageSequence" = type { %"class.juce::OwnedArray.35" }
%"class.juce::OwnedArray.35" = type { %"class.juce::ArrayAllocationBase.36", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.36" = type <{ %"class.juce::HeapBlock.37", i32, [4 x i8] }>
%"class.juce::HeapBlock.37" = type { ptr }
%"class.juce::MidiFile" = type <{ %"class.juce::OwnedArray.30", i16, [6 x i8] }>
%"class.juce::OwnedArray.30" = type { %"class.juce::ArrayAllocationBase.31", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.31" = type <{ %"class.juce::HeapBlock.32", i32, [4 x i8] }>
%"class.juce::HeapBlock.32" = type { ptr }
%"class.juce::MidiMessageSequence::MidiEventHolder" = type { %"class.juce::MidiMessage", ptr }
%"class.juce::MidiMessage" = type <{ %"union.juce::MidiMessage::PackedData", double, i32, [4 x i8] }>
%"union.juce::MidiMessage::PackedData" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4juce8MidiFile18findAllTempoEventsERNS_19MidiMessageSequenceE(ptr noundef nonnull align 8 dereferenceable(26), ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4juce8MidiFile20findAllTimeSigEventsERNS_19MidiMessageSequenceE(ptr noundef nonnull align 8 dereferenceable(26), ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce8MidiFile30convertTimestampTicksToSecondsEv(ptr noundef nonnull align 8 dereferenceable(26) %0) #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.juce::MidiMessageSequence", align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %11 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #4
  call void @_ZN4juce19MidiMessageSequenceC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %3)
  invoke void @_ZNK4juce8MidiFile18findAllTempoEventsERNS_19MidiMessageSequenceE(ptr noundef nonnull align 8 dereferenceable(26) %11, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %12 unwind label %25

12:                                               ; preds = %1
  invoke void @_ZNK4juce8MidiFile20findAllTimeSigEventsERNS_19MidiMessageSequenceE(ptr noundef nonnull align 8 dereferenceable(26) %11, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %13 unwind label %25

13:                                               ; preds = %12
  %14 = getelementptr inbounds %"class.juce::MidiFile", ptr %11, i32 0, i32 1
  %15 = load i16, ptr %14, align 8, !tbaa !9
  %16 = sext i16 %15 to i32
  %17 = icmp ne i32 %16, 0
  br i1 %17, label %18, label %62

18:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !16
  br label %19

19:                                               ; preds = %58, %18
  %20 = load i32, ptr %6, align 4, !tbaa !16
  %21 = getelementptr inbounds %"class.juce::MidiFile", ptr %11, i32 0, i32 0
  %22 = call noundef i32 @_ZNK4juce10OwnedArrayINS_19MidiMessageSequenceENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %21) #4
  %23 = icmp slt i32 %20, %22
  br i1 %23, label %29, label %24

24:                                               ; preds = %19
  store i32 2, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %61

25:                                               ; preds = %12, %1
  %26 = landingpad { ptr, i32 }
          cleanup
  %27 = extractvalue { ptr, i32 } %26, 0
  store ptr %27, ptr %4, align 8
  %28 = extractvalue { ptr, i32 } %26, 1
  store i32 %28, ptr %5, align 4
  br label %63

29:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %30 = getelementptr inbounds %"class.juce::MidiFile", ptr %11, i32 0, i32 0
  %31 = load i32, ptr %6, align 4, !tbaa !16
  %32 = call noundef ptr @_ZNK4juce10OwnedArrayINS_19MidiMessageSequenceENS_20DummyCriticalSectionEE12getUncheckedEi(ptr noundef nonnull align 8 dereferenceable(20) %30, i32 noundef %31) #4
  store ptr %32, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %33 = load ptr, ptr %8, align 8, !tbaa !5
  %34 = call noundef i32 @_ZNK4juce19MidiMessageSequence12getNumEventsEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #4
  store i32 %34, ptr %9, align 4, !tbaa !16
  br label %35

35:                                               ; preds = %52, %29
  %36 = load i32, ptr %9, align 4, !tbaa !16
  %37 = add nsw i32 %36, -1
  store i32 %37, ptr %9, align 4, !tbaa !16
  %38 = icmp sge i32 %37, 0
  br i1 %38, label %40, label %39

39:                                               ; preds = %35
  store i32 5, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %57

40:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %41 = load ptr, ptr %8, align 8, !tbaa !5
  %42 = load i32, ptr %9, align 4, !tbaa !16
  %43 = call noundef ptr @_ZNK4juce19MidiMessageSequence15getEventPointerEi(ptr noundef nonnull align 8 dereferenceable(24) %41, i32 noundef %42) #4
  %44 = getelementptr inbounds %"class.juce::MidiMessageSequence::MidiEventHolder", ptr %43, i32 0, i32 0
  store ptr %44, ptr %10, align 8, !tbaa !5
  %45 = load ptr, ptr %10, align 8, !tbaa !5
  %46 = load ptr, ptr %10, align 8, !tbaa !5
  %47 = call noundef double @_ZNK4juce11MidiMessage12getTimeStampEv(ptr noundef nonnull align 8 dereferenceable(20) %46) #4
  %48 = getelementptr inbounds %"class.juce::MidiFile", ptr %11, i32 0, i32 1
  %49 = load i16, ptr %48, align 8, !tbaa !9
  %50 = sext i16 %49 to i32
  %51 = invoke noundef double @_ZN4juce15MidiFileHelpersL21convertTicksToSecondsEdRKNS_19MidiMessageSequenceEi(double noundef %47, ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef %50)
          to label %52 unwind label %53

52:                                               ; preds = %40
  call void @_ZN4juce11MidiMessage12setTimeStampEd(ptr noundef nonnull align 8 dereferenceable(20) %45, double noundef %51) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  br label %35, !llvm.loop !17

53:                                               ; preds = %40
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %4, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %63

57:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  br label %58

58:                                               ; preds = %57
  %59 = load i32, ptr %6, align 4, !tbaa !16
  %60 = add nsw i32 %59, 1
  store i32 %60, ptr %6, align 4, !tbaa !16
  br label %19, !llvm.loop !19

61:                                               ; preds = %24
  br label %62

62:                                               ; preds = %61, %13
  call void @_ZN4juce19MidiMessageSequenceD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #4
  ret void

63:                                               ; preds = %53, %25
  call void @_ZN4juce19MidiMessageSequenceD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #4
  br label %64

64:                                               ; preds = %63
  %65 = load ptr, ptr %4, align 8
  %66 = load i32, ptr %5, align 4
  %67 = insertvalue { ptr, i32 } poison, ptr %65, 0
  %68 = insertvalue { ptr, i32 } %67, i32 %66, 1
  resume { ptr, i32 } %68
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce11MidiMessage12setTimeStampEd(ptr noundef nonnull align 8 dereferenceable(20), double noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef double @_ZN4juce15MidiFileHelpersL21convertTicksToSecondsEdRKNS_19MidiMessageSequenceEi(double noundef, ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNK4juce11MidiMessage12getTimeStampEv(ptr noundef nonnull align 8 dereferenceable(20)) #3 align 2

declare void @_ZN4juce19MidiMessageSequenceC1Ev(ptr)

declare void @_ZN4juce19MidiMessageSequenceD1Ev(ptr)

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 #4 = { 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, !15, i64 24}
!10 = !{!"_ZTSN4juce8MidiFileE", !11, i64 0, !15, i64 24}
!11 = !{!"_ZTSN4juce10OwnedArrayINS_19MidiMessageSequenceENS_20DummyCriticalSectionEEE", !12, i64 0, !14, i64 16}
!12 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_19MidiMessageSequenceENS_20DummyCriticalSectionEEE", !13, i64 0, !14, i64 8}
!13 = !{!"_ZTSN4juce9HeapBlockIPNS_19MidiMessageSequenceELb0EEE", !6, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!"short", !7, i64 0}
!16 = !{!14, !14, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}


; 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::MidiMessageSequence" = type { %"class.juce::OwnedArray.35" }
%"class.juce::OwnedArray.35" = type { %"class.juce::ArrayAllocationBase.36", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.36" = type <{ %"class.juce::HeapBlock.37", i32, [4 x i8] }>
%"class.juce::HeapBlock.37" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4juce8MidiFile18findAllTempoEventsERNS_19MidiMessageSequenceE(ptr noundef nonnull align 8 dereferenceable(26), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4juce8MidiFile20findAllTimeSigEventsERNS_19MidiMessageSequenceE(ptr noundef nonnull align 8 dereferenceable(26), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce8MidiFile30convertTimestampTicksToSecondsEv(ptr noundef nonnull align 8 dereferenceable(26) %0) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.juce::MidiMessageSequence", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #4
  call void @_ZN4juce19MidiMessageSequenceC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %2)
  invoke void @_ZNK4juce8MidiFile18findAllTempoEventsERNS_19MidiMessageSequenceE(ptr noundef nonnull align 8 dereferenceable(26) %0, ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %3 unwind label %9

3:                                                ; preds = %1
  invoke void @_ZNK4juce8MidiFile20findAllTimeSigEventsERNS_19MidiMessageSequenceE(ptr noundef nonnull align 8 dereferenceable(26) %0, ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %4 unwind label %9

4:                                                ; preds = %3
  %5 = getelementptr inbounds i8, ptr %0, i64 24
  %6 = load i16, ptr %5, align 8, !tbaa !5
  %.not = icmp eq i16 %6, 0
  br i1 %.not, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %4
  %7 = call noundef i32 @_ZNK4juce10OwnedArrayINS_19MidiMessageSequenceENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %0) #4
  %8 = icmp sgt i32 %7, 0
  br i1 %8, label %.lr.ph15, label %.loopexit

9:                                                ; preds = %3, %1
  %10 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce19MidiMessageSequenceD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #4
  resume { ptr, i32 } %10

.lr.ph15:                                         ; preds = %.preheader, %._crit_edge
  %.014 = phi i32 [ %14, %._crit_edge ], [ 0, %.preheader ]
  %11 = call noundef ptr @_ZNK4juce10OwnedArrayINS_19MidiMessageSequenceENS_20DummyCriticalSectionEE12getUncheckedEi(ptr noundef nonnull align 8 dereferenceable(20) %0, i32 noundef %.014) #4
  %12 = call noundef i32 @_ZNK4juce19MidiMessageSequence12getNumEventsEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #4
  %13 = icmp sgt i32 %12, 0
  br i1 %13, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %.lr.ph15
  %14 = add nuw nsw i32 %.014, 1
  %15 = call noundef i32 @_ZNK4juce10OwnedArrayINS_19MidiMessageSequenceENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %0) #4
  %16 = icmp slt i32 %14, %15
  br i1 %16, label %.lr.ph15, label %.loopexit, !llvm.loop !15

.lr.ph:                                           ; preds = %.lr.ph15, %.lr.ph
  %.01113 = phi i32 [ %17, %.lr.ph ], [ %12, %.lr.ph15 ]
  %17 = add nsw i32 %.01113, -1
  %18 = call noundef ptr @_ZNK4juce19MidiMessageSequence15getEventPointerEi(ptr noundef nonnull align 8 dereferenceable(24) %11, i32 noundef %17) #4
  %19 = call noundef double @_ZNK4juce11MidiMessage12getTimeStampEv(ptr noundef nonnull align 8 dereferenceable(20) %18) #4
  %20 = load i16, ptr %5, align 8, !tbaa !5
  %21 = sext i16 %20 to i32
  %22 = call noundef double @_ZN4juce15MidiFileHelpersL21convertTicksToSecondsEdRKNS_19MidiMessageSequenceEi(double noundef %19, ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef %21)
  call void @_ZN4juce11MidiMessage12setTimeStampEd(ptr noundef nonnull align 8 dereferenceable(20) %18, double noundef %22) #4
  %23 = icmp ugt i32 %.01113, 1
  br i1 %23, label %.lr.ph, label %._crit_edge, !llvm.loop !17

.loopexit:                                        ; preds = %._crit_edge, %.preheader, %4
  call void @_ZN4juce19MidiMessageSequenceD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #4
  ret void
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce11MidiMessage12setTimeStampEd(ptr noundef nonnull align 8 dereferenceable(20), double noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef double @_ZN4juce15MidiFileHelpersL21convertTicksToSecondsEdRKNS_19MidiMessageSequenceEi(double noundef, ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNK4juce11MidiMessage12getTimeStampEv(ptr noundef nonnull align 8 dereferenceable(20)) local_unnamed_addr #3 align 2

declare void @_ZN4juce19MidiMessageSequenceC1Ev(ptr) local_unnamed_addr

declare void @_ZN4juce19MidiMessageSequenceD1Ev(ptr) local_unnamed_addr

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


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