; LLVM IR from mncoppola/rpef :: utilities_src/squashfs4.2/lzma465/CPP/7zip/Compress/LZMA_Alone (LzmaBench)

; 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.CMyComPtr.4 = type { ptr }
%struct.CEncoderInfo = type { %class.CMyComPtr, [2 x ptr], [2 x %class.CMyComPtr.0], i32, [2 x %"struct.CEncoderInfo::CDecoderInfo"], [2 x %class.CMyComPtr], [2 x i32], ptr, %class.CMyComPtr.1, ptr, i32, i32, i32, %class.CBenchRandomGenerator, ptr, %class.CMyComPtr.1 }
%class.CMyComPtr = type { ptr }
%class.CMyComPtr.0 = type { ptr }
%"struct.CEncoderInfo::CDecoderInfo" = type { ptr, i32, i8 }
%class.CBenchRandomGenerator = type { %class.CBenchBuffer, ptr }
%class.CBenchBuffer = type { ptr, i64, ptr }
%class.CMyComPtr.1 = type { ptr }
%class.CBenchmarkOutStream = type { %struct.ISequentialOutStream, %class.CBenchBuffer, %class.CMyUnknownImp, i32 }
%struct.ISequentialOutStream = type { %struct.IUnknown }
%struct.IUnknown = type { ptr }
%class.CMyUnknownImp = type { 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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN19CBenchmarkOutStream4InitEv(ptr noundef nonnull align 8 dereferenceable(40)) #3 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN12CEncoderInfo6EncodeEv(ptr noundef nonnull align 8 dereferenceable(192) %0) #4 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %class.CMyComPtr.4, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  %10 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  %11 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 40) #7
  invoke void @_ZN18CBenchmarkInStreamC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %11)
          to label %12 unwind label %46

12:                                               ; preds = %1
  store ptr %11, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN9CMyComPtrI19ISequentialInStreamEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef %13)
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.CEncoderInfo, ptr %10, i32 0, i32 13
  %16 = getelementptr inbounds %class.CBenchBuffer, ptr %15, i32 0, i32 2
  %17 = load ptr, ptr %16, align 8, !tbaa !9
  %18 = getelementptr inbounds %struct.CEncoderInfo, ptr %10, i32 0, i32 13
  %19 = getelementptr inbounds %class.CBenchBuffer, ptr %18, i32 0, i32 1
  %20 = load i64, ptr %19, align 8, !tbaa !12
  invoke void @_ZN18CBenchmarkInStream4InitEPKhm(ptr noundef nonnull align 8 dereferenceable(40) %14, ptr noundef %17, i64 noundef %20)
          to label %21 unwind label %50

21:                                               ; preds = %12
  %22 = getelementptr inbounds %struct.CEncoderInfo, ptr %10, i32 0, i32 7
  %23 = load ptr, ptr %22, align 8, !tbaa !13
  invoke void @_ZN19CBenchmarkOutStream4InitEv(ptr noundef nonnull align 8 dereferenceable(40) %23)
          to label %24 unwind label %50

24:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  %25 = getelementptr inbounds %struct.CEncoderInfo, ptr %10, i32 0, i32 0
  %26 = invoke noundef ptr @_ZNK9CMyComPtrI14ICompressCoderEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %27 unwind label %54

27:                                               ; preds = %24
  %28 = invoke noundef ptr @_ZNK9CMyComPtrI19ISequentialInStreamEcvPS0_Ev(ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %29 unwind label %54

29:                                               ; preds = %27
  %30 = getelementptr inbounds %struct.CEncoderInfo, ptr %10, i32 0, i32 8
  %31 = invoke noundef ptr @_ZNK9CMyComPtrI20ISequentialOutStreamEcvPS0_Ev(ptr noundef nonnull align 8 dereferenceable(8) %30)
          to label %32 unwind label %54

32:                                               ; preds = %29
  %33 = getelementptr inbounds %struct.CEncoderInfo, ptr %10, i32 0, i32 2
  %34 = getelementptr inbounds [2 x %class.CMyComPtr.0], ptr %33, i64 0, i64 0
  %35 = invoke noundef ptr @_ZNK9CMyComPtrI21ICompressProgressInfoEcvPS0_Ev(ptr noundef nonnull align 8 dereferenceable(8) %34)
          to label %36 unwind label %54

36:                                               ; preds = %32
  %37 = load ptr, ptr %26, align 8, !tbaa !19
  %38 = getelementptr inbounds ptr, ptr %37, i64 5
  %39 = load ptr, ptr %38, align 8
  %40 = invoke noundef i32 %39(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef %28, ptr noundef %31, ptr noundef null, ptr noundef null, ptr noundef %35)
          to label %41 unwind label %54

41:                                               ; preds = %36
  store i32 %40, ptr %8, align 4, !tbaa !21
  %42 = load i32, ptr %8, align 4, !tbaa !21
  %43 = icmp ne i32 %42, 0
  br i1 %43, label %44, label %58

44:                                               ; preds = %41
  %45 = load i32, ptr %8, align 4, !tbaa !21
  store i32 %45, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %59

46:                                               ; preds = %1
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %5, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %11, i64 noundef 40) #8
  br label %72

50:                                               ; preds = %61, %21, %12
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %5, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %6, align 4
  br label %71

54:                                               ; preds = %36, %32, %29, %27, %24
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %5, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %71

58:                                               ; preds = %41
  store i32 0, ptr %9, align 4
  br label %59

59:                                               ; preds = %58, %44
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  %60 = load i32, ptr %9, align 4
  switch i32 %60, label %69 [
    i32 0, label %61
  ]

61:                                               ; preds = %59
  %62 = getelementptr inbounds %struct.CEncoderInfo, ptr %10, i32 0, i32 7
  %63 = load ptr, ptr %62, align 8, !tbaa !13
  %64 = getelementptr inbounds %class.CBenchmarkOutStream, ptr %63, i32 0, i32 3
  %65 = load i32, ptr %64, align 4, !tbaa !22
  %66 = getelementptr inbounds %struct.CEncoderInfo, ptr %10, i32 0, i32 12
  store i32 %65, ptr %66, align 8, !tbaa !27
  %67 = getelementptr inbounds %struct.CEncoderInfo, ptr %10, i32 0, i32 0
  invoke void @_ZN9CMyComPtrI14ICompressCoderE7ReleaseEv(ptr noundef nonnull align 8 dereferenceable(8) %67)
          to label %68 unwind label %50

68:                                               ; preds = %61
  store i32 0, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %69

69:                                               ; preds = %68, %59
  call void @_ZN9CMyComPtrI19ISequentialInStreamED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  %70 = load i32, ptr %2, align 4
  ret i32 %70

71:                                               ; preds = %54, %50
  call void @_ZN9CMyComPtrI19ISequentialInStreamED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %72

72:                                               ; preds = %71, %46
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  br label %73

73:                                               ; preds = %72
  %74 = load ptr, ptr %5, align 8
  %75 = load i32, ptr %6, align 4
  %76 = insertvalue { ptr, i32 } poison, ptr %74, 0
  %77 = insertvalue { ptr, i32 } %76, i32 %75, 1
  resume { ptr, i32 } %77
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN18CBenchmarkInStreamC2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #5 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN18CBenchmarkInStream4InitEPKhm(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, i64 noundef) #3 align 2

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nobuiltin allocsize(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 = { nobuiltin 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 #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 = { 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 = { 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 #6 = { nounwind }
attributes #7 = { builtin allocsize(0) }
attributes #8 = { builtin 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, !6, i64 16}
!10 = !{!"_ZTS12CBenchBuffer", !11, i64 8, !6, i64 16}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = !{!14, !6, i64 104}
!14 = !{!"_ZTS12CEncoderInfo", !15, i64 0, !7, i64 8, !7, i64 24, !16, i64 40, !7, i64 48, !7, i64 80, !7, i64 96, !6, i64 104, !17, i64 112, !6, i64 120, !16, i64 128, !16, i64 132, !16, i64 136, !18, i64 144, !6, i64 176, !17, i64 184}
!15 = !{!"_ZTS9CMyComPtrI14ICompressCoderE", !6, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = !{!"_ZTS9CMyComPtrI20ISequentialOutStreamE", !6, i64 0}
!18 = !{!"_ZTS21CBenchRandomGenerator", !10, i64 0, !6, i64 24}
!19 = !{!20, !20, i64 0}
!20 = !{!"vtable pointer", !8, i64 0}
!21 = !{!16, !16, i64 0}
!22 = !{!23, !16, i64 36}
!23 = !{!"_ZTS19CBenchmarkOutStream", !24, i64 0, !10, i64 8, !26, i64 32, !16, i64 36}
!24 = !{!"_ZTS20ISequentialOutStream", !25, i64 0}
!25 = !{!"_ZTS8IUnknown"}
!26 = !{!"_ZTS13CMyUnknownImp", !16, i64 0}
!27 = !{!14, !16, i64 136}


; 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.CMyComPtr.4 = type { ptr }

; 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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN19CBenchmarkOutStream4InitEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN12CEncoderInfo6EncodeEv(ptr noundef nonnull align 8 dereferenceable(192) %0) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %class.CMyComPtr.4, align 8
  %3 = tail call noalias noundef nonnull dereferenceable(40) ptr @_Znwm(i64 noundef 40) #5
  tail call void @_ZN18CBenchmarkInStreamC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6
  call void @_ZN9CMyComPtrI19ISequentialInStreamEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull %3)
  %4 = getelementptr inbounds i8, ptr %0, i64 160
  %5 = load ptr, ptr %4, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 152
  %7 = load i64, ptr %6, align 8, !tbaa !11
  call void @_ZN18CBenchmarkInStream4InitEPKhm(ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef %5, i64 noundef %7)
  %8 = getelementptr inbounds i8, ptr %0, i64 104
  %9 = load ptr, ptr %8, align 8, !tbaa !12
  call void @_ZN19CBenchmarkOutStream4InitEv(ptr noundef nonnull align 8 dereferenceable(40) %9)
  %10 = call noundef ptr @_ZNK9CMyComPtrI14ICompressCoderEptEv(ptr noundef nonnull align 8 dereferenceable(8) %0)
  %11 = call noundef ptr @_ZNK9CMyComPtrI19ISequentialInStreamEcvPS0_Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %12 = getelementptr inbounds i8, ptr %0, i64 112
  %13 = call noundef ptr @_ZNK9CMyComPtrI20ISequentialOutStreamEcvPS0_Ev(ptr noundef nonnull align 8 dereferenceable(8) %12)
  %14 = getelementptr inbounds i8, ptr %0, i64 24
  %15 = call noundef ptr @_ZNK9CMyComPtrI21ICompressProgressInfoEcvPS0_Ev(ptr noundef nonnull align 8 dereferenceable(8) %14)
  %16 = load ptr, ptr %10, align 8, !tbaa !18
  %17 = getelementptr inbounds i8, ptr %16, i64 40
  %18 = load ptr, ptr %17, align 8
  %19 = invoke noundef i32 %18(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef %11, ptr noundef %13, ptr noundef null, ptr noundef null, ptr noundef %15)
          to label %20 unwind label %23

20:                                               ; preds = %1
  %.not = icmp eq i32 %19, 0
  br i1 %.not, label %25, label %30

21:                                               ; preds = %25
  %22 = landingpad { ptr, i32 }
          cleanup
  br label %31

23:                                               ; preds = %1
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %31

25:                                               ; preds = %20
  %26 = load ptr, ptr %8, align 8, !tbaa !12
  %27 = getelementptr inbounds i8, ptr %26, i64 36
  %28 = load i32, ptr %27, align 4, !tbaa !20
  %29 = getelementptr inbounds i8, ptr %0, i64 136
  store i32 %28, ptr %29, align 8, !tbaa !25
  invoke void @_ZN9CMyComPtrI14ICompressCoderE7ReleaseEv(ptr noundef nonnull align 8 dereferenceable(8) %0)
          to label %30 unwind label %21

30:                                               ; preds = %25, %20
  call void @_ZN9CMyComPtrI19ISequentialInStreamED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  ret i32 %19

31:                                               ; preds = %23, %21
  %.pn = phi { ptr, i32 } [ %22, %21 ], [ %24, %23 ]
  call void @_ZN9CMyComPtrI19ISequentialInStreamED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  resume { ptr, i32 } %.pn
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN18CBenchmarkInStream4InitEPKhm(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, i64 noundef) local_unnamed_addr #2 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9CMyComPtrI14ICompressCoderE7ReleaseEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nobuiltin allocsize(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 = { 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 = { builtin allocsize(0) }
attributes #6 = { 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, !10, i64 16}
!6 = !{!"_ZTS12CBenchBuffer", !7, i64 8, !10, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 8}
!12 = !{!13, !10, i64 104}
!13 = !{!"_ZTS12CEncoderInfo", !14, i64 0, !8, i64 8, !8, i64 24, !15, i64 40, !8, i64 48, !8, i64 80, !8, i64 96, !10, i64 104, !16, i64 112, !10, i64 120, !15, i64 128, !15, i64 132, !15, i64 136, !17, i64 144, !10, i64 176, !16, i64 184}
!14 = !{!"_ZTS9CMyComPtrI14ICompressCoderE", !10, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!"_ZTS9CMyComPtrI20ISequentialOutStreamE", !10, i64 0}
!17 = !{!"_ZTS21CBenchRandomGenerator", !6, i64 0, !10, i64 24}
!18 = !{!19, !19, i64 0}
!19 = !{!"vtable pointer", !9, i64 0}
!20 = !{!21, !15, i64 36}
!21 = !{!"_ZTS19CBenchmarkOutStream", !22, i64 0, !6, i64 8, !24, i64 32, !15, i64 36}
!22 = !{!"_ZTS20ISequentialOutStream", !23, i64 0}
!23 = !{!"_ZTS8IUnknown"}
!24 = !{!"_ZTS13CMyUnknownImp", !15, i64 0}
!25 = !{!13, !15, i64 136}


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