; LLVM IR from pms67/HadesFCS :: Communication/UAVDataLink (UAVDataLink)

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

@UAVDataLink_pack.SEQUENCE = external hidden global i8, align 1

; Function Attrs: nounwind uwtable
define dso_local zeroext i8 @UAVDataLink_pack(i8 noundef zeroext %0, i8 noundef zeroext %1, i8 noundef zeroext %2, ptr noundef %3, ptr noundef %4) #0 {
  %6 = alloca i8, align 1
  %7 = alloca i8, align 1
  %8 = alloca i8, align 1
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i8, align 1
  %12 = alloca i8, align 1
  %13 = alloca ptr, align 8
  %14 = alloca i64, align 8
  %15 = alloca i8, align 1
  %16 = alloca i8, align 1
  store i8 %0, ptr %6, align 1, !tbaa !5
  store i8 %1, ptr %7, align 1, !tbaa !5
  store i8 %2, ptr %8, align 1, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !8
  store ptr %4, ptr %10, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #3
  %17 = load i8, ptr %8, align 1, !tbaa !5
  %18 = zext i8 %17 to i32
  %19 = add nsw i32 5, %18
  %20 = trunc i32 %19 to i8
  store i8 %20, ptr %12, align 1, !tbaa !5
  %21 = load i8, ptr %12, align 1, !tbaa !5
  %22 = zext i8 %21 to i64
  %23 = call ptr @llvm.stacksave.p0()
  store ptr %23, ptr %13, align 8
  %24 = alloca i8, i64 %22, align 16
  store i64 %22, ptr %14, align 8
  %25 = load i8, ptr @UAVDataLink_pack.SEQUENCE, align 1, !tbaa !5
  %26 = getelementptr inbounds i8, ptr %24, i64 0
  store i8 %25, ptr %26, align 16, !tbaa !5
  %27 = load i8, ptr %6, align 1, !tbaa !5
  %28 = getelementptr inbounds i8, ptr %24, i64 1
  store i8 %27, ptr %28, align 1, !tbaa !5
  %29 = load i8, ptr %7, align 1, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %24, i64 2
  store i8 %29, ptr %30, align 2, !tbaa !5
  %31 = load i8, ptr %8, align 1, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %24, i64 3
  store i8 %31, ptr %32, align 1, !tbaa !5
  store i8 0, ptr %11, align 1, !tbaa !5
  br label %33

33:                                               ; preds = %50, %5
  %34 = load i8, ptr %11, align 1, !tbaa !5
  %35 = zext i8 %34 to i32
  %36 = load i8, ptr %8, align 1, !tbaa !5
  %37 = zext i8 %36 to i32
  %38 = icmp slt i32 %35, %37
  br i1 %38, label %39, label %53

39:                                               ; preds = %33
  %40 = load ptr, ptr %9, align 8, !tbaa !8
  %41 = load i8, ptr %11, align 1, !tbaa !5
  %42 = zext i8 %41 to i64
  %43 = getelementptr inbounds i8, ptr %40, i64 %42
  %44 = load i8, ptr %43, align 1, !tbaa !5
  %45 = load i8, ptr %11, align 1, !tbaa !5
  %46 = zext i8 %45 to i32
  %47 = add nsw i32 4, %46
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds i8, ptr %24, i64 %48
  store i8 %44, ptr %49, align 1, !tbaa !5
  br label %50

50:                                               ; preds = %39
  %51 = load i8, ptr %11, align 1, !tbaa !5
  %52 = add i8 %51, 1
  store i8 %52, ptr %11, align 1, !tbaa !5
  br label %33, !llvm.loop !10

53:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #3
  store i8 0, ptr %15, align 1, !tbaa !5
  store i8 0, ptr %11, align 1, !tbaa !5
  br label %54

54:                                               ; preds = %71, %53
  %55 = load i8, ptr %11, align 1, !tbaa !5
  %56 = zext i8 %55 to i32
  %57 = load i8, ptr %8, align 1, !tbaa !5
  %58 = zext i8 %57 to i32
  %59 = icmp slt i32 %56, %58
  br i1 %59, label %60, label %74

60:                                               ; preds = %54
  %61 = load ptr, ptr %9, align 8, !tbaa !8
  %62 = load i8, ptr %11, align 1, !tbaa !5
  %63 = zext i8 %62 to i64
  %64 = getelementptr inbounds i8, ptr %61, i64 %63
  %65 = load i8, ptr %64, align 1, !tbaa !5
  %66 = zext i8 %65 to i32
  %67 = load i8, ptr %15, align 1, !tbaa !5
  %68 = zext i8 %67 to i32
  %69 = xor i32 %68, %66
  %70 = trunc i32 %69 to i8
  store i8 %70, ptr %15, align 1, !tbaa !5
  br label %71

71:                                               ; preds = %60
  %72 = load i8, ptr %11, align 1, !tbaa !5
  %73 = add i8 %72, 1
  store i8 %73, ptr %11, align 1, !tbaa !5
  br label %54, !llvm.loop !12

74:                                               ; preds = %54
  %75 = load i8, ptr %15, align 1, !tbaa !5
  %76 = load i8, ptr %12, align 1, !tbaa !5
  %77 = zext i8 %76 to i32
  %78 = sub nsw i32 %77, 1
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds i8, ptr %24, i64 %79
  store i8 %75, ptr %80, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #3
  %81 = load i8, ptr %12, align 1, !tbaa !5
  %82 = load ptr, ptr %10, align 8, !tbaa !8
  %83 = call zeroext i8 @UAVDataLink_encodeCOBS(ptr noundef %24, i8 noundef zeroext %81, ptr noundef %82)
  store i8 %83, ptr %16, align 1, !tbaa !5
  %84 = load i8, ptr @UAVDataLink_pack.SEQUENCE, align 1, !tbaa !5
  %85 = zext i8 %84 to i32
  %86 = icmp eq i32 %85, 255
  br i1 %86, label %87, label %88

87:                                               ; preds = %74
  store i8 1, ptr @UAVDataLink_pack.SEQUENCE, align 1, !tbaa !5
  br label %91

88:                                               ; preds = %74
  %89 = load i8, ptr @UAVDataLink_pack.SEQUENCE, align 1, !tbaa !5
  %90 = add i8 %89, 1
  store i8 %90, ptr @UAVDataLink_pack.SEQUENCE, align 1, !tbaa !5
  br label %91

91:                                               ; preds = %88, %87
  %92 = load i8, ptr %16, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #3
  %93 = load ptr, ptr %13, align 8
  call void @llvm.stackrestore.p0(ptr %93)
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #3
  ret i8 %92
}

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2

; Function Attrs: nounwind uwtable
declare dso_local zeroext i8 @UAVDataLink_encodeCOBS(ptr noundef, i8 noundef zeroext, ptr noundef) #0

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #2

attributes #0 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
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, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"any pointer", !6, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}


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

@UAVDataLink_pack.SEQUENCE = external hidden local_unnamed_addr global i8, align 1

; Function Attrs: nounwind uwtable
define dso_local zeroext i8 @UAVDataLink_pack(i8 noundef zeroext %0, i8 noundef zeroext %1, i8 noundef zeroext %2, ptr nocapture noundef readonly %3, ptr noundef %4) local_unnamed_addr #0 {
  %6 = add i8 %2, 5
  %7 = zext i8 %6 to i64
  %8 = alloca i8, i64 %7, align 16
  %9 = load i8, ptr @UAVDataLink_pack.SEQUENCE, align 1, !tbaa !5
  store i8 %9, ptr %8, align 16, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %8, i64 1
  store i8 %0, ptr %10, align 1, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %8, i64 2
  store i8 %1, ptr %11, align 2, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %8, i64 3
  store i8 %2, ptr %12, align 1, !tbaa !5
  %.not = icmp eq i8 %2, 0
  br i1 %.not, label %._crit_edge, label %iter.check

iter.check:                                       ; preds = %5
  %invariant.gep = getelementptr i8, ptr %8, i64 4
  %13 = zext i8 %2 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %invariant.gep, ptr align 1 %3, i64 %13, i1 false), !tbaa !5
  %wide.trip.count = zext i8 %2 to i64
  %min.iters.check = icmp ult i8 %2, 8
  br i1 %min.iters.check, label %.lr.ph28.preheader, label %vector.main.loop.iter.check

vector.main.loop.iter.check:                      ; preds = %iter.check
  %min.iters.check32 = icmp ult i8 %2, 32
  br i1 %min.iters.check32, label %vec.epilog.ph, label %vector.ph

vector.ph:                                        ; preds = %vector.main.loop.iter.check
  %n.vec = and i64 %wide.trip.count, 224
  %14 = getelementptr inbounds i8, ptr %3, i64 16
  %wide.load = load <16 x i8>, ptr %3, align 1, !tbaa !5
  %wide.load34 = load <16 x i8>, ptr %14, align 1, !tbaa !5
  %15 = icmp eq i64 %n.vec, 32
  br i1 %15, label %middle.block, label %vector.body.1, !llvm.loop !8

vector.body.1:                                    ; preds = %vector.ph
  %16 = getelementptr inbounds i8, ptr %3, i64 32
  %17 = getelementptr inbounds i8, ptr %3, i64 48
  %wide.load.1 = load <16 x i8>, ptr %16, align 1, !tbaa !5
  %wide.load34.1 = load <16 x i8>, ptr %17, align 1, !tbaa !5
  %18 = xor <16 x i8> %wide.load.1, %wide.load
  %19 = xor <16 x i8> %wide.load34.1, %wide.load34
  %20 = icmp eq i64 %n.vec, 64
  br i1 %20, label %middle.block, label %vector.body.2, !llvm.loop !8

vector.body.2:                                    ; preds = %vector.body.1
  %21 = getelementptr inbounds i8, ptr %3, i64 64
  %22 = getelementptr inbounds i8, ptr %3, i64 80
  %wide.load.2 = load <16 x i8>, ptr %21, align 1, !tbaa !5
  %wide.load34.2 = load <16 x i8>, ptr %22, align 1, !tbaa !5
  %23 = xor <16 x i8> %wide.load.2, %18
  %24 = xor <16 x i8> %wide.load34.2, %19
  %25 = icmp eq i64 %n.vec, 96
  br i1 %25, label %middle.block, label %vector.body.3, !llvm.loop !8

vector.body.3:                                    ; preds = %vector.body.2
  %26 = getelementptr inbounds i8, ptr %3, i64 96
  %27 = getelementptr inbounds i8, ptr %3, i64 112
  %wide.load.3 = load <16 x i8>, ptr %26, align 1, !tbaa !5
  %wide.load34.3 = load <16 x i8>, ptr %27, align 1, !tbaa !5
  %28 = xor <16 x i8> %wide.load.3, %23
  %29 = xor <16 x i8> %wide.load34.3, %24
  %30 = icmp eq i64 %n.vec, 128
  br i1 %30, label %middle.block, label %vector.body.4, !llvm.loop !8

vector.body.4:                                    ; preds = %vector.body.3
  %31 = getelementptr inbounds i8, ptr %3, i64 128
  %32 = getelementptr inbounds i8, ptr %3, i64 144
  %wide.load.4 = load <16 x i8>, ptr %31, align 1, !tbaa !5
  %wide.load34.4 = load <16 x i8>, ptr %32, align 1, !tbaa !5
  %33 = xor <16 x i8> %wide.load.4, %28
  %34 = xor <16 x i8> %wide.load34.4, %29
  %35 = icmp eq i64 %n.vec, 160
  br i1 %35, label %middle.block, label %vector.body.5, !llvm.loop !8

vector.body.5:                                    ; preds = %vector.body.4
  %36 = getelementptr inbounds i8, ptr %3, i64 160
  %37 = getelementptr inbounds i8, ptr %3, i64 176
  %wide.load.5 = load <16 x i8>, ptr %36, align 1, !tbaa !5
  %wide.load34.5 = load <16 x i8>, ptr %37, align 1, !tbaa !5
  %38 = xor <16 x i8> %wide.load.5, %33
  %39 = xor <16 x i8> %wide.load34.5, %34
  %40 = icmp eq i64 %n.vec, 192
  br i1 %40, label %middle.block, label %vector.body.6, !llvm.loop !8

vector.body.6:                                    ; preds = %vector.body.5
  %41 = getelementptr inbounds i8, ptr %3, i64 192
  %42 = getelementptr inbounds i8, ptr %3, i64 208
  %wide.load.6 = load <16 x i8>, ptr %41, align 1, !tbaa !5
  %wide.load34.6 = load <16 x i8>, ptr %42, align 1, !tbaa !5
  %43 = xor <16 x i8> %wide.load.6, %38
  %44 = xor <16 x i8> %wide.load34.6, %39
  br label %middle.block

middle.block:                                     ; preds = %vector.body.6, %vector.body.5, %vector.body.4, %vector.body.3, %vector.body.2, %vector.body.1, %vector.ph
  %.lcssa45 = phi <16 x i8> [ %wide.load, %vector.ph ], [ %18, %vector.body.1 ], [ %23, %vector.body.2 ], [ %28, %vector.body.3 ], [ %33, %vector.body.4 ], [ %38, %vector.body.5 ], [ %43, %vector.body.6 ]
  %.lcssa44 = phi <16 x i8> [ %wide.load34, %vector.ph ], [ %19, %vector.body.1 ], [ %24, %vector.body.2 ], [ %29, %vector.body.3 ], [ %34, %vector.body.4 ], [ %39, %vector.body.5 ], [ %44, %vector.body.6 ]
  %bin.rdx = xor <16 x i8> %.lcssa44, %.lcssa45
  %45 = tail call i8 @llvm.vector.reduce.xor.v16i8(<16 x i8> %bin.rdx)
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %._crit_edge, label %vec.epilog.iter.check

vec.epilog.iter.check:                            ; preds = %middle.block
  %n.vec.remaining = and i64 %wide.trip.count, 24
  %min.epilog.iters.check = icmp eq i64 %n.vec.remaining, 0
  br i1 %min.epilog.iters.check, label %.lr.ph28.preheader, label %vec.epilog.ph

vec.epilog.ph:                                    ; preds = %vector.main.loop.iter.check, %vec.epilog.iter.check
  %bc.merge.rdx = phi i8 [ %45, %vec.epilog.iter.check ], [ 0, %vector.main.loop.iter.check ]
  %vec.epilog.resume.val = phi i64 [ %n.vec, %vec.epilog.iter.check ], [ 0, %vector.main.loop.iter.check ]
  %n.vec36 = and i64 %wide.trip.count, 248
  %46 = insertelement <8 x i8> <i8 poison, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0>, i8 %bc.merge.rdx, i64 0
  br label %vec.epilog.vector.body

vec.epilog.vector.body:                           ; preds = %vec.epilog.vector.body, %vec.epilog.ph
  %index37 = phi i64 [ %vec.epilog.resume.val, %vec.epilog.ph ], [ %index.next40, %vec.epilog.vector.body ]
  %vec.phi38 = phi <8 x i8> [ %46, %vec.epilog.ph ], [ %48, %vec.epilog.vector.body ]
  %47 = getelementptr inbounds i8, ptr %3, i64 %index37
  %wide.load39 = load <8 x i8>, ptr %47, align 1, !tbaa !5
  %48 = xor <8 x i8> %wide.load39, %vec.phi38
  %index.next40 = add nuw i64 %index37, 8
  %49 = icmp eq i64 %index.next40, %n.vec36
  br i1 %49, label %vec.epilog.middle.block, label %vec.epilog.vector.body, !llvm.loop !12

vec.epilog.middle.block:                          ; preds = %vec.epilog.vector.body
  %50 = tail call i8 @llvm.vector.reduce.xor.v8i8(<8 x i8> %48)
  %cmp.n41 = icmp eq i64 %n.vec36, %wide.trip.count
  br i1 %cmp.n41, label %._crit_edge, label %.lr.ph28.preheader

.lr.ph28.preheader:                               ; preds = %vec.epilog.middle.block, %iter.check, %vec.epilog.iter.check
  %indvars.iv.ph = phi i64 [ 0, %iter.check ], [ %n.vec, %vec.epilog.iter.check ], [ %n.vec36, %vec.epilog.middle.block ]
  %.02226.ph = phi i8 [ 0, %iter.check ], [ %45, %vec.epilog.iter.check ], [ %50, %vec.epilog.middle.block ]
  br label %.lr.ph28

.lr.ph28:                                         ; preds = %.lr.ph28.preheader, %.lr.ph28
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph28 ], [ %indvars.iv.ph, %.lr.ph28.preheader ]
  %.02226 = phi i8 [ %53, %.lr.ph28 ], [ %.02226.ph, %.lr.ph28.preheader ]
  %51 = getelementptr inbounds i8, ptr %3, i64 %indvars.iv
  %52 = load i8, ptr %51, align 1, !tbaa !5
  %53 = xor i8 %52, %.02226
  %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.ph28, !llvm.loop !13

._crit_edge:                                      ; preds = %.lr.ph28, %middle.block, %vec.epilog.middle.block, %5
  %.022.lcssa = phi i8 [ 0, %5 ], [ %45, %middle.block ], [ %50, %vec.epilog.middle.block ], [ %53, %.lr.ph28 ]
  %54 = getelementptr i8, ptr %8, i64 %7
  %55 = getelementptr i8, ptr %54, i64 -1
  store i8 %.022.lcssa, ptr %55, align 1, !tbaa !5
  %56 = call zeroext i8 @UAVDataLink_encodeCOBS(ptr noundef nonnull %8, i8 noundef zeroext %6, ptr noundef %4)
  %57 = load i8, ptr @UAVDataLink_pack.SEQUENCE, align 1, !tbaa !5
  %58 = icmp eq i8 %57, -1
  %59 = add i8 %57, 1
  %storemerge = select i1 %58, i8 1, i8 %59
  store i8 %storemerge, ptr @UAVDataLink_pack.SEQUENCE, align 1, !tbaa !5
  ret i8 %56
}

; Function Attrs: nounwind uwtable
declare dso_local zeroext i8 @UAVDataLink_encodeCOBS(ptr noundef, i8 noundef zeroext, ptr noundef) local_unnamed_addr #0

; 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) #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i8 @llvm.vector.reduce.xor.v16i8(<16 x i8>) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i8 @llvm.vector.reduce.xor.v8i8(<8 x i8>) #2

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

!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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9, !10, !11}
!9 = !{!"llvm.loop.mustprogress"}
!10 = !{!"llvm.loop.isvectorized", i32 1}
!11 = !{!"llvm.loop.unroll.runtime.disable"}
!12 = distinct !{!12, !9, !10, !11}
!13 = distinct !{!13, !9, !11, !10}


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