; LLVM IR from yinqiwen/ardb :: src/common/channel/timer (timer_channel)

; 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.ardb::TimerChannel" = type { %"class.ardb::Timer", %"class.ardb::Channel", i64 }
%"class.ardb::Timer" = type { ptr, %"class.ardb::TimerTaskQueue", %"class.btree::btree_map" }
%"class.ardb::TimerTaskQueue" = type { ptr, i32, i32 }
%"class.btree::btree_map" = type { %"class.btree::btree_map_container" }
%"class.btree::btree_map_container" = type { %"class.btree::btree_unique_container" }
%"class.btree::btree_unique_container" = type { %"class.btree::btree_container" }
%"class.btree::btree_container" = type { %"class.btree::btree" }
%"class.btree::btree" = type { %"struct.btree::btree<btree::btree_map_params<unsigned int, ardb::TimerTask *, std::less<unsigned int>, std::allocator<std::pair<const unsigned int, ardb::TimerTask *>>, 256>>::empty_base_handle" }
%"struct.btree::btree<btree::btree_map_params<unsigned int, ardb::TimerTask *, std::less<unsigned int>, std::allocator<std::pair<const unsigned int, ardb::TimerTask *>>, 256>>::empty_base_handle" = type { ptr }
%"class.ardb::Channel" = type { %"class.ardb::Runnable", %"struct.ardb::ChannelOptions", i8, i8, i32, %"class.ardb::ChannelPipeline", ptr, i32, i32, %"class.ardb::Buffer", %"class.ardb::Buffer", i32, ptr, ptr, ptr, ptr, i8, i8, i8, ptr, ptr, ptr }
%"class.ardb::Runnable" = type { ptr }
%"struct.ardb::ChannelOptions" = type <{ i32, i32, i8, [3 x i8], i32, i8, [3 x i8], i32, i32, i32, i8, i8, [2 x i8] }>
%"class.ardb::ChannelPipeline" = type { ptr, ptr, ptr, %"class.btree::btree_map.0" }
%"class.btree::btree_map.0" = type { %"class.btree::btree_map_container.1" }
%"class.btree::btree_map_container.1" = type { %"class.btree::btree_unique_container.2" }
%"class.btree::btree_unique_container.2" = type { %"class.btree::btree_container.3" }
%"class.btree::btree_container.3" = type { %"class.btree::btree.4" }
%"class.btree::btree.4" = type { %"struct.btree::btree<btree::btree_map_params<std::__cxx11::basic_string<char>, ardb::ChannelHandlerContext *, std::less<std::__cxx11::basic_string<char>>, std::allocator<std::pair<const std::__cxx11::basic_string<char>, ardb::ChannelHandlerContext *>>, 256>>::empty_base_handle" }
%"struct.btree::btree<btree::btree_map_params<std::__cxx11::basic_string<char>, ardb::ChannelHandlerContext *, std::less<std::__cxx11::basic_string<char>>, std::allocator<std::pair<const std::__cxx11::basic_string<char>, ardb::ChannelHandlerContext *>>, 256>>::empty_base_handle" = type { ptr }
%"class.ardb::Buffer" = type <{ ptr, i64, i64, i64, i8, [7 x i8] }>

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN4ardb12TimerChannel9TimeoutCBEP11aeEventLoopxPv(ptr noundef, i64 noundef, ptr noundef) #0 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4ardb12TimerChannel11OnScheduledEPNS_9TimerTaskE(ptr noundef nonnull align 8 dereferenceable(296) %0, ptr noundef %1) unnamed_addr #0 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %6 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %7 = call noundef i64 @_ZN4ardb5Timer25GetNearestTaskTriggerTimeEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
  store i64 %7, ptr %5, align 8, !tbaa !9
  %8 = load i64, ptr %5, align 8, !tbaa !9
  %9 = icmp slt i64 %8, 0
  br i1 %9, label %15, label %10

10:                                               ; preds = %2
  %11 = load i64, ptr %5, align 8, !tbaa !9
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = call noundef i64 @_ZN4ardb9TimerTask18GetNextTriggerTimeEv(ptr noundef nonnull align 8 dereferenceable(60) %12)
  %14 = icmp ugt i64 %11, %13
  br i1 %14, label %15, label %54

15:                                               ; preds = %10, %2
  %16 = getelementptr inbounds %"class.ardb::TimerChannel", ptr %6, i32 0, i32 2
  %17 = load i64, ptr %16, align 8, !tbaa !11
  %18 = icmp ne i64 -1, %17
  br i1 %18, label %19, label %33

19:                                               ; preds = %15
  %20 = load i64, ptr %5, align 8, !tbaa !9
  %21 = icmp sgt i64 %20, 0
  br i1 %21, label %22, label %31

22:                                               ; preds = %19
  %23 = getelementptr inbounds i8, ptr %6, i64 32
  %24 = call noundef nonnull align 8 dereferenceable(288) ptr @_ZN4ardb7Channel10GetServiceEv(ptr noundef nonnull align 8 dereferenceable(256) %23)
  %25 = call noundef ptr @_ZN4ardb14ChannelService15GetRawEventLoopEv(ptr noundef nonnull align 8 dereferenceable(288) %24)
  %26 = getelementptr inbounds %"class.ardb::TimerChannel", ptr %6, i32 0, i32 2
  %27 = load i64, ptr %26, align 8, !tbaa !11
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = call noundef i64 @_ZN4ardb9TimerTask8GetDelayEv(ptr noundef nonnull align 8 dereferenceable(60) %28)
  %30 = call i32 @aeModifyTimeEvent(ptr noundef %25, i64 noundef %27, i64 noundef %29)
  br label %32

31:                                               ; preds = %19
  br label %32

32:                                               ; preds = %31, %22
  br label %53

33:                                               ; preds = %15
  %34 = getelementptr inbounds %"class.ardb::TimerChannel", ptr %6, i32 0, i32 2
  %35 = load i64, ptr %34, align 8, !tbaa !11
  %36 = icmp ne i64 -1, %35
  br i1 %36, label %37, label %45

37:                                               ; preds = %33
  %38 = getelementptr inbounds i8, ptr %6, i64 32
  %39 = call noundef nonnull align 8 dereferenceable(288) ptr @_ZN4ardb7Channel10GetServiceEv(ptr noundef nonnull align 8 dereferenceable(256) %38)
  %40 = call noundef ptr @_ZN4ardb14ChannelService15GetRawEventLoopEv(ptr noundef nonnull align 8 dereferenceable(288) %39)
  %41 = getelementptr inbounds %"class.ardb::TimerChannel", ptr %6, i32 0, i32 2
  %42 = load i64, ptr %41, align 8, !tbaa !11
  %43 = call i32 @aeDeleteTimeEvent(ptr noundef %40, i64 noundef %42)
  %44 = getelementptr inbounds %"class.ardb::TimerChannel", ptr %6, i32 0, i32 2
  store i64 -1, ptr %44, align 8, !tbaa !11
  br label %45

45:                                               ; preds = %37, %33
  %46 = getelementptr inbounds i8, ptr %6, i64 32
  %47 = call noundef nonnull align 8 dereferenceable(288) ptr @_ZN4ardb7Channel10GetServiceEv(ptr noundef nonnull align 8 dereferenceable(256) %46)
  %48 = call noundef ptr @_ZN4ardb14ChannelService15GetRawEventLoopEv(ptr noundef nonnull align 8 dereferenceable(288) %47)
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = call noundef i64 @_ZN4ardb9TimerTask8GetDelayEv(ptr noundef nonnull align 8 dereferenceable(60) %49)
  %51 = call i64 @aeCreateTimeEvent(ptr noundef %48, i64 noundef %50, ptr noundef @_ZN4ardb12TimerChannel9TimeoutCBEP11aeEventLoopxPv, ptr noundef %6, ptr noundef null)
  %52 = getelementptr inbounds %"class.ardb::TimerChannel", ptr %6, i32 0, i32 2
  store i64 %51, ptr %52, align 8, !tbaa !11
  br label %53

53:                                               ; preds = %45, %32
  br label %54

54:                                               ; preds = %53, %10
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  ret void
}

declare noundef i64 @_ZN4ardb5Timer25GetNearestTaskTriggerTimeEv(ptr noundef nonnull align 8 dereferenceable(32)) #2

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

declare i32 @aeModifyTimeEvent(ptr noundef, i64 noundef, i64 noundef) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(288) ptr @_ZN4ardb7Channel10GetServiceEv(ptr noundef nonnull align 8 dereferenceable(256)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN4ardb14ChannelService15GetRawEventLoopEv(ptr noundef nonnull align 8 dereferenceable(288)) #4 align 2

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

declare i32 @aeDeleteTimeEvent(ptr noundef, i64 noundef) #2

declare i64 @aeCreateTimeEvent(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #2

attributes #0 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !34, i64 288}
!12 = !{!"_ZTSN4ardb12TimerChannelE", !13, i64 0, !22, i64 32, !34, i64 288}
!13 = !{!"_ZTSN4ardb5TimerE", !14, i64 8, !16, i64 24}
!14 = !{!"_ZTSN4ardb14TimerTaskQueueE", !6, i64 0, !15, i64 8, !15, i64 12}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_ZTSN5btree9btree_mapIjPN4ardb9TimerTaskESt4lessIjESaISt4pairIKjS3_EELi256EEE", !17, i64 0}
!17 = !{!"_ZTSN5btree19btree_map_containerINS_5btreeINS_16btree_map_paramsIjPN4ardb9TimerTaskESt4lessIjESaISt4pairIKjS5_EELi256EEEEEEE", !18, i64 0}
!18 = !{!"_ZTSN5btree22btree_unique_containerINS_5btreeINS_16btree_map_paramsIjPN4ardb9TimerTaskESt4lessIjESaISt4pairIKjS5_EELi256EEEEEEE", !19, i64 0}
!19 = !{!"_ZTSN5btree15btree_containerINS_5btreeINS_16btree_map_paramsIjPN4ardb9TimerTaskESt4lessIjESaISt4pairIKjS5_EELi256EEEEEEE", !20, i64 0}
!20 = !{!"_ZTSN5btree5btreeINS_16btree_map_paramsIjPN4ardb9TimerTaskESt4lessIjESaISt4pairIKjS4_EELi256EEEEE", !21, i64 0}
!21 = !{!"_ZTSN5btree5btreeINS_16btree_map_paramsIjPN4ardb9TimerTaskESt4lessIjESaISt4pairIKjS4_EELi256EEEE17empty_base_handleISaIcEPNS_10btree_nodeISB_EEEE", !6, i64 0}
!22 = !{!"_ZTSN4ardb7ChannelE", !23, i64 0, !24, i64 8, !25, i64 44, !25, i64 45, !15, i64 48, !26, i64 56, !6, i64 88, !15, i64 96, !15, i64 100, !33, i64 104, !33, i64 144, !15, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !25, i64 224, !25, i64 225, !25, i64 226, !6, i64 232, !6, i64 240, !6, i64 248}
!23 = !{!"_ZTSN4ardb8RunnableE"}
!24 = !{!"_ZTSN4ardb14ChannelOptionsE", !15, i64 0, !15, i64 4, !25, i64 8, !15, i64 12, !25, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !25, i64 32, !25, i64 33}
!25 = !{!"bool", !7, i64 0}
!26 = !{!"_ZTSN4ardb15ChannelPipelineE", !6, i64 0, !6, i64 8, !6, i64 16, !27, i64 24}
!27 = !{!"_ZTSN5btree9btree_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ardb21ChannelHandlerContextESt4lessIS6_ESaISt4pairIKS6_S9_EELi256EEE", !28, i64 0}
!28 = !{!"_ZTSN5btree19btree_map_containerINS_5btreeINS_16btree_map_paramsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ardb21ChannelHandlerContextESt4lessIS8_ESaISt4pairIKS8_SB_EELi256EEEEEEE", !29, i64 0}
!29 = !{!"_ZTSN5btree22btree_unique_containerINS_5btreeINS_16btree_map_paramsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ardb21ChannelHandlerContextESt4lessIS8_ESaISt4pairIKS8_SB_EELi256EEEEEEE", !30, i64 0}
!30 = !{!"_ZTSN5btree15btree_containerINS_5btreeINS_16btree_map_paramsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ardb21ChannelHandlerContextESt4lessIS8_ESaISt4pairIKS8_SB_EELi256EEEEEEE", !31, i64 0}
!31 = !{!"_ZTSN5btree5btreeINS_16btree_map_paramsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ardb21ChannelHandlerContextESt4lessIS7_ESaISt4pairIKS7_SA_EELi256EEEEE", !32, i64 0}
!32 = !{!"_ZTSN5btree5btreeINS_16btree_map_paramsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ardb21ChannelHandlerContextESt4lessIS7_ESaISt4pairIKS7_SA_EELi256EEEE17empty_base_handleIS6_PNS_10btree_nodeISH_EEEE", !6, i64 0}
!33 = !{!"_ZTSN4ardb6BufferE", !6, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !25, i64 32}
!34 = !{!"long long", !7, i64 0}


; 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: mustprogress uwtable
declare dso_local noundef i32 @_ZN4ardb12TimerChannel9TimeoutCBEP11aeEventLoopxPv(ptr noundef, i64 noundef, ptr noundef) #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4ardb12TimerChannel11OnScheduledEPNS_9TimerTaskE(ptr noundef nonnull align 8 dereferenceable(296) %0, ptr noundef %1) unnamed_addr #0 align 2 {
  %3 = tail call noundef i64 @_ZN4ardb5Timer25GetNearestTaskTriggerTimeEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  %4 = icmp slt i64 %3, 0
  br i1 %4, label %8, label %5

5:                                                ; preds = %2
  %6 = tail call noundef i64 @_ZN4ardb9TimerTask18GetNextTriggerTimeEv(ptr noundef nonnull align 8 dereferenceable(60) %1)
  %7 = icmp ugt i64 %3, %6
  br i1 %7, label %8, label %26

8:                                                ; preds = %5, %2
  %9 = getelementptr inbounds i8, ptr %0, i64 288
  %10 = load i64, ptr %9, align 8, !tbaa !5
  %.not = icmp eq i64 %10, -1
  br i1 %.not, label %20, label %11

11:                                               ; preds = %8
  %12 = icmp sgt i64 %3, 0
  br i1 %12, label %13, label %26

13:                                               ; preds = %11
  %14 = getelementptr inbounds i8, ptr %0, i64 32
  %15 = tail call noundef nonnull align 8 dereferenceable(288) ptr @_ZN4ardb7Channel10GetServiceEv(ptr noundef nonnull align 8 dereferenceable(256) %14)
  %16 = tail call noundef ptr @_ZN4ardb14ChannelService15GetRawEventLoopEv(ptr noundef nonnull align 8 dereferenceable(288) %15)
  %17 = load i64, ptr %9, align 8, !tbaa !5
  %18 = tail call noundef i64 @_ZN4ardb9TimerTask8GetDelayEv(ptr noundef nonnull align 8 dereferenceable(60) %1)
  %19 = tail call i32 @aeModifyTimeEvent(ptr noundef %16, i64 noundef %17, i64 noundef %18)
  br label %26

20:                                               ; preds = %8
  %21 = getelementptr inbounds i8, ptr %0, i64 32
  %22 = tail call noundef nonnull align 8 dereferenceable(288) ptr @_ZN4ardb7Channel10GetServiceEv(ptr noundef nonnull align 8 dereferenceable(256) %21)
  %23 = tail call noundef ptr @_ZN4ardb14ChannelService15GetRawEventLoopEv(ptr noundef nonnull align 8 dereferenceable(288) %22)
  %24 = tail call noundef i64 @_ZN4ardb9TimerTask8GetDelayEv(ptr noundef nonnull align 8 dereferenceable(60) %1)
  %25 = tail call i64 @aeCreateTimeEvent(ptr noundef %23, i64 noundef %24, ptr noundef nonnull @_ZN4ardb12TimerChannel9TimeoutCBEP11aeEventLoopxPv, ptr noundef nonnull %0, ptr noundef null)
  store i64 %25, ptr %9, align 8, !tbaa !5
  br label %26

26:                                               ; preds = %20, %11, %13, %5
  ret void
}

declare noundef i64 @_ZN4ardb5Timer25GetNearestTaskTriggerTimeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(288) ptr @_ZN4ardb7Channel10GetServiceEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #3 align 2

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

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

declare i64 @aeCreateTimeEvent(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

attributes #0 = { 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 = { "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 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" }

!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, !32, i64 288}
!6 = !{!"_ZTSN4ardb12TimerChannelE", !7, i64 0, !19, i64 32, !32, i64 288}
!7 = !{!"_ZTSN4ardb5TimerE", !8, i64 8, !13, i64 24}
!8 = !{!"_ZTSN4ardb14TimerTaskQueueE", !9, i64 0, !12, i64 8, !12, i64 12}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"int", !10, i64 0}
!13 = !{!"_ZTSN5btree9btree_mapIjPN4ardb9TimerTaskESt4lessIjESaISt4pairIKjS3_EELi256EEE", !14, i64 0}
!14 = !{!"_ZTSN5btree19btree_map_containerINS_5btreeINS_16btree_map_paramsIjPN4ardb9TimerTaskESt4lessIjESaISt4pairIKjS5_EELi256EEEEEEE", !15, i64 0}
!15 = !{!"_ZTSN5btree22btree_unique_containerINS_5btreeINS_16btree_map_paramsIjPN4ardb9TimerTaskESt4lessIjESaISt4pairIKjS5_EELi256EEEEEEE", !16, i64 0}
!16 = !{!"_ZTSN5btree15btree_containerINS_5btreeINS_16btree_map_paramsIjPN4ardb9TimerTaskESt4lessIjESaISt4pairIKjS5_EELi256EEEEEEE", !17, i64 0}
!17 = !{!"_ZTSN5btree5btreeINS_16btree_map_paramsIjPN4ardb9TimerTaskESt4lessIjESaISt4pairIKjS4_EELi256EEEEE", !18, i64 0}
!18 = !{!"_ZTSN5btree5btreeINS_16btree_map_paramsIjPN4ardb9TimerTaskESt4lessIjESaISt4pairIKjS4_EELi256EEEE17empty_base_handleISaIcEPNS_10btree_nodeISB_EEEE", !9, i64 0}
!19 = !{!"_ZTSN4ardb7ChannelE", !20, i64 0, !21, i64 8, !22, i64 44, !22, i64 45, !12, i64 48, !23, i64 56, !9, i64 88, !12, i64 96, !12, i64 100, !30, i64 104, !30, i64 144, !12, i64 184, !9, i64 192, !9, i64 200, !9, i64 208, !9, i64 216, !22, i64 224, !22, i64 225, !22, i64 226, !9, i64 232, !9, i64 240, !9, i64 248}
!20 = !{!"_ZTSN4ardb8RunnableE"}
!21 = !{!"_ZTSN4ardb14ChannelOptionsE", !12, i64 0, !12, i64 4, !22, i64 8, !12, i64 12, !22, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !22, i64 32, !22, i64 33}
!22 = !{!"bool", !10, i64 0}
!23 = !{!"_ZTSN4ardb15ChannelPipelineE", !9, i64 0, !9, i64 8, !9, i64 16, !24, i64 24}
!24 = !{!"_ZTSN5btree9btree_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ardb21ChannelHandlerContextESt4lessIS6_ESaISt4pairIKS6_S9_EELi256EEE", !25, i64 0}
!25 = !{!"_ZTSN5btree19btree_map_containerINS_5btreeINS_16btree_map_paramsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ardb21ChannelHandlerContextESt4lessIS8_ESaISt4pairIKS8_SB_EELi256EEEEEEE", !26, i64 0}
!26 = !{!"_ZTSN5btree22btree_unique_containerINS_5btreeINS_16btree_map_paramsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ardb21ChannelHandlerContextESt4lessIS8_ESaISt4pairIKS8_SB_EELi256EEEEEEE", !27, i64 0}
!27 = !{!"_ZTSN5btree15btree_containerINS_5btreeINS_16btree_map_paramsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ardb21ChannelHandlerContextESt4lessIS8_ESaISt4pairIKS8_SB_EELi256EEEEEEE", !28, i64 0}
!28 = !{!"_ZTSN5btree5btreeINS_16btree_map_paramsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ardb21ChannelHandlerContextESt4lessIS7_ESaISt4pairIKS7_SA_EELi256EEEEE", !29, i64 0}
!29 = !{!"_ZTSN5btree5btreeINS_16btree_map_paramsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ardb21ChannelHandlerContextESt4lessIS7_ESaISt4pairIKS7_SA_EELi256EEEE17empty_base_handleIS6_PNS_10btree_nodeISH_EEEE", !9, i64 0}
!30 = !{!"_ZTSN4ardb6BufferE", !9, i64 0, !31, i64 8, !31, i64 16, !31, i64 24, !22, i64 32}
!31 = !{!"long", !10, i64 0}
!32 = !{!"long long", !10, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass