; LLVM IR from jgaeddert/liquid-dsp :: src/optim/src (qnsearch)

; 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.qnsearch_s = type { ptr, i32, float, float, float, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, float, ptr, i32 }

@.str = external hidden unnamed_addr constant [79 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [66 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local ptr @qnsearch_create(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store i32 %2, ptr %9, align 4, !tbaa !9
  store ptr %3, ptr %10, align 8, !tbaa !5
  store i32 %4, ptr %11, align 4, !tbaa !9
  %13 = load ptr, ptr %10, align 8, !tbaa !5
  %14 = icmp eq ptr %13, null
  br i1 %14, label %15, label %17

15:                                               ; preds = %5
  %16 = call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef @.str, i32 noundef 77, ptr noundef @.str.1)
  store ptr %16, ptr %6, align 8
  br label %128

17:                                               ; preds = %5
  %18 = load i32, ptr %9, align 4, !tbaa !9
  %19 = icmp eq i32 %18, 0
  br i1 %19, label %20, label %22

20:                                               ; preds = %17
  %21 = call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef @.str, i32 noundef 79, ptr noundef @.str.2)
  store ptr %21, ptr %6, align 8
  br label %128

22:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %23 = call noalias ptr @malloc(i64 noundef 120) #6
  store ptr %23, ptr %12, align 8, !tbaa !5
  %24 = load ptr, ptr %12, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.qnsearch_s, ptr %24, i32 0, i32 3
  store float 0x3EB0C6F7A0000000, ptr %25, align 8, !tbaa !11
  %26 = load ptr, ptr %12, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.qnsearch_s, ptr %26, i32 0, i32 2
  store float 0x3F50624DE0000000, ptr %27, align 4, !tbaa !14
  %28 = load ptr, ptr %12, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.qnsearch_s, ptr %28, i32 0, i32 4
  store float 0x3FEFAE1480000000, ptr %29, align 4, !tbaa !15
  %30 = load ptr, ptr %12, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.qnsearch_s, ptr %30, i32 0, i32 2
  %32 = load float, ptr %31, align 4, !tbaa !14
  %33 = load ptr, ptr %12, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.qnsearch_s, ptr %33, i32 0, i32 5
  store float %32, ptr %34, align 8, !tbaa !16
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = load ptr, ptr %12, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.qnsearch_s, ptr %36, i32 0, i32 15
  store ptr %35, ptr %37, align 8, !tbaa !17
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  %39 = load ptr, ptr %12, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.qnsearch_s, ptr %39, i32 0, i32 0
  store ptr %38, ptr %40, align 8, !tbaa !18
  %41 = load i32, ptr %9, align 4, !tbaa !9
  %42 = load ptr, ptr %12, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.qnsearch_s, ptr %42, i32 0, i32 1
  store i32 %41, ptr %43, align 8, !tbaa !19
  %44 = load ptr, ptr %10, align 8, !tbaa !5
  %45 = load ptr, ptr %12, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.qnsearch_s, ptr %45, i32 0, i32 13
  store ptr %44, ptr %46, align 8, !tbaa !20
  %47 = load i32, ptr %11, align 4, !tbaa !9
  %48 = icmp eq i32 %47, 0
  %49 = zext i1 %48 to i64
  %50 = select i1 %48, i32 1, i32 0
  %51 = load ptr, ptr %12, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.qnsearch_s, ptr %51, i32 0, i32 16
  store i32 %50, ptr %52, align 8, !tbaa !21
  %53 = load ptr, ptr %12, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.qnsearch_s, ptr %53, i32 0, i32 1
  %55 = load i32, ptr %54, align 8, !tbaa !19
  %56 = load ptr, ptr %12, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.qnsearch_s, ptr %56, i32 0, i32 1
  %58 = load i32, ptr %57, align 8, !tbaa !19
  %59 = mul i32 %55, %58
  %60 = zext i32 %59 to i64
  %61 = call noalias ptr @calloc(i64 noundef %60, i64 noundef 4) #7
  %62 = load ptr, ptr %12, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.qnsearch_s, ptr %62, i32 0, i32 8
  store ptr %61, ptr %63, align 8, !tbaa !22
  %64 = load ptr, ptr %12, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.qnsearch_s, ptr %64, i32 0, i32 1
  %66 = load i32, ptr %65, align 8, !tbaa !19
  %67 = load ptr, ptr %12, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.qnsearch_s, ptr %67, i32 0, i32 1
  %69 = load i32, ptr %68, align 8, !tbaa !19
  %70 = mul i32 %66, %69
  %71 = zext i32 %70 to i64
  %72 = call noalias ptr @calloc(i64 noundef %71, i64 noundef 4) #7
  %73 = load ptr, ptr %12, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.qnsearch_s, ptr %73, i32 0, i32 9
  store ptr %72, ptr %74, align 8, !tbaa !23
  %75 = load ptr, ptr %12, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.qnsearch_s, ptr %75, i32 0, i32 1
  %77 = load i32, ptr %76, align 8, !tbaa !19
  %78 = zext i32 %77 to i64
  %79 = call noalias ptr @calloc(i64 noundef %78, i64 noundef 4) #7
  %80 = load ptr, ptr %12, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.qnsearch_s, ptr %80, i32 0, i32 10
  store ptr %79, ptr %81, align 8, !tbaa !24
  %82 = load ptr, ptr %12, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.qnsearch_s, ptr %82, i32 0, i32 1
  %84 = load i32, ptr %83, align 8, !tbaa !19
  %85 = zext i32 %84 to i64
  %86 = call noalias ptr @calloc(i64 noundef %85, i64 noundef 4) #7
  %87 = load ptr, ptr %12, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.qnsearch_s, ptr %87, i32 0, i32 11
  store ptr %86, ptr %88, align 8, !tbaa !25
  %89 = load ptr, ptr %12, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.qnsearch_s, ptr %89, i32 0, i32 1
  %91 = load i32, ptr %90, align 8, !tbaa !19
  %92 = zext i32 %91 to i64
  %93 = call noalias ptr @calloc(i64 noundef %92, i64 noundef 4) #7
  %94 = load ptr, ptr %12, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.qnsearch_s, ptr %94, i32 0, i32 12
  store ptr %93, ptr %95, align 8, !tbaa !26
  %96 = load ptr, ptr %12, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.qnsearch_s, ptr %96, i32 0, i32 1
  %98 = load i32, ptr %97, align 8, !tbaa !19
  %99 = zext i32 %98 to i64
  %100 = call noalias ptr @calloc(i64 noundef %99, i64 noundef 4) #7
  %101 = load ptr, ptr %12, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.qnsearch_s, ptr %101, i32 0, i32 6
  store ptr %100, ptr %102, align 8, !tbaa !27
  %103 = load ptr, ptr %12, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.qnsearch_s, ptr %103, i32 0, i32 1
  %105 = load i32, ptr %104, align 8, !tbaa !19
  %106 = zext i32 %105 to i64
  %107 = call noalias ptr @calloc(i64 noundef %106, i64 noundef 4) #7
  %108 = load ptr, ptr %12, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.qnsearch_s, ptr %108, i32 0, i32 7
  store ptr %107, ptr %109, align 8, !tbaa !28
  %110 = load ptr, ptr %12, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.qnsearch_s, ptr %110, i32 0, i32 13
  %112 = load ptr, ptr %111, align 8, !tbaa !20
  %113 = load ptr, ptr %12, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.qnsearch_s, ptr %113, i32 0, i32 15
  %115 = load ptr, ptr %114, align 8, !tbaa !17
  %116 = load ptr, ptr %12, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.qnsearch_s, ptr %116, i32 0, i32 0
  %118 = load ptr, ptr %117, align 8, !tbaa !18
  %119 = load ptr, ptr %12, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.qnsearch_s, ptr %119, i32 0, i32 1
  %121 = load i32, ptr %120, align 8, !tbaa !19
  %122 = call float %112(ptr noundef %115, ptr noundef %118, i32 noundef %121)
  %123 = load ptr, ptr %12, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.qnsearch_s, ptr %123, i32 0, i32 14
  store float %122, ptr %124, align 8, !tbaa !29
  %125 = load ptr, ptr %12, align 8, !tbaa !5
  %126 = call i32 @qnsearch_reset(ptr noundef %125)
  %127 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %127, ptr %6, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %128

128:                                              ; preds = %22, %20, %15
  %129 = load ptr, ptr %6, align 8
  ret ptr %129
}

declare ptr @liquid_error_config_fl(ptr noundef, i32 noundef, ptr noundef, ...) #1

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

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #3

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @qnsearch_reset(ptr noundef) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 = { "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind allocsize(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 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 #5 = { nounwind }
attributes #6 = { nounwind allocsize(0) }
attributes #7 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 16}
!12 = !{!"qnsearch_s", !6, i64 0, !10, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !13, i64 96, !6, i64 104, !10, i64 112}
!13 = !{!"float", !7, i64 0}
!14 = !{!12, !13, i64 12}
!15 = !{!12, !13, i64 20}
!16 = !{!12, !13, i64 24}
!17 = !{!12, !6, i64 104}
!18 = !{!12, !6, i64 0}
!19 = !{!12, !10, i64 8}
!20 = !{!12, !6, i64 88}
!21 = !{!12, !10, i64 112}
!22 = !{!12, !6, i64 48}
!23 = !{!12, !6, i64 56}
!24 = !{!12, !6, i64 64}
!25 = !{!12, !6, i64 72}
!26 = !{!12, !6, i64 80}
!27 = !{!12, !6, i64 32}
!28 = !{!12, !6, i64 40}
!29 = !{!12, !13, i64 96}


; 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 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [66 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local ptr @qnsearch_create(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) local_unnamed_addr #0 {
  %6 = icmp eq ptr %3, null
  br i1 %6, label %7, label %9

7:                                                ; preds = %5
  %8 = tail call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef nonnull @.str, i32 noundef 77, ptr noundef nonnull @.str.1) #4
  br label %42

9:                                                ; preds = %5
  %10 = icmp eq i32 %2, 0
  br i1 %10, label %11, label %13

11:                                               ; preds = %9
  %12 = tail call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef nonnull @.str, i32 noundef 79, ptr noundef nonnull @.str.2) #4
  br label %42

13:                                               ; preds = %9
  %14 = tail call noalias dereferenceable_or_null(120) ptr @malloc(i64 noundef 120) #5
  %15 = getelementptr inbounds i8, ptr %14, i64 12
  store <4 x float> <float 0x3F50624DE0000000, float 0x3EB0C6F7A0000000, float 0x3FEFAE1480000000, float 0x3F50624DE0000000>, ptr %15, align 4, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %14, i64 104
  store ptr %0, ptr %16, align 8, !tbaa !9
  store ptr %1, ptr %14, align 8, !tbaa !13
  %17 = getelementptr inbounds i8, ptr %14, i64 8
  store i32 %2, ptr %17, align 8, !tbaa !14
  %18 = getelementptr inbounds i8, ptr %14, i64 88
  store ptr %3, ptr %18, align 8, !tbaa !15
  %19 = icmp eq i32 %4, 0
  %20 = zext i1 %19 to i32
  %21 = getelementptr inbounds i8, ptr %14, i64 112
  store i32 %20, ptr %21, align 8, !tbaa !16
  %22 = mul i32 %2, %2
  %23 = zext i32 %22 to i64
  %24 = tail call noalias ptr @calloc(i64 noundef %23, i64 noundef 4) #6
  %25 = getelementptr inbounds i8, ptr %14, i64 48
  store ptr %24, ptr %25, align 8, !tbaa !17
  %26 = tail call noalias ptr @calloc(i64 noundef %23, i64 noundef 4) #6
  %27 = getelementptr inbounds i8, ptr %14, i64 56
  store ptr %26, ptr %27, align 8, !tbaa !18
  %28 = zext i32 %2 to i64
  %29 = tail call noalias ptr @calloc(i64 noundef %28, i64 noundef 4) #6
  %30 = getelementptr inbounds i8, ptr %14, i64 64
  store ptr %29, ptr %30, align 8, !tbaa !19
  %31 = tail call noalias ptr @calloc(i64 noundef %28, i64 noundef 4) #6
  %32 = getelementptr inbounds i8, ptr %14, i64 72
  store ptr %31, ptr %32, align 8, !tbaa !20
  %33 = tail call noalias ptr @calloc(i64 noundef %28, i64 noundef 4) #6
  %34 = getelementptr inbounds i8, ptr %14, i64 80
  store ptr %33, ptr %34, align 8, !tbaa !21
  %35 = tail call noalias ptr @calloc(i64 noundef %28, i64 noundef 4) #6
  %36 = getelementptr inbounds i8, ptr %14, i64 32
  store ptr %35, ptr %36, align 8, !tbaa !22
  %37 = tail call noalias ptr @calloc(i64 noundef %28, i64 noundef 4) #6
  %38 = getelementptr inbounds i8, ptr %14, i64 40
  store ptr %37, ptr %38, align 8, !tbaa !23
  %39 = tail call float %3(ptr noundef %0, ptr noundef %1, i32 noundef %2) #4
  %40 = getelementptr inbounds i8, ptr %14, i64 96
  store float %39, ptr %40, align 8, !tbaa !24
  %41 = tail call i32 @qnsearch_reset(ptr noundef nonnull %14)
  br label %42

42:                                               ; preds = %13, %11, %7
  %.0 = phi ptr [ %8, %7 ], [ %12, %11 ], [ %14, %13 ]
  ret ptr %.0
}

declare ptr @liquid_error_config_fl(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1

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

; 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 #3

; Function Attrs: nounwind uwtable
declare dso_local i32 @qnsearch_reset(ptr noundef) local_unnamed_addr #0

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 = { "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 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) 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 #3 = { 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 #4 = { nounwind }
attributes #5 = { nounwind allocsize(0) }
attributes #6 = { 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 104}
!10 = !{!"qnsearch_s", !11, i64 0, !12, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !6, i64 96, !11, i64 104, !12, i64 112}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!10, !11, i64 0}
!14 = !{!10, !12, i64 8}
!15 = !{!10, !11, i64 88}
!16 = !{!10, !12, i64 112}
!17 = !{!10, !11, i64 48}
!18 = !{!10, !11, i64 56}
!19 = !{!10, !11, i64 64}
!20 = !{!10, !11, i64 72}
!21 = !{!10, !11, i64 80}
!22 = !{!10, !11, i64 32}
!23 = !{!10, !11, i64 40}
!24 = !{!10, !6, i64 96}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SLPVectorizerPass,SROAPass,TailCallElimPass