; LLVM IR from ritikbanger/Hacktoberfest2022-DSA :: 11. Stack (InfixtoPostfix)

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

@top = external dso_local global i32, align 4
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1

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

declare i32 @printf(ptr noundef, ...) #1

; Function Attrs: nounwind uwtable
declare dso_local signext i8 @pop(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local signext i8 @read(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @prec(i8 noundef signext) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @isoperand(i8 noundef signext) #0

; Function Attrs: nounwind uwtable
define dso_local void @infixtopostfix(ptr noundef %0) #0 {
  %2 = alloca ptr, align 8
  %3 = alloca [20 x i8], align 16
  %4 = alloca [20 x i8], align 16
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 20, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 20, ptr %4) #4
  call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 20, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 0, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %7

7:                                                ; preds = %129, %1
  %8 = load ptr, ptr %2, align 8, !tbaa !5
  %9 = load i32, ptr %5, align 4, !tbaa !9
  %10 = sext i32 %9 to i64
  %11 = getelementptr inbounds i8, ptr %8, i64 %10
  %12 = load i8, ptr %11, align 1, !tbaa !11
  %13 = sext i8 %12 to i32
  %14 = icmp ne i32 %13, 0
  br i1 %14, label %15, label %130

15:                                               ; preds = %7
  %16 = load ptr, ptr %2, align 8, !tbaa !5
  %17 = load i32, ptr %5, align 4, !tbaa !9
  %18 = sext i32 %17 to i64
  %19 = getelementptr inbounds i8, ptr %16, i64 %18
  %20 = load i8, ptr %19, align 1, !tbaa !11
  %21 = call i32 @isoperand(i8 noundef signext %20)
  %22 = icmp ne i32 %21, 0
  br i1 %22, label %23, label %36

23:                                               ; preds = %15
  %24 = load ptr, ptr %2, align 8, !tbaa !5
  %25 = load i32, ptr %5, align 4, !tbaa !9
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds i8, ptr %24, i64 %26
  %28 = load i8, ptr %27, align 1, !tbaa !11
  %29 = load i32, ptr %6, align 4, !tbaa !9
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 %30
  store i8 %28, ptr %31, align 1, !tbaa !11
  %32 = load i32, ptr %6, align 4, !tbaa !9
  %33 = add nsw i32 %32, 1
  store i32 %33, ptr %6, align 4, !tbaa !9
  %34 = load i32, ptr %5, align 4, !tbaa !9
  %35 = add nsw i32 %34, 1
  store i32 %35, ptr %5, align 4, !tbaa !9
  br label %129

36:                                               ; preds = %15
  %37 = load ptr, ptr %2, align 8, !tbaa !5
  %38 = load i32, ptr %5, align 4, !tbaa !9
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds i8, ptr %37, i64 %39
  %41 = load i8, ptr %40, align 1, !tbaa !11
  %42 = sext i8 %41 to i32
  %43 = icmp eq i32 %42, 40
  br i1 %43, label %44, label %54

44:                                               ; preds = %36
  %45 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
  %46 = load ptr, ptr %2, align 8, !tbaa !5
  %47 = load i32, ptr %5, align 4, !tbaa !9
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds i8, ptr %46, i64 %48
  %50 = load i8, ptr %49, align 1, !tbaa !11
  %51 = call i32 @push(ptr noundef %45, i8 noundef signext %50)
  %52 = load i32, ptr %5, align 4, !tbaa !9
  %53 = add nsw i32 %52, 1
  store i32 %53, ptr %5, align 4, !tbaa !9
  br label %128

54:                                               ; preds = %36
  %55 = load ptr, ptr %2, align 8, !tbaa !5
  %56 = load i32, ptr %5, align 4, !tbaa !9
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds i8, ptr %55, i64 %57
  %59 = load i8, ptr %58, align 1, !tbaa !11
  %60 = sext i8 %59 to i32
  %61 = icmp eq i32 %60, 41
  br i1 %61, label %62, label %80

62:                                               ; preds = %54
  br label %63

63:                                               ; preds = %68, %62
  %64 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
  %65 = call signext i8 @read(ptr noundef %64)
  %66 = sext i8 %65 to i32
  %67 = icmp ne i32 %66, 40
  br i1 %67, label %68, label %75

68:                                               ; preds = %63
  %69 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
  %70 = call signext i8 @pop(ptr noundef %69)
  %71 = load i32, ptr %6, align 4, !tbaa !9
  %72 = add nsw i32 %71, 1
  store i32 %72, ptr %6, align 4, !tbaa !9
  %73 = sext i32 %71 to i64
  %74 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 %73
  store i8 %70, ptr %74, align 1, !tbaa !11
  br label %63, !llvm.loop !12

75:                                               ; preds = %63
  %76 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
  %77 = call signext i8 @pop(ptr noundef %76)
  %78 = load i32, ptr %5, align 4, !tbaa !9
  %79 = add nsw i32 %78, 1
  store i32 %79, ptr %5, align 4, !tbaa !9
  br label %127

80:                                               ; preds = %54
  %81 = load i32, ptr @top, align 4, !tbaa !9
  %82 = icmp eq i32 %81, -1
  br i1 %82, label %88, label %83

83:                                               ; preds = %80
  %84 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
  %85 = call signext i8 @read(ptr noundef %84)
  %86 = sext i8 %85 to i32
  %87 = icmp eq i32 %86, 40
  br i1 %87, label %88, label %97

88:                                               ; preds = %83, %80
  %89 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
  %90 = load ptr, ptr %2, align 8, !tbaa !5
  %91 = load i32, ptr %5, align 4, !tbaa !9
  %92 = add nsw i32 %91, 1
  store i32 %92, ptr %5, align 4, !tbaa !9
  %93 = sext i32 %91 to i64
  %94 = getelementptr inbounds i8, ptr %90, i64 %93
  %95 = load i8, ptr %94, align 1, !tbaa !11
  %96 = call i32 @push(ptr noundef %89, i8 noundef signext %95)
  br label %126

97:                                               ; preds = %83
  %98 = load ptr, ptr %2, align 8, !tbaa !5
  %99 = load i32, ptr %5, align 4, !tbaa !9
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds i8, ptr %98, i64 %100
  %102 = load i8, ptr %101, align 1, !tbaa !11
  %103 = call i32 @prec(i8 noundef signext %102)
  %104 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
  %105 = call signext i8 @read(ptr noundef %104)
  %106 = call i32 @prec(i8 noundef signext %105)
  %107 = icmp sgt i32 %103, %106
  br i1 %107, label %108, label %118

108:                                              ; preds = %97
  %109 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
  %110 = load ptr, ptr %2, align 8, !tbaa !5
  %111 = load i32, ptr %5, align 4, !tbaa !9
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds i8, ptr %110, i64 %112
  %114 = load i8, ptr %113, align 1, !tbaa !11
  %115 = call i32 @push(ptr noundef %109, i8 noundef signext %114)
  %116 = load i32, ptr %5, align 4, !tbaa !9
  %117 = add nsw i32 %116, 1
  store i32 %117, ptr %5, align 4, !tbaa !9
  br label %125

118:                                              ; preds = %97
  %119 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
  %120 = call signext i8 @pop(ptr noundef %119)
  %121 = load i32, ptr %6, align 4, !tbaa !9
  %122 = add nsw i32 %121, 1
  store i32 %122, ptr %6, align 4, !tbaa !9
  %123 = sext i32 %121 to i64
  %124 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 %123
  store i8 %120, ptr %124, align 1, !tbaa !11
  br label %125

125:                                              ; preds = %118, %108
  br label %126

126:                                              ; preds = %125, %88
  br label %127

127:                                              ; preds = %126, %75
  br label %128

128:                                              ; preds = %127, %44
  br label %129

129:                                              ; preds = %128, %23
  br label %7, !llvm.loop !14

130:                                              ; preds = %7
  br label %131

131:                                              ; preds = %134, %130
  %132 = load i32, ptr @top, align 4, !tbaa !9
  %133 = icmp ne i32 %132, -1
  br i1 %133, label %134, label %141

134:                                              ; preds = %131
  %135 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
  %136 = call signext i8 @pop(ptr noundef %135)
  %137 = load i32, ptr %6, align 4, !tbaa !9
  %138 = add nsw i32 %137, 1
  store i32 %138, ptr %6, align 4, !tbaa !9
  %139 = sext i32 %137 to i64
  %140 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 %139
  store i8 %136, ptr %140, align 1, !tbaa !11
  br label %131, !llvm.loop !15

141:                                              ; preds = %131
  %142 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0
  %143 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %142)
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 20, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 20, ptr %3) #4
  ret void
}

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

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

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 = { "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{!"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 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}


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

@top = external dso_local local_unnamed_addr global i32, align 4
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local signext i8 @pop(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local signext i8 @read(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @prec(i8 noundef signext) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @isoperand(i8 noundef signext) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @infixtopostfix(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
  %2 = alloca [20 x i8], align 16
  %3 = alloca [20 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %3) #4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(20) %3, i8 0, i64 20, i1 false)
  %4 = load i8, ptr %0, align 1, !tbaa !5
  %.not35 = icmp eq i8 %4, 0
  br i1 %.not35, label %.preheader, label %.lr.ph39

.preheader.loopexit:                              ; preds = %52
  %5 = sext i32 %.2 to i64
  br label %.preheader

.preheader:                                       ; preds = %.preheader.loopexit, %1
  %.0.lcssa = phi i64 [ 0, %1 ], [ %5, %.preheader.loopexit ]
  %6 = load i32, ptr @top, align 4, !tbaa !8
  %.not2941 = icmp eq i32 %6, -1
  br i1 %.not2941, label %._crit_edge44, label %.lr.ph43

.lr.ph39:                                         ; preds = %1, %52
  %7 = phi i8 [ %55, %52 ], [ %4, %1 ]
  %8 = phi ptr [ %54, %52 ], [ %0, %1 ]
  %.037 = phi i32 [ %.2, %52 ], [ 0, %1 ]
  %.02636 = phi i32 [ %.127, %52 ], [ 0, %1 ]
  %9 = call i32 @isoperand(i8 noundef signext %7)
  %.not30 = icmp eq i32 %9, 0
  %10 = load i8, ptr %8, align 1, !tbaa !5
  br i1 %.not30, label %16, label %11

11:                                               ; preds = %.lr.ph39
  %12 = sext i32 %.037 to i64
  %13 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %12
  store i8 %10, ptr %13, align 1, !tbaa !5
  %14 = add nsw i32 %.037, 1
  %15 = add nsw i32 %.02636, 1
  br label %52

16:                                               ; preds = %.lr.ph39
  switch i8 %10, label %28 [
    i8 40, label %19
    i8 41, label %.preheader32
  ]

.preheader32:                                     ; preds = %16
  %17 = call signext i8 @read(ptr noundef nonnull %2)
  %.not3133 = icmp eq i8 %17, 40
  br i1 %.not3133, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %.preheader32
  %18 = sext i32 %.037 to i64
  br label %.lr.ph

19:                                               ; preds = %16
  %20 = call i32 @push(ptr noundef nonnull %2, i8 noundef signext 40)
  %21 = add nsw i32 %.02636, 1
  br label %52

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ %18, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %22 = call signext i8 @pop(ptr noundef nonnull %2)
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %23 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %indvars.iv
  store i8 %22, ptr %23, align 1, !tbaa !5
  %24 = call signext i8 @read(ptr noundef nonnull %2)
  %.not31 = icmp eq i8 %24, 40
  br i1 %.not31, label %._crit_edge.loopexit, label %.lr.ph, !llvm.loop !10

._crit_edge.loopexit:                             ; preds = %.lr.ph
  %25 = trunc nsw i64 %indvars.iv.next to i32
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader32
  %.1.lcssa = phi i32 [ %.037, %.preheader32 ], [ %25, %._crit_edge.loopexit ]
  %26 = call signext i8 @pop(ptr noundef nonnull %2)
  %27 = add nsw i32 %.02636, 1
  br label %52

28:                                               ; preds = %16
  %29 = load i32, ptr @top, align 4, !tbaa !8
  %30 = icmp eq i32 %29, -1
  br i1 %30, label %34, label %31

31:                                               ; preds = %28
  %32 = call signext i8 @read(ptr noundef nonnull %2)
  %33 = icmp eq i8 %32, 40
  %.pre = load i8, ptr %8, align 1, !tbaa !5
  br i1 %33, label %34, label %38

34:                                               ; preds = %31, %28
  %35 = phi i8 [ %.pre, %31 ], [ %10, %28 ]
  %36 = add nsw i32 %.02636, 1
  %37 = call i32 @push(ptr noundef nonnull %2, i8 noundef signext %35)
  br label %52

38:                                               ; preds = %31
  %39 = call i32 @prec(i8 noundef signext %.pre)
  %40 = call signext i8 @read(ptr noundef nonnull %2)
  %41 = call i32 @prec(i8 noundef signext %40)
  %42 = icmp sgt i32 %39, %41
  br i1 %42, label %43, label %47

43:                                               ; preds = %38
  %44 = load i8, ptr %8, align 1, !tbaa !5
  %45 = call i32 @push(ptr noundef nonnull %2, i8 noundef signext %44)
  %46 = add nsw i32 %.02636, 1
  br label %52

47:                                               ; preds = %38
  %48 = call signext i8 @pop(ptr noundef nonnull %2)
  %49 = add nsw i32 %.037, 1
  %50 = sext i32 %.037 to i64
  %51 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %50
  store i8 %48, ptr %51, align 1, !tbaa !5
  br label %52

52:                                               ; preds = %19, %34, %47, %43, %._crit_edge, %11
  %.127 = phi i32 [ %15, %11 ], [ %21, %19 ], [ %27, %._crit_edge ], [ %36, %34 ], [ %46, %43 ], [ %.02636, %47 ]
  %.2 = phi i32 [ %14, %11 ], [ %.037, %19 ], [ %.1.lcssa, %._crit_edge ], [ %.037, %34 ], [ %.037, %43 ], [ %49, %47 ]
  %53 = sext i32 %.127 to i64
  %54 = getelementptr inbounds i8, ptr %0, i64 %53
  %55 = load i8, ptr %54, align 1, !tbaa !5
  %.not = icmp eq i8 %55, 0
  br i1 %.not, label %.preheader.loopexit, label %.lr.ph39, !llvm.loop !12

.lr.ph43:                                         ; preds = %.preheader, %.lr.ph43
  %indvars.iv46 = phi i64 [ %indvars.iv.next47, %.lr.ph43 ], [ %.0.lcssa, %.preheader ]
  %56 = call signext i8 @pop(ptr noundef nonnull %2)
  %indvars.iv.next47 = add nsw i64 %indvars.iv46, 1
  %57 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %indvars.iv46
  store i8 %56, ptr %57, align 1, !tbaa !5
  %58 = load i32, ptr @top, align 4, !tbaa !8
  %.not29 = icmp eq i32 %58, -1
  br i1 %.not29, label %._crit_edge44, label %.lr.ph43, !llvm.loop !13

._crit_edge44:                                    ; preds = %.lr.ph43, %.preheader
  %59 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef nonnull %3)
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %2) #4
  ret void
}

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

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

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


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass