; LLVM IR from bytecodealliance/sightglass :: benchmarks/bz2 (benchmark)

; 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.EState = type { ptr, i32, i32, i32, ptr, ptr, ptr, i32, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [256 x i8], [256 x i8], i32, i32, i32, i32, i32, i32, i32, i32, [258 x i32], [18002 x i8], [18002 x i8], [6 x [258 x i8]], [6 x [258 x i32]], [6 x [258 x i32]], [258 x [4 x i32]] }

; Function Attrs: nounwind uwtable
declare dso_local void @BZ2_blockSort(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @BZ2_bsInitWrite(ptr noundef) #0

; Function Attrs: nounwind uwtable
define dso_local void @BZ2_compressBlock(ptr noundef %0, i8 noundef zeroext %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca i8, align 1
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i8 %1, ptr %4, align 1, !tbaa !9
  %5 = load ptr, ptr %3, align 8, !tbaa !5
  %6 = getelementptr inbounds %struct.EState, ptr %5, i32 0, i32 17
  %7 = load i32, ptr %6, align 4, !tbaa !10
  %8 = icmp sgt i32 %7, 0
  br i1 %8, label %9, label %49

9:                                                ; preds = %2
  %10 = load ptr, ptr %3, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.EState, ptr %10, i32 0, i32 26
  %12 = load i32, ptr %11, align 8, !tbaa !13
  %13 = xor i32 %12, -1
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.EState, ptr %14, i32 0, i32 26
  store i32 %13, ptr %15, align 8, !tbaa !13
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.EState, ptr %16, i32 0, i32 27
  %18 = load i32, ptr %17, align 4, !tbaa !14
  %19 = shl i32 %18, 1
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.EState, ptr %20, i32 0, i32 27
  %22 = load i32, ptr %21, align 4, !tbaa !14
  %23 = lshr i32 %22, 31
  %24 = or i32 %19, %23
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.EState, ptr %25, i32 0, i32 27
  store i32 %24, ptr %26, align 4, !tbaa !14
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.EState, ptr %27, i32 0, i32 26
  %29 = load i32, ptr %28, align 8, !tbaa !13
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.EState, ptr %30, i32 0, i32 27
  %32 = load i32, ptr %31, align 4, !tbaa !14
  %33 = xor i32 %32, %29
  store i32 %33, ptr %31, align 4, !tbaa !14
  %34 = load ptr, ptr %3, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.EState, ptr %34, i32 0, i32 29
  %36 = load i32, ptr %35, align 4, !tbaa !15
  %37 = icmp sgt i32 %36, 1
  br i1 %37, label %38, label %41

38:                                               ; preds = %9
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.EState, ptr %39, i32 0, i32 19
  store i32 0, ptr %40, align 4, !tbaa !16
  br label %41

41:                                               ; preds = %38, %9
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.EState, ptr %42, i32 0, i32 28
  %44 = load i32, ptr %43, align 8, !tbaa !17
  %45 = icmp sge i32 %44, 2
  br i1 %45, label %46, label %47

46:                                               ; preds = %41
  br label %47

47:                                               ; preds = %46, %41
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  call void @BZ2_blockSort(ptr noundef %48)
  br label %49

49:                                               ; preds = %47, %2
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.EState, ptr %50, i32 0, i32 5
  %52 = load ptr, ptr %51, align 8, !tbaa !18
  %53 = load ptr, ptr %3, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.EState, ptr %53, i32 0, i32 17
  %55 = load i32, ptr %54, align 4, !tbaa !10
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds i8, ptr %52, i64 %56
  %58 = load ptr, ptr %3, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.EState, ptr %58, i32 0, i32 11
  store ptr %57, ptr %59, align 8, !tbaa !19
  %60 = load ptr, ptr %3, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.EState, ptr %60, i32 0, i32 29
  %62 = load i32, ptr %61, align 4, !tbaa !15
  %63 = icmp eq i32 %62, 1
  br i1 %63, label %64, label %75

64:                                               ; preds = %49
  %65 = load ptr, ptr %3, align 8, !tbaa !5
  call void @BZ2_bsInitWrite(ptr noundef %65)
  %66 = load ptr, ptr %3, align 8, !tbaa !5
  call void @bsPutUChar(ptr noundef %66, i8 noundef zeroext 66)
  %67 = load ptr, ptr %3, align 8, !tbaa !5
  call void @bsPutUChar(ptr noundef %67, i8 noundef zeroext 90)
  %68 = load ptr, ptr %3, align 8, !tbaa !5
  call void @bsPutUChar(ptr noundef %68, i8 noundef zeroext 104)
  %69 = load ptr, ptr %3, align 8, !tbaa !5
  %70 = load ptr, ptr %3, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.EState, ptr %70, i32 0, i32 30
  %72 = load i32, ptr %71, align 8, !tbaa !20
  %73 = add nsw i32 48, %72
  %74 = trunc i32 %73 to i8
  call void @bsPutUChar(ptr noundef %69, i8 noundef zeroext %74)
  br label %75

75:                                               ; preds = %64, %49
  %76 = load ptr, ptr %3, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.EState, ptr %76, i32 0, i32 17
  %78 = load i32, ptr %77, align 4, !tbaa !10
  %79 = icmp sgt i32 %78, 0
  br i1 %79, label %80, label %98

80:                                               ; preds = %75
  %81 = load ptr, ptr %3, align 8, !tbaa !5
  call void @bsPutUChar(ptr noundef %81, i8 noundef zeroext 49)
  %82 = load ptr, ptr %3, align 8, !tbaa !5
  call void @bsPutUChar(ptr noundef %82, i8 noundef zeroext 65)
  %83 = load ptr, ptr %3, align 8, !tbaa !5
  call void @bsPutUChar(ptr noundef %83, i8 noundef zeroext 89)
  %84 = load ptr, ptr %3, align 8, !tbaa !5
  call void @bsPutUChar(ptr noundef %84, i8 noundef zeroext 38)
  %85 = load ptr, ptr %3, align 8, !tbaa !5
  call void @bsPutUChar(ptr noundef %85, i8 noundef zeroext 83)
  %86 = load ptr, ptr %3, align 8, !tbaa !5
  call void @bsPutUChar(ptr noundef %86, i8 noundef zeroext 89)
  %87 = load ptr, ptr %3, align 8, !tbaa !5
  %88 = load ptr, ptr %3, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.EState, ptr %88, i32 0, i32 26
  %90 = load i32, ptr %89, align 8, !tbaa !13
  call void @bsPutUInt32(ptr noundef %87, i32 noundef %90)
  %91 = load ptr, ptr %3, align 8, !tbaa !5
  call void @bsW(ptr noundef %91, i32 noundef 1, i32 noundef 0)
  %92 = load ptr, ptr %3, align 8, !tbaa !5
  %93 = load ptr, ptr %3, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.EState, ptr %93, i32 0, i32 7
  %95 = load i32, ptr %94, align 8, !tbaa !21
  call void @bsW(ptr noundef %92, i32 noundef 24, i32 noundef %95)
  %96 = load ptr, ptr %3, align 8, !tbaa !5
  call void @generateMTFValues(ptr noundef %96)
  %97 = load ptr, ptr %3, align 8, !tbaa !5
  call void @sendMTFValues(ptr noundef %97)
  br label %98

98:                                               ; preds = %80, %75
  %99 = load i8, ptr %4, align 1, !tbaa !9
  %100 = icmp ne i8 %99, 0
  br i1 %100, label %101, label %119

101:                                              ; preds = %98
  %102 = load ptr, ptr %3, align 8, !tbaa !5
  call void @bsPutUChar(ptr noundef %102, i8 noundef zeroext 23)
  %103 = load ptr, ptr %3, align 8, !tbaa !5
  call void @bsPutUChar(ptr noundef %103, i8 noundef zeroext 114)
  %104 = load ptr, ptr %3, align 8, !tbaa !5
  call void @bsPutUChar(ptr noundef %104, i8 noundef zeroext 69)
  %105 = load ptr, ptr %3, align 8, !tbaa !5
  call void @bsPutUChar(ptr noundef %105, i8 noundef zeroext 56)
  %106 = load ptr, ptr %3, align 8, !tbaa !5
  call void @bsPutUChar(ptr noundef %106, i8 noundef zeroext 80)
  %107 = load ptr, ptr %3, align 8, !tbaa !5
  call void @bsPutUChar(ptr noundef %107, i8 noundef zeroext -112)
  %108 = load ptr, ptr %3, align 8, !tbaa !5
  %109 = load ptr, ptr %3, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.EState, ptr %109, i32 0, i32 27
  %111 = load i32, ptr %110, align 4, !tbaa !14
  call void @bsPutUInt32(ptr noundef %108, i32 noundef %111)
  %112 = load ptr, ptr %3, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.EState, ptr %112, i32 0, i32 28
  %114 = load i32, ptr %113, align 8, !tbaa !17
  %115 = icmp sge i32 %114, 2
  br i1 %115, label %116, label %117

116:                                              ; preds = %101
  br label %117

117:                                              ; preds = %116, %101
  %118 = load ptr, ptr %3, align 8, !tbaa !5
  call void @bsFinishWrite(ptr noundef %118)
  br label %119

119:                                              ; preds = %117, %98
  ret void
}

; Function Attrs: nounwind uwtable
declare hidden void @bsPutUChar(ptr noundef, i8 noundef zeroext) #0

; Function Attrs: nounwind uwtable
declare hidden void @bsPutUInt32(ptr noundef, i32 noundef) #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @bsW(ptr noundef, i32 noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @generateMTFValues(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @sendMTFValues(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @bsFinishWrite(ptr noundef) #0

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 = { inlinehint 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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !12, i64 108}
!11 = !{!"", !6, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !12, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !12, i64 88, !12, i64 92, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !7, i64 128, !7, i64 384, !12, i64 640, !12, i64 644, !12, i64 648, !12, i64 652, !12, i64 656, !12, i64 660, !12, i64 664, !12, i64 668, !7, i64 672, !7, i64 1704, !7, i64 19706, !7, i64 37708, !7, i64 39256, !7, i64 45448, !7, i64 51640}
!12 = !{!"int", !7, i64 0}
!13 = !{!11, !12, i64 648}
!14 = !{!11, !12, i64 652}
!15 = !{!11, !12, i64 660}
!16 = !{!11, !12, i64 116}
!17 = !{!11, !12, i64 656}
!18 = !{!11, !6, i64 32}
!19 = !{!11, !6, i64 80}
!20 = !{!11, !12, i64 664}
!21 = !{!11, !12, i64 48}


; 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: nounwind uwtable
declare dso_local void @BZ2_blockSort(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @BZ2_bsInitWrite(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @BZ2_compressBlock(ptr noundef %0, i8 noundef zeroext %1) local_unnamed_addr #0 {
  %3 = getelementptr inbounds i8, ptr %0, i64 108
  %4 = load i32, ptr %3, align 4, !tbaa !5
  %5 = icmp sgt i32 %4, 0
  br i1 %5, label %6, label %20

6:                                                ; preds = %2
  %7 = getelementptr inbounds i8, ptr %0, i64 648
  %8 = load i32, ptr %7, align 8, !tbaa !11
  %9 = xor i32 %8, -1
  store i32 %9, ptr %7, align 8, !tbaa !11
  %10 = getelementptr inbounds i8, ptr %0, i64 652
  %11 = load i32, ptr %10, align 4, !tbaa !12
  %12 = tail call i32 @llvm.fshl.i32(i32 %11, i32 %11, i32 1)
  %13 = xor i32 %12, %9
  store i32 %13, ptr %10, align 4, !tbaa !12
  %14 = getelementptr inbounds i8, ptr %0, i64 660
  %15 = load i32, ptr %14, align 4, !tbaa !13
  %16 = icmp sgt i32 %15, 1
  br i1 %16, label %17, label %19

17:                                               ; preds = %6
  %18 = getelementptr inbounds i8, ptr %0, i64 116
  store i32 0, ptr %18, align 4, !tbaa !14
  br label %19

19:                                               ; preds = %17, %6
  tail call void @BZ2_blockSort(ptr noundef nonnull %0)
  %.pre = load i32, ptr %3, align 4, !tbaa !5
  br label %20

20:                                               ; preds = %19, %2
  %21 = phi i32 [ %.pre, %19 ], [ %4, %2 ]
  %22 = getelementptr inbounds i8, ptr %0, i64 32
  %23 = load ptr, ptr %22, align 8, !tbaa !15
  %24 = sext i32 %21 to i64
  %25 = getelementptr inbounds i8, ptr %23, i64 %24
  %26 = getelementptr inbounds i8, ptr %0, i64 80
  store ptr %25, ptr %26, align 8, !tbaa !16
  %27 = getelementptr inbounds i8, ptr %0, i64 660
  %28 = load i32, ptr %27, align 4, !tbaa !13
  %29 = icmp eq i32 %28, 1
  br i1 %29, label %30, label %35

30:                                               ; preds = %20
  tail call void @BZ2_bsInitWrite(ptr noundef nonnull %0)
  tail call void @bsPutUChar(ptr noundef nonnull %0, i8 noundef zeroext 66)
  tail call void @bsPutUChar(ptr noundef nonnull %0, i8 noundef zeroext 90)
  tail call void @bsPutUChar(ptr noundef nonnull %0, i8 noundef zeroext 104)
  %31 = getelementptr inbounds i8, ptr %0, i64 664
  %32 = load i32, ptr %31, align 8, !tbaa !17
  %33 = trunc i32 %32 to i8
  %34 = add i8 %33, 48
  tail call void @bsPutUChar(ptr noundef nonnull %0, i8 noundef zeroext %34)
  %.pre46 = load i32, ptr %3, align 4, !tbaa !5
  br label %35

35:                                               ; preds = %30, %20
  %36 = phi i32 [ %.pre46, %30 ], [ %21, %20 ]
  %37 = icmp sgt i32 %36, 0
  br i1 %37, label %38, label %43

38:                                               ; preds = %35
  tail call void @bsPutUChar(ptr noundef nonnull %0, i8 noundef zeroext 49)
  tail call void @bsPutUChar(ptr noundef nonnull %0, i8 noundef zeroext 65)
  tail call void @bsPutUChar(ptr noundef nonnull %0, i8 noundef zeroext 89)
  tail call void @bsPutUChar(ptr noundef nonnull %0, i8 noundef zeroext 38)
  tail call void @bsPutUChar(ptr noundef nonnull %0, i8 noundef zeroext 83)
  tail call void @bsPutUChar(ptr noundef nonnull %0, i8 noundef zeroext 89)
  %39 = getelementptr inbounds i8, ptr %0, i64 648
  %40 = load i32, ptr %39, align 8, !tbaa !11
  tail call void @bsPutUInt32(ptr noundef nonnull %0, i32 noundef %40)
  tail call void @bsW(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0)
  %41 = getelementptr inbounds i8, ptr %0, i64 48
  %42 = load i32, ptr %41, align 8, !tbaa !18
  tail call void @bsW(ptr noundef nonnull %0, i32 noundef 24, i32 noundef %42)
  tail call void @generateMTFValues(ptr noundef nonnull %0)
  tail call void @sendMTFValues(ptr noundef nonnull %0)
  br label %43

43:                                               ; preds = %38, %35
  %.not = icmp eq i8 %1, 0
  br i1 %.not, label %47, label %44

44:                                               ; preds = %43
  tail call void @bsPutUChar(ptr noundef nonnull %0, i8 noundef zeroext 23)
  tail call void @bsPutUChar(ptr noundef nonnull %0, i8 noundef zeroext 114)
  tail call void @bsPutUChar(ptr noundef nonnull %0, i8 noundef zeroext 69)
  tail call void @bsPutUChar(ptr noundef nonnull %0, i8 noundef zeroext 56)
  tail call void @bsPutUChar(ptr noundef nonnull %0, i8 noundef zeroext 80)
  tail call void @bsPutUChar(ptr noundef nonnull %0, i8 noundef zeroext -112)
  %45 = getelementptr inbounds i8, ptr %0, i64 652
  %46 = load i32, ptr %45, align 4, !tbaa !12
  tail call void @bsPutUInt32(ptr noundef nonnull %0, i32 noundef %46)
  tail call void @bsFinishWrite(ptr noundef nonnull %0)
  br label %47

47:                                               ; preds = %44, %43
  ret void
}

; Function Attrs: nounwind uwtable
declare hidden void @bsPutUChar(ptr noundef, i8 noundef zeroext) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden void @bsPutUInt32(ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @bsW(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @generateMTFValues(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden void @sendMTFValues(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden void @bsFinishWrite(ptr noundef) local_unnamed_addr #0

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.fshl.i32(i32, i32, i32) #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 = { inlinehint 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 #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

!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 108}
!6 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !10, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !8, i64 128, !8, i64 384, !10, i64 640, !10, i64 644, !10, i64 648, !10, i64 652, !10, i64 656, !10, i64 660, !10, i64 664, !10, i64 668, !8, i64 672, !8, i64 1704, !8, i64 19706, !8, i64 37708, !8, i64 39256, !8, i64 45448, !8, i64 51640}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 648}
!12 = !{!6, !10, i64 652}
!13 = !{!6, !10, i64 660}
!14 = !{!6, !10, i64 116}
!15 = !{!6, !7, i64 32}
!16 = !{!6, !7, i64 80}
!17 = !{!6, !10, i64 664}
!18 = !{!6, !10, i64 48}


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