; LLVM IR from kazunetakahashi/atcoder :: 201510_201609/1030_ARC036/C3.ll (Z7dynamicv)

; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@N = external dso_local global i32, align 4
@K = external dso_local global i32, align 4
@_Z1SB5cxx11 = external dso_local global %"class.std::__cxx11::basic_string", align 8
@dp = external dso_local global [310 x [2 x [310 x i64]]], align 16
@.str = external hidden unnamed_addr constant [12 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [90 x i8], align 1
@__PRETTY_FUNCTION__._Z7dynamicv = external hidden unnamed_addr constant [13 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z8zero_oneii(i32 noundef, 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 uwtable
define dso_local noundef i64 @_Z7dynamicv() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #5
  store i32 0, ptr %1, align 4, !tbaa !5
  call void @_ZSt4fillIPxiEvT_S1_RKT0_(ptr noundef @dp, ptr noundef getelementptr inbounds (i64, ptr @dp, i64 192200), ptr noundef nonnull align 4 dereferenceable(4) %1)
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #5
  store i64 1, ptr @dp, align 16, !tbaa !9
  store i64 1, ptr getelementptr inbounds ([2 x [310 x i64]], ptr @dp, i64 0, i64 1), align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %6

6:                                                ; preds = %34, %0
  %7 = load i32, ptr %2, align 4, !tbaa !5
  %8 = load i32, ptr @N, align 4, !tbaa !5
  %9 = icmp slt i32 %7, %8
  br i1 %9, label %11, label %10

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

11:                                               ; preds = %6
  %12 = load i32, ptr %2, align 4, !tbaa !5
  %13 = sext i32 %12 to i64
  %14 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z1SB5cxx11, i64 noundef %13)
  %15 = load i8, ptr %14, align 1, !tbaa !11
  %16 = sext i8 %15 to i32
  %17 = icmp eq i32 %16, 48
  br i1 %17, label %18, label %20

18:                                               ; preds = %11
  %19 = load i32, ptr %2, align 4, !tbaa !5
  call void @_Z8zero_oneii(i32 noundef 0, i32 noundef %19)
  br label %33

20:                                               ; preds = %11
  %21 = load i32, ptr %2, align 4, !tbaa !5
  %22 = sext i32 %21 to i64
  %23 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z1SB5cxx11, i64 noundef %22)
  %24 = load i8, ptr %23, align 1, !tbaa !11
  %25 = sext i8 %24 to i32
  %26 = icmp eq i32 %25, 49
  br i1 %26, label %27, label %29

27:                                               ; preds = %20
  %28 = load i32, ptr %2, align 4, !tbaa !5
  call void @_Z8zero_oneii(i32 noundef 1, i32 noundef %28)
  br label %32

29:                                               ; preds = %20
  %30 = load i32, ptr %2, align 4, !tbaa !5
  call void @_Z8zero_oneii(i32 noundef 0, i32 noundef %30)
  %31 = load i32, ptr %2, align 4, !tbaa !5
  call void @_Z8zero_oneii(i32 noundef 1, i32 noundef %31)
  br label %32

32:                                               ; preds = %29, %27
  br label %33

33:                                               ; preds = %32, %18
  br label %34

34:                                               ; preds = %33
  %35 = load i32, ptr %2, align 4, !tbaa !5
  %36 = add nsw i32 %35, 1
  store i32 %36, ptr %2, align 4, !tbaa !5
  br label %6, !llvm.loop !12

37:                                               ; preds = %10
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  store i64 0, ptr %3, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  store i64 0, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %38

38:                                               ; preds = %69, %37
  %39 = load i32, ptr %5, align 4, !tbaa !5
  %40 = load i32, ptr @K, align 4, !tbaa !5
  %41 = add nsw i32 %40, 1
  %42 = icmp slt i32 %39, %41
  br i1 %42, label %44, label %43

43:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %72

44:                                               ; preds = %38
  %45 = load i32, ptr @N, align 4, !tbaa !5
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [310 x [2 x [310 x i64]]], ptr @dp, i64 0, i64 %46
  %48 = getelementptr inbounds [2 x [310 x i64]], ptr %47, i64 0, i64 0
  %49 = load i32, ptr %5, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [310 x i64], ptr %48, i64 0, i64 %50
  %52 = load i64, ptr %51, align 8, !tbaa !9
  %53 = load i64, ptr %3, align 8, !tbaa !9
  %54 = add nsw i64 %53, %52
  store i64 %54, ptr %3, align 8, !tbaa !9
  %55 = load i64, ptr %3, align 8, !tbaa !9
  %56 = srem i64 %55, 1000000007
  store i64 %56, ptr %3, align 8, !tbaa !9
  %57 = load i32, ptr @N, align 4, !tbaa !5
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [310 x [2 x [310 x i64]]], ptr @dp, i64 0, i64 %58
  %60 = getelementptr inbounds [2 x [310 x i64]], ptr %59, i64 0, i64 1
  %61 = load i32, ptr %5, align 4, !tbaa !5
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds [310 x i64], ptr %60, i64 0, i64 %62
  %64 = load i64, ptr %63, align 8, !tbaa !9
  %65 = load i64, ptr %4, align 8, !tbaa !9
  %66 = add nsw i64 %65, %64
  store i64 %66, ptr %4, align 8, !tbaa !9
  %67 = load i64, ptr %4, align 8, !tbaa !9
  %68 = srem i64 %67, 1000000007
  store i64 %68, ptr %4, align 8, !tbaa !9
  br label %69

69:                                               ; preds = %44
  %70 = load i32, ptr %5, align 4, !tbaa !5
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr %5, align 4, !tbaa !5
  br label %38, !llvm.loop !14

72:                                               ; preds = %43
  %73 = load i64, ptr %3, align 8, !tbaa !9
  %74 = load i64, ptr %4, align 8, !tbaa !9
  %75 = icmp eq i64 %73, %74
  br i1 %75, label %76, label %77

76:                                               ; preds = %72
  br label %79

77:                                               ; preds = %72
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.2, i32 noundef 53, ptr noundef @__PRETTY_FUNCTION__._Z7dynamicv) #6
  unreachable

78:                                               ; No predecessors!
  br label %79

79:                                               ; preds = %78, %76
  %80 = load i64, ptr %3, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  ret i64 %80
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPxiEvT_S1_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4)) #2

; Function Attrs: mustprogress nounwind uwtable
declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) #3 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #4

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 = { 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 #3 = { 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 = { noreturn 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 #5 = { nounwind }
attributes #6 = { noreturn 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 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}


; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@N = external dso_local local_unnamed_addr global i32, align 4
@K = external dso_local local_unnamed_addr global i32, align 4
@_Z1SB5cxx11 = external dso_local global %"class.std::__cxx11::basic_string", align 8
@dp = external dso_local global [310 x [2 x [310 x i64]]], align 16
@.str = external hidden unnamed_addr constant [12 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [90 x i8], align 1
@__PRETTY_FUNCTION__._Z7dynamicv = external hidden unnamed_addr constant [13 x i8], align 1

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

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i64 -1000000006, 1000000007) i64 @_Z7dynamicv() local_unnamed_addr #0 {
  %1 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #5
  store i32 0, ptr %1, align 4, !tbaa !5
  call void @_ZSt4fillIPxiEvT_S1_RKT0_(ptr noundef nonnull @dp, ptr noundef nonnull getelementptr inbounds (i8, ptr @dp, i64 1537600), ptr noundef nonnull align 4 dereferenceable(4) %1)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #5
  store i64 1, ptr @dp, align 16, !tbaa !9
  store i64 1, ptr getelementptr inbounds (i8, ptr @dp, i64 2480), align 16, !tbaa !9
  %2 = load i32, ptr @N, align 4, !tbaa !5
  %3 = icmp sgt i32 %2, 0
  br i1 %3, label %.lr.ph, label %.preheader

.preheader:                                       ; preds = %22, %0
  %.lcssa = phi i32 [ %2, %0 ], [ %23, %22 ]
  %4 = load i32, ptr @K, align 4, !tbaa !5
  %.not23 = icmp slt i32 %4, 0
  br i1 %.not23, label %._crit_edge.thread, label %.lr.ph27

.lr.ph27:                                         ; preds = %.preheader
  %5 = sext i32 %.lcssa to i64
  %6 = getelementptr inbounds [310 x [2 x [310 x i64]]], ptr @dp, i64 0, i64 %5
  %7 = getelementptr inbounds i8, ptr %6, i64 2480
  %8 = add nuw i32 %4, 1
  %wide.trip.count = zext i32 %8 to i64
  %xtraiter = and i64 %wide.trip.count, 1
  %9 = icmp eq i32 %4, 0
  br i1 %9, label %._crit_edge.unr-lcssa, label %.lr.ph27.new

.lr.ph27.new:                                     ; preds = %.lr.ph27
  %unroll_iter = and i64 %wide.trip.count, 4294967294
  br label %35

.lr.ph:                                           ; preds = %0, %22
  %indvars.iv = phi i64 [ %indvars.iv.next, %22 ], [ 0, %0 ]
  %10 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z1SB5cxx11, i64 noundef %indvars.iv)
  %11 = load i8, ptr %10, align 1, !tbaa !11
  %12 = icmp eq i8 %11, 48
  br i1 %12, label %13, label %15

13:                                               ; preds = %.lr.ph
  %14 = trunc nuw nsw i64 %indvars.iv to i32
  call void @_Z8zero_oneii(i32 noundef 0, i32 noundef %14)
  br label %22

15:                                               ; preds = %.lr.ph
  %16 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z1SB5cxx11, i64 noundef %indvars.iv)
  %17 = load i8, ptr %16, align 1, !tbaa !11
  %18 = icmp eq i8 %17, 49
  %19 = trunc nuw nsw i64 %indvars.iv to i32
  br i1 %18, label %20, label %21

20:                                               ; preds = %15
  call void @_Z8zero_oneii(i32 noundef 1, i32 noundef %19)
  br label %22

21:                                               ; preds = %15
  call void @_Z8zero_oneii(i32 noundef 0, i32 noundef %19)
  call void @_Z8zero_oneii(i32 noundef 1, i32 noundef %19)
  br label %22

22:                                               ; preds = %13, %21, %20
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %23 = load i32, ptr @N, align 4, !tbaa !5
  %24 = sext i32 %23 to i64
  %25 = icmp slt i64 %indvars.iv.next, %24
  br i1 %25, label %.lr.ph, label %.preheader, !llvm.loop !12

._crit_edge.unr-lcssa:                            ; preds = %35, %.lr.ph27
  %.lcssa47.ph = phi i64 [ poison, %.lr.ph27 ], [ %47, %35 ]
  %.lcssa46.ph = phi i64 [ poison, %.lr.ph27 ], [ %51, %35 ]
  %indvars.iv34.unr = phi i64 [ 0, %.lr.ph27 ], [ %indvars.iv.next35.1, %35 ]
  %.01925.unr = phi i64 [ 0, %.lr.ph27 ], [ %51, %35 ]
  %.02024.unr = phi i64 [ 0, %.lr.ph27 ], [ %47, %35 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %._crit_edge.epilog-lcssa

._crit_edge.epilog-lcssa:                         ; preds = %._crit_edge.unr-lcssa
  %26 = getelementptr inbounds [310 x i64], ptr %6, i64 0, i64 %indvars.iv34.unr
  %27 = load i64, ptr %26, align 8, !tbaa !9
  %28 = add nsw i64 %27, %.02024.unr
  %29 = srem i64 %28, 1000000007
  %30 = getelementptr inbounds [310 x i64], ptr %7, i64 0, i64 %indvars.iv34.unr
  %31 = load i64, ptr %30, align 8, !tbaa !9
  %32 = add nsw i64 %31, %.01925.unr
  %33 = srem i64 %32, 1000000007
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.unr-lcssa, %._crit_edge.epilog-lcssa
  %.lcssa47 = phi i64 [ %.lcssa47.ph, %._crit_edge.unr-lcssa ], [ %29, %._crit_edge.epilog-lcssa ]
  %.lcssa46 = phi i64 [ %.lcssa46.ph, %._crit_edge.unr-lcssa ], [ %33, %._crit_edge.epilog-lcssa ]
  %34 = icmp eq i64 %.lcssa47, %.lcssa46
  br i1 %34, label %._crit_edge.thread, label %52

35:                                               ; preds = %35, %.lr.ph27.new
  %indvars.iv34 = phi i64 [ 0, %.lr.ph27.new ], [ %indvars.iv.next35.1, %35 ]
  %.01925 = phi i64 [ 0, %.lr.ph27.new ], [ %51, %35 ]
  %.02024 = phi i64 [ 0, %.lr.ph27.new ], [ %47, %35 ]
  %niter = phi i64 [ 0, %.lr.ph27.new ], [ %niter.next.1, %35 ]
  %36 = getelementptr inbounds [310 x i64], ptr %6, i64 0, i64 %indvars.iv34
  %37 = load i64, ptr %36, align 16, !tbaa !9
  %38 = add nsw i64 %37, %.02024
  %39 = srem i64 %38, 1000000007
  %40 = getelementptr inbounds [310 x i64], ptr %7, i64 0, i64 %indvars.iv34
  %41 = load i64, ptr %40, align 16, !tbaa !9
  %42 = add nsw i64 %41, %.01925
  %43 = srem i64 %42, 1000000007
  %indvars.iv.next35 = or disjoint i64 %indvars.iv34, 1
  %44 = getelementptr inbounds [310 x i64], ptr %6, i64 0, i64 %indvars.iv.next35
  %45 = load i64, ptr %44, align 8, !tbaa !9
  %46 = add nsw i64 %45, %39
  %47 = srem i64 %46, 1000000007
  %48 = getelementptr inbounds [310 x i64], ptr %7, i64 0, i64 %indvars.iv.next35
  %49 = load i64, ptr %48, align 8, !tbaa !9
  %50 = add nsw i64 %49, %43
  %51 = srem i64 %50, 1000000007
  %indvars.iv.next35.1 = add nuw nsw i64 %indvars.iv34, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge.unr-lcssa, label %35, !llvm.loop !14

52:                                               ; preds = %._crit_edge
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.2, i32 noundef 53, ptr noundef nonnull @__PRETTY_FUNCTION__._Z7dynamicv) #6
  unreachable

._crit_edge.thread:                               ; preds = %.preheader, %._crit_edge
  %.020.lcssa39 = phi i64 [ %.lcssa47, %._crit_edge ], [ 0, %.preheader ]
  ret i64 %.020.lcssa39
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPxiEvT_S1_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 = { noreturn 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 #5 = { nounwind }
attributes #6 = { noreturn 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 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}


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