; LLVM IR from bqi343/cp-notebook :: Contests/USACO Solutions/2017-18/Jan 2018/Gold (18 Jan Gold 3)

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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@N = external dso_local global i32, align 4
@M = external dso_local global i32, align 4
@K = external dso_local global i32, align 4
@ans = external dso_local global [1000001 x i64], align 16
@.str = external hidden unnamed_addr constant [13 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@stdin = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@stdout = external global ptr, align 8
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i64, align 8
  %4 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %5 = load ptr, ptr @stdin, align 8, !tbaa !5
  %6 = call ptr @freopen(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %5)
  %7 = load ptr, ptr @stdout, align 8, !tbaa !5
  %8 = call ptr @freopen(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef %7)
  %9 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @N)
  %10 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(4) @M)
  %11 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(4) @K)
  store i64 1, ptr @ans, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  store i32 1, ptr %2, align 4, !tbaa !11
  br label %12

12:                                               ; preds = %73, %0
  %13 = load i32, ptr %2, align 4, !tbaa !11
  %14 = load i32, ptr @N, align 4, !tbaa !11
  %15 = add nsw i32 %14, 1
  %16 = icmp slt i32 %13, %15
  br i1 %16, label %18, label %17

17:                                               ; preds = %12
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  br label %76

18:                                               ; preds = %12
  %19 = load i32, ptr @M, align 4, !tbaa !11
  %20 = sext i32 %19 to i64
  %21 = load i32, ptr %2, align 4, !tbaa !11
  %22 = sub nsw i32 %21, 1
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds [1000001 x i64], ptr @ans, i64 0, i64 %23
  %25 = load i64, ptr %24, align 8, !tbaa !9
  %26 = mul nsw i64 %20, %25
  %27 = load i32, ptr %2, align 4, !tbaa !11
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [1000001 x i64], ptr @ans, i64 0, i64 %28
  store i64 %26, ptr %29, align 8, !tbaa !9
  %30 = load i32, ptr %2, align 4, !tbaa !11
  %31 = load i32, ptr @K, align 4, !tbaa !11
  %32 = icmp eq i32 %30, %31
  br i1 %32, label %33, label %41

33:                                               ; preds = %18
  %34 = load i32, ptr @M, align 4, !tbaa !11
  %35 = sext i32 %34 to i64
  %36 = load i32, ptr %2, align 4, !tbaa !11
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [1000001 x i64], ptr @ans, i64 0, i64 %37
  %39 = load i64, ptr %38, align 8, !tbaa !9
  %40 = sub nsw i64 %39, %35
  store i64 %40, ptr %38, align 8, !tbaa !9
  br label %62

41:                                               ; preds = %18
  %42 = load i32, ptr %2, align 4, !tbaa !11
  %43 = load i32, ptr @K, align 4, !tbaa !11
  %44 = icmp sgt i32 %42, %43
  br i1 %44, label %45, label %61

45:                                               ; preds = %41
  %46 = load i32, ptr @M, align 4, !tbaa !11
  %47 = sub nsw i32 %46, 1
  %48 = sext i32 %47 to i64
  %49 = load i32, ptr %2, align 4, !tbaa !11
  %50 = load i32, ptr @K, align 4, !tbaa !11
  %51 = sub nsw i32 %49, %50
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [1000001 x i64], ptr @ans, i64 0, i64 %52
  %54 = load i64, ptr %53, align 8, !tbaa !9
  %55 = mul nsw i64 %48, %54
  %56 = load i32, ptr %2, align 4, !tbaa !11
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [1000001 x i64], ptr @ans, i64 0, i64 %57
  %59 = load i64, ptr %58, align 8, !tbaa !9
  %60 = sub nsw i64 %59, %55
  store i64 %60, ptr %58, align 8, !tbaa !9
  br label %61

61:                                               ; preds = %45, %41
  br label %62

62:                                               ; preds = %61, %33
  %63 = load i32, ptr %2, align 4, !tbaa !11
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [1000001 x i64], ptr @ans, i64 0, i64 %64
  %66 = load i64, ptr %65, align 8, !tbaa !9
  %67 = srem i64 %66, 1000000007
  %68 = add nsw i64 %67, 1000000007
  %69 = srem i64 %68, 1000000007
  %70 = load i32, ptr %2, align 4, !tbaa !11
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [1000001 x i64], ptr @ans, i64 0, i64 %71
  store i64 %69, ptr %72, align 8, !tbaa !9
  br label %73

73:                                               ; preds = %62
  %74 = load i32, ptr %2, align 4, !tbaa !11
  %75 = add nsw i32 %74, 1
  store i32 %75, ptr %2, align 4, !tbaa !11
  br label %12, !llvm.loop !13

76:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  store i64 1, ptr %3, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  store i32 0, ptr %4, align 4, !tbaa !11
  br label %77

77:                                               ; preds = %88, %76
  %78 = load i32, ptr %4, align 4, !tbaa !11
  %79 = load i32, ptr @N, align 4, !tbaa !11
  %80 = icmp slt i32 %78, %79
  br i1 %80, label %82, label %81

81:                                               ; preds = %77
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  br label %91

82:                                               ; preds = %77
  %83 = load i64, ptr %3, align 8, !tbaa !9
  %84 = load i32, ptr @M, align 4, !tbaa !11
  %85 = sext i32 %84 to i64
  %86 = mul nsw i64 %83, %85
  %87 = srem i64 %86, 1000000007
  store i64 %87, ptr %3, align 8, !tbaa !9
  br label %88

88:                                               ; preds = %82
  %89 = load i32, ptr %4, align 4, !tbaa !11
  %90 = add nsw i32 %89, 1
  store i32 %90, ptr %4, align 4, !tbaa !11
  br label %77, !llvm.loop !15

91:                                               ; preds = %81
  %92 = load i32, ptr @N, align 4, !tbaa !11
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [1000001 x i64], ptr @ans, i64 0, i64 %93
  %95 = load i64, ptr %94, align 8, !tbaa !9
  %96 = load i64, ptr %3, align 8, !tbaa !9
  %97 = sub nsw i64 %96, %95
  store i64 %97, ptr %3, align 8, !tbaa !9
  %98 = load i64, ptr %3, align 8, !tbaa !9
  %99 = srem i64 %98, 1000000007
  %100 = add nsw i64 %99, 1000000007
  %101 = srem i64 %100, 1000000007
  store i64 %101, ptr %3, align 8, !tbaa !9
  %102 = load i64, ptr %3, align 8, !tbaa !9
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %102)
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  %104 = load i32, ptr %1, align 4
  ret i32 %104
}

declare ptr @freopen(ptr noundef, ptr noundef, ptr noundef) #1

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #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: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #3 align 2

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 = { 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 = !{!"any pointer", !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 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !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"

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@N = external dso_local global i32, align 4
@M = external dso_local global i32, align 4
@K = external dso_local global i32, align 4
@ans = external dso_local local_unnamed_addr global [1000001 x i64], align 16
@.str = external hidden unnamed_addr constant [13 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@stdin = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = load ptr, ptr @stdin, align 8, !tbaa !5
  %2 = tail call ptr @freopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef %1)
  %3 = load ptr, ptr @stdout, align 8, !tbaa !5
  %4 = tail call ptr @freopen(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, ptr noundef %3)
  %5 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @N)
  %6 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(4) @M)
  %7 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(4) @K)
  store i64 1, ptr @ans, align 16, !tbaa !9
  %8 = load i32, ptr @N, align 4, !tbaa !11
  %.not27 = icmp slt i32 %8, 1
  br i1 %.not27, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %0
  %9 = load i32, ptr @M, align 4, !tbaa !11
  %10 = sext i32 %9 to i64
  %11 = load i32, ptr @K, align 4, !tbaa !11
  %12 = add nsw i32 %9, -1
  %13 = sext i32 %12 to i64
  %14 = sext i32 %11 to i64
  %15 = zext i32 %11 to i64
  %16 = add nuw i32 %8, 1
  %wide.trip.count = zext i32 %16 to i64
  br label %20

.lr.ph31:                                         ; preds = %35
  %17 = load i32, ptr @M, align 4, !tbaa !11
  %18 = sext i32 %17 to i64
  %xtraiter = and i32 %8, 3
  %19 = icmp ult i32 %8, 4
  br i1 %19, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph31.new

.lr.ph31.new:                                     ; preds = %.lr.ph31
  %unroll_iter = and i32 %8, 2147483644
  br label %50

20:                                               ; preds = %.lr.ph, %35
  %21 = phi i64 [ 1, %.lr.ph ], [ %39, %35 ]
  %indvars.iv = phi i64 [ 1, %.lr.ph ], [ %indvars.iv.next, %35 ]
  %22 = mul nsw i64 %21, %10
  %23 = getelementptr inbounds [1000001 x i64], ptr @ans, i64 0, i64 %indvars.iv
  store i64 %22, ptr %23, align 8, !tbaa !9
  %24 = icmp eq i64 %indvars.iv, %15
  br i1 %24, label %25, label %27

25:                                               ; preds = %20
  %26 = sub nsw i64 %22, %10
  br label %35

27:                                               ; preds = %20
  %28 = icmp sgt i64 %indvars.iv, %14
  br i1 %28, label %29, label %35

29:                                               ; preds = %27
  %30 = sub nsw i64 %indvars.iv, %14
  %31 = getelementptr inbounds [1000001 x i64], ptr @ans, i64 0, i64 %30
  %32 = load i64, ptr %31, align 8, !tbaa !9
  %33 = mul nsw i64 %32, %13
  %34 = sub nsw i64 %22, %33
  br label %35

35:                                               ; preds = %27, %29, %25
  %36 = phi i64 [ %22, %27 ], [ %34, %29 ], [ %26, %25 ]
  %.fr25 = freeze i64 %36
  %37 = srem i64 %.fr25, 1000000007
  %38 = add nsw i64 %37, 1000000007
  %.cmp24 = icmp ugt i64 %37, -1000000008
  %39 = select i1 %.cmp24, i64 %38, i64 %37
  store i64 %39, ptr %23, align 8, !tbaa !9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.lr.ph31, label %20, !llvm.loop !13

._crit_edge.loopexit.unr-lcssa:                   ; preds = %50, %.lr.ph31
  %.lcssa.ph = phi i64 [ poison, %.lr.ph31 ], [ %58, %50 ]
  %.01829.unr = phi i64 [ 1, %.lr.ph31 ], [ %58, %50 ]
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader
  %.01829.epil = phi i64 [ %41, %.epil.preheader ], [ %.01829.unr, %._crit_edge.loopexit.unr-lcssa ]
  %epil.iter = phi i32 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge.loopexit.unr-lcssa ]
  %40 = mul nsw i64 %.01829.epil, %18
  %41 = srem i64 %40, 1000000007
  %epil.iter.next = add i32 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i32 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge, label %.epil.preheader, !llvm.loop !15

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader, %0
  %.018.lcssa = phi i64 [ 1, %0 ], [ %.lcssa.ph, %._crit_edge.loopexit.unr-lcssa ], [ %41, %.epil.preheader ]
  %42 = sext i32 %8 to i64
  %43 = getelementptr inbounds [1000001 x i64], ptr @ans, i64 0, i64 %42
  %44 = load i64, ptr %43, align 8, !tbaa !9
  %45 = sub nsw i64 %.018.lcssa, %44
  %.fr26 = freeze i64 %45
  %46 = srem i64 %.fr26, 1000000007
  %47 = add nsw i64 %46, 1000000007
  %.cmp = icmp ugt i64 %46, -1000000008
  %48 = select i1 %.cmp, i64 %47, i64 %46
  %49 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %48)
  ret i32 0

50:                                               ; preds = %50, %.lr.ph31.new
  %.01829 = phi i64 [ 1, %.lr.ph31.new ], [ %58, %50 ]
  %niter = phi i32 [ 0, %.lr.ph31.new ], [ %niter.next.3, %50 ]
  %51 = mul nsw i64 %.01829, %18
  %52 = srem i64 %51, 1000000007
  %53 = mul nsw i64 %52, %18
  %54 = srem i64 %53, 1000000007
  %55 = mul nsw i64 %54, %18
  %56 = srem i64 %55, 1000000007
  %57 = mul nsw i64 %56, %18
  %58 = srem i64 %57, 1000000007
  %niter.next.3 = add i32 %niter, 4
  %niter.ncmp.3 = icmp eq i32 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge.loopexit.unr-lcssa, label %50, !llvm.loop !17
}

declare ptr @freopen(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #2 align 2

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 = { 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 = !{!"any pointer", !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 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.unroll.disable"}
!17 = distinct !{!17, !14}


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