; LLVM IR from tangjz/acm-icpc :: 51nod (1407)

; 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
@x = external dso_local global i32, align 4
@f = external dso_local global [1048576 x i32], align 16
@c = external dso_local global [1048576 x i32], align 16
@ans = external dso_local global i32, align 4
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4scanRi(ptr noundef nonnull align 4 dereferenceable(4)) #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 void @_Z5printi(i32 noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z3incRii(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z3decRii(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) #2

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

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

8:                                                ; preds = %24, %0
  %9 = load i32, ptr %2, align 4, !tbaa !5
  %10 = icmp slt i32 %9, 20
  br i1 %10, label %12, label %11

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

12:                                               ; preds = %8
  %13 = load i32, ptr %2, align 4, !tbaa !5
  %14 = ashr i32 %13, 1
  %15 = sext i32 %14 to i64
  %16 = getelementptr inbounds [1048576 x i32], ptr @c, i64 0, i64 %15
  %17 = load i32, ptr %16, align 4, !tbaa !5
  %18 = load i32, ptr %2, align 4, !tbaa !5
  %19 = and i32 %18, 1
  %20 = add nsw i32 %17, %19
  %21 = load i32, ptr %2, align 4, !tbaa !5
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds [1048576 x i32], ptr @c, i64 0, i64 %22
  store i32 %20, ptr %23, align 4, !tbaa !5
  br label %24

24:                                               ; preds = %12
  %25 = load i32, ptr %2, align 4, !tbaa !5
  %26 = add nsw i32 %25, 1
  store i32 %26, ptr %2, align 4, !tbaa !5
  br label %8, !llvm.loop !9

27:                                               ; preds = %11
  br label %28

28:                                               ; preds = %112, %27
  %29 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef @n)
  %30 = icmp eq i32 %29, 1
  br i1 %30, label %31, label %114

31:                                               ; preds = %28
  call void @llvm.memset.p0.i64(ptr align 16 @f, i8 0, i64 4194304, i1 false)
  br label %32

32:                                               ; preds = %36, %31
  %33 = load i32, ptr @n, align 4, !tbaa !5
  %34 = add nsw i32 %33, -1
  store i32 %34, ptr @n, align 4, !tbaa !5
  %35 = icmp ne i32 %33, 0
  br i1 %35, label %36, label %42

36:                                               ; preds = %32
  call void @_Z4scanRi(ptr noundef nonnull align 4 dereferenceable(4) @x)
  %37 = load i32, ptr @x, align 4, !tbaa !5
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [1048576 x i32], ptr @f, i64 0, i64 %38
  %40 = load i32, ptr %39, align 4, !tbaa !5
  %41 = add nsw i32 %40, 1
  store i32 %41, ptr %39, align 4, !tbaa !5
  br label %32, !llvm.loop !11

42:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %43

43:                                               ; preds = %77, %42
  %44 = load i32, ptr %3, align 4, !tbaa !5
  %45 = icmp slt i32 %44, 20
  br i1 %45, label %47, label %46

46:                                               ; preds = %43
  store i32 9, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  br label %80

47:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %48

48:                                               ; preds = %73, %47
  %49 = load i32, ptr %5, align 4, !tbaa !5
  %50 = icmp slt i32 %49, 1048576
  br i1 %50, label %52, label %51

51:                                               ; preds = %48
  store i32 12, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  br label %76

52:                                               ; preds = %48
  %53 = load i32, ptr %5, align 4, !tbaa !5
  %54 = xor i32 %53, -1
  %55 = load i32, ptr %3, align 4, !tbaa !5
  %56 = shl i32 1, %55
  %57 = and i32 %54, %56
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %59, label %72

59:                                               ; preds = %52
  %60 = load i32, ptr %5, align 4, !tbaa !5
  %61 = load i32, ptr %3, align 4, !tbaa !5
  %62 = shl i32 1, %61
  %63 = or i32 %60, %62
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [1048576 x i32], ptr @f, i64 0, i64 %64
  %66 = load i32, ptr %65, align 4, !tbaa !5
  %67 = load i32, ptr %5, align 4, !tbaa !5
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [1048576 x i32], ptr @f, i64 0, i64 %68
  %70 = load i32, ptr %69, align 4, !tbaa !5
  %71 = add nsw i32 %70, %66
  store i32 %71, ptr %69, align 4, !tbaa !5
  br label %72

72:                                               ; preds = %59, %52
  br label %73

73:                                               ; preds = %72
  %74 = load i32, ptr %5, align 4, !tbaa !5
  %75 = add nsw i32 %74, 1
  store i32 %75, ptr %5, align 4, !tbaa !5
  br label %48, !llvm.loop !12

76:                                               ; preds = %51
  br label %77

77:                                               ; preds = %76
  %78 = load i32, ptr %3, align 4, !tbaa !5
  %79 = add nsw i32 %78, 1
  store i32 %79, ptr %3, align 4, !tbaa !5
  br label %43, !llvm.loop !13

80:                                               ; preds = %46
  store i32 0, ptr @ans, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %81

81:                                               ; preds = %109, %80
  %82 = load i32, ptr %6, align 4, !tbaa !5
  %83 = icmp slt i32 %82, 20
  br i1 %83, label %85, label %84

84:                                               ; preds = %81
  store i32 15, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %112

85:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  %86 = load i32, ptr %6, align 4, !tbaa !5
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [1048576 x i32], ptr @f, i64 0, i64 %87
  %89 = load i32, ptr %88, align 4, !tbaa !5
  %90 = call noundef i32 @_Z7mod_powij(i32 noundef 2, i32 noundef %89)
  %91 = sub nsw i32 %90, 1
  store i32 %91, ptr %7, align 4, !tbaa !5
  %92 = load i32, ptr %7, align 4, !tbaa !5
  %93 = icmp slt i32 %92, 0
  br i1 %93, label %94, label %97

94:                                               ; preds = %85
  %95 = load i32, ptr %7, align 4, !tbaa !5
  %96 = add nsw i32 %95, 1000000007
  store i32 %96, ptr %7, align 4, !tbaa !5
  br label %97

97:                                               ; preds = %94, %85
  %98 = load i32, ptr %6, align 4, !tbaa !5
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds [1048576 x i32], ptr @c, i64 0, i64 %99
  %101 = load i32, ptr %100, align 4, !tbaa !5
  %102 = and i32 %101, 1
  %103 = icmp ne i32 %102, 0
  br i1 %103, label %104, label %106

104:                                              ; preds = %97
  %105 = load i32, ptr %7, align 4, !tbaa !5
  call void @_Z3decRii(ptr noundef nonnull align 4 dereferenceable(4) @ans, i32 noundef %105)
  br label %108

106:                                              ; preds = %97
  %107 = load i32, ptr %7, align 4, !tbaa !5
  call void @_Z3incRii(ptr noundef nonnull align 4 dereferenceable(4) @ans, i32 noundef %107)
  br label %108

108:                                              ; preds = %106, %104
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %109

109:                                              ; preds = %108
  %110 = load i32, ptr %6, align 4, !tbaa !5
  %111 = add nsw i32 %110, 1
  store i32 %111, ptr %6, align 4, !tbaa !5
  br label %81, !llvm.loop !14

112:                                              ; preds = %84
  %113 = load i32, ptr @ans, align 4, !tbaa !5
  call void @_Z5printi(i32 noundef %113)
  br label %28, !llvm.loop !15

114:                                              ; preds = %28
  ret i32 0
}

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

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 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 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 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{!"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"

@n = external dso_local global i32, align 4
@x = external dso_local global i32, align 4
@f = external dso_local local_unnamed_addr global [1048576 x i32], align 16
@c = external dso_local local_unnamed_addr global [1048576 x i32], align 16
@ans = external dso_local global i32, align 4
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4scanRi(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z3incRii(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z3decRii(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #2 {
.preheader30:
  %0 = load <4 x i32>, ptr @c, align 16
  %1 = shufflevector <4 x i32> %0, <4 x i32> poison, <4 x i32> zeroinitializer
  %2 = add nsw <4 x i32> %1, <i32 2, i32 3, i32 4, i32 1>
  %3 = shufflevector <4 x i32> %2, <4 x i32> poison, <8 x i32> <i32 0, i32 0, i32 1, i32 0, i32 1, i32 1, i32 2, i32 3>
  %4 = extractelement <4 x i32> %2, i64 3
  store i32 %4, ptr getelementptr inbounds (i8, ptr @c, i64 4), align 4, !tbaa !5
  store i32 %4, ptr getelementptr inbounds (i8, ptr @c, i64 8), align 8, !tbaa !5
  %5 = extractelement <4 x i32> %2, i64 0
  store i32 %5, ptr getelementptr inbounds (i8, ptr @c, i64 12), align 4, !tbaa !5
  store i32 %4, ptr getelementptr inbounds (i8, ptr @c, i64 16), align 16, !tbaa !5
  store i32 %5, ptr getelementptr inbounds (i8, ptr @c, i64 20), align 4, !tbaa !5
  store i32 %5, ptr getelementptr inbounds (i8, ptr @c, i64 24), align 8, !tbaa !5
  %6 = extractelement <4 x i32> %2, i64 1
  store i32 %6, ptr getelementptr inbounds (i8, ptr @c, i64 28), align 4, !tbaa !5
  store i32 %4, ptr getelementptr inbounds (i8, ptr @c, i64 32), align 16, !tbaa !5
  store <8 x i32> %3, ptr getelementptr inbounds (i8, ptr @c, i64 36), align 4, !tbaa !5
  store i32 %5, ptr getelementptr inbounds (i8, ptr @c, i64 68), align 4, !tbaa !5
  store i32 %5, ptr getelementptr inbounds (i8, ptr @c, i64 72), align 8, !tbaa !5
  store i32 %6, ptr getelementptr inbounds (i8, ptr @c, i64 76), align 4, !tbaa !5
  %7 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull @n)
  %8 = icmp eq i32 %7, 1
  br i1 %8, label %.lr.ph36, label %._crit_edge

.lr.ph36:                                         ; preds = %.preheader30, %45
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(4194304) @f, i8 0, i64 4194304, i1 false)
  %9 = load i32, ptr @n, align 4, !tbaa !5
  %10 = add nsw i32 %9, -1
  store i32 %10, ptr @n, align 4, !tbaa !5
  %.not32 = icmp eq i32 %9, 0
  br i1 %.not32, label %.preheader.preheader, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph36, %.lr.ph
  tail call void @_Z4scanRi(ptr noundef nonnull align 4 dereferenceable(4) @x)
  %11 = load i32, ptr @x, align 4, !tbaa !5
  %12 = sext i32 %11 to i64
  %13 = getelementptr inbounds [1048576 x i32], ptr @f, i64 0, i64 %12
  %14 = load i32, ptr %13, align 4, !tbaa !5
  %15 = add nsw i32 %14, 1
  store i32 %15, ptr %13, align 4, !tbaa !5
  %16 = load i32, ptr @n, align 4, !tbaa !5
  %17 = add nsw i32 %16, -1
  store i32 %17, ptr @n, align 4, !tbaa !5
  %.not = icmp eq i32 %16, 0
  br i1 %.not, label %.preheader.preheader, label %.lr.ph, !llvm.loop !9

.preheader.preheader:                             ; preds = %.lr.ph, %.lr.ph36
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %20
  %.02434 = phi i32 [ %21, %20 ], [ 0, %.preheader.preheader ]
  %18 = shl nuw nsw i32 1, %.02434
  br label %22

19:                                               ; preds = %20
  store i32 0, ptr @ans, align 4, !tbaa !5
  br label %49

20:                                               ; preds = %44
  %21 = add nuw nsw i32 %.02434, 1
  %exitcond39.not = icmp eq i32 %21, 20
  br i1 %exitcond39.not, label %19, label %.preheader, !llvm.loop !11

22:                                               ; preds = %44, %.preheader
  %indvars.iv = phi i64 [ 0, %.preheader ], [ %indvars.iv.next.1, %44 ]
  %23 = trunc nuw nsw i64 %indvars.iv to i32
  %24 = and i32 %18, %23
  %.not28.not = icmp eq i32 %24, 0
  br i1 %.not28.not, label %25, label %33

25:                                               ; preds = %22
  %26 = or i32 %18, %23
  %27 = zext nneg i32 %26 to i64
  %28 = getelementptr inbounds [1048576 x i32], ptr @f, i64 0, i64 %27
  %29 = load i32, ptr %28, align 4, !tbaa !5
  %30 = getelementptr inbounds [1048576 x i32], ptr @f, i64 0, i64 %indvars.iv
  %31 = load i32, ptr %30, align 8, !tbaa !5
  %32 = add nsw i32 %31, %29
  store i32 %32, ptr %30, align 8, !tbaa !5
  br label %33

33:                                               ; preds = %22, %25
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %34 = trunc nuw nsw i64 %indvars.iv.next to i32
  %35 = and i32 %18, %34
  %.not28.not.1 = icmp eq i32 %35, 0
  br i1 %.not28.not.1, label %36, label %44

36:                                               ; preds = %33
  %37 = or i32 %18, %34
  %38 = zext nneg i32 %37 to i64
  %39 = getelementptr inbounds [1048576 x i32], ptr @f, i64 0, i64 %38
  %40 = load i32, ptr %39, align 4, !tbaa !5
  %41 = getelementptr inbounds [1048576 x i32], ptr @f, i64 0, i64 %indvars.iv.next
  %42 = load i32, ptr %41, align 4, !tbaa !5
  %43 = add nsw i32 %42, %40
  store i32 %43, ptr %41, align 4, !tbaa !5
  br label %44

44:                                               ; preds = %36, %33
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next.1, 1048576
  br i1 %exitcond.not.1, label %20, label %22, !llvm.loop !12

45:                                               ; preds = %59
  %46 = load i32, ptr @ans, align 4, !tbaa !5
  tail call void @_Z5printi(i32 noundef %46)
  %47 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull @n)
  %48 = icmp eq i32 %47, 1
  br i1 %48, label %.lr.ph36, label %._crit_edge, !llvm.loop !13

49:                                               ; preds = %19, %59
  %indvars.iv40 = phi i64 [ 0, %19 ], [ %indvars.iv.next41, %59 ]
  %50 = getelementptr inbounds [1048576 x i32], ptr @f, i64 0, i64 %indvars.iv40
  %51 = load i32, ptr %50, align 4, !tbaa !5
  %52 = tail call noundef i32 @_Z7mod_powij(i32 noundef 2, i32 noundef %51)
  %53 = icmp slt i32 %52, 1
  %spec.select.v = select i1 %53, i32 1000000006, i32 -1
  %spec.select = add nsw i32 %spec.select.v, %52
  %54 = getelementptr inbounds [1048576 x i32], ptr @c, i64 0, i64 %indvars.iv40
  %55 = load i32, ptr %54, align 4, !tbaa !5
  %56 = and i32 %55, 1
  %.not27 = icmp eq i32 %56, 0
  br i1 %.not27, label %58, label %57

57:                                               ; preds = %49
  tail call void @_Z3decRii(ptr noundef nonnull align 4 dereferenceable(4) @ans, i32 noundef %spec.select)
  br label %59

58:                                               ; preds = %49
  tail call void @_Z3incRii(ptr noundef nonnull align 4 dereferenceable(4) @ans, i32 noundef %spec.select)
  br label %59

59:                                               ; preds = %58, %57
  %indvars.iv.next41 = add nuw nsw i64 %indvars.iv40, 1
  %exitcond43.not = icmp eq i64 %indvars.iv.next41, 20
  br i1 %exitcond43.not, label %45, label %49, !llvm.loop !14

._crit_edge:                                      ; preds = %45, %.preheader30
  ret i32 0
}

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

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 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 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }

!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: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass