; LLVM IR from niessner/Matterport :: code/gaps/pkgs/R2Shapes/R2Image.ll (ZN7R2ImageaSERKS_)

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

@.str = external hidden unnamed_addr constant [41 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [13 x i8], align 1

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #1

declare void @_Z7RNAbortPKcz(ptr noundef, ...) #2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN7R2ImageaSERKS_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) #4 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %8 = load ptr, ptr %3, align 8
  %9 = load ptr, ptr %4, align 8, !tbaa !5
  %10 = getelementptr inbounds %class.R2Image, ptr %9, i32 0, i32 0
  %11 = load i32, ptr %10, align 8, !tbaa !9
  %12 = getelementptr inbounds %class.R2Image, ptr %8, i32 0, i32 0
  store i32 %11, ptr %12, align 8, !tbaa !9
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  %14 = getelementptr inbounds %class.R2Image, ptr %13, i32 0, i32 1
  %15 = load i32, ptr %14, align 4, !tbaa !12
  %16 = getelementptr inbounds %class.R2Image, ptr %8, i32 0, i32 1
  store i32 %15, ptr %16, align 4, !tbaa !12
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = getelementptr inbounds %class.R2Image, ptr %17, i32 0, i32 2
  %19 = load i32, ptr %18, align 8, !tbaa !13
  %20 = getelementptr inbounds %class.R2Image, ptr %8, i32 0, i32 2
  store i32 %19, ptr %20, align 8, !tbaa !13
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = getelementptr inbounds %class.R2Image, ptr %21, i32 0, i32 3
  %23 = load i32, ptr %22, align 4, !tbaa !14
  %24 = getelementptr inbounds %class.R2Image, ptr %8, i32 0, i32 3
  store i32 %23, ptr %24, align 4, !tbaa !14
  %25 = getelementptr inbounds %class.R2Image, ptr %8, i32 0, i32 4
  %26 = load ptr, ptr %25, align 8, !tbaa !15
  %27 = icmp ne ptr %26, null
  br i1 %27, label %28, label %34

28:                                               ; preds = %2
  %29 = getelementptr inbounds %class.R2Image, ptr %8, i32 0, i32 4
  %30 = load ptr, ptr %29, align 8, !tbaa !15
  %31 = icmp eq ptr %30, null
  br i1 %31, label %33, label %32

32:                                               ; preds = %28
  call void @_ZdaPv(ptr noundef %30) #5
  br label %33

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

34:                                               ; preds = %33, %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  %35 = getelementptr inbounds %class.R2Image, ptr %8, i32 0, i32 3
  %36 = load i32, ptr %35, align 4, !tbaa !14
  %37 = getelementptr inbounds %class.R2Image, ptr %8, i32 0, i32 1
  %38 = load i32, ptr %37, align 4, !tbaa !12
  %39 = mul nsw i32 %36, %38
  store i32 %39, ptr %5, align 4, !tbaa !16
  %40 = load i32, ptr %5, align 4, !tbaa !16
  %41 = sext i32 %40 to i64
  %42 = call noalias noundef nonnull ptr @_Znam(i64 noundef %41) #7
  %43 = getelementptr inbounds %class.R2Image, ptr %8, i32 0, i32 4
  store ptr %42, ptr %43, align 8, !tbaa !15
  %44 = getelementptr inbounds %class.R2Image, ptr %8, i32 0, i32 4
  %45 = load ptr, ptr %44, align 8, !tbaa !15
  %46 = icmp ne ptr %45, null
  br i1 %46, label %48, label %47

47:                                               ; preds = %34
  call void (ptr, ...) @_Z7RNAbortPKcz(ptr noundef @.str, ptr noundef @.str.7, i32 noundef 191, ptr noundef @.str.2)
  br label %48

48:                                               ; preds = %47, %34
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %49 = getelementptr inbounds %class.R2Image, ptr %8, i32 0, i32 4
  %50 = load ptr, ptr %49, align 8, !tbaa !15
  store ptr %50, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = getelementptr inbounds %class.R2Image, ptr %51, i32 0, i32 4
  %53 = load ptr, ptr %52, align 8, !tbaa !15
  store ptr %53, ptr %7, align 8, !tbaa !5
  br label %54

54:                                               ; preds = %58, %48
  %55 = load i32, ptr %5, align 4, !tbaa !16
  %56 = add nsw i32 %55, -1
  store i32 %56, ptr %5, align 4, !tbaa !16
  %57 = icmp ne i32 %56, 0
  br i1 %57, label %58, label %64

58:                                               ; preds = %54
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = getelementptr inbounds i8, ptr %59, i32 1
  store ptr %60, ptr %7, align 8, !tbaa !5
  %61 = load i8, ptr %59, align 1, !tbaa !17
  %62 = load ptr, ptr %6, align 8, !tbaa !5
  %63 = getelementptr inbounds i8, ptr %62, i32 1
  store ptr %63, ptr %6, align 8, !tbaa !5
  store i8 %61, ptr %62, align 1, !tbaa !17
  br label %54, !llvm.loop !18

64:                                               ; preds = %54
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  ret ptr %8
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nobuiltin 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 #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 = { nobuiltin 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 = { 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 #5 = { builtin nounwind }
attributes #6 = { nounwind }
attributes #7 = { builtin allocsize(0) }

!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, !11, i64 0}
!10 = !{!"_ZTS7R2Image", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !6, i64 16}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 4}
!13 = !{!10, !11, i64 8}
!14 = !{!10, !11, i64 12}
!15 = !{!10, !6, i64 16}
!16 = !{!11, !11, i64 0}
!17 = !{!7, !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"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: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #0

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN7R2ImageaSERKS_(ptr noundef nonnull returned align 8 dereferenceable(24) %0, ptr nocapture noundef nonnull readonly align 8 dereferenceable(24) %1) local_unnamed_addr #2 align 2 {
  %3 = load <4 x i32>, ptr %1, align 8, !tbaa !5
  store <4 x i32> %3, ptr %0, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %0, i64 16
  %5 = load ptr, ptr %4, align 8, !tbaa !9
  %.not = icmp eq ptr %5, null
  %6 = extractelement <4 x i32> %3, i64 1
  %7 = extractelement <4 x i32> %3, i64 3
  br i1 %.not, label %11, label %8

8:                                                ; preds = %2
  %9 = getelementptr inbounds i8, ptr %0, i64 12
  %10 = getelementptr inbounds i8, ptr %0, i64 4
  tail call void @_ZdaPv(ptr noundef nonnull %5) #3
  %.pre = load i32, ptr %9, align 4, !tbaa !12
  %.pre17 = load i32, ptr %10, align 4, !tbaa !13
  br label %11

11:                                               ; preds = %8, %2
  %12 = phi i32 [ %.pre17, %8 ], [ %6, %2 ]
  %13 = phi i32 [ %.pre, %8 ], [ %7, %2 ]
  %14 = mul nsw i32 %12, %13
  %15 = sext i32 %14 to i64
  %16 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %15) #4
  store ptr %16, ptr %4, align 8, !tbaa !9
  %17 = add nsw i32 %14, -1
  %.not1314 = icmp eq i32 %17, 0
  br i1 %.not1314, label %._crit_edge, label %iter.check

iter.check:                                       ; preds = %11
  %18 = ptrtoint ptr %16 to i64
  %19 = getelementptr inbounds i8, ptr %1, i64 16
  %20 = load ptr, ptr %19, align 8, !tbaa !9
  %21 = zext i32 %17 to i64
  %min.iters.check = icmp ult i32 %17, 8
  %22 = ptrtoint ptr %20 to i64
  %23 = sub i64 %18, %22
  %diff.check = icmp ult i64 %23, 32
  %or.cond = select i1 %min.iters.check, i1 true, i1 %diff.check
  br i1 %or.cond, label %.lr.ph.preheader, label %vector.main.loop.iter.check

vector.main.loop.iter.check:                      ; preds = %iter.check
  %min.iters.check18 = icmp ult i32 %17, 32
  br i1 %min.iters.check18, label %vec.epilog.ph, label %vector.ph

vector.ph:                                        ; preds = %vector.main.loop.iter.check
  %n.vec = and i64 %21, 4294967264
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %next.gep = getelementptr i8, ptr %20, i64 %index
  %next.gep20 = getelementptr i8, ptr %16, i64 %index
  %24 = getelementptr i8, ptr %next.gep, i64 16
  %wide.load = load <16 x i8>, ptr %next.gep, align 1, !tbaa !14
  %wide.load22 = load <16 x i8>, ptr %24, align 1, !tbaa !14
  %25 = getelementptr i8, ptr %next.gep20, i64 16
  store <16 x i8> %wide.load, ptr %next.gep20, align 1, !tbaa !14
  store <16 x i8> %wide.load22, ptr %25, align 1, !tbaa !14
  %index.next = add nuw i64 %index, 32
  %26 = icmp eq i64 %index.next, %n.vec
  br i1 %26, label %middle.block, label %vector.body, !llvm.loop !15

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %21
  br i1 %cmp.n, label %._crit_edge, label %vec.epilog.iter.check

vec.epilog.iter.check:                            ; preds = %middle.block
  %ind.end31 = getelementptr i8, ptr %16, i64 %n.vec
  %ind.end28 = getelementptr i8, ptr %20, i64 %n.vec
  %.cast25 = trunc nuw i64 %n.vec to i32
  %ind.end26 = sub i32 %17, %.cast25
  %n.vec.remaining = and i64 %21, 24
  %min.epilog.iters.check = icmp eq i64 %n.vec.remaining, 0
  br i1 %min.epilog.iters.check, label %.lr.ph.preheader, label %vec.epilog.ph

vec.epilog.ph:                                    ; preds = %vector.main.loop.iter.check, %vec.epilog.iter.check
  %vec.epilog.resume.val = phi i64 [ %n.vec, %vec.epilog.iter.check ], [ 0, %vector.main.loop.iter.check ]
  %n.vec24 = and i64 %21, 4294967288
  %.cast = trunc nuw i64 %n.vec24 to i32
  %ind.end = sub i32 %17, %.cast
  %ind.end27 = getelementptr i8, ptr %20, i64 %n.vec24
  %ind.end30 = getelementptr i8, ptr %16, i64 %n.vec24
  br label %vec.epilog.vector.body

vec.epilog.vector.body:                           ; preds = %vec.epilog.vector.body, %vec.epilog.ph
  %index33 = phi i64 [ %vec.epilog.resume.val, %vec.epilog.ph ], [ %index.next37, %vec.epilog.vector.body ]
  %next.gep34 = getelementptr i8, ptr %20, i64 %index33
  %next.gep35 = getelementptr i8, ptr %16, i64 %index33
  %wide.load36 = load <8 x i8>, ptr %next.gep34, align 1, !tbaa !14
  store <8 x i8> %wide.load36, ptr %next.gep35, align 1, !tbaa !14
  %index.next37 = add nuw i64 %index33, 8
  %27 = icmp eq i64 %index.next37, %n.vec24
  br i1 %27, label %vec.epilog.middle.block, label %vec.epilog.vector.body, !llvm.loop !19

vec.epilog.middle.block:                          ; preds = %vec.epilog.vector.body
  %cmp.n38 = icmp eq i64 %n.vec24, %21
  br i1 %cmp.n38, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %vec.epilog.middle.block, %iter.check, %vec.epilog.iter.check
  %.ph = phi i32 [ %17, %iter.check ], [ %ind.end26, %vec.epilog.iter.check ], [ %ind.end, %vec.epilog.middle.block ]
  %.016.ph = phi ptr [ %20, %iter.check ], [ %ind.end28, %vec.epilog.iter.check ], [ %ind.end27, %vec.epilog.middle.block ]
  %.0915.ph = phi ptr [ %16, %iter.check ], [ %ind.end31, %vec.epilog.iter.check ], [ %ind.end30, %vec.epilog.middle.block ]
  %28 = add nsw i32 %.ph, -1
  %xtraiter = and i32 %.ph, 7
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol

.lr.ph.prol:                                      ; preds = %.lr.ph.preheader, %.lr.ph.prol
  %29 = phi i32 [ %33, %.lr.ph.prol ], [ %.ph, %.lr.ph.preheader ]
  %.016.prol = phi ptr [ %30, %.lr.ph.prol ], [ %.016.ph, %.lr.ph.preheader ]
  %.0915.prol = phi ptr [ %32, %.lr.ph.prol ], [ %.0915.ph, %.lr.ph.preheader ]
  %prol.iter = phi i32 [ %prol.iter.next, %.lr.ph.prol ], [ 0, %.lr.ph.preheader ]
  %30 = getelementptr inbounds i8, ptr %.016.prol, i64 1
  %31 = load i8, ptr %.016.prol, align 1, !tbaa !14
  %32 = getelementptr inbounds i8, ptr %.0915.prol, i64 1
  store i8 %31, ptr %.0915.prol, align 1, !tbaa !14
  %33 = add nsw i32 %29, -1
  %prol.iter.next = add i32 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i32 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol, !llvm.loop !20

.lr.ph.prol.loopexit:                             ; preds = %.lr.ph.prol, %.lr.ph.preheader
  %.unr = phi i32 [ %.ph, %.lr.ph.preheader ], [ %33, %.lr.ph.prol ]
  %.016.unr = phi ptr [ %.016.ph, %.lr.ph.preheader ], [ %30, %.lr.ph.prol ]
  %.0915.unr = phi ptr [ %.0915.ph, %.lr.ph.preheader ], [ %32, %.lr.ph.prol ]
  %34 = icmp ult i32 %28, 7
  br i1 %34, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.prol.loopexit, %.lr.ph
  %35 = phi i32 [ %60, %.lr.ph ], [ %.unr, %.lr.ph.prol.loopexit ]
  %.016 = phi ptr [ %57, %.lr.ph ], [ %.016.unr, %.lr.ph.prol.loopexit ]
  %.0915 = phi ptr [ %59, %.lr.ph ], [ %.0915.unr, %.lr.ph.prol.loopexit ]
  %36 = getelementptr inbounds i8, ptr %.016, i64 1
  %37 = load i8, ptr %.016, align 1, !tbaa !14
  %38 = getelementptr inbounds i8, ptr %.0915, i64 1
  store i8 %37, ptr %.0915, align 1, !tbaa !14
  %39 = getelementptr inbounds i8, ptr %.016, i64 2
  %40 = load i8, ptr %36, align 1, !tbaa !14
  %41 = getelementptr inbounds i8, ptr %.0915, i64 2
  store i8 %40, ptr %38, align 1, !tbaa !14
  %42 = getelementptr inbounds i8, ptr %.016, i64 3
  %43 = load i8, ptr %39, align 1, !tbaa !14
  %44 = getelementptr inbounds i8, ptr %.0915, i64 3
  store i8 %43, ptr %41, align 1, !tbaa !14
  %45 = getelementptr inbounds i8, ptr %.016, i64 4
  %46 = load i8, ptr %42, align 1, !tbaa !14
  %47 = getelementptr inbounds i8, ptr %.0915, i64 4
  store i8 %46, ptr %44, align 1, !tbaa !14
  %48 = getelementptr inbounds i8, ptr %.016, i64 5
  %49 = load i8, ptr %45, align 1, !tbaa !14
  %50 = getelementptr inbounds i8, ptr %.0915, i64 5
  store i8 %49, ptr %47, align 1, !tbaa !14
  %51 = getelementptr inbounds i8, ptr %.016, i64 6
  %52 = load i8, ptr %48, align 1, !tbaa !14
  %53 = getelementptr inbounds i8, ptr %.0915, i64 6
  store i8 %52, ptr %50, align 1, !tbaa !14
  %54 = getelementptr inbounds i8, ptr %.016, i64 7
  %55 = load i8, ptr %51, align 1, !tbaa !14
  %56 = getelementptr inbounds i8, ptr %.0915, i64 7
  store i8 %55, ptr %53, align 1, !tbaa !14
  %57 = getelementptr inbounds i8, ptr %.016, i64 8
  %58 = load i8, ptr %54, align 1, !tbaa !14
  %59 = getelementptr inbounds i8, ptr %.0915, i64 8
  store i8 %58, ptr %56, align 1, !tbaa !14
  %60 = add nsw i32 %35, -8
  %.not13.7 = icmp eq i32 %60, 0
  br i1 %.not13.7, label %._crit_edge, label %.lr.ph, !llvm.loop !22

._crit_edge:                                      ; preds = %.lr.ph.prol.loopexit, %.lr.ph, %middle.block, %vec.epilog.middle.block, %11
  ret ptr %0
}

attributes #0 = { nobuiltin 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 #1 = { nobuiltin 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 = { 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 = { builtin nounwind }
attributes #4 = { builtin allocsize(0) }

!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, !11, i64 16}
!10 = !{!"_ZTS7R2Image", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !11, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !6, i64 12}
!13 = !{!10, !6, i64 4}
!14 = !{!7, !7, i64 0}
!15 = distinct !{!15, !16, !17, !18}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!"llvm.loop.isvectorized", i32 1}
!18 = !{!"llvm.loop.unroll.runtime.disable"}
!19 = distinct !{!19, !16, !17, !18}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.unroll.disable"}
!22 = distinct !{!22, !16, !17}


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