; LLVM IR from libtcod/libtcod :: src/libtcod (console_printing)

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

@TCOD_console_vsprint_utf.msg = external hidden global [10 x ptr], align 16
@TCOD_console_vsprint_utf.buflen = external hidden global [10 x i32], align 16
@TCOD_console_vsprint_utf.current_buf = external hidden global i32, align 4

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

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #1

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

; Function Attrs: nounwind
declare void @free(ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local ptr @TCOD_console_vsprint_utf(ptr noundef %0, ptr noundef %1) #3 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  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
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #4
  store i8 0, ptr %6, align 1, !tbaa !9
  %9 = load ptr, ptr @TCOD_console_vsprint_utf.msg, align 16, !tbaa !5
  %10 = icmp ne ptr %9, null
  br i1 %10, label %27, label %11

11:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !11
  br label %12

12:                                               ; preds = %23, %11
  %13 = load i32, ptr %7, align 4, !tbaa !11
  %14 = icmp slt i32 %13, 10
  br i1 %14, label %15, label %26

15:                                               ; preds = %12
  %16 = load i32, ptr %7, align 4, !tbaa !11
  %17 = sext i32 %16 to i64
  %18 = getelementptr inbounds [10 x i32], ptr @TCOD_console_vsprint_utf.buflen, i64 0, i64 %17
  store i32 512, ptr %18, align 4, !tbaa !11
  %19 = call noalias ptr @calloc(i64 noundef 512, i64 noundef 4) #5
  %20 = load i32, ptr %7, align 4, !tbaa !11
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds [10 x ptr], ptr @TCOD_console_vsprint_utf.msg, i64 0, i64 %21
  store ptr %19, ptr %22, align 8, !tbaa !5
  br label %23

23:                                               ; preds = %15
  %24 = load i32, ptr %7, align 4, !tbaa !11
  %25 = add nsw i32 %24, 1
  store i32 %25, ptr %7, align 4, !tbaa !11
  br label %12, !llvm.loop !13

26:                                               ; preds = %12
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %27

27:                                               ; preds = %26, %2
  br label %28

28:                                               ; preds = %90, %27
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %29 = load i32, ptr @TCOD_console_vsprint_utf.current_buf, align 4, !tbaa !11
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [10 x ptr], ptr @TCOD_console_vsprint_utf.msg, i64 0, i64 %30
  %32 = load ptr, ptr %31, align 8, !tbaa !5
  %33 = load i32, ptr @TCOD_console_vsprint_utf.current_buf, align 4, !tbaa !11
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [10 x i32], ptr @TCOD_console_vsprint_utf.buflen, i64 0, i64 %34
  %36 = load i32, ptr %35, align 4, !tbaa !11
  %37 = sext i32 %36 to i64
  %38 = load ptr, ptr %3, align 8, !tbaa !5
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = call i32 @vswprintf(ptr noundef %32, i64 noundef %37, ptr noundef %38, ptr noundef %39) #4
  store i32 %40, ptr %8, align 4, !tbaa !11
  store i8 1, ptr %6, align 1, !tbaa !9
  %41 = load i32, ptr %8, align 4, !tbaa !11
  %42 = icmp slt i32 %41, 0
  br i1 %42, label %50, label %43

43:                                               ; preds = %28
  %44 = load i32, ptr %8, align 4, !tbaa !11
  %45 = load i32, ptr @TCOD_console_vsprint_utf.current_buf, align 4, !tbaa !11
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [10 x i32], ptr @TCOD_console_vsprint_utf.buflen, i64 0, i64 %46
  %48 = load i32, ptr %47, align 4, !tbaa !11
  %49 = icmp sge i32 %44, %48
  br i1 %49, label %50, label %89

50:                                               ; preds = %43, %28
  %51 = load i32, ptr %8, align 4, !tbaa !11
  %52 = icmp sgt i32 %51, 0
  br i1 %52, label %53, label %69

53:                                               ; preds = %50
  br label %54

54:                                               ; preds = %62, %53
  %55 = load i32, ptr @TCOD_console_vsprint_utf.current_buf, align 4, !tbaa !11
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [10 x i32], ptr @TCOD_console_vsprint_utf.buflen, i64 0, i64 %56
  %58 = load i32, ptr %57, align 4, !tbaa !11
  %59 = load i32, ptr %8, align 4, !tbaa !11
  %60 = add nsw i32 %59, 1
  %61 = icmp slt i32 %58, %60
  br i1 %61, label %62, label %68

62:                                               ; preds = %54
  %63 = load i32, ptr @TCOD_console_vsprint_utf.current_buf, align 4, !tbaa !11
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [10 x i32], ptr @TCOD_console_vsprint_utf.buflen, i64 0, i64 %64
  %66 = load i32, ptr %65, align 4, !tbaa !11
  %67 = mul nsw i32 %66, 2
  store i32 %67, ptr %65, align 4, !tbaa !11
  br label %54, !llvm.loop !15

68:                                               ; preds = %54
  br label %75

69:                                               ; preds = %50
  %70 = load i32, ptr @TCOD_console_vsprint_utf.current_buf, align 4, !tbaa !11
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [10 x i32], ptr @TCOD_console_vsprint_utf.buflen, i64 0, i64 %71
  %73 = load i32, ptr %72, align 4, !tbaa !11
  %74 = mul nsw i32 %73, 2
  store i32 %74, ptr %72, align 4, !tbaa !11
  br label %75

75:                                               ; preds = %69, %68
  %76 = load i32, ptr @TCOD_console_vsprint_utf.current_buf, align 4, !tbaa !11
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [10 x ptr], ptr @TCOD_console_vsprint_utf.msg, i64 0, i64 %77
  %79 = load ptr, ptr %78, align 8, !tbaa !5
  call void @free(ptr noundef %79) #4
  %80 = load i32, ptr @TCOD_console_vsprint_utf.current_buf, align 4, !tbaa !11
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [10 x i32], ptr @TCOD_console_vsprint_utf.buflen, i64 0, i64 %81
  %83 = load i32, ptr %82, align 4, !tbaa !11
  %84 = sext i32 %83 to i64
  %85 = call noalias ptr @calloc(i64 noundef %84, i64 noundef 4) #5
  %86 = load i32, ptr @TCOD_console_vsprint_utf.current_buf, align 4, !tbaa !11
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [10 x ptr], ptr @TCOD_console_vsprint_utf.msg, i64 0, i64 %87
  store ptr %85, ptr %88, align 8, !tbaa !5
  store i8 0, ptr %6, align 1, !tbaa !9
  br label %89

89:                                               ; preds = %75, %43
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %90

90:                                               ; preds = %89
  %91 = load i8, ptr %6, align 1, !tbaa !9, !range !16, !noundef !17
  %92 = trunc i8 %91 to i1
  %93 = xor i1 %92, true
  br i1 %93, label %28, label %94, !llvm.loop !18

94:                                               ; preds = %90
  %95 = load i32, ptr @TCOD_console_vsprint_utf.current_buf, align 4, !tbaa !11
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds [10 x ptr], ptr @TCOD_console_vsprint_utf.msg, i64 0, i64 %96
  %98 = load ptr, ptr %97, align 8, !tbaa !5
  store ptr %98, ptr %5, align 8, !tbaa !5
  %99 = load i32, ptr @TCOD_console_vsprint_utf.current_buf, align 4, !tbaa !11
  %100 = add nsw i32 %99, 1
  %101 = srem i32 %100, 10
  store i32 %101, ptr @TCOD_console_vsprint_utf.current_buf, align 4, !tbaa !11
  %102 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  ret ptr %102
}

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

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

!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 = !{!"_Bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{i8 0, i8 2}
!17 = !{}
!18 = distinct !{!18, !14}


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

@TCOD_console_vsprint_utf.msg = external hidden local_unnamed_addr global [10 x ptr], align 16
@TCOD_console_vsprint_utf.buflen = external hidden local_unnamed_addr global [10 x i32], align 16
@TCOD_console_vsprint_utf.current_buf = external hidden local_unnamed_addr global i32, align 4

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local ptr @TCOD_console_vsprint_utf(ptr noundef %0, ptr noundef %1) local_unnamed_addr #2 {
  %3 = load ptr, ptr @TCOD_console_vsprint_utf.msg, align 16, !tbaa !5
  %.not = icmp eq ptr %3, null
  br i1 %.not, label %.preheader17.preheader, label %.loopexit

.preheader17.preheader:                           ; preds = %2
  %4 = tail call noalias dereferenceable_or_null(2048) ptr @calloc(i64 noundef 512, i64 noundef 4) #4
  store ptr %4, ptr @TCOD_console_vsprint_utf.msg, align 16, !tbaa !5
  %5 = tail call noalias dereferenceable_or_null(2048) ptr @calloc(i64 noundef 512, i64 noundef 4) #4
  store ptr %5, ptr getelementptr inbounds (i8, ptr @TCOD_console_vsprint_utf.msg, i64 8), align 8, !tbaa !5
  %6 = tail call noalias dereferenceable_or_null(2048) ptr @calloc(i64 noundef 512, i64 noundef 4) #4
  store ptr %6, ptr getelementptr inbounds (i8, ptr @TCOD_console_vsprint_utf.msg, i64 16), align 16, !tbaa !5
  store <4 x i32> <i32 512, i32 512, i32 512, i32 512>, ptr @TCOD_console_vsprint_utf.buflen, align 16, !tbaa !9
  %7 = tail call noalias dereferenceable_or_null(2048) ptr @calloc(i64 noundef 512, i64 noundef 4) #4
  store ptr %7, ptr getelementptr inbounds (i8, ptr @TCOD_console_vsprint_utf.msg, i64 24), align 8, !tbaa !5
  %8 = tail call noalias dereferenceable_or_null(2048) ptr @calloc(i64 noundef 512, i64 noundef 4) #4
  store ptr %8, ptr getelementptr inbounds (i8, ptr @TCOD_console_vsprint_utf.msg, i64 32), align 16, !tbaa !5
  %9 = tail call noalias dereferenceable_or_null(2048) ptr @calloc(i64 noundef 512, i64 noundef 4) #4
  store ptr %9, ptr getelementptr inbounds (i8, ptr @TCOD_console_vsprint_utf.msg, i64 40), align 8, !tbaa !5
  %10 = tail call noalias dereferenceable_or_null(2048) ptr @calloc(i64 noundef 512, i64 noundef 4) #4
  store ptr %10, ptr getelementptr inbounds (i8, ptr @TCOD_console_vsprint_utf.msg, i64 48), align 16, !tbaa !5
  store <4 x i32> <i32 512, i32 512, i32 512, i32 512>, ptr getelementptr inbounds (i8, ptr @TCOD_console_vsprint_utf.buflen, i64 16), align 16, !tbaa !9
  %11 = tail call noalias dereferenceable_or_null(2048) ptr @calloc(i64 noundef 512, i64 noundef 4) #4
  store ptr %11, ptr getelementptr inbounds (i8, ptr @TCOD_console_vsprint_utf.msg, i64 56), align 8, !tbaa !5
  store i32 512, ptr getelementptr inbounds (i8, ptr @TCOD_console_vsprint_utf.buflen, i64 32), align 16, !tbaa !9
  %12 = tail call noalias dereferenceable_or_null(2048) ptr @calloc(i64 noundef 512, i64 noundef 4) #4
  store ptr %12, ptr getelementptr inbounds (i8, ptr @TCOD_console_vsprint_utf.msg, i64 64), align 16, !tbaa !5
  store i32 512, ptr getelementptr inbounds (i8, ptr @TCOD_console_vsprint_utf.buflen, i64 36), align 4, !tbaa !9
  %13 = tail call noalias dereferenceable_or_null(2048) ptr @calloc(i64 noundef 512, i64 noundef 4) #4
  store ptr %13, ptr getelementptr inbounds (i8, ptr @TCOD_console_vsprint_utf.msg, i64 72), align 8, !tbaa !5
  br label %.loopexit

.loopexit:                                        ; preds = %.preheader17.preheader, %2
  %.pre = load i32, ptr @TCOD_console_vsprint_utf.current_buf, align 4, !tbaa !9
  %.phi.trans.insert = sext i32 %.pre to i64
  %.phi.trans.insert25 = getelementptr inbounds [10 x ptr], ptr @TCOD_console_vsprint_utf.msg, i64 0, i64 %.phi.trans.insert
  %.pre26 = load ptr, ptr %.phi.trans.insert25, align 8, !tbaa !5
  %.phi.trans.insert27 = getelementptr inbounds [10 x i32], ptr @TCOD_console_vsprint_utf.buflen, i64 0, i64 %.phi.trans.insert
  %.pre28 = load i32, ptr %.phi.trans.insert27, align 4, !tbaa !9
  br label %14

14:                                               ; preds = %.critedge, %.loopexit
  %15 = phi i32 [ %31, %.critedge ], [ %.pre28, %.loopexit ]
  %16 = phi ptr [ %33, %.critedge ], [ %.pre26, %.loopexit ]
  %17 = sext i32 %15 to i64
  %18 = tail call i32 @vswprintf(ptr noundef %16, i64 noundef %17, ptr noundef %0, ptr noundef %1) #5
  %19 = icmp slt i32 %18, 0
  %.pre29 = load i32, ptr @TCOD_console_vsprint_utf.current_buf, align 4, !tbaa !9
  %.phi.trans.insert30 = sext i32 %.pre29 to i64
  %.phi.trans.insert31 = getelementptr inbounds [10 x i32], ptr @TCOD_console_vsprint_utf.buflen, i64 0, i64 %.phi.trans.insert30
  %.pre32 = load i32, ptr %.phi.trans.insert31, align 4, !tbaa !9
  br i1 %19, label %.thread, label %20

20:                                               ; preds = %14
  %.not14 = icmp slt i32 %18, %.pre32
  br i1 %.not14, label %35, label %21

21:                                               ; preds = %20
  %.not16 = icmp eq i32 %18, 0
  br i1 %.not16, label %.thread, label %.lr.ph

.lr.ph:                                           ; preds = %21, %.lr.ph
  %22 = phi i32 [ %23, %.lr.ph ], [ %.pre32, %21 ]
  %23 = shl nsw i32 %22, 1
  %.not15 = icmp sgt i32 %23, %18
  br i1 %.not15, label %..critedge.loopexit_crit_edge, label %.lr.ph, !llvm.loop !11

.thread:                                          ; preds = %14, %21
  %24 = getelementptr inbounds [10 x i32], ptr @TCOD_console_vsprint_utf.buflen, i64 0, i64 %.phi.trans.insert30
  %25 = shl nsw i32 %.pre32, 1
  store i32 %25, ptr %24, align 4, !tbaa !9
  br label %.critedge

..critedge.loopexit_crit_edge:                    ; preds = %.lr.ph
  store i32 %23, ptr %.phi.trans.insert31, align 4, !tbaa !9
  br label %.critedge

.critedge:                                        ; preds = %..critedge.loopexit_crit_edge, %.thread
  %26 = getelementptr inbounds [10 x ptr], ptr @TCOD_console_vsprint_utf.msg, i64 0, i64 %.phi.trans.insert30
  %27 = load ptr, ptr %26, align 8, !tbaa !5
  tail call void @free(ptr noundef %27) #5
  %28 = load i32, ptr @TCOD_console_vsprint_utf.current_buf, align 4, !tbaa !9
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds [10 x i32], ptr @TCOD_console_vsprint_utf.buflen, i64 0, i64 %29
  %31 = load i32, ptr %30, align 4, !tbaa !9
  %32 = sext i32 %31 to i64
  %33 = tail call noalias ptr @calloc(i64 noundef %32, i64 noundef 4) #4
  %34 = getelementptr inbounds [10 x ptr], ptr @TCOD_console_vsprint_utf.msg, i64 0, i64 %29
  store ptr %33, ptr %34, align 8, !tbaa !5
  br label %14

35:                                               ; preds = %20
  %36 = getelementptr inbounds [10 x ptr], ptr @TCOD_console_vsprint_utf.msg, i64 0, i64 %.phi.trans.insert30
  %37 = load ptr, ptr %36, align 8, !tbaa !5
  %38 = add nsw i32 %.pre29, 1
  %39 = srem i32 %38, 10
  store i32 %39, ptr @TCOD_console_vsprint_utf.current_buf, align 4, !tbaa !9
  ret ptr %37
}

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

attributes #0 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 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 #3 = { 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 = { nounwind allocsize(0,1) }
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 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass