; LLVM IR from tfhe/spqlios-arithmetic :: spqlios/reim (reim_ifft_ref)

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

; 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 speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

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

; Function Attrs: nounwind
declare double @cos(double noundef) #2

; Function Attrs: nounwind
declare double @sin(double noundef) #2

; Function Attrs: nounwind uwtable
define dso_local void @reim_naive_ifft(i64 noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3) #3 {
  %5 = alloca i64, align 8
  %6 = alloca double, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca i64, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  store i64 %0, ptr %5, align 8, !tbaa !5
  store double %1, ptr %6, align 8, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !11
  store ptr %3, ptr %8, align 8, !tbaa !11
  %16 = load i64, ptr %5, align 8, !tbaa !5
  %17 = icmp eq i64 %16, 1
  br i1 %17, label %18, label %19

18:                                               ; preds = %4
  br label %127

19:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %20 = load i64, ptr %5, align 8, !tbaa !5
  %21 = udiv i64 %20, 2
  store i64 %21, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %22 = load double, ptr %6, align 8, !tbaa !9
  %23 = fdiv double %22, 2.000000e+00
  store double %23, ptr %10, align 8, !tbaa !9
  %24 = load i64, ptr %9, align 8, !tbaa !5
  %25 = load double, ptr %10, align 8, !tbaa !9
  %26 = load ptr, ptr %7, align 8, !tbaa !11
  %27 = load ptr, ptr %8, align 8, !tbaa !11
  call void @reim_naive_ifft(i64 noundef %24, double noundef %25, ptr noundef %26, ptr noundef %27)
  %28 = load i64, ptr %9, align 8, !tbaa !5
  %29 = load double, ptr %10, align 8, !tbaa !9
  %30 = fadd double %29, 5.000000e-01
  %31 = load ptr, ptr %7, align 8, !tbaa !11
  %32 = load i64, ptr %9, align 8, !tbaa !5
  %33 = getelementptr inbounds double, ptr %31, i64 %32
  %34 = load ptr, ptr %8, align 8, !tbaa !11
  %35 = load i64, ptr %9, align 8, !tbaa !5
  %36 = getelementptr inbounds double, ptr %34, i64 %35
  call void @reim_naive_ifft(i64 noundef %28, double noundef %30, ptr noundef %33, ptr noundef %36)
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %37 = load double, ptr %10, align 8, !tbaa !9
  %38 = fmul double 0x401921FB54442D18, %37
  %39 = call double @cos(double noundef %38) #4
  store double %39, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %40 = load double, ptr %10, align 8, !tbaa !9
  %41 = fmul double 0x401921FB54442D18, %40
  %42 = call double @sin(double noundef %41) #4
  %43 = fneg double %42
  store double %43, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  store i64 0, ptr %13, align 8, !tbaa !5
  br label %44

44:                                               ; preds = %123, %19
  %45 = load i64, ptr %13, align 8, !tbaa !5
  %46 = load i64, ptr %9, align 8, !tbaa !5
  %47 = icmp ult i64 %45, %46
  br i1 %47, label %49, label %48

48:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  br label %126

49:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %50 = load ptr, ptr %7, align 8, !tbaa !11
  %51 = load i64, ptr %13, align 8, !tbaa !5
  %52 = getelementptr inbounds double, ptr %50, i64 %51
  %53 = load double, ptr %52, align 8, !tbaa !9
  %54 = load ptr, ptr %7, align 8, !tbaa !11
  %55 = load i64, ptr %9, align 8, !tbaa !5
  %56 = load i64, ptr %13, align 8, !tbaa !5
  %57 = add i64 %55, %56
  %58 = getelementptr inbounds double, ptr %54, i64 %57
  %59 = load double, ptr %58, align 8, !tbaa !9
  %60 = fsub double %53, %59
  store double %60, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %61 = load ptr, ptr %8, align 8, !tbaa !11
  %62 = load i64, ptr %13, align 8, !tbaa !5
  %63 = getelementptr inbounds double, ptr %61, i64 %62
  %64 = load double, ptr %63, align 8, !tbaa !9
  %65 = load ptr, ptr %8, align 8, !tbaa !11
  %66 = load i64, ptr %9, align 8, !tbaa !5
  %67 = load i64, ptr %13, align 8, !tbaa !5
  %68 = add i64 %66, %67
  %69 = getelementptr inbounds double, ptr %65, i64 %68
  %70 = load double, ptr %69, align 8, !tbaa !9
  %71 = fsub double %64, %70
  store double %71, ptr %15, align 8, !tbaa !9
  %72 = load ptr, ptr %7, align 8, !tbaa !11
  %73 = load i64, ptr %13, align 8, !tbaa !5
  %74 = getelementptr inbounds double, ptr %72, i64 %73
  %75 = load double, ptr %74, align 8, !tbaa !9
  %76 = load ptr, ptr %7, align 8, !tbaa !11
  %77 = load i64, ptr %9, align 8, !tbaa !5
  %78 = load i64, ptr %13, align 8, !tbaa !5
  %79 = add i64 %77, %78
  %80 = getelementptr inbounds double, ptr %76, i64 %79
  %81 = load double, ptr %80, align 8, !tbaa !9
  %82 = fadd double %75, %81
  %83 = load ptr, ptr %7, align 8, !tbaa !11
  %84 = load i64, ptr %13, align 8, !tbaa !5
  %85 = getelementptr inbounds double, ptr %83, i64 %84
  store double %82, ptr %85, align 8, !tbaa !9
  %86 = load ptr, ptr %8, align 8, !tbaa !11
  %87 = load i64, ptr %13, align 8, !tbaa !5
  %88 = getelementptr inbounds double, ptr %86, i64 %87
  %89 = load double, ptr %88, align 8, !tbaa !9
  %90 = load ptr, ptr %8, align 8, !tbaa !11
  %91 = load i64, ptr %9, align 8, !tbaa !5
  %92 = load i64, ptr %13, align 8, !tbaa !5
  %93 = add i64 %91, %92
  %94 = getelementptr inbounds double, ptr %90, i64 %93
  %95 = load double, ptr %94, align 8, !tbaa !9
  %96 = fadd double %89, %95
  %97 = load ptr, ptr %8, align 8, !tbaa !11
  %98 = load i64, ptr %13, align 8, !tbaa !5
  %99 = getelementptr inbounds double, ptr %97, i64 %98
  store double %96, ptr %99, align 8, !tbaa !9
  %100 = load double, ptr %14, align 8, !tbaa !9
  %101 = load double, ptr %11, align 8, !tbaa !9
  %102 = load double, ptr %15, align 8, !tbaa !9
  %103 = load double, ptr %12, align 8, !tbaa !9
  %104 = fmul double %102, %103
  %105 = fneg double %104
  %106 = call double @llvm.fmuladd.f64(double %100, double %101, double %105)
  %107 = load ptr, ptr %7, align 8, !tbaa !11
  %108 = load i64, ptr %9, align 8, !tbaa !5
  %109 = load i64, ptr %13, align 8, !tbaa !5
  %110 = add i64 %108, %109
  %111 = getelementptr inbounds double, ptr %107, i64 %110
  store double %106, ptr %111, align 8, !tbaa !9
  %112 = load double, ptr %15, align 8, !tbaa !9
  %113 = load double, ptr %11, align 8, !tbaa !9
  %114 = load double, ptr %14, align 8, !tbaa !9
  %115 = load double, ptr %12, align 8, !tbaa !9
  %116 = fmul double %114, %115
  %117 = call double @llvm.fmuladd.f64(double %112, double %113, double %116)
  %118 = load ptr, ptr %8, align 8, !tbaa !11
  %119 = load i64, ptr %9, align 8, !tbaa !5
  %120 = load i64, ptr %13, align 8, !tbaa !5
  %121 = add i64 %119, %120
  %122 = getelementptr inbounds double, ptr %118, i64 %121
  store double %117, ptr %122, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  br label %123

123:                                              ; preds = %49
  %124 = load i64, ptr %13, align 8, !tbaa !5
  %125 = add i64 %124, 1
  store i64 %125, ptr %13, align 8, !tbaa !5
  br label %44, !llvm.loop !13

126:                                              ; preds = %48
  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
  br label %127

127:                                              ; preds = %126, %18
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"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"

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #0

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @cos(double noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sin(double noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind memory(write, argmem: readwrite) uwtable
define dso_local void @reim_naive_ifft(i64 noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #2 {
  %5 = icmp eq i64 %0, 1
  br i1 %5, label %.loopexit, label %6

6:                                                ; preds = %4
  %7 = lshr i64 %0, 1
  %8 = fmul double %1, 5.000000e-01
  tail call void @reim_naive_ifft(i64 noundef %7, double noundef %8, ptr noundef %2, ptr noundef %3)
  %9 = fadd double %8, 5.000000e-01
  %10 = getelementptr inbounds double, ptr %2, i64 %7
  %11 = getelementptr inbounds double, ptr %3, i64 %7
  tail call void @reim_naive_ifft(i64 noundef %7, double noundef %9, ptr noundef %10, ptr noundef %11)
  %12 = fmul double %8, 0x401921FB54442D18
  %13 = tail call double @cos(double noundef %12) #4
  %14 = tail call double @sin(double noundef %12) #4
  %15 = fneg double %14
  %.not = icmp eq i64 %0, 0
  br i1 %.not, label %.loopexit, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %6
  %umax = tail call i64 @llvm.umax.i64(i64 %7, i64 1)
  %min.iters.check = icmp ult i64 %0, 16
  br i1 %min.iters.check, label %.lr.ph.preheader91, label %vector.memcheck

vector.memcheck:                                  ; preds = %.lr.ph.preheader
  %16 = shl i64 %umax, 3
  %scevgep = getelementptr i8, ptr %2, i64 %16
  %scevgep58 = getelementptr i8, ptr %3, i64 %16
  %17 = shl i64 %7, 3
  %scevgep59 = getelementptr i8, ptr %2, i64 %17
  %18 = add i64 %16, %17
  %scevgep60 = getelementptr i8, ptr %2, i64 %18
  %scevgep61 = getelementptr i8, ptr %3, i64 %17
  %scevgep62 = getelementptr i8, ptr %3, i64 %18
  %bound0 = icmp ugt ptr %scevgep58, %2
  %bound1 = icmp ugt ptr %scevgep, %3
  %found.conflict = and i1 %bound0, %bound1
  %bound063 = icmp ugt ptr %scevgep60, %2
  %bound164 = icmp ult ptr %scevgep59, %scevgep
  %found.conflict65 = and i1 %bound063, %bound164
  %conflict.rdx = or i1 %found.conflict, %found.conflict65
  %bound066 = icmp ugt ptr %scevgep62, %2
  %bound167 = icmp ult ptr %scevgep61, %scevgep
  %found.conflict68 = and i1 %bound066, %bound167
  %conflict.rdx69 = or i1 %conflict.rdx, %found.conflict68
  %bound070 = icmp ugt ptr %scevgep60, %3
  %bound171 = icmp ult ptr %scevgep59, %scevgep58
  %found.conflict72 = and i1 %bound070, %bound171
  %conflict.rdx73 = or i1 %conflict.rdx69, %found.conflict72
  %bound074 = icmp ugt ptr %scevgep62, %3
  %bound175 = icmp ult ptr %scevgep61, %scevgep58
  %found.conflict76 = and i1 %bound074, %bound175
  %conflict.rdx77 = or i1 %conflict.rdx73, %found.conflict76
  %bound078 = icmp ult ptr %scevgep59, %scevgep62
  %bound179 = icmp ult ptr %scevgep61, %scevgep60
  %found.conflict80 = and i1 %bound078, %bound179
  %conflict.rdx81 = or i1 %conflict.rdx77, %found.conflict80
  br i1 %conflict.rdx81, label %.lr.ph.preheader91, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %umax, 9223372036854775806
  %broadcast.splatinsert = insertelement <2 x double> poison, double %14, i64 0
  %broadcast.splat = shufflevector <2 x double> %broadcast.splatinsert, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert87 = insertelement <2 x double> poison, double %13, i64 0
  %broadcast.splat88 = shufflevector <2 x double> %broadcast.splatinsert87, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert89 = insertelement <2 x double> poison, double %15, i64 0
  %broadcast.splat90 = shufflevector <2 x double> %broadcast.splatinsert89, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %19 = getelementptr inbounds double, ptr %2, i64 %index
  %wide.load = load <2 x double>, ptr %19, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %20 = add nuw i64 %index, %7
  %21 = getelementptr inbounds double, ptr %2, i64 %20
  %wide.load82 = load <2 x double>, ptr %21, align 8, !tbaa !5, !alias.scope !16, !noalias !17
  %22 = fsub <2 x double> %wide.load, %wide.load82
  %23 = getelementptr inbounds double, ptr %3, i64 %index
  %wide.load83 = load <2 x double>, ptr %23, align 8, !tbaa !5, !alias.scope !18, !noalias !19
  %24 = getelementptr inbounds double, ptr %3, i64 %20
  %wide.load84 = load <2 x double>, ptr %24, align 8, !tbaa !5, !alias.scope !17
  %25 = fsub <2 x double> %wide.load83, %wide.load84
  %26 = fadd <2 x double> %wide.load, %wide.load82
  store <2 x double> %26, ptr %19, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %27 = fadd <2 x double> %wide.load83, %wide.load84
  store <2 x double> %27, ptr %23, align 8, !tbaa !5, !alias.scope !18, !noalias !19
  %28 = fmul <2 x double> %broadcast.splat, %25
  %29 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %22, <2 x double> %broadcast.splat88, <2 x double> %28)
  store <2 x double> %29, ptr %21, align 8, !tbaa !5, !alias.scope !16, !noalias !17
  %30 = fmul <2 x double> %22, %broadcast.splat90
  %31 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %25, <2 x double> %broadcast.splat88, <2 x double> %30)
  store <2 x double> %31, ptr %24, align 8, !tbaa !5, !alias.scope !17
  %index.next = add nuw i64 %index, 2
  %32 = icmp eq i64 %index.next, %n.vec
  br i1 %32, label %middle.block, label %vector.body, !llvm.loop !20

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %7, %n.vec
  br i1 %cmp.n, label %.loopexit, label %.lr.ph.preheader91

.lr.ph.preheader91:                               ; preds = %middle.block, %vector.memcheck, %.lr.ph.preheader
  %.057.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader91, %.lr.ph
  %.057 = phi i64 [ %52, %.lr.ph ], [ %.057.ph, %.lr.ph.preheader91 ]
  %33 = getelementptr inbounds double, ptr %2, i64 %.057
  %34 = load double, ptr %33, align 8, !tbaa !5
  %35 = add nuw i64 %.057, %7
  %36 = getelementptr inbounds double, ptr %2, i64 %35
  %37 = load double, ptr %36, align 8, !tbaa !5
  %38 = fsub double %34, %37
  %39 = getelementptr inbounds double, ptr %3, i64 %.057
  %40 = load double, ptr %39, align 8, !tbaa !5
  %41 = getelementptr inbounds double, ptr %3, i64 %35
  %42 = load double, ptr %41, align 8, !tbaa !5
  %43 = fsub double %40, %42
  %44 = fadd double %34, %37
  store double %44, ptr %33, align 8, !tbaa !5
  %45 = load double, ptr %39, align 8, !tbaa !5
  %46 = load double, ptr %41, align 8, !tbaa !5
  %47 = fadd double %45, %46
  store double %47, ptr %39, align 8, !tbaa !5
  %48 = fmul double %14, %43
  %49 = tail call double @llvm.fmuladd.f64(double %38, double %13, double %48)
  store double %49, ptr %36, align 8, !tbaa !5
  %50 = fmul double %38, %15
  %51 = tail call double @llvm.fmuladd.f64(double %43, double %13, double %50)
  store double %51, ptr %41, align 8, !tbaa !5
  %52 = add nuw nsw i64 %.057, 1
  %exitcond.not = icmp eq i64 %52, %umax
  br i1 %exitcond.not, label %.loopexit, label %.lr.ph, !llvm.loop !24

.loopexit:                                        ; preds = %.lr.ph, %middle.block, %6, %4
  ret void
}

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { mustprogress nofree nounwind willreturn memory(write) "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 memory(write, argmem: readwrite) 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10}
!10 = distinct !{!10, !11}
!11 = distinct !{!11, !"LVerDomain"}
!12 = !{!13, !14, !15}
!13 = distinct !{!13, !11}
!14 = distinct !{!14, !11}
!15 = distinct !{!15, !11}
!16 = !{!14}
!17 = !{!15}
!18 = !{!13}
!19 = !{!14, !15}
!20 = distinct !{!20, !21, !22, !23}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!"llvm.loop.isvectorized", i32 1}
!23 = !{!"llvm.loop.unroll.runtime.disable"}
!24 = distinct !{!24, !21, !22}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass