; LLVM IR from attractivechaos/klib :: test (kstring_test)

; 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.__kstring_t = type { i64, i64, ptr }

@nfail = external dso_local global i32, align 4
@stderr = external global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [20 x i8], align 1

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #0

; Function Attrs: nounwind uwtable
declare dso_local void @test_kputw(ptr noundef, i32 noundef) #1

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @test_kputl(ptr noundef, i64 noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @test_kgetline(ptr noundef, ptr noundef, ...) #1

declare i32 @kgetline(ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #1 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %struct.__kstring_t, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #4
  %9 = getelementptr inbounds %struct.__kstring_t, ptr %6, i32 0, i32 1
  store i64 0, ptr %9, align 8, !tbaa !11
  %10 = getelementptr inbounds %struct.__kstring_t, ptr %6, i32 0, i32 0
  store i64 0, ptr %10, align 8, !tbaa !14
  %11 = getelementptr inbounds %struct.__kstring_t, ptr %6, i32 0, i32 2
  store ptr null, ptr %11, align 8, !tbaa !15
  call void @test_kputw(ptr noundef %6, i32 noundef 0)
  call void @test_kputw(ptr noundef %6, i32 noundef 1)
  call void @test_kputw(ptr noundef %6, i32 noundef 37)
  call void @test_kputw(ptr noundef %6, i32 noundef 12345)
  call void @test_kputw(ptr noundef %6, i32 noundef -12345)
  call void @test_kputw(ptr noundef %6, i32 noundef 2147483647)
  call void @test_kputw(ptr noundef %6, i32 noundef -2147483647)
  call void @test_kputw(ptr noundef %6, i32 noundef -2147483648)
  call void @test_kputl(ptr noundef %6, i64 noundef 0)
  call void @test_kputl(ptr noundef %6, i64 noundef 1)
  call void @test_kputl(ptr noundef %6, i64 noundef 37)
  call void @test_kputl(ptr noundef %6, i64 noundef 12345)
  call void @test_kputl(ptr noundef %6, i64 noundef -12345)
  call void @test_kputl(ptr noundef %6, i64 noundef 2147483647)
  call void @test_kputl(ptr noundef %6, i64 noundef -2147483647)
  call void @test_kputl(ptr noundef %6, i64 noundef -2147483648)
  call void @test_kputl(ptr noundef %6, i64 noundef 9223372036854775807)
  call void @test_kputl(ptr noundef %6, i64 noundef -9223372036854775807)
  call void @test_kputl(ptr noundef %6, i64 noundef -9223372036854775808)
  call void (ptr, ptr, ...) @test_kgetline(ptr noundef %6, ptr noundef @.str.7, ptr noundef null)
  call void (ptr, ptr, ...) @test_kgetline(ptr noundef %6, ptr noundef @.str.8, ptr noundef @.str.8, ptr noundef null)
  call void (ptr, ptr, ...) @test_kgetline(ptr noundef %6, ptr noundef @.str.9, ptr noundef @.str.10, ptr noundef null)
  call void (ptr, ptr, ...) @test_kgetline(ptr noundef %6, ptr noundef @.str.11, ptr noundef @.str.12, ptr noundef null)
  call void (ptr, ptr, ...) @test_kgetline(ptr noundef %6, ptr noundef @.str.13, ptr noundef @.str.7, ptr noundef null)
  call void (ptr, ptr, ...) @test_kgetline(ptr noundef %6, ptr noundef @.str.14, ptr noundef @.str.7, ptr noundef @.str.7, ptr noundef null)
  call void (ptr, ptr, ...) @test_kgetline(ptr noundef %6, ptr noundef @.str.15, ptr noundef @.str.16, ptr noundef @.str.17, ptr noundef null)
  call void (ptr, ptr, ...) @test_kgetline(ptr noundef %6, ptr noundef @.str.18, ptr noundef @.str.16, ptr noundef @.str.17, ptr noundef null)
  call void (ptr, ptr, ...) @test_kgetline(ptr noundef %6, ptr noundef @.str.19, ptr noundef @.str.20, ptr noundef @.str.21, ptr noundef null)
  %12 = load i32, ptr %4, align 4, !tbaa !5
  %13 = icmp sgt i32 %12, 1
  br i1 %13, label %14, label %37

14:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %15 = load ptr, ptr %5, align 8, !tbaa !9
  %16 = getelementptr inbounds ptr, ptr %15, i64 1
  %17 = load ptr, ptr %16, align 8, !tbaa !9
  %18 = call noalias ptr @fopen(ptr noundef %17, ptr noundef @.str.22)
  store ptr %18, ptr %7, align 8, !tbaa !9
  %19 = load ptr, ptr %7, align 8, !tbaa !9
  %20 = icmp ne ptr %19, null
  br i1 %20, label %21, label %36

21:                                               ; preds = %14
  %22 = getelementptr inbounds %struct.__kstring_t, ptr %6, i32 0, i32 0
  store i64 0, ptr %22, align 8, !tbaa !14
  br label %23

23:                                               ; preds = %31, %21
  %24 = load ptr, ptr %7, align 8, !tbaa !9
  %25 = call i32 @kgetline(ptr noundef %6, ptr noundef @fgets, ptr noundef %24)
  %26 = icmp eq i32 %25, 0
  br i1 %26, label %27, label %33

27:                                               ; preds = %23
  %28 = getelementptr inbounds %struct.__kstring_t, ptr %6, i32 0, i32 2
  %29 = load ptr, ptr %28, align 8, !tbaa !15
  %30 = call i32 @puts(ptr noundef %29)
  br label %31

31:                                               ; preds = %27
  %32 = getelementptr inbounds %struct.__kstring_t, ptr %6, i32 0, i32 0
  store i64 0, ptr %32, align 8, !tbaa !14
  br label %23, !llvm.loop !16

33:                                               ; preds = %23
  %34 = load ptr, ptr %7, align 8, !tbaa !9
  %35 = call i32 @fclose(ptr noundef %34)
  br label %36

36:                                               ; preds = %33, %14
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  br label %37

37:                                               ; preds = %36, %2
  %38 = getelementptr inbounds %struct.__kstring_t, ptr %6, i32 0, i32 2
  %39 = load ptr, ptr %38, align 8, !tbaa !15
  call void @free(ptr noundef %39) #4
  %40 = load i32, ptr @nfail, align 4, !tbaa !5
  %41 = icmp sgt i32 %40, 0
  br i1 %41, label %42, label %46

42:                                               ; preds = %37
  %43 = load ptr, ptr @stderr, align 8, !tbaa !9
  %44 = load i32, ptr @nfail, align 4, !tbaa !5
  %45 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %43, ptr noundef @.str.23, i32 noundef %44) #4
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %47

46:                                               ; preds = %37
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %47

47:                                               ; preds = %46, %42
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #4
  %48 = load i32, ptr %3, align 4
  ret i32 %48
}

declare noalias ptr @fopen(ptr noundef, ptr noundef) #3

declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #3

declare i32 @puts(ptr noundef) #3

declare i32 @fclose(ptr noundef) #3

; Function Attrs: nounwind
declare void @free(ptr noundef) #0

attributes #0 = { 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 #1 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !13, i64 8}
!12 = !{!"__kstring_t", !13, i64 0, !13, i64 8, !10, i64 16}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !13, i64 0}
!15 = !{!12, !10, i64 16}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}


; 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.__kstring_t = type { i64, i64, ptr }

@nfail = external dso_local local_unnamed_addr global i32, align 4
@stderr = external local_unnamed_addr global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [20 x i8], align 1

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

; Function Attrs: nounwind uwtable
declare dso_local void @test_kputw(ptr noundef, i32 noundef) local_unnamed_addr #1

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @test_kputl(ptr noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @test_kgetline(ptr noundef, ptr noundef, ...) local_unnamed_addr #1

declare i32 @kgetline(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #1 {
  %3 = alloca %struct.__kstring_t, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #6
  %4 = getelementptr inbounds i8, ptr %3, i64 16
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %3, i8 0, i64 24, i1 false)
  call void @test_kputw(ptr noundef nonnull %3, i32 noundef 0)
  call void @test_kputw(ptr noundef nonnull %3, i32 noundef 1)
  call void @test_kputw(ptr noundef nonnull %3, i32 noundef 37)
  call void @test_kputw(ptr noundef nonnull %3, i32 noundef 12345)
  call void @test_kputw(ptr noundef nonnull %3, i32 noundef -12345)
  call void @test_kputw(ptr noundef nonnull %3, i32 noundef 2147483647)
  call void @test_kputw(ptr noundef nonnull %3, i32 noundef -2147483647)
  call void @test_kputw(ptr noundef nonnull %3, i32 noundef -2147483648)
  call void @test_kputl(ptr noundef nonnull %3, i64 noundef 0)
  call void @test_kputl(ptr noundef nonnull %3, i64 noundef 1)
  call void @test_kputl(ptr noundef nonnull %3, i64 noundef 37)
  call void @test_kputl(ptr noundef nonnull %3, i64 noundef 12345)
  call void @test_kputl(ptr noundef nonnull %3, i64 noundef -12345)
  call void @test_kputl(ptr noundef nonnull %3, i64 noundef 2147483647)
  call void @test_kputl(ptr noundef nonnull %3, i64 noundef -2147483647)
  call void @test_kputl(ptr noundef nonnull %3, i64 noundef -2147483648)
  call void @test_kputl(ptr noundef nonnull %3, i64 noundef 9223372036854775807)
  call void @test_kputl(ptr noundef nonnull %3, i64 noundef -9223372036854775807)
  call void @test_kputl(ptr noundef nonnull %3, i64 noundef -9223372036854775808)
  call void (ptr, ptr, ...) @test_kgetline(ptr noundef nonnull %3, ptr noundef nonnull @.str.7, ptr noundef null)
  call void (ptr, ptr, ...) @test_kgetline(ptr noundef nonnull %3, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.8, ptr noundef null)
  call void (ptr, ptr, ...) @test_kgetline(ptr noundef nonnull %3, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.10, ptr noundef null)
  call void (ptr, ptr, ...) @test_kgetline(ptr noundef nonnull %3, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.12, ptr noundef null)
  call void (ptr, ptr, ...) @test_kgetline(ptr noundef nonnull %3, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.7, ptr noundef null)
  call void (ptr, ptr, ...) @test_kgetline(ptr noundef nonnull %3, ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.7, ptr noundef null)
  call void (ptr, ptr, ...) @test_kgetline(ptr noundef nonnull %3, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.17, ptr noundef null)
  call void (ptr, ptr, ...) @test_kgetline(ptr noundef nonnull %3, ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.17, ptr noundef null)
  call void (ptr, ptr, ...) @test_kgetline(ptr noundef nonnull %3, ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.21, ptr noundef null)
  %5 = icmp sgt i32 %0, 1
  br i1 %5, label %6, label %17

6:                                                ; preds = %2
  %7 = getelementptr inbounds i8, ptr %1, i64 8
  %8 = load ptr, ptr %7, align 8, !tbaa !5
  %9 = call noalias ptr @fopen(ptr noundef %8, ptr noundef nonnull @.str.22)
  %.not = icmp eq ptr %9, null
  br i1 %.not, label %17, label %.preheader

.preheader:                                       ; preds = %6
  store i64 0, ptr %3, align 8, !tbaa !9
  %10 = call i32 @kgetline(ptr noundef nonnull %3, ptr noundef nonnull @fgets, ptr noundef nonnull %9) #6
  %11 = icmp eq i32 %10, 0
  br i1 %11, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader, %.lr.ph
  %12 = load ptr, ptr %4, align 8, !tbaa !12
  %13 = call i32 @puts(ptr noundef nonnull dereferenceable(1) %12)
  store i64 0, ptr %3, align 8, !tbaa !9
  %14 = call i32 @kgetline(ptr noundef nonnull %3, ptr noundef nonnull @fgets, ptr noundef nonnull %9) #6
  %15 = icmp eq i32 %14, 0
  br i1 %15, label %.lr.ph, label %._crit_edge, !llvm.loop !13

._crit_edge:                                      ; preds = %.lr.ph, %.preheader
  %16 = call i32 @fclose(ptr noundef nonnull %9)
  br label %17

17:                                               ; preds = %6, %._crit_edge, %2
  %18 = load ptr, ptr %4, align 8, !tbaa !12
  call void @free(ptr noundef %18) #6
  %19 = load i32, ptr @nfail, align 4, !tbaa !15
  %20 = icmp sgt i32 %19, 0
  br i1 %20, label %21, label %24

21:                                               ; preds = %17
  %22 = load ptr, ptr @stderr, align 8, !tbaa !5
  %23 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %22, ptr noundef nonnull @.str.23, i32 noundef %19) #7
  br label %24

24:                                               ; preds = %17, %21
  %.0 = phi i32 [ 1, %21 ], [ 0, %17 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  ret i32 %.0
}

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #0

; Function Attrs: nofree nounwind
declare noundef ptr @fgets(ptr noundef, i32 noundef, ptr nocapture noundef) #0

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

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #4

; 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 = { 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 #1 = { 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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) }
attributes #6 = { nounwind }
attributes #7 = { cold 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"__kstring_t", !11, i64 0, !11, i64 8, !6, i64 16}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !6, i64 16}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass