; LLVM IR from humz2k/sugaryc :: ext/bdwgc/extra (gc)

; 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._GC_arrays = type { i64, i64, i64, ptr, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i64, i64, i64, ptr, ptr, i64, i32, i64, i64, i64, %struct.dl_hashtbl_s, %struct.dl_hashtbl_s, %struct.fnlz_roots_s, i32, ptr, i64, i64, i32, i64, i64, i64, ptr, [64 x ptr], [8 x i8], [64 x ptr], [129 x ptr], [129 x ptr], [129 x ptr], [2049 x i64], [129 x ptr], [4096 x i8], [4096 x i64], [4096 x i64], ptr, [2048 x %struct.roots], [512 x %struct.exclusion], [2048 x ptr] }
%struct.dl_hashtbl_s = type { ptr, i64, i32 }
%struct.fnlz_roots_s = type { ptr, ptr }
%struct.roots = type { ptr, ptr, ptr, i32 }
%struct.exclusion = type { ptr, ptr }
%struct.bi = type { [1024 x ptr], ptr, ptr, i64, ptr }
%struct.GC_hblk_s = type { [4096 x i8] }
%struct.hblkhdr = type { ptr, ptr, ptr, i8, i8, i16, i64, i64, ptr, i64, [5 x i64] }

@GC_arrays = external dso_local global %struct._GC_arrays, align 8
@GC_is_initialized = external hidden global i32, align 4

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #1

; Function Attrs: nounwind uwtable
declare hidden ptr @GC_find_header(ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local ptr @GC_base(ptr noundef %0) #2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  %13 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %13, ptr %4, align 8, !tbaa !5
  %14 = load i32, ptr @GC_is_initialized, align 4, !tbaa !9
  %15 = sext i32 %14 to i64
  %16 = call i64 @llvm.expect.i64(i64 %15, i64 1)
  %17 = icmp ne i64 %16, 0
  br i1 %17, label %19, label %18

18:                                               ; preds = %1
  store ptr null, ptr %2, align 8
  store i32 1, ptr %8, align 4
  br label %125

19:                                               ; preds = %1
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = ptrtoint ptr %20 to i64
  %22 = and i64 %21, -4096
  %23 = inttoptr i64 %22 to ptr
  store ptr %23, ptr %5, align 8, !tbaa !5
  br label %24

24:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = ptrtoint ptr %25 to i64
  %27 = lshr i64 %26, 22
  store i64 %27, ptr %9, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  %28 = load i64, ptr %9, align 8, !tbaa !11
  %29 = and i64 %28, 2047
  %30 = getelementptr inbounds [2048 x ptr], ptr getelementptr inbounds (%struct._GC_arrays, ptr @GC_arrays, i32 0, i32 61), i64 0, i64 %29
  %31 = load ptr, ptr %30, align 8, !tbaa !5
  store ptr %31, ptr %10, align 8, !tbaa !5
  br label %32

32:                                               ; preds = %44, %24
  %33 = load ptr, ptr %10, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.bi, ptr %33, i32 0, i32 3
  %35 = load i64, ptr %34, align 8, !tbaa !13
  %36 = load i64, ptr %9, align 8, !tbaa !11
  %37 = icmp ne i64 %35, %36
  br i1 %37, label %38, label %42

38:                                               ; preds = %32
  %39 = load ptr, ptr %10, align 8, !tbaa !5
  %40 = load ptr, ptr getelementptr inbounds (%struct._GC_arrays, ptr @GC_arrays, i32 0, i32 28), align 8, !tbaa !15
  %41 = icmp ne ptr %39, %40
  br label %42

42:                                               ; preds = %38, %32
  %43 = phi i1 [ false, %32 ], [ %41, %38 ]
  br i1 %43, label %44, label %48

44:                                               ; preds = %42
  %45 = load ptr, ptr %10, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.bi, ptr %45, i32 0, i32 4
  %47 = load ptr, ptr %46, align 8, !tbaa !19
  store ptr %47, ptr %10, align 8, !tbaa !5
  br label %32, !llvm.loop !20

48:                                               ; preds = %42
  %49 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %49, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  br label %50

50:                                               ; preds = %48
  br label %51

51:                                               ; preds = %50
  %52 = load ptr, ptr %6, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.bi, ptr %52, i32 0, i32 0
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = ptrtoint ptr %54 to i64
  %56 = lshr i64 %55, 12
  %57 = and i64 %56, 1023
  %58 = getelementptr inbounds [1024 x ptr], ptr %53, i64 0, i64 %57
  %59 = load ptr, ptr %58, align 8, !tbaa !5
  store ptr %59, ptr %7, align 8, !tbaa !5
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = icmp eq ptr null, %60
  br i1 %61, label %62, label %63

62:                                               ; preds = %51
  store ptr null, ptr %2, align 8
  store i32 1, ptr %8, align 4
  br label %125

63:                                               ; preds = %51
  br label %64

64:                                               ; preds = %68, %63
  %65 = load ptr, ptr %7, align 8, !tbaa !5
  %66 = ptrtoint ptr %65 to i64
  %67 = icmp ule i64 %66, 4095
  br i1 %67, label %68, label %77

68:                                               ; preds = %64
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  %71 = ptrtoint ptr %70 to i64
  %72 = sub i64 0, %71
  %73 = getelementptr inbounds %struct.GC_hblk_s, ptr %69, i64 %72
  store ptr %73, ptr %5, align 8, !tbaa !5
  %74 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %74, ptr %4, align 8, !tbaa !5
  %75 = load ptr, ptr %5, align 8, !tbaa !5
  %76 = call ptr @GC_find_header(ptr noundef %75)
  store ptr %76, ptr %7, align 8, !tbaa !5
  br label %64, !llvm.loop !22

77:                                               ; preds = %64
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.hblkhdr, ptr %78, i32 0, i32 4
  %80 = load i8, ptr %79, align 1, !tbaa !23
  %81 = zext i8 %80 to i32
  %82 = and i32 %81, 4
  %83 = icmp ne i32 %82, 0
  br i1 %83, label %84, label %85

84:                                               ; preds = %77
  store ptr null, ptr %2, align 8
  store i32 1, ptr %8, align 4
  br label %125

85:                                               ; preds = %77
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = ptrtoint ptr %86 to i64
  %88 = and i64 %87, -8
  %89 = inttoptr i64 %88 to ptr
  store ptr %89, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.hblkhdr, ptr %90, i32 0, i32 6
  %92 = load i64, ptr %91, align 8, !tbaa !26
  store i64 %92, ptr %11, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %93 = load ptr, ptr %4, align 8, !tbaa !5
  %94 = ptrtoint ptr %93 to i64
  %95 = and i64 %94, 4095
  %96 = load i64, ptr %11, align 8, !tbaa !11
  %97 = urem i64 %95, %96
  %98 = load ptr, ptr %4, align 8, !tbaa !5
  %99 = sub i64 0, %97
  %100 = getelementptr inbounds i8, ptr %98, i64 %99
  store ptr %100, ptr %4, align 8, !tbaa !5
  %101 = load ptr, ptr %4, align 8, !tbaa !5
  %102 = load i64, ptr %11, align 8, !tbaa !11
  %103 = getelementptr inbounds i8, ptr %101, i64 %102
  store ptr %103, ptr %12, align 8, !tbaa !5
  %104 = load ptr, ptr %12, align 8, !tbaa !5
  %105 = ptrtoint ptr %104 to i64
  %106 = load ptr, ptr %5, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.GC_hblk_s, ptr %106, i64 1
  %108 = ptrtoint ptr %107 to i64
  %109 = icmp ugt i64 %105, %108
  br i1 %109, label %110, label %113

110:                                              ; preds = %85
  %111 = load i64, ptr %11, align 8, !tbaa !11
  %112 = icmp ule i64 %111, 4096
  br i1 %112, label %119, label %113

113:                                              ; preds = %110, %85
  %114 = load ptr, ptr %3, align 8, !tbaa !5
  %115 = ptrtoint ptr %114 to i64
  %116 = load ptr, ptr %12, align 8, !tbaa !5
  %117 = ptrtoint ptr %116 to i64
  %118 = icmp uge i64 %115, %117
  br i1 %118, label %119, label %120

119:                                              ; preds = %113, %110
  store ptr null, ptr %2, align 8
  store i32 1, ptr %8, align 4
  br label %121

120:                                              ; preds = %113
  store i32 0, ptr %8, align 4
  br label %121

121:                                              ; preds = %120, %119
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  %122 = load i32, ptr %8, align 4
  switch i32 %122, label %125 [
    i32 0, label %123
  ]

123:                                              ; preds = %121
  %124 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %124, ptr %2, align 8
  store i32 1, ptr %8, align 4
  br label %125

125:                                              ; preds = %123, %121, %84, %62, %18
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  %126 = load ptr, ptr %2, align 8
  ret ptr %126
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #2 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !12, i64 8208}
!14 = !{!"bi", !7, i64 0, !6, i64 8192, !6, i64 8200, !12, i64 8208, !6, i64 8216}
!15 = !{!16, !6, i64 216}
!16 = !{!"_GC_arrays", !12, i64 0, !12, i64 8, !12, i64 16, !6, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !10, i64 176, !10, i64 180, !10, i64 184, !12, i64 192, !12, i64 200, !12, i64 208, !6, i64 216, !6, i64 224, !12, i64 232, !10, i64 240, !12, i64 248, !12, i64 256, !12, i64 264, !17, i64 272, !17, i64 296, !18, i64 320, !10, i64 336, !6, i64 344, !12, i64 352, !12, i64 360, !10, i64 368, !12, i64 376, !12, i64 384, !12, i64 392, !6, i64 400, !7, i64 408, !7, i64 920, !7, i64 928, !7, i64 1440, !7, i64 2472, !7, i64 3504, !7, i64 4536, !7, i64 20928, !7, i64 21960, !7, i64 26056, !7, i64 58824, !6, i64 91592, !7, i64 91600, !7, i64 157136, !7, i64 165328}
!17 = !{!"dl_hashtbl_s", !6, i64 0, !12, i64 8, !10, i64 16}
!18 = !{!"fnlz_roots_s", !6, i64 0, !6, i64 8}
!19 = !{!14, !6, i64 8216}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = !{!24, !7, i64 25}
!24 = !{!"hblkhdr", !6, i64 0, !6, i64 8, !6, i64 16, !7, i64 24, !7, i64 25, !25, i64 26, !12, i64 32, !12, i64 40, !6, i64 48, !12, i64 56, !7, i64 64}
!25 = !{!"short", !7, i64 0}
!26 = !{!24, !12, i64 32}


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

%struct._GC_arrays = type { i64, i64, i64, ptr, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i64, i64, i64, ptr, ptr, i64, i32, i64, i64, i64, %struct.dl_hashtbl_s, %struct.dl_hashtbl_s, %struct.fnlz_roots_s, i32, ptr, i64, i64, i32, i64, i64, i64, ptr, [64 x ptr], [8 x i8], [64 x ptr], [129 x ptr], [129 x ptr], [129 x ptr], [2049 x i64], [129 x ptr], [4096 x i8], [4096 x i64], [4096 x i64], ptr, [2048 x %struct.roots], [512 x %struct.exclusion], [2048 x ptr] }
%struct.dl_hashtbl_s = type { ptr, i64, i32 }
%struct.fnlz_roots_s = type { ptr, ptr }
%struct.roots = type { ptr, ptr, ptr, i32 }
%struct.exclusion = type { ptr, ptr }
%struct.GC_hblk_s = type { [4096 x i8] }

@GC_arrays = external dso_local local_unnamed_addr global %struct._GC_arrays, align 8
@GC_is_initialized = external hidden local_unnamed_addr global i32, align 4

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

; Function Attrs: nounwind uwtable
define dso_local ptr @GC_base(ptr noundef %0) local_unnamed_addr #0 {
  %2 = load i32, ptr @GC_is_initialized, align 4, !tbaa !5
  %.not = icmp eq i32 %2, 0
  br i1 %.not, label %47, label %3, !prof !9

3:                                                ; preds = %1
  %4 = ptrtoint ptr %0 to i64
  %5 = and i64 %4, -4096
  %6 = lshr i64 %4, 22
  %7 = and i64 %6, 2047
  %8 = getelementptr inbounds [2048 x ptr], ptr getelementptr inbounds (i8, ptr @GC_arrays, i64 165328), i64 0, i64 %7
  %9 = load ptr, ptr getelementptr inbounds (i8, ptr @GC_arrays, i64 216), align 8
  br label %10

10:                                               ; preds = %10, %3
  %.034.in = phi ptr [ %8, %3 ], [ %16, %10 ]
  %.034 = load ptr, ptr %.034.in, align 8, !tbaa !10
  %11 = getelementptr inbounds i8, ptr %.034, i64 8208
  %12 = load i64, ptr %11, align 8, !tbaa !12
  %13 = icmp ne i64 %12, %6
  %14 = icmp ne ptr %.034, %9
  %15 = select i1 %13, i1 %14, i1 false
  %16 = getelementptr inbounds i8, ptr %.034, i64 8216
  br i1 %15, label %10, label %17, !llvm.loop !15

17:                                               ; preds = %10
  %18 = lshr i64 %4, 12
  %19 = and i64 %18, 1023
  %20 = getelementptr inbounds [1024 x ptr], ptr %.034, i64 0, i64 %19
  %21 = load ptr, ptr %20, align 8, !tbaa !10
  %22 = icmp eq ptr %21, null
  br i1 %22, label %47, label %.preheader

.preheader:                                       ; preds = %17
  %23 = inttoptr i64 %5 to ptr
  %24 = icmp ult ptr %21, inttoptr (i64 4096 to ptr)
  br i1 %24, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader, %.lr.ph
  %.03547 = phi ptr [ %27, %.lr.ph ], [ %23, %.preheader ]
  %.03746 = phi ptr [ %28, %.lr.ph ], [ %21, %.preheader ]
  %25 = ptrtoint ptr %.03746 to i64
  %26 = sub nsw i64 0, %25
  %27 = getelementptr inbounds %struct.GC_hblk_s, ptr %.03547, i64 %26
  %28 = tail call ptr @GC_find_header(ptr noundef %27)
  %29 = icmp ult ptr %28, inttoptr (i64 4096 to ptr)
  br i1 %29, label %.lr.ph, label %._crit_edge, !llvm.loop !17

._crit_edge:                                      ; preds = %.lr.ph, %.preheader
  %.037.lcssa = phi ptr [ %21, %.preheader ], [ %28, %.lr.ph ]
  %.035.lcssa = phi ptr [ %23, %.preheader ], [ %27, %.lr.ph ]
  %.033.lcssa = phi ptr [ %0, %.preheader ], [ %27, %.lr.ph ]
  %30 = getelementptr inbounds i8, ptr %.037.lcssa, i64 25
  %31 = load i8, ptr %30, align 1, !tbaa !18
  %32 = and i8 %31, 4
  %.not39 = icmp eq i8 %32, 0
  br i1 %.not39, label %33, label %47

33:                                               ; preds = %._crit_edge
  %34 = ptrtoint ptr %.033.lcssa to i64
  %35 = and i64 %34, -8
  %36 = inttoptr i64 %35 to ptr
  %37 = getelementptr inbounds i8, ptr %.037.lcssa, i64 32
  %38 = load i64, ptr %37, align 8, !tbaa !21
  %39 = and i64 %34, 4088
  %40 = urem i64 %39, %38
  %41 = sub nsw i64 0, %40
  %42 = getelementptr inbounds i8, ptr %36, i64 %41
  %43 = getelementptr inbounds i8, ptr %42, i64 %38
  %44 = getelementptr inbounds i8, ptr %.035.lcssa, i64 4096
  %45 = icmp ule ptr %43, %44
  %46 = icmp ugt i64 %38, 4096
  %or.cond.not45 = or i1 %46, %45
  %.not40 = icmp ugt ptr %43, %0
  %or.cond41 = and i1 %.not40, %or.cond.not45
  %spec.select = select i1 %or.cond41, ptr %42, ptr null
  br label %47

47:                                               ; preds = %33, %._crit_edge, %17, %1
  %.1 = phi ptr [ null, %1 ], [ null, %17 ], [ null, %._crit_edge ], [ %spec.select, %33 ]
  ret ptr %.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" }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !14, i64 8208}
!13 = !{!"bi", !7, i64 0, !11, i64 8192, !11, i64 8200, !14, i64 8208, !11, i64 8216}
!14 = !{!"long", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = !{!19, !7, i64 25}
!19 = !{!"hblkhdr", !11, i64 0, !11, i64 8, !11, i64 16, !7, i64 24, !7, i64 25, !20, i64 26, !14, i64 32, !14, i64 40, !11, i64 48, !14, i64 56, !7, i64 64}
!20 = !{!"short", !7, i64 0}
!21 = !{!19, !14, i64 32}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LowerExpectIntrinsicPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass