; LLVM IR from ShahjalalShohag/code-library :: Number Theory/K Divisors.ll (ZN3pcf5sieveEi)

; 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::bitset<10000010>::reference" = type { ptr, i64 }

@_ZN3pcf3lenE = external dso_local global i32, align 4
@_ZN3pcf6primesE = external dso_local global [1000010 x i32], align 16
@_ZN3pcf4prefE = external dso_local global [10000010 x i32], align 16
@_ZN3pcf1fE = external dso_local global { [156251 x i64] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3pcf5sieveEi(i32 noundef %0) #0 {
  %2 = alloca i32, align 4
  %3 = alloca %"class.std::bitset<10000010>::reference", align 8
  %4 = alloca i32, align 4
  %5 = alloca %"class.std::bitset<10000010>::reference", align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::bitset<10000010>::reference", align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::bitset<10000010>::reference", align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::bitset<10000010>::reference", align 8
  store i32 %0, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #3
  call void @_ZNSt6bitsetILm10000010EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<10000010>::reference") align 8 %3, ptr noundef nonnull align 8 dereferenceable(1250008) @_ZN3pcf1fE, i64 noundef 1)
  %13 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6bitsetILm10000010EE9referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %3, i1 noundef zeroext true) #3
  call void @_ZNSt6bitsetILm10000010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  store i32 4, ptr %4, align 4, !tbaa !5
  br label %14

14:                                               ; preds = %23, %1
  %15 = load i32, ptr %4, align 4, !tbaa !5
  %16 = load i32, ptr %2, align 4, !tbaa !5
  %17 = icmp sle i32 %15, %16
  br i1 %17, label %19, label %18

18:                                               ; preds = %14
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  br label %26

19:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #3
  %20 = load i32, ptr %4, align 4, !tbaa !5
  %21 = sext i32 %20 to i64
  call void @_ZNSt6bitsetILm10000010EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<10000010>::reference") align 8 %5, ptr noundef nonnull align 8 dereferenceable(1250008) @_ZN3pcf1fE, i64 noundef %21)
  %22 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6bitsetILm10000010EE9referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %5, i1 noundef zeroext true) #3
  call void @_ZNSt6bitsetILm10000010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #3
  br label %23

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

26:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  store i32 3, ptr %6, align 4, !tbaa !5
  br label %27

27:                                               ; preds = %59, %26
  %28 = load i32, ptr %6, align 4, !tbaa !5
  %29 = load i32, ptr %6, align 4, !tbaa !5
  %30 = mul nsw i32 %28, %29
  %31 = load i32, ptr %2, align 4, !tbaa !5
  %32 = icmp sle i32 %30, %31
  br i1 %32, label %34, label %33

33:                                               ; preds = %27
  store i32 5, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  br label %62

34:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #3
  %35 = load i32, ptr %6, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  call void @_ZNSt6bitsetILm10000010EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<10000010>::reference") align 8 %8, ptr noundef nonnull align 8 dereferenceable(1250008) @_ZN3pcf1fE, i64 noundef %36)
  %37 = call noundef zeroext i1 @_ZNKSt6bitsetILm10000010EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %8) #3
  %38 = xor i1 %37, true
  call void @_ZNSt6bitsetILm10000010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #3
  br i1 %38, label %39, label %58

39:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  %40 = load i32, ptr %6, align 4, !tbaa !5
  %41 = load i32, ptr %6, align 4, !tbaa !5
  %42 = mul nsw i32 %40, %41
  store i32 %42, ptr %9, align 4, !tbaa !5
  br label %43

43:                                               ; preds = %52, %39
  %44 = load i32, ptr %9, align 4, !tbaa !5
  %45 = load i32, ptr %2, align 4, !tbaa !5
  %46 = icmp sle i32 %44, %45
  br i1 %46, label %48, label %47

47:                                               ; preds = %43
  store i32 8, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  br label %57

48:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #3
  %49 = load i32, ptr %9, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  call void @_ZNSt6bitsetILm10000010EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<10000010>::reference") align 8 %10, ptr noundef nonnull align 8 dereferenceable(1250008) @_ZN3pcf1fE, i64 noundef %50)
  %51 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6bitsetILm10000010EE9referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %10, i1 noundef zeroext true) #3
  call void @_ZNSt6bitsetILm10000010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #3
  br label %52

52:                                               ; preds = %48
  %53 = load i32, ptr %6, align 4, !tbaa !5
  %54 = shl i32 %53, 1
  %55 = load i32, ptr %9, align 4, !tbaa !5
  %56 = add nsw i32 %55, %54
  store i32 %56, ptr %9, align 4, !tbaa !5
  br label %43, !llvm.loop !11

57:                                               ; preds = %47
  br label %58

58:                                               ; preds = %57, %34
  br label %59

59:                                               ; preds = %58
  %60 = load i32, ptr %6, align 4, !tbaa !5
  %61 = add nsw i32 %60, 2
  store i32 %61, ptr %6, align 4, !tbaa !5
  br label %27, !llvm.loop !12

62:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %63

63:                                               ; preds = %84, %62
  %64 = load i32, ptr %11, align 4, !tbaa !5
  %65 = load i32, ptr %2, align 4, !tbaa !5
  %66 = icmp sle i32 %64, %65
  br i1 %66, label %68, label %67

67:                                               ; preds = %63
  store i32 11, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  br label %87

68:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #3
  %69 = load i32, ptr %11, align 4, !tbaa !5
  %70 = sext i32 %69 to i64
  call void @_ZNSt6bitsetILm10000010EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<10000010>::reference") align 8 %12, ptr noundef nonnull align 8 dereferenceable(1250008) @_ZN3pcf1fE, i64 noundef %70)
  %71 = call noundef zeroext i1 @_ZNKSt6bitsetILm10000010EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %12) #3
  %72 = xor i1 %71, true
  call void @_ZNSt6bitsetILm10000010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #3
  br i1 %72, label %73, label %79

73:                                               ; preds = %68
  %74 = load i32, ptr %11, align 4, !tbaa !5
  %75 = load i32, ptr @_ZN3pcf3lenE, align 4, !tbaa !5
  %76 = add nsw i32 %75, 1
  store i32 %76, ptr @_ZN3pcf3lenE, align 4, !tbaa !5
  %77 = sext i32 %75 to i64
  %78 = getelementptr inbounds [1000010 x i32], ptr @_ZN3pcf6primesE, i64 0, i64 %77
  store i32 %74, ptr %78, align 4, !tbaa !5
  br label %79

79:                                               ; preds = %73, %68
  %80 = load i32, ptr @_ZN3pcf3lenE, align 4, !tbaa !5
  %81 = load i32, ptr %11, align 4, !tbaa !5
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds [10000010 x i32], ptr @_ZN3pcf4prefE, i64 0, i64 %82
  store i32 %80, ptr %83, align 4, !tbaa !5
  br label %84

84:                                               ; preds = %79
  %85 = load i32, ptr %11, align 4, !tbaa !5
  %86 = add nsw i32 %85, 1
  store i32 %86, ptr %11, align 4, !tbaa !5
  br label %63, !llvm.loop !13

87:                                               ; preds = %67
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6bitsetILm10000010EEixEm(ptr dead_on_unwind noalias writable sret(%"class.std::bitset<10000010>::reference") align 8, ptr noundef nonnull align 8 dereferenceable(1250008), i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6bitsetILm10000010EE9referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6bitsetILm10000010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6bitsetILm10000010EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 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 = { 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 = distinct !{!12, !10}
!13 = distinct !{!13, !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::bitset<10000010>::reference" = type { ptr, i64 }

@_ZN3pcf3lenE = external dso_local local_unnamed_addr global i32, align 4
@_ZN3pcf6primesE = external dso_local local_unnamed_addr global [1000010 x i32], align 16
@_ZN3pcf4prefE = external dso_local local_unnamed_addr global [10000010 x i32], align 16
@_ZN3pcf1fE = external dso_local global { [156251 x i64] }, align 8

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN3pcf5sieveEi(i32 noundef %0) local_unnamed_addr #0 {
  %2 = alloca %"class.std::bitset<10000010>::reference", align 8
  %3 = alloca %"class.std::bitset<10000010>::reference", align 8
  %4 = alloca %"class.std::bitset<10000010>::reference", align 8
  %5 = alloca %"class.std::bitset<10000010>::reference", align 8
  %6 = alloca %"class.std::bitset<10000010>::reference", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #2
  call void @_ZNSt6bitsetILm10000010EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<10000010>::reference") align 8 %2, ptr noundef nonnull align 8 dereferenceable(1250008) @_ZN3pcf1fE, i64 noundef 1)
  %7 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6bitsetILm10000010EE9referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %2, i1 noundef zeroext true) #2
  call void @_ZNSt6bitsetILm10000010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %2) #2
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #2
  %.not32 = icmp slt i32 %0, 4
  br i1 %.not32, label %.preheader, label %.lr.ph

.preheader31:                                     ; preds = %.lr.ph
  %.not2737 = icmp slt i32 %0, 9
  br i1 %.not2737, label %.preheader, label %.lr.ph40.preheader

.lr.ph40.preheader:                               ; preds = %.preheader31
  %8 = zext nneg i32 %0 to i64
  br label %.lr.ph40

.lr.ph:                                           ; preds = %1, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 4, %1 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #2
  call void @_ZNSt6bitsetILm10000010EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<10000010>::reference") align 8 %3, ptr noundef nonnull align 8 dereferenceable(1250008) @_ZN3pcf1fE, i64 noundef %indvars.iv)
  %9 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6bitsetILm10000010EE9referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %3, i1 noundef zeroext true) #2
  call void @_ZNSt6bitsetILm10000010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #2
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #2
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 2
  %10 = trunc nuw i64 %indvars.iv.next to i32
  %.not = icmp sgt i32 %10, %0
  br i1 %.not, label %.preheader31, label %.lr.ph, !llvm.loop !5

.preheader:                                       ; preds = %.loopexit, %1, %.preheader31
  %.not2841 = icmp slt i32 %0, 1
  br i1 %.not2841, label %._crit_edge, label %.lr.ph43.preheader

.lr.ph43.preheader:                               ; preds = %.preheader
  %11 = add nuw nsw i32 %0, 1
  %wide.trip.count = zext nneg i32 %11 to i64
  br label %.lr.ph43

.lr.ph40:                                         ; preds = %.lr.ph40.preheader, %.loopexit
  %indvars.iv50 = phi i64 [ 3, %.lr.ph40.preheader ], [ %indvars.iv.next51, %.loopexit ]
  %indvars.iv45 = phi i32 [ 4, %.lr.ph40.preheader ], [ %indvars.iv.next46, %.loopexit ]
  %12 = phi i32 [ 9, %.lr.ph40.preheader ], [ %20, %.loopexit ]
  %13 = or disjoint i32 %indvars.iv45, 2
  %14 = sext i32 %13 to i64
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #2
  call void @_ZNSt6bitsetILm10000010EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<10000010>::reference") align 8 %4, ptr noundef nonnull align 8 dereferenceable(1250008) @_ZN3pcf1fE, i64 noundef %indvars.iv50)
  %15 = call noundef zeroext i1 @_ZNKSt6bitsetILm10000010EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #2
  call void @_ZNSt6bitsetILm10000010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #2
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #2
  %.not2934 = icmp sgt i32 %12, %0
  %or.cond = or i1 %15, %.not2934
  br i1 %or.cond, label %.loopexit, label %.lr.ph36

.lr.ph36:                                         ; preds = %.lr.ph40
  %16 = zext nneg i32 %12 to i64
  br label %17

17:                                               ; preds = %.lr.ph36, %17
  %indvars.iv47 = phi i64 [ %16, %.lr.ph36 ], [ %indvars.iv.next48, %17 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #2
  call void @_ZNSt6bitsetILm10000010EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<10000010>::reference") align 8 %5, ptr noundef nonnull align 8 dereferenceable(1250008) @_ZN3pcf1fE, i64 noundef %indvars.iv47)
  %18 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6bitsetILm10000010EE9referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %5, i1 noundef zeroext true) #2
  call void @_ZNSt6bitsetILm10000010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #2
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #2
  %indvars.iv.next48 = add nsw i64 %indvars.iv47, %14
  %.not29 = icmp sgt i64 %indvars.iv.next48, %8
  br i1 %.not29, label %.loopexit, label %17, !llvm.loop !7

.loopexit:                                        ; preds = %17, %.lr.ph40
  %indvars.iv.next51 = add nuw nsw i64 %indvars.iv50, 2
  %19 = mul nuw nsw i64 %indvars.iv.next51, %indvars.iv.next51
  %20 = trunc nuw i64 %19 to i32
  %.not27 = icmp sgt i32 %20, %0
  %indvars.iv.next46 = add i32 %indvars.iv45, 4
  br i1 %.not27, label %.preheader, label %.lr.ph40, !llvm.loop !8

._crit_edge:                                      ; preds = %27, %.preheader
  ret void

.lr.ph43:                                         ; preds = %.lr.ph43.preheader, %27
  %indvars.iv53 = phi i64 [ 1, %.lr.ph43.preheader ], [ %indvars.iv.next54, %27 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #2
  call void @_ZNSt6bitsetILm10000010EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<10000010>::reference") align 8 %6, ptr noundef nonnull align 8 dereferenceable(1250008) @_ZN3pcf1fE, i64 noundef %indvars.iv53)
  %21 = call noundef zeroext i1 @_ZNKSt6bitsetILm10000010EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %6) #2
  call void @_ZNSt6bitsetILm10000010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #2
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #2
  %.pre = load i32, ptr @_ZN3pcf3lenE, align 4, !tbaa !9
  br i1 %21, label %27, label %22

22:                                               ; preds = %.lr.ph43
  %23 = add nsw i32 %.pre, 1
  store i32 %23, ptr @_ZN3pcf3lenE, align 4, !tbaa !9
  %24 = sext i32 %.pre to i64
  %25 = getelementptr inbounds [1000010 x i32], ptr @_ZN3pcf6primesE, i64 0, i64 %24
  %26 = trunc nuw nsw i64 %indvars.iv53 to i32
  store i32 %26, ptr %25, align 4, !tbaa !9
  br label %27

27:                                               ; preds = %22, %.lr.ph43
  %28 = phi i32 [ %23, %22 ], [ %.pre, %.lr.ph43 ]
  %29 = getelementptr inbounds [10000010 x i32], ptr @_ZN3pcf4prefE, i64 0, i64 %indvars.iv53
  store i32 %28, ptr %29, align 4, !tbaa !9
  %indvars.iv.next54 = add nuw nsw i64 %indvars.iv53, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next54, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph43, !llvm.loop !13
}

; 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 nounwind uwtable
declare dso_local void @_ZNSt6bitsetILm10000010EEixEm(ptr dead_on_unwind noalias writable sret(%"class.std::bitset<10000010>::reference") align 8, ptr noundef nonnull align 8 dereferenceable(1250008), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6bitsetILm10000010EE9referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6bitsetILm10000010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #0 align 2

; 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 nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6bitsetILm10000010EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = distinct !{!7, !6}
!8 = distinct !{!8, !6}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = distinct !{!13, !6}


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