; LLVM IR from paintdream/DontStarveLuaJIT :: src/luajit/src (lj_meta)

; 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.anon.1 = type { %union.anon.2, i32 }
%union.anon.2 = type { %struct.GCRef }
%struct.GCRef = type { i32 }
%struct.GCtab = type { %struct.GCRef, i8, i8, i8, i8, %struct.MRef, %struct.GCRef, %struct.GCRef, ptr, %struct.MRef, i32, i32 }
%struct.MRef = type { i32 }
%struct.lua_State = type { %union.anon }
%union.anon = type { %struct.anon, [320 x i8] }
%struct.anon = type { %struct.GCRef, i8, i8, i8, i8, %struct.MRef, %struct.GCRef, ptr, ptr, %struct.MRef, %struct.MRef, %struct.GCRef, %struct.GCRef, ptr, i32 }
%struct.global_State = type { ptr, i32, i32, ptr, ptr, %struct.GCState, i32, %struct.SBuf, %struct.GCstr, i8, i8, i8, i8, %struct.GCRef, %union.TValue, %union.TValue, %union.TValue, %struct.Node, %struct.GCupval, i32, i32, ptr, ptr, ptr, i32, i32, %struct.GCRef, %struct.MRef, %struct.MRef, [38 x %struct.GCRef] }
%struct.GCState = type { i32, i32, i8, i8, i8, i8, i32, %struct.GCRef, %struct.MRef, %struct.GCRef, %struct.GCRef, %struct.GCRef, %struct.GCRef, i32, i32, i32, i32 }
%struct.SBuf = type { %struct.MRef, %struct.MRef, %struct.MRef, %struct.MRef }
%struct.GCstr = type { %struct.GCRef, i8, i8, i8, i8, i32, i32 }
%union.TValue = type { i64 }
%struct.Node = type { %union.TValue, %union.TValue, %struct.MRef, %struct.MRef }
%struct.GCupval = type { %struct.GCRef, i8, i8, i8, i8, %union.anon.0, %struct.MRef, i32 }
%union.anon.0 = type { %union.TValue }

; 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: nounwind uwtable
declare hidden ptr @lj_meta_cache(ptr noundef, i32 noundef, ptr noundef) #1

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

; Function Attrs: nounwind uwtable
define hidden ptr @lj_meta_tget(ptr noundef %0, ptr noundef %1, ptr noundef %2) #1 {
  %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 ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %13

13:                                               ; preds = %126, %3
  %14 = load i32, ptr %8, align 4, !tbaa !9
  %15 = icmp slt i32 %14, 100
  br i1 %15, label %16, label %129

16:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %17 = load ptr, ptr %6, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.anon.1, ptr %17, i32 0, i32 1
  %19 = load i32, ptr %18, align 4, !tbaa !11
  %20 = icmp eq i32 %19, -12
  %21 = xor i1 %20, true
  %22 = xor i1 %21, true
  %23 = zext i1 %22 to i32
  %24 = sext i32 %23 to i64
  %25 = call i64 @llvm.expect.i64(i64 %24, i64 1)
  %26 = icmp ne i64 %25, 0
  br i1 %26, label %27, label %96

27:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.anon.1, ptr %28, i32 0, i32 0
  %30 = getelementptr inbounds %struct.GCRef, ptr %29, i32 0, i32 0
  %31 = load i32, ptr %30, align 8, !tbaa !11
  %32 = zext i32 %31 to i64
  %33 = inttoptr i64 %32 to ptr
  store ptr %33, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = load ptr, ptr %10, align 8, !tbaa !5
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  %37 = call ptr @lj_tab_get(ptr noundef %34, ptr noundef %35, ptr noundef %36)
  store ptr %37, ptr %11, align 8, !tbaa !5
  %38 = load ptr, ptr %11, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.anon.1, ptr %38, i32 0, i32 1
  %40 = load i32, ptr %39, align 4, !tbaa !11
  %41 = icmp eq i32 %40, -1
  br i1 %41, label %42, label %90

42:                                               ; preds = %27
  %43 = load ptr, ptr %10, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.GCtab, ptr %43, i32 0, i32 7
  %45 = getelementptr inbounds %struct.GCRef, ptr %44, i32 0, i32 0
  %46 = load i32, ptr %45, align 8, !tbaa !12
  %47 = zext i32 %46 to i64
  %48 = inttoptr i64 %47 to ptr
  %49 = icmp eq ptr %48, null
  br i1 %49, label %50, label %51

50:                                               ; preds = %42
  br label %87

51:                                               ; preds = %42
  %52 = load ptr, ptr %10, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.GCtab, ptr %52, i32 0, i32 7
  %54 = getelementptr inbounds %struct.GCRef, ptr %53, i32 0, i32 0
  %55 = load i32, ptr %54, align 8, !tbaa !12
  %56 = zext i32 %55 to i64
  %57 = inttoptr i64 %56 to ptr
  %58 = getelementptr inbounds %struct.GCtab, ptr %57, i32 0, i32 3
  %59 = load i8, ptr %58, align 2, !tbaa !11
  %60 = zext i8 %59 to i32
  %61 = and i32 %60, 1
  %62 = icmp ne i32 %61, 0
  br i1 %62, label %63, label %64

63:                                               ; preds = %51
  br label %85

64:                                               ; preds = %51
  %65 = load ptr, ptr %10, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.GCtab, ptr %65, i32 0, i32 7
  %67 = getelementptr inbounds %struct.GCRef, ptr %66, i32 0, i32 0
  %68 = load i32, ptr %67, align 8, !tbaa !12
  %69 = zext i32 %68 to i64
  %70 = inttoptr i64 %69 to ptr
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.lua_State, ptr %71, i32 0, i32 0
  %73 = getelementptr inbounds %struct.anon, ptr %72, i32 0, i32 5
  %74 = getelementptr inbounds %struct.MRef, ptr %73, i32 0, i32 0
  %75 = load i32, ptr %74, align 8, !tbaa !11
  %76 = zext i32 %75 to i64
  %77 = inttoptr i64 %76 to ptr
  %78 = getelementptr inbounds %struct.global_State, ptr %77, i32 0, i32 29
  %79 = getelementptr inbounds [38 x %struct.GCRef], ptr %78, i64 0, i64 0
  %80 = getelementptr inbounds %struct.GCRef, ptr %79, i32 0, i32 0
  %81 = load i32, ptr %80, align 4, !tbaa !16
  %82 = zext i32 %81 to i64
  %83 = inttoptr i64 %82 to ptr
  %84 = call ptr @lj_meta_cache(ptr noundef %70, i32 noundef 0, ptr noundef %83)
  br label %85

85:                                               ; preds = %64, %63
  %86 = phi ptr [ null, %63 ], [ %84, %64 ]
  br label %87

87:                                               ; preds = %85, %50
  %88 = phi ptr [ null, %50 ], [ %86, %85 ]
  store ptr %88, ptr %9, align 8, !tbaa !5
  %89 = icmp ne ptr %88, null
  br i1 %89, label %92, label %90

90:                                               ; preds = %87, %27
  %91 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %91, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %93

92:                                               ; preds = %87
  store i32 0, ptr %12, align 4
  br label %93

93:                                               ; preds = %92, %90
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  %94 = load i32, ptr %12, align 4
  switch i32 %94, label %123 [
    i32 0, label %95
  ]

95:                                               ; preds = %93
  br label %107

96:                                               ; preds = %16
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = load ptr, ptr %6, align 8, !tbaa !5
  %99 = call ptr @lj_meta_lookup(ptr noundef %97, ptr noundef %98, i32 noundef 0)
  store ptr %99, ptr %9, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.anon.1, ptr %99, i32 0, i32 1
  %101 = load i32, ptr %100, align 4, !tbaa !11
  %102 = icmp eq i32 %101, -1
  br i1 %102, label %103, label %106

103:                                              ; preds = %96
  %104 = load ptr, ptr %5, align 8, !tbaa !5
  %105 = load ptr, ptr %6, align 8, !tbaa !5
  call void @lj_err_optype(ptr noundef %104, ptr noundef %105, i32 noundef 403) #6
  unreachable

106:                                              ; preds = %96
  br label %107

107:                                              ; preds = %106, %95
  %108 = load ptr, ptr %9, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.anon.1, ptr %108, i32 0, i32 1
  %110 = load i32, ptr %109, align 4, !tbaa !11
  %111 = icmp eq i32 %110, -9
  br i1 %111, label %112, label %121

112:                                              ; preds = %107
  %113 = load ptr, ptr %5, align 8, !tbaa !5
  %114 = load ptr, ptr %9, align 8, !tbaa !5
  %115 = load ptr, ptr %6, align 8, !tbaa !5
  %116 = load ptr, ptr %7, align 8, !tbaa !5
  %117 = call ptr @mmcall(ptr noundef %113, ptr noundef @lj_cont_ra, ptr noundef %114, ptr noundef %115, ptr noundef %116)
  %118 = load ptr, ptr %5, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.lua_State, ptr %118, i32 0, i32 0
  %120 = getelementptr inbounds %struct.anon, ptr %119, i32 0, i32 8
  store ptr %117, ptr %120, align 8, !tbaa !11
  store ptr null, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %123

121:                                              ; preds = %107
  %122 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %122, ptr %6, align 8, !tbaa !5
  store i32 0, ptr %12, align 4
  br label %123

123:                                              ; preds = %121, %112, %93
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  %124 = load i32, ptr %12, align 4
  switch i32 %124, label %131 [
    i32 0, label %125
  ]

125:                                              ; preds = %123
  br label %126

126:                                              ; preds = %125
  %127 = load i32, ptr %8, align 4, !tbaa !9
  %128 = add nsw i32 %127, 1
  store i32 %128, ptr %8, align 4, !tbaa !9
  br label %13, !llvm.loop !17

129:                                              ; preds = %13
  %130 = load ptr, ptr %5, align 8, !tbaa !5
  call void @lj_err_msg(ptr noundef %130, i32 noundef 364) #6
  unreachable

131:                                              ; preds = %123
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  %132 = load ptr, ptr %4, align 8
  ret ptr %132
}

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

declare hidden ptr @lj_tab_get(ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: noreturn
declare hidden void @lj_err_optype(ptr noundef, ptr noundef, i32 noundef) #4

; Function Attrs: nounwind uwtable
declare hidden ptr @mmcall(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

declare hidden void @lj_cont_ra() #3

; Function Attrs: noreturn
declare hidden void @lj_err_msg(ptr noundef, i32 noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 willreturn memory(none) }
attributes #3 = { "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 = { noreturn "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 #5 = { nounwind }
attributes #6 = { noreturn }

!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 = !{!7, !7, i64 0}
!12 = !{!13, !10, i64 16}
!13 = !{!"GCtab", !14, i64 0, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7, !15, i64 8, !14, i64 12, !14, i64 16, !6, i64 24, !15, i64 32, !10, i64 36, !10, i64 40}
!14 = !{!"GCRef", !10, i64 0}
!15 = !{!"MRef", !10, i64 0}
!16 = !{!14, !10, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}


; 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 hidden ptr @lj_meta_cache(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define hidden ptr @lj_meta_tget(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
  %4 = getelementptr inbounds i8, ptr %0, i64 8
  %.phi.trans.insert = getelementptr inbounds i8, ptr %1, i64 4
  %.pre = load i32, ptr %.phi.trans.insert, align 4, !tbaa !5
  br label %7

5:                                                ; preds = %43
  %6 = add nuw nsw i32 %.03657, 1
  %exitcond.not = icmp eq i32 %6, 100
  br i1 %exitcond.not, label %49, label %7, !llvm.loop !8

7:                                                ; preds = %3, %5
  %8 = phi i32 [ %.pre, %3 ], [ %44, %5 ]
  %.03058 = phi ptr [ %1, %3 ], [ %.335, %5 ]
  %.03657 = phi i32 [ 0, %3 ], [ %6, %5 ]
  %9 = icmp eq i32 %8, -12
  br i1 %9, label %10, label %37, !prof !10

10:                                               ; preds = %7
  %11 = load i32, ptr %.03058, align 8, !tbaa !5
  %12 = zext i32 %11 to i64
  %13 = inttoptr i64 %12 to ptr
  %14 = tail call ptr @lj_tab_get(ptr noundef %0, ptr noundef %13, ptr noundef %2) #3
  %15 = getelementptr inbounds i8, ptr %14, i64 4
  %16 = load i32, ptr %15, align 4, !tbaa !5
  %17 = icmp eq i32 %16, -1
  br i1 %17, label %18, label %.thread43

18:                                               ; preds = %10
  %19 = getelementptr inbounds i8, ptr %13, i64 16
  %20 = load i32, ptr %19, align 8, !tbaa !11
  %21 = zext i32 %20 to i64
  %22 = inttoptr i64 %21 to ptr
  %23 = icmp eq i32 %20, 0
  br i1 %23, label %.thread43, label %24

24:                                               ; preds = %18
  %25 = getelementptr inbounds i8, ptr %22, i64 6
  %26 = load i8, ptr %25, align 2, !tbaa !5
  %27 = and i8 %26, 1
  %.not = icmp eq i8 %27, 0
  br i1 %.not, label %28, label %.thread43

28:                                               ; preds = %24
  %29 = load i32, ptr %4, align 8, !tbaa !5
  %30 = zext i32 %29 to i64
  %31 = inttoptr i64 %30 to ptr
  %32 = getelementptr inbounds i8, ptr %31, i64 260
  %33 = load i32, ptr %32, align 4, !tbaa !17
  %34 = zext i32 %33 to i64
  %35 = inttoptr i64 %34 to ptr
  %36 = tail call ptr @lj_meta_cache(ptr noundef nonnull %22, i32 noundef 0, ptr noundef %35)
  %.not40 = icmp eq ptr %36, null
  br i1 %.not40, label %.thread43, label %._crit_edge

._crit_edge:                                      ; preds = %28
  %.phi.trans.insert63 = getelementptr inbounds i8, ptr %36, i64 4
  %.pre64 = load i32, ptr %.phi.trans.insert63, align 4, !tbaa !5
  br label %43

37:                                               ; preds = %7
  %38 = tail call ptr @lj_meta_lookup(ptr noundef %0, ptr noundef nonnull %.03058, i32 noundef 0)
  %39 = getelementptr inbounds i8, ptr %38, i64 4
  %40 = load i32, ptr %39, align 4, !tbaa !5
  %41 = icmp eq i32 %40, -1
  br i1 %41, label %42, label %43

42:                                               ; preds = %37
  tail call void @lj_err_optype(ptr noundef %0, ptr noundef nonnull %.03058, i32 noundef 403) #4
  unreachable

43:                                               ; preds = %._crit_edge, %37
  %44 = phi i32 [ %40, %37 ], [ %.pre64, %._crit_edge ]
  %.335 = phi ptr [ %38, %37 ], [ %36, %._crit_edge ]
  %45 = icmp eq i32 %44, -9
  br i1 %45, label %46, label %5

46:                                               ; preds = %43
  %47 = tail call ptr @mmcall(ptr noundef %0, ptr noundef nonnull @lj_cont_ra, ptr noundef nonnull %.335, ptr noundef nonnull %.03058, ptr noundef %2)
  %48 = getelementptr inbounds i8, ptr %0, i64 24
  store ptr %47, ptr %48, align 8, !tbaa !5
  br label %.thread43

49:                                               ; preds = %5
  tail call void @lj_err_msg(ptr noundef %0, i32 noundef 364) #4
  unreachable

.thread43:                                        ; preds = %24, %18, %10, %28, %46
  %.3.ph = phi ptr [ null, %46 ], [ %14, %28 ], [ %14, %10 ], [ %14, %18 ], [ %14, %24 ]
  ret ptr %.3.ph
}

declare hidden ptr @lj_tab_get(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: noreturn
declare hidden void @lj_err_optype(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

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

declare hidden void @lj_cont_ra() #1

; Function Attrs: noreturn
declare hidden void @lj_err_msg(ptr noundef, i32 noundef) local_unnamed_addr #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 = { "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 = { noreturn "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 }
attributes #4 = { noreturn 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/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!11 = !{!12, !14, i64 16}
!12 = !{!"GCtab", !13, i64 0, !6, i64 4, !6, i64 5, !6, i64 6, !6, i64 7, !15, i64 8, !13, i64 12, !13, i64 16, !16, i64 24, !15, i64 32, !14, i64 36, !14, i64 40}
!13 = !{!"GCRef", !14, i64 0}
!14 = !{!"int", !6, i64 0}
!15 = !{!"MRef", !14, i64 0}
!16 = !{!"any pointer", !6, i64 0}
!17 = !{!13, !14, i64 0}


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