; LLVM IR from VastoLorde95/Competitive-Programming :: Codeforces/275 Division 2/Problem C (C)

; 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
@k = external dso_local global i32, align 4
@res = external dso_local global [100001 x i32], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1

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

8:                                                ; preds = %31, %0
  %9 = load i32, ptr @k, align 4, !tbaa !5
  %10 = icmp sgt i32 %9, 1
  br i1 %10, label %11, label %32

11:                                               ; preds = %8
  %12 = load i32, ptr @k, align 4, !tbaa !5
  %13 = add nsw i32 %12, -1
  store i32 %13, ptr @k, align 4, !tbaa !5
  %14 = load i32, ptr %2, align 4, !tbaa !5
  %15 = srem i32 %14, 2
  %16 = icmp eq i32 %15, 1
  br i1 %16, label %17, label %24

17:                                               ; preds = %11
  %18 = load i32, ptr %4, align 4, !tbaa !5
  %19 = add nsw i32 %18, 1
  store i32 %19, ptr %4, align 4, !tbaa !5
  %20 = load i32, ptr %2, align 4, !tbaa !5
  %21 = add nsw i32 %20, 1
  store i32 %21, ptr %2, align 4, !tbaa !5
  %22 = sext i32 %20 to i64
  %23 = getelementptr inbounds [100001 x i32], ptr @res, i64 0, i64 %22
  store i32 %18, ptr %23, align 4, !tbaa !5
  br label %31

24:                                               ; preds = %11
  %25 = load i32, ptr %3, align 4, !tbaa !5
  %26 = add nsw i32 %25, -1
  store i32 %26, ptr %3, align 4, !tbaa !5
  %27 = load i32, ptr %2, align 4, !tbaa !5
  %28 = add nsw i32 %27, 1
  store i32 %28, ptr %2, align 4, !tbaa !5
  %29 = sext i32 %27 to i64
  %30 = getelementptr inbounds [100001 x i32], ptr @res, i64 0, i64 %29
  store i32 %25, ptr %30, align 4, !tbaa !5
  br label %31

31:                                               ; preds = %24, %17
  br label %8, !llvm.loop !9

32:                                               ; preds = %8
  %33 = load i32, ptr %2, align 4, !tbaa !5
  %34 = srem i32 %33, 2
  %35 = icmp eq i32 %34, 1
  br i1 %35, label %36, label %49

36:                                               ; preds = %32
  br label %37

37:                                               ; preds = %41, %36
  %38 = load i32, ptr %2, align 4, !tbaa !5
  %39 = load i32, ptr @n, align 4, !tbaa !5
  %40 = icmp sle i32 %38, %39
  br i1 %40, label %41, label %48

41:                                               ; preds = %37
  %42 = load i32, ptr %4, align 4, !tbaa !5
  %43 = add nsw i32 %42, 1
  store i32 %43, ptr %4, align 4, !tbaa !5
  %44 = load i32, ptr %2, align 4, !tbaa !5
  %45 = add nsw i32 %44, 1
  store i32 %45, ptr %2, align 4, !tbaa !5
  %46 = sext i32 %44 to i64
  %47 = getelementptr inbounds [100001 x i32], ptr @res, i64 0, i64 %46
  store i32 %42, ptr %47, align 4, !tbaa !5
  br label %37, !llvm.loop !11

48:                                               ; preds = %37
  br label %62

49:                                               ; preds = %32
  br label %50

50:                                               ; preds = %54, %49
  %51 = load i32, ptr %2, align 4, !tbaa !5
  %52 = load i32, ptr @n, align 4, !tbaa !5
  %53 = icmp sle i32 %51, %52
  br i1 %53, label %54, label %61

54:                                               ; preds = %50
  %55 = load i32, ptr %3, align 4, !tbaa !5
  %56 = add nsw i32 %55, -1
  store i32 %56, ptr %3, align 4, !tbaa !5
  %57 = load i32, ptr %2, align 4, !tbaa !5
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr %2, align 4, !tbaa !5
  %59 = sext i32 %57 to i64
  %60 = getelementptr inbounds [100001 x i32], ptr @res, i64 0, i64 %59
  store i32 %55, ptr %60, align 4, !tbaa !5
  br label %50, !llvm.loop !12

61:                                               ; preds = %50
  br label %62

62:                                               ; preds = %61, %48
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  store i32 1, ptr %5, align 4, !tbaa !5
  br label %63

63:                                               ; preds = %74, %62
  %64 = load i32, ptr %5, align 4, !tbaa !5
  %65 = load i32, ptr @n, align 4, !tbaa !5
  %66 = icmp sle i32 %64, %65
  br i1 %66, label %68, label %67

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

68:                                               ; preds = %63
  %69 = load i32, ptr %5, align 4, !tbaa !5
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [100001 x i32], ptr @res, i64 0, i64 %70
  %72 = load i32, ptr %71, align 4, !tbaa !5
  %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %72)
  br label %74

74:                                               ; preds = %68
  %75 = load i32, ptr %5, align 4, !tbaa !5
  %76 = add nsw i32 %75, 1
  store i32 %76, ptr %5, align 4, !tbaa !5
  br label %63, !llvm.loop !13

77:                                               ; preds = %67
  %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #3
  ret i32 0
}

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

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

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

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

attributes #0 = { 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 #1 = { "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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}


; 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
@k = external dso_local global i32, align 4
@res = external dso_local local_unnamed_addr global [100001 x i32], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress nofree norecurse nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n, ptr noundef nonnull @k)
  %2 = load i32, ptr @n, align 4, !tbaa !5
  %k.promoted = load i32, ptr @k, align 4, !tbaa !5
  %3 = icmp sgt i32 %k.promoted, 1
  br i1 %3, label %.lr.ph.preheader, label %.preheader27

.lr.ph.preheader:                                 ; preds = %0
  %wide.trip.count = zext nneg i32 %k.promoted to i64
  %4 = add nsw i64 %wide.trip.count, -1
  %xtraiter = and i64 %4, 1
  %5 = icmp eq i32 %k.promoted, 2
  br i1 %5, label %.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i64 %4, -2
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %indvars.iv = phi i64 [ 1, %.lr.ph.preheader.new ], [ %indvars.iv.next.1, %.lr.ph ]
  %.01531 = phi i32 [ 1, %.lr.ph.preheader.new ], [ %.1, %.lr.ph ]
  %.01630 = phi i32 [ %2, %.lr.ph.preheader.new ], [ %.117.1, %.lr.ph ]
  %niter = phi i64 [ 0, %.lr.ph.preheader.new ], [ %niter.next.1, %.lr.ph ]
  %.1 = add i32 %.01531, 1
  %6 = getelementptr inbounds [100001 x i32], ptr @res, i64 0, i64 %indvars.iv
  store i32 %.01531, ptr %6, align 4
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %.117.1 = add nsw i32 %.01630, -1
  %7 = getelementptr inbounds [100001 x i32], ptr @res, i64 0, i64 %indvars.iv.next
  store i32 %.01630, ptr %7, align 4
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %.unr-lcssa, label %.lr.ph, !llvm.loop !9

.unr-lcssa:                                       ; preds = %.lr.ph, %.lr.ph.preheader
  %.117.lcssa.ph = phi i32 [ poison, %.lr.ph.preheader ], [ %.117.1, %.lr.ph ]
  %.1.lcssa.ph = phi i32 [ poison, %.lr.ph.preheader ], [ %.1, %.lr.ph ]
  %indvars.iv.unr = phi i64 [ 1, %.lr.ph.preheader ], [ %indvars.iv.next.1, %.lr.ph ]
  %.01531.unr = phi i32 [ 1, %.lr.ph.preheader ], [ %.1, %.lr.ph ]
  %.01630.unr = phi i32 [ %2, %.lr.ph.preheader ], [ %.117.1, %.lr.ph ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %12, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %.unr-lcssa
  %8 = and i64 %indvars.iv.unr, 1
  %.not26.epil = icmp eq i64 %8, 0
  %.01531.sink.epil = select i1 %.not26.epil, i32 %.01630.unr, i32 %.01531.unr
  %9 = sext i1 %.not26.epil to i32
  %.117.epil = add nsw i32 %.01630.unr, %9
  %10 = trunc nuw nsw i64 %8 to i32
  %.1.epil = add i32 %.01531.unr, %10
  %11 = getelementptr inbounds [100001 x i32], ptr @res, i64 0, i64 %indvars.iv.unr
  store i32 %.01531.sink.epil, ptr %11, align 4
  br label %12

12:                                               ; preds = %.unr-lcssa, %.lr.ph.epil
  %.117.lcssa = phi i32 [ %.117.lcssa.ph, %.unr-lcssa ], [ %.117.epil, %.lr.ph.epil ]
  %.1.lcssa = phi i32 [ %.1.lcssa.ph, %.unr-lcssa ], [ %.1.epil, %.lr.ph.epil ]
  store i32 1, ptr @k, align 4, !tbaa !5
  %13 = and i32 %k.promoted, 1
  %.not25 = icmp eq i32 %13, 0
  br i1 %.not25, label %.preheader, label %.preheader27

.preheader27:                                     ; preds = %0, %12
  %.015.lcssa67 = phi i32 [ %.1.lcssa, %12 ], [ 1, %0 ]
  %.019.lcssa66 = phi i32 [ %k.promoted, %12 ], [ 1, %0 ]
  %.not2334 = icmp sgt i32 %.019.lcssa66, %2
  br i1 %.not2334, label %.loopexit, label %.lr.ph37.preheader

.lr.ph37.preheader:                               ; preds = %.preheader27
  %14 = zext nneg i32 %.019.lcssa66 to i64
  %15 = add i32 %2, 1
  %wide.trip.count52 = zext i32 %15 to i64
  %16 = sub nsw i64 %wide.trip.count52, %14
  %min.iters.check = icmp ult i64 %16, 8
  br i1 %min.iters.check, label %.lr.ph37.preheader97, label %vector.ph

.lr.ph37.preheader97:                             ; preds = %middle.block, %.lr.ph37.preheader
  %indvars.iv49.ph = phi i64 [ %14, %.lr.ph37.preheader ], [ %ind.end, %middle.block ]
  %.236.ph = phi i32 [ %.015.lcssa67, %.lr.ph37.preheader ], [ %ind.end70, %middle.block ]
  br label %.lr.ph37

vector.ph:                                        ; preds = %.lr.ph37.preheader
  %n.vec = and i64 %16, -8
  %ind.end = add nsw i64 %n.vec, %14
  %.cast = trunc i64 %n.vec to i32
  %ind.end70 = add i32 %.015.lcssa67, %.cast
  %.splatinsert = insertelement <4 x i32> poison, i32 %.015.lcssa67, i64 0
  %.splat = shufflevector <4 x i32> %.splatinsert, <4 x i32> poison, <4 x i32> zeroinitializer
  %induction = add <4 x i32> %.splat, <i32 0, i32 1, i32 2, i32 3>
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.ind = phi <4 x i32> [ %induction, %vector.ph ], [ %vec.ind.next, %vector.body ]
  %step.add = add <4 x i32> %vec.ind, <i32 4, i32 4, i32 4, i32 4>
  %offset.idx = add i64 %index, %14
  %17 = getelementptr inbounds [100001 x i32], ptr @res, i64 0, i64 %offset.idx
  %18 = getelementptr inbounds i8, ptr %17, i64 16
  store <4 x i32> %vec.ind, ptr %17, align 4, !tbaa !5
  store <4 x i32> %step.add, ptr %18, align 4, !tbaa !5
  %index.next = add nuw i64 %index, 8
  %vec.ind.next = add <4 x i32> %vec.ind, <i32 8, i32 8, i32 8, i32 8>
  %19 = icmp eq i64 %index.next, %n.vec
  br i1 %19, label %middle.block, label %vector.body, !llvm.loop !11

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %16, %n.vec
  br i1 %cmp.n, label %.loopexit, label %.lr.ph37.preheader97

.preheader:                                       ; preds = %12
  %.not38 = icmp sgt i32 %k.promoted, %2
  br i1 %.not38, label %.loopexit, label %.lr.ph41.preheader

.lr.ph41.preheader:                               ; preds = %.preheader
  %20 = zext nneg i32 %k.promoted to i64
  %21 = add i32 %2, 1
  %wide.trip.count57 = zext i32 %21 to i64
  %22 = sub nsw i64 %wide.trip.count57, %wide.trip.count
  %min.iters.check75 = icmp ult i64 %22, 8
  br i1 %min.iters.check75, label %.lr.ph41.preheader96, label %vector.ph76

.lr.ph41.preheader96:                             ; preds = %middle.block73, %.lr.ph41.preheader
  %indvars.iv54.ph = phi i64 [ %20, %.lr.ph41.preheader ], [ %ind.end79, %middle.block73 ]
  %.21840.ph = phi i32 [ %.117.lcssa, %.lr.ph41.preheader ], [ %ind.end82, %middle.block73 ]
  br label %.lr.ph41

vector.ph76:                                      ; preds = %.lr.ph41.preheader
  %n.vec78 = and i64 %22, -8
  %ind.end79 = add nsw i64 %n.vec78, %20
  %.cast81 = trunc i64 %n.vec78 to i32
  %ind.end82 = sub i32 %.117.lcssa, %.cast81
  %.splatinsert86 = insertelement <4 x i32> poison, i32 %.117.lcssa, i64 0
  %.splat87 = shufflevector <4 x i32> %.splatinsert86, <4 x i32> poison, <4 x i32> zeroinitializer
  %induction88 = add <4 x i32> %.splat87, <i32 0, i32 -1, i32 -2, i32 -3>
  br label %vector.body84

vector.body84:                                    ; preds = %vector.body84, %vector.ph76
  %index85 = phi i64 [ 0, %vector.ph76 ], [ %index.next94, %vector.body84 ]
  %vec.ind89 = phi <4 x i32> [ %induction88, %vector.ph76 ], [ %vec.ind.next92, %vector.body84 ]
  %step.add90 = add <4 x i32> %vec.ind89, <i32 -4, i32 -4, i32 -4, i32 -4>
  %offset.idx93 = add i64 %index85, %20
  %23 = getelementptr inbounds [100001 x i32], ptr @res, i64 0, i64 %offset.idx93
  %24 = getelementptr inbounds i8, ptr %23, i64 16
  store <4 x i32> %vec.ind89, ptr %23, align 4, !tbaa !5
  store <4 x i32> %step.add90, ptr %24, align 4, !tbaa !5
  %index.next94 = add nuw i64 %index85, 8
  %vec.ind.next92 = add <4 x i32> %vec.ind89, <i32 -8, i32 -8, i32 -8, i32 -8>
  %25 = icmp eq i64 %index.next94, %n.vec78
  br i1 %25, label %middle.block73, label %vector.body84, !llvm.loop !14

middle.block73:                                   ; preds = %vector.body84
  %cmp.n95 = icmp eq i64 %22, %n.vec78
  br i1 %cmp.n95, label %.loopexit, label %.lr.ph41.preheader96

.lr.ph37:                                         ; preds = %.lr.ph37.preheader97, %.lr.ph37
  %indvars.iv49 = phi i64 [ %indvars.iv.next50, %.lr.ph37 ], [ %indvars.iv49.ph, %.lr.ph37.preheader97 ]
  %.236 = phi i32 [ %26, %.lr.ph37 ], [ %.236.ph, %.lr.ph37.preheader97 ]
  %26 = add nsw i32 %.236, 1
  %indvars.iv.next50 = add nuw nsw i64 %indvars.iv49, 1
  %27 = getelementptr inbounds [100001 x i32], ptr @res, i64 0, i64 %indvars.iv49
  store i32 %.236, ptr %27, align 4, !tbaa !5
  %exitcond53.not = icmp eq i64 %indvars.iv.next50, %wide.trip.count52
  br i1 %exitcond53.not, label %.loopexit, label %.lr.ph37, !llvm.loop !15

.lr.ph41:                                         ; preds = %.lr.ph41.preheader96, %.lr.ph41
  %indvars.iv54 = phi i64 [ %indvars.iv.next55, %.lr.ph41 ], [ %indvars.iv54.ph, %.lr.ph41.preheader96 ]
  %.21840 = phi i32 [ %28, %.lr.ph41 ], [ %.21840.ph, %.lr.ph41.preheader96 ]
  %28 = add nsw i32 %.21840, -1
  %indvars.iv.next55 = add nuw nsw i64 %indvars.iv54, 1
  %29 = getelementptr inbounds [100001 x i32], ptr @res, i64 0, i64 %indvars.iv54
  store i32 %.21840, ptr %29, align 4, !tbaa !5
  %exitcond58.not = icmp eq i64 %indvars.iv.next55, %wide.trip.count57
  br i1 %exitcond58.not, label %.loopexit, label %.lr.ph41, !llvm.loop !16

.loopexit:                                        ; preds = %.lr.ph37, %.lr.ph41, %middle.block, %middle.block73, %.preheader27, %.preheader
  %.not2442 = icmp slt i32 %2, 1
  br i1 %.not2442, label %._crit_edge46, label %.lr.ph45

._crit_edge46:                                    ; preds = %.lr.ph45, %.loopexit
  %30 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  ret i32 0

.lr.ph45:                                         ; preds = %.loopexit, %.lr.ph45
  %indvars.iv59 = phi i64 [ %indvars.iv.next60, %.lr.ph45 ], [ 1, %.loopexit ]
  %31 = getelementptr inbounds [100001 x i32], ptr @res, i64 0, i64 %indvars.iv59
  %32 = load i32, ptr %31, align 4, !tbaa !5
  %33 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %32)
  %indvars.iv.next60 = add nuw nsw i64 %indvars.iv59, 1
  %34 = load i32, ptr @n, align 4, !tbaa !5
  %35 = sext i32 %34 to i64
  %.not24.not = icmp slt i64 %indvars.iv59, %35
  br i1 %.not24.not, label %.lr.ph45, label %._crit_edge46, !llvm.loop !17
}

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

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

attributes #0 = { mustprogress nofree 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 #1 = { 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, !13}
!12 = !{!"llvm.loop.isvectorized", i32 1}
!13 = !{!"llvm.loop.unroll.runtime.disable"}
!14 = distinct !{!14, !10, !12, !13}
!15 = distinct !{!15, !10, !13, !12}
!16 = distinct !{!16, !10, !13, !12}
!17 = distinct !{!17, !10}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,MergedLoadStoreMotionPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass