; LLVM IR from sgtlaugh/algovault :: code_library/fast_prime_counting.ll (Z3genv)

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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.anon = type { i8 }

@primes = external dso_local global %"class.std::vector", align 8
@prod = external dso_local global [7 x i32], align 16
@dp = external dso_local global [50 x [510510 x i32]], align 16
@_ZL8fast_div = external hidden constant %class.anon, align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5sievev() #0

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3genv() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  call void @_Z5sievev()
  %4 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @primes, i64 noundef 0) #4
  %5 = load i32, ptr %4, align 4, !tbaa !5
  store i32 %5, ptr @prod, align 16, !tbaa !5
  store i32 1, ptr %1, align 4, !tbaa !5
  br label %6

6:                                                ; preds = %23, %0
  %7 = load i32, ptr %1, align 4, !tbaa !5
  %8 = icmp slt i32 %7, 7
  br i1 %8, label %9, label %26

9:                                                ; preds = %6
  %10 = load i32, ptr %1, align 4, !tbaa !5
  %11 = sub nsw i32 %10, 1
  %12 = sext i32 %11 to i64
  %13 = getelementptr inbounds [7 x i32], ptr @prod, i64 0, i64 %12
  %14 = load i32, ptr %13, align 4, !tbaa !5
  %15 = load i32, ptr %1, align 4, !tbaa !5
  %16 = sext i32 %15 to i64
  %17 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @primes, i64 noundef %16) #4
  %18 = load i32, ptr %17, align 4, !tbaa !5
  %19 = mul nsw i32 %14, %18
  %20 = load i32, ptr %1, align 4, !tbaa !5
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds [7 x i32], ptr @prod, i64 0, i64 %21
  store i32 %19, ptr %22, align 4, !tbaa !5
  br label %23

23:                                               ; preds = %9
  %24 = load i32, ptr %1, align 4, !tbaa !5
  %25 = add nsw i32 %24, 1
  store i32 %25, ptr %1, align 4, !tbaa !5
  br label %6, !llvm.loop !9

26:                                               ; preds = %6
  store i32 0, ptr %1, align 4, !tbaa !5
  br label %27

27:                                               ; preds = %35, %26
  %28 = load i32, ptr %1, align 4, !tbaa !5
  %29 = icmp slt i32 %28, 510510
  br i1 %29, label %30, label %38

30:                                               ; preds = %27
  %31 = load i32, ptr %1, align 4, !tbaa !5
  %32 = load i32, ptr %1, align 4, !tbaa !5
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds [510510 x i32], ptr @dp, i64 0, i64 %33
  store i32 %31, ptr %34, align 4, !tbaa !5
  br label %35

35:                                               ; preds = %30
  %36 = load i32, ptr %1, align 4, !tbaa !5
  %37 = add nsw i32 %36, 1
  store i32 %37, ptr %1, align 4, !tbaa !5
  br label %27, !llvm.loop !11

38:                                               ; preds = %27
  store i32 1, ptr %1, align 4, !tbaa !5
  br label %39

39:                                               ; preds = %79, %38
  %40 = load i32, ptr %1, align 4, !tbaa !5
  %41 = icmp slt i32 %40, 50
  br i1 %41, label %42, label %82

42:                                               ; preds = %39
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %43

43:                                               ; preds = %75, %42
  %44 = load i32, ptr %2, align 4, !tbaa !5
  %45 = icmp slt i32 %44, 510510
  br i1 %45, label %46, label %78

46:                                               ; preds = %43
  %47 = load i32, ptr %1, align 4, !tbaa !5
  %48 = sub nsw i32 %47, 1
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [50 x [510510 x i32]], ptr @dp, i64 0, i64 %49
  %51 = load i32, ptr %2, align 4, !tbaa !5
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [510510 x i32], ptr %50, i64 0, i64 %52
  %54 = load i32, ptr %53, align 4, !tbaa !5
  %55 = load i32, ptr %1, align 4, !tbaa !5
  %56 = sub nsw i32 %55, 1
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [50 x [510510 x i32]], ptr @dp, i64 0, i64 %57
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  %59 = load i32, ptr %2, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  store i64 %60, ptr %3, align 8, !tbaa !12
  %61 = load i32, ptr %1, align 4, !tbaa !5
  %62 = sub nsw i32 %61, 1
  %63 = sext i32 %62 to i64
  %64 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @primes, i64 noundef %63) #4
  %65 = call noundef i64 @"_ZNK3$_0clERKxRKi"(ptr noundef nonnull align 1 dereferenceable(1) @_ZL8fast_div, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 4 dereferenceable(4) %64)
  %66 = getelementptr inbounds [510510 x i32], ptr %58, i64 0, i64 %65
  %67 = load i32, ptr %66, align 4, !tbaa !5
  %68 = sub nsw i32 %54, %67
  %69 = load i32, ptr %1, align 4, !tbaa !5
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [50 x [510510 x i32]], ptr @dp, i64 0, i64 %70
  %72 = load i32, ptr %2, align 4, !tbaa !5
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds [510510 x i32], ptr %71, i64 0, i64 %73
  store i32 %68, ptr %74, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  br label %75

75:                                               ; preds = %46
  %76 = load i32, ptr %2, align 4, !tbaa !5
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %2, align 4, !tbaa !5
  br label %43, !llvm.loop !14

78:                                               ; preds = %43
  br label %79

79:                                               ; preds = %78
  %80 = load i32, ptr %1, align 4, !tbaa !5
  %81 = add nsw i32 %80, 1
  store i32 %81, ptr %1, align 4, !tbaa !5
  br label %39, !llvm.loop !15

82:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #4
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i64 @"_ZNK3$_0clERKxRKi"(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

attributes #0 = { mustprogress 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 = { mustprogress 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 = { inlinehint mustprogress 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++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = !{!13, !13, i64 0}
!13 = !{!"long long", !7, i64 0}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}


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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.anon = type { i8 }

@primes = external dso_local global %"class.std::vector", align 8
@prod = external dso_local local_unnamed_addr global [7 x i32], align 16
@dp = external dso_local local_unnamed_addr global [50 x [510510 x i32]], align 16
@_ZL8fast_div = external hidden constant %class.anon, align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5sievev() local_unnamed_addr #0

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3genv() local_unnamed_addr #0 {
.preheader22.preheader:
  %0 = alloca i64, align 8
  tail call void @_Z5sievev()
  %1 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @primes, i64 noundef 0) #4
  %2 = load i32, ptr %1, align 4, !tbaa !5
  store i32 %2, ptr @prod, align 16, !tbaa !5
  %3 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @primes, i64 noundef 1) #4
  %4 = load i32, ptr %3, align 4, !tbaa !5
  %5 = mul nsw i32 %4, %2
  store i32 %5, ptr getelementptr inbounds (i8, ptr @prod, i64 4), align 4, !tbaa !5
  %6 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @primes, i64 noundef 2) #4
  %7 = load i32, ptr %6, align 4, !tbaa !5
  %8 = mul nsw i32 %7, %5
  store i32 %8, ptr getelementptr inbounds (i8, ptr @prod, i64 8), align 8, !tbaa !5
  %9 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @primes, i64 noundef 3) #4
  %10 = load i32, ptr %9, align 4, !tbaa !5
  %11 = mul nsw i32 %10, %8
  store i32 %11, ptr getelementptr inbounds (i8, ptr @prod, i64 12), align 4, !tbaa !5
  %12 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @primes, i64 noundef 4) #4
  %13 = load i32, ptr %12, align 4, !tbaa !5
  %14 = mul nsw i32 %13, %11
  store i32 %14, ptr getelementptr inbounds (i8, ptr @prod, i64 16), align 16, !tbaa !5
  %15 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @primes, i64 noundef 5) #4
  %16 = load i32, ptr %15, align 4, !tbaa !5
  %17 = mul nsw i32 %16, %14
  store i32 %17, ptr getelementptr inbounds (i8, ptr @prod, i64 20), align 4, !tbaa !5
  %18 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @primes, i64 noundef 6) #4
  %19 = load i32, ptr %18, align 4, !tbaa !5
  %20 = mul nsw i32 %19, %17
  store i32 %20, ptr getelementptr inbounds (i8, ptr @prod, i64 24), align 8, !tbaa !5
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %.preheader22.preheader
  %index = phi i64 [ 0, %.preheader22.preheader ], [ %index.next.2, %vector.body ]
  %vec.ind = phi <4 x i32> [ <i32 0, i32 1, i32 2, i32 3>, %.preheader22.preheader ], [ %vec.ind.next.2, %vector.body ]
  %step.add = add <4 x i32> %vec.ind, <i32 4, i32 4, i32 4, i32 4>
  %21 = getelementptr inbounds [510510 x i32], ptr @dp, i64 0, i64 %index
  %22 = getelementptr inbounds i8, ptr %21, i64 16
  store <4 x i32> %vec.ind, ptr %21, align 16, !tbaa !5
  store <4 x i32> %step.add, ptr %22, align 16, !tbaa !5
  %index.next = add nuw nsw i64 %index, 8
  %vec.ind.next = add <4 x i32> %vec.ind, <i32 8, i32 8, i32 8, i32 8>
  %step.add.1 = add <4 x i32> %vec.ind, <i32 12, i32 12, i32 12, i32 12>
  %23 = getelementptr inbounds [510510 x i32], ptr @dp, i64 0, i64 %index.next
  %24 = getelementptr inbounds i8, ptr %23, i64 16
  store <4 x i32> %vec.ind.next, ptr %23, align 16, !tbaa !5
  store <4 x i32> %step.add.1, ptr %24, align 16, !tbaa !5
  %index.next.1 = add nuw nsw i64 %index, 16
  %vec.ind.next.1 = add <4 x i32> %vec.ind, <i32 16, i32 16, i32 16, i32 16>
  %step.add.2 = add <4 x i32> %vec.ind, <i32 20, i32 20, i32 20, i32 20>
  %25 = getelementptr inbounds [510510 x i32], ptr @dp, i64 0, i64 %index.next.1
  %26 = getelementptr inbounds i8, ptr %25, i64 16
  store <4 x i32> %vec.ind.next.1, ptr %25, align 16, !tbaa !5
  store <4 x i32> %step.add.2, ptr %26, align 16, !tbaa !5
  %index.next.2 = add nuw nsw i64 %index, 24
  %vec.ind.next.2 = add <4 x i32> %vec.ind, <i32 24, i32 24, i32 24, i32 24>
  %27 = icmp eq i64 %index.next.2, 510504
  br i1 %27, label %.preheader22, label %vector.body, !llvm.loop !9

.preheader22:                                     ; preds = %vector.body
  store i32 510504, ptr getelementptr inbounds (i8, ptr @dp, i64 2042016), align 16, !tbaa !5
  store i32 510505, ptr getelementptr inbounds (i8, ptr @dp, i64 2042020), align 4, !tbaa !5
  store i32 510506, ptr getelementptr inbounds (i8, ptr @dp, i64 2042024), align 8, !tbaa !5
  store i32 510507, ptr getelementptr inbounds (i8, ptr @dp, i64 2042028), align 4, !tbaa !5
  store i32 510508, ptr getelementptr inbounds (i8, ptr @dp, i64 2042032), align 16, !tbaa !5
  store i32 510509, ptr getelementptr inbounds (i8, ptr @dp, i64 2042036), align 4, !tbaa !5
  br label %.preheader

.preheader:                                       ; preds = %.preheader22, %38
  %indvars.iv33 = phi i64 [ %indvars.iv.next34, %38 ], [ 1, %.preheader22 ]
  %28 = add nsw i64 %indvars.iv33, -1
  br label %29

29:                                               ; preds = %.preheader, %29
  %indvars.iv29 = phi i64 [ 1, %.preheader ], [ %indvars.iv.next30, %29 ]
  %30 = getelementptr inbounds [50 x [510510 x i32]], ptr @dp, i64 0, i64 %28, i64 %indvars.iv29
  %31 = load i32, ptr %30, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %0) #4
  store i64 %indvars.iv29, ptr %0, align 8, !tbaa !13
  %32 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @primes, i64 noundef %28) #4
  %33 = call noundef i64 @"_ZNK3$_0clERKxRKi"(ptr noundef nonnull align 1 dereferenceable(1) @_ZL8fast_div, ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 4 dereferenceable(4) %32)
  %34 = getelementptr inbounds [50 x [510510 x i32]], ptr @dp, i64 0, i64 %28, i64 %33
  %35 = load i32, ptr %34, align 4, !tbaa !5
  %36 = sub nsw i32 %31, %35
  %37 = getelementptr inbounds [50 x [510510 x i32]], ptr @dp, i64 0, i64 %indvars.iv33, i64 %indvars.iv29
  store i32 %36, ptr %37, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %0) #4
  %indvars.iv.next30 = add nuw nsw i64 %indvars.iv29, 1
  %exitcond32.not = icmp eq i64 %indvars.iv.next30, 510510
  br i1 %exitcond32.not, label %38, label %29, !llvm.loop !15

38:                                               ; preds = %29
  %indvars.iv.next34 = add nuw nsw i64 %indvars.iv33, 1
  %exitcond36.not = icmp eq i64 %indvars.iv.next34, 50
  br i1 %exitcond36.not, label %39, label %.preheader, !llvm.loop !16

39:                                               ; preds = %38
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i64 @"_ZNK3$_0clERKxRKi"(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

attributes #0 = { mustprogress 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 = { mustprogress 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 = { inlinehint mustprogress 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++ TBAA"}
!9 = distinct !{!9, !10, !11, !12}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.isvectorized", i32 1}
!12 = !{!"llvm.loop.unroll.runtime.disable"}
!13 = !{!14, !14, i64 0}
!14 = !{!"long long", !7, i64 0}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass