; LLVM IR from guanzhi/GmSSL :: src (tls_ext)

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

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [13 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [61 x i8], align 1
@__const.tls_process_client_signature_algorithms.shared_algs = external hidden unnamed_addr constant [1 x i32], align 4
@__FUNCTION__.tls_process_client_signature_algorithms = external hidden unnamed_addr constant [40 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [47 x i8], align 1

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

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1

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

declare i32 @tls_length_is_zero(i64 noundef) #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) #3

declare i32 @tls_uint16array_from_bytes(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

declare i32 @tls_uint16_from_bytes(ptr noundef, ptr noundef, ptr noundef) #2

declare ptr @tls_signature_scheme_name(i32 noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @tls_signature_algorithms_ext_to_bytes(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
define dso_local i32 @tls_process_client_signature_algorithms(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #4 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca [1 x i32], align 4
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca i16, align 2
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i64 %1, ptr %7, align 8, !tbaa !9
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 4 @__const.tls_process_client_signature_algorithms.shared_algs, i64 4, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  store i64 0, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %16 = load ptr, ptr %6, align 8, !tbaa !5
  %17 = icmp ne ptr %16, null
  br i1 %17, label %18, label %24

18:                                               ; preds = %4
  %19 = load i64, ptr %7, align 8, !tbaa !9
  %20 = icmp ne i64 %19, 0
  br i1 %20, label %21, label %24

21:                                               ; preds = %18
  %22 = load ptr, ptr %9, align 8, !tbaa !5
  %23 = icmp ne ptr %22, null
  br i1 %23, label %30, label %24

24:                                               ; preds = %21, %18, %4
  br label %25

25:                                               ; preds = %24
  %26 = load ptr, ptr @stderr, align 8, !tbaa !5
  %27 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 330, ptr noundef @__FUNCTION__.tls_process_client_signature_algorithms) #5
  br label %28

28:                                               ; preds = %25
  br label %29

29:                                               ; preds = %28
  store i32 -1, ptr %5, align 4
  store i32 1, ptr %14, align 4
  br label %103

30:                                               ; preds = %21
  %31 = call i32 @tls_uint16array_from_bytes(ptr noundef %12, ptr noundef %13, ptr noundef %6, ptr noundef %7)
  %32 = icmp ne i32 %31, 1
  br i1 %32, label %37, label %33

33:                                               ; preds = %30
  %34 = load i64, ptr %7, align 8, !tbaa !9
  %35 = call i32 @tls_length_is_zero(i64 noundef %34)
  %36 = icmp ne i32 %35, 1
  br i1 %36, label %37, label %43

37:                                               ; preds = %33, %30
  br label %38

38:                                               ; preds = %37
  %39 = load ptr, ptr @stderr, align 8, !tbaa !5
  %40 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 335, ptr noundef @__FUNCTION__.tls_process_client_signature_algorithms) #5
  br label %41

41:                                               ; preds = %38
  br label %42

42:                                               ; preds = %41
  store i32 -1, ptr %5, align 4
  store i32 1, ptr %14, align 4
  br label %103

43:                                               ; preds = %33
  br label %44

44:                                               ; preds = %79, %77, %43
  %45 = load i64, ptr %13, align 8, !tbaa !9
  %46 = icmp ne i64 %45, 0
  br i1 %46, label %47, label %80

47:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 2, ptr %15) #5
  %48 = call i32 @tls_uint16_from_bytes(ptr noundef %15, ptr noundef %12, ptr noundef %13)
  %49 = icmp ne i32 %48, 1
  br i1 %49, label %50, label %56

50:                                               ; preds = %47
  br label %51

51:                                               ; preds = %50
  %52 = load ptr, ptr @stderr, align 8, !tbaa !5
  %53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 341, ptr noundef @__FUNCTION__.tls_process_client_signature_algorithms) #5
  br label %54

54:                                               ; preds = %51
  br label %55

55:                                               ; preds = %54
  store i32 -1, ptr %5, align 4
  store i32 1, ptr %14, align 4
  br label %77

56:                                               ; preds = %47
  %57 = load i16, ptr %15, align 2, !tbaa !11
  %58 = zext i16 %57 to i32
  %59 = call ptr @tls_signature_scheme_name(i32 noundef %58)
  %60 = icmp ne ptr %59, null
  br i1 %60, label %69, label %61

61:                                               ; preds = %56
  br label %62

62:                                               ; preds = %61
  %63 = load ptr, ptr @stderr, align 8, !tbaa !5
  %64 = load i16, ptr %15, align 2, !tbaa !11
  %65 = zext i16 %64 to i32
  %66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 345, ptr noundef @__FUNCTION__.tls_process_client_signature_algorithms, i32 noundef %65) #5
  br label %67

67:                                               ; preds = %62
  br label %68

68:                                               ; preds = %67
  store i32 6, ptr %14, align 4
  br label %77, !llvm.loop !13

69:                                               ; preds = %56
  %70 = load i16, ptr %15, align 2, !tbaa !11
  %71 = zext i16 %70 to i32
  %72 = getelementptr inbounds [1 x i32], ptr %10, i64 0, i64 0
  %73 = load i32, ptr %72, align 4, !tbaa !15
  %74 = icmp eq i32 %71, %73
  br i1 %74, label %75, label %76

75:                                               ; preds = %69
  store i64 1, ptr %11, align 8, !tbaa !9
  store i32 7, ptr %14, align 4
  br label %77

76:                                               ; preds = %69
  store i32 0, ptr %14, align 4
  br label %77

77:                                               ; preds = %76, %75, %68, %55
  call void @llvm.lifetime.end.p0(i64 2, ptr %15) #5
  %78 = load i32, ptr %14, align 4
  switch i32 %78, label %103 [
    i32 0, label %79
    i32 6, label %44
    i32 7, label %80
  ]

79:                                               ; preds = %77
  br label %44, !llvm.loop !13

80:                                               ; preds = %77, %44
  %81 = load i64, ptr %11, align 8, !tbaa !9
  %82 = icmp ne i64 %81, 0
  br i1 %82, label %89, label %83

83:                                               ; preds = %80
  br label %84

84:                                               ; preds = %83
  %85 = load ptr, ptr @stderr, align 8, !tbaa !5
  %86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %85, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 354, ptr noundef @__FUNCTION__.tls_process_client_signature_algorithms) #5
  br label %87

87:                                               ; preds = %84
  br label %88

88:                                               ; preds = %87
  store i32 -1, ptr %5, align 4
  store i32 1, ptr %14, align 4
  br label %103

89:                                               ; preds = %80
  %90 = getelementptr inbounds [1 x i32], ptr %10, i64 0, i64 0
  %91 = load i64, ptr %11, align 8, !tbaa !9
  %92 = load ptr, ptr %8, align 8, !tbaa !5
  %93 = load ptr, ptr %9, align 8, !tbaa !5
  %94 = call i32 @tls_signature_algorithms_ext_to_bytes(ptr noundef %90, i64 noundef %91, ptr noundef %92, ptr noundef %93)
  %95 = icmp ne i32 %94, 1
  br i1 %95, label %96, label %102

96:                                               ; preds = %89
  br label %97

97:                                               ; preds = %96
  %98 = load ptr, ptr @stderr, align 8, !tbaa !5
  %99 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %98, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 358, ptr noundef @__FUNCTION__.tls_process_client_signature_algorithms) #5
  br label %100

100:                                              ; preds = %97
  br label %101

101:                                              ; preds = %100
  store i32 -1, ptr %5, align 4
  store i32 1, ptr %14, align 4
  br label %103

102:                                              ; preds = %89
  store i32 1, ptr %5, align 4
  store i32 1, ptr %14, align 4
  br label %103

103:                                              ; preds = %102, %101, %88, %77, %42, %29
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  %104 = load i32, ptr %5, align 4
  ret i32 %104
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { 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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, 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"

@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [13 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [61 x i8], align 1
@__const.tls_process_client_signature_algorithms.shared_algs = external hidden unnamed_addr constant [1 x i32], align 4
@__FUNCTION__.tls_process_client_signature_algorithms = external hidden unnamed_addr constant [40 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [47 x i8], align 1

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

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

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

declare i32 @tls_length_is_zero(i64 noundef) local_unnamed_addr #2

declare i32 @tls_uint16array_from_bytes(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @tls_uint16_from_bytes(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare ptr @tls_signature_scheme_name(i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @tls_signature_algorithms_ext_to_bytes(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @tls_process_client_signature_algorithms(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #3 {
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca [1 x i32], align 4
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca i16, align 2
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i64 %1, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4
  %11 = load i32, ptr @__const.tls_process_client_signature_algorithms.shared_algs, align 4
  store i32 %11, ptr %7, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #4
  %12 = icmp ne ptr %0, null
  %13 = icmp ne i64 %1, 0
  %or.cond = and i1 %12, %13
  %14 = icmp ne ptr %3, null
  %or.cond3 = and i1 %or.cond, %14
  br i1 %or.cond3, label %18, label %15

15:                                               ; preds = %4
  %16 = load ptr, ptr @stderr, align 8, !tbaa !5
  %17 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 330, ptr noundef nonnull @__FUNCTION__.tls_process_client_signature_algorithms) #5
  br label %51

18:                                               ; preds = %4
  %19 = call i32 @tls_uint16array_from_bytes(ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %5, ptr noundef nonnull %6) #4
  %.not = icmp eq i32 %19, 1
  br i1 %.not, label %20, label %24

20:                                               ; preds = %18
  %21 = load i64, ptr %6, align 8, !tbaa !9
  %22 = call i32 @tls_length_is_zero(i64 noundef %21) #4
  %.not14 = icmp eq i32 %22, 1
  br i1 %.not14, label %.preheader, label %24

.preheader:                                       ; preds = %20
  %23 = load i64, ptr %9, align 8, !tbaa !9
  %.not1525 = icmp eq i64 %23, 0
  br i1 %.not1525, label %.critedge, label %.lr.ph

24:                                               ; preds = %18, %20
  %25 = load ptr, ptr @stderr, align 8, !tbaa !5
  %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 335, ptr noundef nonnull @__FUNCTION__.tls_process_client_signature_algorithms) #5
  br label %51

.lr.ph:                                           ; preds = %.preheader, %44
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %10) #4
  %27 = call i32 @tls_uint16_from_bytes(ptr noundef nonnull %10, ptr noundef nonnull %8, ptr noundef nonnull %9) #4
  %.not16 = icmp eq i32 %27, 1
  br i1 %.not16, label %30, label %.thread

.thread:                                          ; preds = %.lr.ph
  %28 = load ptr, ptr @stderr, align 8, !tbaa !5
  %29 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 341, ptr noundef nonnull @__FUNCTION__.tls_process_client_signature_algorithms) #5
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %10) #4
  br label %51

30:                                               ; preds = %.lr.ph
  %31 = load i16, ptr %10, align 2, !tbaa !11
  %32 = zext i16 %31 to i32
  %33 = call ptr @tls_signature_scheme_name(i32 noundef %32) #4
  %.not17 = icmp eq ptr %33, null
  br i1 %.not17, label %34, label %39

34:                                               ; preds = %30
  %35 = load ptr, ptr @stderr, align 8, !tbaa !5
  %36 = load i16, ptr %10, align 2, !tbaa !11
  %37 = zext i16 %36 to i32
  %38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 345, ptr noundef nonnull @__FUNCTION__.tls_process_client_signature_algorithms, i32 noundef %37) #5
  br label %44, !llvm.loop !13

39:                                               ; preds = %30
  %40 = load i16, ptr %10, align 2, !tbaa !11
  %41 = zext i16 %40 to i32
  %42 = icmp eq i32 %11, %41
  br i1 %42, label %.thread22, label %44

.thread22:                                        ; preds = %39
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %10) #4
  %43 = call i32 @tls_signature_algorithms_ext_to_bytes(ptr noundef nonnull %7, i64 noundef 1, ptr noundef %2, ptr noundef nonnull %3)
  %.not19 = icmp eq i32 %43, 1
  br i1 %.not19, label %51, label %48

44:                                               ; preds = %39, %34
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %10) #4
  %45 = load i64, ptr %9, align 8, !tbaa !9
  %.not15 = icmp eq i64 %45, 0
  br i1 %.not15, label %.critedge, label %.lr.ph

.critedge:                                        ; preds = %44, %.preheader
  %46 = load ptr, ptr @stderr, align 8, !tbaa !5
  %47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %46, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 354, ptr noundef nonnull @__FUNCTION__.tls_process_client_signature_algorithms) #5
  br label %51

48:                                               ; preds = %.thread22
  %49 = load ptr, ptr @stderr, align 8, !tbaa !5
  %50 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %49, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 358, ptr noundef nonnull @__FUNCTION__.tls_process_client_signature_algorithms) #5
  br label %51

51:                                               ; preds = %.thread, %.thread22, %48, %.critedge, %24, %15
  %.212 = phi i32 [ -1, %24 ], [ -1, %48 ], [ -1, %.critedge ], [ -1, %15 ], [ 1, %.thread22 ], [ -1, %.thread ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4
  ret i32 %.212
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 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 #4 = { nounwind }
attributes #5 = { cold 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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: ConstraintEliminationPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass