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

; 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
@p = external dso_local global i32, align 4
@a = external dso_local global [2000001 x i32], align 16
@b = external dso_local global [2000001 x i32], align 16
@ans = external dso_local global i64, align 8
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z3powxx(i64 noundef, i64 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 i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i64, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %8 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n, ptr noundef @p)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  store i32 2, ptr %2, align 4, !tbaa !5
  br label %9

9:                                                ; preds = %45, %0
  %10 = load i32, ptr %2, align 4, !tbaa !5
  %11 = load i32, ptr @n, align 4, !tbaa !5
  %12 = shl i32 %11, 1
  %13 = icmp sle i32 %10, %12
  br i1 %13, label %15, label %14

14:                                               ; preds = %9
  store i32 2, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  br label %48

15:                                               ; preds = %9
  %16 = load i32, ptr %2, align 4, !tbaa !5
  %17 = sext i32 %16 to i64
  %18 = getelementptr inbounds [2000001 x i32], ptr @a, i64 0, i64 %17
  %19 = load i32, ptr %18, align 4, !tbaa !5
  %20 = icmp ne i32 %19, 0
  br i1 %20, label %44, label %21

21:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = sext i32 %22 to i64
  %24 = load i32, ptr %2, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = mul nsw i64 %23, %25
  store i64 %26, ptr %4, align 8, !tbaa !9
  br label %27

27:                                               ; preds = %38, %21
  %28 = load i64, ptr %4, align 8, !tbaa !9
  %29 = load i32, ptr @n, align 4, !tbaa !5
  %30 = shl i32 %29, 1
  %31 = sext i32 %30 to i64
  %32 = icmp sle i64 %28, %31
  br i1 %32, label %34, label %33

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

34:                                               ; preds = %27
  %35 = load i32, ptr %2, align 4, !tbaa !5
  %36 = load i64, ptr %4, align 8, !tbaa !9
  %37 = getelementptr inbounds [2000001 x i32], ptr @a, i64 0, i64 %36
  store i32 %35, ptr %37, align 4, !tbaa !5
  br label %38

38:                                               ; preds = %34
  %39 = load i32, ptr %2, align 4, !tbaa !5
  %40 = sext i32 %39 to i64
  %41 = load i64, ptr %4, align 8, !tbaa !9
  %42 = add nsw i64 %41, %40
  store i64 %42, ptr %4, align 8, !tbaa !9
  br label %27, !llvm.loop !11

43:                                               ; preds = %33
  br label %44

44:                                               ; preds = %43, %15
  br label %45

45:                                               ; preds = %44
  %46 = load i32, ptr %2, align 4, !tbaa !5
  %47 = add nsw i32 %46, 1
  store i32 %47, ptr %2, align 4, !tbaa !5
  br label %9, !llvm.loop !13

48:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 2, ptr %5, align 4, !tbaa !5
  br label %49

49:                                               ; preds = %58, %48
  %50 = load i32, ptr %5, align 4, !tbaa !5
  %51 = load i32, ptr @n, align 4, !tbaa !5
  %52 = icmp sle i32 %50, %51
  br i1 %52, label %54, label %53

53:                                               ; preds = %49
  store i32 8, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %61

54:                                               ; preds = %49
  %55 = load i32, ptr %5, align 4, !tbaa !5
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [2000001 x i32], ptr @b, i64 0, i64 %56
  store i32 -1, ptr %57, align 4, !tbaa !5
  br label %58

58:                                               ; preds = %54
  %59 = load i32, ptr %5, align 4, !tbaa !5
  %60 = add nsw i32 %59, 1
  store i32 %60, ptr %5, align 4, !tbaa !5
  br label %49, !llvm.loop !14

61:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  %62 = load i32, ptr @n, align 4, !tbaa !5
  %63 = add nsw i32 %62, 2
  store i32 %63, ptr %6, align 4, !tbaa !5
  br label %64

64:                                               ; preds = %74, %61
  %65 = load i32, ptr %6, align 4, !tbaa !5
  %66 = load i32, ptr @n, align 4, !tbaa !5
  %67 = shl i32 %66, 1
  %68 = icmp sle i32 %65, %67
  br i1 %68, label %70, label %69

69:                                               ; preds = %64
  store i32 11, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %77

70:                                               ; preds = %64
  %71 = load i32, ptr %6, align 4, !tbaa !5
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [2000001 x i32], ptr @b, i64 0, i64 %72
  store i32 1, ptr %73, align 4, !tbaa !5
  br label %74

74:                                               ; preds = %70
  %75 = load i32, ptr %6, align 4, !tbaa !5
  %76 = add nsw i32 %75, 1
  store i32 %76, ptr %6, align 4, !tbaa !5
  br label %64, !llvm.loop !15

77:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %78 = load i32, ptr @n, align 4, !tbaa !5
  %79 = shl i32 %78, 1
  store i32 %79, ptr %7, align 4, !tbaa !5
  br label %80

80:                                               ; preds = %132, %77
  %81 = load i32, ptr %7, align 4, !tbaa !5
  %82 = icmp sge i32 %81, 2
  br i1 %82, label %84, label %83

83:                                               ; preds = %80
  store i32 14, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %135

84:                                               ; preds = %80
  %85 = load i32, ptr %7, align 4, !tbaa !5
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds [2000001 x i32], ptr @a, i64 0, i64 %86
  %88 = load i32, ptr %87, align 4, !tbaa !5
  %89 = icmp ne i32 %88, 0
  br i1 %89, label %104, label %90

90:                                               ; preds = %84
  %91 = load i64, ptr @ans, align 8, !tbaa !9
  %92 = load i32, ptr %7, align 4, !tbaa !5
  %93 = sext i32 %92 to i64
  %94 = load i32, ptr %7, align 4, !tbaa !5
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [2000001 x i32], ptr @b, i64 0, i64 %95
  %97 = load i32, ptr %96, align 4, !tbaa !5
  %98 = sext i32 %97 to i64
  %99 = call noundef i64 @_Z3powxx(i64 noundef %93, i64 noundef %98)
  %100 = mul nsw i64 %91, %99
  %101 = load i32, ptr @p, align 4, !tbaa !5
  %102 = sext i32 %101 to i64
  %103 = srem i64 %100, %102
  store i64 %103, ptr @ans, align 8, !tbaa !9
  br label %131

104:                                              ; preds = %84
  %105 = load i32, ptr %7, align 4, !tbaa !5
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds [2000001 x i32], ptr @b, i64 0, i64 %106
  %108 = load i32, ptr %107, align 4, !tbaa !5
  %109 = load i32, ptr %7, align 4, !tbaa !5
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds [2000001 x i32], ptr @a, i64 0, i64 %110
  %112 = load i32, ptr %111, align 4, !tbaa !5
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [2000001 x i32], ptr @b, i64 0, i64 %113
  %115 = load i32, ptr %114, align 4, !tbaa !5
  %116 = add nsw i32 %115, %108
  store i32 %116, ptr %114, align 4, !tbaa !5
  %117 = load i32, ptr %7, align 4, !tbaa !5
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds [2000001 x i32], ptr @b, i64 0, i64 %118
  %120 = load i32, ptr %119, align 4, !tbaa !5
  %121 = load i32, ptr %7, align 4, !tbaa !5
  %122 = load i32, ptr %7, align 4, !tbaa !5
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [2000001 x i32], ptr @a, i64 0, i64 %123
  %125 = load i32, ptr %124, align 4, !tbaa !5
  %126 = sdiv i32 %121, %125
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds [2000001 x i32], ptr @b, i64 0, i64 %127
  %129 = load i32, ptr %128, align 4, !tbaa !5
  %130 = add nsw i32 %129, %120
  store i32 %130, ptr %128, align 4, !tbaa !5
  br label %131

131:                                              ; preds = %104, %90
  br label %132

132:                                              ; preds = %131
  %133 = load i32, ptr %7, align 4, !tbaa !5
  %134 = add nsw i32 %133, -1
  store i32 %134, ptr %7, align 4, !tbaa !5
  br label %80, !llvm.loop !16

135:                                              ; preds = %83
  %136 = load i64, ptr @ans, align 8, !tbaa !9
  %137 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %136)
  ret i32 0
}

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

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

attributes #0 = { 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 #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 = { 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 = !{!10, !10, i64 0}
!10 = !{!"long long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !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"

@n = external dso_local global i32, align 4
@p = external dso_local global i32, align 4
@a = external dso_local local_unnamed_addr global [2000001 x i32], align 16
@b = external dso_local local_unnamed_addr global [2000001 x i32], align 16
@ans = external dso_local local_unnamed_addr global i64, align 8
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z3powxx(i64 noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress norecurse nounwind 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 @p)
  %2 = load i32, ptr @n, align 4, !tbaa !5
  %3 = shl i32 %2, 1
  %.not42 = icmp slt i32 %3, 2
  br i1 %.not42, label %.preheader38, label %.lr.ph44

.lr.ph44:                                         ; preds = %0
  %4 = zext nneg i32 %3 to i64
  %5 = or disjoint i32 %3, 1
  %wide.trip.count = zext nneg i32 %5 to i64
  br label %9

.preheader38:                                     ; preds = %.loopexit, %0
  %.not3346 = icmp slt i32 %2, 2
  br i1 %.not3346, label %._crit_edge, label %.lr.ph48.preheader

.lr.ph48.preheader:                               ; preds = %.preheader38
  %6 = add nsw i32 %2, -1
  %7 = zext nneg i32 %6 to i64
  %8 = shl nuw nsw i64 %7, 2
  tail call void @llvm.memset.p0.i64(ptr nonnull align 8 getelementptr inbounds (i8, ptr @b, i64 8), i8 -1, i64 %8, i1 false), !tbaa !5
  br label %._crit_edge

9:                                                ; preds = %.lr.ph44, %.loopexit
  %indvars.iv = phi i64 [ 2, %.lr.ph44 ], [ %indvars.iv.next, %.loopexit ]
  %10 = getelementptr inbounds [2000001 x i32], ptr @a, i64 0, i64 %indvars.iv
  %11 = load i32, ptr %10, align 4, !tbaa !5
  %.not36 = icmp ne i32 %11, 0
  %12 = mul nuw nsw i64 %indvars.iv, %indvars.iv
  %.not3740 = icmp ugt i64 %12, %4
  %or.cond = select i1 %.not36, i1 true, i1 %.not3740
  br i1 %or.cond, label %.loopexit, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %9
  %13 = trunc nuw nsw i64 %indvars.iv to i32
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %.02841 = phi i64 [ %15, %.lr.ph ], [ %12, %.lr.ph.preheader ]
  %14 = getelementptr inbounds [2000001 x i32], ptr @a, i64 0, i64 %.02841
  store i32 %13, ptr %14, align 4, !tbaa !5
  %15 = add nuw nsw i64 %.02841, %indvars.iv
  %.not37 = icmp ugt i64 %15, %4
  br i1 %.not37, label %.loopexit, label %.lr.ph, !llvm.loop !9

.loopexit:                                        ; preds = %.lr.ph, %9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.preheader38, label %9, !llvm.loop !11

._crit_edge:                                      ; preds = %.lr.ph48.preheader, %.preheader38
  %16 = add nsw i32 %2, 2
  %.not3449 = icmp sgt i32 %16, %3
  br i1 %.not3449, label %.preheader, label %.lr.ph52.preheader

.lr.ph52.preheader:                               ; preds = %._crit_edge
  %17 = sext i32 %16 to i64
  %18 = or disjoint i32 %3, 1
  %19 = add i32 %2, -2
  %20 = zext i32 %19 to i64
  %21 = add nuw nsw i64 %20, 1
  %min.iters.check = icmp ult i32 %19, 7
  br i1 %min.iters.check, label %.lr.ph52.preheader67, label %vector.ph

.lr.ph52.preheader67:                             ; preds = %middle.block, %.lr.ph52.preheader
  %indvars.iv60.ph = phi i64 [ %17, %.lr.ph52.preheader ], [ %ind.end, %middle.block ]
  br label %.lr.ph52

vector.ph:                                        ; preds = %.lr.ph52.preheader
  %n.vec = and i64 %21, 8589934584
  %ind.end = add nsw i64 %n.vec, %17
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = add i64 %index, %17
  %22 = getelementptr inbounds [2000001 x i32], ptr @b, i64 0, i64 %offset.idx
  %23 = getelementptr inbounds i8, ptr %22, i64 16
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %22, align 4, !tbaa !5
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %23, align 4, !tbaa !5
  %index.next = add nuw i64 %index, 8
  %24 = icmp eq i64 %index.next, %n.vec
  br i1 %24, label %middle.block, label %vector.body, !llvm.loop !12

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %21, %n.vec
  br i1 %cmp.n, label %.preheader, label %.lr.ph52.preheader67

.preheader:                                       ; preds = %.lr.ph52, %middle.block, %._crit_edge
  %25 = icmp sgt i32 %3, 1
  br i1 %25, label %.lr.ph54.preheader, label %._crit_edge55

.lr.ph54.preheader:                               ; preds = %.preheader
  %26 = zext nneg i32 %3 to i64
  br label %.lr.ph54

.lr.ph52:                                         ; preds = %.lr.ph52.preheader67, %.lr.ph52
  %indvars.iv60 = phi i64 [ %indvars.iv.next61, %.lr.ph52 ], [ %indvars.iv60.ph, %.lr.ph52.preheader67 ]
  %27 = getelementptr inbounds [2000001 x i32], ptr @b, i64 0, i64 %indvars.iv60
  store i32 1, ptr %27, align 4, !tbaa !5
  %indvars.iv.next61 = add nsw i64 %indvars.iv60, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next61 to i32
  %exitcond63.not = icmp eq i32 %18, %lftr.wideiv
  br i1 %exitcond63.not, label %.preheader, label %.lr.ph52, !llvm.loop !15

._crit_edge55:                                    ; preds = %56, %.preheader
  %28 = load i64, ptr @ans, align 8, !tbaa !16
  %29 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i64 noundef %28)
  ret i32 0

.lr.ph54:                                         ; preds = %.lr.ph54.preheader, %56
  %indvars.iv64 = phi i64 [ %26, %.lr.ph54.preheader ], [ %indvars.iv.next65, %56 ]
  %30 = getelementptr inbounds [2000001 x i32], ptr @a, i64 0, i64 %indvars.iv64
  %31 = load i32, ptr %30, align 4, !tbaa !5
  %.not35 = icmp eq i32 %31, 0
  br i1 %.not35, label %32, label %42

32:                                               ; preds = %.lr.ph54
  %33 = load i64, ptr @ans, align 8, !tbaa !16
  %34 = getelementptr inbounds [2000001 x i32], ptr @b, i64 0, i64 %indvars.iv64
  %35 = load i32, ptr %34, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  %37 = tail call noundef i64 @_Z3powxx(i64 noundef %indvars.iv64, i64 noundef %36)
  %38 = mul nsw i64 %37, %33
  %39 = load i32, ptr @p, align 4, !tbaa !5
  %40 = sext i32 %39 to i64
  %41 = srem i64 %38, %40
  store i64 %41, ptr @ans, align 8, !tbaa !16
  br label %56

42:                                               ; preds = %.lr.ph54
  %43 = getelementptr inbounds [2000001 x i32], ptr @b, i64 0, i64 %indvars.iv64
  %44 = load i32, ptr %43, align 4, !tbaa !5
  %45 = sext i32 %31 to i64
  %46 = getelementptr inbounds [2000001 x i32], ptr @b, i64 0, i64 %45
  %47 = load i32, ptr %46, align 4, !tbaa !5
  %48 = add nsw i32 %47, %44
  store i32 %48, ptr %46, align 4, !tbaa !5
  %49 = load i32, ptr %43, align 4, !tbaa !5
  %50 = trunc nuw nsw i64 %indvars.iv64 to i32
  %51 = sdiv i32 %50, %31
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [2000001 x i32], ptr @b, i64 0, i64 %52
  %54 = load i32, ptr %53, align 4, !tbaa !5
  %55 = add nsw i32 %54, %49
  store i32 %55, ptr %53, align 4, !tbaa !5
  br label %56

56:                                               ; preds = %32, %42
  %indvars.iv.next65 = add nsw i64 %indvars.iv64, -1
  %57 = icmp sgt i64 %indvars.iv64, 2
  br i1 %57, label %.lr.ph54, label %._crit_edge55, !llvm.loop !18
}

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(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) #3

attributes #0 = { 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 #1 = { 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 #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 = { 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10, !13, !14}
!13 = !{!"llvm.loop.isvectorized", i32 1}
!14 = !{!"llvm.loop.unroll.runtime.disable"}
!15 = distinct !{!15, !10, !14, !13}
!16 = !{!17, !17, i64 0}
!17 = !{!"long long", !7, i64 0}
!18 = distinct !{!18, !10}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass