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

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

42:                                               ; preds = %126, %5
  %43 = load ptr, ptr %18, align 8, !tbaa !5
  %44 = call i32 @QueueEmpty(ptr noundef %43)
  %45 = icmp ne i32 %44, 1
  br i1 %45, label %46, label %127

46:                                               ; preds = %42
  %47 = load ptr, ptr %18, align 8, !tbaa !5
  %48 = call i32 @deQueue(ptr noundef %47, ptr noundef %12)
  %49 = getelementptr inbounds %struct.Box, ptr %12, i32 0, i32 0
  %50 = load i32, ptr %49, align 4, !tbaa !11
  store i32 %50, ptr %13, align 4, !tbaa !9
  %51 = getelementptr inbounds %struct.Box, ptr %12, i32 0, i32 1
  %52 = load i32, ptr %51, align 4, !tbaa !13
  store i32 %52, ptr %14, align 4, !tbaa !9
  %53 = load i32, ptr %13, align 4, !tbaa !9
  %54 = load i32, ptr %10, align 4, !tbaa !9
  %55 = icmp eq i32 %53, %54
  br i1 %55, label %56, label %66

56:                                               ; preds = %46
  %57 = load i32, ptr %14, align 4, !tbaa !9
  %58 = load i32, ptr %11, align 4, !tbaa !9
  %59 = icmp eq i32 %57, %58
  br i1 %59, label %60, label %66

60:                                               ; preds = %56
  %61 = load ptr, ptr %18, align 8, !tbaa !5
  %62 = load ptr, ptr %18, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.Queue, ptr %62, i32 0, i32 2
  %64 = load i32, ptr %63, align 4, !tbaa !15
  call void @displayPath(ptr noundef %61, i32 noundef %64)
  %65 = load ptr, ptr %18, align 8, !tbaa !5
  call void @destoryQueue(ptr noundef %65)
  store i32 1, ptr %6, align 4
  store i32 1, ptr %20, align 4
  br label %129

66:                                               ; preds = %56, %46
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %67

67:                                               ; preds = %123, %66
  %68 = load i32, ptr %15, align 4, !tbaa !9
  %69 = icmp slt i32 %68, 4
  br i1 %69, label %70, label %126

70:                                               ; preds = %67
  %71 = load i32, ptr %15, align 4, !tbaa !9
  switch i32 %71, label %88 [
    i32 0, label %72
    i32 1, label %76
    i32 2, label %80
    i32 3, label %84
  ]

72:                                               ; preds = %70
  %73 = load i32, ptr %13, align 4, !tbaa !9
  %74 = sub nsw i32 %73, 1
  store i32 %74, ptr %16, align 4, !tbaa !9
  %75 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %75, ptr %17, align 4, !tbaa !9
  br label %88

76:                                               ; preds = %70
  %77 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %77, ptr %16, align 4, !tbaa !9
  %78 = load i32, ptr %14, align 4, !tbaa !9
  %79 = add nsw i32 %78, 1
  store i32 %79, ptr %17, align 4, !tbaa !9
  br label %88

80:                                               ; preds = %70
  %81 = load i32, ptr %13, align 4, !tbaa !9
  %82 = add nsw i32 %81, 1
  store i32 %82, ptr %16, align 4, !tbaa !9
  %83 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %83, ptr %17, align 4, !tbaa !9
  br label %88

84:                                               ; preds = %70
  %85 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %85, ptr %16, align 4, !tbaa !9
  %86 = load i32, ptr %14, align 4, !tbaa !9
  %87 = sub nsw i32 %86, 1
  store i32 %87, ptr %17, align 4, !tbaa !9
  br label %88

88:                                               ; preds = %84, %80, %76, %72, %70
  %89 = load ptr, ptr %7, align 8, !tbaa !5
  %90 = load i32, ptr %16, align 4, !tbaa !9
  %91 = sext i32 %90 to i64
  %92 = mul nsw i64 %91, 6
  %93 = getelementptr inbounds i32, ptr %89, i64 %92
  %94 = load i32, ptr %17, align 4, !tbaa !9
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds i32, ptr %93, i64 %95
  %97 = load i32, ptr %96, align 4, !tbaa !9
  %98 = icmp eq i32 %97, 0
  br i1 %98, label %99, label %122

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

122:                                              ; preds = %99, %88
  br label %123

123:                                              ; preds = %122
  %124 = load i32, ptr %15, align 4, !tbaa !9
  %125 = add nsw i32 %124, 1
  store i32 %125, ptr %15, align 4, !tbaa !9
  br label %67, !llvm.loop !17

126:                                              ; preds = %67
  br label %42, !llvm.loop !19

127:                                              ; preds = %42
  %128 = load ptr, ptr %18, align 8, !tbaa !5
  call void @destoryQueue(ptr noundef %128)
  store i32 0, ptr %6, align 4
  store i32 1, ptr %20, align 4
  br label %129

129:                                              ; preds = %127, %60
  call void @llvm.lifetime.end.p0(i64 8, 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 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #3
  %130 = load i32, ptr %6, align 4
  ret i32 %130
}

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 12}
!16 = !{!"Queue", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}


; 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 i32 @QueueEmpty(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
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #2
  %7 = tail call ptr @initQueue(i32 noundef 200)
  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.01.0.copyload = load i64, ptr %6, align 8
  %10 = tail call i32 @enQueue(ptr noundef %7, i64 %.sroa.01.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 = tail call i32 @QueueEmpty(ptr noundef %7)
  %.not46 = icmp eq i32 %15, 1
  br i1 %.not46, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %5
  %16 = getelementptr inbounds i8, ptr %7, i64 12
  br label %17

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

23:                                               ; preds = %17
  %24 = load i32, ptr %16, align 4, !tbaa !13
  call void @displayPath(ptr noundef %7, i32 noundef %24)
  br label %._crit_edge

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

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

39:                                               ; preds = %25, %36
  %40 = sext i32 %19 to i64
  %.idx44.1 = mul nsw i64 %40, 24
  %41 = getelementptr inbounds i8, ptr %0, i64 %.idx44.1
  %42 = sext i32 %28 to i64
  %43 = getelementptr inbounds i32, ptr %41, i64 %42
  %44 = load i32, ptr %43, align 4, !tbaa !12
  %45 = icmp eq i32 %44, 0
  br i1 %45, label %46, label %49

46:                                               ; preds = %39
  store i32 %19, ptr %6, align 8, !tbaa !5
  store i32 %28, ptr %8, align 4, !tbaa !10
  %47 = load i32, ptr %16, align 4, !tbaa !13
  store i32 %47, ptr %9, align 8, !tbaa !11
  %.sroa.0.0.copyload.1 = load i64, ptr %6, align 8
  %48 = call i32 @enQueue(ptr noundef %7, i64 %.sroa.0.0.copyload.1, i32 %47)
  store i32 -1, ptr %43, align 4, !tbaa !12
  br label %49

49:                                               ; preds = %46, %39
  %50 = sext i32 %27 to i64
  %.idx44.2 = mul nsw i64 %50, 24
  %51 = getelementptr inbounds i8, ptr %0, i64 %.idx44.2
  %52 = sext i32 %20 to i64
  %53 = getelementptr inbounds i32, ptr %51, i64 %52
  %54 = load i32, ptr %53, align 4, !tbaa !12
  %55 = icmp eq i32 %54, 0
  br i1 %55, label %56, label %59

56:                                               ; preds = %49
  store i32 %27, ptr %6, align 8, !tbaa !5
  store i32 %20, ptr %8, align 4, !tbaa !10
  %57 = load i32, ptr %16, align 4, !tbaa !13
  store i32 %57, ptr %9, align 8, !tbaa !11
  %.sroa.0.0.copyload.2 = load i64, ptr %6, align 8
  %58 = call i32 @enQueue(ptr noundef %7, i64 %.sroa.0.0.copyload.2, i32 %57)
  store i32 -1, ptr %53, align 4, !tbaa !12
  br label %59

59:                                               ; preds = %56, %49
  %60 = sext i32 %19 to i64
  %.idx44.3 = mul nsw i64 %60, 24
  %61 = getelementptr inbounds i8, ptr %0, i64 %.idx44.3
  %62 = sext i32 %26 to i64
  %63 = getelementptr inbounds i32, ptr %61, i64 %62
  %64 = load i32, ptr %63, align 4, !tbaa !12
  %65 = icmp eq i32 %64, 0
  br i1 %65, label %66, label %.loopexit

66:                                               ; preds = %59
  store i32 %19, ptr %6, align 8, !tbaa !5
  store i32 %26, ptr %8, align 4, !tbaa !10
  %67 = load i32, ptr %16, align 4, !tbaa !13
  store i32 %67, ptr %9, align 8, !tbaa !11
  %.sroa.0.0.copyload.3 = load i64, ptr %6, align 8
  %68 = call i32 @enQueue(ptr noundef %7, i64 %.sroa.0.0.copyload.3, i32 %67)
  store i32 -1, ptr %63, align 4, !tbaa !12
  br label %.loopexit

.loopexit:                                        ; preds = %66, %59
  %69 = call i32 @QueueEmpty(ptr noundef %7)
  %.not = icmp eq i32 %69, 1
  br i1 %.not, label %._crit_edge, label %17, !llvm.loop !16

._crit_edge:                                      ; preds = %.loopexit, %5, %23
  %.0 = phi i32 [ 1, %23 ], [ 0, %5 ], [ 0, %.loopexit ]
  call void @destoryQueue(ptr noundef %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 12}
!14 = !{!"Queue", !15, i64 0, !7, i64 8, !7, i64 12, !7, i64 16}
!15 = !{!"any pointer", !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}


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