; LLVM IR from cryspen/libcrux :: sys/hacl/c/src/msvc (Hacl_Bignum64)

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

@.str = external hidden unnamed_addr constant [70 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [85 x i8], align 1

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #1

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

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

; Function Attrs: nounwind uwtable
define dso_local zeroext i1 @Hacl_Bignum64_mod(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #4 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i32, align 4
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca i64, align 8
  store i32 %0, ptr %5, align 4, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !9
  br label %21

21:                                               ; preds = %4
  %22 = load i32, ptr %5, align 4, !tbaa !5
  %23 = zext i32 %22 to i64
  %24 = icmp ugt i64 %23, 2305843009213693951
  br i1 %24, label %25, label %27

25:                                               ; preds = %21
  %26 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 161)
  call void @exit(i32 noundef 253) #7
  unreachable

27:                                               ; preds = %21
  br label %28

28:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  %29 = load i32, ptr %5, align 4, !tbaa !5
  %30 = zext i32 %29 to i64
  %31 = mul i64 %30, 8
  %32 = alloca i8, i64 %31, align 16
  store ptr %32, ptr %9, align 8, !tbaa !9
  %33 = load ptr, ptr %9, align 8, !tbaa !9
  %34 = load i32, ptr %5, align 4, !tbaa !5
  %35 = zext i32 %34 to i64
  %36 = mul i64 %35, 8
  call void @llvm.memset.p0.i64(ptr align 8 %33, i8 0, i64 %36, i1 false)
  %37 = load ptr, ptr %9, align 8, !tbaa !9
  %38 = load i32, ptr %5, align 4, !tbaa !5
  %39 = zext i32 %38 to i64
  %40 = mul i64 %39, 8
  call void @llvm.memset.p0.i64(ptr align 8 %37, i8 0, i64 %40, i1 false)
  %41 = load ptr, ptr %9, align 8, !tbaa !9
  %42 = getelementptr inbounds i64, ptr %41, i64 0
  store i64 1, ptr %42, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %43 = load ptr, ptr %6, align 8, !tbaa !9
  %44 = getelementptr inbounds i64, ptr %43, i64 0
  %45 = load i64, ptr %44, align 8, !tbaa !11
  %46 = and i64 %45, 1
  store i64 %46, ptr %10, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %47 = load i64, ptr %10, align 8, !tbaa !11
  %48 = sub i64 0, %47
  store i64 %48, ptr %11, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  store i64 0, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %49

49:                                               ; preds = %91, %28
  %50 = load i32, ptr %13, align 4, !tbaa !5
  %51 = load i32, ptr %5, align 4, !tbaa !5
  %52 = icmp ult i32 %50, %51
  br i1 %52, label %54, label %53

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

54:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %55 = load ptr, ptr %9, align 8, !tbaa !9
  %56 = load i32, ptr %13, align 4, !tbaa !5
  %57 = zext i32 %56 to i64
  %58 = getelementptr inbounds i64, ptr %55, i64 %57
  %59 = load i64, ptr %58, align 8, !tbaa !11
  %60 = load ptr, ptr %6, align 8, !tbaa !9
  %61 = load i32, ptr %13, align 4, !tbaa !5
  %62 = zext i32 %61 to i64
  %63 = getelementptr inbounds i64, ptr %60, i64 %62
  %64 = load i64, ptr %63, align 8, !tbaa !11
  %65 = call i64 @FStar_UInt64_eq_mask(i64 noundef %59, i64 noundef %64)
  store i64 %65, ptr %14, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %66 = load ptr, ptr %9, align 8, !tbaa !9
  %67 = load i32, ptr %13, align 4, !tbaa !5
  %68 = zext i32 %67 to i64
  %69 = getelementptr inbounds i64, ptr %66, i64 %68
  %70 = load i64, ptr %69, align 8, !tbaa !11
  %71 = load ptr, ptr %6, align 8, !tbaa !9
  %72 = load i32, ptr %13, align 4, !tbaa !5
  %73 = zext i32 %72 to i64
  %74 = getelementptr inbounds i64, ptr %71, i64 %73
  %75 = load i64, ptr %74, align 8, !tbaa !11
  %76 = call i64 @FStar_UInt64_gte_mask(i64 noundef %70, i64 noundef %75)
  %77 = xor i64 %76, -1
  store i64 %77, ptr %15, align 8, !tbaa !11
  %78 = load i64, ptr %14, align 8, !tbaa !11
  %79 = load i64, ptr %12, align 8, !tbaa !11
  %80 = and i64 %78, %79
  %81 = load i64, ptr %14, align 8, !tbaa !11
  %82 = xor i64 %81, -1
  %83 = load i64, ptr %15, align 8, !tbaa !11
  %84 = and i64 %83, -1
  %85 = load i64, ptr %15, align 8, !tbaa !11
  %86 = xor i64 %85, -1
  %87 = and i64 %86, 0
  %88 = or i64 %84, %87
  %89 = and i64 %82, %88
  %90 = or i64 %80, %89
  store i64 %90, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %91

91:                                               ; preds = %54
  %92 = load i32, ptr %13, align 4, !tbaa !5
  %93 = add i32 %92, 1
  store i32 %93, ptr %13, align 4, !tbaa !5
  br label %49, !llvm.loop !13

94:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %95 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %95, ptr %16, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %96 = load i64, ptr %11, align 8, !tbaa !11
  %97 = load i64, ptr %16, align 8, !tbaa !11
  %98 = and i64 %96, %97
  store i64 %98, ptr %17, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  %99 = load i32, ptr %5, align 4, !tbaa !5
  %100 = load ptr, ptr %6, align 8, !tbaa !9
  %101 = call i64 @Hacl_Bignum_Lib_bn_get_top_index_u64(i32 noundef %99, ptr noundef %100)
  %102 = trunc i64 %101 to i32
  %103 = mul i32 64, %102
  store i32 %103, ptr %18, align 4, !tbaa !5
  %104 = load i64, ptr %17, align 8, !tbaa !11
  %105 = icmp eq i64 %104, -1
  br i1 %105, label %106, label %138

106:                                              ; preds = %94
  br label %107

107:                                              ; preds = %106
  %108 = load i32, ptr %5, align 4, !tbaa !5
  %109 = zext i32 %108 to i64
  %110 = icmp ugt i64 %109, 2305843009213693951
  br i1 %110, label %111, label %113

111:                                              ; preds = %107
  %112 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 180)
  call void @exit(i32 noundef 253) #7
  unreachable

113:                                              ; preds = %107
  br label %114

114:                                              ; preds = %113
  br label %115

115:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %116 = load i32, ptr %5, align 4, !tbaa !5
  %117 = zext i32 %116 to i64
  %118 = mul i64 %117, 8
  %119 = alloca i8, i64 %118, align 16
  store ptr %119, ptr %19, align 8, !tbaa !9
  %120 = load ptr, ptr %19, align 8, !tbaa !9
  %121 = load i32, ptr %5, align 4, !tbaa !5
  %122 = zext i32 %121 to i64
  %123 = mul i64 %122, 8
  call void @llvm.memset.p0.i64(ptr align 8 %120, i8 0, i64 %123, i1 false)
  %124 = load i32, ptr %5, align 4, !tbaa !5
  %125 = load i32, ptr %18, align 4, !tbaa !5
  %126 = load ptr, ptr %6, align 8, !tbaa !9
  %127 = load ptr, ptr %19, align 8, !tbaa !9
  call void @Hacl_Bignum_Montgomery_bn_precomp_r2_mod_n_u64(i32 noundef %124, i32 noundef %125, ptr noundef %126, ptr noundef %127)
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %128 = load ptr, ptr %6, align 8, !tbaa !9
  %129 = getelementptr inbounds i64, ptr %128, i64 0
  %130 = load i64, ptr %129, align 8, !tbaa !11
  %131 = call i64 @Hacl_Bignum_ModInvLimb_mod_inv_uint64(i64 noundef %130)
  store i64 %131, ptr %20, align 8, !tbaa !11
  %132 = load i32, ptr %5, align 4, !tbaa !5
  %133 = load ptr, ptr %6, align 8, !tbaa !9
  %134 = load i64, ptr %20, align 8, !tbaa !11
  %135 = load ptr, ptr %19, align 8, !tbaa !9
  %136 = load ptr, ptr %7, align 8, !tbaa !9
  %137 = load ptr, ptr %8, align 8, !tbaa !9
  call void @bn_slow_precomp(i32 noundef %132, ptr noundef %133, i64 noundef %134, ptr noundef %135, ptr noundef %136, ptr noundef %137)
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %143

138:                                              ; preds = %94
  %139 = load ptr, ptr %8, align 8, !tbaa !9
  %140 = load i32, ptr %5, align 4, !tbaa !5
  %141 = zext i32 %140 to i64
  %142 = mul i64 %141, 8
  call void @llvm.memset.p0.i64(ptr align 8 %139, i8 0, i64 %142, i1 false)
  br label %143

143:                                              ; preds = %138, %115
  %144 = load i64, ptr %17, align 8, !tbaa !11
  %145 = icmp eq i64 %144, -1
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  ret i1 %145
}

; Function Attrs: noinline nounwind uwtable
declare hidden i64 @FStar_UInt64_eq_mask(i64 noundef, i64 noundef) #5

; Function Attrs: noinline nounwind uwtable
declare hidden i64 @FStar_UInt64_gte_mask(i64 noundef, i64 noundef) #5

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @Hacl_Bignum_Lib_bn_get_top_index_u64(i32 noundef, ptr noundef) #6

declare void @Hacl_Bignum_Montgomery_bn_precomp_r2_mod_n_u64(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #0

declare i64 @Hacl_Bignum_ModInvLimb_mod_inv_uint64(i64 noundef) #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @bn_slow_precomp(i32 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #6

attributes #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 = { noreturn 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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 #5 = { noinline 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 #6 = { 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 #7 = { noreturn nounwind }
attributes #8 = { 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 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #0

; Function Attrs: nounwind uwtable
define dso_local noundef zeroext i1 @Hacl_Bignum64_mod(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #1 {
  %5 = zext i32 %0 to i64
  %6 = shl nuw nsw i64 %5, 3
  %7 = alloca i8, i64 %6, align 16
  call void @llvm.memset.p0.i64(ptr nonnull align 16 %7, i8 0, i64 %6, i1 false)
  store i64 1, ptr %7, align 16, !tbaa !5
  %8 = load i64, ptr %1, align 8, !tbaa !5
  %9 = and i64 %8, 1
  %.not = icmp eq i32 %0, 0
  br i1 %.not, label %._crit_edge.thread, label %.lr.ph

._crit_edge.thread:                               ; preds = %4
  %10 = tail call i64 @Hacl_Bignum_Lib_bn_get_top_index_u64(i32 noundef %0, ptr noundef nonnull %1)
  br label %31

._crit_edge:                                      ; preds = %.lr.ph
  %11 = icmp eq i64 %24, -1
  %12 = icmp ne i64 %9, 0
  %13 = tail call i64 @Hacl_Bignum_Lib_bn_get_top_index_u64(i32 noundef %0, ptr noundef nonnull %1)
  %14 = select i1 %12, i1 %11, i1 false
  br i1 %14, label %25, label %31

.lr.ph:                                           ; preds = %4, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %4 ]
  %.051 = phi i64 [ %24, %.lr.ph ], [ 0, %4 ]
  %15 = getelementptr inbounds i64, ptr %7, i64 %indvars.iv
  %16 = load i64, ptr %15, align 8, !tbaa !5
  %17 = getelementptr inbounds i64, ptr %1, i64 %indvars.iv
  %18 = load i64, ptr %17, align 8, !tbaa !5
  %19 = tail call i64 @FStar_UInt64_eq_mask(i64 noundef %16, i64 noundef %18)
  %20 = load i64, ptr %17, align 8, !tbaa !5
  %21 = tail call i64 @FStar_UInt64_gte_mask(i64 noundef %16, i64 noundef %20)
  %22 = and i64 %19, %.051
  %.demorgan = or i64 %21, %19
  %23 = xor i64 %.demorgan, -1
  %24 = or i64 %22, %23
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %5
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !9

25:                                               ; preds = %._crit_edge
  %26 = trunc i64 %13 to i32
  %27 = shl i32 %26, 6
  %28 = alloca i8, i64 %6, align 16
  call void @llvm.memset.p0.i64(ptr nonnull align 16 %28, i8 0, i64 %6, i1 false)
  call void @Hacl_Bignum_Montgomery_bn_precomp_r2_mod_n_u64(i32 noundef %0, i32 noundef %27, ptr noundef nonnull %1, ptr noundef nonnull %28) #5
  %29 = load i64, ptr %1, align 8, !tbaa !5
  %30 = call i64 @Hacl_Bignum_ModInvLimb_mod_inv_uint64(i64 noundef %29) #5
  call void @bn_slow_precomp(i32 noundef %0, ptr noundef nonnull %1, i64 noundef %30, ptr noundef nonnull %28, ptr noundef %2, ptr noundef %3)
  br label %32

31:                                               ; preds = %._crit_edge.thread, %._crit_edge
  tail call void @llvm.memset.p0.i64(ptr align 8 %3, i8 0, i64 %6, i1 false)
  br label %32

32:                                               ; preds = %31, %25
  %33 = phi i1 [ false, %31 ], [ true, %25 ]
  ret i1 %33
}

; Function Attrs: noinline nounwind uwtable
declare hidden i64 @FStar_UInt64_eq_mask(i64 noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: noinline nounwind uwtable
declare hidden i64 @FStar_UInt64_gte_mask(i64 noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @Hacl_Bignum_Lib_bn_get_top_index_u64(i32 noundef, ptr noundef) local_unnamed_addr #3

declare void @Hacl_Bignum_Montgomery_bn_precomp_r2_mod_n_u64(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare i64 @Hacl_Bignum_ModInvLimb_mod_inv_uint64(i64 noundef) local_unnamed_addr #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @bn_slow_precomp(i32 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { noinline 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 = { 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 #4 = { "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 #5 = { 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


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