; LLVM IR from HRI-EU/Rcs :: src/RcsCore (Rcs_kinematics)

; 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._MatNd = type { ptr, i32, i32, i32, i8 }
%struct._RcsGraph = type { ptr, [10 x %struct._RcsBody], i32, i32, ptr, ptr, ptr, ptr, ptr }
%struct._RcsBody = type { double, i8, i32, [3 x double], [3 x double], double, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

; 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 @RcsGraph_bodyPointJacobian(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

declare void @MatNd_mul(ptr noundef, ptr noundef, ptr noundef) #2

declare void @MatNd_destroy(ptr noundef) #2

declare void @MatNd_fromPtr(ptr dead_on_unwind writable sret(%struct._MatNd) align 8, i32 noundef, i32 noundef, ptr noundef) #2

declare void @MatNd_transposeSelf(ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local double @RcsGraph_staticEffort(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #1 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca double, align 8
  %17 = alloca %struct._MatNd, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %18 = load ptr, ptr %6, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct._RcsGraph, ptr %18, i32 0, i32 3
  %20 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %20, ptr %11, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  store ptr null, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  store ptr null, ptr %13, align 8, !tbaa !5
  %21 = load i32, ptr %11, align 4, !tbaa !12
  %22 = mul nsw i32 3, %21
  %23 = icmp sgt i32 %22, 1296
  br i1 %23, label %24, label %27

24:                                               ; preds = %5
  %25 = load i32, ptr %11, align 4, !tbaa !12
  %26 = call ptr @MatNd_create(i32 noundef 3, i32 noundef %25)
  store ptr %26, ptr %12, align 8, !tbaa !5
  br label %62

27:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %28 = load i32, ptr %11, align 4, !tbaa !12
  %29 = mul nsw i32 3, %28
  %30 = icmp eq i32 %29, 0
  br i1 %30, label %31, label %32

31:                                               ; preds = %27
  br label %35

32:                                               ; preds = %27
  %33 = load i32, ptr %11, align 4, !tbaa !12
  %34 = mul nsw i32 3, %33
  br label %35

35:                                               ; preds = %32, %31
  %36 = phi i32 [ 1, %31 ], [ %34, %32 ]
  store i32 %36, ptr %14, align 4, !tbaa !12
  %37 = load i32, ptr %14, align 4, !tbaa !12
  %38 = zext i32 %37 to i64
  %39 = mul i64 %38, 8
  %40 = add i64 24, %39
  %41 = alloca i8, i64 %40, align 16
  store ptr %41, ptr %12, align 8, !tbaa !5
  %42 = load ptr, ptr %12, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct._MatNd, ptr %42, i64 1
  %44 = load ptr, ptr %12, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct._MatNd, ptr %44, i32 0, i32 0
  store ptr %43, ptr %45, align 8, !tbaa !13
  %46 = load ptr, ptr %12, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct._MatNd, ptr %46, i32 0, i32 1
  store i32 3, ptr %47, align 8, !tbaa !16
  %48 = load i32, ptr %11, align 4, !tbaa !12
  %49 = load ptr, ptr %12, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct._MatNd, ptr %49, i32 0, i32 2
  store i32 %48, ptr %50, align 4, !tbaa !17
  %51 = load i32, ptr %14, align 4, !tbaa !12
  %52 = load ptr, ptr %12, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct._MatNd, ptr %52, i32 0, i32 3
  store i32 %51, ptr %53, align 8, !tbaa !18
  %54 = load ptr, ptr %12, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct._MatNd, ptr %54, i32 0, i32 4
  store i8 1, ptr %55, align 4, !tbaa !19
  %56 = load ptr, ptr %12, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct._MatNd, ptr %56, i32 0, i32 0
  %58 = load ptr, ptr %57, align 8, !tbaa !13
  %59 = load i32, ptr %14, align 4, !tbaa !12
  %60 = zext i32 %59 to i64
  %61 = mul i64 %60, 8
  call void @llvm.memset.p0.i64(ptr align 8 %58, i8 0, i64 %61, i1 false)
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %62

62:                                               ; preds = %35, %24
  %63 = load i32, ptr %11, align 4, !tbaa !12
  %64 = mul nsw i32 %63, 1
  %65 = icmp sgt i32 %64, 1296
  br i1 %65, label %66, label %69

66:                                               ; preds = %62
  %67 = load i32, ptr %11, align 4, !tbaa !12
  %68 = call ptr @MatNd_create(i32 noundef %67, i32 noundef 1)
  store ptr %68, ptr %13, align 8, !tbaa !5
  br label %104

69:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %70 = load i32, ptr %11, align 4, !tbaa !12
  %71 = mul nsw i32 %70, 1
  %72 = icmp eq i32 %71, 0
  br i1 %72, label %73, label %74

73:                                               ; preds = %69
  br label %77

74:                                               ; preds = %69
  %75 = load i32, ptr %11, align 4, !tbaa !12
  %76 = mul nsw i32 %75, 1
  br label %77

77:                                               ; preds = %74, %73
  %78 = phi i32 [ 1, %73 ], [ %76, %74 ]
  store i32 %78, ptr %15, align 4, !tbaa !12
  %79 = load i32, ptr %15, align 4, !tbaa !12
  %80 = zext i32 %79 to i64
  %81 = mul i64 %80, 8
  %82 = add i64 24, %81
  %83 = alloca i8, i64 %82, align 16
  store ptr %83, ptr %13, align 8, !tbaa !5
  %84 = load ptr, ptr %13, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct._MatNd, ptr %84, i64 1
  %86 = load ptr, ptr %13, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct._MatNd, ptr %86, i32 0, i32 0
  store ptr %85, ptr %87, align 8, !tbaa !13
  %88 = load i32, ptr %11, align 4, !tbaa !12
  %89 = load ptr, ptr %13, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct._MatNd, ptr %89, i32 0, i32 1
  store i32 %88, ptr %90, align 8, !tbaa !16
  %91 = load ptr, ptr %13, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct._MatNd, ptr %91, i32 0, i32 2
  store i32 1, ptr %92, align 4, !tbaa !17
  %93 = load i32, ptr %15, align 4, !tbaa !12
  %94 = load ptr, ptr %13, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct._MatNd, ptr %94, i32 0, i32 3
  store i32 %93, ptr %95, align 8, !tbaa !18
  %96 = load ptr, ptr %13, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct._MatNd, ptr %96, i32 0, i32 4
  store i8 1, ptr %97, align 4, !tbaa !19
  %98 = load ptr, ptr %13, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct._MatNd, ptr %98, i32 0, i32 0
  %100 = load ptr, ptr %99, align 8, !tbaa !13
  %101 = load i32, ptr %15, align 4, !tbaa !12
  %102 = zext i32 %101 to i64
  %103 = mul i64 %102, 8
  call void @llvm.memset.p0.i64(ptr align 8 %100, i8 0, i64 %103, i1 false)
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %104

104:                                              ; preds = %77, %66
  %105 = load ptr, ptr %6, align 8, !tbaa !5
  %106 = load ptr, ptr %7, align 8, !tbaa !5
  %107 = load ptr, ptr %10, align 8, !tbaa !5
  %108 = load ptr, ptr %12, align 8, !tbaa !5
  call void @RcsGraph_bodyPointJacobian(ptr noundef %105, ptr noundef %106, ptr noundef %107, ptr noundef null, ptr noundef %108)
  %109 = load ptr, ptr %12, align 8, !tbaa !5
  call void @MatNd_transposeSelf(ptr noundef %109)
  %110 = load ptr, ptr %13, align 8, !tbaa !5
  %111 = load ptr, ptr %12, align 8, !tbaa !5
  %112 = load ptr, ptr %8, align 8, !tbaa !5
  call void @MatNd_mul(ptr noundef %110, ptr noundef %111, ptr noundef %112)
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #4
  call void @MatNd_fromPtr(ptr dead_on_unwind writable sret(%struct._MatNd) align 8 %17, i32 noundef 1, i32 noundef 1, ptr noundef %16)
  %113 = load ptr, ptr %13, align 8, !tbaa !5
  call void @MatNd_sqrMulAtBA(ptr noundef %17, ptr noundef %113, ptr noundef null)
  %114 = load ptr, ptr %12, align 8, !tbaa !5
  call void @MatNd_destroy(ptr noundef %114)
  %115 = load ptr, ptr %13, align 8, !tbaa !5
  call void @MatNd_destroy(ptr noundef %115)
  %116 = getelementptr inbounds %struct._MatNd, ptr %17, i32 0, i32 0
  %117 = load ptr, ptr %116, align 8, !tbaa !13
  %118 = getelementptr inbounds double, ptr %117, i64 0
  %119 = load double, ptr %118, align 8, !tbaa !20
  %120 = fmul double 5.000000e-01, %119
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  ret double %120
}

declare void @MatNd_sqrMulAtBA(ptr noundef, ptr noundef, ptr noundef) #2

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 = { "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: write) }
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 1852}
!10 = !{!"_RcsGraph", !6, i64 0, !7, i64 8, !11, i64 1848, !11, i64 1852, !6, i64 1856, !6, i64 1864, !6, i64 1872, !6, i64 1880, !6, i64 1888}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"_MatNd", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !15, i64 20}
!15 = !{!"_Bool", !7, i64 0}
!16 = !{!14, !11, i64 8}
!17 = !{!14, !11, i64 12}
!18 = !{!14, !11, i64 16}
!19 = !{!14, !15, i64 20}
!20 = !{!21, !21, i64 0}
!21 = !{!"double", !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"

%struct._MatNd = type { ptr, i32, i32, i32, i8 }

; 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 @RcsGraph_bodyPointJacobian(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

declare void @MatNd_mul(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @MatNd_destroy(ptr noundef) local_unnamed_addr #2

declare void @MatNd_fromPtr(ptr dead_on_unwind writable sret(%struct._MatNd) align 8, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

declare void @MatNd_transposeSelf(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local double @RcsGraph_staticEffort(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readnone %3, ptr noundef %4) local_unnamed_addr #1 {
  %6 = alloca double, align 8
  %7 = alloca %struct._MatNd, align 8
  %8 = getelementptr inbounds i8, ptr %0, i64 1852
  %9 = load i32, ptr %8, align 4, !tbaa !5
  %10 = icmp sgt i32 %9, 432
  br i1 %10, label %23, label %.thread

.thread:                                          ; preds = %5
  %11 = mul nsw i32 %9, 3
  %12 = icmp eq i32 %9, 0
  %13 = select i1 %12, i32 1, i32 %11
  %14 = zext i32 %13 to i64
  %15 = shl nuw nsw i64 %14, 3
  %16 = add nuw nsw i64 %15, 24
  %17 = alloca i8, i64 %16, align 16
  %18 = getelementptr inbounds i8, ptr %17, i64 24
  store ptr %18, ptr %17, align 16, !tbaa !11
  %19 = getelementptr inbounds i8, ptr %17, i64 8
  store i32 3, ptr %19, align 8, !tbaa !14
  %20 = getelementptr inbounds i8, ptr %17, i64 12
  store i32 %9, ptr %20, align 4, !tbaa !15
  %21 = getelementptr inbounds i8, ptr %17, i64 16
  store i32 %13, ptr %21, align 16, !tbaa !16
  %22 = getelementptr inbounds i8, ptr %17, i64 20
  store i8 1, ptr %22, align 4, !tbaa !17
  call void @llvm.memset.p0.i64(ptr nonnull align 8 %18, i8 0, i64 %15, i1 false)
  br label %28

23:                                               ; preds = %5
  %24 = tail call ptr @MatNd_create(i32 noundef 3, i32 noundef %9) #5
  %25 = icmp ugt i32 %9, 1296
  br i1 %25, label %26, label %28

26:                                               ; preds = %23
  %27 = tail call ptr @MatNd_create(i32 noundef %9, i32 noundef 1) #5
  br label %39

28:                                               ; preds = %.thread, %23
  %.046 = phi ptr [ %17, %.thread ], [ %24, %23 ]
  %29 = call i32 @llvm.umax.i32(i32 %9, i32 1)
  %30 = zext i32 %29 to i64
  %31 = shl nuw nsw i64 %30, 3
  %32 = add nuw nsw i64 %31, 24
  %33 = alloca i8, i64 %32, align 16
  %34 = getelementptr inbounds i8, ptr %33, i64 24
  store ptr %34, ptr %33, align 16, !tbaa !11
  %35 = getelementptr inbounds i8, ptr %33, i64 8
  store i32 %9, ptr %35, align 8, !tbaa !14
  %36 = getelementptr inbounds i8, ptr %33, i64 12
  store i32 1, ptr %36, align 4, !tbaa !15
  %37 = getelementptr inbounds i8, ptr %33, i64 16
  store i32 %29, ptr %37, align 16, !tbaa !16
  %38 = getelementptr inbounds i8, ptr %33, i64 20
  store i8 1, ptr %38, align 4, !tbaa !17
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(1) %34, i8 0, i64 %31, i1 false)
  br label %39

39:                                               ; preds = %28, %26
  %.045 = phi ptr [ %24, %26 ], [ %.046, %28 ]
  %.041 = phi ptr [ %27, %26 ], [ %33, %28 ]
  call void @RcsGraph_bodyPointJacobian(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %4, ptr noundef null, ptr noundef %.045)
  call void @MatNd_transposeSelf(ptr noundef %.045) #5
  call void @MatNd_mul(ptr noundef %.041, ptr noundef %.045, ptr noundef %2) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #5
  call void @MatNd_fromPtr(ptr dead_on_unwind nonnull writable sret(%struct._MatNd) align 8 %7, i32 noundef 1, i32 noundef 1, ptr noundef nonnull %6) #5
  call void @MatNd_sqrMulAtBA(ptr noundef nonnull %7, ptr noundef %.041, ptr noundef null) #5
  call void @MatNd_destroy(ptr noundef %.045) #5
  call void @MatNd_destroy(ptr noundef %.041) #5
  %40 = load ptr, ptr %7, align 8, !tbaa !11
  %41 = load double, ptr %40, align 8, !tbaa !18
  %42 = fmul double %41, 5.000000e-01
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  ret double %42
}

declare void @MatNd_sqrMulAtBA(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

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 = { "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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !10, i64 1852}
!6 = !{!"_RcsGraph", !7, i64 0, !8, i64 8, !10, i64 1848, !10, i64 1852, !7, i64 1856, !7, i64 1864, !7, i64 1872, !7, i64 1880, !7, i64 1888}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"_MatNd", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !13, i64 20}
!13 = !{!"_Bool", !8, i64 0}
!14 = !{!12, !10, i64 8}
!15 = !{!12, !10, i64 12}
!16 = !{!12, !10, i64 16}
!17 = !{!12, !13, i64 20}
!18 = !{!19, !19, i64 0}
!19 = !{!"double", !8, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass