; LLVM IR from whoiswelliton/Computer_Engineering_UTFPR-PB :: Embedded_Systems/TIVA Connected TM4C1294XL Projects/00 - freeRTOS10_on_TIVA (xTaskIncrementTick)

; 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.xLIST = type { i64, ptr, %struct.xMINI_LIST_ITEM }
%struct.xMINI_LIST_ITEM = type { i32, ptr, ptr }
%struct.xLIST_ITEM = type { i32, ptr, ptr, ptr, ptr }
%struct.tskTaskControlBlock = type { ptr, %struct.xLIST_ITEM, %struct.xLIST_ITEM, i64, ptr, [32 x i8], i64, i64, [1 x i32], [1 x i8] }

@pxCurrentTCB = external dso_local global ptr, align 8
@pxReadyTasksLists = external hidden global [15 x %struct.xLIST], align 16
@uxTopReadyPriority = external hidden global i64, align 8
@uxSchedulerSuspended = external hidden global i64, align 8
@xTickCount = external hidden global i32, align 4
@xNextTaskUnblockTime = external hidden global i32, align 4
@xYieldPending = external hidden global i64, align 8
@xPendedTicks = external hidden global i32, align 4
@pxDelayedTaskList = external hidden global ptr, align 8
@pxOverflowDelayedTaskList = external hidden global ptr, align 8
@xNumOfOverflows = external hidden global i64, align 8

; 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

declare i64 @uxListRemove(ptr noundef) #1

declare void @vListInsertEnd(ptr noundef, ptr noundef) #1

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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @vPortRaiseBASEPRI() #3

; Function Attrs: nounwind uwtable
define dso_local i64 @xTaskIncrementTick() #2 {
  %1 = alloca ptr, align 8
  %2 = alloca i32, align 4
  %3 = alloca i64, align 8
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  store i64 0, ptr %3, align 8, !tbaa !5
  %6 = load volatile i64, ptr @uxSchedulerSuspended, align 8, !tbaa !5
  %7 = icmp eq i64 %6, 0
  br i1 %7, label %8, label %117

8:                                                ; preds = %0
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  %9 = load volatile i32, ptr @xTickCount, align 4, !tbaa !9
  %10 = add i32 %9, 1
  store i32 %10, ptr %4, align 4, !tbaa !9
  %11 = load i32, ptr %4, align 4, !tbaa !9
  store volatile i32 %11, ptr @xTickCount, align 4, !tbaa !9
  %12 = load i32, ptr %4, align 4, !tbaa !9
  %13 = icmp eq i32 %12, 0
  br i1 %13, label %14, label %30

14:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %15 = load volatile ptr, ptr @pxDelayedTaskList, align 8, !tbaa !11
  %16 = getelementptr inbounds %struct.xLIST, ptr %15, i32 0, i32 0
  %17 = load volatile i64, ptr %16, align 8, !tbaa !13
  %18 = icmp eq i64 %17, 0
  %19 = zext i1 %18 to i64
  %20 = select i1 %18, i64 1, i64 0
  %21 = icmp eq i64 %20, 0
  br i1 %21, label %22, label %24

22:                                               ; preds = %14
  call void @vPortRaiseBASEPRI()
  br label %23

23:                                               ; preds = %23, %22
  br label %23

24:                                               ; preds = %14
  %25 = load volatile ptr, ptr @pxDelayedTaskList, align 8, !tbaa !11
  store ptr %25, ptr %5, align 8, !tbaa !11
  %26 = load volatile ptr, ptr @pxOverflowDelayedTaskList, align 8, !tbaa !11
  store volatile ptr %26, ptr @pxDelayedTaskList, align 8, !tbaa !11
  %27 = load ptr, ptr %5, align 8, !tbaa !11
  store volatile ptr %27, ptr @pxOverflowDelayedTaskList, align 8, !tbaa !11
  %28 = load volatile i64, ptr @xNumOfOverflows, align 8, !tbaa !5
  %29 = add nsw i64 %28, 1
  store volatile i64 %29, ptr @xNumOfOverflows, align 8, !tbaa !5
  call void @prvResetNextTaskUnblockTime()
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  br label %31

30:                                               ; preds = %8
  br label %31

31:                                               ; preds = %30, %24
  %32 = load i32, ptr %4, align 4, !tbaa !9
  %33 = load volatile i32, ptr @xNextTaskUnblockTime, align 4, !tbaa !9
  %34 = icmp uge i32 %32, %33
  br i1 %34, label %35, label %101

35:                                               ; preds = %31
  br label %36

36:                                               ; preds = %99, %35
  %37 = load volatile ptr, ptr @pxDelayedTaskList, align 8, !tbaa !11
  %38 = getelementptr inbounds %struct.xLIST, ptr %37, i32 0, i32 0
  %39 = load volatile i64, ptr %38, align 8, !tbaa !13
  %40 = icmp eq i64 %39, 0
  %41 = zext i1 %40 to i64
  %42 = select i1 %40, i64 1, i64 0
  %43 = icmp ne i64 %42, 0
  br i1 %43, label %44, label %45

44:                                               ; preds = %36
  store volatile i32 -1, ptr @xNextTaskUnblockTime, align 4, !tbaa !9
  br label %100

45:                                               ; preds = %36
  %46 = load volatile ptr, ptr @pxDelayedTaskList, align 8, !tbaa !11
  %47 = getelementptr inbounds %struct.xLIST, ptr %46, i32 0, i32 2
  %48 = getelementptr inbounds %struct.xMINI_LIST_ITEM, ptr %47, i32 0, i32 1
  %49 = load ptr, ptr %48, align 8, !tbaa !16
  %50 = getelementptr inbounds %struct.xLIST_ITEM, ptr %49, i32 0, i32 3
  %51 = load ptr, ptr %50, align 8, !tbaa !17
  store ptr %51, ptr %1, align 8, !tbaa !11
  %52 = load ptr, ptr %1, align 8, !tbaa !11
  %53 = getelementptr inbounds %struct.tskTaskControlBlock, ptr %52, i32 0, i32 1
  %54 = getelementptr inbounds %struct.xLIST_ITEM, ptr %53, i32 0, i32 0
  %55 = load i32, ptr %54, align 8, !tbaa !19
  store i32 %55, ptr %2, align 4, !tbaa !9
  %56 = load i32, ptr %4, align 4, !tbaa !9
  %57 = load i32, ptr %2, align 4, !tbaa !9
  %58 = icmp ult i32 %56, %57
  br i1 %58, label %59, label %61

59:                                               ; preds = %45
  %60 = load i32, ptr %2, align 4, !tbaa !9
  store volatile i32 %60, ptr @xNextTaskUnblockTime, align 4, !tbaa !9
  br label %100

61:                                               ; preds = %45
  br label %62

62:                                               ; preds = %61
  %63 = load ptr, ptr %1, align 8, !tbaa !11
  %64 = getelementptr inbounds %struct.tskTaskControlBlock, ptr %63, i32 0, i32 1
  %65 = call i64 @uxListRemove(ptr noundef %64)
  %66 = load ptr, ptr %1, align 8, !tbaa !11
  %67 = getelementptr inbounds %struct.tskTaskControlBlock, ptr %66, i32 0, i32 2
  %68 = getelementptr inbounds %struct.xLIST_ITEM, ptr %67, i32 0, i32 4
  %69 = load ptr, ptr %68, align 8, !tbaa !21
  %70 = icmp ne ptr %69, null
  br i1 %70, label %71, label %75

71:                                               ; preds = %62
  %72 = load ptr, ptr %1, align 8, !tbaa !11
  %73 = getelementptr inbounds %struct.tskTaskControlBlock, ptr %72, i32 0, i32 2
  %74 = call i64 @uxListRemove(ptr noundef %73)
  br label %76

75:                                               ; preds = %62
  br label %76

76:                                               ; preds = %75, %71
  %77 = load ptr, ptr %1, align 8, !tbaa !11
  %78 = getelementptr inbounds %struct.tskTaskControlBlock, ptr %77, i32 0, i32 3
  %79 = load i64, ptr %78, align 8, !tbaa !22
  %80 = shl i64 1, %79
  %81 = load volatile i64, ptr @uxTopReadyPriority, align 8, !tbaa !5
  %82 = or i64 %81, %80
  store volatile i64 %82, ptr @uxTopReadyPriority, align 8, !tbaa !5
  %83 = load ptr, ptr %1, align 8, !tbaa !11
  %84 = getelementptr inbounds %struct.tskTaskControlBlock, ptr %83, i32 0, i32 3
  %85 = load i64, ptr %84, align 8, !tbaa !22
  %86 = getelementptr inbounds [15 x %struct.xLIST], ptr @pxReadyTasksLists, i64 0, i64 %85
  %87 = load ptr, ptr %1, align 8, !tbaa !11
  %88 = getelementptr inbounds %struct.tskTaskControlBlock, ptr %87, i32 0, i32 1
  call void @vListInsertEnd(ptr noundef %86, ptr noundef %88)
  %89 = load ptr, ptr %1, align 8, !tbaa !11
  %90 = getelementptr inbounds %struct.tskTaskControlBlock, ptr %89, i32 0, i32 3
  %91 = load i64, ptr %90, align 8, !tbaa !22
  %92 = load volatile ptr, ptr @pxCurrentTCB, align 8, !tbaa !11
  %93 = getelementptr inbounds %struct.tskTaskControlBlock, ptr %92, i32 0, i32 3
  %94 = load i64, ptr %93, align 8, !tbaa !22
  %95 = icmp uge i64 %91, %94
  br i1 %95, label %96, label %97

96:                                               ; preds = %76
  store i64 1, ptr %3, align 8, !tbaa !5
  br label %98

97:                                               ; preds = %76
  br label %98

98:                                               ; preds = %97, %96
  br label %99

99:                                               ; preds = %98
  br label %36

100:                                              ; preds = %59, %44
  br label %101

101:                                              ; preds = %100, %31
  %102 = load volatile ptr, ptr @pxCurrentTCB, align 8, !tbaa !11
  %103 = getelementptr inbounds %struct.tskTaskControlBlock, ptr %102, i32 0, i32 3
  %104 = load i64, ptr %103, align 8, !tbaa !22
  %105 = getelementptr inbounds [15 x %struct.xLIST], ptr @pxReadyTasksLists, i64 0, i64 %104
  %106 = getelementptr inbounds %struct.xLIST, ptr %105, i32 0, i32 0
  %107 = load volatile i64, ptr %106, align 8, !tbaa !13
  %108 = icmp ugt i64 %107, 1
  br i1 %108, label %109, label %110

109:                                              ; preds = %101
  store i64 1, ptr %3, align 8, !tbaa !5
  br label %111

110:                                              ; preds = %101
  br label %111

111:                                              ; preds = %110, %109
  %112 = load volatile i64, ptr @xYieldPending, align 8, !tbaa !5
  %113 = icmp ne i64 %112, 0
  br i1 %113, label %114, label %115

114:                                              ; preds = %111
  store i64 1, ptr %3, align 8, !tbaa !5
  br label %116

115:                                              ; preds = %111
  br label %116

116:                                              ; preds = %115, %114
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  br label %120

117:                                              ; preds = %0
  %118 = load volatile i32, ptr @xPendedTicks, align 4, !tbaa !9
  %119 = add i32 %118, 1
  store volatile i32 %119, ptr @xPendedTicks, align 4, !tbaa !9
  br label %120

120:                                              ; preds = %117, %116
  %121 = load i64, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #4
  ret i64 %121
}

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 = { alwaysinline 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 }

!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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"xLIST", !6, i64 0, !12, i64 8, !15, i64 16}
!15 = !{!"xMINI_LIST_ITEM", !10, i64 0, !12, i64 8, !12, i64 16}
!16 = !{!14, !12, i64 24}
!17 = !{!18, !12, i64 24}
!18 = !{!"xLIST_ITEM", !10, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32}
!19 = !{!20, !10, i64 8}
!20 = !{!"tskTaskControlBlock", !12, i64 0, !18, i64 8, !18, i64 48, !6, i64 88, !12, i64 96, !7, i64 104, !6, i64 136, !6, i64 144, !7, i64 152, !7, i64 156}
!21 = !{!20, !12, i64 80}
!22 = !{!20, !6, i64 88}


; 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.xLIST = type { i64, ptr, %struct.xMINI_LIST_ITEM }
%struct.xMINI_LIST_ITEM = type { i32, ptr, ptr }

@pxCurrentTCB = external dso_local global ptr, align 8
@pxReadyTasksLists = external hidden global [15 x %struct.xLIST], align 16
@uxTopReadyPriority = external hidden global i64, align 8
@uxSchedulerSuspended = external hidden global i64, align 8
@xTickCount = external hidden global i32, align 4
@xNextTaskUnblockTime = external hidden global i32, align 4
@xYieldPending = external hidden global i64, align 8
@xPendedTicks = external hidden global i32, align 4
@pxDelayedTaskList = external hidden global ptr, align 8
@pxOverflowDelayedTaskList = external hidden global ptr, align 8
@xNumOfOverflows = external hidden global i64, align 8

declare i64 @uxListRemove(ptr noundef) local_unnamed_addr #0

declare void @vListInsertEnd(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden void @prvResetNextTaskUnblockTime() local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local range(i64 0, 2) i64 @xTaskIncrementTick() local_unnamed_addr #1 {
  %1 = load volatile i64, ptr @uxSchedulerSuspended, align 8, !tbaa !5
  %2 = icmp eq i64 %1, 0
  br i1 %2, label %3, label %59

3:                                                ; preds = %0
  %4 = load volatile i32, ptr @xTickCount, align 4, !tbaa !9
  %5 = add i32 %4, 1
  store volatile i32 %5, ptr @xTickCount, align 4, !tbaa !9
  %6 = icmp eq i32 %5, 0
  br i1 %6, label %7, label %17

7:                                                ; preds = %3
  %8 = load volatile ptr, ptr @pxDelayedTaskList, align 8, !tbaa !11
  %9 = load volatile i64, ptr %8, align 8, !tbaa !13
  %.not = icmp eq i64 %9, 0
  br i1 %.not, label %12, label %10

10:                                               ; preds = %7
  tail call void @vPortRaiseBASEPRI()
  br label %11

11:                                               ; preds = %11, %10
  br label %11

12:                                               ; preds = %7
  %13 = load volatile ptr, ptr @pxDelayedTaskList, align 8, !tbaa !11
  %14 = load volatile ptr, ptr @pxOverflowDelayedTaskList, align 8, !tbaa !11
  store volatile ptr %14, ptr @pxDelayedTaskList, align 8, !tbaa !11
  store volatile ptr %13, ptr @pxOverflowDelayedTaskList, align 8, !tbaa !11
  %15 = load volatile i64, ptr @xNumOfOverflows, align 8, !tbaa !5
  %16 = add nsw i64 %15, 1
  store volatile i64 %16, ptr @xNumOfOverflows, align 8, !tbaa !5
  tail call void @prvResetNextTaskUnblockTime()
  br label %17

17:                                               ; preds = %3, %12
  %18 = load volatile i32, ptr @xNextTaskUnblockTime, align 4, !tbaa !9
  %.not16 = icmp ult i32 %5, %18
  br i1 %.not16, label %51, label %.preheader

.preheader:                                       ; preds = %17
  %19 = load volatile ptr, ptr @pxDelayedTaskList, align 8, !tbaa !11
  %20 = load volatile i64, ptr %19, align 8, !tbaa !13
  %21 = icmp eq i64 %20, 0
  br i1 %21, label %.sink.split, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader, %37
  %.022 = phi i64 [ %spec.select, %37 ], [ 0, %.preheader ]
  %22 = load volatile ptr, ptr @pxDelayedTaskList, align 8, !tbaa !11
  %23 = getelementptr inbounds i8, ptr %22, i64 24
  %24 = load ptr, ptr %23, align 8, !tbaa !16
  %25 = getelementptr inbounds i8, ptr %24, i64 24
  %26 = load ptr, ptr %25, align 8, !tbaa !17
  %27 = getelementptr inbounds i8, ptr %26, i64 8
  %28 = load i32, ptr %27, align 8, !tbaa !19
  %29 = icmp ult i32 %5, %28
  br i1 %29, label %.sink.split, label %30

30:                                               ; preds = %.lr.ph
  %31 = tail call i64 @uxListRemove(ptr noundef nonnull %27) #3
  %32 = getelementptr inbounds i8, ptr %26, i64 80
  %33 = load ptr, ptr %32, align 8, !tbaa !21
  %.not17 = icmp eq ptr %33, null
  br i1 %.not17, label %37, label %34

34:                                               ; preds = %30
  %35 = getelementptr inbounds i8, ptr %26, i64 48
  %36 = tail call i64 @uxListRemove(ptr noundef nonnull %35) #3
  br label %37

37:                                               ; preds = %30, %34
  %38 = getelementptr inbounds i8, ptr %26, i64 88
  %39 = load i64, ptr %38, align 8, !tbaa !22
  %40 = shl nuw i64 1, %39
  %41 = load volatile i64, ptr @uxTopReadyPriority, align 8, !tbaa !5
  %42 = or i64 %41, %40
  store volatile i64 %42, ptr @uxTopReadyPriority, align 8, !tbaa !5
  %43 = getelementptr inbounds [15 x %struct.xLIST], ptr @pxReadyTasksLists, i64 0, i64 %39
  tail call void @vListInsertEnd(ptr noundef nonnull %43, ptr noundef nonnull %27) #3
  %44 = load i64, ptr %38, align 8, !tbaa !22
  %45 = load volatile ptr, ptr @pxCurrentTCB, align 8, !tbaa !11
  %46 = getelementptr inbounds i8, ptr %45, i64 88
  %47 = load i64, ptr %46, align 8, !tbaa !22
  %.not18 = icmp ult i64 %44, %47
  %spec.select = select i1 %.not18, i64 %.022, i64 1
  %48 = load volatile ptr, ptr @pxDelayedTaskList, align 8, !tbaa !11
  %49 = load volatile i64, ptr %48, align 8, !tbaa !13
  %50 = icmp eq i64 %49, 0
  br i1 %50, label %.sink.split, label %.lr.ph

.sink.split:                                      ; preds = %.lr.ph, %37, %.preheader
  %.sink = phi i32 [ -1, %.preheader ], [ -1, %37 ], [ %28, %.lr.ph ]
  %.2.ph = phi i64 [ 0, %.preheader ], [ %spec.select, %37 ], [ %.022, %.lr.ph ]
  store volatile i32 %.sink, ptr @xNextTaskUnblockTime, align 4, !tbaa !9
  br label %51

51:                                               ; preds = %.sink.split, %17
  %.2 = phi i64 [ 0, %17 ], [ %.2.ph, %.sink.split ]
  %52 = load volatile ptr, ptr @pxCurrentTCB, align 8, !tbaa !11
  %53 = getelementptr inbounds i8, ptr %52, i64 88
  %54 = load i64, ptr %53, align 8, !tbaa !22
  %55 = getelementptr inbounds [15 x %struct.xLIST], ptr @pxReadyTasksLists, i64 0, i64 %54
  %56 = load volatile i64, ptr %55, align 8, !tbaa !13
  %57 = icmp ugt i64 %56, 1
  %spec.select20 = select i1 %57, i64 1, i64 %.2
  %58 = load volatile i64, ptr @xYieldPending, align 8, !tbaa !5
  %.not19 = icmp eq i64 %58, 0
  %.4 = select i1 %.not19, i64 %spec.select20, i64 1
  br label %62

59:                                               ; preds = %0
  %60 = load volatile i32, ptr @xPendedTicks, align 4, !tbaa !9
  %61 = add i32 %60, 1
  store volatile i32 %61, ptr @xPendedTicks, align 4, !tbaa !9
  br label %62

62:                                               ; preds = %59, %51
  %.5 = phi i64 [ %.4, %51 ], [ 0, %59 ]
  ret i64 %.5
}

attributes #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 = { 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 = { alwaysinline 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"xLIST", !6, i64 0, !12, i64 8, !15, i64 16}
!15 = !{!"xMINI_LIST_ITEM", !10, i64 0, !12, i64 8, !12, i64 16}
!16 = !{!14, !12, i64 24}
!17 = !{!18, !12, i64 24}
!18 = !{!"xLIST_ITEM", !10, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32}
!19 = !{!20, !10, i64 8}
!20 = !{!"tskTaskControlBlock", !12, i64 0, !18, i64 8, !18, i64 48, !6, i64 88, !12, i64 96, !7, i64 104, !6, i64 136, !6, i64 144, !7, i64 152, !7, i64 156}
!21 = !{!20, !12, i64 80}
!22 = !{!20, !6, i64 88}


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