; LLVM IR from PetarV-/Algorithms :: Dynamic Programming (Segmented Least Squares)

; 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.Point = type { i32, i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Segment, std::allocator<Segment>>::_Vector_impl" }
%"struct.std::_Vector_base<Segment, std::allocator<Segment>>::_Vector_impl" = type { %"struct.std::_Vector_base<Segment, std::allocator<Segment>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Segment, std::allocator<Segment>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.Segment = type { double, double, double, double }

@n = external dso_local global i32, align 4
@c = external dso_local global i32, align 4
@pts = external dso_local global [501 x %struct.Point], align 16
@ret = external dso_local global %"class.std::vector", align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@stdin = external global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@stdout = external global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [13 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = 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
  %7 = load ptr, ptr %5, align 8, !tbaa !9
  %8 = getelementptr inbounds ptr, ptr %7, i64 1
  %9 = load ptr, ptr %8, align 8, !tbaa !9
  %10 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %9, ptr noundef @.str, ptr noundef @c) #7
  %11 = load ptr, ptr @stdin, align 8, !tbaa !9
  %12 = call ptr @freopen(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef %11)
  br label %13

13:                                               ; preds = %24, %2
  %14 = load i32, ptr @n, align 4, !tbaa !5
  %15 = sext i32 %14 to i64
  %16 = getelementptr inbounds [501 x %struct.Point], ptr @pts, i64 0, i64 %15
  %17 = getelementptr inbounds %struct.Point, ptr %16, i32 0, i32 0
  %18 = load i32, ptr @n, align 4, !tbaa !5
  %19 = sext i32 %18 to i64
  %20 = getelementptr inbounds [501 x %struct.Point], ptr @pts, i64 0, i64 %19
  %21 = getelementptr inbounds %struct.Point, ptr %20, i32 0, i32 1
  %22 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.4, ptr noundef %17, ptr noundef %21)
  %23 = icmp eq i32 %22, 2
  br i1 %23, label %24, label %27

24:                                               ; preds = %13
  %25 = load i32, ptr @n, align 4, !tbaa !5
  %26 = add nsw i32 %25, 1
  store i32 %26, ptr @n, align 4, !tbaa !5
  br label %13, !llvm.loop !11

27:                                               ; preds = %13
  %28 = load i32, ptr @n, align 4, !tbaa !5
  %29 = add nsw i32 %28, -1
  store i32 %29, ptr @n, align 4, !tbaa !5
  call void @_Z12Precalculatev()
  %30 = call noundef double @_Z21SegmentedLeastSquaresv()
  %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %30)
  %32 = load ptr, ptr @stdout, align 8, !tbaa !9
  %33 = call ptr @freopen(ptr noundef @.str.6, ptr noundef @.str.7, ptr noundef %32)
  call void @_Z11getSegmentsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %34

34:                                               ; preds = %66, %27
  %35 = load i32, ptr %6, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  %37 = call noundef i64 @_ZNKSt6vectorI7SegmentSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @ret) #7
  %38 = icmp ult i64 %36, %37
  br i1 %38, label %40, label %39

39:                                               ; preds = %34
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  br label %69

40:                                               ; preds = %34
  %41 = load i32, ptr %6, align 4, !tbaa !5
  %42 = sext i32 %41 to i64
  %43 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7SegmentSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @ret, i64 noundef %42) #7
  %44 = getelementptr inbounds %struct.Segment, ptr %43, i32 0, i32 0
  %45 = load double, ptr %44, align 8, !tbaa !13
  %46 = fptosi double %45 to i32
  %47 = load i32, ptr %6, align 4, !tbaa !5
  %48 = sext i32 %47 to i64
  %49 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7SegmentSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @ret, i64 noundef %48) #7
  %50 = getelementptr inbounds %struct.Segment, ptr %49, i32 0, i32 1
  %51 = load double, ptr %50, align 8, !tbaa !16
  %52 = fptosi double %51 to i32
  %53 = load i32, ptr %6, align 4, !tbaa !5
  %54 = sext i32 %53 to i64
  %55 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7SegmentSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @ret, i64 noundef %54) #7
  %56 = getelementptr inbounds %struct.Segment, ptr %55, i32 0, i32 2
  %57 = load double, ptr %56, align 8, !tbaa !17
  %58 = fptosi double %57 to i32
  %59 = load i32, ptr %6, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  %61 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7SegmentSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @ret, i64 noundef %60) #7
  %62 = getelementptr inbounds %struct.Segment, ptr %61, i32 0, i32 3
  %63 = load double, ptr %62, align 8, !tbaa !18
  %64 = fptosi double %63 to i32
  %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %46, i32 noundef %52, i32 noundef %58, i32 noundef %64)
  br label %66

66:                                               ; preds = %40
  %67 = load i32, ptr %6, align 4, !tbaa !5
  %68 = add nsw i32 %67, 1
  store i32 %68, ptr %6, align 4, !tbaa !5
  br label %34, !llvm.loop !19

69:                                               ; preds = %39
  ret i32 0
}

; Function Attrs: nounwind
declare i32 @__isoc99_sscanf(ptr noundef, ptr noundef, ...) #1

declare ptr @freopen(ptr noundef, ptr noundef, ptr noundef) #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z12Precalculatev() #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_Z21SegmentedLeastSquaresv() #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z11getSegmentsv() #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorI7SegmentSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7SegmentSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #6 align 2

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

attributes #0 = { 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 #1 = { 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 #2 = { "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 = { 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 #4 = { inlinehint 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 #5 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { 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 #7 = { 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 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !15, i64 0}
!14 = !{!"_ZTS7Segment", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24}
!15 = !{!"double", !7, i64 0}
!16 = !{!14, !15, i64 8}
!17 = !{!14, !15, i64 16}
!18 = !{!14, !15, i64 24}
!19 = distinct !{!19, !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"

%struct.Point = type { i32, i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Segment, std::allocator<Segment>>::_Vector_impl" }
%"struct.std::_Vector_base<Segment, std::allocator<Segment>>::_Vector_impl" = type { %"struct.std::_Vector_base<Segment, std::allocator<Segment>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Segment, std::allocator<Segment>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@n = external dso_local local_unnamed_addr global i32, align 4
@c = external dso_local global i32, align 4
@pts = external dso_local global [501 x %struct.Point], align 16
@ret = external dso_local global %"class.std::vector", align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@stdin = external local_unnamed_addr global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [13 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
  %3 = getelementptr inbounds i8, ptr %1, i64 8
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  %5 = tail call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %4, ptr noundef nonnull @.str, ptr noundef nonnull @c) #6
  %6 = load ptr, ptr @stdin, align 8, !tbaa !5
  %7 = tail call ptr @freopen(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, ptr noundef %6)
  %8 = load i32, ptr @n, align 4, !tbaa !9
  %9 = sext i32 %8 to i64
  %10 = getelementptr inbounds [501 x %struct.Point], ptr @pts, i64 0, i64 %9
  %11 = getelementptr inbounds i8, ptr %10, i64 4
  %12 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.4, ptr noundef nonnull %10, ptr noundef nonnull %11)
  %13 = icmp eq i32 %12, 2
  br i1 %13, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %2, %.lr.ph
  %14 = load i32, ptr @n, align 4, !tbaa !9
  %15 = add nsw i32 %14, 1
  store i32 %15, ptr @n, align 4, !tbaa !9
  %16 = sext i32 %15 to i64
  %17 = getelementptr inbounds [501 x %struct.Point], ptr @pts, i64 0, i64 %16
  %18 = getelementptr inbounds i8, ptr %17, i64 4
  %19 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.4, ptr noundef nonnull %17, ptr noundef nonnull %18)
  %20 = icmp eq i32 %19, 2
  br i1 %20, label %.lr.ph, label %._crit_edge, !llvm.loop !11

._crit_edge:                                      ; preds = %.lr.ph, %2
  %21 = load i32, ptr @n, align 4, !tbaa !9
  %22 = add nsw i32 %21, -1
  store i32 %22, ptr @n, align 4, !tbaa !9
  tail call void @_Z12Precalculatev()
  %23 = tail call noundef double @_Z21SegmentedLeastSquaresv()
  %24 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, double noundef %23)
  %25 = load ptr, ptr @stdout, align 8, !tbaa !5
  %26 = tail call ptr @freopen(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.7, ptr noundef %25)
  tail call void @_Z11getSegmentsv()
  %27 = tail call noundef i64 @_ZNKSt6vectorI7SegmentSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @ret) #6
  %.not = icmp eq i64 %27, 0
  br i1 %.not, label %._crit_edge10, label %.lr.ph9

._crit_edge10:                                    ; preds = %.lr.ph9, %._crit_edge
  ret i32 0

.lr.ph9:                                          ; preds = %._crit_edge, %.lr.ph9
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph9 ], [ 0, %._crit_edge ]
  %28 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7SegmentSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @ret, i64 noundef %indvars.iv) #6
  %29 = load double, ptr %28, align 8, !tbaa !13
  %30 = fptosi double %29 to i32
  %31 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7SegmentSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @ret, i64 noundef %indvars.iv) #6
  %32 = getelementptr inbounds i8, ptr %31, i64 8
  %33 = load double, ptr %32, align 8, !tbaa !16
  %34 = fptosi double %33 to i32
  %35 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7SegmentSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @ret, i64 noundef %indvars.iv) #6
  %36 = getelementptr inbounds i8, ptr %35, i64 16
  %37 = load double, ptr %36, align 8, !tbaa !17
  %38 = fptosi double %37 to i32
  %39 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7SegmentSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @ret, i64 noundef %indvars.iv) #6
  %40 = getelementptr inbounds i8, ptr %39, i64 24
  %41 = load double, ptr %40, align 8, !tbaa !18
  %42 = fptosi double %41 to i32
  %43 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, i32 noundef %30, i32 noundef %34, i32 noundef %38, i32 noundef %42)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %44 = tail call noundef i64 @_ZNKSt6vectorI7SegmentSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @ret) #6
  %45 = icmp ugt i64 %44, %indvars.iv.next
  br i1 %45, label %.lr.ph9, label %._crit_edge10, !llvm.loop !19
}

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

declare ptr @freopen(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z12Precalculatev() local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_Z21SegmentedLeastSquaresv() local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z11getSegmentsv() local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorI7SegmentSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7SegmentSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #5 align 2

attributes #0 = { 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 #1 = { 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 #2 = { "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 = { 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 #4 = { inlinehint 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 #5 = { 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 #6 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !15, i64 0}
!14 = !{!"_ZTS7Segment", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24}
!15 = !{!"double", !7, i64 0}
!16 = !{!14, !15, i64 8}
!17 = !{!14, !15, i64 16}
!18 = !{!14, !15, i64 24}
!19 = distinct !{!19, !12}


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