; LLVM IR from fast-pack/simdcomp :: tests (unit)

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

@stdout = external global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [5 x i8], align 1
@__func__.testshortFORpack = external hidden unnamed_addr constant [17 x i8], align 1

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

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

declare i32 @fflush(ptr noundef) #1

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(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

declare i32 @simdpackFOR_compressedbytes(i32 noundef, i32 noundef) #1

declare ptr @simdpackFOR_length(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1

declare ptr @simdunpackFOR_length(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1

; Function Attrs: nounwind
declare void @srand(i32 noundef) #3

; Function Attrs: nounwind
declare i32 @rand() #3

; Function Attrs: nounwind uwtable
define dso_local i32 @testshortFORpack() #4 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i64, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i32, align 4
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 7, ptr %6, align 4, !tbaa !5
  call void @srand(i32 noundef 0) #5
  %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @__func__.testshortFORpack)
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %13

13:                                               ; preds = %116, %0
  %14 = load i32, ptr %2, align 4, !tbaa !5
  %15 = icmp slt i32 %14, 32
  br i1 %15, label %16, label %119

16:                                               ; preds = %13
  %17 = load i32, ptr %2, align 4, !tbaa !5
  %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %17)
  %19 = load ptr, ptr @stdout, align 8, !tbaa !9
  %20 = call i32 @fflush(ptr noundef %19)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  store i64 128, ptr %7, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %21 = call noalias ptr @malloc(i64 noundef 512) #6
  store ptr %21, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %22 = call noalias ptr @malloc(i64 noundef 512) #6
  store ptr %22, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %23 = call noalias ptr @malloc(i64 noundef 5120) #6
  store ptr %23, ptr %10, align 8, !tbaa !9
  store i64 0, ptr %3, align 8, !tbaa !11
  br label %24

24:                                               ; preds = %38, %16
  %25 = load i64, ptr %3, align 8, !tbaa !11
  %26 = icmp ult i64 %25, 128
  br i1 %26, label %27, label %41

27:                                               ; preds = %24
  %28 = call i32 @rand() #5
  %29 = load i32, ptr %2, align 4, !tbaa !5
  %30 = shl i32 1, %29
  %31 = sub i32 %30, 1
  %32 = and i32 %28, %31
  %33 = load i32, ptr %6, align 4, !tbaa !5
  %34 = add i32 %32, %33
  %35 = load ptr, ptr %8, align 8, !tbaa !9
  %36 = load i64, ptr %3, align 8, !tbaa !11
  %37 = getelementptr inbounds i32, ptr %35, i64 %36
  store i32 %34, ptr %37, align 4, !tbaa !5
  br label %38

38:                                               ; preds = %27
  %39 = load i64, ptr %3, align 8, !tbaa !11
  %40 = add i64 %39, 1
  store i64 %40, ptr %3, align 8, !tbaa !11
  br label %24, !llvm.loop !13

41:                                               ; preds = %24
  store i64 0, ptr %5, align 8, !tbaa !11
  br label %42

42:                                               ; preds = %106, %41
  %43 = load i64, ptr %5, align 8, !tbaa !11
  %44 = icmp ule i64 %43, 128
  br i1 %44, label %45, label %109

45:                                               ; preds = %42
  store i64 0, ptr %3, align 8, !tbaa !11
  br label %46

46:                                               ; preds = %53, %45
  %47 = load i64, ptr %3, align 8, !tbaa !11
  %48 = icmp ult i64 %47, 128
  br i1 %48, label %49, label %56

49:                                               ; preds = %46
  %50 = load ptr, ptr %9, align 8, !tbaa !9
  %51 = load i64, ptr %3, align 8, !tbaa !11
  %52 = getelementptr inbounds i32, ptr %50, i64 %51
  store i32 0, ptr %52, align 4, !tbaa !5
  br label %53

53:                                               ; preds = %49
  %54 = load i64, ptr %3, align 8, !tbaa !11
  %55 = add i64 %54, 1
  store i64 %55, ptr %3, align 8, !tbaa !11
  br label %46, !llvm.loop !15

56:                                               ; preds = %46
  %57 = load i32, ptr %6, align 4, !tbaa !5
  %58 = load ptr, ptr %8, align 8, !tbaa !9
  %59 = load i64, ptr %5, align 8, !tbaa !11
  %60 = trunc i64 %59 to i32
  %61 = load ptr, ptr %10, align 8, !tbaa !9
  %62 = load i32, ptr %2, align 4, !tbaa !5
  %63 = call ptr @simdpackFOR_length(i32 noundef %57, ptr noundef %58, i32 noundef %60, ptr noundef %61, i32 noundef %62)
  store ptr %63, ptr %4, align 8, !tbaa !9
  %64 = load ptr, ptr %4, align 8, !tbaa !9
  %65 = load ptr, ptr %10, align 8, !tbaa !9
  %66 = ptrtoint ptr %64 to i64
  %67 = ptrtoint ptr %65 to i64
  %68 = sub i64 %66, %67
  %69 = sdiv exact i64 %68, 16
  %70 = mul i64 %69, 16
  %71 = load i64, ptr %5, align 8, !tbaa !11
  %72 = trunc i64 %71 to i32
  %73 = load i32, ptr %2, align 4, !tbaa !5
  %74 = call i32 @simdpackFOR_compressedbytes(i32 noundef %72, i32 noundef %73)
  %75 = zext i32 %74 to i64
  %76 = icmp ne i64 %70, %75
  br i1 %76, label %77, label %78

77:                                               ; preds = %56
  store i32 -1, ptr %1, align 4
  store i32 1, ptr %11, align 4
  br label %113

78:                                               ; preds = %56
  %79 = load i32, ptr %6, align 4, !tbaa !5
  %80 = load ptr, ptr %10, align 8, !tbaa !9
  %81 = load i64, ptr %5, align 8, !tbaa !11
  %82 = trunc i64 %81 to i32
  %83 = load ptr, ptr %9, align 8, !tbaa !9
  %84 = load i32, ptr %2, align 4, !tbaa !5
  %85 = call ptr @simdunpackFOR_length(i32 noundef %79, ptr noundef %80, i32 noundef %82, ptr noundef %83, i32 noundef %84)
  store i64 0, ptr %3, align 8, !tbaa !11
  br label %86

86:                                               ; preds = %102, %78
  %87 = load i64, ptr %3, align 8, !tbaa !11
  %88 = load i64, ptr %5, align 8, !tbaa !11
  %89 = icmp ult i64 %87, %88
  br i1 %89, label %90, label %105

90:                                               ; preds = %86
  %91 = load ptr, ptr %8, align 8, !tbaa !9
  %92 = load i64, ptr %3, align 8, !tbaa !11
  %93 = getelementptr inbounds i32, ptr %91, i64 %92
  %94 = load i32, ptr %93, align 4, !tbaa !5
  %95 = load ptr, ptr %9, align 8, !tbaa !9
  %96 = load i64, ptr %3, align 8, !tbaa !11
  %97 = getelementptr inbounds i32, ptr %95, i64 %96
  %98 = load i32, ptr %97, align 4, !tbaa !5
  %99 = icmp ne i32 %94, %98
  br i1 %99, label %100, label %101

100:                                              ; preds = %90
  store i32 -1, ptr %1, align 4
  store i32 1, ptr %11, align 4
  br label %113

101:                                              ; preds = %90
  br label %102

102:                                              ; preds = %101
  %103 = load i64, ptr %3, align 8, !tbaa !11
  %104 = add i64 %103, 1
  store i64 %104, ptr %3, align 8, !tbaa !11
  br label %86, !llvm.loop !16

105:                                              ; preds = %86
  br label %106

106:                                              ; preds = %105
  %107 = load i64, ptr %5, align 8, !tbaa !11
  %108 = add i64 %107, 1
  store i64 %108, ptr %5, align 8, !tbaa !11
  br label %42, !llvm.loop !17

109:                                              ; preds = %42
  %110 = load ptr, ptr %8, align 8, !tbaa !9
  call void @free(ptr noundef %110) #5
  %111 = load ptr, ptr %9, align 8, !tbaa !9
  call void @free(ptr noundef %111) #5
  %112 = load ptr, ptr %10, align 8, !tbaa !9
  call void @free(ptr noundef %112) #5
  store i32 0, ptr %11, align 4
  br label %113

113:                                              ; preds = %109, %100, %77
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  %114 = load i32, ptr %11, align 4
  switch i32 %114, label %120 [
    i32 0, label %115
  ]

115:                                              ; preds = %113
  br label %116

116:                                              ; preds = %115
  %117 = load i32, ptr %2, align 4, !tbaa !5
  %118 = add nsw i32 %117, 1
  store i32 %118, ptr %2, align 4, !tbaa !5
  br label %13, !llvm.loop !18

119:                                              ; preds = %13
  store i32 0, ptr %1, align 4
  store i32 1, ptr %11, align 4
  br label %120

120:                                              ; preds = %119, %113
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  %121 = load i32, ptr %1, align 4
  ret i32 %121
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #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 #2 = { nounwind allocsize(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 = { 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 = { nounwind }
attributes #6 = { nounwind allocsize(0) }

!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"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}


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

@stdout = external local_unnamed_addr global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [5 x i8], align 1
@__func__.testshortFORpack = external hidden unnamed_addr constant [17 x i8], align 1

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #0

; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #0

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

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

declare i32 @simdpackFOR_compressedbytes(i32 noundef, i32 noundef) local_unnamed_addr #3

declare ptr @simdpackFOR_length(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

declare ptr @simdunpackFOR_length(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: nounwind
declare void @srand(i32 noundef) local_unnamed_addr #4

; Function Attrs: nounwind
declare i32 @rand() local_unnamed_addr #4

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @testshortFORpack() local_unnamed_addr #5 {
  tail call void @srand(i32 noundef 0) #7
  %1 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, ptr noundef nonnull @__func__.testshortFORpack)
  br label %2

2:                                                ; preds = %0, %.thread
  %.04153 = phi i32 [ 0, %0 ], [ %32, %.thread ]
  %3 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, i32 noundef %.04153)
  %4 = load ptr, ptr @stdout, align 8, !tbaa !5
  %5 = tail call i32 @fflush(ptr noundef %4)
  %6 = tail call noalias dereferenceable_or_null(512) ptr @malloc(i64 noundef 512) #8
  %7 = tail call noalias dereferenceable_or_null(512) ptr @malloc(i64 noundef 512) #8
  %8 = tail call noalias dereferenceable_or_null(5120) ptr @malloc(i64 noundef 5120) #8
  %notmask = shl nsw i32 -1, %.04153
  %9 = xor i32 %notmask, -1
  br label %11

.preheader47:                                     ; preds = %11
  %10 = ptrtoint ptr %8 to i64
  br label %.preheader

11:                                               ; preds = %2, %11
  %.04249 = phi i64 [ 0, %2 ], [ %16, %11 ]
  %12 = tail call i32 @rand() #7
  %13 = and i32 %12, %9
  %14 = add nuw i32 %13, 7
  %15 = getelementptr inbounds i32, ptr %6, i64 %.04249
  store i32 %14, ptr %15, align 4, !tbaa !9
  %16 = add nuw nsw i64 %.04249, 1
  %exitcond.not = icmp eq i64 %16, 128
  br i1 %exitcond.not, label %.preheader47, label %11, !llvm.loop !11

.preheader:                                       ; preds = %.preheader47, %._crit_edge
  %.04552 = phi i64 [ 0, %.preheader47 ], [ %31, %._crit_edge ]
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(512) %7, i8 0, i64 512, i1 false), !tbaa !9
  %17 = trunc nuw nsw i64 %.04552 to i32
  %18 = tail call ptr @simdpackFOR_length(i32 noundef 7, ptr noundef %6, i32 noundef %17, ptr noundef %8, i32 noundef %.04153) #7
  %19 = ptrtoint ptr %18 to i64
  %20 = sub i64 %19, %10
  %21 = tail call i32 @simdpackFOR_compressedbytes(i32 noundef %17, i32 noundef %.04153) #7
  %22 = zext i32 %21 to i64
  %.not = icmp eq i64 %20, %22
  br i1 %.not, label %23, label %.loopexit

23:                                               ; preds = %.preheader
  %24 = tail call ptr @simdunpackFOR_length(i32 noundef 7, ptr noundef %8, i32 noundef %17, ptr noundef nonnull %7, i32 noundef %.04153) #7
  %.not55 = icmp eq i64 %.04552, 0
  br i1 %.not55, label %._crit_edge, label %.lr.ph

25:                                               ; preds = %.lr.ph
  %26 = add nuw nsw i64 %.24451, 1
  %exitcond58.not = icmp eq i64 %26, %.04552
  br i1 %exitcond58.not, label %._crit_edge, label %.lr.ph, !llvm.loop !13

.lr.ph:                                           ; preds = %23, %25
  %.24451 = phi i64 [ %26, %25 ], [ 0, %23 ]
  %27 = getelementptr inbounds i32, ptr %6, i64 %.24451
  %28 = load i32, ptr %27, align 4, !tbaa !9
  %29 = getelementptr inbounds i32, ptr %7, i64 %.24451
  %30 = load i32, ptr %29, align 4, !tbaa !9
  %.not46 = icmp eq i32 %28, %30
  br i1 %.not46, label %25, label %.loopexit

._crit_edge:                                      ; preds = %25, %23
  %31 = add nuw nsw i64 %.04552, 1
  %exitcond59 = icmp eq i64 %31, 129
  br i1 %exitcond59, label %.thread, label %.preheader, !llvm.loop !14

.thread:                                          ; preds = %._crit_edge
  tail call void @free(ptr noundef %6) #7
  tail call void @free(ptr noundef nonnull %7) #7
  tail call void @free(ptr noundef %8) #7
  %32 = add nuw nsw i32 %.04153, 1
  %exitcond60.not = icmp eq i32 %32, 32
  br i1 %exitcond60.not, label %.loopexit, label %2, !llvm.loop !15

.loopexit:                                        ; preds = %.thread, %.preheader, %.lr.ph
  %.2 = phi i32 [ -1, %.lr.ph ], [ -1, %.preheader ], [ 0, %.thread ]
  ret i32 %.2
}

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

attributes #0 = { nofree 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 #1 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) 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 #2 = { 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 #3 = { "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 "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 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #7 = { nounwind }
attributes #8 = { nounwind allocsize(0) }

!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 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}


; Effective O3 passes: ConstraintEliminationPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopIdiomRecognizePass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass