; LLVM IR from bqi343/cp-notebook :: Contests/USACO Solutions/2020-21/Dec/Plat/space.ll (Z8genWays0St4pairIiiE)

; 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.mint = type { i32 }
%"struct.std::pair" = type { i32, i32 }

@dp = external dso_local global [100 x [100 x [100 x %struct.mint]]], align 16
@ways = external dso_local global [2 x [100 x [100 x %struct.mint]]], align 16
@N = external dso_local global i32, align 4
@K = external dso_local global i32, align 4

; 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

; 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) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z8genWays0St4pairIiiE(i64 %0) #2 {
  %2 = alloca %"struct.std::pair", align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca %struct.mint, align 4
  %8 = alloca %struct.mint, align 4
  store i64 %0, ptr %2, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  %9 = getelementptr inbounds %"struct.std::pair", ptr %2, i32 0, i32 0
  %10 = load i32, ptr %9, align 4, !tbaa !5
  %11 = add nsw i32 %10, 1
  store i32 %11, ptr %3, align 4, !tbaa !10
  br label %12

12:                                               ; preds = %104, %1
  %13 = load i32, ptr %3, align 4, !tbaa !10
  %14 = load i32, ptr @K, align 4, !tbaa !10
  %15 = icmp slt i32 %13, %14
  br i1 %15, label %17, label %16

16:                                               ; preds = %12
  store i32 2, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  br label %107

17:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 0, ptr %5, align 4, !tbaa !10
  br label %18

18:                                               ; preds = %100, %17
  %19 = load i32, ptr %5, align 4, !tbaa !10
  %20 = load i32, ptr @N, align 4, !tbaa !10
  %21 = icmp slt i32 %19, %20
  br i1 %21, label %23, label %22

22:                                               ; preds = %18
  store i32 5, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %103

23:                                               ; preds = %18
  %24 = load i32, ptr %3, align 4, !tbaa !10
  %25 = getelementptr inbounds %"struct.std::pair", ptr %2, i32 0, i32 0
  %26 = load i32, ptr %25, align 4, !tbaa !5
  %27 = add nsw i32 %26, 1
  %28 = icmp eq i32 %24, %27
  br i1 %28, label %29, label %47

29:                                               ; preds = %23
  %30 = load i32, ptr %3, align 4, !tbaa !10
  %31 = sub nsw i32 %30, 1
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [100 x [100 x [100 x %struct.mint]]], ptr @dp, i64 0, i64 %32
  %34 = getelementptr inbounds %"struct.std::pair", ptr %2, i32 0, i32 1
  %35 = load i32, ptr %34, align 4, !tbaa !11
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [100 x [100 x %struct.mint]], ptr %33, i64 0, i64 %36
  %38 = load i32, ptr %5, align 4, !tbaa !10
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [100 x %struct.mint], ptr %37, i64 0, i64 %39
  %41 = load i32, ptr %3, align 4, !tbaa !10
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [100 x [100 x %struct.mint]], ptr @ways, i64 0, i64 %42
  %44 = load i32, ptr %5, align 4, !tbaa !10
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [100 x %struct.mint], ptr %43, i64 0, i64 %45
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %46, ptr align 4 %40, i64 4, i1 false), !tbaa.struct !12
  br label %99

47:                                               ; preds = %23
  %48 = load i32, ptr %3, align 4, !tbaa !10
  %49 = sub nsw i32 %48, 1
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [100 x [100 x %struct.mint]], ptr @ways, i64 0, i64 %50
  %52 = load i32, ptr %5, align 4, !tbaa !10
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [100 x %struct.mint], ptr %51, i64 0, i64 %53
  %55 = load i32, ptr %3, align 4, !tbaa !10
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [100 x [100 x %struct.mint]], ptr @ways, i64 0, i64 %56
  %58 = load i32, ptr %5, align 4, !tbaa !10
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds [100 x %struct.mint], ptr %57, i64 0, i64 %59
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %60, ptr align 4 %54, i64 4, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !10
  br label %61

61:                                               ; preds = %95, %47
  %62 = load i32, ptr %6, align 4, !tbaa !10
  %63 = load i32, ptr @N, align 4, !tbaa !10
  %64 = icmp slt i32 %62, %63
  br i1 %64, label %66, label %65

65:                                               ; preds = %61
  store i32 8, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %98

66:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %67 = load i32, ptr %3, align 4, !tbaa !10
  %68 = sub nsw i32 %67, 1
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds [100 x [100 x %struct.mint]], ptr @ways, i64 0, i64 %69
  %71 = load i32, ptr %6, align 4, !tbaa !10
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [100 x %struct.mint], ptr %70, i64 0, i64 %72
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %73, i64 4, i1 false), !tbaa.struct !12
  %74 = load i32, ptr %3, align 4, !tbaa !10
  %75 = sub nsw i32 %74, 1
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds [100 x [100 x [100 x %struct.mint]]], ptr @dp, i64 0, i64 %76
  %78 = load i32, ptr %6, align 4, !tbaa !10
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds [100 x [100 x %struct.mint]], ptr %77, i64 0, i64 %79
  %81 = load i32, ptr %5, align 4, !tbaa !10
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds [100 x %struct.mint], ptr %80, i64 0, i64 %82
  %84 = getelementptr inbounds %struct.mint, ptr %8, i32 0, i32 0
  %85 = load i32, ptr %84, align 4
  %86 = call i32 @_Zml4mintILi1000000007ELi5EERKS0_(i32 %85, ptr noundef nonnull align 4 dereferenceable(4) %83)
  %87 = getelementptr inbounds %struct.mint, ptr %7, i32 0, i32 0
  store i32 %86, ptr %87, align 4
  %88 = load i32, ptr %3, align 4, !tbaa !10
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds [100 x [100 x %struct.mint]], ptr @ways, i64 0, i64 %89
  %91 = load i32, ptr %5, align 4, !tbaa !10
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [100 x %struct.mint], ptr %90, i64 0, i64 %92
  %94 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN4mintILi1000000007ELi5EEpLERKS0_(ptr noundef nonnull align 4 dereferenceable(4) %93, ptr noundef nonnull align 4 dereferenceable(4) %7)
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %95

95:                                               ; preds = %66
  %96 = load i32, ptr %6, align 4, !tbaa !10
  %97 = add nsw i32 %96, 1
  store i32 %97, ptr %6, align 4, !tbaa !10
  br label %61, !llvm.loop !13

98:                                               ; preds = %65
  br label %99

99:                                               ; preds = %98, %29
  br label %100

100:                                              ; preds = %99
  %101 = load i32, ptr %5, align 4, !tbaa !10
  %102 = add nsw i32 %101, 1
  store i32 %102, ptr %5, align 4, !tbaa !10
  br label %18, !llvm.loop !15

103:                                              ; preds = %22
  br label %104

104:                                              ; preds = %103
  %105 = load i32, ptr %3, align 4, !tbaa !10
  %106 = add nsw i32 %105, 1
  store i32 %106, ptr %3, align 4, !tbaa !10
  br label %12, !llvm.loop !16

107:                                              ; preds = %16
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_Zml4mintILi1000000007ELi5EERKS0_(i32, ptr noundef nonnull align 4 dereferenceable(4)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN4mintILi1000000007ELi5EEpLERKS0_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress 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 = { 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 }

!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 = !{!"_ZTSSt4pairIiiE", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{i64 0, i64 4, !10}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}


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

@dp = external dso_local global [100 x [100 x [100 x %struct.mint]]], align 16
@ways = external dso_local global [2 x [100 x [100 x %struct.mint]]], align 16
@N = external dso_local local_unnamed_addr global i32, align 4
@K = external dso_local local_unnamed_addr global i32, align 4

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

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

; Function Attrs: mustprogress 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) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z8genWays0St4pairIiiE(i64 %0) local_unnamed_addr #2 {
  %2 = alloca %struct.mint, align 4
  %.sroa.022.0.extract.trunc = trunc i64 %0 to i32
  %3 = add nsw i32 %.sroa.022.0.extract.trunc, 1
  %4 = load i32, ptr @K, align 4, !tbaa !5
  %5 = icmp slt i32 %3, %4
  br i1 %5, label %.preheader.lr.ph, label %._crit_edge31

.preheader.lr.ph:                                 ; preds = %1
  %6 = load i32, ptr @N, align 4, !tbaa !5
  %7 = icmp sgt i32 %6, 0
  br i1 %7, label %.preheader.preheader, label %._crit_edge31

.preheader.preheader:                             ; preds = %.preheader.lr.ph
  %8 = ashr i64 %0, 32
  %sext52 = shl i64 %0, 32
  %9 = ashr exact i64 %sext52, 32
  %10 = mul nsw i64 %9, 400
  %11 = mul nsw i64 %9, 40000
  %12 = mul nsw i64 %8, 400
  %13 = add nsw i64 %9, 1
  %sext = sext i32 %3 to i64
  %14 = getelementptr i8, ptr @ways, i64 %10
  %15 = getelementptr i8, ptr %14, i64 400
  %16 = getelementptr i8, ptr @dp, i64 %11
  %17 = getelementptr i8, ptr %16, i64 %12
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %._crit_edge
  %18 = phi i32 [ %4, %.preheader.preheader ], [ %30, %._crit_edge ]
  %19 = phi i32 [ %6, %.preheader.preheader ], [ %31, %._crit_edge ]
  %20 = phi i32 [ %6, %.preheader.preheader ], [ %32, %._crit_edge ]
  %21 = phi i32 [ %6, %.preheader.preheader ], [ %33, %._crit_edge ]
  %22 = phi i32 [ %6, %.preheader.preheader ], [ %34, %._crit_edge ]
  %indvars.iv48 = phi i64 [ %13, %.preheader.preheader ], [ %indvars.iv.next49, %._crit_edge ]
  %indvar = phi i64 [ 0, %.preheader.preheader ], [ %indvar.next, %._crit_edge ]
  %23 = mul nuw nsw i64 %indvar, 400
  %scevgep = getelementptr i8, ptr %15, i64 %23
  %24 = mul nuw nsw i64 %indvar, 40000
  %scevgep43 = getelementptr i8, ptr %17, i64 %24
  %25 = icmp sgt i32 %22, 0
  br i1 %25, label %.lr.ph28, label %._crit_edge

.lr.ph28:                                         ; preds = %.preheader
  %26 = icmp eq i64 %indvars.iv48, %sext
  %27 = add nsw i64 %indvars.iv48, -1
  br i1 %26, label %.lr.ph28.split.us, label %.lr.ph28.split.split

.lr.ph28.split.us:                                ; preds = %.lr.ph28
  %smax44 = call i32 @llvm.smax.i32(i32 %19, i32 1)
  %28 = zext nneg i32 %smax44 to i64
  %29 = shl nuw nsw i64 %28, 2
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(1) %scevgep, ptr noundef nonnull align 16 dereferenceable(1) %scevgep43, i64 %29, i1 false), !tbaa !5
  br label %._crit_edge

._crit_edge31:                                    ; preds = %._crit_edge, %.preheader.lr.ph, %1
  ret void

._crit_edge.loopexit32:                           ; preds = %.loopexit
  %.pre = load i32, ptr @K, align 4, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit32, %.lr.ph28.split.us, %.preheader
  %30 = phi i32 [ %.pre, %._crit_edge.loopexit32 ], [ %18, %.lr.ph28.split.us ], [ %18, %.preheader ]
  %31 = phi i32 [ %51, %._crit_edge.loopexit32 ], [ %19, %.lr.ph28.split.us ], [ %19, %.preheader ]
  %32 = phi i32 [ %52, %._crit_edge.loopexit32 ], [ %19, %.lr.ph28.split.us ], [ %20, %.preheader ]
  %33 = phi i32 [ %52, %._crit_edge.loopexit32 ], [ %19, %.lr.ph28.split.us ], [ %21, %.preheader ]
  %34 = phi i32 [ %52, %._crit_edge.loopexit32 ], [ %19, %.lr.ph28.split.us ], [ %22, %.preheader ]
  %indvars.iv.next49 = add nsw i64 %indvars.iv48, 1
  %35 = sext i32 %30 to i64
  %36 = icmp slt i64 %indvars.iv.next49, %35
  %indvar.next = add nuw nsw i64 %indvar, 1
  br i1 %36, label %.preheader, label %._crit_edge31, !llvm.loop !9

.lr.ph28.split.split:                             ; preds = %.lr.ph28, %.loopexit
  %37 = phi i32 [ %51, %.loopexit ], [ %19, %.lr.ph28 ]
  %38 = phi i32 [ %52, %.loopexit ], [ %20, %.lr.ph28 ]
  %39 = phi i32 [ %52, %.loopexit ], [ %21, %.lr.ph28 ]
  %indvars.iv40 = phi i64 [ %indvars.iv.next41, %.loopexit ], [ 0, %.lr.ph28 ]
  %40 = getelementptr inbounds [100 x [100 x %struct.mint]], ptr @ways, i64 0, i64 %27, i64 %indvars.iv40
  %41 = getelementptr inbounds [100 x [100 x %struct.mint]], ptr @ways, i64 0, i64 %indvars.iv48, i64 %indvars.iv40
  %42 = load i32, ptr %40, align 4, !tbaa !5
  store i32 %42, ptr %41, align 4, !tbaa !5
  %43 = icmp sgt i32 %39, 0
  br i1 %43, label %.lr.ph, label %.lr.ph28.split.split..loopexit_crit_edge

.lr.ph28.split.split..loopexit_crit_edge:         ; preds = %.lr.ph28.split.split
  %.pre51 = sext i32 %38 to i64
  br label %.loopexit

.lr.ph:                                           ; preds = %.lr.ph28.split.split, %.lr.ph
  %indvars.iv37 = phi i64 [ %indvars.iv.next38, %.lr.ph ], [ 0, %.lr.ph28.split.split ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #5
  %44 = getelementptr inbounds [100 x [100 x %struct.mint]], ptr @ways, i64 0, i64 %27, i64 %indvars.iv37
  %.sroa.0.0.copyload = load i32, ptr %44, align 4, !tbaa !5
  %45 = getelementptr inbounds [100 x [100 x [100 x %struct.mint]]], ptr @dp, i64 0, i64 %27, i64 %indvars.iv37, i64 %indvars.iv40
  %46 = call i32 @_Zml4mintILi1000000007ELi5EERKS0_(i32 %.sroa.0.0.copyload, ptr noundef nonnull align 4 dereferenceable(4) %45)
  store i32 %46, ptr %2, align 4
  %47 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN4mintILi1000000007ELi5EEpLERKS0_(ptr noundef nonnull align 4 dereferenceable(4) %41, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #5
  %indvars.iv.next38 = add nuw nsw i64 %indvars.iv37, 1
  %48 = load i32, ptr @N, align 4, !tbaa !5
  %49 = sext i32 %48 to i64
  %50 = icmp slt i64 %indvars.iv.next38, %49
  br i1 %50, label %.lr.ph, label %.loopexit, !llvm.loop !12

.loopexit:                                        ; preds = %.lr.ph, %.lr.ph28.split.split..loopexit_crit_edge
  %.pre-phi = phi i64 [ %.pre51, %.lr.ph28.split.split..loopexit_crit_edge ], [ %49, %.lr.ph ]
  %51 = phi i32 [ %37, %.lr.ph28.split.split..loopexit_crit_edge ], [ %48, %.lr.ph ]
  %52 = phi i32 [ %38, %.lr.ph28.split.split..loopexit_crit_edge ], [ %48, %.lr.ph ]
  %indvars.iv.next41 = add nuw nsw i64 %indvars.iv40, 1
  %53 = icmp slt i64 %indvars.iv.next41, %.pre-phi
  br i1 %53, label %.lr.ph28.split.split, label %._crit_edge.loopexit32, !llvm.loop !13
}

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_Zml4mintILi1000000007ELi5EERKS0_(i32, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN4mintILi1000000007ELi5EEpLERKS0_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress 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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10, !11}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.unswitch.partial.disable"}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10, !11}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass