; LLVM IR from yangfengzzz/DigitalVox3 :: vox.render/offline/animation (additive_animation_builder)

; 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"

%"struct.vox::animation::offline::RawAnimation" = type { %"class.std::vector", float, %"class.std::__cxx11::basic_string" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<vox::animation::offline::RawAnimation::JointTrack, vox::StdAllocator<vox::animation::offline::RawAnimation::JointTrack>>::_Vector_impl" }
%"struct.std::_Vector_base<vox::animation::offline::RawAnimation::JointTrack, vox::StdAllocator<vox::animation::offline::RawAnimation::JointTrack>>::_Vector_impl" = type { %"struct.std::_Vector_base<vox::animation::offline::RawAnimation::JointTrack, vox::StdAllocator<vox::animation::offline::RawAnimation::JointTrack>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vox::animation::offline::RawAnimation::JointTrack, vox::StdAllocator<vox::animation::offline::RawAnimation::JointTrack>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char, std::char_traits<char>, vox::StdAllocator<char>>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, vox::StdAllocator<char>>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.vox::math::Float3" = type { float, float, float }
%"struct.vox::math::Quaternion" = type { float, float, float, float }
%"struct.vox::animation::offline::RawAnimation::JointTrack" = type { %"class.std::vector.2", %"class.std::vector.6", %"class.std::vector.10" }
%"class.std::vector.2" = type { %"struct.std::_Vector_base.3" }
%"struct.std::_Vector_base.3" = type { %"struct.std::_Vector_base<vox::animation::offline::RawAnimation::TranslationKey, vox::StdAllocator<vox::animation::offline::RawAnimation::TranslationKey>>::_Vector_impl" }
%"struct.std::_Vector_base<vox::animation::offline::RawAnimation::TranslationKey, vox::StdAllocator<vox::animation::offline::RawAnimation::TranslationKey>>::_Vector_impl" = type { %"struct.std::_Vector_base<vox::animation::offline::RawAnimation::TranslationKey, vox::StdAllocator<vox::animation::offline::RawAnimation::TranslationKey>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vox::animation::offline::RawAnimation::TranslationKey, vox::StdAllocator<vox::animation::offline::RawAnimation::TranslationKey>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.6" = type { %"struct.std::_Vector_base.7" }
%"struct.std::_Vector_base.7" = type { %"struct.std::_Vector_base<vox::animation::offline::RawAnimation::RotationKey, vox::StdAllocator<vox::animation::offline::RawAnimation::RotationKey>>::_Vector_impl" }
%"struct.std::_Vector_base<vox::animation::offline::RawAnimation::RotationKey, vox::StdAllocator<vox::animation::offline::RawAnimation::RotationKey>>::_Vector_impl" = type { %"struct.std::_Vector_base<vox::animation::offline::RawAnimation::RotationKey, vox::StdAllocator<vox::animation::offline::RawAnimation::RotationKey>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vox::animation::offline::RawAnimation::RotationKey, vox::StdAllocator<vox::animation::offline::RawAnimation::RotationKey>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<vox::animation::offline::RawAnimation::ScaleKey, vox::StdAllocator<vox::animation::offline::RawAnimation::ScaleKey>>::_Vector_impl" }
%"struct.std::_Vector_base<vox::animation::offline::RawAnimation::ScaleKey, vox::StdAllocator<vox::animation::offline::RawAnimation::ScaleKey>>::_Vector_impl" = type { %"struct.std::_Vector_base<vox::animation::offline::RawAnimation::ScaleKey, vox::StdAllocator<vox::animation::offline::RawAnimation::ScaleKey>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vox::animation::offline::RawAnimation::ScaleKey, vox::StdAllocator<vox::animation::offline::RawAnimation::ScaleKey>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.vox::animation::offline::RawAnimation::TranslationKey" = type { float, %"struct.vox::math::Float3" }
%"struct.vox::animation::offline::RawAnimation::RotationKey" = type { float, %"struct.vox::math::Quaternion" }
%"struct.vox::animation::offline::RawAnimation::ScaleKey" = type { float, %"struct.vox::math::Float3" }

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK3vox9animation7offline24AdditiveAnimationBuilderclERKNS1_12RawAnimationEPS3_(ptr noundef nonnull align 1 dereferenceable(1) %0, ptr noundef nonnull align 8 dereferenceable(64) %1, ptr noundef %2) #0 align 2 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"struct.vox::animation::offline::RawAnimation", align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"struct.vox::math::Float3", align 4
  %14 = alloca { <2 x float>, float }, align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"struct.vox::math::Quaternion", align 4
  %17 = alloca ptr, align 8
  %18 = alloca %"struct.vox::math::Float3", align 4
  %19 = alloca { <2 x float>, float }, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %20 = load ptr, ptr %5, align 8
  %21 = load ptr, ptr %7, align 8, !tbaa !5
  %22 = icmp ne ptr %21, null
  br i1 %22, label %24, label %23

23:                                               ; preds = %3
  store i1 false, ptr %4, align 1
  br label %112

24:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 64, ptr %8) #8
  call void @_ZN3vox9animation7offline12RawAnimationC1Ev(ptr noundef nonnull align 8 dereferenceable(64) %8)
  %25 = load ptr, ptr %7, align 8, !tbaa !5
  %26 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZN3vox9animation7offline12RawAnimationaSEOS2_(ptr noundef nonnull align 8 dereferenceable(64) %25, ptr noundef nonnull align 8 dereferenceable(64) %8) #8
  call void @_ZN3vox9animation7offline12RawAnimationD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %8) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %8) #8
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = call noundef zeroext i1 @_ZNK3vox9animation7offline12RawAnimation8ValidateEv(ptr noundef nonnull align 8 dereferenceable(64) %27)
  br i1 %28, label %30, label %29

29:                                               ; preds = %24
  store i1 false, ptr %4, align 1
  br label %112

30:                                               ; preds = %24
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds %"struct.vox::animation::offline::RawAnimation", ptr %31, i32 0, i32 1
  %33 = load float, ptr %32, align 8, !tbaa !9
  %34 = load ptr, ptr %7, align 8, !tbaa !5
  %35 = getelementptr inbounds %"struct.vox::animation::offline::RawAnimation", ptr %34, i32 0, i32 1
  store float %33, ptr %35, align 8, !tbaa !9
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  %37 = getelementptr inbounds %"struct.vox::animation::offline::RawAnimation", ptr %36, i32 0, i32 0
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = getelementptr inbounds %"struct.vox::animation::offline::RawAnimation", ptr %38, i32 0, i32 0
  %40 = call noundef i64 @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation10JointTrackENS0_12StdAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #8
  call void @_ZNSt6vectorIN3vox9animation7offline12RawAnimation10JointTrackENS0_12StdAllocatorIS4_EEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %40)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  store i64 0, ptr %9, align 8, !tbaa !19
  br label %41

41:                                               ; preds = %106, %30
  %42 = load i64, ptr %9, align 8, !tbaa !19
  %43 = load ptr, ptr %6, align 8, !tbaa !5
  %44 = getelementptr inbounds %"struct.vox::animation::offline::RawAnimation", ptr %43, i32 0, i32 0
  %45 = call noundef i64 @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation10JointTrackENS0_12StdAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #8
  %46 = icmp ult i64 %42, %45
  br i1 %46, label %48, label %47

47:                                               ; preds = %41
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  br label %109

48:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  %50 = getelementptr inbounds %"struct.vox::animation::offline::RawAnimation", ptr %49, i32 0, i32 0
  %51 = load i64, ptr %9, align 8, !tbaa !19
  %52 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation10JointTrackENS0_12StdAllocatorIS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %50, i64 noundef %51) #8
  store ptr %52, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %53 = load ptr, ptr %7, align 8, !tbaa !5
  %54 = getelementptr inbounds %"struct.vox::animation::offline::RawAnimation", ptr %53, i32 0, i32 0
  %55 = load i64, ptr %9, align 8, !tbaa !19
  %56 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt6vectorIN3vox9animation7offline12RawAnimation10JointTrackENS0_12StdAllocatorIS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %54, i64 noundef %55) #8
  store ptr %56, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %57 = load ptr, ptr %10, align 8, !tbaa !5
  %58 = getelementptr inbounds %"struct.vox::animation::offline::RawAnimation::JointTrack", ptr %57, i32 0, i32 0
  store ptr %58, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %13) #8
  %59 = load ptr, ptr %12, align 8, !tbaa !5
  %60 = call noundef i64 @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation14TranslationKeyENS0_12StdAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %59) #8
  %61 = icmp ugt i64 %60, 0
  br i1 %61, label %62, label %66

62:                                               ; preds = %48
  %63 = load ptr, ptr %12, align 8, !tbaa !5
  %64 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation14TranslationKeyENS0_12StdAllocatorIS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef 0) #8
  %65 = getelementptr inbounds %"struct.vox::animation::offline::RawAnimation::TranslationKey", ptr %64, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 %65, i64 12, i1 false), !tbaa.struct !20
  br label %68

66:                                               ; preds = %48
  %67 = call { <2 x float>, float } @_ZN3vox4math6Float34zeroEv()
  store { <2 x float>, float } %67, ptr %14, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 8 %14, i64 12, i1 false)
  br label %68

68:                                               ; preds = %66, %62
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %69 = load ptr, ptr %10, align 8, !tbaa !5
  %70 = getelementptr inbounds %"struct.vox::animation::offline::RawAnimation::JointTrack", ptr %69, i32 0, i32 1
  store ptr %70, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #8
  %71 = load ptr, ptr %15, align 8, !tbaa !5
  %72 = call noundef i64 @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation11RotationKeyENS0_12StdAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %71) #8
  %73 = icmp ugt i64 %72, 0
  br i1 %73, label %74, label %78

74:                                               ; preds = %68
  %75 = load ptr, ptr %15, align 8, !tbaa !5
  %76 = call noundef nonnull align 4 dereferenceable(20) ptr @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation11RotationKeyENS0_12StdAllocatorIS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %75, i64 noundef 0) #8
  %77 = getelementptr inbounds %"struct.vox::animation::offline::RawAnimation::RotationKey", ptr %76, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 4 %77, i64 16, i1 false), !tbaa.struct !22
  br label %84

78:                                               ; preds = %68
  %79 = call { <2 x float>, <2 x float> } @_ZN3vox4math10Quaternion8identityEv()
  %80 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %16, i32 0, i32 0
  %81 = extractvalue { <2 x float>, <2 x float> } %79, 0
  store <2 x float> %81, ptr %80, align 4
  %82 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %16, i32 0, i32 1
  %83 = extractvalue { <2 x float>, <2 x float> } %79, 1
  store <2 x float> %83, ptr %82, align 4
  br label %84

84:                                               ; preds = %78, %74
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %85 = load ptr, ptr %10, align 8, !tbaa !5
  %86 = getelementptr inbounds %"struct.vox::animation::offline::RawAnimation::JointTrack", ptr %85, i32 0, i32 2
  store ptr %86, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %18) #8
  %87 = load ptr, ptr %17, align 8, !tbaa !5
  %88 = call noundef i64 @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation8ScaleKeyENS0_12StdAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %87) #8
  %89 = icmp ugt i64 %88, 0
  br i1 %89, label %90, label %94

90:                                               ; preds = %84
  %91 = load ptr, ptr %17, align 8, !tbaa !5
  %92 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation8ScaleKeyENS0_12StdAllocatorIS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %91, i64 noundef 0) #8
  %93 = getelementptr inbounds %"struct.vox::animation::offline::RawAnimation::ScaleKey", ptr %92, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %93, i64 12, i1 false), !tbaa.struct !20
  br label %96

94:                                               ; preds = %84
  %95 = call { <2 x float>, float } @_ZN3vox4math6Float33oneEv()
  store { <2 x float>, float } %95, ptr %19, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 8 %19, i64 12, i1 false)
  br label %96

96:                                               ; preds = %94, %90
  %97 = load ptr, ptr %12, align 8, !tbaa !5
  %98 = load ptr, ptr %11, align 8, !tbaa !5
  %99 = getelementptr inbounds %"struct.vox::animation::offline::RawAnimation::JointTrack", ptr %98, i32 0, i32 0
  call void @_ZN3vox9animation7offline12_GLOBAL__N_19MakeDeltaISt6vectorINS1_12RawAnimation14TranslationKeyENS_12StdAllocatorIS6_EEENS_4math6Float3EFSB_RKSB_SD_EEEvRKT_RKT0_RKT1_PSF_(ptr noundef nonnull align 8 dereferenceable(24) %97, ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull @_ZN3vox9animation7offline12_GLOBAL__N_120MakeDeltaTranslationERKNS_4math6Float3ES6_, ptr noundef %99)
  %100 = load ptr, ptr %15, align 8, !tbaa !5
  %101 = load ptr, ptr %11, align 8, !tbaa !5
  %102 = getelementptr inbounds %"struct.vox::animation::offline::RawAnimation::JointTrack", ptr %101, i32 0, i32 1
  call void @_ZN3vox9animation7offline12_GLOBAL__N_19MakeDeltaISt6vectorINS1_12RawAnimation11RotationKeyENS_12StdAllocatorIS6_EEENS_4math10QuaternionEFSB_RKSB_SD_EEEvRKT_RKT0_RKT1_PSF_(ptr noundef nonnull align 8 dereferenceable(24) %100, ptr noundef nonnull align 4 dereferenceable(16) %16, ptr noundef nonnull @_ZN3vox9animation7offline12_GLOBAL__N_117MakeDeltaRotationERKNS_4math10QuaternionES6_, ptr noundef %102)
  %103 = load ptr, ptr %17, align 8, !tbaa !5
  %104 = load ptr, ptr %11, align 8, !tbaa !5
  %105 = getelementptr inbounds %"struct.vox::animation::offline::RawAnimation::JointTrack", ptr %104, i32 0, i32 2
  call void @_ZN3vox9animation7offline12_GLOBAL__N_19MakeDeltaISt6vectorINS1_12RawAnimation8ScaleKeyENS_12StdAllocatorIS6_EEENS_4math6Float3EFSB_RKSB_SD_EEEvRKT_RKT0_RKT1_PSF_(ptr noundef nonnull align 8 dereferenceable(24) %103, ptr noundef nonnull align 4 dereferenceable(12) %18, ptr noundef nonnull @_ZN3vox9animation7offline12_GLOBAL__N_114MakeDeltaScaleERKNS_4math6Float3ES6_, ptr noundef %105)
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  br label %106

106:                                              ; preds = %96
  %107 = load i64, ptr %9, align 8, !tbaa !19
  %108 = add i64 %107, 1
  store i64 %108, ptr %9, align 8, !tbaa !19
  br label %41, !llvm.loop !23

109:                                              ; preds = %47
  %110 = load ptr, ptr %7, align 8, !tbaa !5
  %111 = call noundef zeroext i1 @_ZNK3vox9animation7offline12RawAnimation8ValidateEv(ptr noundef nonnull align 8 dereferenceable(64) %110)
  store i1 %111, ptr %4, align 1
  br label %112

112:                                              ; preds = %109, %29, %23
  %113 = load i1, ptr %4, align 1
  ret i1 %113
}

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

declare void @_ZN3vox9animation7offline12RawAnimationC1Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(64) ptr @_ZN3vox9animation7offline12RawAnimationaSEOS2_(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(64)) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3vox9animation7offline12RawAnimationD2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #3 align 2

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

declare noundef zeroext i1 @_ZNK3vox9animation7offline12RawAnimation8ValidateEv(ptr noundef nonnull align 8 dereferenceable(64)) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN3vox9animation7offline12RawAnimation10JointTrackENS0_12StdAllocatorIS4_EEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation10JointTrackENS0_12StdAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(72) ptr @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation10JointTrackENS0_12StdAllocatorIS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt6vectorIN3vox9animation7offline12RawAnimation10JointTrackENS0_12StdAllocatorIS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation14TranslationKeyENS0_12StdAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation14TranslationKeyENS0_12StdAllocatorIS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #5 align 2

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3vox4math6Float34zeroEv() #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation11RotationKeyENS0_12StdAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(20) ptr @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation11RotationKeyENS0_12StdAllocatorIS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #5 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN3vox4math10Quaternion8identityEv() #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation8ScaleKeyENS0_12StdAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation8ScaleKeyENS0_12StdAllocatorIS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #5 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3vox4math6Float33oneEv() #7 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN3vox9animation7offline12_GLOBAL__N_19MakeDeltaISt6vectorINS1_12RawAnimation14TranslationKeyENS_12StdAllocatorIS6_EEENS_4math6Float3EFSB_RKSB_SD_EEEvRKT_RKT0_RKT1_PSF_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull, ptr noundef) #0

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN3vox9animation7offline12_GLOBAL__N_19MakeDeltaISt6vectorINS1_12RawAnimation11RotationKeyENS_12StdAllocatorIS6_EEENS_4math10QuaternionEFSB_RKSB_SD_EEEvRKT_RKT0_RKT1_PSF_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull, ptr noundef) #0

; Function Attrs: mustprogress uwtable
declare hidden { <2 x float>, <2 x float> } @_ZN3vox9animation7offline12_GLOBAL__N_117MakeDeltaRotationERKNS_4math10QuaternionES6_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #0

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN3vox9animation7offline12_GLOBAL__N_19MakeDeltaISt6vectorINS1_12RawAnimation8ScaleKeyENS_12StdAllocatorIS6_EEENS_4math6Float3EFSB_RKSB_SD_EEEvRKT_RKT0_RKT1_PSF_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull, ptr noundef) #0

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

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 = { "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 = { 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 #4 = { 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 #5 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { 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 #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, !15, i64 24}
!10 = !{!"_ZTSN3vox9animation7offline12RawAnimationE", !11, i64 0, !15, i64 24, !16, i64 32}
!11 = !{!"_ZTSSt6vectorIN3vox9animation7offline12RawAnimation10JointTrackENS0_12StdAllocatorIS4_EEE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseIN3vox9animation7offline12RawAnimation10JointTrackENS0_12StdAllocatorIS4_EEE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIN3vox9animation7offline12RawAnimation10JointTrackENS0_12StdAllocatorIS4_EEE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIN3vox9animation7offline12RawAnimation10JointTrackENS0_12StdAllocatorIS4_EEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!15 = !{!"float", !7, i64 0}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3vox12StdAllocatorIcEEEE", !17, i64 0, !18, i64 8, !7, i64 16}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3vox12StdAllocatorIcEEE12_Alloc_hiderE", !6, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!18, !18, i64 0}
!20 = !{i64 0, i64 4, !21, i64 4, i64 4, !21, i64 8, i64 4, !21}
!21 = !{!15, !15, i64 0}
!22 = !{i64 0, i64 4, !21, i64 4, i64 4, !21, i64 8, i64 4, !21, i64 12, i64 4, !21}
!23 = distinct !{!23, !24}
!24 = !{!"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"

%"struct.vox::animation::offline::RawAnimation" = type { %"class.std::vector", float, %"class.std::__cxx11::basic_string" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<vox::animation::offline::RawAnimation::JointTrack, vox::StdAllocator<vox::animation::offline::RawAnimation::JointTrack>>::_Vector_impl" }
%"struct.std::_Vector_base<vox::animation::offline::RawAnimation::JointTrack, vox::StdAllocator<vox::animation::offline::RawAnimation::JointTrack>>::_Vector_impl" = type { %"struct.std::_Vector_base<vox::animation::offline::RawAnimation::JointTrack, vox::StdAllocator<vox::animation::offline::RawAnimation::JointTrack>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vox::animation::offline::RawAnimation::JointTrack, vox::StdAllocator<vox::animation::offline::RawAnimation::JointTrack>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char, std::char_traits<char>, vox::StdAllocator<char>>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, vox::StdAllocator<char>>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.vox::math::Float3" = type { float, float, float }
%"struct.vox::math::Quaternion" = type { float, float, float, float }

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK3vox9animation7offline24AdditiveAnimationBuilderclERKNS1_12RawAnimationEPS3_(ptr nocapture noundef nonnull readnone align 1 dereferenceable(1) %0, ptr noundef nonnull align 8 dereferenceable(64) %1, ptr noundef %2) local_unnamed_addr #0 align 2 {
  %4 = alloca %"struct.vox::animation::offline::RawAnimation", align 8
  %5 = alloca %"struct.vox::math::Float3", align 8
  %6 = alloca %"struct.vox::math::Quaternion", align 8
  %7 = alloca %"struct.vox::math::Float3", align 8
  %.not = icmp eq ptr %2, null
  br i1 %.not, label %52, label %8

8:                                                ; preds = %3
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #8
  call void @_ZN3vox9animation7offline12RawAnimationC1Ev(ptr noundef nonnull align 8 dereferenceable(64) %4)
  %9 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZN3vox9animation7offline12RawAnimationaSEOS2_(ptr noundef nonnull align 8 dereferenceable(64) %2, ptr noundef nonnull align 8 dereferenceable(64) %4) #8
  call void @_ZN3vox9animation7offline12RawAnimationD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %4) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #8
  %10 = call noundef zeroext i1 @_ZNK3vox9animation7offline12RawAnimation8ValidateEv(ptr noundef nonnull align 8 dereferenceable(64) %1)
  br i1 %10, label %11, label %52

11:                                               ; preds = %8
  %12 = getelementptr inbounds i8, ptr %1, i64 24
  %13 = load float, ptr %12, align 8, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %2, i64 24
  store float %13, ptr %14, align 8, !tbaa !5
  %15 = call noundef i64 @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation10JointTrackENS0_12StdAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #8
  call void @_ZNSt6vectorIN3vox9animation7offline12RawAnimation10JointTrackENS0_12StdAllocatorIS4_EEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %15)
  %16 = call noundef i64 @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation10JointTrackENS0_12StdAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #8
  %.not41 = icmp eq i64 %16, 0
  br i1 %.not41, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %11
  %.sroa.29.0..sroa_idx = getelementptr inbounds i8, ptr %5, i64 8
  %17 = getelementptr inbounds i8, ptr %6, i64 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %7, i64 8
  br label %19

._crit_edge:                                      ; preds = %46, %11
  %18 = call noundef zeroext i1 @_ZNK3vox9animation7offline12RawAnimation8ValidateEv(ptr noundef nonnull align 8 dereferenceable(64) %2)
  br label %52

19:                                               ; preds = %.lr.ph, %46
  %.03540 = phi i64 [ 0, %.lr.ph ], [ %49, %46 ]
  %20 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation10JointTrackENS0_12StdAllocatorIS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.03540) #8
  %21 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt6vectorIN3vox9animation7offline12RawAnimation10JointTrackENS0_12StdAllocatorIS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.03540) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #8
  %22 = call noundef i64 @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation14TranslationKeyENS0_12StdAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  %.not37 = icmp eq i64 %22, 0
  br i1 %.not37, label %26, label %23

23:                                               ; preds = %19
  %24 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation14TranslationKeyENS0_12StdAllocatorIS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 0) #8
  %25 = getelementptr inbounds i8, ptr %24, i64 4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %25, i64 12, i1 false), !tbaa.struct !18
  br label %28

26:                                               ; preds = %19
  %27 = call { <2 x float>, float } @_ZN3vox4math6Float34zeroEv()
  %.fca.0.extract6 = extractvalue { <2 x float>, float } %27, 0
  %.fca.1.extract7 = extractvalue { <2 x float>, float } %27, 1
  store <2 x float> %.fca.0.extract6, ptr %5, align 8
  store float %.fca.1.extract7, ptr %.sroa.29.0..sroa_idx, align 8
  br label %28

28:                                               ; preds = %26, %23
  %29 = getelementptr inbounds i8, ptr %20, i64 24
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #8
  %30 = call noundef i64 @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation11RotationKeyENS0_12StdAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #8
  %.not38 = icmp eq i64 %30, 0
  br i1 %.not38, label %34, label %31

31:                                               ; preds = %28
  %32 = call noundef nonnull align 4 dereferenceable(20) ptr @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation11RotationKeyENS0_12StdAllocatorIS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef 0) #8
  %33 = getelementptr inbounds i8, ptr %32, i64 4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(16) %33, i64 16, i1 false), !tbaa.struct !20
  br label %38

34:                                               ; preds = %28
  %35 = call { <2 x float>, <2 x float> } @_ZN3vox4math10Quaternion8identityEv()
  %36 = extractvalue { <2 x float>, <2 x float> } %35, 0
  store <2 x float> %36, ptr %6, align 8
  %37 = extractvalue { <2 x float>, <2 x float> } %35, 1
  store <2 x float> %37, ptr %17, align 8
  br label %38

38:                                               ; preds = %34, %31
  %39 = getelementptr inbounds i8, ptr %20, i64 48
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #8
  %40 = call noundef i64 @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation8ScaleKeyENS0_12StdAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #8
  %.not39 = icmp eq i64 %40, 0
  br i1 %.not39, label %44, label %41

41:                                               ; preds = %38
  %42 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation8ScaleKeyENS0_12StdAllocatorIS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef 0) #8
  %43 = getelementptr inbounds i8, ptr %42, i64 4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %43, i64 12, i1 false), !tbaa.struct !18
  br label %46

44:                                               ; preds = %38
  %45 = call { <2 x float>, float } @_ZN3vox4math6Float33oneEv()
  %.fca.0.extract = extractvalue { <2 x float>, float } %45, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %45, 1
  store <2 x float> %.fca.0.extract, ptr %7, align 8
  store float %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  br label %46

46:                                               ; preds = %44, %41
  call void @_ZN3vox9animation7offline12_GLOBAL__N_19MakeDeltaISt6vectorINS1_12RawAnimation14TranslationKeyENS_12StdAllocatorIS6_EEENS_4math6Float3EFSB_RKSB_SD_EEEvRKT_RKT0_RKT1_PSF_(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull @_ZN3vox9animation7offline12_GLOBAL__N_120MakeDeltaTranslationERKNS_4math6Float3ES6_, ptr noundef nonnull %21)
  %47 = getelementptr inbounds i8, ptr %21, i64 24
  call void @_ZN3vox9animation7offline12_GLOBAL__N_19MakeDeltaISt6vectorINS1_12RawAnimation11RotationKeyENS_12StdAllocatorIS6_EEENS_4math10QuaternionEFSB_RKSB_SD_EEEvRKT_RKT0_RKT1_PSF_(ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 4 dereferenceable(16) %6, ptr noundef nonnull @_ZN3vox9animation7offline12_GLOBAL__N_117MakeDeltaRotationERKNS_4math10QuaternionES6_, ptr noundef nonnull %47)
  %48 = getelementptr inbounds i8, ptr %21, i64 48
  call void @_ZN3vox9animation7offline12_GLOBAL__N_19MakeDeltaISt6vectorINS1_12RawAnimation8ScaleKeyENS_12StdAllocatorIS6_EEENS_4math6Float3EFSB_RKSB_SD_EEEvRKT_RKT0_RKT1_PSF_(ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull @_ZN3vox9animation7offline12_GLOBAL__N_114MakeDeltaScaleERKNS_4math6Float3ES6_, ptr noundef nonnull %48)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #8
  %49 = add nuw i64 %.03540, 1
  %50 = call noundef i64 @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation10JointTrackENS0_12StdAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #8
  %51 = icmp ult i64 %49, %50
  br i1 %51, label %19, label %._crit_edge, !llvm.loop !21

52:                                               ; preds = %8, %3, %._crit_edge
  %.0 = phi i1 [ %18, %._crit_edge ], [ false, %3 ], [ false, %8 ]
  ret i1 %.0
}

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

declare void @_ZN3vox9animation7offline12RawAnimationC1Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(64) ptr @_ZN3vox9animation7offline12RawAnimationaSEOS2_(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3vox9animation7offline12RawAnimationD2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #3 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 noundef zeroext i1 @_ZNK3vox9animation7offline12RawAnimation8ValidateEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN3vox9animation7offline12RawAnimation10JointTrackENS0_12StdAllocatorIS4_EEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation10JointTrackENS0_12StdAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(72) ptr @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation10JointTrackENS0_12StdAllocatorIS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt6vectorIN3vox9animation7offline12RawAnimation10JointTrackENS0_12StdAllocatorIS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation14TranslationKeyENS0_12StdAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation14TranslationKeyENS0_12StdAllocatorIS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #5 align 2

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3vox4math6Float34zeroEv() local_unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation11RotationKeyENS0_12StdAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(20) ptr @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation11RotationKeyENS0_12StdAllocatorIS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #5 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN3vox4math10Quaternion8identityEv() local_unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation8ScaleKeyENS0_12StdAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZNKSt6vectorIN3vox9animation7offline12RawAnimation8ScaleKeyENS0_12StdAllocatorIS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #5 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3vox4math6Float33oneEv() local_unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN3vox9animation7offline12_GLOBAL__N_19MakeDeltaISt6vectorINS1_12RawAnimation14TranslationKeyENS_12StdAllocatorIS6_EEENS_4math6Float3EFSB_RKSB_SD_EEEvRKT_RKT0_RKT1_PSF_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN3vox9animation7offline12_GLOBAL__N_19MakeDeltaISt6vectorINS1_12RawAnimation11RotationKeyENS_12StdAllocatorIS6_EEENS_4math10QuaternionEFSB_RKSB_SD_EEEvRKT_RKT0_RKT1_PSF_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare hidden { <2 x float>, <2 x float> } @_ZN3vox9animation7offline12_GLOBAL__N_117MakeDeltaRotationERKNS_4math10QuaternionES6_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #0

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN3vox9animation7offline12_GLOBAL__N_19MakeDeltaISt6vectorINS1_12RawAnimation8ScaleKeyENS_12StdAllocatorIS6_EEENS_4math6Float3EFSB_RKSB_SD_EEEvRKT_RKT0_RKT1_PSF_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull, ptr noundef) local_unnamed_addr #0

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

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 = { "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 = { 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 #4 = { 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 #5 = { 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { 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 #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, !14, i64 24}
!6 = !{!"_ZTSN3vox9animation7offline12RawAnimationE", !7, i64 0, !14, i64 24, !15, i64 32}
!7 = !{!"_ZTSSt6vectorIN3vox9animation7offline12RawAnimation10JointTrackENS0_12StdAllocatorIS4_EEE", !8, i64 0}
!8 = !{!"_ZTSSt12_Vector_baseIN3vox9animation7offline12RawAnimation10JointTrackENS0_12StdAllocatorIS4_EEE", !9, i64 0}
!9 = !{!"_ZTSNSt12_Vector_baseIN3vox9animation7offline12RawAnimation10JointTrackENS0_12StdAllocatorIS4_EEE12_Vector_implE", !10, i64 0}
!10 = !{!"_ZTSNSt12_Vector_baseIN3vox9animation7offline12RawAnimation10JointTrackENS0_12StdAllocatorIS4_EEE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!"float", !12, i64 0}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3vox12StdAllocatorIcEEEE", !16, i64 0, !17, i64 8, !12, i64 16}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3vox12StdAllocatorIcEEE12_Alloc_hiderE", !11, i64 0}
!17 = !{!"long", !12, i64 0}
!18 = !{i64 0, i64 4, !19, i64 4, i64 4, !19, i64 8, i64 4, !19}
!19 = !{!14, !14, i64 0}
!20 = !{i64 0, i64 4, !19, i64 4, i64 4, !19, i64 8, i64 4, !19, i64 12, i64 4, !19}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass