; LLVM IR from tangjz/acm-icpc :: codeforces/gym/101064D.ll (Z5solvev)

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

@_ZZ5solvevE1a = external hidden global [100001 x i32], align 16
@.str = external hidden unnamed_addr constant [7 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5solvev() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i64, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i64, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #4
  %10 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %11

11:                                               ; preds = %21, %0
  %12 = load i32, ptr %3, align 4, !tbaa !5
  %13 = load i32, ptr %1, align 4, !tbaa !5
  %14 = icmp slt i32 %12, %13
  br i1 %14, label %16, label %15

15:                                               ; preds = %11
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  br label %24

16:                                               ; preds = %11
  %17 = load i32, ptr %3, align 4, !tbaa !5
  %18 = sext i32 %17 to i64
  %19 = getelementptr inbounds i32, ptr @_ZZ5solvevE1a, i64 %18
  %20 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %19)
  br label %21

21:                                               ; preds = %16
  %22 = load i32, ptr %3, align 4, !tbaa !5
  %23 = add nsw i32 %22, 1
  store i32 %23, ptr %3, align 4, !tbaa !5
  br label %11, !llvm.loop !9

24:                                               ; preds = %15
  %25 = load i32, ptr %1, align 4, !tbaa !5
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds i32, ptr @_ZZ5solvevE1a, i64 %26
  call void @_ZSt4sortIPiEvT_S1_(ptr noundef @_ZZ5solvevE1a, ptr noundef %27)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  %28 = load i32, ptr @_ZZ5solvevE1a, align 16, !tbaa !5
  %29 = load i32, ptr getelementptr inbounds ([100001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 1), align 4, !tbaa !5
  %30 = add nsw i32 %28, %29
  store i32 %30, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  %31 = load i32, ptr %1, align 4, !tbaa !5
  %32 = sub nsw i32 %31, 2
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds [100001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %33
  %35 = load i32, ptr %34, align 4, !tbaa !5
  %36 = load i32, ptr %1, align 4, !tbaa !5
  %37 = sub nsw i32 %36, 1
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [100001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %38
  %40 = load i32, ptr %39, align 4, !tbaa !5
  %41 = add nsw i32 %35, %40
  store i32 %41, ptr %5, align 4, !tbaa !5
  br label %42

42:                                               ; preds = %107, %24
  %43 = load i32, ptr %4, align 4, !tbaa !5
  %44 = load i32, ptr %5, align 4, !tbaa !5
  %45 = icmp slt i32 %43, %44
  br i1 %45, label %46, label %108

46:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  %47 = load i32, ptr %4, align 4, !tbaa !5
  %48 = load i32, ptr %5, align 4, !tbaa !5
  %49 = load i32, ptr %4, align 4, !tbaa !5
  %50 = sub nsw i32 %48, %49
  %51 = ashr i32 %50, 1
  %52 = add nsw i32 %47, %51
  store i32 %52, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store i64 0, ptr %7, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %53 = load i32, ptr %1, align 4, !tbaa !5
  %54 = sub nsw i32 %53, 1
  store i32 %54, ptr %9, align 4, !tbaa !5
  br label %55

55:                                               ; preds = %95, %46
  %56 = load i32, ptr %8, align 4, !tbaa !5
  %57 = load i32, ptr %9, align 4, !tbaa !5
  %58 = icmp slt i32 %56, %57
  br i1 %58, label %60, label %59

59:                                               ; preds = %55
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %98

60:                                               ; preds = %55
  br label %61

61:                                               ; preds = %80, %60
  %62 = load i32, ptr %8, align 4, !tbaa !5
  %63 = load i32, ptr %9, align 4, !tbaa !5
  %64 = icmp slt i32 %62, %63
  br i1 %64, label %65, label %77

65:                                               ; preds = %61
  %66 = load i32, ptr %8, align 4, !tbaa !5
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [100001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %67
  %69 = load i32, ptr %68, align 4, !tbaa !5
  %70 = load i32, ptr %9, align 4, !tbaa !5
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [100001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %71
  %73 = load i32, ptr %72, align 4, !tbaa !5
  %74 = add nsw i32 %69, %73
  %75 = load i32, ptr %6, align 4, !tbaa !5
  %76 = icmp sgt i32 %74, %75
  br label %77

77:                                               ; preds = %65, %61
  %78 = phi i1 [ false, %61 ], [ %76, %65 ]
  br i1 %78, label %79, label %83

79:                                               ; preds = %77
  br label %80

80:                                               ; preds = %79
  %81 = load i32, ptr %9, align 4, !tbaa !5
  %82 = add nsw i32 %81, -1
  store i32 %82, ptr %9, align 4, !tbaa !5
  br label %61, !llvm.loop !13

83:                                               ; preds = %77
  %84 = load i32, ptr %8, align 4, !tbaa !5
  %85 = load i32, ptr %9, align 4, !tbaa !5
  %86 = icmp slt i32 %84, %85
  br i1 %86, label %87, label %94

87:                                               ; preds = %83
  %88 = load i32, ptr %9, align 4, !tbaa !5
  %89 = load i32, ptr %8, align 4, !tbaa !5
  %90 = sub nsw i32 %88, %89
  %91 = sext i32 %90 to i64
  %92 = load i64, ptr %7, align 8, !tbaa !11
  %93 = add nsw i64 %92, %91
  store i64 %93, ptr %7, align 8, !tbaa !11
  br label %94

94:                                               ; preds = %87, %83
  br label %95

95:                                               ; preds = %94
  %96 = load i32, ptr %8, align 4, !tbaa !5
  %97 = add nsw i32 %96, 1
  store i32 %97, ptr %8, align 4, !tbaa !5
  br label %55, !llvm.loop !14

98:                                               ; preds = %59
  %99 = load i64, ptr %7, align 8, !tbaa !11
  %100 = load i64, ptr %2, align 8, !tbaa !11
  %101 = icmp slt i64 %99, %100
  br i1 %101, label %102, label %105

102:                                              ; preds = %98
  %103 = load i32, ptr %6, align 4, !tbaa !5
  %104 = add nsw i32 %103, 1
  store i32 %104, ptr %4, align 4, !tbaa !5
  br label %107

105:                                              ; preds = %98
  %106 = load i32, ptr %6, align 4, !tbaa !5
  store i32 %106, ptr %5, align 4, !tbaa !5
  br label %107

107:                                              ; preds = %105, %102
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %42, !llvm.loop !15

108:                                              ; preds = %42
  %109 = load i32, ptr %4, align 4, !tbaa !5
  %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %109)
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #4
  ret void
}

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

declare i32 @__isoc99_scanf(ptr noundef, ...) #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPiEvT_S1_(ptr noundef, ptr noundef) #3

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

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


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

@_ZZ5solvevE1a = external hidden global [100001 x i32], align 16
@.str = external hidden unnamed_addr constant [7 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5solvev() local_unnamed_addr #0 {
  %1 = alloca i32, align 4
  %2 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
  %3 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1, ptr noundef nonnull %2)
  %4 = load i32, ptr %1, align 4, !tbaa !5
  %5 = icmp sgt i32 %4, 0
  br i1 %5, label %.lr.ph, label %.._crit_edge_crit_edge

.._crit_edge_crit_edge:                           ; preds = %0
  %.pre70 = sext i32 %4 to i64
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %.._crit_edge_crit_edge
  %.pre-phi71 = phi i64 [ %.pre70, %.._crit_edge_crit_edge ], [ %52, %.lr.ph ]
  %6 = getelementptr inbounds i32, ptr @_ZZ5solvevE1a, i64 %.pre-phi71
  call void @_ZSt4sortIPiEvT_S1_(ptr noundef nonnull @_ZZ5solvevE1a, ptr noundef nonnull %6)
  %7 = load i32, ptr @_ZZ5solvevE1a, align 16, !tbaa !5
  %8 = load i32, ptr getelementptr inbounds (i8, ptr @_ZZ5solvevE1a, i64 4), align 4, !tbaa !5
  %9 = add nsw i32 %8, %7
  %10 = load i32, ptr %1, align 4, !tbaa !5
  %11 = add nsw i32 %10, -2
  %12 = sext i32 %11 to i64
  %13 = getelementptr inbounds [100001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %12
  %14 = load i32, ptr %13, align 4, !tbaa !5
  %15 = add nsw i32 %10, -1
  %16 = sext i32 %15 to i64
  %17 = getelementptr inbounds [100001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %16
  %18 = load i32, ptr %17, align 4, !tbaa !5
  %19 = add nsw i32 %18, %14
  %20 = icmp slt i32 %9, %19
  br i1 %20, label %.lr.ph48, label %._crit_edge49

.lr.ph48:                                         ; preds = %._crit_edge
  %21 = icmp sgt i32 %10, 1
  %22 = load i64, ptr %2, align 8, !tbaa !9
  %.fr56 = freeze i64 %22
  br i1 %21, label %.preheader.lr.ph.us, label %.lr.ph48.split

.preheader.lr.ph.us:                              ; preds = %.lr.ph48, %._crit_edge43.us
  %.03046.us = phi i32 [ %.131.us, %._crit_edge43.us ], [ %19, %.lr.ph48 ]
  %.03245.us = phi i32 [ %.133.us, %._crit_edge43.us ], [ %9, %.lr.ph48 ]
  %23 = sub nsw i32 %.03046.us, %.03245.us
  %24 = ashr i32 %23, 1
  %25 = add nsw i32 %24, %.03245.us
  br label %.preheader.us

26:                                               ; preds = %.preheader.us, %35
  %indvars.iv64 = phi i64 [ %39, %.preheader.us ], [ %indvars.iv.next65, %35 ]
  %27 = getelementptr inbounds [100001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %indvars.iv64
  %28 = load i32, ptr %27, align 4, !tbaa !5
  %29 = add nsw i32 %28, %38
  %30 = icmp sgt i32 %29, %25
  br i1 %30, label %35, label %.critedge.us

.critedge.us:                                     ; preds = %26
  %sext = shl i64 %indvars.iv64, 32
  %31 = ashr exact i64 %sext, 32
  %32 = sub nsw i64 %31, %indvars.iv67
  %33 = add nsw i64 %.02740.us, %32
  br label %.critedge35.us

.critedge35.us.loopexit:                          ; preds = %35
  %sext72 = shl i64 %indvars.iv.next65, 32
  %.pre = ashr exact i64 %sext72, 32
  br label %.critedge35.us

.critedge35.us:                                   ; preds = %.critedge35.us.loopexit, %.critedge.us
  %.pre-phi = phi i64 [ %.pre, %.critedge35.us.loopexit ], [ %31, %.critedge.us ]
  %.137.us.in = phi i64 [ %indvars.iv.next65, %.critedge35.us.loopexit ], [ %indvars.iv64, %.critedge.us ]
  %.128.us = phi i64 [ %.02740.us, %.critedge35.us.loopexit ], [ %33, %.critedge.us ]
  %.137.us = trunc i64 %.137.us.in to i32
  %indvars.iv.next68 = add nuw nsw i64 %indvars.iv67, 1
  %34 = icmp slt i64 %indvars.iv.next68, %.pre-phi
  br i1 %34, label %.preheader.us, label %._crit_edge43.us, !llvm.loop !11

35:                                               ; preds = %26
  %indvars.iv.next65 = add nsw i64 %indvars.iv64, -1
  %36 = icmp slt i64 %indvars.iv67, %indvars.iv.next65
  br i1 %36, label %26, label %.critedge35.us.loopexit, !llvm.loop !13

.preheader.us:                                    ; preds = %.preheader.lr.ph.us, %.critedge35.us
  %indvars.iv67 = phi i64 [ 0, %.preheader.lr.ph.us ], [ %indvars.iv.next68, %.critedge35.us ]
  %.042.us = phi i32 [ %15, %.preheader.lr.ph.us ], [ %.137.us, %.critedge35.us ]
  %.02740.us = phi i64 [ 0, %.preheader.lr.ph.us ], [ %.128.us, %.critedge35.us ]
  %37 = getelementptr inbounds [100001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %indvars.iv67
  %38 = load i32, ptr %37, align 4, !tbaa !5
  %39 = sext i32 %.042.us to i64
  br label %26

._crit_edge43.us:                                 ; preds = %.critedge35.us
  %40 = icmp slt i64 %.128.us, %.fr56
  %41 = add nsw i32 %25, 1
  %.133.us = select i1 %40, i32 %41, i32 %.03245.us
  %.131.us = select i1 %40, i32 %.03046.us, i32 %25
  %42 = icmp slt i32 %.133.us, %.131.us
  br i1 %42, label %.preheader.lr.ph.us, label %._crit_edge49, !llvm.loop !14

.lr.ph48.split:                                   ; preds = %.lr.ph48
  %43 = icmp sgt i64 %.fr56, 0
  br i1 %43, label %.lr.ph48.split.split.us, label %._crit_edge49

.lr.ph48.split.split.us:                          ; preds = %.lr.ph48.split, %.lr.ph48.split.split.us
  %.03245.us52 = phi i32 [ %47, %.lr.ph48.split.split.us ], [ %9, %.lr.ph48.split ]
  %44 = sub nsw i32 %19, %.03245.us52
  %45 = ashr i32 %44, 1
  %46 = add nsw i32 %45, %.03245.us52
  %47 = add nsw i32 %46, 1
  %48 = icmp slt i32 %47, %19
  br i1 %48, label %.lr.ph48.split.split.us, label %._crit_edge49, !llvm.loop !14

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %0 ]
  %49 = getelementptr inbounds i32, ptr @_ZZ5solvevE1a, i64 %indvars.iv
  %50 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %49)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %51 = load i32, ptr %1, align 4, !tbaa !5
  %52 = sext i32 %51 to i64
  %53 = icmp slt i64 %indvars.iv.next, %52
  br i1 %53, label %.lr.ph, label %._crit_edge, !llvm.loop !15

._crit_edge49:                                    ; preds = %.lr.ph48.split.split.us, %._crit_edge43.us, %.lr.ph48.split, %._crit_edge
  %.032.lcssa = phi i32 [ %9, %._crit_edge ], [ %9, %.lr.ph48.split ], [ %.133.us, %._crit_edge43.us ], [ %47, %.lr.ph48.split.split.us ]
  %54 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %.032.lcssa)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4
  ret void
}

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPiEvT_S1_(ptr noundef, ptr noundef) local_unnamed_addr #3

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

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


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass