; LLVM IR from moarseniy/CudaFEMproject :: FEMproject/femstruct/src/femstruct.ll (ZN7Element13calculateAreaER10CPU_Matrix)

; 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.CPU_Matrix = type { %class.Matrix.base, [7 x i8] }
%class.Matrix.base = type <{ ptr, i32, [4 x i8], i64, i64, i64, ptr, i8 }>
%struct.Element = type { i32, %"class.std::vector", %class.CPU_Matrix, %class.CPU_Matrix, %class.CPU_Matrix, %class.CPU_Matrix, float, float, %class.CPU_Matrix, %class.CPU_Matrix, %class.CPU_Matrix, %class.CPU_Matrix, %class.CPU_Matrix, %class.CPU_Matrix, %class.CPU_Matrix, %class.CPU_Matrix, %class.CPU_Matrix, %class.CPU_Matrix, %class.CPU_Matrix, %class.CPU_Matrix, %class.CPU_Matrix, %class.CPU_Matrix, %class.CPU_Matrix }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN10CPU_MatrixC1Emm(ptr noundef nonnull align 8 dereferenceable(49), i64 noundef, i64 noundef) unnamed_addr #1

; Function Attrs: nounwind
declare void @_ZN10CPU_MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(49)) unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local noundef float @_ZN7Element13calculateAreaER10CPU_Matrix(ptr noundef nonnull align 8 dereferenceable(1104) %0, ptr noundef nonnull align 8 dereferenceable(49) %1) #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %class.CPU_Matrix, align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %11 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 56, ptr %5) #4
  %12 = getelementptr inbounds %struct.Element, ptr %11, i32 0, i32 0
  %13 = load i32, ptr %12, align 8, !tbaa !9
  %14 = add nsw i32 %13, 1
  %15 = sext i32 %14 to i64
  %16 = getelementptr inbounds %struct.Element, ptr %11, i32 0, i32 0
  %17 = load i32, ptr %16, align 8, !tbaa !9
  %18 = add nsw i32 %17, 1
  %19 = sext i32 %18 to i64
  call void @_ZN10CPU_MatrixC1Emm(ptr noundef nonnull align 8 dereferenceable(49) %5, i64 noundef %15, i64 noundef %19)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store i64 0, ptr %6, align 8, !tbaa !22
  br label %20

20:                                               ; preds = %68, %2
  %21 = load i64, ptr %6, align 8, !tbaa !22
  %22 = invoke noundef i64 @_ZNK6Matrix11get_numRowsEv(ptr noundef nonnull align 8 dereferenceable(49) %5)
          to label %23 unwind label %26

23:                                               ; preds = %20
  %24 = icmp ult i64 %21, %22
  br i1 %24, label %30, label %25

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

26:                                               ; preds = %20
  %27 = landingpad { ptr, i32 }
          cleanup
  %28 = extractvalue { ptr, i32 } %27, 0
  store ptr %28, ptr %7, align 8
  %29 = extractvalue { ptr, i32 } %27, 1
  store i32 %29, ptr %8, align 4
  br label %71

30:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  store i64 0, ptr %10, align 8, !tbaa !22
  br label %31

31:                                               ; preds = %64, %30
  %32 = load i64, ptr %10, align 8, !tbaa !22
  %33 = invoke noundef i64 @_ZNK6Matrix11get_numColsEv(ptr noundef nonnull align 8 dereferenceable(49) %5)
          to label %34 unwind label %37

34:                                               ; preds = %31
  %35 = icmp ult i64 %32, %33
  br i1 %35, label %41, label %36

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

37:                                               ; preds = %56, %53, %45, %31
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = extractvalue { ptr, i32 } %38, 0
  store ptr %39, ptr %7, align 8
  %40 = extractvalue { ptr, i32 } %38, 1
  store i32 %40, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  br label %71

41:                                               ; preds = %34
  %42 = load i64, ptr %10, align 8, !tbaa !22
  %43 = icmp eq i64 %42, 0
  br i1 %43, label %44, label %45

44:                                               ; preds = %41
  br label %53

45:                                               ; preds = %41
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = load i64, ptr %10, align 8, !tbaa !22
  %48 = sub i64 %47, 1
  %49 = load i64, ptr %6, align 8, !tbaa !22
  %50 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN10CPU_MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %46, i64 noundef %48, i64 noundef %49)
          to label %51 unwind label %37

51:                                               ; preds = %45
  %52 = load float, ptr %50, align 4, !tbaa !23
  br label %53

53:                                               ; preds = %51, %44
  %54 = phi float [ 1.000000e+00, %44 ], [ %52, %51 ]
  %55 = invoke noundef ptr @_ZNK6Matrix8get_dataEv(ptr noundef nonnull align 8 dereferenceable(49) %5)
          to label %56 unwind label %37

56:                                               ; preds = %53
  %57 = load i64, ptr %10, align 8, !tbaa !22
  %58 = load i64, ptr %6, align 8, !tbaa !22
  %59 = invoke noundef i64 @_ZNK6Matrix11get_numColsEv(ptr noundef nonnull align 8 dereferenceable(49) %5)
          to label %60 unwind label %37

60:                                               ; preds = %56
  %61 = mul i64 %58, %59
  %62 = add i64 %57, %61
  %63 = getelementptr inbounds float, ptr %55, i64 %62
  store float %54, ptr %63, align 4, !tbaa !23
  br label %64

64:                                               ; preds = %60
  %65 = load i64, ptr %10, align 8, !tbaa !22
  %66 = add i64 %65, 1
  store i64 %66, ptr %10, align 8, !tbaa !22
  br label %31, !llvm.loop !24

67:                                               ; preds = %36
  br label %68

68:                                               ; preds = %67
  %69 = load i64, ptr %6, align 8, !tbaa !22
  %70 = add i64 %69, 1
  store i64 %70, ptr %6, align 8, !tbaa !22
  br label %20, !llvm.loop !26

71:                                               ; preds = %37, %26
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br label %79

72:                                               ; preds = %25
  %73 = invoke noundef float @_ZN10CPU_Matrix3detEv(ptr noundef nonnull align 8 dereferenceable(49) %5)
          to label %74 unwind label %75

74:                                               ; preds = %72
  store i32 1, ptr %9, align 4
  call void @_ZN10CPU_MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(49) %5) #4
  call void @llvm.lifetime.end.p0(i64 56, ptr %5) #4
  ret float %73

75:                                               ; preds = %72
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %7, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %8, align 4
  br label %79

79:                                               ; preds = %75, %71
  call void @_ZN10CPU_MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(49) %5) #4
  call void @llvm.lifetime.end.p0(i64 56, ptr %5) #4
  br label %80

80:                                               ; preds = %79
  %81 = load ptr, ptr %7, align 8
  %82 = load i32, ptr %8, align 4
  %83 = insertvalue { ptr, i32 } poison, ptr %81, 0
  %84 = insertvalue { ptr, i32 } %83, i32 %82, 1
  resume { ptr, i32 } %84
}

declare noundef i64 @_ZNK6Matrix11get_numRowsEv(ptr noundef nonnull align 8 dereferenceable(49)) #1

declare noundef i64 @_ZNK6Matrix11get_numColsEv(ptr noundef nonnull align 8 dereferenceable(49)) #1

declare noundef nonnull align 4 dereferenceable(4) ptr @_ZN10CPU_MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49), i64 noundef, i64 noundef) #1

declare noundef ptr @_ZNK6Matrix8get_dataEv(ptr noundef nonnull align 8 dereferenceable(49)) #1

declare noundef float @_ZN10CPU_Matrix3detEv(ptr noundef nonnull align 8 dereferenceable(49)) unnamed_addr #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 "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 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, !11, i64 0}
!10 = !{!"_ZTS7Element", !11, i64 0, !12, i64 8, !16, i64 32, !16, i64 88, !16, i64 144, !16, i64 200, !21, i64 256, !21, i64 260, !16, i64 264, !16, i64 320, !16, i64 376, !16, i64 432, !16, i64 488, !16, i64 544, !16, i64 600, !16, i64 656, !16, i64 712, !16, i64 768, !16, i64 824, !16, i64 880, !16, i64 936, !16, i64 992, !16, i64 1048}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTSSt6vectorIiSaIiEE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!16 = !{!"_ZTS10CPU_Matrix", !17, i64 0}
!17 = !{!"_ZTS6Matrix", !18, i64 8, !19, i64 16, !19, i64 24, !19, i64 32, !6, i64 40, !20, i64 48}
!18 = !{!"_ZTS11DEVICE_NAME", !7, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!"bool", !7, i64 0}
!21 = !{!"float", !7, i64 0}
!22 = !{!19, !19, i64 0}
!23 = !{!21, !21, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = distinct !{!26, !25}


; 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.CPU_Matrix = type { %class.Matrix.base, [7 x i8] }
%class.Matrix.base = type <{ ptr, i32, [4 x i8], i64, i64, i64, ptr, i8 }>

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

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN10CPU_MatrixC1Emm(ptr noundef nonnull align 8 dereferenceable(49), i64 noundef, i64 noundef) unnamed_addr #1

; Function Attrs: nounwind
declare void @_ZN10CPU_MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(49)) unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local noundef float @_ZN7Element13calculateAreaER10CPU_Matrix(ptr nocapture noundef nonnull readonly align 8 dereferenceable(1104) %0, ptr noundef nonnull align 8 dereferenceable(49) %1) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %class.CPU_Matrix, align 8
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %3) #4
  %4 = load i32, ptr %0, align 8, !tbaa !5
  %5 = add nsw i32 %4, 1
  %6 = sext i32 %5 to i64
  call void @_ZN10CPU_MatrixC1Emm(ptr noundef nonnull align 8 dereferenceable(49) %3, i64 noundef %6, i64 noundef %6)
  br label %7

7:                                                ; preds = %.loopexit19, %2
  %.015 = phi i64 [ 0, %2 ], [ %26, %.loopexit19 ]
  %8 = invoke noundef i64 @_ZNK6Matrix11get_numRowsEv(ptr noundef nonnull align 8 dereferenceable(49) %3)
          to label %9 unwind label %21

9:                                                ; preds = %7
  %10 = icmp ult i64 %.015, %8
  br i1 %10, label %.preheader.preheader, label %19

.preheader.preheader:                             ; preds = %9
  %11 = invoke noundef i64 @_ZNK6Matrix11get_numColsEv(ptr noundef nonnull align 8 dereferenceable(49) %3)
          to label %12 unwind label %.loopexit.split-lp

12:                                               ; preds = %.preheader.preheader
  %.not = icmp eq i64 %11, 0
  br i1 %.not, label %.loopexit19, label %13

13:                                               ; preds = %12
  %14 = invoke noundef ptr @_ZNK6Matrix8get_dataEv(ptr noundef nonnull align 8 dereferenceable(49) %3)
          to label %15 unwind label %.loopexit.split-lp

15:                                               ; preds = %13
  %16 = invoke noundef i64 @_ZNK6Matrix11get_numColsEv(ptr noundef nonnull align 8 dereferenceable(49) %3)
          to label %.preheader.peel.next unwind label %.loopexit.split-lp

.preheader.peel.next:                             ; preds = %15
  %17 = mul i64 %16, %.015
  %18 = getelementptr float, ptr %14, i64 %17
  store float 1.000000e+00, ptr %18, align 4, !tbaa !21
  br label %.preheader

19:                                               ; preds = %9
  %20 = invoke noundef float @_ZN10CPU_Matrix3detEv(ptr noundef nonnull align 8 dereferenceable(49) %3)
          to label %40 unwind label %41

21:                                               ; preds = %7
  %22 = landingpad { ptr, i32 }
          cleanup
  br label %43

.preheader:                                       ; preds = %.preheader.peel.next, %35
  %.0 = phi i64 [ %39, %35 ], [ 1, %.preheader.peel.next ]
  %23 = invoke noundef i64 @_ZNK6Matrix11get_numColsEv(ptr noundef nonnull align 8 dereferenceable(49) %3)
          to label %24 unwind label %.loopexit

24:                                               ; preds = %.preheader
  %25 = icmp ult i64 %.0, %23
  br i1 %25, label %27, label %.loopexit19

.loopexit19:                                      ; preds = %24, %12
  %26 = add i64 %.015, 1
  br label %7, !llvm.loop !22

.loopexit:                                        ; preds = %.preheader, %27, %30, %33
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %43

.loopexit.split-lp:                               ; preds = %.preheader.preheader, %13, %15
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %43

27:                                               ; preds = %24
  %28 = add i64 %.0, -1
  %29 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN10CPU_MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %1, i64 noundef %28, i64 noundef %.015)
          to label %30 unwind label %.loopexit

30:                                               ; preds = %27
  %31 = load float, ptr %29, align 4, !tbaa !21
  %32 = invoke noundef ptr @_ZNK6Matrix8get_dataEv(ptr noundef nonnull align 8 dereferenceable(49) %3)
          to label %33 unwind label %.loopexit

33:                                               ; preds = %30
  %34 = invoke noundef i64 @_ZNK6Matrix11get_numColsEv(ptr noundef nonnull align 8 dereferenceable(49) %3)
          to label %35 unwind label %.loopexit

35:                                               ; preds = %33
  %36 = mul i64 %34, %.015
  %37 = getelementptr float, ptr %32, i64 %.0
  %38 = getelementptr float, ptr %37, i64 %36
  store float %31, ptr %38, align 4, !tbaa !21
  %39 = add nuw i64 %.0, 1
  br label %.preheader, !llvm.loop !24

40:                                               ; preds = %19
  call void @_ZN10CPU_MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(49) %3) #4
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #4
  ret float %20

41:                                               ; preds = %19
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %43

43:                                               ; preds = %.loopexit, %.loopexit.split-lp, %21, %41
  %.pn.pn = phi { ptr, i32 } [ %42, %41 ], [ %22, %21 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZN10CPU_MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(49) %3) #4
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #4
  resume { ptr, i32 } %.pn.pn
}

declare noundef i64 @_ZNK6Matrix11get_numRowsEv(ptr noundef nonnull align 8 dereferenceable(49)) local_unnamed_addr #1

declare noundef i64 @_ZNK6Matrix11get_numColsEv(ptr noundef nonnull align 8 dereferenceable(49)) local_unnamed_addr #1

declare noundef nonnull align 4 dereferenceable(4) ptr @_ZN10CPU_MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49), i64 noundef, i64 noundef) local_unnamed_addr #1

declare noundef ptr @_ZNK6Matrix8get_dataEv(ptr noundef nonnull align 8 dereferenceable(49)) local_unnamed_addr #1

declare noundef float @_ZN10CPU_Matrix3detEv(ptr noundef nonnull align 8 dereferenceable(49)) unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 "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 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, !7, i64 0}
!6 = !{!"_ZTS7Element", !7, i64 0, !10, i64 8, !15, i64 32, !15, i64 88, !15, i64 144, !15, i64 200, !20, i64 256, !20, i64 260, !15, i64 264, !15, i64 320, !15, i64 376, !15, i64 432, !15, i64 488, !15, i64 544, !15, i64 600, !15, i64 656, !15, i64 712, !15, i64 768, !15, i64 824, !15, i64 880, !15, i64 936, !15, i64 992, !15, i64 1048}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt6vectorIiSaIiEE", !11, i64 0}
!11 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!"_ZTS10CPU_Matrix", !16, i64 0}
!16 = !{!"_ZTS6Matrix", !17, i64 8, !18, i64 16, !18, i64 24, !18, i64 32, !14, i64 40, !19, i64 48}
!17 = !{!"_ZTS11DEVICE_NAME", !8, i64 0}
!18 = !{!"long", !8, i64 0}
!19 = !{!"bool", !8, i64 0}
!20 = !{!"float", !8, i64 0}
!21 = !{!20, !20, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23, !25}
!25 = !{!"llvm.loop.peeled.count", i32 1}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopFullUnrollPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass