; LLVM IR from AdarshGaur/Competitive-Programming :: Codeforces/Codeforces Round #702 (Div. 3)/b.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"

%"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" }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5solvev() #0 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #4
  store i64 0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  store i64 0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  store i64 0, ptr %4, align 8, !tbaa !5
  %11 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %12 = load i64, ptr %1, align 8, !tbaa !5
  %13 = call ptr @llvm.stacksave.p0()
  store ptr %13, ptr %5, align 8
  %14 = alloca i64, i64 %12, align 16
  store i64 %12, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store i64 0, ptr %7, align 8, !tbaa !5
  br label %15

15:                                               ; preds = %48, %0
  %16 = load i64, ptr %7, align 8, !tbaa !5
  %17 = load i64, ptr %1, align 8, !tbaa !5
  %18 = icmp slt i64 %16, %17
  br i1 %18, label %20, label %19

19:                                               ; preds = %15
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  br label %51

20:                                               ; preds = %15
  %21 = load i64, ptr %7, align 8, !tbaa !5
  %22 = getelementptr inbounds i64, ptr %14, i64 %21
  %23 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %22)
  %24 = load i64, ptr %7, align 8, !tbaa !5
  %25 = getelementptr inbounds i64, ptr %14, i64 %24
  %26 = load i64, ptr %25, align 8, !tbaa !5
  %27 = srem i64 %26, 3
  store i64 %27, ptr %25, align 8, !tbaa !5
  %28 = load i64, ptr %7, align 8, !tbaa !5
  %29 = getelementptr inbounds i64, ptr %14, i64 %28
  %30 = load i64, ptr %29, align 8, !tbaa !5
  %31 = icmp eq i64 %30, 1
  br i1 %31, label %32, label %35

32:                                               ; preds = %20
  %33 = load i64, ptr %2, align 8, !tbaa !5
  %34 = add nsw i64 %33, 1
  store i64 %34, ptr %2, align 8, !tbaa !5
  br label %47

35:                                               ; preds = %20
  %36 = load i64, ptr %7, align 8, !tbaa !5
  %37 = getelementptr inbounds i64, ptr %14, i64 %36
  %38 = load i64, ptr %37, align 8, !tbaa !5
  %39 = icmp eq i64 %38, 2
  br i1 %39, label %40, label %43

40:                                               ; preds = %35
  %41 = load i64, ptr %3, align 8, !tbaa !5
  %42 = add nsw i64 %41, 1
  store i64 %42, ptr %3, align 8, !tbaa !5
  br label %46

43:                                               ; preds = %35
  %44 = load i64, ptr %4, align 8, !tbaa !5
  %45 = add nsw i64 %44, 1
  store i64 %45, ptr %4, align 8, !tbaa !5
  br label %46

46:                                               ; preds = %43, %40
  br label %47

47:                                               ; preds = %46, %32
  br label %48

48:                                               ; preds = %47
  %49 = load i64, ptr %7, align 8, !tbaa !5
  %50 = add nsw i64 %49, 1
  store i64 %50, ptr %7, align 8, !tbaa !5
  br label %15, !llvm.loop !9

51:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  store i64 0, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %52 = load i64, ptr %2, align 8, !tbaa !5
  %53 = load i64, ptr %3, align 8, !tbaa !5
  %54 = add nsw i64 %52, %53
  %55 = load i64, ptr %4, align 8, !tbaa !5
  %56 = add nsw i64 %54, %55
  store i64 %56, ptr %9, align 8, !tbaa !5
  %57 = load i64, ptr %9, align 8, !tbaa !5
  %58 = sdiv i64 %57, 3
  store i64 %58, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  store i64 0, ptr %10, align 8, !tbaa !5
  br label %59

59:                                               ; preds = %112, %51
  %60 = load i64, ptr %10, align 8, !tbaa !5
  %61 = icmp slt i64 %60, 2
  br i1 %61, label %63, label %62

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

63:                                               ; preds = %59
  %64 = load i64, ptr %4, align 8, !tbaa !5
  %65 = load i64, ptr %9, align 8, !tbaa !5
  %66 = icmp sgt i64 %64, %65
  br i1 %66, label %67, label %79

67:                                               ; preds = %63
  %68 = load i64, ptr %4, align 8, !tbaa !5
  %69 = load i64, ptr %9, align 8, !tbaa !5
  %70 = sub nsw i64 %68, %69
  %71 = load i64, ptr %8, align 8, !tbaa !5
  %72 = add nsw i64 %71, %70
  store i64 %72, ptr %8, align 8, !tbaa !5
  %73 = load i64, ptr %4, align 8, !tbaa !5
  %74 = load i64, ptr %9, align 8, !tbaa !5
  %75 = sub nsw i64 %73, %74
  %76 = load i64, ptr %2, align 8, !tbaa !5
  %77 = add nsw i64 %76, %75
  store i64 %77, ptr %2, align 8, !tbaa !5
  %78 = load i64, ptr %9, align 8, !tbaa !5
  store i64 %78, ptr %4, align 8, !tbaa !5
  br label %79

79:                                               ; preds = %67, %63
  %80 = load i64, ptr %2, align 8, !tbaa !5
  %81 = load i64, ptr %9, align 8, !tbaa !5
  %82 = icmp sgt i64 %80, %81
  br i1 %82, label %83, label %95

83:                                               ; preds = %79
  %84 = load i64, ptr %2, align 8, !tbaa !5
  %85 = load i64, ptr %9, align 8, !tbaa !5
  %86 = sub nsw i64 %84, %85
  %87 = load i64, ptr %8, align 8, !tbaa !5
  %88 = add nsw i64 %87, %86
  store i64 %88, ptr %8, align 8, !tbaa !5
  %89 = load i64, ptr %2, align 8, !tbaa !5
  %90 = load i64, ptr %9, align 8, !tbaa !5
  %91 = sub nsw i64 %89, %90
  %92 = load i64, ptr %3, align 8, !tbaa !5
  %93 = add nsw i64 %92, %91
  store i64 %93, ptr %3, align 8, !tbaa !5
  %94 = load i64, ptr %9, align 8, !tbaa !5
  store i64 %94, ptr %2, align 8, !tbaa !5
  br label %95

95:                                               ; preds = %83, %79
  %96 = load i64, ptr %3, align 8, !tbaa !5
  %97 = load i64, ptr %9, align 8, !tbaa !5
  %98 = icmp sgt i64 %96, %97
  br i1 %98, label %99, label %111

99:                                               ; preds = %95
  %100 = load i64, ptr %3, align 8, !tbaa !5
  %101 = load i64, ptr %9, align 8, !tbaa !5
  %102 = sub nsw i64 %100, %101
  %103 = load i64, ptr %8, align 8, !tbaa !5
  %104 = add nsw i64 %103, %102
  store i64 %104, ptr %8, align 8, !tbaa !5
  %105 = load i64, ptr %3, align 8, !tbaa !5
  %106 = load i64, ptr %9, align 8, !tbaa !5
  %107 = sub nsw i64 %105, %106
  %108 = load i64, ptr %4, align 8, !tbaa !5
  %109 = add nsw i64 %108, %107
  store i64 %109, ptr %4, align 8, !tbaa !5
  %110 = load i64, ptr %9, align 8, !tbaa !5
  store i64 %110, ptr %3, align 8, !tbaa !5
  br label %111

111:                                              ; preds = %99, %95
  br label %112

112:                                              ; preds = %111
  %113 = load i64, ptr %10, align 8, !tbaa !5
  %114 = add nsw i64 %113, 1
  store i64 %114, ptr %10, align 8, !tbaa !5
  br label %59, !llvm.loop !11

115:                                              ; preds = %62
  %116 = load i64, ptr %8, align 8, !tbaa !5
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEl(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %116)
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %117, ptr noundef @.str)
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  %119 = load ptr, ptr %5, align 8
  call void @llvm.stackrestore.p0(ptr %119)
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #4
  call void @llvm.lifetime.end.p0(i64 8, 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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #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 noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 = { nocallback nofree nosync nounwind willreturn }
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 = !{!"long", !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}


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

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1

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

._crit_edge:                                      ; preds = %41, %0
  %.054.lcssa = phi i64 [ 0, %0 ], [ %.155, %41 ]
  %.049.lcssa = phi i64 [ 0, %0 ], [ %.150, %41 ]
  %.045.lcssa = phi i64 [ 0, %0 ], [ %.146, %41 ]
  %8 = add i64 %.049.lcssa, %.054.lcssa
  %9 = add i64 %8, %.045.lcssa
  %10 = sdiv i64 %9, 3
  %11 = icmp sgt i64 %.054.lcssa, %10
  %12 = sub nsw i64 %.054.lcssa, %10
  %.357 = call i64 @llvm.smin.i64(i64 %.054.lcssa, i64 %10)
  %13 = select i1 %11, i64 %12, i64 0
  %.348 = add nsw i64 %.045.lcssa, %13
  %14 = icmp sgt i64 %.348, %10
  %15 = sub nsw i64 %.348, %10
  %16 = select i1 %14, i64 %15, i64 0
  %.352 = add nsw i64 %16, %.049.lcssa
  %.4 = call i64 @llvm.smin.i64(i64 %.348, i64 %10)
  %.2 = add nsw i64 %13, %16
  %17 = icmp sgt i64 %.352, %10
  %18 = sub nsw i64 %.352, %10
  %19 = select i1 %17, i64 %18, i64 0
  %.458 = add nsw i64 %19, %.357
  %.453 = call i64 @llvm.smin.i64(i64 %.352, i64 %10)
  %.3 = add nsw i64 %.2, %19
  %20 = icmp sgt i64 %.458, %10
  %21 = sub nsw i64 %.458, %10
  %22 = select i1 %20, i64 %21, i64 0
  %.348.1 = add nsw i64 %.4, %22
  %.1.1 = add nsw i64 %.3, %22
  %23 = icmp sgt i64 %.348.1, %10
  %24 = sub nsw i64 %.348.1, %10
  %25 = select i1 %23, i64 %24, i64 0
  %.352.1 = add nsw i64 %25, %.453
  %.2.1 = add nsw i64 %.1.1, %25
  %26 = icmp sgt i64 %.352.1, %10
  %27 = sub nsw i64 %.352.1, %10
  %28 = select i1 %26, i64 %27, i64 0
  %.3.1 = add nsw i64 %.2.1, %28
  %29 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEl(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %.3.1)
  %30 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull @.str)
  call void @llvm.stackrestore.p0(ptr %4)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #5
  ret void

.lr.ph:                                           ; preds = %0, %41
  %.04466 = phi i64 [ %42, %41 ], [ 0, %0 ]
  %.04565 = phi i64 [ %.146, %41 ], [ 0, %0 ]
  %.04964 = phi i64 [ %.150, %41 ], [ 0, %0 ]
  %.05463 = phi i64 [ %.155, %41 ], [ 0, %0 ]
  %31 = getelementptr inbounds i64, ptr %5, i64 %.04466
  %32 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %31)
  %33 = load i64, ptr %31, align 8, !tbaa !5
  %34 = srem i64 %33, 3
  store i64 %34, ptr %31, align 8, !tbaa !5
  switch i64 %34, label %39 [
    i64 1, label %35
    i64 2, label %37
  ]

35:                                               ; preds = %.lr.ph
  %36 = add nsw i64 %.04565, 1
  br label %41

37:                                               ; preds = %.lr.ph
  %38 = add nsw i64 %.04964, 1
  br label %41

39:                                               ; preds = %.lr.ph
  %40 = add nsw i64 %.05463, 1
  br label %41

41:                                               ; preds = %35, %39, %37
  %.155 = phi i64 [ %.05463, %35 ], [ %.05463, %37 ], [ %40, %39 ]
  %.150 = phi i64 [ %.04964, %35 ], [ %38, %37 ], [ %.04964, %39 ]
  %.146 = phi i64 [ %36, %35 ], [ %.04565, %37 ], [ %.04565, %39 ]
  %42 = add nuw nsw i64 %.04466, 1
  %43 = load i64, ptr %1, align 8, !tbaa !5
  %44 = icmp slt i64 %42, %43
  br i1 %44, label %.lr.ph, label %._crit_edge, !llvm.loop !9
}

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #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 noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #2

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

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 = { mustprogress nocallback nofree nosync nounwind willreturn }
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 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


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