; LLVM IR from tangjz/acm-icpc :: lydsy (3944)

; 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 [1664511 x i32], align 16
@f = external dso_local global [1664511 x i32], align 16
@vis = external dso_local global [1664511 x i8], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: mustprogress 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 uwtable
declare dso_local noundef i64 @_Z4calcxx(i64 noundef, i64 noundef) #0

; 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 i64, align 8
  store i32 0, ptr %1, align 4
  store i32 1, ptr getelementptr inbounds ([1664511 x i32], ptr @f, 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 = %94, %0
  %12 = load i32, ptr %2, align 4, !tbaa !5
  %13 = icmp slt i32 %12, 1664511
  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 %97

15:                                               ; preds = %11
  %16 = load i32, ptr %2, align 4, !tbaa !5
  %17 = sext i32 %16 to i64
  %18 = getelementptr inbounds [1664511 x i8], ptr @vis, i64 0, i64 %17
  %19 = load i8, ptr %18, align 1, !tbaa !9, !range !11, !noundef !12
  %20 = trunc i8 %19 to i1
  br i1 %20, label %30, label %21

21:                                               ; preds = %15
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = load i32, ptr @tot, align 4, !tbaa !5
  %24 = add nsw i32 %23, 1
  store i32 %24, ptr @tot, align 4, !tbaa !5
  %25 = sext i32 %23 to i64
  %26 = getelementptr inbounds [1664511 x i32], ptr @prime, i64 0, i64 %25
  store i32 %22, ptr %26, align 4, !tbaa !5
  %27 = load i32, ptr %2, align 4, !tbaa !5
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [1664511 x i32], ptr @f, i64 0, i64 %28
  store i32 -1, ptr %29, align 4, !tbaa !5
  br label %30

30:                                               ; 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
  %31 = load i32, ptr %2, align 4, !tbaa !5
  %32 = sdiv i32 1664510, %31
  store i32 %32, ptr %5, align 4, !tbaa !5
  br label %33

33:                                               ; preds = %79, %30
  %34 = load i32, ptr %4, align 4, !tbaa !5
  %35 = load i32, ptr @tot, align 4, !tbaa !5
  %36 = icmp slt i32 %34, %35
  br i1 %36, label %37, label %44

37:                                               ; preds = %33
  %38 = load i32, ptr %4, align 4, !tbaa !5
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [1664511 x i32], ptr @prime, i64 0, i64 %39
  %41 = load i32, ptr %40, align 4, !tbaa !5
  %42 = load i32, ptr %5, align 4, !tbaa !5
  %43 = icmp sle i32 %41, %42
  br label %44

44:                                               ; preds = %37, %33
  %45 = phi i1 [ false, %33 ], [ %43, %37 ]
  br i1 %45, label %47, label %46

46:                                               ; preds = %44
  store i32 5, ptr %3, align 4
  br label %82

47:                                               ; preds = %44
  %48 = load i32, ptr %2, align 4, !tbaa !5
  %49 = load i32, ptr %4, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [1664511 x i32], ptr @prime, i64 0, i64 %50
  %52 = load i32, ptr %51, align 4, !tbaa !5
  %53 = mul nsw i32 %48, %52
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [1664511 x i8], ptr @vis, i64 0, i64 %54
  store i8 1, ptr %55, align 1, !tbaa !9
  %56 = load i32, ptr %2, align 4, !tbaa !5
  %57 = load i32, ptr %4, align 4, !tbaa !5
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [1664511 x i32], ptr @prime, i64 0, i64 %58
  %60 = load i32, ptr %59, align 4, !tbaa !5
  %61 = srem i32 %56, %60
  %62 = icmp eq i32 %61, 0
  br i1 %62, label %63, label %64

63:                                               ; preds = %47
  store i32 5, ptr %3, align 4
  br label %82

64:                                               ; preds = %47
  %65 = load i32, ptr %2, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [1664511 x i32], ptr @f, i64 0, i64 %66
  %68 = load i32, ptr %67, align 4, !tbaa !5
  %69 = sub nsw i32 0, %68
  %70 = load i32, ptr %2, align 4, !tbaa !5
  %71 = load i32, ptr %4, align 4, !tbaa !5
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [1664511 x i32], ptr @prime, i64 0, i64 %72
  %74 = load i32, ptr %73, align 4, !tbaa !5
  %75 = mul nsw i32 %70, %74
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds [1664511 x i32], ptr @f, i64 0, i64 %76
  store i32 %69, ptr %77, align 4, !tbaa !5
  br label %78

78:                                               ; preds = %64
  br label %79

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

82:                                               ; preds = %63, %46
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  br label %83

83:                                               ; preds = %82
  %84 = load i32, ptr %2, align 4, !tbaa !5
  %85 = sub nsw i32 %84, 1
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds [1664511 x i32], ptr @f, i64 0, i64 %86
  %88 = load i32, ptr %87, align 4, !tbaa !5
  %89 = load i32, ptr %2, align 4, !tbaa !5
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds [1664511 x i32], ptr @f, i64 0, i64 %90
  %92 = load i32, ptr %91, align 4, !tbaa !5
  %93 = add nsw i32 %92, %88
  store i32 %93, ptr %91, align 4, !tbaa !5
  br label %94

94:                                               ; preds = %83
  %95 = load i32, ptr %2, align 4, !tbaa !5
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %2, align 4, !tbaa !5
  br label %11, !llvm.loop !15

97:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %98 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %6)
  br label %99

99:                                               ; preds = %134, %97
  %100 = load i32, ptr %6, align 4, !tbaa !5
  %101 = add nsw i32 %100, -1
  store i32 %101, ptr %6, align 4, !tbaa !5
  %102 = icmp ne i32 %100, 0
  br i1 %102, label %103, label %139

103:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  store i64 0, ptr %8, align 8, !tbaa !16
  %104 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %7)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  store i64 1, ptr %9, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  br label %105

105:                                              ; preds = %131, %103
  %106 = load i64, ptr %9, align 8, !tbaa !16
  %107 = load i64, ptr %7, align 8, !tbaa !16
  %108 = icmp sle i64 %106, %107
  br i1 %108, label %110, label %109

109:                                              ; preds = %105
  store i32 10, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  br label %134

110:                                              ; preds = %105
  %111 = load i64, ptr %7, align 8, !tbaa !16
  %112 = load i64, ptr %7, align 8, !tbaa !16
  %113 = load i64, ptr %9, align 8, !tbaa !16
  %114 = sdiv i64 %112, %113
  %115 = sdiv i64 %111, %114
  store i64 %115, ptr %10, align 8, !tbaa !16
  %116 = load i64, ptr %7, align 8, !tbaa !16
  %117 = load i64, ptr %9, align 8, !tbaa !16
  %118 = sdiv i64 %116, %117
  %119 = load i64, ptr %7, align 8, !tbaa !16
  %120 = load i64, ptr %9, align 8, !tbaa !16
  %121 = sdiv i64 %119, %120
  %122 = add nsw i64 %121, 1
  %123 = mul nsw i64 %118, %122
  %124 = sdiv i64 %123, 2
  %125 = load i64, ptr %9, align 8, !tbaa !16
  %126 = load i64, ptr %10, align 8, !tbaa !16
  %127 = call noundef i64 @_Z4calcxx(i64 noundef %125, i64 noundef %126)
  %128 = mul nsw i64 %124, %127
  %129 = load i64, ptr %8, align 8, !tbaa !16
  %130 = add nsw i64 %129, %128
  store i64 %130, ptr %8, align 8, !tbaa !16
  br label %131

131:                                              ; preds = %110
  %132 = load i64, ptr %10, align 8, !tbaa !16
  %133 = add nsw i64 %132, 1
  store i64 %133, ptr %9, align 8, !tbaa !16
  br label %105, !llvm.loop !18

134:                                              ; preds = %109
  %135 = load i64, ptr %8, align 8, !tbaa !16
  %136 = load i64, ptr %7, align 8, !tbaa !16
  %137 = call noundef i64 @_Z1Fx(i64 noundef %136)
  %138 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %135, i64 noundef %137)
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  br label %99, !llvm.loop !19

139:                                              ; preds = %99
  store i32 0, ptr %1, align 4
  store i32 1, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  %140 = load i32, ptr %1, align 4
  ret i32 %140
}

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

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

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 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 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{!17, !17, i64 0}
!17 = !{!"long long", !7, i64 0}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}


; 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 [1664511 x i32], align 16
@f = external dso_local local_unnamed_addr global [1664511 x i32], align 16
@vis = external dso_local local_unnamed_addr global [1664511 x i8], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: mustprogress 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 uwtable
declare dso_local noundef i64 @_Z4calcxx(i64 noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #2 {
  %1 = alloca i32, align 4
  %2 = alloca i64, align 8
  store i32 1, ptr getelementptr inbounds (i8, ptr @f, i64 4), align 4, !tbaa !5
  %tot.promoted = load i32, ptr @tot, align 4, !tbaa !5
  br label %7

3:                                                ; preds = %.critedge
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
  %4 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1)
  %5 = load i32, ptr %1, align 4, !tbaa !5
  %6 = add nsw i32 %5, -1
  store i32 %6, ptr %1, align 4, !tbaa !5
  %.not45 = icmp eq i32 %5, 0
  br i1 %.not45, label %._crit_edge48, label %.lr.ph47

7:                                                ; preds = %0, %.critedge
  %indvars.iv52 = phi i64 [ 2, %0 ], [ %indvars.iv.next53, %.critedge ]
  %8 = phi i32 [ %tot.promoted, %0 ], [ %19, %.critedge ]
  %9 = getelementptr inbounds [1664511 x i8], ptr @vis, i64 0, i64 %indvars.iv52
  %10 = load i8, ptr %9, align 1, !tbaa !9, !range !11, !noundef !12
  %11 = trunc nuw i8 %10 to i1
  br i1 %11, label %._crit_edge56, label %12

._crit_edge56:                                    ; preds = %7
  %.pre = trunc nuw nsw i64 %indvars.iv52 to i32
  br label %18

12:                                               ; preds = %7
  %13 = add nsw i32 %8, 1
  store i32 %13, ptr @tot, align 4, !tbaa !5
  %14 = sext i32 %8 to i64
  %15 = getelementptr inbounds [1664511 x i32], ptr @prime, i64 0, i64 %14
  %16 = trunc nuw nsw i64 %indvars.iv52 to i32
  store i32 %16, ptr %15, align 4, !tbaa !5
  %17 = getelementptr inbounds [1664511 x i32], ptr @f, i64 0, i64 %indvars.iv52
  store i32 -1, ptr %17, align 4, !tbaa !5
  br label %18

18:                                               ; preds = %._crit_edge56, %12
  %.pre-phi = phi i32 [ %.pre, %._crit_edge56 ], [ %16, %12 ]
  %19 = phi i32 [ %8, %._crit_edge56 ], [ %13, %12 ]
  %20 = udiv i32 1664510, %.pre-phi
  %21 = icmp sgt i32 %19, 0
  br i1 %21, label %.lr.ph, label %.critedge

.lr.ph:                                           ; preds = %18
  %22 = getelementptr inbounds [1664511 x i32], ptr @f, i64 0, i64 %indvars.iv52
  %wide.trip.count = zext nneg i32 %19 to i64
  br label %23

23:                                               ; preds = %.lr.ph, %32
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %32 ]
  %24 = getelementptr inbounds [1664511 x i32], ptr @prime, i64 0, i64 %indvars.iv
  %25 = load i32, ptr %24, align 4, !tbaa !5
  %.not35 = icmp sgt i32 %25, %20
  br i1 %.not35, label %.critedge, label %26

26:                                               ; preds = %23
  %27 = sext i32 %25 to i64
  %28 = mul nsw i64 %indvars.iv52, %27
  %29 = getelementptr inbounds [1664511 x i8], ptr @vis, i64 0, i64 %28
  store i8 1, ptr %29, align 1, !tbaa !9
  %30 = srem i32 %.pre-phi, %25
  %31 = icmp eq i32 %30, 0
  br i1 %31, label %.critedge, label %32

32:                                               ; preds = %26
  %33 = load i32, ptr %22, align 4, !tbaa !5
  %34 = sub nsw i32 0, %33
  %35 = getelementptr inbounds [1664511 x i32], ptr @f, i64 0, i64 %28
  store i32 %34, ptr %35, 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 %23, !llvm.loop !13

.critedge:                                        ; preds = %32, %23, %26, %18
  %36 = add nsw i64 %indvars.iv52, -1
  %37 = getelementptr inbounds [1664511 x i32], ptr @f, i64 0, i64 %36
  %38 = load i32, ptr %37, align 4, !tbaa !5
  %39 = getelementptr inbounds [1664511 x i32], ptr @f, i64 0, i64 %indvars.iv52
  %40 = load i32, ptr %39, align 4, !tbaa !5
  %41 = add nsw i32 %40, %38
  store i32 %41, ptr %39, align 4, !tbaa !5
  %indvars.iv.next53 = add nuw nsw i64 %indvars.iv52, 1
  %exitcond55.not = icmp eq i64 %indvars.iv.next53, 1664511
  br i1 %exitcond55.not, label %3, label %7, !llvm.loop !15

.lr.ph47:                                         ; preds = %3, %._crit_edge
  %42 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %2)
  %43 = load i64, ptr %2, align 8, !tbaa !16
  %.not3440 = icmp slt i64 %43, 1
  br i1 %.not3440, label %._crit_edge, label %.lr.ph43

._crit_edge:                                      ; preds = %.lr.ph43, %.lr.ph47
  %.029.lcssa = phi i64 [ 0, %.lr.ph47 ], [ %56, %.lr.ph43 ]
  %.lcssa = phi i64 [ %43, %.lr.ph47 ], [ %58, %.lr.ph43 ]
  %44 = call noundef i64 @_Z1Fx(i64 noundef %.lcssa)
  %45 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef %.029.lcssa, i64 noundef %44)
  %46 = load i32, ptr %1, align 4, !tbaa !5
  %47 = add nsw i32 %46, -1
  store i32 %47, ptr %1, align 4, !tbaa !5
  %.not = icmp eq i32 %46, 0
  br i1 %.not, label %._crit_edge48, label %.lr.ph47, !llvm.loop !18

.lr.ph43:                                         ; preds = %.lr.ph47, %.lr.ph43
  %48 = phi i64 [ %58, %.lr.ph43 ], [ %43, %.lr.ph47 ]
  %.042 = phi i64 [ %57, %.lr.ph43 ], [ 1, %.lr.ph47 ]
  %.02941 = phi i64 [ %56, %.lr.ph43 ], [ 0, %.lr.ph47 ]
  %49 = udiv i64 %48, %.042
  %50 = sdiv i64 %48, %49
  %51 = add nsw i64 %49, 1
  %52 = mul nsw i64 %51, %49
  %53 = lshr i64 %52, 1
  %54 = call noundef i64 @_Z4calcxx(i64 noundef %.042, i64 noundef %50)
  %55 = mul nsw i64 %53, %54
  %56 = add nsw i64 %55, %.02941
  %57 = add nuw nsw i64 %50, 1
  %58 = load i64, ptr %2, align 8, !tbaa !16
  %.not34.not = icmp slt i64 %50, %58
  br i1 %.not34.not, label %.lr.ph43, label %._crit_edge, !llvm.loop !19

._crit_edge48:                                    ; preds = %._crit_edge, %3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
  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 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 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 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{!17, !17, i64 0}
!17 = !{!"long long", !7, i64 0}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}


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