; LLVM IR from dtecta/motion-toolkit :: curve/Extruder.ll (ZN2cv8Extruder9addSampleERKN2mt7Vector3INS1_4DualIfEEEEf)

; 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::Vector3.0" = type { float, float, float }
%"struct.cv::Sample" = type <{ %"class.mt::Matrix4x4", float, [12 x i8] }>
%"class.mt::Matrix4x4" = type { [4 x %"class.mt::Vector4"] }
%"class.mt::Vector4" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.cv::Extruder" = type { float, %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<cv::Sample, std::allocator<cv::Sample>>::_Vector_impl" }
%"struct.std::_Vector_base<cv::Sample, std::allocator<cv::Sample>>::_Vector_impl" = type { %"struct.std::_Vector_base<cv::Sample, std::allocator<cv::Sample>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cv::Sample, std::allocator<cv::Sample>>::_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

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

; 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) #2

; 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
define dso_local void @_ZN2cv8Extruder9addSampleERKN2mt7Vector3INS1_4DualIfEEEEf(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 4 dereferenceable(24) %1, float noundef %2) #3 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca float, align 4
  %7 = alloca %"class.mt::Vector3.0", align 4
  %8 = alloca { <2 x float>, float }, align 8
  %9 = alloca %"class.mt::Vector3.0", align 4
  %10 = alloca %"class.mt::Vector3.0", align 4
  %11 = alloca { <2 x float>, float }, align 8
  %12 = alloca { <2 x float>, float }, align 8
  %13 = alloca %"class.mt::Vector3.0", align 4
  %14 = alloca %"class.mt::Vector3.0", align 4
  %15 = alloca { <2 x float>, float }, align 8
  %16 = alloca %"class.mt::Vector3.0", align 4
  %17 = alloca %"class.mt::Vector3.0", align 4
  %18 = alloca { <2 x float>, float }, align 8
  %19 = alloca { <2 x float>, float }, align 8
  %20 = alloca %"struct.cv::Sample", align 16
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store float %2, ptr %6, align 4, !tbaa !9
  %21 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr %7) #8
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = call { <2 x float>, float } @_ZN2mt4realIfEENS_7Vector3IT_EERKNS1_INS_4DualIS2_EEEE(ptr noundef nonnull align 4 dereferenceable(24) %22)
  store { <2 x float>, float } %23, ptr %8, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 8 %8, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %9) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %10) #8
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = call { <2 x float>, float } @_ZN2mt4dualIfEENS_7Vector3IT_EERKNS1_INS_4DualIS2_EEEE(ptr noundef nonnull align 4 dereferenceable(24) %24)
  store { <2 x float>, float } %25, ptr %11, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 8 %11, i64 12, i1 false)
  %26 = call { <2 x float>, float } @_ZN2mt9normalizeINS_7Vector3IfEEEET_RKS3_(ptr noundef nonnull align 4 dereferenceable(12) %10)
  store { <2 x float>, float } %26, ptr %12, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 8 %12, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %14) #8
  %27 = call noundef ptr @_ZN2mt7Vector3IfEcvPfEv(ptr noundef nonnull align 4 dereferenceable(12) %9)
  %28 = getelementptr inbounds float, ptr %27, i64 1
  %29 = load float, ptr %28, align 4, !tbaa !9
  %30 = call noundef ptr @_ZN2mt7Vector3IfEcvPfEv(ptr noundef nonnull align 4 dereferenceable(12) %9)
  %31 = getelementptr inbounds float, ptr %30, i64 0
  %32 = load float, ptr %31, align 4, !tbaa !9
  %33 = fneg float %32
  call void @_ZN2mt7Vector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %14, float noundef %29, float noundef %33, float noundef 0.000000e+00)
  %34 = call { <2 x float>, float } @_ZN2mt9normalizeINS_7Vector3IfEEEET_RKS3_(ptr noundef nonnull align 4 dereferenceable(12) %14)
  store { <2 x float>, float } %34, ptr %15, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 8 %15, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %17) #8
  %35 = call { <2 x float>, float } @_ZN2mt5crossIffEENS_7Vector3INS_7PromoteIT_T0_E2RTEEERKNS1_IS3_EERKNS1_IS4_EE(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %9)
  store { <2 x float>, float } %35, ptr %18, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 8 %18, i64 12, i1 false)
  %36 = call { <2 x float>, float } @_ZN2mt9normalizeINS_7Vector3IfEEEET_RKS3_(ptr noundef nonnull align 4 dereferenceable(12) %17)
  store { <2 x float>, float } %36, ptr %19, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 8 %19, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 80, ptr %20) #8
  call void @_ZN2cv6SampleC2Ev(ptr noundef nonnull align 16 dereferenceable(68) %20)
  %37 = getelementptr inbounds %"struct.cv::Sample", ptr %20, i32 0, i32 0
  call void @_ZN2mt9Matrix4x4IfE10setColumnsERKNS_7Vector3IfEES5_S5_S5_(ptr noundef nonnull align 16 dereferenceable(64) %37, ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 4 dereferenceable(12) %7)
  %38 = load float, ptr %6, align 4, !tbaa !9
  %39 = getelementptr inbounds %"struct.cv::Sample", ptr %20, i32 0, i32 1
  store float %38, ptr %39, align 16, !tbaa !11
  %40 = getelementptr inbounds %"class.cv::Extruder", ptr %21, i32 0, i32 1
  call void @_ZNSt6vectorIN2cv6SampleESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %40, ptr noundef nonnull align 16 dereferenceable(68) %20)
  call void @llvm.lifetime.end.p0(i64 80, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %7) #8
  ret void
}

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN2mt7Vector3IfEcvPfEv(ptr noundef nonnull align 4 dereferenceable(12)) #5 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN2mt7Vector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN2cv6SampleC2Ev(ptr noundef nonnull align 16 dereferenceable(68)) unnamed_addr #6 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN2mt9Matrix4x4IfE10setColumnsERKNS_7Vector3IfEES5_S5_S5_(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN2cv6SampleESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(68)) #7 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = { 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 #5 = { 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 #6 = { 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 #7 = { 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 #8 = { 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, !10, i64 64}
!12 = !{!"_ZTSN2cv6SampleE", !13, i64 0, !10, i64 64}
!13 = !{!"_ZTSN2mt9Matrix4x4IfEE", !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::Vector3.0" = type { float, float, float }
%"struct.cv::Sample" = type <{ %"class.mt::Matrix4x4", float, [12 x i8] }>
%"class.mt::Matrix4x4" = type { [4 x %"class.mt::Vector4"] }
%"class.mt::Vector4" = type { %union.anon }
%union.anon = type { <4 x float> }

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

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

; 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
define dso_local void @_ZN2cv8Extruder9addSampleERKN2mt7Vector3INS1_4DualIfEEEEf(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 4 dereferenceable(24) %1, float noundef %2) local_unnamed_addr #2 align 2 {
  %4 = alloca %"class.mt::Vector3.0", align 8
  %5 = alloca %"class.mt::Vector3.0", align 8
  %6 = alloca %"class.mt::Vector3.0", align 8
  %7 = alloca %"class.mt::Vector3.0", align 8
  %8 = alloca %"class.mt::Vector3.0", align 4
  %9 = alloca %"class.mt::Vector3.0", align 8
  %10 = alloca %"class.mt::Vector3.0", align 8
  %11 = alloca %"struct.cv::Sample", align 16
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #7
  %12 = tail call { <2 x float>, float } @_ZN2mt4realIfEENS_7Vector3IT_EERKNS1_INS_4DualIS2_EEEE(ptr noundef nonnull align 4 dereferenceable(24) %1)
  %.fca.0.extract17 = extractvalue { <2 x float>, float } %12, 0
  %.fca.1.extract18 = extractvalue { <2 x float>, float } %12, 1
  store <2 x float> %.fca.0.extract17, ptr %4, align 8
  %.sroa.220.0..sroa_idx = getelementptr inbounds i8, ptr %4, i64 8
  store float %.fca.1.extract18, ptr %.sroa.220.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #7
  %13 = tail call { <2 x float>, float } @_ZN2mt4dualIfEENS_7Vector3IT_EERKNS1_INS_4DualIS2_EEEE(ptr noundef nonnull align 4 dereferenceable(24) %1)
  %.fca.0.extract13 = extractvalue { <2 x float>, float } %13, 0
  %.fca.1.extract14 = extractvalue { <2 x float>, float } %13, 1
  store <2 x float> %.fca.0.extract13, ptr %6, align 8
  %.sroa.216.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 8
  store float %.fca.1.extract14, ptr %.sroa.216.0..sroa_idx, align 8
  %14 = call { <2 x float>, float } @_ZN2mt9normalizeINS_7Vector3IfEEEET_RKS3_(ptr noundef nonnull align 4 dereferenceable(12) %6)
  %.fca.0.extract9 = extractvalue { <2 x float>, float } %14, 0
  %.fca.1.extract10 = extractvalue { <2 x float>, float } %14, 1
  store <2 x float> %.fca.0.extract9, ptr %5, align 8
  %.sroa.212.0..sroa_idx = getelementptr inbounds i8, ptr %5, i64 8
  store float %.fca.1.extract10, ptr %.sroa.212.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %8) #7
  %15 = call noundef ptr @_ZN2mt7Vector3IfEcvPfEv(ptr noundef nonnull align 4 dereferenceable(12) %5)
  %16 = getelementptr inbounds i8, ptr %15, i64 4
  %17 = load float, ptr %16, align 4, !tbaa !5
  %18 = call noundef ptr @_ZN2mt7Vector3IfEcvPfEv(ptr noundef nonnull align 4 dereferenceable(12) %5)
  %19 = load float, ptr %18, align 4, !tbaa !5
  %20 = fneg float %19
  call void @_ZN2mt7Vector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %8, float noundef %17, float noundef %20, float noundef 0.000000e+00)
  %21 = call { <2 x float>, float } @_ZN2mt9normalizeINS_7Vector3IfEEEET_RKS3_(ptr noundef nonnull align 4 dereferenceable(12) %8)
  %.fca.0.extract5 = extractvalue { <2 x float>, float } %21, 0
  %.fca.1.extract6 = extractvalue { <2 x float>, float } %21, 1
  store <2 x float> %.fca.0.extract5, ptr %7, align 8
  %.sroa.28.0..sroa_idx = getelementptr inbounds i8, ptr %7, i64 8
  store float %.fca.1.extract6, ptr %.sroa.28.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %10) #7
  %22 = call { <2 x float>, float } @_ZN2mt5crossIffEENS_7Vector3INS_7PromoteIT_T0_E2RTEEERKNS1_IS3_EERKNS1_IS4_EE(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %5)
  %.fca.0.extract1 = extractvalue { <2 x float>, float } %22, 0
  %.fca.1.extract2 = extractvalue { <2 x float>, float } %22, 1
  store <2 x float> %.fca.0.extract1, ptr %10, align 8
  %.sroa.24.0..sroa_idx = getelementptr inbounds i8, ptr %10, i64 8
  store float %.fca.1.extract2, ptr %.sroa.24.0..sroa_idx, align 8
  %23 = call { <2 x float>, float } @_ZN2mt9normalizeINS_7Vector3IfEEEET_RKS3_(ptr noundef nonnull align 4 dereferenceable(12) %10)
  %.fca.0.extract = extractvalue { <2 x float>, float } %23, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %23, 1
  store <2 x float> %.fca.0.extract, ptr %9, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %9, i64 8
  store float %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %11) #7
  call void @_ZN2cv6SampleC2Ev(ptr noundef nonnull align 16 dereferenceable(68) %11)
  call void @_ZN2mt9Matrix4x4IfE10setColumnsERKNS_7Vector3IfEES5_S5_S5_(ptr noundef nonnull align 16 dereferenceable(64) %11, ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %4)
  %24 = getelementptr inbounds i8, ptr %11, i64 64
  store float %2, ptr %24, align 16, !tbaa !9
  %25 = getelementptr inbounds i8, ptr %0, i64 8
  call void @_ZNSt6vectorIN2cv6SampleESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 16 dereferenceable(68) %11)
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #7
  ret void
}

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

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN2mt7Vector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN2cv6SampleC2Ev(ptr noundef nonnull align 16 dereferenceable(68)) unnamed_addr #5 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN2mt9Matrix4x4IfE10setColumnsERKNS_7Vector3IfEES5_S5_S5_(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN2cv6SampleESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(68)) local_unnamed_addr #6 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #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 = { 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 #5 = { 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 #6 = { 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 #7 = { 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"}
!9 = !{!10, !6, i64 64}
!10 = !{!"_ZTSN2cv6SampleE", !11, i64 0, !6, i64 64}
!11 = !{!"_ZTSN2mt9Matrix4x4IfEE", !7, i64 0}


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