; LLVM IR from lzyrapx/Competitive-Programming :: ACdream (1075（广义斐波那契数列求循环节）)

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

%struct.matrix = type { [2 x [2 x i64]] }

@fac = external dso_local global [2 x [505 x i64]], align 16
@n = external dso_local global i64, align 8
@cnt = external dso_local global i64, align 8
@A = external dso_local global %struct.matrix, align 8
@.str = external hidden unnamed_addr constant [9 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z8Legendrexx(i64 noundef, i64 noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z5check6matrixx(ptr noundef byval(%struct.matrix) align 8, i64 noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z3dfsix(i32 noundef, i64 noundef) #3

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #4 {
  %1 = alloca i32, align 4
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %struct.matrix, align 8
  %10 = alloca i32, align 4
  %11 = alloca %struct.matrix, align 8
  store i32 0, ptr %1, align 4
  store i64 1, ptr @fac, align 16, !tbaa !5
  store i64 2, ptr getelementptr inbounds ([505 x i64], ptr @fac, i64 0, i64 1), align 8, !tbaa !5
  store i64 500000003, ptr getelementptr inbounds ([505 x i64], ptr @fac, i64 0, i64 2), align 16, !tbaa !5
  store i64 1000000006, ptr getelementptr inbounds ([505 x i64], ptr @fac, i64 0, i64 3), align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  br label %12

12:                                               ; preds = %78, %0
  %13 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
  %14 = xor i32 %13, -1
  %15 = icmp ne i32 %14, 0
  br i1 %15, label %16, label %79

16:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  %17 = load i64, ptr %2, align 8, !tbaa !5
  %18 = load i64, ptr %2, align 8, !tbaa !5
  %19 = mul nsw i64 %17, %18
  %20 = load i64, ptr %3, align 8, !tbaa !5
  %21 = mul nsw i64 4, %20
  %22 = add nsw i64 %19, %21
  store i64 %22, ptr %6, align 8, !tbaa !5
  %23 = load i64, ptr %2, align 8, !tbaa !5
  store i64 %23, ptr @A, align 8, !tbaa !5
  %24 = load i64, ptr %3, align 8, !tbaa !5
  store i64 %24, ptr getelementptr inbounds ([2 x i64], ptr @A, i64 0, i64 1), align 8, !tbaa !5
  store i64 1, ptr getelementptr inbounds ([2 x [2 x i64]], ptr @A, i64 0, i64 1), align 8, !tbaa !5
  store i64 0, ptr getelementptr inbounds ([2 x i64], ptr getelementptr inbounds ([2 x [2 x i64]], ptr @A, i64 0, i64 1), i64 0, i64 1), align 8, !tbaa !5
  %25 = load i64, ptr %6, align 8, !tbaa !5
  %26 = call noundef i64 @_Z8Legendrexx(i64 noundef %25, i64 noundef 1000000007)
  %27 = icmp eq i64 %26, 1
  br i1 %27, label %28, label %51

28:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %29

29:                                               ; preds = %46, %28
  %30 = load i32, ptr %7, align 4, !tbaa !9
  %31 = icmp slt i32 %30, 4
  br i1 %31, label %33, label %32

32:                                               ; preds = %29
  store i32 4, ptr %8, align 4
  br label %49

33:                                               ; preds = %29
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 @A, i64 32, i1 false), !tbaa.struct !11
  %34 = load i32, ptr %7, align 4, !tbaa !9
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [505 x i64], ptr @fac, i64 0, i64 %35
  %37 = load i64, ptr %36, align 8, !tbaa !5
  %38 = call noundef zeroext i1 @_Z5check6matrixx(ptr noundef byval(%struct.matrix) align 8 %9, i64 noundef %37)
  br i1 %38, label %39, label %45

39:                                               ; preds = %33
  %40 = load i32, ptr %7, align 4, !tbaa !9
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds [505 x i64], ptr @fac, i64 0, i64 %41
  %43 = load i64, ptr %42, align 8, !tbaa !5
  %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %43)
  store i32 4, ptr %8, align 4
  br label %49

45:                                               ; preds = %33
  br label %46

46:                                               ; preds = %45
  %47 = load i32, ptr %7, align 4, !tbaa !9
  %48 = add nsw i32 %47, 1
  store i32 %48, ptr %7, align 4, !tbaa !9
  br label %29, !llvm.loop !13

49:                                               ; preds = %39, %32
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  br label %50

50:                                               ; preds = %49
  br label %78

51:                                               ; preds = %16
  store i64 0, ptr @n, align 8, !tbaa !5
  store i64 6, ptr @cnt, align 8, !tbaa !5
  call void @_Z3dfsix(i32 noundef 0, i64 noundef 1)
  %52 = load i64, ptr @n, align 8, !tbaa !5
  %53 = getelementptr inbounds i64, ptr getelementptr inbounds ([2 x [505 x i64]], ptr @fac, i64 0, i64 1), i64 %52
  call void @_ZSt4sortIPxEvT_S1_(ptr noundef getelementptr inbounds ([2 x [505 x i64]], ptr @fac, i64 0, i64 1), ptr noundef %53)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %54

54:                                               ; preds = %73, %51
  %55 = load i32, ptr %10, align 4, !tbaa !9
  %56 = sext i32 %55 to i64
  %57 = load i64, ptr @n, align 8, !tbaa !5
  %58 = icmp slt i64 %56, %57
  br i1 %58, label %60, label %59

59:                                               ; preds = %54
  store i32 7, ptr %8, align 4
  br label %76

60:                                               ; preds = %54
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 @A, i64 32, i1 false), !tbaa.struct !11
  %61 = load i32, ptr %10, align 4, !tbaa !9
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds [505 x i64], ptr getelementptr inbounds ([2 x [505 x i64]], ptr @fac, i64 0, i64 1), i64 0, i64 %62
  %64 = load i64, ptr %63, align 8, !tbaa !5
  %65 = call noundef zeroext i1 @_Z5check6matrixx(ptr noundef byval(%struct.matrix) align 8 %11, i64 noundef %64)
  br i1 %65, label %66, label %72

66:                                               ; preds = %60
  %67 = load i32, ptr %10, align 4, !tbaa !9
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [505 x i64], ptr getelementptr inbounds ([2 x [505 x i64]], ptr @fac, i64 0, i64 1), i64 0, i64 %68
  %70 = load i64, ptr %69, align 8, !tbaa !5
  %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %70)
  store i32 7, ptr %8, align 4
  br label %76

72:                                               ; preds = %60
  br label %73

73:                                               ; preds = %72
  %74 = load i32, ptr %10, align 4, !tbaa !9
  %75 = add nsw i32 %74, 1
  store i32 %75, ptr %10, align 4, !tbaa !9
  br label %54, !llvm.loop !15

76:                                               ; preds = %66, %59
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %77

77:                                               ; preds = %76
  br label %78

78:                                               ; preds = %77, %50
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  br label %12, !llvm.loop !16

79:                                               ; preds = %12
  store i32 0, ptr %1, align 4
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #7
  %80 = load i32, ptr %1, align 4
  ret i32 %80
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPxEvT_S1_(ptr noundef, ptr noundef) #6

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree 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 = { 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 #4 = { 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 #5 = { "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 #6 = { inlinehint 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 #7 = { 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 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{i64 0, i64 32, !12}
!12 = !{!7, !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !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"

%struct.matrix = type { [2 x [2 x i64]] }

@fac = external dso_local global [2 x [505 x i64]], align 16
@n = external dso_local local_unnamed_addr global i64, align 8
@cnt = external dso_local local_unnamed_addr global i64, align 8
@A = external dso_local local_unnamed_addr global %struct.matrix, align 8
@.str = external hidden unnamed_addr constant [9 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z8Legendrexx(i64 noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z5check6matrixx(ptr noundef byval(%struct.matrix) align 8, i64 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z3dfsix(i32 noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #3 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  store i64 1, ptr @fac, align 16, !tbaa !5
  store i64 2, ptr getelementptr inbounds (i8, ptr @fac, i64 8), align 8, !tbaa !5
  store i64 500000003, ptr getelementptr inbounds (i8, ptr @fac, i64 16), align 16, !tbaa !5
  store i64 1000000006, ptr getelementptr inbounds (i8, ptr @fac, i64 24), align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %5 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4)
  %.not17 = icmp eq i32 %5, -1
  br i1 %.not17, label %._crit_edge, label %.lr.ph18

.lr.ph18:                                         ; preds = %0, %.loopexit
  %6 = load i64, ptr %1, align 8, !tbaa !5
  %7 = mul nsw i64 %6, %6
  %8 = load i64, ptr %2, align 8, !tbaa !5
  %9 = shl nsw i64 %8, 2
  %10 = add nsw i64 %9, %7
  store i64 %6, ptr @A, align 8, !tbaa !5
  store i64 %8, ptr getelementptr inbounds (i8, ptr @A, i64 8), align 8, !tbaa !5
  store i64 1, ptr getelementptr inbounds (i8, ptr @A, i64 16), align 8, !tbaa !5
  store i64 0, ptr getelementptr inbounds (i8, ptr @A, i64 24), align 8, !tbaa !5
  %11 = call noundef i64 @_Z8Legendrexx(i64 noundef %10, i64 noundef 1000000007)
  %12 = icmp eq i64 %11, 1
  br i1 %12, label %.preheader.preheader, label %23

.preheader.preheader:                             ; preds = %.lr.ph18
  %13 = load i64, ptr @fac, align 16, !tbaa !5
  %14 = call noundef zeroext i1 @_Z5check6matrixx(ptr noundef nonnull byval(%struct.matrix) align 8 @A, i64 noundef %13)
  br i1 %14, label %21, label %.preheader.1

.preheader.1:                                     ; preds = %.preheader.preheader
  %15 = load i64, ptr getelementptr inbounds (i8, ptr @fac, i64 8), align 8, !tbaa !5
  %16 = call noundef zeroext i1 @_Z5check6matrixx(ptr noundef nonnull byval(%struct.matrix) align 8 @A, i64 noundef %15)
  br i1 %16, label %21, label %.preheader.2

.preheader.2:                                     ; preds = %.preheader.1
  %17 = load i64, ptr getelementptr inbounds (i8, ptr @fac, i64 16), align 16, !tbaa !5
  %18 = call noundef zeroext i1 @_Z5check6matrixx(ptr noundef nonnull byval(%struct.matrix) align 8 @A, i64 noundef %17)
  br i1 %18, label %21, label %.preheader.3

.preheader.3:                                     ; preds = %.preheader.2
  %19 = load i64, ptr getelementptr inbounds (i8, ptr @fac, i64 24), align 8, !tbaa !5
  %20 = call noundef zeroext i1 @_Z5check6matrixx(ptr noundef nonnull byval(%struct.matrix) align 8 @A, i64 noundef %19)
  br i1 %20, label %21, label %.loopexit

21:                                               ; preds = %.preheader.3, %.preheader.2, %.preheader.1, %.preheader.preheader
  %.lcssa21 = phi i64 [ 0, %.preheader.preheader ], [ 1, %.preheader.1 ], [ 2, %.preheader.2 ], [ 3, %.preheader.3 ]
  %22 = getelementptr inbounds [505 x i64], ptr @fac, i64 0, i64 %.lcssa21
  br label %.loopexit.sink.split

23:                                               ; preds = %.lr.ph18
  store i64 0, ptr @n, align 8, !tbaa !5
  store i64 6, ptr @cnt, align 8, !tbaa !5
  call void @_Z3dfsix(i32 noundef 0, i64 noundef 1)
  %24 = load i64, ptr @n, align 8, !tbaa !5
  %25 = getelementptr inbounds i64, ptr getelementptr inbounds (i8, ptr @fac, i64 4040), i64 %24
  call void @_ZSt4sortIPxEvT_S1_(ptr noundef nonnull getelementptr inbounds (i8, ptr @fac, i64 4040), ptr noundef nonnull %25)
  %26 = load i64, ptr @n, align 8, !tbaa !5
  %27 = icmp sgt i64 %26, 0
  br i1 %27, label %.lr.ph, label %.loopexit

28:                                               ; preds = %.lr.ph
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %29 = load i64, ptr @n, align 8, !tbaa !5
  %30 = icmp sgt i64 %29, %indvars.iv.next
  br i1 %30, label %.lr.ph, label %.loopexit, !llvm.loop !9

.lr.ph:                                           ; preds = %23, %28
  %indvars.iv = phi i64 [ %indvars.iv.next, %28 ], [ 0, %23 ]
  %31 = getelementptr inbounds [505 x i64], ptr getelementptr inbounds (i8, ptr @fac, i64 4040), i64 0, i64 %indvars.iv
  %32 = load i64, ptr %31, align 8, !tbaa !5
  %33 = call noundef zeroext i1 @_Z5check6matrixx(ptr noundef nonnull byval(%struct.matrix) align 8 @A, i64 noundef %32)
  br i1 %33, label %34, label %28

34:                                               ; preds = %.lr.ph
  %35 = getelementptr inbounds [505 x i64], ptr getelementptr inbounds (i8, ptr @fac, i64 4040), i64 0, i64 %indvars.iv
  br label %.loopexit.sink.split

.loopexit.sink.split:                             ; preds = %21, %34
  %.sink28 = phi ptr [ %35, %34 ], [ %22, %21 ]
  %36 = load i64, ptr %.sink28, align 8, !tbaa !5
  %37 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i64 noundef %36)
  br label %.loopexit

.loopexit:                                        ; preds = %28, %.loopexit.sink.split, %.preheader.3, %23
  %38 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4)
  %.not = icmp eq i32 %38, -1
  br i1 %.not, label %._crit_edge, label %.lr.ph18, !llvm.loop !11

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPxEvT_S1_(ptr noundef, ptr noundef) local_unnamed_addr #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #4 = { 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 #5 = { inlinehint 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 #6 = { 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 = !{!"long long", !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}


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