; LLVM IR from tangjz/acm-icpc :: hdu/6070.ll (Z7seg_queiiii)

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

%struct.Segment = type { double, double }

@seg = external dso_local global [120003 x %struct.Segment], align 16

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z7seg_idxii(i32 noundef, i32 noundef) #1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z3sgnd(double noundef) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_Z7seg_queiiii(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #2 {
  %5 = alloca double, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  store i32 %0, ptr %6, align 4, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !5
  store i32 %3, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  %18 = load i32, ptr %6, align 4, !tbaa !5
  %19 = load i32, ptr %7, align 4, !tbaa !5
  %20 = call noundef i32 @_Z7seg_idxii(i32 noundef %18, i32 noundef %19)
  store i32 %20, ptr %10, align 4, !tbaa !5
  %21 = load i32, ptr %8, align 4, !tbaa !5
  %22 = load i32, ptr %6, align 4, !tbaa !5
  %23 = icmp sle i32 %21, %22
  br i1 %23, label %24, label %34

24:                                               ; preds = %4
  %25 = load i32, ptr %7, align 4, !tbaa !5
  %26 = load i32, ptr %9, align 4, !tbaa !5
  %27 = icmp sle i32 %25, %26
  br i1 %27, label %28, label %34

28:                                               ; preds = %24
  %29 = load i32, ptr %10, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [120003 x %struct.Segment], ptr @seg, i64 0, i64 %30
  %32 = getelementptr inbounds %struct.Segment, ptr %31, i32 0, i32 0
  %33 = load double, ptr %32, align 16, !tbaa !9
  store double %33, ptr %5, align 8
  store i32 1, ptr %11, align 4
  br label %143

34:                                               ; preds = %24, %4
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  %35 = load i32, ptr %6, align 4, !tbaa !5
  %36 = load i32, ptr %7, align 4, !tbaa !5
  %37 = add nsw i32 %35, %36
  %38 = ashr i32 %37, 1
  store i32 %38, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  %39 = load i32, ptr %6, align 4, !tbaa !5
  %40 = load i32, ptr %12, align 4, !tbaa !5
  %41 = call noundef i32 @_Z7seg_idxii(i32 noundef %39, i32 noundef %40)
  store i32 %41, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  %42 = load i32, ptr %12, align 4, !tbaa !5
  %43 = add nsw i32 %42, 1
  %44 = load i32, ptr %7, align 4, !tbaa !5
  %45 = call noundef i32 @_Z7seg_idxii(i32 noundef %43, i32 noundef %44)
  store i32 %45, ptr %14, align 4, !tbaa !5
  %46 = load i32, ptr %10, align 4, !tbaa !5
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [120003 x %struct.Segment], ptr @seg, i64 0, i64 %47
  %49 = getelementptr inbounds %struct.Segment, ptr %48, i32 0, i32 1
  %50 = load double, ptr %49, align 8, !tbaa !12
  %51 = call noundef i32 @_Z3sgnd(double noundef %50)
  %52 = icmp ne i32 %51, 0
  br i1 %52, label %53, label %102

53:                                               ; preds = %34
  %54 = load i32, ptr %10, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [120003 x %struct.Segment], ptr @seg, i64 0, i64 %55
  %57 = getelementptr inbounds %struct.Segment, ptr %56, i32 0, i32 1
  %58 = load double, ptr %57, align 8, !tbaa !12
  %59 = load i32, ptr %13, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [120003 x %struct.Segment], ptr @seg, i64 0, i64 %60
  %62 = getelementptr inbounds %struct.Segment, ptr %61, i32 0, i32 0
  %63 = load double, ptr %62, align 16, !tbaa !9
  %64 = fadd double %63, %58
  store double %64, ptr %62, align 16, !tbaa !9
  %65 = load i32, ptr %10, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [120003 x %struct.Segment], ptr @seg, i64 0, i64 %66
  %68 = getelementptr inbounds %struct.Segment, ptr %67, i32 0, i32 1
  %69 = load double, ptr %68, align 8, !tbaa !12
  %70 = load i32, ptr %13, align 4, !tbaa !5
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [120003 x %struct.Segment], ptr @seg, i64 0, i64 %71
  %73 = getelementptr inbounds %struct.Segment, ptr %72, i32 0, i32 1
  %74 = load double, ptr %73, align 8, !tbaa !12
  %75 = fadd double %74, %69
  store double %75, ptr %73, align 8, !tbaa !12
  %76 = load i32, ptr %10, align 4, !tbaa !5
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [120003 x %struct.Segment], ptr @seg, i64 0, i64 %77
  %79 = getelementptr inbounds %struct.Segment, ptr %78, i32 0, i32 1
  %80 = load double, ptr %79, align 8, !tbaa !12
  %81 = load i32, ptr %14, align 4, !tbaa !5
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds [120003 x %struct.Segment], ptr @seg, i64 0, i64 %82
  %84 = getelementptr inbounds %struct.Segment, ptr %83, i32 0, i32 0
  %85 = load double, ptr %84, align 16, !tbaa !9
  %86 = fadd double %85, %80
  store double %86, ptr %84, align 16, !tbaa !9
  %87 = load i32, ptr %10, align 4, !tbaa !5
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [120003 x %struct.Segment], ptr @seg, i64 0, i64 %88
  %90 = getelementptr inbounds %struct.Segment, ptr %89, i32 0, i32 1
  %91 = load double, ptr %90, align 8, !tbaa !12
  %92 = load i32, ptr %14, align 4, !tbaa !5
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [120003 x %struct.Segment], ptr @seg, i64 0, i64 %93
  %95 = getelementptr inbounds %struct.Segment, ptr %94, i32 0, i32 1
  %96 = load double, ptr %95, align 8, !tbaa !12
  %97 = fadd double %96, %91
  store double %97, ptr %95, align 8, !tbaa !12
  %98 = load i32, ptr %10, align 4, !tbaa !5
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds [120003 x %struct.Segment], ptr @seg, i64 0, i64 %99
  %101 = getelementptr inbounds %struct.Segment, ptr %100, i32 0, i32 1
  store double 0.000000e+00, ptr %101, align 8, !tbaa !12
  br label %102

102:                                              ; preds = %53, %34
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  store double 1.000000e+20, ptr %15, align 8, !tbaa !13
  %103 = load i32, ptr %8, align 4, !tbaa !5
  %104 = load i32, ptr %12, align 4, !tbaa !5
  %105 = icmp sle i32 %103, %104
  br i1 %105, label %106, label %114

106:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  %107 = load i32, ptr %6, align 4, !tbaa !5
  %108 = load i32, ptr %12, align 4, !tbaa !5
  %109 = load i32, ptr %8, align 4, !tbaa !5
  %110 = load i32, ptr %9, align 4, !tbaa !5
  %111 = call noundef double @_Z7seg_queiiii(i32 noundef %107, i32 noundef %108, i32 noundef %109, i32 noundef %110)
  store double %111, ptr %16, align 8, !tbaa !13
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16)
  %113 = load double, ptr %112, align 8, !tbaa !13
  store double %113, ptr %15, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  br label %114

114:                                              ; preds = %106, %102
  %115 = load i32, ptr %12, align 4, !tbaa !5
  %116 = load i32, ptr %9, align 4, !tbaa !5
  %117 = icmp slt i32 %115, %116
  br i1 %117, label %118, label %127

118:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  %119 = load i32, ptr %12, align 4, !tbaa !5
  %120 = add nsw i32 %119, 1
  %121 = load i32, ptr %7, align 4, !tbaa !5
  %122 = load i32, ptr %8, align 4, !tbaa !5
  %123 = load i32, ptr %9, align 4, !tbaa !5
  %124 = call noundef double @_Z7seg_queiiii(i32 noundef %120, i32 noundef %121, i32 noundef %122, i32 noundef %123)
  store double %124, ptr %17, align 8, !tbaa !13
  %125 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %17)
  %126 = load double, ptr %125, align 8, !tbaa !13
  store double %126, ptr %15, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  br label %127

127:                                              ; preds = %118, %114
  %128 = load i32, ptr %13, align 4, !tbaa !5
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds [120003 x %struct.Segment], ptr @seg, i64 0, i64 %129
  %131 = getelementptr inbounds %struct.Segment, ptr %130, i32 0, i32 0
  %132 = load i32, ptr %14, align 4, !tbaa !5
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds [120003 x %struct.Segment], ptr @seg, i64 0, i64 %133
  %135 = getelementptr inbounds %struct.Segment, ptr %134, i32 0, i32 0
  %136 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %131, ptr noundef nonnull align 8 dereferenceable(8) %135)
  %137 = load double, ptr %136, align 8, !tbaa !13
  %138 = load i32, ptr %10, align 4, !tbaa !5
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds [120003 x %struct.Segment], ptr @seg, i64 0, i64 %139
  %141 = getelementptr inbounds %struct.Segment, ptr %140, i32 0, i32 0
  store double %137, ptr %141, align 16, !tbaa !9
  %142 = load double, ptr %15, align 8, !tbaa !13
  store double %142, ptr %5, align 8
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  br label %143

143:                                              ; preds = %127, %28
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  %144 = load double, ptr %5, align 8
  ret double %144
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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" }
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++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTS7Segment", !11, i64 0, !11, i64 8}
!11 = !{!"double", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = !{!11, !11, i64 0}


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

%struct.Segment = type { double, double }

@seg = external dso_local global [120003 x %struct.Segment], align 16

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z7seg_idxii(i32 noundef, i32 noundef) local_unnamed_addr #1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z3sgnd(double noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef double @_Z7seg_queiiii(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #2 {
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = tail call noundef i32 @_Z7seg_idxii(i32 noundef %0, i32 noundef %1)
  %.not = icmp sgt i32 %2, %0
  %.not41 = icmp sgt i32 %1, %3
  %or.cond = or i1 %.not, %.not41
  br i1 %or.cond, label %13, label %9

9:                                                ; preds = %4
  %10 = sext i32 %8 to i64
  %11 = getelementptr inbounds [120003 x %struct.Segment], ptr @seg, i64 0, i64 %10
  %12 = load double, ptr %11, align 16, !tbaa !5
  br label %58

13:                                               ; preds = %4
  %14 = add nsw i32 %1, %0
  %15 = ashr i32 %14, 1
  %16 = tail call noundef i32 @_Z7seg_idxii(i32 noundef %0, i32 noundef %15)
  %17 = add nsw i32 %15, 1
  %18 = tail call noundef i32 @_Z7seg_idxii(i32 noundef %17, i32 noundef %1)
  %19 = sext i32 %8 to i64
  %20 = getelementptr inbounds [120003 x %struct.Segment], ptr @seg, i64 0, i64 %19
  %21 = getelementptr inbounds i8, ptr %20, i64 8
  %22 = load double, ptr %21, align 8, !tbaa !10
  %23 = tail call noundef i32 @_Z3sgnd(double noundef %22)
  %.not42 = icmp eq i32 %23, 0
  br i1 %.not42, label %39, label %24

24:                                               ; preds = %13
  %25 = load double, ptr %21, align 8, !tbaa !10
  %26 = sext i32 %16 to i64
  %27 = getelementptr inbounds [120003 x %struct.Segment], ptr @seg, i64 0, i64 %26
  %28 = load <2 x double>, ptr %27, align 16, !tbaa !11
  %29 = insertelement <2 x double> poison, double %25, i64 0
  %30 = shufflevector <2 x double> %29, <2 x double> poison, <2 x i32> zeroinitializer
  %31 = fadd <2 x double> %30, %28
  store <2 x double> %31, ptr %27, align 16, !tbaa !11
  %32 = load double, ptr %21, align 8, !tbaa !10
  %33 = sext i32 %18 to i64
  %34 = getelementptr inbounds [120003 x %struct.Segment], ptr @seg, i64 0, i64 %33
  %35 = load <2 x double>, ptr %34, align 16, !tbaa !11
  %36 = insertelement <2 x double> poison, double %32, i64 0
  %37 = shufflevector <2 x double> %36, <2 x double> poison, <2 x i32> zeroinitializer
  %38 = fadd <2 x double> %37, %35
  store <2 x double> %38, ptr %34, align 16, !tbaa !11
  store double 0.000000e+00, ptr %21, align 8, !tbaa !10
  br label %39

39:                                               ; preds = %24, %13
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  store double 1.000000e+20, ptr %5, align 8, !tbaa !11
  %.not43 = icmp slt i32 %15, %2
  br i1 %.not43, label %44, label %40

40:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  %41 = tail call noundef double @_Z7seg_queiiii(i32 noundef %0, i32 noundef %15, i32 noundef %2, i32 noundef %3)
  store double %41, ptr %6, align 8, !tbaa !11
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6)
  %43 = load double, ptr %42, align 8, !tbaa !11
  store double %43, ptr %5, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  br label %44

44:                                               ; preds = %40, %39
  %45 = icmp slt i32 %15, %3
  br i1 %45, label %46, label %50

46:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  %47 = call noundef double @_Z7seg_queiiii(i32 noundef %17, i32 noundef %1, i32 noundef %2, i32 noundef %3)
  store double %47, ptr %7, align 8, !tbaa !11
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %49 = load double, ptr %48, align 8, !tbaa !11
  store double %49, ptr %5, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
  br label %50

50:                                               ; preds = %46, %44
  %51 = sext i32 %16 to i64
  %52 = getelementptr inbounds [120003 x %struct.Segment], ptr @seg, i64 0, i64 %51
  %53 = sext i32 %18 to i64
  %54 = getelementptr inbounds [120003 x %struct.Segment], ptr @seg, i64 0, i64 %53
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull align 8 dereferenceable(8) %54)
  %56 = load double, ptr %55, align 8, !tbaa !11
  store double %56, ptr %20, align 16, !tbaa !5
  %57 = load double, ptr %5, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  br label %58

58:                                               ; preds = %50, %9
  %.0 = phi double [ %12, %9 ], [ %57, %50 ]
  ret double %.0
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #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, !7, i64 0}
!6 = !{!"_ZTS7Segment", !7, i64 0, !7, i64 8}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!7, !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass