; LLVM IR from turi-code/SFrame :: oss_src/graphlab/util (safe_circular_char_buffer)

; 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.anon.2 = type { ptr }
%class.anon.3 = type { ptr }
%class.anon.4 = type { ptr }
%"class.graphlab::safe_circular_char_buffer" = type <{ ptr, i64, i64, i64, %"class.graphlab::mutex", %"class.graphlab::conditional", i8, i8, [6 x i8] }>
%"class.graphlab::mutex" = type { %union.pthread_mutex_t }
%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 }
%"class.graphlab::conditional" = type { %union.pthread_cond_t }
%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 }

; 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(none)
declare i64 @llvm.expect.i64(i64, i64) #1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8graphlab25safe_circular_char_buffer5emptyEv(ptr noundef nonnull align 8 dereferenceable(122)) #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_ZN8graphlab25safe_circular_char_buffer18introspective_readERPcl(ptr noundef nonnull align 8 dereferenceable(122) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i64 noundef %2) #4 align 2 {
  %4 = alloca i64, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i32, align 4
  %10 = alloca %class.anon.2, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i8, align 1
  %14 = alloca i64, align 8
  %15 = alloca i32, align 4
  %16 = alloca %class.anon.3, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i32, align 4
  %20 = alloca %class.anon.4, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i64 %2, ptr %7, align 8, !tbaa !9
  %21 = load ptr, ptr %5, align 8
  br label %22

22:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %23 = load i64, ptr %7, align 8, !tbaa !9
  store i64 %23, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !11
  %24 = load i64, ptr %8, align 8, !tbaa !9
  %25 = icmp sgt i64 %24, 0
  %26 = xor i1 %25, true
  %27 = zext i1 %26 to i64
  %28 = call i64 @llvm.expect.i64(i64 %27, i64 0)
  %29 = icmp ne i64 %28, 0
  br i1 %29, label %30, label %32

30:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %31 = getelementptr inbounds %class.anon.2, ptr %10, i32 0, i32 0
  store ptr %8, ptr %31, align 8, !tbaa !5
  call void @"_ZZN8graphlab25safe_circular_char_buffer18introspective_readERPclENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(8) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %32

32:                                               ; preds = %30, %22
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %33

33:                                               ; preds = %32
  %34 = call noundef zeroext i1 @_ZNK8graphlab25safe_circular_char_buffer5emptyEv(ptr noundef nonnull align 8 dereferenceable(122) %21)
  br i1 %34, label %38, label %35

35:                                               ; preds = %33
  %36 = load i64, ptr %7, align 8, !tbaa !9
  %37 = icmp eq i64 %36, 0
  br i1 %37, label %38, label %40

38:                                               ; preds = %35, %33
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr null, ptr %39, align 8, !tbaa !5
  store i64 0, ptr %4, align 8
  br label %97

40:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %41 = getelementptr inbounds %"class.graphlab::safe_circular_char_buffer", ptr %21, i32 0, i32 3
  %42 = load i64, ptr %41, align 8, !tbaa !13
  store i64 %42, ptr %11, align 8, !tbaa !9
  %43 = getelementptr inbounds %"class.graphlab::safe_circular_char_buffer", ptr %21, i32 0, i32 0
  %44 = load ptr, ptr %43, align 8, !tbaa !18
  %45 = getelementptr inbounds %"class.graphlab::safe_circular_char_buffer", ptr %21, i32 0, i32 2
  %46 = load i64, ptr %45, align 8, !tbaa !19
  %47 = getelementptr inbounds i8, ptr %44, i64 %46
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %47, ptr %48, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  store i64 0, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #6
  %49 = load i64, ptr %11, align 8, !tbaa !9
  %50 = getelementptr inbounds %"class.graphlab::safe_circular_char_buffer", ptr %21, i32 0, i32 2
  %51 = load i64, ptr %50, align 8, !tbaa !19
  %52 = icmp slt i64 %49, %51
  %53 = zext i1 %52 to i8
  store i8 %53, ptr %13, align 1, !tbaa !20
  %54 = load i8, ptr %13, align 1, !tbaa !20, !range !21, !noundef !22
  %55 = trunc i8 %54 to i1
  br i1 %55, label %56, label %62

56:                                               ; preds = %40
  %57 = getelementptr inbounds %"class.graphlab::safe_circular_char_buffer", ptr %21, i32 0, i32 1
  %58 = load i64, ptr %57, align 8, !tbaa !23
  %59 = getelementptr inbounds %"class.graphlab::safe_circular_char_buffer", ptr %21, i32 0, i32 2
  %60 = load i64, ptr %59, align 8, !tbaa !19
  %61 = sub nsw i64 %58, %60
  store i64 %61, ptr %12, align 8, !tbaa !9
  br label %67

62:                                               ; preds = %40
  %63 = load i64, ptr %11, align 8, !tbaa !9
  %64 = getelementptr inbounds %"class.graphlab::safe_circular_char_buffer", ptr %21, i32 0, i32 2
  %65 = load i64, ptr %64, align 8, !tbaa !19
  %66 = sub nsw i64 %63, %65
  store i64 %66, ptr %12, align 8, !tbaa !9
  br label %67

67:                                               ; preds = %62, %56
  br label %68

68:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %69 = load i64, ptr %12, align 8, !tbaa !9
  store i64 %69, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store i32 0, ptr %15, align 4, !tbaa !11
  %70 = load i64, ptr %14, align 8, !tbaa !9
  %71 = icmp sge i64 %70, 0
  %72 = xor i1 %71, true
  %73 = zext i1 %72 to i64
  %74 = call i64 @llvm.expect.i64(i64 %73, i64 0)
  %75 = icmp ne i64 %74, 0
  br i1 %75, label %76, label %78

76:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %77 = getelementptr inbounds %class.anon.3, ptr %16, i32 0, i32 0
  store ptr %14, ptr %77, align 8, !tbaa !5
  call void @"_ZZN8graphlab25safe_circular_char_buffer18introspective_readERPclENK3$_1clEv"(ptr noundef nonnull align 8 dereferenceable(8) %16)
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %78

78:                                               ; preds = %76, %68
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %79

79:                                               ; preds = %78
  br label %80

80:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %82 = load i64, ptr %81, align 8, !tbaa !9
  store i64 %82, ptr %17, align 8, !tbaa !9
  br label %83

83:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %84 = load i64, ptr %17, align 8, !tbaa !9
  store i64 %84, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store i32 0, ptr %19, align 4, !tbaa !11
  %85 = load i64, ptr %18, align 8, !tbaa !9
  %86 = icmp sgt i64 %85, 0
  %87 = xor i1 %86, true
  %88 = zext i1 %87 to i64
  %89 = call i64 @llvm.expect.i64(i64 %88, i64 0)
  %90 = icmp ne i64 %89, 0
  br i1 %90, label %91, label %93

91:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %92 = getelementptr inbounds %class.anon.4, ptr %20, i32 0, i32 0
  store ptr %18, ptr %92, align 8, !tbaa !5
  call void @"_ZZN8graphlab25safe_circular_char_buffer18introspective_readERPclENK3$_2clEv"(ptr noundef nonnull align 8 dereferenceable(8) %20)
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %93

93:                                               ; preds = %91, %83
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %94

94:                                               ; preds = %93
  br label %95

95:                                               ; preds = %94
  %96 = load i64, ptr %17, align 8, !tbaa !9
  store i64 %96, ptr %4, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %97

97:                                               ; preds = %95, %38
  %98 = load i64, ptr %4, align 8
  ret i64 %98
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab25safe_circular_char_buffer18introspective_readERPclENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(8)) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab25safe_circular_char_buffer18introspective_readERPclENK3$_1clEv"(ptr noundef nonnull align 8 dereferenceable(8)) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab25safe_circular_char_buffer18introspective_readERPclENK3$_2clEv"(ptr noundef nonnull align 8 dereferenceable(8)) #5 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(none) }
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 = { 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 #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 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 }

!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, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !10, i64 24}
!14 = !{!"_ZTSN8graphlab25safe_circular_char_bufferE", !6, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !15, i64 32, !16, i64 72, !17, i64 120, !17, i64 121}
!15 = !{!"_ZTSN8graphlab5mutexE", !7, i64 0}
!16 = !{!"_ZTSN8graphlab11conditionalE", !7, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{!14, !6, i64 0}
!19 = !{!14, !10, i64 16}
!20 = !{!17, !17, i64 0}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!14, !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"

%class.anon.2 = type { ptr }
%class.anon.3 = type { ptr }
%class.anon.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: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8graphlab25safe_circular_char_buffer5emptyEv(ptr noundef nonnull align 8 dereferenceable(122)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_ZN8graphlab25safe_circular_char_buffer18introspective_readERPcl(ptr noundef nonnull align 8 dereferenceable(122) %0, ptr nocapture noundef nonnull writeonly align 8 dereferenceable(8) %1, i64 noundef %2) local_unnamed_addr #3 align 2 {
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca %class.anon.2, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca %class.anon.3, align 8
  %10 = alloca i64, align 8
  %11 = alloca %class.anon.4, align 8
  store i64 %2, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  store i64 %2, ptr %5, align 8, !tbaa !5
  %12 = icmp slt i64 %2, 1
  br i1 %12, label %13, label %14, !prof !9

13:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  store ptr %5, ptr %6, align 8, !tbaa !10
  call void @"_ZZN8graphlab25safe_circular_char_buffer18introspective_readERPclENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br label %14

14:                                               ; preds = %13, %3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  %15 = call noundef zeroext i1 @_ZNK8graphlab25safe_circular_char_buffer5emptyEv(ptr noundef nonnull align 8 dereferenceable(122) %0)
  %16 = icmp eq i64 %2, 0
  %or.cond = or i1 %15, %16
  br i1 %or.cond, label %17, label %18

17:                                               ; preds = %14
  store ptr null, ptr %1, align 8, !tbaa !10
  br label %36

18:                                               ; preds = %14
  %19 = getelementptr inbounds i8, ptr %0, i64 24
  %20 = load i64, ptr %19, align 8, !tbaa !12
  %21 = load ptr, ptr %0, align 8, !tbaa !17
  %22 = getelementptr inbounds i8, ptr %0, i64 16
  %23 = load i64, ptr %22, align 8, !tbaa !18
  %24 = getelementptr inbounds i8, ptr %21, i64 %23
  store ptr %24, ptr %1, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %25 = icmp slt i64 %20, %23
  %26 = getelementptr inbounds i8, ptr %0, i64 8
  %27 = load i64, ptr %26, align 8
  %.pn = select i1 %25, i64 %27, i64 %20
  %storemerge = sub nsw i64 %.pn, %23
  store i64 %storemerge, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  store i64 %storemerge, ptr %8, align 8, !tbaa !5
  %28 = icmp slt i64 %storemerge, 0
  br i1 %28, label %29, label %30, !prof !9

29:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  store ptr %8, ptr %9, align 8, !tbaa !10
  call void @"_ZZN8graphlab25safe_circular_char_buffer18introspective_readERPclENK3$_1clEv"(ptr noundef nonnull align 8 dereferenceable(8) %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  br label %30

30:                                               ; preds = %29, %18
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  %31 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %32 = load i64, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  store i64 %32, ptr %10, align 8, !tbaa !5
  %33 = icmp slt i64 %32, 1
  br i1 %33, label %34, label %35, !prof !9

34:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  store ptr %10, ptr %11, align 8, !tbaa !10
  call void @"_ZZN8graphlab25safe_circular_char_buffer18introspective_readERPclENK3$_2clEv"(ptr noundef nonnull align 8 dereferenceable(8) %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  br label %35

35:                                               ; preds = %34, %30
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br label %36

36:                                               ; preds = %35, %17
  %.0 = phi i64 [ 0, %17 ], [ %32, %35 ]
  ret i64 %.0
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab25safe_circular_char_buffer18introspective_readERPclENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab25safe_circular_char_buffer18introspective_readERPclENK3$_1clEv"(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab25safe_circular_char_buffer18introspective_readERPclENK3$_2clEv"(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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 #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 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 24}
!13 = !{!"_ZTSN8graphlab25safe_circular_char_bufferE", !11, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !14, i64 32, !15, i64 72, !16, i64 120, !16, i64 121}
!14 = !{!"_ZTSN8graphlab5mutexE", !7, i64 0}
!15 = !{!"_ZTSN8graphlab11conditionalE", !7, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{!13, !11, i64 0}
!18 = !{!13, !6, i64 16}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,LowerExpectIntrinsicPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass