; LLVM IR from Shah-Shishir/Codeforces-Solutions :: 1272A. Three Friends (main)

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

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [6 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 i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, 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
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %14 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %2)
  br label %15

15:                                               ; preds = %73, %0
  %16 = load i32, ptr %2, align 4, !tbaa !5
  %17 = add nsw i32 %16, -1
  store i32 %17, ptr %2, align 4, !tbaa !5
  %18 = icmp ne i32 %16, 0
  br i1 %18, label %19, label %76

19:                                               ; preds = %15
  %20 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.2, ptr noundef %6, ptr noundef %7, ptr noundef %8)
  store i64 0, ptr %12, align 8, !tbaa !9
  store i64 10000000000, ptr %13, align 8, !tbaa !9
  store i64 -1, ptr %3, align 8, !tbaa !9
  br label %21

21:                                               ; preds = %70, %19
  %22 = load i64, ptr %3, align 8, !tbaa !9
  %23 = icmp sle i64 %22, 1
  br i1 %23, label %24, label %73

24:                                               ; preds = %21
  store i64 -1, ptr %4, align 8, !tbaa !9
  br label %25

25:                                               ; preds = %66, %24
  %26 = load i64, ptr %4, align 8, !tbaa !9
  %27 = icmp sle i64 %26, 1
  br i1 %27, label %28, label %69

28:                                               ; preds = %25
  store i64 -1, ptr %5, align 8, !tbaa !9
  br label %29

29:                                               ; preds = %62, %28
  %30 = load i64, ptr %5, align 8, !tbaa !9
  %31 = icmp sle i64 %30, 1
  br i1 %31, label %32, label %65

32:                                               ; preds = %29
  %33 = load i64, ptr %6, align 8, !tbaa !9
  %34 = load i64, ptr %3, align 8, !tbaa !9
  %35 = add nsw i64 %33, %34
  store i64 %35, ptr %9, align 8, !tbaa !9
  %36 = load i64, ptr %7, align 8, !tbaa !9
  %37 = load i64, ptr %4, align 8, !tbaa !9
  %38 = add nsw i64 %36, %37
  store i64 %38, ptr %10, align 8, !tbaa !9
  %39 = load i64, ptr %8, align 8, !tbaa !9
  %40 = load i64, ptr %5, align 8, !tbaa !9
  %41 = add nsw i64 %39, %40
  store i64 %41, ptr %11, align 8, !tbaa !9
  %42 = load i64, ptr %9, align 8, !tbaa !9
  %43 = load i64, ptr %10, align 8, !tbaa !9
  %44 = sub nsw i64 %42, %43
  %45 = call noundef i64 @_ZSt3absx(i64 noundef %44)
  %46 = load i64, ptr %9, align 8, !tbaa !9
  %47 = load i64, ptr %11, align 8, !tbaa !9
  %48 = sub nsw i64 %46, %47
  %49 = call noundef i64 @_ZSt3absx(i64 noundef %48)
  %50 = add nsw i64 %45, %49
  %51 = load i64, ptr %10, align 8, !tbaa !9
  %52 = load i64, ptr %11, align 8, !tbaa !9
  %53 = sub nsw i64 %51, %52
  %54 = call noundef i64 @_ZSt3absx(i64 noundef %53)
  %55 = add nsw i64 %50, %54
  store i64 %55, ptr %12, align 8, !tbaa !9
  %56 = load i64, ptr %12, align 8, !tbaa !9
  %57 = load i64, ptr %13, align 8, !tbaa !9
  %58 = icmp slt i64 %56, %57
  br i1 %58, label %59, label %61

59:                                               ; preds = %32
  %60 = load i64, ptr %12, align 8, !tbaa !9
  store i64 %60, ptr %13, align 8, !tbaa !9
  br label %61

61:                                               ; preds = %59, %32
  br label %62

62:                                               ; preds = %61
  %63 = load i64, ptr %5, align 8, !tbaa !9
  %64 = add nsw i64 %63, 1
  store i64 %64, ptr %5, align 8, !tbaa !9
  br label %29, !llvm.loop !11

65:                                               ; preds = %29
  br label %66

66:                                               ; preds = %65
  %67 = load i64, ptr %4, align 8, !tbaa !9
  %68 = add nsw i64 %67, 1
  store i64 %68, ptr %4, align 8, !tbaa !9
  br label %25, !llvm.loop !13

69:                                               ; preds = %25
  br label %70

70:                                               ; preds = %69
  %71 = load i64, ptr %3, align 8, !tbaa !9
  %72 = add nsw i64 %71, 1
  store i64 %72, ptr %3, align 8, !tbaa !9
  br label %21, !llvm.loop !14

73:                                               ; preds = %21
  %74 = load i64, ptr %13, align 8, !tbaa !9
  %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %74)
  br label %15, !llvm.loop !15

76:                                               ; preds = %15
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  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 4, ptr %2) #4
  ret i32 0
}

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZSt3absx(i64 noundef) #3

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

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


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

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress norecurse nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca i32, align 4
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  %5 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1)
  %6 = load i32, ptr %1, align 4, !tbaa !5
  %7 = add nsw i32 %6, -1
  store i32 %7, ptr %1, align 4, !tbaa !5
  %.not30 = icmp eq i32 %6, 0
  br i1 %.not30, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %0, %128
  %8 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.2, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4)
  br label %.preheader23

.preheader23:                                     ; preds = %.lr.ph, %.preheader23
  %.029 = phi i64 [ 10000000000, %.lr.ph ], [ %spec.select.2.2, %.preheader23 ]
  %.01928 = phi i64 [ -1, %.lr.ph ], [ %127, %.preheader23 ]
  %9 = load i64, ptr %2, align 8, !tbaa !9
  %10 = add nsw i64 %9, %.01928
  %11 = load i64, ptr %3, align 8, !tbaa !9
  %12 = add nsw i64 %11, -1
  %13 = load i64, ptr %4, align 8, !tbaa !9
  %14 = add nsw i64 %13, -1
  %15 = sub nsw i64 %10, %12
  %16 = call noundef i64 @_ZSt3absx(i64 noundef %15)
  %17 = sub nsw i64 %10, %14
  %18 = call noundef i64 @_ZSt3absx(i64 noundef %17)
  %19 = add nsw i64 %18, %16
  %20 = sub i64 %11, %13
  %21 = call noundef i64 @_ZSt3absx(i64 noundef %20)
  %22 = add nsw i64 %19, %21
  %spec.select = call i64 @llvm.smin.i64(i64 %22, i64 %.029)
  %23 = load i64, ptr %2, align 8, !tbaa !9
  %24 = add nsw i64 %23, %.01928
  %25 = load i64, ptr %3, align 8, !tbaa !9
  %26 = add nsw i64 %25, -1
  %27 = load i64, ptr %4, align 8, !tbaa !9
  %28 = sub nsw i64 %24, %26
  %29 = call noundef i64 @_ZSt3absx(i64 noundef %28)
  %30 = sub nsw i64 %24, %27
  %31 = call noundef i64 @_ZSt3absx(i64 noundef %30)
  %32 = add nsw i64 %31, %29
  %33 = sub nsw i64 %26, %27
  %34 = call noundef i64 @_ZSt3absx(i64 noundef %33)
  %35 = add nsw i64 %32, %34
  %spec.select.1 = call i64 @llvm.smin.i64(i64 %35, i64 %spec.select)
  %36 = load i64, ptr %2, align 8, !tbaa !9
  %37 = add nsw i64 %36, %.01928
  %38 = load i64, ptr %3, align 8, !tbaa !9
  %39 = add nsw i64 %38, -1
  %40 = load i64, ptr %4, align 8, !tbaa !9
  %41 = add nsw i64 %40, 1
  %42 = sub nsw i64 %37, %39
  %43 = call noundef i64 @_ZSt3absx(i64 noundef %42)
  %44 = sub nsw i64 %37, %41
  %45 = call noundef i64 @_ZSt3absx(i64 noundef %44)
  %46 = add nsw i64 %45, %43
  %47 = sub nsw i64 %39, %41
  %48 = call noundef i64 @_ZSt3absx(i64 noundef %47)
  %49 = add nsw i64 %46, %48
  %spec.select.2 = call i64 @llvm.smin.i64(i64 %49, i64 %spec.select.1)
  %50 = load i64, ptr %2, align 8, !tbaa !9
  %51 = add nsw i64 %50, %.01928
  %52 = load i64, ptr %3, align 8, !tbaa !9
  %53 = load i64, ptr %4, align 8, !tbaa !9
  %54 = add nsw i64 %53, -1
  %55 = sub nsw i64 %51, %52
  %56 = call noundef i64 @_ZSt3absx(i64 noundef %55)
  %57 = sub nsw i64 %51, %54
  %58 = call noundef i64 @_ZSt3absx(i64 noundef %57)
  %59 = add nsw i64 %58, %56
  %60 = sub nsw i64 %52, %54
  %61 = call noundef i64 @_ZSt3absx(i64 noundef %60)
  %62 = add nsw i64 %59, %61
  %spec.select.131 = call i64 @llvm.smin.i64(i64 %62, i64 %spec.select.2)
  %63 = load i64, ptr %2, align 8, !tbaa !9
  %64 = add nsw i64 %63, %.01928
  %65 = load i64, ptr %3, align 8, !tbaa !9
  %66 = load i64, ptr %4, align 8, !tbaa !9
  %67 = sub nsw i64 %64, %65
  %68 = call noundef i64 @_ZSt3absx(i64 noundef %67)
  %69 = sub nsw i64 %64, %66
  %70 = call noundef i64 @_ZSt3absx(i64 noundef %69)
  %71 = add nsw i64 %70, %68
  %72 = sub nsw i64 %65, %66
  %73 = call noundef i64 @_ZSt3absx(i64 noundef %72)
  %74 = add nsw i64 %71, %73
  %spec.select.1.1 = call i64 @llvm.smin.i64(i64 %74, i64 %spec.select.131)
  %75 = load i64, ptr %2, align 8, !tbaa !9
  %76 = add nsw i64 %75, %.01928
  %77 = load i64, ptr %3, align 8, !tbaa !9
  %78 = load i64, ptr %4, align 8, !tbaa !9
  %79 = add nsw i64 %78, 1
  %80 = sub nsw i64 %76, %77
  %81 = call noundef i64 @_ZSt3absx(i64 noundef %80)
  %82 = sub nsw i64 %76, %79
  %83 = call noundef i64 @_ZSt3absx(i64 noundef %82)
  %84 = add nsw i64 %83, %81
  %85 = sub nsw i64 %77, %79
  %86 = call noundef i64 @_ZSt3absx(i64 noundef %85)
  %87 = add nsw i64 %84, %86
  %spec.select.2.1 = call i64 @llvm.smin.i64(i64 %87, i64 %spec.select.1.1)
  %88 = load i64, ptr %2, align 8, !tbaa !9
  %89 = add nsw i64 %88, %.01928
  %90 = load i64, ptr %3, align 8, !tbaa !9
  %91 = add nsw i64 %90, 1
  %92 = load i64, ptr %4, align 8, !tbaa !9
  %93 = add nsw i64 %92, -1
  %94 = sub nsw i64 %89, %91
  %95 = call noundef i64 @_ZSt3absx(i64 noundef %94)
  %96 = sub nsw i64 %89, %93
  %97 = call noundef i64 @_ZSt3absx(i64 noundef %96)
  %98 = add nsw i64 %97, %95
  %99 = sub nsw i64 %91, %93
  %100 = call noundef i64 @_ZSt3absx(i64 noundef %99)
  %101 = add nsw i64 %98, %100
  %spec.select.232 = call i64 @llvm.smin.i64(i64 %101, i64 %spec.select.2.1)
  %102 = load i64, ptr %2, align 8, !tbaa !9
  %103 = add nsw i64 %102, %.01928
  %104 = load i64, ptr %3, align 8, !tbaa !9
  %105 = add nsw i64 %104, 1
  %106 = load i64, ptr %4, align 8, !tbaa !9
  %107 = sub nsw i64 %103, %105
  %108 = call noundef i64 @_ZSt3absx(i64 noundef %107)
  %109 = sub nsw i64 %103, %106
  %110 = call noundef i64 @_ZSt3absx(i64 noundef %109)
  %111 = add nsw i64 %110, %108
  %112 = sub nsw i64 %105, %106
  %113 = call noundef i64 @_ZSt3absx(i64 noundef %112)
  %114 = add nsw i64 %111, %113
  %spec.select.1.2 = call i64 @llvm.smin.i64(i64 %114, i64 %spec.select.232)
  %115 = load i64, ptr %2, align 8, !tbaa !9
  %116 = add nsw i64 %115, %.01928
  %117 = load i64, ptr %3, align 8, !tbaa !9
  %.neg = xor i64 %117, -1
  %118 = load i64, ptr %4, align 8, !tbaa !9
  %.neg33 = xor i64 %118, -1
  %119 = add i64 %116, %.neg
  %120 = call noundef i64 @_ZSt3absx(i64 noundef %119)
  %121 = add i64 %116, %.neg33
  %122 = call noundef i64 @_ZSt3absx(i64 noundef %121)
  %123 = add nsw i64 %122, %120
  %124 = sub i64 %117, %118
  %125 = call noundef i64 @_ZSt3absx(i64 noundef %124)
  %126 = add nsw i64 %123, %125
  %spec.select.2.2 = call i64 @llvm.smin.i64(i64 %126, i64 %spec.select.1.2)
  %127 = add nsw i64 %.01928, 1
  %exitcond.not = icmp eq i64 %127, 2
  br i1 %exitcond.not, label %128, label %.preheader23, !llvm.loop !11

128:                                              ; preds = %.preheader23
  %129 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i64 noundef %spec.select.2.2)
  %130 = load i32, ptr %1, align 4, !tbaa !5
  %131 = add nsw i32 %130, -1
  store i32 %131, ptr %1, align 4, !tbaa !5
  %.not = icmp eq i32 %130, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !13

._crit_edge:                                      ; preds = %128, %0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #5
  ret i32 0
}

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZSt3absx(i64 noundef) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i32 @printf(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: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smin.i64(i64, i64) #4

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


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