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

; 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.R2Grid = type { %class.R2Affine, %class.R2Affine, double, ptr, [2 x i32], i32, i32 }
%class.R2Affine = type <{ %class.R2Transformation, %class.R3Matrix, i32, [4 x i8] }>
%class.R2Transformation = type { ptr }
%class.R3Matrix = type { [3 x [3 x double]] }

@RN_PI_OVER_TWO = external constant double, align 8

declare i32 @__gxx_personality_v0(...)

; 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
declare dso_local void @_ZN6R2Grid8GradientEi(ptr noundef nonnull align 8 dereferenceable(208), i32 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6R2Grid13GradientAngleEv(ptr noundef nonnull align 8 dereferenceable(208) %0) #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %class.R2Grid, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %class.R2Grid, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %11 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 208, ptr %3) #4
  call void @_ZN6R2GridC1ERKS_(ptr noundef nonnull align 8 dereferenceable(208) %3, ptr noundef nonnull align 8 dereferenceable(208) %11)
  invoke void @_ZN6R2Grid8GradientEi(ptr noundef nonnull align 8 dereferenceable(208) %3, i32 noundef 0)
          to label %12 unwind label %21

12:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 208, ptr %6) #4
  invoke void @_ZN6R2GridC1ERKS_(ptr noundef nonnull align 8 dereferenceable(208) %6, ptr noundef nonnull align 8 dereferenceable(208) %11)
          to label %13 unwind label %25

13:                                               ; preds = %12
  invoke void @_ZN6R2Grid8GradientEi(ptr noundef nonnull align 8 dereferenceable(208) %6, i32 noundef 1)
          to label %14 unwind label %29

14:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %15

15:                                               ; preds = %98, %14
  %16 = load i32, ptr %7, align 4, !tbaa !9
  %17 = getelementptr inbounds %class.R2Grid, ptr %11, i32 0, i32 6
  %18 = load i32, ptr %17, align 4, !tbaa !11
  %19 = icmp slt i32 %16, %18
  br i1 %19, label %33, label %20

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

21:                                               ; preds = %1
  %22 = landingpad { ptr, i32 }
          cleanup
  %23 = extractvalue { ptr, i32 } %22, 0
  store ptr %23, ptr %4, align 8
  %24 = extractvalue { ptr, i32 } %22, 1
  store i32 %24, ptr %5, align 4
  br label %105

25:                                               ; preds = %12
  %26 = landingpad { ptr, i32 }
          cleanup
  %27 = extractvalue { ptr, i32 } %26, 0
  store ptr %27, ptr %4, align 8
  %28 = extractvalue { ptr, i32 } %26, 1
  store i32 %28, ptr %5, align 4
  br label %104

29:                                               ; preds = %13
  %30 = landingpad { ptr, i32 }
          cleanup
  %31 = extractvalue { ptr, i32 } %30, 0
  store ptr %31, ptr %4, align 8
  %32 = extractvalue { ptr, i32 } %30, 1
  store i32 %32, ptr %5, align 4
  br label %103

33:                                               ; preds = %15
  %34 = getelementptr inbounds %class.R2Grid, ptr %11, i32 0, i32 3
  %35 = load ptr, ptr %34, align 8, !tbaa !17
  %36 = load i32, ptr %7, align 4, !tbaa !9
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds double, ptr %35, i64 %37
  %39 = load double, ptr %38, align 8, !tbaa !18
  %40 = fcmp oeq double %39, -3.210000e+02
  br i1 %40, label %41, label %42

41:                                               ; preds = %33
  br label %98

42:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %43 = load i32, ptr %7, align 4, !tbaa !9
  %44 = invoke noundef double @_ZNK6R2Grid9GridValueEi(ptr noundef nonnull align 8 dereferenceable(208) %3, i32 noundef %43)
          to label %45 unwind label %54

45:                                               ; preds = %42
  store double %44, ptr %9, align 8, !tbaa !18
  %46 = load double, ptr %9, align 8, !tbaa !18
  %47 = fcmp oeq double %46, -3.210000e+02
  br i1 %47, label %48, label %58

48:                                               ; preds = %45
  %49 = getelementptr inbounds %class.R2Grid, ptr %11, i32 0, i32 3
  %50 = load ptr, ptr %49, align 8, !tbaa !17
  %51 = load i32, ptr %7, align 4, !tbaa !9
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds double, ptr %50, i64 %52
  store double -3.210000e+02, ptr %53, align 8, !tbaa !18
  store i32 4, ptr %8, align 4
  br label %95

54:                                               ; preds = %42
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %4, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %5, align 4
  br label %101

58:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %59 = load i32, ptr %7, align 4, !tbaa !9
  %60 = invoke noundef double @_ZNK6R2Grid9GridValueEi(ptr noundef nonnull align 8 dereferenceable(208) %6, i32 noundef %59)
          to label %61 unwind label %70

61:                                               ; preds = %58
  store double %60, ptr %10, align 8, !tbaa !18
  %62 = load double, ptr %10, align 8, !tbaa !18
  %63 = fcmp oeq double %62, -3.210000e+02
  br i1 %63, label %64, label %74

64:                                               ; preds = %61
  %65 = getelementptr inbounds %class.R2Grid, ptr %11, i32 0, i32 3
  %66 = load ptr, ptr %65, align 8, !tbaa !17
  %67 = load i32, ptr %7, align 4, !tbaa !9
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds double, ptr %66, i64 %68
  store double -3.210000e+02, ptr %69, align 8, !tbaa !18
  store i32 4, ptr %8, align 4
  br label %94

70:                                               ; preds = %58
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %4, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  br label %101

74:                                               ; preds = %61
  %75 = load double, ptr %9, align 8, !tbaa !18
  %76 = fcmp oeq double %75, 0.000000e+00
  br i1 %76, label %77, label %84

77:                                               ; preds = %74
  %78 = load double, ptr @RN_PI_OVER_TWO, align 8, !tbaa !18
  %79 = getelementptr inbounds %class.R2Grid, ptr %11, i32 0, i32 3
  %80 = load ptr, ptr %79, align 8, !tbaa !17
  %81 = load i32, ptr %7, align 4, !tbaa !9
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds double, ptr %80, i64 %82
  store double %78, ptr %83, align 8, !tbaa !18
  store i32 4, ptr %8, align 4
  br label %94

84:                                               ; preds = %74
  %85 = load double, ptr %10, align 8, !tbaa !18
  %86 = load double, ptr %9, align 8, !tbaa !18
  %87 = fdiv double %85, %86
  %88 = call double @atan(double noundef %87) #4
  %89 = getelementptr inbounds %class.R2Grid, ptr %11, i32 0, i32 3
  %90 = load ptr, ptr %89, align 8, !tbaa !17
  %91 = load i32, ptr %7, align 4, !tbaa !9
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds double, ptr %90, i64 %92
  store double %88, ptr %93, align 8, !tbaa !18
  store i32 0, ptr %8, align 4
  br label %94

94:                                               ; preds = %84, %77, %64
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  br label %95

95:                                               ; preds = %94, %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  %96 = load i32, ptr %8, align 4
  switch i32 %96, label %111 [
    i32 0, label %97
    i32 4, label %98
  ]

97:                                               ; preds = %95
  br label %98

98:                                               ; preds = %97, %95, %41
  %99 = load i32, ptr %7, align 4, !tbaa !9
  %100 = add nsw i32 %99, 1
  store i32 %100, ptr %7, align 4, !tbaa !9
  br label %15, !llvm.loop !19

101:                                              ; preds = %70, %54
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %103

102:                                              ; preds = %20
  call void @_ZN6R2GridD1Ev(ptr noundef nonnull align 8 dereferenceable(208) %6) #4
  call void @llvm.lifetime.end.p0(i64 208, ptr %6) #4
  call void @_ZN6R2GridD1Ev(ptr noundef nonnull align 8 dereferenceable(208) %3) #4
  call void @llvm.lifetime.end.p0(i64 208, ptr %3) #4
  ret void

103:                                              ; preds = %101, %29
  call void @_ZN6R2GridD1Ev(ptr noundef nonnull align 8 dereferenceable(208) %6) #4
  br label %104

104:                                              ; preds = %103, %25
  call void @llvm.lifetime.end.p0(i64 208, ptr %6) #4
  br label %105

105:                                              ; preds = %104, %21
  call void @_ZN6R2GridD1Ev(ptr noundef nonnull align 8 dereferenceable(208) %3) #4
  call void @llvm.lifetime.end.p0(i64 208, ptr %3) #4
  br label %106

106:                                              ; preds = %105
  %107 = load ptr, ptr %4, align 8
  %108 = load i32, ptr %5, align 4
  %109 = insertvalue { ptr, i32 } poison, ptr %107, 0
  %110 = insertvalue { ptr, i32 } %109, i32 %108, 1
  resume { ptr, i32 } %110

111:                                              ; preds = %95
  unreachable
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK6R2Grid9GridValueEi(ptr noundef nonnull align 8 dereferenceable(208), i32 noundef) #2 align 2

; Function Attrs: nounwind
declare double @atan(double noundef) #3

declare void @_ZN6R2GridC1ERKS_(ptr, ptr)

declare void @_ZN6R2GridD1Ev(ptr)

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 = { 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 #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 }

!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 = !{!12, !10, i64 204}
!12 = !{!"_ZTS6R2Grid", !13, i64 0, !13, i64 88, !16, i64 176, !6, i64 184, !7, i64 192, !10, i64 200, !10, i64 204}
!13 = !{!"_ZTS8R2Affine", !14, i64 0, !15, i64 8, !10, i64 80}
!14 = !{!"_ZTS16R2Transformation"}
!15 = !{!"_ZTS8R3Matrix", !7, i64 0}
!16 = !{!"double", !7, i64 0}
!17 = !{!12, !6, i64 184}
!18 = !{!16, !16, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"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"

%class.R2Grid = type { %class.R2Affine, %class.R2Affine, double, ptr, [2 x i32], i32, i32 }
%class.R2Affine = type <{ %class.R2Transformation, %class.R3Matrix, i32, [4 x i8] }>
%class.R2Transformation = type { ptr }
%class.R3Matrix = type { [3 x [3 x double]] }

@RN_PI_OVER_TWO = external local_unnamed_addr constant double, align 8

declare i32 @__gxx_personality_v0(...)

; 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
declare dso_local void @_ZN6R2Grid8GradientEi(ptr noundef nonnull align 8 dereferenceable(208), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6R2Grid13GradientAngleEv(ptr noundef nonnull align 8 dereferenceable(208) %0) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %class.R2Grid, align 8
  %3 = alloca %class.R2Grid, align 8
  call void @llvm.lifetime.start.p0(i64 208, ptr nonnull %2) #4
  call void @_ZN6R2GridC1ERKS_(ptr noundef nonnull align 8 dereferenceable(208) %2, ptr noundef nonnull align 8 dereferenceable(208) %0)
  invoke void @_ZN6R2Grid8GradientEi(ptr noundef nonnull align 8 dereferenceable(208) %2, i32 noundef 0)
          to label %4 unwind label %11

4:                                                ; preds = %1
  call void @llvm.lifetime.start.p0(i64 208, ptr nonnull %3) #4
  invoke void @_ZN6R2GridC1ERKS_(ptr noundef nonnull align 8 dereferenceable(208) %3, ptr noundef nonnull align 8 dereferenceable(208) %0)
          to label %5 unwind label %13

5:                                                ; preds = %4
  invoke void @_ZN6R2Grid8GradientEi(ptr noundef nonnull align 8 dereferenceable(208) %3, i32 noundef 1)
          to label %.preheader unwind label %15

.preheader:                                       ; preds = %5
  %6 = getelementptr inbounds i8, ptr %0, i64 204
  %7 = load i32, ptr %6, align 4, !tbaa !5
  %8 = icmp sgt i32 %7, 0
  br i1 %8, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader
  %9 = getelementptr inbounds i8, ptr %0, i64 184
  %10 = load double, ptr @RN_PI_OVER_TWO, align 8
  %.pre = load ptr, ptr %9, align 8, !tbaa !15
  br label %17

._crit_edge:                                      ; preds = %42, %.preheader
  call void @_ZN6R2GridD1Ev(ptr noundef nonnull align 8 dereferenceable(208) %3) #4
  call void @llvm.lifetime.end.p0(i64 208, ptr nonnull %3) #4
  call void @_ZN6R2GridD1Ev(ptr noundef nonnull align 8 dereferenceable(208) %2) #4
  call void @llvm.lifetime.end.p0(i64 208, ptr nonnull %2) #4
  ret void

11:                                               ; preds = %1
  %12 = landingpad { ptr, i32 }
          cleanup
  br label %49

13:                                               ; preds = %4
  %14 = landingpad { ptr, i32 }
          cleanup
  br label %48

15:                                               ; preds = %5
  %16 = landingpad { ptr, i32 }
          cleanup
  br label %47

17:                                               ; preds = %.lr.ph, %42
  %18 = phi ptr [ %.pre, %.lr.ph ], [ %43, %42 ]
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %42 ]
  %19 = getelementptr inbounds double, ptr %18, i64 %indvars.iv
  %20 = load double, ptr %19, align 8, !tbaa !16
  %21 = fcmp oeq double %20, -3.210000e+02
  br i1 %21, label %42, label %22

22:                                               ; preds = %17
  %23 = trunc nuw nsw i64 %indvars.iv to i32
  %24 = invoke noundef double @_ZNK6R2Grid9GridValueEi(ptr noundef nonnull align 8 dereferenceable(208) %2, i32 noundef %23)
          to label %25 unwind label %27

25:                                               ; preds = %22
  %26 = fcmp oeq double %24, -3.210000e+02
  br i1 %26, label %.sink.split, label %29

27:                                               ; preds = %22
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %47

29:                                               ; preds = %25
  %30 = invoke noundef double @_ZNK6R2Grid9GridValueEi(ptr noundef nonnull align 8 dereferenceable(208) %3, i32 noundef %23)
          to label %31 unwind label %33

31:                                               ; preds = %29
  %32 = fcmp oeq double %30, -3.210000e+02
  br i1 %32, label %.sink.split, label %35

33:                                               ; preds = %29
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %47

35:                                               ; preds = %31
  %36 = fcmp oeq double %24, 0.000000e+00
  br i1 %36, label %.sink.split, label %37

37:                                               ; preds = %35
  %38 = fdiv double %30, %24
  %39 = call double @atan(double noundef %38) #4
  br label %.sink.split

.sink.split:                                      ; preds = %35, %31, %25, %37
  %.sink = phi double [ %39, %37 ], [ -3.210000e+02, %25 ], [ -3.210000e+02, %31 ], [ %10, %35 ]
  %40 = load ptr, ptr %9, align 8, !tbaa !15
  %41 = getelementptr inbounds double, ptr %40, i64 %indvars.iv
  store double %.sink, ptr %41, align 8, !tbaa !16
  br label %42

42:                                               ; preds = %.sink.split, %17
  %43 = phi ptr [ %18, %17 ], [ %40, %.sink.split ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %44 = load i32, ptr %6, align 4, !tbaa !5
  %45 = sext i32 %44 to i64
  %46 = icmp slt i64 %indvars.iv.next, %45
  br i1 %46, label %17, label %._crit_edge, !llvm.loop !17

47:                                               ; preds = %27, %33, %15
  %.pn.pn = phi { ptr, i32 } [ %16, %15 ], [ %34, %33 ], [ %28, %27 ]
  call void @_ZN6R2GridD1Ev(ptr noundef nonnull align 8 dereferenceable(208) %3) #4
  br label %48

48:                                               ; preds = %47, %13
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %47 ], [ %14, %13 ]
  call void @llvm.lifetime.end.p0(i64 208, ptr nonnull %3) #4
  br label %49

49:                                               ; preds = %48, %11
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %48 ], [ %12, %11 ]
  call void @_ZN6R2GridD1Ev(ptr noundef nonnull align 8 dereferenceable(208) %2) #4
  call void @llvm.lifetime.end.p0(i64 208, ptr nonnull %2) #4
  resume { ptr, i32 } %.pn.pn.pn.pn
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK6R2Grid9GridValueEi(ptr noundef nonnull align 8 dereferenceable(208), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @atan(double noundef) local_unnamed_addr #3

declare void @_ZN6R2GridC1ERKS_(ptr, ptr) local_unnamed_addr

declare void @_ZN6R2GridD1Ev(ptr) local_unnamed_addr

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 = { 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 #3 = { mustprogress nofree nounwind willreturn memory(write) "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, !12, i64 204}
!6 = !{!"_ZTS6R2Grid", !7, i64 0, !7, i64 88, !13, i64 176, !14, i64 184, !10, i64 192, !12, i64 200, !12, i64 204}
!7 = !{!"_ZTS8R2Affine", !8, i64 0, !9, i64 8, !12, i64 80}
!8 = !{!"_ZTS16R2Transformation"}
!9 = !{!"_ZTS8R3Matrix", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"int", !10, i64 0}
!13 = !{!"double", !10, i64 0}
!14 = !{!"any pointer", !10, i64 0}
!15 = !{!6, !14, i64 184}
!16 = !{!13, !13, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}


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