; LLVM IR from tangjz/acm-icpc :: luogu (1063)

; 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
@energy = external dso_local global [101 x i32], align 16
@f = external dso_local global [101 x [101 x i32]], align 16
@ans = external dso_local global i32, align 4
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 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
  %6 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  %7 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n)
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %8

8:                                                ; preds = %17, %0
  %9 = load i32, ptr %2, align 4, !tbaa !5
  %10 = load i32, ptr @n, align 4, !tbaa !5
  %11 = icmp slt i32 %9, %10
  br i1 %11, label %12, label %20

12:                                               ; preds = %8
  %13 = load i32, ptr %2, align 4, !tbaa !5
  %14 = sext i32 %13 to i64
  %15 = getelementptr inbounds [101 x i32], ptr @energy, i64 0, i64 %14
  %16 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %15)
  br label %17

17:                                               ; preds = %12
  %18 = load i32, ptr %2, align 4, !tbaa !5
  %19 = add nsw i32 %18, 1
  store i32 %19, ptr %2, align 4, !tbaa !5
  br label %8, !llvm.loop !9

20:                                               ; preds = %8
  store i32 1, ptr %5, align 4, !tbaa !5
  br label %21

21:                                               ; preds = %109, %20
  %22 = load i32, ptr %5, align 4, !tbaa !5
  %23 = load i32, ptr @n, align 4, !tbaa !5
  %24 = icmp slt i32 %22, %23
  br i1 %24, label %25, label %112

25:                                               ; preds = %21
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %26

26:                                               ; preds = %105, %25
  %27 = load i32, ptr %2, align 4, !tbaa !5
  %28 = load i32, ptr @n, align 4, !tbaa !5
  %29 = icmp slt i32 %27, %28
  br i1 %29, label %30, label %108

30:                                               ; preds = %26
  %31 = load i32, ptr %2, align 4, !tbaa !5
  %32 = load i32, ptr %5, align 4, !tbaa !5
  %33 = add nsw i32 %31, %32
  store i32 %33, ptr %3, align 4, !tbaa !5
  %34 = load i32, ptr %2, align 4, !tbaa !5
  store i32 %34, ptr %4, align 4, !tbaa !5
  br label %35

35:                                               ; preds = %101, %30
  %36 = load i32, ptr %4, align 4, !tbaa !5
  %37 = load i32, ptr %3, align 4, !tbaa !5
  %38 = icmp slt i32 %36, %37
  br i1 %38, label %39, label %104

39:                                               ; preds = %35
  %40 = load i32, ptr %2, align 4, !tbaa !5
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds [101 x [101 x i32]], ptr @f, i64 0, i64 %41
  %43 = load i32, ptr %3, align 4, !tbaa !5
  %44 = load i32, ptr @n, align 4, !tbaa !5
  %45 = srem i32 %43, %44
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [101 x i32], ptr %42, i64 0, i64 %46
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  %48 = load i32, ptr %2, align 4, !tbaa !5
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [101 x [101 x i32]], ptr @f, i64 0, i64 %49
  %51 = load i32, ptr %4, align 4, !tbaa !5
  %52 = load i32, ptr @n, align 4, !tbaa !5
  %53 = srem i32 %51, %52
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [101 x i32], ptr %50, i64 0, i64 %54
  %56 = load i32, ptr %55, align 4, !tbaa !5
  %57 = load i32, ptr %4, align 4, !tbaa !5
  %58 = add nsw i32 %57, 1
  %59 = load i32, ptr @n, align 4, !tbaa !5
  %60 = srem i32 %58, %59
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds [101 x [101 x i32]], ptr @f, i64 0, i64 %61
  %63 = load i32, ptr %3, align 4, !tbaa !5
  %64 = load i32, ptr @n, align 4, !tbaa !5
  %65 = srem i32 %63, %64
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [101 x i32], ptr %62, i64 0, i64 %66
  %68 = load i32, ptr %67, align 4, !tbaa !5
  %69 = add nsw i32 %56, %68
  %70 = load i32, ptr %2, align 4, !tbaa !5
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [101 x i32], ptr @energy, i64 0, i64 %71
  %73 = load i32, ptr %72, align 4, !tbaa !5
  %74 = load i32, ptr %4, align 4, !tbaa !5
  %75 = add nsw i32 %74, 1
  %76 = load i32, ptr @n, align 4, !tbaa !5
  %77 = srem i32 %75, %76
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [101 x i32], ptr @energy, i64 0, i64 %78
  %80 = load i32, ptr %79, align 4, !tbaa !5
  %81 = mul nsw i32 %73, %80
  %82 = load i32, ptr %3, align 4, !tbaa !5
  %83 = add nsw i32 %82, 1
  %84 = load i32, ptr @n, align 4, !tbaa !5
  %85 = srem i32 %83, %84
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds [101 x i32], ptr @energy, i64 0, i64 %86
  %88 = load i32, ptr %87, align 4, !tbaa !5
  %89 = mul nsw i32 %81, %88
  %90 = add nsw i32 %69, %89
  store i32 %90, ptr %6, align 4, !tbaa !5
  %91 = call noundef nonnull align 4 dereferenceable(4) ptr @_Z3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %47, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %92 = load i32, ptr %91, align 4, !tbaa !5
  %93 = load i32, ptr %2, align 4, !tbaa !5
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds [101 x [101 x i32]], ptr @f, i64 0, i64 %94
  %96 = load i32, ptr %3, align 4, !tbaa !5
  %97 = load i32, ptr @n, align 4, !tbaa !5
  %98 = srem i32 %96, %97
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds [101 x i32], ptr %95, i64 0, i64 %99
  store i32 %92, ptr %100, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %101

101:                                              ; preds = %39
  %102 = load i32, ptr %4, align 4, !tbaa !5
  %103 = add nsw i32 %102, 1
  store i32 %103, ptr %4, align 4, !tbaa !5
  br label %35, !llvm.loop !11

104:                                              ; preds = %35
  br label %105

105:                                              ; preds = %104
  %106 = load i32, ptr %2, align 4, !tbaa !5
  %107 = add nsw i32 %106, 1
  store i32 %107, ptr %2, align 4, !tbaa !5
  br label %26, !llvm.loop !12

108:                                              ; preds = %26
  br label %109

109:                                              ; preds = %108
  %110 = load i32, ptr %5, align 4, !tbaa !5
  %111 = add nsw i32 %110, 1
  store i32 %111, ptr %5, align 4, !tbaa !5
  br label %21, !llvm.loop !13

112:                                              ; preds = %21
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %113

113:                                              ; preds = %131, %112
  %114 = load i32, ptr %2, align 4, !tbaa !5
  %115 = load i32, ptr @n, align 4, !tbaa !5
  %116 = icmp slt i32 %114, %115
  br i1 %116, label %117, label %134

117:                                              ; preds = %113
  %118 = load i32, ptr %2, align 4, !tbaa !5
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds [101 x [101 x i32]], ptr @f, i64 0, i64 %119
  %121 = load i32, ptr %2, align 4, !tbaa !5
  %122 = sub nsw i32 %121, 1
  %123 = load i32, ptr @n, align 4, !tbaa !5
  %124 = add nsw i32 %122, %123
  %125 = load i32, ptr @n, align 4, !tbaa !5
  %126 = srem i32 %124, %125
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds [101 x i32], ptr %120, i64 0, i64 %127
  %129 = call noundef nonnull align 4 dereferenceable(4) ptr @_Z3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) @ans, ptr noundef nonnull align 4 dereferenceable(4) %128)
  %130 = load i32, ptr %129, align 4, !tbaa !5
  store i32 %130, ptr @ans, align 4, !tbaa !5
  br label %131

131:                                              ; preds = %117
  %132 = load i32, ptr %2, align 4, !tbaa !5
  %133 = add nsw i32 %132, 1
  store i32 %133, ptr %2, align 4, !tbaa !5
  br label %113, !llvm.loop !14

134:                                              ; preds = %113
  %135 = load i32, ptr @ans, align 4, !tbaa !5
  %136 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %135)
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  %137 = load i32, ptr %1, align 4
  ret i32 %137
}

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_Z3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3

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

declare i32 @printf(ptr noundef, ...) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { inlinehint 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 #4 = { 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}
!14 = distinct !{!14, !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
@energy = external dso_local global [101 x i32], align 16
@f = external dso_local global [101 x [101 x i32]], align 16
@ans = external dso_local global i32, align 4
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1

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

.preheader34:                                     ; preds = %.lr.ph
  %5 = icmp sgt i32 %8, 1
  br i1 %5, label %.preheader33, label %.preheader

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %0 ]
  %6 = getelementptr inbounds [101 x i32], ptr @energy, i64 0, i64 %indvars.iv
  %7 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %6)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %8 = load i32, ptr @n, align 4, !tbaa !5
  %9 = sext i32 %8 to i64
  %10 = icmp slt i64 %indvars.iv.next, %9
  br i1 %10, label %.lr.ph, label %.preheader34, !llvm.loop !9

.preheader33:                                     ; preds = %.preheader34, %._crit_edge
  %11 = phi i32 [ %57, %._crit_edge ], [ %8, %.preheader34 ]
  %indvars.iv50 = phi i64 [ %indvars.iv.next51, %._crit_edge ], [ 1, %.preheader34 ]
  %12 = icmp sgt i32 %11, 0
  br i1 %12, label %.lr.ph38.preheader, label %.preheader33.._crit_edge_crit_edge

.preheader33.._crit_edge_crit_edge:               ; preds = %.preheader33
  %.pre56 = sext i32 %11 to i64
  br label %._crit_edge

.lr.ph38.preheader:                               ; preds = %.preheader33
  %13 = trunc nuw nsw i64 %indvars.iv50 to i32
  br label %.lr.ph38

.preheader:                                       ; preds = %._crit_edge, %.preheader34
  %14 = phi i32 [ %8, %.preheader34 ], [ %57, %._crit_edge ]
  %15 = icmp sgt i32 %14, 0
  br i1 %15, label %.lr.ph41, label %.preheader.._crit_edge42_crit_edge

.preheader.._crit_edge42_crit_edge:               ; preds = %0, %.preheader
  %.pre = load i32, ptr @ans, align 4, !tbaa !5
  br label %._crit_edge42

.lr.ph38:                                         ; preds = %.lr.ph38.preheader, %54
  %16 = phi i32 [ %11, %.lr.ph38.preheader ], [ %50, %54 ]
  %indvars.iv47 = phi i64 [ 0, %.lr.ph38.preheader ], [ %indvars.iv.next48, %54 ]
  %indvars.iv45 = phi i32 [ %13, %.lr.ph38.preheader ], [ %indvars.iv.next46, %54 ]
  %17 = add nuw nsw i64 %indvars.iv47, %indvars.iv50
  %18 = getelementptr inbounds [101 x i32], ptr @energy, i64 0, i64 %indvars.iv47
  %19 = trunc nuw nsw i64 %indvars.iv47 to i32
  %20 = trunc nuw nsw i64 %17 to i32
  %21 = trunc i64 %17 to i32
  %22 = add i32 %21, 1
  br label %23

23:                                               ; preds = %.lr.ph38, %23
  %24 = phi i32 [ %16, %.lr.ph38 ], [ %50, %23 ]
  %.02936 = phi i32 [ %19, %.lr.ph38 ], [ %32, %23 ]
  %25 = srem i32 %20, %24
  %26 = zext nneg i32 %25 to i64
  %27 = getelementptr inbounds [101 x [101 x i32]], ptr @f, i64 0, i64 %indvars.iv47, i64 %26
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4
  %28 = srem i32 %.02936, %24
  %29 = zext nneg i32 %28 to i64
  %30 = getelementptr inbounds [101 x [101 x i32]], ptr @f, i64 0, i64 %indvars.iv47, i64 %29
  %31 = load i32, ptr %30, align 4, !tbaa !5
  %32 = add nuw nsw i32 %.02936, 1
  %33 = srem i32 %32, %24
  %34 = zext nneg i32 %33 to i64
  %35 = getelementptr inbounds [101 x [101 x i32]], ptr @f, i64 0, i64 %34, i64 %26
  %36 = load i32, ptr %35, align 4, !tbaa !5
  %37 = add nsw i32 %36, %31
  %38 = load i32, ptr %18, align 4, !tbaa !5
  %39 = getelementptr inbounds [101 x i32], ptr @energy, i64 0, i64 %34
  %40 = load i32, ptr %39, align 4, !tbaa !5
  %41 = mul nsw i32 %40, %38
  %42 = srem i32 %22, %24
  %43 = zext nneg i32 %42 to i64
  %44 = getelementptr inbounds [101 x i32], ptr @energy, i64 0, i64 %43
  %45 = load i32, ptr %44, align 4, !tbaa !5
  %46 = mul nsw i32 %41, %45
  %47 = add nsw i32 %37, %46
  store i32 %47, ptr %1, align 4, !tbaa !5
  %48 = call noundef nonnull align 4 dereferenceable(4) ptr @_Z3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %49 = load i32, ptr %48, align 4, !tbaa !5
  %50 = load i32, ptr @n, align 4, !tbaa !5
  %51 = srem i32 %20, %50
  %52 = zext nneg i32 %51 to i64
  %53 = getelementptr inbounds [101 x [101 x i32]], ptr @f, i64 0, i64 %indvars.iv47, i64 %52
  store i32 %49, ptr %53, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4
  %exitcond.not = icmp eq i32 %32, %indvars.iv45
  br i1 %exitcond.not, label %54, label %23, !llvm.loop !11

54:                                               ; preds = %23
  %indvars.iv.next48 = add nuw nsw i64 %indvars.iv47, 1
  %55 = sext i32 %50 to i64
  %56 = icmp slt i64 %indvars.iv.next48, %55
  %indvars.iv.next46 = add nuw i32 %indvars.iv45, 1
  br i1 %56, label %.lr.ph38, label %._crit_edge, !llvm.loop !12

._crit_edge:                                      ; preds = %54, %.preheader33.._crit_edge_crit_edge
  %.pre-phi = phi i64 [ %.pre56, %.preheader33.._crit_edge_crit_edge ], [ %55, %54 ]
  %57 = phi i32 [ %11, %.preheader33.._crit_edge_crit_edge ], [ %50, %54 ]
  %indvars.iv.next51 = add nuw nsw i64 %indvars.iv50, 1
  %58 = icmp slt i64 %indvars.iv.next51, %.pre-phi
  br i1 %58, label %.preheader33, label %.preheader, !llvm.loop !13

.lr.ph41:                                         ; preds = %.preheader, %.lr.ph41
  %indvars.iv53 = phi i64 [ %indvars.iv.next54, %.lr.ph41 ], [ 0, %.preheader ]
  %59 = phi i32 [ %68, %.lr.ph41 ], [ %14, %.preheader ]
  %60 = trunc i64 %indvars.iv53 to i32
  %61 = add i32 %60, -1
  %62 = add nsw i32 %61, %59
  %63 = srem i32 %62, %59
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [101 x [101 x i32]], ptr @f, i64 0, i64 %indvars.iv53, i64 %64
  %66 = call noundef nonnull align 4 dereferenceable(4) ptr @_Z3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) @ans, ptr noundef nonnull align 4 dereferenceable(4) %65)
  %67 = load i32, ptr %66, align 4, !tbaa !5
  store i32 %67, ptr @ans, align 4, !tbaa !5
  %indvars.iv.next54 = add nuw nsw i64 %indvars.iv53, 1
  %68 = load i32, ptr @n, align 4, !tbaa !5
  %69 = sext i32 %68 to i64
  %70 = icmp slt i64 %indvars.iv.next54, %69
  br i1 %70, label %.lr.ph41, label %._crit_edge42, !llvm.loop !15

._crit_edge42:                                    ; preds = %.lr.ph41, %.preheader.._crit_edge42_crit_edge
  %71 = phi i32 [ %.pre, %.preheader.._crit_edge42_crit_edge ], [ %67, %.lr.ph41 ]
  %72 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %71)
  ret i32 0
}

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_Z3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

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

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

attributes #0 = { mustprogress 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 #4 = { 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, !14}
!14 = !{!"llvm.loop.unswitch.partial.disable"}
!15 = distinct !{!15, !10}


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