; LLVM IR from Gottox/sqsh-tools :: examples (list_dir_ll)

; 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.SqshConfig = type { i64, i64, ptr, i32, i32, i32, i64, i32, i32, [128 x i8] }

@.str = external hidden unnamed_addr constant [23 x i8], align 1
@sqsh_mapper_impl_mmap = external constant ptr, align 8
@.str.1 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [28 x i8], align 1
@stdout = external global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [29 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %struct.SqshConfig, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i64, align 8
  %15 = alloca ptr, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !5
  %16 = load i32, ptr %4, align 4, !tbaa !5
  %17 = icmp ne i32 %16, 2
  br i1 %17, label %18, label %23

18:                                               ; preds = %2
  %19 = load ptr, ptr %5, align 8, !tbaa !9
  %20 = getelementptr inbounds ptr, ptr %19, i64 0
  %21 = load ptr, ptr %20, align 8, !tbaa !9
  %22 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %21)
  store i32 1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %90

23:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 184, ptr %8) #4
  call void @llvm.memset.p0.i64(ptr align 8 %8, i8 0, i64 184, i1 false)
  %24 = getelementptr inbounds %struct.SqshConfig, ptr %8, i32 0, i32 0
  %25 = getelementptr inbounds %struct.SqshConfig, ptr %8, i32 0, i32 1
  %26 = getelementptr inbounds %struct.SqshConfig, ptr %8, i32 0, i32 2
  %27 = load ptr, ptr @sqsh_mapper_impl_mmap, align 8, !tbaa !9
  store ptr %27, ptr %26, align 8, !tbaa !11
  %28 = getelementptr inbounds %struct.SqshConfig, ptr %8, i32 0, i32 3
  %29 = getelementptr inbounds %struct.SqshConfig, ptr %8, i32 0, i32 4
  %30 = getelementptr inbounds %struct.SqshConfig, ptr %8, i32 0, i32 5
  %31 = getelementptr inbounds %struct.SqshConfig, ptr %8, i32 0, i32 6
  %32 = getelementptr inbounds %struct.SqshConfig, ptr %8, i32 0, i32 7
  %33 = getelementptr inbounds %struct.SqshConfig, ptr %8, i32 0, i32 8
  %34 = getelementptr inbounds %struct.SqshConfig, ptr %8, i32 0, i32 9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %35 = load ptr, ptr %5, align 8, !tbaa !9
  %36 = getelementptr inbounds ptr, ptr %35, i64 1
  %37 = load ptr, ptr %36, align 8, !tbaa !9
  %38 = call ptr @sqsh_archive_open(ptr noundef %37, ptr noundef %8, ptr noundef %6)
  store ptr %38, ptr %9, align 8, !tbaa !9
  %39 = load i32, ptr %6, align 4, !tbaa !5
  %40 = icmp ne i32 %39, 0
  br i1 %40, label %41, label %43

41:                                               ; preds = %23
  %42 = load i32, ptr %6, align 4, !tbaa !5
  call void @sqsh_perror(i32 noundef %42, ptr noundef @.str.1)
  store i32 1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %89

43:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %44 = load ptr, ptr %9, align 8, !tbaa !9
  %45 = call ptr @sqsh_archive_superblock(ptr noundef %44)
  store ptr %45, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %46 = load ptr, ptr %10, align 8, !tbaa !9
  %47 = call i64 @sqsh_superblock_inode_root_ref(ptr noundef %46)
  store i64 %47, ptr %11, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %48 = load ptr, ptr %9, align 8, !tbaa !9
  %49 = load i64, ptr %11, align 8, !tbaa !14
  %50 = call ptr @sqsh_open_by_ref(ptr noundef %48, i64 noundef %49, ptr noundef %6)
  store ptr %50, ptr %12, align 8, !tbaa !9
  %51 = load i32, ptr %6, align 4, !tbaa !5
  %52 = icmp ne i32 %51, 0
  br i1 %52, label %53, label %55

53:                                               ; preds = %43
  %54 = load i32, ptr %6, align 4, !tbaa !5
  call void @sqsh_perror(i32 noundef %54, ptr noundef @.str.2)
  store i32 1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %88

55:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %56 = load ptr, ptr %12, align 8, !tbaa !9
  %57 = call ptr @sqsh_directory_iterator_new(ptr noundef %56, ptr noundef %6)
  store ptr %57, ptr %13, align 8, !tbaa !9
  %58 = load i32, ptr %6, align 4, !tbaa !5
  %59 = icmp ne i32 %58, 0
  br i1 %59, label %60, label %62

60:                                               ; preds = %55
  %61 = load i32, ptr %6, align 4, !tbaa !5
  call void @sqsh_perror(i32 noundef %61, ptr noundef @.str.3)
  store i32 1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %87

62:                                               ; preds = %55
  br label %63

63:                                               ; preds = %66, %62
  %64 = load ptr, ptr %13, align 8, !tbaa !9
  %65 = call zeroext i1 @sqsh_directory_iterator_next(ptr noundef %64, ptr noundef %6)
  br i1 %65, label %66, label %75

66:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %67 = load ptr, ptr %13, align 8, !tbaa !9
  %68 = call ptr @sqsh_directory_iterator_name2(ptr noundef %67, ptr noundef %14)
  store ptr %68, ptr %15, align 8, !tbaa !9
  %69 = load ptr, ptr %15, align 8, !tbaa !9
  %70 = load i64, ptr %14, align 8, !tbaa !14
  %71 = load ptr, ptr @stdout, align 8, !tbaa !9
  %72 = call i64 @fwrite(ptr noundef %69, i64 noundef %70, i64 noundef 1, ptr noundef %71)
  %73 = load ptr, ptr @stdout, align 8, !tbaa !9
  %74 = call i32 @fputc(i32 noundef 10, ptr noundef %73)
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  br label %63, !llvm.loop !15

75:                                               ; preds = %63
  %76 = load i32, ptr %6, align 4, !tbaa !5
  %77 = icmp slt i32 %76, 0
  br i1 %77, label %78, label %80

78:                                               ; preds = %75
  %79 = load i32, ptr %6, align 4, !tbaa !5
  call void @sqsh_perror(i32 noundef %79, ptr noundef @.str.4)
  store i32 1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %87

80:                                               ; preds = %75
  %81 = load ptr, ptr %13, align 8, !tbaa !9
  %82 = call i32 @sqsh_directory_iterator_free(ptr noundef %81)
  %83 = load ptr, ptr %12, align 8, !tbaa !9
  %84 = call i32 @sqsh_close(ptr noundef %83)
  %85 = load ptr, ptr %9, align 8, !tbaa !9
  %86 = call i32 @sqsh_archive_close(ptr noundef %85)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %87

87:                                               ; preds = %80, %78, %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  br label %88

88:                                               ; preds = %87, %53
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  br label %89

89:                                               ; preds = %88, %41
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 184, ptr %8) #4
  br label %90

90:                                               ; preds = %89, %18
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  %91 = load i32, ptr %3, align 4
  ret i32 %91
}

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

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

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

declare ptr @sqsh_archive_open(ptr noundef, ptr noundef, ptr noundef) #2

declare void @sqsh_perror(i32 noundef, ptr noundef) #2

declare ptr @sqsh_archive_superblock(ptr noundef) #2

declare i64 @sqsh_superblock_inode_root_ref(ptr noundef) #2

declare ptr @sqsh_open_by_ref(ptr noundef, i64 noundef, ptr noundef) #2

declare ptr @sqsh_directory_iterator_new(ptr noundef, ptr noundef) #2

declare zeroext i1 @sqsh_directory_iterator_next(ptr noundef, ptr noundef) #2

declare ptr @sqsh_directory_iterator_name2(ptr noundef, ptr noundef) #2

declare i64 @fwrite(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #2

declare i32 @fputc(i32 noundef, ptr noundef) #2

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

declare i32 @sqsh_directory_iterator_free(ptr noundef) #2

declare i32 @sqsh_close(ptr noundef) #2

declare i32 @sqsh_archive_close(ptr noundef) #2

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: write) }
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 = !{!"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, !10, i64 16}
!12 = !{!"SqshConfig", !13, i64 0, !13, i64 8, !10, i64 16, !6, i64 24, !6, i64 28, !6, i64 32, !13, i64 40, !6, i64 48, !6, i64 52, !7, i64 56}
!13 = !{!"long", !7, i64 0}
!14 = !{!13, !13, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"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"

%struct.SqshConfig = type { i64, i64, ptr, i32, i32, i32, i64, i32, i32, [128 x i8] }

@.str = external hidden unnamed_addr constant [23 x i8], align 1
@sqsh_mapper_impl_mmap = external local_unnamed_addr constant ptr, align 8
@.str.1 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [28 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [29 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
  %3 = alloca i32, align 4
  %4 = alloca %struct.SqshConfig, align 8
  %5 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  store i32 0, ptr %3, align 4, !tbaa !5
  %.not = icmp eq i32 %0, 2
  br i1 %.not, label %9, label %6

6:                                                ; preds = %2
  %7 = load ptr, ptr %1, align 8, !tbaa !9
  %8 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %7)
  br label %43

9:                                                ; preds = %2
  call void @llvm.lifetime.start.p0(i64 184, ptr nonnull %4) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(184) %4, i8 0, i64 184, i1 false)
  %10 = getelementptr inbounds i8, ptr %4, i64 16
  %11 = load ptr, ptr @sqsh_mapper_impl_mmap, align 8, !tbaa !9
  store ptr %11, ptr %10, align 8, !tbaa !11
  %12 = getelementptr inbounds i8, ptr %1, i64 8
  %13 = load ptr, ptr %12, align 8, !tbaa !9
  %14 = call ptr @sqsh_archive_open(ptr noundef %13, ptr noundef nonnull %4, ptr noundef nonnull %3) #5
  %15 = load i32, ptr %3, align 4, !tbaa !5
  %.not18 = icmp eq i32 %15, 0
  br i1 %.not18, label %17, label %16

16:                                               ; preds = %9
  call void @sqsh_perror(i32 noundef %15, ptr noundef nonnull @.str.1) #5
  br label %42

17:                                               ; preds = %9
  %18 = call ptr @sqsh_archive_superblock(ptr noundef %14) #5
  %19 = call i64 @sqsh_superblock_inode_root_ref(ptr noundef %18) #5
  %20 = call ptr @sqsh_open_by_ref(ptr noundef %14, i64 noundef %19, ptr noundef nonnull %3) #5
  %21 = load i32, ptr %3, align 4, !tbaa !5
  %.not19 = icmp eq i32 %21, 0
  br i1 %.not19, label %23, label %22

22:                                               ; preds = %17
  call void @sqsh_perror(i32 noundef %21, ptr noundef nonnull @.str.2) #5
  br label %42

23:                                               ; preds = %17
  %24 = call ptr @sqsh_directory_iterator_new(ptr noundef %20, ptr noundef nonnull %3) #5
  %25 = load i32, ptr %3, align 4, !tbaa !5
  %.not20 = icmp eq i32 %25, 0
  br i1 %.not20, label %.preheader, label %27

.preheader:                                       ; preds = %23
  %26 = call zeroext i1 @sqsh_directory_iterator_next(ptr noundef %24, ptr noundef nonnull %3) #5
  br i1 %26, label %.lr.ph, label %._crit_edge

27:                                               ; preds = %23
  call void @sqsh_perror(i32 noundef %25, ptr noundef nonnull @.str.3) #5
  br label %42

.lr.ph:                                           ; preds = %.preheader, %.lr.ph
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %28 = call ptr @sqsh_directory_iterator_name2(ptr noundef %24, ptr noundef nonnull %5) #5
  %29 = load i64, ptr %5, align 8, !tbaa !14
  %30 = load ptr, ptr @stdout, align 8, !tbaa !9
  %31 = call i64 @fwrite(ptr noundef %28, i64 noundef %29, i64 noundef 1, ptr noundef %30)
  %32 = load ptr, ptr @stdout, align 8, !tbaa !9
  %33 = call i32 @fputc(i32 noundef 10, ptr noundef %32)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  %34 = call zeroext i1 @sqsh_directory_iterator_next(ptr noundef %24, ptr noundef nonnull %3) #5
  br i1 %34, label %.lr.ph, label %._crit_edge, !llvm.loop !15

._crit_edge:                                      ; preds = %.lr.ph, %.preheader
  %35 = load i32, ptr %3, align 4, !tbaa !5
  %36 = icmp slt i32 %35, 0
  br i1 %36, label %37, label %38

37:                                               ; preds = %._crit_edge
  call void @sqsh_perror(i32 noundef %35, ptr noundef nonnull @.str.4) #5
  br label %42

38:                                               ; preds = %._crit_edge
  %39 = call i32 @sqsh_directory_iterator_free(ptr noundef %24) #5
  %40 = call i32 @sqsh_close(ptr noundef %20) #5
  %41 = call i32 @sqsh_archive_close(ptr noundef %14) #5
  br label %42

42:                                               ; preds = %22, %38, %37, %27, %16
  %.2 = phi i32 [ 1, %16 ], [ 1, %22 ], [ 1, %27 ], [ 1, %37 ], [ 0, %38 ]
  call void @llvm.lifetime.end.p0(i64 184, ptr nonnull %4) #5
  br label %43

43:                                               ; preds = %42, %6
  %.3 = phi i32 [ 1, %6 ], [ %.2, %42 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  ret i32 %.3
}

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

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

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

declare ptr @sqsh_archive_open(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare void @sqsh_perror(i32 noundef, ptr noundef) local_unnamed_addr #4

declare ptr @sqsh_archive_superblock(ptr noundef) local_unnamed_addr #4

declare i64 @sqsh_superblock_inode_root_ref(ptr noundef) local_unnamed_addr #4

declare ptr @sqsh_open_by_ref(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #4

declare ptr @sqsh_directory_iterator_new(ptr noundef, ptr noundef) local_unnamed_addr #4

declare zeroext i1 @sqsh_directory_iterator_next(ptr noundef, ptr noundef) local_unnamed_addr #4

declare ptr @sqsh_directory_iterator_name2(ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare noundef i64 @fwrite(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @fputc(i32 noundef, ptr nocapture 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

declare i32 @sqsh_directory_iterator_free(ptr noundef) local_unnamed_addr #4

declare i32 @sqsh_close(ptr noundef) local_unnamed_addr #4

declare i32 @sqsh_archive_close(ptr noundef) local_unnamed_addr #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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { "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 }

!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, !10, i64 16}
!12 = !{!"SqshConfig", !13, i64 0, !13, i64 8, !10, i64 16, !6, i64 24, !6, i64 28, !6, i64 32, !13, i64 40, !6, i64 48, !6, i64 52, !7, i64 56}
!13 = !{!"long", !7, i64 0}
!14 = !{!13, !13, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass