; LLVM IR from tangjz/acm-icpc :: luogu (1080)

; 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.Big_int = type { i32, [1024 x i32] }
%struct.Node = type { i32, i32 }

@ans = external dso_local global %struct.Big_int, align 4
@sum = external dso_local global %struct.Big_int, align 4
@tmp = external dso_local global %struct.Big_int, align 4
@game = external dso_local global [1001 x %struct.Node], align 16
@n = external dso_local global i32, align 4
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z3cmpRK4NodeS1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #1 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca %struct.Big_int, align 4
  %4 = alloca %struct.Big_int, align 4
  %5 = alloca %struct.Big_int, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  %6 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n)
  %7 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %2)
  call void @llvm.lifetime.start.p0(i64 4100, ptr %3) #7
  %8 = load i32, ptr %2, align 4, !tbaa !5
  call void @_ZN7Big_intC2Ei(ptr noundef nonnull align 4 dereferenceable(4100) %3, i32 noundef %8)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 @sum, ptr align 4 %3, i64 4100, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 4100, ptr %3) #7
  %9 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %2)
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %10

10:                                               ; preds = %24, %0
  %11 = load i32, ptr %2, align 4, !tbaa !5
  %12 = load i32, ptr @n, align 4, !tbaa !5
  %13 = icmp slt i32 %11, %12
  br i1 %13, label %14, label %27

14:                                               ; preds = %10
  %15 = load i32, ptr %2, align 4, !tbaa !5
  %16 = sext i32 %15 to i64
  %17 = getelementptr inbounds [1001 x %struct.Node], ptr @game, i64 0, i64 %16
  %18 = getelementptr inbounds %struct.Node, ptr %17, i32 0, i32 0
  %19 = load i32, ptr %2, align 4, !tbaa !5
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds [1001 x %struct.Node], ptr @game, i64 0, i64 %20
  %22 = getelementptr inbounds %struct.Node, ptr %21, i32 0, i32 1
  %23 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.3, ptr noundef %18, ptr noundef %22)
  br label %24

24:                                               ; preds = %14
  %25 = load i32, ptr %2, align 4, !tbaa !5
  %26 = add nsw i32 %25, 1
  store i32 %26, ptr %2, align 4, !tbaa !5
  br label %10, !llvm.loop !11

27:                                               ; preds = %10
  %28 = load i32, ptr @n, align 4, !tbaa !5
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds %struct.Node, ptr @game, i64 %29
  call void @_ZSt4sortIP4NodePFbRKS0_S3_EEvT_S6_T0_(ptr noundef @game, ptr noundef %30, ptr noundef @_Z3cmpRK4NodeS1_)
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %31

31:                                               ; preds = %47, %27
  %32 = load i32, ptr %2, align 4, !tbaa !5
  %33 = load i32, ptr @n, align 4, !tbaa !5
  %34 = icmp slt i32 %32, %33
  br i1 %34, label %35, label %50

35:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 4100, ptr %4) #7
  %36 = load i32, ptr %2, align 4, !tbaa !5
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [1001 x %struct.Node], ptr @game, i64 0, i64 %37
  %39 = getelementptr inbounds %struct.Node, ptr %38, i32 0, i32 1
  call void @_ZNK7Big_intdvERKi(ptr dead_on_unwind writable sret(%struct.Big_int) align 4 %4, ptr noundef nonnull align 4 dereferenceable(4100) @sum, ptr noundef nonnull align 4 dereferenceable(4) %39)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 @tmp, ptr align 4 %4, i64 4100, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 4100, ptr %4) #7
  %40 = call noundef zeroext i1 @_ZNK7Big_intltERKS_(ptr noundef nonnull align 4 dereferenceable(4100) @ans, ptr noundef nonnull align 4 dereferenceable(4100) @tmp)
  br i1 %40, label %41, label %42

41:                                               ; preds = %35
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 @ans, ptr align 4 @tmp, i64 4100, i1 false), !tbaa.struct !9
  br label %42

42:                                               ; preds = %41, %35
  %43 = load i32, ptr %2, align 4, !tbaa !5
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds [1001 x %struct.Node], ptr @game, i64 0, i64 %44
  %46 = getelementptr inbounds %struct.Node, ptr %45, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 4100, ptr %5) #7
  call void @_ZN7Big_intmLERKi(ptr dead_on_unwind writable sret(%struct.Big_int) align 4 %5, ptr noundef nonnull align 4 dereferenceable(4100) @sum, ptr noundef nonnull align 4 dereferenceable(4) %46)
  call void @llvm.lifetime.end.p0(i64 4100, ptr %5) #7
  br label %47

47:                                               ; preds = %42
  %48 = load i32, ptr %2, align 4, !tbaa !5
  %49 = add nsw i32 %48, 1
  store i32 %49, ptr %2, align 4, !tbaa !5
  br label %31, !llvm.loop !13

50:                                               ; preds = %31
  call void @_ZN7Big_int5PrintEv(ptr noundef nonnull align 4 dereferenceable(4100) @ans)
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  ret i32 0
}

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

declare i32 @__isoc99_scanf(ptr noundef, ...) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7Big_intC2Ei(ptr noundef nonnull align 4 dereferenceable(4100), i32 noundef) unnamed_addr #0 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIP4NodePFbRKS0_S3_EEvT_S6_T0_(ptr noundef, ptr noundef, ptr noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK7Big_intdvERKi(ptr dead_on_unwind noalias writable sret(%struct.Big_int) align 4, ptr noundef nonnull align 4 dereferenceable(4100), ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7Big_intltERKS_(ptr noundef nonnull align 4 dereferenceable(4100), ptr noundef nonnull align 4 dereferenceable(4100)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Big_intmLERKi(ptr dead_on_unwind noalias writable sret(%struct.Big_int) align 4, ptr noundef nonnull align 4 dereferenceable(4100), ptr noundef nonnull align 4 dereferenceable(4)) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Big_int5PrintEv(ptr noundef nonnull align 4 dereferenceable(4100)) #6 align 2

attributes #0 = { mustprogress 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 norecurse 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(argmem: readwrite) }
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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { inlinehint mustprogress 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 #6 = { mustprogress 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 #7 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i64 0, i64 4, !5, i64 4, i64 4096, !10}
!10 = !{!7, !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}


; 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.Big_int = type { i32, [1024 x i32] }
%struct.Node = type { i32, i32 }

@ans = external dso_local global %struct.Big_int, align 4
@sum = external dso_local global %struct.Big_int, align 4
@tmp = external dso_local global %struct.Big_int, align 4
@game = external dso_local global [1001 x %struct.Node], align 16
@n = external dso_local global i32, align 4
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z3cmpRK4NodeS1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 {
  %1 = alloca i32, align 4
  %2 = alloca %struct.Big_int, align 4
  %3 = alloca %struct.Big_int, align 4
  %4 = alloca %struct.Big_int, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #7
  %5 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n)
  %6 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1)
  call void @llvm.lifetime.start.p0(i64 4100, ptr nonnull %2) #7
  %7 = load i32, ptr %1, align 4, !tbaa !5
  call void @_ZN7Big_intC2Ei(ptr noundef nonnull align 4 dereferenceable(4100) %2, i32 noundef %7)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(4100) @sum, ptr noundef nonnull align 4 dereferenceable(4100) %2, i64 4100, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 4100, ptr nonnull %2) #7
  %8 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1)
  store i32 0, ptr %1, align 4, !tbaa !5
  %9 = load i32, ptr @n, align 4, !tbaa !5
  %10 = icmp sgt i32 %9, 0
  br i1 %10, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %0, %.lr.ph
  %storemerge3 = phi i32 [ %16, %.lr.ph ], [ 0, %0 ]
  %11 = sext i32 %storemerge3 to i64
  %12 = getelementptr inbounds [1001 x %struct.Node], ptr @game, i64 0, i64 %11
  %13 = getelementptr inbounds i8, ptr %12, i64 4
  %14 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.3, ptr noundef nonnull %12, ptr noundef nonnull %13)
  %15 = load i32, ptr %1, align 4, !tbaa !5
  %16 = add nsw i32 %15, 1
  store i32 %16, ptr %1, align 4, !tbaa !5
  %17 = load i32, ptr @n, align 4, !tbaa !5
  %18 = icmp slt i32 %16, %17
  br i1 %18, label %.lr.ph, label %._crit_edge, !llvm.loop !11

._crit_edge:                                      ; preds = %.lr.ph, %0
  %.lcssa = phi i32 [ %9, %0 ], [ %17, %.lr.ph ]
  %19 = sext i32 %.lcssa to i64
  %20 = getelementptr inbounds %struct.Node, ptr @game, i64 %19
  call void @_ZSt4sortIP4NodePFbRKS0_S3_EEvT_S6_T0_(ptr noundef nonnull @game, ptr noundef nonnull %20, ptr noundef nonnull @_Z3cmpRK4NodeS1_)
  store i32 0, ptr %1, align 4, !tbaa !5
  %21 = load i32, ptr @n, align 4, !tbaa !5
  %22 = icmp sgt i32 %21, 0
  br i1 %22, label %.lr.ph6, label %._crit_edge7

.lr.ph6:                                          ; preds = %._crit_edge, %27
  %storemerge24 = phi i32 [ %32, %27 ], [ 0, %._crit_edge ]
  call void @llvm.lifetime.start.p0(i64 4100, ptr nonnull %3) #7
  %23 = sext i32 %storemerge24 to i64
  %24 = getelementptr inbounds [1001 x %struct.Node], ptr @game, i64 0, i64 %23, i32 1
  call void @_ZNK7Big_intdvERKi(ptr dead_on_unwind nonnull writable sret(%struct.Big_int) align 4 %3, ptr noundef nonnull align 4 dereferenceable(4100) @sum, ptr noundef nonnull align 4 dereferenceable(4) %24)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(4100) @tmp, ptr noundef nonnull align 4 dereferenceable(4100) %3, i64 4100, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 4100, ptr nonnull %3) #7
  %25 = call noundef zeroext i1 @_ZNK7Big_intltERKS_(ptr noundef nonnull align 4 dereferenceable(4100) @ans, ptr noundef nonnull align 4 dereferenceable(4100) @tmp)
  br i1 %25, label %26, label %27

26:                                               ; preds = %.lr.ph6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(4100) @ans, ptr noundef nonnull align 4 dereferenceable(4100) @tmp, i64 4100, i1 false), !tbaa.struct !9
  br label %27

27:                                               ; preds = %26, %.lr.ph6
  %28 = load i32, ptr %1, align 4, !tbaa !5
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds [1001 x %struct.Node], ptr @game, i64 0, i64 %29
  call void @llvm.lifetime.start.p0(i64 4100, ptr nonnull %4) #7
  call void @_ZN7Big_intmLERKi(ptr dead_on_unwind nonnull writable sret(%struct.Big_int) align 4 %4, ptr noundef nonnull align 4 dereferenceable(4100) @sum, ptr noundef nonnull align 4 dereferenceable(4) %30)
  call void @llvm.lifetime.end.p0(i64 4100, ptr nonnull %4) #7
  %31 = load i32, ptr %1, align 4, !tbaa !5
  %32 = add nsw i32 %31, 1
  store i32 %32, ptr %1, align 4, !tbaa !5
  %33 = load i32, ptr @n, align 4, !tbaa !5
  %34 = icmp slt i32 %32, %33
  br i1 %34, label %.lr.ph6, label %._crit_edge7, !llvm.loop !13

._crit_edge7:                                     ; preds = %27, %._crit_edge
  call void @_ZN7Big_int5PrintEv(ptr noundef nonnull align 4 dereferenceable(4100) @ans)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  ret i32 0
}

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

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7Big_intC2Ei(ptr noundef nonnull align 4 dereferenceable(4100), i32 noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIP4NodePFbRKS0_S3_EEvT_S6_T0_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK7Big_intdvERKi(ptr dead_on_unwind noalias writable sret(%struct.Big_int) align 4, ptr noundef nonnull align 4 dereferenceable(4100), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7Big_intltERKS_(ptr noundef nonnull align 4 dereferenceable(4100), ptr noundef nonnull align 4 dereferenceable(4100)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Big_intmLERKi(ptr dead_on_unwind noalias writable sret(%struct.Big_int) align 4, ptr noundef nonnull align 4 dereferenceable(4100), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Big_int5PrintEv(ptr noundef nonnull align 4 dereferenceable(4100)) local_unnamed_addr #6 align 2

attributes #0 = { mustprogress 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 norecurse 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nofree nounwind "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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { inlinehint mustprogress 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 #6 = { mustprogress 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 #7 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i64 0, i64 4, !5, i64 4, i64 4096, !10}
!10 = !{!7, !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}


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