; LLVM IR from VastoLorde95/Competitive-Programming :: SPOJ/Random/NFACTOR (A)

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

@sieve = external dso_local global [1001000 x i32], align 16
@dp = external dso_local global [1001000 x [11 x i32]], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z8getSievev() #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 norecurse uwtable
define dso_local noundef i32 @main() #2 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @_Z8getSievev()
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %13

13:                                               ; preds = %62, %0
  %14 = load i32, ptr %2, align 4, !tbaa !5
  %15 = icmp slt i32 %14, 1001000
  br i1 %15, label %17, label %16

16:                                               ; preds = %13
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  br label %65

17:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  store i32 0, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  %18 = load i32, ptr %2, align 4, !tbaa !5
  store i32 %18, ptr %4, align 4, !tbaa !5
  br label %19

19:                                               ; preds = %48, %17
  %20 = load i32, ptr %4, align 4, !tbaa !5
  %21 = icmp sgt i32 %20, 1
  br i1 %21, label %22, label %49

22:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  %23 = load i32, ptr %4, align 4, !tbaa !5
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds [1001000 x i32], ptr @sieve, i64 0, i64 %24
  %26 = load i32, ptr %25, align 4, !tbaa !5
  store i32 %26, ptr %5, align 4, !tbaa !5
  %27 = load i32, ptr %3, align 4, !tbaa !5
  %28 = add nsw i32 %27, 1
  store i32 %28, ptr %3, align 4, !tbaa !5
  br label %29

29:                                               ; preds = %41, %22
  %30 = load i32, ptr %5, align 4, !tbaa !5
  %31 = load i32, ptr %4, align 4, !tbaa !5
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [1001000 x i32], ptr @sieve, i64 0, i64 %32
  %34 = load i32, ptr %33, align 4, !tbaa !5
  %35 = icmp eq i32 %30, %34
  br i1 %35, label %36, label %39

36:                                               ; preds = %29
  %37 = load i32, ptr %4, align 4, !tbaa !5
  %38 = icmp sgt i32 %37, 1
  br label %39

39:                                               ; preds = %36, %29
  %40 = phi i1 [ false, %29 ], [ %38, %36 ]
  br i1 %40, label %41, label %48

41:                                               ; preds = %39
  %42 = load i32, ptr %4, align 4, !tbaa !5
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds [1001000 x i32], ptr @sieve, i64 0, i64 %43
  %45 = load i32, ptr %44, align 4, !tbaa !5
  %46 = load i32, ptr %4, align 4, !tbaa !5
  %47 = sdiv i32 %46, %45
  store i32 %47, ptr %4, align 4, !tbaa !5
  br label %29, !llvm.loop !9

48:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %19, !llvm.loop !11

49:                                               ; preds = %19
  %50 = load i32, ptr %3, align 4, !tbaa !5
  %51 = icmp slt i32 %50, 11
  br i1 %51, label %52, label %61

52:                                               ; preds = %49
  %53 = load i32, ptr %2, align 4, !tbaa !5
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [1001000 x [11 x i32]], ptr @dp, i64 0, i64 %54
  %56 = load i32, ptr %3, align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [11 x i32], ptr %55, i64 0, i64 %57
  %59 = load i32, ptr %58, align 4, !tbaa !5
  %60 = add nsw i32 %59, 1
  store i32 %60, ptr %58, align 4, !tbaa !5
  br label %61

61:                                               ; preds = %52, %49
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  br label %62

62:                                               ; preds = %61
  %63 = load i32, ptr %2, align 4, !tbaa !5
  %64 = add nsw i32 %63, 1
  store i32 %64, ptr %2, align 4, !tbaa !5
  br label %13, !llvm.loop !12

65:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 1, ptr %6, align 4, !tbaa !5
  br label %66

66:                                               ; preds = %96, %65
  %67 = load i32, ptr %6, align 4, !tbaa !5
  %68 = icmp slt i32 %67, 1001000
  br i1 %68, label %70, label %69

69:                                               ; preds = %66
  store i32 9, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %99

70:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %71

71:                                               ; preds = %92, %70
  %72 = load i32, ptr %8, align 4, !tbaa !5
  %73 = icmp slt i32 %72, 11
  br i1 %73, label %75, label %74

74:                                               ; preds = %71
  store i32 12, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %95

75:                                               ; preds = %71
  %76 = load i32, ptr %6, align 4, !tbaa !5
  %77 = sub nsw i32 %76, 1
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [1001000 x [11 x i32]], ptr @dp, i64 0, i64 %78
  %80 = load i32, ptr %8, align 4, !tbaa !5
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [11 x i32], ptr %79, i64 0, i64 %81
  %83 = load i32, ptr %82, align 4, !tbaa !5
  %84 = load i32, ptr %6, align 4, !tbaa !5
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [1001000 x [11 x i32]], ptr @dp, i64 0, i64 %85
  %87 = load i32, ptr %8, align 4, !tbaa !5
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [11 x i32], ptr %86, i64 0, i64 %88
  %90 = load i32, ptr %89, align 4, !tbaa !5
  %91 = add nsw i32 %90, %83
  store i32 %91, ptr %89, align 4, !tbaa !5
  br label %92

92:                                               ; preds = %75
  %93 = load i32, ptr %8, align 4, !tbaa !5
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %8, align 4, !tbaa !5
  br label %71, !llvm.loop !13

95:                                               ; preds = %74
  br label %96

96:                                               ; preds = %95
  %97 = load i32, ptr %6, align 4, !tbaa !5
  %98 = add nsw i32 %97, 1
  store i32 %98, ptr %6, align 4, !tbaa !5
  br label %66, !llvm.loop !14

99:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %100 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %9)
  br label %101

101:                                              ; preds = %105, %99
  %102 = load i32, ptr %9, align 4, !tbaa !5
  %103 = add nsw i32 %102, -1
  store i32 %103, ptr %9, align 4, !tbaa !5
  %104 = icmp ne i32 %102, 0
  br i1 %104, label %105, label %124

105:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %106 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %10, ptr noundef %11, ptr noundef %12)
  %107 = load i32, ptr %11, align 4, !tbaa !5
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds [1001000 x [11 x i32]], ptr @dp, i64 0, i64 %108
  %110 = load i32, ptr %12, align 4, !tbaa !5
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds [11 x i32], ptr %109, i64 0, i64 %111
  %113 = load i32, ptr %112, align 4, !tbaa !5
  %114 = load i32, ptr %10, align 4, !tbaa !5
  %115 = sub nsw i32 %114, 1
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds [1001000 x [11 x i32]], ptr @dp, i64 0, i64 %116
  %118 = load i32, ptr %12, align 4, !tbaa !5
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds [11 x i32], ptr %117, i64 0, i64 %119
  %121 = load i32, ptr %120, align 4, !tbaa !5
  %122 = sub nsw i32 %113, %121
  %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %122)
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %101, !llvm.loop !15

124:                                              ; preds = %101
  store i32 0, ptr %1, align 4
  store i32 1, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  %125 = load i32, ptr %1, align 4
  ret i32 %125
}

declare i32 @__isoc99_scanf(ptr noundef, ...) #3

declare i32 @printf(ptr noundef, ...) #3

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress norecurse 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 = { "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 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!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"

@sieve = external dso_local local_unnamed_addr global [1001000 x i32], align 16
@dp = external dso_local local_unnamed_addr global [1001000 x [11 x i32]], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z8getSievev() 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 norecurse nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #2 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  tail call void @_Z8getSievev()
  br label %.preheader29

.preheader29:                                     ; preds = %0, %24
  %indvars.iv = phi i64 [ 1, %0 ], [ %indvars.iv.next, %24 ]
  %5 = icmp ugt i64 %indvars.iv, 1
  br i1 %5, label %.lr.ph33.preheader, label %._crit_edge.thread

.lr.ph33.preheader:                               ; preds = %.preheader29
  %6 = trunc nuw nsw i64 %indvars.iv to i32
  br label %.lr.ph.preheader

.loopexit:                                        ; preds = %.lr.ph
  %7 = icmp sgt i32 %12, 1
  br i1 %7, label %.lr.ph.preheader, label %._crit_edge, !llvm.loop !5

.lr.ph.preheader:                                 ; preds = %.loopexit, %.lr.ph33.preheader
  %.02432 = phi i32 [ %12, %.loopexit ], [ %6, %.lr.ph33.preheader ]
  %.02531 = phi i32 [ %11, %.loopexit ], [ 0, %.lr.ph33.preheader ]
  %8 = zext nneg i32 %.02432 to i64
  %9 = getelementptr inbounds [1001000 x i32], ptr @sieve, i64 0, i64 %8
  %10 = load i32, ptr %9, align 4, !tbaa !7
  %11 = add nuw nsw i32 %.02531, 1
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %.130 = phi i32 [ %12, %.lr.ph ], [ %.02432, %.lr.ph.preheader ]
  %12 = sdiv i32 %.130, %10
  %13 = sext i32 %12 to i64
  %14 = getelementptr inbounds [1001000 x i32], ptr @sieve, i64 0, i64 %13
  %15 = load i32, ptr %14, align 4, !tbaa !7
  %16 = icmp eq i32 %10, %15
  %17 = icmp sgt i32 %12, 1
  %18 = and i1 %17, %16
  br i1 %18, label %.lr.ph, label %.loopexit, !llvm.loop !11

._crit_edge:                                      ; preds = %.loopexit
  %19 = icmp ult i32 %.02531, 10
  br i1 %19, label %._crit_edge.thread, label %24

._crit_edge.thread:                               ; preds = %.preheader29, %._crit_edge
  %.025.lcssa63 = phi i32 [ %11, %._crit_edge ], [ 0, %.preheader29 ]
  %20 = zext nneg i32 %.025.lcssa63 to i64
  %21 = getelementptr inbounds [1001000 x [11 x i32]], ptr @dp, i64 0, i64 %indvars.iv, i64 %20
  %22 = load i32, ptr %21, align 4, !tbaa !7
  %23 = add nsw i32 %22, 1
  store i32 %23, ptr %21, align 4, !tbaa !7
  br label %24

24:                                               ; preds = %._crit_edge.thread, %._crit_edge
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 1001000
  br i1 %exitcond.not, label %.preheader.preheader, label %.preheader29, !llvm.loop !12

.preheader.preheader:                             ; preds = %24
  %25 = load <4 x i32>, ptr @dp, align 16, !tbaa !7
  %26 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @dp, i64 16), align 16, !tbaa !7
  %27 = load <2 x i32>, ptr getelementptr inbounds (i8, ptr @dp, i64 32), align 16, !tbaa !7
  %.pre61 = load i32, ptr getelementptr inbounds (i8, ptr @dp, i64 40), align 8, !tbaa !7
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %.preheader
  %28 = phi i32 [ %.pre61, %.preheader.preheader ], [ %43, %.preheader ]
  %indvars.iv48 = phi i64 [ 1, %.preheader.preheader ], [ %indvars.iv.next49, %.preheader ]
  %29 = phi <4 x i32> [ %25, %.preheader.preheader ], [ %34, %.preheader ]
  %30 = phi <4 x i32> [ %26, %.preheader.preheader ], [ %37, %.preheader ]
  %31 = phi <2 x i32> [ %27, %.preheader.preheader ], [ %40, %.preheader ]
  %32 = getelementptr inbounds [1001000 x [11 x i32]], ptr @dp, i64 0, i64 %indvars.iv48, i64 0
  %33 = load <4 x i32>, ptr %32, align 4, !tbaa !7
  %34 = add nsw <4 x i32> %33, %29
  store <4 x i32> %34, ptr %32, align 4, !tbaa !7
  %35 = getelementptr inbounds [1001000 x [11 x i32]], ptr @dp, i64 0, i64 %indvars.iv48, i64 4
  %36 = load <4 x i32>, ptr %35, align 4, !tbaa !7
  %37 = add nsw <4 x i32> %36, %30
  store <4 x i32> %37, ptr %35, align 4, !tbaa !7
  %38 = getelementptr inbounds [1001000 x [11 x i32]], ptr @dp, i64 0, i64 %indvars.iv48, i64 8
  %39 = load <2 x i32>, ptr %38, align 4, !tbaa !7
  %40 = add nsw <2 x i32> %39, %31
  store <2 x i32> %40, ptr %38, align 4, !tbaa !7
  %41 = getelementptr inbounds [1001000 x [11 x i32]], ptr @dp, i64 0, i64 %indvars.iv48, i64 10
  %42 = load i32, ptr %41, align 4, !tbaa !7
  %43 = add nsw i32 %42, %28
  store i32 %43, ptr %41, align 4, !tbaa !7
  %indvars.iv.next49 = add nuw nsw i64 %indvars.iv48, 1
  %exitcond51.not = icmp eq i64 %indvars.iv.next49, 1001000
  br i1 %exitcond51.not, label %44, label %.preheader, !llvm.loop !13

44:                                               ; preds = %.preheader
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4
  %45 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1)
  %46 = load i32, ptr %1, align 4, !tbaa !7
  %47 = add nsw i32 %46, -1
  store i32 %47, ptr %1, align 4, !tbaa !7
  %.not38 = icmp eq i32 %46, 0
  br i1 %.not38, label %._crit_edge41, label %.lr.ph40

.lr.ph40:                                         ; preds = %44, %.lr.ph40
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  %48 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4)
  %49 = load i32, ptr %3, align 4, !tbaa !7
  %50 = sext i32 %49 to i64
  %51 = load i32, ptr %4, align 4, !tbaa !7
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [1001000 x [11 x i32]], ptr @dp, i64 0, i64 %50, i64 %52
  %54 = load i32, ptr %53, align 4, !tbaa !7
  %55 = load i32, ptr %2, align 4, !tbaa !7
  %56 = add nsw i32 %55, -1
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [1001000 x [11 x i32]], ptr @dp, i64 0, i64 %57, i64 %52
  %59 = load i32, ptr %58, align 4, !tbaa !7
  %60 = sub nsw i32 %54, %59
  %61 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %60)
  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
  %62 = load i32, ptr %1, align 4, !tbaa !7
  %63 = add nsw i32 %62, -1
  store i32 %63, ptr %1, align 4, !tbaa !7
  %.not = icmp eq i32 %62, 0
  br i1 %.not, label %._crit_edge41, label %.lr.ph40, !llvm.loop !14

._crit_edge41:                                    ; preds = %.lr.ph40, %44
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4
  ret i32 0
}

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

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

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 = { mustprogress norecurse 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 = { 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 #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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = distinct !{!11, !6}
!12 = distinct !{!12, !6}
!13 = distinct !{!13, !6}
!14 = distinct !{!14, !6}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass