; LLVM IR from wrnlb666/yet-another-string-library-in-c :: yasli (str_split)

; 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.string_t = type { i64, i64, [1 x i8] }

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @str_resize(ptr noundef, i64 noundef) #1

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #2

; Function Attrs: nounwind
declare ptr @strcpy(ptr noundef, ptr noundef) #3

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

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #4

; Function Attrs: nounwind uwtable
define dso_local ptr @str_split(ptr noundef %0, ptr noundef %1) #5 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  %15 = call i64 @strlen(ptr noundef %14) #8
  store i64 %15, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.string_t, ptr %16, i32 0, i32 0
  %18 = load i64, ptr %17, align 8, !tbaa !11
  %19 = add i64 %18, 1
  %20 = mul i64 1, %19
  %21 = call noalias ptr @malloc(i64 noundef %20) #9
  store ptr %21, ptr %7, align 8, !tbaa !5
  %22 = load ptr, ptr %7, align 8, !tbaa !5
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.string_t, ptr %23, i32 0, i32 2
  %25 = getelementptr inbounds [1 x i8], ptr %24, i64 0, i64 0
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.string_t, ptr %26, i32 0, i32 0
  %28 = load i64, ptr %27, align 8, !tbaa !11
  %29 = add i64 %28, 1
  %30 = call ptr @strncpy(ptr noundef %22, ptr noundef %25, i64 noundef %29) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %31, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  store i64 16, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %32 = load i64, ptr %9, align 8, !tbaa !9
  %33 = mul i64 8, %32
  %34 = call noalias ptr @malloc(i64 noundef %33) #9
  store ptr %34, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  store i64 0, ptr %12, align 8, !tbaa !9
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = call ptr @strstr(ptr noundef %35, ptr noundef %36) #8
  store ptr %37, ptr %11, align 8, !tbaa !5
  br label %38

38:                                               ; preds = %82, %2
  %39 = load ptr, ptr %11, align 8, !tbaa !5
  %40 = icmp ne ptr %39, null
  br i1 %40, label %41, label %83

41:                                               ; preds = %38
  %42 = load ptr, ptr %11, align 8, !tbaa !5
  store i8 0, ptr %42, align 1, !tbaa !13
  %43 = load ptr, ptr %10, align 8, !tbaa !5
  %44 = load i64, ptr %12, align 8, !tbaa !9
  %45 = getelementptr inbounds ptr, ptr %43, i64 %44
  store ptr null, ptr %45, align 8, !tbaa !5
  %46 = load ptr, ptr %10, align 8, !tbaa !5
  %47 = load i64, ptr %12, align 8, !tbaa !9
  %48 = getelementptr inbounds ptr, ptr %46, i64 %47
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = call i64 @strlen(ptr noundef %49) #8
  %51 = call zeroext i1 @str_resize(ptr noundef %48, i64 noundef %50)
  br i1 %51, label %54, label %52

52:                                               ; preds = %41
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  call void @free(ptr noundef %53) #7
  store ptr null, ptr %3, align 8
  store i32 1, ptr %13, align 4
  br label %111

54:                                               ; preds = %41
  %55 = load ptr, ptr %10, align 8, !tbaa !5
  %56 = load i64, ptr %12, align 8, !tbaa !9
  %57 = getelementptr inbounds ptr, ptr %55, i64 %56
  %58 = load ptr, ptr %57, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.string_t, ptr %58, i32 0, i32 2
  %60 = getelementptr inbounds [1 x i8], ptr %59, i64 0, i64 0
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = call ptr @strcpy(ptr noundef %60, ptr noundef %61) #7
  %63 = load ptr, ptr %11, align 8, !tbaa !5
  %64 = load i64, ptr %6, align 8, !tbaa !9
  %65 = getelementptr inbounds i8, ptr %63, i64 %64
  store ptr %65, ptr %7, align 8, !tbaa !5
  %66 = load i64, ptr %12, align 8, !tbaa !9
  %67 = add i64 %66, 1
  store i64 %67, ptr %12, align 8, !tbaa !9
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = call ptr @strstr(ptr noundef %68, ptr noundef %69) #8
  store ptr %70, ptr %11, align 8, !tbaa !5
  %71 = load i64, ptr %12, align 8, !tbaa !9
  %72 = add i64 %71, 2
  %73 = load i64, ptr %9, align 8, !tbaa !9
  %74 = icmp eq i64 %72, %73
  br i1 %74, label %75, label %82

75:                                               ; preds = %54
  %76 = load i64, ptr %9, align 8, !tbaa !9
  %77 = add i64 %76, 16
  store i64 %77, ptr %9, align 8, !tbaa !9
  %78 = load ptr, ptr %10, align 8, !tbaa !5
  %79 = load i64, ptr %9, align 8, !tbaa !9
  %80 = mul i64 8, %79
  %81 = call ptr @realloc(ptr noundef %78, i64 noundef %80) #10
  store ptr %81, ptr %10, align 8, !tbaa !5
  br label %82

82:                                               ; preds = %75, %54
  br label %38, !llvm.loop !14

83:                                               ; preds = %38
  %84 = load ptr, ptr %10, align 8, !tbaa !5
  %85 = load i64, ptr %12, align 8, !tbaa !9
  %86 = getelementptr inbounds ptr, ptr %84, i64 %85
  store ptr null, ptr %86, align 8, !tbaa !5
  %87 = load ptr, ptr %10, align 8, !tbaa !5
  %88 = load i64, ptr %12, align 8, !tbaa !9
  %89 = getelementptr inbounds ptr, ptr %87, i64 %88
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  %91 = call i64 @strlen(ptr noundef %90) #8
  %92 = call zeroext i1 @str_resize(ptr noundef %89, i64 noundef %91)
  br i1 %92, label %95, label %93

93:                                               ; preds = %83
  %94 = load ptr, ptr %8, align 8, !tbaa !5
  call void @free(ptr noundef %94) #7
  store ptr null, ptr %3, align 8
  store i32 1, ptr %13, align 4
  br label %111

95:                                               ; preds = %83
  %96 = load ptr, ptr %10, align 8, !tbaa !5
  %97 = load i64, ptr %12, align 8, !tbaa !9
  %98 = getelementptr inbounds ptr, ptr %96, i64 %97
  %99 = load ptr, ptr %98, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.string_t, ptr %99, i32 0, i32 2
  %101 = getelementptr inbounds [1 x i8], ptr %100, i64 0, i64 0
  %102 = load ptr, ptr %7, align 8, !tbaa !5
  %103 = call ptr @strcpy(ptr noundef %101, ptr noundef %102) #7
  %104 = load i64, ptr %12, align 8, !tbaa !9
  %105 = add i64 %104, 1
  store i64 %105, ptr %12, align 8, !tbaa !9
  %106 = load ptr, ptr %10, align 8, !tbaa !5
  %107 = load i64, ptr %12, align 8, !tbaa !9
  %108 = getelementptr inbounds ptr, ptr %106, i64 %107
  store ptr null, ptr %108, align 8, !tbaa !5
  %109 = load ptr, ptr %8, align 8, !tbaa !5
  call void @free(ptr noundef %109) #7
  %110 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %110, ptr %3, align 8
  store i32 1, ptr %13, align 4
  br label %111

111:                                              ; preds = %95, %93, %52
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  %112 = load ptr, ptr %3, align 8
  ret ptr %112
}

; Function Attrs: nounwind
declare ptr @strncpy(ptr noundef, ptr noundef, i64 noundef) #3

; Function Attrs: nounwind willreturn memory(read)
declare ptr @strstr(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #6

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint 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 = { nounwind willreturn memory(read) "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 = { 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 #4 = { nounwind allocsize(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 #5 = { 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 #6 = { nounwind allocsize(1) "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 #7 = { nounwind }
attributes #8 = { nounwind willreturn memory(read) }
attributes #9 = { nounwind allocsize(0) }
attributes #10 = { nounwind allocsize(1) }

!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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"string_t", !10, i64 0, !10, i64 8, !7, i64 16}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"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"

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @str_resize(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly) local_unnamed_addr #2

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

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
define dso_local ptr @str_split(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #5 {
  %3 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #7
  %4 = load i64, ptr %0, align 8, !tbaa !5
  %5 = add i64 %4, 1
  %6 = tail call noalias ptr @malloc(i64 noundef %5) #8
  %7 = getelementptr inbounds i8, ptr %0, i64 16
  %8 = tail call ptr @strncpy(ptr noundef %6, ptr noundef nonnull %7, i64 noundef %5) #9
  %9 = tail call noalias dereferenceable_or_null(128) ptr @malloc(i64 noundef 128) #8
  %10 = tail call ptr @strstr(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) %1) #7
  %.not53 = icmp eq ptr %10, null
  br i1 %.not53, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %2, %27
  %.058 = phi i64 [ %19, %27 ], [ 0, %2 ]
  %.04457 = phi ptr [ %20, %27 ], [ %10, %2 ]
  %.04556 = phi ptr [ %.1, %27 ], [ %9, %2 ]
  %.04655 = phi i64 [ %.147, %27 ], [ 16, %2 ]
  %.04954 = phi ptr [ %18, %27 ], [ %6, %2 ]
  store i8 0, ptr %.04457, align 1, !tbaa !10
  %11 = getelementptr inbounds ptr, ptr %.04556, i64 %.058
  store ptr null, ptr %11, align 8, !tbaa !11
  %12 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %.04954) #7
  %13 = tail call zeroext i1 @str_resize(ptr noundef nonnull %11, i64 noundef %12)
  br i1 %13, label %14, label %.loopexit

14:                                               ; preds = %.lr.ph
  %15 = load ptr, ptr %11, align 8, !tbaa !11
  %16 = getelementptr inbounds i8, ptr %15, i64 16
  %17 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %16, ptr noundef nonnull dereferenceable(1) %.04954) #9
  %18 = getelementptr inbounds i8, ptr %.04457, i64 %3
  %19 = add i64 %.058, 1
  %20 = tail call ptr @strstr(ptr noundef nonnull dereferenceable(1) %18, ptr noundef nonnull dereferenceable(1) %1) #7
  %21 = add i64 %.058, 3
  %22 = icmp eq i64 %21, %.04655
  br i1 %22, label %23, label %27

23:                                               ; preds = %14
  %24 = add i64 %.04655, 16
  %25 = shl i64 %24, 3
  %26 = tail call ptr @realloc(ptr noundef nonnull %.04556, i64 noundef %25) #10
  br label %27

27:                                               ; preds = %23, %14
  %.147 = phi i64 [ %24, %23 ], [ %.04655, %14 ]
  %.1 = phi ptr [ %26, %23 ], [ %.04556, %14 ]
  %.not = icmp eq ptr %20, null
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !13

._crit_edge:                                      ; preds = %27, %2
  %.049.lcssa = phi ptr [ %6, %2 ], [ %18, %27 ]
  %.045.lcssa = phi ptr [ %9, %2 ], [ %.1, %27 ]
  %.0.lcssa = phi i64 [ 0, %2 ], [ %19, %27 ]
  %28 = getelementptr inbounds ptr, ptr %.045.lcssa, i64 %.0.lcssa
  store ptr null, ptr %28, align 8, !tbaa !11
  %29 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %.049.lcssa) #7
  %30 = tail call zeroext i1 @str_resize(ptr noundef nonnull %28, i64 noundef %29)
  br i1 %30, label %31, label %.loopexit

31:                                               ; preds = %._crit_edge
  %32 = load ptr, ptr %28, align 8, !tbaa !11
  %33 = getelementptr inbounds i8, ptr %32, i64 16
  %34 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %33, ptr noundef nonnull dereferenceable(1) %.049.lcssa) #9
  %35 = add i64 %.0.lcssa, 1
  %36 = getelementptr inbounds ptr, ptr %.045.lcssa, i64 %35
  store ptr null, ptr %36, align 8, !tbaa !11
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph, %._crit_edge, %31
  %.048 = phi ptr [ %.045.lcssa, %31 ], [ null, %._crit_edge ], [ null, %.lr.ph ]
  tail call void @free(ptr noundef %6) #9
  ret ptr %.048
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strncpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly, i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare ptr @strstr(ptr noundef, ptr nocapture noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #6

attributes #0 = { inlinehint 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 nofree nounwind willreturn memory(argmem: read) "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 nofree nounwind willreturn memory(argmem: readwrite) "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 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 #4 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(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 = { 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 #6 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) 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 #7 = { nounwind willreturn memory(read) }
attributes #8 = { nounwind allocsize(0) }
attributes #9 = { nounwind }
attributes #10 = { nounwind allocsize(1) }

!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, !7, i64 0}
!6 = !{!"string_t", !7, i64 0, !7, i64 8, !8, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass