; LLVM IR from tangjz/acm-icpc :: projecteuler (530)

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

@tot = external dso_local global i32, align 4
@prime = external dso_local global [3952847 x i32], align 16
@d = external dso_local global [31622777 x i32], align 16
@phi = external dso_local global [31622777 x i32], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z1fx(i64 noundef) #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 i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  store i32 1, ptr getelementptr inbounds ([31622777 x i32], ptr @phi, i64 0, i64 1), align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  store i32 2, ptr %2, align 4, !tbaa !5
  br label %11

11:                                               ; preds = %111, %0
  %12 = load i32, ptr %2, align 4, !tbaa !5
  %13 = icmp slt i32 %12, 31622777
  br i1 %13, label %15, label %14

14:                                               ; preds = %11
  store i32 2, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  br label %114

15:                                               ; preds = %11
  %16 = load i32, ptr %2, align 4, !tbaa !5
  %17 = sext i32 %16 to i64
  %18 = getelementptr inbounds [31622777 x i32], ptr @d, i64 0, i64 %17
  %19 = load i32, ptr %18, align 4, !tbaa !5
  %20 = icmp ne i32 %19, 0
  br i1 %20, label %35, label %21

21:                                               ; preds = %15
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = sub nsw i32 %22, 1
  %24 = load i32, ptr %2, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [31622777 x i32], ptr @phi, i64 0, i64 %25
  store i32 %23, ptr %26, align 4, !tbaa !5
  %27 = load i32, ptr %2, align 4, !tbaa !5
  %28 = load i32, ptr %2, align 4, !tbaa !5
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds [31622777 x i32], ptr @d, i64 0, i64 %29
  store i32 %27, ptr %30, align 4, !tbaa !5
  %31 = load i32, ptr @tot, align 4, !tbaa !5
  %32 = add nsw i32 %31, 1
  store i32 %32, ptr @tot, align 4, !tbaa !5
  %33 = sext i32 %31 to i64
  %34 = getelementptr inbounds [3952847 x i32], ptr @prime, i64 0, i64 %33
  store i32 %27, ptr %34, align 4, !tbaa !5
  br label %35

35:                                               ; preds = %21, %15
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  store i32 0, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  %36 = load i32, ptr %2, align 4, !tbaa !5
  %37 = sdiv i32 31622776, %36
  store i32 %37, ptr %5, align 4, !tbaa !5
  br label %38

38:                                               ; preds = %106, %35
  %39 = load i32, ptr %4, align 4, !tbaa !5
  %40 = load i32, ptr @tot, align 4, !tbaa !5
  %41 = icmp slt i32 %39, %40
  br i1 %41, label %42, label %49

42:                                               ; preds = %38
  %43 = load i32, ptr %4, align 4, !tbaa !5
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds [3952847 x i32], ptr @prime, i64 0, i64 %44
  %46 = load i32, ptr %45, align 4, !tbaa !5
  %47 = load i32, ptr %5, align 4, !tbaa !5
  %48 = icmp sle i32 %46, %47
  br label %49

49:                                               ; preds = %42, %38
  %50 = phi i1 [ false, %38 ], [ %48, %42 ]
  br i1 %50, label %52, label %51

51:                                               ; preds = %49
  store i32 5, ptr %3, align 4
  br label %109

52:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  %53 = load i32, ptr %2, align 4, !tbaa !5
  %54 = load i32, ptr %4, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [3952847 x i32], ptr @prime, i64 0, i64 %55
  %57 = load i32, ptr %56, align 4, !tbaa !5
  %58 = mul nsw i32 %53, %57
  store i32 %58, ptr %6, align 4, !tbaa !5
  %59 = load i32, ptr %4, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [3952847 x i32], ptr @prime, i64 0, i64 %60
  %62 = load i32, ptr %61, align 4, !tbaa !5
  %63 = load i32, ptr %6, align 4, !tbaa !5
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [31622777 x i32], ptr @d, i64 0, i64 %64
  store i32 %62, ptr %65, align 4, !tbaa !5
  %66 = load i32, ptr %2, align 4, !tbaa !5
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [31622777 x i32], ptr @d, i64 0, i64 %67
  %69 = load i32, ptr %68, align 4, !tbaa !5
  %70 = load i32, ptr %4, align 4, !tbaa !5
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [3952847 x i32], ptr @prime, i64 0, i64 %71
  %73 = load i32, ptr %72, align 4, !tbaa !5
  %74 = icmp eq i32 %69, %73
  br i1 %74, label %75, label %88

75:                                               ; preds = %52
  %76 = load i32, ptr %2, align 4, !tbaa !5
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [31622777 x i32], ptr @phi, i64 0, i64 %77
  %79 = load i32, ptr %78, align 4, !tbaa !5
  %80 = load i32, ptr %4, align 4, !tbaa !5
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [3952847 x i32], ptr @prime, i64 0, i64 %81
  %83 = load i32, ptr %82, align 4, !tbaa !5
  %84 = mul nsw i32 %79, %83
  %85 = load i32, ptr %6, align 4, !tbaa !5
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds [31622777 x i32], ptr @phi, i64 0, i64 %86
  store i32 %84, ptr %87, align 4, !tbaa !5
  store i32 5, ptr %3, align 4
  br label %103

88:                                               ; preds = %52
  %89 = load i32, ptr %2, align 4, !tbaa !5
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds [31622777 x i32], ptr @phi, i64 0, i64 %90
  %92 = load i32, ptr %91, align 4, !tbaa !5
  %93 = load i32, ptr %4, align 4, !tbaa !5
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds [3952847 x i32], ptr @prime, i64 0, i64 %94
  %96 = load i32, ptr %95, align 4, !tbaa !5
  %97 = sub nsw i32 %96, 1
  %98 = mul nsw i32 %92, %97
  %99 = load i32, ptr %6, align 4, !tbaa !5
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds [31622777 x i32], ptr @phi, i64 0, i64 %100
  store i32 %98, ptr %101, align 4, !tbaa !5
  br label %102

102:                                              ; preds = %88
  store i32 0, ptr %3, align 4
  br label %103

103:                                              ; preds = %102, %75
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  %104 = load i32, ptr %3, align 4
  switch i32 %104, label %109 [
    i32 0, label %105
  ]

105:                                              ; preds = %103
  br label %106

106:                                              ; preds = %105
  %107 = load i32, ptr %4, align 4, !tbaa !5
  %108 = add nsw i32 %107, 1
  store i32 %108, ptr %4, align 4, !tbaa !5
  br label %38, !llvm.loop !9

109:                                              ; preds = %103, %51
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  br label %110

110:                                              ; preds = %109
  br label %111

111:                                              ; preds = %110
  %112 = load i32, ptr %2, align 4, !tbaa !5
  %113 = add nsw i32 %112, 1
  store i32 %113, ptr %2, align 4, !tbaa !5
  br label %11, !llvm.loop !11

114:                                              ; preds = %14
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  br label %115

115:                                              ; preds = %145, %114
  %116 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %7)
  %117 = icmp eq i32 %116, 1
  br i1 %117, label %119, label %118

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

119:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  store i64 0, ptr %8, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 1, ptr %10, align 4, !tbaa !5
  br label %120

120:                                              ; preds = %142, %119
  %121 = load i32, ptr %10, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %123 = load i32, ptr %10, align 4, !tbaa !5
  %124 = sext i32 %123 to i64
  %125 = mul nsw i64 %122, %124
  store i64 %125, ptr %9, align 8, !tbaa !12
  %126 = load i64, ptr %7, align 8, !tbaa !12
  %127 = icmp sle i64 %125, %126
  br i1 %127, label %129, label %128

128:                                              ; preds = %120
  store i32 10, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %145

129:                                              ; preds = %120
  %130 = load i64, ptr %7, align 8, !tbaa !12
  %131 = load i64, ptr %9, align 8, !tbaa !12
  %132 = sdiv i64 %130, %131
  %133 = call noundef i64 @_Z1fx(i64 noundef %132)
  %134 = load i32, ptr %10, align 4, !tbaa !5
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds [31622777 x i32], ptr @phi, i64 0, i64 %135
  %137 = load i32, ptr %136, align 4, !tbaa !5
  %138 = sext i32 %137 to i64
  %139 = mul nsw i64 %133, %138
  %140 = load i64, ptr %8, align 8, !tbaa !12
  %141 = add nsw i64 %140, %139
  store i64 %141, ptr %8, align 8, !tbaa !12
  br label %142

142:                                              ; preds = %129
  %143 = load i32, ptr %10, align 4, !tbaa !5
  %144 = add nsw i32 %143, 1
  store i32 %144, ptr %10, align 4, !tbaa !5
  br label %120, !llvm.loop !14

145:                                              ; preds = %128
  %146 = load i64, ptr %8, align 8, !tbaa !12
  %147 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %146)
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  br label %115, !llvm.loop !15

148:                                              ; preds = %118
  ret i32 0
}

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

@tot = external dso_local local_unnamed_addr global i32, align 4
@prime = external dso_local local_unnamed_addr global [3952847 x i32], align 16
@d = external dso_local local_unnamed_addr global [31622777 x i32], align 16
@phi = external dso_local local_unnamed_addr global [31622777 x i32], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z1fx(i64 noundef) 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 i64, align 8
  store i32 1, ptr getelementptr inbounds (i8, ptr @phi, i64 4), align 4, !tbaa !5
  %tot.promoted = load i32, ptr @tot, align 4, !tbaa !5
  br label %5

2:                                                ; preds = %.critedge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #4
  %3 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1)
  %4 = icmp eq i32 %3, 1
  br i1 %4, label %.preheader, label %._crit_edge52

5:                                                ; preds = %0, %.critedge
  %indvars.iv57 = phi i64 [ 2, %0 ], [ %indvars.iv.next58, %.critedge ]
  %6 = phi i32 [ %tot.promoted, %0 ], [ %18, %.critedge ]
  %7 = getelementptr inbounds [31622777 x i32], ptr @d, i64 0, i64 %indvars.iv57
  %8 = load i32, ptr %7, align 4, !tbaa !5
  %.not40 = icmp eq i32 %8, 0
  br i1 %.not40, label %9, label %._crit_edge64

._crit_edge64:                                    ; preds = %5
  %.pre = trunc nuw nsw i64 %indvars.iv57 to i32
  br label %17

9:                                                ; preds = %5
  %10 = getelementptr inbounds [31622777 x i32], ptr @phi, i64 0, i64 %indvars.iv57
  %11 = trunc i64 %indvars.iv57 to i32
  %12 = add i32 %11, -1
  store i32 %12, ptr %10, align 4, !tbaa !5
  %13 = trunc nuw nsw i64 %indvars.iv57 to i32
  store i32 %13, ptr %7, align 4, !tbaa !5
  %14 = add nsw i32 %6, 1
  store i32 %14, ptr @tot, align 4, !tbaa !5
  %15 = sext i32 %6 to i64
  %16 = getelementptr inbounds [3952847 x i32], ptr @prime, i64 0, i64 %15
  store i32 %13, ptr %16, align 4, !tbaa !5
  br label %17

17:                                               ; preds = %._crit_edge64, %9
  %.pre-phi = phi i32 [ %.pre, %._crit_edge64 ], [ %13, %9 ]
  %18 = phi i32 [ %6, %._crit_edge64 ], [ %14, %9 ]
  %19 = udiv i32 31622776, %.pre-phi
  %20 = icmp sgt i32 %18, 0
  br i1 %20, label %.lr.ph, label %.critedge

.lr.ph:                                           ; preds = %17
  %21 = getelementptr inbounds [31622777 x i32], ptr @phi, i64 0, i64 %indvars.iv57
  %wide.trip.count = zext nneg i32 %18 to i64
  br label %22

22:                                               ; preds = %.lr.ph, %33
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %33 ]
  %23 = getelementptr inbounds [3952847 x i32], ptr @prime, i64 0, i64 %indvars.iv
  %24 = load i32, ptr %23, align 4, !tbaa !5
  %.not41 = icmp sgt i32 %24, %19
  br i1 %.not41, label %.critedge, label %25

25:                                               ; preds = %22
  %26 = mul nsw i32 %24, %.pre-phi
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [31622777 x i32], ptr @d, i64 0, i64 %27
  store i32 %24, ptr %28, align 4, !tbaa !5
  %29 = load i32, ptr %7, align 4, !tbaa !5
  %.not42 = icmp eq i32 %29, %24
  %30 = load i32, ptr %21, align 4, !tbaa !5
  br i1 %.not42, label %.thread, label %33

.thread:                                          ; preds = %25
  %31 = mul nsw i32 %30, %24
  %32 = getelementptr inbounds [31622777 x i32], ptr @phi, i64 0, i64 %27
  store i32 %31, ptr %32, align 4, !tbaa !5
  br label %.critedge

33:                                               ; preds = %25
  %34 = add nsw i32 %24, -1
  %35 = mul nsw i32 %30, %34
  %36 = getelementptr inbounds [31622777 x i32], ptr @phi, i64 0, i64 %27
  store i32 %35, ptr %36, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.critedge, label %22, !llvm.loop !9

.critedge:                                        ; preds = %33, %22, %17, %.thread
  %indvars.iv.next58 = add nuw nsw i64 %indvars.iv57, 1
  %exitcond60.not = icmp eq i64 %indvars.iv.next58, 31622777
  br i1 %exitcond60.not, label %2, label %5, !llvm.loop !11

.preheader:                                       ; preds = %2, %._crit_edge
  %37 = load i64, ptr %1, align 8, !tbaa !12
  %.not48 = icmp slt i64 %37, 1
  br i1 %.not48, label %._crit_edge, label %.lr.ph51

._crit_edge52:                                    ; preds = %._crit_edge, %2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #4
  ret i32 0

._crit_edge:                                      ; preds = %.lr.ph51, %.preheader
  %.033.lcssa = phi i64 [ 0, %.preheader ], [ %49, %.lr.ph51 ]
  %38 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i64 noundef %.033.lcssa)
  %39 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1)
  %40 = icmp eq i32 %39, 1
  br i1 %40, label %.preheader, label %._crit_edge52, !llvm.loop !14

.lr.ph51:                                         ; preds = %.preheader, %.lr.ph51
  %indvars.iv61 = phi i64 [ %indvars.iv.next62, %.lr.ph51 ], [ 1, %.preheader ]
  %41 = phi i64 [ %51, %.lr.ph51 ], [ %37, %.preheader ]
  %42 = phi i64 [ %50, %.lr.ph51 ], [ 1, %.preheader ]
  %.03349 = phi i64 [ %49, %.lr.ph51 ], [ 0, %.preheader ]
  %43 = udiv i64 %41, %42
  %44 = call noundef i64 @_Z1fx(i64 noundef %43)
  %45 = getelementptr inbounds [31622777 x i32], ptr @phi, i64 0, i64 %indvars.iv61
  %46 = load i32, ptr %45, align 4, !tbaa !5
  %47 = sext i32 %46 to i64
  %48 = mul nsw i64 %44, %47
  %49 = add nsw i64 %48, %.03349
  %indvars.iv.next62 = add nuw nsw i64 %indvars.iv61, 1
  %50 = mul nuw nsw i64 %indvars.iv.next62, %indvars.iv.next62
  %51 = load i64, ptr %1, align 8, !tbaa !12
  %.not = icmp sgt i64 %50, %51
  br i1 %.not, label %._crit_edge, label %.lr.ph51, !llvm.loop !15
}

; 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 = !{!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}


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