; LLVM IR from mncoppola/rpef :: utilities_src/squashfs4.2/lzma465/CPP/7zip/Archive/7z (7zFolderOutStream)

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

%"class.NArchive::N7z::CFolderOutStream" = type { %struct.ISequentialOutStream, %class.CMyUnknownImp, ptr, %class.CMyComPtr, ptr, ptr, i32, i32, i32, %class.CMyComPtr.0, i8, i8, i8, i64 }
%struct.ISequentialOutStream = type { %struct.IUnknown }
%struct.IUnknown = type { ptr }
%class.CMyUnknownImp = type { i32 }
%class.CMyComPtr = type { ptr }
%class.CMyComPtr.0 = type { ptr }
%"struct.NArchive::N7z::CArchiveDatabase" = type { %class.CRecordVector.1, %class.CRecordVector, %class.CRecordVector.2, %class.CObjectVector, %class.CRecordVector.2, %class.CObjectVector.4, %"struct.NArchive::N7z::CUInt64DefVector", %"struct.NArchive::N7z::CUInt64DefVector", %"struct.NArchive::N7z::CUInt64DefVector", %"struct.NArchive::N7z::CUInt64DefVector", %class.CRecordVector }
%class.CRecordVector.1 = type { %class.CBaseRecordVector }
%class.CBaseRecordVector = type { ptr, i32, i32, ptr, i64 }
%class.CObjectVector = type { %class.CRecordVector.3 }
%class.CRecordVector.3 = type { %class.CBaseRecordVector }
%class.CRecordVector.2 = type { %class.CBaseRecordVector }
%class.CObjectVector.4 = type { %class.CRecordVector.3 }
%"struct.NArchive::N7z::CUInt64DefVector" = type { %class.CRecordVector.1, %class.CRecordVector }
%class.CRecordVector = type { %class.CBaseRecordVector }
%"struct.NArchive::N7z::CFileItem" = type <{ i64, i32, i32, %class.CStringBase, i8, i8, i8, i8, [4 x i8] }>
%class.CStringBase = type { ptr, i32, i32 }

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN8NArchive3N7z16CFolderOutStream15WriteEmptyFilesEv(ptr noundef nonnull align 8 dereferenceable(88) %0) #0 align 2 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  %9 = load ptr, ptr %3, align 8
  br label %10

10:                                               ; preds = %72, %1
  %11 = getelementptr inbounds %"class.NArchive::N7z::CFolderOutStream", ptr %9, i32 0, i32 8
  %12 = load i32, ptr %11, align 8, !tbaa !9
  %13 = getelementptr inbounds %"class.NArchive::N7z::CFolderOutStream", ptr %9, i32 0, i32 5
  %14 = load ptr, ptr %13, align 8, !tbaa !19
  %15 = call noundef i32 @_ZNK17CBaseRecordVector4SizeEv(ptr noundef nonnull align 8 dereferenceable(32) %14)
  %16 = icmp slt i32 %12, %15
  br i1 %16, label %17, label %76

17:                                               ; preds = %10
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  %18 = getelementptr inbounds %"class.NArchive::N7z::CFolderOutStream", ptr %9, i32 0, i32 6
  %19 = load i32, ptr %18, align 8, !tbaa !20
  %20 = getelementptr inbounds %"class.NArchive::N7z::CFolderOutStream", ptr %9, i32 0, i32 8
  %21 = load i32, ptr %20, align 8, !tbaa !9
  %22 = add i32 %19, %21
  store i32 %22, ptr %4, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  %23 = getelementptr inbounds %"class.NArchive::N7z::CFolderOutStream", ptr %9, i32 0, i32 4
  %24 = load ptr, ptr %23, align 8, !tbaa !22
  %25 = getelementptr inbounds %"struct.NArchive::N7z::CArchiveDatabase", ptr %24, i32 0, i32 5
  %26 = load i32, ptr %4, align 4, !tbaa !21
  %27 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNK13CObjectVectorIN8NArchive3N7z9CFileItemEEixEi(ptr noundef nonnull align 8 dereferenceable(32) %25, i32 noundef %26)
  store ptr %27, ptr %5, align 8, !tbaa !5
  %28 = getelementptr inbounds %"class.NArchive::N7z::CFolderOutStream", ptr %9, i32 0, i32 4
  %29 = load ptr, ptr %28, align 8, !tbaa !22
  %30 = load i32, ptr %4, align 4, !tbaa !21
  %31 = call noundef zeroext i1 @_ZNK8NArchive3N7z16CArchiveDatabase10IsItemAntiEi(ptr noundef nonnull align 8 dereferenceable(480) %29, i32 noundef %30)
  br i1 %31, label %43, label %32

32:                                               ; preds = %17
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = getelementptr inbounds %"struct.NArchive::N7z::CFileItem", ptr %33, i32 0, i32 5
  %35 = load i8, ptr %34, align 1, !tbaa !23, !range !26, !noundef !27
  %36 = trunc i8 %35 to i1
  br i1 %36, label %43, label %37

37:                                               ; preds = %32
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = getelementptr inbounds %"struct.NArchive::N7z::CFileItem", ptr %38, i32 0, i32 0
  %40 = load i64, ptr %39, align 8, !tbaa !28
  %41 = icmp ne i64 %40, 0
  br i1 %41, label %42, label %43

42:                                               ; preds = %37
  store i32 0, ptr %2, align 4
  store i32 1, ptr %6, align 4
  br label %69

43:                                               ; preds = %37, %32, %17
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  %44 = call noundef i32 @_ZN8NArchive3N7z16CFolderOutStream8OpenFileEv(ptr noundef nonnull align 8 dereferenceable(88) %9)
  store i32 %44, ptr %7, align 4, !tbaa !21
  %45 = load i32, ptr %7, align 4, !tbaa !21
  %46 = icmp ne i32 %45, 0
  br i1 %46, label %47, label %49

47:                                               ; preds = %43
  %48 = load i32, ptr %7, align 4, !tbaa !21
  store i32 %48, ptr %2, align 4
  store i32 1, ptr %6, align 4
  br label %50

49:                                               ; preds = %43
  store i32 0, ptr %6, align 4
  br label %50

50:                                               ; preds = %49, %47
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  %51 = load i32, ptr %6, align 4
  switch i32 %51, label %69 [
    i32 0, label %52
  ]

52:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  %53 = getelementptr inbounds %"class.NArchive::N7z::CFolderOutStream", ptr %9, i32 0, i32 9
  %54 = call noundef ptr @_ZNK9CMyComPtrI23IArchiveExtractCallbackEptEv(ptr noundef nonnull align 8 dereferenceable(8) %53)
  %55 = load ptr, ptr %54, align 8, !tbaa !29
  %56 = getelementptr inbounds ptr, ptr %55, i64 9
  %57 = load ptr, ptr %56, align 8
  %58 = call noundef i32 %57(ptr noundef nonnull align 8 dereferenceable(8) %54, i32 noundef 0)
  store i32 %58, ptr %8, align 4, !tbaa !21
  %59 = load i32, ptr %8, align 4, !tbaa !21
  %60 = icmp ne i32 %59, 0
  br i1 %60, label %61, label %63

61:                                               ; preds = %52
  %62 = load i32, ptr %8, align 4, !tbaa !21
  store i32 %62, ptr %2, align 4
  store i32 1, ptr %6, align 4
  br label %64

63:                                               ; preds = %52
  store i32 0, ptr %6, align 4
  br label %64

64:                                               ; preds = %63, %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  %65 = load i32, ptr %6, align 4
  switch i32 %65, label %69 [
    i32 0, label %66
  ]

66:                                               ; preds = %64
  %67 = getelementptr inbounds %"class.NArchive::N7z::CFolderOutStream", ptr %9, i32 0, i32 2
  %68 = load ptr, ptr %67, align 8, !tbaa !31
  call void @_ZN17COutStreamWithCRC13ReleaseStreamEv(ptr noundef nonnull align 8 dereferenceable(37) %68)
  store i32 0, ptr %6, align 4
  br label %69

69:                                               ; preds = %66, %64, %50, %42
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  %70 = load i32, ptr %6, align 4
  switch i32 %70, label %79 [
    i32 0, label %71
    i32 1, label %77
  ]

71:                                               ; preds = %69
  br label %72

72:                                               ; preds = %71
  %73 = getelementptr inbounds %"class.NArchive::N7z::CFolderOutStream", ptr %9, i32 0, i32 8
  %74 = load i32, ptr %73, align 8, !tbaa !9
  %75 = add nsw i32 %74, 1
  store i32 %75, ptr %73, align 8, !tbaa !9
  br label %10, !llvm.loop !32

76:                                               ; preds = %10
  store i32 0, ptr %2, align 4
  br label %77

77:                                               ; preds = %76, %69
  %78 = load i32, ptr %2, align 4
  ret i32 %78

79:                                               ; preds = %69
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN8NArchive3N7z16CFolderOutStream8OpenFileEv(ptr noundef nonnull align 8 dereferenceable(88)) #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK9CMyComPtrI23IArchiveExtractCallbackEptEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(36) ptr @_ZNK13CObjectVectorIN8NArchive3N7z9CFileItemEEixEi(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK8NArchive3N7z16CArchiveDatabase10IsItemAntiEi(ptr noundef nonnull align 8 dereferenceable(480), i32 noundef) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK17CBaseRecordVector4SizeEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17COutStreamWithCRC13ReleaseStreamEv(ptr noundef nonnull align 8 dereferenceable(37)) #0 align 2

attributes #0 = { mustprogress 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 = { mustprogress 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 = { 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++ TBAA"}
!9 = !{!10, !14, i64 56}
!10 = !{!"_ZTSN8NArchive3N7z16CFolderOutStreamE", !11, i64 0, !13, i64 8, !6, i64 16, !15, i64 24, !6, i64 32, !6, i64 40, !14, i64 48, !14, i64 52, !14, i64 56, !16, i64 64, !17, i64 72, !17, i64 73, !17, i64 74, !18, i64 80}
!11 = !{!"_ZTS20ISequentialOutStream", !12, i64 0}
!12 = !{!"_ZTS8IUnknown"}
!13 = !{!"_ZTS13CMyUnknownImp", !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!"_ZTS9CMyComPtrI20ISequentialOutStreamE", !6, i64 0}
!16 = !{!"_ZTS9CMyComPtrI23IArchiveExtractCallbackE", !6, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{!"long long", !7, i64 0}
!19 = !{!10, !6, i64 40}
!20 = !{!10, !14, i64 48}
!21 = !{!14, !14, i64 0}
!22 = !{!10, !6, i64 32}
!23 = !{!24, !17, i64 33}
!24 = !{!"_ZTSN8NArchive3N7z9CFileItemE", !18, i64 0, !14, i64 8, !14, i64 12, !25, i64 16, !17, i64 32, !17, i64 33, !17, i64 34, !17, i64 35}
!25 = !{!"_ZTS11CStringBaseIwE", !6, i64 0, !14, i64 8, !14, i64 12}
!26 = !{i8 0, i8 2}
!27 = !{}
!28 = !{!24, !18, i64 0}
!29 = !{!30, !30, i64 0}
!30 = !{!"vtable pointer", !8, i64 0}
!31 = !{!10, !6, i64 16}
!32 = distinct !{!32, !33}
!33 = !{!"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 uwtable
define dso_local noundef i32 @_ZN8NArchive3N7z16CFolderOutStream15WriteEmptyFilesEv(ptr noundef nonnull align 8 dereferenceable(88) %0) local_unnamed_addr #0 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 64
  %3 = getelementptr inbounds i8, ptr %0, i64 56
  %4 = getelementptr inbounds i8, ptr %0, i64 40
  %5 = load i32, ptr %3, align 8, !tbaa !5
  %6 = load ptr, ptr %4, align 8, !tbaa !18
  %7 = tail call noundef i32 @_ZNK17CBaseRecordVector4SizeEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
  %8 = icmp slt i32 %5, %7
  br i1 %8, label %.lr.ph, label %.thread

.lr.ph:                                           ; preds = %1
  %9 = getelementptr inbounds i8, ptr %0, i64 48
  %10 = getelementptr inbounds i8, ptr %0, i64 32
  %11 = getelementptr inbounds i8, ptr %0, i64 16
  br label %12

12:                                               ; preds = %.lr.ph, %34
  %13 = load i32, ptr %9, align 8, !tbaa !19
  %14 = load i32, ptr %3, align 8, !tbaa !5
  %15 = add i32 %14, %13
  %16 = load ptr, ptr %10, align 8, !tbaa !20
  %17 = getelementptr inbounds i8, ptr %16, i64 160
  %18 = tail call noundef nonnull align 8 dereferenceable(36) ptr @_ZNK13CObjectVectorIN8NArchive3N7z9CFileItemEEixEi(ptr noundef nonnull align 8 dereferenceable(32) %17, i32 noundef %15)
  %19 = load ptr, ptr %10, align 8, !tbaa !20
  %20 = tail call noundef zeroext i1 @_ZNK8NArchive3N7z16CArchiveDatabase10IsItemAntiEi(ptr noundef nonnull align 8 dereferenceable(480) %19, i32 noundef %15)
  br i1 %20, label %26, label %21

21:                                               ; preds = %12
  %22 = getelementptr inbounds i8, ptr %18, i64 33
  %23 = load i8, ptr %22, align 1, !tbaa !21, !range !24, !noundef !25
  %24 = trunc nuw i8 %23 to i1
  %25 = load i64, ptr %18, align 8
  %.not = icmp eq i64 %25, 0
  %or.cond = select i1 %24, i1 true, i1 %.not
  br i1 %or.cond, label %26, label %.thread

26:                                               ; preds = %21, %12
  %27 = tail call noundef i32 @_ZN8NArchive3N7z16CFolderOutStream8OpenFileEv(ptr noundef nonnull align 8 dereferenceable(88) %0)
  %.not18 = icmp eq i32 %27, 0
  br i1 %.not18, label %28, label %.thread

28:                                               ; preds = %26
  %29 = tail call noundef ptr @_ZNK9CMyComPtrI23IArchiveExtractCallbackEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %30 = load ptr, ptr %29, align 8, !tbaa !26
  %31 = getelementptr inbounds i8, ptr %30, i64 72
  %32 = load ptr, ptr %31, align 8
  %33 = tail call noundef i32 %32(ptr noundef nonnull align 8 dereferenceable(8) %29, i32 noundef 0)
  %.not19 = icmp eq i32 %33, 0
  br i1 %.not19, label %34, label %.thread

34:                                               ; preds = %28
  %35 = load ptr, ptr %11, align 8, !tbaa !28
  tail call void @_ZN17COutStreamWithCRC13ReleaseStreamEv(ptr noundef nonnull align 8 dereferenceable(37) %35)
  %36 = load i32, ptr %3, align 8, !tbaa !5
  %37 = add nsw i32 %36, 1
  store i32 %37, ptr %3, align 8, !tbaa !5
  %38 = load ptr, ptr %4, align 8, !tbaa !18
  %39 = tail call noundef i32 @_ZNK17CBaseRecordVector4SizeEv(ptr noundef nonnull align 8 dereferenceable(32) %38)
  %40 = icmp slt i32 %37, %39
  br i1 %40, label %12, label %.thread, !llvm.loop !29

.thread:                                          ; preds = %34, %28, %26, %21, %1
  %.4 = phi i32 [ 0, %1 ], [ 0, %21 ], [ %27, %26 ], [ %33, %28 ], [ 0, %34 ]
  ret i32 %.4
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN8NArchive3N7z16CFolderOutStream8OpenFileEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK9CMyComPtrI23IArchiveExtractCallbackEptEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(36) ptr @_ZNK13CObjectVectorIN8NArchive3N7z9CFileItemEEixEi(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK8NArchive3N7z16CArchiveDatabase10IsItemAntiEi(ptr noundef nonnull align 8 dereferenceable(480), i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK17CBaseRecordVector4SizeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17COutStreamWithCRC13ReleaseStreamEv(ptr noundef nonnull align 8 dereferenceable(37)) local_unnamed_addr #0 align 2

attributes #0 = { mustprogress 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 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" }

!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, !10, i64 56}
!6 = !{!"_ZTSN8NArchive3N7z16CFolderOutStreamE", !7, i64 0, !9, i64 8, !13, i64 16, !14, i64 24, !13, i64 32, !13, i64 40, !10, i64 48, !10, i64 52, !10, i64 56, !15, i64 64, !16, i64 72, !16, i64 73, !16, i64 74, !17, i64 80}
!7 = !{!"_ZTS20ISequentialOutStream", !8, i64 0}
!8 = !{!"_ZTS8IUnknown"}
!9 = !{!"_ZTS13CMyUnknownImp", !10, i64 0}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = !{!"any pointer", !11, i64 0}
!14 = !{!"_ZTS9CMyComPtrI20ISequentialOutStreamE", !13, i64 0}
!15 = !{!"_ZTS9CMyComPtrI23IArchiveExtractCallbackE", !13, i64 0}
!16 = !{!"bool", !11, i64 0}
!17 = !{!"long long", !11, i64 0}
!18 = !{!6, !13, i64 40}
!19 = !{!6, !10, i64 48}
!20 = !{!6, !13, i64 32}
!21 = !{!22, !16, i64 33}
!22 = !{!"_ZTSN8NArchive3N7z9CFileItemE", !17, i64 0, !10, i64 8, !10, i64 12, !23, i64 16, !16, i64 32, !16, i64 33, !16, i64 34, !16, i64 35}
!23 = !{!"_ZTS11CStringBaseIwE", !13, i64 0, !10, i64 8, !10, i64 12}
!24 = !{i8 0, i8 2}
!25 = !{}
!26 = !{!27, !27, i64 0}
!27 = !{!"vtable pointer", !12, i64 0}
!28 = !{!6, !13, i64 16}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}


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