; LLVM IR from stan-dev/math :: lib/tbb_2020.3/src/old (concurrent_vector_v2)

; 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.tbb::internal::concurrent_vector_base" = type { %"struct.tbb::atomic", %"struct.tbb::atomic.0", [2 x %"struct.tbb::internal::concurrent_vector_base::segment_t"] }
%"struct.tbb::atomic" = type { %"struct.tbb::internal::atomic_impl_with_arithmetic" }
%"struct.tbb::internal::atomic_impl_with_arithmetic" = type { %"struct.tbb::internal::atomic_impl" }
%"struct.tbb::internal::atomic_impl" = type { %"struct.tbb::internal::aligned_storage" }
%"struct.tbb::internal::aligned_storage" = type { i64 }
%"struct.tbb::atomic.0" = type { %"struct.tbb::internal::atomic_impl_with_arithmetic.1" }
%"struct.tbb::internal::atomic_impl_with_arithmetic.1" = type { %"struct.tbb::internal::atomic_impl.2" }
%"struct.tbb::internal::atomic_impl.2" = type { %"struct.tbb::internal::aligned_storage.3" }
%"struct.tbb::internal::aligned_storage.3" = type { ptr }
%"struct.tbb::internal::concurrent_vector_base::segment_t" = type { ptr }

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNVK3tbb8internal11atomic_implImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

declare void @_ZN3tbb8internal8NFS_FreeEPv(ptr noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN3tbb8internal22concurrent_vector_base12segment_baseEm(i64 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN3tbb8internal22concurrent_vector_base6helper16find_segment_endERKS1_(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNVK3tbb8internal11atomic_implIPNS0_22concurrent_vector_base9segment_tEEcvS4_Ev(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN3tbb6atomicIPNS_8internal22concurrent_vector_base9segment_tEEaSES4_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN3tbb8internal22concurrent_vector_base16segment_index_ofEm(i64 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3tbb8internal22concurrent_vector_base14internal_clearEPFvPvmEb(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef %1, i1 noundef zeroext %2) #1 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %16 = zext i1 %2 to i8
  store i8 %16, ptr %6, align 1, !tbaa !9
  %17 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %18 = getelementptr inbounds %"class.tbb::internal::concurrent_vector_base", ptr %17, i32 0, i32 0
  %19 = call noundef i64 @_ZNVK3tbb8internal11atomic_implImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8) %18)
  store i64 %19, ptr %7, align 8, !tbaa !11
  %20 = getelementptr inbounds %"class.tbb::internal::concurrent_vector_base", ptr %17, i32 0, i32 0
  %21 = call noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) %20, i64 noundef 0)
  br label %22

22:                                               ; preds = %25, %3
  %23 = load i64, ptr %7, align 8, !tbaa !11
  %24 = icmp ugt i64 %23, 0
  br i1 %24, label %25, label %44

25:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %26 = load i64, ptr %7, align 8, !tbaa !11
  %27 = sub i64 %26, 1
  %28 = call noundef i64 @_ZN3tbb8internal22concurrent_vector_base16segment_index_ofEm(i64 noundef %27)
  store i64 %28, ptr %8, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %29 = getelementptr inbounds %"class.tbb::internal::concurrent_vector_base", ptr %17, i32 0, i32 1
  %30 = call noundef ptr @_ZNVK3tbb8internal11atomic_implIPNS0_22concurrent_vector_base9segment_tEEcvS4_Ev(ptr noundef nonnull align 8 dereferenceable(8) %29)
  %31 = load i64, ptr %8, align 8, !tbaa !11
  %32 = getelementptr inbounds %"struct.tbb::internal::concurrent_vector_base::segment_t", ptr %30, i64 %31
  store ptr %32, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %33 = load i64, ptr %8, align 8, !tbaa !11
  %34 = call noundef i64 @_ZN3tbb8internal22concurrent_vector_base12segment_baseEm(i64 noundef %33)
  store i64 %34, ptr %10, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %35 = load i64, ptr %7, align 8, !tbaa !11
  %36 = load i64, ptr %10, align 8, !tbaa !11
  %37 = sub i64 %35, %36
  store i64 %37, ptr %11, align 8, !tbaa !11
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = load ptr, ptr %9, align 8, !tbaa !5
  %40 = getelementptr inbounds %"struct.tbb::internal::concurrent_vector_base::segment_t", ptr %39, i32 0, i32 0
  %41 = load volatile ptr, ptr %40, align 8, !tbaa !13
  %42 = load i64, ptr %11, align 8, !tbaa !11
  call void %38(ptr noundef %41, i64 noundef %42)
  %43 = load i64, ptr %10, align 8, !tbaa !11
  store i64 %43, ptr %7, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  br label %22, !llvm.loop !15

44:                                               ; preds = %22
  %45 = load i8, ptr %6, align 1, !tbaa !9, !range !17, !noundef !18
  %46 = trunc i8 %45 to i1
  br i1 %46, label %47, label %85

47:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %48 = call noundef i64 @_ZN3tbb8internal22concurrent_vector_base6helper16find_segment_endERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %17)
  store i64 %48, ptr %12, align 8, !tbaa !11
  br label %49

49:                                               ; preds = %52, %47
  %50 = load i64, ptr %12, align 8, !tbaa !11
  %51 = icmp ugt i64 %50, 0
  br i1 %51, label %52, label %65

52:                                               ; preds = %49
  %53 = load i64, ptr %12, align 8, !tbaa !11
  %54 = add i64 %53, -1
  store i64 %54, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %55 = getelementptr inbounds %"class.tbb::internal::concurrent_vector_base", ptr %17, i32 0, i32 1
  %56 = call noundef ptr @_ZNVK3tbb8internal11atomic_implIPNS0_22concurrent_vector_base9segment_tEEcvS4_Ev(ptr noundef nonnull align 8 dereferenceable(8) %55)
  %57 = load i64, ptr %12, align 8, !tbaa !11
  %58 = getelementptr inbounds %"struct.tbb::internal::concurrent_vector_base::segment_t", ptr %56, i64 %57
  store ptr %58, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %59 = load ptr, ptr %13, align 8, !tbaa !5
  %60 = getelementptr inbounds %"struct.tbb::internal::concurrent_vector_base::segment_t", ptr %59, i32 0, i32 0
  %61 = load volatile ptr, ptr %60, align 8, !tbaa !13
  store ptr %61, ptr %14, align 8, !tbaa !5
  %62 = load ptr, ptr %13, align 8, !tbaa !5
  %63 = getelementptr inbounds %"struct.tbb::internal::concurrent_vector_base::segment_t", ptr %62, i32 0, i32 0
  store volatile ptr null, ptr %63, align 8, !tbaa !13
  %64 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN3tbb8internal8NFS_FreeEPv(ptr noundef %64)
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  br label %49, !llvm.loop !19

65:                                               ; preds = %49
  %66 = getelementptr inbounds %"class.tbb::internal::concurrent_vector_base", ptr %17, i32 0, i32 2
  %67 = getelementptr inbounds [2 x %"struct.tbb::internal::concurrent_vector_base::segment_t"], ptr %66, i64 0, i64 0
  %68 = getelementptr inbounds %"struct.tbb::internal::concurrent_vector_base::segment_t", ptr %67, i32 0, i32 0
  store volatile ptr null, ptr %68, align 8, !tbaa !13
  %69 = getelementptr inbounds %"class.tbb::internal::concurrent_vector_base", ptr %17, i32 0, i32 2
  %70 = getelementptr inbounds [2 x %"struct.tbb::internal::concurrent_vector_base::segment_t"], ptr %69, i64 0, i64 1
  %71 = getelementptr inbounds %"struct.tbb::internal::concurrent_vector_base::segment_t", ptr %70, i32 0, i32 0
  store volatile ptr null, ptr %71, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %72 = getelementptr inbounds %"class.tbb::internal::concurrent_vector_base", ptr %17, i32 0, i32 1
  %73 = call noundef ptr @_ZNVK3tbb8internal11atomic_implIPNS0_22concurrent_vector_base9segment_tEEcvS4_Ev(ptr noundef nonnull align 8 dereferenceable(8) %72)
  store ptr %73, ptr %15, align 8, !tbaa !5
  %74 = load ptr, ptr %15, align 8, !tbaa !5
  %75 = getelementptr inbounds %"class.tbb::internal::concurrent_vector_base", ptr %17, i32 0, i32 2
  %76 = getelementptr inbounds [2 x %"struct.tbb::internal::concurrent_vector_base::segment_t"], ptr %75, i64 0, i64 0
  %77 = icmp ne ptr %74, %76
  br i1 %77, label %78, label %84

78:                                               ; preds = %65
  %79 = getelementptr inbounds %"class.tbb::internal::concurrent_vector_base", ptr %17, i32 0, i32 2
  %80 = getelementptr inbounds [2 x %"struct.tbb::internal::concurrent_vector_base::segment_t"], ptr %79, i64 0, i64 0
  %81 = getelementptr inbounds %"class.tbb::internal::concurrent_vector_base", ptr %17, i32 0, i32 1
  %82 = call noundef ptr @_ZN3tbb6atomicIPNS_8internal22concurrent_vector_base9segment_tEEaSES4_(ptr noundef nonnull align 8 dereferenceable(8) %81, ptr noundef %80)
  %83 = load ptr, ptr %15, align 8, !tbaa !5
  call void @_ZN3tbb8internal8NFS_FreeEPv(ptr noundef %83)
  br label %84

84:                                               ; preds = %78, %65
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  br label %85

85:                                               ; preds = %84, %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"_ZTSN3tbb8internal22concurrent_vector_base9segment_tE", !6, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = distinct !{!19, !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.tbb::internal::concurrent_vector_base::segment_t" = type { ptr }

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNVK3tbb8internal11atomic_implImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

declare void @_ZN3tbb8internal8NFS_FreeEPv(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN3tbb8internal22concurrent_vector_base12segment_baseEm(i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN3tbb8internal22concurrent_vector_base6helper16find_segment_endERKS1_(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNVK3tbb8internal11atomic_implIPNS0_22concurrent_vector_base9segment_tEEcvS4_Ev(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN3tbb6atomicIPNS_8internal22concurrent_vector_base9segment_tEEaSES4_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN3tbb8internal22concurrent_vector_base16segment_index_ofEm(i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3tbb8internal22concurrent_vector_base14internal_clearEPFvPvmEb(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr nocapture noundef readonly %1, i1 noundef zeroext %2) local_unnamed_addr #0 align 2 {
  %4 = tail call noundef i64 @_ZNVK3tbb8internal11atomic_implImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8) %0)
  %5 = tail call noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) %0, i64 noundef 0)
  %.not24 = icmp eq i64 %4, 0
  br i1 %.not24, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %3
  %6 = getelementptr inbounds i8, ptr %0, i64 8
  br label %7

7:                                                ; preds = %.lr.ph, %7
  %.025 = phi i64 [ %4, %.lr.ph ], [ %12, %7 ]
  %8 = add i64 %.025, -1
  %9 = tail call noundef i64 @_ZN3tbb8internal22concurrent_vector_base16segment_index_ofEm(i64 noundef %8)
  %10 = tail call noundef ptr @_ZNVK3tbb8internal11atomic_implIPNS0_22concurrent_vector_base9segment_tEEcvS4_Ev(ptr noundef nonnull align 8 dereferenceable(8) %6)
  %11 = getelementptr inbounds %"struct.tbb::internal::concurrent_vector_base::segment_t", ptr %10, i64 %9
  %12 = tail call noundef i64 @_ZN3tbb8internal22concurrent_vector_base12segment_baseEm(i64 noundef %9)
  %13 = sub i64 %.025, %12
  %14 = load volatile ptr, ptr %11, align 8, !tbaa !5
  tail call void %1(ptr noundef %14, i64 noundef %13)
  %.not = icmp eq i64 %12, 0
  br i1 %.not, label %._crit_edge, label %7, !llvm.loop !10

._crit_edge:                                      ; preds = %7, %3
  br i1 %2, label %15, label %29

15:                                               ; preds = %._crit_edge
  %16 = tail call noundef i64 @_ZN3tbb8internal22concurrent_vector_base6helper16find_segment_endERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %0)
  %.not2226 = icmp eq i64 %16, 0
  br i1 %.not2226, label %._crit_edge30, label %.lr.ph29

.lr.ph29:                                         ; preds = %15
  %17 = getelementptr inbounds i8, ptr %0, i64 8
  br label %18

18:                                               ; preds = %.lr.ph29, %18
  %.01927 = phi i64 [ %16, %.lr.ph29 ], [ %19, %18 ]
  %19 = add i64 %.01927, -1
  %20 = tail call noundef ptr @_ZNVK3tbb8internal11atomic_implIPNS0_22concurrent_vector_base9segment_tEEcvS4_Ev(ptr noundef nonnull align 8 dereferenceable(8) %17)
  %21 = getelementptr inbounds %"struct.tbb::internal::concurrent_vector_base::segment_t", ptr %20, i64 %19
  %22 = load volatile ptr, ptr %21, align 8, !tbaa !5
  store volatile ptr null, ptr %21, align 8, !tbaa !5
  tail call void @_ZN3tbb8internal8NFS_FreeEPv(ptr noundef %22)
  %.not22 = icmp eq i64 %19, 0
  br i1 %.not22, label %._crit_edge30, label %18, !llvm.loop !12

._crit_edge30:                                    ; preds = %18, %15
  %23 = getelementptr inbounds i8, ptr %0, i64 16
  store volatile ptr null, ptr %23, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %0, i64 24
  store volatile ptr null, ptr %24, align 8, !tbaa !5
  %25 = getelementptr inbounds i8, ptr %0, i64 8
  %26 = tail call noundef ptr @_ZNVK3tbb8internal11atomic_implIPNS0_22concurrent_vector_base9segment_tEEcvS4_Ev(ptr noundef nonnull align 8 dereferenceable(8) %25)
  %.not23 = icmp eq ptr %26, %23
  br i1 %.not23, label %29, label %27

27:                                               ; preds = %._crit_edge30
  %28 = tail call noundef ptr @_ZN3tbb6atomicIPNS_8internal22concurrent_vector_base9segment_tEEaSES4_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull %23)
  tail call void @_ZN3tbb8internal8NFS_FreeEPv(ptr noundef %26)
  br label %29

29:                                               ; preds = %._crit_edge30, %27, %._crit_edge
  ret void
}

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

!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, !7, i64 0}
!6 = !{!"_ZTSN3tbb8internal22concurrent_vector_base9segment_tE", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}


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