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

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

@n = external dso_local global i32, align 4
@a = external dso_local global [1100001 x i32], align 16
@m = external dso_local global i32, align 4
@stk = external dso_local global [1100001 x i32], align 16
@ch = external dso_local global [2 x [1100001 x i32]], align 16
@dep = external dso_local global [1100001 x i32], align 16
@ans = external dso_local global [2 x [1100001 x i32]], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z3dfsii(i32 noundef, i32 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
  store i32 0, ptr %1, align 4
  %5 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %6

6:                                                ; preds = %55, %0
  %7 = load i32, ptr %2, align 4, !tbaa !5
  %8 = load i32, ptr @n, align 4, !tbaa !5
  %9 = icmp sle i32 %7, %8
  br i1 %9, label %11, label %10

10:                                               ; preds = %6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  br label %58

11:                                               ; preds = %6
  %12 = load i32, ptr %2, align 4, !tbaa !5
  %13 = sext i32 %12 to i64
  %14 = getelementptr inbounds i32, ptr @a, i64 %13
  %15 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %14)
  br label %16

16:                                               ; preds = %35, %11
  %17 = load i32, ptr @m, align 4, !tbaa !5
  %18 = icmp ne i32 %17, 0
  br i1 %18, label %19, label %32

19:                                               ; preds = %16
  %20 = load i32, ptr @m, align 4, !tbaa !5
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds [1100001 x i32], ptr @stk, i64 0, i64 %21
  %23 = load i32, ptr %22, align 4, !tbaa !5
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds [1100001 x i32], ptr @a, i64 0, i64 %24
  %26 = load i32, ptr %25, align 4, !tbaa !5
  %27 = load i32, ptr %2, align 4, !tbaa !5
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [1100001 x i32], ptr @a, i64 0, i64 %28
  %30 = load i32, ptr %29, align 4, !tbaa !5
  %31 = icmp sgt i32 %26, %30
  br label %32

32:                                               ; preds = %19, %16
  %33 = phi i1 [ false, %16 ], [ %31, %19 ]
  br i1 %33, label %34, label %38

34:                                               ; preds = %32
  br label %35

35:                                               ; preds = %34
  %36 = load i32, ptr @m, align 4, !tbaa !5
  %37 = add nsw i32 %36, -1
  store i32 %37, ptr @m, align 4, !tbaa !5
  br label %16, !llvm.loop !9

38:                                               ; preds = %32
  %39 = load i32, ptr @m, align 4, !tbaa !5
  %40 = icmp ne i32 %39, 0
  br i1 %40, label %41, label %49

41:                                               ; preds = %38
  %42 = load i32, ptr %2, align 4, !tbaa !5
  %43 = load i32, ptr @m, align 4, !tbaa !5
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds [1100001 x i32], ptr @stk, i64 0, i64 %44
  %46 = load i32, ptr %45, align 4, !tbaa !5
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [1100001 x i32], ptr getelementptr inbounds ([2 x [1100001 x i32]], ptr @ch, i64 0, i64 1), i64 0, i64 %47
  store i32 %42, ptr %48, align 4, !tbaa !5
  br label %49

49:                                               ; preds = %41, %38
  %50 = load i32, ptr %2, align 4, !tbaa !5
  %51 = load i32, ptr @m, align 4, !tbaa !5
  %52 = add nsw i32 %51, 1
  store i32 %52, ptr @m, align 4, !tbaa !5
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [1100001 x i32], ptr @stk, i64 0, i64 %53
  store i32 %50, ptr %54, align 4, !tbaa !5
  br label %55

55:                                               ; preds = %49
  %56 = load i32, ptr %2, align 4, !tbaa !5
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr %2, align 4, !tbaa !5
  br label %6, !llvm.loop !11

58:                                               ; preds = %10
  store i32 0, ptr @m, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  %59 = load i32, ptr @n, align 4, !tbaa !5
  store i32 %59, ptr %3, align 4, !tbaa !5
  br label %60

60:                                               ; preds = %104, %58
  %61 = load i32, ptr %3, align 4, !tbaa !5
  %62 = icmp sgt i32 %61, 0
  br i1 %62, label %64, label %63

63:                                               ; preds = %60
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  br label %107

64:                                               ; preds = %60
  br label %65

65:                                               ; preds = %84, %64
  %66 = load i32, ptr @m, align 4, !tbaa !5
  %67 = icmp ne i32 %66, 0
  br i1 %67, label %68, label %81

68:                                               ; preds = %65
  %69 = load i32, ptr @m, align 4, !tbaa !5
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [1100001 x i32], ptr @stk, i64 0, i64 %70
  %72 = load i32, ptr %71, align 4, !tbaa !5
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds [1100001 x i32], ptr @a, i64 0, i64 %73
  %75 = load i32, ptr %74, align 4, !tbaa !5
  %76 = load i32, ptr %3, align 4, !tbaa !5
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [1100001 x i32], ptr @a, i64 0, i64 %77
  %79 = load i32, ptr %78, align 4, !tbaa !5
  %80 = icmp sgt i32 %75, %79
  br label %81

81:                                               ; preds = %68, %65
  %82 = phi i1 [ false, %65 ], [ %80, %68 ]
  br i1 %82, label %83, label %87

83:                                               ; preds = %81
  br label %84

84:                                               ; preds = %83
  %85 = load i32, ptr @m, align 4, !tbaa !5
  %86 = add nsw i32 %85, -1
  store i32 %86, ptr @m, align 4, !tbaa !5
  br label %65, !llvm.loop !12

87:                                               ; preds = %81
  %88 = load i32, ptr @m, align 4, !tbaa !5
  %89 = icmp ne i32 %88, 0
  br i1 %89, label %90, label %98

90:                                               ; preds = %87
  %91 = load i32, ptr %3, align 4, !tbaa !5
  %92 = load i32, ptr @m, align 4, !tbaa !5
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [1100001 x i32], ptr @stk, i64 0, i64 %93
  %95 = load i32, ptr %94, align 4, !tbaa !5
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds [1100001 x i32], ptr @ch, i64 0, i64 %96
  store i32 %91, ptr %97, align 4, !tbaa !5
  br label %98

98:                                               ; preds = %90, %87
  %99 = load i32, ptr %3, align 4, !tbaa !5
  %100 = load i32, ptr @m, align 4, !tbaa !5
  %101 = add nsw i32 %100, 1
  store i32 %101, ptr @m, align 4, !tbaa !5
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [1100001 x i32], ptr @stk, i64 0, i64 %102
  store i32 %99, ptr %103, align 4, !tbaa !5
  br label %104

104:                                              ; preds = %98
  %105 = load i32, ptr %3, align 4, !tbaa !5
  %106 = add nsw i32 %105, -1
  store i32 %106, ptr %3, align 4, !tbaa !5
  br label %60, !llvm.loop !13

107:                                              ; preds = %63
  store i32 0, ptr @m, align 4, !tbaa !5
  %108 = load i32, ptr getelementptr inbounds ([1100001 x i32], ptr @dep, i64 0, i64 1), align 4, !tbaa !5
  call void @_Z3dfsii(i32 noundef 1, i32 noundef %108)
  %109 = load i32, ptr @m, align 4, !tbaa !5
  %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %109)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  store i32 1, ptr %4, align 4, !tbaa !5
  br label %111

111:                                              ; preds = %126, %107
  %112 = load i32, ptr %4, align 4, !tbaa !5
  %113 = load i32, ptr @m, align 4, !tbaa !5
  %114 = icmp sle i32 %112, %113
  br i1 %114, label %116, label %115

115:                                              ; preds = %111
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  br label %129

116:                                              ; preds = %111
  %117 = load i32, ptr %4, align 4, !tbaa !5
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds [1100001 x i32], ptr @ans, i64 0, i64 %118
  %120 = load i32, ptr %119, align 4, !tbaa !5
  %121 = load i32, ptr %4, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds [1100001 x i32], ptr getelementptr inbounds ([2 x [1100001 x i32]], ptr @ans, i64 0, i64 1), i64 0, i64 %122
  %124 = load i32, ptr %123, align 4, !tbaa !5
  %125 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %120, i32 noundef %124)
  br label %126

126:                                              ; preds = %116
  %127 = load i32, ptr %4, align 4, !tbaa !5
  %128 = add nsw i32 %127, 1
  store i32 %128, ptr %4, align 4, !tbaa !5
  br label %111, !llvm.loop !14

129:                                              ; preds = %115
  ret i32 0
}

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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !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"

@n = external dso_local global i32, align 4
@a = external dso_local global [1100001 x i32], align 16
@m = external dso_local local_unnamed_addr global i32, align 4
@stk = external dso_local local_unnamed_addr global [1100001 x i32], align 16
@ch = external dso_local local_unnamed_addr global [2 x [1100001 x i32]], align 16
@dep = external dso_local local_unnamed_addr global [1100001 x i32], align 16
@ans = external dso_local local_unnamed_addr global [2 x [1100001 x i32]], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z3dfsii(i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 {
  %1 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n)
  %2 = load i32, ptr @n, align 4, !tbaa !5
  %.not34 = icmp slt i32 %2, 1
  br i1 %.not34, label %._crit_edge.thread, label %.lr.ph37

._crit_edge:                                      ; preds = %.critedge.thread
  %3 = icmp sgt i32 %29, 0
  br i1 %3, label %thread-pre-split.preheader, label %._crit_edge.thread

thread-pre-split.preheader:                       ; preds = %._crit_edge
  %4 = zext nneg i32 %29 to i64
  br label %thread-pre-split

.lr.ph37:                                         ; preds = %0, %.critedge.thread
  %indvars.iv61 = phi i64 [ %indvars.iv.next62, %.critedge.thread ], [ 1, %0 ]
  %5 = getelementptr inbounds i32, ptr @a, i64 %indvars.iv61
  %6 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %5)
  %.pr = load i32, ptr @m, align 4, !tbaa !5
  %.not2633 = icmp eq i32 %.pr, 0
  br i1 %.not2633, label %.critedge.thread, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph37
  %7 = load i32, ptr %5, align 4, !tbaa !5
  %8 = sext i32 %.pr to i64
  br label %9

9:                                                ; preds = %.lr.ph, %16
  %indvars.iv = phi i64 [ %8, %.lr.ph ], [ %indvars.iv.next, %16 ]
  %10 = getelementptr inbounds [1100001 x i32], ptr @stk, i64 0, i64 %indvars.iv
  %11 = load i32, ptr %10, align 4, !tbaa !5
  %12 = sext i32 %11 to i64
  %13 = getelementptr inbounds [1100001 x i32], ptr @a, i64 0, i64 %12
  %14 = load i32, ptr %13, align 4, !tbaa !5
  %15 = icmp sgt i32 %14, %7
  br i1 %15, label %16, label %.critedge

16:                                               ; preds = %9
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %.not26 = icmp eq i64 %indvars.iv.next, 0
  br i1 %.not26, label %.critedge.thread, label %9, !llvm.loop !9

.critedge:                                        ; preds = %9
  %17 = trunc nsw i64 %indvars.iv to i32
  %sext = shl i64 %indvars.iv, 32
  %18 = ashr exact i64 %sext, 32
  %19 = getelementptr inbounds [1100001 x i32], ptr @stk, i64 0, i64 %18
  %20 = load i32, ptr %19, align 4, !tbaa !5
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds [1100001 x i32], ptr getelementptr inbounds (i8, ptr @ch, i64 4400004), i64 0, i64 %21
  %23 = trunc nuw nsw i64 %indvars.iv61 to i32
  store i32 %23, ptr %22, align 4, !tbaa !5
  br label %.critedge.thread

.critedge.thread:                                 ; preds = %16, %.lr.ph37, %.critedge
  %24 = phi i32 [ %17, %.critedge ], [ 0, %.lr.ph37 ], [ 0, %16 ]
  %25 = add nsw i32 %24, 1
  store i32 %25, ptr @m, align 4, !tbaa !5
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds [1100001 x i32], ptr @stk, i64 0, i64 %26
  %28 = trunc nuw nsw i64 %indvars.iv61 to i32
  store i32 %28, ptr %27, align 4, !tbaa !5
  %indvars.iv.next62 = add nuw nsw i64 %indvars.iv61, 1
  %29 = load i32, ptr @n, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %.not.not = icmp slt i64 %indvars.iv61, %30
  br i1 %.not.not, label %.lr.ph37, label %._crit_edge, !llvm.loop !11

._crit_edge.thread:                               ; preds = %.critedge2.thread, %0, %._crit_edge
  store i32 0, ptr @m, align 4, !tbaa !5
  %31 = load i32, ptr getelementptr inbounds (i8, ptr @dep, i64 4), align 4, !tbaa !5
  tail call void @_Z3dfsii(i32 noundef 1, i32 noundef %31)
  %32 = load i32, ptr @m, align 4, !tbaa !5
  %33 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %32)
  %34 = load i32, ptr @m, align 4, !tbaa !5
  %.not2348 = icmp slt i32 %34, 1
  br i1 %.not2348, label %._crit_edge52, label %.lr.ph51

thread-pre-split:                                 ; preds = %thread-pre-split.preheader, %.critedge2.thread
  %indvars.iv67 = phi i64 [ %4, %thread-pre-split.preheader ], [ %indvars.iv.next68, %.critedge2.thread ]
  %.pr284243 = phi i32 [ 0, %thread-pre-split.preheader ], [ %54, %.critedge2.thread ]
  %.not2439 = icmp eq i32 %.pr284243, 0
  br i1 %.not2439, label %.critedge2.thread, label %.lr.ph40

.lr.ph40:                                         ; preds = %thread-pre-split
  %35 = getelementptr inbounds [1100001 x i32], ptr @a, i64 0, i64 %indvars.iv67
  %36 = load i32, ptr %35, align 4, !tbaa !5
  %37 = sext i32 %.pr284243 to i64
  br label %38

38:                                               ; preds = %.lr.ph40, %45
  %indvars.iv64 = phi i64 [ %37, %.lr.ph40 ], [ %indvars.iv.next65, %45 ]
  %39 = getelementptr inbounds [1100001 x i32], ptr @stk, i64 0, i64 %indvars.iv64
  %40 = load i32, ptr %39, align 4, !tbaa !5
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds [1100001 x i32], ptr @a, i64 0, i64 %41
  %43 = load i32, ptr %42, align 4, !tbaa !5
  %44 = icmp sgt i32 %43, %36
  br i1 %44, label %45, label %.critedge2

45:                                               ; preds = %38
  %indvars.iv.next65 = add nsw i64 %indvars.iv64, -1
  %.not24 = icmp eq i64 %indvars.iv.next65, 0
  br i1 %.not24, label %.critedge2.thread, label %38, !llvm.loop !12

.critedge2:                                       ; preds = %38
  %46 = trunc nsw i64 %indvars.iv64 to i32
  %sext73 = shl i64 %indvars.iv64, 32
  %47 = ashr exact i64 %sext73, 32
  %48 = getelementptr inbounds [1100001 x i32], ptr @stk, i64 0, i64 %47
  %49 = load i32, ptr %48, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [1100001 x i32], ptr @ch, i64 0, i64 %50
  %52 = trunc nuw nsw i64 %indvars.iv67 to i32
  store i32 %52, ptr %51, align 4, !tbaa !5
  br label %.critedge2.thread

.critedge2.thread:                                ; preds = %45, %thread-pre-split, %.critedge2
  %53 = phi i32 [ %46, %.critedge2 ], [ 0, %thread-pre-split ], [ 0, %45 ]
  %54 = add nsw i32 %53, 1
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [1100001 x i32], ptr @stk, i64 0, i64 %55
  %57 = trunc nuw nsw i64 %indvars.iv67 to i32
  store i32 %57, ptr %56, align 4, !tbaa !5
  %indvars.iv.next68 = add nsw i64 %indvars.iv67, -1
  %58 = icmp sgt i64 %indvars.iv67, 1
  br i1 %58, label %thread-pre-split, label %._crit_edge.thread, !llvm.loop !13

._crit_edge52:                                    ; preds = %.lr.ph51, %._crit_edge.thread
  ret i32 0

.lr.ph51:                                         ; preds = %._crit_edge.thread, %.lr.ph51
  %indvars.iv70 = phi i64 [ %indvars.iv.next71, %.lr.ph51 ], [ 1, %._crit_edge.thread ]
  %59 = getelementptr inbounds [1100001 x i32], ptr @ans, i64 0, i64 %indvars.iv70
  %60 = load i32, ptr %59, align 4, !tbaa !5
  %61 = getelementptr inbounds [1100001 x i32], ptr getelementptr inbounds (i8, ptr @ans, i64 4400004), i64 0, i64 %indvars.iv70
  %62 = load i32, ptr %61, align 4, !tbaa !5
  %63 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %60, i32 noundef %62)
  %indvars.iv.next71 = add nuw nsw i64 %indvars.iv70, 1
  %64 = load i32, ptr @m, align 4, !tbaa !5
  %65 = sext i32 %64 to i64
  %.not23.not = icmp slt i64 %indvars.iv70, %65
  br i1 %.not23.not, label %.lr.ph51, label %._crit_edge52, !llvm.loop !14
}

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #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 = { 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 #2 = { 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" }

!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}


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