; LLVM IR from IBM/optimized-number-theoretic-transform-implementations :: src (ntt_radix4)

; 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.mul_op_s = type { i128, i128 }

; Function Attrs: nounwind uwtable
define dso_local void @fwd_ntt_radix4_lazy(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca [5 x %struct.mul_op_s], align 16
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i32, align 4
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca %struct.mul_op_s, align 16
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i64 %1, ptr %7, align 8, !tbaa !9
  store i64 %2, ptr %8, align 8, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %21 = load i64, ptr %7, align 8, !tbaa !9
  %22 = and i64 %21, -6148914691236517206
  %23 = icmp ne i64 %22, 0
  br i1 %23, label %26, label %24

24:                                               ; preds = %5
  %25 = load i64, ptr %7, align 8, !tbaa !9
  br label %29

26:                                               ; preds = %5
  %27 = load i64, ptr %7, align 8, !tbaa !9
  %28 = lshr i64 %27, 1
  br label %29

29:                                               ; preds = %26, %24
  %30 = phi i64 [ %25, %24 ], [ %28, %26 ]
  store i64 %30, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 160, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %31 = load i64, ptr %7, align 8, !tbaa !9
  %32 = lshr i64 %31, 2
  store i64 %32, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  store i64 1, ptr %14, align 8, !tbaa !9
  br label %33

33:                                               ; preds = %95, %29
  %34 = load i64, ptr %14, align 8, !tbaa !9
  %35 = load i64, ptr %11, align 8, !tbaa !9
  %36 = icmp ult i64 %34, %35
  br i1 %36, label %38, label %37

37:                                               ; preds = %33
  store i32 2, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  br label %98

38:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  store i64 0, ptr %16, align 8, !tbaa !9
  br label %39

39:                                               ; preds = %89, %38
  %40 = load i64, ptr %16, align 8, !tbaa !9
  %41 = load i64, ptr %14, align 8, !tbaa !9
  %42 = icmp ult i64 %40, %41
  br i1 %42, label %44, label %43

43:                                               ; preds = %39
  store i32 5, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  br label %92

44:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  %45 = load i64, ptr %13, align 8, !tbaa !9
  %46 = mul i64 4, %45
  %47 = load i64, ptr %16, align 8, !tbaa !9
  %48 = mul i64 %46, %47
  store i64 %48, ptr %17, align 8, !tbaa !9
  %49 = getelementptr inbounds [5 x %struct.mul_op_s], ptr %12, i64 0, i64 0
  %50 = load ptr, ptr %9, align 8, !tbaa !5
  %51 = load ptr, ptr %10, align 8, !tbaa !5
  %52 = load i64, ptr %14, align 8, !tbaa !9
  %53 = load i64, ptr %16, align 8, !tbaa !9
  call void @collect_roots(ptr noundef %49, ptr noundef %50, ptr noundef %51, i64 noundef %52, i64 noundef %53)
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  %54 = load i64, ptr %17, align 8, !tbaa !9
  store i64 %54, ptr %18, align 8, !tbaa !9
  br label %55

55:                                               ; preds = %85, %44
  %56 = load i64, ptr %18, align 8, !tbaa !9
  %57 = load i64, ptr %17, align 8, !tbaa !9
  %58 = load i64, ptr %13, align 8, !tbaa !9
  %59 = add i64 %57, %58
  %60 = icmp ult i64 %56, %59
  br i1 %60, label %62, label %61

61:                                               ; preds = %55
  store i32 8, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  br label %88

62:                                               ; preds = %55
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  %64 = load i64, ptr %18, align 8, !tbaa !9
  %65 = getelementptr inbounds i64, ptr %63, i64 %64
  %66 = load ptr, ptr %6, align 8, !tbaa !5
  %67 = load i64, ptr %18, align 8, !tbaa !9
  %68 = load i64, ptr %13, align 8, !tbaa !9
  %69 = add i64 %67, %68
  %70 = getelementptr inbounds i64, ptr %66, i64 %69
  %71 = load ptr, ptr %6, align 8, !tbaa !5
  %72 = load i64, ptr %18, align 8, !tbaa !9
  %73 = load i64, ptr %13, align 8, !tbaa !9
  %74 = mul i64 2, %73
  %75 = add i64 %72, %74
  %76 = getelementptr inbounds i64, ptr %71, i64 %75
  %77 = load ptr, ptr %6, align 8, !tbaa !5
  %78 = load i64, ptr %18, align 8, !tbaa !9
  %79 = load i64, ptr %13, align 8, !tbaa !9
  %80 = mul i64 3, %79
  %81 = add i64 %78, %80
  %82 = getelementptr inbounds i64, ptr %77, i64 %81
  %83 = getelementptr inbounds [5 x %struct.mul_op_s], ptr %12, i64 0, i64 0
  %84 = load i64, ptr %8, align 8, !tbaa !9
  call void @radix4_fwd_butterfly(ptr noundef %65, ptr noundef %70, ptr noundef %76, ptr noundef %82, ptr noundef %83, i64 noundef %84)
  br label %85

85:                                               ; preds = %62
  %86 = load i64, ptr %18, align 8, !tbaa !9
  %87 = add i64 %86, 1
  store i64 %87, ptr %18, align 8, !tbaa !9
  br label %55, !llvm.loop !11

88:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  br label %89

89:                                               ; preds = %88
  %90 = load i64, ptr %16, align 8, !tbaa !9
  %91 = add i64 %90, 1
  store i64 %91, ptr %16, align 8, !tbaa !9
  br label %39, !llvm.loop !13

92:                                               ; preds = %43
  %93 = load i64, ptr %13, align 8, !tbaa !9
  %94 = lshr i64 %93, 2
  store i64 %94, ptr %13, align 8, !tbaa !9
  br label %95

95:                                               ; preds = %92
  %96 = load i64, ptr %14, align 8, !tbaa !9
  %97 = shl i64 %96, 2
  store i64 %97, ptr %14, align 8, !tbaa !9
  br label %33, !llvm.loop !14

98:                                               ; preds = %37
  %99 = load i64, ptr %7, align 8, !tbaa !9
  %100 = and i64 %99, -6148914691236517206
  %101 = icmp ne i64 %100, 0
  br i1 %101, label %103, label %102

102:                                              ; preds = %98
  store i32 1, ptr %15, align 4
  br label %147

103:                                              ; preds = %98
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  store i64 0, ptr %19, align 8, !tbaa !9
  br label %104

104:                                              ; preds = %143, %103
  %105 = load i64, ptr %19, align 8, !tbaa !9
  %106 = load i64, ptr %7, align 8, !tbaa !9
  %107 = icmp ult i64 %105, %106
  br i1 %107, label %109, label %108

108:                                              ; preds = %104
  store i32 11, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  br label %146

109:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #3
  %110 = getelementptr inbounds %struct.mul_op_s, ptr %20, i32 0, i32 0
  %111 = load ptr, ptr %9, align 8, !tbaa !5
  %112 = load i64, ptr %7, align 8, !tbaa !9
  %113 = load i64, ptr %19, align 8, !tbaa !9
  %114 = add i64 %112, %113
  %115 = getelementptr inbounds i64, ptr %111, i64 %114
  %116 = load i64, ptr %115, align 8, !tbaa !9
  %117 = zext i64 %116 to i128
  store i128 %117, ptr %110, align 16, !tbaa !15
  %118 = getelementptr inbounds %struct.mul_op_s, ptr %20, i32 0, i32 1
  %119 = load ptr, ptr %10, align 8, !tbaa !5
  %120 = load i64, ptr %7, align 8, !tbaa !9
  %121 = load i64, ptr %19, align 8, !tbaa !9
  %122 = add i64 %120, %121
  %123 = getelementptr inbounds i64, ptr %119, i64 %122
  %124 = load i64, ptr %123, align 8, !tbaa !9
  %125 = zext i64 %124 to i128
  store i128 %125, ptr %118, align 16, !tbaa !18
  %126 = load ptr, ptr %6, align 8, !tbaa !5
  %127 = load i64, ptr %19, align 8, !tbaa !9
  %128 = getelementptr inbounds i64, ptr %126, i64 %127
  %129 = load i64, ptr %128, align 8, !tbaa !9
  %130 = load i64, ptr %8, align 8, !tbaa !9
  %131 = call i64 @reduce_8q_to_4q(i64 noundef %129, i64 noundef %130)
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = load i64, ptr %19, align 8, !tbaa !9
  %134 = getelementptr inbounds i64, ptr %132, i64 %133
  store i64 %131, ptr %134, align 8, !tbaa !9
  %135 = load ptr, ptr %6, align 8, !tbaa !5
  %136 = load i64, ptr %19, align 8, !tbaa !9
  %137 = getelementptr inbounds i64, ptr %135, i64 %136
  %138 = load ptr, ptr %6, align 8, !tbaa !5
  %139 = load i64, ptr %19, align 8, !tbaa !9
  %140 = add i64 %139, 1
  %141 = getelementptr inbounds i64, ptr %138, i64 %140
  %142 = load i64, ptr %8, align 8, !tbaa !9
  call void @harvey_fwd_butterfly(ptr noundef %137, ptr noundef %141, ptr noundef byval(%struct.mul_op_s) align 16 %20, i64 noundef %142)
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #3
  br label %143

143:                                              ; preds = %109
  %144 = load i64, ptr %19, align 8, !tbaa !9
  %145 = add i64 %144, 2
  store i64 %145, ptr %19, align 8, !tbaa !9
  br label %104, !llvm.loop !19

146:                                              ; preds = %108
  store i32 0, ptr %15, align 4
  br label %147

147:                                              ; preds = %146, %102
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 160, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  %148 = load i32, ptr %15, align 4
  switch i32 %148, label %150 [
    i32 0, label %149
    i32 1, label %149
  ]

149:                                              ; preds = %147, %147
  ret void

150:                                              ; preds = %147
  unreachable
}

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @collect_roots(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @radix4_fwd_butterfly(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef) #2

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @reduce_8q_to_4q(i64 noundef, i64 noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @harvey_fwd_butterfly(ptr noundef, ptr noundef, ptr noundef byval(%struct.mul_op_s) align 16, i64 noundef) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint 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, !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 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = !{!16, !17, i64 0}
!16 = !{!"mul_op_s", !17, i64 0, !17, i64 16}
!17 = !{!"__int128", !7, i64 0}
!18 = !{!16, !17, i64 16}
!19 = distinct !{!19, !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"

%struct.mul_op_s = type { i128, i128 }

; Function Attrs: nounwind uwtable
define dso_local void @fwd_ntt_radix4_lazy(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 {
  %6 = alloca [5 x %struct.mul_op_s], align 16
  %7 = alloca %struct.mul_op_s, align 16
  %8 = and i64 %1, -6148914691236517206
  %.not = icmp ne i64 %8, 0
  %9 = zext i1 %.not to i64
  %10 = lshr i64 %1, %9
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %6) #3
  %11 = icmp ugt i64 %10, 1
  br i1 %11, label %.preheader59, label %._crit_edge68

.preheader59:                                     ; preds = %5, %._crit_edge63
  %.054.in66 = phi i64 [ %.05467, %._crit_edge63 ], [ %1, %5 ]
  %.05665 = phi i64 [ %14, %._crit_edge63 ], [ 1, %5 ]
  %.05467 = lshr i64 %.054.in66, 2
  %.not71 = icmp eq i64 %.05665, 0
  br i1 %.not71, label %._crit_edge63, label %.lr.ph62

.lr.ph62:                                         ; preds = %.preheader59
  %12 = and i64 %.054.in66, -4
  %.idx = shl i64 %.05467, 4
  %.idx58 = mul i64 %.05467, 24
  br label %16

._crit_edge68:                                    ; preds = %._crit_edge63, %5
  br i1 %.not, label %.lr.ph70, label %.loopexit

.lr.ph70:                                         ; preds = %._crit_edge68
  %13 = getelementptr inbounds i8, ptr %7, i64 16
  br label %26

._crit_edge63:                                    ; preds = %._crit_edge, %.preheader59
  %14 = shl i64 %.05665, 2
  %15 = icmp ult i64 %14, %10
  br i1 %15, label %.preheader59, label %._crit_edge68, !llvm.loop !5

16:                                               ; preds = %.lr.ph62, %._crit_edge
  %indvars.iv = phi i64 [ %.05467, %.lr.ph62 ], [ %indvars.iv.next, %._crit_edge ]
  %.05561 = phi i64 [ 0, %.lr.ph62 ], [ %20, %._crit_edge ]
  %17 = mul i64 %.05561, %12
  call void @collect_roots(ptr noundef nonnull %6, ptr noundef %3, ptr noundef %4, i64 noundef %.05665, i64 noundef %.05561)
  %18 = add i64 %17, %.05467
  %19 = icmp ult i64 %17, %18
  br i1 %19, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %16
  %20 = add nuw i64 %.05561, 1
  %indvars.iv.next = add i64 %indvars.iv, %12
  %exitcond72.not = icmp eq i64 %20, %.05665
  br i1 %exitcond72.not, label %._crit_edge63, label %16, !llvm.loop !7

.lr.ph:                                           ; preds = %16, %.lr.ph
  %.05360 = phi i64 [ %25, %.lr.ph ], [ %17, %16 ]
  %21 = getelementptr inbounds i64, ptr %0, i64 %.05360
  %22 = getelementptr i64, ptr %21, i64 %.05467
  %23 = getelementptr i8, ptr %21, i64 %.idx
  %24 = getelementptr i8, ptr %21, i64 %.idx58
  call void @radix4_fwd_butterfly(ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef nonnull %6, i64 noundef %2)
  %25 = add i64 %.05360, 1
  %exitcond.not = icmp eq i64 %25, %indvars.iv
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !8

26:                                               ; preds = %.lr.ph70, %26
  %.069 = phi i64 [ 0, %.lr.ph70 ], [ %39, %26 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #3
  %27 = add i64 %.069, %1
  %28 = getelementptr inbounds i64, ptr %3, i64 %27
  %29 = load i64, ptr %28, align 8, !tbaa !9
  %30 = zext i64 %29 to i128
  store i128 %30, ptr %7, align 16, !tbaa !13
  %31 = getelementptr inbounds i64, ptr %4, i64 %27
  %32 = load i64, ptr %31, align 8, !tbaa !9
  %33 = zext i64 %32 to i128
  store i128 %33, ptr %13, align 16, !tbaa !16
  %34 = getelementptr inbounds i64, ptr %0, i64 %.069
  %35 = load i64, ptr %34, align 8, !tbaa !9
  %36 = call i64 @reduce_8q_to_4q(i64 noundef %35, i64 noundef %2)
  store i64 %36, ptr %34, align 8, !tbaa !9
  %37 = or disjoint i64 %.069, 1
  %38 = getelementptr inbounds i64, ptr %0, i64 %37
  call void @harvey_fwd_butterfly(ptr noundef nonnull %34, ptr noundef nonnull %38, ptr noundef nonnull byval(%struct.mul_op_s) align 16 %7, i64 noundef %2)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #3
  %39 = add i64 %.069, 2
  %40 = icmp ult i64 %39, %1
  br i1 %40, label %26, label %.loopexit, !llvm.loop !17

.loopexit:                                        ; preds = %26, %._crit_edge68
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %6) #3
  ret void
}

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @collect_roots(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @radix4_fwd_butterfly(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef) 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: inlinehint nounwind uwtable
declare hidden i64 @reduce_8q_to_4q(i64 noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @harvey_fwd_butterfly(ptr noundef, ptr noundef, ptr noundef byval(%struct.mul_op_s) align 16, i64 noundef) 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}
!8 = distinct !{!8, !6}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
!13 = !{!14, !15, i64 0}
!14 = !{!"mul_op_s", !15, i64 0, !15, i64 16}
!15 = !{!"__int128", !11, i64 0}
!16 = !{!14, !15, i64 16}
!17 = distinct !{!17, !6}


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