; LLVM IR from erwincoumans/tiny-differentiable-simulator :: third_party/zeromq/src/pipe.ll (ZN3zmq6pipe_t9terminateEb)

; 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.zmq::msg_t" = type { %union.anon }
%union.anon = type { %struct.anon }
%struct.anon = type { ptr, [34 x i8], i8, i8, [16 x i8], i32 }
%"class.zmq::pipe_t" = type { %"class.zmq::object_t.base", [4 x i8], %"class.zmq::array_item_t.base", [4 x i8], %"class.zmq::array_item_t.base.9", [4 x i8], %"class.zmq::array_item_t.base.11", ptr, ptr, i8, i8, i32, i32, i32, i32, i64, i64, i64, ptr, ptr, i32, i8, [3 x i8], %"struct.zmq::blob_t", i32, i8, [3 x i8], %"struct.zmq::endpoint_uri_pair_t" }
%"class.zmq::object_t.base" = type <{ ptr, ptr, i32 }>
%"class.zmq::array_item_t.base" = type <{ ptr, i32 }>
%"class.zmq::array_item_t.base.9" = type <{ ptr, i32 }>
%"class.zmq::array_item_t.base.11" = type <{ ptr, i32 }>
%"struct.zmq::blob_t" = type <{ ptr, i64, i8, [7 x i8] }>
%"struct.zmq::endpoint_uri_pair_t" = type <{ %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.12 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.12 = type { i64, [8 x i8] }

@stderr = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [6 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: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1

declare i32 @fflush(ptr noundef) #2

declare void @_ZN3zmq9zmq_abortEPKc(ptr noundef) #2

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

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

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

declare void @_ZN3zmq8object_t18send_pipe_term_ackEPNS_6pipe_tE(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3zmq6pipe_t9terminateEb(ptr noundef nonnull align 8 dereferenceable(264) %0, i1 noundef zeroext %1) #3 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca i8, align 1
  %5 = alloca %"class.zmq::msg_t", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  %6 = zext i1 %1 to i8
  store i8 %6, ptr %4, align 1, !tbaa !9
  %7 = load ptr, ptr %3, align 8
  %8 = load i8, ptr %4, align 1, !tbaa !9, !range !11, !noundef !12
  %9 = trunc i8 %8 to i1
  %10 = getelementptr inbounds %"class.zmq::pipe_t", ptr %7, i32 0, i32 21
  %11 = zext i1 %9 to i8
  store i8 %11, ptr %10, align 4, !tbaa !13
  %12 = getelementptr inbounds %"class.zmq::pipe_t", ptr %7, i32 0, i32 20
  %13 = load i32, ptr %12, align 8, !tbaa !27
  %14 = icmp eq i32 %13, 4
  br i1 %14, label %19, label %15

15:                                               ; preds = %2
  %16 = getelementptr inbounds %"class.zmq::pipe_t", ptr %7, i32 0, i32 20
  %17 = load i32, ptr %16, align 8, !tbaa !27
  %18 = icmp eq i32 %17, 5
  br i1 %18, label %19, label %20

19:                                               ; preds = %15, %2
  br label %81

20:                                               ; preds = %15
  %21 = getelementptr inbounds %"class.zmq::pipe_t", ptr %7, i32 0, i32 20
  %22 = load i32, ptr %21, align 8, !tbaa !27
  %23 = icmp eq i32 %22, 3
  br i1 %23, label %24, label %25

24:                                               ; preds = %20
  br label %81

25:                                               ; preds = %20
  %26 = getelementptr inbounds %"class.zmq::pipe_t", ptr %7, i32 0, i32 20
  %27 = load i32, ptr %26, align 8, !tbaa !27
  %28 = icmp eq i32 %27, 0
  br i1 %28, label %29, label %33

29:                                               ; preds = %25
  %30 = getelementptr inbounds %"class.zmq::pipe_t", ptr %7, i32 0, i32 18
  %31 = load ptr, ptr %30, align 8, !tbaa !28
  call void @_ZN3zmq8object_t14send_pipe_termEPNS_6pipe_tE(ptr noundef nonnull align 8 dereferenceable(20) %7, ptr noundef %31)
  %32 = getelementptr inbounds %"class.zmq::pipe_t", ptr %7, i32 0, i32 20
  store i32 4, ptr %32, align 8, !tbaa !27
  br label %69

33:                                               ; preds = %25
  %34 = getelementptr inbounds %"class.zmq::pipe_t", ptr %7, i32 0, i32 20
  %35 = load i32, ptr %34, align 8, !tbaa !27
  %36 = icmp eq i32 %35, 2
  br i1 %36, label %37, label %46

37:                                               ; preds = %33
  %38 = getelementptr inbounds %"class.zmq::pipe_t", ptr %7, i32 0, i32 21
  %39 = load i8, ptr %38, align 4, !tbaa !13, !range !11, !noundef !12
  %40 = trunc i8 %39 to i1
  br i1 %40, label %46, label %41

41:                                               ; preds = %37
  call void @_ZNK3zmq6pipe_t8rollbackEv(ptr noundef nonnull align 8 dereferenceable(264) %7)
  %42 = getelementptr inbounds %"class.zmq::pipe_t", ptr %7, i32 0, i32 8
  store ptr null, ptr %42, align 8, !tbaa !29
  %43 = getelementptr inbounds %"class.zmq::pipe_t", ptr %7, i32 0, i32 18
  %44 = load ptr, ptr %43, align 8, !tbaa !28
  call void @_ZN3zmq8object_t18send_pipe_term_ackEPNS_6pipe_tE(ptr noundef nonnull align 8 dereferenceable(20) %7, ptr noundef %44)
  %45 = getelementptr inbounds %"class.zmq::pipe_t", ptr %7, i32 0, i32 20
  store i32 3, ptr %45, align 8, !tbaa !27
  br label %68

46:                                               ; preds = %37, %33
  %47 = getelementptr inbounds %"class.zmq::pipe_t", ptr %7, i32 0, i32 20
  %48 = load i32, ptr %47, align 8, !tbaa !27
  %49 = icmp eq i32 %48, 2
  br i1 %49, label %50, label %51

50:                                               ; preds = %46
  br label %67

51:                                               ; preds = %46
  %52 = getelementptr inbounds %"class.zmq::pipe_t", ptr %7, i32 0, i32 20
  %53 = load i32, ptr %52, align 8, !tbaa !27
  %54 = icmp eq i32 %53, 1
  br i1 %54, label %55, label %59

55:                                               ; preds = %51
  %56 = getelementptr inbounds %"class.zmq::pipe_t", ptr %7, i32 0, i32 18
  %57 = load ptr, ptr %56, align 8, !tbaa !28
  call void @_ZN3zmq8object_t14send_pipe_termEPNS_6pipe_tE(ptr noundef nonnull align 8 dereferenceable(20) %7, ptr noundef %57)
  %58 = getelementptr inbounds %"class.zmq::pipe_t", ptr %7, i32 0, i32 20
  store i32 4, ptr %58, align 8, !tbaa !27
  br label %66

59:                                               ; preds = %51
  br label %60

60:                                               ; preds = %59
  %61 = load ptr, ptr @stderr, align 8, !tbaa !5
  %62 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %61, ptr noundef @.str.4, ptr noundef @.str.16, ptr noundef @.str.1, i32 noundef 441) #4
  %63 = load ptr, ptr @stderr, align 8, !tbaa !5
  %64 = call i32 @fflush(ptr noundef %63)
  call void @_ZN3zmq9zmq_abortEPKc(ptr noundef @.str.16)
  br label %65

65:                                               ; preds = %60
  br label %66

66:                                               ; preds = %65, %55
  br label %67

67:                                               ; preds = %66, %50
  br label %68

68:                                               ; preds = %67, %41
  br label %69

69:                                               ; preds = %68, %29
  %70 = getelementptr inbounds %"class.zmq::pipe_t", ptr %7, i32 0, i32 10
  store i8 0, ptr %70, align 1, !tbaa !30
  %71 = getelementptr inbounds %"class.zmq::pipe_t", ptr %7, i32 0, i32 8
  %72 = load ptr, ptr %71, align 8, !tbaa !29
  %73 = icmp ne ptr %72, null
  br i1 %73, label %74, label %81

74:                                               ; preds = %69
  call void @_ZNK3zmq6pipe_t8rollbackEv(ptr noundef nonnull align 8 dereferenceable(264) %7)
  call void @llvm.lifetime.start.p0(i64 64, ptr %5) #4
  %75 = call noundef i32 @_ZN3zmq5msg_t14init_delimiterEv(ptr noundef nonnull align 8 dereferenceable(64) %5)
  %76 = getelementptr inbounds %"class.zmq::pipe_t", ptr %7, i32 0, i32 8
  %77 = load ptr, ptr %76, align 8, !tbaa !29
  %78 = load ptr, ptr %77, align 8, !tbaa !31
  %79 = getelementptr inbounds ptr, ptr %78, i64 2
  %80 = load ptr, ptr %79, align 8
  call void %80(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef nonnull align 8 dereferenceable(64) %5, i1 noundef zeroext false)
  call void @_ZN3zmq6pipe_t5flushEv(ptr noundef nonnull align 8 dereferenceable(264) %7)
  call void @llvm.lifetime.end.p0(i64 64, ptr %5) #4
  br label %81

81:                                               ; preds = %74, %69, %24, %19
  ret void
}

declare void @_ZN3zmq8object_t14send_pipe_termEPNS_6pipe_tE(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef) #2

declare noundef i32 @_ZN3zmq5msg_t14init_delimiterEv(ptr noundef nonnull align 8 dereferenceable(64)) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { "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 = { 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 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !10, i64 156}
!14 = !{!"_ZTSN3zmq6pipe_tE", !15, i64 0, !17, i64 24, !18, i64 40, !19, i64 56, !6, i64 72, !6, i64 80, !10, i64 88, !10, i64 89, !16, i64 92, !16, i64 96, !16, i64 100, !16, i64 104, !20, i64 112, !20, i64 120, !20, i64 128, !6, i64 136, !6, i64 144, !21, i64 152, !10, i64 156, !22, i64 160, !16, i64 184, !10, i64 188, !23, i64 192}
!15 = !{!"_ZTSN3zmq8object_tE", !6, i64 8, !16, i64 16}
!16 = !{!"int", !7, i64 0}
!17 = !{!"_ZTSN3zmq12array_item_tILi1EEE", !16, i64 8}
!18 = !{!"_ZTSN3zmq12array_item_tILi2EEE", !16, i64 8}
!19 = !{!"_ZTSN3zmq12array_item_tILi3EEE", !16, i64 8}
!20 = !{!"long", !7, i64 0}
!21 = !{!"_ZTSN3zmq6pipe_tUt_E", !7, i64 0}
!22 = !{!"_ZTSN3zmq6blob_tE", !6, i64 0, !20, i64 8, !10, i64 16}
!23 = !{!"_ZTSN3zmq19endpoint_uri_pair_tE", !24, i64 0, !24, i64 32, !26, i64 64}
!24 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !25, i64 0, !20, i64 8, !7, i64 16}
!25 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!26 = !{!"_ZTSN3zmq15endpoint_type_tE", !7, i64 0}
!27 = !{!14, !21, i64 152}
!28 = !{!14, !6, i64 136}
!29 = !{!14, !6, i64 80}
!30 = !{!14, !10, i64 89}
!31 = !{!32, !32, i64 0}
!32 = !{!"vtable pointer", !8, 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"

%"class.zmq::msg_t" = type { %union.anon }
%union.anon = type { %struct.anon }
%struct.anon = type { ptr, [34 x i8], i8, i8, [16 x i8], i32 }

@stderr = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [6 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: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #1

declare void @_ZN3zmq9zmq_abortEPKc(ptr noundef) local_unnamed_addr #2

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

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

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

declare void @_ZN3zmq8object_t18send_pipe_term_ackEPNS_6pipe_tE(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3zmq6pipe_t9terminateEb(ptr noundef nonnull align 8 dereferenceable(264) %0, i1 noundef zeroext %1) local_unnamed_addr #3 align 2 {
  %3 = alloca %"class.zmq::msg_t", align 8
  %4 = zext i1 %1 to i8
  %5 = getelementptr inbounds i8, ptr %0, i64 156
  store i8 %4, ptr %5, align 4, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 152
  %7 = load i32, ptr %6, align 8, !tbaa !23
  switch i32 %7, label %19 [
    i32 4, label %33
    i32 5, label %33
    i32 3, label %33
    i32 0, label %8
    i32 2, label %11
    i32 1, label %16
  ]

8:                                                ; preds = %2
  %9 = getelementptr inbounds i8, ptr %0, i64 136
  %10 = load ptr, ptr %9, align 8, !tbaa !24
  tail call void @_ZN3zmq8object_t14send_pipe_termEPNS_6pipe_tE(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef %10)
  store i32 4, ptr %6, align 8, !tbaa !23
  br label %.thread

11:                                               ; preds = %2
  br i1 %1, label %.thread, label %12

12:                                               ; preds = %11
  tail call void @_ZNK3zmq6pipe_t8rollbackEv(ptr noundef nonnull align 8 dereferenceable(264) %0)
  %13 = getelementptr inbounds i8, ptr %0, i64 80
  store ptr null, ptr %13, align 8, !tbaa !25
  %14 = getelementptr inbounds i8, ptr %0, i64 136
  %15 = load ptr, ptr %14, align 8, !tbaa !24
  tail call void @_ZN3zmq8object_t18send_pipe_term_ackEPNS_6pipe_tE(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef %15)
  store i32 3, ptr %6, align 8, !tbaa !23
  br label %.thread

16:                                               ; preds = %2
  %17 = getelementptr inbounds i8, ptr %0, i64 136
  %18 = load ptr, ptr %17, align 8, !tbaa !24
  tail call void @_ZN3zmq8object_t14send_pipe_termEPNS_6pipe_tE(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef %18)
  store i32 4, ptr %6, align 8, !tbaa !23
  br label %.thread

19:                                               ; preds = %2
  %20 = load ptr, ptr @stderr, align 8, !tbaa !26
  %21 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.1, i32 noundef 441) #4
  %22 = load ptr, ptr @stderr, align 8, !tbaa !26
  %23 = tail call i32 @fflush(ptr noundef %22)
  tail call void @_ZN3zmq9zmq_abortEPKc(ptr noundef nonnull @.str.16)
  br label %.thread

.thread:                                          ; preds = %11, %12, %16, %19, %8
  %24 = getelementptr inbounds i8, ptr %0, i64 89
  store i8 0, ptr %24, align 1, !tbaa !27
  %25 = getelementptr inbounds i8, ptr %0, i64 80
  %26 = load ptr, ptr %25, align 8, !tbaa !25
  %.not = icmp eq ptr %26, null
  br i1 %.not, label %33, label %27

27:                                               ; preds = %.thread
  tail call void @_ZNK3zmq6pipe_t8rollbackEv(ptr noundef nonnull align 8 dereferenceable(264) %0)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #5
  %28 = call noundef i32 @_ZN3zmq5msg_t14init_delimiterEv(ptr noundef nonnull align 8 dereferenceable(64) %3)
  %29 = load ptr, ptr %25, align 8, !tbaa !25
  %30 = load ptr, ptr %29, align 8, !tbaa !28
  %31 = getelementptr inbounds i8, ptr %30, i64 16
  %32 = load ptr, ptr %31, align 8
  call void %32(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(64) %3, i1 noundef zeroext false)
  call void @_ZN3zmq6pipe_t5flushEv(ptr noundef nonnull align 8 dereferenceable(264) %0)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #5
  br label %33

33:                                               ; preds = %2, %2, %2, %27, %.thread
  ret void
}

declare void @_ZN3zmq8object_t14send_pipe_termEPNS_6pipe_tE(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef) local_unnamed_addr #2

declare noundef i32 @_ZN3zmq5msg_t14init_delimiterEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nofree 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 = { "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 = { cold nounwind }
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, !15, i64 156}
!6 = !{!"_ZTSN3zmq6pipe_tE", !7, i64 0, !12, i64 24, !13, i64 40, !14, i64 56, !8, i64 72, !8, i64 80, !15, i64 88, !15, i64 89, !11, i64 92, !11, i64 96, !11, i64 100, !11, i64 104, !16, i64 112, !16, i64 120, !16, i64 128, !8, i64 136, !8, i64 144, !17, i64 152, !15, i64 156, !18, i64 160, !11, i64 184, !15, i64 188, !19, i64 192}
!7 = !{!"_ZTSN3zmq8object_tE", !8, i64 8, !11, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"_ZTSN3zmq12array_item_tILi1EEE", !11, i64 8}
!13 = !{!"_ZTSN3zmq12array_item_tILi2EEE", !11, i64 8}
!14 = !{!"_ZTSN3zmq12array_item_tILi3EEE", !11, i64 8}
!15 = !{!"bool", !9, i64 0}
!16 = !{!"long", !9, i64 0}
!17 = !{!"_ZTSN3zmq6pipe_tUt_E", !9, i64 0}
!18 = !{!"_ZTSN3zmq6blob_tE", !8, i64 0, !16, i64 8, !15, i64 16}
!19 = !{!"_ZTSN3zmq19endpoint_uri_pair_tE", !20, i64 0, !20, i64 32, !22, i64 64}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !21, i64 0, !16, i64 8, !9, i64 16}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !8, i64 0}
!22 = !{!"_ZTSN3zmq15endpoint_type_tE", !9, i64 0}
!23 = !{!6, !17, i64 152}
!24 = !{!6, !8, i64 136}
!25 = !{!6, !8, i64 80}
!26 = !{!8, !8, i64 0}
!27 = !{!6, !15, i64 89}
!28 = !{!29, !29, i64 0}
!29 = !{!"vtable pointer", !10, i64 0}


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