; LLVM IR from buzz-lang/Buzz :: src/testing (testbuzzdarray)

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

@stdout = external global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #0

; Function Attrs: nounwind uwtable
declare dso_local void @dai_print(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @dai_cmp(ptr 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #1 {
  %1 = alloca i32, align 4
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #4
  %6 = call ptr @buzzdarray_new(i32 noundef 1, i32 noundef 2, ptr noundef null)
  store ptr %6, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  %7 = load ptr, ptr %2, align 8, !tbaa !5
  call void @dai_print(ptr noundef %7)
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %8

8:                                                ; preds = %21, %0
  %9 = load i32, ptr %4, align 4, !tbaa !9
  %10 = icmp slt i32 %9, 10
  br i1 %10, label %11, label %24

11:                                               ; preds = %8
  %12 = load ptr, ptr @stdout, align 8, !tbaa !5
  %13 = load i32, ptr %4, align 4, !tbaa !9
  %14 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %12, ptr noundef @.str.5, i32 noundef %13) #4
  %15 = load ptr, ptr %2, align 8, !tbaa !5
  %16 = load ptr, ptr %2, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.buzzdarray_s, ptr %16, i32 0, i32 1
  %18 = load i64, ptr %17, align 8, !tbaa !11
  %19 = trunc i64 %18 to i32
  call void @buzzdarray_insert(ptr noundef %15, i32 noundef %19, ptr noundef %4)
  %20 = load ptr, ptr %2, align 8, !tbaa !5
  call void @dai_print(ptr noundef %20)
  br label %21

21:                                               ; preds = %11
  %22 = load i32, ptr %4, align 4, !tbaa !9
  %23 = add nsw i32 %22, 1
  store i32 %23, ptr %4, align 4, !tbaa !9
  br label %8, !llvm.loop !14

24:                                               ; preds = %8
  store i32 100, ptr %3, align 4, !tbaa !9
  %25 = load ptr, ptr @stdout, align 8, !tbaa !5
  %26 = load i32, ptr %3, align 4, !tbaa !9
  %27 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef @.str.6, i32 noundef %26) #4
  %28 = load ptr, ptr %2, align 8, !tbaa !5
  call void @buzzdarray_insert(ptr noundef %28, i32 noundef 0, ptr noundef %3)
  %29 = load ptr, ptr %2, align 8, !tbaa !5
  call void @dai_print(ptr noundef %29)
  store i32 200, ptr %3, align 4, !tbaa !9
  %30 = load ptr, ptr @stdout, align 8, !tbaa !5
  %31 = load i32, ptr %3, align 4, !tbaa !9
  %32 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef @.str.7, i32 noundef %31) #4
  %33 = load ptr, ptr %2, align 8, !tbaa !5
  call void @buzzdarray_insert(ptr noundef %33, i32 noundef 5, ptr noundef %3)
  %34 = load ptr, ptr %2, align 8, !tbaa !5
  call void @dai_print(ptr noundef %34)
  store i32 300, ptr %3, align 4, !tbaa !9
  %35 = load ptr, ptr @stdout, align 8, !tbaa !5
  %36 = load i32, ptr %3, align 4, !tbaa !9
  %37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef @.str.8, i32 noundef %36) #4
  %38 = load ptr, ptr %2, align 8, !tbaa !5
  call void @buzzdarray_insert(ptr noundef %38, i32 noundef 7, ptr noundef %3)
  %39 = load ptr, ptr %2, align 8, !tbaa !5
  call void @dai_print(ptr noundef %39)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 5, ptr %5, align 4, !tbaa !9
  %40 = load ptr, ptr @stdout, align 8, !tbaa !5
  %41 = load ptr, ptr %2, align 8, !tbaa !5
  %42 = call i32 @buzzdarray_find(ptr noundef %41, ptr noundef @dai_cmp, ptr noundef %5)
  %43 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %40, ptr noundef @.str.9, i32 noundef %42) #4
  store i32 17, ptr %5, align 4, !tbaa !9
  %44 = load ptr, ptr @stdout, align 8, !tbaa !5
  %45 = load ptr, ptr %2, align 8, !tbaa !5
  %46 = call i32 @buzzdarray_find(ptr noundef %45, ptr noundef @dai_cmp, ptr noundef %5)
  %47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef @.str.10, i32 noundef %46) #4
  %48 = load ptr, ptr @stdout, align 8, !tbaa !5
  %49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef @.str.3) #4
  %50 = load ptr, ptr @stdout, align 8, !tbaa !5
  %51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef @.str.11) #4
  %52 = load ptr, ptr %2, align 8, !tbaa !5
  call void @buzzdarray_sort(ptr noundef %52, ptr noundef @dai_cmp)
  %53 = load ptr, ptr %2, align 8, !tbaa !5
  call void @dai_print(ptr noundef %53)
  %54 = load ptr, ptr @stdout, align 8, !tbaa !5
  %55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %54, ptr noundef @.str.12) #4
  %56 = load ptr, ptr %2, align 8, !tbaa !5
  call void @buzzdarray_remove(ptr noundef %56, i32 noundef 0)
  %57 = load ptr, ptr %2, align 8, !tbaa !5
  call void @dai_print(ptr noundef %57)
  %58 = load ptr, ptr @stdout, align 8, !tbaa !5
  %59 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %58, ptr noundef @.str.13) #4
  %60 = load ptr, ptr %2, align 8, !tbaa !5
  call void @buzzdarray_remove(ptr noundef %60, i32 noundef 10)
  %61 = load ptr, ptr %2, align 8, !tbaa !5
  call void @dai_print(ptr noundef %61)
  br label %62

62:                                               ; preds = %68, %24
  %63 = load ptr, ptr %2, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.buzzdarray_s, ptr %63, i32 0, i32 1
  %65 = load i64, ptr %64, align 8, !tbaa !11
  %66 = icmp eq i64 %65, 0
  %67 = xor i1 %66, true
  br i1 %67, label %68, label %78

68:                                               ; preds = %62
  %69 = load ptr, ptr @stdout, align 8, !tbaa !5
  %70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %69, ptr noundef @.str.14) #4
  %71 = load ptr, ptr %2, align 8, !tbaa !5
  %72 = load ptr, ptr %2, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.buzzdarray_s, ptr %72, i32 0, i32 1
  %74 = load i64, ptr %73, align 8, !tbaa !11
  %75 = sub nsw i64 %74, 1
  %76 = trunc i64 %75 to i32
  call void @buzzdarray_remove(ptr noundef %71, i32 noundef %76)
  %77 = load ptr, ptr %2, align 8, !tbaa !5
  call void @dai_print(ptr noundef %77)
  br label %62, !llvm.loop !16

78:                                               ; preds = %62
  call void @buzzdarray_destroy(ptr noundef %2)
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #4
  ret i32 0
}

declare ptr @buzzdarray_new(i32 noundef, i32 noundef, ptr noundef) #3

declare void @buzzdarray_insert(ptr noundef, i32 noundef, ptr noundef) #3

declare i32 @buzzdarray_find(ptr noundef, ptr noundef, ptr noundef) #3

declare void @buzzdarray_sort(ptr noundef, ptr noundef) #3

declare void @buzzdarray_remove(ptr noundef, i32 noundef) #3

declare void @buzzdarray_destroy(ptr noundef) #3

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

!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 8}
!12 = !{!"buzzdarray_s", !6, i64 0, !13, i64 8, !10, i64 16, !10, i64 20, !6, i64 24}
!13 = !{!"long", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}


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

@stdout = external local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @dai_print(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @dai_cmp(ptr noundef, ptr noundef) #1

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

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 {
  %1 = alloca ptr, align 8
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #4
  %5 = tail call ptr @buzzdarray_new(i32 noundef 1, i32 noundef 2, ptr noundef null) #4
  store ptr %5, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  tail call void @dai_print(ptr noundef %5)
  store i32 0, ptr %3, align 4, !tbaa !9
  %6 = getelementptr inbounds i8, ptr %5, i64 8
  br label %7

7:                                                ; preds = %0, %7
  %storemerge1 = phi i32 [ 0, %0 ], [ %13, %7 ]
  %8 = load ptr, ptr @stdout, align 8, !tbaa !5
  %9 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.5, i32 noundef %storemerge1) #4
  %10 = load i64, ptr %6, align 8, !tbaa !11
  %11 = trunc i64 %10 to i32
  call void @buzzdarray_insert(ptr noundef %5, i32 noundef %11, ptr noundef nonnull %3) #4
  call void @dai_print(ptr noundef %5)
  %12 = load i32, ptr %3, align 4, !tbaa !9
  %13 = add nsw i32 %12, 1
  store i32 %13, ptr %3, align 4, !tbaa !9
  %14 = icmp slt i32 %12, 9
  br i1 %14, label %7, label %15, !llvm.loop !14

15:                                               ; preds = %7
  %16 = getelementptr inbounds i8, ptr %5, i64 8
  store i32 100, ptr %2, align 4, !tbaa !9
  %17 = load ptr, ptr @stdout, align 8, !tbaa !5
  %18 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef nonnull @.str.6, i32 noundef 100) #4
  call void @buzzdarray_insert(ptr noundef nonnull %5, i32 noundef 0, ptr noundef nonnull %2) #4
  call void @dai_print(ptr noundef nonnull %5)
  store i32 200, ptr %2, align 4, !tbaa !9
  %19 = load ptr, ptr @stdout, align 8, !tbaa !5
  %20 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.7, i32 noundef 200) #4
  call void @buzzdarray_insert(ptr noundef nonnull %5, i32 noundef 5, ptr noundef nonnull %2) #4
  call void @dai_print(ptr noundef nonnull %5)
  store i32 300, ptr %2, align 4, !tbaa !9
  %21 = load ptr, ptr @stdout, align 8, !tbaa !5
  %22 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %21, ptr noundef nonnull @.str.8, i32 noundef 300) #4
  call void @buzzdarray_insert(ptr noundef nonnull %5, i32 noundef 7, ptr noundef nonnull %2) #4
  call void @dai_print(ptr noundef nonnull %5)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  store i32 5, ptr %4, align 4, !tbaa !9
  %23 = load ptr, ptr @stdout, align 8, !tbaa !5
  %24 = call i32 @buzzdarray_find(ptr noundef nonnull %5, ptr noundef nonnull @dai_cmp, ptr noundef nonnull %4) #4
  %25 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef nonnull @.str.9, i32 noundef %24) #4
  store i32 17, ptr %4, align 4, !tbaa !9
  %26 = load ptr, ptr @stdout, align 8, !tbaa !5
  %27 = call i32 @buzzdarray_find(ptr noundef nonnull %5, ptr noundef nonnull @dai_cmp, ptr noundef nonnull %4) #4
  %28 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef nonnull @.str.10, i32 noundef %27) #4
  %29 = load ptr, ptr @stdout, align 8, !tbaa !5
  %30 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef nonnull @.str.3) #4
  %31 = load ptr, ptr @stdout, align 8, !tbaa !5
  %32 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef nonnull @.str.11) #4
  call void @buzzdarray_sort(ptr noundef nonnull %5, ptr noundef nonnull @dai_cmp) #4
  call void @dai_print(ptr noundef nonnull %5)
  %33 = load ptr, ptr @stdout, align 8, !tbaa !5
  %34 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef nonnull @.str.12) #4
  call void @buzzdarray_remove(ptr noundef nonnull %5, i32 noundef 0) #4
  call void @dai_print(ptr noundef nonnull %5)
  %35 = load ptr, ptr @stdout, align 8, !tbaa !5
  %36 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.13) #4
  call void @buzzdarray_remove(ptr noundef nonnull %5, i32 noundef 10) #4
  call void @dai_print(ptr noundef nonnull %5)
  %37 = load i64, ptr %16, align 8, !tbaa !11
  %.not2 = icmp eq i64 %37, 0
  br i1 %.not2, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %15, %.lr.ph
  %38 = load ptr, ptr @stdout, align 8, !tbaa !5
  %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %38, ptr noundef nonnull @.str.14) #4
  %40 = load i64, ptr %16, align 8, !tbaa !11
  %41 = trunc i64 %40 to i32
  %42 = add i32 %41, -1
  call void @buzzdarray_remove(ptr noundef nonnull %5, i32 noundef %42) #4
  call void @dai_print(ptr noundef nonnull %5)
  %43 = load i64, ptr %16, align 8, !tbaa !11
  %.not = icmp eq i64 %43, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !16

._crit_edge:                                      ; preds = %.lr.ph, %15
  call void @buzzdarray_destroy(ptr noundef nonnull %1) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #4
  ret i32 0
}

declare ptr @buzzdarray_new(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

declare void @buzzdarray_insert(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @buzzdarray_find(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @buzzdarray_sort(ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @buzzdarray_remove(ptr noundef, i32 noundef) local_unnamed_addr #3

declare void @buzzdarray_destroy(ptr noundef) local_unnamed_addr #3

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

!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 8}
!12 = !{!"buzzdarray_s", !6, i64 0, !13, i64 8, !10, i64 16, !10, i64 20, !6, i64 24}
!13 = !{!"long", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass