; LLVM IR from jgaeddert/liquid-dsp :: src/framing/tests (framesync64_autotest)

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

@.str = external hidden unnamed_addr constant [95 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @autotest_framesync64() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca [1440 x { float, float }], align 16
  %6 = alloca %struct.framedatastats_s, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #3
  store i32 0, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  %7 = call ptr (...) @framegen64_create()
  store ptr %7, ptr %3, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  %8 = call ptr @framesync64_create(ptr noundef @framing_autotest_callback, ptr noundef %2)
  store ptr %8, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 11520, ptr %5) #3
  %9 = load ptr, ptr %3, align 8, !tbaa !9
  %10 = getelementptr inbounds [1440 x { float, float }], ptr %5, i64 0, i64 0
  %11 = call i32 @framegen64_execute(ptr noundef %9, ptr noundef null, ptr noundef null, ptr noundef %10)
  store i32 0, ptr %1, align 4, !tbaa !5
  br label %12

12:                                               ; preds = %42, %0
  %13 = load i32, ptr %1, align 4, !tbaa !5
  %14 = icmp ult i32 %13, 1440
  br i1 %14, label %15, label %45

15:                                               ; preds = %12
  %16 = call float (...) @randnf()
  %17 = call float (...) @randnf()
  %18 = fmul float 0.000000e+00, %17
  %19 = fmul float 1.000000e+00, %17
  %20 = fadd float %16, %18
  %21 = fmul float 0x3F847AE140000000, %20
  %22 = fmul float 0x3F847AE140000000, %19
  %23 = fpext float %21 to double
  %24 = fpext float %22 to double
  %25 = fmul double %23, 0x3FE6A09E667F3BCD
  %26 = fmul double %24, 0x3FE6A09E667F3BCD
  %27 = load i32, ptr %1, align 4, !tbaa !5
  %28 = zext i32 %27 to i64
  %29 = getelementptr inbounds [1440 x { float, float }], ptr %5, i64 0, i64 %28
  %30 = getelementptr inbounds { float, float }, ptr %29, i32 0, i32 0
  %31 = load float, ptr %30, align 8
  %32 = getelementptr inbounds { float, float }, ptr %29, i32 0, i32 1
  %33 = load float, ptr %32, align 4
  %34 = fpext float %31 to double
  %35 = fpext float %33 to double
  %36 = fadd double %34, %25
  %37 = fadd double %35, %26
  %38 = fptrunc double %36 to float
  %39 = fptrunc double %37 to float
  %40 = getelementptr inbounds { float, float }, ptr %29, i32 0, i32 0
  %41 = getelementptr inbounds { float, float }, ptr %29, i32 0, i32 1
  store float %38, ptr %40, align 8
  store float %39, ptr %41, align 4
  br label %42

42:                                               ; preds = %15
  %43 = load i32, ptr %1, align 4, !tbaa !5
  %44 = add i32 %43, 1
  store i32 %44, ptr %1, align 4, !tbaa !5
  br label %12, !llvm.loop !11

45:                                               ; preds = %12
  %46 = load ptr, ptr %4, align 8, !tbaa !9
  %47 = getelementptr inbounds [1440 x { float, float }], ptr %5, i64 0, i64 0
  %48 = call i32 @framesync64_execute(ptr noundef %46, ptr noundef %47, i32 noundef 1440)
  %49 = load i32, ptr %2, align 4, !tbaa !5
  %50 = icmp ne i32 %49, 19088743
  br i1 %50, label %51, label %54

51:                                               ; preds = %45
  %52 = load i32, ptr %2, align 4, !tbaa !5
  %53 = uitofp i32 %52 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 52, ptr noundef @.str.1, double noundef %53, ptr noundef @.str.2, ptr noundef @.str.3, double noundef 0x4172345670000000)
  br label %55

54:                                               ; preds = %45
  call void (...) @liquid_autotest_passed()
  br label %55

55:                                               ; preds = %54, %51
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #3
  %56 = load ptr, ptr %4, align 8, !tbaa !9
  call void @framesync64_get_framedatastats(ptr dead_on_unwind writable sret(%struct.framedatastats_s) align 8 %6, ptr noundef %56)
  %57 = getelementptr inbounds %struct.framedatastats_s, ptr %6, i32 0, i32 0
  %58 = load i32, ptr %57, align 8, !tbaa !13
  %59 = icmp ne i32 %58, 1
  br i1 %59, label %60, label %64

60:                                               ; preds = %55
  %61 = getelementptr inbounds %struct.framedatastats_s, ptr %6, i32 0, i32 0
  %62 = load i32, ptr %61, align 8, !tbaa !13
  %63 = uitofp i32 %62 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 56, ptr noundef @.str.4, double noundef %63, ptr noundef @.str.2, ptr noundef @.str.5, double noundef 1.000000e+00)
  br label %65

64:                                               ; preds = %55
  call void (...) @liquid_autotest_passed()
  br label %65

65:                                               ; preds = %64, %60
  %66 = getelementptr inbounds %struct.framedatastats_s, ptr %6, i32 0, i32 1
  %67 = load i32, ptr %66, align 4, !tbaa !16
  %68 = icmp ne i32 %67, 1
  br i1 %68, label %69, label %73

69:                                               ; preds = %65
  %70 = getelementptr inbounds %struct.framedatastats_s, ptr %6, i32 0, i32 1
  %71 = load i32, ptr %70, align 4, !tbaa !16
  %72 = uitofp i32 %71 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 57, ptr noundef @.str.6, double noundef %72, ptr noundef @.str.2, ptr noundef @.str.5, double noundef 1.000000e+00)
  br label %74

73:                                               ; preds = %65
  call void (...) @liquid_autotest_passed()
  br label %74

74:                                               ; preds = %73, %69
  %75 = getelementptr inbounds %struct.framedatastats_s, ptr %6, i32 0, i32 2
  %76 = load i32, ptr %75, align 8, !tbaa !17
  %77 = icmp ne i32 %76, 1
  br i1 %77, label %78, label %82

78:                                               ; preds = %74
  %79 = getelementptr inbounds %struct.framedatastats_s, ptr %6, i32 0, i32 2
  %80 = load i32, ptr %79, align 8, !tbaa !17
  %81 = uitofp i32 %80 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 58, ptr noundef @.str.7, double noundef %81, ptr noundef @.str.2, ptr noundef @.str.5, double noundef 1.000000e+00)
  br label %83

82:                                               ; preds = %74
  call void (...) @liquid_autotest_passed()
  br label %83

83:                                               ; preds = %82, %78
  %84 = getelementptr inbounds %struct.framedatastats_s, ptr %6, i32 0, i32 3
  %85 = load i64, ptr %84, align 8, !tbaa !18
  %86 = icmp ne i64 %85, 64
  br i1 %86, label %87, label %91

87:                                               ; preds = %83
  %88 = getelementptr inbounds %struct.framedatastats_s, ptr %6, i32 0, i32 3
  %89 = load i64, ptr %88, align 8, !tbaa !18
  %90 = uitofp i64 %89 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 59, ptr noundef @.str.8, double noundef %90, ptr noundef @.str.2, ptr noundef @.str.9, double noundef 6.400000e+01)
  br label %92

91:                                               ; preds = %83
  call void (...) @liquid_autotest_passed()
  br label %92

92:                                               ; preds = %91, %87
  %93 = load ptr, ptr %3, align 8, !tbaa !9
  %94 = call i32 @framegen64_destroy(ptr noundef %93)
  %95 = load ptr, ptr %4, align 8, !tbaa !9
  %96 = call i32 @framesync64_destroy(ptr noundef %95)
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 11520, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #3
  ret void
}

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

declare ptr @framegen64_create(...) #2

declare ptr @framesync64_create(ptr noundef, ptr noundef) #2

declare i32 @framing_autotest_callback(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef byval(%struct.framesyncstats_s) align 8, ptr noundef) #2

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

declare float @randnf(...) #2

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

declare void @liquid_autotest_failed_expr(ptr noundef, i32 noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, double noundef) #2

declare void @liquid_autotest_passed(...) #2

declare void @framesync64_get_framedatastats(ptr dead_on_unwind writable sret(%struct.framedatastats_s) align 8, ptr noundef) #2

declare i32 @framegen64_destroy(ptr noundef) #2

declare i32 @framesync64_destroy(ptr noundef) #2

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

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 = { "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 }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !6, i64 0}
!14 = !{!"", !6, i64 0, !6, i64 4, !6, i64 8, !15, i64 16}
!15 = !{!"long", !7, i64 0}
!16 = !{!14, !6, i64 4}
!17 = !{!14, !6, i64 8}
!18 = !{!14, !15, i64 16}


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

@.str = external hidden unnamed_addr constant [95 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @autotest_framesync64() local_unnamed_addr #0 {
  %1 = alloca i32, align 4
  %2 = alloca [1440 x { float, float }], align 16
  %3 = alloca %struct.framedatastats_s, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
  store i32 0, ptr %1, align 4, !tbaa !5
  %4 = tail call ptr (...) @framegen64_create() #3
  %5 = call ptr @framesync64_create(ptr noundef nonnull @framing_autotest_callback, ptr noundef nonnull %1) #3
  call void @llvm.lifetime.start.p0(i64 11520, ptr nonnull %2) #3
  %6 = call i32 @framegen64_execute(ptr noundef %4, ptr noundef null, ptr noundef null, ptr noundef nonnull %2) #3
  br label %7

7:                                                ; preds = %0, %7
  %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next, %7 ]
  %8 = call float (...) @randnf() #3
  %9 = call float (...) @randnf() #3
  %10 = fmul float %9, 0.000000e+00
  %11 = fadd float %8, %10
  %12 = getelementptr inbounds [1440 x { float, float }], ptr %2, i64 0, i64 %indvars.iv
  %13 = insertelement <2 x float> poison, float %11, i64 0
  %14 = insertelement <2 x float> %13, float %9, i64 1
  %15 = fmul <2 x float> %14, <float 0x3F847AE140000000, float 0x3F847AE140000000>
  %16 = fpext <2 x float> %15 to <2 x double>
  %17 = fmul <2 x double> %16, <double 0x3FE6A09E667F3BCD, double 0x3FE6A09E667F3BCD>
  %18 = load <2 x float>, ptr %12, align 8
  %19 = fpext <2 x float> %18 to <2 x double>
  %20 = fadd <2 x double> %17, %19
  %21 = fptrunc <2 x double> %20 to <2 x float>
  store <2 x float> %21, ptr %12, align 8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 1440
  br i1 %exitcond.not, label %22, label %7, !llvm.loop !9

22:                                               ; preds = %7
  %23 = call i32 @framesync64_execute(ptr noundef %5, ptr noundef nonnull %2, i32 noundef 1440) #3
  %24 = load i32, ptr %1, align 4, !tbaa !5
  %.not = icmp eq i32 %24, 19088743
  br i1 %.not, label %27, label %25

25:                                               ; preds = %22
  %26 = uitofp i32 %24 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 52, ptr noundef nonnull @.str.1, double noundef %26, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 0x4172345670000000) #3
  br label %28

27:                                               ; preds = %22
  call void (...) @liquid_autotest_passed() #3
  br label %28

28:                                               ; preds = %27, %25
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3
  call void @framesync64_get_framedatastats(ptr dead_on_unwind nonnull writable sret(%struct.framedatastats_s) align 8 %3, ptr noundef %5) #3
  %29 = load i32, ptr %3, align 8, !tbaa !11
  %.not12 = icmp eq i32 %29, 1
  br i1 %.not12, label %32, label %30

30:                                               ; preds = %28
  %31 = uitofp i32 %29 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 56, ptr noundef nonnull @.str.4, double noundef %31, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.5, double noundef 1.000000e+00) #3
  br label %33

32:                                               ; preds = %28
  call void (...) @liquid_autotest_passed() #3
  br label %33

33:                                               ; preds = %32, %30
  %34 = getelementptr inbounds i8, ptr %3, i64 4
  %35 = load i32, ptr %34, align 4, !tbaa !14
  %.not13 = icmp eq i32 %35, 1
  br i1 %.not13, label %38, label %36

36:                                               ; preds = %33
  %37 = uitofp i32 %35 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 57, ptr noundef nonnull @.str.6, double noundef %37, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.5, double noundef 1.000000e+00) #3
  br label %39

38:                                               ; preds = %33
  call void (...) @liquid_autotest_passed() #3
  br label %39

39:                                               ; preds = %38, %36
  %40 = getelementptr inbounds i8, ptr %3, i64 8
  %41 = load i32, ptr %40, align 8, !tbaa !15
  %.not14 = icmp eq i32 %41, 1
  br i1 %.not14, label %44, label %42

42:                                               ; preds = %39
  %43 = uitofp i32 %41 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 58, ptr noundef nonnull @.str.7, double noundef %43, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.5, double noundef 1.000000e+00) #3
  br label %45

44:                                               ; preds = %39
  call void (...) @liquid_autotest_passed() #3
  br label %45

45:                                               ; preds = %44, %42
  %46 = getelementptr inbounds i8, ptr %3, i64 16
  %47 = load i64, ptr %46, align 8, !tbaa !16
  %.not15 = icmp eq i64 %47, 64
  br i1 %.not15, label %50, label %48

48:                                               ; preds = %45
  %49 = uitofp i64 %47 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 59, ptr noundef nonnull @.str.8, double noundef %49, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.9, double noundef 6.400000e+01) #3
  br label %51

50:                                               ; preds = %45
  call void (...) @liquid_autotest_passed() #3
  br label %51

51:                                               ; preds = %50, %48
  %52 = call i32 @framegen64_destroy(ptr noundef %4) #3
  %53 = call i32 @framesync64_destroy(ptr noundef %5) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3
  call void @llvm.lifetime.end.p0(i64 11520, ptr nonnull %2) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3
  ret void
}

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

declare ptr @framegen64_create(...) local_unnamed_addr #2

declare ptr @framesync64_create(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @framing_autotest_callback(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef byval(%struct.framesyncstats_s) align 8, ptr noundef) #2

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

declare float @randnf(...) local_unnamed_addr #2

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

declare void @liquid_autotest_failed_expr(ptr noundef, i32 noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, double noundef) local_unnamed_addr #2

declare void @liquid_autotest_passed(...) local_unnamed_addr #2

declare void @framesync64_get_framedatastats(ptr dead_on_unwind writable sret(%struct.framedatastats_s) align 8, ptr noundef) local_unnamed_addr #2

declare i32 @framegen64_destroy(ptr noundef) local_unnamed_addr #2

declare i32 @framesync64_destroy(ptr noundef) local_unnamed_addr #2

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

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

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !6, i64 0}
!12 = !{!"", !6, i64 0, !6, i64 4, !6, i64 8, !13, i64 16}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !6, i64 4}
!15 = !{!12, !6, i64 8}
!16 = !{!12, !13, i64 16}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass