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

; 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::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 }
%"class.qOS::taskEvent" = type { ptr, i8, i8, i8, i8, i64, ptr, ptr, ptr }
%"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" }
%"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 }

@_ZN3qOS4task11BIT_ENABLEDE = external constant i32, align 4
@_ZN3qOS4task8PERIODICE = external constant i32, align 4
@_ZN3qOS4task8BIT_INITE = external constant i32, align 4

; Function Attrs: nounwind
declare void @_ZN3qOS4task8setFlagsEjb(ptr noundef nonnull align 8 dereferenceable(150), i32 noundef, i1 noundef zeroext) #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: nounwind
declare noundef zeroext i1 @_ZNK3qOS4task7getFlagEj(ptr noundef nonnull align 8 dereferenceable(150), i32 noundef) #0

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN3qOS4core25dispatchTaskFillEventInfoEPNS_4taskE(ptr noundef nonnull align 8 dereferenceable(800) %0, ptr noundef %1) #2 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %6 = load ptr, ptr %3, align 8
  %7 = load ptr, ptr %4, align 8, !tbaa !5
  %8 = getelementptr inbounds %"class.qOS::task", ptr %7, i32 0, i32 17
  %9 = load i8, ptr %8, align 1, !tbaa !9
  switch i8 %9, label %97 [
    i8 1, label %10
    i8 3, label %68
    i8 4, label %79
    i8 5, label %85
    i8 6, label %85
    i8 7, label %85
    i8 2, label %90
  ]

10:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  %11 = load ptr, ptr %4, align 8, !tbaa !5
  %12 = getelementptr inbounds %"class.qOS::task", ptr %11, i32 0, i32 13
  %13 = load i32, ptr %12, align 8, !tbaa !16
  store i32 %13, ptr %5, align 4, !tbaa !17
  %14 = load i32, ptr @_ZN3qOS4task8PERIODICE, align 4, !tbaa !17
  %15 = load i32, ptr %5, align 4, !tbaa !17
  %16 = icmp ne i32 %14, %15
  br i1 %16, label %17, label %20

17:                                               ; preds = %10
  %18 = load i32, ptr %5, align 4, !tbaa !17
  %19 = icmp slt i32 %18, 0
  br label %20

20:                                               ; preds = %17, %10
  %21 = phi i1 [ false, %10 ], [ %19, %17 ]
  %22 = getelementptr inbounds %"class.qOS::taskEvent", ptr %6, i32 0, i32 3
  %23 = zext i1 %21 to i8
  store i8 %23, ptr %22, align 2, !tbaa !18
  %24 = getelementptr inbounds %"class.qOS::taskEvent", ptr %6, i32 0, i32 3
  %25 = load i8, ptr %24, align 2, !tbaa !18, !range !21, !noundef !22
  %26 = trunc i8 %25 to i1
  br i1 %26, label %27, label %32

27:                                               ; preds = %20
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = getelementptr inbounds %"class.qOS::task", ptr %28, i32 0, i32 13
  %30 = load i32, ptr %29, align 8, !tbaa !16
  %31 = sub nsw i32 0, %30
  br label %36

32:                                               ; preds = %20
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = getelementptr inbounds %"class.qOS::task", ptr %33, i32 0, i32 13
  %35 = load i32, ptr %34, align 8, !tbaa !16
  br label %36

36:                                               ; preds = %32, %27
  %37 = phi i32 [ %31, %27 ], [ %35, %32 ]
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = getelementptr inbounds %"class.qOS::task", ptr %38, i32 0, i32 13
  store i32 %37, ptr %39, align 8, !tbaa !16
  %40 = load i32, ptr @_ZN3qOS4task8PERIODICE, align 4, !tbaa !17
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = getelementptr inbounds %"class.qOS::task", ptr %41, i32 0, i32 13
  %43 = load i32, ptr %42, align 8, !tbaa !16
  %44 = icmp ne i32 %40, %43
  br i1 %44, label %45, label %50

45:                                               ; preds = %36
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = getelementptr inbounds %"class.qOS::task", ptr %46, i32 0, i32 13
  %48 = load i32, ptr %47, align 8, !tbaa !16
  %49 = add nsw i32 %48, -1
  store i32 %49, ptr %47, align 8, !tbaa !16
  br label %50

50:                                               ; preds = %45, %36
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = getelementptr inbounds %"class.qOS::task", ptr %51, i32 0, i32 13
  %53 = load i32, ptr %52, align 8, !tbaa !16
  %54 = icmp eq i32 0, %53
  %55 = getelementptr inbounds %"class.qOS::taskEvent", ptr %6, i32 0, i32 4
  %56 = zext i1 %54 to i8
  store i8 %56, ptr %55, align 1, !tbaa !23
  %57 = getelementptr inbounds %"class.qOS::taskEvent", ptr %6, i32 0, i32 4
  %58 = load i8, ptr %57, align 1, !tbaa !23, !range !21, !noundef !22
  %59 = trunc i8 %58 to i1
  br i1 %59, label %60, label %63

60:                                               ; preds = %50
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = load i32, ptr @_ZN3qOS4task11BIT_ENABLEDE, align 4, !tbaa !17
  call void @_ZN3qOS4task8setFlagsEjb(ptr noundef nonnull align 8 dereferenceable(150) %61, i32 noundef %62, i1 noundef zeroext false) #3
  br label %63

63:                                               ; preds = %60, %50
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = getelementptr inbounds %"class.qOS::task", ptr %64, i32 0, i32 9
  %66 = call noundef i64 @_ZNK3qOS5timer7elapsedEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #3
  %67 = getelementptr inbounds %"class.qOS::taskEvent", ptr %6, i32 0, i32 5
  store i64 %66, ptr %67, align 8, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  br label %98

68:                                               ; preds = %2
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  %70 = getelementptr inbounds %"class.qOS::task", ptr %69, i32 0, i32 2
  %71 = load ptr, ptr %70, align 8, !tbaa !25
  %72 = getelementptr inbounds %"class.qOS::taskEvent", ptr %6, i32 0, i32 8
  store ptr %71, ptr %72, align 8, !tbaa !26
  %73 = load ptr, ptr %4, align 8, !tbaa !5
  %74 = getelementptr inbounds %"class.qOS::task", ptr %73, i32 0, i32 14
  %75 = load volatile i32, ptr %74, align 4, !tbaa !27
  %76 = sub i32 %75, 1
  %77 = load ptr, ptr %4, align 8, !tbaa !5
  %78 = getelementptr inbounds %"class.qOS::task", ptr %77, i32 0, i32 14
  store volatile i32 %76, ptr %78, align 4, !tbaa !27
  br label %98

79:                                               ; preds = %2
  %80 = load ptr, ptr %4, align 8, !tbaa !5
  %81 = getelementptr inbounds %"class.qOS::task", ptr %80, i32 0, i32 5
  %82 = load ptr, ptr %81, align 8, !tbaa !28
  %83 = call noundef ptr @_ZNK3qOS5queue4peekEv(ptr noundef nonnull align 8 dereferenceable(64) %82) #3
  %84 = getelementptr inbounds %"class.qOS::taskEvent", ptr %6, i32 0, i32 8
  store ptr %83, ptr %84, align 8, !tbaa !26
  br label %98

85:                                               ; preds = %2, %2, %2
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = getelementptr inbounds %"class.qOS::task", ptr %86, i32 0, i32 5
  %88 = load ptr, ptr %87, align 8, !tbaa !28
  %89 = getelementptr inbounds %"class.qOS::taskEvent", ptr %6, i32 0, i32 8
  store ptr %88, ptr %89, align 8, !tbaa !26
  br label %98

90:                                               ; preds = %2
  %91 = getelementptr inbounds %"class.qOS::core", ptr %6, i32 0, i32 5
  %92 = getelementptr inbounds %"class.qOS::prioQueue", ptr %91, i32 0, i32 2
  %93 = load ptr, ptr %92, align 8, !tbaa !29
  %94 = getelementptr inbounds %"class.qOS::taskEvent", ptr %6, i32 0, i32 8
  store ptr %93, ptr %94, align 8, !tbaa !26
  %95 = getelementptr inbounds %"class.qOS::core", ptr %6, i32 0, i32 5
  %96 = getelementptr inbounds %"class.qOS::prioQueue", ptr %95, i32 0, i32 2
  store ptr null, ptr %96, align 8, !tbaa !29
  br label %98

97:                                               ; preds = %2
  br label %98

98:                                               ; preds = %97, %90, %85, %79, %68, %63
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %100 = getelementptr inbounds %"class.qOS::task", ptr %99, i32 0, i32 17
  %101 = load i8, ptr %100, align 1, !tbaa !9
  %102 = getelementptr inbounds %"class.qOS::taskEvent", ptr %6, i32 0, i32 1
  store i8 %101, ptr %102, align 8, !tbaa !35
  %103 = load ptr, ptr %4, align 8, !tbaa !5
  %104 = load i32, ptr @_ZN3qOS4task8BIT_INITE, align 4, !tbaa !17
  %105 = call noundef zeroext i1 @_ZNK3qOS4task7getFlagEj(ptr noundef nonnull align 8 dereferenceable(150) %103, i32 noundef %104) #3
  %106 = xor i1 %105, true
  %107 = getelementptr inbounds %"class.qOS::taskEvent", ptr %6, i32 0, i32 2
  %108 = zext i1 %106 to i8
  store i8 %108, ptr %107, align 1, !tbaa !36
  %109 = load ptr, ptr %4, align 8, !tbaa !5
  %110 = getelementptr inbounds %"class.qOS::task", ptr %109, i32 0, i32 1
  %111 = load ptr, ptr %110, align 8, !tbaa !37
  %112 = getelementptr inbounds %"class.qOS::taskEvent", ptr %6, i32 0, i32 7
  store ptr %111, ptr %112, align 8, !tbaa !38
  %113 = load ptr, ptr %4, align 8, !tbaa !5
  %114 = getelementptr inbounds %"class.qOS::taskEvent", ptr %6, i32 0, i32 6
  store ptr %113, ptr %114, align 8, !tbaa !39
  ret void
}

; Function Attrs: nounwind
declare noundef i64 @_ZNK3qOS5timer7elapsedEv(ptr noundef nonnull align 8 dereferenceable(24)) #0

; Function Attrs: nounwind
declare noundef ptr @_ZNK3qOS5queue4peekEv(ptr noundef nonnull align 8 dereferenceable(64)) #0

attributes #0 = { 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 #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 = { 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, !15, i64 149}
!10 = !{!"_ZTSN3qOS4taskE", !11, i64 0, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !12, i64 72, !7, i64 80, !13, i64 96, !14, i64 120, !12, i64 128, !14, i64 136, !14, i64 140, !14, i64 144, !7, i64 148, !15, i64 149}
!11 = !{!"_ZTSN3qOS4nodeE", !6, i64 8, !6, i64 16, !6, i64 24}
!12 = !{!"long", !7, i64 0}
!13 = !{!"_ZTSN3qOS5timerE", !12, i64 8, !12, i64 16}
!14 = !{!"int", !7, i64 0}
!15 = !{!"_ZTSN3qOS7triggerE", !7, i64 0}
!16 = !{!10, !14, i64 136}
!17 = !{!14, !14, i64 0}
!18 = !{!19, !20, i64 10}
!19 = !{!"_ZTSN3qOS9taskEventE", !15, i64 8, !20, i64 9, !20, i64 10, !20, i64 11, !12, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!20 = !{!"bool", !7, i64 0}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!19, !20, i64 11}
!24 = !{!19, !12, i64 16}
!25 = !{!10, !6, i64 40}
!26 = !{!19, !6, i64 40}
!27 = !{!10, !14, i64 140}
!28 = !{!10, !6, i64 64}
!29 = !{!30, !6, i64 392}
!30 = !{!"_ZTSN3qOS4coreE", !19, i64 0, !10, i64 48, !6, i64 200, !6, i64 208, !7, i64 216, !31, i64 376, !14, i64 416, !32, i64 424, !12, i64 440, !7, i64 448, !6, i64 728, !6, i64 736, !34, i64 744}
!31 = !{!"_ZTSN3qOS9prioQueueE", !14, i64 8, !6, i64 16, !6, i64 24, !12, i64 32}
!32 = !{!"_ZTSN3qOS22notificationSpreader_tE", !33, i64 0, !6, i64 8}
!33 = !{!"_ZTSN3qOS10notifyModeE", !7, i64 0}
!34 = !{!"_ZTSN3qOS4listE", !11, i64 0, !6, i64 32, !6, i64 40, !12, i64 48}
!35 = !{!19, !15, i64 8}
!36 = !{!19, !20, i64 9}
!37 = !{!10, !6, i64 32}
!38 = !{!19, !6, i64 32}
!39 = !{!19, !6, i64 24}


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

@_ZN3qOS4task11BIT_ENABLEDE = external local_unnamed_addr constant i32, align 4
@_ZN3qOS4task8PERIODICE = external local_unnamed_addr constant i32, align 4
@_ZN3qOS4task8BIT_INITE = external local_unnamed_addr constant i32, align 4

; Function Attrs: nounwind
declare void @_ZN3qOS4task8setFlagsEjb(ptr noundef nonnull align 8 dereferenceable(150), i32 noundef, i1 noundef zeroext) local_unnamed_addr #0

; Function Attrs: nounwind
declare noundef zeroext i1 @_ZNK3qOS4task7getFlagEj(ptr noundef nonnull align 8 dereferenceable(150), i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN3qOS4core25dispatchTaskFillEventInfoEPNS_4taskE(ptr nocapture noundef nonnull align 8 dereferenceable(800) %0, ptr noundef %1) local_unnamed_addr #1 align 2 {
  %3 = getelementptr inbounds i8, ptr %1, i64 149
  %4 = load i8, ptr %3, align 1, !tbaa !5
  switch i8 %4, label %45 [
    i8 1, label %5
    i8 3, label %25
    i8 4, label %32
    i8 5, label %37
    i8 6, label %37
    i8 7, label %37
    i8 2, label %41
  ]

5:                                                ; preds = %2
  %6 = getelementptr inbounds i8, ptr %1, i64 136
  %7 = load i32, ptr %6, align 8, !tbaa !15
  %8 = load i32, ptr @_ZN3qOS4task8PERIODICE, align 4, !tbaa !16
  %9 = icmp ne i32 %8, %7
  %10 = icmp slt i32 %7, 0
  %11 = and i1 %10, %9
  %12 = getelementptr inbounds i8, ptr %0, i64 10
  %13 = zext i1 %11 to i8
  store i8 %13, ptr %12, align 2, !tbaa !17
  %14 = sub nsw i32 0, %7
  %spec.select = select i1 %11, i32 %14, i32 %7
  %.not = icmp ne i32 %8, %spec.select
  %15 = sext i1 %.not to i32
  %spec.select21 = add nsw i32 %spec.select, %15
  store i32 %spec.select21, ptr %6, align 8, !tbaa !15
  %16 = icmp eq i32 %spec.select21, 0
  %17 = getelementptr inbounds i8, ptr %0, i64 11
  %18 = zext i1 %16 to i8
  store i8 %18, ptr %17, align 1, !tbaa !20
  br i1 %16, label %19, label %21

19:                                               ; preds = %5
  %20 = load i32, ptr @_ZN3qOS4task11BIT_ENABLEDE, align 4, !tbaa !16
  tail call void @_ZN3qOS4task8setFlagsEjb(ptr noundef nonnull align 8 dereferenceable(150) %1, i32 noundef %20, i1 noundef zeroext false) #2
  br label %21

21:                                               ; preds = %19, %5
  %22 = getelementptr inbounds i8, ptr %1, i64 96
  %23 = tail call noundef i64 @_ZNK3qOS5timer7elapsedEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #2
  %24 = getelementptr inbounds i8, ptr %0, i64 16
  store i64 %23, ptr %24, align 8, !tbaa !21
  br label %45

25:                                               ; preds = %2
  %26 = getelementptr inbounds i8, ptr %1, i64 40
  %27 = load ptr, ptr %26, align 8, !tbaa !22
  %28 = getelementptr inbounds i8, ptr %0, i64 40
  store ptr %27, ptr %28, align 8, !tbaa !23
  %29 = getelementptr inbounds i8, ptr %1, i64 140
  %30 = load volatile i32, ptr %29, align 4, !tbaa !24
  %31 = add i32 %30, -1
  store volatile i32 %31, ptr %29, align 4, !tbaa !24
  br label %45

32:                                               ; preds = %2
  %33 = getelementptr inbounds i8, ptr %1, i64 64
  %34 = load ptr, ptr %33, align 8, !tbaa !25
  %35 = tail call noundef ptr @_ZNK3qOS5queue4peekEv(ptr noundef nonnull align 8 dereferenceable(64) %34) #2
  %36 = getelementptr inbounds i8, ptr %0, i64 40
  store ptr %35, ptr %36, align 8, !tbaa !23
  br label %45

37:                                               ; preds = %2, %2, %2
  %38 = getelementptr inbounds i8, ptr %1, i64 64
  %39 = load ptr, ptr %38, align 8, !tbaa !25
  %40 = getelementptr inbounds i8, ptr %0, i64 40
  store ptr %39, ptr %40, align 8, !tbaa !23
  br label %45

41:                                               ; preds = %2
  %42 = getelementptr inbounds i8, ptr %0, i64 392
  %43 = load ptr, ptr %42, align 8, !tbaa !26
  %44 = getelementptr inbounds i8, ptr %0, i64 40
  store ptr %43, ptr %44, align 8, !tbaa !23
  store ptr null, ptr %42, align 8, !tbaa !26
  br label %45

45:                                               ; preds = %2, %41, %37, %32, %25, %21
  %46 = load i8, ptr %3, align 1, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %0, i64 8
  store i8 %46, ptr %47, align 8, !tbaa !32
  %48 = load i32, ptr @_ZN3qOS4task8BIT_INITE, align 4, !tbaa !16
  %49 = tail call noundef zeroext i1 @_ZNK3qOS4task7getFlagEj(ptr noundef nonnull align 8 dereferenceable(150) %1, i32 noundef %48) #2
  %50 = xor i1 %49, true
  %51 = getelementptr inbounds i8, ptr %0, i64 9
  %52 = zext i1 %50 to i8
  store i8 %52, ptr %51, align 1, !tbaa !33
  %53 = getelementptr inbounds i8, ptr %1, i64 32
  %54 = load ptr, ptr %53, align 8, !tbaa !34
  %55 = getelementptr inbounds i8, ptr %0, i64 32
  store ptr %54, ptr %55, align 8, !tbaa !35
  %56 = getelementptr inbounds i8, ptr %0, i64 24
  store ptr %1, ptr %56, align 8, !tbaa !36
  ret void
}

; Function Attrs: nounwind
declare noundef i64 @_ZNK3qOS5timer7elapsedEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0

; Function Attrs: nounwind
declare noundef ptr @_ZNK3qOS5queue4peekEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #0

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


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