; LLVM IR from Slingshot-Physics/slingshot-community :: common/geometry/src (tetrahedron)

; 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.Vector4 = type { [4 x float] }
%class.Vector3 = type { [3 x float] }
%class.Matrix33 = type { [9 x float] }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8geometry11tetrahedron10baryCoordsERK7Vector3S3_S3_S3_S3_(ptr dead_on_unwind noalias writable sret(%class.Vector4) align 4 %0, ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %5) #0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %class.Vector3, align 4
  %14 = alloca %class.Vector3, align 4
  %15 = alloca %class.Vector3, align 4
  %16 = alloca %class.Matrix33, align 4
  %17 = alloca %class.Vector3, align 4
  %18 = alloca %class.Matrix33, align 4
  %19 = alloca %class.Vector3, align 4
  %20 = alloca i32, align 4
  store ptr %0, ptr %7, align 8
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store ptr %5, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %13) #3
  %21 = load ptr, ptr %8, align 8, !tbaa !5
  %22 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %13, ptr noundef nonnull align 4 dereferenceable(12) %21, ptr noundef nonnull align 4 dereferenceable(12) %22)
  call void @llvm.lifetime.start.p0(i64 12, ptr %14) #3
  %23 = load ptr, ptr %9, align 8, !tbaa !5
  %24 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %14, ptr noundef nonnull align 4 dereferenceable(12) %23, ptr noundef nonnull align 4 dereferenceable(12) %24)
  call void @llvm.lifetime.start.p0(i64 12, ptr %15) #3
  %25 = load ptr, ptr %10, align 8, !tbaa !5
  %26 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %15, ptr noundef nonnull align 4 dereferenceable(12) %25, ptr noundef nonnull align 4 dereferenceable(12) %26)
  call void @llvm.lifetime.start.p0(i64 36, ptr %16) #3
  %27 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector3ixEj(ptr noundef nonnull align 4 dereferenceable(12) %13, i32 noundef 0)
  %28 = load float, ptr %27, align 4, !tbaa !9
  %29 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector3ixEj(ptr noundef nonnull align 4 dereferenceable(12) %14, i32 noundef 0)
  %30 = load float, ptr %29, align 4, !tbaa !9
  %31 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector3ixEj(ptr noundef nonnull align 4 dereferenceable(12) %15, i32 noundef 0)
  %32 = load float, ptr %31, align 4, !tbaa !9
  %33 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector3ixEj(ptr noundef nonnull align 4 dereferenceable(12) %13, i32 noundef 1)
  %34 = load float, ptr %33, align 4, !tbaa !9
  %35 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector3ixEj(ptr noundef nonnull align 4 dereferenceable(12) %14, i32 noundef 1)
  %36 = load float, ptr %35, align 4, !tbaa !9
  %37 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector3ixEj(ptr noundef nonnull align 4 dereferenceable(12) %15, i32 noundef 1)
  %38 = load float, ptr %37, align 4, !tbaa !9
  %39 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector3ixEj(ptr noundef nonnull align 4 dereferenceable(12) %13, i32 noundef 2)
  %40 = load float, ptr %39, align 4, !tbaa !9
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector3ixEj(ptr noundef nonnull align 4 dereferenceable(12) %14, i32 noundef 2)
  %42 = load float, ptr %41, align 4, !tbaa !9
  %43 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector3ixEj(ptr noundef nonnull align 4 dereferenceable(12) %15, i32 noundef 2)
  %44 = load float, ptr %43, align 4, !tbaa !9
  call void @_ZN8Matrix33C2Efffffffff(ptr noundef nonnull align 4 dereferenceable(36) %16, float noundef %28, float noundef %30, float noundef %32, float noundef %34, float noundef %36, float noundef %38, float noundef %40, float noundef %42, float noundef %44)
  call void @llvm.lifetime.start.p0(i64 12, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 36, ptr %18) #3
  call void @_ZNK8Matrix33coEv(ptr dead_on_unwind writable sret(%class.Matrix33) align 4 %18, ptr noundef nonnull align 4 dereferenceable(36) %16)
  call void @llvm.lifetime.start.p0(i64 12, ptr %19) #3
  %45 = load ptr, ptr %12, align 8, !tbaa !5
  %46 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %19, ptr noundef nonnull align 4 dereferenceable(12) %45, ptr noundef nonnull align 4 dereferenceable(12) %46)
  call void @_ZNK8Matrix33mlERK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %17, ptr noundef nonnull align 4 dereferenceable(36) %18, ptr noundef nonnull align 4 dereferenceable(12) %19)
  call void @llvm.lifetime.end.p0(i64 12, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 36, ptr %18) #3
  call void @_ZN7Vector4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %0)
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #3
  store i32 0, ptr %20, align 4, !tbaa !11
  br label %47

47:                                               ; preds = %57, %6
  %48 = load i32, ptr %20, align 4, !tbaa !11
  %49 = icmp slt i32 %48, 3
  br i1 %49, label %51, label %50

50:                                               ; preds = %47
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  br label %60

51:                                               ; preds = %47
  %52 = load i32, ptr %20, align 4, !tbaa !11
  %53 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector3ixEj(ptr noundef nonnull align 4 dereferenceable(12) %17, i32 noundef %52)
  %54 = load float, ptr %53, align 4, !tbaa !9
  %55 = load i32, ptr %20, align 4, !tbaa !11
  %56 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %0, i32 noundef %55)
  store float %54, ptr %56, align 4, !tbaa !9
  br label %57

57:                                               ; preds = %51
  %58 = load i32, ptr %20, align 4, !tbaa !11
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr %20, align 4, !tbaa !11
  br label %47, !llvm.loop !13

60:                                               ; preds = %50
  %61 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %0, i32 noundef 0)
  %62 = load float, ptr %61, align 4, !tbaa !9
  %63 = fsub float 1.000000e+00, %62
  %64 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %0, i32 noundef 1)
  %65 = load float, ptr %64, align 4, !tbaa !9
  %66 = fsub float %63, %65
  %67 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %0, i32 noundef 2)
  %68 = load float, ptr %67, align 4, !tbaa !9
  %69 = fsub float %66, %68
  %70 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %0, i32 noundef 3)
  store float %69, ptr %70, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 12, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 36, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 12, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 12, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 12, ptr %13) #3
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7Vector3miERKS_(ptr dead_on_unwind noalias writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector3ixEj(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8Matrix33C2Efffffffff(ptr noundef nonnull align 4 dereferenceable(36), float noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8Matrix33coEv(ptr dead_on_unwind noalias writable sret(%class.Matrix33) align 4, ptr noundef nonnull align 4 dereferenceable(36)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8Matrix33mlERK7Vector3(ptr dead_on_unwind noalias writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(12)) #0 align 2

; 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
declare dso_local void @_ZN7Vector4C2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) #2 align 2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 = !{!"float", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"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.Vector4 = type { [4 x float] }
%class.Vector3 = type { [3 x float] }
%class.Matrix33 = type { [9 x float] }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8geometry11tetrahedron10baryCoordsERK7Vector3S3_S3_S3_S3_(ptr dead_on_unwind noalias writable sret(%class.Vector4) align 4 %0, ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %5) local_unnamed_addr #0 {
  %7 = alloca %class.Vector3, align 4
  %8 = alloca %class.Vector3, align 4
  %9 = alloca %class.Vector3, align 4
  %10 = alloca %class.Matrix33, align 4
  %11 = alloca %class.Vector3, align 4
  %12 = alloca %class.Matrix33, align 4
  %13 = alloca %class.Vector3, align 4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #3
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %7, ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %4)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %8) #3
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %8, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %4)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %9) #3
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %9, ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %4)
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %10) #3
  %14 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector3ixEj(ptr noundef nonnull align 4 dereferenceable(12) %7, i32 noundef 0)
  %15 = load float, ptr %14, align 4, !tbaa !5
  %16 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector3ixEj(ptr noundef nonnull align 4 dereferenceable(12) %8, i32 noundef 0)
  %17 = load float, ptr %16, align 4, !tbaa !5
  %18 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector3ixEj(ptr noundef nonnull align 4 dereferenceable(12) %9, i32 noundef 0)
  %19 = load float, ptr %18, align 4, !tbaa !5
  %20 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector3ixEj(ptr noundef nonnull align 4 dereferenceable(12) %7, i32 noundef 1)
  %21 = load float, ptr %20, align 4, !tbaa !5
  %22 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector3ixEj(ptr noundef nonnull align 4 dereferenceable(12) %8, i32 noundef 1)
  %23 = load float, ptr %22, align 4, !tbaa !5
  %24 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector3ixEj(ptr noundef nonnull align 4 dereferenceable(12) %9, i32 noundef 1)
  %25 = load float, ptr %24, align 4, !tbaa !5
  %26 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector3ixEj(ptr noundef nonnull align 4 dereferenceable(12) %7, i32 noundef 2)
  %27 = load float, ptr %26, align 4, !tbaa !5
  %28 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector3ixEj(ptr noundef nonnull align 4 dereferenceable(12) %8, i32 noundef 2)
  %29 = load float, ptr %28, align 4, !tbaa !5
  %30 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector3ixEj(ptr noundef nonnull align 4 dereferenceable(12) %9, i32 noundef 2)
  %31 = load float, ptr %30, align 4, !tbaa !5
  call void @_ZN8Matrix33C2Efffffffff(ptr noundef nonnull align 4 dereferenceable(36) %10, float noundef %15, float noundef %17, float noundef %19, float noundef %21, float noundef %23, float noundef %25, float noundef %27, float noundef %29, float noundef %31)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %11) #3
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %12) #3
  call void @_ZNK8Matrix33coEv(ptr dead_on_unwind nonnull writable sret(%class.Matrix33) align 4 %12, ptr noundef nonnull align 4 dereferenceable(36) %10)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %13) #3
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %13, ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %4)
  call void @_ZNK8Matrix33mlERK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %11, ptr noundef nonnull align 4 dereferenceable(36) %12, ptr noundef nonnull align 4 dereferenceable(12) %13)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %13) #3
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %12) #3
  call void @_ZN7Vector4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %0)
  %32 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector3ixEj(ptr noundef nonnull align 4 dereferenceable(12) %11, i32 noundef 0)
  %33 = load float, ptr %32, align 4, !tbaa !5
  %34 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %0, i32 noundef 0)
  store float %33, ptr %34, align 4, !tbaa !5
  %35 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector3ixEj(ptr noundef nonnull align 4 dereferenceable(12) %11, i32 noundef 1)
  %36 = load float, ptr %35, align 4, !tbaa !5
  %37 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %0, i32 noundef 1)
  store float %36, ptr %37, align 4, !tbaa !5
  %38 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector3ixEj(ptr noundef nonnull align 4 dereferenceable(12) %11, i32 noundef 2)
  %39 = load float, ptr %38, align 4, !tbaa !5
  %40 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %0, i32 noundef 2)
  store float %39, ptr %40, align 4, !tbaa !5
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %0, i32 noundef 0)
  %42 = load float, ptr %41, align 4, !tbaa !5
  %43 = fsub float 1.000000e+00, %42
  %44 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %0, i32 noundef 1)
  %45 = load float, ptr %44, align 4, !tbaa !5
  %46 = fsub float %43, %45
  %47 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %0, i32 noundef 2)
  %48 = load float, ptr %47, align 4, !tbaa !5
  %49 = fsub float %46, %48
  %50 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16) %0, i32 noundef 3)
  store float %49, ptr %50, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #3
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %10) #3
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #3
  ret void
}

; 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 uwtable
declare dso_local void @_ZNK7Vector3miERKS_(ptr dead_on_unwind noalias writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector3ixEj(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8Matrix33C2Efffffffff(ptr noundef nonnull align 4 dereferenceable(36), float noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8Matrix33coEv(ptr dead_on_unwind noalias writable sret(%class.Matrix33) align 4, ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8Matrix33mlERK7Vector3(ptr dead_on_unwind noalias writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #0 align 2

; 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
declare dso_local void @_ZN7Vector4C2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN7Vector4ixEj(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) local_unnamed_addr #2 align 2

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


; Effective O3 passes: GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,SROAPass,SimplifyCFGPass