; LLVM IR from recp/ds :: test/src (test_rb)

; 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.test_status_t = type { ptr, i32 }
%struct.RBTree = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i64 }
%struct.RBNode = type { ptr, ptr, [2 x ptr], i8 }

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [94 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [17 x i8], align 1

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

; Function Attrs: nounwind
declare void @srand(i32 noundef) #1

; Function Attrs: nounwind
declare i64 @time(ptr noundef) #1

; Function Attrs: nounwind
declare i32 @rand() #1

declare void @rb_insert(ptr noundef, ptr noundef, ptr noundef) #2

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

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

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

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

declare zeroext i1 @rb_isempty(ptr noundef) #2

declare void @rb_empty(ptr noundef) #2

declare void @rb_print(ptr noundef) #2

declare void @rb_destroy(ptr noundef) #2

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

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_rb_topdown_ptr() #3 {
  %1 = alloca %struct.test_status_t, align 8
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i64, align 8
  %9 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  store i32 1000, ptr %6, align 4, !tbaa !5
  %10 = call ptr @rb_newtree_ptr()
  store ptr %10, ptr %2, align 8, !tbaa !9
  %11 = call i64 @time(ptr noundef null) #4
  %12 = trunc i64 %11 to i32
  call void @srand(i32 noundef %12) #4
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %13

13:                                               ; preds = %86, %0
  %14 = load i32, ptr %7, align 4, !tbaa !5
  %15 = load i32, ptr %6, align 4, !tbaa !5
  %16 = icmp slt i32 %14, %15
  br i1 %16, label %17, label %89

17:                                               ; preds = %13
  %18 = call i32 @rand() #4
  %19 = srem i32 %18, 10000
  %20 = sext i32 %19 to i64
  store i64 %20, ptr %8, align 8, !tbaa !11
  %21 = load i64, ptr %8, align 8, !tbaa !11
  %22 = inttoptr i64 %21 to ptr
  store ptr %22, ptr %4, align 8, !tbaa !9
  %23 = load ptr, ptr %2, align 8, !tbaa !9
  %24 = load ptr, ptr %4, align 8, !tbaa !9
  %25 = load ptr, ptr %4, align 8, !tbaa !9
  call void @rb_insert(ptr noundef %23, ptr noundef %24, ptr noundef %25)
  br label %26

26:                                               ; preds = %17
  %27 = load ptr, ptr %2, align 8, !tbaa !9
  %28 = load ptr, ptr %2, align 8, !tbaa !9
  %29 = getelementptr inbounds %struct.RBTree, ptr %28, i32 0, i32 1
  %30 = load ptr, ptr %29, align 8, !tbaa !13
  %31 = getelementptr inbounds %struct.RBNode, ptr %30, i32 0, i32 2
  %32 = getelementptr inbounds [2 x ptr], ptr %31, i64 0, i64 1
  %33 = load ptr, ptr %32, align 8, !tbaa !9
  %34 = call i32 @rb_assert(ptr noundef %27, ptr noundef %33)
  %35 = icmp ne i32 %34, 0
  br i1 %35, label %41, label %36

36:                                               ; preds = %26
  %37 = load ptr, ptr @stderr, align 8, !tbaa !9
  %38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 209, ptr noundef @.str.2) #4
  %39 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %39, align 8, !tbaa !15
  %40 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %40, align 8, !tbaa !17
  store i32 1, ptr %9, align 4
  br label %114

41:                                               ; preds = %26
  br label %42

42:                                               ; preds = %41
  br label %43

43:                                               ; preds = %42
  %44 = load ptr, ptr %2, align 8, !tbaa !9
  %45 = load ptr, ptr %4, align 8, !tbaa !9
  %46 = call ptr @rb_find_node(ptr noundef %44, ptr noundef %45)
  store ptr %46, ptr %3, align 8, !tbaa !9
  br label %47

47:                                               ; preds = %43
  %48 = load ptr, ptr %3, align 8, !tbaa !9
  %49 = icmp ne ptr %48, null
  br i1 %49, label %55, label %50

50:                                               ; preds = %47
  %51 = load ptr, ptr @stderr, align 8, !tbaa !9
  %52 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 213, ptr noundef @.str.3) #4
  %53 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %53, align 8, !tbaa !15
  %54 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %54, align 8, !tbaa !17
  store i32 1, ptr %9, align 4
  br label %114

55:                                               ; preds = %47
  br label %56

56:                                               ; preds = %55
  br label %57

57:                                               ; preds = %56
  %58 = load ptr, ptr %2, align 8, !tbaa !9
  %59 = load ptr, ptr %4, align 8, !tbaa !9
  %60 = call ptr @rb_find(ptr noundef %58, ptr noundef %59)
  store ptr %60, ptr %5, align 8, !tbaa !9
  br label %61

61:                                               ; preds = %57
  %62 = load ptr, ptr %3, align 8, !tbaa !9
  %63 = icmp ne ptr %62, null
  br i1 %63, label %69, label %64

64:                                               ; preds = %61
  %65 = load ptr, ptr @stderr, align 8, !tbaa !9
  %66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %65, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 217, ptr noundef @.str.3) #4
  %67 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %67, align 8, !tbaa !15
  %68 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %68, align 8, !tbaa !17
  store i32 1, ptr %9, align 4
  br label %114

69:                                               ; preds = %61
  br label %70

70:                                               ; preds = %69
  br label %71

71:                                               ; preds = %70
  br label %72

72:                                               ; preds = %71
  %73 = load ptr, ptr %3, align 8, !tbaa !9
  %74 = getelementptr inbounds %struct.RBNode, ptr %73, i32 0, i32 1
  %75 = load ptr, ptr %74, align 8, !tbaa !18
  %76 = load ptr, ptr %5, align 8, !tbaa !9
  %77 = icmp eq ptr %75, %76
  br i1 %77, label %83, label %78

78:                                               ; preds = %72
  %79 = load ptr, ptr @stderr, align 8, !tbaa !9
  %80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %79, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 220, ptr noundef @.str.4) #4
  %81 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %81, align 8, !tbaa !15
  %82 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %82, align 8, !tbaa !17
  store i32 1, ptr %9, align 4
  br label %114

83:                                               ; preds = %72
  br label %84

84:                                               ; preds = %83
  br label %85

85:                                               ; preds = %84
  br label %86

86:                                               ; preds = %85
  %87 = load i32, ptr %7, align 4, !tbaa !5
  %88 = add nsw i32 %87, 1
  store i32 %88, ptr %7, align 4, !tbaa !5
  br label %13, !llvm.loop !20

89:                                               ; preds = %13
  %90 = load ptr, ptr %2, align 8, !tbaa !9
  call void @rb_empty(ptr noundef %90)
  br label %91

91:                                               ; preds = %89
  %92 = load ptr, ptr %2, align 8, !tbaa !9
  %93 = call zeroext i1 @rb_isempty(ptr noundef %92)
  br i1 %93, label %99, label %94

94:                                               ; preds = %91
  %95 = load ptr, ptr @stderr, align 8, !tbaa !9
  %96 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %95, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 225, ptr noundef @.str.5) #4
  %97 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %97, align 8, !tbaa !15
  %98 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %98, align 8, !tbaa !17
  store i32 1, ptr %9, align 4
  br label %114

99:                                               ; preds = %91
  br label %100

100:                                              ; preds = %99
  br label %101

101:                                              ; preds = %100
  %102 = call i32 @rand() #4
  %103 = srem i32 %102, 10000
  %104 = sext i32 %103 to i64
  store i64 %104, ptr %8, align 8, !tbaa !11
  %105 = load i64, ptr %8, align 8, !tbaa !11
  %106 = inttoptr i64 %105 to ptr
  store ptr %106, ptr %4, align 8, !tbaa !9
  %107 = load ptr, ptr %2, align 8, !tbaa !9
  %108 = load ptr, ptr %4, align 8, !tbaa !9
  %109 = load ptr, ptr %4, align 8, !tbaa !9
  call void @rb_insert(ptr noundef %107, ptr noundef %108, ptr noundef %109)
  %110 = load ptr, ptr %2, align 8, !tbaa !9
  call void @rb_print(ptr noundef %110)
  %111 = load ptr, ptr %2, align 8, !tbaa !9
  call void @rb_destroy(ptr noundef %111)
  %112 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %112, align 8, !tbaa !15
  %113 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 1, ptr %113, align 8, !tbaa !17
  store i32 1, ptr %9, align 4
  br label %114

114:                                              ; preds = %101, %94, %78, %64, %50, %36
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #4
  %115 = load { ptr, i32 }, ptr %1, align 8
  ret { ptr, i32 } %115
}

declare ptr @rb_newtree_ptr() #2

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

!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 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !10, i64 8}
!14 = !{!"RBTree", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !12, i64 64}
!15 = !{!16, !10, i64 0}
!16 = !{!"test_status_t", !10, i64 0, !6, i64 8}
!17 = !{!16, !6, i64 8}
!18 = !{!19, !10, i64 8}
!19 = !{!"RBNode", !10, i64 0, !10, i64 8, !7, i64 16, !7, i64 32}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}


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

@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [94 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [17 x i8], align 1

; Function Attrs: nounwind
declare void @srand(i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind
declare i64 @time(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind
declare i32 @rand() local_unnamed_addr #0

declare void @rb_insert(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare i32 @rb_assert(ptr noundef, ptr noundef) local_unnamed_addr #1

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

declare ptr @rb_find_node(ptr noundef, ptr noundef) local_unnamed_addr #1

declare ptr @rb_find(ptr noundef, ptr noundef) local_unnamed_addr #1

declare zeroext i1 @rb_isempty(ptr noundef) local_unnamed_addr #1

declare void @rb_empty(ptr noundef) local_unnamed_addr #1

declare void @rb_print(ptr noundef) local_unnamed_addr #1

declare void @rb_destroy(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_rb_topdown_ptr() local_unnamed_addr #3 {
  %1 = tail call ptr @rb_newtree_ptr() #4
  %2 = tail call i64 @time(ptr noundef null) #4
  %3 = trunc i64 %2 to i32
  tail call void @srand(i32 noundef %3) #4
  %4 = getelementptr inbounds i8, ptr %1, i64 8
  br label %7

5:                                                ; preds = %24
  %6 = add nuw nsw i32 %.026, 1
  %exitcond.not = icmp eq i32 %6, 1000
  br i1 %exitcond.not, label %32, label %7, !llvm.loop !5

7:                                                ; preds = %0, %5
  %.026 = phi i32 [ 0, %0 ], [ %6, %5 ]
  %8 = tail call i32 @rand() #4
  %9 = srem i32 %8, 10000
  %10 = sext i32 %9 to i64
  %11 = inttoptr i64 %10 to ptr
  tail call void @rb_insert(ptr noundef %1, ptr noundef %11, ptr noundef %11) #4
  %12 = load ptr, ptr %4, align 8, !tbaa !7
  %13 = getelementptr inbounds i8, ptr %12, i64 24
  %14 = load ptr, ptr %13, align 8, !tbaa !13
  %15 = tail call i32 @rb_assert(ptr noundef %1, ptr noundef %14) #4
  %.not = icmp eq i32 %15, 0
  br i1 %.not, label %16, label %19

16:                                               ; preds = %7
  %17 = load ptr, ptr @stderr, align 8, !tbaa !13
  %18 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 209, ptr noundef nonnull @.str.2) #5
  br label %42

19:                                               ; preds = %7
  %20 = tail call ptr @rb_find_node(ptr noundef nonnull %1, ptr noundef %11) #4
  %.not25 = icmp eq ptr %20, null
  br i1 %.not25, label %21, label %24

21:                                               ; preds = %19
  %22 = load ptr, ptr @stderr, align 8, !tbaa !13
  %23 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %22, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 213, ptr noundef nonnull @.str.3) #5
  br label %42

24:                                               ; preds = %19
  %25 = tail call ptr @rb_find(ptr noundef nonnull %1, ptr noundef %11) #4
  %26 = getelementptr inbounds i8, ptr %20, i64 8
  %27 = load ptr, ptr %26, align 8, !tbaa !14
  %28 = icmp eq ptr %27, %25
  br i1 %28, label %5, label %29

29:                                               ; preds = %24
  %30 = load ptr, ptr @stderr, align 8, !tbaa !13
  %31 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 220, ptr noundef nonnull @.str.4) #5
  br label %42

32:                                               ; preds = %5
  tail call void @rb_empty(ptr noundef nonnull %1) #4
  %33 = tail call zeroext i1 @rb_isempty(ptr noundef nonnull %1) #4
  br i1 %33, label %37, label %34

34:                                               ; preds = %32
  %35 = load ptr, ptr @stderr, align 8, !tbaa !13
  %36 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 225, ptr noundef nonnull @.str.5) #5
  br label %42

37:                                               ; preds = %32
  %38 = tail call i32 @rand() #4
  %39 = srem i32 %38, 10000
  %40 = sext i32 %39 to i64
  %41 = inttoptr i64 %40 to ptr
  tail call void @rb_insert(ptr noundef nonnull %1, ptr noundef %41, ptr noundef %41) #4
  tail call void @rb_print(ptr noundef nonnull %1) #4
  tail call void @rb_destroy(ptr noundef nonnull %1) #4
  br label %42

42:                                               ; preds = %37, %34, %29, %21, %16
  %.sroa.7.0 = phi i32 [ 0, %29 ], [ 0, %21 ], [ 0, %16 ], [ 1, %37 ], [ 0, %34 ]
  %.fca.1.insert = insertvalue { ptr, i32 } { ptr null, i32 poison }, i32 %.sroa.7.0, 1
  ret { ptr, i32 } %.fca.1.insert
}

declare ptr @rb_newtree_ptr() local_unnamed_addr #1

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 = { "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 = { 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 #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 = { cold 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !9, i64 8}
!8 = !{!"RBTree", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40, !9, i64 48, !9, i64 56, !12, i64 64}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!9, !9, i64 0}
!14 = !{!15, !9, i64 8}
!15 = !{!"RBNode", !9, i64 0, !9, i64 8, !10, i64 16, !10, i64 32}


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