; LLVM IR from turi-code/SFrame :: oss_src/rpc/dc_tcp_comm.ll (ZN8graphlab7dc_impl16on_receive_eventEisPv)

; 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.graphlab::dc_impl::dc_tcp_comm::socket_info" = type { i64, ptr, i32, i32, ptr, ptr, i8, %"class.graphlab::mutex", %"struct.graphlab::dc_impl::circular_iovec_buffer", %struct.msghdr }
%"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 }
%"struct.graphlab::dc_impl::circular_iovec_buffer" = type { %"class.std::vector.34", %"class.std::vector.34", i64, i64, i64 }
%"class.std::vector.34" = type { %"struct.std::_Vector_base.35" }
%"struct.std::_Vector_base.35" = type { %"struct.std::_Vector_base<iovec, std::allocator<iovec>>::_Vector_impl" }
%"struct.std::_Vector_base<iovec, std::allocator<iovec>>::_Vector_impl" = type { %"struct.std::_Vector_base<iovec, std::allocator<iovec>>::_Vector_impl_data" }
%"struct.std::_Vector_base<iovec, std::allocator<iovec>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.msghdr = type { ptr, i32, ptr, i64, ptr, i64, i32 }
%"class.graphlab::dc_impl::dc_tcp_comm" = type <{ %"class.graphlab::dc_impl::dc_comm_base", i16, i16, i8, [3 x i8], %"class.std::__cxx11::basic_string", %"class.std::vector.8", %"class.std::map", %"class.std::vector.16", %"class.std::vector", %"class.std::vector.0", %"class.graphlab::atomic", %"class.graphlab::mutex", %"class.graphlab::conditional", %"class.std::vector.21", %"class.graphlab::atomic", %"class.graphlab::atomic", %"class.graphlab::thread_group", ptr, %"class.graphlab::thread_group", ptr, ptr, ptr, %"struct.graphlab::dc_impl::dc_tcp_comm::timeout_event", %"struct.graphlab::dc_impl::dc_tcp_comm::timeout_event", %"class.graphlab::fixed_dense_bitset", i32, [4 x i8], %"class.graphlab::thread", i8, [7 x i8] }>
%"class.graphlab::dc_impl::dc_comm_base" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, unsigned short>, std::_Select1st<std::pair<const unsigned int, unsigned short>>, std::less<unsigned int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, unsigned short>, std::_Select1st<std::pair<const unsigned int, unsigned short>>, std::less<unsigned int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::vector.16" = type { %"struct.std::_Vector_base.17" }
%"struct.std::_Vector_base.17" = type { %"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<graphlab::dc_impl::dc_receive *, std::allocator<graphlab::dc_impl::dc_receive *>>::_Vector_impl" }
%"struct.std::_Vector_base<graphlab::dc_impl::dc_receive *, std::allocator<graphlab::dc_impl::dc_receive *>>::_Vector_impl" = type { %"struct.std::_Vector_base<graphlab::dc_impl::dc_receive *, std::allocator<graphlab::dc_impl::dc_receive *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<graphlab::dc_impl::dc_receive *, std::allocator<graphlab::dc_impl::dc_receive *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<graphlab::dc_impl::dc_send *, std::allocator<graphlab::dc_impl::dc_send *>>::_Vector_impl" }
%"struct.std::_Vector_base<graphlab::dc_impl::dc_send *, std::allocator<graphlab::dc_impl::dc_send *>>::_Vector_impl" = type { %"struct.std::_Vector_base<graphlab::dc_impl::dc_send *, std::allocator<graphlab::dc_impl::dc_send *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<graphlab::dc_impl::dc_send *, std::allocator<graphlab::dc_impl::dc_send *>>::_Vector_impl_data" = type { ptr, 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 }
%"class.std::vector.21" = type { %"struct.std::_Vector_base.22" }
%"struct.std::_Vector_base.22" = type { %"struct.std::_Vector_base<graphlab::dc_impl::dc_tcp_comm::socket_info, std::allocator<graphlab::dc_impl::dc_tcp_comm::socket_info>>::_Vector_impl" }
%"struct.std::_Vector_base<graphlab::dc_impl::dc_tcp_comm::socket_info, std::allocator<graphlab::dc_impl::dc_tcp_comm::socket_info>>::_Vector_impl" = type { %"struct.std::_Vector_base<graphlab::dc_impl::dc_tcp_comm::socket_info, std::allocator<graphlab::dc_impl::dc_tcp_comm::socket_info>>::_Vector_impl_data" }
%"struct.std::_Vector_base<graphlab::dc_impl::dc_tcp_comm::socket_info, std::allocator<graphlab::dc_impl::dc_tcp_comm::socket_info>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.graphlab::atomic" = type { %"class.graphlab::graphlab_impl::atomic_impl" }
%"class.graphlab::graphlab_impl::atomic_impl" = type { i64 }
%"class.graphlab::thread_group" = type { i64, i64, %"class.graphlab::mutex", %"class.graphlab::conditional", %"class.std::queue" }
%"class.std::queue" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<std::pair<unsigned long, const char *>, std::allocator<std::pair<unsigned long, const char *>>>::_Deque_impl" }
%"struct.std::_Deque_base<std::pair<unsigned long, const char *>, std::allocator<std::pair<unsigned long, const char *>>>::_Deque_impl" = type { %"struct.std::_Deque_base<std::pair<unsigned long, const char *>, std::allocator<std::pair<unsigned long, const char *>>>::_Deque_impl_data" }
%"struct.std::_Deque_base<std::pair<unsigned long, const char *>, std::allocator<std::pair<unsigned long, const char *>>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"struct.graphlab::dc_impl::dc_tcp_comm::timeout_event" = type { i8, ptr }
%"class.graphlab::fixed_dense_bitset" = type { [4 x i64] }
%"class.graphlab::thread" = type <{ i64, i64, i64, i8, [7 x i8] }>

@.str.6 = external hidden unnamed_addr constant [78 x i8], align 1
@__func__._ZN8graphlab7dc_impl16on_receive_eventEisPv = external hidden unnamed_addr constant [17 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [26 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 noundef nonnull align 8 dereferenceable(896) ptr @_Z13global_loggerv() #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(896) ptr @_ZN19log_stream_dispatchILb1EE4execEiPKcS2_ib(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i1 noundef zeroext) #3 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8graphlab7dc_impl16on_receive_eventEisPv(i32 noundef %0, i16 noundef signext %1, ptr noundef %2) #4 {
  %4 = alloca i32, align 4
  %5 = alloca i16, align 2
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca i32, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store i16 %1, ptr %5, align 2, !tbaa !9
  store ptr %2, ptr %6, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  %14 = load ptr, ptr %6, align 8, !tbaa !11
  store ptr %14, ptr %7, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  %15 = load ptr, ptr %7, align 8, !tbaa !11
  %16 = getelementptr inbounds %"struct.graphlab::dc_impl::dc_tcp_comm::socket_info", ptr %15, i32 0, i32 1
  %17 = load ptr, ptr %16, align 8, !tbaa !13
  store ptr %17, ptr %8, align 8, !tbaa !11
  %18 = load i16, ptr %5, align 2, !tbaa !9
  %19 = sext i16 %18 to i32
  %20 = and i32 %19, 2
  %21 = icmp ne i32 %20, 0
  br i1 %21, label %22, label %107

22:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  %23 = load ptr, ptr %8, align 8, !tbaa !11
  %24 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %23, i32 0, i32 9
  %25 = load ptr, ptr %7, align 8, !tbaa !11
  %26 = getelementptr inbounds %"struct.graphlab::dc_impl::dc_tcp_comm::socket_info", ptr %25, i32 0, i32 0
  %27 = load i64, ptr %26, align 8, !tbaa !24
  %28 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN8graphlab7dc_impl10dc_receiveESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %27) #8
  %29 = load ptr, ptr %28, align 8, !tbaa !11
  store ptr %29, ptr %9, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %30 = load ptr, ptr %9, align 8, !tbaa !11
  %31 = load ptr, ptr %30, align 8, !tbaa !25
  %32 = getelementptr inbounds ptr, ptr %31, i64 2
  %33 = load ptr, ptr %32, align 8
  %34 = call noundef ptr %33(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %10)
  store ptr %34, ptr %11, align 8, !tbaa !11
  br label %35

35:                                               ; preds = %105, %22
  br label %36

36:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %37 = load i32, ptr %4, align 4, !tbaa !5
  %38 = load ptr, ptr %11, align 8, !tbaa !11
  %39 = load i64, ptr %10, align 8, !tbaa !27
  %40 = call i64 @recv(i32 noundef %37, ptr noundef %38, i64 noundef %39, i32 noundef 0)
  store i64 %40, ptr %12, align 8, !tbaa !27
  %41 = load i64, ptr %12, align 8, !tbaa !27
  %42 = icmp slt i64 %41, 0
  br i1 %42, label %43, label %65

43:                                               ; preds = %36
  %44 = call ptr @__errno_location() #9
  %45 = load i32, ptr %44, align 4, !tbaa !5
  %46 = icmp eq i32 %45, 11
  br i1 %46, label %51, label %47

47:                                               ; preds = %43
  %48 = call ptr @__errno_location() #9
  %49 = load i32, ptr %48, align 4, !tbaa !5
  %50 = icmp eq i32 %49, 11
  br i1 %50, label %51, label %52

51:                                               ; preds = %47, %43
  store i32 3, ptr %13, align 4
  br label %103

52:                                               ; preds = %47
  %53 = call noundef nonnull align 8 dereferenceable(896) ptr @_Z13global_loggerv()
  %54 = call noundef i32 @_ZN11file_logger13get_log_levelEv(ptr noundef nonnull align 8 dereferenceable(896) %53)
  %55 = icmp sge i32 5, %54
  br i1 %55, label %56, label %64

56:                                               ; preds = %52
  %57 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN19log_stream_dispatchILb1EE4execEiPKcS2_ib(i32 noundef 5, ptr noundef @.str.6, ptr noundef @__func__._ZN8graphlab7dc_impl16on_receive_eventEisPv, i32 noundef 601, i1 noundef zeroext true)
  %58 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPKc(ptr noundef nonnull align 8 dereferenceable(896) %57, ptr noundef @.str.53)
  %59 = call ptr @__errno_location() #9
  %60 = load i32, ptr %59, align 4, !tbaa !5
  %61 = call ptr @strerror(i32 noundef %60) #8
  %62 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsIPcEERS_T_(ptr noundef nonnull align 8 dereferenceable(896) %58, ptr noundef %61)
  %63 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(896) %62, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %64

64:                                               ; preds = %56, %52
  call void @abort() #10
  unreachable

65:                                               ; preds = %36
  %66 = load i64, ptr %12, align 8, !tbaa !27
  %67 = icmp eq i64 %66, 0
  br i1 %67, label %68, label %85

68:                                               ; preds = %65
  %69 = load ptr, ptr %8, align 8, !tbaa !11
  %70 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %69, i32 0, i32 29
  %71 = load volatile i8, ptr %70, align 8, !tbaa !28, !range !74, !noundef !75
  %72 = trunc i8 %71 to i1
  br i1 %72, label %84, label %73

73:                                               ; preds = %68
  %74 = call noundef nonnull align 8 dereferenceable(896) ptr @_Z13global_loggerv()
  %75 = call noundef i32 @_ZN11file_logger13get_log_levelEv(ptr noundef nonnull align 8 dereferenceable(896) %74)
  %76 = icmp sge i32 5, %75
  br i1 %76, label %77, label %83

77:                                               ; preds = %73
  %78 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN19log_stream_dispatchILb1EE4execEiPKcS2_ib(i32 noundef 5, ptr noundef @.str.6, ptr noundef @__func__._ZN8graphlab7dc_impl16on_receive_eventEisPv, i32 noundef 608, i1 noundef zeroext true)
  %79 = call i32 @getpid() #8
  %80 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsIiEERS_T_(ptr noundef nonnull align 8 dereferenceable(896) %78, i32 noundef %79)
  %81 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPKc(ptr noundef nonnull align 8 dereferenceable(896) %80, ptr noundef @.str.54)
  %82 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(896) %81, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %83

83:                                               ; preds = %77, %73
  call void @abort() #10
  unreachable

84:                                               ; preds = %68
  store i32 3, ptr %13, align 4
  br label %103

85:                                               ; preds = %65
  %86 = load i64, ptr %12, align 8, !tbaa !27
  %87 = icmp sgt i64 %86, 0
  br i1 %87, label %88, label %100

88:                                               ; preds = %85
  %89 = load ptr, ptr %8, align 8, !tbaa !11
  %90 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %89, i32 0, i32 16
  %91 = load i64, ptr %12, align 8, !tbaa !27
  %92 = call noundef i64 @_ZN8graphlab13graphlab_impl11atomic_implImLb1EE3incEm(ptr noundef nonnull align 8 dereferenceable(8) %90, i64 noundef %91)
  %93 = load ptr, ptr %9, align 8, !tbaa !11
  %94 = load ptr, ptr %11, align 8, !tbaa !11
  %95 = load i64, ptr %12, align 8, !tbaa !27
  %96 = load ptr, ptr %93, align 8, !tbaa !25
  %97 = getelementptr inbounds ptr, ptr %96, i64 3
  %98 = load ptr, ptr %97, align 8
  %99 = call noundef ptr %98(ptr noundef nonnull align 8 dereferenceable(8) %93, ptr noundef %94, i64 noundef %95, ptr noundef nonnull align 8 dereferenceable(8) %10)
  store ptr %99, ptr %11, align 8, !tbaa !11
  br label %100

100:                                              ; preds = %88, %85
  br label %101

101:                                              ; preds = %100
  br label %102

102:                                              ; preds = %101
  store i32 0, ptr %13, align 4
  br label %103

103:                                              ; preds = %102, %84, %51
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  %104 = load i32, ptr %13, align 4
  switch i32 %104, label %108 [
    i32 0, label %105
    i32 3, label %106
  ]

105:                                              ; preds = %103
  br label %35, !llvm.loop !76

106:                                              ; preds = %103
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  br label %107

107:                                              ; preds = %106, %3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  ret void

108:                                              ; preds = %103
  unreachable
}

; Function Attrs: nounwind willreturn memory(none)
declare ptr @__errno_location() #5

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

; Function Attrs: nounwind
declare ptr @strerror(i32 noundef) #6

; Function Attrs: noreturn nounwind
declare void @abort() #7

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

declare i64 @recv(i32 noundef, ptr noundef, i64 noundef, i32 noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsIiEERS_T_(ptr noundef nonnull align 8 dereferenceable(896), i32 noundef) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN8graphlab7dc_impl10dc_receiveESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

; Function Attrs: nounwind
declare i32 @getpid() #6

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 = { 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 willreturn memory(none) "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 "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 = { 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 #8 = { nounwind }
attributes #9 = { nounwind willreturn memory(none) }
attributes #10 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"short", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !12, i64 8}
!14 = !{!"_ZTSN8graphlab7dc_impl11dc_tcp_comm11socket_infoE", !15, i64 0, !12, i64 8, !6, i64 16, !6, i64 20, !12, i64 24, !12, i64 32, !16, i64 40, !17, i64 48, !18, i64 88, !23, i64 160}
!15 = !{!"long", !7, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{!"_ZTSN8graphlab5mutexE", !7, i64 0}
!18 = !{!"_ZTSN8graphlab7dc_impl21circular_iovec_bufferE", !19, i64 0, !19, i64 24, !15, i64 48, !15, i64 56, !15, i64 64}
!19 = !{!"_ZTSSt6vectorI5iovecSaIS0_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseI5iovecSaIS0_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseI5iovecSaIS0_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseI5iovecSaIS0_EE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!23 = !{!"_ZTS6msghdr", !12, i64 0, !6, i64 8, !12, i64 16, !15, i64 24, !12, i64 32, !15, i64 40, !6, i64 48}
!24 = !{!14, !15, i64 0}
!25 = !{!26, !26, i64 0}
!26 = !{!"vtable pointer", !8, i64 0}
!27 = !{!15, !15, i64 0}
!28 = !{!29, !16, i64 832}
!29 = !{!"_ZTSN8graphlab7dc_impl11dc_tcp_commE", !30, i64 0, !10, i64 8, !10, i64 10, !16, i64 12, !31, i64 16, !33, i64 48, !37, i64 72, !45, i64 120, !49, i64 144, !53, i64 168, !57, i64 192, !17, i64 200, !59, i64 240, !60, i64 288, !57, i64 312, !57, i64 320, !64, i64 328, !12, i64 512, !64, i64 520, !12, i64 704, !12, i64 712, !12, i64 720, !71, i64 728, !71, i64 744, !72, i64 760, !6, i64 792, !73, i64 800, !16, i64 832}
!30 = !{!"_ZTSN8graphlab7dc_impl12dc_comm_baseE"}
!31 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !32, i64 0, !15, i64 8, !7, i64 16}
!32 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !12, i64 0}
!33 = !{!"_ZTSSt6vectorIjSaIjEE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!37 = !{!"_ZTSSt3mapIjtSt4lessIjESaISt4pairIKjtEEE", !38, i64 0}
!38 = !{!"_ZTSSt8_Rb_treeIjSt4pairIKjtESt10_Select1stIS2_ESt4lessIjESaIS2_EE", !39, i64 0}
!39 = !{!"_ZTSNSt8_Rb_treeIjSt4pairIKjtESt10_Select1stIS2_ESt4lessIjESaIS2_EE13_Rb_tree_implIS6_Lb1EEE", !40, i64 0, !42, i64 8}
!40 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIjEE", !41, i64 0}
!41 = !{!"_ZTSSt4lessIjE"}
!42 = !{!"_ZTSSt15_Rb_tree_header", !43, i64 0, !15, i64 32}
!43 = !{!"_ZTSSt18_Rb_tree_node_base", !44, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
!44 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!45 = !{!"_ZTSSt6vectorItSaItEE", !46, i64 0}
!46 = !{!"_ZTSSt12_Vector_baseItSaItEE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseItSaItEE12_Vector_implE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseItSaItEE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!49 = !{!"_ZTSSt6vectorIPN8graphlab7dc_impl10dc_receiveESaIS3_EE", !50, i64 0}
!50 = !{!"_ZTSSt12_Vector_baseIPN8graphlab7dc_impl10dc_receiveESaIS3_EE", !51, i64 0}
!51 = !{!"_ZTSNSt12_Vector_baseIPN8graphlab7dc_impl10dc_receiveESaIS3_EE12_Vector_implE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseIPN8graphlab7dc_impl10dc_receiveESaIS3_EE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!53 = !{!"_ZTSSt6vectorIPN8graphlab7dc_impl7dc_sendESaIS3_EE", !54, i64 0}
!54 = !{!"_ZTSSt12_Vector_baseIPN8graphlab7dc_impl7dc_sendESaIS3_EE", !55, i64 0}
!55 = !{!"_ZTSNSt12_Vector_baseIPN8graphlab7dc_impl7dc_sendESaIS3_EE12_Vector_implE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseIPN8graphlab7dc_impl7dc_sendESaIS3_EE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!57 = !{!"_ZTSN8graphlab6atomicImEE", !58, i64 0}
!58 = !{!"_ZTSN8graphlab13graphlab_impl11atomic_implImLb1EEE", !15, i64 0}
!59 = !{!"_ZTSN8graphlab11conditionalE", !7, i64 0}
!60 = !{!"_ZTSSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE", !61, i64 0}
!61 = !{!"_ZTSSt12_Vector_baseIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE", !62, i64 0}
!62 = !{!"_ZTSNSt12_Vector_baseIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE12_Vector_implE", !63, i64 0}
!63 = !{!"_ZTSNSt12_Vector_baseIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!64 = !{!"_ZTSN8graphlab12thread_groupE", !15, i64 0, !15, i64 8, !17, i64 16, !59, i64 56, !65, i64 104}
!65 = !{!"_ZTSSt5queueISt4pairImPKcESt5dequeIS3_SaIS3_EEE", !66, i64 0}
!66 = !{!"_ZTSSt5dequeISt4pairImPKcESaIS3_EE", !67, i64 0}
!67 = !{!"_ZTSSt11_Deque_baseISt4pairImPKcESaIS3_EE", !68, i64 0}
!68 = !{!"_ZTSNSt11_Deque_baseISt4pairImPKcESaIS3_EE11_Deque_implE", !69, i64 0}
!69 = !{!"_ZTSNSt11_Deque_baseISt4pairImPKcESaIS3_EE16_Deque_impl_dataE", !12, i64 0, !15, i64 8, !70, i64 16, !70, i64 48}
!70 = !{!"_ZTSSt15_Deque_iteratorISt4pairImPKcERS3_PS3_E", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
!71 = !{!"_ZTSN8graphlab7dc_impl11dc_tcp_comm13timeout_eventE", !16, i64 0, !12, i64 8}
!72 = !{!"_ZTSN8graphlab18fixed_dense_bitsetILi256EEE", !7, i64 0}
!73 = !{!"_ZTSN8graphlab6threadE", !15, i64 0, !15, i64 8, !15, i64 16, !16, i64 24}
!74 = !{i8 0, i8 2}
!75 = !{}
!76 = distinct !{!76, !77}
!77 = !{!"llvm.loop.mustprogress"}


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

@.str.6 = external hidden unnamed_addr constant [78 x i8], align 1
@__func__._ZN8graphlab7dc_impl16on_receive_eventEisPv = external hidden unnamed_addr constant [17 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [26 x i8], align 1

; 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

declare noundef nonnull align 8 dereferenceable(896) ptr @_Z13global_loggerv() local_unnamed_addr #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(896) ptr @_ZN19log_stream_dispatchILb1EE4execEiPKcS2_ib(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i1 noundef zeroext) local_unnamed_addr #3 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8graphlab7dc_impl16on_receive_eventEisPv(i32 noundef %0, i16 noundef signext %1, ptr nocapture noundef readonly %2) local_unnamed_addr #4 {
  %4 = alloca i64, align 8
  %5 = getelementptr inbounds i8, ptr %2, i64 8
  %6 = load ptr, ptr %5, align 8, !tbaa !5
  %7 = and i16 %1, 2
  %.not = icmp eq i16 %7, 0
  br i1 %.not, label %64, label %8

8:                                                ; preds = %3
  %9 = getelementptr inbounds i8, ptr %6, i64 144
  %10 = load i64, ptr %2, align 8, !tbaa !20
  %11 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN8graphlab7dc_impl10dc_receiveESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %10) #8
  %12 = load ptr, ptr %11, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #8
  %13 = load ptr, ptr %12, align 8, !tbaa !22
  %14 = getelementptr inbounds i8, ptr %13, i64 16
  %15 = load ptr, ptr %14, align 8
  %16 = call noundef ptr %15(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %17 = load i64, ptr %4, align 8, !tbaa !24
  %18 = call i64 @recv(i32 noundef %0, ptr noundef %16, i64 noundef %17, i32 noundef 0)
  %19 = icmp slt i64 %18, 0
  br i1 %19, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %8
  %20 = getelementptr inbounds i8, ptr %6, i64 320
  br label %36

._crit_edge:                                      ; preds = %54, %8
  %21 = tail call ptr @__errno_location() #9
  %22 = load i32, ptr %21, align 4, !tbaa !25
  %23 = icmp eq i32 %22, 11
  br i1 %23, label %63, label %24

24:                                               ; preds = %._crit_edge
  %25 = call noundef nonnull align 8 dereferenceable(896) ptr @_Z13global_loggerv()
  %26 = call noundef i32 @_ZN11file_logger13get_log_levelEv(ptr noundef nonnull align 8 dereferenceable(896) %25)
  %27 = icmp slt i32 %26, 6
  br i1 %27, label %28, label %35

28:                                               ; preds = %24
  %29 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN19log_stream_dispatchILb1EE4execEiPKcS2_ib(i32 noundef 5, ptr noundef nonnull @.str.6, ptr noundef nonnull @__func__._ZN8graphlab7dc_impl16on_receive_eventEisPv, i32 noundef 601, i1 noundef zeroext true)
  %30 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPKc(ptr noundef nonnull align 8 dereferenceable(896) %29, ptr noundef nonnull @.str.53)
  %31 = load i32, ptr %21, align 4, !tbaa !25
  %32 = call ptr @strerror(i32 noundef %31) #8
  %33 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsIPcEERS_T_(ptr noundef nonnull align 8 dereferenceable(896) %30, ptr noundef %32)
  %34 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(896) %33, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %35

35:                                               ; preds = %28, %24
  call void @abort() #10
  unreachable

36:                                               ; preds = %.lr.ph, %54
  %37 = phi i64 [ %18, %.lr.ph ], [ %61, %54 ]
  %.01722 = phi ptr [ %16, %.lr.ph ], [ %59, %54 ]
  %38 = icmp eq i64 %37, 0
  br i1 %38, label %39, label %54

39:                                               ; preds = %36
  %40 = getelementptr inbounds i8, ptr %6, i64 832
  %41 = load volatile i8, ptr %40, align 8, !tbaa !26, !range !73, !noundef !74
  %42 = trunc nuw i8 %41 to i1
  br i1 %42, label %63, label %43

43:                                               ; preds = %39
  %44 = call noundef nonnull align 8 dereferenceable(896) ptr @_Z13global_loggerv()
  %45 = call noundef i32 @_ZN11file_logger13get_log_levelEv(ptr noundef nonnull align 8 dereferenceable(896) %44)
  %46 = icmp slt i32 %45, 6
  br i1 %46, label %47, label %53

47:                                               ; preds = %43
  %48 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN19log_stream_dispatchILb1EE4execEiPKcS2_ib(i32 noundef 5, ptr noundef nonnull @.str.6, ptr noundef nonnull @__func__._ZN8graphlab7dc_impl16on_receive_eventEisPv, i32 noundef 608, i1 noundef zeroext true)
  %49 = call i32 @getpid() #8
  %50 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsIiEERS_T_(ptr noundef nonnull align 8 dereferenceable(896) %48, i32 noundef %49)
  %51 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPKc(ptr noundef nonnull align 8 dereferenceable(896) %50, ptr noundef nonnull @.str.54)
  %52 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(896) %51, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %53

53:                                               ; preds = %47, %43
  call void @abort() #10
  unreachable

54:                                               ; preds = %36
  %55 = call noundef i64 @_ZN8graphlab13graphlab_impl11atomic_implImLb1EE3incEm(ptr noundef nonnull align 8 dereferenceable(8) %20, i64 noundef %37)
  %56 = load ptr, ptr %12, align 8, !tbaa !22
  %57 = getelementptr inbounds i8, ptr %56, i64 24
  %58 = load ptr, ptr %57, align 8
  %59 = call noundef ptr %58(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef %.01722, i64 noundef %37, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %60 = load i64, ptr %4, align 8, !tbaa !24
  %61 = call i64 @recv(i32 noundef %0, ptr noundef %59, i64 noundef %60, i32 noundef 0)
  %62 = icmp slt i64 %61, 0
  br i1 %62, label %._crit_edge, label %36

63:                                               ; preds = %._crit_edge, %39
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  br label %64

64:                                               ; preds = %63, %3
  ret void
}

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none)
declare ptr @__errno_location() local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsIPcEERS_T_(ptr noundef nonnull align 8 dereferenceable(896), ptr noundef) local_unnamed_addr #4 align 2

; Function Attrs: nounwind
declare ptr @strerror(i32 noundef) local_unnamed_addr #6

; Function Attrs: noreturn nounwind
declare void @abort() local_unnamed_addr #7

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

declare i64 @recv(i32 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsIiEERS_T_(ptr noundef nonnull align 8 dereferenceable(896), i32 noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: nounwind
declare i32 @getpid() local_unnamed_addr #6

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 = { 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 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 "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 = { 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 #8 = { nounwind }
attributes #9 = { nounwind willreturn memory(none) }
attributes #10 = { 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, !10, i64 8}
!6 = !{!"_ZTSN8graphlab7dc_impl11dc_tcp_comm11socket_infoE", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 20, !10, i64 24, !10, i64 32, !12, i64 40, !13, i64 48, !14, i64 88, !19, i64 160}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!"bool", !8, i64 0}
!13 = !{!"_ZTSN8graphlab5mutexE", !8, i64 0}
!14 = !{!"_ZTSN8graphlab7dc_impl21circular_iovec_bufferE", !15, i64 0, !15, i64 24, !7, i64 48, !7, i64 56, !7, i64 64}
!15 = !{!"_ZTSSt6vectorI5iovecSaIS0_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseI5iovecSaIS0_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseI5iovecSaIS0_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseI5iovecSaIS0_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!19 = !{!"_ZTS6msghdr", !10, i64 0, !11, i64 8, !10, i64 16, !7, i64 24, !10, i64 32, !7, i64 40, !11, i64 48}
!20 = !{!6, !7, i64 0}
!21 = !{!10, !10, i64 0}
!22 = !{!23, !23, i64 0}
!23 = !{!"vtable pointer", !9, i64 0}
!24 = !{!7, !7, i64 0}
!25 = !{!11, !11, i64 0}
!26 = !{!27, !12, i64 832}
!27 = !{!"_ZTSN8graphlab7dc_impl11dc_tcp_commE", !28, i64 0, !29, i64 8, !29, i64 10, !12, i64 12, !30, i64 16, !32, i64 48, !36, i64 72, !44, i64 120, !48, i64 144, !52, i64 168, !56, i64 192, !13, i64 200, !58, i64 240, !59, i64 288, !56, i64 312, !56, i64 320, !63, i64 328, !10, i64 512, !63, i64 520, !10, i64 704, !10, i64 712, !10, i64 720, !70, i64 728, !70, i64 744, !71, i64 760, !11, i64 792, !72, i64 800, !12, i64 832}
!28 = !{!"_ZTSN8graphlab7dc_impl12dc_comm_baseE"}
!29 = !{!"short", !8, i64 0}
!30 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !31, i64 0, !7, i64 8, !8, i64 16}
!31 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !10, i64 0}
!32 = !{!"_ZTSSt6vectorIjSaIjEE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!36 = !{!"_ZTSSt3mapIjtSt4lessIjESaISt4pairIKjtEEE", !37, i64 0}
!37 = !{!"_ZTSSt8_Rb_treeIjSt4pairIKjtESt10_Select1stIS2_ESt4lessIjESaIS2_EE", !38, i64 0}
!38 = !{!"_ZTSNSt8_Rb_treeIjSt4pairIKjtESt10_Select1stIS2_ESt4lessIjESaIS2_EE13_Rb_tree_implIS6_Lb1EEE", !39, i64 0, !41, i64 8}
!39 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIjEE", !40, i64 0}
!40 = !{!"_ZTSSt4lessIjE"}
!41 = !{!"_ZTSSt15_Rb_tree_header", !42, i64 0, !7, i64 32}
!42 = !{!"_ZTSSt18_Rb_tree_node_base", !43, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!43 = !{!"_ZTSSt14_Rb_tree_color", !8, i64 0}
!44 = !{!"_ZTSSt6vectorItSaItEE", !45, i64 0}
!45 = !{!"_ZTSSt12_Vector_baseItSaItEE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseItSaItEE12_Vector_implE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseItSaItEE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!48 = !{!"_ZTSSt6vectorIPN8graphlab7dc_impl10dc_receiveESaIS3_EE", !49, i64 0}
!49 = !{!"_ZTSSt12_Vector_baseIPN8graphlab7dc_impl10dc_receiveESaIS3_EE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseIPN8graphlab7dc_impl10dc_receiveESaIS3_EE12_Vector_implE", !51, i64 0}
!51 = !{!"_ZTSNSt12_Vector_baseIPN8graphlab7dc_impl10dc_receiveESaIS3_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!52 = !{!"_ZTSSt6vectorIPN8graphlab7dc_impl7dc_sendESaIS3_EE", !53, i64 0}
!53 = !{!"_ZTSSt12_Vector_baseIPN8graphlab7dc_impl7dc_sendESaIS3_EE", !54, i64 0}
!54 = !{!"_ZTSNSt12_Vector_baseIPN8graphlab7dc_impl7dc_sendESaIS3_EE12_Vector_implE", !55, i64 0}
!55 = !{!"_ZTSNSt12_Vector_baseIPN8graphlab7dc_impl7dc_sendESaIS3_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!56 = !{!"_ZTSN8graphlab6atomicImEE", !57, i64 0}
!57 = !{!"_ZTSN8graphlab13graphlab_impl11atomic_implImLb1EEE", !7, i64 0}
!58 = !{!"_ZTSN8graphlab11conditionalE", !8, i64 0}
!59 = !{!"_ZTSSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE", !60, i64 0}
!60 = !{!"_ZTSSt12_Vector_baseIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE", !61, i64 0}
!61 = !{!"_ZTSNSt12_Vector_baseIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE12_Vector_implE", !62, i64 0}
!62 = !{!"_ZTSNSt12_Vector_baseIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!63 = !{!"_ZTSN8graphlab12thread_groupE", !7, i64 0, !7, i64 8, !13, i64 16, !58, i64 56, !64, i64 104}
!64 = !{!"_ZTSSt5queueISt4pairImPKcESt5dequeIS3_SaIS3_EEE", !65, i64 0}
!65 = !{!"_ZTSSt5dequeISt4pairImPKcESaIS3_EE", !66, i64 0}
!66 = !{!"_ZTSSt11_Deque_baseISt4pairImPKcESaIS3_EE", !67, i64 0}
!67 = !{!"_ZTSNSt11_Deque_baseISt4pairImPKcESaIS3_EE11_Deque_implE", !68, i64 0}
!68 = !{!"_ZTSNSt11_Deque_baseISt4pairImPKcESaIS3_EE16_Deque_impl_dataE", !10, i64 0, !7, i64 8, !69, i64 16, !69, i64 48}
!69 = !{!"_ZTSSt15_Deque_iteratorISt4pairImPKcERS3_PS3_E", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!70 = !{!"_ZTSN8graphlab7dc_impl11dc_tcp_comm13timeout_eventE", !12, i64 0, !10, i64 8}
!71 = !{!"_ZTSN8graphlab18fixed_dense_bitsetILi256EEE", !8, i64 0}
!72 = !{!"_ZTSN8graphlab6threadE", !7, i64 0, !7, i64 8, !7, i64 16, !12, i64 24}
!73 = !{i8 0, i8 2}
!74 = !{}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass