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

; 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.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 nounwind uwtable
define dso_local void @_ZN6R3Grid9ThresholdEddd(ptr noundef nonnull align 8 dereferenceable(592) %0, double noundef %1, double noundef %2, double noundef %3) #1 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store double %1, ptr %6, align 8, !tbaa !9
  store double %2, ptr %7, align 8, !tbaa !9
  store double %3, ptr %8, align 8, !tbaa !9
  %11 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #2
  %12 = getelementptr inbounds %class.R3Grid, ptr %11, i32 0, i32 4
  %13 = load ptr, ptr %12, align 8, !tbaa !11
  store ptr %13, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #2
  store i32 0, ptr %10, align 4, !tbaa !19
  br label %14

14:                                               ; preds = %42, %4
  %15 = load i32, ptr %10, align 4, !tbaa !19
  %16 = getelementptr inbounds %class.R3Grid, ptr %11, i32 0, i32 8
  %17 = load i32, ptr %16, align 4, !tbaa !20
  %18 = icmp slt i32 %15, %17
  br i1 %18, label %20, label %19

19:                                               ; preds = %14
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #2
  br label %45

20:                                               ; preds = %14
  %21 = load ptr, ptr %9, align 8, !tbaa !5
  %22 = load double, ptr %21, align 8, !tbaa !9
  %23 = load double, ptr %6, align 8, !tbaa !9
  %24 = fcmp ole double %22, %23
  br i1 %24, label %25, label %32

25:                                               ; preds = %20
  %26 = load double, ptr %7, align 8, !tbaa !9
  %27 = fcmp une double %26, -9.870000e+02
  br i1 %27, label %28, label %31

28:                                               ; preds = %25
  %29 = load double, ptr %7, align 8, !tbaa !9
  %30 = load ptr, ptr %9, align 8, !tbaa !5
  store double %29, ptr %30, align 8, !tbaa !9
  br label %31

31:                                               ; preds = %28, %25
  br label %39

32:                                               ; preds = %20
  %33 = load double, ptr %8, align 8, !tbaa !9
  %34 = fcmp une double %33, -9.870000e+02
  br i1 %34, label %35, label %38

35:                                               ; preds = %32
  %36 = load double, ptr %8, align 8, !tbaa !9
  %37 = load ptr, ptr %9, align 8, !tbaa !5
  store double %36, ptr %37, align 8, !tbaa !9
  br label %38

38:                                               ; preds = %35, %32
  br label %39

39:                                               ; preds = %38, %31
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  %41 = getelementptr inbounds double, ptr %40, i32 1
  store ptr %41, ptr %9, align 8, !tbaa !5
  br label %42

42:                                               ; preds = %39
  %43 = load i32, ptr %10, align 4, !tbaa !19
  %44 = add nsw i32 %43, 1
  store i32 %44, ptr %10, align 4, !tbaa !19
  br label %14, !llvm.loop !21

45:                                               ; preds = %19
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #2
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 = !{!12, !18, i64 588}
!21 = distinct !{!21, !22}
!22 = !{!"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: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
define dso_local void @_ZN6R3Grid9ThresholdEddd(ptr nocapture noundef nonnull readonly align 8 dereferenceable(592) %0, double noundef %1, double noundef %2, double noundef %3) local_unnamed_addr #0 align 2 {
  %5 = getelementptr inbounds i8, ptr %0, i64 560
  %6 = load ptr, ptr %5, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 588
  %8 = load i32, ptr %7, align 4, !tbaa !17
  %9 = icmp sgt i32 %8, 0
  br i1 %9, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %4
  %10 = fcmp une double %2, -9.870000e+02
  %11 = fcmp une double %3, -9.870000e+02
  br i1 %10, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph
  %12 = zext nneg i32 %8 to i64
  %min.iters.check72 = icmp ult i32 %8, 4
  br i1 %11, label %.lr.ph.split.us.split.us.preheader, label %.lr.ph.split.us.split.preheader

.lr.ph.split.us.split.preheader:                  ; preds = %.lr.ph.split.us
  br i1 %min.iters.check72, label %.lr.ph.split.us.split.preheader96, label %vector.ph42

.lr.ph.split.us.split.preheader96:                ; preds = %middle.block39, %.lr.ph.split.us.split.preheader
  %.015.us.ph = phi i32 [ 0, %.lr.ph.split.us.split.preheader ], [ %ind.end45, %middle.block39 ]
  %.01114.us.ph = phi ptr [ %6, %.lr.ph.split.us.split.preheader ], [ %ind.end47, %middle.block39 ]
  br label %.lr.ph.split.us.split

vector.ph42:                                      ; preds = %.lr.ph.split.us.split.preheader
  %n.vec44 = and i64 %12, 2147483644
  %ind.end45 = trunc nuw nsw i64 %n.vec44 to i32
  %13 = shl nuw nsw i64 %n.vec44, 3
  %ind.end47 = getelementptr i8, ptr %6, i64 %13
  %broadcast.splatinsert58 = insertelement <2 x double> poison, double %1, i64 0
  %broadcast.splat59 = shufflevector <2 x double> %broadcast.splatinsert58, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body49

vector.body49:                                    ; preds = %pred.store.continue67, %vector.ph42
  %index50 = phi i64 [ 0, %vector.ph42 ], [ %index.next68, %pred.store.continue67 ]
  %offset.idx51 = shl i64 %index50, 3
  %next.gep52 = getelementptr i8, ptr %6, i64 %offset.idx51
  %14 = getelementptr i8, ptr %next.gep52, i64 16
  %wide.load56 = load <2 x double>, ptr %next.gep52, align 8, !tbaa !18
  %wide.load57 = load <2 x double>, ptr %14, align 8, !tbaa !18
  %15 = fcmp ole <2 x double> %wide.load56, %broadcast.splat59
  %16 = fcmp ole <2 x double> %wide.load57, %broadcast.splat59
  %17 = extractelement <2 x i1> %15, i64 0
  br i1 %17, label %pred.store.if60, label %pred.store.continue61

pred.store.if60:                                  ; preds = %vector.body49
  store double %2, ptr %next.gep52, align 8, !tbaa !18
  br label %pred.store.continue61

pred.store.continue61:                            ; preds = %pred.store.if60, %vector.body49
  %18 = extractelement <2 x i1> %15, i64 1
  br i1 %18, label %pred.store.if62, label %pred.store.continue63

pred.store.if62:                                  ; preds = %pred.store.continue61
  %19 = or disjoint i64 %offset.idx51, 8
  %next.gep53 = getelementptr i8, ptr %6, i64 %19
  store double %2, ptr %next.gep53, align 8, !tbaa !18
  br label %pred.store.continue63

pred.store.continue63:                            ; preds = %pred.store.if62, %pred.store.continue61
  %20 = extractelement <2 x i1> %16, i64 0
  br i1 %20, label %pred.store.if64, label %pred.store.continue65

pred.store.if64:                                  ; preds = %pred.store.continue63
  %21 = or disjoint i64 %offset.idx51, 16
  %next.gep54 = getelementptr i8, ptr %6, i64 %21
  store double %2, ptr %next.gep54, align 8, !tbaa !18
  br label %pred.store.continue65

pred.store.continue65:                            ; preds = %pred.store.if64, %pred.store.continue63
  %22 = extractelement <2 x i1> %16, i64 1
  br i1 %22, label %pred.store.if66, label %pred.store.continue67

pred.store.if66:                                  ; preds = %pred.store.continue65
  %23 = or disjoint i64 %offset.idx51, 24
  %next.gep55 = getelementptr i8, ptr %6, i64 %23
  store double %2, ptr %next.gep55, align 8, !tbaa !18
  br label %pred.store.continue67

pred.store.continue67:                            ; preds = %pred.store.if66, %pred.store.continue65
  %index.next68 = add nuw i64 %index50, 4
  %24 = icmp eq i64 %index.next68, %n.vec44
  br i1 %24, label %middle.block39, label %vector.body49, !llvm.loop !19

middle.block39:                                   ; preds = %pred.store.continue67
  %cmp.n69 = icmp eq i64 %n.vec44, %12
  br i1 %cmp.n69, label %._crit_edge, label %.lr.ph.split.us.split.preheader96

.lr.ph.split.us.split.us.preheader:               ; preds = %.lr.ph.split.us
  br i1 %min.iters.check72, label %.lr.ph.split.us.split.us.preheader95, label %vector.ph73

vector.ph73:                                      ; preds = %.lr.ph.split.us.split.us.preheader
  %n.vec75 = and i64 %12, 2147483644
  %ind.end76 = trunc nuw nsw i64 %n.vec75 to i32
  %25 = shl nuw nsw i64 %n.vec75, 3
  %ind.end78 = getelementptr i8, ptr %6, i64 %25
  %broadcast.splatinsert87 = insertelement <2 x double> poison, double %1, i64 0
  %broadcast.splat88 = shufflevector <2 x double> %broadcast.splatinsert87, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert89 = insertelement <2 x double> poison, double %3, i64 0
  %broadcast.splat90 = shufflevector <2 x double> %broadcast.splatinsert89, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert91 = insertelement <2 x double> poison, double %2, i64 0
  %broadcast.splat92 = shufflevector <2 x double> %broadcast.splatinsert91, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body80

vector.body80:                                    ; preds = %vector.body80, %vector.ph73
  %index81 = phi i64 [ 0, %vector.ph73 ], [ %index.next93, %vector.body80 ]
  %offset.idx82 = shl i64 %index81, 3
  %next.gep83 = getelementptr i8, ptr %6, i64 %offset.idx82
  %26 = getelementptr i8, ptr %next.gep83, i64 16
  %wide.load85 = load <2 x double>, ptr %next.gep83, align 8, !tbaa !18
  %wide.load86 = load <2 x double>, ptr %26, align 8, !tbaa !18
  %27 = fcmp ugt <2 x double> %wide.load85, %broadcast.splat88
  %28 = fcmp ugt <2 x double> %wide.load86, %broadcast.splat88
  %29 = select <2 x i1> %27, <2 x double> %broadcast.splat90, <2 x double> %broadcast.splat92
  %30 = select <2 x i1> %28, <2 x double> %broadcast.splat90, <2 x double> %broadcast.splat92
  store <2 x double> %29, ptr %next.gep83, align 8, !tbaa !18
  store <2 x double> %30, ptr %26, align 8, !tbaa !18
  %index.next93 = add nuw i64 %index81, 4
  %31 = icmp eq i64 %index.next93, %n.vec75
  br i1 %31, label %middle.block70, label %vector.body80, !llvm.loop !23

middle.block70:                                   ; preds = %vector.body80
  %cmp.n94 = icmp eq i64 %n.vec75, %12
  br i1 %cmp.n94, label %._crit_edge, label %.lr.ph.split.us.split.us.preheader95

.lr.ph.split.us.split.us.preheader95:             ; preds = %middle.block70, %.lr.ph.split.us.split.us.preheader
  %.015.us.us.ph = phi i32 [ 0, %.lr.ph.split.us.split.us.preheader ], [ %ind.end76, %middle.block70 ]
  %.01114.us.us.ph = phi ptr [ %6, %.lr.ph.split.us.split.us.preheader ], [ %ind.end78, %middle.block70 ]
  br label %.lr.ph.split.us.split.us

.lr.ph.split.us.split.us:                         ; preds = %.lr.ph.split.us.split.us.preheader95, %.lr.ph.split.us.split.us
  %.015.us.us = phi i32 [ %35, %.lr.ph.split.us.split.us ], [ %.015.us.us.ph, %.lr.ph.split.us.split.us.preheader95 ]
  %.01114.us.us = phi ptr [ %34, %.lr.ph.split.us.split.us ], [ %.01114.us.us.ph, %.lr.ph.split.us.split.us.preheader95 ]
  %32 = load double, ptr %.01114.us.us, align 8, !tbaa !18
  %33 = fcmp ugt double %32, %1
  %storemerge = select i1 %33, double %3, double %2
  store double %storemerge, ptr %.01114.us.us, align 8, !tbaa !18
  %34 = getelementptr inbounds i8, ptr %.01114.us.us, i64 8
  %35 = add nuw nsw i32 %.015.us.us, 1
  %exitcond22.not = icmp eq i32 %35, %8
  br i1 %exitcond22.not, label %._crit_edge, label %.lr.ph.split.us.split.us, !llvm.loop !24

.lr.ph.split.us.split:                            ; preds = %.lr.ph.split.us.split.preheader96, %39
  %.015.us = phi i32 [ %41, %39 ], [ %.015.us.ph, %.lr.ph.split.us.split.preheader96 ]
  %.01114.us = phi ptr [ %40, %39 ], [ %.01114.us.ph, %.lr.ph.split.us.split.preheader96 ]
  %36 = load double, ptr %.01114.us, align 8, !tbaa !18
  %37 = fcmp ugt double %36, %1
  br i1 %37, label %39, label %38

38:                                               ; preds = %.lr.ph.split.us.split
  store double %2, ptr %.01114.us, align 8, !tbaa !18
  br label %39

39:                                               ; preds = %.lr.ph.split.us.split, %38
  %40 = getelementptr inbounds i8, ptr %.01114.us, i64 8
  %41 = add nuw nsw i32 %.015.us, 1
  %exitcond21.not = icmp eq i32 %41, %8
  br i1 %exitcond21.not, label %._crit_edge, label %.lr.ph.split.us.split, !llvm.loop !25

.lr.ph.split:                                     ; preds = %.lr.ph
  br i1 %11, label %.lr.ph.split.split.us.preheader, label %._crit_edge

.lr.ph.split.split.us.preheader:                  ; preds = %.lr.ph.split
  %42 = zext nneg i32 %8 to i64
  %min.iters.check = icmp ult i32 %8, 4
  br i1 %min.iters.check, label %.lr.ph.split.split.us.preheader98, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph.split.split.us.preheader
  %n.vec = and i64 %42, 2147483644
  %ind.end = trunc nuw nsw i64 %n.vec to i32
  %43 = shl nuw nsw i64 %n.vec, 3
  %ind.end27 = getelementptr i8, ptr %6, i64 %43
  %broadcast.splatinsert = insertelement <2 x double> poison, double %1, i64 0
  %broadcast.splat = shufflevector <2 x double> %broadcast.splatinsert, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %pred.store.continue38, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %pred.store.continue38 ]
  %offset.idx = shl i64 %index, 3
  %next.gep = getelementptr i8, ptr %6, i64 %offset.idx
  %44 = getelementptr i8, ptr %next.gep, i64 16
  %wide.load = load <2 x double>, ptr %next.gep, align 8, !tbaa !18
  %wide.load32 = load <2 x double>, ptr %44, align 8, !tbaa !18
  %45 = fcmp ugt <2 x double> %wide.load, %broadcast.splat
  %46 = fcmp ugt <2 x double> %wide.load32, %broadcast.splat
  %47 = extractelement <2 x i1> %45, i64 0
  br i1 %47, label %pred.store.if, label %pred.store.continue

pred.store.if:                                    ; preds = %vector.body
  store double %3, ptr %next.gep, align 8, !tbaa !18
  br label %pred.store.continue

pred.store.continue:                              ; preds = %pred.store.if, %vector.body
  %48 = extractelement <2 x i1> %45, i64 1
  br i1 %48, label %pred.store.if33, label %pred.store.continue34

pred.store.if33:                                  ; preds = %pred.store.continue
  %49 = or disjoint i64 %offset.idx, 8
  %next.gep29 = getelementptr i8, ptr %6, i64 %49
  store double %3, ptr %next.gep29, align 8, !tbaa !18
  br label %pred.store.continue34

pred.store.continue34:                            ; preds = %pred.store.if33, %pred.store.continue
  %50 = extractelement <2 x i1> %46, i64 0
  br i1 %50, label %pred.store.if35, label %pred.store.continue36

pred.store.if35:                                  ; preds = %pred.store.continue34
  %51 = or disjoint i64 %offset.idx, 16
  %next.gep30 = getelementptr i8, ptr %6, i64 %51
  store double %3, ptr %next.gep30, align 8, !tbaa !18
  br label %pred.store.continue36

pred.store.continue36:                            ; preds = %pred.store.if35, %pred.store.continue34
  %52 = extractelement <2 x i1> %46, i64 1
  br i1 %52, label %pred.store.if37, label %pred.store.continue38

pred.store.if37:                                  ; preds = %pred.store.continue36
  %53 = or disjoint i64 %offset.idx, 24
  %next.gep31 = getelementptr i8, ptr %6, i64 %53
  store double %3, ptr %next.gep31, align 8, !tbaa !18
  br label %pred.store.continue38

pred.store.continue38:                            ; preds = %pred.store.if37, %pred.store.continue36
  %index.next = add nuw i64 %index, 4
  %54 = icmp eq i64 %index.next, %n.vec
  br i1 %54, label %middle.block, label %vector.body, !llvm.loop !26

middle.block:                                     ; preds = %pred.store.continue38
  %cmp.n = icmp eq i64 %n.vec, %42
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.split.split.us.preheader98

.lr.ph.split.split.us.preheader98:                ; preds = %middle.block, %.lr.ph.split.split.us.preheader
  %.015.us16.ph = phi i32 [ 0, %.lr.ph.split.split.us.preheader ], [ %ind.end, %middle.block ]
  %.01114.us17.ph = phi ptr [ %6, %.lr.ph.split.split.us.preheader ], [ %ind.end27, %middle.block ]
  br label %.lr.ph.split.split.us

.lr.ph.split.split.us:                            ; preds = %.lr.ph.split.split.us.preheader98, %58
  %.015.us16 = phi i32 [ %60, %58 ], [ %.015.us16.ph, %.lr.ph.split.split.us.preheader98 ]
  %.01114.us17 = phi ptr [ %59, %58 ], [ %.01114.us17.ph, %.lr.ph.split.split.us.preheader98 ]
  %55 = load double, ptr %.01114.us17, align 8, !tbaa !18
  %56 = fcmp ugt double %55, %1
  br i1 %56, label %57, label %58

57:                                               ; preds = %.lr.ph.split.split.us
  store double %3, ptr %.01114.us17, align 8, !tbaa !18
  br label %58

58:                                               ; preds = %.lr.ph.split.split.us, %57
  %59 = getelementptr inbounds i8, ptr %.01114.us17, i64 8
  %60 = add nuw nsw i32 %.015.us16, 1
  %exitcond.not = icmp eq i32 %60, %8
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph.split.split.us, !llvm.loop !27

._crit_edge:                                      ; preds = %58, %39, %.lr.ph.split.us.split.us, %middle.block, %middle.block39, %middle.block70, %.lr.ph.split, %4
  ret void
}

attributes #0 = { mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) 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" }

!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, !15, i64 560}
!6 = !{!"_ZTS6R3Grid", !7, i64 0, !7, i64 272, !14, i64 544, !14, i64 552, !15, i64 560, !10, i64 568, !16, i64 580, !16, i64 584, !16, i64 588}
!7 = !{!"_ZTS8R3Affine", !8, i64 0, !9, i64 8, !9, i64 136, !12, i64 264}
!8 = !{!"_ZTS16R3Transformation"}
!9 = !{!"_ZTS8R4Matrix", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTS7RNFlags", !13, i64 0}
!13 = !{!"long", !10, i64 0}
!14 = !{!"double", !10, i64 0}
!15 = !{!"any pointer", !10, i64 0}
!16 = !{!"int", !10, i64 0}
!17 = !{!6, !16, i64 588}
!18 = !{!14, !14, i64 0}
!19 = distinct !{!19, !20, !21, !22}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!"llvm.loop.isvectorized", i32 1}
!22 = !{!"llvm.loop.unroll.runtime.disable"}
!23 = distinct !{!23, !20, !21, !22}
!24 = distinct !{!24, !20, !22, !21}
!25 = distinct !{!25, !20, !22, !21}
!26 = distinct !{!26, !20, !21, !22}
!27 = distinct !{!27, !20, !22, !21}


; Effective O3 passes: GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass