; LLVM IR from tangjz/acm-icpc :: lydsy (3782)

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

%struct.Point = type { i64, i64 }

@pp = external dso_local global i32, align 4
@tot = external dso_local global i32, align 4
@n = external dso_local global i64, align 8
@m = external dso_local global i64, align 8
@a = external dso_local global [202 x %struct.Point], align 16
@.str = external hidden unnamed_addr constant [13 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@_ZL3sei = external hidden constant [4 x i32], align 16

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z4calci(i32 noundef) #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 norecurse uwtable
define dso_local noundef i32 @main() #2 {
  %1 = alloca i32, align 4
  %2 = alloca %struct.Point, align 8
  %3 = alloca i32, align 4
  %4 = alloca %struct.Point, align 8
  %5 = alloca i64, align 8
  %6 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %7 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n, ptr noundef @m, ptr noundef @tot, ptr noundef @pp)
  call void @llvm.lifetime.start.p0(i64 16, ptr %2) #7
  %8 = getelementptr inbounds %struct.Point, ptr %2, i32 0, i32 0
  store i64 0, ptr %8, align 8, !tbaa !5
  %9 = getelementptr inbounds %struct.Point, ptr %2, i32 0, i32 1
  store i64 0, ptr %9, align 8, !tbaa !10
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 @a, ptr align 8 %2, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %2) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  store i32 1, ptr %3, align 4, !tbaa !13
  br label %10

10:                                               ; preds = %25, %0
  %11 = load i32, ptr %3, align 4, !tbaa !13
  %12 = load i32, ptr @tot, align 4, !tbaa !13
  %13 = icmp sle i32 %11, %12
  br i1 %13, label %15, label %14

14:                                               ; preds = %10
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  br label %28

15:                                               ; preds = %10
  %16 = load i32, ptr %3, align 4, !tbaa !13
  %17 = sext i32 %16 to i64
  %18 = getelementptr inbounds [202 x %struct.Point], ptr @a, i64 0, i64 %17
  %19 = getelementptr inbounds %struct.Point, ptr %18, i32 0, i32 0
  %20 = load i32, ptr %3, align 4, !tbaa !13
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds [202 x %struct.Point], ptr @a, i64 0, i64 %21
  %23 = getelementptr inbounds %struct.Point, ptr %22, i32 0, i32 1
  %24 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %19, ptr noundef %23)
  br label %25

25:                                               ; preds = %15
  %26 = load i32, ptr %3, align 4, !tbaa !13
  %27 = add nsw i32 %26, 1
  store i32 %27, ptr %3, align 4, !tbaa !13
  br label %10, !llvm.loop !15

28:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #7
  %29 = getelementptr inbounds %struct.Point, ptr %4, i32 0, i32 0
  %30 = load i64, ptr @n, align 8, !tbaa !12
  store i64 %30, ptr %29, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.Point, ptr %4, i32 0, i32 1
  %32 = load i64, ptr @m, align 8, !tbaa !12
  store i64 %32, ptr %31, align 8, !tbaa !10
  %33 = load i32, ptr @tot, align 4, !tbaa !13
  %34 = add nsw i32 %33, 1
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [202 x %struct.Point], ptr @a, i64 0, i64 %35
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %36, ptr align 8 %4, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #7
  %37 = load i32, ptr @tot, align 4, !tbaa !13
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds %struct.Point, ptr @a, i64 %38
  %40 = getelementptr inbounds %struct.Point, ptr %39, i64 1
  call void @_ZSt4sortIP5PointEvT_S2_(ptr noundef getelementptr inbounds (%struct.Point, ptr @a, i64 1), ptr noundef %40)
  %41 = load i32, ptr @tot, align 4, !tbaa !13
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds %struct.Point, ptr @a, i64 %42
  %44 = getelementptr inbounds %struct.Point, ptr %43, i64 1
  %45 = call noundef ptr @_ZSt6uniqueIP5PointET_S2_S2_(ptr noundef getelementptr inbounds (%struct.Point, ptr @a, i64 1), ptr noundef %44)
  %46 = ptrtoint ptr %45 to i64
  %47 = sub i64 %46, ptrtoint (ptr @a to i64)
  %48 = sdiv exact i64 %47, 16
  %49 = sub nsw i64 %48, 1
  %50 = trunc i64 %49 to i32
  store i32 %50, ptr @tot, align 4, !tbaa !13
  %51 = call noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) @a, ptr noundef nonnull align 8 dereferenceable(16) getelementptr inbounds ([202 x %struct.Point], ptr @a, i64 0, i64 1))
  br i1 %51, label %61, label %52

52:                                               ; preds = %28
  %53 = load i32, ptr @tot, align 4, !tbaa !13
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [202 x %struct.Point], ptr @a, i64 0, i64 %54
  %56 = load i32, ptr @tot, align 4, !tbaa !13
  %57 = add nsw i32 %56, 1
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [202 x %struct.Point], ptr @a, i64 0, i64 %58
  %60 = call noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %55, ptr noundef nonnull align 8 dereferenceable(16) %59)
  br i1 %60, label %61, label %63

61:                                               ; preds = %52, %28
  %62 = call i32 @puts(ptr noundef @.str.2)
  store i32 0, ptr %1, align 4
  br label %96

63:                                               ; preds = %52
  %64 = load i32, ptr @pp, align 4, !tbaa !13
  %65 = icmp eq i32 %64, 1000003
  br i1 %65, label %66, label %69

66:                                               ; preds = %63
  %67 = call noundef i32 @_Z4calci(i32 noundef 4)
  %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %67)
  br label %95

69:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  store i64 0, ptr %5, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  store i32 0, ptr %6, align 4, !tbaa !13
  br label %70

70:                                               ; preds = %86, %69
  %71 = load i32, ptr %6, align 4, !tbaa !13
  %72 = icmp slt i32 %71, 4
  br i1 %72, label %74, label %73

73:                                               ; preds = %70
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  br label %89

74:                                               ; preds = %70
  %75 = load i32, ptr %6, align 4, !tbaa !13
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds [4 x i32], ptr @_ZL3sei, i64 0, i64 %76
  %78 = load i32, ptr %77, align 4, !tbaa !13
  %79 = sext i32 %78 to i64
  %80 = load i32, ptr %6, align 4, !tbaa !13
  %81 = call noundef i32 @_Z4calci(i32 noundef %80)
  %82 = sext i32 %81 to i64
  %83 = mul nsw i64 %79, %82
  %84 = load i64, ptr %5, align 8, !tbaa !12
  %85 = add nsw i64 %84, %83
  store i64 %85, ptr %5, align 8, !tbaa !12
  br label %86

86:                                               ; preds = %74
  %87 = load i32, ptr %6, align 4, !tbaa !13
  %88 = add nsw i32 %87, 1
  store i32 %88, ptr %6, align 4, !tbaa !13
  br label %70, !llvm.loop !17

89:                                               ; preds = %73
  %90 = load i64, ptr %5, align 8, !tbaa !12
  %91 = load i32, ptr @pp, align 4, !tbaa !13
  %92 = sext i32 %91 to i64
  %93 = srem i64 %90, %92
  %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %93)
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  br label %95

95:                                               ; preds = %89, %66
  store i32 0, ptr %1, align 4
  br label %96

96:                                               ; preds = %95, %61
  %97 = load i32, ptr %1, align 4
  ret i32 %97
}

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZSt6uniqueIP5PointET_S2_S2_(ptr noundef, ptr noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #6 align 2

declare i32 @puts(ptr noundef) #3

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

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 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 = { "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 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 = { 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 #7 = { 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, !7, i64 0}
!6 = !{!"_ZTS5Point", !7, i64 0, !7, i64 8}
!7 = !{!"long long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{i64 0, i64 8, !12, i64 8, i64 8, !12}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}


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

%struct.Point = type { i64, i64 }

@pp = external dso_local global i32, align 4
@tot = external dso_local global i32, align 4
@n = external dso_local global i64, align 8
@m = external dso_local global i64, align 8
@a = external dso_local global [202 x %struct.Point], align 16
@.str = external hidden unnamed_addr constant [13 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@_ZL3sei = external hidden local_unnamed_addr constant [4 x i32], align 16

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 {
  %1 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n, ptr noundef nonnull @m, ptr noundef nonnull @tot, ptr noundef nonnull @pp)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) @a, i8 0, i64 16, i1 false)
  %2 = load i32, ptr @tot, align 4, !tbaa !5
  %.not17 = icmp slt i32 %2, 1
  br i1 %.not17, label %.._crit_edge_crit_edge, label %.lr.ph

.._crit_edge_crit_edge:                           ; preds = %0
  %.pre = sext i32 %2 to i64
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %.._crit_edge_crit_edge
  %.pre-phi = phi i64 [ %.pre, %.._crit_edge_crit_edge ], [ %25, %.lr.ph ]
  %.lcssa = phi i32 [ %2, %.._crit_edge_crit_edge ], [ %24, %.lr.ph ]
  %3 = load i64, ptr @n, align 8, !tbaa !9
  %4 = load i64, ptr @m, align 8, !tbaa !9
  %5 = add nsw i32 %.lcssa, 1
  %6 = sext i32 %5 to i64
  %7 = getelementptr inbounds [202 x %struct.Point], ptr @a, i64 0, i64 %6
  store i64 %3, ptr %7, align 16, !tbaa !9
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %7, i64 8
  store i64 %4, ptr %.sroa.4.0..sroa_idx, align 8, !tbaa !9
  %8 = getelementptr inbounds %struct.Point, ptr @a, i64 %.pre-phi
  %9 = getelementptr inbounds i8, ptr %8, i64 16
  tail call void @_ZSt4sortIP5PointEvT_S2_(ptr noundef nonnull getelementptr inbounds (i8, ptr @a, i64 16), ptr noundef nonnull %9)
  %10 = load i32, ptr @tot, align 4, !tbaa !5
  %11 = sext i32 %10 to i64
  %12 = getelementptr inbounds %struct.Point, ptr @a, i64 %11
  %13 = getelementptr inbounds i8, ptr %12, i64 16
  %14 = tail call noundef ptr @_ZSt6uniqueIP5PointET_S2_S2_(ptr noundef nonnull getelementptr inbounds (i8, ptr @a, i64 16), ptr noundef nonnull %13)
  %15 = ptrtoint ptr %14 to i64
  %16 = sub i64 %15, ptrtoint (ptr @a to i64)
  %17 = lshr exact i64 %16, 4
  %18 = trunc i64 %17 to i32
  %19 = add i32 %18, -1
  store i32 %19, ptr @tot, align 4, !tbaa !5
  %20 = tail call noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) @a, ptr noundef nonnull align 8 dereferenceable(16) getelementptr inbounds (i8, ptr @a, i64 16))
  br i1 %20, label %34, label %26

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 1, %0 ]
  %21 = getelementptr inbounds [202 x %struct.Point], ptr @a, i64 0, i64 %indvars.iv
  %22 = getelementptr inbounds i8, ptr %21, i64 8
  %23 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %21, ptr noundef nonnull %22)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %24 = load i32, ptr @tot, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %.not.not = icmp slt i64 %indvars.iv, %25
  br i1 %.not.not, label %.lr.ph, label %._crit_edge, !llvm.loop !11

26:                                               ; preds = %._crit_edge
  %27 = load i32, ptr @tot, align 4, !tbaa !5
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [202 x %struct.Point], ptr @a, i64 0, i64 %28
  %30 = add nsw i32 %27, 1
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [202 x %struct.Point], ptr @a, i64 0, i64 %31
  %33 = tail call noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %29, ptr noundef nonnull align 8 dereferenceable(16) %32)
  br i1 %33, label %34, label %36

34:                                               ; preds = %26, %._crit_edge
  %35 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.2)
  br label %69

36:                                               ; preds = %26
  %37 = load i32, ptr @pp, align 4, !tbaa !5
  %38 = icmp eq i32 %37, 1000003
  br i1 %38, label %66, label %.preheader.preheader

.preheader.preheader:                             ; preds = %36
  %39 = load i32, ptr @_ZL3sei, align 16, !tbaa !5
  %40 = sext i32 %39 to i64
  %41 = tail call noundef i32 @_Z4calci(i32 noundef 0)
  %42 = sext i32 %41 to i64
  %43 = mul nsw i64 %42, %40
  %44 = load i32, ptr getelementptr inbounds (i8, ptr @_ZL3sei, i64 4), align 4, !tbaa !5
  %45 = sext i32 %44 to i64
  %46 = tail call noundef i32 @_Z4calci(i32 noundef 1)
  %47 = sext i32 %46 to i64
  %48 = mul nsw i64 %47, %45
  %49 = add nsw i64 %48, %43
  %50 = load i32, ptr getelementptr inbounds (i8, ptr @_ZL3sei, i64 8), align 8, !tbaa !5
  %51 = sext i32 %50 to i64
  %52 = tail call noundef i32 @_Z4calci(i32 noundef 2)
  %53 = sext i32 %52 to i64
  %54 = mul nsw i64 %53, %51
  %55 = add nsw i64 %54, %49
  %56 = load i32, ptr getelementptr inbounds (i8, ptr @_ZL3sei, i64 12), align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = tail call noundef i32 @_Z4calci(i32 noundef 3)
  %59 = sext i32 %58 to i64
  %60 = mul nsw i64 %59, %57
  %61 = add nsw i64 %60, %55
  %62 = load i32, ptr @pp, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = srem i64 %61, %63
  %65 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i64 noundef %64)
  br label %69

66:                                               ; preds = %36
  %67 = tail call noundef i32 @_Z4calci(i32 noundef 4)
  %68 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %67)
  br label %69

69:                                               ; preds = %66, %.preheader.preheader, %34
  ret i32 0
}

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4 align 2

; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #2

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

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


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