; 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: 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 dso_local void @BZ2_bz__AssertH__fail(i32 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @BZ2_blockSort(ptr noundef %0) #1 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #2
  %13 = load ptr, ptr %2, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.EState, ptr %13, i32 0, i32 8
  %15 = load ptr, ptr %14, align 8, !tbaa !9
  store ptr %15, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #2
  %16 = load ptr, ptr %2, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.EState, ptr %16, i32 0, i32 9
  %18 = load ptr, ptr %17, align 8, !tbaa !12
  store ptr %18, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #2
  %19 = load ptr, ptr %2, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.EState, ptr %19, i32 0, i32 6
  %21 = load ptr, ptr %20, align 8, !tbaa !13
  store ptr %21, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #2
  %22 = load ptr, ptr %2, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.EState, ptr %22, i32 0, i32 17
  %24 = load i32, ptr %23, align 4, !tbaa !14
  store i32 %24, ptr %6, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #2
  %25 = load ptr, ptr %2, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.EState, ptr %25, i32 0, i32 28
  %27 = load i32, ptr %26, align 8, !tbaa !16
  store i32 %27, ptr %7, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #2
  %28 = load ptr, ptr %2, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.EState, ptr %28, i32 0, i32 12
  %30 = load i32, ptr %29, align 8, !tbaa !17
  store i32 %30, ptr %8, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #2
  %31 = load i32, ptr %6, align 4, !tbaa !15
  %32 = icmp slt i32 %31, 1000
  br i1 %32, label %33, label %43

33:                                               ; preds = %1
  %34 = load ptr, ptr %2, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.EState, ptr %34, i32 0, i32 4
  %36 = load ptr, ptr %35, align 8, !tbaa !18
  %37 = load ptr, ptr %2, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.EState, ptr %37, i32 0, i32 5
  %39 = load ptr, ptr %38, align 8, !tbaa !19
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = load i32, ptr %6, align 4, !tbaa !15
  %42 = load i32, ptr %7, align 4, !tbaa !15
  call void @fallbackSort(ptr noundef %36, ptr noundef %39, ptr noundef %40, i32 noundef %41, i32 noundef %42)
  br label %94

43:                                               ; preds = %1
  %44 = load i32, ptr %6, align 4, !tbaa !15
  %45 = add nsw i32 %44, 34
  store i32 %45, ptr %12, align 4, !tbaa !15
  %46 = load i32, ptr %12, align 4, !tbaa !15
  %47 = and i32 %46, 1
  %48 = icmp ne i32 %47, 0
  br i1 %48, label %49, label %52

49:                                               ; preds = %43
  %50 = load i32, ptr %12, align 4, !tbaa !15
  %51 = add nsw i32 %50, 1
  store i32 %51, ptr %12, align 4, !tbaa !15
  br label %52

52:                                               ; preds = %49, %43
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = load i32, ptr %12, align 4, !tbaa !15
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds i8, ptr %53, i64 %55
  store ptr %56, ptr %9, align 8, !tbaa !5
  %57 = load i32, ptr %8, align 4, !tbaa !15
  %58 = icmp slt i32 %57, 1
  br i1 %58, label %59, label %60

59:                                               ; preds = %52
  store i32 1, ptr %8, align 4, !tbaa !15
  br label %60

60:                                               ; preds = %59, %52
  %61 = load i32, ptr %8, align 4, !tbaa !15
  %62 = icmp sgt i32 %61, 100
  br i1 %62, label %63, label %64

63:                                               ; preds = %60
  store i32 100, ptr %8, align 4, !tbaa !15
  br label %64

64:                                               ; preds = %63, %60
  %65 = load i32, ptr %6, align 4, !tbaa !15
  %66 = load i32, ptr %8, align 4, !tbaa !15
  %67 = sub nsw i32 %66, 1
  %68 = sdiv i32 %67, 3
  %69 = mul nsw i32 %65, %68
  store i32 %69, ptr %11, align 4, !tbaa !15
  %70 = load i32, ptr %11, align 4, !tbaa !15
  store i32 %70, ptr %10, align 4, !tbaa !15
  %71 = load ptr, ptr %3, align 8, !tbaa !5
  %72 = load ptr, ptr %4, align 8, !tbaa !5
  %73 = load ptr, ptr %9, align 8, !tbaa !5
  %74 = load ptr, ptr %5, align 8, !tbaa !5
  %75 = load i32, ptr %6, align 4, !tbaa !15
  %76 = load i32, ptr %7, align 4, !tbaa !15
  call void @mainSort(ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, i32 noundef %75, i32 noundef %76, ptr noundef %10)
  %77 = load i32, ptr %10, align 4, !tbaa !15
  %78 = icmp slt i32 %77, 0
  br i1 %78, label %79, label %93

79:                                               ; preds = %64
  %80 = load i32, ptr %7, align 4, !tbaa !15
  %81 = icmp sge i32 %80, 2
  br i1 %81, label %82, label %83

82:                                               ; preds = %79
  br label %83

83:                                               ; preds = %82, %79
  %84 = load ptr, ptr %2, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.EState, ptr %84, i32 0, i32 4
  %86 = load ptr, ptr %85, align 8, !tbaa !18
  %87 = load ptr, ptr %2, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.EState, ptr %87, i32 0, i32 5
  %89 = load ptr, ptr %88, align 8, !tbaa !19
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = load i32, ptr %6, align 4, !tbaa !15
  %92 = load i32, ptr %7, align 4, !tbaa !15
  call void @fallbackSort(ptr noundef %86, ptr noundef %89, ptr noundef %90, i32 noundef %91, i32 noundef %92)
  br label %93

93:                                               ; preds = %83, %64
  br label %94

94:                                               ; preds = %93, %33
  %95 = load ptr, ptr %2, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.EState, ptr %95, i32 0, i32 7
  store i32 -1, ptr %96, align 8, !tbaa !20
  store i32 0, ptr %12, align 4, !tbaa !15
  br label %97

97:                                               ; preds = %115, %94
  %98 = load i32, ptr %12, align 4, !tbaa !15
  %99 = load ptr, ptr %2, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.EState, ptr %99, i32 0, i32 17
  %101 = load i32, ptr %100, align 4, !tbaa !14
  %102 = icmp slt i32 %98, %101
  br i1 %102, label %103, label %118

103:                                              ; preds = %97
  %104 = load ptr, ptr %3, align 8, !tbaa !5
  %105 = load i32, ptr %12, align 4, !tbaa !15
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds i32, ptr %104, i64 %106
  %108 = load i32, ptr %107, align 4, !tbaa !15
  %109 = icmp eq i32 %108, 0
  br i1 %109, label %110, label %114

110:                                              ; preds = %103
  %111 = load i32, ptr %12, align 4, !tbaa !15
  %112 = load ptr, ptr %2, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.EState, ptr %112, i32 0, i32 7
  store i32 %111, ptr %113, align 8, !tbaa !20
  br label %118

114:                                              ; preds = %103
  br label %115

115:                                              ; preds = %114
  %116 = load i32, ptr %12, align 4, !tbaa !15
  %117 = add nsw i32 %116, 1
  store i32 %117, ptr %12, align 4, !tbaa !15
  br label %97, !llvm.loop !21

118:                                              ; preds = %110, %97
  %119 = load ptr, ptr %2, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.EState, ptr %119, i32 0, i32 7
  %121 = load i32, ptr %120, align 8, !tbaa !20
  %122 = icmp ne i32 %121, -1
  br i1 %122, label %124, label %123

123:                                              ; preds = %118
  call void @BZ2_bz__AssertH__fail(i32 noundef 1003)
  br label %124

124:                                              ; preds = %123, %118
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #2
  ret void
}

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

; Function Attrs: nounwind uwtable
declare hidden void @mainSort(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr 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 = { 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, !6, i64 56}
!10 = !{!"", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !11, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !7, i64 128, !7, i64 384, !11, i64 640, !11, i64 644, !11, i64 648, !11, i64 652, !11, i64 656, !11, i64 660, !11, i64 664, !11, i64 668, !7, i64 672, !7, i64 1704, !7, i64 19706, !7, i64 37708, !7, i64 39256, !7, i64 45448, !7, i64 51640}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !6, i64 64}
!13 = !{!10, !6, i64 40}
!14 = !{!10, !11, i64 108}
!15 = !{!11, !11, i64 0}
!16 = !{!10, !11, i64 656}
!17 = !{!10, !11, i64 88}
!18 = !{!10, !6, i64 24}
!19 = !{!10, !6, i64 32}
!20 = !{!10, !11, i64 48}
!21 = distinct !{!21, !22}
!22 = !{!"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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

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

; Function Attrs: nounwind uwtable
declare dso_local void @BZ2_bz__AssertH__fail(i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @BZ2_blockSort(ptr nocapture noundef %0) local_unnamed_addr #1 {
  %2 = alloca i32, align 4
  %3 = getelementptr inbounds i8, ptr %0, i64 56
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 64
  %6 = load ptr, ptr %5, align 8, !tbaa !11
  %7 = getelementptr inbounds i8, ptr %0, i64 40
  %8 = load ptr, ptr %7, align 8, !tbaa !12
  %9 = getelementptr inbounds i8, ptr %0, i64 108
  %10 = load i32, ptr %9, align 4, !tbaa !13
  %11 = getelementptr inbounds i8, ptr %0, i64 656
  %12 = load i32, ptr %11, align 8, !tbaa !14
  %13 = getelementptr inbounds i8, ptr %0, i64 88
  %14 = load i32, ptr %13, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
  %15 = icmp slt i32 %10, 1000
  br i1 %15, label %16, label %21

16:                                               ; preds = %1
  %17 = getelementptr inbounds i8, ptr %0, i64 24
  %18 = load ptr, ptr %17, align 8, !tbaa !16
  %19 = getelementptr inbounds i8, ptr %0, i64 32
  %20 = load ptr, ptr %19, align 8, !tbaa !17
  tail call void @fallbackSort(ptr noundef %18, ptr noundef %20, ptr noundef %8, i32 noundef %10, i32 noundef %12)
  br label %35

21:                                               ; preds = %1
  %22 = and i32 %10, 1
  %spec.select.v = add nuw nsw i32 %10, 34
  %spec.select = add nuw nsw i32 %spec.select.v, %22
  %23 = zext nneg i32 %spec.select to i64
  %24 = getelementptr inbounds i8, ptr %6, i64 %23
  %spec.store.select = tail call i32 @llvm.smax.i32(i32 %14, i32 1)
  %spec.store.select1 = tail call i32 @llvm.umin.i32(i32 %spec.store.select, i32 100)
  %25 = trunc nuw nsw i32 %spec.store.select1 to i8
  %.lhs.trunc = add nsw i8 %25, -1
  %26 = udiv i8 %.lhs.trunc, 3
  %.zext = zext nneg i8 %26 to i32
  %27 = mul nuw nsw i32 %10, %.zext
  store i32 %27, ptr %2, align 4, !tbaa !18
  call void @mainSort(ptr noundef %4, ptr noundef %6, ptr noundef nonnull %24, ptr noundef %8, i32 noundef %10, i32 noundef %12, ptr noundef nonnull %2)
  %28 = load i32, ptr %2, align 4, !tbaa !18
  %29 = icmp slt i32 %28, 0
  br i1 %29, label %30, label %35

30:                                               ; preds = %21
  %31 = getelementptr inbounds i8, ptr %0, i64 24
  %32 = load ptr, ptr %31, align 8, !tbaa !16
  %33 = getelementptr inbounds i8, ptr %0, i64 32
  %34 = load ptr, ptr %33, align 8, !tbaa !17
  call void @fallbackSort(ptr noundef %32, ptr noundef %34, ptr noundef %8, i32 noundef %10, i32 noundef %12)
  br label %35

35:                                               ; preds = %21, %30, %16
  %36 = getelementptr inbounds i8, ptr %0, i64 48
  store i32 -1, ptr %36, align 8, !tbaa !19
  %37 = load i32, ptr %9, align 4, !tbaa !13
  %38 = icmp sgt i32 %37, 0
  br i1 %38, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %35
  %wide.trip.count = zext nneg i32 %37 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %43
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %43 ]
  %39 = getelementptr inbounds i32, ptr %4, i64 %indvars.iv
  %40 = load i32, ptr %39, align 4, !tbaa !18
  %41 = icmp eq i32 %40, 0
  br i1 %41, label %.thread, label %43

.thread:                                          ; preds = %.lr.ph
  %42 = trunc nuw nsw i64 %indvars.iv to i32
  store i32 %42, ptr %36, align 8, !tbaa !19
  br label %44

43:                                               ; preds = %.lr.ph
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !20

._crit_edge:                                      ; preds = %43, %35
  call void @BZ2_bz__AssertH__fail(i32 noundef 1003)
  br label %44

44:                                               ; preds = %.thread, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
  ret void
}

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

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

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

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

attributes #0 = { mustprogress 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 speculatable willreturn memory(none) }
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 56}
!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, !7, i64 64}
!12 = !{!6, !7, i64 40}
!13 = !{!6, !10, i64 108}
!14 = !{!6, !10, i64 656}
!15 = !{!6, !10, i64 88}
!16 = !{!6, !7, i64 24}
!17 = !{!6, !7, i64 32}
!18 = !{!10, !10, i64 0}
!19 = !{!6, !10, i64 48}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}


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