; LLVM IR from VastoLorde95/Competitive-Programming :: Codeforces/230 Division 1/Problem A (A)

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

@n = external dso_local global i64, align 8
@res = external dso_local global i64, align 8
@x = external dso_local global i64, align 8
@y = external dso_local global i64, align 8
@t = external dso_local global i64, align 8
@_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 i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  %7 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %8 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %9 = getelementptr i8, ptr %8, i64 -24
  %10 = load i64, ptr %9, align 8
  %11 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %10
  %12 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %11, ptr noundef null)
  %13 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !5
  %14 = getelementptr i8, ptr %13, i64 -24
  %15 = load i64, ptr %14, align 8
  %16 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %15
  %17 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %16, ptr noundef null)
  %18 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) @n)
  %19 = load i64, ptr @n, align 8, !tbaa !8
  %20 = icmp eq i64 %19, 0
  br i1 %20, label %21, label %24

21:                                               ; preds = %0
  %22 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef 1)
  %23 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  store i32 0, ptr %1, align 4
  br label %103

24:                                               ; preds = %0
  %25 = load i64, ptr @n, align 8, !tbaa !8
  %26 = load i64, ptr @n, align 8, !tbaa !8
  %27 = mul nsw i64 %25, %26
  store i64 %27, ptr @t, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 0, ptr %2, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  store i64 0, ptr %3, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  store i64 0, ptr %4, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  store i64 0, ptr %5, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %28 = load i64, ptr @n, align 8, !tbaa !8
  store i64 %28, ptr %6, align 8, !tbaa !8
  store i64 1, ptr @x, align 8, !tbaa !8
  %29 = load i64, ptr @n, align 8, !tbaa !8
  %30 = sub nsw i64 %29, 1
  store i64 %30, ptr @y, align 8, !tbaa !8
  br label %31

31:                                               ; preds = %94, %24
  %32 = load i64, ptr @x, align 8, !tbaa !8
  %33 = load i64, ptr @n, align 8, !tbaa !8
  %34 = icmp slt i64 %32, %33
  br i1 %34, label %35, label %38

35:                                               ; preds = %31
  %36 = load i64, ptr @y, align 8, !tbaa !8
  %37 = icmp sgt i64 %36, 0
  br label %38

38:                                               ; preds = %35, %31
  %39 = phi i1 [ false, %31 ], [ %37, %35 ]
  br i1 %39, label %40, label %95

40:                                               ; preds = %38
  %41 = load i64, ptr @x, align 8, !tbaa !8
  %42 = load i64, ptr @x, align 8, !tbaa !8
  %43 = mul nsw i64 %41, %42
  %44 = load i64, ptr @y, align 8, !tbaa !8
  %45 = load i64, ptr @y, align 8, !tbaa !8
  %46 = mul nsw i64 %44, %45
  %47 = add nsw i64 %43, %46
  %48 = load i64, ptr @t, align 8, !tbaa !8
  %49 = icmp sle i64 %47, %48
  br i1 %49, label %50, label %76

50:                                               ; preds = %40
  %51 = load i64, ptr %3, align 8, !tbaa !8
  %52 = load i64, ptr %4, align 8, !tbaa !8
  %53 = icmp eq i64 %51, %52
  br i1 %53, label %54, label %68

54:                                               ; preds = %50
  %55 = load i64, ptr %4, align 8, !tbaa !8
  %56 = add nsw i64 %55, 1
  %57 = load i64, ptr @x, align 8, !tbaa !8
  %58 = icmp eq i64 %56, %57
  br i1 %58, label %59, label %68

59:                                               ; preds = %54
  %60 = load i64, ptr %5, align 8, !tbaa !8
  %61 = load i64, ptr %6, align 8, !tbaa !8
  %62 = add nsw i64 %61, 1
  %63 = icmp eq i64 %60, %62
  br i1 %63, label %64, label %68

64:                                               ; preds = %59
  %65 = load i64, ptr %6, align 8, !tbaa !8
  %66 = load i64, ptr @y, align 8, !tbaa !8
  %67 = icmp eq i64 %65, %66
  br i1 %67, label %71, label %68

68:                                               ; preds = %64, %59, %54, %50
  %69 = load i32, ptr %2, align 4, !tbaa !11
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %2, align 4, !tbaa !11
  br label %71

71:                                               ; preds = %68, %64
  %72 = load i64, ptr %4, align 8, !tbaa !8
  store i64 %72, ptr %3, align 8, !tbaa !8
  %73 = load i64, ptr %6, align 8, !tbaa !8
  store i64 %73, ptr %5, align 8, !tbaa !8
  %74 = load i64, ptr @x, align 8, !tbaa !8
  store i64 %74, ptr %4, align 8, !tbaa !8
  %75 = load i64, ptr @y, align 8, !tbaa !8
  store i64 %75, ptr %6, align 8, !tbaa !8
  br label %76

76:                                               ; preds = %71, %40
  %77 = load i64, ptr @x, align 8, !tbaa !8
  %78 = add nsw i64 %77, 1
  %79 = load i64, ptr @x, align 8, !tbaa !8
  %80 = add nsw i64 %79, 1
  %81 = mul nsw i64 %78, %80
  %82 = load i64, ptr @y, align 8, !tbaa !8
  %83 = load i64, ptr @y, align 8, !tbaa !8
  %84 = mul nsw i64 %82, %83
  %85 = add nsw i64 %81, %84
  %86 = load i64, ptr @t, align 8, !tbaa !8
  %87 = icmp sle i64 %85, %86
  br i1 %87, label %88, label %91

88:                                               ; preds = %76
  %89 = load i64, ptr @x, align 8, !tbaa !8
  %90 = add nsw i64 %89, 1
  store i64 %90, ptr @x, align 8, !tbaa !8
  br label %94

91:                                               ; preds = %76
  %92 = load i64, ptr @y, align 8, !tbaa !8
  %93 = add nsw i64 %92, -1
  store i64 %93, ptr @y, align 8, !tbaa !8
  br label %94

94:                                               ; preds = %91, %88
  br label %31, !llvm.loop !13

95:                                               ; preds = %38
  %96 = load i32, ptr %2, align 4, !tbaa !11
  %97 = mul nsw i32 %96, 4
  %98 = sext i32 %97 to i64
  %99 = load i64, ptr @res, align 8, !tbaa !8
  %100 = add nsw i64 %98, %99
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %100)
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %101, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  br label %103

103:                                              ; preds = %95, %21
  %104 = load i32, ptr %1, align 4
  ret i32 %104
}

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #3 align 2

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

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


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

@n = external dso_local global i64, align 8
@res = external dso_local local_unnamed_addr global i64, align 8
@x = external dso_local local_unnamed_addr global i64, align 8
@y = external dso_local local_unnamed_addr global i64, align 8
@t = external dso_local local_unnamed_addr global i64, align 8
@_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 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !5
  %8 = getelementptr i8, ptr %7, i64 -24
  %9 = load i64, ptr %8, align 8
  %10 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %9
  %11 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %10, ptr noundef null)
  %12 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) @n)
  %13 = load i64, ptr @n, align 8, !tbaa !8
  %14 = icmp eq i64 %13, 0
  br i1 %14, label %15, label %17

15:                                               ; preds = %0
  %16 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef 1)
  br label %53

17:                                               ; preds = %0
  %18 = mul nsw i64 %13, %13
  store i64 %18, ptr @t, align 8, !tbaa !8
  store i64 1, ptr @x, align 8, !tbaa !8
  %19 = add nsw i64 %13, -1
  store i64 %19, ptr @y, align 8, !tbaa !8
  %20 = icmp sgt i64 %13, 1
  br i1 %20, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %17, %42
  %.038 = phi i64 [ %.1, %42 ], [ %13, %17 ]
  %.01137 = phi i64 [ %.112, %42 ], [ 0, %17 ]
  %.01336 = phi i64 [ %.114, %42 ], [ 0, %17 ]
  %.01535 = phi i64 [ %.116, %42 ], [ 0, %17 ]
  %.01734 = phi i32 [ %.2, %42 ], [ 0, %17 ]
  %21 = phi i64 [ %44, %42 ], [ 1, %17 ]
  %22 = phi i64 [ %43, %42 ], [ %19, %17 ]
  %23 = mul nsw i64 %21, %21
  %24 = mul nuw nsw i64 %22, %22
  %25 = add nuw nsw i64 %24, %23
  %.not = icmp ugt i64 %25, %18
  br i1 %.not, label %35, label %26

26:                                               ; preds = %.lr.ph
  %27 = icmp ne i64 %.01535, %.01336
  %28 = add nsw i64 %.01336, 1
  %29 = icmp ne i64 %28, %21
  %or.cond.not33 = select i1 %27, i1 true, i1 %29
  %30 = add nsw i64 %.038, 1
  %31 = icmp ne i64 %.01137, %30
  %32 = icmp ne i64 %.038, %22
  %33 = or i1 %31, %32
  %or.cond27.not = select i1 %or.cond.not33, i1 true, i1 %33
  %34 = zext i1 %or.cond27.not to i32
  %.118 = add nsw i32 %.01734, %34
  br label %35

35:                                               ; preds = %26, %.lr.ph
  %.2 = phi i32 [ %.118, %26 ], [ %.01734, %.lr.ph ]
  %.116 = phi i64 [ %.01336, %26 ], [ %.01535, %.lr.ph ]
  %.114 = phi i64 [ %21, %26 ], [ %.01336, %.lr.ph ]
  %.112 = phi i64 [ %.038, %26 ], [ %.01137, %.lr.ph ]
  %.1 = phi i64 [ %22, %26 ], [ %.038, %.lr.ph ]
  %36 = add nsw i64 %21, 1
  %37 = mul nsw i64 %36, %36
  %38 = add nuw nsw i64 %37, %24
  %.not23 = icmp ugt i64 %38, %18
  br i1 %.not23, label %40, label %39

39:                                               ; preds = %35
  store i64 %36, ptr @x, align 8, !tbaa !8
  br label %42

40:                                               ; preds = %35
  %41 = add nsw i64 %22, -1
  store i64 %41, ptr @y, align 8, !tbaa !8
  br label %42

42:                                               ; preds = %40, %39
  %43 = phi i64 [ %41, %40 ], [ %22, %39 ]
  %44 = phi i64 [ %21, %40 ], [ %36, %39 ]
  %45 = icmp slt i64 %44, %13
  %46 = icmp sgt i64 %43, 0
  %47 = select i1 %45, i1 %46, i1 false
  br i1 %47, label %.lr.ph, label %._crit_edge.loopexit, !llvm.loop !11

._crit_edge.loopexit:                             ; preds = %42
  %48 = shl nsw i32 %.2, 2
  %49 = sext i32 %48 to i64
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %17
  %.017.lcssa = phi i64 [ 0, %17 ], [ %49, %._crit_edge.loopexit ]
  %50 = load i64, ptr @res, align 8, !tbaa !8
  %51 = add nsw i64 %50, %.017.lcssa
  %52 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %51)
  br label %53

53:                                               ; preds = %._crit_edge, %15
  %.sink = phi ptr [ %52, %._crit_edge ], [ %16, %15 ]
  %54 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %.sink, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #3 align 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 = { 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 = { 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" }

!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 = !{!"long long", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


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