; LLVM IR from ahr9n/psolving-paradigms :: 2.greedy (Kattis icpcteamselection - ICPC Team Selection)

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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@t = external dso_local global i32, align 4
@n = external dso_local global i32, align 4
@a = external dso_local global [315 x i32], align 16
@ans = external dso_local global i32, align 4
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; 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
  store i32 0, ptr %1, align 4
  %4 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %5 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %6 = getelementptr i8, ptr %5, i64 -24
  %7 = load i64, ptr %6, align 8
  %8 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %7
  %9 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %8, ptr noundef null)
  %10 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @t)
  br label %11

11:                                               ; preds = %53, %0
  %12 = load i32, ptr @t, align 4, !tbaa !8
  %13 = add nsw i32 %12, -1
  store i32 %13, ptr @t, align 4, !tbaa !8
  %14 = icmp ne i32 %12, 0
  br i1 %14, label %15, label %57

15:                                               ; preds = %11
  %16 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @n)
  store i32 0, ptr @ans, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 0, ptr %2, align 4, !tbaa !8
  br label %17

17:                                               ; preds = %24, %15
  %18 = load i32, ptr %2, align 4, !tbaa !8
  %19 = load i32, ptr @n, align 4, !tbaa !8
  %20 = mul nsw i32 3, %19
  %21 = icmp slt i32 %18, %20
  br i1 %21, label %23, label %22

22:                                               ; preds = %17
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  br label %30

23:                                               ; preds = %17
  br label %24

24:                                               ; preds = %23
  %25 = load i32, ptr %2, align 4, !tbaa !8
  %26 = add nsw i32 %25, 1
  store i32 %26, ptr %2, align 4, !tbaa !8
  %27 = sext i32 %25 to i64
  %28 = getelementptr inbounds [315 x i32], ptr @a, i64 0, i64 %27
  %29 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %28)
  br label %17, !llvm.loop !11

30:                                               ; preds = %22
  %31 = load i32, ptr @n, align 4, !tbaa !8
  %32 = mul nsw i32 3, %31
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds i32, ptr @a, i64 %33
  call void @_ZSt4sortIPiEvT_S1_(ptr noundef @a, ptr noundef %34)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  %35 = load i32, ptr @n, align 4, !tbaa !8
  %36 = mul nsw i32 3, %35
  %37 = sub nsw i32 %36, 2
  store i32 %37, ptr %3, align 4, !tbaa !8
  br label %38

38:                                               ; preds = %50, %30
  %39 = load i32, ptr %3, align 4, !tbaa !8
  %40 = load i32, ptr @n, align 4, !tbaa !8
  %41 = icmp sge i32 %39, %40
  br i1 %41, label %43, label %42

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

43:                                               ; preds = %38
  %44 = load i32, ptr %3, align 4, !tbaa !8
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [315 x i32], ptr @a, i64 0, i64 %45
  %47 = load i32, ptr %46, align 4, !tbaa !8
  %48 = load i32, ptr @ans, align 4, !tbaa !8
  %49 = add nsw i32 %48, %47
  store i32 %49, ptr @ans, align 4, !tbaa !8
  br label %50

50:                                               ; preds = %43
  %51 = load i32, ptr %3, align 4, !tbaa !8
  %52 = sub nsw i32 %51, 2
  store i32 %52, ptr %3, align 4, !tbaa !8
  br label %38, !llvm.loop !13

53:                                               ; preds = %42
  %54 = load i32, ptr @ans, align 4, !tbaa !8
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %54)
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %55, i8 noundef signext 10)
  br label %11, !llvm.loop !14

57:                                               ; preds = %11
  ret i32 0
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) #1

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef) #2 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #1

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #4

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #1

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


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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@t = external dso_local global i32, align 4
@n = external dso_local global i32, align 4
@a = external dso_local global [315 x i32], align 16
@ans = external dso_local local_unnamed_addr global i32, align 4
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %2 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %3 = getelementptr i8, ptr %2, i64 -24
  %4 = load i64, ptr %3, align 8
  %5 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %4
  %6 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %5, ptr noundef null)
  %7 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @t)
  %8 = load i32, ptr @t, align 4, !tbaa !8
  %9 = add nsw i32 %8, -1
  store i32 %9, ptr @t, align 4, !tbaa !8
  %.not16 = icmp eq i32 %8, 0
  br i1 %.not16, label %._crit_edge19, label %.lr.ph18

.lr.ph18:                                         ; preds = %0, %68
  %10 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @n)
  store i32 0, ptr @ans, align 4, !tbaa !8
  %11 = load i32, ptr @n, align 4, !tbaa !8
  %12 = icmp sgt i32 %11, 0
  br i1 %12, label %.lr.ph, label %.lr.ph18.._crit_edge_crit_edge

.lr.ph18.._crit_edge_crit_edge:                   ; preds = %.lr.ph18
  %13 = mul nsw i32 %11, 3
  %.pre = sext i32 %13 to i64
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %.lr.ph18.._crit_edge_crit_edge
  %.pre-phi = phi i64 [ %.pre, %.lr.ph18.._crit_edge_crit_edge ], [ %66, %.lr.ph ]
  %14 = getelementptr inbounds i32, ptr @a, i64 %.pre-phi
  tail call void @_ZSt4sortIPiEvT_S1_(ptr noundef nonnull @a, ptr noundef nonnull %14)
  %15 = load i32, ptr @n, align 4, !tbaa !8
  %16 = mul nsw i32 %15, 3
  %ans.promoted = load i32, ptr @ans, align 4, !tbaa !8
  %.09 = add nsw i32 %16, -2
  %.not710 = icmp slt i32 %.09, %15
  br i1 %.not710, label %68, label %.lr.ph13.preheader

.lr.ph13.preheader:                               ; preds = %._crit_edge
  %17 = sext i32 %16 to i64
  %18 = add nsw i64 %17, -2
  %19 = sext i32 %15 to i64
  %20 = add nsw i64 %17, -2
  %21 = sub nsw i64 %20, %19
  %22 = lshr i64 %21, 1
  %23 = add nuw i64 %22, 1
  %min.iters.check = icmp ult i64 %21, 14
  br i1 %min.iters.check, label %.lr.ph13.preheader29, label %vector.ph

.lr.ph13.preheader29:                             ; preds = %middle.block, %.lr.ph13.preheader
  %indvars.iv23.ph = phi i64 [ %18, %.lr.ph13.preheader ], [ %ind.end, %middle.block ]
  %.ph = phi i32 [ %ans.promoted, %.lr.ph13.preheader ], [ %61, %middle.block ]
  br label %.lr.ph13

vector.ph:                                        ; preds = %.lr.ph13.preheader
  %n.vec = and i64 %23, -8
  %24 = shl i64 %n.vec, 1
  %ind.end = sub i64 %18, %24
  %25 = insertelement <4 x i32> <i32 poison, i32 0, i32 0, i32 0>, i32 %ans.promoted, i64 0
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.phi = phi <4 x i32> [ %25, %vector.ph ], [ %58, %vector.body ]
  %vec.phi28 = phi <4 x i32> [ zeroinitializer, %vector.ph ], [ %59, %vector.body ]
  %26 = shl i64 %index, 1
  %offset.idx = sub i64 %18, %26
  %27 = add i64 %offset.idx, -2
  %28 = add i64 %offset.idx, -4
  %29 = add i64 %offset.idx, -6
  %30 = add i64 %offset.idx, -8
  %31 = add i64 %offset.idx, -10
  %32 = add i64 %offset.idx, -12
  %33 = add i64 %offset.idx, -14
  %34 = getelementptr inbounds [315 x i32], ptr @a, i64 0, i64 %offset.idx
  %35 = getelementptr inbounds [315 x i32], ptr @a, i64 0, i64 %27
  %36 = getelementptr inbounds [315 x i32], ptr @a, i64 0, i64 %28
  %37 = getelementptr inbounds [315 x i32], ptr @a, i64 0, i64 %29
  %38 = getelementptr inbounds [315 x i32], ptr @a, i64 0, i64 %30
  %39 = getelementptr inbounds [315 x i32], ptr @a, i64 0, i64 %31
  %40 = getelementptr inbounds [315 x i32], ptr @a, i64 0, i64 %32
  %41 = getelementptr inbounds [315 x i32], ptr @a, i64 0, i64 %33
  %42 = load i32, ptr %34, align 4, !tbaa !8
  %43 = load i32, ptr %35, align 4, !tbaa !8
  %44 = load i32, ptr %36, align 4, !tbaa !8
  %45 = load i32, ptr %37, align 4, !tbaa !8
  %46 = insertelement <4 x i32> poison, i32 %42, i64 0
  %47 = insertelement <4 x i32> %46, i32 %43, i64 1
  %48 = insertelement <4 x i32> %47, i32 %44, i64 2
  %49 = insertelement <4 x i32> %48, i32 %45, i64 3
  %50 = load i32, ptr %38, align 4, !tbaa !8
  %51 = load i32, ptr %39, align 4, !tbaa !8
  %52 = load i32, ptr %40, align 4, !tbaa !8
  %53 = load i32, ptr %41, align 4, !tbaa !8
  %54 = insertelement <4 x i32> poison, i32 %50, i64 0
  %55 = insertelement <4 x i32> %54, i32 %51, i64 1
  %56 = insertelement <4 x i32> %55, i32 %52, i64 2
  %57 = insertelement <4 x i32> %56, i32 %53, i64 3
  %58 = add <4 x i32> %vec.phi, %49
  %59 = add <4 x i32> %vec.phi28, %57
  %index.next = add nuw i64 %index, 8
  %60 = icmp eq i64 %index.next, %n.vec
  br i1 %60, label %middle.block, label %vector.body, !llvm.loop !11

middle.block:                                     ; preds = %vector.body
  %bin.rdx = add <4 x i32> %59, %58
  %61 = tail call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %bin.rdx)
  %cmp.n = icmp eq i64 %23, %n.vec
  br i1 %cmp.n, label %._crit_edge14, label %.lr.ph13.preheader29

.lr.ph:                                           ; preds = %.lr.ph18, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %.lr.ph18 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %62 = getelementptr inbounds [315 x i32], ptr @a, i64 0, i64 %indvars.iv
  %63 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %62)
  %64 = load i32, ptr @n, align 4, !tbaa !8
  %65 = mul nsw i32 %64, 3
  %66 = sext i32 %65 to i64
  %67 = icmp slt i64 %indvars.iv.next, %66
  br i1 %67, label %.lr.ph, label %._crit_edge, !llvm.loop !15

._crit_edge14:                                    ; preds = %.lr.ph13, %middle.block
  %.lcssa27 = phi i32 [ %61, %middle.block ], [ %77, %.lr.ph13 ]
  store i32 %.lcssa27, ptr @ans, align 4, !tbaa !8
  br label %68

68:                                               ; preds = %._crit_edge14, %._crit_edge
  %69 = phi i32 [ %.lcssa27, %._crit_edge14 ], [ %ans.promoted, %._crit_edge ]
  %70 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %69)
  %71 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %70, i8 noundef signext 10)
  %72 = load i32, ptr @t, align 4, !tbaa !8
  %73 = add nsw i32 %72, -1
  store i32 %73, ptr @t, align 4, !tbaa !8
  %.not = icmp eq i32 %72, 0
  br i1 %.not, label %._crit_edge19, label %.lr.ph18, !llvm.loop !16

.lr.ph13:                                         ; preds = %.lr.ph13.preheader29, %.lr.ph13
  %indvars.iv23 = phi i64 [ %indvars.iv.next24, %.lr.ph13 ], [ %indvars.iv23.ph, %.lr.ph13.preheader29 ]
  %74 = phi i32 [ %77, %.lr.ph13 ], [ %.ph, %.lr.ph13.preheader29 ]
  %75 = getelementptr inbounds [315 x i32], ptr @a, i64 0, i64 %indvars.iv23
  %76 = load i32, ptr %75, align 4, !tbaa !8
  %77 = add nsw i32 %74, %76
  %indvars.iv.next24 = add nsw i64 %indvars.iv23, -2
  %.not7 = icmp slt i64 %indvars.iv.next24, %19
  br i1 %.not7, label %._crit_edge14, label %.lr.ph13, !llvm.loop !17

._crit_edge19:                                    ; preds = %68, %0
  ret i32 0
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef) local_unnamed_addr #2 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #4

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 = { 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 = { 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

!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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = distinct !{!11, !12, !13, !14}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!"llvm.loop.isvectorized", i32 1}
!14 = !{!"llvm.loop.unroll.runtime.disable"}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12, !14, !13}


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