; LLVM IR from ponylang/ponyc :: src/libponyrt/sched (scheduler)

; 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"

%struct.__sigset_t = type { [16 x i64] }
%struct.scheduler_t = type { i64, i32, i32, i32, i8, i8, i32, i32, [32 x i8], ptr, %struct.pony_ctx_t, i32, i32, i32, %struct.mutemap_t, [56 x i8], %struct.mpmcq_t, %struct.messageq_t, [48 x i8] }
%struct.pony_ctx_t = type { ptr, ptr, ptr, ptr, ptr, %struct.actormap_t, ptr, i64, %struct.ponyint_serialise_t, ptr, ptr, ptr }
%struct.actormap_t = type { %struct.hashmap_t }
%struct.hashmap_t = type { i64, i64, ptr, ptr }
%struct.ponyint_serialise_t = type { %struct.hashmap_t }
%struct.mutemap_t = type { %struct.hashmap_t }
%struct.mpmcq_t = type { ptr, %union.aba_protected_mpmcq_node_t, [32 x i8] }
%union.aba_protected_mpmcq_node_t = type { i128 }
%struct.messageq_t = type { ptr, ptr }

@scheduler_count = external hidden global i32, align 4
@scheduler = external hidden global ptr, align 8
@this_scheduler = external hidden thread_local global ptr, align 8
@pinned_actor_scheduler_suspended = external hidden global i8, align 1
@pinned_actor_scheduler_suspended_check = external hidden global i8, align 1
@detect_quiescence = external hidden global 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: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare nonnull ptr @llvm.threadlocal.address.p0(ptr nonnull) #1

; Function Attrs: nounwind uwtable
define dso_local zeroext i1 @ponyint_sched_start(i1 noundef zeroext %0) #2 {
  %2 = alloca i1, align 1
  %3 = alloca i8, align 1
  %4 = alloca i8, align 1
  %5 = alloca i8, align 1
  %6 = alloca i8, align 1
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %struct.__sigset_t, align 8
  %11 = zext i1 %0 to i8
  store i8 %11, ptr %3, align 1, !tbaa !5
  call void @pony_register_thread()
  %12 = call zeroext i1 (...) @ponyint_asio_start()
  br i1 %12, label %14, label %13

13:                                               ; preds = %1
  store i1 false, ptr %2, align 1
  br label %80

14:                                               ; preds = %1
  store i8 0, ptr %4, align 1, !tbaa !5
  %15 = load i8, ptr %4, align 1
  store atomic i8 %15, ptr @pinned_actor_scheduler_suspended monotonic, align 1
  store i8 0, ptr %5, align 1, !tbaa !5
  %16 = load i8, ptr %5, align 1
  store atomic i8 %16, ptr @pinned_actor_scheduler_suspended_check monotonic, align 1
  %17 = load i8, ptr %3, align 1, !tbaa !5, !range !9, !noundef !10
  %18 = trunc i8 %17 to i1
  %19 = xor i1 %18, true
  %20 = zext i1 %19 to i8
  store i8 %20, ptr %6, align 1, !tbaa !5
  %21 = load i8, ptr %6, align 1
  store atomic i8 %21, ptr @detect_quiescence monotonic, align 1
  br label %22

22:                                               ; preds = %14
  br label %23

23:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %24 = load i32, ptr %7, align 4, !tbaa !11
  store i32 %24, ptr %8, align 4, !tbaa !11
  br label %25

25:                                               ; preds = %49, %23
  %26 = load i32, ptr %8, align 4, !tbaa !11
  %27 = load i32, ptr @scheduler_count, align 4, !tbaa !11
  %28 = icmp ult i32 %26, %27
  br i1 %28, label %30, label %29

29:                                               ; preds = %25
  store i32 4, ptr %9, align 4
  br label %52

30:                                               ; preds = %25
  %31 = load ptr, ptr @scheduler, align 8, !tbaa !13
  %32 = load i32, ptr %8, align 4, !tbaa !11
  %33 = zext i32 %32 to i64
  %34 = getelementptr inbounds %struct.scheduler_t, ptr %31, i64 %33
  %35 = getelementptr inbounds %struct.scheduler_t, ptr %34, i32 0, i32 0
  %36 = load ptr, ptr @scheduler, align 8, !tbaa !13
  %37 = load i32, ptr %8, align 4, !tbaa !11
  %38 = zext i32 %37 to i64
  %39 = getelementptr inbounds %struct.scheduler_t, ptr %36, i64 %38
  %40 = getelementptr inbounds %struct.scheduler_t, ptr %39, i32 0, i32 2
  %41 = load i32, ptr %40, align 4, !tbaa !15
  %42 = load ptr, ptr @scheduler, align 8, !tbaa !13
  %43 = load i32, ptr %8, align 4, !tbaa !11
  %44 = zext i32 %43 to i64
  %45 = getelementptr inbounds %struct.scheduler_t, ptr %42, i64 %44
  %46 = call zeroext i1 @ponyint_thread_create(ptr noundef %35, ptr noundef @run_thread, i32 noundef %41, ptr noundef %45)
  br i1 %46, label %48, label %47

47:                                               ; preds = %30
  store i1 false, ptr %2, align 1
  store i32 1, ptr %9, align 4
  br label %52

48:                                               ; preds = %30
  br label %49

49:                                               ; preds = %48
  %50 = load i32, ptr %8, align 4, !tbaa !11
  %51 = add i32 %50, 1
  store i32 %51, ptr %8, align 4, !tbaa !11
  br label %25, !llvm.loop !25

52:                                               ; preds = %47, %29
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  %53 = load i32, ptr %9, align 4
  switch i32 %53, label %79 [
    i32 4, label %54
  ]

54:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 128, ptr %10) #5
  %55 = call i32 @sigemptyset(ptr noundef %10) #5
  %56 = call i32 @sigaddset(ptr noundef %10, i32 noundef 12) #5
  %57 = call i32 @pthread_sigmask(i32 noundef 0, ptr noundef %10, ptr noundef null) #5
  call void @run_pinned_actors()
  %58 = load i8, ptr %3, align 1, !tbaa !5, !range !9, !noundef !10
  %59 = trunc i8 %58 to i1
  br i1 %59, label %61, label %60

60:                                               ; preds = %54
  call void @ponyint_sched_shutdown()
  br label %61

61:                                               ; preds = %60, %54
  call void (...) @ponyint_pool_thread_cleanup()
  br label %62

62:                                               ; preds = %68, %61
  %63 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @this_scheduler)
  %64 = load ptr, ptr %63, align 8, !tbaa !13
  %65 = getelementptr inbounds %struct.scheduler_t, ptr %64, i32 0, i32 17
  %66 = call ptr @ponyint_thread_messageq_pop(ptr noundef %65)
  %67 = icmp ne ptr %66, null
  br i1 %67, label %68, label %69

68:                                               ; preds = %62
  br label %62, !llvm.loop !27

69:                                               ; preds = %62
  %70 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @this_scheduler)
  %71 = load ptr, ptr %70, align 8, !tbaa !13
  %72 = getelementptr inbounds %struct.scheduler_t, ptr %71, i32 0, i32 14
  call void @ponyint_mutemap_destroy(ptr noundef %72)
  %73 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @this_scheduler)
  %74 = load ptr, ptr %73, align 8, !tbaa !13
  %75 = getelementptr inbounds %struct.scheduler_t, ptr %74, i32 0, i32 17
  call void @ponyint_messageq_destroy(ptr noundef %75, i1 noundef zeroext false)
  %76 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @this_scheduler)
  %77 = load ptr, ptr %76, align 8, !tbaa !13
  %78 = getelementptr inbounds %struct.scheduler_t, ptr %77, i32 0, i32 16
  call void @ponyint_mpmcq_destroy(ptr noundef %78)
  store i1 true, ptr %2, align 1
  store i32 1, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 128, ptr %10) #5
  br label %79

79:                                               ; preds = %69, %52
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %80

80:                                               ; preds = %79, %13
  %81 = load i1, ptr %2, align 1
  ret i1 %81
}

declare zeroext i1 @ponyint_asio_start(...) #3

declare zeroext i1 @ponyint_thread_create(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
declare hidden ptr @run_thread(ptr noundef) #2

; Function Attrs: nounwind
declare i32 @sigemptyset(ptr noundef) #4

; Function Attrs: nounwind
declare i32 @sigaddset(ptr noundef, i32 noundef) #4

; Function Attrs: nounwind
declare i32 @pthread_sigmask(i32 noundef, ptr noundef, ptr noundef) #4

declare void @ponyint_pool_thread_cleanup(...) #3

declare ptr @ponyint_thread_messageq_pop(ptr noundef) #3

declare void @ponyint_mutemap_destroy(ptr noundef) #3

declare void @ponyint_messageq_destroy(ptr noundef, i1 noundef zeroext) #3

declare void @ponyint_mpmcq_destroy(ptr noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local void @pony_register_thread() #2

; Function Attrs: nounwind uwtable
declare hidden void @run_pinned_actors() #2

; Function Attrs: nounwind uwtable
declare hidden void @ponyint_sched_shutdown() #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 = { "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 "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 = !{!"_Bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{i8 0, i8 2}
!10 = !{}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!16, !12, i64 12}
!16 = !{!"scheduler_t", !17, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !6, i64 20, !6, i64 21, !12, i64 24, !12, i64 28, !14, i64 64, !18, i64 72, !12, i64 216, !12, i64 220, !12, i64 224, !22, i64 232, !23, i64 320, !24, i64 384}
!17 = !{!"long", !7, i64 0}
!18 = !{!"pony_ctx_t", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !19, i64 40, !14, i64 72, !17, i64 80, !21, i64 88, !14, i64 120, !14, i64 128, !14, i64 136}
!19 = !{!"actormap_t", !20, i64 0}
!20 = !{!"hashmap_t", !17, i64 0, !17, i64 8, !14, i64 16, !14, i64 24}
!21 = !{!"ponyint_serialise_t", !20, i64 0}
!22 = !{!"mutemap_t", !20, i64 0}
!23 = !{!"mpmcq_t", !7, i64 0, !7, i64 16}
!24 = !{!"messageq_t", !7, i64 0, !14, i64 8}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = distinct !{!27, !26}


; 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"

%struct.__sigset_t = type { [16 x i64] }
%struct.scheduler_t = type { i64, i32, i32, i32, i8, i8, i32, i32, [32 x i8], ptr, %struct.pony_ctx_t, i32, i32, i32, %struct.mutemap_t, [56 x i8], %struct.mpmcq_t, %struct.messageq_t, [48 x i8] }
%struct.pony_ctx_t = type { ptr, ptr, ptr, ptr, ptr, %struct.actormap_t, ptr, i64, %struct.ponyint_serialise_t, ptr, ptr, ptr }
%struct.actormap_t = type { %struct.hashmap_t }
%struct.hashmap_t = type { i64, i64, ptr, ptr }
%struct.ponyint_serialise_t = type { %struct.hashmap_t }
%struct.mutemap_t = type { %struct.hashmap_t }
%struct.mpmcq_t = type { ptr, %union.aba_protected_mpmcq_node_t, [32 x i8] }
%union.aba_protected_mpmcq_node_t = type { i128 }
%struct.messageq_t = type { ptr, ptr }

@scheduler_count = external hidden local_unnamed_addr global i32, align 4
@scheduler = external hidden local_unnamed_addr global ptr, align 8
@this_scheduler = external hidden thread_local local_unnamed_addr global ptr, align 8
@pinned_actor_scheduler_suspended = external hidden local_unnamed_addr global i8, align 1
@pinned_actor_scheduler_suspended_check = external hidden local_unnamed_addr global i8, align 1
@detect_quiescence = external hidden local_unnamed_addr global 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare nonnull ptr @llvm.threadlocal.address.p0(ptr nonnull) #1

; Function Attrs: nounwind uwtable
define dso_local noundef zeroext i1 @ponyint_sched_start(i1 noundef zeroext %0) local_unnamed_addr #2 {
  %2 = alloca %struct.__sigset_t, align 8
  tail call void @pony_register_thread()
  %3 = tail call zeroext i1 (...) @ponyint_asio_start() #5
  br i1 %3, label %4, label %.loopexit

4:                                                ; preds = %1
  store atomic i8 0, ptr @pinned_actor_scheduler_suspended monotonic, align 1
  store atomic i8 0, ptr @pinned_actor_scheduler_suspended_check monotonic, align 1
  %5 = xor i1 %0, true
  %6 = zext i1 %5 to i8
  store atomic i8 %6, ptr @detect_quiescence monotonic, align 1
  %7 = load i32, ptr @scheduler_count, align 4, !tbaa !5
  %.not15 = icmp eq i32 %7, 0
  br i1 %.not15, label %.critedge, label %.lr.ph

8:                                                ; preds = %.lr.ph
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %9 = load i32, ptr @scheduler_count, align 4, !tbaa !5
  %10 = zext i32 %9 to i64
  %.not.not = icmp ult i64 %indvars.iv.next, %10
  br i1 %.not.not, label %.lr.ph, label %.critedge, !llvm.loop !9

.lr.ph:                                           ; preds = %4, %8
  %indvars.iv = phi i64 [ %indvars.iv.next, %8 ], [ 0, %4 ]
  %11 = load ptr, ptr @scheduler, align 8, !tbaa !11
  %12 = getelementptr inbounds %struct.scheduler_t, ptr %11, i64 %indvars.iv
  %13 = getelementptr inbounds i8, ptr %12, i64 12
  %14 = load i32, ptr %13, align 4, !tbaa !13
  %15 = tail call zeroext i1 @ponyint_thread_create(ptr noundef %12, ptr noundef nonnull @run_thread, i32 noundef %14, ptr noundef %12) #5
  br i1 %15, label %8, label %.loopexit

.critedge:                                        ; preds = %8, %4
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %2) #5
  %16 = call i32 @sigemptyset(ptr noundef nonnull %2) #5
  %17 = call i32 @sigaddset(ptr noundef nonnull %2, i32 noundef 12) #5
  %18 = call i32 @pthread_sigmask(i32 noundef 0, ptr noundef nonnull %2, ptr noundef null) #5
  call void @run_pinned_actors()
  br i1 %0, label %20, label %19

19:                                               ; preds = %.critedge
  call void @ponyint_sched_shutdown()
  br label %20

20:                                               ; preds = %19, %.critedge
  call void (...) @ponyint_pool_thread_cleanup() #5
  %21 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @this_scheduler)
  br label %22

22:                                               ; preds = %22, %20
  %23 = load ptr, ptr %21, align 8, !tbaa !11
  %24 = getelementptr inbounds i8, ptr %23, i64 384
  %25 = call ptr @ponyint_thread_messageq_pop(ptr noundef nonnull %24) #5
  %.not14 = icmp eq ptr %25, null
  br i1 %.not14, label %26, label %22, !llvm.loop !24

26:                                               ; preds = %22
  %27 = load ptr, ptr %21, align 8, !tbaa !11
  %28 = getelementptr inbounds i8, ptr %27, i64 232
  call void @ponyint_mutemap_destroy(ptr noundef nonnull %28) #5
  %29 = load ptr, ptr %21, align 8, !tbaa !11
  %30 = getelementptr inbounds i8, ptr %29, i64 384
  call void @ponyint_messageq_destroy(ptr noundef nonnull %30, i1 noundef zeroext false) #5
  %31 = load ptr, ptr %21, align 8, !tbaa !11
  %32 = getelementptr inbounds i8, ptr %31, i64 320
  call void @ponyint_mpmcq_destroy(ptr noundef nonnull %32) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %2) #5
  br label %.loopexit

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

declare zeroext i1 @ponyint_asio_start(...) local_unnamed_addr #3

declare zeroext i1 @ponyint_thread_create(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden ptr @run_thread(ptr noundef) #2

; Function Attrs: nounwind
declare i32 @sigemptyset(ptr noundef) local_unnamed_addr #4

; Function Attrs: nounwind
declare i32 @sigaddset(ptr noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: nounwind
declare i32 @pthread_sigmask(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare void @ponyint_pool_thread_cleanup(...) local_unnamed_addr #3

declare ptr @ponyint_thread_messageq_pop(ptr noundef) local_unnamed_addr #3

declare void @ponyint_mutemap_destroy(ptr noundef) local_unnamed_addr #3

declare void @ponyint_messageq_destroy(ptr noundef, i1 noundef zeroext) local_unnamed_addr #3

declare void @ponyint_mpmcq_destroy(ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local void @pony_register_thread() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden void @run_pinned_actors() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden void @ponyint_sched_shutdown() local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 = { "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 "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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !6, i64 12}
!14 = !{!"scheduler_t", !15, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !16, i64 20, !16, i64 21, !6, i64 24, !6, i64 28, !12, i64 64, !17, i64 72, !6, i64 216, !6, i64 220, !6, i64 224, !21, i64 232, !22, i64 320, !23, i64 384}
!15 = !{!"long", !7, i64 0}
!16 = !{!"_Bool", !7, i64 0}
!17 = !{!"pony_ctx_t", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !18, i64 40, !12, i64 72, !15, i64 80, !20, i64 88, !12, i64 120, !12, i64 128, !12, i64 136}
!18 = !{!"actormap_t", !19, i64 0}
!19 = !{!"hashmap_t", !15, i64 0, !15, i64 8, !12, i64 16, !12, i64 24}
!20 = !{!"ponyint_serialise_t", !19, i64 0}
!21 = !{!"mutemap_t", !19, i64 0}
!22 = !{!"mpmcq_t", !7, i64 0, !7, i64 16}
!23 = !{!"messageq_t", !7, i64 0, !12, i64 8}
!24 = distinct !{!24, !10}


; Effective O3 passes: ConstraintEliminationPass,CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass