; LLVM IR from tangjz/acm-icpc :: codeforces/complete (938E)

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

@n = external dso_local global i32, align 4
@a = external dso_local global [1000001 x i32], align 16
@inv = external dso_local global [1000001 x i32], align 16
@ans = external dso_local global i32, align 4
@.str = external hidden unnamed_addr constant [5 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 norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %6 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n, ptr noundef getelementptr inbounds (i32, ptr @a, i64 1))
  store i32 1, ptr getelementptr inbounds ([1000001 x i32], ptr @inv, i64 0, i64 1), align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  store i32 2, ptr %2, align 4, !tbaa !5
  br label %7

7:                                                ; preds = %33, %0
  %8 = load i32, ptr %2, align 4, !tbaa !5
  %9 = load i32, ptr @n, align 4, !tbaa !5
  %10 = icmp sle i32 %8, %9
  br i1 %10, label %12, label %11

11:                                               ; preds = %7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  br label %36

12:                                               ; preds = %7
  %13 = load i32, ptr %2, align 4, !tbaa !5
  %14 = sext i32 %13 to i64
  %15 = getelementptr inbounds i32, ptr @a, i64 %14
  %16 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %15)
  %17 = load i32, ptr %2, align 4, !tbaa !5
  %18 = sdiv i32 1000000007, %17
  %19 = sext i32 %18 to i64
  %20 = load i32, ptr %2, align 4, !tbaa !5
  %21 = srem i32 1000000007, %20
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds [1000001 x i32], ptr @inv, i64 0, i64 %22
  %24 = load i32, ptr %23, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = mul nsw i64 %19, %25
  %27 = srem i64 %26, 1000000007
  %28 = trunc i64 %27 to i32
  %29 = sub nsw i32 1000000007, %28
  %30 = load i32, ptr %2, align 4, !tbaa !5
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [1000001 x i32], ptr @inv, i64 0, i64 %31
  store i32 %29, ptr %32, align 4, !tbaa !5
  br label %33

33:                                               ; preds = %12
  %34 = load i32, ptr %2, align 4, !tbaa !5
  %35 = add nsw i32 %34, 1
  store i32 %35, ptr %2, align 4, !tbaa !5
  br label %7, !llvm.loop !9

36:                                               ; preds = %11
  %37 = load i32, ptr @n, align 4, !tbaa !5
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds i32, ptr @a, i64 %38
  %40 = getelementptr inbounds i32, ptr %39, i64 1
  call void @_ZSt4sortIPiEvT_S1_(ptr noundef getelementptr inbounds (i32, ptr @a, i64 1), ptr noundef %40)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  %41 = load i32, ptr @n, align 4, !tbaa !5
  store i32 %41, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  %42 = load i32, ptr %3, align 4, !tbaa !5
  store i32 %42, ptr %4, align 4, !tbaa !5
  br label %43

43:                                               ; preds = %97, %36
  %44 = load i32, ptr %3, align 4, !tbaa !5
  %45 = icmp sge i32 %44, 1
  br i1 %45, label %47, label %46

46:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  br label %99

47:                                               ; preds = %43
  br label %48

48:                                               ; preds = %64, %47
  %49 = load i32, ptr %4, align 4, !tbaa !5
  %50 = icmp sge i32 %49, 1
  br i1 %50, label %51, label %61

51:                                               ; preds = %48
  %52 = load i32, ptr %3, align 4, !tbaa !5
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [1000001 x i32], ptr @a, i64 0, i64 %53
  %55 = load i32, ptr %54, align 4, !tbaa !5
  %56 = load i32, ptr %4, align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [1000001 x i32], ptr @a, i64 0, i64 %57
  %59 = load i32, ptr %58, align 4, !tbaa !5
  %60 = icmp eq i32 %55, %59
  br label %61

61:                                               ; preds = %51, %48
  %62 = phi i1 [ false, %48 ], [ %60, %51 ]
  br i1 %62, label %63, label %67

63:                                               ; preds = %61
  br label %64

64:                                               ; preds = %63
  %65 = load i32, ptr %4, align 4, !tbaa !5
  %66 = add nsw i32 %65, -1
  store i32 %66, ptr %4, align 4, !tbaa !5
  br label %48, !llvm.loop !11

67:                                               ; preds = %61
  %68 = load i32, ptr %3, align 4, !tbaa !5
  %69 = load i32, ptr @n, align 4, !tbaa !5
  %70 = icmp slt i32 %68, %69
  br i1 %70, label %71, label %96

71:                                               ; preds = %67
  %72 = load i32, ptr @ans, align 4, !tbaa !5
  %73 = sext i32 %72 to i64
  %74 = load i32, ptr %3, align 4, !tbaa !5
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds [1000001 x i32], ptr @a, i64 0, i64 %75
  %77 = load i32, ptr %76, align 4, !tbaa !5
  %78 = sext i32 %77 to i64
  %79 = load i32, ptr %3, align 4, !tbaa !5
  %80 = load i32, ptr %4, align 4, !tbaa !5
  %81 = sub nsw i32 %79, %80
  %82 = sext i32 %81 to i64
  %83 = mul nsw i64 %78, %82
  %84 = srem i64 %83, 1000000007
  %85 = load i32, ptr @n, align 4, !tbaa !5
  %86 = load i32, ptr %4, align 4, !tbaa !5
  %87 = sub nsw i32 %85, %86
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [1000001 x i32], ptr @inv, i64 0, i64 %88
  %90 = load i32, ptr %89, align 4, !tbaa !5
  %91 = sext i32 %90 to i64
  %92 = mul nsw i64 %84, %91
  %93 = add nsw i64 %73, %92
  %94 = srem i64 %93, 1000000007
  %95 = trunc i64 %94 to i32
  store i32 %95, ptr @ans, align 4, !tbaa !5
  br label %96

96:                                               ; preds = %71, %67
  br label %97

97:                                               ; preds = %96
  %98 = load i32, ptr %4, align 4, !tbaa !5
  store i32 %98, ptr %3, align 4, !tbaa !5
  br label %43, !llvm.loop !12

99:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 2, ptr %5, align 4, !tbaa !5
  br label %100

100:                                              ; preds = %113, %99
  %101 = load i32, ptr %5, align 4, !tbaa !5
  %102 = load i32, ptr @n, align 4, !tbaa !5
  %103 = icmp sle i32 %101, %102
  br i1 %103, label %105, label %104

104:                                              ; preds = %100
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %116

105:                                              ; preds = %100
  %106 = load i32, ptr @ans, align 4, !tbaa !5
  %107 = sext i32 %106 to i64
  %108 = load i32, ptr %5, align 4, !tbaa !5
  %109 = sext i32 %108 to i64
  %110 = mul nsw i64 %107, %109
  %111 = srem i64 %110, 1000000007
  %112 = trunc i64 %111 to i32
  store i32 %112, ptr @ans, align 4, !tbaa !5
  br label %113

113:                                              ; preds = %105
  %114 = load i32, ptr %5, align 4, !tbaa !5
  %115 = add nsw i32 %114, 1
  store i32 %115, ptr %5, align 4, !tbaa !5
  br label %100, !llvm.loop !13

116:                                              ; preds = %104
  %117 = load i32, ptr @ans, align 4, !tbaa !5
  %118 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %117)
  ret i32 0
}

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

; 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2

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

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

attributes #0 = { mustprogress norecurse 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 = { 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 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !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"

@n = external dso_local global i32, align 4
@a = external dso_local global [1000001 x i32], align 16
@inv = external dso_local local_unnamed_addr global [1000001 x i32], align 16
@ans = external dso_local local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [5 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 norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n, ptr noundef nonnull getelementptr inbounds (i8, ptr @a, i64 4))
  store i32 1, ptr getelementptr inbounds (i8, ptr @inv, i64 4), align 4, !tbaa !5
  %2 = load i32, ptr @n, align 4, !tbaa !5
  %.not28 = icmp slt i32 %2, 2
  br i1 %.not28, label %.._crit_edge_crit_edge, label %.lr.ph

.._crit_edge_crit_edge:                           ; preds = %0
  %.pre = sext i32 %2 to i64
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %.._crit_edge_crit_edge
  %.pre-phi = phi i64 [ %.pre, %.._crit_edge_crit_edge ], [ %23, %.lr.ph ]
  %3 = getelementptr inbounds i32, ptr @a, i64 %.pre-phi
  %4 = getelementptr inbounds i8, ptr %3, i64 4
  tail call void @_ZSt4sortIPiEvT_S1_(ptr noundef nonnull getelementptr inbounds (i8, ptr @a, i64 4), ptr noundef nonnull %4)
  %5 = load i32, ptr @n, align 4, !tbaa !5
  %ans.promoted = load i32, ptr @ans, align 4, !tbaa !5
  %6 = icmp sgt i32 %5, 0
  br i1 %6, label %.preheader27, label %.preheader.thread

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 2, %0 ]
  %7 = getelementptr inbounds i32, ptr @a, i64 %indvars.iv
  %8 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %7)
  %9 = trunc nuw nsw i64 %indvars.iv to i32
  %10 = udiv i32 1000000007, %9
  %11 = zext nneg i32 %10 to i64
  %12 = urem i32 1000000007, %9
  %13 = zext nneg i32 %12 to i64
  %14 = getelementptr inbounds [1000001 x i32], ptr @inv, i64 0, i64 %13
  %15 = load i32, ptr %14, align 4, !tbaa !5
  %16 = sext i32 %15 to i64
  %17 = mul nsw i64 %16, %11
  %18 = srem i64 %17, 1000000007
  %19 = trunc nsw i64 %18 to i32
  %20 = sub nsw i32 1000000007, %19
  %21 = getelementptr inbounds [1000001 x i32], ptr @inv, i64 0, i64 %indvars.iv
  store i32 %20, ptr %21, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %22 = load i32, ptr @n, align 4, !tbaa !5
  %23 = sext i32 %22 to i64
  %.not.not = icmp slt i64 %indvars.iv, %23
  br i1 %.not.not, label %.lr.ph, label %._crit_edge, !llvm.loop !9

.preheader27:                                     ; preds = %._crit_edge, %57
  %.02131 = phi i32 [ %.1.lcssa, %57 ], [ %5, %._crit_edge ]
  %24 = phi i32 [ %58, %57 ], [ %ans.promoted, %._crit_edge ]
  %25 = zext nneg i32 %.02131 to i64
  %26 = getelementptr inbounds [1000001 x i32], ptr @a, i64 0, i64 %25
  %27 = load i32, ptr %26, align 4, !tbaa !5
  br label %32

.preheader:                                       ; preds = %57
  %.not2633 = icmp eq i32 %5, 1
  br i1 %.not2633, label %.preheader.thread, label %.lr.ph35.preheader

.lr.ph35.preheader:                               ; preds = %.preheader
  %28 = add nuw i32 %5, 1
  %wide.trip.count = zext i32 %28 to i64
  %xtraiter = and i64 %wide.trip.count, 1
  %29 = icmp eq i32 %28, 3
  br i1 %29, label %._crit_edge36.unr-lcssa, label %.lr.ph35.preheader.new

.lr.ph35.preheader.new:                           ; preds = %.lr.ph35.preheader
  %30 = and i64 %wide.trip.count, 4294967294
  %31 = add nsw i64 %30, -4
  br label %.lr.ph35

32:                                               ; preds = %.preheader27, %37
  %.130 = phi i32 [ %.02131, %.preheader27 ], [ %38, %37 ]
  %33 = zext nneg i32 %.130 to i64
  %34 = getelementptr inbounds [1000001 x i32], ptr @a, i64 0, i64 %33
  %35 = load i32, ptr %34, align 4, !tbaa !5
  %36 = icmp eq i32 %27, %35
  br i1 %36, label %37, label %.critedge

37:                                               ; preds = %32
  %38 = add nsw i32 %.130, -1
  %39 = icmp sgt i32 %.130, 1
  br i1 %39, label %32, label %.critedge, !llvm.loop !11

.critedge:                                        ; preds = %37, %32
  %.1.lcssa = phi i32 [ 0, %37 ], [ %.130, %32 ]
  %40 = icmp slt i32 %.02131, %5
  br i1 %40, label %41, label %57

41:                                               ; preds = %.critedge
  %42 = sext i32 %24 to i64
  %43 = sext i32 %27 to i64
  %44 = sub nsw i32 %.02131, %.1.lcssa
  %45 = sext i32 %44 to i64
  %46 = mul nsw i64 %43, %45
  %47 = srem i64 %46, 1000000007
  %48 = sub nsw i32 %5, %.1.lcssa
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [1000001 x i32], ptr @inv, i64 0, i64 %49
  %51 = load i32, ptr %50, align 4, !tbaa !5
  %52 = sext i32 %51 to i64
  %53 = mul nsw i64 %47, %52
  %54 = add nsw i64 %53, %42
  %55 = srem i64 %54, 1000000007
  %56 = trunc nsw i64 %55 to i32
  store i32 %56, ptr @ans, align 4, !tbaa !5
  br label %57

57:                                               ; preds = %.critedge, %41
  %58 = phi i32 [ %24, %.critedge ], [ %56, %41 ]
  %59 = icmp sgt i32 %.1.lcssa, 0
  br i1 %59, label %.preheader27, label %.preheader, !llvm.loop !12

._crit_edge36.unr-lcssa:                          ; preds = %.lr.ph35, %.lr.ph35.preheader
  %.lcssa.ph = phi i32 [ poison, %.lr.ph35.preheader ], [ %72, %.lr.ph35 ]
  %indvars.iv41.unr = phi i64 [ 2, %.lr.ph35.preheader ], [ %indvars.iv.next42.1, %.lr.ph35 ]
  %.unr = phi i32 [ %58, %.lr.ph35.preheader ], [ %72, %.lr.ph35 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge36, label %.lr.ph35.epil

.lr.ph35.epil:                                    ; preds = %._crit_edge36.unr-lcssa
  %60 = sext i32 %.unr to i64
  %61 = mul nsw i64 %indvars.iv41.unr, %60
  %62 = srem i64 %61, 1000000007
  %63 = trunc nsw i64 %62 to i32
  br label %._crit_edge36

._crit_edge36:                                    ; preds = %._crit_edge36.unr-lcssa, %.lr.ph35.epil
  %.lcssa = phi i32 [ %.lcssa.ph, %._crit_edge36.unr-lcssa ], [ %63, %.lr.ph35.epil ]
  store i32 %.lcssa, ptr @ans, align 4, !tbaa !5
  br label %.preheader.thread

.preheader.thread:                                ; preds = %._crit_edge, %._crit_edge36, %.preheader
  %64 = phi i32 [ %.lcssa, %._crit_edge36 ], [ %58, %.preheader ], [ %ans.promoted, %._crit_edge ]
  %65 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %64)
  ret i32 0

.lr.ph35:                                         ; preds = %.lr.ph35, %.lr.ph35.preheader.new
  %indvars.iv41 = phi i64 [ 2, %.lr.ph35.preheader.new ], [ %indvars.iv.next42.1, %.lr.ph35 ]
  %66 = phi i32 [ %58, %.lr.ph35.preheader.new ], [ %72, %.lr.ph35 ]
  %niter = phi i64 [ 0, %.lr.ph35.preheader.new ], [ %niter.next.1, %.lr.ph35 ]
  %67 = sext i32 %66 to i64
  %68 = mul nsw i64 %indvars.iv41, %67
  %69 = srem i64 %68, 1000000007
  %indvars.iv.next42 = or disjoint i64 %indvars.iv41, 1
  %70 = mul nsw i64 %indvars.iv.next42, %69
  %71 = srem i64 %70, 1000000007
  %72 = trunc nsw i64 %71 to i32
  %indvars.iv.next42.1 = add nuw nsw i64 %indvars.iv41, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter, %31
  br i1 %niter.ncmp.1, label %._crit_edge36.unr-lcssa, label %.lr.ph35, !llvm.loop !13
}

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

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

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

attributes #0 = { mustprogress norecurse 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 = { 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" }

!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 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}


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