; 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.muteref_t = type { ptr, %struct.muteset_t }
%struct.muteset_t = type { %struct.hashmap_t }
%struct.hashmap_t = type { i64, i64, ptr, ptr }
%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.ponyint_serialise_t = type { %struct.hashmap_t }
%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.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 }
%struct.pony_actor_t = type { ptr, %struct.messageq_t, i8, [39 x i8], %struct.heap_t, i64, i8, i32, %struct.gc_t, [16 x i8] }
%struct.heap_t = type { [5 x ptr], [5 x ptr], ptr, [4 x ptr], i64, i64 }
%struct.gc_t = type { i32, i32, i64, %struct.objectmap_t, %struct.actormap_t, ptr }
%struct.objectmap_t = type { %struct.hashmap_t }

@.str.1 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [17 x i8], align 1
@__func__.ponyint_sched_unmute_senders = external hidden unnamed_addr constant [29 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

declare void @ponyint_assert_fail(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1

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

; Function Attrs: nounwind uwtable
declare dso_local void @ponyint_sched_add(ptr noundef, ptr noundef) #2

declare ptr @ponyint_mutemap_get(ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @ponyint_sched_start_global_unmute(i32 noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local ptr @ponyint_actorstack_pop(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local ptr @ponyint_actorstack_push(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local zeroext i1 @ponyint_sched_unmute_senders(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca %struct.muteref_t, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  store i64 0, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.pony_ctx_t, ptr %14, i32 0, i32 0
  %16 = load ptr, ptr %15, align 8, !tbaa !11
  store ptr %16, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  store i64 -1, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 40, ptr %8) #3
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.muteref_t, ptr %8, i32 0, i32 0
  store ptr %17, ptr %18, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %19 = load ptr, ptr %6, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.scheduler_t, ptr %19, i32 0, i32 14
  %21 = call ptr @ponyint_mutemap_get(ptr noundef %20, ptr noundef %8, ptr noundef %7)
  store ptr %21, ptr %9, align 8, !tbaa !5
  %22 = load ptr, ptr %9, align 8, !tbaa !5
  %23 = icmp ne ptr %22, null
  br i1 %23, label %24, label %77

24:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  store i64 -1, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  store ptr null, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  store ptr null, ptr %12, align 8, !tbaa !5
  br label %25

25:                                               ; preds = %50, %24
  %26 = load ptr, ptr %9, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.muteref_t, ptr %26, i32 0, i32 1
  %28 = call ptr @ponyint_muteset_next(ptr noundef %27, ptr noundef %10)
  store ptr %28, ptr %11, align 8, !tbaa !5
  %29 = icmp ne ptr %28, null
  br i1 %29, label %30, label %51

30:                                               ; preds = %25
  %31 = load ptr, ptr %11, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.pony_actor_t, ptr %31, i32 0, i32 5
  %33 = load i64, ptr %32, align 8, !tbaa !19
  %34 = icmp ugt i64 %33, 0
  br i1 %34, label %35, label %36

35:                                               ; preds = %30
  br label %37

36:                                               ; preds = %30
  call void @ponyint_assert_fail(ptr noundef @.str.5, ptr noundef @.str.1, i64 noundef 2147, ptr noundef @__func__.ponyint_sched_unmute_senders)
  br label %37

37:                                               ; preds = %36, %35
  %38 = load ptr, ptr %11, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.pony_actor_t, ptr %38, i32 0, i32 5
  %40 = load i64, ptr %39, align 8, !tbaa !19
  %41 = add i64 %40, -1
  store i64 %41, ptr %39, align 8, !tbaa !19
  %42 = load ptr, ptr %11, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.pony_actor_t, ptr %42, i32 0, i32 5
  %44 = load i64, ptr %43, align 8, !tbaa !19
  %45 = icmp eq i64 %44, 0
  br i1 %45, label %46, label %50

46:                                               ; preds = %37
  %47 = load ptr, ptr %12, align 8, !tbaa !5
  %48 = load ptr, ptr %11, align 8, !tbaa !5
  %49 = call ptr @ponyint_actorstack_push(ptr noundef %47, ptr noundef %48)
  store ptr %49, ptr %12, align 8, !tbaa !5
  br label %50

50:                                               ; preds = %46, %37
  br label %25, !llvm.loop !26

51:                                               ; preds = %25
  %52 = load ptr, ptr %6, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.scheduler_t, ptr %52, i32 0, i32 14
  %54 = load i64, ptr %7, align 8, !tbaa !9
  call void @ponyint_mutemap_removeindex(ptr noundef %53, i64 noundef %54)
  %55 = load ptr, ptr %9, align 8, !tbaa !5
  call void @ponyint_muteref_free(ptr noundef %55)
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  br label %56

56:                                               ; preds = %67, %51
  %57 = load ptr, ptr %12, align 8, !tbaa !5
  %58 = icmp ne ptr %57, null
  br i1 %58, label %59, label %76

59:                                               ; preds = %56
  %60 = load ptr, ptr %12, align 8, !tbaa !5
  %61 = call ptr @ponyint_actorstack_pop(ptr noundef %60, ptr noundef %13)
  store ptr %61, ptr %12, align 8, !tbaa !5
  %62 = load ptr, ptr %13, align 8, !tbaa !5
  call void @ponyint_unmute_actor(ptr noundef %62)
  %63 = load ptr, ptr %3, align 8, !tbaa !5
  %64 = load ptr, ptr %13, align 8, !tbaa !5
  call void @ponyint_sched_add(ptr noundef %63, ptr noundef %64)
  br label %65

65:                                               ; preds = %59
  br label %66

66:                                               ; preds = %65
  br label %67

67:                                               ; preds = %66
  %68 = load i64, ptr %5, align 8, !tbaa !9
  %69 = add i64 %68, 1
  store i64 %69, ptr %5, align 8, !tbaa !9
  %70 = load ptr, ptr %3, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.pony_ctx_t, ptr %70, i32 0, i32 0
  %72 = load ptr, ptr %71, align 8, !tbaa !11
  %73 = getelementptr inbounds %struct.scheduler_t, ptr %72, i32 0, i32 1
  %74 = load i32, ptr %73, align 8, !tbaa !28
  %75 = load ptr, ptr %13, align 8, !tbaa !5
  call void @ponyint_sched_start_global_unmute(i32 noundef %74, ptr noundef %75)
  br label %56, !llvm.loop !33

76:                                               ; preds = %56
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  br label %77

77:                                               ; preds = %76, %2
  %78 = load i64, ptr %5, align 8, !tbaa !9
  %79 = icmp ugt i64 %78, 0
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  ret i1 %79
}

declare ptr @ponyint_muteset_next(ptr noundef, ptr noundef) #1

declare void @ponyint_mutemap_removeindex(ptr noundef, i64 noundef) #1

declare void @ponyint_muteref_free(ptr noundef) #1

declare void @ponyint_unmute_actor(ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"pony_ctx_t", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !13, i64 40, !6, i64 72, !10, i64 80, !15, i64 88, !6, i64 120, !6, i64 128, !6, i64 136}
!13 = !{!"actormap_t", !14, i64 0}
!14 = !{!"hashmap_t", !10, i64 0, !10, i64 8, !6, i64 16, !6, i64 24}
!15 = !{!"ponyint_serialise_t", !14, i64 0}
!16 = !{!17, !6, i64 0}
!17 = !{!"muteref_t", !6, i64 0, !18, i64 8}
!18 = !{!"muteset_t", !14, i64 0}
!19 = !{!20, !10, i64 200}
!20 = !{!"pony_actor_t", !6, i64 0, !21, i64 8, !7, i64 24, !22, i64 64, !10, i64 200, !7, i64 208, !23, i64 212, !24, i64 216}
!21 = !{!"messageq_t", !7, i64 0, !6, i64 8}
!22 = !{!"heap_t", !7, i64 0, !7, i64 40, !6, i64 80, !7, i64 88, !10, i64 120, !10, i64 128}
!23 = !{!"int", !7, i64 0}
!24 = !{!"gc_t", !23, i64 0, !23, i64 4, !10, i64 8, !25, i64 16, !13, i64 48, !6, i64 80}
!25 = !{!"objectmap_t", !14, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!29, !23, i64 8}
!29 = !{!"scheduler_t", !10, i64 0, !23, i64 8, !23, i64 12, !23, i64 16, !30, i64 20, !30, i64 21, !23, i64 24, !23, i64 28, !6, i64 64, !12, i64 72, !23, i64 216, !23, i64 220, !23, i64 224, !31, i64 232, !32, i64 320, !21, i64 384}
!30 = !{!"_Bool", !7, i64 0}
!31 = !{!"mutemap_t", !14, i64 0}
!32 = !{!"mpmcq_t", !7, i64 0, !7, i64 16}
!33 = distinct !{!33, !27}


; 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.muteref_t = type { ptr, %struct.muteset_t }
%struct.muteset_t = type { %struct.hashmap_t }
%struct.hashmap_t = type { i64, i64, ptr, ptr }

@.str.1 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [17 x i8], align 1
@__func__.ponyint_sched_unmute_senders = external hidden unnamed_addr constant [29 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

declare void @ponyint_assert_fail(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
declare dso_local void @ponyint_sched_add(ptr noundef, ptr noundef) local_unnamed_addr #2

declare ptr @ponyint_mutemap_get(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @ponyint_sched_start_global_unmute(i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local ptr @ponyint_actorstack_pop(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local ptr @ponyint_actorstack_push(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local zeroext i1 @ponyint_sched_unmute_senders(ptr noundef %0, ptr noundef %1) local_unnamed_addr #2 {
  %3 = alloca i64, align 8
  %4 = alloca %struct.muteref_t, align 8
  %5 = alloca i64, align 8
  %6 = alloca ptr, align 8
  %7 = load ptr, ptr %0, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
  store i64 -1, ptr %3, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #3
  store ptr %1, ptr %4, align 8, !tbaa !15
  %8 = getelementptr inbounds i8, ptr %7, i64 232
  %9 = call ptr @ponyint_mutemap_get(ptr noundef nonnull %8, ptr noundef nonnull %4, ptr noundef nonnull %3) #3
  %.not = icmp eq ptr %9, null
  br i1 %.not, label %35, label %10

10:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  store i64 -1, ptr %5, align 8, !tbaa !14
  %11 = getelementptr inbounds i8, ptr %9, i64 8
  %12 = call ptr @ponyint_muteset_next(ptr noundef nonnull %11, ptr noundef nonnull %5) #3
  %.not2124 = icmp eq ptr %12, null
  br i1 %.not2124, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %10, %23
  %13 = phi ptr [ %24, %23 ], [ %12, %10 ]
  %.025 = phi ptr [ %.1, %23 ], [ null, %10 ]
  %14 = getelementptr inbounds i8, ptr %13, i64 200
  %15 = load i64, ptr %14, align 8, !tbaa !18
  %.not23 = icmp eq i64 %15, 0
  br i1 %.not23, label %16, label %17

16:                                               ; preds = %.lr.ph
  call void @ponyint_assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1, i64 noundef 2147, ptr noundef nonnull @__func__.ponyint_sched_unmute_senders) #3
  %.pre = load i64, ptr %14, align 8, !tbaa !18
  br label %17

17:                                               ; preds = %.lr.ph, %16
  %18 = phi i64 [ %15, %.lr.ph ], [ %.pre, %16 ]
  %19 = add i64 %18, -1
  store i64 %19, ptr %14, align 8, !tbaa !18
  %20 = icmp eq i64 %19, 0
  br i1 %20, label %21, label %23

21:                                               ; preds = %17
  %22 = call ptr @ponyint_actorstack_push(ptr noundef %.025, ptr noundef nonnull %13)
  br label %23

23:                                               ; preds = %21, %17
  %.1 = phi ptr [ %22, %21 ], [ %.025, %17 ]
  %24 = call ptr @ponyint_muteset_next(ptr noundef nonnull %11, ptr noundef nonnull %5) #3
  %.not21 = icmp eq ptr %24, null
  br i1 %.not21, label %._crit_edge, label %.lr.ph, !llvm.loop !25

._crit_edge:                                      ; preds = %23, %10
  %.0.lcssa = phi ptr [ null, %10 ], [ %.1, %23 ]
  %25 = load i64, ptr %3, align 8, !tbaa !14
  call void @ponyint_mutemap_removeindex(ptr noundef nonnull %8, i64 noundef %25) #3
  call void @ponyint_muteref_free(ptr noundef nonnull %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  %.not2226 = icmp eq ptr %.0.lcssa, null
  br i1 %.not2226, label %._crit_edge31, label %.lr.ph30

.lr.ph30:                                         ; preds = %._crit_edge, %.lr.ph30
  %.228 = phi ptr [ %26, %.lr.ph30 ], [ %.0.lcssa, %._crit_edge ]
  %.01727 = phi i64 [ %29, %.lr.ph30 ], [ 0, %._crit_edge ]
  %26 = call ptr @ponyint_actorstack_pop(ptr noundef nonnull %.228, ptr noundef nonnull %6)
  %27 = load ptr, ptr %6, align 8, !tbaa !27
  call void @ponyint_unmute_actor(ptr noundef %27) #3
  %28 = load ptr, ptr %6, align 8, !tbaa !27
  call void @ponyint_sched_add(ptr noundef nonnull %0, ptr noundef %28)
  %29 = add i64 %.01727, 1
  %30 = load ptr, ptr %0, align 8, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %30, i64 8
  %32 = load i32, ptr %31, align 8, !tbaa !28
  %33 = load ptr, ptr %6, align 8, !tbaa !27
  call void @ponyint_sched_start_global_unmute(i32 noundef %32, ptr noundef %33)
  %.not22 = icmp eq ptr %26, null
  br i1 %.not22, label %._crit_edge31.loopexit, label %.lr.ph30, !llvm.loop !33

._crit_edge31.loopexit:                           ; preds = %.lr.ph30
  %34 = icmp ne i64 %29, 0
  br label %._crit_edge31

._crit_edge31:                                    ; preds = %._crit_edge31.loopexit, %._crit_edge
  %.017.lcssa = phi i1 [ false, %._crit_edge ], [ %34, %._crit_edge31.loopexit ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  br label %35

35:                                               ; preds = %._crit_edge31, %2
  %.118 = phi i1 [ %.017.lcssa, %._crit_edge31 ], [ false, %2 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
  ret i1 %.118
}

declare ptr @ponyint_muteset_next(ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @ponyint_mutemap_removeindex(ptr noundef, i64 noundef) local_unnamed_addr #1

declare void @ponyint_muteref_free(ptr noundef) local_unnamed_addr #1

declare void @ponyint_unmute_actor(ptr noundef) local_unnamed_addr #1

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


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