; LLVM IR from eyangch/competitive-programming :: Codeforces/383 (d)

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

@MOD = external dso_local global i64, align 8
@N = external dso_local global i64, align 8
@a = external dso_local global [1000 x i64], align 16
@dp = external dso_local global [1001 x [20001 x i64]], align 16
@_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 i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i32, align 4
  %6 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  %7 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %8 = getelementptr i8, ptr %7, i64 -24
  %9 = load i64, ptr %8, align 8
  %10 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %9
  %11 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %10, ptr noundef null)
  %12 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %13 = 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)
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #6
  store i64 0, ptr %2, align 8, !tbaa !8
  br label %14

14:                                               ; preds = %23, %0
  %15 = load i64, ptr %2, align 8, !tbaa !8
  %16 = load i64, ptr @N, align 8, !tbaa !8
  %17 = icmp slt i64 %15, %16
  br i1 %17, label %19, label %18

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

19:                                               ; preds = %14
  %20 = load i64, ptr %2, align 8, !tbaa !8
  %21 = getelementptr inbounds [1000 x i64], ptr @a, i64 0, i64 %20
  %22 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %21)
  br label %23

23:                                               ; preds = %19
  %24 = load i64, ptr %2, align 8, !tbaa !8
  %25 = add nsw i64 %24, 1
  store i64 %25, ptr %2, align 8, !tbaa !8
  br label %14, !llvm.loop !11

26:                                               ; preds = %18
  store i64 1, ptr getelementptr inbounds ([20001 x i64], ptr @dp, i64 0, i64 10000), align 16, !tbaa !8
  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
  br label %27

27:                                               ; preds = %111, %26
  %28 = load i64, ptr %4, align 8, !tbaa !8
  %29 = load i64, ptr @N, align 8, !tbaa !8
  %30 = icmp slt i64 %28, %29
  br i1 %30, label %32, label %31

31:                                               ; preds = %27
  store i32 5, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  br label %114

32:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  store i64 0, ptr %6, align 8, !tbaa !8
  br label %33

33:                                               ; preds = %92, %32
  %34 = load i64, ptr %6, align 8, !tbaa !8
  %35 = load i64, ptr %4, align 8, !tbaa !8
  %36 = getelementptr inbounds [1000 x i64], ptr @a, i64 0, i64 %35
  %37 = load i64, ptr %36, align 8, !tbaa !8
  %38 = add nsw i64 %34, %37
  %39 = icmp sle i64 %38, 20000
  br i1 %39, label %41, label %40

40:                                               ; preds = %33
  store i32 8, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %95

41:                                               ; preds = %33
  %42 = load i64, ptr %4, align 8, !tbaa !8
  %43 = getelementptr inbounds [1001 x [20001 x i64]], ptr @dp, i64 0, i64 %42
  %44 = load i64, ptr %6, align 8, !tbaa !8
  %45 = getelementptr inbounds [20001 x i64], ptr %43, i64 0, i64 %44
  %46 = load i64, ptr %45, align 8, !tbaa !8
  %47 = load i64, ptr %4, align 8, !tbaa !8
  %48 = add nsw i64 %47, 1
  %49 = getelementptr inbounds [1001 x [20001 x i64]], ptr @dp, i64 0, i64 %48
  %50 = load i64, ptr %6, align 8, !tbaa !8
  %51 = load i64, ptr %4, align 8, !tbaa !8
  %52 = getelementptr inbounds [1000 x i64], ptr @a, i64 0, i64 %51
  %53 = load i64, ptr %52, align 8, !tbaa !8
  %54 = add nsw i64 %50, %53
  %55 = getelementptr inbounds [20001 x i64], ptr %49, i64 0, i64 %54
  %56 = load i64, ptr %55, align 8, !tbaa !8
  %57 = add nsw i64 %46, %56
  %58 = load i64, ptr @MOD, align 8, !tbaa !8
  %59 = srem i64 %57, %58
  %60 = load i64, ptr %4, align 8, !tbaa !8
  %61 = add nsw i64 %60, 1
  %62 = getelementptr inbounds [1001 x [20001 x i64]], ptr @dp, i64 0, i64 %61
  %63 = load i64, ptr %6, align 8, !tbaa !8
  %64 = load i64, ptr %4, align 8, !tbaa !8
  %65 = getelementptr inbounds [1000 x i64], ptr @a, i64 0, i64 %64
  %66 = load i64, ptr %65, align 8, !tbaa !8
  %67 = add nsw i64 %63, %66
  %68 = getelementptr inbounds [20001 x i64], ptr %62, i64 0, i64 %67
  store i64 %59, ptr %68, align 8, !tbaa !8
  %69 = load i64, ptr %4, align 8, !tbaa !8
  %70 = getelementptr inbounds [1001 x [20001 x i64]], ptr @dp, i64 0, i64 %69
  %71 = load i64, ptr %6, align 8, !tbaa !8
  %72 = load i64, ptr %4, align 8, !tbaa !8
  %73 = getelementptr inbounds [1000 x i64], ptr @a, i64 0, i64 %72
  %74 = load i64, ptr %73, align 8, !tbaa !8
  %75 = add nsw i64 %71, %74
  %76 = getelementptr inbounds [20001 x i64], ptr %70, i64 0, i64 %75
  %77 = load i64, ptr %76, align 8, !tbaa !8
  %78 = load i64, ptr %4, align 8, !tbaa !8
  %79 = add nsw i64 %78, 1
  %80 = getelementptr inbounds [1001 x [20001 x i64]], ptr @dp, i64 0, i64 %79
  %81 = load i64, ptr %6, align 8, !tbaa !8
  %82 = getelementptr inbounds [20001 x i64], ptr %80, i64 0, i64 %81
  %83 = load i64, ptr %82, align 8, !tbaa !8
  %84 = add nsw i64 %77, %83
  %85 = load i64, ptr @MOD, align 8, !tbaa !8
  %86 = srem i64 %84, %85
  %87 = load i64, ptr %4, align 8, !tbaa !8
  %88 = add nsw i64 %87, 1
  %89 = getelementptr inbounds [1001 x [20001 x i64]], ptr @dp, i64 0, i64 %88
  %90 = load i64, ptr %6, align 8, !tbaa !8
  %91 = getelementptr inbounds [20001 x i64], ptr %89, i64 0, i64 %90
  store i64 %86, ptr %91, align 8, !tbaa !8
  br label %92

92:                                               ; preds = %41
  %93 = load i64, ptr %6, align 8, !tbaa !8
  %94 = add nsw i64 %93, 1
  store i64 %94, ptr %6, align 8, !tbaa !8
  br label %33, !llvm.loop !13

95:                                               ; preds = %40
  %96 = load i64, ptr %3, align 8, !tbaa !8
  %97 = load i64, ptr %4, align 8, !tbaa !8
  %98 = add nsw i64 %97, 1
  %99 = getelementptr inbounds [1001 x [20001 x i64]], ptr @dp, i64 0, i64 %98
  %100 = getelementptr inbounds [20001 x i64], ptr %99, i64 0, i64 10000
  %101 = load i64, ptr %100, align 8, !tbaa !8
  %102 = add nsw i64 %96, %101
  %103 = load i64, ptr @MOD, align 8, !tbaa !8
  %104 = srem i64 %102, %103
  store i64 %104, ptr %3, align 8, !tbaa !8
  %105 = load i64, ptr %4, align 8, !tbaa !8
  %106 = add nsw i64 %105, 1
  %107 = getelementptr inbounds [1001 x [20001 x i64]], ptr @dp, i64 0, i64 %106
  %108 = getelementptr inbounds [20001 x i64], ptr %107, i64 0, i64 10000
  %109 = load i64, ptr %108, align 8, !tbaa !8
  %110 = add nsw i64 %109, 1
  store i64 %110, ptr %108, align 8, !tbaa !8
  br label %111

111:                                              ; preds = %95
  %112 = load i64, ptr %4, align 8, !tbaa !8
  %113 = add nsw i64 %112, 1
  store i64 %113, ptr %4, align 8, !tbaa !8
  br label %27, !llvm.loop !14

114:                                              ; preds = %31
  %115 = load i64, ptr %3, align 8, !tbaa !8
  %116 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %115)
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %116, i8 noundef signext 10)
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  %118 = load i32, ptr %1, align 4
  ret i32 %118
}

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

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) #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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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) #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

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

@MOD = external dso_local local_unnamed_addr global i64, align 8
@N = external dso_local global i64, align 8
@a = external dso_local global [1000 x i64], align 16
@dp = external dso_local local_unnamed_addr global [1001 x [20001 x i64]], align 16
@_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 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %2 = getelementptr i8, ptr %1, i64 -24
  %3 = load i64, ptr %2, align 8
  %4 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %3
  %5 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %4, ptr noundef null)
  %6 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %7 = 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)
  %8 = load i64, ptr @N, align 8, !tbaa !8
  %9 = icmp sgt i64 %8, 0
  br i1 %9, label %.lr.ph, label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %0
  store i64 1, ptr getelementptr inbounds (i8, ptr @dp, i64 80000), align 16, !tbaa !8
  br label %._crit_edge38

._crit_edge:                                      ; preds = %.lr.ph
  store i64 1, ptr getelementptr inbounds (i8, ptr @dp, i64 80000), align 16, !tbaa !8
  %10 = icmp sgt i64 %15, 0
  br i1 %10, label %.preheader.lr.ph, label %._crit_edge38

.preheader.lr.ph:                                 ; preds = %._crit_edge
  %11 = load i64, ptr @MOD, align 8
  br label %.preheader

.lr.ph:                                           ; preds = %0, %.lr.ph
  %.03032 = phi i64 [ %14, %.lr.ph ], [ 0, %0 ]
  %12 = getelementptr inbounds [1000 x i64], ptr @a, i64 0, i64 %.03032
  %13 = 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) %12)
  %14 = add nuw nsw i64 %.03032, 1
  %15 = load i64, ptr @N, align 8, !tbaa !8
  %16 = icmp slt i64 %14, %15
  br i1 %16, label %.lr.ph, label %._crit_edge, !llvm.loop !11

.preheader:                                       ; preds = %.preheader.lr.ph, %._crit_edge35
  %.02837 = phi i64 [ 0, %.preheader.lr.ph ], [ %20, %._crit_edge35 ]
  %.02936 = phi i64 [ 0, %.preheader.lr.ph ], [ %27, %._crit_edge35 ]
  %17 = getelementptr inbounds [1000 x i64], ptr @a, i64 0, i64 %.02837
  %18 = load i64, ptr %17, align 8, !tbaa !8
  %19 = icmp slt i64 %18, 20001
  %20 = add nuw nsw i64 %.02837, 1
  br i1 %19, label %.lr.ph34, label %._crit_edge35

.lr.ph34:                                         ; preds = %.preheader
  %21 = sub i64 20001, %18
  br label %29

._crit_edge38:                                    ; preds = %._crit_edge35, %._crit_edge.thread, %._crit_edge
  %.029.lcssa = phi i64 [ 0, %._crit_edge ], [ 0, %._crit_edge.thread ], [ %27, %._crit_edge35 ]
  %22 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %.029.lcssa)
  %23 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %22, i8 noundef signext 10)
  ret i32 0

._crit_edge35:                                    ; preds = %29, %.preheader
  %24 = getelementptr inbounds [1001 x [20001 x i64]], ptr @dp, i64 0, i64 %20, i64 10000
  %25 = load i64, ptr %24, align 8, !tbaa !8
  %26 = add nsw i64 %25, %.02936
  %27 = srem i64 %26, %11
  %28 = add nsw i64 %25, 1
  store i64 %28, ptr %24, align 8, !tbaa !8
  %exitcond42.not = icmp eq i64 %20, %15
  br i1 %exitcond42.not, label %._crit_edge38, label %.preheader, !llvm.loop !13

29:                                               ; preds = %.lr.ph34, %29
  %.033 = phi i64 [ 0, %.lr.ph34 ], [ %43, %29 ]
  %30 = add nsw i64 %.033, %18
  %31 = getelementptr inbounds [1001 x [20001 x i64]], ptr @dp, i64 0, i64 %.02837, i64 %.033
  %32 = load i64, ptr %31, align 8, !tbaa !8
  %33 = getelementptr inbounds [1001 x [20001 x i64]], ptr @dp, i64 0, i64 %20, i64 %30
  %34 = load i64, ptr %33, align 8, !tbaa !8
  %35 = add nsw i64 %34, %32
  %36 = srem i64 %35, %11
  store i64 %36, ptr %33, align 8, !tbaa !8
  %37 = getelementptr inbounds [1001 x [20001 x i64]], ptr @dp, i64 0, i64 %.02837, i64 %30
  %38 = load i64, ptr %37, align 8, !tbaa !8
  %39 = getelementptr inbounds [1001 x [20001 x i64]], ptr @dp, i64 0, i64 %20, i64 %.033
  %40 = load i64, ptr %39, align 8, !tbaa !8
  %41 = add nsw i64 %40, %38
  %42 = srem i64 %41, %11
  store i64 %42, ptr %39, align 8, !tbaa !8
  %43 = add nuw nsw i64 %.033, 1
  %exitcond.not = icmp eq i64 %43, %21
  br i1 %exitcond.not, label %._crit_edge35, label %29, !llvm.loop !14
}

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

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) local_unnamed_addr #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

; 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 #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 = { 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 = { "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"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}


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