; LLVM IR from dtecta/motion-toolkit :: jointlimits (EllipsoidJointLimits)

; 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.mt::Vector4" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.mt::Vector3" = type { float, float, float }
%"class.mt::Vector4.0" = type { %"class.mt::Dual", %"class.mt::Dual", %"class.mt::Dual", %"class.mt::Dual" }
%"class.mt::Dual" = type { float, float }
%struct.anon = type { float, float, float, float }
%"class.ik::EllipsoidJointLimits" = type <{ %"class.ik::JointLimits", %"class.ik::Ellipsoid", [4 x i8] }>
%"class.ik::JointLimits" = type { ptr }
%"class.ik::Ellipsoid" = type { float, float, float }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK2ik20EllipsoidJointLimits5boundERN2mt7Vector4INS1_4DualIfEEEE(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 4 dereferenceable(32) %1) unnamed_addr #0 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.mt::Vector4", align 16
  %6 = alloca %"class.mt::Vector3", align 4
  %7 = alloca { <2 x float>, float }, align 8
  %8 = alloca %"class.mt::Vector4", align 16
  %9 = alloca %"class.mt::Vector4.0", align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %10 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #10
  %11 = load ptr, ptr %4, align 8, !tbaa !5
  %12 = call { double, double } @_ZN2mt8rotationIfEENS_7Vector4IT_EERKNS1_INS_4DualIS2_EEEE(ptr noundef nonnull align 4 dereferenceable(32) %11)
  %13 = getelementptr inbounds %"class.mt::Vector4", ptr %5, i32 0, i32 0
  %14 = getelementptr inbounds %union.anon, ptr %13, i32 0, i32 0
  %15 = getelementptr inbounds { double, double }, ptr %14, i32 0, i32 0
  %16 = extractvalue { double, double } %12, 0
  store double %16, ptr %15, align 16
  %17 = getelementptr inbounds { double, double }, ptr %14, i32 0, i32 1
  %18 = extractvalue { double, double } %12, 1
  store double %18, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr %6) #10
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = call { <2 x float>, float } @_ZN2mt11translationIfEENS_7Vector3IT_EERKNS_7Vector4INS_4DualIS2_EEEE(ptr noundef nonnull align 4 dereferenceable(32) %19)
  store { <2 x float>, float } %20, ptr %7, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 8 %7, i64 12, i1 false)
  %21 = getelementptr inbounds %"class.mt::Vector4", ptr %5, i32 0, i32 0
  %22 = getelementptr inbounds %struct.anon, ptr %21, i32 0, i32 3
  %23 = load float, ptr %22, align 4, !tbaa !9
  %24 = call noundef zeroext i1 @_ZN2mt10isnegativeEf(float noundef %23)
  br i1 %24, label %25, label %34

25:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #10
  %26 = call { double, double } @_ZN2mtngERKNS_7Vector4IfEE(ptr noundef nonnull align 16 dereferenceable(16) %5)
  %27 = getelementptr inbounds %"class.mt::Vector4", ptr %8, i32 0, i32 0
  %28 = getelementptr inbounds %union.anon, ptr %27, i32 0, i32 0
  %29 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 0
  %30 = extractvalue { double, double } %26, 0
  store double %30, ptr %29, align 16
  %31 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 1
  %32 = extractvalue { double, double } %26, 1
  store double %32, ptr %31, align 8
  %33 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZN2mt7Vector4IfEaSERKS1_(ptr noundef nonnull align 16 dereferenceable(16) %5, ptr noundef nonnull align 16 dereferenceable(16) %8)
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #10
  br label %34

34:                                               ; preds = %25, %2
  %35 = getelementptr inbounds %"class.ik::EllipsoidJointLimits", ptr %10, i32 0, i32 1
  %36 = getelementptr inbounds %"class.mt::Vector4", ptr %5, i32 0, i32 0
  %37 = getelementptr inbounds %struct.anon, ptr %36, i32 0, i32 0
  %38 = getelementptr inbounds %"class.mt::Vector4", ptr %5, i32 0, i32 0
  %39 = getelementptr inbounds %struct.anon, ptr %38, i32 0, i32 1
  %40 = getelementptr inbounds %"class.mt::Vector4", ptr %5, i32 0, i32 0
  %41 = getelementptr inbounds %struct.anon, ptr %40, i32 0, i32 2
  call void @_ZNK2ik9Ellipsoid5clampERfS1_S1_i(ptr noundef nonnull align 4 dereferenceable(12) %35, ptr noundef nonnull align 4 dereferenceable(4) %37, ptr noundef nonnull align 4 dereferenceable(4) %39, ptr noundef nonnull align 4 dereferenceable(4) %41, i32 noundef 50)
  %42 = getelementptr inbounds %"class.mt::Vector4", ptr %5, i32 0, i32 0
  %43 = getelementptr inbounds %struct.anon, ptr %42, i32 0, i32 0
  %44 = load float, ptr %43, align 16, !tbaa !9
  %45 = getelementptr inbounds %"class.mt::Vector4", ptr %5, i32 0, i32 0
  %46 = getelementptr inbounds %struct.anon, ptr %45, i32 0, i32 0
  %47 = load float, ptr %46, align 16, !tbaa !9
  %48 = getelementptr inbounds %"class.mt::Vector4", ptr %5, i32 0, i32 0
  %49 = getelementptr inbounds %struct.anon, ptr %48, i32 0, i32 1
  %50 = load float, ptr %49, align 4, !tbaa !9
  %51 = getelementptr inbounds %"class.mt::Vector4", ptr %5, i32 0, i32 0
  %52 = getelementptr inbounds %struct.anon, ptr %51, i32 0, i32 1
  %53 = load float, ptr %52, align 4, !tbaa !9
  %54 = fmul float %50, %53
  %55 = call float @llvm.fmuladd.f32(float %44, float %47, float %54)
  %56 = getelementptr inbounds %"class.mt::Vector4", ptr %5, i32 0, i32 0
  %57 = getelementptr inbounds %struct.anon, ptr %56, i32 0, i32 2
  %58 = load float, ptr %57, align 8, !tbaa !9
  %59 = getelementptr inbounds %"class.mt::Vector4", ptr %5, i32 0, i32 0
  %60 = getelementptr inbounds %struct.anon, ptr %59, i32 0, i32 2
  %61 = load float, ptr %60, align 8, !tbaa !9
  %62 = call float @llvm.fmuladd.f32(float %58, float %61, float %55)
  %63 = fsub float 1.000000e+00, %62
  %64 = call noundef float @_ZN2mt3maxIfEET_S1_S1_(float noundef 0.000000e+00, float noundef %63)
  %65 = call noundef float @_ZSt4sqrtf(float noundef %64)
  %66 = getelementptr inbounds %"class.mt::Vector4", ptr %5, i32 0, i32 0
  %67 = getelementptr inbounds %struct.anon, ptr %66, i32 0, i32 3
  store float %65, ptr %67, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #10
  call void @_ZN2mt5rigidIfEENS_7Vector4INS_4DualIT_EEEERKNS1_IS3_EERKNS_7Vector3IS3_EE(ptr dead_on_unwind writable sret(%"class.mt::Vector4.0") align 4 %9, ptr noundef nonnull align 16 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(12) %6)
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %68, ptr align 4 %9, i64 32, i1 false), !tbaa.struct !10
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %6) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #10
  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: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN2mt8rotationIfEENS_7Vector4IT_EERKNS1_INS_4DualIS2_EEEE(ptr noundef nonnull align 4 dereferenceable(32)) #2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN2mt11translationIfEENS_7Vector3IT_EERKNS_7Vector4INS_4DualIS2_EEEE(ptr noundef nonnull align 4 dereferenceable(32)) #3

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN2mt10isnegativeEf(float noundef) #2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN2mtngERKNS_7Vector4IfEE(ptr noundef nonnull align 16 dereferenceable(16)) #5

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef nonnull align 16 dereferenceable(16) ptr @_ZN2mt7Vector4IfEaSERKS1_(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16)) #6 align 2

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

declare void @_ZNK2ik9Ellipsoid5clampERfS1_S1_i(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4sqrtf(float noundef) #8

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZN2mt3maxIfEET_S1_S1_(float noundef, float noundef) #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #9

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN2mt5rigidIfEENS_7Vector4INS_4DualIT_EEEERKNS1_IS3_EERKNS_7Vector3IS3_EE(ptr dead_on_unwind noalias writable sret(%"class.mt::Vector4.0") align 4, ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(12)) #2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="64" "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 = { alwaysinline 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 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="64" "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "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 #6 = { alwaysinline 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 #7 = { "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 #8 = { inlinehint 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 #9 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #10 = { 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 = !{!7, !7, i64 0}
!10 = !{i64 0, i64 4, !11, i64 4, i64 4, !11, i64 8, i64 4, !11, i64 12, i64 4, !11, i64 16, i64 4, !11, i64 20, i64 4, !11, i64 24, i64 4, !11, i64 28, i64 4, !11}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}


; 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.mt::Vector4" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.mt::Vector3" = type { float, float, float }
%"class.mt::Vector4.0" = type { %"class.mt::Dual", %"class.mt::Dual", %"class.mt::Dual", %"class.mt::Dual" }
%"class.mt::Dual" = type { float, float }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK2ik20EllipsoidJointLimits5boundERN2mt7Vector4INS1_4DualIfEEEE(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 4 dereferenceable(32) %1) unnamed_addr #0 align 2 {
  %3 = alloca %"class.mt::Vector4", align 16
  %4 = alloca %"class.mt::Vector3", align 8
  %5 = alloca %"class.mt::Vector4", align 16
  %6 = alloca %"class.mt::Vector4.0", align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #10
  %7 = tail call { double, double } @_ZN2mt8rotationIfEENS_7Vector4IT_EERKNS1_INS_4DualIS2_EEEE(ptr noundef nonnull align 4 dereferenceable(32) %1)
  %8 = extractvalue { double, double } %7, 0
  store double %8, ptr %3, align 16
  %9 = getelementptr inbounds i8, ptr %3, i64 8
  %10 = extractvalue { double, double } %7, 1
  store double %10, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #10
  %11 = tail call { <2 x float>, float } @_ZN2mt11translationIfEENS_7Vector3IT_EERKNS_7Vector4INS_4DualIS2_EEEE(ptr noundef nonnull align 4 dereferenceable(32) %1)
  %.fca.0.extract = extractvalue { <2 x float>, float } %11, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %11, 1
  store <2 x float> %.fca.0.extract, ptr %4, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %4, i64 8
  store float %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  %12 = bitcast double %10 to i64
  %13 = lshr i64 %12, 32
  %14 = trunc nuw i64 %13 to i32
  %15 = bitcast i32 %14 to float
  %16 = tail call noundef zeroext i1 @_ZN2mt10isnegativeEf(float noundef %15)
  br i1 %16, label %17, label %23

17:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #10
  %18 = call { double, double } @_ZN2mtngERKNS_7Vector4IfEE(ptr noundef nonnull align 16 dereferenceable(16) %3)
  %19 = extractvalue { double, double } %18, 0
  store double %19, ptr %5, align 16
  %20 = getelementptr inbounds i8, ptr %5, i64 8
  %21 = extractvalue { double, double } %18, 1
  store double %21, ptr %20, align 8
  %22 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZN2mt7Vector4IfEaSERKS1_(ptr noundef nonnull align 16 dereferenceable(16) %3, ptr noundef nonnull align 16 dereferenceable(16) %5)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #10
  br label %23

23:                                               ; preds = %17, %2
  %24 = getelementptr inbounds i8, ptr %3, i64 12
  %25 = getelementptr inbounds i8, ptr %0, i64 8
  %26 = getelementptr inbounds i8, ptr %3, i64 4
  call void @_ZNK2ik9Ellipsoid5clampERfS1_S1_i(ptr noundef nonnull align 4 dereferenceable(12) %25, ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %26, ptr noundef nonnull align 4 dereferenceable(4) %9, i32 noundef 50)
  %27 = load float, ptr %3, align 16, !tbaa !5
  %28 = load float, ptr %26, align 4, !tbaa !5
  %29 = fmul float %28, %28
  %30 = call float @llvm.fmuladd.f32(float %27, float %27, float %29)
  %31 = load float, ptr %9, align 8, !tbaa !5
  %32 = call float @llvm.fmuladd.f32(float %31, float %31, float %30)
  %33 = fsub float 1.000000e+00, %32
  %34 = call noundef float @_ZN2mt3maxIfEET_S1_S1_(float noundef 0.000000e+00, float noundef %33)
  %35 = call noundef float @_ZSt4sqrtf(float noundef %34)
  store float %35, ptr %24, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #10
  call void @_ZN2mt5rigidIfEENS_7Vector4INS_4DualIT_EEEERKNS1_IS3_EERKNS_7Vector3IS3_EE(ptr dead_on_unwind nonnull writable sret(%"class.mt::Vector4.0") align 4 %6, ptr noundef nonnull align 16 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(12) %4)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(32) %1, ptr noundef nonnull align 4 dereferenceable(32) %6, i64 32, i1 false), !tbaa.struct !8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #10
  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: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN2mt8rotationIfEENS_7Vector4IT_EERKNS1_INS_4DualIS2_EEEE(ptr noundef nonnull align 4 dereferenceable(32)) local_unnamed_addr #2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN2mt11translationIfEENS_7Vector3IT_EERKNS_7Vector4INS_4DualIS2_EEEE(ptr noundef nonnull align 4 dereferenceable(32)) local_unnamed_addr #3

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN2mt10isnegativeEf(float noundef) local_unnamed_addr #2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN2mtngERKNS_7Vector4IfEE(ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #5

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef nonnull align 16 dereferenceable(16) ptr @_ZN2mt7Vector4IfEaSERKS1_(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #6 align 2

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

declare void @_ZNK2ik9Ellipsoid5clampERfS1_S1_i(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4sqrtf(float noundef) local_unnamed_addr #8

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZN2mt3maxIfEET_S1_S1_(float noundef, float noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #9

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN2mt5rigidIfEENS_7Vector4INS_4DualIT_EEEERKNS1_IS3_EERKNS_7Vector3IS3_EE(ptr dead_on_unwind noalias writable sret(%"class.mt::Vector4.0") align 4, ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="64" "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 = { alwaysinline 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 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="64" "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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "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 #6 = { alwaysinline 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 #7 = { "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 #8 = { inlinehint 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 #9 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #10 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{i64 0, i64 4, !9, i64 4, i64 4, !9, i64 8, i64 4, !9, i64 12, i64 4, !9, i64 16, i64 4, !9, i64 20, i64 4, !9, i64 24, i64 4, !9, i64 28, i64 4, !9}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !6, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,SCCPPass,SROAPass,TailCallElimPass