; LLVM IR from Try/Tempest :: Engine/thirdparty/openal-soft/common/ringbuffer.ll (ZN10RingBuffer14getWriteVectorEv)

; 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"

%"struct.std::pair" = type { %"struct.RingBuffer::Data", %"struct.RingBuffer::Data" }
%"struct.RingBuffer::Data" = type { ptr, i64 }
%struct.RingBuffer = type { %"struct.std::atomic", [56 x i8], %"struct.std::atomic", [56 x i8], i64, i64, i64, [8 x i8], %"struct.al::FlexArray", [16 x i8] }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i64 }
%"struct.al::FlexArray" = type { %"struct.al::FlexArrayStorage" }
%"struct.al::FlexArrayStorage" = type { %"class.al::span" }
%"class.al::span" = type { ptr, i64 }

; 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: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN2al9FlexArrayISt4byteLm16EE4dataEv(ptr noundef nonnull align 16 dereferenceable(16)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIN10RingBuffer4DataES1_EC2IS1_S1_TnNSt9enable_ifIXaaclsr5_PCCPE18_ConstructiblePairIT_T0_EEclsr5_PCCPE26_ImplicitlyConvertiblePairIS5_S6_EEEbE4typeELb1EEERKS1_SA_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN10RingBuffer14getWriteVectorEv(ptr dead_on_unwind noalias writable sret(%"struct.std::pair") align 8 %0, ptr noundef nonnull align 64 dereferenceable(176) %1) #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca %"struct.RingBuffer::Data", align 8
  %10 = alloca %"struct.RingBuffer::Data", align 8
  %11 = alloca i32, align 4
  %12 = alloca %"struct.RingBuffer::Data", align 8
  %13 = alloca %"struct.RingBuffer::Data", align 8
  store ptr %1, ptr %3, align 8, !tbaa !5
  %14 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  %15 = getelementptr inbounds %struct.RingBuffer, ptr %14, i32 0, i32 0
  %16 = call noundef i64 @_ZNKSt13__atomic_baseImE4loadESt12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %15, i32 noundef 0) #4
  store i64 %16, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %17 = getelementptr inbounds %struct.RingBuffer, ptr %14, i32 0, i32 2
  %18 = call noundef i64 @_ZNKSt13__atomic_baseImE4loadESt12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef 2) #4
  store i64 %18, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %19 = getelementptr inbounds %struct.RingBuffer, ptr %14, i32 0, i32 4
  %20 = load i64, ptr %19, align 64, !tbaa !11
  %21 = load i64, ptr %4, align 8, !tbaa !9
  %22 = load i64, ptr %5, align 8, !tbaa !9
  %23 = sub i64 %21, %22
  %24 = sub i64 %20, %23
  store i64 %24, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %25 = load i64, ptr %4, align 8, !tbaa !9
  %26 = getelementptr inbounds %struct.RingBuffer, ptr %14, i32 0, i32 5
  %27 = load i64, ptr %26, align 8, !tbaa !18
  %28 = and i64 %25, %27
  store i64 %28, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %29 = load i64, ptr %7, align 8, !tbaa !9
  %30 = load i64, ptr %6, align 8, !tbaa !9
  %31 = add i64 %29, %30
  store i64 %31, ptr %8, align 8, !tbaa !9
  %32 = load i64, ptr %8, align 8, !tbaa !9
  %33 = getelementptr inbounds %struct.RingBuffer, ptr %14, i32 0, i32 5
  %34 = load i64, ptr %33, align 8, !tbaa !18
  %35 = add i64 %34, 1
  %36 = icmp ugt i64 %32, %35
  br i1 %36, label %37, label %61

37:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #4
  %38 = getelementptr inbounds %"struct.RingBuffer::Data", ptr %9, i32 0, i32 0
  %39 = getelementptr inbounds %struct.RingBuffer, ptr %14, i32 0, i32 8
  %40 = call noundef ptr @_ZN2al9FlexArrayISt4byteLm16EE4dataEv(ptr noundef nonnull align 16 dereferenceable(16) %39) #4
  %41 = load i64, ptr %7, align 8, !tbaa !9
  %42 = getelementptr inbounds %struct.RingBuffer, ptr %14, i32 0, i32 6
  %43 = load i64, ptr %42, align 16, !tbaa !19
  %44 = mul i64 %41, %43
  %45 = getelementptr inbounds i8, ptr %40, i64 %44
  store ptr %45, ptr %38, align 8, !tbaa !20
  %46 = getelementptr inbounds %"struct.RingBuffer::Data", ptr %9, i32 0, i32 1
  %47 = getelementptr inbounds %struct.RingBuffer, ptr %14, i32 0, i32 5
  %48 = load i64, ptr %47, align 8, !tbaa !18
  %49 = add i64 %48, 1
  %50 = load i64, ptr %7, align 8, !tbaa !9
  %51 = sub i64 %49, %50
  store i64 %51, ptr %46, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #4
  %52 = getelementptr inbounds %"struct.RingBuffer::Data", ptr %10, i32 0, i32 0
  %53 = getelementptr inbounds %struct.RingBuffer, ptr %14, i32 0, i32 8
  %54 = call noundef ptr @_ZN2al9FlexArrayISt4byteLm16EE4dataEv(ptr noundef nonnull align 16 dereferenceable(16) %53) #4
  store ptr %54, ptr %52, align 8, !tbaa !20
  %55 = getelementptr inbounds %"struct.RingBuffer::Data", ptr %10, i32 0, i32 1
  %56 = load i64, ptr %8, align 8, !tbaa !9
  %57 = getelementptr inbounds %struct.RingBuffer, ptr %14, i32 0, i32 5
  %58 = load i64, ptr %57, align 8, !tbaa !18
  %59 = and i64 %56, %58
  store i64 %59, ptr %55, align 8, !tbaa !22
  invoke void @_ZNSt4pairIN10RingBuffer4DataES1_EC2IS1_S1_TnNSt9enable_ifIXaaclsr5_PCCPE18_ConstructiblePairIT_T0_EEclsr5_PCCPE26_ImplicitlyConvertiblePairIS5_S6_EEEbE4typeELb1EEERKS1_SA_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %60 unwind label %76

60:                                               ; preds = %37
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #4
  store i32 1, ptr %11, align 4
  br label %75

61:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #4
  %62 = getelementptr inbounds %"struct.RingBuffer::Data", ptr %12, i32 0, i32 0
  %63 = getelementptr inbounds %struct.RingBuffer, ptr %14, i32 0, i32 8
  %64 = call noundef ptr @_ZN2al9FlexArrayISt4byteLm16EE4dataEv(ptr noundef nonnull align 16 dereferenceable(16) %63) #4
  %65 = load i64, ptr %7, align 8, !tbaa !9
  %66 = getelementptr inbounds %struct.RingBuffer, ptr %14, i32 0, i32 6
  %67 = load i64, ptr %66, align 16, !tbaa !19
  %68 = mul i64 %65, %67
  %69 = getelementptr inbounds i8, ptr %64, i64 %68
  store ptr %69, ptr %62, align 8, !tbaa !20
  %70 = getelementptr inbounds %"struct.RingBuffer::Data", ptr %12, i32 0, i32 1
  %71 = load i64, ptr %6, align 8, !tbaa !9
  store i64 %71, ptr %70, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #4
  %72 = getelementptr inbounds %"struct.RingBuffer::Data", ptr %13, i32 0, i32 0
  store ptr null, ptr %72, align 8, !tbaa !20
  %73 = getelementptr inbounds %"struct.RingBuffer::Data", ptr %13, i32 0, i32 1
  store i64 0, ptr %73, align 8, !tbaa !22
  invoke void @_ZNSt4pairIN10RingBuffer4DataES1_EC2IS1_S1_TnNSt9enable_ifIXaaclsr5_PCCPE18_ConstructiblePairIT_T0_EEclsr5_PCCPE26_ImplicitlyConvertiblePairIS5_S6_EEEbE4typeELb1EEERKS1_SA_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %74 unwind label %76

74:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #4
  store i32 1, ptr %11, align 4
  br label %75

75:                                               ; preds = %74, %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  ret void

76:                                               ; preds = %61, %37
  %77 = landingpad { ptr, i32 }
          catch ptr null
  %78 = extractvalue { ptr, i32 } %77, 0
  call void @__clang_call_terminate(ptr %78) #5
  unreachable
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noinline noreturn nounwind uwtable "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 = { alwaysinline 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 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 }
attributes #5 = { noreturn 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 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 128}
!12 = !{!"_ZTS10RingBuffer", !13, i64 0, !13, i64 64, !10, i64 128, !10, i64 136, !10, i64 144, !15, i64 160}
!13 = !{!"_ZTSSt6atomicImE", !14, i64 0}
!14 = !{!"_ZTSSt13__atomic_baseImE", !10, i64 0}
!15 = !{!"_ZTSN2al9FlexArrayISt4byteLm16EEE", !16, i64 0}
!16 = !{!"_ZTSN2al16FlexArrayStorageISt4byteLm16ELb1EEE", !17, i64 0}
!17 = !{!"_ZTSN2al4spanISt4byteLm18446744073709551615EEE", !6, i64 0, !10, i64 8}
!18 = !{!12, !10, i64 136}
!19 = !{!12, !10, i64 144}
!20 = !{!21, !6, i64 0}
!21 = !{!"_ZTSN10RingBuffer4DataE", !6, i64 0, !10, i64 8}
!22 = !{!21, !10, i64 8}


; 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"

%"struct.std::pair" = type { %"struct.RingBuffer::Data", %"struct.RingBuffer::Data" }
%"struct.RingBuffer::Data" = type { ptr, i64 }

; 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: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt13__atomic_baseImE4loadESt12memory_order(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN2al9FlexArrayISt4byteLm16EE4dataEv(ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIN10RingBuffer4DataES1_EC2IS1_S1_TnNSt9enable_ifIXaaclsr5_PCCPE18_ConstructiblePairIT_T0_EEclsr5_PCCPE26_ImplicitlyConvertiblePairIS5_S6_EEEbE4typeELb1EEERKS1_SA_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN10RingBuffer14getWriteVectorEv(ptr dead_on_unwind noalias writable sret(%"struct.std::pair") align 8 %0, ptr noundef nonnull align 64 dereferenceable(176) %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct.RingBuffer::Data", align 8
  %4 = alloca %"struct.RingBuffer::Data", align 8
  %5 = alloca %"struct.RingBuffer::Data", align 8
  %6 = alloca %"struct.RingBuffer::Data", align 8
  %7 = tail call noundef i64 @_ZNKSt13__atomic_baseImE4loadESt12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %1, i32 noundef 0) #4
  %8 = getelementptr inbounds i8, ptr %1, i64 64
  %9 = tail call noundef i64 @_ZNKSt13__atomic_baseImE4loadESt12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef 2) #4
  %10 = getelementptr inbounds i8, ptr %1, i64 128
  %11 = load i64, ptr %10, align 64, !tbaa !5
  %.neg = sub i64 %9, %7
  %12 = add i64 %.neg, %11
  %13 = getelementptr inbounds i8, ptr %1, i64 136
  %14 = load i64, ptr %13, align 8, !tbaa !16
  %15 = and i64 %14, %7
  %16 = add i64 %15, %12
  %17 = add i64 %14, 1
  %18 = icmp ugt i64 %16, %17
  %19 = getelementptr inbounds i8, ptr %1, i64 160
  %20 = getelementptr inbounds i8, ptr %1, i64 144
  br i1 %18, label %21, label %33

21:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #4
  %22 = tail call noundef ptr @_ZN2al9FlexArrayISt4byteLm16EE4dataEv(ptr noundef nonnull align 16 dereferenceable(16) %19) #4
  %23 = load i64, ptr %20, align 16, !tbaa !17
  %24 = mul i64 %23, %15
  %25 = getelementptr inbounds i8, ptr %22, i64 %24
  store ptr %25, ptr %3, align 8, !tbaa !18
  %26 = getelementptr inbounds i8, ptr %3, i64 8
  %27 = load i64, ptr %13, align 8, !tbaa !16
  %reass.sub = sub i64 %27, %15
  %28 = add i64 %reass.sub, 1
  store i64 %28, ptr %26, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4
  %29 = tail call noundef ptr @_ZN2al9FlexArrayISt4byteLm16EE4dataEv(ptr noundef nonnull align 16 dereferenceable(16) %19) #4
  store ptr %29, ptr %4, align 8, !tbaa !18
  %30 = getelementptr inbounds i8, ptr %4, i64 8
  %31 = load i64, ptr %13, align 8, !tbaa !16
  %32 = and i64 %31, %16
  store i64 %32, ptr %30, align 8, !tbaa !20
  call void @_ZNSt4pairIN10RingBuffer4DataES1_EC2IS1_S1_TnNSt9enable_ifIXaaclsr5_PCCPE18_ConstructiblePairIT_T0_EEclsr5_PCCPE26_ImplicitlyConvertiblePairIS5_S6_EEEbE4typeELb1EEERKS1_SA_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) %4)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4
  br label %39

33:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4
  %34 = tail call noundef ptr @_ZN2al9FlexArrayISt4byteLm16EE4dataEv(ptr noundef nonnull align 16 dereferenceable(16) %19) #4
  %35 = load i64, ptr %20, align 16, !tbaa !17
  %36 = mul i64 %35, %15
  %37 = getelementptr inbounds i8, ptr %34, i64 %36
  store ptr %37, ptr %5, align 8, !tbaa !18
  %38 = getelementptr inbounds i8, ptr %5, i64 8
  store i64 %12, ptr %38, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %6, i8 0, i64 16, i1 false)
  call void @_ZNSt4pairIN10RingBuffer4DataES1_EC2IS1_S1_TnNSt9enable_ifIXaaclsr5_PCCPE18_ConstructiblePairIT_T0_EEclsr5_PCCPE26_ImplicitlyConvertiblePairIS5_S6_EEEbE4typeELb1EEERKS1_SA_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %6)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
  br label %39

39:                                               ; preds = %33, %21
  ret void
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { alwaysinline 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 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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, !9, i64 128}
!6 = !{!"_ZTS10RingBuffer", !7, i64 0, !7, i64 64, !9, i64 128, !9, i64 136, !9, i64 144, !12, i64 160}
!7 = !{!"_ZTSSt6atomicImE", !8, i64 0}
!8 = !{!"_ZTSSt13__atomic_baseImE", !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTSN2al9FlexArrayISt4byteLm16EEE", !13, i64 0}
!13 = !{!"_ZTSN2al16FlexArrayStorageISt4byteLm16ELb1EEE", !14, i64 0}
!14 = !{!"_ZTSN2al4spanISt4byteLm18446744073709551615EEE", !15, i64 0, !9, i64 8}
!15 = !{!"any pointer", !10, i64 0}
!16 = !{!6, !9, i64 136}
!17 = !{!6, !9, i64 144}
!18 = !{!19, !15, i64 0}
!19 = !{!"_ZTSN10RingBuffer4DataE", !15, i64 0, !9, i64 8}
!20 = !{!19, !9, i64 8}


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