; LLVM IR from xuxping/codelife :: algorthms/queue (maze_study)

; 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.Box = type { i32, i32, i32 }
%struct.Queue = type { ptr, i32, i32, i32 }

; Function Attrs: nounwind uwtable
declare dso_local ptr @initQueue(i32 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: nounwind uwtable
declare dso_local void @destoryQueue(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @enQueue(ptr noundef, i64, i32) #0

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @deQueue(ptr noundef, ptr noundef) #0

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

; Function Attrs: nounwind uwtable
define dso_local i32 @mgpath(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca %struct.Box, align 4
  %14 = alloca { i64, i32 }, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca { i64, i32 }, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %21 = call ptr @initQueue(i32 noundef 100)
  store ptr %21, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %13) #3
  %22 = load i32, ptr %7, align 4, !tbaa !9
  %23 = getelementptr inbounds %struct.Box, ptr %13, i32 0, i32 0
  store i32 %22, ptr %23, align 4, !tbaa !11
  %24 = load i32, ptr %8, align 4, !tbaa !9
  %25 = getelementptr inbounds %struct.Box, ptr %13, i32 0, i32 1
  store i32 %24, ptr %25, align 4, !tbaa !13
  %26 = getelementptr inbounds %struct.Box, ptr %13, i32 0, i32 2
  store i32 -1, ptr %26, align 4, !tbaa !14
  %27 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %13, i64 12, i1 false)
  %28 = getelementptr inbounds { i64, i32 }, ptr %14, i32 0, i32 0
  %29 = load i64, ptr %28, align 4
  %30 = getelementptr inbounds { i64, i32 }, ptr %14, i32 0, i32 1
  %31 = load i32, ptr %30, align 4
  %32 = call i32 @enQueue(ptr noundef %27, i64 %29, i32 %31)
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = load i32, ptr %7, align 4, !tbaa !9
  %35 = sext i32 %34 to i64
  %36 = mul nsw i64 %35, 6
  %37 = getelementptr inbounds i32, ptr %33, i64 %36
  %38 = load i32, ptr %8, align 4, !tbaa !9
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds i32, ptr %37, i64 %39
  store i32 -1, ptr %40, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  %41 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %41, ptr %15, align 4, !tbaa !9
  %42 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %42, ptr %16, align 4, !tbaa !9
  br label %43

43:                                               ; preds = %131, %5
  %44 = load ptr, ptr %12, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.Queue, ptr %44, i32 0, i32 3
  %46 = load i32, ptr %45, align 8, !tbaa !15
  %47 = load ptr, ptr %12, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.Queue, ptr %47, i32 0, i32 2
  %49 = load i32, ptr %48, align 4, !tbaa !17
  %50 = icmp ne i32 %46, %49
  br i1 %50, label %51, label %132

51:                                               ; preds = %43
  %52 = load ptr, ptr %12, align 8, !tbaa !5
  %53 = call i32 @deQueue(ptr noundef %52, ptr noundef %13)
  %54 = getelementptr inbounds %struct.Box, ptr %13, i32 0, i32 0
  %55 = load i32, ptr %54, align 4, !tbaa !11
  store i32 %55, ptr %15, align 4, !tbaa !9
  %56 = getelementptr inbounds %struct.Box, ptr %13, i32 0, i32 1
  %57 = load i32, ptr %56, align 4, !tbaa !13
  store i32 %57, ptr %16, align 4, !tbaa !9
  %58 = load i32, ptr %15, align 4, !tbaa !9
  %59 = load i32, ptr %9, align 4, !tbaa !9
  %60 = icmp eq i32 %58, %59
  br i1 %60, label %61, label %70

61:                                               ; preds = %51
  %62 = load i32, ptr %16, align 4, !tbaa !9
  %63 = load i32, ptr %10, align 4, !tbaa !9
  %64 = icmp eq i32 %62, %63
  br i1 %64, label %65, label %70

65:                                               ; preds = %61
  %66 = load ptr, ptr %12, align 8, !tbaa !5
  %67 = load ptr, ptr %12, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.Queue, ptr %67, i32 0, i32 2
  %69 = load i32, ptr %68, align 4, !tbaa !17
  call void @displayPath(ptr noundef %66, i32 noundef %69)
  store i32 1, ptr %11, align 4, !tbaa !9
  br label %132

70:                                               ; preds = %61, %51
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %71

71:                                               ; preds = %128, %70
  %72 = load i32, ptr %19, align 4, !tbaa !9
  %73 = icmp slt i32 %72, 4
  br i1 %73, label %75, label %74

74:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  br label %131

75:                                               ; preds = %71
  %76 = load i32, ptr %19, align 4, !tbaa !9
  switch i32 %76, label %93 [
    i32 0, label %77
    i32 1, label %81
    i32 2, label %85
    i32 3, label %89
  ]

77:                                               ; preds = %75
  %78 = load i32, ptr %15, align 4, !tbaa !9
  %79 = sub nsw i32 %78, 1
  store i32 %79, ptr %17, align 4, !tbaa !9
  %80 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %80, ptr %18, align 4, !tbaa !9
  br label %93

81:                                               ; preds = %75
  %82 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %82, ptr %17, align 4, !tbaa !9
  %83 = load i32, ptr %16, align 4, !tbaa !9
  %84 = add nsw i32 %83, 1
  store i32 %84, ptr %18, align 4, !tbaa !9
  br label %93

85:                                               ; preds = %75
  %86 = load i32, ptr %15, align 4, !tbaa !9
  %87 = add nsw i32 %86, 1
  store i32 %87, ptr %17, align 4, !tbaa !9
  %88 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %88, ptr %18, align 4, !tbaa !9
  br label %93

89:                                               ; preds = %75
  %90 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %90, ptr %17, align 4, !tbaa !9
  %91 = load i32, ptr %16, align 4, !tbaa !9
  %92 = sub nsw i32 %91, 1
  store i32 %92, ptr %18, align 4, !tbaa !9
  br label %93

93:                                               ; preds = %89, %85, %81, %77, %75
  %94 = load ptr, ptr %6, align 8, !tbaa !5
  %95 = load i32, ptr %17, align 4, !tbaa !9
  %96 = sext i32 %95 to i64
  %97 = mul nsw i64 %96, 6
  %98 = getelementptr inbounds i32, ptr %94, i64 %97
  %99 = load i32, ptr %18, align 4, !tbaa !9
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds i32, ptr %98, i64 %100
  %102 = load i32, ptr %101, align 4, !tbaa !9
  %103 = icmp eq i32 %102, 0
  br i1 %103, label %104, label %127

104:                                              ; preds = %93
  %105 = load i32, ptr %17, align 4, !tbaa !9
  %106 = getelementptr inbounds %struct.Box, ptr %13, i32 0, i32 0
  store i32 %105, ptr %106, align 4, !tbaa !11
  %107 = load i32, ptr %18, align 4, !tbaa !9
  %108 = getelementptr inbounds %struct.Box, ptr %13, i32 0, i32 1
  store i32 %107, ptr %108, align 4, !tbaa !13
  %109 = load ptr, ptr %12, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.Queue, ptr %109, i32 0, i32 2
  %111 = load i32, ptr %110, align 4, !tbaa !17
  %112 = getelementptr inbounds %struct.Box, ptr %13, i32 0, i32 2
  store i32 %111, ptr %112, align 4, !tbaa !14
  %113 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 4 %13, i64 12, i1 false)
  %114 = getelementptr inbounds { i64, i32 }, ptr %20, i32 0, i32 0
  %115 = load i64, ptr %114, align 4
  %116 = getelementptr inbounds { i64, i32 }, ptr %20, i32 0, i32 1
  %117 = load i32, ptr %116, align 4
  %118 = call i32 @enQueue(ptr noundef %113, i64 %115, i32 %117)
  %119 = load ptr, ptr %6, align 8, !tbaa !5
  %120 = load i32, ptr %17, align 4, !tbaa !9
  %121 = sext i32 %120 to i64
  %122 = mul nsw i64 %121, 6
  %123 = getelementptr inbounds i32, ptr %119, i64 %122
  %124 = load i32, ptr %18, align 4, !tbaa !9
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds i32, ptr %123, i64 %125
  store i32 -1, ptr %126, align 4, !tbaa !9
  br label %127

127:                                              ; preds = %104, %93
  br label %128

128:                                              ; preds = %127
  %129 = load i32, ptr %19, align 4, !tbaa !9
  %130 = add nsw i32 %129, 1
  store i32 %130, ptr %19, align 4, !tbaa !9
  br label %71, !llvm.loop !18

131:                                              ; preds = %74
  br label %43, !llvm.loop !20

132:                                              ; preds = %65, %43
  %133 = load ptr, ptr %12, align 8, !tbaa !5
  call void @destoryQueue(ptr noundef %133)
  %134 = load i32, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 12, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  ret i32 %134
}

attributes #0 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"Box", !10, i64 0, !10, i64 4, !10, i64 8}
!13 = !{!12, !10, i64 4}
!14 = !{!12, !10, i64 8}
!15 = !{!16, !10, i64 16}
!16 = !{!"Queue", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16}
!17 = !{!16, !10, i64 12}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}


; 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.Box = type { i32, i32, i32 }

; Function Attrs: nounwind uwtable
declare dso_local ptr @initQueue(i32 noundef) local_unnamed_addr #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @destoryQueue(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @enQueue(ptr noundef, i64, i32) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @deQueue(ptr noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @mgpath(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
  %6 = alloca %struct.Box, align 8
  %7 = tail call ptr @initQueue(i32 noundef 100)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #2
  store i32 %1, ptr %6, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %6, i64 4
  store i32 %2, ptr %8, align 4, !tbaa !10
  %9 = getelementptr inbounds i8, ptr %6, i64 8
  store i32 -1, ptr %9, align 8, !tbaa !11
  %.sroa.019.0.copyload = load i64, ptr %6, align 8
  %10 = tail call i32 @enQueue(ptr noundef %7, i64 %.sroa.019.0.copyload, i32 -1)
  %11 = sext i32 %1 to i64
  %.idx = mul nsw i64 %11, 24
  %12 = getelementptr inbounds i8, ptr %0, i64 %.idx
  %13 = sext i32 %2 to i64
  %14 = getelementptr inbounds i32, ptr %12, i64 %13
  store i32 -1, ptr %14, align 4, !tbaa !12
  %15 = getelementptr inbounds i8, ptr %7, i64 16
  %16 = getelementptr inbounds i8, ptr %7, i64 12
  %17 = load i32, ptr %15, align 8, !tbaa !13
  %18 = load i32, ptr %16, align 4, !tbaa !16
  %.not51 = icmp eq i32 %17, %18
  br i1 %.not51, label %.loopexit47, label %.lr.ph

.lr.ph:                                           ; preds = %5, %.loopexit
  %19 = call i32 @deQueue(ptr noundef nonnull %7, ptr noundef nonnull %6)
  %20 = load i32, ptr %6, align 8, !tbaa !5
  %21 = load i32, ptr %8, align 4, !tbaa !10
  %22 = icmp eq i32 %20, %3
  %23 = icmp eq i32 %21, %4
  %or.cond = select i1 %22, i1 %23, i1 false
  br i1 %or.cond, label %24, label %26

24:                                               ; preds = %.lr.ph
  %25 = load i32, ptr %16, align 4, !tbaa !16
  call void @displayPath(ptr noundef nonnull %7, i32 noundef %25)
  br label %.loopexit47

26:                                               ; preds = %.lr.ph
  %27 = add nsw i32 %21, -1
  %28 = add nsw i32 %20, 1
  %29 = add nsw i32 %21, 1
  %30 = add nsw i32 %20, -1
  %31 = sext i32 %30 to i64
  %.idx46 = mul nsw i64 %31, 24
  %32 = getelementptr inbounds i8, ptr %0, i64 %.idx46
  %33 = sext i32 %21 to i64
  %34 = getelementptr inbounds i32, ptr %32, i64 %33
  %35 = load i32, ptr %34, align 4, !tbaa !12
  %36 = icmp eq i32 %35, 0
  br i1 %36, label %37, label %40

37:                                               ; preds = %26
  store i32 %30, ptr %6, align 8, !tbaa !5
  %38 = load i32, ptr %16, align 4, !tbaa !16
  store i32 %38, ptr %9, align 8, !tbaa !11
  %.sroa.0.0.copyload = load i64, ptr %6, align 8
  %39 = call i32 @enQueue(ptr noundef nonnull %7, i64 %.sroa.0.0.copyload, i32 %38)
  store i32 -1, ptr %34, align 4, !tbaa !12
  br label %40

40:                                               ; preds = %26, %37
  %41 = sext i32 %20 to i64
  %.idx46.1 = mul nsw i64 %41, 24
  %42 = getelementptr inbounds i8, ptr %0, i64 %.idx46.1
  %43 = sext i32 %29 to i64
  %44 = getelementptr inbounds i32, ptr %42, i64 %43
  %45 = load i32, ptr %44, align 4, !tbaa !12
  %46 = icmp eq i32 %45, 0
  br i1 %46, label %47, label %50

47:                                               ; preds = %40
  store i32 %20, ptr %6, align 8, !tbaa !5
  store i32 %29, ptr %8, align 4, !tbaa !10
  %48 = load i32, ptr %16, align 4, !tbaa !16
  store i32 %48, ptr %9, align 8, !tbaa !11
  %.sroa.0.0.copyload.1 = load i64, ptr %6, align 8
  %49 = call i32 @enQueue(ptr noundef %7, i64 %.sroa.0.0.copyload.1, i32 %48)
  store i32 -1, ptr %44, align 4, !tbaa !12
  br label %50

50:                                               ; preds = %47, %40
  %51 = sext i32 %28 to i64
  %.idx46.2 = mul nsw i64 %51, 24
  %52 = getelementptr inbounds i8, ptr %0, i64 %.idx46.2
  %53 = sext i32 %21 to i64
  %54 = getelementptr inbounds i32, ptr %52, i64 %53
  %55 = load i32, ptr %54, align 4, !tbaa !12
  %56 = icmp eq i32 %55, 0
  br i1 %56, label %57, label %60

57:                                               ; preds = %50
  store i32 %28, ptr %6, align 8, !tbaa !5
  store i32 %21, ptr %8, align 4, !tbaa !10
  %58 = load i32, ptr %16, align 4, !tbaa !16
  store i32 %58, ptr %9, align 8, !tbaa !11
  %.sroa.0.0.copyload.2 = load i64, ptr %6, align 8
  %59 = call i32 @enQueue(ptr noundef %7, i64 %.sroa.0.0.copyload.2, i32 %58)
  store i32 -1, ptr %54, align 4, !tbaa !12
  br label %60

60:                                               ; preds = %57, %50
  %61 = sext i32 %20 to i64
  %.idx46.3 = mul nsw i64 %61, 24
  %62 = getelementptr inbounds i8, ptr %0, i64 %.idx46.3
  %63 = sext i32 %27 to i64
  %64 = getelementptr inbounds i32, ptr %62, i64 %63
  %65 = load i32, ptr %64, align 4, !tbaa !12
  %66 = icmp eq i32 %65, 0
  br i1 %66, label %67, label %.loopexit

67:                                               ; preds = %60
  store i32 %20, ptr %6, align 8, !tbaa !5
  store i32 %27, ptr %8, align 4, !tbaa !10
  %68 = load i32, ptr %16, align 4, !tbaa !16
  store i32 %68, ptr %9, align 8, !tbaa !11
  %.sroa.0.0.copyload.3 = load i64, ptr %6, align 8
  %69 = call i32 @enQueue(ptr noundef %7, i64 %.sroa.0.0.copyload.3, i32 %68)
  store i32 -1, ptr %64, align 4, !tbaa !12
  br label %.loopexit

.loopexit:                                        ; preds = %67, %60
  %70 = load i32, ptr %15, align 8, !tbaa !13
  %71 = load i32, ptr %16, align 4, !tbaa !16
  %.not = icmp eq i32 %70, %71
  br i1 %.not, label %.loopexit47, label %.lr.ph, !llvm.loop !17

.loopexit47:                                      ; preds = %.loopexit, %5, %24
  %.0 = phi i32 [ 1, %24 ], [ 0, %5 ], [ 0, %.loopexit ]
  call void @destoryQueue(ptr noundef nonnull %7)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #2
  ret i32 %.0
}

attributes #0 = { 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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, !7, i64 0}
!6 = !{!"Box", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!6, !7, i64 8}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !7, i64 16}
!14 = !{!"Queue", !15, i64 0, !7, i64 8, !7, i64 12, !7, i64 16}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!14, !7, i64 12}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass