; LLVM IR from turi-code/SFrame :: oss_src/fileio/oss_webstor/asyncurl.ll (ZN7webstor8internal9AsyncLoop14addNewRequestsEv)

; 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.webstor::internal::AsyncLoop" = type <{ ptr, i8, [7 x i8], %"class.webstor::internal::TaskCtrl", i32, [4 x i8], %"class.webstor::internal::SocketPool", %"class.webstor::internal::ExLockSync", ptr, %"class.std::vector", %"class.std::vector", i64, i8, [7 x i8] }>
%"class.webstor::internal::TaskCtrl" = type { %"class.webstor::internal::auto_scope" }
%"class.webstor::internal::auto_scope" = type { i64 }
%"class.webstor::internal::SocketPool" = type { ptr, %"class.webstor::internal::EventSync" }
%"class.webstor::internal::EventSync" = type <{ %union.pthread_mutex_t, %"class.std::set", i32, [4 x i8] }>
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<webstor::internal::EventWaiter *, webstor::internal::EventWaiter *, std::_Identity<webstor::internal::EventWaiter *>, std::less<webstor::internal::EventWaiter *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<webstor::internal::EventWaiter *, webstor::internal::EventWaiter *, std::_Identity<webstor::internal::EventWaiter *>, std::less<webstor::internal::EventWaiter *>>::_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.webstor::internal::ExLockSync" = type { %"union.webstor::internal::ExLockSync::Data" }
%"union.webstor::internal::ExLockSync::Data" = type { %union.pthread_mutex_t }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<void *, std::allocator<void *>>::_Vector_impl" }
%"struct.std::_Vector_base<void *, std::allocator<void *>>::_Vector_impl" = type { %"struct.std::_Vector_base<void *, std::allocator<void *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<void *, std::allocator<void *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.webstor::internal::AsyncState" = type { %"class.webstor::internal::EventSync", i32, i32, ptr }

; 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: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN7webstor8internal10AsyncState11getFromCurlEPv(ptr noundef) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7webstor8internal9AsyncLoop14addNewRequestsEv(ptr noundef nonnull align 8 dereferenceable(241) %0) #2 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i64, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %7 = load ptr, ptr %2, align 8
  br label %8

8:                                                ; preds = %1
  br label %9

9:                                                ; preds = %8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  store i32 0, ptr %3, align 4, !tbaa !9
  %10 = getelementptr inbounds %"class.webstor::internal::AsyncLoop", ptr %7, i32 0, i32 6
  %11 = getelementptr inbounds %"class.webstor::internal::AsyncLoop", ptr %7, i32 0, i32 11
  %12 = load volatile i64, ptr %11, align 8, !tbaa !11
  %13 = getelementptr inbounds %"class.webstor::internal::AsyncLoop", ptr %7, i32 0, i32 9
  %14 = call noundef i64 @_ZNKSt6vectorIPvSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #5
  %15 = add i64 %12, %14
  call void @_ZN7webstor8internal10SocketPool7reserveEm(ptr noundef nonnull align 8 dereferenceable(104) %10, i64 noundef %15)
  %16 = getelementptr inbounds %"class.webstor::internal::AsyncLoop", ptr %7, i32 0, i32 9
  %17 = call noundef zeroext i1 @_ZNKSt6vectorIPvSaIS0_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  br i1 %17, label %66, label %18

18:                                               ; preds = %9
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  store i64 0, ptr %4, align 8, !tbaa !33
  br label %19

19:                                               ; preds = %61, %18
  %20 = load i64, ptr %4, align 8, !tbaa !33
  %21 = getelementptr inbounds %"class.webstor::internal::AsyncLoop", ptr %7, i32 0, i32 9
  %22 = call noundef i64 @_ZNKSt6vectorIPvSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #5
  %23 = icmp ult i64 %20, %22
  br i1 %23, label %25, label %24

24:                                               ; preds = %19
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  br label %64

25:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %26 = getelementptr inbounds %"class.webstor::internal::AsyncLoop", ptr %7, i32 0, i32 9
  %27 = load i64, ptr %4, align 8, !tbaa !33
  %28 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPvSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %27) #5
  %29 = load ptr, ptr %28, align 8, !tbaa !5
  store ptr %29, ptr %5, align 8, !tbaa !5
  br label %30

30:                                               ; preds = %25
  br label %31

31:                                               ; preds = %30
  br label %32

32:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = call noundef ptr @_ZN7webstor8internal10AsyncState11getFromCurlEPv(ptr noundef %33)
  store ptr %34, ptr %6, align 8, !tbaa !5
  br label %35

35:                                               ; preds = %32
  br label %36

36:                                               ; preds = %35
  br label %37

37:                                               ; preds = %36
  br label %38

38:                                               ; preds = %37
  br label %39

39:                                               ; preds = %38
  br label %40

40:                                               ; preds = %39
  %41 = getelementptr inbounds %"class.webstor::internal::AsyncLoop", ptr %7, i32 0, i32 9
  %42 = load i64, ptr %4, align 8, !tbaa !33
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPvSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %41, i64 noundef %42) #5
  store ptr null, ptr %43, align 8, !tbaa !5
  %44 = getelementptr inbounds %"class.webstor::internal::AsyncLoop", ptr %7, i32 0, i32 0
  %45 = load ptr, ptr %44, align 8, !tbaa !34
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = call i32 @curl_multi_add_handle(ptr noundef %45, ptr noundef %46)
  store i32 %47, ptr %3, align 4, !tbaa !9
  %48 = icmp eq i32 %47, 0
  br i1 %48, label %49, label %53

49:                                               ; preds = %40
  %50 = getelementptr inbounds %"class.webstor::internal::AsyncLoop", ptr %7, i32 0, i32 11
  %51 = load volatile i64, ptr %50, align 8, !tbaa !11
  %52 = add i64 %51, 1
  store volatile i64 %52, ptr %50, align 8, !tbaa !11
  br label %60

53:                                               ; preds = %40
  br label %54

54:                                               ; preds = %53
  br label %55

55:                                               ; preds = %54
  br label %56

56:                                               ; preds = %55
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  %58 = getelementptr inbounds %"struct.webstor::internal::AsyncState", ptr %57, i32 0, i32 1
  store i32 27, ptr %58, align 8, !tbaa !35
  %59 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN7webstor8internal10AsyncState12setCompletedEv(ptr noundef nonnull align 8 dereferenceable(112) %59)
  br label %60

60:                                               ; preds = %56, %49
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  br label %61

61:                                               ; preds = %60
  %62 = load i64, ptr %4, align 8, !tbaa !33
  %63 = add i64 %62, 1
  store i64 %63, ptr %4, align 8, !tbaa !33
  br label %19, !llvm.loop !38

64:                                               ; preds = %24
  %65 = getelementptr inbounds %"class.webstor::internal::AsyncLoop", ptr %7, i32 0, i32 9
  call void @_ZNSt6vectorIPvSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #5
  br label %66

66:                                               ; preds = %64, %9
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  ret void
}

declare void @_ZN7webstor8internal10SocketPool7reserveEm(ptr noundef nonnull align 8 dereferenceable(104), i64 noundef) #3

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

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

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

declare i32 @curl_multi_add_handle(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7webstor8internal10AsyncState12setCompletedEv(ptr noundef nonnull align 8 dereferenceable(112)) #2 align 2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{!"_ZTS9CURLMcode", !7, i64 0}
!11 = !{!12, !16, i64 232}
!12 = !{!"_ZTSN7webstor8internal9AsyncLoopE", !6, i64 0, !13, i64 8, !14, i64 16, !17, i64 24, !18, i64 32, !28, i64 136, !6, i64 176, !29, i64 184, !29, i64 208, !16, i64 232, !13, i64 240}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSN7webstor8internal8TaskCtrlE", !15, i64 0}
!15 = !{!"_ZTSN7webstor8internal10auto_scopeImNS0_15TaskCtrlDeleterELy0EEE", !16, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!"int", !7, i64 0}
!18 = !{!"_ZTSN7webstor8internal10SocketPoolE", !6, i64 0, !19, i64 8}
!19 = !{!"_ZTSN7webstor8internal9EventSyncE", !7, i64 0, !20, i64 40, !17, i64 88}
!20 = !{!"_ZTSSt3setIPN7webstor8internal11EventWaiterESt4lessIS3_ESaIS3_EE", !21, i64 0}
!21 = !{!"_ZTSSt8_Rb_treeIPN7webstor8internal11EventWaiterES3_St9_IdentityIS3_ESt4lessIS3_ESaIS3_EE", !22, i64 0}
!22 = !{!"_ZTSNSt8_Rb_treeIPN7webstor8internal11EventWaiterES3_St9_IdentityIS3_ESt4lessIS3_ESaIS3_EE13_Rb_tree_implIS7_Lb1EEE", !23, i64 0, !25, i64 8}
!23 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPN7webstor8internal11EventWaiterEEE", !24, i64 0}
!24 = !{!"_ZTSSt4lessIPN7webstor8internal11EventWaiterEE"}
!25 = !{!"_ZTSSt15_Rb_tree_header", !26, i64 0, !16, i64 32}
!26 = !{!"_ZTSSt18_Rb_tree_node_base", !27, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!27 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!28 = !{!"_ZTSN7webstor8internal10ExLockSyncE", !7, i64 0}
!29 = !{!"_ZTSSt6vectorIPvSaIS0_EE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIPvSaIS0_EE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIPvSaIS0_EE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIPvSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!33 = !{!16, !16, i64 0}
!34 = !{!12, !6, i64 0}
!35 = !{!36, !37, i64 96}
!36 = !{!"_ZTSN7webstor8internal10AsyncStateE", !19, i64 0, !37, i64 96, !17, i64 100, !6, i64 104}
!37 = !{!"_ZTS8CURLcode", !7, i64 0}
!38 = distinct !{!38, !39}
!39 = !{!"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"

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN7webstor8internal10AsyncState11getFromCurlEPv(ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7webstor8internal9AsyncLoop14addNewRequestsEv(ptr noundef nonnull align 8 dereferenceable(241) %0) local_unnamed_addr #1 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 32
  %3 = getelementptr inbounds i8, ptr %0, i64 232
  %4 = load volatile i64, ptr %3, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 184
  %6 = tail call noundef i64 @_ZNKSt6vectorIPvSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  %7 = add i64 %6, %4
  tail call void @_ZN7webstor8internal10SocketPool7reserveEm(ptr noundef nonnull align 8 dereferenceable(104) %2, i64 noundef %7)
  %8 = tail call noundef zeroext i1 @_ZNKSt6vectorIPvSaIS0_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  br i1 %8, label %26, label %.preheader

.preheader:                                       ; preds = %1
  %9 = tail call noundef i64 @_ZNKSt6vectorIPvSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  %.not = icmp eq i64 %9, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %22, %.preheader
  tail call void @_ZNSt6vectorIPvSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  br label %26

.lr.ph:                                           ; preds = %.preheader, %22
  %.08 = phi i64 [ %23, %22 ], [ 0, %.preheader ]
  %10 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPvSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.08) #4
  %11 = load ptr, ptr %10, align 8, !tbaa !30
  %12 = tail call noundef ptr @_ZN7webstor8internal10AsyncState11getFromCurlEPv(ptr noundef %11)
  %13 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPvSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.08) #4
  store ptr null, ptr %13, align 8, !tbaa !30
  %14 = load ptr, ptr %0, align 8, !tbaa !31
  %15 = tail call i32 @curl_multi_add_handle(ptr noundef %14, ptr noundef %11)
  %16 = icmp eq i32 %15, 0
  br i1 %16, label %17, label %20

17:                                               ; preds = %.lr.ph
  %18 = load volatile i64, ptr %3, align 8, !tbaa !5
  %19 = add i64 %18, 1
  store volatile i64 %19, ptr %3, align 8, !tbaa !5
  br label %22

20:                                               ; preds = %.lr.ph
  %21 = getelementptr inbounds i8, ptr %12, i64 96
  store i32 27, ptr %21, align 8, !tbaa !32
  tail call void @_ZN7webstor8internal10AsyncState12setCompletedEv(ptr noundef nonnull align 8 dereferenceable(112) %12)
  br label %22

22:                                               ; preds = %20, %17
  %23 = add nuw i64 %.08, 1
  %24 = tail call noundef i64 @_ZNKSt6vectorIPvSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  %25 = icmp ult i64 %23, %24
  br i1 %25, label %.lr.ph, label %._crit_edge, !llvm.loop !35

26:                                               ; preds = %._crit_edge, %1
  ret void
}

declare void @_ZN7webstor8internal10SocketPool7reserveEm(ptr noundef nonnull align 8 dereferenceable(104), i64 noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorIPvSaIS0_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

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

declare i32 @curl_multi_add_handle(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7webstor8internal10AsyncState12setCompletedEv(ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #1 align 2

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

attributes #0 = { 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 #1 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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, !13, i64 232}
!6 = !{!"_ZTSN7webstor8internal9AsyncLoopE", !7, i64 0, !10, i64 8, !11, i64 16, !14, i64 24, !15, i64 32, !25, i64 136, !7, i64 176, !26, i64 184, !26, i64 208, !13, i64 232, !10, i64 240}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"_ZTSN7webstor8internal8TaskCtrlE", !12, i64 0}
!12 = !{!"_ZTSN7webstor8internal10auto_scopeImNS0_15TaskCtrlDeleterELy0EEE", !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!"_ZTSN7webstor8internal10SocketPoolE", !7, i64 0, !16, i64 8}
!16 = !{!"_ZTSN7webstor8internal9EventSyncE", !8, i64 0, !17, i64 40, !14, i64 88}
!17 = !{!"_ZTSSt3setIPN7webstor8internal11EventWaiterESt4lessIS3_ESaIS3_EE", !18, i64 0}
!18 = !{!"_ZTSSt8_Rb_treeIPN7webstor8internal11EventWaiterES3_St9_IdentityIS3_ESt4lessIS3_ESaIS3_EE", !19, i64 0}
!19 = !{!"_ZTSNSt8_Rb_treeIPN7webstor8internal11EventWaiterES3_St9_IdentityIS3_ESt4lessIS3_ESaIS3_EE13_Rb_tree_implIS7_Lb1EEE", !20, i64 0, !22, i64 8}
!20 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPN7webstor8internal11EventWaiterEEE", !21, i64 0}
!21 = !{!"_ZTSSt4lessIPN7webstor8internal11EventWaiterEE"}
!22 = !{!"_ZTSSt15_Rb_tree_header", !23, i64 0, !13, i64 32}
!23 = !{!"_ZTSSt18_Rb_tree_node_base", !24, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!24 = !{!"_ZTSSt14_Rb_tree_color", !8, i64 0}
!25 = !{!"_ZTSN7webstor8internal10ExLockSyncE", !8, i64 0}
!26 = !{!"_ZTSSt6vectorIPvSaIS0_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIPvSaIS0_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIPvSaIS0_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIPvSaIS0_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!30 = !{!7, !7, i64 0}
!31 = !{!6, !7, i64 0}
!32 = !{!33, !34, i64 96}
!33 = !{!"_ZTSN7webstor8internal10AsyncStateE", !16, i64 0, !34, i64 96, !14, i64 100, !7, i64 104}
!34 = !{!"_ZTS8CURLcode", !8, i64 0}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}


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