; LLVM IR from kmilo17pet/QuarkTS-cpp :: src/kernel.ll (ZN3qOS4core3runEv)

; 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.qOS::core" = type { %"class.qOS::taskEvent", %"class.qOS::task", ptr, ptr, [10 x %"struct.qOS::pq::queueStack_t"], %"class.qOS::prioQueue", i32, %"struct.qOS::notificationSpreader_t", i64, [5 x %"class.qOS::list"], ptr, ptr, %"class.qOS::list" }
%"class.qOS::taskEvent" = type { ptr, i8, i8, i8, i8, i64, ptr, ptr, ptr }
%"class.qOS::task" = type <{ %"class.qOS::node", ptr, ptr, ptr, ptr, ptr, i64, [11 x i8], [5 x i8], %"class.qOS::timer", i32, [4 x i8], i64, i32, i32, i32, i8, i8, [2 x i8] }>
%"class.qOS::node" = type { ptr, ptr, ptr, ptr }
%"class.qOS::timer" = type { ptr, i64, i64 }
%"struct.qOS::pq::queueStack_t" = type { ptr, ptr }
%"class.qOS::prioQueue" = type { ptr, i32, ptr, ptr, i64 }
%"struct.qOS::notificationSpreader_t" = type { i8, ptr }
%"class.qOS::list" = type { %"class.qOS::node", ptr, ptr, i64 }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #0

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3qOS4core24triggerReleaseSchedEventEv(ptr noundef nonnull align 8 dereferenceable(800)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN3qOS4bits11multipleGetIjjEEbT_T0_(i32 noundef, i32 noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN3qOS4core12checkIfReadyEv(ptr noundef nonnull align 8 dereferenceable(800)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3qOS4core8dispatchEPNS_4listE(ptr noundef nonnull align 8 dereferenceable(800), ptr noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3qOS4core12dispatchIdleEv(ptr noundef nonnull align 8 dereferenceable(800)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef zeroext i1 @_ZN3qOS4core3runEv(ptr noundef nonnull align 8 dereferenceable(800) %0) #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca i8, align 1
  %4 = alloca i8, align 1
  %5 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %6 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %3) #5
  store i8 0, ptr %3, align 1, !tbaa !9
  br label %7

7:                                                ; preds = %58, %1
  %8 = call noundef zeroext i1 @_ZN3qOS4core12checkIfReadyEv(ptr noundef nonnull align 8 dereferenceable(800) %6) #5
  br i1 %8, label %9, label %27

9:                                                ; preds = %7
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #5
  store i8 2, ptr %4, align 1, !tbaa !11
  br label %10

10:                                               ; preds = %21, %9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %11 = getelementptr inbounds %"class.qOS::core", ptr %6, i32 0, i32 9
  %12 = load i8, ptr %4, align 1, !tbaa !11
  %13 = zext i8 %12 to i64
  %14 = getelementptr inbounds [5 x %"class.qOS::list"], ptr %11, i64 0, i64 %13
  store ptr %14, ptr %5, align 8, !tbaa !5
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = call noundef i64 @_ZNK3qOS4list6lengthEv(ptr noundef nonnull align 8 dereferenceable(56) %15) #5
  %17 = icmp ugt i64 %16, 0
  br i1 %17, label %18, label %20

18:                                               ; preds = %10
  %19 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN3qOS4core8dispatchEPNS_4listE(ptr noundef nonnull align 8 dereferenceable(800) %6, ptr noundef %19) #5
  br label %20

20:                                               ; preds = %18, %10
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  br label %21

21:                                               ; preds = %20
  %22 = load i8, ptr %4, align 1, !tbaa !11
  %23 = add i8 %22, -1
  store i8 %23, ptr %4, align 1, !tbaa !11
  %24 = zext i8 %22 to i32
  %25 = icmp ne i32 0, %24
  br i1 %25, label %10, label %26, !llvm.loop !12

26:                                               ; preds = %21
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #5
  br label %34

27:                                               ; preds = %7
  %28 = getelementptr inbounds %"class.qOS::core", ptr %6, i32 0, i32 1
  %29 = getelementptr inbounds %"class.qOS::task", ptr %28, i32 0, i32 3
  %30 = load ptr, ptr %29, align 8, !tbaa !14
  %31 = icmp ne ptr null, %30
  br i1 %31, label %32, label %33

32:                                               ; preds = %27
  call void @_ZN3qOS4core12dispatchIdleEv(ptr noundef nonnull align 8 dereferenceable(800) %6) #5
  br label %33

33:                                               ; preds = %32, %27
  br label %34

34:                                               ; preds = %33, %26
  %35 = getelementptr inbounds %"class.qOS::core", ptr %6, i32 0, i32 12
  %36 = call noundef i64 @_ZNK3qOS4list6lengthEv(ptr noundef nonnull align 8 dereferenceable(56) %35) #5
  %37 = icmp ugt i64 %36, 0
  br i1 %37, label %38, label %39

38:                                               ; preds = %34
  call void @_ZN3qOS4core19handleInputWatchersEv(ptr noundef nonnull align 8 dereferenceable(800) %6) #5
  br label %39

39:                                               ; preds = %38, %34
  %40 = getelementptr inbounds %"class.qOS::core", ptr %6, i32 0, i32 11
  %41 = load ptr, ptr %40, align 8, !tbaa !27
  %42 = call noundef i64 @_ZNK3qOS4list6lengthEv(ptr noundef nonnull align 8 dereferenceable(56) %41) #5
  %43 = icmp ugt i64 %42, 0
  br i1 %43, label %44, label %53

44:                                               ; preds = %39
  %45 = getelementptr inbounds %"class.qOS::core", ptr %6, i32 0, i32 10
  %46 = load ptr, ptr %45, align 8, !tbaa !28
  %47 = getelementptr inbounds %"class.qOS::core", ptr %6, i32 0, i32 11
  %48 = load ptr, ptr %47, align 8, !tbaa !27
  %49 = call noundef zeroext i1 @_ZN3qOS4list4moveERS0_NS_12listPositionE(ptr noundef nonnull align 8 dereferenceable(56) %46, ptr noundef nonnull align 8 dereferenceable(56) %48, i32 noundef -2) #5
  %50 = getelementptr inbounds %"class.qOS::core", ptr %6, i32 0, i32 10
  %51 = load ptr, ptr %50, align 8, !tbaa !28
  %52 = call noundef zeroext i1 @_ZN3qOS4list4sortEPFbPKvS2_E(ptr noundef nonnull align 8 dereferenceable(56) %51, ptr noundef @_ZL23taskEntryOrderPreserverPKvS0_) #5
  br label %53

53:                                               ; preds = %44, %39
  br label %54

54:                                               ; preds = %53
  %55 = getelementptr inbounds %"class.qOS::core", ptr %6, i32 0, i32 6
  %56 = load volatile i32, ptr %55, align 8, !tbaa !29
  %57 = invoke noundef zeroext i1 @_ZN3qOS4bits11multipleGetIjjEEbT_T0_(i32 noundef %56, i32 noundef 4)
          to label %58 unwind label %63

58:                                               ; preds = %54
  %59 = xor i1 %57, true
  br i1 %59, label %7, label %60, !llvm.loop !30

60:                                               ; preds = %58
  call void @_ZN3qOS4core24triggerReleaseSchedEventEv(ptr noundef nonnull align 8 dereferenceable(800) %6) #5
  store i8 1, ptr %3, align 1, !tbaa !9
  %61 = load i8, ptr %3, align 1, !tbaa !9, !range !31, !noundef !32
  %62 = trunc i8 %61 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #5
  ret i1 %62

63:                                               ; preds = %54
  %64 = landingpad { ptr, i32 }
          catch ptr null
  %65 = extractvalue { ptr, i32 } %64, 0
  call void @__clang_call_terminate(ptr %65) #6
  unreachable
}

; Function Attrs: nounwind
declare noundef i64 @_ZNK3qOS4list6lengthEv(ptr noundef nonnull align 8 dereferenceable(56)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3qOS4core19handleInputWatchersEv(ptr noundef nonnull align 8 dereferenceable(800)) #2 align 2

; Function Attrs: nounwind
declare noundef zeroext i1 @_ZN3qOS4list4moveERS0_NS_12listPositionE(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) #4

; Function Attrs: nounwind
declare noundef zeroext i1 @_ZN3qOS4list4sortEPFbPKvS2_E(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL23taskEntryOrderPreserverPKvS0_(ptr noundef, ptr noundef) #2

attributes #0 = { noinline noreturn nounwind uwtable "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = { 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 = { 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 }
attributes #6 = { noreturn 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 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !6, i64 96}
!15 = !{!"_ZTSN3qOS4coreE", !16, i64 0, !19, i64 48, !6, i64 200, !6, i64 208, !7, i64 216, !23, i64 376, !22, i64 416, !24, i64 424, !18, i64 440, !7, i64 448, !6, i64 728, !6, i64 736, !26, i64 744}
!16 = !{!"_ZTSN3qOS9taskEventE", !17, i64 8, !10, i64 9, !10, i64 10, !10, i64 11, !18, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!17 = !{!"_ZTSN3qOS7triggerE", !7, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!"_ZTSN3qOS4taskE", !20, i64 0, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !18, i64 72, !7, i64 80, !21, i64 96, !22, i64 120, !18, i64 128, !22, i64 136, !22, i64 140, !22, i64 144, !7, i64 148, !17, i64 149}
!20 = !{!"_ZTSN3qOS4nodeE", !6, i64 8, !6, i64 16, !6, i64 24}
!21 = !{!"_ZTSN3qOS5timerE", !18, i64 8, !18, i64 16}
!22 = !{!"int", !7, i64 0}
!23 = !{!"_ZTSN3qOS9prioQueueE", !22, i64 8, !6, i64 16, !6, i64 24, !18, i64 32}
!24 = !{!"_ZTSN3qOS22notificationSpreader_tE", !25, i64 0, !6, i64 8}
!25 = !{!"_ZTSN3qOS10notifyModeE", !7, i64 0}
!26 = !{!"_ZTSN3qOS4listE", !20, i64 0, !6, i64 32, !6, i64 40, !18, i64 48}
!27 = !{!15, !6, i64 736}
!28 = !{!15, !6, i64 728}
!29 = !{!15, !22, i64 416}
!30 = distinct !{!30, !13}
!31 = !{i8 0, i8 2}
!32 = !{}


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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3qOS4core24triggerReleaseSchedEventEv(ptr noundef nonnull align 8 dereferenceable(800)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN3qOS4bits11multipleGetIjjEEbT_T0_(i32 noundef, i32 noundef) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3qOS4core12dispatchIdleEv(ptr noundef nonnull align 8 dereferenceable(800)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef zeroext i1 @_ZN3qOS4core3runEv(ptr noundef nonnull align 8 dereferenceable(800) %0) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = getelementptr inbounds i8, ptr %0, i64 96
  %3 = getelementptr inbounds i8, ptr %0, i64 448
  %4 = getelementptr inbounds i8, ptr %0, i64 744
  %5 = getelementptr inbounds i8, ptr %0, i64 736
  %6 = getelementptr inbounds i8, ptr %0, i64 728
  %7 = getelementptr inbounds i8, ptr %0, i64 416
  %8 = getelementptr inbounds i8, ptr %0, i64 560
  %9 = getelementptr inbounds i8, ptr %0, i64 504
  br label %10

10:                                               ; preds = %32, %1
  %11 = tail call noundef zeroext i1 @_ZN3qOS4core12checkIfReadyEv(ptr noundef nonnull align 8 dereferenceable(800) %0) #3
  br i1 %11, label %.preheader.preheader, label %18

.preheader.preheader:                             ; preds = %10
  %12 = tail call noundef i64 @_ZNK3qOS4list6lengthEv(ptr noundef nonnull align 8 dereferenceable(56) %8) #3
  %.not5 = icmp eq i64 %12, 0
  br i1 %.not5, label %.preheader.1, label %13

13:                                               ; preds = %.preheader.preheader
  tail call void @_ZN3qOS4core8dispatchEPNS_4listE(ptr noundef nonnull align 8 dereferenceable(800) %0, ptr noundef nonnull %8) #3
  br label %.preheader.1

.preheader.1:                                     ; preds = %13, %.preheader.preheader
  %14 = tail call noundef i64 @_ZNK3qOS4list6lengthEv(ptr noundef nonnull align 8 dereferenceable(56) %9) #3
  %.not5.1 = icmp eq i64 %14, 0
  br i1 %.not5.1, label %.preheader.2, label %15

15:                                               ; preds = %.preheader.1
  tail call void @_ZN3qOS4core8dispatchEPNS_4listE(ptr noundef nonnull align 8 dereferenceable(800) %0, ptr noundef nonnull %9) #3
  br label %.preheader.2

.preheader.2:                                     ; preds = %15, %.preheader.1
  %16 = tail call noundef i64 @_ZNK3qOS4list6lengthEv(ptr noundef nonnull align 8 dereferenceable(56) %3) #3
  %.not5.2 = icmp eq i64 %16, 0
  br i1 %.not5.2, label %.loopexit, label %17

17:                                               ; preds = %.preheader.2
  tail call void @_ZN3qOS4core8dispatchEPNS_4listE(ptr noundef nonnull align 8 dereferenceable(800) %0, ptr noundef nonnull %3) #3
  br label %.loopexit

18:                                               ; preds = %10
  %19 = load ptr, ptr %2, align 8, !tbaa !5
  %.not = icmp eq ptr %19, null
  br i1 %.not, label %.loopexit, label %20

20:                                               ; preds = %18
  tail call void @_ZN3qOS4core12dispatchIdleEv(ptr noundef nonnull align 8 dereferenceable(800) %0) #3
  br label %.loopexit

.loopexit:                                        ; preds = %.preheader.2, %17, %18, %20
  %21 = tail call noundef i64 @_ZNK3qOS4list6lengthEv(ptr noundef nonnull align 8 dereferenceable(56) %4) #3
  %.not7 = icmp eq i64 %21, 0
  br i1 %.not7, label %23, label %22

22:                                               ; preds = %.loopexit
  tail call void @_ZN3qOS4core19handleInputWatchersEv(ptr noundef nonnull align 8 dereferenceable(800) %0) #3
  br label %23

23:                                               ; preds = %22, %.loopexit
  %24 = load ptr, ptr %5, align 8, !tbaa !22
  %25 = tail call noundef i64 @_ZNK3qOS4list6lengthEv(ptr noundef nonnull align 8 dereferenceable(56) %24) #3
  %.not8 = icmp eq i64 %25, 0
  br i1 %.not8, label %32, label %26

26:                                               ; preds = %23
  %27 = load ptr, ptr %6, align 8, !tbaa !23
  %28 = load ptr, ptr %5, align 8, !tbaa !22
  %29 = tail call noundef zeroext i1 @_ZN3qOS4list4moveERS0_NS_12listPositionE(ptr noundef nonnull align 8 dereferenceable(56) %27, ptr noundef nonnull align 8 dereferenceable(56) %28, i32 noundef -2) #3
  %30 = load ptr, ptr %6, align 8, !tbaa !23
  %31 = tail call noundef zeroext i1 @_ZN3qOS4list4sortEPFbPKvS2_E(ptr noundef nonnull align 8 dereferenceable(56) %30, ptr noundef nonnull @_ZL23taskEntryOrderPreserverPKvS0_) #3
  br label %32

32:                                               ; preds = %23, %26
  %33 = load volatile i32, ptr %7, align 8, !tbaa !24
  %34 = tail call noundef zeroext i1 @_ZN3qOS4bits11multipleGetIjjEEbT_T0_(i32 noundef %33, i32 noundef 4)
  br i1 %34, label %35, label %10, !llvm.loop !25

35:                                               ; preds = %32
  tail call void @_ZN3qOS4core24triggerReleaseSchedEventEv(ptr noundef nonnull align 8 dereferenceable(800) %0) #3
  ret i1 true
}

; Function Attrs: nounwind
declare noundef i64 @_ZNK3qOS4list6lengthEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3qOS4core19handleInputWatchersEv(ptr noundef nonnull align 8 dereferenceable(800)) local_unnamed_addr #0 align 2

; Function Attrs: nounwind
declare noundef zeroext i1 @_ZN3qOS4list4moveERS0_NS_12listPositionE(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind
declare noundef zeroext i1 @_ZN3qOS4list4sortEPFbPKvS2_E(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL23taskEntryOrderPreserverPKvS0_(ptr noundef, ptr noundef) #0

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 = { 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 = { 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 #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, !13, i64 96}
!6 = !{!"_ZTSN3qOS4coreE", !7, i64 0, !14, i64 48, !13, i64 200, !13, i64 208, !9, i64 216, !18, i64 376, !17, i64 416, !19, i64 424, !12, i64 440, !9, i64 448, !13, i64 728, !13, i64 736, !21, i64 744}
!7 = !{!"_ZTSN3qOS9taskEventE", !8, i64 8, !11, i64 9, !11, i64 10, !11, i64 11, !12, i64 16, !13, i64 24, !13, i64 32, !13, i64 40}
!8 = !{!"_ZTSN3qOS7triggerE", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"bool", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!"_ZTSN3qOS4taskE", !15, i64 0, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !12, i64 72, !9, i64 80, !16, i64 96, !17, i64 120, !12, i64 128, !17, i64 136, !17, i64 140, !17, i64 144, !9, i64 148, !8, i64 149}
!15 = !{!"_ZTSN3qOS4nodeE", !13, i64 8, !13, i64 16, !13, i64 24}
!16 = !{!"_ZTSN3qOS5timerE", !12, i64 8, !12, i64 16}
!17 = !{!"int", !9, i64 0}
!18 = !{!"_ZTSN3qOS9prioQueueE", !17, i64 8, !13, i64 16, !13, i64 24, !12, i64 32}
!19 = !{!"_ZTSN3qOS22notificationSpreader_tE", !20, i64 0, !13, i64 8}
!20 = !{!"_ZTSN3qOS10notifyModeE", !9, i64 0}
!21 = !{!"_ZTSN3qOS4listE", !15, i64 0, !13, i64 32, !13, i64 40, !12, i64 48}
!22 = !{!6, !13, i64 736}
!23 = !{!6, !13, i64 728}
!24 = !{!6, !17, i64 416}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopSimplifyPass,SROAPass,SimplifyCFGPass,TailCallElimPass