; LLVM IR from ARMmbed/mbed-crypto :: library (pem)

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

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

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #1

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #2

; Function Attrs: nounwind
declare void @free(ptr noundef) #3

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

; Function Attrs: nounwind uwtable
define dso_local i32 @mbedtls_pem_write_buffer(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i64 noundef %5, ptr noundef %6) #4 {
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i64, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i32, align 4
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !5
  store i64 %3, ptr %12, align 8, !tbaa !9
  store ptr %4, ptr %13, align 8, !tbaa !5
  store i64 %5, ptr %14, align 8, !tbaa !9
  store ptr %6, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  store i32 -110, ptr %16, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  store ptr null, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %24 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %24, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  store i64 0, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  store i64 0, ptr %22, align 8, !tbaa !9
  %25 = load ptr, ptr %11, align 8, !tbaa !5
  %26 = load i64, ptr %12, align 8, !tbaa !9
  %27 = call i32 @mbedtls_base64_encode(ptr noundef null, i64 noundef 0, ptr noundef %21, ptr noundef %25, i64 noundef %26)
  %28 = load ptr, ptr %9, align 8, !tbaa !5
  %29 = call i64 @strlen(ptr noundef %28) #8
  %30 = load ptr, ptr %10, align 8, !tbaa !5
  %31 = call i64 @strlen(ptr noundef %30) #8
  %32 = add i64 %29, %31
  %33 = load i64, ptr %21, align 8, !tbaa !9
  %34 = udiv i64 %33, 64
  %35 = add i64 %32, %34
  %36 = add i64 %35, 1
  store i64 %36, ptr %22, align 8, !tbaa !9
  %37 = load i64, ptr %21, align 8, !tbaa !9
  %38 = load i64, ptr %22, align 8, !tbaa !9
  %39 = add i64 %37, %38
  %40 = load i64, ptr %14, align 8, !tbaa !9
  %41 = icmp ugt i64 %39, %40
  br i1 %41, label %42, label %47

42:                                               ; preds = %7
  %43 = load i64, ptr %21, align 8, !tbaa !9
  %44 = load i64, ptr %22, align 8, !tbaa !9
  %45 = add i64 %43, %44
  %46 = load ptr, ptr %15, align 8, !tbaa !5
  store i64 %45, ptr %46, align 8, !tbaa !9
  store i32 -42, ptr %8, align 4
  store i32 1, ptr %23, align 4
  br label %118

47:                                               ; preds = %7
  %48 = load i64, ptr %21, align 8, !tbaa !9
  %49 = icmp ne i64 %48, 0
  br i1 %49, label %50, label %55

50:                                               ; preds = %47
  %51 = load i64, ptr %21, align 8, !tbaa !9
  %52 = call noalias ptr @calloc(i64 noundef 1, i64 noundef %51) #9
  store ptr %52, ptr %17, align 8, !tbaa !5
  %53 = icmp eq ptr %52, null
  br i1 %53, label %54, label %55

54:                                               ; preds = %50
  store i32 -4480, ptr %8, align 4
  store i32 1, ptr %23, align 4
  br label %118

55:                                               ; preds = %50, %47
  %56 = load ptr, ptr %17, align 8, !tbaa !5
  %57 = load i64, ptr %21, align 8, !tbaa !9
  %58 = load ptr, ptr %11, align 8, !tbaa !5
  %59 = load i64, ptr %12, align 8, !tbaa !9
  %60 = call i32 @mbedtls_base64_encode(ptr noundef %56, i64 noundef %57, ptr noundef %21, ptr noundef %58, i64 noundef %59)
  store i32 %60, ptr %16, align 4, !tbaa !11
  %61 = icmp ne i32 %60, 0
  br i1 %61, label %62, label %65

62:                                               ; preds = %55
  %63 = load ptr, ptr %17, align 8, !tbaa !5
  call void @free(ptr noundef %63) #7
  %64 = load i32, ptr %16, align 4, !tbaa !11
  store i32 %64, ptr %8, align 4
  store i32 1, ptr %23, align 4
  br label %118

65:                                               ; preds = %55
  %66 = load ptr, ptr %19, align 8, !tbaa !5
  %67 = load ptr, ptr %9, align 8, !tbaa !5
  %68 = load ptr, ptr %9, align 8, !tbaa !5
  %69 = call i64 @strlen(ptr noundef %68) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %66, ptr align 1 %67, i64 %69, i1 false)
  %70 = load ptr, ptr %9, align 8, !tbaa !5
  %71 = call i64 @strlen(ptr noundef %70) #8
  %72 = load ptr, ptr %19, align 8, !tbaa !5
  %73 = getelementptr inbounds i8, ptr %72, i64 %71
  store ptr %73, ptr %19, align 8, !tbaa !5
  %74 = load ptr, ptr %17, align 8, !tbaa !5
  store ptr %74, ptr %18, align 8, !tbaa !5
  br label %75

75:                                               ; preds = %84, %65
  %76 = load i64, ptr %21, align 8, !tbaa !9
  %77 = icmp ne i64 %76, 0
  br i1 %77, label %78, label %100

78:                                               ; preds = %75
  %79 = load i64, ptr %21, align 8, !tbaa !9
  %80 = icmp ugt i64 %79, 64
  br i1 %80, label %81, label %82

81:                                               ; preds = %78
  br label %84

82:                                               ; preds = %78
  %83 = load i64, ptr %21, align 8, !tbaa !9
  br label %84

84:                                               ; preds = %82, %81
  %85 = phi i64 [ 64, %81 ], [ %83, %82 ]
  store i64 %85, ptr %20, align 8, !tbaa !9
  %86 = load ptr, ptr %19, align 8, !tbaa !5
  %87 = load ptr, ptr %18, align 8, !tbaa !5
  %88 = load i64, ptr %20, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %86, ptr align 1 %87, i64 %88, i1 false)
  %89 = load i64, ptr %20, align 8, !tbaa !9
  %90 = load i64, ptr %21, align 8, !tbaa !9
  %91 = sub i64 %90, %89
  store i64 %91, ptr %21, align 8, !tbaa !9
  %92 = load i64, ptr %20, align 8, !tbaa !9
  %93 = load ptr, ptr %19, align 8, !tbaa !5
  %94 = getelementptr inbounds i8, ptr %93, i64 %92
  store ptr %94, ptr %19, align 8, !tbaa !5
  %95 = load i64, ptr %20, align 8, !tbaa !9
  %96 = load ptr, ptr %18, align 8, !tbaa !5
  %97 = getelementptr inbounds i8, ptr %96, i64 %95
  store ptr %97, ptr %18, align 8, !tbaa !5
  %98 = load ptr, ptr %19, align 8, !tbaa !5
  %99 = getelementptr inbounds i8, ptr %98, i32 1
  store ptr %99, ptr %19, align 8, !tbaa !5
  store i8 10, ptr %98, align 1, !tbaa !13
  br label %75, !llvm.loop !14

100:                                              ; preds = %75
  %101 = load ptr, ptr %19, align 8, !tbaa !5
  %102 = load ptr, ptr %10, align 8, !tbaa !5
  %103 = load ptr, ptr %10, align 8, !tbaa !5
  %104 = call i64 @strlen(ptr noundef %103) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %101, ptr align 1 %102, i64 %104, i1 false)
  %105 = load ptr, ptr %10, align 8, !tbaa !5
  %106 = call i64 @strlen(ptr noundef %105) #8
  %107 = load ptr, ptr %19, align 8, !tbaa !5
  %108 = getelementptr inbounds i8, ptr %107, i64 %106
  store ptr %108, ptr %19, align 8, !tbaa !5
  %109 = load ptr, ptr %19, align 8, !tbaa !5
  %110 = getelementptr inbounds i8, ptr %109, i32 1
  store ptr %110, ptr %19, align 8, !tbaa !5
  store i8 0, ptr %109, align 1, !tbaa !13
  %111 = load ptr, ptr %19, align 8, !tbaa !5
  %112 = load ptr, ptr %13, align 8, !tbaa !5
  %113 = ptrtoint ptr %111 to i64
  %114 = ptrtoint ptr %112 to i64
  %115 = sub i64 %113, %114
  %116 = load ptr, ptr %15, align 8, !tbaa !5
  store i64 %115, ptr %116, align 8, !tbaa !9
  %117 = load ptr, ptr %17, align 8, !tbaa !5
  call void @free(ptr noundef %117) #7
  store i32 0, ptr %8, align 4
  store i32 1, ptr %23, align 4
  br label %118

118:                                              ; preds = %100, %62, %54, %42
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  %119 = load i32, ptr %8, align 4
  ret i32 %119
}

declare i32 @mbedtls_base64_encode(ptr noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef) #5

; 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) #6

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind willreturn memory(read) "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 = { nounwind allocsize(0,1) "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 "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 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nounwind }
attributes #8 = { nounwind willreturn memory(read) }
attributes #9 = { nounwind allocsize(0,1) }

!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 = distinct !{!14, !15}
!15 = !{!"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 memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #3

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

; Function Attrs: nounwind uwtable
define dso_local i32 @mbedtls_pem_write_buffer(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i64 noundef %5, ptr nocapture noundef writeonly %6) local_unnamed_addr #4 {
  %8 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  %9 = call i32 @mbedtls_base64_encode(ptr noundef null, i64 noundef 0, ptr noundef nonnull %8, ptr noundef %2, i64 noundef %3) #8
  %10 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #9
  %11 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #9
  %12 = load i64, ptr %8, align 8, !tbaa !5
  %13 = lshr i64 %12, 6
  %14 = add i64 %10, 1
  %15 = add i64 %14, %11
  %16 = add i64 %15, %12
  %17 = add i64 %16, %13
  %18 = icmp ugt i64 %17, %5
  br i1 %18, label %19, label %20

19:                                               ; preds = %7
  store i64 %17, ptr %6, align 8, !tbaa !5
  br label %44

20:                                               ; preds = %7
  %.not = icmp eq i64 %12, 0
  br i1 %.not, label %24, label %21

21:                                               ; preds = %20
  %22 = call noalias ptr @calloc(i64 noundef 1, i64 noundef %12) #10
  %23 = icmp eq ptr %22, null
  br i1 %23, label %44, label %24

24:                                               ; preds = %21, %20
  %.040 = phi ptr [ %22, %21 ], [ null, %20 ]
  %25 = call i32 @mbedtls_base64_encode(ptr noundef %.040, i64 noundef %12, ptr noundef nonnull %8, ptr noundef %2, i64 noundef %3) #8
  %.not47 = icmp eq i32 %25, 0
  br i1 %.not47, label %27, label %26

26:                                               ; preds = %24
  call void @free(ptr noundef %.040) #8
  br label %44

27:                                               ; preds = %24
  %28 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 %0, i64 %28, i1 false)
  %29 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #9
  %30 = getelementptr inbounds i8, ptr %4, i64 %29
  %.pr = load i64, ptr %8, align 8
  %.not4849 = icmp eq i64 %.pr, 0
  br i1 %.not4849, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %27, %.lr.ph
  %.051 = phi ptr [ %36, %.lr.ph ], [ %30, %27 ]
  %.03950 = phi ptr [ %35, %.lr.ph ], [ %.040, %27 ]
  %31 = phi i64 [ %33, %.lr.ph ], [ %.pr, %27 ]
  %32 = call i64 @llvm.umin.i64(i64 %31, i64 64)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(1) %.051, ptr noundef nonnull align 1 dereferenceable(1) %.03950, i64 %32, i1 false)
  %33 = sub i64 %31, %32
  %34 = getelementptr inbounds i8, ptr %.051, i64 %32
  %35 = getelementptr inbounds i8, ptr %.03950, i64 %32
  %36 = getelementptr inbounds i8, ptr %34, i64 1
  store i8 10, ptr %34, align 1, !tbaa !9
  %.not48 = icmp eq i64 %33, 0
  br i1 %.not48, label %._crit_edge, label %.lr.ph, !llvm.loop !10

._crit_edge:                                      ; preds = %.lr.ph, %27
  %.0.lcssa = phi ptr [ %30, %27 ], [ %36, %.lr.ph ]
  %37 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %.0.lcssa, ptr align 1 %1, i64 %37, i1 false)
  %38 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #9
  %39 = getelementptr inbounds i8, ptr %.0.lcssa, i64 %38
  %40 = getelementptr inbounds i8, ptr %39, i64 1
  store i8 0, ptr %39, align 1, !tbaa !9
  %41 = ptrtoint ptr %40 to i64
  %42 = ptrtoint ptr %4 to i64
  %43 = sub i64 %41, %42
  store i64 %43, ptr %6, align 8, !tbaa !5
  call void @free(ptr noundef %.040) #8
  br label %44

44:                                               ; preds = %21, %._crit_edge, %26, %19
  %.041 = phi i32 [ -42, %19 ], [ %25, %26 ], [ 0, %._crit_edge ], [ -4480, %21 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  ret i32 %.041
}

declare i32 @mbedtls_base64_encode(ptr noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #5

; 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) #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umin.i64(i64, i64) #7

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { nounwind }
attributes #9 = { nounwind willreturn memory(read) }
attributes #10 = { nounwind allocsize(0,1) }

!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 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass