; LLVM IR from scandum/binary_search :: binary_search (execute)

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

@checks = external dso_local global i32, align 4
@rnd = external dso_local global i32, align 4
@best = external dso_local global i64, align 8
@runs = external dso_local global i32, align 4
@sequential = external dso_local global i32, align 4
@start = external dso_local global i64, align 8
@loop = external dso_local global i32, align 4
@o_array = external dso_local global ptr, align 8
@max = external dso_local global i32, align 4
@r_array = external dso_local global ptr, align 8
@end = external dso_local global i64, align 8
@.str = external hidden unnamed_addr constant [54 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [45 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
declare dso_local i64 @utime() #1

; Function Attrs: nounwind uwtable
define dso_local void @execute(ptr noundef %0, ptr noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  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 4, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %11 = load i32, ptr @rnd, align 4, !tbaa !9
  call void @srand(i32 noundef %11) #4
  store i64 0, ptr @best, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %12 = load i32, ptr @runs, align 4, !tbaa !9
  store i32 %12, ptr %10, align 4, !tbaa !9
  br label %13

13:                                               ; preds = %96, %2
  %14 = load i32, ptr %10, align 4, !tbaa !9
  %15 = icmp ne i32 %14, 0
  br i1 %15, label %17, label %16

16:                                               ; preds = %13
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %99

17:                                               ; preds = %13
  store i32 0, ptr @checks, align 4, !tbaa !9
  store i32 0, ptr %8, align 4, !tbaa !9
  store i32 0, ptr %9, align 4, !tbaa !9
  %18 = load i32, ptr @sequential, align 4, !tbaa !9
  %19 = icmp ne i32 %18, 0
  br i1 %19, label %20, label %53

20:                                               ; preds = %17
  store i64 0, ptr %5, align 8, !tbaa !11
  %21 = call i64 @utime()
  store i64 %21, ptr @start, align 8, !tbaa !11
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %22

22:                                               ; preds = %49, %20
  %23 = load i32, ptr %7, align 4, !tbaa !9
  %24 = load i32, ptr @loop, align 4, !tbaa !9
  %25 = icmp ult i32 %23, %24
  br i1 %25, label %26, label %52

26:                                               ; preds = %22
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = load ptr, ptr @o_array, align 8, !tbaa !5
  %29 = load i32, ptr @max, align 4, !tbaa !9
  %30 = load ptr, ptr @r_array, align 8, !tbaa !5
  %31 = load i32, ptr %7, align 4, !tbaa !9
  %32 = zext i32 %31 to i64
  %33 = getelementptr inbounds i32, ptr %30, i64 %32
  %34 = load i32, ptr %33, align 4, !tbaa !9
  %35 = call i32 %27(ptr noundef %28, i32 noundef %29, i32 noundef %34)
  %36 = sext i32 %35 to i64
  store i64 %36, ptr %6, align 8, !tbaa !11
  %37 = load i64, ptr %6, align 8, !tbaa !11
  %38 = load i64, ptr %5, align 8, !tbaa !11
  %39 = add nsw i64 %38, %37
  store i64 %39, ptr %5, align 8, !tbaa !11
  %40 = load i64, ptr %6, align 8, !tbaa !11
  %41 = icmp sge i64 %40, 0
  br i1 %41, label %42, label %45

42:                                               ; preds = %26
  %43 = load i32, ptr %8, align 4, !tbaa !9
  %44 = add i32 %43, 1
  store i32 %44, ptr %8, align 4, !tbaa !9
  br label %48

45:                                               ; preds = %26
  %46 = load i32, ptr %9, align 4, !tbaa !9
  %47 = add i32 %46, 1
  store i32 %47, ptr %9, align 4, !tbaa !9
  br label %48

48:                                               ; preds = %45, %42
  br label %49

49:                                               ; preds = %48
  %50 = load i32, ptr %7, align 4, !tbaa !9
  %51 = add i32 %50, 1
  store i32 %51, ptr %7, align 4, !tbaa !9
  br label %22, !llvm.loop !13

52:                                               ; preds = %22
  br label %81

53:                                               ; preds = %17
  %54 = call i64 @utime()
  store i64 %54, ptr @start, align 8, !tbaa !11
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %55

55:                                               ; preds = %77, %53
  %56 = load i32, ptr %7, align 4, !tbaa !9
  %57 = load i32, ptr @loop, align 4, !tbaa !9
  %58 = icmp ult i32 %56, %57
  br i1 %58, label %59, label %80

59:                                               ; preds = %55
  %60 = load ptr, ptr %3, align 8, !tbaa !5
  %61 = load ptr, ptr @o_array, align 8, !tbaa !5
  %62 = load i32, ptr @max, align 4, !tbaa !9
  %63 = load ptr, ptr @r_array, align 8, !tbaa !5
  %64 = load i32, ptr %7, align 4, !tbaa !9
  %65 = zext i32 %64 to i64
  %66 = getelementptr inbounds i32, ptr %63, i64 %65
  %67 = load i32, ptr %66, align 4, !tbaa !9
  %68 = call i32 %60(ptr noundef %61, i32 noundef %62, i32 noundef %67)
  %69 = icmp sge i32 %68, 0
  br i1 %69, label %70, label %73

70:                                               ; preds = %59
  %71 = load i32, ptr %8, align 4, !tbaa !9
  %72 = add i32 %71, 1
  store i32 %72, ptr %8, align 4, !tbaa !9
  br label %76

73:                                               ; preds = %59
  %74 = load i32, ptr %9, align 4, !tbaa !9
  %75 = add i32 %74, 1
  store i32 %75, ptr %9, align 4, !tbaa !9
  br label %76

76:                                               ; preds = %73, %70
  br label %77

77:                                               ; preds = %76
  %78 = load i32, ptr %7, align 4, !tbaa !9
  %79 = add i32 %78, 1
  store i32 %79, ptr %7, align 4, !tbaa !9
  br label %55, !llvm.loop !15

80:                                               ; preds = %55
  br label %81

81:                                               ; preds = %80, %52
  %82 = call i64 @utime()
  store i64 %82, ptr @end, align 8, !tbaa !11
  %83 = load i64, ptr @best, align 8, !tbaa !11
  %84 = icmp eq i64 %83, 0
  br i1 %84, label %91, label %85

85:                                               ; preds = %81
  %86 = load i64, ptr @end, align 8, !tbaa !11
  %87 = load i64, ptr @start, align 8, !tbaa !11
  %88 = sub nsw i64 %86, %87
  %89 = load i64, ptr @best, align 8, !tbaa !11
  %90 = icmp slt i64 %88, %89
  br i1 %90, label %91, label %95

91:                                               ; preds = %85, %81
  %92 = load i64, ptr @end, align 8, !tbaa !11
  %93 = load i64, ptr @start, align 8, !tbaa !11
  %94 = sub nsw i64 %92, %93
  store i64 %94, ptr @best, align 8, !tbaa !11
  br label %95

95:                                               ; preds = %91, %85
  br label %96

96:                                               ; preds = %95
  %97 = load i32, ptr %10, align 4, !tbaa !9
  %98 = add nsw i32 %97, -1
  store i32 %98, ptr %10, align 4, !tbaa !9
  br label %13, !llvm.loop !16

99:                                               ; preds = %16
  %100 = load i32, ptr @sequential, align 4, !tbaa !9
  %101 = icmp ne i32 %100, 0
  br i1 %101, label %102, label %113

102:                                              ; preds = %99
  %103 = load ptr, ptr %4, align 8, !tbaa !5
  %104 = load i32, ptr @max, align 4, !tbaa !9
  %105 = load i32, ptr %8, align 4, !tbaa !9
  %106 = load i32, ptr %9, align 4, !tbaa !9
  %107 = load i32, ptr @checks, align 4, !tbaa !9
  %108 = load i64, ptr @best, align 8, !tbaa !11
  %109 = sitofp i64 %108 to double
  %110 = fdiv double %109, 1.000000e+06
  %111 = load i64, ptr %5, align 8, !tbaa !11
  %112 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %103, i32 noundef %104, i32 noundef %105, i32 noundef %106, i32 noundef %107, double noundef %110, i64 noundef %111)
  br label %123

113:                                              ; preds = %99
  %114 = load ptr, ptr %4, align 8, !tbaa !5
  %115 = load i32, ptr @max, align 4, !tbaa !9
  %116 = load i32, ptr %8, align 4, !tbaa !9
  %117 = load i32, ptr %9, align 4, !tbaa !9
  %118 = load i32, ptr @checks, align 4, !tbaa !9
  %119 = load i64, ptr @best, align 8, !tbaa !11
  %120 = sitofp i64 %119 to double
  %121 = fdiv double %120, 1.000000e+06
  %122 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %114, i32 noundef %115, i32 noundef %116, i32 noundef %117, i32 noundef %118, double noundef %121)
  br label %123

123:                                              ; preds = %113, %102
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, 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
  ret void
}

; Function Attrs: nounwind
declare void @srand(i32 noundef) #2

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

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

@checks = external dso_local local_unnamed_addr global i32, align 4
@rnd = external dso_local local_unnamed_addr global i32, align 4
@best = external dso_local local_unnamed_addr global i64, align 8
@runs = external dso_local local_unnamed_addr global i32, align 4
@sequential = external dso_local local_unnamed_addr global i32, align 4
@start = external dso_local local_unnamed_addr global i64, align 8
@loop = external dso_local local_unnamed_addr global i32, align 4
@o_array = external dso_local local_unnamed_addr global ptr, align 8
@max = external dso_local local_unnamed_addr global i32, align 4
@r_array = external dso_local local_unnamed_addr global ptr, align 8
@end = external dso_local local_unnamed_addr global i64, align 8
@.str = external hidden unnamed_addr constant [54 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [45 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i64 @utime() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @execute(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = load i32, ptr @rnd, align 4, !tbaa !5
  tail call void @srand(i32 noundef %3) #3
  store i64 0, ptr @best, align 8, !tbaa !9
  %4 = load i32, ptr @runs, align 4, !tbaa !5
  %.not52 = icmp eq i32 %4, 0
  br i1 %.not52, label %._crit_edge, label %.lr.ph55

._crit_edge.loopexit:                             ; preds = %46
  %5 = sitofp i64 %47 to double
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %2
  %6 = phi double [ 0.000000e+00, %2 ], [ %5, %._crit_edge.loopexit ]
  %.032.lcssa = phi i64 [ undef, %2 ], [ %.234, %._crit_edge.loopexit ]
  %.024.lcssa = phi i32 [ undef, %2 ], [ %.529, %._crit_edge.loopexit ]
  %.023.lcssa = phi i32 [ undef, %2 ], [ %.5, %._crit_edge.loopexit ]
  %7 = load i32, ptr @sequential, align 4, !tbaa !5
  %.not36 = icmp eq i32 %7, 0
  %8 = load i32, ptr @max, align 4, !tbaa !5
  %9 = load i32, ptr @checks, align 4, !tbaa !5
  %10 = fdiv double %6, 1.000000e+06
  br i1 %.not36, label %51, label %49

.lr.ph55:                                         ; preds = %2, %46
  %.054 = phi i32 [ %48, %46 ], [ %4, %2 ]
  %.03253 = phi i64 [ %.234, %46 ], [ undef, %2 ]
  store i32 0, ptr @checks, align 4, !tbaa !5
  %11 = load i32, ptr @sequential, align 4, !tbaa !5
  %.not37 = icmp eq i32 %11, 0
  %12 = tail call i64 @utime()
  store i64 %12, ptr @start, align 8, !tbaa !9
  %13 = load i32, ptr @loop, align 4, !tbaa !5
  %.not60 = icmp eq i32 %13, 0
  br i1 %.not37, label %29, label %14

14:                                               ; preds = %.lr.ph55
  br i1 %.not60, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %14, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %14 ]
  %.143 = phi i32 [ %.2, %.lr.ph ], [ 0, %14 ]
  %.12542 = phi i32 [ %.226, %.lr.ph ], [ 0, %14 ]
  %.13340 = phi i64 [ %22, %.lr.ph ], [ 0, %14 ]
  %15 = load ptr, ptr @o_array, align 8, !tbaa !11
  %16 = load i32, ptr @max, align 4, !tbaa !5
  %17 = load ptr, ptr @r_array, align 8, !tbaa !11
  %18 = getelementptr inbounds i32, ptr %17, i64 %indvars.iv
  %19 = load i32, ptr %18, align 4, !tbaa !5
  %20 = tail call i32 %0(ptr noundef %15, i32 noundef %16, i32 noundef %19) #3
  %21 = sext i32 %20 to i64
  %22 = add nsw i64 %.13340, %21
  %23 = icmp sgt i32 %20, -1
  %24 = zext i1 %23 to i32
  %.226 = add i32 %.12542, %24
  %not. = xor i1 %23, true
  %25 = zext i1 %not. to i32
  %.2 = add i32 %.143, %25
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %26 = load i32, ptr @loop, align 4, !tbaa !5
  %27 = zext i32 %26 to i64
  %28 = icmp ult i64 %indvars.iv.next, %27
  br i1 %28, label %.lr.ph, label %.loopexit, !llvm.loop !13

29:                                               ; preds = %.lr.ph55
  br i1 %.not60, label %.loopexit, label %.lr.ph49

.lr.ph49:                                         ; preds = %29, %.lr.ph49
  %indvars.iv63 = phi i64 [ %indvars.iv.next64, %.lr.ph49 ], [ 0, %29 ]
  %.348 = phi i32 [ %.4, %.lr.ph49 ], [ 0, %29 ]
  %.32747 = phi i32 [ %.428, %.lr.ph49 ], [ 0, %29 ]
  %30 = load ptr, ptr @o_array, align 8, !tbaa !11
  %31 = load i32, ptr @max, align 4, !tbaa !5
  %32 = load ptr, ptr @r_array, align 8, !tbaa !11
  %33 = getelementptr inbounds i32, ptr %32, i64 %indvars.iv63
  %34 = load i32, ptr %33, align 4, !tbaa !5
  %35 = tail call i32 %0(ptr noundef %30, i32 noundef %31, i32 noundef %34) #3
  %36 = icmp sgt i32 %35, -1
  %37 = zext i1 %36 to i32
  %.428 = add i32 %.32747, %37
  %not.38 = xor i1 %36, true
  %38 = zext i1 %not.38 to i32
  %.4 = add i32 %.348, %38
  %indvars.iv.next64 = add nuw nsw i64 %indvars.iv63, 1
  %39 = load i32, ptr @loop, align 4, !tbaa !5
  %40 = zext i32 %39 to i64
  %41 = icmp ult i64 %indvars.iv.next64, %40
  br i1 %41, label %.lr.ph49, label %.loopexit, !llvm.loop !15

.loopexit:                                        ; preds = %.lr.ph, %.lr.ph49, %14, %29
  %.234 = phi i64 [ %.03253, %29 ], [ 0, %14 ], [ %.03253, %.lr.ph49 ], [ %22, %.lr.ph ]
  %.529 = phi i32 [ 0, %29 ], [ 0, %14 ], [ %.428, %.lr.ph49 ], [ %.226, %.lr.ph ]
  %.5 = phi i32 [ 0, %29 ], [ 0, %14 ], [ %.4, %.lr.ph49 ], [ %.2, %.lr.ph ]
  %42 = tail call i64 @utime()
  store i64 %42, ptr @end, align 8, !tbaa !9
  %43 = load i64, ptr @best, align 8, !tbaa !9
  %44 = icmp eq i64 %43, 0
  %.pre = load i64, ptr @start, align 8, !tbaa !9
  %.pre66 = sub nsw i64 %42, %.pre
  %45 = icmp slt i64 %.pre66, %43
  %or.cond = select i1 %44, i1 true, i1 %45
  br i1 %or.cond, label %.loopexit._crit_edge, label %46

.loopexit._crit_edge:                             ; preds = %.loopexit
  store i64 %.pre66, ptr @best, align 8, !tbaa !9
  br label %46

46:                                               ; preds = %.loopexit, %.loopexit._crit_edge
  %47 = phi i64 [ %.pre66, %.loopexit._crit_edge ], [ %43, %.loopexit ]
  %48 = add nsw i32 %.054, -1
  %.not = icmp eq i32 %48, 0
  br i1 %.not, label %._crit_edge.loopexit, label %.lr.ph55, !llvm.loop !16

49:                                               ; preds = %._crit_edge
  %50 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %1, i32 noundef %8, i32 noundef %.024.lcssa, i32 noundef %.023.lcssa, i32 noundef %9, double noundef %10, i64 noundef %.032.lcssa)
  br label %53

51:                                               ; preds = %._crit_edge
  %52 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef %1, i32 noundef %8, i32 noundef %.024.lcssa, i32 noundef %.023.lcssa, i32 noundef %9, double noundef %10)
  br label %53

53:                                               ; preds = %51, %49
  ret void
}

; Function Attrs: nounwind
declare void @srand(i32 noundef) local_unnamed_addr #1

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

attributes #0 = { 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 = { 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 = { 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 = { 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}


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