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

; 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.jit_State = type { %struct.GCtrace, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i8, i8, %struct.IRType1, i8, %struct.FoldState, ptr, i32, i32, i32, i32, i32, i32, i32, %struct.MRef, [5 x %union.TValue], ptr, i32, i32, i32, i32, ptr, ptr, i32, i32, i8, ptr, i32, i32, ptr, [100 x i16], [255 x i32], [15 x i32], [16 x ptr], [64 x %struct.HotPenalty], i32, i32, [16 x %struct.BPropEntry], i32, %struct.ScEvEntry, ptr, i32, i32, ptr, i32, i32, ptr, ptr, ptr, i64, i64, %union.TValue, ptr, i32, i32 }
%struct.GCtrace = type { %struct.GCRef, i8, i8, i8, i8, i32, %struct.GCRef, ptr, i32, i16, i16, ptr, ptr, %struct.GCRef, %struct.MRef, i32, i32, ptr, i32, i16, i16, i16, i16, i16, i16, i16, i8, i8 }
%struct.GCRef = type { i32 }
%struct.IRType1 = type { i8 }
%struct.FoldState = type { %union.IRIns, %union.IRIns, %union.IRIns }
%union.IRIns = type { %struct.anon.0 }
%struct.anon.0 = type { i32, %struct.IRType1, i8, i8, i8 }
%struct.MRef = type { i32 }
%struct.HotPenalty = type { %struct.MRef, i16, i16 }
%struct.BPropEntry = type { i16, i16, i32 }
%struct.ScEvEntry = type { %struct.MRef, i16, i16, i16, i16, %struct.IRType1, i8 }
%union.TValue = type { i64 }
%struct.SnapShot = type { i16, i16, i8, i8, i8, i8 }

; 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
define hidden void @lj_snap_add(ptr noundef %0) #1 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  %5 = load ptr, ptr %2, align 8, !tbaa !5
  %6 = getelementptr inbounds %struct.jit_State, ptr %5, i32 0, i32 0
  %7 = getelementptr inbounds %struct.GCtrace, ptr %6, i32 0, i32 9
  %8 = load i16, ptr %7, align 4, !tbaa !9
  %9 = zext i16 %8 to i32
  store i32 %9, ptr %3, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  %10 = load ptr, ptr %2, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.jit_State, ptr %10, i32 0, i32 0
  %12 = getelementptr inbounds %struct.GCtrace, ptr %11, i32 0, i32 10
  %13 = load i16, ptr %12, align 2, !tbaa !21
  %14 = zext i16 %13 to i32
  store i32 %14, ptr %4, align 4, !tbaa !20
  %15 = load i32, ptr %3, align 4, !tbaa !20
  %16 = icmp ugt i32 %15, 0
  br i1 %16, label %17, label %34

17:                                               ; preds = %1
  %18 = load ptr, ptr %2, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.jit_State, ptr %18, i32 0, i32 0
  %20 = getelementptr inbounds %struct.GCtrace, ptr %19, i32 0, i32 11
  %21 = load ptr, ptr %20, align 8, !tbaa !22
  %22 = load i32, ptr %3, align 4, !tbaa !20
  %23 = sub i32 %22, 1
  %24 = zext i32 %23 to i64
  %25 = getelementptr inbounds %struct.SnapShot, ptr %21, i64 %24
  %26 = getelementptr inbounds %struct.SnapShot, ptr %25, i32 0, i32 1
  %27 = load i16, ptr %26, align 2, !tbaa !23
  %28 = zext i16 %27 to i32
  %29 = load ptr, ptr %2, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.jit_State, ptr %29, i32 0, i32 0
  %31 = getelementptr inbounds %struct.GCtrace, ptr %30, i32 0, i32 5
  %32 = load i32, ptr %31, align 8, !tbaa !25
  %33 = icmp eq i32 %28, %32
  br i1 %33, label %48, label %34

34:                                               ; preds = %17, %1
  %35 = load ptr, ptr %2, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.jit_State, ptr %35, i32 0, i32 9
  %37 = load i8, ptr %36, align 4, !tbaa !26
  %38 = zext i8 %37 to i32
  %39 = icmp ne i32 %38, 0
  br i1 %39, label %40, label %67

40:                                               ; preds = %34
  %41 = load ptr, ptr %2, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.jit_State, ptr %41, i32 0, i32 11
  %43 = getelementptr inbounds %struct.IRType1, ptr %42, i32 0, i32 0
  %44 = load i8, ptr %43, align 2, !tbaa !27
  %45 = zext i8 %44 to i32
  %46 = and i32 %45, 128
  %47 = icmp ne i32 %46, 0
  br i1 %47, label %67, label %48

48:                                               ; preds = %40, %17
  %49 = load i32, ptr %3, align 4, !tbaa !20
  %50 = icmp eq i32 %49, 1
  br i1 %50, label %51, label %55

51:                                               ; preds = %48
  %52 = load ptr, ptr %2, align 8, !tbaa !5
  call void @lj_ir_set_(ptr noundef %52, i16 noundef zeroext 3072, i16 noundef zeroext 0, i16 noundef zeroext 0)
  %53 = load ptr, ptr %2, align 8, !tbaa !5
  %54 = call i32 @lj_ir_emit(ptr noundef %53)
  br label %68

55:                                               ; preds = %48
  %56 = load ptr, ptr %2, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.jit_State, ptr %56, i32 0, i32 0
  %58 = getelementptr inbounds %struct.GCtrace, ptr %57, i32 0, i32 11
  %59 = load ptr, ptr %58, align 8, !tbaa !22
  %60 = load i32, ptr %3, align 4, !tbaa !20
  %61 = add i32 %60, -1
  store i32 %61, ptr %3, align 4, !tbaa !20
  %62 = zext i32 %61 to i64
  %63 = getelementptr inbounds %struct.SnapShot, ptr %59, i64 %62
  %64 = getelementptr inbounds %struct.SnapShot, ptr %63, i32 0, i32 0
  %65 = load i16, ptr %64, align 2, !tbaa !28
  %66 = zext i16 %65 to i32
  store i32 %66, ptr %4, align 4, !tbaa !20
  br label %78

67:                                               ; preds = %40, %34
  br label %68

68:                                               ; preds = %67, %51
  %69 = load ptr, ptr %2, align 8, !tbaa !5
  %70 = load i32, ptr %3, align 4, !tbaa !20
  %71 = add i32 %70, 1
  call void @lj_snap_grow_buf(ptr noundef %69, i32 noundef %71)
  %72 = load i32, ptr %3, align 4, !tbaa !20
  %73 = add i32 %72, 1
  %74 = trunc i32 %73 to i16
  %75 = load ptr, ptr %2, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.jit_State, ptr %75, i32 0, i32 0
  %77 = getelementptr inbounds %struct.GCtrace, ptr %76, i32 0, i32 9
  store i16 %74, ptr %77, align 4, !tbaa !9
  br label %78

78:                                               ; preds = %68, %55
  %79 = load ptr, ptr %2, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.jit_State, ptr %79, i32 0, i32 9
  store i8 0, ptr %80, align 4, !tbaa !26
  %81 = load ptr, ptr %2, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.jit_State, ptr %81, i32 0, i32 11
  %83 = getelementptr inbounds %struct.IRType1, ptr %82, i32 0, i32 0
  store i8 0, ptr %83, align 2, !tbaa !27
  %84 = load ptr, ptr %2, align 8, !tbaa !5
  %85 = load ptr, ptr %2, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.jit_State, ptr %85, i32 0, i32 0
  %87 = getelementptr inbounds %struct.GCtrace, ptr %86, i32 0, i32 11
  %88 = load ptr, ptr %87, align 8, !tbaa !22
  %89 = load i32, ptr %3, align 4, !tbaa !20
  %90 = zext i32 %89 to i64
  %91 = getelementptr inbounds %struct.SnapShot, ptr %88, i64 %90
  %92 = load i32, ptr %4, align 4, !tbaa !20
  call void @snapshot_stack(ptr noundef %84, ptr noundef %91, i32 noundef %92)
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  ret void
}

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @lj_ir_set_(ptr noundef, i16 noundef zeroext, i16 noundef zeroext, i16 noundef zeroext) #2

declare hidden i32 @lj_ir_emit(ptr noundef) #3

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @lj_snap_grow_buf(ptr noundef, i32 noundef) #2

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

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 = { 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 = { "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 = { 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, !14, i64 28}
!10 = !{!"jit_State", !11, i64 0, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !13, i64 136, !13, i64 140, !13, i64 144, !7, i64 148, !7, i64 149, !16, i64 150, !7, i64 151, !17, i64 152, !6, i64 176, !13, i64 184, !13, i64 188, !13, i64 192, !13, i64 196, !13, i64 200, !13, i64 204, !13, i64 208, !15, i64 212, !7, i64 216, !6, i64 256, !13, i64 264, !13, i64 268, !13, i64 272, !13, i64 276, !6, i64 280, !6, i64 288, !13, i64 296, !13, i64 300, !7, i64 304, !6, i64 312, !13, i64 320, !13, i64 324, !6, i64 328, !7, i64 336, !7, i64 536, !7, i64 1556, !7, i64 1616, !7, i64 1744, !13, i64 2256, !13, i64 2260, !7, i64 2264, !13, i64 2392, !18, i64 2396, !6, i64 2416, !13, i64 2424, !13, i64 2428, !6, i64 2432, !13, i64 2440, !13, i64 2444, !6, i64 2448, !6, i64 2456, !6, i64 2464, !19, i64 2472, !19, i64 2480, !7, i64 2488, !6, i64 2496, !13, i64 2504, !13, i64 2508}
!11 = !{!"GCtrace", !12, i64 0, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7, !13, i64 8, !12, i64 12, !6, i64 16, !13, i64 24, !14, i64 28, !14, i64 30, !6, i64 32, !6, i64 40, !12, i64 48, !15, i64 52, !13, i64 56, !13, i64 60, !6, i64 64, !13, i64 72, !14, i64 76, !14, i64 78, !14, i64 80, !14, i64 82, !14, i64 84, !14, i64 86, !14, i64 88, !7, i64 90, !7, i64 91}
!12 = !{!"GCRef", !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!"short", !7, i64 0}
!15 = !{!"MRef", !13, i64 0}
!16 = !{!"IRType1", !7, i64 0}
!17 = !{!"FoldState", !7, i64 0, !7, i64 8, !7, i64 16}
!18 = !{!"ScEvEntry", !15, i64 0, !14, i64 4, !14, i64 6, !14, i64 8, !14, i64 10, !16, i64 12, !7, i64 13}
!19 = !{!"long", !7, i64 0}
!20 = !{!13, !13, i64 0}
!21 = !{!10, !14, i64 30}
!22 = !{!10, !6, i64 32}
!23 = !{!24, !14, i64 2}
!24 = !{!"SnapShot", !14, i64 0, !14, i64 2, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7}
!25 = !{!10, !13, i64 8}
!26 = !{!10, !7, i64 148}
!27 = !{!10, !7, i64 150}
!28 = !{!24, !14, i64 0}


; 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.SnapShot = type { i16, i16, i8, i8, i8, i8 }

; Function Attrs: nounwind uwtable
define hidden void @lj_snap_add(ptr noundef %0) local_unnamed_addr #0 {
  %2 = getelementptr inbounds i8, ptr %0, i64 28
  %3 = load i16, ptr %2, align 4, !tbaa !5
  %4 = zext i16 %3 to i32
  %5 = getelementptr inbounds i8, ptr %0, i64 30
  %6 = load i16, ptr %5, align 2, !tbaa !19
  %.not = icmp eq i16 %3, 0
  br i1 %.not, label %18, label %7

7:                                                ; preds = %1
  %8 = getelementptr inbounds i8, ptr %0, i64 32
  %9 = load ptr, ptr %8, align 8, !tbaa !20
  %10 = zext i16 %3 to i64
  %11 = getelementptr %struct.SnapShot, ptr %9, i64 %10
  %12 = getelementptr i8, ptr %11, i64 -6
  %13 = load i16, ptr %12, align 2, !tbaa !21
  %14 = zext i16 %13 to i32
  %15 = getelementptr inbounds i8, ptr %0, i64 8
  %16 = load i32, ptr %15, align 8, !tbaa !23
  %17 = icmp eq i32 %16, %14
  br i1 %17, label %24, label %18

18:                                               ; preds = %7, %1
  %19 = getelementptr inbounds i8, ptr %0, i64 148
  %20 = load i8, ptr %19, align 4, !tbaa !24
  %.not24 = icmp eq i8 %20, 0
  br i1 %.not24, label %35, label %21

21:                                               ; preds = %18
  %22 = getelementptr inbounds i8, ptr %0, i64 150
  %23 = load i8, ptr %22, align 2, !tbaa !25
  %.not25 = icmp sgt i8 %23, -1
  br i1 %.not25, label %24, label %35

24:                                               ; preds = %21, %7
  %25 = icmp eq i16 %3, 1
  br i1 %25, label %26, label %28

26:                                               ; preds = %24
  tail call void @lj_ir_set_(ptr noundef nonnull %0, i16 noundef zeroext 3072, i16 noundef zeroext 0, i16 noundef zeroext 0)
  %27 = tail call i32 @lj_ir_emit(ptr noundef nonnull %0) #3
  br label %35

28:                                               ; preds = %24
  %29 = getelementptr inbounds i8, ptr %0, i64 32
  %30 = load ptr, ptr %29, align 8, !tbaa !20
  %31 = add nsw i32 %4, -1
  %32 = zext i32 %31 to i64
  %33 = getelementptr inbounds %struct.SnapShot, ptr %30, i64 %32
  %34 = load i16, ptr %33, align 2, !tbaa !26
  br label %38

35:                                               ; preds = %18, %21, %26
  %36 = add nuw nsw i32 %4, 1
  tail call void @lj_snap_grow_buf(ptr noundef nonnull %0, i32 noundef %36)
  %37 = trunc i32 %36 to i16
  store i16 %37, ptr %2, align 4, !tbaa !5
  %.phi.trans.insert = getelementptr inbounds i8, ptr %0, i64 32
  %.pre = load ptr, ptr %.phi.trans.insert, align 8, !tbaa !20
  %.pre26 = zext i16 %3 to i64
  br label %38

38:                                               ; preds = %35, %28
  %.pre-phi = phi i64 [ %.pre26, %35 ], [ %32, %28 ]
  %39 = phi ptr [ %.pre, %35 ], [ %30, %28 ]
  %.0.in = phi i16 [ %6, %35 ], [ %34, %28 ]
  %.0 = zext i16 %.0.in to i32
  %40 = getelementptr inbounds i8, ptr %0, i64 148
  store i8 0, ptr %40, align 4, !tbaa !24
  %41 = getelementptr inbounds i8, ptr %0, i64 150
  store i8 0, ptr %41, align 2, !tbaa !25
  %42 = getelementptr inbounds %struct.SnapShot, ptr %39, i64 %.pre-phi
  tail call void @snapshot_stack(ptr noundef nonnull %0, ptr noundef %42, i32 noundef %.0)
  ret void
}

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @lj_ir_set_(ptr noundef, i16 noundef zeroext, i16 noundef zeroext, i16 noundef zeroext) local_unnamed_addr #1

declare hidden i32 @lj_ir_emit(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
declare hidden void @snapshot_stack(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #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 = { 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 #2 = { "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, !13, i64 28}
!6 = !{!"jit_State", !7, i64 0, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !9, i64 136, !9, i64 140, !9, i64 144, !10, i64 148, !10, i64 149, !15, i64 150, !10, i64 151, !16, i64 152, !12, i64 176, !9, i64 184, !9, i64 188, !9, i64 192, !9, i64 196, !9, i64 200, !9, i64 204, !9, i64 208, !14, i64 212, !10, i64 216, !12, i64 256, !9, i64 264, !9, i64 268, !9, i64 272, !9, i64 276, !12, i64 280, !12, i64 288, !9, i64 296, !9, i64 300, !10, i64 304, !12, i64 312, !9, i64 320, !9, i64 324, !12, i64 328, !10, i64 336, !10, i64 536, !10, i64 1556, !10, i64 1616, !10, i64 1744, !9, i64 2256, !9, i64 2260, !10, i64 2264, !9, i64 2392, !17, i64 2396, !12, i64 2416, !9, i64 2424, !9, i64 2428, !12, i64 2432, !9, i64 2440, !9, i64 2444, !12, i64 2448, !12, i64 2456, !12, i64 2464, !18, i64 2472, !18, i64 2480, !10, i64 2488, !12, i64 2496, !9, i64 2504, !9, i64 2508}
!7 = !{!"GCtrace", !8, i64 0, !10, i64 4, !10, i64 5, !10, i64 6, !10, i64 7, !9, i64 8, !8, i64 12, !12, i64 16, !9, i64 24, !13, i64 28, !13, i64 30, !12, i64 32, !12, i64 40, !8, i64 48, !14, i64 52, !9, i64 56, !9, i64 60, !12, i64 64, !9, i64 72, !13, i64 76, !13, i64 78, !13, i64 80, !13, i64 82, !13, i64 84, !13, i64 86, !13, i64 88, !10, i64 90, !10, i64 91}
!8 = !{!"GCRef", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!"short", !10, i64 0}
!14 = !{!"MRef", !9, i64 0}
!15 = !{!"IRType1", !10, i64 0}
!16 = !{!"FoldState", !10, i64 0, !10, i64 8, !10, i64 16}
!17 = !{!"ScEvEntry", !14, i64 0, !13, i64 4, !13, i64 6, !13, i64 8, !13, i64 10, !15, i64 12, !10, i64 13}
!18 = !{!"long", !10, i64 0}
!19 = !{!6, !13, i64 30}
!20 = !{!6, !12, i64 32}
!21 = !{!22, !13, i64 2}
!22 = !{!"SnapShot", !13, i64 0, !13, i64 2, !10, i64 4, !10, i64 5, !10, i64 6, !10, i64 7}
!23 = !{!6, !9, i64 8}
!24 = !{!6, !10, i64 148}
!25 = !{!6, !10, i64 150}
!26 = !{!22, !13, i64 0}


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