; LLVM IR from tangjz/acm-icpc :: self_training/2015-04-25 (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"

@t = external dso_local global i32, align 4
@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@fa = external dso_local global [2000010 x i32], align 16
@l = external dso_local global [2000010 x i32], align 16
@r = external dso_local global [2000010 x i32], align 16
@p = external dso_local global [2000010 x i32], align 16
@ans = external dso_local global [2000010 x i32], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z4findi(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 i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %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 @t)
  br label %9

9:                                                ; preds = %106, %0
  %10 = load i32, ptr @t, align 4, !tbaa !5
  %11 = add nsw i32 %10, -1
  store i32 %11, ptr @t, align 4, !tbaa !5
  %12 = icmp ne i32 %10, 0
  br i1 %12, label %13, label %107

13:                                               ; preds = %9
  call void @llvm.memset.p0.i64(ptr align 16 @ans, i8 0, i64 8000040, i1 false)
  %14 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef @n, ptr noundef @m)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %15

15:                                               ; preds = %31, %13
  %16 = load i32, ptr %2, align 4, !tbaa !5
  %17 = load i32, ptr @m, align 4, !tbaa !5
  %18 = icmp slt i32 %16, %17
  br i1 %18, label %20, label %19

19:                                               ; preds = %15
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  br label %34

20:                                               ; preds = %15
  %21 = load i32, ptr %2, align 4, !tbaa !5
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds i32, ptr @l, i64 %22
  %24 = load i32, ptr %2, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds i32, ptr @r, i64 %25
  %27 = load i32, ptr %2, align 4, !tbaa !5
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds i32, ptr @p, i64 %28
  %30 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.2, ptr noundef %23, ptr noundef %26, ptr noundef %29)
  br label %31

31:                                               ; preds = %20
  %32 = load i32, ptr %2, align 4, !tbaa !5
  %33 = add nsw i32 %32, 1
  store i32 %33, ptr %2, align 4, !tbaa !5
  br label %15, !llvm.loop !9

34:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  store i32 1, ptr %3, align 4, !tbaa !5
  br label %35

35:                                               ; preds = %46, %34
  %36 = load i32, ptr %3, align 4, !tbaa !5
  %37 = load i32, ptr @n, align 4, !tbaa !5
  %38 = add nsw i32 %37, 1
  %39 = icmp sle i32 %36, %38
  br i1 %39, label %41, label %40

40:                                               ; preds = %35
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  br label %49

41:                                               ; preds = %35
  %42 = load i32, ptr %3, align 4, !tbaa !5
  %43 = load i32, ptr %3, align 4, !tbaa !5
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds [2000010 x i32], ptr @fa, i64 0, i64 %44
  store i32 %42, ptr %45, align 4, !tbaa !5
  br label %46

46:                                               ; preds = %41
  %47 = load i32, ptr %3, align 4, !tbaa !5
  %48 = add nsw i32 %47, 1
  store i32 %48, ptr %3, align 4, !tbaa !5
  br label %35, !llvm.loop !11

49:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  %50 = load i32, ptr @m, align 4, !tbaa !5
  %51 = sub nsw i32 %50, 1
  store i32 %51, ptr %4, align 4, !tbaa !5
  br label %52

52:                                               ; preds = %88, %49
  %53 = load i32, ptr %4, align 4, !tbaa !5
  %54 = icmp sge i32 %53, 0
  br i1 %54, label %56, label %55

55:                                               ; preds = %52
  store i32 10, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  br label %91

56:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %57 = load i32, ptr %4, align 4, !tbaa !5
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [2000010 x i32], ptr @l, i64 0, i64 %58
  %60 = load i32, ptr %59, align 4, !tbaa !5
  %61 = call noundef i32 @_Z4findi(i32 noundef %60)
  store i32 %61, ptr %6, align 4, !tbaa !5
  br label %62

62:                                               ; preds = %84, %56
  %63 = load i32, ptr %6, align 4, !tbaa !5
  %64 = load i32, ptr %4, align 4, !tbaa !5
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds [2000010 x i32], ptr @r, i64 0, i64 %65
  %67 = load i32, ptr %66, align 4, !tbaa !5
  %68 = icmp sle i32 %63, %67
  br i1 %68, label %70, label %69

69:                                               ; preds = %62
  store i32 13, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %87

70:                                               ; preds = %62
  %71 = load i32, ptr %4, align 4, !tbaa !5
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [2000010 x i32], ptr @p, i64 0, i64 %72
  %74 = load i32, ptr %73, align 4, !tbaa !5
  %75 = load i32, ptr %6, align 4, !tbaa !5
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds [2000010 x i32], ptr @ans, i64 0, i64 %76
  store i32 %74, ptr %77, align 4, !tbaa !5
  %78 = load i32, ptr %6, align 4, !tbaa !5
  %79 = add nsw i32 %78, 1
  %80 = call noundef i32 @_Z4findi(i32 noundef %79)
  %81 = load i32, ptr %6, align 4, !tbaa !5
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds [2000010 x i32], ptr @fa, i64 0, i64 %82
  store i32 %80, ptr %83, align 4, !tbaa !5
  br label %84

84:                                               ; preds = %70
  %85 = load i32, ptr %6, align 4, !tbaa !5
  %86 = call noundef i32 @_Z4findi(i32 noundef %85)
  store i32 %86, ptr %6, align 4, !tbaa !5
  br label %62, !llvm.loop !12

87:                                               ; preds = %69
  br label %88

88:                                               ; preds = %87
  %89 = load i32, ptr %4, align 4, !tbaa !5
  %90 = add nsw i32 %89, -1
  store i32 %90, ptr %4, align 4, !tbaa !5
  br label %52, !llvm.loop !13

91:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 1, ptr %7, align 4, !tbaa !5
  br label %92

92:                                               ; preds = %103, %91
  %93 = load i32, ptr %7, align 4, !tbaa !5
  %94 = load i32, ptr @n, align 4, !tbaa !5
  %95 = icmp sle i32 %93, %94
  br i1 %95, label %97, label %96

96:                                               ; preds = %92
  store i32 16, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %106

97:                                               ; preds = %92
  %98 = load i32, ptr %7, align 4, !tbaa !5
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds [2000010 x i32], ptr @ans, i64 0, i64 %99
  %101 = load i32, ptr %100, align 4, !tbaa !5
  %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %101)
  br label %103

103:                                              ; preds = %97
  %104 = load i32, ptr %7, align 4, !tbaa !5
  %105 = add nsw i32 %104, 1
  store i32 %105, ptr %7, align 4, !tbaa !5
  br label %92, !llvm.loop !14

106:                                              ; preds = %96
  br label %9, !llvm.loop !15

107:                                              ; preds = %9
  ret i32 0
}

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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}
!15 = distinct !{!15, !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"

@t = external dso_local global i32, align 4
@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@fa = external dso_local local_unnamed_addr global [2000010 x i32], align 16
@l = external dso_local global [2000010 x i32], align 16
@r = external dso_local global [2000010 x i32], align 16
@p = external dso_local global [2000010 x i32], align 16
@ans = external dso_local local_unnamed_addr global [2000010 x i32], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z4findi(i32 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 @t)
  %2 = load i32, ptr @t, align 4, !tbaa !5
  %3 = add nsw i32 %2, -1
  store i32 %3, ptr @t, align 4, !tbaa !5
  %.not45 = icmp eq i32 %2, 0
  br i1 %.not45, label %._crit_edge, label %.lr.ph46

.loopexit29:                                      ; preds = %.lr.ph44, %.preheader
  %4 = load i32, ptr @t, align 4, !tbaa !5
  %5 = add nsw i32 %4, -1
  store i32 %5, ptr @t, align 4, !tbaa !5
  %.not = icmp eq i32 %4, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph46, !llvm.loop !9

.lr.ph46:                                         ; preds = %0, %.loopexit29
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(8000040) @ans, i8 0, i64 8000040, i1 false)
  %6 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull @n, ptr noundef nonnull @m)
  %7 = load i32, ptr @m, align 4, !tbaa !5
  %8 = icmp sgt i32 %7, 0
  br i1 %8, label %.lr.ph, label %.preheader31

.preheader31:                                     ; preds = %.lr.ph, %.lr.ph46
  %.lcssa = phi i32 [ %7, %.lr.ph46 ], [ %19, %.lr.ph ]
  %9 = load i32, ptr @n, align 4, !tbaa !5
  %.not2633 = icmp slt i32 %9, 0
  br i1 %.not2633, label %.preheader30, label %.lr.ph35.preheader

.lr.ph35.preheader:                               ; preds = %.preheader31
  %10 = add nuw i32 %9, 2
  %wide.trip.count = zext i32 %10 to i64
  %11 = add nsw i64 %wide.trip.count, -1
  %min.iters.check = icmp ult i32 %9, 7
  br i1 %min.iters.check, label %.lr.ph35.preheader61, label %vector.ph

.lr.ph35.preheader61:                             ; preds = %middle.block, %.lr.ph35.preheader
  %indvars.iv49.ph = phi i64 [ 1, %.lr.ph35.preheader ], [ %ind.end, %middle.block ]
  br label %.lr.ph35

vector.ph:                                        ; preds = %.lr.ph35.preheader
  %n.vec = and i64 %11, -8
  %ind.end = or disjoint i64 %n.vec, 1
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.ind = phi <4 x i32> [ <i32 1, i32 2, i32 3, i32 4>, %vector.ph ], [ %vec.ind.next, %vector.body ]
  %step.add = add <4 x i32> %vec.ind, <i32 4, i32 4, i32 4, i32 4>
  %offset.idx = or disjoint i64 %index, 1
  %12 = getelementptr inbounds [2000010 x i32], ptr @fa, i64 0, i64 %offset.idx
  %13 = getelementptr inbounds i8, ptr %12, i64 16
  store <4 x i32> %vec.ind, ptr %12, align 4, !tbaa !5
  store <4 x i32> %step.add, ptr %13, align 4, !tbaa !5
  %index.next = add nuw i64 %index, 8
  %vec.ind.next = add <4 x i32> %vec.ind, <i32 8, i32 8, i32 8, i32 8>
  %14 = icmp eq i64 %index.next, %n.vec
  br i1 %14, label %middle.block, label %vector.body, !llvm.loop !11

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %11, %n.vec
  br i1 %cmp.n, label %.preheader30, label %.lr.ph35.preheader61

.lr.ph:                                           ; preds = %.lr.ph46, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %.lr.ph46 ]
  %15 = getelementptr inbounds i32, ptr @l, i64 %indvars.iv
  %16 = getelementptr inbounds i32, ptr @r, i64 %indvars.iv
  %17 = getelementptr inbounds i32, ptr @p, i64 %indvars.iv
  %18 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.2, ptr noundef nonnull %15, ptr noundef nonnull %16, ptr noundef nonnull %17)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %19 = load i32, ptr @m, align 4, !tbaa !5
  %20 = sext i32 %19 to i64
  %21 = icmp slt i64 %indvars.iv.next, %20
  br i1 %21, label %.lr.ph, label %.preheader31, !llvm.loop !14

.preheader30:                                     ; preds = %.lr.ph35, %middle.block, %.preheader31
  %22 = icmp sgt i32 %.lcssa, 0
  br i1 %22, label %.lr.ph41.preheader, label %.preheader

.lr.ph41.preheader:                               ; preds = %.preheader30
  %23 = zext nneg i32 %.lcssa to i64
  br label %.lr.ph41

.lr.ph35:                                         ; preds = %.lr.ph35.preheader61, %.lr.ph35
  %indvars.iv49 = phi i64 [ %indvars.iv.next50, %.lr.ph35 ], [ %indvars.iv49.ph, %.lr.ph35.preheader61 ]
  %24 = getelementptr inbounds [2000010 x i32], ptr @fa, i64 0, i64 %indvars.iv49
  %25 = trunc nuw nsw i64 %indvars.iv49 to i32
  store i32 %25, ptr %24, align 4, !tbaa !5
  %indvars.iv.next50 = add nuw nsw i64 %indvars.iv49, 1
  %exitcond = icmp eq i64 %indvars.iv.next50, %wide.trip.count
  br i1 %exitcond, label %.preheader30, label %.lr.ph35, !llvm.loop !15

.loopexit:                                        ; preds = %34, %.lr.ph41
  %26 = icmp sgt i64 %indvars.iv52, 1
  br i1 %26, label %.lr.ph41, label %.preheader.loopexit, !llvm.loop !16

.preheader.loopexit:                              ; preds = %.loopexit
  %.pre = load i32, ptr @n, align 4, !tbaa !5
  br label %.preheader

.preheader:                                       ; preds = %.preheader.loopexit, %.preheader30
  %27 = phi i32 [ %.pre, %.preheader.loopexit ], [ %9, %.preheader30 ]
  %.not2742 = icmp slt i32 %27, 1
  br i1 %.not2742, label %.loopexit29, label %.lr.ph44

.lr.ph41:                                         ; preds = %.lr.ph41.preheader, %.loopexit
  %indvars.iv52 = phi i64 [ %23, %.lr.ph41.preheader ], [ %indvars.iv.next53, %.loopexit ]
  %indvars.iv.next53 = add nsw i64 %indvars.iv52, -1
  %28 = getelementptr inbounds [2000010 x i32], ptr @l, i64 0, i64 %indvars.iv.next53
  %29 = load i32, ptr %28, align 4, !tbaa !5
  %30 = tail call noundef i32 @_Z4findi(i32 noundef %29)
  %31 = getelementptr inbounds [2000010 x i32], ptr @r, i64 0, i64 %indvars.iv.next53
  %32 = load i32, ptr %31, align 4, !tbaa !5
  %.not2836 = icmp sgt i32 %30, %32
  br i1 %.not2836, label %.loopexit, label %.lr.ph38

.lr.ph38:                                         ; preds = %.lr.ph41
  %33 = getelementptr inbounds [2000010 x i32], ptr @p, i64 0, i64 %indvars.iv.next53
  br label %34

34:                                               ; preds = %.lr.ph38, %34
  %.02237 = phi i32 [ %30, %.lr.ph38 ], [ %41, %34 ]
  %35 = load i32, ptr %33, align 4, !tbaa !5
  %36 = sext i32 %.02237 to i64
  %37 = getelementptr inbounds [2000010 x i32], ptr @ans, i64 0, i64 %36
  store i32 %35, ptr %37, align 4, !tbaa !5
  %38 = add nsw i32 %.02237, 1
  %39 = tail call noundef i32 @_Z4findi(i32 noundef %38)
  %40 = getelementptr inbounds [2000010 x i32], ptr @fa, i64 0, i64 %36
  store i32 %39, ptr %40, align 4, !tbaa !5
  %41 = tail call noundef i32 @_Z4findi(i32 noundef %.02237)
  %42 = load i32, ptr %31, align 4, !tbaa !5
  %.not28 = icmp sgt i32 %41, %42
  br i1 %.not28, label %.loopexit, label %34, !llvm.loop !17

.lr.ph44:                                         ; preds = %.preheader, %.lr.ph44
  %indvars.iv55 = phi i64 [ %indvars.iv.next56, %.lr.ph44 ], [ 1, %.preheader ]
  %43 = getelementptr inbounds [2000010 x i32], ptr @ans, i64 0, i64 %indvars.iv55
  %44 = load i32, ptr %43, align 4, !tbaa !5
  %45 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %44)
  %indvars.iv.next56 = add nuw nsw i64 %indvars.iv55, 1
  %46 = load i32, ptr @n, align 4, !tbaa !5
  %47 = sext i32 %46 to i64
  %.not27.not = icmp slt i64 %indvars.iv55, %47
  br i1 %.not27.not, label %.lr.ph44, label %.loopexit29, !llvm.loop !18

._crit_edge:                                      ; preds = %.loopexit29, %0
  ret i32 0
}

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

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

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


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