; LLVM IR from cryspen/libcrux :: sys/hacl/c/src (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 [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_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 i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca i64, align 8
  %22 = 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 %23

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

27:                                               ; preds = %23
  %28 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 161)
  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 i64, 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, 8
  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, 8
  call void @llvm.memset.p0.i64(ptr align 16 %34, i8 0, i64 %40, i1 false)
  %41 = getelementptr inbounds i64, ptr %34, i64 0
  store i64 1, ptr %41, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  %42 = load ptr, ptr %6, align 8, !tbaa !9
  %43 = getelementptr inbounds i64, ptr %42, i64 0
  %44 = load i64, ptr %43, align 8, !tbaa !11
  %45 = and i64 %44, 1
  store i64 %45, ptr %11, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #9
  %46 = load i64, ptr %11, align 8, !tbaa !11
  %47 = sub i64 0, %46
  store i64 %47, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  store i64 0, ptr %13, align 8, !tbaa !11
  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 8, ptr %15) #9
  %54 = load i32, ptr %14, align 4, !tbaa !5
  %55 = zext i32 %54 to i64
  %56 = getelementptr inbounds i64, ptr %34, i64 %55
  %57 = load i64, ptr %56, align 8, !tbaa !11
  %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 i64, ptr %58, i64 %60
  %62 = load i64, ptr %61, align 8, !tbaa !11
  %63 = call i64 @FStar_UInt64_eq_mask(i64 noundef %57, i64 noundef %62)
  store i64 %63, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  %64 = load i32, ptr %14, align 4, !tbaa !5
  %65 = zext i32 %64 to i64
  %66 = getelementptr inbounds i64, ptr %34, i64 %65
  %67 = load i64, ptr %66, align 8, !tbaa !11
  %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 i64, ptr %68, i64 %70
  %72 = load i64, ptr %71, align 8, !tbaa !11
  %73 = call i64 @FStar_UInt64_gte_mask(i64 noundef %67, i64 noundef %72)
  %74 = xor i64 %73, -1
  store i64 %74, ptr %16, align 8, !tbaa !11
  %75 = load i64, ptr %15, align 8, !tbaa !11
  %76 = load i64, ptr %13, align 8, !tbaa !11
  %77 = and i64 %75, %76
  %78 = load i64, ptr %15, align 8, !tbaa !11
  %79 = xor i64 %78, -1
  %80 = load i64, ptr %16, align 8, !tbaa !11
  %81 = and i64 %80, -1
  %82 = load i64, ptr %16, align 8, !tbaa !11
  %83 = xor i64 %82, -1
  %84 = and i64 %83, 0
  %85 = or i64 %81, %84
  %86 = and i64 %79, %85
  %87 = or i64 %77, %86
  store i64 %87, ptr %13, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 8, 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 !13

91:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  %92 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %92, ptr %17, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  %93 = load i64, ptr %12, align 8, !tbaa !11
  %94 = load i64, ptr %17, align 8, !tbaa !11
  %95 = and i64 %93, %94
  store i64 %95, ptr %18, align 8, !tbaa !11
  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 i64 @Hacl_Bignum_Lib_bn_get_top_index_u64(i32 noundef %96, ptr noundef %97)
  %99 = trunc i64 %98 to i32
  %100 = mul i32 64, %99
  store i32 %100, ptr %19, align 4, !tbaa !5
  %101 = load i64, ptr %18, align 8, !tbaa !11
  %102 = icmp eq i64 %101, -1
  br i1 %102, label %103, label %133

103:                                              ; preds = %91
  br label %104

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

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

110:                                              ; preds = %104
  br label %111

111:                                              ; preds = %110
  br label %112

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

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

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

; 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 i64 @FStar_UInt64_eq_mask(i64 noundef, i64 noundef) #6

; Function Attrs: noinline nounwind uwtable
declare hidden i64 @FStar_UInt64_gte_mask(i64 noundef, i64 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 i64 @Hacl_Bignum_Lib_bn_get_top_index_u64(i32 noundef, ptr noundef) #7

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) #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 = !{!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 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_Bignum64_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 i64, i64 %5, align 16
  %7 = shl nuw nsw i64 %5, 3
  call void @llvm.memset.p0.i64(ptr nonnull align 16 %6, i8 0, i64 %7, i1 false)
  store i64 1, ptr %6, 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 %32

._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 %32

.lr.ph:                                           ; preds = %4, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %4 ]
  %.045 = phi i64 [ %24, %.lr.ph ], [ 0, %4 ]
  %15 = getelementptr inbounds i64, ptr %6, 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, %.045
  %.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 = tail call ptr @llvm.stacksave.p0()
  %29 = alloca i64, i64 %5, align 16
  call void @llvm.memset.p0.i64(ptr nonnull align 16 %29, i8 0, i64 %7, 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 %29) #6
  %30 = load i64, ptr %1, align 8, !tbaa !5
  %31 = call i64 @Hacl_Bignum_ModInvLimb_mod_inv_uint64(i64 noundef %30) #6
  call void @bn_slow_precomp(i32 noundef %0, ptr noundef nonnull %1, i64 noundef %31, ptr noundef nonnull %29, ptr noundef %2, ptr noundef %3)
  call void @llvm.stackrestore.p0(ptr %28)
  br label %33

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

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

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

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

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

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

declare i64 @Hacl_Bignum_ModInvLimb_mod_inv_uint64(i64 noundef) local_unnamed_addr #5

; 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 #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 = !{!"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,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass