; LLVM IR from yangfengzzz/DigitalVox3 :: vox.geometry/fdm_linear_system3.ll (ZN3vox8geometry8FdmBlas33dotERKNS0_5ArrayIdLm3EEES5_)

; 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.vox::geometry::Matrix" = type { i64, i64, i64 }

@.str = external hidden unnamed_addr constant [17 x i8], align 1
@_ZTISt16invalid_argument = external constant ptr

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3vox8geometry6MatrixImLm3ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN3vox8geometry8FdmBlas33dotERKNS0_5ArrayIdLm3EEES5_(ptr noundef nonnull align 8 dereferenceable(64) %0, ptr noundef nonnull align 8 dereferenceable(64) %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.vox::geometry::Matrix", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca double, align 8
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #6
  %13 = load ptr, ptr %3, align 8, !tbaa !5
  %14 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3vox8geometry9ArrayBaseIdLm3ENS0_5ArrayIdLm3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %13)
  call void @_ZN3vox8geometry6MatrixImLm3ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %14)
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3vox8geometry9ArrayBaseIdLm3ENS0_5ArrayIdLm3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %15)
  %17 = call noundef zeroext i1 @_ZN3vox8geometryneImLm3ELm1ELm3ELm1ENS0_6MatrixImLm3ELm1EEES3_EEbRKNS0_16MatrixExpressionIT_XT0_EXT1_ET4_EERKNS4_IS5_XT2_EXT3_ET5_EE(ptr noundef nonnull align 1 dereferenceable(1) %5, ptr noundef nonnull align 1 dereferenceable(1) %16)
  br i1 %17, label %18, label %25

18:                                               ; preds = %2
  %19 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZNSt16invalid_argumentC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef @.str)
          to label %20 unwind label %21

20:                                               ; preds = %18
  call void @__cxa_throw(ptr %19, ptr @_ZTISt16invalid_argument, ptr @_ZNSt16invalid_argumentD1Ev) #7
  unreachable

21:                                               ; preds = %18
  %22 = landingpad { ptr, i32 }
          cleanup
  %23 = extractvalue { ptr, i32 } %22, 0
  store ptr %23, ptr %6, align 8
  %24 = extractvalue { ptr, i32 } %22, 1
  store i32 %24, ptr %7, align 4
  call void @__cxa_free_exception(ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #6
  br label %74

25:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  store double 0.000000e+00, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  store i64 0, ptr %9, align 8, !tbaa !11
  br label %26

26:                                               ; preds = %69, %25
  %27 = load i64, ptr %9, align 8, !tbaa !11
  %28 = getelementptr inbounds %"class.vox::geometry::Matrix", ptr %5, i32 0, i32 2
  %29 = load i64, ptr %28, align 8, !tbaa !13
  %30 = icmp ult i64 %27, %29
  br i1 %30, label %32, label %31

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

32:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %33

33:                                               ; preds = %65, %32
  %34 = load i64, ptr %11, align 8, !tbaa !11
  %35 = getelementptr inbounds %"class.vox::geometry::Matrix", ptr %5, i32 0, i32 1
  %36 = load i64, ptr %35, align 8, !tbaa !15
  %37 = icmp ult i64 %34, %36
  br i1 %37, label %39, label %38

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

39:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  store i64 0, ptr %12, align 8, !tbaa !11
  br label %40

40:                                               ; preds = %61, %39
  %41 = load i64, ptr %12, align 8, !tbaa !11
  %42 = getelementptr inbounds %"class.vox::geometry::Matrix", ptr %5, i32 0, i32 0
  %43 = load i64, ptr %42, align 8, !tbaa !16
  %44 = icmp ult i64 %41, %43
  br i1 %44, label %46, label %45

45:                                               ; preds = %40
  store i32 8, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %64

46:                                               ; preds = %40
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  %48 = load i64, ptr %12, align 8, !tbaa !11
  %49 = load i64, ptr %11, align 8, !tbaa !11
  %50 = load i64, ptr %9, align 8, !tbaa !11
  %51 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3vox8geometry9ArrayBaseIdLm3ENS0_5ArrayIdLm3EEEEclIJmmEEERKdmDpT_(ptr noundef nonnull align 8 dereferenceable(40) %47, i64 noundef %48, i64 noundef %49, i64 noundef %50)
  %52 = load double, ptr %51, align 8, !tbaa !9
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = load i64, ptr %12, align 8, !tbaa !11
  %55 = load i64, ptr %11, align 8, !tbaa !11
  %56 = load i64, ptr %9, align 8, !tbaa !11
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3vox8geometry9ArrayBaseIdLm3ENS0_5ArrayIdLm3EEEEclIJmmEEERKdmDpT_(ptr noundef nonnull align 8 dereferenceable(40) %53, i64 noundef %54, i64 noundef %55, i64 noundef %56)
  %58 = load double, ptr %57, align 8, !tbaa !9
  %59 = load double, ptr %8, align 8, !tbaa !9
  %60 = call double @llvm.fmuladd.f64(double %52, double %58, double %59)
  store double %60, ptr %8, align 8, !tbaa !9
  br label %61

61:                                               ; preds = %46
  %62 = load i64, ptr %12, align 8, !tbaa !11
  %63 = add i64 %62, 1
  store i64 %63, ptr %12, align 8, !tbaa !11
  br label %40, !llvm.loop !17

64:                                               ; preds = %45
  br label %65

65:                                               ; preds = %64
  %66 = load i64, ptr %11, align 8, !tbaa !11
  %67 = add i64 %66, 1
  store i64 %67, ptr %11, align 8, !tbaa !11
  br label %33, !llvm.loop !19

68:                                               ; preds = %38
  br label %69

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

72:                                               ; preds = %31
  %73 = load double, ptr %8, align 8, !tbaa !9
  store i32 1, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #6
  ret double %73

74:                                               ; preds = %21
  %75 = load ptr, ptr %6, align 8
  %76 = load i32, ptr %7, align 4
  %77 = insertvalue { ptr, i32 } poison, ptr %75, 0
  %78 = insertvalue { ptr, i32 } %77, i32 %76, 1
  resume { ptr, i32 } %78
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3vox8geometry9ArrayBaseIdLm3ENS0_5ArrayIdLm3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3vox8geometryneImLm3ELm1ELm3ELm1ENS0_6MatrixImLm3ELm1EEES3_EEbRKNS0_16MatrixExpressionIT_XT0_EXT1_ET4_EERKNS4_IS5_XT2_EXT3_ET5_EE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) #2

declare ptr @__cxa_allocate_exception(i64)

declare void @_ZNSt16invalid_argumentC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

declare void @__cxa_free_exception(ptr)

; Function Attrs: nounwind
declare void @_ZNSt16invalid_argumentD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

declare void @__cxa_throw(ptr, ptr, ptr)

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3vox8geometry9ArrayBaseIdLm3ENS0_5ArrayIdLm3EEEEclIJmmEEERKdmDpT_(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef, i64 noundef, i64 noundef) #2 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #5

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { "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 "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }
attributes #7 = { noreturn }

!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, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !12, i64 16}
!14 = !{!"_ZTSN3vox8geometry6MatrixImLm3ELm1EEE", !12, i64 0, !12, i64 8, !12, i64 16}
!15 = !{!14, !12, i64 8}
!16 = !{!14, !12, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}


; 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.vox::geometry::Matrix" = type { i64, i64, i64 }

@.str = external hidden unnamed_addr constant [17 x i8], align 1
@_ZTISt16invalid_argument = external constant ptr

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3vox8geometry6MatrixImLm3ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN3vox8geometry8FdmBlas33dotERKNS0_5ArrayIdLm3EEES5_(ptr noundef nonnull align 8 dereferenceable(64) %0, ptr noundef nonnull align 8 dereferenceable(64) %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.vox::geometry::Matrix", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #6
  %4 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3vox8geometry9ArrayBaseIdLm3ENS0_5ArrayIdLm3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
  call void @_ZN3vox8geometry6MatrixImLm3ELm1EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %4)
  %5 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3vox8geometry9ArrayBaseIdLm3ENS0_5ArrayIdLm3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %1)
  %6 = call noundef zeroext i1 @_ZN3vox8geometryneImLm3ELm1ELm3ELm1ENS0_6MatrixImLm3ELm1EEES3_EEbRKNS0_16MatrixExpressionIT_XT0_EXT1_ET4_EERKNS4_IS5_XT2_EXT3_ET5_EE(ptr noundef nonnull align 1 dereferenceable(1) %3, ptr noundef nonnull align 1 dereferenceable(1) %5)
  br i1 %6, label %11, label %.preheader23

.preheader23:                                     ; preds = %2
  %7 = getelementptr inbounds i8, ptr %3, i64 16
  %8 = load i64, ptr %7, align 8, !tbaa !5
  %.not = icmp eq i64 %8, 0
  br i1 %.not, label %._crit_edge33, label %.preheader22.lr.ph

.preheader22.lr.ph:                               ; preds = %.preheader23
  %9 = getelementptr inbounds i8, ptr %3, i64 8
  %10 = load i64, ptr %9, align 8, !tbaa !10
  %.not36 = icmp eq i64 %10, 0
  br i1 %.not36, label %._crit_edge33, label %.preheader22

11:                                               ; preds = %2
  %12 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZNSt16invalid_argumentC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull @.str)
          to label %13 unwind label %14

13:                                               ; preds = %11
  call void @__cxa_throw(ptr nonnull %12, ptr nonnull @_ZTISt16invalid_argument, ptr nonnull @_ZNSt16invalid_argumentD1Ev) #7
  unreachable

14:                                               ; preds = %11
  %15 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  resume { ptr, i32 } %15

.preheader22:                                     ; preds = %.preheader22.lr.ph, %._crit_edge28
  %16 = phi i64 [ %22, %._crit_edge28 ], [ %8, %.preheader22.lr.ph ]
  %17 = phi i64 [ %23, %._crit_edge28 ], [ %10, %.preheader22.lr.ph ]
  %18 = phi i64 [ %24, %._crit_edge28 ], [ %10, %.preheader22.lr.ph ]
  %.02031 = phi i64 [ %25, %._crit_edge28 ], [ 0, %.preheader22.lr.ph ]
  %.02130 = phi double [ %.1.lcssa, %._crit_edge28 ], [ 0.000000e+00, %.preheader22.lr.ph ]
  %.not37 = icmp eq i64 %18, 0
  br i1 %.not37, label %._crit_edge28, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %.preheader22
  %19 = load i64, ptr %3, align 8, !tbaa !11
  %.not38 = icmp eq i64 %19, 0
  br i1 %.not38, label %._crit_edge28, label %.preheader

._crit_edge33:                                    ; preds = %._crit_edge28, %.preheader22.lr.ph, %.preheader23
  %.021.lcssa = phi double [ 0.000000e+00, %.preheader23 ], [ 0.000000e+00, %.preheader22.lr.ph ], [ %.1.lcssa, %._crit_edge28 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  ret double %.021.lcssa

.preheader:                                       ; preds = %.preheader.lr.ph, %._crit_edge
  %20 = phi i64 [ %27, %._crit_edge ], [ %17, %.preheader.lr.ph ]
  %21 = phi i64 [ %28, %._crit_edge ], [ 1, %.preheader.lr.ph ]
  %.01927 = phi i64 [ %29, %._crit_edge ], [ 0, %.preheader.lr.ph ]
  %.126 = phi double [ %.2.lcssa, %._crit_edge ], [ %.02130, %.preheader.lr.ph ]
  %.not39 = icmp eq i64 %21, 0
  br i1 %.not39, label %._crit_edge, label %.lr.ph

._crit_edge28.loopexit40:                         ; preds = %._crit_edge
  %.pre42 = load i64, ptr %7, align 8, !tbaa !5
  br label %._crit_edge28

._crit_edge28:                                    ; preds = %.preheader.lr.ph, %._crit_edge28.loopexit40, %.preheader22
  %22 = phi i64 [ %16, %.preheader22 ], [ %.pre42, %._crit_edge28.loopexit40 ], [ %16, %.preheader.lr.ph ]
  %23 = phi i64 [ %17, %.preheader22 ], [ %27, %._crit_edge28.loopexit40 ], [ %17, %.preheader.lr.ph ]
  %24 = phi i64 [ 0, %.preheader22 ], [ %27, %._crit_edge28.loopexit40 ], [ %18, %.preheader.lr.ph ]
  %.1.lcssa = phi double [ %.02130, %.preheader22 ], [ %.2.lcssa, %._crit_edge28.loopexit40 ], [ %.02130, %.preheader.lr.ph ]
  %25 = add nuw i64 %.02031, 1
  %26 = icmp ult i64 %25, %22
  br i1 %26, label %.preheader22, label %._crit_edge33, !llvm.loop !12

._crit_edge.loopexit:                             ; preds = %.lr.ph
  %.pre = load i64, ptr %9, align 8, !tbaa !10
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader
  %27 = phi i64 [ %20, %.preheader ], [ %.pre, %._crit_edge.loopexit ]
  %28 = phi i64 [ 0, %.preheader ], [ %37, %._crit_edge.loopexit ]
  %.2.lcssa = phi double [ %.126, %.preheader ], [ %35, %._crit_edge.loopexit ]
  %29 = add nuw i64 %.01927, 1
  %30 = icmp ult i64 %29, %27
  br i1 %30, label %.preheader, label %._crit_edge28.loopexit40, !llvm.loop !15

.lr.ph:                                           ; preds = %.preheader, %.lr.ph
  %.025 = phi i64 [ %36, %.lr.ph ], [ 0, %.preheader ]
  %.224 = phi double [ %35, %.lr.ph ], [ %.126, %.preheader ]
  %31 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3vox8geometry9ArrayBaseIdLm3ENS0_5ArrayIdLm3EEEEclIJmmEEERKdmDpT_(ptr noundef nonnull align 8 dereferenceable(40) %0, i64 noundef %.025, i64 noundef %.01927, i64 noundef %.02031)
  %32 = load double, ptr %31, align 8, !tbaa !16
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3vox8geometry9ArrayBaseIdLm3ENS0_5ArrayIdLm3EEEEclIJmmEEERKdmDpT_(ptr noundef nonnull align 8 dereferenceable(40) %1, i64 noundef %.025, i64 noundef %.01927, i64 noundef %.02031)
  %34 = load double, ptr %33, align 8, !tbaa !16
  %35 = call double @llvm.fmuladd.f64(double %32, double %34, double %.224)
  %36 = add nuw i64 %.025, 1
  %37 = load i64, ptr %3, align 8, !tbaa !11
  %38 = icmp ult i64 %36, %37
  br i1 %38, label %.lr.ph, label %._crit_edge.loopexit, !llvm.loop !18
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3vox8geometry9ArrayBaseIdLm3ENS0_5ArrayIdLm3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3vox8geometryneImLm3ELm1ELm3ELm1ENS0_6MatrixImLm3ELm1EEES3_EEbRKNS0_16MatrixExpressionIT_XT0_EXT1_ET4_EERKNS4_IS5_XT2_EXT3_ET5_EE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @_ZNSt16invalid_argumentC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: nounwind
declare void @_ZNSt16invalid_argumentD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3vox8geometry9ArrayBaseIdLm3ENS0_5ArrayIdLm3EEEEclIJmmEEERKdmDpT_(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #5

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { "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 "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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }
attributes #7 = { noreturn }

!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 16}
!6 = !{!"_ZTSN3vox8geometry6MatrixImLm3ELm1EEE", !7, i64 0, !7, i64 8, !7, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!6, !7, i64 0}
!12 = distinct !{!12, !13, !14}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!"llvm.loop.unswitch.partial.disable"}
!15 = distinct !{!15, !13, !14}
!16 = !{!17, !17, i64 0}
!17 = !{!"double", !8, i64 0}
!18 = distinct !{!18, !13}


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