; LLVM IR from intel/qpl :: tools/utils/generators/deflate_generator/gen.ll (ZN12gz_generator5gen_c8proc_litEi)

; 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.gz_generator::gen_c" = type { %struct.anon, i8, %"class.gz_generator::huffman_c", %"class.gz_generator::grammar_c", %"class.gz_generator::BitBuffer", ptr, i32, [286 x i32], i32, [32 x i32], i32, [19 x i32], i32, [19 x i32], i32, [1024 x i32], i32, [1024 x i32], i32, [19 x i32], i32, i32, i32, i8, [32768 x i8], i32, i32, [3 x i8], i32 }
%struct.anon = type { i8, i8, i8, i8 }
%"class.gz_generator::huffman_c" = type { %class.symbol_list, %class.histogram, [288 x i32], [32 x i32], i8, i8, i8, i32, %"class.std::vector" }
%class.symbol_list = type { ptr, ptr, i32, i32 }
%class.histogram = type { [32768 x i32], [513 x i32], [32 x i32], [286 x i32] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.gz_generator::grammar_c" = type { %class.token_parser_c, ptr }
%class.token_parser_c = type { ptr, %class.token_c, i8, i32 }
%class.token_c = type { i8, i32 }
%"class.gz_generator::BitBuffer" = type { i8, i32, %struct.anon.0, ptr }
%struct.anon.0 = type { i64, i32 }

@.str = external hidden unnamed_addr constant [32 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [26 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12gz_generator5gen_c8proc_litEi(ptr noundef nonnull align 8 dereferenceable(178336) %0, i32 noundef %1) #0 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i8, align 1
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  %6 = load ptr, ptr %3, align 8
  %7 = getelementptr inbounds %"class.gz_generator::gen_c", ptr %6, i32 0, i32 0
  %8 = getelementptr inbounds %struct.anon, ptr %7, i32 0, i32 0
  %9 = load i8, ptr %8, align 8, !tbaa !11, !range !30, !noundef !31
  %10 = trunc i8 %9 to i1
  br i1 %10, label %12, label %11

11:                                               ; preds = %2
  call void (ptr, ptr, ...) @_ZN12gz_generator5gen_c3dieEPKcz(ptr noundef nonnull align 8 dereferenceable(178336) %6, ptr noundef @.str)
  br label %12

12:                                               ; preds = %11, %2
  %13 = load i32, ptr %4, align 4, !tbaa !9
  %14 = icmp eq i32 %13, -1
  br i1 %14, label %15, label %18

15:                                               ; preds = %12
  %16 = call i32 @rand() #3
  %17 = and i32 255, %16
  store i32 %17, ptr %4, align 4, !tbaa !9
  br label %28

18:                                               ; preds = %12
  %19 = load i32, ptr %4, align 4, !tbaa !9
  %20 = icmp eq i32 %19, 286
  br i1 %20, label %24, label %21

21:                                               ; preds = %18
  %22 = load i32, ptr %4, align 4, !tbaa !9
  %23 = icmp eq i32 %22, 287
  br i1 %23, label %24, label %27

24:                                               ; preds = %21, %18
  %25 = getelementptr inbounds %"class.gz_generator::gen_c", ptr %6, i32 0, i32 2
  %26 = load i32, ptr %4, align 4, !tbaa !9
  call void @_ZN12gz_generator9huffman_c7add_litEj(ptr noundef nonnull align 8 dereferenceable(135736) %25, i32 noundef %26)
  br label %65

27:                                               ; preds = %21
  br label %28

28:                                               ; preds = %27, %15
  %29 = load i32, ptr %4, align 4, !tbaa !9
  %30 = and i32 %29, -256
  %31 = icmp ne i32 %30, 0
  br i1 %31, label %32, label %34

32:                                               ; preds = %28
  %33 = load i32, ptr %4, align 4, !tbaa !9
  call void (ptr, ptr, ...) @_ZN12gz_generator5gen_c3dieEPKcz(ptr noundef nonnull align 8 dereferenceable(178336) %6, ptr noundef @.str.1, i32 noundef %33)
  br label %34

34:                                               ; preds = %32, %28
  %35 = getelementptr inbounds %"class.gz_generator::gen_c", ptr %6, i32 0, i32 2
  %36 = load i32, ptr %4, align 4, !tbaa !9
  call void @_ZN12gz_generator9huffman_c7add_litEj(ptr noundef nonnull align 8 dereferenceable(135736) %35, i32 noundef %36)
  %37 = getelementptr inbounds %"class.gz_generator::gen_c", ptr %6, i32 0, i32 6
  %38 = load i32, ptr %37, align 8, !tbaa !32
  %39 = add i32 %38, 1
  store i32 %39, ptr %37, align 8, !tbaa !32
  %40 = getelementptr inbounds %"class.gz_generator::gen_c", ptr %6, i32 0, i32 0
  %41 = getelementptr inbounds %struct.anon, ptr %40, i32 0, i32 2
  %42 = load i8, ptr %41, align 2, !tbaa !33, !range !30, !noundef !31
  %43 = trunc i8 %42 to i1
  br i1 %43, label %44, label %49

44:                                               ; preds = %34
  %45 = getelementptr inbounds %"class.gz_generator::gen_c", ptr %6, i32 0, i32 5
  %46 = load ptr, ptr %45, align 8, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #3
  %47 = load i32, ptr %4, align 4, !tbaa !9
  %48 = trunc i32 %47 to i8
  store i8 %48, ptr %5, align 1, !tbaa !35
  call void @_ZNSt6vectorIhSaIhEE9push_backEOh(ptr noundef nonnull align 8 dereferenceable(24) %46, ptr noundef nonnull align 1 dereferenceable(1) %5)
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #3
  br label %49

49:                                               ; preds = %44, %34
  %50 = load i32, ptr %4, align 4, !tbaa !9
  %51 = trunc i32 %50 to i8
  %52 = getelementptr inbounds %"class.gz_generator::gen_c", ptr %6, i32 0, i32 24
  %53 = getelementptr inbounds %"class.gz_generator::gen_c", ptr %6, i32 0, i32 25
  %54 = load i32, ptr %53, align 8, !tbaa !36
  %55 = zext i32 %54 to i64
  %56 = getelementptr inbounds [32768 x i8], ptr %52, i64 0, i64 %55
  store i8 %51, ptr %56, align 1, !tbaa !35
  %57 = getelementptr inbounds %"class.gz_generator::gen_c", ptr %6, i32 0, i32 25
  %58 = load i32, ptr %57, align 8, !tbaa !36
  %59 = add i32 %58, 1
  %60 = and i32 %59, 32767
  %61 = getelementptr inbounds %"class.gz_generator::gen_c", ptr %6, i32 0, i32 25
  store i32 %60, ptr %61, align 8, !tbaa !36
  %62 = getelementptr inbounds %"class.gz_generator::gen_c", ptr %6, i32 0, i32 26
  %63 = load i32, ptr %62, align 4, !tbaa !37
  %64 = add i32 %63, 1
  store i32 %64, ptr %62, align 4, !tbaa !37
  br label %65

65:                                               ; preds = %49, %24
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12gz_generator5gen_c3dieEPKcz(ptr noundef nonnull align 8 dereferenceable(178336), ptr noundef, ...) #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12gz_generator9huffman_c7add_litEj(ptr noundef nonnull align 8 dereferenceable(135736), i32 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIhSaIhEE9push_backEOh(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(1)) #0 align 2

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !14, i64 0}
!12 = !{!"_ZTSN12gz_generator5gen_cE", !13, i64 0, !15, i64 4, !16, i64 8, !23, i64 135744, !27, i64 135776, !6, i64 135808, !10, i64 135816, !7, i64 135820, !10, i64 136964, !7, i64 136968, !10, i64 137096, !7, i64 137100, !10, i64 137176, !7, i64 137180, !10, i64 137256, !7, i64 137260, !10, i64 141356, !7, i64 141360, !10, i64 145456, !7, i64 145460, !10, i64 145536, !10, i64 145540, !10, i64 145544, !14, i64 145548, !7, i64 145549, !10, i64 178320, !10, i64 178324, !7, i64 178328, !10, i64 178332}
!13 = !{!"_ZTSN12gz_generator5gen_cUt_E", !14, i64 0, !14, i64 1, !14, i64 2, !14, i64 3}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTSN12gz_generator5gen_cUt0_E", !7, i64 0}
!16 = !{!"_ZTSN12gz_generator9huffman_cE", !17, i64 0, !18, i64 24, !7, i64 134420, !7, i64 135572, !14, i64 135700, !14, i64 135701, !14, i64 135702, !10, i64 135704, !19, i64 135712}
!17 = !{!"_ZTS11symbol_list", !6, i64 0, !6, i64 8, !10, i64 16, !10, i64 20}
!18 = !{!"_ZTS9histogram", !7, i64 0, !7, i64 131072, !7, i64 133124, !7, i64 133252}
!19 = !{!"_ZTSSt6vectorIjSaIjEE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTSN12gz_generator9grammar_cE", !24, i64 0, !6, i64 24}
!24 = !{!"_ZTS14token_parser_c", !6, i64 0, !25, i64 8, !14, i64 16, !10, i64 20}
!25 = !{!"_ZTS7token_c", !26, i64 0, !10, i64 4}
!26 = !{!"_ZTS12token_type_t", !7, i64 0}
!27 = !{!"_ZTSN12gz_generator9BitBufferE", !14, i64 0, !10, i64 4, !28, i64 8, !6, i64 24}
!28 = !{!"_ZTSN12gz_generator9BitBufferUt_E", !29, i64 0, !10, i64 8}
!29 = !{!"long", !7, i64 0}
!30 = !{i8 0, i8 2}
!31 = !{}
!32 = !{!12, !10, i64 135816}
!33 = !{!12, !14, i64 2}
!34 = !{!12, !6, i64 135808}
!35 = !{!7, !7, i64 0}
!36 = !{!12, !10, i64 178320}
!37 = !{!12, !10, i64 178324}


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

@.str = external hidden unnamed_addr constant [32 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [26 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12gz_generator5gen_c8proc_litEi(ptr noundef nonnull align 8 dereferenceable(178336) %0, i32 noundef %1) local_unnamed_addr #0 align 2 {
  %3 = alloca i8, align 1
  %4 = load i8, ptr %0, align 8, !tbaa !5, !range !28, !noundef !29
  %5 = trunc nuw i8 %4 to i1
  br i1 %5, label %7, label %6

6:                                                ; preds = %2
  tail call void (ptr, ptr, ...) @_ZN12gz_generator5gen_c3dieEPKcz(ptr noundef nonnull align 8 dereferenceable(178336) %0, ptr noundef nonnull @.str)
  br label %7

7:                                                ; preds = %6, %2
  %8 = icmp eq i32 %1, -1
  br i1 %8, label %.thread, label %11

.thread:                                          ; preds = %7
  %9 = tail call i32 @rand() #3
  %10 = and i32 %9, 255
  br label %17

11:                                               ; preds = %7
  %12 = and i32 %1, -2
  %or.cond = icmp eq i32 %12, 286
  br i1 %or.cond, label %13, label %15

13:                                               ; preds = %11
  %14 = getelementptr inbounds i8, ptr %0, i64 8
  tail call void @_ZN12gz_generator9huffman_c7add_litEj(ptr noundef nonnull align 8 dereferenceable(135736) %14, i32 noundef %1)
  br label %41

15:                                               ; preds = %11
  %.not = icmp ult i32 %1, 256
  br i1 %.not, label %17, label %16

16:                                               ; preds = %15
  tail call void (ptr, ptr, ...) @_ZN12gz_generator5gen_c3dieEPKcz(ptr noundef nonnull align 8 dereferenceable(178336) %0, ptr noundef nonnull @.str.1, i32 noundef %1)
  br label %17

17:                                               ; preds = %.thread, %16, %15
  %.013 = phi i32 [ %10, %.thread ], [ %1, %16 ], [ %1, %15 ]
  %18 = getelementptr inbounds i8, ptr %0, i64 8
  tail call void @_ZN12gz_generator9huffman_c7add_litEj(ptr noundef nonnull align 8 dereferenceable(135736) %18, i32 noundef %.013)
  %19 = getelementptr inbounds i8, ptr %0, i64 135816
  %20 = load i32, ptr %19, align 8, !tbaa !30
  %21 = add i32 %20, 1
  store i32 %21, ptr %19, align 8, !tbaa !30
  %22 = getelementptr inbounds i8, ptr %0, i64 2
  %23 = load i8, ptr %22, align 2, !tbaa !31, !range !28, !noundef !29
  %24 = trunc nuw i8 %23 to i1
  br i1 %24, label %25, label %._crit_edge

._crit_edge:                                      ; preds = %17
  %.pre = trunc i32 %.013 to i8
  br label %29

25:                                               ; preds = %17
  %26 = getelementptr inbounds i8, ptr %0, i64 135808
  %27 = load ptr, ptr %26, align 8, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #3
  %28 = trunc i32 %.013 to i8
  store i8 %28, ptr %3, align 1, !tbaa !33
  call void @_ZNSt6vectorIhSaIhEE9push_backEOh(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 1 dereferenceable(1) %3)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #3
  br label %29

29:                                               ; preds = %._crit_edge, %25
  %.pre-phi = phi i8 [ %.pre, %._crit_edge ], [ %28, %25 ]
  %30 = getelementptr inbounds i8, ptr %0, i64 145549
  %31 = getelementptr inbounds i8, ptr %0, i64 178320
  %32 = load i32, ptr %31, align 8, !tbaa !34
  %33 = zext i32 %32 to i64
  %34 = getelementptr inbounds [32768 x i8], ptr %30, i64 0, i64 %33
  store i8 %.pre-phi, ptr %34, align 1, !tbaa !33
  %35 = load i32, ptr %31, align 8, !tbaa !34
  %36 = add i32 %35, 1
  %37 = and i32 %36, 32767
  store i32 %37, ptr %31, align 8, !tbaa !34
  %38 = getelementptr inbounds i8, ptr %0, i64 178324
  %39 = load i32, ptr %38, align 4, !tbaa !35
  %40 = add i32 %39, 1
  store i32 %40, ptr %38, align 4, !tbaa !35
  br label %41

41:                                               ; preds = %29, %13
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12gz_generator5gen_c3dieEPKcz(ptr noundef nonnull align 8 dereferenceable(178336), ptr noundef, ...) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12gz_generator9huffman_c7add_litEj(ptr noundef nonnull align 8 dereferenceable(135736), i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIhSaIhEE9push_backEOh(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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, !8, i64 0}
!6 = !{!"_ZTSN12gz_generator5gen_cE", !7, i64 0, !11, i64 4, !12, i64 8, !21, i64 135744, !25, i64 135776, !14, i64 135808, !15, i64 135816, !9, i64 135820, !15, i64 136964, !9, i64 136968, !15, i64 137096, !9, i64 137100, !15, i64 137176, !9, i64 137180, !15, i64 137256, !9, i64 137260, !15, i64 141356, !9, i64 141360, !15, i64 145456, !9, i64 145460, !15, i64 145536, !15, i64 145540, !15, i64 145544, !8, i64 145548, !9, i64 145549, !15, i64 178320, !15, i64 178324, !9, i64 178328, !15, i64 178332}
!7 = !{!"_ZTSN12gz_generator5gen_cUt_E", !8, i64 0, !8, i64 1, !8, i64 2, !8, i64 3}
!8 = !{!"bool", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"_ZTSN12gz_generator5gen_cUt0_E", !9, i64 0}
!12 = !{!"_ZTSN12gz_generator9huffman_cE", !13, i64 0, !16, i64 24, !9, i64 134420, !9, i64 135572, !8, i64 135700, !8, i64 135701, !8, i64 135702, !15, i64 135704, !17, i64 135712}
!13 = !{!"_ZTS11symbol_list", !14, i64 0, !14, i64 8, !15, i64 16, !15, i64 20}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!"int", !9, i64 0}
!16 = !{!"_ZTS9histogram", !9, i64 0, !9, i64 131072, !9, i64 133124, !9, i64 133252}
!17 = !{!"_ZTSSt6vectorIjSaIjEE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!21 = !{!"_ZTSN12gz_generator9grammar_cE", !22, i64 0, !14, i64 24}
!22 = !{!"_ZTS14token_parser_c", !14, i64 0, !23, i64 8, !8, i64 16, !15, i64 20}
!23 = !{!"_ZTS7token_c", !24, i64 0, !15, i64 4}
!24 = !{!"_ZTS12token_type_t", !9, i64 0}
!25 = !{!"_ZTSN12gz_generator9BitBufferE", !8, i64 0, !15, i64 4, !26, i64 8, !14, i64 24}
!26 = !{!"_ZTSN12gz_generator9BitBufferUt_E", !27, i64 0, !15, i64 8}
!27 = !{!"long", !9, i64 0}
!28 = !{i8 0, i8 2}
!29 = !{}
!30 = !{!6, !15, i64 135816}
!31 = !{!6, !8, i64 2}
!32 = !{!6, !14, i64 135808}
!33 = !{!9, !9, i64 0}
!34 = !{!6, !15, i64 178320}
!35 = !{!6, !15, i64 178324}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass,TailCallElimPass