; LLVM IR from yinqiwen/ardb :: src/common/channel/channel_service.ll (ZN4ardb14ChannelService12CloneChannelEPNS_7ChannelE)

; 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::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.14" }
%"class.btree::btree_map.14" = type { %"class.btree::btree_map_container.15" }
%"class.btree::btree_map_container.15" = type { %"class.btree::btree_unique_container.16" }
%"class.btree::btree_unique_container.16" = type { %"class.btree::btree_container.17" }
%"class.btree::btree_container.17" = type { %"class.btree::btree.18" }
%"class.btree::btree.18" = 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] }>

@.str = external hidden unnamed_addr constant [86 x i8], align 1
@__FUNCTION__._ZN4ardb14ChannelService12CloneChannelEPNS_7ChannelE = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [46 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4ardb7Channel5GetIDEv(ptr noundef nonnull align 8 dereferenceable(256)) #1 align 2

declare noundef ptr @_ZN4ardb10ArdbLogger13GetLogCheckerEv() #2

declare noundef ptr @_ZN4ardb10ArdbLogger13GetLogHandlerEv() #2

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN4ardb14ChannelService12CloneChannelEPNS_7ChannelE(ptr noundef nonnull align 8 dereferenceable(288) %0, ptr noundef %1) #3 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %10 = load ptr, ptr %4, align 8
  br label %11

11:                                               ; preds = %2
  %12 = load ptr, ptr %5, align 8, !tbaa !5
  %13 = icmp eq ptr null, %12
  br i1 %13, label %14, label %15

14:                                               ; preds = %11
  store ptr null, ptr %3, align 8
  br label %70

15:                                               ; preds = %11
  br label %16

16:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  %18 = call noundef i32 @_ZN4ardb7Channel5GetIDEv(ptr noundef nonnull align 8 dereferenceable(256) %17)
  store i32 %18, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %19 = load i32, ptr %6, align 4, !tbaa !9
  %20 = and i32 %19, 15
  store i32 %20, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  store ptr null, ptr %8, align 8, !tbaa !5
  %21 = load i32, ptr %7, align 4, !tbaa !9
  switch i32 %21, label %28 [
    i32 1, label %22
    i32 2, label %24
    i32 3, label %26
  ]

22:                                               ; preds = %16
  %23 = call noundef ptr @_ZN4ardb14ChannelService22NewClientSocketChannelEv(ptr noundef nonnull align 8 dereferenceable(288) %10)
  store ptr %23, ptr %8, align 8, !tbaa !5
  br label %37

24:                                               ; preds = %16
  %25 = call noundef ptr @_ZN4ardb14ChannelService22NewServerSocketChannelEv(ptr noundef nonnull align 8 dereferenceable(288) %10)
  store ptr %25, ptr %8, align 8, !tbaa !5
  br label %37

26:                                               ; preds = %16
  %27 = call noundef ptr @_ZN4ardb14ChannelService24NewDatagramSocketChannelEv(ptr noundef nonnull align 8 dereferenceable(288) %10)
  store ptr %27, ptr %8, align 8, !tbaa !5
  br label %37

28:                                               ; preds = %16
  br label %29

29:                                               ; preds = %28
  %30 = call noundef ptr @_ZN4ardb10ArdbLogger13GetLogCheckerEv()
  %31 = call noundef zeroext i1 %30(i32 noundef 2)
  br i1 %31, label %32, label %34

32:                                               ; preds = %29
  %33 = call noundef ptr @_ZN4ardb10ArdbLogger13GetLogHandlerEv()
  call void (i32, ptr, ptr, i32, ptr, ...) %33(i32 noundef 2, ptr noundef @.str, ptr noundef @__FUNCTION__._ZN4ardb14ChannelService12CloneChannelEPNS_7ChannelE, i32 noundef 285, ptr noundef @.str.2)
  br label %34

34:                                               ; preds = %32, %29
  br label %35

35:                                               ; preds = %34
  br label %36

36:                                               ; preds = %35
  store ptr null, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %69

37:                                               ; preds = %26, %24, %22
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  %39 = icmp ne ptr null, %38
  br i1 %39, label %40, label %67

40:                                               ; preds = %37
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = getelementptr inbounds %"class.ardb::Channel", ptr %41, i32 0, i32 12
  %43 = load ptr, ptr %42, align 8, !tbaa !11
  %44 = icmp ne ptr null, %43
  br i1 %44, label %45, label %53

45:                                               ; preds = %40
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = getelementptr inbounds %"class.ardb::Channel", ptr %47, i32 0, i32 12
  %49 = load ptr, ptr %48, align 8, !tbaa !11
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = getelementptr inbounds %"class.ardb::Channel", ptr %50, i32 0, i32 13
  %52 = load ptr, ptr %51, align 8, !tbaa !25
  call void @_ZN4ardb7Channel29SetChannelPipelineInitializorEPFvPNS_15ChannelPipelineEPvES3_(ptr noundef nonnull align 8 dereferenceable(256) %46, ptr noundef %49, ptr noundef %52)
  br label %53

53:                                               ; preds = %45, %40
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = getelementptr inbounds %"class.ardb::Channel", ptr %54, i32 0, i32 14
  %56 = load ptr, ptr %55, align 8, !tbaa !26
  %57 = icmp ne ptr null, %56
  br i1 %57, label %58, label %66

58:                                               ; preds = %53
  %59 = load ptr, ptr %8, align 8, !tbaa !5
  %60 = load ptr, ptr %5, align 8, !tbaa !5
  %61 = getelementptr inbounds %"class.ardb::Channel", ptr %60, i32 0, i32 14
  %62 = load ptr, ptr %61, align 8, !tbaa !26
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = getelementptr inbounds %"class.ardb::Channel", ptr %63, i32 0, i32 15
  %65 = load ptr, ptr %64, align 8, !tbaa !27
  call void @_ZN4ardb7Channel27SetChannelPipelineFinalizerEPFvPNS_15ChannelPipelineEPvES3_(ptr noundef nonnull align 8 dereferenceable(256) %59, ptr noundef %62, ptr noundef %65)
  br label %66

66:                                               ; preds = %58, %53
  br label %67

67:                                               ; preds = %66, %37
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %68, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %69

69:                                               ; preds = %67, %36
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %70

70:                                               ; preds = %69, %14
  %71 = load ptr, ptr %3, align 8
  ret ptr %71
}

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4ardb7Channel29SetChannelPipelineInitializorEPFvPNS_15ChannelPipelineEPvES3_(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef, ptr noundef) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4ardb7Channel27SetChannelPipelineFinalizerEPFvPNS_15ChannelPipelineEPvES3_(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef, ptr noundef) #1 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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 192}
!12 = !{!"_ZTSN4ardb7ChannelE", !13, i64 0, !14, i64 8, !15, i64 44, !15, i64 45, !10, i64 48, !16, i64 56, !6, i64 88, !10, i64 96, !10, i64 100, !23, i64 104, !23, i64 144, !10, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !15, i64 224, !15, i64 225, !15, i64 226, !6, i64 232, !6, i64 240, !6, i64 248}
!13 = !{!"_ZTSN4ardb8RunnableE"}
!14 = !{!"_ZTSN4ardb14ChannelOptionsE", !10, i64 0, !10, i64 4, !15, i64 8, !10, i64 12, !15, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !15, i64 32, !15, i64 33}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTSN4ardb15ChannelPipelineE", !6, i64 0, !6, i64 8, !6, i64 16, !17, i64 24}
!17 = !{!"_ZTSN5btree9btree_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ardb21ChannelHandlerContextESt4lessIS6_ESaISt4pairIKS6_S9_EELi256EEE", !18, i64 0}
!18 = !{!"_ZTSN5btree19btree_map_containerINS_5btreeINS_16btree_map_paramsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ardb21ChannelHandlerContextESt4lessIS8_ESaISt4pairIKS8_SB_EELi256EEEEEEE", !19, i64 0}
!19 = !{!"_ZTSN5btree22btree_unique_containerINS_5btreeINS_16btree_map_paramsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ardb21ChannelHandlerContextESt4lessIS8_ESaISt4pairIKS8_SB_EELi256EEEEEEE", !20, i64 0}
!20 = !{!"_ZTSN5btree15btree_containerINS_5btreeINS_16btree_map_paramsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ardb21ChannelHandlerContextESt4lessIS8_ESaISt4pairIKS8_SB_EELi256EEEEEEE", !21, i64 0}
!21 = !{!"_ZTSN5btree5btreeINS_16btree_map_paramsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ardb21ChannelHandlerContextESt4lessIS7_ESaISt4pairIKS7_SA_EELi256EEEEE", !22, i64 0}
!22 = !{!"_ZTSN5btree5btreeINS_16btree_map_paramsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ardb21ChannelHandlerContextESt4lessIS7_ESaISt4pairIKS7_SA_EELi256EEEE17empty_base_handleIS6_PNS_10btree_nodeISH_EEEE", !6, i64 0}
!23 = !{!"_ZTSN4ardb6BufferE", !6, i64 0, !24, i64 8, !24, i64 16, !24, i64 24, !15, i64 32}
!24 = !{!"long", !7, i64 0}
!25 = !{!12, !6, i64 200}
!26 = !{!12, !6, i64 208}
!27 = !{!12, !6, i64 216}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str = external hidden unnamed_addr constant [86 x i8], align 1
@__FUNCTION__._ZN4ardb14ChannelService12CloneChannelEPNS_7ChannelE = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [46 x i8], align 1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4ardb7Channel5GetIDEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #0 align 2

declare noundef ptr @_ZN4ardb10ArdbLogger13GetLogCheckerEv() local_unnamed_addr #1

declare noundef ptr @_ZN4ardb10ArdbLogger13GetLogHandlerEv() local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN4ardb14ChannelService12CloneChannelEPNS_7ChannelE(ptr noundef nonnull align 8 dereferenceable(288) %0, ptr noundef %1) local_unnamed_addr #2 align 2 {
  %3 = icmp eq ptr %1, null
  br i1 %3, label %31, label %4

4:                                                ; preds = %2
  %5 = tail call noundef i32 @_ZN4ardb7Channel5GetIDEv(ptr noundef nonnull align 8 dereferenceable(256) %1)
  %6 = and i32 %5, 15
  switch i32 %6, label %13 [
    i32 1, label %7
    i32 2, label %9
    i32 3, label %11
  ]

7:                                                ; preds = %4
  %8 = tail call noundef ptr @_ZN4ardb14ChannelService22NewClientSocketChannelEv(ptr noundef nonnull align 8 dereferenceable(288) %0)
  br label %18

9:                                                ; preds = %4
  %10 = tail call noundef ptr @_ZN4ardb14ChannelService22NewServerSocketChannelEv(ptr noundef nonnull align 8 dereferenceable(288) %0)
  br label %18

11:                                               ; preds = %4
  %12 = tail call noundef ptr @_ZN4ardb14ChannelService24NewDatagramSocketChannelEv(ptr noundef nonnull align 8 dereferenceable(288) %0)
  br label %18

13:                                               ; preds = %4
  %14 = tail call noundef ptr @_ZN4ardb10ArdbLogger13GetLogCheckerEv()
  %15 = tail call noundef zeroext i1 %14(i32 noundef 2)
  br i1 %15, label %16, label %31

16:                                               ; preds = %13
  %17 = tail call noundef ptr @_ZN4ardb10ArdbLogger13GetLogHandlerEv()
  tail call void (i32, ptr, ptr, i32, ptr, ...) %17(i32 noundef 2, ptr noundef nonnull @.str, ptr noundef nonnull @__FUNCTION__._ZN4ardb14ChannelService12CloneChannelEPNS_7ChannelE, i32 noundef 285, ptr noundef nonnull @.str.2)
  br label %31

18:                                               ; preds = %11, %9, %7
  %.0 = phi ptr [ %12, %11 ], [ %10, %9 ], [ %8, %7 ]
  %.not = icmp eq ptr %.0, null
  br i1 %.not, label %31, label %19

19:                                               ; preds = %18
  %20 = getelementptr inbounds i8, ptr %1, i64 192
  %21 = load ptr, ptr %20, align 8, !tbaa !5
  %.not19 = icmp eq ptr %21, null
  br i1 %.not19, label %25, label %22

22:                                               ; preds = %19
  %23 = getelementptr inbounds i8, ptr %1, i64 200
  %24 = load ptr, ptr %23, align 8, !tbaa !23
  tail call void @_ZN4ardb7Channel29SetChannelPipelineInitializorEPFvPNS_15ChannelPipelineEPvES3_(ptr noundef nonnull align 8 dereferenceable(256) %.0, ptr noundef nonnull %21, ptr noundef %24)
  br label %25

25:                                               ; preds = %22, %19
  %26 = getelementptr inbounds i8, ptr %1, i64 208
  %27 = load ptr, ptr %26, align 8, !tbaa !24
  %.not20 = icmp eq ptr %27, null
  br i1 %.not20, label %31, label %28

28:                                               ; preds = %25
  %29 = getelementptr inbounds i8, ptr %1, i64 216
  %30 = load ptr, ptr %29, align 8, !tbaa !25
  tail call void @_ZN4ardb7Channel27SetChannelPipelineFinalizerEPFvPNS_15ChannelPipelineEPvES3_(ptr noundef nonnull align 8 dereferenceable(256) %.0, ptr noundef nonnull %27, ptr noundef %30)
  br label %31

31:                                               ; preds = %16, %13, %25, %28, %18, %2
  %.1 = phi ptr [ null, %2 ], [ null, %16 ], [ null, %13 ], [ %.0, %25 ], [ %.0, %28 ], [ null, %18 ]
  ret ptr %.1
}

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

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

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

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

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

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

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


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