; LLVM IR from DanEngelbrecht/longtail :: lib/brotli/ext/enc (static_dict)

; 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.BrotliEncoderDictionary = type { ptr, i32, i32, i64, ptr, ptr, ptr, ptr, %struct.BrotliTrie, i32, ptr, ptr, ptr, i64, ptr, i64, ptr, ptr }
%struct.BrotliTrie = type { ptr, i64, i64, %struct.BrotliTrieNode }
%struct.BrotliTrieNode = type { i8, i8, i8, i32, i32 }
%struct.ContextualEncoderDictionary = type { i32, i8, [64 x i8], [64 x ptr], i64, %struct.BrotliEncoderDictionary, ptr }
%struct.BrotliDictionary = type { [32 x i8], [32 x i32], i64, ptr }

; Function Attrs: nounwind uwtable
define hidden i32 @BrotliFindAllStaticDictionaryMatches(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca [38 x i32], align 16
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i64 %2, ptr %8, align 8, !tbaa !9
  store i64 %3, ptr %9, align 8, !tbaa !9
  store ptr %4, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  %18 = load ptr, ptr %6, align 8, !tbaa !5
  %19 = load ptr, ptr %7, align 8, !tbaa !5
  %20 = load i64, ptr %8, align 8, !tbaa !9
  %21 = load i64, ptr %9, align 8, !tbaa !9
  %22 = load ptr, ptr %10, align 8, !tbaa !5
  %23 = call i32 @BrotliFindAllStaticDictionaryMatchesFor(ptr noundef %18, ptr noundef %19, i64 noundef %20, i64 noundef %21, ptr noundef %22)
  store i32 %23, ptr %11, align 4, !tbaa !11
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.BrotliEncoderDictionary, ptr %24, i32 0, i32 10
  %26 = load ptr, ptr %25, align 8, !tbaa !13
  %27 = icmp ne ptr %26, null
  br i1 %27, label %28, label %123

28:                                               ; preds = %5
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.BrotliEncoderDictionary, ptr %29, i32 0, i32 10
  %31 = load ptr, ptr %30, align 8, !tbaa !13
  %32 = getelementptr inbounds %struct.ContextualEncoderDictionary, ptr %31, i32 0, i32 1
  %33 = load i8, ptr %32, align 4, !tbaa !17
  %34 = zext i8 %33 to i32
  %35 = icmp sgt i32 %34, 1
  br i1 %35, label %36, label %123

36:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 152, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.BrotliEncoderDictionary, ptr %37, i32 0, i32 10
  %39 = load ptr, ptr %38, align 8, !tbaa !13
  %40 = getelementptr inbounds %struct.ContextualEncoderDictionary, ptr %39, i32 0, i32 3
  %41 = getelementptr inbounds [64 x ptr], ptr %40, i64 0, i64 0
  %42 = load ptr, ptr %41, align 8, !tbaa !5
  store ptr %42, ptr %14, align 8, !tbaa !5
  %43 = load ptr, ptr %14, align 8, !tbaa !5
  %44 = load ptr, ptr %6, align 8, !tbaa !5
  %45 = icmp eq ptr %43, %44
  br i1 %45, label %46, label %53

46:                                               ; preds = %36
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.BrotliEncoderDictionary, ptr %47, i32 0, i32 10
  %49 = load ptr, ptr %48, align 8, !tbaa !13
  %50 = getelementptr inbounds %struct.ContextualEncoderDictionary, ptr %49, i32 0, i32 3
  %51 = getelementptr inbounds [64 x ptr], ptr %50, i64 0, i64 1
  %52 = load ptr, ptr %51, align 8, !tbaa !5
  store ptr %52, ptr %14, align 8, !tbaa !5
  br label %53

53:                                               ; preds = %46, %36
  store i32 0, ptr %13, align 4, !tbaa !11
  br label %54

54:                                               ; preds = %61, %53
  %55 = load i32, ptr %13, align 4, !tbaa !11
  %56 = icmp slt i32 %55, 38
  br i1 %56, label %57, label %64

57:                                               ; preds = %54
  %58 = load i32, ptr %13, align 4, !tbaa !11
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds [38 x i32], ptr %12, i64 0, i64 %59
  store i32 268435455, ptr %60, align 4, !tbaa !11
  br label %61

61:                                               ; preds = %57
  %62 = load i32, ptr %13, align 4, !tbaa !11
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %13, align 4, !tbaa !11
  br label %54, !llvm.loop !19

64:                                               ; preds = %54
  %65 = load ptr, ptr %14, align 8, !tbaa !5
  %66 = load ptr, ptr %7, align 8, !tbaa !5
  %67 = load i64, ptr %8, align 8, !tbaa !9
  %68 = load i64, ptr %9, align 8, !tbaa !9
  %69 = getelementptr inbounds [38 x i32], ptr %12, i64 0, i64 0
  %70 = call i32 @BrotliFindAllStaticDictionaryMatchesFor(ptr noundef %65, ptr noundef %66, i64 noundef %67, i64 noundef %68, ptr noundef %69)
  %71 = load i32, ptr %11, align 4, !tbaa !11
  %72 = or i32 %71, %70
  store i32 %72, ptr %11, align 4, !tbaa !11
  store i32 0, ptr %13, align 4, !tbaa !11
  br label %73

73:                                               ; preds = %119, %64
  %74 = load i32, ptr %13, align 4, !tbaa !11
  %75 = icmp slt i32 %74, 38
  br i1 %75, label %76, label %122

76:                                               ; preds = %73
  %77 = load i32, ptr %13, align 4, !tbaa !11
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [38 x i32], ptr %12, i64 0, i64 %78
  %80 = load i32, ptr %79, align 4, !tbaa !11
  %81 = icmp ne i32 %80, 268435455
  br i1 %81, label %82, label %118

82:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  %83 = load i32, ptr %13, align 4, !tbaa !11
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds [38 x i32], ptr %12, i64 0, i64 %84
  %86 = load i32, ptr %85, align 4, !tbaa !11
  %87 = lshr i32 %86, 5
  store i32 %87, ptr %15, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  %88 = load i32, ptr %13, align 4, !tbaa !11
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds [38 x i32], ptr %12, i64 0, i64 %89
  %91 = load i32, ptr %90, align 4, !tbaa !11
  %92 = and i32 %91, 31
  store i32 %92, ptr %16, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  %93 = load ptr, ptr %6, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.BrotliEncoderDictionary, ptr %93, i32 0, i32 0
  %95 = load ptr, ptr %94, align 8, !tbaa !21
  %96 = getelementptr inbounds %struct.BrotliDictionary, ptr %95, i32 0, i32 0
  %97 = load i32, ptr %16, align 4, !tbaa !11
  %98 = zext i32 %97 to i64
  %99 = getelementptr inbounds [32 x i8], ptr %96, i64 0, i64 %98
  %100 = load i8, ptr %99, align 1, !tbaa !22
  %101 = zext i8 %100 to i32
  %102 = shl i32 1, %101
  %103 = and i32 %102, -2
  %104 = load ptr, ptr %6, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.BrotliEncoderDictionary, ptr %104, i32 0, i32 1
  %106 = load i32, ptr %105, align 8, !tbaa !23
  %107 = mul i32 %103, %106
  store i32 %107, ptr %17, align 4, !tbaa !11
  %108 = load i32, ptr %17, align 4, !tbaa !11
  %109 = load i32, ptr %15, align 4, !tbaa !11
  %110 = add i32 %109, %108
  store i32 %110, ptr %15, align 4, !tbaa !11
  %111 = load i32, ptr %15, align 4, !tbaa !11
  %112 = zext i32 %111 to i64
  %113 = load i32, ptr %13, align 4, !tbaa !11
  %114 = sext i32 %113 to i64
  %115 = load i32, ptr %16, align 4, !tbaa !11
  %116 = zext i32 %115 to i64
  %117 = load ptr, ptr %10, align 8, !tbaa !5
  call void @AddMatch(i64 noundef %112, i64 noundef %114, i64 noundef %116, ptr noundef %117)
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  br label %118

118:                                              ; preds = %82, %76
  br label %119

119:                                              ; preds = %118
  %120 = load i32, ptr %13, align 4, !tbaa !11
  %121 = add nsw i32 %120, 1
  store i32 %121, ptr %13, align 4, !tbaa !11
  br label %73, !llvm.loop !24

122:                                              ; preds = %73
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 152, ptr %12) #3
  br label %123

123:                                              ; preds = %122, %28, %5
  %124 = load i32, ptr %11, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  ret i32 %124
}

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

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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @AddMatch(i64 noundef, i64 noundef, i64 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

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 = { alwaysinline 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !6, i64 104}
!14 = !{!"BrotliEncoderDictionary", !6, i64 0, !12, i64 8, !12, i64 12, !10, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !15, i64 56, !12, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !10, i64 128, !6, i64 136, !10, i64 144, !6, i64 152, !6, i64 160}
!15 = !{!"BrotliTrie", !6, i64 0, !10, i64 8, !10, i64 16, !16, i64 24}
!16 = !{!"BrotliTrieNode", !7, i64 0, !7, i64 1, !7, i64 2, !12, i64 4, !12, i64 8}
!17 = !{!18, !7, i64 4}
!18 = !{!"ContextualEncoderDictionary", !12, i64 0, !7, i64 4, !7, i64 5, !7, i64 72, !10, i64 584, !14, i64 592, !6, i64 760}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!14, !6, i64 0}
!22 = !{!7, !7, i64 0}
!23 = !{!14, !12, i64 8}
!24 = distinct !{!24, !20}


; 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
define hidden i32 @BrotliFindAllStaticDictionaryMatches(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) local_unnamed_addr #0 {
  %6 = alloca [38 x i32], align 16
  %7 = tail call i32 @BrotliFindAllStaticDictionaryMatchesFor(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4)
  %8 = getelementptr inbounds i8, ptr %0, i64 104
  %9 = load ptr, ptr %8, align 8, !tbaa !5
  %.not = icmp eq ptr %9, null
  br i1 %.not, label %54, label %10

10:                                               ; preds = %5
  %11 = getelementptr inbounds i8, ptr %9, i64 4
  %12 = load i8, ptr %11, align 4, !tbaa !14
  %13 = icmp ugt i8 %12, 1
  br i1 %13, label %14, label %54

14:                                               ; preds = %10
  call void @llvm.lifetime.start.p0(i64 152, ptr nonnull %6) #3
  %15 = getelementptr inbounds i8, ptr %9, i64 72
  %16 = load ptr, ptr %15, align 8, !tbaa !16
  %17 = icmp eq ptr %16, %0
  br i1 %17, label %18, label %21

18:                                               ; preds = %14
  %19 = getelementptr inbounds i8, ptr %9, i64 80
  %20 = load ptr, ptr %19, align 8, !tbaa !16
  br label %21

21:                                               ; preds = %18, %14
  %.034 = phi ptr [ %20, %18 ], [ %16, %14 ]
  store <4 x i32> <i32 268435455, i32 268435455, i32 268435455, i32 268435455>, ptr %6, align 16, !tbaa !17
  %22 = getelementptr inbounds i8, ptr %6, i64 16
  store <4 x i32> <i32 268435455, i32 268435455, i32 268435455, i32 268435455>, ptr %22, align 16, !tbaa !17
  %23 = getelementptr inbounds i8, ptr %6, i64 32
  store <4 x i32> <i32 268435455, i32 268435455, i32 268435455, i32 268435455>, ptr %23, align 16, !tbaa !17
  %24 = getelementptr inbounds i8, ptr %6, i64 48
  store <4 x i32> <i32 268435455, i32 268435455, i32 268435455, i32 268435455>, ptr %24, align 16, !tbaa !17
  %25 = getelementptr inbounds i8, ptr %6, i64 64
  store <4 x i32> <i32 268435455, i32 268435455, i32 268435455, i32 268435455>, ptr %25, align 16, !tbaa !17
  %26 = getelementptr inbounds i8, ptr %6, i64 80
  store <4 x i32> <i32 268435455, i32 268435455, i32 268435455, i32 268435455>, ptr %26, align 16, !tbaa !17
  %27 = getelementptr inbounds i8, ptr %6, i64 96
  store <4 x i32> <i32 268435455, i32 268435455, i32 268435455, i32 268435455>, ptr %27, align 16, !tbaa !17
  %28 = getelementptr inbounds i8, ptr %6, i64 112
  store <4 x i32> <i32 268435455, i32 268435455, i32 268435455, i32 268435455>, ptr %28, align 16, !tbaa !17
  %29 = getelementptr inbounds i8, ptr %6, i64 128
  store <4 x i32> <i32 268435455, i32 268435455, i32 268435455, i32 268435455>, ptr %29, align 16, !tbaa !17
  %30 = getelementptr inbounds i8, ptr %6, i64 144
  store i32 268435455, ptr %30, align 16, !tbaa !17
  %31 = getelementptr inbounds i8, ptr %6, i64 148
  store i32 268435455, ptr %31, align 4, !tbaa !17
  %32 = call i32 @BrotliFindAllStaticDictionaryMatchesFor(ptr noundef %.034, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef nonnull %6)
  %33 = getelementptr inbounds i8, ptr %0, i64 8
  br label %34

34:                                               ; preds = %21, %51
  %indvars.iv = phi i64 [ 0, %21 ], [ %indvars.iv.next, %51 ]
  %35 = getelementptr inbounds [38 x i32], ptr %6, i64 0, i64 %indvars.iv
  %36 = load i32, ptr %35, align 4, !tbaa !17
  %.not38 = icmp eq i32 %36, 268435455
  br i1 %.not38, label %51, label %37

37:                                               ; preds = %34
  %38 = lshr i32 %36, 5
  %39 = and i32 %36, 31
  %40 = load ptr, ptr %0, align 8, !tbaa !18
  %41 = zext nneg i32 %39 to i64
  %42 = getelementptr inbounds [32 x i8], ptr %40, i64 0, i64 %41
  %43 = load i8, ptr %42, align 1, !tbaa !19
  %44 = zext nneg i8 %43 to i32
  %45 = shl nuw i32 1, %44
  %46 = and i32 %45, -2
  %47 = load i32, ptr %33, align 8, !tbaa !20
  %48 = mul i32 %46, %47
  %49 = add i32 %48, %38
  %50 = zext i32 %49 to i64
  call void @AddMatch(i64 noundef %50, i64 noundef %indvars.iv, i64 noundef %41, ptr noundef %4)
  br label %51

51:                                               ; preds = %34, %37
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 38
  br i1 %exitcond.not, label %52, label %34, !llvm.loop !21

52:                                               ; preds = %51
  %53 = or i32 %32, %7
  call void @llvm.lifetime.end.p0(i64 152, ptr nonnull %6) #3
  br label %54

54:                                               ; preds = %52, %10, %5
  %.0 = phi i32 [ %53, %52 ], [ %7, %10 ], [ %7, %5 ]
  ret i32 %.0
}

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

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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @AddMatch(i64 noundef, i64 noundef, i64 noundef, ptr 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

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 = { alwaysinline 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, !7, i64 104}
!6 = !{!"BrotliEncoderDictionary", !7, i64 0, !10, i64 8, !10, i64 12, !11, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !12, i64 56, !10, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !11, i64 128, !7, i64 136, !11, i64 144, !7, i64 152, !7, i64 160}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!"BrotliTrie", !7, i64 0, !11, i64 8, !11, i64 16, !13, i64 24}
!13 = !{!"BrotliTrieNode", !8, i64 0, !8, i64 1, !8, i64 2, !10, i64 4, !10, i64 8}
!14 = !{!15, !8, i64 4}
!15 = !{!"ContextualEncoderDictionary", !10, i64 0, !8, i64 4, !8, i64 5, !8, i64 72, !11, i64 584, !6, i64 592, !7, i64 760}
!16 = !{!7, !7, i64 0}
!17 = !{!10, !10, i64 0}
!18 = !{!6, !7, i64 0}
!19 = !{!8, !8, i64 0}
!20 = !{!6, !10, i64 8}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass