; LLVM IR from ayush-tulsyan/ACM-ICPC-Handbook :: code/FFT_new.ll (Z3FFTP3cpxS0_iii)

; 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.cpx = type { double, double }

@_ZL6two_pi = external hidden global double, align 8

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_Zpl3cpxS_(double, double, double, double) #0

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_Zml3cpxS_(double, double, double, double) #0

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_Z3EXPd(double noundef) #0

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3FFTP3cpxS0_iii(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %struct.cpx, align 8
  %13 = alloca %struct.cpx, align 8
  %14 = alloca %struct.cpx, align 8
  %15 = alloca %struct.cpx, align 8
  %16 = alloca %struct.cpx, align 8
  %17 = alloca %struct.cpx, align 8
  %18 = alloca %struct.cpx, align 8
  %19 = alloca %struct.cpx, align 8
  %20 = alloca %struct.cpx, align 8
  %21 = alloca %struct.cpx, align 8
  %22 = alloca %struct.cpx, align 8
  %23 = alloca %struct.cpx, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !9
  %24 = load i32, ptr %9, align 4, !tbaa !9
  %25 = icmp slt i32 %24, 1
  br i1 %25, label %26, label %27

26:                                               ; preds = %5
  br label %174

27:                                               ; preds = %5
  %28 = load i32, ptr %9, align 4, !tbaa !9
  %29 = icmp eq i32 %28, 1
  br i1 %29, label %30, label %35

30:                                               ; preds = %27
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.cpx, ptr %31, i64 0
  %33 = load ptr, ptr %7, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.cpx, ptr %33, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %34, ptr align 8 %32, i64 16, i1 false), !tbaa.struct !11
  br label %174

35:                                               ; preds = %27
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  %37 = load ptr, ptr %7, align 8, !tbaa !5
  %38 = load i32, ptr %8, align 4, !tbaa !9
  %39 = mul nsw i32 %38, 2
  %40 = load i32, ptr %9, align 4, !tbaa !9
  %41 = sdiv i32 %40, 2
  %42 = load i32, ptr %10, align 4, !tbaa !9
  call void @_Z3FFTP3cpxS0_iii(ptr noundef %36, ptr noundef %37, i32 noundef %39, i32 noundef %41, i32 noundef %42)
  %43 = load ptr, ptr %6, align 8, !tbaa !5
  %44 = load i32, ptr %8, align 4, !tbaa !9
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds %struct.cpx, ptr %43, i64 %45
  %47 = load ptr, ptr %7, align 8, !tbaa !5
  %48 = load i32, ptr %9, align 4, !tbaa !9
  %49 = sdiv i32 %48, 2
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds %struct.cpx, ptr %47, i64 %50
  %52 = load i32, ptr %8, align 4, !tbaa !9
  %53 = mul nsw i32 %52, 2
  %54 = load i32, ptr %9, align 4, !tbaa !9
  %55 = sdiv i32 %54, 2
  %56 = load i32, ptr %10, align 4, !tbaa !9
  call void @_Z3FFTP3cpxS0_iii(ptr noundef %46, ptr noundef %51, i32 noundef %53, i32 noundef %55, i32 noundef %56)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %57

57:                                               ; preds = %171, %35
  %58 = load i32, ptr %11, align 4, !tbaa !9
  %59 = load i32, ptr %9, align 4, !tbaa !9
  %60 = sdiv i32 %59, 2
  %61 = icmp slt i32 %58, %60
  br i1 %61, label %63, label %62

62:                                               ; preds = %57
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  br label %174

63:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #3
  %64 = load ptr, ptr %7, align 8, !tbaa !5
  %65 = load i32, ptr %11, align 4, !tbaa !9
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds %struct.cpx, ptr %64, i64 %66
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %12, ptr align 8 %67, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #3
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  %69 = load i32, ptr %11, align 4, !tbaa !9
  %70 = load i32, ptr %9, align 4, !tbaa !9
  %71 = sdiv i32 %70, 2
  %72 = add nsw i32 %69, %71
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds %struct.cpx, ptr %68, i64 %73
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %74, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %12, i64 16, i1 false), !tbaa.struct !11
  %75 = load i32, ptr %10, align 4, !tbaa !9
  %76 = sitofp i32 %75 to double
  %77 = load double, ptr @_ZL6two_pi, align 8, !tbaa !12
  %78 = fmul double %76, %77
  %79 = load i32, ptr %11, align 4, !tbaa !9
  %80 = sitofp i32 %79 to double
  %81 = fmul double %78, %80
  %82 = load i32, ptr %9, align 4, !tbaa !9
  %83 = sitofp i32 %82 to double
  %84 = fdiv double %81, %83
  %85 = call { double, double } @_Z3EXPd(double noundef %84)
  %86 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 0
  %87 = extractvalue { double, double } %85, 0
  store double %87, ptr %86, align 8
  %88 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 1
  %89 = extractvalue { double, double } %85, 1
  store double %89, ptr %88, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %18, ptr align 8 %13, i64 16, i1 false), !tbaa.struct !11
  %90 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 0
  %91 = load double, ptr %90, align 8
  %92 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 1
  %93 = load double, ptr %92, align 8
  %94 = getelementptr inbounds { double, double }, ptr %18, i32 0, i32 0
  %95 = load double, ptr %94, align 8
  %96 = getelementptr inbounds { double, double }, ptr %18, i32 0, i32 1
  %97 = load double, ptr %96, align 8
  %98 = call { double, double } @_Zml3cpxS_(double %91, double %93, double %95, double %97)
  %99 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 0
  %100 = extractvalue { double, double } %98, 0
  store double %100, ptr %99, align 8
  %101 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 1
  %102 = extractvalue { double, double } %98, 1
  store double %102, ptr %101, align 8
  %103 = getelementptr inbounds { double, double }, ptr %15, i32 0, i32 0
  %104 = load double, ptr %103, align 8
  %105 = getelementptr inbounds { double, double }, ptr %15, i32 0, i32 1
  %106 = load double, ptr %105, align 8
  %107 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 0
  %108 = load double, ptr %107, align 8
  %109 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 1
  %110 = load double, ptr %109, align 8
  %111 = call { double, double } @_Zpl3cpxS_(double %104, double %106, double %108, double %110)
  %112 = getelementptr inbounds { double, double }, ptr %14, i32 0, i32 0
  %113 = extractvalue { double, double } %111, 0
  store double %113, ptr %112, align 8
  %114 = getelementptr inbounds { double, double }, ptr %14, i32 0, i32 1
  %115 = extractvalue { double, double } %111, 1
  store double %115, ptr %114, align 8
  %116 = load ptr, ptr %7, align 8, !tbaa !5
  %117 = load i32, ptr %11, align 4, !tbaa !9
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds %struct.cpx, ptr %116, i64 %118
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %119, ptr align 8 %14, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 %12, i64 16, i1 false), !tbaa.struct !11
  %120 = load i32, ptr %10, align 4, !tbaa !9
  %121 = sitofp i32 %120 to double
  %122 = load double, ptr @_ZL6two_pi, align 8, !tbaa !12
  %123 = fmul double %121, %122
  %124 = load i32, ptr %11, align 4, !tbaa !9
  %125 = load i32, ptr %9, align 4, !tbaa !9
  %126 = sdiv i32 %125, 2
  %127 = add nsw i32 %124, %126
  %128 = sitofp i32 %127 to double
  %129 = fmul double %123, %128
  %130 = load i32, ptr %9, align 4, !tbaa !9
  %131 = sitofp i32 %130 to double
  %132 = fdiv double %129, %131
  %133 = call { double, double } @_Z3EXPd(double noundef %132)
  %134 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 0
  %135 = extractvalue { double, double } %133, 0
  store double %135, ptr %134, align 8
  %136 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 1
  %137 = extractvalue { double, double } %133, 1
  store double %137, ptr %136, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %23, ptr align 8 %13, i64 16, i1 false), !tbaa.struct !11
  %138 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 0
  %139 = load double, ptr %138, align 8
  %140 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 1
  %141 = load double, ptr %140, align 8
  %142 = getelementptr inbounds { double, double }, ptr %23, i32 0, i32 0
  %143 = load double, ptr %142, align 8
  %144 = getelementptr inbounds { double, double }, ptr %23, i32 0, i32 1
  %145 = load double, ptr %144, align 8
  %146 = call { double, double } @_Zml3cpxS_(double %139, double %141, double %143, double %145)
  %147 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 0
  %148 = extractvalue { double, double } %146, 0
  store double %148, ptr %147, align 8
  %149 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 1
  %150 = extractvalue { double, double } %146, 1
  store double %150, ptr %149, align 8
  %151 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 0
  %152 = load double, ptr %151, align 8
  %153 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 1
  %154 = load double, ptr %153, align 8
  %155 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 0
  %156 = load double, ptr %155, align 8
  %157 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 1
  %158 = load double, ptr %157, align 8
  %159 = call { double, double } @_Zpl3cpxS_(double %152, double %154, double %156, double %158)
  %160 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 0
  %161 = extractvalue { double, double } %159, 0
  store double %161, ptr %160, align 8
  %162 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 1
  %163 = extractvalue { double, double } %159, 1
  store double %163, ptr %162, align 8
  %164 = load ptr, ptr %7, align 8, !tbaa !5
  %165 = load i32, ptr %11, align 4, !tbaa !9
  %166 = load i32, ptr %9, align 4, !tbaa !9
  %167 = sdiv i32 %166, 2
  %168 = add nsw i32 %165, %167
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds %struct.cpx, ptr %164, i64 %169
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %170, ptr align 8 %19, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #3
  br label %171

171:                                              ; preds = %63
  %172 = load i32, ptr %11, align 4, !tbaa !9
  %173 = add nsw i32 %172, 1
  store i32 %173, ptr %11, align 4, !tbaa !9
  br label %57, !llvm.loop !14

174:                                              ; preds = %62, %30, %26
  ret void
}

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 nounwind willreturn memory(argmem: readwrite) }
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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{i64 0, i64 8, !12, i64 8, i64 8, !12}
!12 = !{!13, !13, i64 0}
!13 = !{!"double", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}


; 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.cpx = type { double, double }

@_ZL6two_pi = external hidden local_unnamed_addr global double, align 8

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_Zpl3cpxS_(double, double, double, double) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_Zml3cpxS_(double, double, double, double) local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_Z3EXPd(double noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3FFTP3cpxS0_iii(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
  %6 = icmp slt i32 %3, 1
  br i1 %6, label %.loopexit, label %7

7:                                                ; preds = %5
  %8 = icmp eq i32 %3, 1
  br i1 %8, label %9, label %.lr.ph

9:                                                ; preds = %7
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(16) %0, i64 16, i1 false), !tbaa.struct !5
  br label %.loopexit

.lr.ph:                                           ; preds = %7
  %10 = shl nsw i32 %2, 1
  %11 = lshr i32 %3, 1
  tail call void @_Z3FFTP3cpxS0_iii(ptr noundef %0, ptr noundef %1, i32 noundef %10, i32 noundef %11, i32 noundef %4)
  %12 = sext i32 %2 to i64
  %13 = getelementptr inbounds %struct.cpx, ptr %0, i64 %12
  %14 = zext nneg i32 %11 to i64
  %15 = getelementptr inbounds %struct.cpx, ptr %1, i64 %14
  tail call void @_Z3FFTP3cpxS0_iii(ptr noundef %13, ptr noundef %15, i32 noundef %10, i32 noundef %11, i32 noundef %4)
  %16 = sitofp i32 %4 to double
  %17 = uitofp nneg i32 %3 to double
  %wide.trip.count = zext nneg i32 %11 to i64
  br label %18

18:                                               ; preds = %.lr.ph, %18
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %18 ]
  %19 = getelementptr inbounds %struct.cpx, ptr %1, i64 %indvars.iv
  %.sroa.019.0.copyload = load double, ptr %19, align 8, !tbaa !6
  %.sroa.520.0..sroa_idx = getelementptr inbounds i8, ptr %19, i64 8
  %.sroa.520.0.copyload = load double, ptr %.sroa.520.0..sroa_idx, align 8, !tbaa !6
  %20 = add nuw nsw i64 %indvars.iv, %14
  %21 = getelementptr inbounds %struct.cpx, ptr %1, i64 %20
  %.sroa.018.0.copyload = load double, ptr %21, align 8, !tbaa !6
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %21, i64 8
  %.sroa.5.0.copyload = load double, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !6
  %22 = load double, ptr @_ZL6two_pi, align 8, !tbaa !6
  %23 = fmul double %22, %16
  %24 = trunc nuw nsw i64 %indvars.iv to i32
  %25 = uitofp nneg i32 %24 to double
  %26 = fmul double %23, %25
  %27 = fdiv double %26, %17
  %28 = tail call { double, double } @_Z3EXPd(double noundef %27)
  %29 = extractvalue { double, double } %28, 0
  %30 = extractvalue { double, double } %28, 1
  %31 = tail call { double, double } @_Zml3cpxS_(double %29, double %30, double %.sroa.018.0.copyload, double %.sroa.5.0.copyload)
  %32 = extractvalue { double, double } %31, 0
  %33 = extractvalue { double, double } %31, 1
  %34 = tail call { double, double } @_Zpl3cpxS_(double %.sroa.019.0.copyload, double %.sroa.520.0.copyload, double %32, double %33)
  %35 = extractvalue { double, double } %34, 0
  %36 = extractvalue { double, double } %34, 1
  store double %35, ptr %19, align 8, !tbaa !6
  store double %36, ptr %.sroa.520.0..sroa_idx, align 8, !tbaa !6
  %37 = load double, ptr @_ZL6two_pi, align 8, !tbaa !6
  %38 = fmul double %37, %16
  %39 = trunc nuw nsw i64 %20 to i32
  %40 = uitofp nneg i32 %39 to double
  %41 = fmul double %38, %40
  %42 = fdiv double %41, %17
  %43 = tail call { double, double } @_Z3EXPd(double noundef %42)
  %44 = extractvalue { double, double } %43, 0
  %45 = extractvalue { double, double } %43, 1
  %46 = tail call { double, double } @_Zml3cpxS_(double %44, double %45, double %.sroa.018.0.copyload, double %.sroa.5.0.copyload)
  %47 = extractvalue { double, double } %46, 0
  %48 = extractvalue { double, double } %46, 1
  %49 = tail call { double, double } @_Zpl3cpxS_(double %.sroa.019.0.copyload, double %.sroa.520.0.copyload, double %47, double %48)
  %50 = extractvalue { double, double } %49, 0
  %51 = extractvalue { double, double } %49, 1
  store double %50, ptr %21, align 8, !tbaa !6
  store double %51, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !6
  %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 %.loopexit, label %18, !llvm.loop !10

.loopexit:                                        ; preds = %18, %5, %9
  ret void
}

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 nounwind willreturn memory(argmem: readwrite) }

!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 = !{i64 0, i64 8, !6, i64 8, i64 8, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}


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