; LLVM IR from mkazhdan/DMG :: Util/MultiStreamIO.ll (ZN19MultiStreamIOClientC2EPKciiib)

; 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.MultiStreamIOClient = type { %class.StreamingGrid, ptr, %class.FixedIOClientStream }
%class.StreamingGrid = type { %class.IOClient }
%class.IOClient = type { ptr, %"class.boost::recursive_timed_mutex", ptr }
%"class.boost::recursive_timed_mutex" = type <{ %union.pthread_mutex_t, %union.pthread_cond_t, i8, [7 x i8], i64, i32, [4 x i8] }>
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%union.pthread_cond_t = type { %struct.__pthread_cond_s }
%struct.__pthread_cond_s = type { %union.__atomic_wide_counter, %union.__atomic_wide_counter, [2 x i32], [2 x i32], i32, i32, [2 x i32] }
%union.__atomic_wide_counter = type { i64 }
%class.FixedIOClientStream = type { %class.IOClient, i32, ptr, ptr, i32, i32, i32, i32, ptr, i8, i32, i32, i32 }

@stderr = external global ptr, align 8
@_ZN8IOClient16BYTES_PER_SECTORE = external constant i32, align 4
@_ZTV19MultiStreamIOClient = external dso_local unnamed_addr constant { [12 x ptr] }, align 8
@.str.26 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [37 x i8], align 1

; 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: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z14SeekFileHandleP11_FileHandlex(ptr noundef, i64 noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN19MultiStreamIOClientC2EPKciiib(ptr noundef nonnull align 8 dereferenceable(328) %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i1 noundef zeroext %5) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i8, align 1
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i64, align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store i32 %2, ptr %9, align 4, !tbaa !9
  store i32 %3, ptr %10, align 4, !tbaa !9
  store i32 %4, ptr %11, align 4, !tbaa !9
  %16 = zext i1 %5 to i8
  store i8 %16, ptr %12, align 1, !tbaa !11
  %17 = load ptr, ptr %7, align 8
  call void @_ZN13StreamingGridC2Ev(ptr noundef nonnull align 8 dereferenceable(128) %17)
  store ptr getelementptr inbounds inrange(-16, 80) ({ [12 x ptr] }, ptr @_ZTV19MultiStreamIOClient, i32 0, i32 0, i32 2), ptr %17, align 8, !tbaa !13
  %18 = getelementptr inbounds %class.MultiStreamIOClient, ptr %17, i32 0, i32 2
  invoke void @_ZN19FixedIOClientStreamC1Ev(ptr noundef nonnull align 8 dereferenceable(192) %18)
          to label %19 unwind label %30

19:                                               ; preds = %6
  %20 = load ptr, ptr %8, align 8, !tbaa !5
  %21 = invoke noundef ptr @_Z16CreateFileHandlePKc(ptr noundef %20)
          to label %22 unwind label %34

22:                                               ; preds = %19
  %23 = getelementptr inbounds %class.MultiStreamIOClient, ptr %17, i32 0, i32 1
  store ptr %21, ptr %23, align 8, !tbaa !15
  %24 = getelementptr inbounds %class.MultiStreamIOClient, ptr %17, i32 0, i32 1
  %25 = load ptr, ptr %24, align 8, !tbaa !15
  %26 = icmp ne ptr %25, null
  br i1 %26, label %38, label %27

27:                                               ; preds = %22
  %28 = load ptr, ptr @stderr, align 8, !tbaa !5
  %29 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef @.str.26) #7
  call void @exit(i32 noundef 0) #8
  unreachable

30:                                               ; preds = %6
  %31 = landingpad { ptr, i32 }
          cleanup
  %32 = extractvalue { ptr, i32 } %31, 0
  store ptr %32, ptr %13, align 8
  %33 = extractvalue { ptr, i32 } %31, 1
  store i32 %33, ptr %14, align 4
  br label %89

34:                                               ; preds = %79, %19
  %35 = landingpad { ptr, i32 }
          cleanup
  %36 = extractvalue { ptr, i32 } %35, 0
  store ptr %36, ptr %13, align 8
  %37 = extractvalue { ptr, i32 } %35, 1
  store i32 %37, ptr %14, align 4
  br label %88

38:                                               ; preds = %22
  %39 = load i8, ptr %12, align 1, !tbaa !11, !range !22, !noundef !23
  %40 = trunc i8 %39 to i1
  br i1 %40, label %41, label %79

41:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %42 = load i32, ptr %10, align 4, !tbaa !9
  %43 = sext i32 %42 to i64
  %44 = load i32, ptr %9, align 4, !tbaa !9
  %45 = sext i32 %44 to i64
  %46 = mul nsw i64 %43, %45
  store i64 %46, ptr %15, align 8, !tbaa !24
  %47 = load i64, ptr %15, align 8, !tbaa !24
  %48 = load i32, ptr @_ZN8IOClient16BYTES_PER_SECTORE, align 4, !tbaa !9
  %49 = sext i32 %48 to i64
  %50 = add nsw i64 %47, %49
  %51 = sub nsw i64 %50, 1
  %52 = load i32, ptr @_ZN8IOClient16BYTES_PER_SECTORE, align 4, !tbaa !9
  %53 = sext i32 %52 to i64
  %54 = sdiv i64 %51, %53
  %55 = load i32, ptr @_ZN8IOClient16BYTES_PER_SECTORE, align 4, !tbaa !9
  %56 = sext i32 %55 to i64
  %57 = mul nsw i64 %54, %56
  store i64 %57, ptr %15, align 8, !tbaa !24
  %58 = getelementptr inbounds %class.MultiStreamIOClient, ptr %17, i32 0, i32 1
  %59 = load ptr, ptr %58, align 8, !tbaa !15
  %60 = load i64, ptr %15, align 8, !tbaa !24
  %61 = invoke noundef zeroext i1 @_Z14SeekFileHandleP11_FileHandlex(ptr noundef %59, i64 noundef %60)
          to label %62 unwind label %66

62:                                               ; preds = %41
  br i1 %61, label %70, label %63

63:                                               ; preds = %62
  %64 = load ptr, ptr @stderr, align 8, !tbaa !5
  %65 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %64, ptr noundef @.str.27) #7
  call void @exit(i32 noundef 0) #8
  unreachable

66:                                               ; preds = %70, %41
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %13, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %88

70:                                               ; preds = %62
  %71 = getelementptr inbounds %class.MultiStreamIOClient, ptr %17, i32 0, i32 1
  %72 = load ptr, ptr %71, align 8, !tbaa !15
  %73 = invoke noundef zeroext i1 @_Z18SetEndOfFileHandleP11_FileHandle(ptr noundef %72)
          to label %74 unwind label %66

74:                                               ; preds = %70
  br i1 %73, label %78, label %75

75:                                               ; preds = %74
  %76 = load ptr, ptr @stderr, align 8, !tbaa !5
  %77 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %76, ptr noundef @.str.28) #7
  br label %78

78:                                               ; preds = %75, %74
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %79

79:                                               ; preds = %78, %38
  %80 = getelementptr inbounds %class.MultiStreamIOClient, ptr %17, i32 0, i32 2
  %81 = getelementptr inbounds %class.MultiStreamIOClient, ptr %17, i32 0, i32 1
  %82 = load ptr, ptr %81, align 8, !tbaa !15
  %83 = load i32, ptr %9, align 4, !tbaa !9
  %84 = load i32, ptr %10, align 4, !tbaa !9
  %85 = load i32, ptr %11, align 4, !tbaa !9
  invoke void @_ZN19FixedIOClientStream4InitEP11_FileHandleiii(ptr noundef nonnull align 8 dereferenceable(192) %80, ptr noundef %82, i32 noundef %83, i32 noundef %84, i32 noundef %85)
          to label %86 unwind label %34

86:                                               ; preds = %79
  %87 = getelementptr inbounds %class.IOClient, ptr %17, i32 0, i32 2
  store ptr null, ptr %87, align 8, !tbaa !26
  ret void

88:                                               ; preds = %66, %34
  call void @_ZN19FixedIOClientStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(192) %18) #7
  br label %89

89:                                               ; preds = %88, %30
  call void @_ZN13StreamingGridD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %17) #7
  br label %90

90:                                               ; preds = %89
  %91 = load ptr, ptr %13, align 8
  %92 = load i32, ptr %14, align 4
  %93 = insertvalue { ptr, i32 } poison, ptr %91, 0
  %94 = insertvalue { ptr, i32 } %93, i32 %92, 1
  resume { ptr, i32 } %94
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z16CreateFileHandlePKc(ptr noundef) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z18SetEndOfFileHandleP11_FileHandle(ptr noundef) #5

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

declare void @_ZN19FixedIOClientStreamC1Ev(ptr)

declare void @_ZN19FixedIOClientStreamD1Ev(ptr)

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { noreturn 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 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 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 = { 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 #7 = { nounwind }
attributes #8 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = !{!16, !6, i64 128}
!16 = !{!"_ZTS19MultiStreamIOClient", !17, i64 0, !6, i64 128, !21, i64 136}
!17 = !{!"_ZTS13StreamingGrid", !18, i64 0}
!18 = !{!"_ZTS8IOClient", !19, i64 8, !6, i64 120}
!19 = !{!"_ZTSN5boost21recursive_timed_mutexE", !7, i64 0, !7, i64 40, !12, i64 88, !20, i64 96, !10, i64 104}
!20 = !{!"long", !7, i64 0}
!21 = !{!"_ZTS19FixedIOClientStream", !18, i64 0, !10, i64 128, !6, i64 136, !6, i64 144, !10, i64 152, !10, i64 156, !10, i64 160, !10, i64 164, !6, i64 168, !12, i64 176, !10, i64 180, !10, i64 184, !10, i64 188}
!22 = !{i8 0, i8 2}
!23 = !{}
!24 = !{!25, !25, i64 0}
!25 = !{!"long long", !7, i64 0}
!26 = !{!18, !6, i64 120}


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

@stderr = external local_unnamed_addr global ptr, align 8
@_ZN8IOClient16BYTES_PER_SECTORE = external local_unnamed_addr constant i32, align 4
@_ZTV19MultiStreamIOClient = external dso_local unnamed_addr constant { [12 x ptr] }, align 8
@.str.26 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [37 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #0

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN19FixedIOClientStream4InitEP11_FileHandleiii(ptr noundef nonnull align 8 dereferenceable(192), ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z14SeekFileHandleP11_FileHandlex(ptr noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN19MultiStreamIOClientC2EPKciiib(ptr noundef nonnull align 8 dereferenceable(328) %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i1 noundef zeroext %5) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  tail call void @_ZN13StreamingGridC2Ev(ptr noundef nonnull align 8 dereferenceable(128) %0)
  store ptr getelementptr inbounds inrange(-16, 80) (i8, ptr @_ZTV19MultiStreamIOClient, i64 16), ptr %0, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 136
  invoke void @_ZN19FixedIOClientStreamC1Ev(ptr noundef nonnull align 8 dereferenceable(192) %7)
          to label %8 unwind label %15

8:                                                ; preds = %6
  %9 = invoke noundef ptr @_Z16CreateFileHandlePKc(ptr noundef %1)
          to label %10 unwind label %17

10:                                               ; preds = %8
  %11 = getelementptr inbounds i8, ptr %0, i64 128
  store ptr %9, ptr %11, align 8, !tbaa !8
  %.not = icmp eq ptr %9, null
  br i1 %.not, label %12, label %19

12:                                               ; preds = %10
  %13 = load ptr, ptr @stderr, align 8, !tbaa !19
  %14 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef nonnull @.str.26) #6
  tail call void @exit(i32 noundef 0) #7
  unreachable

15:                                               ; preds = %6
  %16 = landingpad { ptr, i32 }
          cleanup
  br label %48

17:                                               ; preds = %43, %8
  %18 = landingpad { ptr, i32 }
          cleanup
  br label %47

19:                                               ; preds = %10
  br i1 %5, label %20, label %43

20:                                               ; preds = %19
  %21 = sext i32 %3 to i64
  %22 = sext i32 %2 to i64
  %23 = mul nsw i64 %21, %22
  %24 = load i32, ptr @_ZN8IOClient16BYTES_PER_SECTORE, align 4, !tbaa !20
  %25 = sext i32 %24 to i64
  %26 = add nsw i64 %23, %25
  %.fr14 = freeze i64 %26
  %27 = add i64 %.fr14, -1
  %28 = srem i64 %27, %25
  %29 = sub nsw i64 %27, %28
  %30 = invoke noundef zeroext i1 @_Z14SeekFileHandleP11_FileHandlex(ptr noundef nonnull %9, i64 noundef %29)
          to label %31 unwind label %35

31:                                               ; preds = %20
  br i1 %30, label %37, label %32

32:                                               ; preds = %31
  %33 = load ptr, ptr @stderr, align 8, !tbaa !19
  %34 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef nonnull @.str.27) #6
  tail call void @exit(i32 noundef 0) #7
  unreachable

35:                                               ; preds = %20
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %47

37:                                               ; preds = %31
  %38 = load ptr, ptr %11, align 8, !tbaa !8
  %39 = tail call noundef zeroext i1 @_Z18SetEndOfFileHandleP11_FileHandle(ptr noundef %38)
  br i1 %39, label %43, label %40

40:                                               ; preds = %37
  %41 = load ptr, ptr @stderr, align 8, !tbaa !19
  %42 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.28) #6
  br label %43

43:                                               ; preds = %37, %40, %19
  %44 = load ptr, ptr %11, align 8, !tbaa !8
  invoke void @_ZN19FixedIOClientStream4InitEP11_FileHandleiii(ptr noundef nonnull align 8 dereferenceable(192) %7, ptr noundef %44, i32 noundef %2, i32 noundef %3, i32 noundef %4)
          to label %45 unwind label %17

45:                                               ; preds = %43
  %46 = getelementptr inbounds i8, ptr %0, i64 120
  store ptr null, ptr %46, align 8, !tbaa !21
  ret void

47:                                               ; preds = %35, %17
  %.pn = phi { ptr, i32 } [ %18, %17 ], [ %36, %35 ]
  tail call void @_ZN19FixedIOClientStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(192) %7) #8
  br label %48

48:                                               ; preds = %47, %15
  %.pn.pn = phi { ptr, i32 } [ %.pn, %47 ], [ %16, %15 ]
  tail call void @_ZN13StreamingGridD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %0) #8
  resume { ptr, i32 } %.pn.pn
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z16CreateFileHandlePKc(ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z18SetEndOfFileHandleP11_FileHandle(ptr noundef) local_unnamed_addr #4

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

declare void @_ZN19FixedIOClientStreamC1Ev(ptr) local_unnamed_addr

declare void @_ZN19FixedIOClientStreamD1Ev(ptr) local_unnamed_addr

attributes #0 = { nofree 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 #1 = { noreturn 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 #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 = { inlinehint 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 = { 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 = { cold nounwind }
attributes #7 = { noreturn nounwind }
attributes #8 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !17, i64 128}
!9 = !{!"_ZTS19MultiStreamIOClient", !10, i64 0, !17, i64 128, !18, i64 136}
!10 = !{!"_ZTS13StreamingGrid", !11, i64 0}
!11 = !{!"_ZTS8IOClient", !12, i64 8, !17, i64 120}
!12 = !{!"_ZTSN5boost21recursive_timed_mutexE", !13, i64 0, !13, i64 40, !14, i64 88, !15, i64 96, !16, i64 104}
!13 = !{!"omnipotent char", !7, i64 0}
!14 = !{!"bool", !13, i64 0}
!15 = !{!"long", !13, i64 0}
!16 = !{!"int", !13, i64 0}
!17 = !{!"any pointer", !13, i64 0}
!18 = !{!"_ZTS19FixedIOClientStream", !11, i64 0, !16, i64 128, !17, i64 136, !17, i64 144, !16, i64 152, !16, i64 156, !16, i64 160, !16, i64 164, !17, i64 168, !14, i64 176, !16, i64 180, !16, i64 184, !16, i64 188}
!19 = !{!17, !17, i64 0}
!20 = !{!16, !16, i64 0}
!21 = !{!11, !17, i64 120}


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