; LLVM IR from Montimage/mmt-security :: src/lib (expression)

; 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.operation_struct = type { i32, i32, ptr, i64, ptr }
%struct.link_node_struct = type { ptr, ptr, ptr }

@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [7 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @mmt_mem_free(ptr noundef) #1

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

; Function Attrs: nounwind
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ...) #2

; Function Attrs: nounwind uwtable
define dso_local i64 @expr_stringify_operation(ptr noundef %0, ptr noundef %1) #3 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca [10000 x i8], align 16
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  store ptr null, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  store i64 0, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 10000, ptr %10) #4
  %11 = load ptr, ptr %4, align 8, !tbaa !5
  %12 = getelementptr inbounds %struct.operation_struct, ptr %11, i32 0, i32 1
  %13 = load i32, ptr %12, align 4, !tbaa !11
  %14 = call zeroext i1 @_is_comparison_operator(i32 noundef %13)
  br i1 %14, label %15, label %32

15:                                               ; preds = %2
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = call zeroext i1 @_is_string_param(ptr noundef %16)
  br i1 %17, label %18, label %32

18:                                               ; preds = %15
  store ptr @.str.10, ptr %6, align 8, !tbaa !5
  %19 = load i64, ptr %8, align 8, !tbaa !9
  %20 = getelementptr inbounds [10000 x i8], ptr %10, i64 0, i64 %19
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.operation_struct, ptr %21, i32 0, i32 2
  %23 = load ptr, ptr %22, align 8, !tbaa !14
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = call zeroext i1 @_is_string_variable(ptr noundef %24)
  %26 = zext i1 %25 to i64
  %27 = select i1 %25, ptr @.str.12, ptr @.str.13
  %28 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %20, i64 noundef 10000, ptr noundef @.str.11, ptr noundef %23, ptr noundef %27) #4
  %29 = sext i32 %28 to i64
  %30 = load i64, ptr %8, align 8, !tbaa !9
  %31 = add i64 %30, %29
  store i64 %31, ptr %8, align 8, !tbaa !9
  br label %58

32:                                               ; preds = %15, %2
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.operation_struct, ptr %33, i32 0, i32 1
  %35 = load i32, ptr %34, align 4, !tbaa !11
  %36 = icmp eq i32 %35, 13
  br i1 %36, label %37, label %47

37:                                               ; preds = %32
  store ptr @.str.10, ptr %6, align 8, !tbaa !5
  %38 = load i64, ptr %8, align 8, !tbaa !9
  %39 = getelementptr inbounds [10000 x i8], ptr %10, i64 0, i64 %38
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.operation_struct, ptr %40, i32 0, i32 2
  %42 = load ptr, ptr %41, align 8, !tbaa !14
  %43 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %39, i64 noundef 10000, ptr noundef @.str.14, ptr noundef %42) #4
  %44 = sext i32 %43 to i64
  %45 = load i64, ptr %8, align 8, !tbaa !9
  %46 = add i64 %45, %44
  store i64 %46, ptr %8, align 8, !tbaa !9
  br label %57

47:                                               ; preds = %32
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.operation_struct, ptr %48, i32 0, i32 2
  %50 = load ptr, ptr %49, align 8, !tbaa !14
  store ptr %50, ptr %6, align 8, !tbaa !5
  %51 = load i64, ptr %8, align 8, !tbaa !9
  %52 = getelementptr inbounds [10000 x i8], ptr %10, i64 0, i64 %51
  %53 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %52, i64 noundef 10000, ptr noundef @.str.15) #4
  %54 = sext i32 %53 to i64
  %55 = load i64, ptr %8, align 8, !tbaa !9
  %56 = add i64 %55, %54
  store i64 %56, ptr %8, align 8, !tbaa !9
  br label %57

57:                                               ; preds = %47, %37
  br label %58

58:                                               ; preds = %57, %18
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.operation_struct, ptr %59, i32 0, i32 4
  %61 = load ptr, ptr %60, align 8, !tbaa !15
  store ptr %61, ptr %7, align 8, !tbaa !5
  br label %62

62:                                               ; preds = %96, %58
  %63 = load ptr, ptr %7, align 8, !tbaa !5
  %64 = icmp ne ptr %63, null
  br i1 %64, label %65, label %102

65:                                               ; preds = %62
  %66 = load ptr, ptr %7, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.link_node_struct, ptr %66, i32 0, i32 2
  %68 = load ptr, ptr %67, align 8, !tbaa !16
  store ptr %68, ptr %9, align 8, !tbaa !5
  %69 = load ptr, ptr %9, align 8, !tbaa !5
  %70 = call i64 @expr_stringify_expression(ptr noundef %5, ptr noundef %69)
  %71 = load ptr, ptr %7, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.link_node_struct, ptr %71, i32 0, i32 1
  %73 = load ptr, ptr %72, align 8, !tbaa !18
  %74 = icmp eq ptr %73, null
  br i1 %74, label %75, label %85

75:                                               ; preds = %65
  %76 = load i64, ptr %8, align 8, !tbaa !9
  %77 = getelementptr inbounds [10000 x i8], ptr %10, i64 0, i64 %76
  %78 = load i64, ptr %8, align 8, !tbaa !9
  %79 = sub i64 10000, %78
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  %81 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %77, i64 noundef %79, ptr noundef @.str.16, ptr noundef %80) #4
  %82 = sext i32 %81 to i64
  %83 = load i64, ptr %8, align 8, !tbaa !9
  %84 = add i64 %83, %82
  store i64 %84, ptr %8, align 8, !tbaa !9
  br label %96

85:                                               ; preds = %65
  %86 = load i64, ptr %8, align 8, !tbaa !9
  %87 = getelementptr inbounds [10000 x i8], ptr %10, i64 0, i64 %86
  %88 = load i64, ptr %8, align 8, !tbaa !9
  %89 = sub i64 10000, %88
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = load ptr, ptr %6, align 8, !tbaa !5
  %92 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %87, i64 noundef %89, ptr noundef @.str.17, ptr noundef %90, ptr noundef %91) #4
  %93 = sext i32 %92 to i64
  %94 = load i64, ptr %8, align 8, !tbaa !9
  %95 = add i64 %94, %93
  store i64 %95, ptr %8, align 8, !tbaa !9
  br label %96

96:                                               ; preds = %85, %75
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = call i64 @mmt_mem_free(ptr noundef %97)
  %99 = load ptr, ptr %7, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.link_node_struct, ptr %99, i32 0, i32 1
  %101 = load ptr, ptr %100, align 8, !tbaa !18
  store ptr %101, ptr %7, align 8, !tbaa !5
  br label %62, !llvm.loop !19

102:                                              ; preds = %62
  %103 = getelementptr inbounds [10000 x i8], ptr %10, i64 0, i64 0
  %104 = load i64, ptr %8, align 8, !tbaa !9
  %105 = call ptr @mmt_mem_dup(ptr noundef %103, i64 noundef %104)
  %106 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %105, ptr %106, align 8, !tbaa !5
  %107 = load i64, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 10000, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  ret i64 %107
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @_is_comparison_operator(i32 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @_is_string_param(ptr noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @_is_string_variable(ptr noundef) #1

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

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

!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, !13, i64 4}
!12 = !{!"operation_struct", !13, i64 0, !13, i64 4, !6, i64 8, !10, i64 16, !6, i64 24}
!13 = !{!"int", !7, i64 0}
!14 = !{!12, !6, i64 8}
!15 = !{!12, !6, i64 24}
!16 = !{!17, !6, i64 16}
!17 = !{!"link_node_struct", !6, i64 0, !6, i64 8, !6, i64 16}
!18 = !{!17, !6, i64 8}
!19 = distinct !{!19, !20}
!20 = !{!"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"

@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [7 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @mmt_mem_free(ptr noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @mmt_mem_dup(ptr noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @snprintf(ptr noalias nocapture noundef writeonly, i64 noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local noundef i64 @expr_stringify_operation(ptr nocapture noundef writeonly %0, ptr noundef %1) local_unnamed_addr #3 {
  %3 = alloca ptr, align 8
  %4 = alloca [10000 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  store ptr null, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 10000, ptr nonnull %4) #4
  %5 = getelementptr inbounds i8, ptr %1, i64 4
  %6 = load i32, ptr %5, align 4, !tbaa !9
  %7 = tail call zeroext i1 @_is_comparison_operator(i32 noundef %6)
  br i1 %7, label %8, label %16

8:                                                ; preds = %2
  %9 = tail call zeroext i1 @_is_string_param(ptr noundef nonnull %1)
  br i1 %9, label %10, label %16

10:                                               ; preds = %8
  %11 = getelementptr inbounds i8, ptr %1, i64 8
  %12 = load ptr, ptr %11, align 8, !tbaa !13
  %13 = tail call zeroext i1 @_is_string_variable(ptr noundef nonnull %1)
  %14 = select i1 %13, ptr @.str.12, ptr @.str.13
  %15 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %4, i64 noundef 10000, ptr noundef nonnull @.str.11, ptr noundef %12, ptr noundef nonnull %14) #4
  br label %25

16:                                               ; preds = %8, %2
  %17 = load i32, ptr %5, align 4, !tbaa !9
  %18 = icmp eq i32 %17, 13
  %19 = getelementptr inbounds i8, ptr %1, i64 8
  %20 = load ptr, ptr %19, align 8, !tbaa !13
  br i1 %18, label %21, label %23

21:                                               ; preds = %16
  %22 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %4, i64 noundef 10000, ptr noundef nonnull @.str.14, ptr noundef %20) #4
  br label %25

23:                                               ; preds = %16
  %24 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %4, i64 noundef 10000, ptr noundef nonnull @.str.15) #4
  br label %25

25:                                               ; preds = %21, %23, %10
  %.028.in = phi i32 [ %15, %10 ], [ %22, %21 ], [ %24, %23 ]
  %.0 = phi ptr [ @.str.10, %10 ], [ @.str.10, %21 ], [ %20, %23 ]
  %.028 = sext i32 %.028.in to i64
  %26 = getelementptr inbounds i8, ptr %1, i64 24
  %.02930 = load ptr, ptr %26, align 8, !tbaa !5
  %.not31 = icmp eq ptr %.02930, null
  br i1 %.not31, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %25, %40
  %.02933 = phi ptr [ %.029, %40 ], [ %.02930, %25 ]
  %.132 = phi i64 [ %.2, %40 ], [ %.028, %25 ]
  %27 = getelementptr inbounds i8, ptr %.02933, i64 16
  %28 = load ptr, ptr %27, align 8, !tbaa !14
  %29 = call i64 @expr_stringify_expression(ptr noundef nonnull %3, ptr noundef %28)
  %30 = getelementptr inbounds i8, ptr %.02933, i64 8
  %31 = load ptr, ptr %30, align 8, !tbaa !16
  %32 = icmp eq ptr %31, null
  %33 = getelementptr inbounds [10000 x i8], ptr %4, i64 0, i64 %.132
  %34 = sub i64 10000, %.132
  %35 = load ptr, ptr %3, align 8, !tbaa !5
  br i1 %32, label %36, label %38

36:                                               ; preds = %.lr.ph
  %37 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull %33, i64 noundef %34, ptr noundef nonnull @.str.16, ptr noundef %35) #4
  br label %40

38:                                               ; preds = %.lr.ph
  %39 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull %33, i64 noundef %34, ptr noundef nonnull @.str.17, ptr noundef %35, ptr noundef %.0) #4
  br label %40

40:                                               ; preds = %38, %36
  %.pn.in = phi i32 [ %37, %36 ], [ %39, %38 ]
  %.pn = sext i32 %.pn.in to i64
  %.2 = add i64 %.132, %.pn
  %41 = load ptr, ptr %3, align 8, !tbaa !5
  %42 = call i64 @mmt_mem_free(ptr noundef %41)
  %.029 = load ptr, ptr %30, align 8, !tbaa !5
  %.not = icmp eq ptr %.029, null
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !17

._crit_edge:                                      ; preds = %40, %25
  %.1.lcssa = phi i64 [ %.028, %25 ], [ %.2, %40 ]
  %43 = call ptr @mmt_mem_dup(ptr noundef nonnull %4, i64 noundef %.1.lcssa)
  store ptr %43, ptr %0, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 10000, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  ret i64 %.1.lcssa
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @_is_comparison_operator(i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @_is_string_param(ptr noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @_is_string_variable(ptr noundef) local_unnamed_addr #1

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint 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 = { 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 #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 }

!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, !11, i64 4}
!10 = !{!"operation_struct", !11, i64 0, !11, i64 4, !6, i64 8, !12, i64 16, !6, i64 24}
!11 = !{!"int", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !6, i64 8}
!14 = !{!15, !6, i64 16}
!15 = !{!"link_node_struct", !6, i64 0, !6, i64 8, !6, i64 16}
!16 = !{!15, !6, i64 8}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}


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