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

; 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.NArchive::NLzma::CHeader" = type { i64, i8, i8, [5 x i8] }

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN8NArchive5NLzma16ReadStreamHeaderEP19ISequentialInStreamRNS0_7CHeaderE(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(16) %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca [14 x i8], align 1
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i8, align 1
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 14, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 0
  %16 = call noundef i32 @_Z16ReadStream_FALSEP19ISequentialInStreamPvm(ptr noundef %14, ptr noundef %15, i64 noundef 13)
  store i32 %16, ptr %7, align 4, !tbaa !9
  %17 = load i32, ptr %7, align 4, !tbaa !9
  %18 = icmp ne i32 %17, 0
  br i1 %18, label %19, label %21

19:                                               ; preds = %2
  %20 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %20, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %22

21:                                               ; preds = %2
  store i32 0, ptr %8, align 4
  br label %22

22:                                               ; preds = %21, %19
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  %23 = load i32, ptr %8, align 4
  switch i32 %23, label %139 [
    i32 0, label %24
  ]

24:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #4
  store i8 -32, ptr %9, align 1, !tbaa !11
  %25 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 0
  %26 = load i8, ptr %25, align 1, !tbaa !11
  %27 = zext i8 %26 to i32
  %28 = icmp sgt i32 %27, 224
  br i1 %28, label %29, label %30

29:                                               ; preds = %24
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %138

30:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %31

31:                                               ; preds = %45, %30
  %32 = load i32, ptr %10, align 4, !tbaa !9
  %33 = icmp slt i32 %32, 5
  br i1 %33, label %35, label %34

34:                                               ; preds = %31
  store i32 2, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %48

35:                                               ; preds = %31
  %36 = load i32, ptr %10, align 4, !tbaa !9
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %37
  %39 = load i8, ptr %38, align 1, !tbaa !11
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = getelementptr inbounds %"struct.NArchive::NLzma::CHeader", ptr %40, i32 0, i32 3
  %42 = load i32, ptr %10, align 4, !tbaa !9
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds [5 x i8], ptr %41, i64 0, i64 %43
  store i8 %39, ptr %44, align 1, !tbaa !11
  br label %45

45:                                               ; preds = %35
  %46 = load i32, ptr %10, align 4, !tbaa !9
  %47 = add nsw i32 %46, 1
  store i32 %47, ptr %10, align 4, !tbaa !9
  br label %31, !llvm.loop !12

48:                                               ; preds = %34
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = getelementptr inbounds %"struct.NArchive::NLzma::CHeader", ptr %49, i32 0, i32 1
  store i8 0, ptr %50, align 8, !tbaa !14
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.NArchive::NLzma::CHeader", ptr %51, i32 0, i32 2
  store i8 0, ptr %52, align 1, !tbaa !18
  %53 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 0
  %54 = getelementptr inbounds i8, ptr %53, i64 1
  %55 = call noundef zeroext i1 @_ZN8NArchive5NLzmaL13CheckDictSizeEPKh(ptr noundef %54)
  br i1 %55, label %113, label %56

56:                                               ; preds = %48
  %57 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 0
  %58 = load i8, ptr %57, align 1, !tbaa !11
  %59 = zext i8 %58 to i32
  %60 = icmp sgt i32 %59, 1
  br i1 %60, label %66, label %61

61:                                               ; preds = %56
  %62 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 1
  %63 = load i8, ptr %62, align 1, !tbaa !11
  %64 = zext i8 %63 to i32
  %65 = icmp sgt i32 %64, 224
  br i1 %65, label %66, label %67

66:                                               ; preds = %61, %56
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %138

67:                                               ; preds = %61
  %68 = load ptr, ptr %5, align 8, !tbaa !5
  %69 = getelementptr inbounds %"struct.NArchive::NLzma::CHeader", ptr %68, i32 0, i32 1
  store i8 1, ptr %69, align 8, !tbaa !14
  %70 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 0
  %71 = load i8, ptr %70, align 1, !tbaa !11
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = getelementptr inbounds %"struct.NArchive::NLzma::CHeader", ptr %72, i32 0, i32 2
  store i8 %71, ptr %73, align 1, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %74

74:                                               ; preds = %89, %67
  %75 = load i32, ptr %11, align 4, !tbaa !9
  %76 = icmp slt i32 %75, 5
  br i1 %76, label %78, label %77

77:                                               ; preds = %74
  store i32 5, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %92

78:                                               ; preds = %74
  %79 = load i32, ptr %11, align 4, !tbaa !9
  %80 = add nsw i32 %79, 1
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %81
  %83 = load i8, ptr %82, align 1, !tbaa !11
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = getelementptr inbounds %"struct.NArchive::NLzma::CHeader", ptr %84, i32 0, i32 3
  %86 = load i32, ptr %11, align 4, !tbaa !9
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [5 x i8], ptr %85, i64 0, i64 %87
  store i8 %83, ptr %88, align 1, !tbaa !11
  br label %89

89:                                               ; preds = %78
  %90 = load i32, ptr %11, align 4, !tbaa !9
  %91 = add nsw i32 %90, 1
  store i32 %91, ptr %11, align 4, !tbaa !9
  br label %74, !llvm.loop !19

92:                                               ; preds = %77
  %93 = load ptr, ptr %5, align 8, !tbaa !5
  %94 = getelementptr inbounds %"struct.NArchive::NLzma::CHeader", ptr %93, i32 0, i32 3
  %95 = getelementptr inbounds [5 x i8], ptr %94, i64 0, i64 0
  %96 = getelementptr inbounds i8, ptr %95, i64 1
  %97 = call noundef zeroext i1 @_ZN8NArchive5NLzmaL13CheckDictSizeEPKh(ptr noundef %96)
  br i1 %97, label %99, label %98

98:                                               ; preds = %92
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %138

99:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  %101 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 0
  %102 = getelementptr inbounds i8, ptr %101, i64 5
  %103 = getelementptr inbounds i8, ptr %102, i64 8
  %104 = call noundef i32 @_Z16ReadStream_FALSEP19ISequentialInStreamPvm(ptr noundef %100, ptr noundef %103, i64 noundef 1)
  store i32 %104, ptr %12, align 4, !tbaa !9
  %105 = load i32, ptr %12, align 4, !tbaa !9
  %106 = icmp ne i32 %105, 0
  br i1 %106, label %107, label %109

107:                                              ; preds = %99
  %108 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %108, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %110

109:                                              ; preds = %99
  store i32 0, ptr %8, align 4
  br label %110

110:                                              ; preds = %109, %107
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  %111 = load i32, ptr %8, align 4
  switch i32 %111, label %138 [
    i32 0, label %112
  ]

112:                                              ; preds = %110
  br label %113

113:                                              ; preds = %112, %48
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %114 = load ptr, ptr %5, align 8, !tbaa !5
  %115 = getelementptr inbounds %"struct.NArchive::NLzma::CHeader", ptr %114, i32 0, i32 1
  %116 = load i8, ptr %115, align 8, !tbaa !14, !range !20, !noundef !21
  %117 = trunc i8 %116 to i1
  %118 = zext i1 %117 to i64
  %119 = select i1 %117, i32 1, i32 0
  %120 = add nsw i32 5, %119
  store i32 %120, ptr %13, align 4, !tbaa !9
  %121 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 0
  %122 = load i32, ptr %13, align 4, !tbaa !9
  %123 = zext i32 %122 to i64
  %124 = getelementptr inbounds i8, ptr %121, i64 %123
  %125 = load i64, ptr %124, align 8, !tbaa !22
  %126 = load ptr, ptr %5, align 8, !tbaa !5
  %127 = getelementptr inbounds %"struct.NArchive::NLzma::CHeader", ptr %126, i32 0, i32 0
  store i64 %125, ptr %127, align 8, !tbaa !23
  %128 = load ptr, ptr %5, align 8, !tbaa !5
  %129 = call noundef zeroext i1 @_ZNK8NArchive5NLzma7CHeader13HasUnpackSizeEv(ptr noundef nonnull align 8 dereferenceable(16) %128)
  br i1 %129, label %130, label %136

130:                                              ; preds = %113
  %131 = load ptr, ptr %5, align 8, !tbaa !5
  %132 = getelementptr inbounds %"struct.NArchive::NLzma::CHeader", ptr %131, i32 0, i32 0
  %133 = load i64, ptr %132, align 8, !tbaa !23
  %134 = icmp uge i64 %133, 72057594037927936
  br i1 %134, label %135, label %136

135:                                              ; preds = %130
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %137

136:                                              ; preds = %130, %113
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %137

137:                                              ; preds = %136, %135
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %138

138:                                              ; preds = %137, %110, %98, %66, %29
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #4
  br label %139

139:                                              ; preds = %138, %22
  call void @llvm.lifetime.end.p0(i64 14, ptr %6) #4
  %140 = load i32, ptr %3, align 4
  ret i32 %140
}

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

declare noundef i32 @_Z16ReadStream_FALSEP19ISequentialInStreamPvm(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: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN8NArchive5NLzmaL13CheckDictSizeEPKh(ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8NArchive5NLzma7CHeader13HasUnpackSizeEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 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 = { "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 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 #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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !17, i64 8}
!15 = !{!"_ZTSN8NArchive5NLzma7CHeaderE", !16, i64 0, !17, i64 8, !7, i64 9, !7, i64 10}
!16 = !{!"long long", !7, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{!15, !7, i64 9}
!19 = distinct !{!19, !13}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = !{!16, !16, i64 0}
!23 = !{!15, !16, i64 0}


; 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 @_ZN8NArchive5NLzma16ReadStreamHeaderEP19ISequentialInStreamRNS0_7CHeaderE(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(16) %1) local_unnamed_addr #0 {
  %3 = alloca [14 x i8], align 1
  call void @llvm.lifetime.start.p0(i64 14, ptr nonnull %3) #5
  %4 = call noundef i32 @_Z16ReadStream_FALSEP19ISequentialInStreamPvm(ptr noundef %0, ptr noundef nonnull %3, i64 noundef 13)
  %.not = icmp eq i32 %4, 0
  br i1 %.not, label %5, label %33

5:                                                ; preds = %2
  %6 = load i8, ptr %3, align 1, !tbaa !5
  %7 = icmp ugt i8 %6, -32
  br i1 %7, label %33, label %.preheader

.preheader:                                       ; preds = %5
  %8 = getelementptr inbounds i8, ptr %1, i64 10
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 2 dereferenceable(5) %8, ptr noundef nonnull align 1 dereferenceable(5) %3, i64 5, i1 false), !tbaa !5
  %9 = getelementptr inbounds i8, ptr %1, i64 8
  store i8 0, ptr %9, align 8, !tbaa !8
  %10 = getelementptr inbounds i8, ptr %1, i64 9
  store i8 0, ptr %10, align 1, !tbaa !12
  %11 = getelementptr inbounds i8, ptr %3, i64 1
  %12 = call noundef zeroext i1 @_ZN8NArchive5NLzmaL13CheckDictSizeEPKh(ptr noundef nonnull %11)
  br i1 %12, label %24, label %13

13:                                               ; preds = %.preheader
  %14 = load i8, ptr %3, align 1, !tbaa !5
  %15 = icmp ugt i8 %14, 1
  %16 = load i8, ptr %11, align 1
  %17 = icmp ugt i8 %16, -32
  %or.cond = select i1 %15, i1 true, i1 %17
  br i1 %or.cond, label %33, label %18

18:                                               ; preds = %13
  store i8 1, ptr %9, align 8, !tbaa !8
  store i8 %14, ptr %10, align 1, !tbaa !12
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 2 dereferenceable(5) %8, ptr noundef nonnull align 1 dereferenceable(5) %11, i64 5, i1 false), !tbaa !5
  %19 = getelementptr inbounds i8, ptr %1, i64 11
  %20 = call noundef zeroext i1 @_ZN8NArchive5NLzmaL13CheckDictSizeEPKh(ptr noundef nonnull %19)
  br i1 %20, label %21, label %33

21:                                               ; preds = %18
  %22 = getelementptr inbounds i8, ptr %3, i64 13
  %23 = call noundef i32 @_Z16ReadStream_FALSEP19ISequentialInStreamPvm(ptr noundef %0, ptr noundef nonnull %22, i64 noundef 1)
  %.not36 = icmp eq i32 %23, 0
  br i1 %.not36, label %24, label %33

24:                                               ; preds = %21, %.preheader
  %25 = load i8, ptr %9, align 8, !tbaa !8, !range !13, !noundef !14
  %26 = zext nneg i8 %25 to i64
  %27 = getelementptr inbounds i8, ptr %3, i64 %26
  %28 = getelementptr inbounds i8, ptr %27, i64 5
  %29 = load i64, ptr %28, align 8, !tbaa !15
  store i64 %29, ptr %1, align 8, !tbaa !16
  %30 = call noundef zeroext i1 @_ZNK8NArchive5NLzma7CHeader13HasUnpackSizeEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %31 = load i64, ptr %1, align 8
  %32 = icmp ugt i64 %31, 72057594037927935
  %or.cond38 = select i1 %30, i1 %32, i1 false
  %.2 = zext i1 %or.cond38 to i32
  br label %33

33:                                               ; preds = %24, %21, %5, %13, %18, %2
  %.4 = phi i32 [ %4, %2 ], [ %.2, %24 ], [ %23, %21 ], [ 1, %5 ], [ 1, %13 ], [ 1, %18 ]
  call void @llvm.lifetime.end.p0(i64 14, ptr nonnull %3) #5
  ret i32 %.4
}

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

declare noundef i32 @_Z16ReadStream_FALSEP19ISequentialInStreamPvm(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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN8NArchive5NLzmaL13CheckDictSizeEPKh(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8NArchive5NLzma7CHeader13HasUnpackSizeEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 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) #4

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 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 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 #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !11, i64 8}
!9 = !{!"_ZTSN8NArchive5NLzma7CHeaderE", !10, i64 0, !11, i64 8, !6, i64 9, !6, i64 10}
!10 = !{!"long long", !6, i64 0}
!11 = !{!"bool", !6, i64 0}
!12 = !{!9, !6, i64 9}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!10, !10, i64 0}
!16 = !{!9, !10, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,SROAPass,SimplifyCFGPass