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

; 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.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.timeval = type { i64, i64 }
%"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] }>
%"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 }
%"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 }

@_ZN8graphlabL18libevent_init_lockE = external hidden global %"class.graphlab::mutex", align 8
@.str.6 = external hidden unnamed_addr constant [78 x i8], align 1
@__func__._ZN8graphlab7dc_impl11dc_tcp_comm16construct_eventsEv = external hidden unnamed_addr constant [17 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [23 x i8], align 1
@__PRETTY_FUNCTION__._ZN8graphlab7dc_impl11dc_tcp_comm16construct_eventsEv = external hidden unnamed_addr constant [56 x i8], align 1
@__const._ZN8graphlab7dc_impl11dc_tcp_comm16construct_eventsEv.t = external hidden unnamed_addr constant %struct.timeval, align 8
@.str.12 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [38 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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8graphlab7dc_impl11dc_tcp_comm16construct_eventsEv(ptr noundef nonnull align 8 dereferenceable(833) %0) #5 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca %struct.timeval, align 8
  %5 = alloca i64, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %6 = load ptr, ptr %2, align 8
  call void @_ZNK8graphlab5mutex4lockEv(ptr noundef nonnull align 8 dereferenceable(40) @_ZN8graphlabL18libevent_init_lockE)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  %7 = call i32 @evthread_use_pthreads()
  store i32 %7, ptr %3, align 4, !tbaa !9
  call void @_ZNK8graphlab5mutex6unlockEv(ptr noundef nonnull align 8 dereferenceable(40) @_ZN8graphlabL18libevent_init_lockE)
  %8 = load i32, ptr %3, align 4, !tbaa !9
  %9 = icmp slt i32 %8, 0
  br i1 %9, label %10, label %19

10:                                               ; preds = %1
  %11 = call noundef nonnull align 8 dereferenceable(896) ptr @_Z13global_loggerv()
  %12 = call noundef i32 @_ZN11file_logger13get_log_levelEv(ptr noundef nonnull align 8 dereferenceable(896) %11)
  %13 = icmp sge i32 7, %12
  br i1 %13, label %14, label %18

14:                                               ; preds = %10
  %15 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN19log_stream_dispatchILb1EE4execEiPKcS2_ib(i32 noundef 7, ptr noundef @.str.6, ptr noundef @__func__._ZN8graphlab7dc_impl11dc_tcp_comm16construct_eventsEv, i32 noundef 198, i1 noundef zeroext true)
  %16 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPKc(ptr noundef nonnull align 8 dereferenceable(896) %15, ptr noundef @.str.9)
  %17 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(896) %16, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %18

18:                                               ; preds = %14, %10
  br label %19

19:                                               ; preds = %18, %1
  %20 = call ptr @gl_event_base_new()
  %21 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 20
  store ptr %20, ptr %21, align 8, !tbaa !11
  %22 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 20
  %23 = load ptr, ptr %22, align 8, !tbaa !11
  %24 = icmp ne ptr %23, null
  br i1 %24, label %34, label %25

25:                                               ; preds = %19
  %26 = call noundef nonnull align 8 dereferenceable(896) ptr @_Z13global_loggerv()
  %27 = call noundef i32 @_ZN11file_logger13get_log_levelEv(ptr noundef nonnull align 8 dereferenceable(896) %26)
  %28 = icmp sge i32 7, %27
  br i1 %28, label %29, label %33

29:                                               ; preds = %25
  %30 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN19log_stream_dispatchILb1EE4execEiPKcS2_ib(i32 noundef 7, ptr noundef @.str.6, ptr noundef @__func__._ZN8graphlab7dc_impl11dc_tcp_comm16construct_eventsEv, i32 noundef 201, i1 noundef zeroext true)
  %31 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPKc(ptr noundef nonnull align 8 dereferenceable(896) %30, ptr noundef @.str.10)
  %32 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(896) %31, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %33

33:                                               ; preds = %29, %25
  br label %34

34:                                               ; preds = %33, %19
  %35 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 24
  %36 = getelementptr inbounds %"struct.graphlab::dc_impl::dc_tcp_comm::timeout_event", ptr %35, i32 0, i32 1
  store ptr %6, ptr %36, align 8, !tbaa !61
  %37 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 24
  %38 = getelementptr inbounds %"struct.graphlab::dc_impl::dc_tcp_comm::timeout_event", ptr %37, i32 0, i32 0
  store i8 1, ptr %38, align 8, !tbaa !62
  %39 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 23
  %40 = getelementptr inbounds %"struct.graphlab::dc_impl::dc_tcp_comm::timeout_event", ptr %39, i32 0, i32 1
  store ptr %6, ptr %40, align 8, !tbaa !63
  %41 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 23
  %42 = getelementptr inbounds %"struct.graphlab::dc_impl::dc_tcp_comm::timeout_event", ptr %41, i32 0, i32 0
  store i8 0, ptr %42, align 8, !tbaa !64
  %43 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 20
  %44 = load ptr, ptr %43, align 8, !tbaa !11
  %45 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 24
  %46 = call ptr @gl_event_new(ptr noundef %44, i32 noundef -1, i16 noundef signext 17, ptr noundef @_ZN8graphlab7dc_impl13on_send_eventEisPv, ptr noundef %45)
  %47 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 22
  store ptr %46, ptr %47, align 8, !tbaa !65
  %48 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 22
  %49 = load ptr, ptr %48, align 8, !tbaa !65
  %50 = icmp ne ptr %49, null
  br i1 %50, label %51, label %52

51:                                               ; preds = %34
  br label %54

52:                                               ; preds = %34
  call void @__assert_fail(ptr noundef @.str.11, ptr noundef @.str.6, i32 noundef 207, ptr noundef @__PRETTY_FUNCTION__._ZN8graphlab7dc_impl11dc_tcp_comm16construct_eventsEv) #8
  unreachable

53:                                               ; No predecessors!
  br label %54

54:                                               ; preds = %53, %51
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %4, ptr align 8 @__const._ZN8graphlab7dc_impl11dc_tcp_comm16construct_eventsEv.t, i64 16, i1 false)
  %55 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 22
  %56 = load ptr, ptr %55, align 8, !tbaa !65
  %57 = call i32 @gl_event_add(ptr noundef %56, ptr noundef %4)
  %58 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 20
  %59 = load ptr, ptr %58, align 8, !tbaa !11
  %60 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 23
  %61 = call ptr @gl_event_new(ptr noundef %59, i32 noundef -1, i16 noundef signext 17, ptr noundef @_ZN8graphlab7dc_impl13on_send_eventEisPv, ptr noundef %60)
  %62 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 21
  store ptr %61, ptr %62, align 8, !tbaa !66
  %63 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 21
  %64 = load ptr, ptr %63, align 8, !tbaa !66
  %65 = icmp ne ptr %64, null
  br i1 %65, label %66, label %67

66:                                               ; preds = %54
  br label %69

67:                                               ; preds = %54
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.6, i32 noundef 211, ptr noundef @__PRETTY_FUNCTION__._ZN8graphlab7dc_impl11dc_tcp_comm16construct_eventsEv) #8
  unreachable

68:                                               ; No predecessors!
  br label %69

69:                                               ; preds = %68, %66
  %70 = call ptr @gl_event_base_new()
  %71 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 18
  store ptr %70, ptr %71, align 8, !tbaa !67
  %72 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 18
  %73 = load ptr, ptr %72, align 8, !tbaa !67
  %74 = icmp ne ptr %73, null
  br i1 %74, label %84, label %75

75:                                               ; preds = %69
  %76 = call noundef nonnull align 8 dereferenceable(896) ptr @_Z13global_loggerv()
  %77 = call noundef i32 @_ZN11file_logger13get_log_levelEv(ptr noundef nonnull align 8 dereferenceable(896) %76)
  %78 = icmp sge i32 7, %77
  br i1 %78, label %79, label %83

79:                                               ; preds = %75
  %80 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN19log_stream_dispatchILb1EE4execEiPKcS2_ib(i32 noundef 7, ptr noundef @.str.6, ptr noundef @__func__._ZN8graphlab7dc_impl11dc_tcp_comm16construct_eventsEv, i32 noundef 214, i1 noundef zeroext true)
  %81 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPKc(ptr noundef nonnull align 8 dereferenceable(896) %80, ptr noundef @.str.10)
  %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 = %79, %75
  br label %84

84:                                               ; preds = %83, %69
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  store i64 0, ptr %5, align 8, !tbaa !68
  br label %85

85:                                               ; preds = %166, %84
  %86 = load i64, ptr %5, align 8, !tbaa !68
  %87 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 14
  %88 = call noundef i64 @_ZNKSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %87) #7
  %89 = icmp ult i64 %86, %88
  br i1 %89, label %91, label %90

90:                                               ; preds = %85
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  br label %169

91:                                               ; preds = %85
  %92 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 18
  %93 = load ptr, ptr %92, align 8, !tbaa !67
  %94 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 14
  %95 = load i64, ptr %5, align 8, !tbaa !68
  %96 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %94, i64 noundef %95) #7
  %97 = getelementptr inbounds %"struct.graphlab::dc_impl::dc_tcp_comm::socket_info", ptr %96, i32 0, i32 3
  %98 = load i32, ptr %97, align 4, !tbaa !69
  %99 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 14
  %100 = load i64, ptr %5, align 8, !tbaa !68
  %101 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %99, i64 noundef %100) #7
  %102 = call ptr @gl_event_new(ptr noundef %93, i32 noundef %98, i16 noundef signext 50, ptr noundef @_ZN8graphlab7dc_impl16on_receive_eventEisPv, ptr noundef %101)
  %103 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 14
  %104 = load i64, ptr %5, align 8, !tbaa !68
  %105 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %103, i64 noundef %104) #7
  %106 = getelementptr inbounds %"struct.graphlab::dc_impl::dc_tcp_comm::socket_info", ptr %105, i32 0, i32 4
  store ptr %102, ptr %106, align 8, !tbaa !77
  %107 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 14
  %108 = load i64, ptr %5, align 8, !tbaa !68
  %109 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %107, i64 noundef %108) #7
  %110 = getelementptr inbounds %"struct.graphlab::dc_impl::dc_tcp_comm::socket_info", ptr %109, i32 0, i32 4
  %111 = load ptr, ptr %110, align 8, !tbaa !77
  %112 = icmp eq ptr %111, null
  br i1 %112, label %113, label %122

113:                                              ; preds = %91
  %114 = call noundef nonnull align 8 dereferenceable(896) ptr @_Z13global_loggerv()
  %115 = call noundef i32 @_ZN11file_logger13get_log_levelEv(ptr noundef nonnull align 8 dereferenceable(896) %114)
  %116 = icmp sge i32 7, %115
  br i1 %116, label %117, label %121

117:                                              ; preds = %113
  %118 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN19log_stream_dispatchILb1EE4execEiPKcS2_ib(i32 noundef 7, ptr noundef @.str.6, ptr noundef @__func__._ZN8graphlab7dc_impl11dc_tcp_comm16construct_eventsEv, i32 noundef 222, i1 noundef zeroext true)
  %119 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPKc(ptr noundef nonnull align 8 dereferenceable(896) %118, ptr noundef @.str.13)
  %120 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(896) %119, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %121

121:                                              ; preds = %117, %113
  br label %122

122:                                              ; preds = %121, %91
  %123 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 20
  %124 = load ptr, ptr %123, align 8, !tbaa !11
  %125 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 14
  %126 = load i64, ptr %5, align 8, !tbaa !68
  %127 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %125, i64 noundef %126) #7
  %128 = getelementptr inbounds %"struct.graphlab::dc_impl::dc_tcp_comm::socket_info", ptr %127, i32 0, i32 2
  %129 = load i32, ptr %128, align 8, !tbaa !78
  %130 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 14
  %131 = load i64, ptr %5, align 8, !tbaa !68
  %132 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %130, i64 noundef %131) #7
  %133 = call ptr @gl_event_new(ptr noundef %124, i32 noundef %129, i16 noundef signext 52, ptr noundef @_ZN8graphlab7dc_impl13on_send_eventEisPv, ptr noundef %132)
  %134 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 14
  %135 = load i64, ptr %5, align 8, !tbaa !68
  %136 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %134, i64 noundef %135) #7
  %137 = getelementptr inbounds %"struct.graphlab::dc_impl::dc_tcp_comm::socket_info", ptr %136, i32 0, i32 5
  store ptr %133, ptr %137, align 8, !tbaa !79
  %138 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 14
  %139 = load i64, ptr %5, align 8, !tbaa !68
  %140 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %138, i64 noundef %139) #7
  %141 = getelementptr inbounds %"struct.graphlab::dc_impl::dc_tcp_comm::socket_info", ptr %140, i32 0, i32 5
  %142 = load ptr, ptr %141, align 8, !tbaa !79
  %143 = icmp eq ptr %142, null
  br i1 %143, label %144, label %153

144:                                              ; preds = %122
  %145 = call noundef nonnull align 8 dereferenceable(896) ptr @_Z13global_loggerv()
  %146 = call noundef i32 @_ZN11file_logger13get_log_levelEv(ptr noundef nonnull align 8 dereferenceable(896) %145)
  %147 = icmp sge i32 7, %146
  br i1 %147, label %148, label %152

148:                                              ; preds = %144
  %149 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN19log_stream_dispatchILb1EE4execEiPKcS2_ib(i32 noundef 7, ptr noundef @.str.6, ptr noundef @__func__._ZN8graphlab7dc_impl11dc_tcp_comm16construct_eventsEv, i32 noundef 228, i1 noundef zeroext true)
  %150 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPKc(ptr noundef nonnull align 8 dereferenceable(896) %149, ptr noundef @.str.14)
  %151 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(896) %150, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %152

152:                                              ; preds = %148, %144
  br label %153

153:                                              ; preds = %152, %122
  %154 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 14
  %155 = load i64, ptr %5, align 8, !tbaa !68
  %156 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %154, i64 noundef %155) #7
  %157 = getelementptr inbounds %"struct.graphlab::dc_impl::dc_tcp_comm::socket_info", ptr %156, i32 0, i32 4
  %158 = load ptr, ptr %157, align 8, !tbaa !77
  %159 = call i32 @gl_event_add(ptr noundef %158, ptr noundef null)
  %160 = getelementptr inbounds %"class.graphlab::dc_impl::dc_tcp_comm", ptr %6, i32 0, i32 14
  %161 = load i64, ptr %5, align 8, !tbaa !68
  %162 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %160, i64 noundef %161) #7
  %163 = getelementptr inbounds %"struct.graphlab::dc_impl::dc_tcp_comm::socket_info", ptr %162, i32 0, i32 5
  %164 = load ptr, ptr %163, align 8, !tbaa !79
  %165 = call i32 @gl_event_add(ptr noundef %164, ptr noundef null)
  br label %166

166:                                              ; preds = %153
  %167 = load i64, ptr %5, align 8, !tbaa !68
  %168 = add i64 %167, 1
  store i64 %168, ptr %5, align 8, !tbaa !68
  br label %85, !llvm.loop !80

169:                                              ; preds = %90
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  ret void
}

declare i32 @evthread_use_pthreads() #6

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

; 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

declare ptr @gl_event_base_new() #6

declare ptr @gl_event_new(ptr noundef, i32 noundef, i16 noundef signext, ptr noundef, ptr noundef) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8graphlab7dc_impl13on_send_eventEisPv(i32 noundef, i16 noundef signext, ptr noundef) #5

declare i32 @gl_event_add(ptr noundef, ptr noundef) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8graphlab7dc_impl16on_receive_eventEisPv(i32 noundef, i16 noundef signext, ptr noundef) #5

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

%"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.timeval = type { i64, i64 }

@_ZN8graphlabL18libevent_init_lockE = external hidden global %"class.graphlab::mutex", align 8
@.str.6 = external hidden unnamed_addr constant [78 x i8], align 1
@__func__._ZN8graphlab7dc_impl11dc_tcp_comm16construct_eventsEv = external hidden unnamed_addr constant [17 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [23 x i8], align 1
@__PRETTY_FUNCTION__._ZN8graphlab7dc_impl11dc_tcp_comm16construct_eventsEv = external hidden unnamed_addr constant [56 x i8], align 1
@__const._ZN8graphlab7dc_impl11dc_tcp_comm16construct_eventsEv.t = external hidden unnamed_addr constant %struct.timeval, align 8
@.str.12 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [38 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

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

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

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8graphlab7dc_impl11dc_tcp_comm16construct_eventsEv(ptr noundef nonnull align 8 dereferenceable(833) %0) local_unnamed_addr #5 align 2 {
  %2 = alloca %struct.timeval, align 8
  tail call void @_ZNK8graphlab5mutex4lockEv(ptr noundef nonnull align 8 dereferenceable(40) @_ZN8graphlabL18libevent_init_lockE)
  %3 = tail call i32 @evthread_use_pthreads()
  tail call void @_ZNK8graphlab5mutex6unlockEv(ptr noundef nonnull align 8 dereferenceable(40) @_ZN8graphlabL18libevent_init_lockE)
  %4 = icmp slt i32 %3, 0
  br i1 %4, label %5, label %13

5:                                                ; preds = %1
  %6 = tail call noundef nonnull align 8 dereferenceable(896) ptr @_Z13global_loggerv()
  %7 = tail call noundef i32 @_ZN11file_logger13get_log_levelEv(ptr noundef nonnull align 8 dereferenceable(896) %6)
  %8 = icmp slt i32 %7, 8
  br i1 %8, label %9, label %13

9:                                                ; preds = %5
  %10 = tail call noundef nonnull align 8 dereferenceable(896) ptr @_ZN19log_stream_dispatchILb1EE4execEiPKcS2_ib(i32 noundef 7, ptr noundef nonnull @.str.6, ptr noundef nonnull @__func__._ZN8graphlab7dc_impl11dc_tcp_comm16construct_eventsEv, i32 noundef 198, i1 noundef zeroext true)
  %11 = tail call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPKc(ptr noundef nonnull align 8 dereferenceable(896) %10, ptr noundef nonnull @.str.9)
  %12 = tail call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(896) %11, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %13

13:                                               ; preds = %5, %9, %1
  %14 = tail call ptr @gl_event_base_new()
  %15 = getelementptr inbounds i8, ptr %0, i64 704
  store ptr %14, ptr %15, align 8, !tbaa !5
  %.not = icmp eq ptr %14, null
  br i1 %.not, label %16, label %24

16:                                               ; preds = %13
  %17 = tail call noundef nonnull align 8 dereferenceable(896) ptr @_Z13global_loggerv()
  %18 = tail call noundef i32 @_ZN11file_logger13get_log_levelEv(ptr noundef nonnull align 8 dereferenceable(896) %17)
  %19 = icmp slt i32 %18, 8
  br i1 %19, label %20, label %24

20:                                               ; preds = %16
  %21 = tail call noundef nonnull align 8 dereferenceable(896) ptr @_ZN19log_stream_dispatchILb1EE4execEiPKcS2_ib(i32 noundef 7, ptr noundef nonnull @.str.6, ptr noundef nonnull @__func__._ZN8graphlab7dc_impl11dc_tcp_comm16construct_eventsEv, i32 noundef 201, i1 noundef zeroext true)
  %22 = tail call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPKc(ptr noundef nonnull align 8 dereferenceable(896) %21, ptr noundef nonnull @.str.10)
  %23 = tail call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(896) %22, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %24

24:                                               ; preds = %16, %20, %13
  %25 = getelementptr inbounds i8, ptr %0, i64 744
  %26 = getelementptr inbounds i8, ptr %0, i64 752
  store ptr %0, ptr %26, align 8, !tbaa !59
  store i8 1, ptr %25, align 8, !tbaa !60
  %27 = getelementptr inbounds i8, ptr %0, i64 728
  %28 = getelementptr inbounds i8, ptr %0, i64 736
  store ptr %0, ptr %28, align 8, !tbaa !61
  store i8 0, ptr %27, align 8, !tbaa !62
  %29 = load ptr, ptr %15, align 8, !tbaa !5
  %30 = tail call ptr @gl_event_new(ptr noundef %29, i32 noundef -1, i16 noundef signext 17, ptr noundef nonnull @_ZN8graphlab7dc_impl13on_send_eventEisPv, ptr noundef nonnull %25)
  %31 = getelementptr inbounds i8, ptr %0, i64 720
  store ptr %30, ptr %31, align 8, !tbaa !63
  %.not13 = icmp eq ptr %30, null
  br i1 %.not13, label %32, label %33

32:                                               ; preds = %24
  tail call void @__assert_fail(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.6, i32 noundef 207, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN8graphlab7dc_impl11dc_tcp_comm16construct_eventsEv) #7
  unreachable

33:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(16) @__const._ZN8graphlab7dc_impl11dc_tcp_comm16construct_eventsEv.t, i64 16, i1 false)
  %34 = call i32 @gl_event_add(ptr noundef nonnull %30, ptr noundef nonnull %2)
  %35 = load ptr, ptr %15, align 8, !tbaa !5
  %36 = call ptr @gl_event_new(ptr noundef %35, i32 noundef -1, i16 noundef signext 17, ptr noundef nonnull @_ZN8graphlab7dc_impl13on_send_eventEisPv, ptr noundef nonnull %27)
  %37 = getelementptr inbounds i8, ptr %0, i64 712
  store ptr %36, ptr %37, align 8, !tbaa !64
  %.not14 = icmp eq ptr %36, null
  br i1 %.not14, label %38, label %39

38:                                               ; preds = %33
  call void @__assert_fail(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.6, i32 noundef 211, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN8graphlab7dc_impl11dc_tcp_comm16construct_eventsEv) #7
  unreachable

39:                                               ; preds = %33
  %40 = call ptr @gl_event_base_new()
  %41 = getelementptr inbounds i8, ptr %0, i64 512
  store ptr %40, ptr %41, align 8, !tbaa !65
  %.not15 = icmp eq ptr %40, null
  br i1 %.not15, label %42, label %50

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

46:                                               ; preds = %42
  %47 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN19log_stream_dispatchILb1EE4execEiPKcS2_ib(i32 noundef 7, ptr noundef nonnull @.str.6, ptr noundef nonnull @__func__._ZN8graphlab7dc_impl11dc_tcp_comm16construct_eventsEv, i32 noundef 214, i1 noundef zeroext true)
  %48 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPKc(ptr noundef nonnull align 8 dereferenceable(896) %47, ptr noundef nonnull @.str.10)
  %49 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(896) %48, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %50

50:                                               ; preds = %42, %46, %39
  %51 = getelementptr inbounds i8, ptr %0, i64 288
  %52 = call noundef i64 @_ZNKSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #8
  %.not17 = icmp eq i64 %52, 0
  br i1 %.not17, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %94, %50
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #8
  ret void

.lr.ph:                                           ; preds = %50, %94
  %.016 = phi i64 [ %103, %94 ], [ 0, %50 ]
  %53 = load ptr, ptr %41, align 8, !tbaa !65
  %54 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %.016) #8
  %55 = getelementptr inbounds i8, ptr %54, i64 20
  %56 = load i32, ptr %55, align 4, !tbaa !66
  %57 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %.016) #8
  %58 = call ptr @gl_event_new(ptr noundef %53, i32 noundef %56, i16 noundef signext 50, ptr noundef nonnull @_ZN8graphlab7dc_impl16on_receive_eventEisPv, ptr noundef nonnull %57)
  %59 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %.016) #8
  %60 = getelementptr inbounds i8, ptr %59, i64 24
  store ptr %58, ptr %60, align 8, !tbaa !74
  %61 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %.016) #8
  %62 = getelementptr inbounds i8, ptr %61, i64 24
  %63 = load ptr, ptr %62, align 8, !tbaa !74
  %64 = icmp eq ptr %63, null
  br i1 %64, label %65, label %73

65:                                               ; preds = %.lr.ph
  %66 = call noundef nonnull align 8 dereferenceable(896) ptr @_Z13global_loggerv()
  %67 = call noundef i32 @_ZN11file_logger13get_log_levelEv(ptr noundef nonnull align 8 dereferenceable(896) %66)
  %68 = icmp slt i32 %67, 8
  br i1 %68, label %69, label %73

69:                                               ; preds = %65
  %70 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN19log_stream_dispatchILb1EE4execEiPKcS2_ib(i32 noundef 7, ptr noundef nonnull @.str.6, ptr noundef nonnull @__func__._ZN8graphlab7dc_impl11dc_tcp_comm16construct_eventsEv, i32 noundef 222, i1 noundef zeroext true)
  %71 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPKc(ptr noundef nonnull align 8 dereferenceable(896) %70, ptr noundef nonnull @.str.13)
  %72 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(896) %71, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %73

73:                                               ; preds = %65, %69, %.lr.ph
  %74 = load ptr, ptr %15, align 8, !tbaa !5
  %75 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %.016) #8
  %76 = getelementptr inbounds i8, ptr %75, i64 16
  %77 = load i32, ptr %76, align 8, !tbaa !75
  %78 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %.016) #8
  %79 = call ptr @gl_event_new(ptr noundef %74, i32 noundef %77, i16 noundef signext 52, ptr noundef nonnull @_ZN8graphlab7dc_impl13on_send_eventEisPv, ptr noundef nonnull %78)
  %80 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %.016) #8
  %81 = getelementptr inbounds i8, ptr %80, i64 32
  store ptr %79, ptr %81, align 8, !tbaa !76
  %82 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %.016) #8
  %83 = getelementptr inbounds i8, ptr %82, i64 32
  %84 = load ptr, ptr %83, align 8, !tbaa !76
  %85 = icmp eq ptr %84, null
  br i1 %85, label %86, label %94

86:                                               ; preds = %73
  %87 = call noundef nonnull align 8 dereferenceable(896) ptr @_Z13global_loggerv()
  %88 = call noundef i32 @_ZN11file_logger13get_log_levelEv(ptr noundef nonnull align 8 dereferenceable(896) %87)
  %89 = icmp slt i32 %88, 8
  br i1 %89, label %90, label %94

90:                                               ; preds = %86
  %91 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN19log_stream_dispatchILb1EE4execEiPKcS2_ib(i32 noundef 7, ptr noundef nonnull @.str.6, ptr noundef nonnull @__func__._ZN8graphlab7dc_impl11dc_tcp_comm16construct_eventsEv, i32 noundef 228, i1 noundef zeroext true)
  %92 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPKc(ptr noundef nonnull align 8 dereferenceable(896) %91, ptr noundef nonnull @.str.14)
  %93 = call noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(896) %92, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %94

94:                                               ; preds = %86, %90, %73
  %95 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %.016) #8
  %96 = getelementptr inbounds i8, ptr %95, i64 24
  %97 = load ptr, ptr %96, align 8, !tbaa !74
  %98 = call i32 @gl_event_add(ptr noundef %97, ptr noundef null)
  %99 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %.016) #8
  %100 = getelementptr inbounds i8, ptr %99, i64 32
  %101 = load ptr, ptr %100, align 8, !tbaa !76
  %102 = call i32 @gl_event_add(ptr noundef %101, ptr noundef null)
  %103 = add nuw i64 %.016, 1
  %104 = call noundef i64 @_ZNKSt6vectorIN8graphlab7dc_impl11dc_tcp_comm11socket_infoESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #8
  %105 = icmp ult i64 %103, %104
  br i1 %105, label %.lr.ph, label %._crit_edge, !llvm.loop !77
}

declare i32 @evthread_use_pthreads() local_unnamed_addr #6

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

; 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

declare ptr @gl_event_base_new() local_unnamed_addr #6

declare ptr @gl_event_new(ptr noundef, i32 noundef, i16 noundef signext, ptr noundef, ptr noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8graphlab7dc_impl13on_send_eventEisPv(i32 noundef, i16 noundef signext, ptr noundef) #5

declare i32 @gl_event_add(ptr noundef, ptr noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8graphlab7dc_impl16on_receive_eventEisPv(i32 noundef, i16 noundef signext, ptr noundef) #5

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


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