; LLVM IR from modlfo/AudioEngine :: AudioEngine/Source/Server.ll (ZN6Server14waitForMessageEv)

; 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.Server = type { %"class.juce::Thread.base", i32, %class.ServerConnections, %"class.juce::OwnedArray", %"class.juce::MemoryBlock", %"class.juce::MemoryBlock", ptr }
%"class.juce::Thread.base" = type <{ ptr, %"class.juce::String", ptr, ptr, %"class.juce::CriticalSection", %"class.juce::WaitableEvent", %"class.juce::WaitableEvent", i32, [4 x i8], i64, i32, i8 }>
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::CriticalSection" = 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 }
%"class.juce::WaitableEvent" = type <{ %union.pthread_cond_t, %union.pthread_mutex_t, i8, i8, [6 x i8] }>
%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.ServerConnections = type { %"class.juce::Thread.base", ptr, ptr }
%"class.juce::OwnedArray" = type { %"class.juce::ArrayAllocationBase", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase" = type <{ %"class.juce::HeapBlock", i32, [4 x i8] }>
%"class.juce::HeapBlock" = type { ptr }
%"class.juce::MemoryBlock" = type { %"class.juce::HeapBlock.0", i64 }
%"class.juce::HeapBlock.0" = type { ptr }

@.str.3 = external hidden unnamed_addr constant [25 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: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce6Thread16threadShouldExitEv(ptr noundef nonnull align 8 dereferenceable(285)) #1 align 2

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

9:                                                ; preds = %67, %1
  %10 = call noundef zeroext i1 @_ZNK4juce6Thread16threadShouldExitEv(ptr noundef nonnull align 8 dereferenceable(285) %8)
  %11 = xor i1 %10, true
  br i1 %11, label %12, label %68

12:                                               ; preds = %9
  %13 = getelementptr inbounds %class.Server, ptr %8, i32 0, i32 1
  %14 = load i32, ptr %13, align 8, !tbaa !9
  %15 = getelementptr inbounds %class.Server, ptr %8, i32 0, i32 3
  %16 = call noundef i32 @_ZNK4juce10OwnedArrayINS_15StreamingSocketENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %15) #5
  %17 = icmp ne i32 %14, %16
  br i1 %17, label %18, label %25

18:                                               ; preds = %12
  %19 = getelementptr inbounds %class.Server, ptr %8, i32 0, i32 3
  %20 = call noundef i32 @_ZNK4juce10OwnedArrayINS_15StreamingSocketENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %19) #5
  %21 = getelementptr inbounds %class.Server, ptr %8, i32 0, i32 1
  store i32 %20, ptr %21, align 8, !tbaa !9
  %22 = getelementptr inbounds %class.Server, ptr %8, i32 0, i32 1
  %23 = load i32, ptr %22, align 8, !tbaa !9
  %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %23)
  br label %25

25:                                               ; preds = %18, %12
  %26 = getelementptr inbounds %class.Server, ptr %8, i32 0, i32 1
  %27 = load i32, ptr %26, align 8, !tbaa !9
  %28 = icmp sle i32 %27, 0
  br i1 %28, label %29, label %31

29:                                               ; preds = %25
  %30 = call noundef zeroext i1 @_ZNK4juce6Thread4waitEi(ptr noundef nonnull align 8 dereferenceable(285) %8, i32 noundef 100)
  br label %67

31:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  %32 = getelementptr inbounds %class.Server, ptr %8, i32 0, i32 1
  %33 = load i32, ptr %32, align 8, !tbaa !9
  %34 = sdiv i32 100, %33
  store i32 %34, ptr %4, align 4, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %35 = getelementptr inbounds %class.Server, ptr %8, i32 0, i32 3
  %36 = call noundef ptr @_ZNK4juce10OwnedArrayINS_15StreamingSocketENS_20DummyCriticalSectionEE5beginEv(ptr noundef nonnull align 8 dereferenceable(20) %35) #5
  store ptr %36, ptr %5, align 8, !tbaa !5
  br label %37

37:                                               ; preds = %62, %31
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = getelementptr inbounds %class.Server, ptr %8, i32 0, i32 3
  %40 = call noundef ptr @_ZNK4juce10OwnedArrayINS_15StreamingSocketENS_20DummyCriticalSectionEE3endEv(ptr noundef nonnull align 8 dereferenceable(20) %39) #5
  %41 = icmp ne ptr %38, %40
  br i1 %41, label %42, label %63

42:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = load ptr, ptr %43, align 8, !tbaa !5
  %45 = load i32, ptr %4, align 4, !tbaa !25
  %46 = call noundef i32 @_ZN6Server14receiveMessageEPN4juce15StreamingSocketEi(ptr noundef nonnull align 8 dereferenceable(664) %8, ptr noundef %44, i32 noundef %45)
  store i32 %46, ptr %6, align 4, !tbaa !26
  %47 = load i32, ptr %6, align 4, !tbaa !26
  %48 = icmp eq i32 %47, 0
  br i1 %48, label %49, label %50

49:                                               ; preds = %42
  store i1 true, ptr %2, align 1
  store i32 1, ptr %7, align 4
  br label %60

50:                                               ; preds = %42
  %51 = load i32, ptr %6, align 4, !tbaa !26
  %52 = icmp eq i32 %51, 1
  br i1 %52, label %53, label %57

53:                                               ; preds = %50
  %54 = getelementptr inbounds %class.Server, ptr %8, i32 0, i32 3
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = load ptr, ptr %55, align 8, !tbaa !5
  call void @_ZN4juce10OwnedArrayINS_15StreamingSocketENS_20DummyCriticalSectionEE12removeObjectEPKS1_b(ptr noundef nonnull align 8 dereferenceable(20) %54, ptr noundef %56, i1 noundef zeroext true)
  store i32 5, ptr %7, align 4
  br label %60

57:                                               ; preds = %50
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = getelementptr inbounds ptr, ptr %58, i32 1
  store ptr %59, ptr %5, align 8, !tbaa !5
  store i32 0, ptr %7, align 4
  br label %60

60:                                               ; preds = %57, %53, %49
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  %61 = load i32, ptr %7, align 4
  switch i32 %61, label %64 [
    i32 0, label %62
    i32 5, label %63
  ]

62:                                               ; preds = %60
  br label %37, !llvm.loop !28

63:                                               ; preds = %60, %37
  store i32 0, ptr %7, align 4
  br label %64

64:                                               ; preds = %63, %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  %65 = load i32, ptr %7, align 4
  switch i32 %65, label %71 [
    i32 0, label %66
    i32 1, label %69
  ]

66:                                               ; preds = %64
  br label %67

67:                                               ; preds = %66, %29
  br label %9, !llvm.loop !30

68:                                               ; preds = %9
  store i1 false, ptr %2, align 1
  br label %69

69:                                               ; preds = %68, %64
  %70 = load i1, ptr %2, align 1
  ret i1 %70

71:                                               ; preds = %64
  unreachable
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce10OwnedArrayINS_15StreamingSocketENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20)) #3 align 2

declare i32 @printf(ptr noundef, ...) #4

declare noundef zeroext i1 @_ZNK4juce6Thread4waitEi(ptr noundef nonnull align 8 dereferenceable(285), i32 noundef) #4

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN6Server14receiveMessageEPN4juce15StreamingSocketEi(ptr noundef nonnull align 8 dereferenceable(664), ptr noundef, i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce10OwnedArrayINS_15StreamingSocketENS_20DummyCriticalSectionEE12removeObjectEPKS1_b(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef, i1 noundef zeroext) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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 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 = { "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, !17, i64 288}
!10 = !{!"_ZTS6Server", !11, i64 0, !17, i64 288, !19, i64 296, !20, i64 600, !23, i64 624, !23, i64 640, !6, i64 656}
!11 = !{!"_ZTSN4juce6ThreadE", !12, i64 8, !6, i64 16, !6, i64 24, !14, i64 32, !15, i64 72, !15, i64 168, !17, i64 264, !18, i64 272, !17, i64 280, !16, i64 284}
!12 = !{!"_ZTSN4juce6StringE", !13, i64 0}
!13 = !{!"_ZTSN4juce16CharPointer_UTF8E", !6, i64 0}
!14 = !{!"_ZTSN4juce15CriticalSectionE", !7, i64 0}
!15 = !{!"_ZTSN4juce13WaitableEventE", !7, i64 0, !7, i64 48, !16, i64 88, !16, i64 89}
!16 = !{!"bool", !7, i64 0}
!17 = !{!"int", !7, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!"_ZTS17ServerConnections", !11, i64 0, !6, i64 288, !6, i64 296}
!20 = !{!"_ZTSN4juce10OwnedArrayINS_15StreamingSocketENS_20DummyCriticalSectionEEE", !21, i64 0, !17, i64 16}
!21 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_15StreamingSocketENS_20DummyCriticalSectionEEE", !22, i64 0, !17, i64 8}
!22 = !{!"_ZTSN4juce9HeapBlockIPNS_15StreamingSocketELb0EEE", !6, i64 0}
!23 = !{!"_ZTSN4juce11MemoryBlockE", !24, i64 0, !18, i64 8}
!24 = !{!"_ZTSN4juce9HeapBlockIcLb0EEE", !6, i64 0}
!25 = !{!17, !17, i64 0}
!26 = !{!27, !27, i64 0}
!27 = !{!"_ZTSN6Server13ReceiveResultE", !7, i64 0}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = distinct !{!30, !29}


; 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.3 = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce6Thread16threadShouldExitEv(ptr noundef nonnull align 8 dereferenceable(285)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN6Server14waitForMessageEv(ptr noundef nonnull align 8 dereferenceable(664) %0) local_unnamed_addr #1 align 2 {
  %2 = tail call noundef zeroext i1 @_ZNK4juce6Thread16threadShouldExitEv(ptr noundef nonnull align 8 dereferenceable(285) %0)
  br i1 %2, label %.loopexit, label %.lr.ph31

.lr.ph31:                                         ; preds = %1
  %3 = getelementptr inbounds i8, ptr %0, i64 288
  %4 = getelementptr inbounds i8, ptr %0, i64 600
  br label %5

5:                                                ; preds = %.lr.ph31, %.thread22
  %6 = load i32, ptr %3, align 8, !tbaa !5
  %7 = tail call noundef i32 @_ZNK4juce10OwnedArrayINS_15StreamingSocketENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %4) #5
  %.not = icmp eq i32 %6, %7
  br i1 %.not, label %11, label %8

8:                                                ; preds = %5
  %9 = tail call noundef i32 @_ZNK4juce10OwnedArrayINS_15StreamingSocketENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %4) #5
  store i32 %9, ptr %3, align 8, !tbaa !5
  %10 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %9)
  br label %11

11:                                               ; preds = %8, %5
  %12 = load i32, ptr %3, align 8, !tbaa !5
  %13 = icmp slt i32 %12, 1
  br i1 %13, label %14, label %16

14:                                               ; preds = %11
  %15 = tail call noundef zeroext i1 @_ZNK4juce6Thread4waitEi(ptr noundef nonnull align 8 dereferenceable(285) %0, i32 noundef 100)
  br label %.thread22

16:                                               ; preds = %11
  %17 = udiv i32 100, %12
  %18 = tail call noundef ptr @_ZNK4juce10OwnedArrayINS_15StreamingSocketENS_20DummyCriticalSectionEE5beginEv(ptr noundef nonnull align 8 dereferenceable(20) %4) #5
  %19 = tail call noundef ptr @_ZNK4juce10OwnedArrayINS_15StreamingSocketENS_20DummyCriticalSectionEE3endEv(ptr noundef nonnull align 8 dereferenceable(20) %4) #5
  %.not1629 = icmp eq ptr %18, %19
  br i1 %.not1629, label %.thread22, label %.lr.ph

.lr.ph:                                           ; preds = %16, %23
  %.01230 = phi ptr [ %24, %23 ], [ %18, %16 ]
  %20 = load ptr, ptr %.01230, align 8, !tbaa !24
  %21 = tail call noundef i32 @_ZN6Server14receiveMessageEPN4juce15StreamingSocketEi(ptr noundef nonnull align 8 dereferenceable(664) %0, ptr noundef %20, i32 noundef %17)
  switch i32 %21, label %23 [
    i32 0, label %.loopexit
    i32 1, label %.thread19
  ]

.thread19:                                        ; preds = %.lr.ph
  %22 = load ptr, ptr %.01230, align 8, !tbaa !24
  tail call void @_ZN4juce10OwnedArrayINS_15StreamingSocketENS_20DummyCriticalSectionEE12removeObjectEPKS1_b(ptr noundef nonnull align 8 dereferenceable(20) %4, ptr noundef %22, i1 noundef zeroext true)
  br label %.thread22

23:                                               ; preds = %.lr.ph
  %24 = getelementptr inbounds i8, ptr %.01230, i64 8
  %25 = tail call noundef ptr @_ZNK4juce10OwnedArrayINS_15StreamingSocketENS_20DummyCriticalSectionEE3endEv(ptr noundef nonnull align 8 dereferenceable(20) %4) #5
  %.not16 = icmp eq ptr %24, %25
  br i1 %.not16, label %.thread22, label %.lr.ph

.thread22:                                        ; preds = %23, %16, %.thread19, %14
  %26 = tail call noundef zeroext i1 @_ZNK4juce6Thread16threadShouldExitEv(ptr noundef nonnull align 8 dereferenceable(285) %0)
  br i1 %26, label %.loopexit, label %5, !llvm.loop !25

.loopexit:                                        ; preds = %.thread22, %.lr.ph, %1
  %.6 = phi i1 [ false, %1 ], [ true, %.lr.ph ], [ false, %.thread22 ]
  ret i1 %.6
}

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

declare noundef zeroext i1 @_ZNK4juce6Thread4waitEi(ptr noundef nonnull align 8 dereferenceable(285), i32 noundef) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN6Server14receiveMessageEPN4juce15StreamingSocketEi(ptr noundef nonnull align 8 dereferenceable(664), ptr noundef, i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce10OwnedArrayINS_15StreamingSocketENS_20DummyCriticalSectionEE12removeObjectEPKS1_b(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef, i1 noundef zeroext) local_unnamed_addr #1 align 2

attributes #0 = { 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 = { 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 = { 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 #3 = { 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 #4 = { "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, !16, i64 288}
!6 = !{!"_ZTS6Server", !7, i64 0, !16, i64 288, !18, i64 296, !19, i64 600, !22, i64 624, !22, i64 640, !10, i64 656}
!7 = !{!"_ZTSN4juce6ThreadE", !8, i64 8, !10, i64 16, !10, i64 24, !13, i64 32, !14, i64 72, !14, i64 168, !16, i64 264, !17, i64 272, !16, i64 280, !15, i64 284}
!8 = !{!"_ZTSN4juce6StringE", !9, i64 0}
!9 = !{!"_ZTSN4juce16CharPointer_UTF8E", !10, i64 0}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = !{!"_ZTSN4juce15CriticalSectionE", !11, i64 0}
!14 = !{!"_ZTSN4juce13WaitableEventE", !11, i64 0, !11, i64 48, !15, i64 88, !15, i64 89}
!15 = !{!"bool", !11, i64 0}
!16 = !{!"int", !11, i64 0}
!17 = !{!"long", !11, i64 0}
!18 = !{!"_ZTS17ServerConnections", !7, i64 0, !10, i64 288, !10, i64 296}
!19 = !{!"_ZTSN4juce10OwnedArrayINS_15StreamingSocketENS_20DummyCriticalSectionEEE", !20, i64 0, !16, i64 16}
!20 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_15StreamingSocketENS_20DummyCriticalSectionEEE", !21, i64 0, !16, i64 8}
!21 = !{!"_ZTSN4juce9HeapBlockIPNS_15StreamingSocketELb0EEE", !10, i64 0}
!22 = !{!"_ZTSN4juce11MemoryBlockE", !23, i64 0, !17, i64 8}
!23 = !{!"_ZTSN4juce9HeapBlockIcLb0EEE", !10, i64 0}
!24 = !{!10, !10, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass