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

; 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: inlinehint mustprogress uwtable
declare dso_local void @_ZN13StreamingGridC2Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #4 align 2

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

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

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

21:                                               ; preds = %7
  %22 = load ptr, ptr %12, align 8, !tbaa !5
  %23 = load ptr, ptr %13, align 8, !tbaa !5
  %24 = load i8, ptr %14, align 1, !tbaa !11, !range !15, !noundef !16
  %25 = trunc i8 %24 to i1
  %26 = invoke noundef ptr @_Z16CreateFileHandlePKcS0_b(ptr noundef %22, ptr noundef %23, i1 noundef zeroext %25)
          to label %27 unwind label %39

27:                                               ; preds = %21
  %28 = getelementptr inbounds %class.MultiStreamIOClient, ptr %19, i32 0, i32 1
  store ptr %26, ptr %28, align 8, !tbaa !17
  %29 = getelementptr inbounds %class.MultiStreamIOClient, ptr %19, i32 0, i32 1
  %30 = load ptr, ptr %29, align 8, !tbaa !17
  %31 = icmp ne ptr %30, null
  br i1 %31, label %43, label %32

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

35:                                               ; preds = %7
  %36 = landingpad { ptr, i32 }
          cleanup
  %37 = extractvalue { ptr, i32 } %36, 0
  store ptr %37, ptr %15, align 8
  %38 = extractvalue { ptr, i32 } %36, 1
  store i32 %38, ptr %16, align 4
  br label %90

39:                                               ; preds = %21
  %40 = landingpad { ptr, i32 }
          cleanup
  %41 = extractvalue { ptr, i32 } %40, 0
  store ptr %41, ptr %15, align 8
  %42 = extractvalue { ptr, i32 } %40, 1
  store i32 %42, ptr %16, align 4
  br label %89

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

64:                                               ; preds = %43
  br i1 %63, label %72, label %65

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

68:                                               ; preds = %80, %72, %43
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %15, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  br label %89

72:                                               ; preds = %64
  %73 = getelementptr inbounds %class.MultiStreamIOClient, ptr %19, i32 0, i32 1
  %74 = load ptr, ptr %73, align 8, !tbaa !17
  %75 = invoke noundef zeroext i1 @_Z18SetEndOfFileHandleP11_FileHandle(ptr noundef %74)
          to label %76 unwind label %68

76:                                               ; preds = %72
  br i1 %75, label %80, label %77

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

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

87:                                               ; preds = %80
  %88 = getelementptr inbounds %class.IOClient, ptr %19, i32 0, i32 2
  store ptr null, ptr %88, align 8, !tbaa !26
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  ret void

89:                                               ; preds = %68, %39
  call void @_ZN19FixedIOClientStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(192) %20) #7
  br label %90

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

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

; 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 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!18, !6, i64 128}
!18 = !{!"_ZTS19MultiStreamIOClient", !19, i64 0, !6, i64 128, !23, i64 136}
!19 = !{!"_ZTS13StreamingGrid", !20, i64 0}
!20 = !{!"_ZTS8IOClient", !21, i64 8, !6, i64 120}
!21 = !{!"_ZTSN5boost21recursive_timed_mutexE", !7, i64 0, !7, i64 40, !12, i64 88, !22, i64 96, !10, i64 104}
!22 = !{!"long", !7, i64 0}
!23 = !{!"_ZTS19FixedIOClientStream", !20, 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}
!24 = !{!25, !25, i64 0}
!25 = !{!"long long", !7, i64 0}
!26 = !{!20, !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: inlinehint mustprogress uwtable
declare dso_local void @_ZN13StreamingGridC2Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN19MultiStreamIOClientC2EiiiPKcS1_b(ptr noundef nonnull align 8 dereferenceable(328) %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, i1 noundef zeroext %6) 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
  %8 = getelementptr inbounds i8, ptr %0, i64 136
  invoke void @_ZN19FixedIOClientStreamC1Ev(ptr noundef nonnull align 8 dereferenceable(192) %8)
          to label %9 unwind label %16

9:                                                ; preds = %7
  %10 = invoke noundef ptr @_Z16CreateFileHandlePKcS0_b(ptr noundef %4, ptr noundef %5, i1 noundef zeroext %6)
          to label %11 unwind label %18

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

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

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

18:                                               ; preds = %9
  %19 = landingpad { ptr, i32 }
          cleanup
  br label %47

20:                                               ; preds = %11
  %21 = sext i32 %2 to i64
  %22 = sext i32 %1 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
  %.fr15 = freeze i64 %26
  %27 = add i64 %.fr15, -1
  %28 = srem i64 %27, %25
  %29 = sub nsw i64 %27, %28
  %30 = invoke noundef zeroext i1 @_Z14SeekFileHandleP11_FileHandlex(ptr noundef nonnull %10, 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 = %43, %20
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %47

37:                                               ; preds = %31
  %38 = load ptr, ptr %12, 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 = %40, %37
  %44 = load ptr, ptr %12, align 8, !tbaa !8
  invoke void @_ZN19FixedIOClientStream4InitEP11_FileHandleiii(ptr noundef nonnull align 8 dereferenceable(192) %8, ptr noundef %44, i32 noundef %1, i32 noundef %2, i32 noundef %3)
          to label %45 unwind label %35

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, %18
  %.pn = phi { ptr, i32 } [ %36, %35 ], [ %19, %18 ]
  tail call void @_ZN19FixedIOClientStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(192) %8) #8
  br label %48

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

; 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