; LLVM IR from niessner/Matterport :: code/gaps/pkgs/R3Shapes/R3Grid.ll (ZNK6R3Grid12GridCentroidEv)

; 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.R3Point = type { [3 x double] }
%class.R3Vector = type { [3 x double] }
%class.R3Grid = type { %class.R3Affine, %class.R3Affine, double, double, ptr, [3 x i32], i32, i32, i32 }
%class.R3Affine = type { %class.R3Transformation, %class.R4Matrix, %class.R4Matrix, %class.RNFlags }
%class.R3Transformation = type { ptr }
%class.R4Matrix = type { [4 x [4 x double]] }
%class.RNFlags = type { i64 }

; 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: mustprogress uwtable
define dso_local void @_ZNK6R3Grid12GridCentroidEv(ptr dead_on_unwind noalias writable sret(%class.R3Point) align 8 %0, ptr noundef nonnull align 8 dereferenceable(592) %1) #1 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca double, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %class.R3Vector, align 8
  %12 = alloca double, align 8
  %13 = alloca %class.R3Vector, align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %14 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  store double 0.000000e+00, ptr %5, align 8, !tbaa !9
  call void @_ZN7R3PointC1Eddd(ptr noundef nonnull align 8 dereferenceable(24) %0, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %15 = getelementptr inbounds %class.R3Grid, ptr %14, i32 0, i32 4
  %16 = load ptr, ptr %15, align 8, !tbaa !11
  store ptr %16, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !19
  br label %17

17:                                               ; preds = %63, %2
  %18 = load i32, ptr %7, align 4, !tbaa !19
  %19 = getelementptr inbounds %class.R3Grid, ptr %14, i32 0, i32 5
  %20 = getelementptr inbounds [3 x i32], ptr %19, i64 0, i64 2
  %21 = load i32, ptr %20, align 8, !tbaa !19
  %22 = icmp slt i32 %18, %21
  br i1 %22, label %24, label %23

23:                                               ; preds = %17
  store i32 2, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %66

24:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !19
  br label %25

25:                                               ; preds = %59, %24
  %26 = load i32, ptr %9, align 4, !tbaa !19
  %27 = getelementptr inbounds %class.R3Grid, ptr %14, i32 0, i32 5
  %28 = getelementptr inbounds [3 x i32], ptr %27, i64 0, i64 1
  %29 = load i32, ptr %28, align 4, !tbaa !19
  %30 = icmp slt i32 %26, %29
  br i1 %30, label %32, label %31

31:                                               ; preds = %25
  store i32 5, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %62

32:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !19
  br label %33

33:                                               ; preds = %55, %32
  %34 = load i32, ptr %10, align 4, !tbaa !19
  %35 = getelementptr inbounds %class.R3Grid, ptr %14, i32 0, i32 5
  %36 = getelementptr inbounds [3 x i32], ptr %35, i64 0, i64 0
  %37 = load i32, ptr %36, align 8, !tbaa !19
  %38 = icmp slt i32 %34, %37
  br i1 %38, label %40, label %39

39:                                               ; preds = %33
  store i32 8, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %58

40:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #4
  %41 = load i32, ptr %10, align 4, !tbaa !19
  %42 = sitofp i32 %41 to double
  %43 = load i32, ptr %9, align 4, !tbaa !19
  %44 = sitofp i32 %43 to double
  %45 = load i32, ptr %7, align 4, !tbaa !19
  %46 = sitofp i32 %45 to double
  call void @_ZN8R3VectorC1Eddd(ptr noundef nonnull align 8 dereferenceable(24) %11, double noundef %42, double noundef %44, double noundef %46)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = getelementptr inbounds double, ptr %47, i32 1
  store ptr %48, ptr %6, align 8, !tbaa !5
  %49 = load double, ptr %47, align 8, !tbaa !9
  store double %49, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #4
  %50 = load double, ptr %12, align 8, !tbaa !9
  call void @_ZmldRK8R3Vector(ptr dead_on_unwind writable sret(%class.R3Vector) align 8 %13, double noundef %50, ptr noundef nonnull align 8 dereferenceable(24) %11)
  %51 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN7R3PointpLERK8R3Vector(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %13)
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #4
  %52 = load double, ptr %12, align 8, !tbaa !9
  %53 = load double, ptr %5, align 8, !tbaa !9
  %54 = fadd double %53, %52
  store double %54, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #4
  br label %55

55:                                               ; preds = %40
  %56 = load i32, ptr %10, align 4, !tbaa !19
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr %10, align 4, !tbaa !19
  br label %33, !llvm.loop !20

58:                                               ; preds = %39
  br label %59

59:                                               ; preds = %58
  %60 = load i32, ptr %9, align 4, !tbaa !19
  %61 = add nsw i32 %60, 1
  store i32 %61, ptr %9, align 4, !tbaa !19
  br label %25, !llvm.loop !22

62:                                               ; preds = %31
  br label %63

63:                                               ; preds = %62
  %64 = load i32, ptr %7, align 4, !tbaa !19
  %65 = add nsw i32 %64, 1
  store i32 %65, ptr %7, align 4, !tbaa !19
  br label %17, !llvm.loop !23

66:                                               ; preds = %23
  %67 = load double, ptr %5, align 8, !tbaa !9
  %68 = fcmp ogt double %67, 0.000000e+00
  br i1 %68, label %69, label %72

69:                                               ; preds = %66
  %70 = load double, ptr %5, align 8, !tbaa !9
  %71 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN7R3PointdVEd(ptr noundef nonnull align 8 dereferenceable(24) %0, double noundef %70)
  br label %72

72:                                               ; preds = %69, %66
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  ret void
}

declare void @_ZN7R3PointC1Eddd(ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, double noundef) unnamed_addr #2

declare void @_ZN8R3VectorC1Eddd(ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, double noundef) unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZmldRK8R3Vector(ptr dead_on_unwind noalias writable sret(%class.R3Vector) align 8, double noundef, ptr noundef nonnull align 8 dereferenceable(24)) #3

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN7R3PointpLERK8R3Vector(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #2

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN7R3PointdVEd(ptr noundef nonnull align 8 dereferenceable(24), double noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 = !{!"double", !7, i64 0}
!11 = !{!12, !6, i64 560}
!12 = !{!"_ZTS6R3Grid", !13, i64 0, !13, i64 272, !10, i64 544, !10, i64 552, !6, i64 560, !7, i64 568, !18, i64 580, !18, i64 584, !18, i64 588}
!13 = !{!"_ZTS8R3Affine", !14, i64 0, !15, i64 8, !15, i64 136, !16, i64 264}
!14 = !{!"_ZTS16R3Transformation"}
!15 = !{!"_ZTS8R4Matrix", !7, i64 0}
!16 = !{!"_ZTS7RNFlags", !17, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!"int", !7, i64 0}
!19 = !{!18, !18, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = distinct !{!23, !21}


; 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.R3Point = type { [3 x double] }
%class.R3Vector = type { [3 x double] }

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK6R3Grid12GridCentroidEv(ptr dead_on_unwind noalias nonnull writable sret(%class.R3Point) align 8 %0, ptr nocapture noundef nonnull readonly align 8 dereferenceable(592) %1) local_unnamed_addr #1 align 2 {
  %3 = alloca %class.R3Vector, align 8
  %4 = alloca %class.R3Vector, align 8
  tail call void @_ZN7R3PointC1Eddd(ptr noundef nonnull align 8 dereferenceable(24) %0, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %5 = getelementptr inbounds i8, ptr %1, i64 568
  %6 = getelementptr inbounds i8, ptr %1, i64 576
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = icmp sgt i32 %7, 0
  br i1 %8, label %.preheader21.lr.ph, label %._crit_edge36.thread

.preheader21.lr.ph:                               ; preds = %2
  %9 = getelementptr inbounds i8, ptr %1, i64 572
  %10 = load i32, ptr %9, align 4, !tbaa !5
  %11 = icmp sgt i32 %10, 0
  br i1 %11, label %.preheader21.preheader, label %._crit_edge36.thread

.preheader21.preheader:                           ; preds = %.preheader21.lr.ph
  %12 = getelementptr inbounds i8, ptr %1, i64 560
  %13 = load ptr, ptr %12, align 8, !tbaa !9
  br label %.preheader21

.preheader21:                                     ; preds = %.preheader21.preheader, %._crit_edge29
  %14 = phi i32 [ %26, %._crit_edge29 ], [ %7, %.preheader21.preheader ]
  %15 = phi i32 [ %27, %._crit_edge29 ], [ %10, %.preheader21.preheader ]
  %16 = phi i32 [ %28, %._crit_edge29 ], [ %10, %.preheader21.preheader ]
  %.035 = phi double [ %.1.lcssa, %._crit_edge29 ], [ 0.000000e+00, %.preheader21.preheader ]
  %.01734 = phi i32 [ %29, %._crit_edge29 ], [ 0, %.preheader21.preheader ]
  %.01833 = phi ptr [ %.119.lcssa, %._crit_edge29 ], [ %13, %.preheader21.preheader ]
  %17 = icmp sgt i32 %16, 0
  br i1 %17, label %.preheader.lr.ph, label %._crit_edge29

.preheader.lr.ph:                                 ; preds = %.preheader21
  %18 = uitofp nneg i32 %.01734 to double
  %19 = load i32, ptr %5, align 8, !tbaa !5
  %20 = icmp sgt i32 %19, 0
  br i1 %20, label %.preheader, label %._crit_edge29

._crit_edge36:                                    ; preds = %._crit_edge29
  %21 = fcmp ogt double %.1.lcssa, 0.000000e+00
  br i1 %21, label %44, label %._crit_edge36.thread

.preheader:                                       ; preds = %.preheader.lr.ph, %._crit_edge
  %22 = phi i32 [ %31, %._crit_edge ], [ %15, %.preheader.lr.ph ]
  %23 = phi i32 [ %32, %._crit_edge ], [ %19, %.preheader.lr.ph ]
  %.128 = phi double [ %.2.lcssa, %._crit_edge ], [ %.035, %.preheader.lr.ph ]
  %.01627 = phi i32 [ %33, %._crit_edge ], [ 0, %.preheader.lr.ph ]
  %.11926 = phi ptr [ %.220.lcssa, %._crit_edge ], [ %.01833, %.preheader.lr.ph ]
  %24 = icmp sgt i32 %23, 0
  br i1 %24, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader
  %25 = uitofp nneg i32 %.01627 to double
  br label %35

._crit_edge29.loopexit:                           ; preds = %._crit_edge
  %.pre42 = load i32, ptr %6, align 8, !tbaa !5
  br label %._crit_edge29

._crit_edge29:                                    ; preds = %.preheader.lr.ph, %._crit_edge29.loopexit, %.preheader21
  %26 = phi i32 [ %14, %.preheader21 ], [ %.pre42, %._crit_edge29.loopexit ], [ %14, %.preheader.lr.ph ]
  %27 = phi i32 [ %15, %.preheader21 ], [ %31, %._crit_edge29.loopexit ], [ %15, %.preheader.lr.ph ]
  %28 = phi i32 [ %16, %.preheader21 ], [ %31, %._crit_edge29.loopexit ], [ %16, %.preheader.lr.ph ]
  %.119.lcssa = phi ptr [ %.01833, %.preheader21 ], [ %.220.lcssa, %._crit_edge29.loopexit ], [ %.01833, %.preheader.lr.ph ]
  %.1.lcssa = phi double [ %.035, %.preheader21 ], [ %.2.lcssa, %._crit_edge29.loopexit ], [ %.035, %.preheader.lr.ph ]
  %29 = add nuw nsw i32 %.01734, 1
  %30 = icmp slt i32 %29, %26
  br i1 %30, label %.preheader21, label %._crit_edge36, !llvm.loop !18

._crit_edge.loopexit:                             ; preds = %35
  %.pre = load i32, ptr %9, align 4, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader
  %31 = phi i32 [ %22, %.preheader ], [ %.pre, %._crit_edge.loopexit ]
  %32 = phi i32 [ %23, %.preheader ], [ %42, %._crit_edge.loopexit ]
  %.220.lcssa = phi ptr [ %.11926, %.preheader ], [ %37, %._crit_edge.loopexit ]
  %.2.lcssa = phi double [ %.128, %.preheader ], [ %40, %._crit_edge.loopexit ]
  %33 = add nuw nsw i32 %.01627, 1
  %34 = icmp slt i32 %33, %31
  br i1 %34, label %.preheader, label %._crit_edge29.loopexit, !llvm.loop !21

35:                                               ; preds = %.lr.ph, %35
  %.224 = phi double [ %.128, %.lr.ph ], [ %40, %35 ]
  %.01523 = phi i32 [ 0, %.lr.ph ], [ %41, %35 ]
  %.22022 = phi ptr [ %.11926, %.lr.ph ], [ %37, %35 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #4
  %36 = uitofp nneg i32 %.01523 to double
  call void @_ZN8R3VectorC1Eddd(ptr noundef nonnull align 8 dereferenceable(24) %3, double noundef %36, double noundef %25, double noundef %18)
  %37 = getelementptr inbounds i8, ptr %.22022, i64 8
  %38 = load double, ptr %.22022, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #4
  call void @_ZmldRK8R3Vector(ptr dead_on_unwind nonnull writable sret(%class.R3Vector) align 8 %4, double noundef %38, ptr noundef nonnull align 8 dereferenceable(24) %3)
  %39 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN7R3PointpLERK8R3Vector(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %4)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #4
  %40 = fadd double %.224, %38
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #4
  %41 = add nuw nsw i32 %.01523, 1
  %42 = load i32, ptr %5, align 8, !tbaa !5
  %43 = icmp slt i32 %41, %42
  br i1 %43, label %35, label %._crit_edge.loopexit, !llvm.loop !23

44:                                               ; preds = %._crit_edge36
  %45 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN7R3PointdVEd(ptr noundef nonnull align 8 dereferenceable(24) %0, double noundef %.1.lcssa)
  br label %._crit_edge36.thread

._crit_edge36.thread:                             ; preds = %.preheader21.lr.ph, %2, %44, %._crit_edge36
  ret void
}

declare void @_ZN7R3PointC1Eddd(ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, double noundef) unnamed_addr #2

declare void @_ZN8R3VectorC1Eddd(ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, double noundef) unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZmldRK8R3Vector(ptr dead_on_unwind noalias writable sret(%class.R3Vector) align 8, double noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN7R3PointpLERK8R3Vector(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN7R3PointdVEd(ptr noundef nonnull align 8 dereferenceable(24), double noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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, !17, i64 560}
!10 = !{!"_ZTS6R3Grid", !11, i64 0, !11, i64 272, !16, i64 544, !16, i64 552, !17, i64 560, !7, i64 568, !6, i64 580, !6, i64 584, !6, i64 588}
!11 = !{!"_ZTS8R3Affine", !12, i64 0, !13, i64 8, !13, i64 136, !14, i64 264}
!12 = !{!"_ZTS16R3Transformation"}
!13 = !{!"_ZTS8R4Matrix", !7, i64 0}
!14 = !{!"_ZTS7RNFlags", !15, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!"double", !7, i64 0}
!17 = !{!"any pointer", !7, i64 0}
!18 = distinct !{!18, !19, !20}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!"llvm.loop.unswitch.partial.disable"}
!21 = distinct !{!21, !19, !20}
!22 = !{!16, !16, i64 0}
!23 = distinct !{!23, !19}


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