; LLVM IR from guanzhi/GmSSL :: src (sm3_pbkdf2)

; 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.SM3_HMAC_CTX = type { %struct.SM3_CTX, [64 x i8] }
%struct.SM3_CTX = type { [8 x i32], i64, [64 x i8], i64 }

; Function Attrs: nounwind uwtable
define dso_local i32 @sm3_pbkdf2(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, ptr noundef %6) #0 {
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca ptr, align 8
  %15 = alloca %struct.SM3_HMAC_CTX, align 8
  %16 = alloca %struct.SM3_HMAC_CTX, align 8
  %17 = alloca i32, align 4
  %18 = alloca [4 x i8], align 1
  %19 = alloca [32 x i8], align 16
  %20 = alloca [32 x i8], align 16
  %21 = alloca i64, align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store i64 %1, ptr %9, align 8, !tbaa !9
  store ptr %2, ptr %10, align 8, !tbaa !5
  store i64 %3, ptr %11, align 8, !tbaa !9
  store i64 %4, ptr %12, align 8, !tbaa !9
  store i64 %5, ptr %13, align 8, !tbaa !9
  store ptr %6, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 176, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 176, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 1, ptr %17, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #5
  %22 = load ptr, ptr %8, align 8, !tbaa !5
  %23 = load i64, ptr %9, align 8, !tbaa !9
  call void @sm3_hmac_init(ptr noundef %16, ptr noundef %22, i64 noundef %23)
  br label %24

24:                                               ; preds = %80, %7
  %25 = load i64, ptr %13, align 8, !tbaa !9
  %26 = icmp ugt i64 %25, 0
  br i1 %26, label %27, label %81

27:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %28 = load i32, ptr %17, align 4, !tbaa !11
  %29 = lshr i32 %28, 24
  %30 = trunc i32 %29 to i8
  %31 = getelementptr inbounds [4 x i8], ptr %18, i64 0, i64 0
  store i8 %30, ptr %31, align 1, !tbaa !13
  %32 = load i32, ptr %17, align 4, !tbaa !11
  %33 = lshr i32 %32, 16
  %34 = trunc i32 %33 to i8
  %35 = getelementptr inbounds [4 x i8], ptr %18, i64 0, i64 1
  store i8 %34, ptr %35, align 1, !tbaa !13
  %36 = load i32, ptr %17, align 4, !tbaa !11
  %37 = lshr i32 %36, 8
  %38 = trunc i32 %37 to i8
  %39 = getelementptr inbounds [4 x i8], ptr %18, i64 0, i64 2
  store i8 %38, ptr %39, align 1, !tbaa !13
  %40 = load i32, ptr %17, align 4, !tbaa !11
  %41 = trunc i32 %40 to i8
  %42 = getelementptr inbounds [4 x i8], ptr %18, i64 0, i64 3
  store i8 %41, ptr %42, align 1, !tbaa !13
  %43 = load i32, ptr %17, align 4, !tbaa !11
  %44 = add i32 %43, 1
  store i32 %44, ptr %17, align 4, !tbaa !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %16, i64 176, i1 false), !tbaa.struct !14
  %45 = load ptr, ptr %10, align 8, !tbaa !5
  %46 = load i64, ptr %11, align 8, !tbaa !9
  call void @sm3_hmac_update(ptr noundef %15, ptr noundef %45, i64 noundef %46)
  %47 = getelementptr inbounds [4 x i8], ptr %18, i64 0, i64 0
  call void @sm3_hmac_update(ptr noundef %15, ptr noundef %47, i64 noundef 4)
  %48 = getelementptr inbounds [32 x i8], ptr %19, i64 0, i64 0
  call void @sm3_hmac_finish(ptr noundef %15, ptr noundef %48)
  %49 = getelementptr inbounds [32 x i8], ptr %20, i64 0, i64 0
  %50 = getelementptr inbounds [32 x i8], ptr %19, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %49, ptr align 16 %50, i64 32, i1 false)
  store i64 1, ptr %21, align 8, !tbaa !9
  br label %51

51:                                               ; preds = %60, %27
  %52 = load i64, ptr %21, align 8, !tbaa !9
  %53 = load i64, ptr %12, align 8, !tbaa !9
  %54 = icmp ult i64 %52, %53
  br i1 %54, label %55, label %63

55:                                               ; preds = %51
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %16, i64 176, i1 false), !tbaa.struct !14
  %56 = getelementptr inbounds [32 x i8], ptr %19, i64 0, i64 0
  call void @sm3_hmac_update(ptr noundef %15, ptr noundef %56, i64 noundef 32)
  %57 = getelementptr inbounds [32 x i8], ptr %19, i64 0, i64 0
  call void @sm3_hmac_finish(ptr noundef %15, ptr noundef %57)
  %58 = getelementptr inbounds [32 x i8], ptr %20, i64 0, i64 0
  %59 = getelementptr inbounds [32 x i8], ptr %19, i64 0, i64 0
  call void @memxor(ptr noundef %58, ptr noundef %59, i64 noundef 32)
  br label %60

60:                                               ; preds = %55
  %61 = load i64, ptr %21, align 8, !tbaa !9
  %62 = add i64 %61, 1
  store i64 %62, ptr %21, align 8, !tbaa !9
  br label %51, !llvm.loop !15

63:                                               ; preds = %51
  %64 = load i64, ptr %13, align 8, !tbaa !9
  %65 = icmp ult i64 %64, 32
  br i1 %65, label %66, label %73

66:                                               ; preds = %63
  %67 = load ptr, ptr %14, align 8, !tbaa !5
  %68 = getelementptr inbounds [32 x i8], ptr %20, i64 0, i64 0
  %69 = load i64, ptr %13, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %67, ptr align 16 %68, i64 %69, i1 false)
  %70 = load i64, ptr %13, align 8, !tbaa !9
  %71 = load ptr, ptr %14, align 8, !tbaa !5
  %72 = getelementptr inbounds i8, ptr %71, i64 %70
  store ptr %72, ptr %14, align 8, !tbaa !5
  store i64 0, ptr %13, align 8, !tbaa !9
  br label %80

73:                                               ; preds = %63
  %74 = load ptr, ptr %14, align 8, !tbaa !5
  %75 = getelementptr inbounds [32 x i8], ptr %20, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %74, ptr align 16 %75, i64 32, i1 false)
  %76 = load ptr, ptr %14, align 8, !tbaa !5
  %77 = getelementptr inbounds i8, ptr %76, i64 32
  store ptr %77, ptr %14, align 8, !tbaa !5
  %78 = load i64, ptr %13, align 8, !tbaa !9
  %79 = sub i64 %78, 32
  store i64 %79, ptr %13, align 8, !tbaa !9
  br label %80

80:                                               ; preds = %73, %66
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  br label %24, !llvm.loop !17

81:                                               ; preds = %24
  call void @llvm.memset.p0.i64(ptr align 8 %15, i8 0, i64 176, i1 false)
  %82 = getelementptr inbounds [32 x i8], ptr %20, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %82, i8 0, i64 32, i1 false)
  %83 = getelementptr inbounds [32 x i8], ptr %19, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %83, i8 0, i64 32, i1 false)
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 176, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 176, ptr %15) #5
  ret i32 1
}

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

declare void @sm3_hmac_init(ptr noundef, ptr noundef, i64 noundef) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

declare void @sm3_hmac_update(ptr noundef, ptr noundef, i64 noundef) #2

declare void @sm3_hmac_finish(ptr noundef, ptr noundef) #2

declare void @memxor(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: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

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 = { "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 nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{!"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 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{i64 0, i64 32, !13, i64 32, i64 8, !9, i64 40, i64 64, !13, i64 104, i64 8, !9, i64 112, i64 64, !13}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}


; 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.SM3_HMAC_CTX = type { %struct.SM3_CTX, [64 x i8] }
%struct.SM3_CTX = type { [8 x i32], i64, [64 x i8], i64 }

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @sm3_pbkdf2(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, ptr nocapture noundef writeonly %6) local_unnamed_addr #0 {
  %8 = alloca %struct.SM3_HMAC_CTX, align 8
  %9 = alloca %struct.SM3_HMAC_CTX, align 8
  %10 = alloca [4 x i8], align 1
  %11 = alloca [32 x i8], align 16
  %12 = alloca [32 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 176, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 176, ptr nonnull %9) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #4
  call void @sm3_hmac_init(ptr noundef nonnull %9, ptr noundef %0, i64 noundef %1) #4
  %.not25 = icmp eq i64 %5, 0
  br i1 %.not25, label %._crit_edge31, label %.lr.ph30

.lr.ph30:                                         ; preds = %7
  %13 = getelementptr inbounds i8, ptr %10, i64 1
  %14 = getelementptr inbounds i8, ptr %10, i64 2
  %15 = getelementptr inbounds i8, ptr %10, i64 3
  %16 = icmp ugt i64 %4, 1
  br i1 %16, label %.lr.ph.us, label %.lr.ph30.split

.lr.ph.us:                                        ; preds = %.lr.ph30, %24
  %.02028.us = phi i32 [ %25, %24 ], [ 1, %.lr.ph30 ]
  %.02127.us = phi ptr [ %26, %24 ], [ %6, %.lr.ph30 ]
  %.02226.us = phi i64 [ %27, %24 ], [ %5, %.lr.ph30 ]
  %17 = lshr i32 %.02028.us, 24
  %18 = trunc nuw i32 %17 to i8
  store i8 %18, ptr %10, align 1, !tbaa !5
  %19 = lshr i32 %.02028.us, 16
  %20 = trunc i32 %19 to i8
  store i8 %20, ptr %13, align 1, !tbaa !5
  %21 = lshr i32 %.02028.us, 8
  %22 = trunc i32 %21 to i8
  store i8 %22, ptr %14, align 1, !tbaa !5
  %23 = trunc i32 %.02028.us to i8
  store i8 %23, ptr %15, align 1, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(176) %8, ptr noundef nonnull align 8 dereferenceable(176) %9, i64 176, i1 false), !tbaa.struct !8
  call void @sm3_hmac_update(ptr noundef nonnull %8, ptr noundef %2, i64 noundef %3) #4
  call void @sm3_hmac_update(ptr noundef nonnull %8, ptr noundef nonnull %10, i64 noundef 4) #4
  call void @sm3_hmac_finish(ptr noundef nonnull %8, ptr noundef nonnull %11) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %12, ptr noundef nonnull align 16 dereferenceable(32) %11, i64 32, i1 false)
  br label %28

.thread:                                          ; preds = %._crit_edge.us
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %.02127.us, ptr nonnull align 16 %12, i64 %.02226.us, i1 false)
  br label %._crit_edge31

24:                                               ; preds = %._crit_edge.us
  %25 = add i32 %.02028.us, 1
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(32) %.02127.us, ptr noundef nonnull align 16 dereferenceable(32) %12, i64 32, i1 false)
  %26 = getelementptr inbounds i8, ptr %.02127.us, i64 32
  %27 = add i64 %.02226.us, -32
  %.not.us = icmp eq i64 %27, 0
  br i1 %.not.us, label %._crit_edge31, label %.lr.ph.us, !llvm.loop !11

28:                                               ; preds = %.lr.ph.us, %28
  %.024.us = phi i64 [ 1, %.lr.ph.us ], [ %29, %28 ]
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(176) %8, ptr noundef nonnull align 8 dereferenceable(176) %9, i64 176, i1 false), !tbaa.struct !8
  call void @sm3_hmac_update(ptr noundef nonnull %8, ptr noundef nonnull %11, i64 noundef 32) #4
  call void @sm3_hmac_finish(ptr noundef nonnull %8, ptr noundef nonnull %11) #4
  call void @memxor(ptr noundef nonnull %12, ptr noundef nonnull %11, i64 noundef 32) #4
  %29 = add nuw i64 %.024.us, 1
  %exitcond.not = icmp eq i64 %29, %4
  br i1 %exitcond.not, label %._crit_edge.us, label %28, !llvm.loop !13

._crit_edge.us:                                   ; preds = %28
  %30 = icmp ult i64 %.02226.us, 32
  br i1 %30, label %.thread, label %24

.lr.ph30.split:                                   ; preds = %.lr.ph30, %39
  %.02028 = phi i32 [ %40, %39 ], [ 1, %.lr.ph30 ]
  %.02127 = phi ptr [ %41, %39 ], [ %6, %.lr.ph30 ]
  %.02226 = phi i64 [ %42, %39 ], [ %5, %.lr.ph30 ]
  %31 = lshr i32 %.02028, 24
  %32 = trunc nuw i32 %31 to i8
  store i8 %32, ptr %10, align 1, !tbaa !5
  %33 = lshr i32 %.02028, 16
  %34 = trunc i32 %33 to i8
  store i8 %34, ptr %13, align 1, !tbaa !5
  %35 = lshr i32 %.02028, 8
  %36 = trunc i32 %35 to i8
  store i8 %36, ptr %14, align 1, !tbaa !5
  %37 = trunc i32 %.02028 to i8
  store i8 %37, ptr %15, align 1, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(176) %8, ptr noundef nonnull align 8 dereferenceable(176) %9, i64 176, i1 false), !tbaa.struct !8
  call void @sm3_hmac_update(ptr noundef nonnull %8, ptr noundef %2, i64 noundef %3) #4
  call void @sm3_hmac_update(ptr noundef nonnull %8, ptr noundef nonnull %10, i64 noundef 4) #4
  call void @sm3_hmac_finish(ptr noundef nonnull %8, ptr noundef nonnull %11) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %12, ptr noundef nonnull align 16 dereferenceable(32) %11, i64 32, i1 false)
  %38 = icmp ult i64 %.02226, 32
  br i1 %38, label %.thread36, label %39

.thread36:                                        ; preds = %.lr.ph30.split
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %.02127, ptr nonnull align 16 %12, i64 %.02226, i1 false)
  br label %._crit_edge31

39:                                               ; preds = %.lr.ph30.split
  %40 = add i32 %.02028, 1
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(32) %.02127, ptr noundef nonnull align 16 dereferenceable(32) %11, i64 32, i1 false)
  %41 = getelementptr inbounds i8, ptr %.02127, i64 32
  %42 = add i64 %.02226, -32
  %.not = icmp eq i64 %42, 0
  br i1 %.not, label %._crit_edge31, label %.lr.ph30.split, !llvm.loop !11

._crit_edge31:                                    ; preds = %39, %24, %.thread36, %.thread, %7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 176, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 176, ptr nonnull %8) #4
  ret i32 1
}

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

declare void @sm3_hmac_init(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

declare void @sm3_hmac_update(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

declare void @sm3_hmac_finish(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @memxor(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

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 = { "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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{i64 0, i64 32, !5, i64 32, i64 8, !9, i64 40, i64 64, !5, i64 104, i64 8, !9, i64 112, i64 64, !5}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !6, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass