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

; 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
define dso_local void @_ZN10RingBuffer13getReadVectorEv(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 2) #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 0) #4
  store i64 %18, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %19 = load i64, ptr %4, align 8, !tbaa !9
  %20 = load i64, ptr %5, align 8, !tbaa !9
  %21 = sub i64 %19, %20
  store i64 %21, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %22 = load i64, ptr %5, align 8, !tbaa !9
  %23 = getelementptr inbounds %struct.RingBuffer, ptr %14, i32 0, i32 5
  %24 = load i64, ptr %23, align 8, !tbaa !11
  %25 = and i64 %22, %24
  store i64 %25, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %26 = load i64, ptr %7, align 8, !tbaa !9
  %27 = load i64, ptr %6, align 8, !tbaa !9
  %28 = add i64 %26, %27
  store i64 %28, ptr %8, align 8, !tbaa !9
  %29 = load i64, ptr %8, align 8, !tbaa !9
  %30 = getelementptr inbounds %struct.RingBuffer, ptr %14, i32 0, i32 5
  %31 = load i64, ptr %30, align 8, !tbaa !11
  %32 = add i64 %31, 1
  %33 = icmp ugt i64 %29, %32
  br i1 %33, label %34, label %58

34:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #4
  %35 = getelementptr inbounds %"struct.RingBuffer::Data", ptr %9, i32 0, i32 0
  %36 = getelementptr inbounds %struct.RingBuffer, ptr %14, i32 0, i32 8
  %37 = call noundef ptr @_ZN2al9FlexArrayISt4byteLm16EE4dataEv(ptr noundef nonnull align 16 dereferenceable(16) %36) #4
  %38 = load i64, ptr %7, align 8, !tbaa !9
  %39 = getelementptr inbounds %struct.RingBuffer, ptr %14, i32 0, i32 6
  %40 = load i64, ptr %39, align 16, !tbaa !18
  %41 = mul i64 %38, %40
  %42 = getelementptr inbounds i8, ptr %37, i64 %41
  store ptr %42, ptr %35, align 8, !tbaa !19
  %43 = getelementptr inbounds %"struct.RingBuffer::Data", ptr %9, i32 0, i32 1
  %44 = getelementptr inbounds %struct.RingBuffer, ptr %14, i32 0, i32 5
  %45 = load i64, ptr %44, align 8, !tbaa !11
  %46 = add i64 %45, 1
  %47 = load i64, ptr %7, align 8, !tbaa !9
  %48 = sub i64 %46, %47
  store i64 %48, ptr %43, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #4
  %49 = getelementptr inbounds %"struct.RingBuffer::Data", ptr %10, i32 0, i32 0
  %50 = getelementptr inbounds %struct.RingBuffer, ptr %14, i32 0, i32 8
  %51 = call noundef ptr @_ZN2al9FlexArrayISt4byteLm16EE4dataEv(ptr noundef nonnull align 16 dereferenceable(16) %50) #4
  store ptr %51, ptr %49, align 8, !tbaa !19
  %52 = getelementptr inbounds %"struct.RingBuffer::Data", ptr %10, i32 0, i32 1
  %53 = load i64, ptr %8, align 8, !tbaa !9
  %54 = getelementptr inbounds %struct.RingBuffer, ptr %14, i32 0, i32 5
  %55 = load i64, ptr %54, align 8, !tbaa !11
  %56 = and i64 %53, %55
  store i64 %56, ptr %52, align 8, !tbaa !21
  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 %57 unwind label %73

57:                                               ; preds = %34
  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 %72

58:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #4
  %59 = getelementptr inbounds %"struct.RingBuffer::Data", ptr %12, i32 0, i32 0
  %60 = getelementptr inbounds %struct.RingBuffer, ptr %14, i32 0, i32 8
  %61 = call noundef ptr @_ZN2al9FlexArrayISt4byteLm16EE4dataEv(ptr noundef nonnull align 16 dereferenceable(16) %60) #4
  %62 = load i64, ptr %7, align 8, !tbaa !9
  %63 = getelementptr inbounds %struct.RingBuffer, ptr %14, i32 0, i32 6
  %64 = load i64, ptr %63, align 16, !tbaa !18
  %65 = mul i64 %62, %64
  %66 = getelementptr inbounds i8, ptr %61, i64 %65
  store ptr %66, ptr %59, align 8, !tbaa !19
  %67 = getelementptr inbounds %"struct.RingBuffer::Data", ptr %12, i32 0, i32 1
  %68 = load i64, ptr %6, align 8, !tbaa !9
  store i64 %68, ptr %67, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #4
  %69 = getelementptr inbounds %"struct.RingBuffer::Data", ptr %13, i32 0, i32 0
  store ptr null, ptr %69, align 8, !tbaa !19
  %70 = getelementptr inbounds %"struct.RingBuffer::Data", ptr %13, i32 0, i32 1
  store i64 0, ptr %70, align 8, !tbaa !21
  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 %71 unwind label %73

71:                                               ; preds = %58
  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 %72

72:                                               ; preds = %71, %57
  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

73:                                               ; preds = %58, %34
  %74 = landingpad { ptr, i32 }
          catch ptr null
  %75 = extractvalue { ptr, i32 } %74, 0
  call void @__clang_call_terminate(ptr %75) #5
  unreachable
}

; 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

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 136}
!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 144}
!19 = !{!20, !6, i64 0}
!20 = !{!"_ZTSN10RingBuffer4DataE", !6, i64 0, !10, i64 8}
!21 = !{!20, !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
define dso_local void @_ZN10RingBuffer13getReadVectorEv(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 2) #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 0) #4
  %10 = sub i64 %7, %9
  %11 = getelementptr inbounds i8, ptr %1, i64 136
  %12 = load i64, ptr %11, align 8, !tbaa !5
  %13 = and i64 %12, %9
  %14 = add i64 %13, %10
  %15 = add i64 %12, 1
  %16 = icmp ugt i64 %14, %15
  %17 = getelementptr inbounds i8, ptr %1, i64 160
  %18 = getelementptr inbounds i8, ptr %1, i64 144
  br i1 %16, label %19, label %31

19:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #4
  %20 = tail call noundef ptr @_ZN2al9FlexArrayISt4byteLm16EE4dataEv(ptr noundef nonnull align 16 dereferenceable(16) %17) #4
  %21 = load i64, ptr %18, align 16, !tbaa !16
  %22 = mul i64 %21, %13
  %23 = getelementptr inbounds i8, ptr %20, i64 %22
  store ptr %23, ptr %3, align 8, !tbaa !17
  %24 = getelementptr inbounds i8, ptr %3, i64 8
  %25 = load i64, ptr %11, align 8, !tbaa !5
  %reass.sub = sub i64 %25, %13
  %26 = add i64 %reass.sub, 1
  store i64 %26, ptr %24, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4
  %27 = tail call noundef ptr @_ZN2al9FlexArrayISt4byteLm16EE4dataEv(ptr noundef nonnull align 16 dereferenceable(16) %17) #4
  store ptr %27, ptr %4, align 8, !tbaa !17
  %28 = getelementptr inbounds i8, ptr %4, i64 8
  %29 = load i64, ptr %11, align 8, !tbaa !5
  %30 = and i64 %29, %14
  store i64 %30, ptr %28, align 8, !tbaa !19
  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 %37

31:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4
  %32 = tail call noundef ptr @_ZN2al9FlexArrayISt4byteLm16EE4dataEv(ptr noundef nonnull align 16 dereferenceable(16) %17) #4
  %33 = load i64, ptr %18, align 16, !tbaa !16
  %34 = mul i64 %33, %13
  %35 = getelementptr inbounds i8, ptr %32, i64 %34
  store ptr %35, ptr %5, align 8, !tbaa !17
  %36 = getelementptr inbounds i8, ptr %5, i64 8
  store i64 %10, ptr %36, align 8, !tbaa !19
  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 %37

37:                                               ; preds = %31, %19
  ret void
}

; 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: 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 136}
!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 144}
!17 = !{!18, !15, i64 0}
!18 = !{!"_ZTSN10RingBuffer4DataE", !15, i64 0, !9, i64 8}
!19 = !{!18, !9, i64 8}


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