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

; 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 [80 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
declare ptr @llvm.stacksave.p0() #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
declare void @llvm.stackrestore.p0(ptr) #2

; Function Attrs: nounwind uwtable
define dso_local zeroext i1 @Hacl_Bignum32_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 i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca i64, align 8
  %22 = alloca i32, align 4
  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 %23

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

27:                                               ; preds = %23
  %28 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 162)
  call void @exit(i32 noundef 253) #8
  unreachable

29:                                               ; preds = %23
  br label %30

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

48:                                               ; preds = %88, %30
  %49 = load i32, ptr %14, align 4, !tbaa !5
  %50 = load i32, ptr %5, align 4, !tbaa !5
  %51 = icmp ult i32 %49, %50
  br i1 %51, label %53, label %52

52:                                               ; preds = %48
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  br label %91

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

88:                                               ; preds = %53
  %89 = load i32, ptr %14, align 4, !tbaa !5
  %90 = add i32 %89, 1
  store i32 %90, ptr %14, align 4, !tbaa !5
  br label %48, !llvm.loop !11

91:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #9
  %92 = load i32, ptr %13, align 4, !tbaa !5
  store i32 %92, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #9
  %93 = load i32, ptr %12, align 4, !tbaa !5
  %94 = load i32, ptr %17, align 4, !tbaa !5
  %95 = and i32 %93, %94
  store i32 %95, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  %96 = load i32, ptr %5, align 4, !tbaa !5
  %97 = load ptr, ptr %6, align 8, !tbaa !9
  %98 = call i32 @Hacl_Bignum_Lib_bn_get_top_index_u32(i32 noundef %96, ptr noundef %97)
  %99 = mul i32 32, %98
  store i32 %99, ptr %19, align 4, !tbaa !5
  %100 = load i32, ptr %18, align 4, !tbaa !5
  %101 = icmp eq i32 %100, -1
  br i1 %101, label %102, label %132

102:                                              ; preds = %91
  br label %103

103:                                              ; preds = %102
  %104 = load i32, ptr %5, align 4, !tbaa !5
  %105 = zext i32 %104 to i64
  %106 = icmp ugt i64 %105, 4611686018427387903
  br i1 %106, label %107, label %109

107:                                              ; preds = %103
  %108 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 181)
  call void @exit(i32 noundef 253) #8
  unreachable

109:                                              ; preds = %103
  br label %110

110:                                              ; preds = %109
  br label %111

111:                                              ; preds = %110
  %112 = load i32, ptr %5, align 4, !tbaa !5
  %113 = zext i32 %112 to i64
  %114 = call ptr @llvm.stacksave.p0()
  store ptr %114, ptr %20, align 8
  %115 = alloca i32, i64 %113, align 16
  store i64 %113, ptr %21, align 8
  %116 = load i32, ptr %5, align 4, !tbaa !5
  %117 = zext i32 %116 to i64
  %118 = mul i64 %117, 4
  call void @llvm.memset.p0.i64(ptr align 16 %115, i8 0, i64 %118, i1 false)
  %119 = load i32, ptr %5, align 4, !tbaa !5
  %120 = load i32, ptr %19, align 4, !tbaa !5
  %121 = load ptr, ptr %6, align 8, !tbaa !9
  call void @Hacl_Bignum_Montgomery_bn_precomp_r2_mod_n_u32(i32 noundef %119, i32 noundef %120, ptr noundef %121, ptr noundef %115)
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  %122 = load ptr, ptr %6, align 8, !tbaa !9
  %123 = getelementptr inbounds i32, ptr %122, i64 0
  %124 = load i32, ptr %123, align 4, !tbaa !5
  %125 = call i32 @Hacl_Bignum_ModInvLimb_mod_inv_uint32(i32 noundef %124)
  store i32 %125, ptr %22, align 4, !tbaa !5
  %126 = load i32, ptr %5, align 4, !tbaa !5
  %127 = load ptr, ptr %6, align 8, !tbaa !9
  %128 = load i32, ptr %22, align 4, !tbaa !5
  %129 = load ptr, ptr %7, align 8, !tbaa !9
  %130 = load ptr, ptr %8, align 8, !tbaa !9
  call void @bn_slow_precomp(i32 noundef %126, ptr noundef %127, i32 noundef %128, ptr noundef %115, ptr noundef %129, ptr noundef %130)
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  %131 = load ptr, ptr %20, align 8
  call void @llvm.stackrestore.p0(ptr %131)
  br label %137

132:                                              ; preds = %91
  %133 = load ptr, ptr %8, align 8, !tbaa !9
  %134 = load i32, ptr %5, align 4, !tbaa !5
  %135 = zext i32 %134 to i64
  %136 = mul i64 %135, 4
  call void @llvm.memset.p0.i64(ptr align 4 %133, i8 0, i64 %136, i1 false)
  br label %137

137:                                              ; preds = %132, %111
  %138 = load i32, ptr %18, align 4, !tbaa !5
  %139 = icmp eq i32 %138, -1
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  %140 = load ptr, ptr %9, align 8
  call void @llvm.stackrestore.p0(ptr %140)
  ret i1 %139
}

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

; Function Attrs: noinline nounwind uwtable
declare hidden i32 @FStar_UInt32_eq_mask(i32 noundef, i32 noundef) #6

; Function Attrs: noinline nounwind uwtable
declare hidden i32 @FStar_UInt32_gte_mask(i32 noundef, i32 noundef) #6

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @Hacl_Bignum_Lib_bn_get_top_index_u32(i32 noundef, ptr noundef) #7

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

declare i32 @Hacl_Bignum_ModInvLimb_mod_inv_uint32(i32 noundef) #0

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

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 }
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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { 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 #7 = { 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 #8 = { noreturn nounwind }
attributes #9 = { 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 = distinct !{!11, !12}
!12 = !{!"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 willreturn
declare ptr @llvm.stacksave.p0() #0

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #0

; Function Attrs: nounwind uwtable
define dso_local noundef zeroext i1 @Hacl_Bignum32_mod(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #2 {
  %5 = zext i32 %0 to i64
  %6 = alloca i32, i64 %5, align 16
  %7 = shl nuw nsw i64 %5, 2
  call void @llvm.memset.p0.i64(ptr nonnull align 16 %6, i8 0, i64 %7, i1 false)
  store i32 1, ptr %6, align 16, !tbaa !5
  %8 = load i32, ptr %1, align 4, !tbaa !5
  %9 = and i32 %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 i32 @Hacl_Bignum_Lib_bn_get_top_index_u32(i32 noundef %0, ptr noundef nonnull %1)
  br label %31

._crit_edge:                                      ; preds = %.lr.ph
  %11 = icmp eq i32 %24, -1
  %12 = icmp ne i32 %9, 0
  %13 = tail call i32 @Hacl_Bignum_Lib_bn_get_top_index_u32(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 ]
  %.045 = phi i32 [ %24, %.lr.ph ], [ 0, %4 ]
  %15 = getelementptr inbounds i32, ptr %6, i64 %indvars.iv
  %16 = load i32, ptr %15, align 4, !tbaa !5
  %17 = getelementptr inbounds i32, ptr %1, i64 %indvars.iv
  %18 = load i32, ptr %17, align 4, !tbaa !5
  %19 = tail call i32 @FStar_UInt32_eq_mask(i32 noundef %16, i32 noundef %18)
  %20 = load i32, ptr %17, align 4, !tbaa !5
  %21 = tail call i32 @FStar_UInt32_gte_mask(i32 noundef %16, i32 noundef %20)
  %22 = and i32 %19, %.045
  %.demorgan = or i32 %21, %19
  %23 = xor i32 %.demorgan, -1
  %24 = or i32 %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 = shl i32 %13, 5
  %27 = tail call ptr @llvm.stacksave.p0()
  %28 = alloca i32, i64 %5, align 16
  call void @llvm.memset.p0.i64(ptr nonnull align 16 %28, i8 0, i64 %7, i1 false)
  call void @Hacl_Bignum_Montgomery_bn_precomp_r2_mod_n_u32(i32 noundef %0, i32 noundef %26, ptr noundef nonnull %1, ptr noundef nonnull %28) #6
  %29 = load i32, ptr %1, align 4, !tbaa !5
  %30 = call i32 @Hacl_Bignum_ModInvLimb_mod_inv_uint32(i32 noundef %29) #6
  call void @bn_slow_precomp(i32 noundef %0, ptr noundef nonnull %1, i32 noundef %30, ptr noundef nonnull %28, ptr noundef %2, ptr noundef %3)
  call void @llvm.stackrestore.p0(ptr %27)
  br label %32

31:                                               ; preds = %._crit_edge.thread, %._crit_edge
  tail call void @llvm.memset.p0.i64(ptr align 4 %3, i8 0, i64 %7, 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 i32 @FStar_UInt32_eq_mask(i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: noinline nounwind uwtable
declare hidden i32 @FStar_UInt32_gte_mask(i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @Hacl_Bignum_Lib_bn_get_top_index_u32(i32 noundef, ptr noundef) local_unnamed_addr #4

declare void @Hacl_Bignum_Montgomery_bn_precomp_r2_mod_n_u32(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

declare i32 @Hacl_Bignum_ModInvLimb_mod_inv_uint32(i32 noundef) local_unnamed_addr #5

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

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


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