; LLVM IR from erayzesen/QuarkPhysics :: QuarkPhysics/qparticle.ll (ZN9QParticleC2E7QVectorf)

; 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.QVector = type { float, float }
%class.QParticle = type <{ float, %struct.QVector, %struct.QVector, %struct.QVector, float, ptr, i8, [3 x i8], %struct.QVector, [4 x i8], %"class.std::vector", i8, i8, [2 x i8], %class.QAABB, i8, [7 x i8], %"class.std::unordered_set", %"class.std::unordered_set.5", %"class.std::unordered_set.5", i8, i8, [6 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<QVector, std::allocator<QVector>>::_Vector_impl" }
%"struct.std::_Vector_base<QVector, std::allocator<QVector>>::_Vector_impl" = type { %"struct.std::_Vector_base<QVector, std::allocator<QVector>>::_Vector_impl_data" }
%"struct.std::_Vector_base<QVector, std::allocator<QVector>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.QAABB = type { %struct.QVector, %struct.QVector, %struct.QVector, float }
%"class.std::unordered_set" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::unordered_set.5" = type { %"class.std::_Hashtable.6" }
%"class.std::_Hashtable.6" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7QVectorC2Ev(ptr noundef nonnull align 4 dereferenceable(8)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN7QVector4ZeroEv() #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5QAABBC2Ev(ptr noundef nonnull align 4 dereferenceable(28)) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt13unordered_setIP9QParticleSt4hashIS1_ESt8equal_toIS1_ESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt13unordered_setIP5QBodySt4hashIS1_ESt8equal_toIS1_ESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorI7QVectorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 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) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt13unordered_setIP5QBodySt4hashIS1_ESt8equal_toIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt13unordered_setIP9QParticleSt4hashIS1_ESt8equal_toIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9QParticleC2E7QVectorf(ptr noundef nonnull align 8 dereferenceable(290) %0, <2 x float> %1, float noundef %2) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %struct.QVector, align 4
  %5 = alloca ptr, align 8
  %6 = alloca float, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %struct.QVector, align 4
  %10 = alloca %struct.QVector, align 4
  %11 = alloca %struct.QVector, align 4
  store <2 x float> %1, ptr %4, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store float %2, ptr %6, align 4, !tbaa !9
  %12 = load ptr, ptr %5, align 8
  %13 = getelementptr inbounds %class.QParticle, ptr %12, i32 0, i32 0
  store float 5.000000e-01, ptr %13, align 8, !tbaa !11
  %14 = getelementptr inbounds %class.QParticle, ptr %12, i32 0, i32 1
  call void @_ZN7QVectorC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %14)
  %15 = getelementptr inbounds %class.QParticle, ptr %12, i32 0, i32 2
  call void @_ZN7QVectorC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %15)
  %16 = getelementptr inbounds %class.QParticle, ptr %12, i32 0, i32 3
  call void @_ZN7QVectorC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %16)
  %17 = getelementptr inbounds %class.QParticle, ptr %12, i32 0, i32 4
  store float 1.000000e+00, ptr %17, align 4, !tbaa !27
  %18 = getelementptr inbounds %class.QParticle, ptr %12, i32 0, i32 5
  store ptr null, ptr %18, align 8, !tbaa !28
  %19 = getelementptr inbounds %class.QParticle, ptr %12, i32 0, i32 6
  store i8 0, ptr %19, align 8, !tbaa !29
  %20 = getelementptr inbounds %class.QParticle, ptr %12, i32 0, i32 8
  %21 = call <2 x float> @_ZN7QVector4ZeroEv()
  store <2 x float> %21, ptr %20, align 4
  %22 = getelementptr inbounds %class.QParticle, ptr %12, i32 0, i32 10
  call void @_ZNSt6vectorI7QVectorSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #6
  %23 = getelementptr inbounds %class.QParticle, ptr %12, i32 0, i32 11
  store i8 1, ptr %23, align 8, !tbaa !30
  %24 = getelementptr inbounds %class.QParticle, ptr %12, i32 0, i32 12
  store i8 0, ptr %24, align 1, !tbaa !31
  %25 = getelementptr inbounds %class.QParticle, ptr %12, i32 0, i32 14
  invoke void @_ZN5QAABBC2Ev(ptr noundef nonnull align 4 dereferenceable(28) %25)
          to label %26 unwind label %53

26:                                               ; preds = %3
  %27 = getelementptr inbounds %class.QParticle, ptr %12, i32 0, i32 15
  store i8 1, ptr %27, align 8, !tbaa !32
  %28 = getelementptr inbounds %class.QParticle, ptr %12, i32 0, i32 17
  call void @_ZNSt13unordered_setIP9QParticleSt4hashIS1_ESt8equal_toIS1_ESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %28) #6
  %29 = getelementptr inbounds %class.QParticle, ptr %12, i32 0, i32 18
  call void @_ZNSt13unordered_setIP5QBodySt4hashIS1_ESt8equal_toIS1_ESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %29) #6
  %30 = getelementptr inbounds %class.QParticle, ptr %12, i32 0, i32 19
  call void @_ZNSt13unordered_setIP5QBodySt4hashIS1_ESt8equal_toIS1_ESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %30) #6
  %31 = getelementptr inbounds %class.QParticle, ptr %12, i32 0, i32 20
  store i8 0, ptr %31, align 8, !tbaa !33
  %32 = getelementptr inbounds %class.QParticle, ptr %12, i32 0, i32 21
  store i8 0, ptr %32, align 1, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %33 = getelementptr inbounds %struct.QVector, ptr %4, i32 0, i32 0
  %34 = load float, ptr %33, align 4, !tbaa !35
  %35 = getelementptr inbounds %struct.QVector, ptr %4, i32 0, i32 1
  %36 = load float, ptr %35, align 4, !tbaa !36
  invoke void @_ZN7QVectorC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef %34, float noundef %36)
          to label %37 unwind label %57

37:                                               ; preds = %26
  %38 = getelementptr inbounds %class.QParticle, ptr %12, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %38, ptr align 4 %9, i64 8, i1 false), !tbaa.struct !37
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %39 = getelementptr inbounds %struct.QVector, ptr %4, i32 0, i32 0
  %40 = load float, ptr %39, align 4, !tbaa !35
  %41 = getelementptr inbounds %struct.QVector, ptr %4, i32 0, i32 1
  %42 = load float, ptr %41, align 4, !tbaa !36
  invoke void @_ZN7QVectorC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef %40, float noundef %42)
          to label %43 unwind label %61

43:                                               ; preds = %37
  %44 = getelementptr inbounds %class.QParticle, ptr %12, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %44, ptr align 4 %10, i64 8, i1 false), !tbaa.struct !37
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %45 = getelementptr inbounds %struct.QVector, ptr %4, i32 0, i32 0
  %46 = load float, ptr %45, align 4, !tbaa !35
  %47 = getelementptr inbounds %struct.QVector, ptr %4, i32 0, i32 1
  %48 = load float, ptr %47, align 4, !tbaa !36
  invoke void @_ZN7QVectorC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef %46, float noundef %48)
          to label %49 unwind label %65

49:                                               ; preds = %43
  %50 = getelementptr inbounds %class.QParticle, ptr %12, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %50, ptr align 4 %11, i64 8, i1 false), !tbaa.struct !37
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  %51 = load float, ptr %6, align 4, !tbaa !9
  %52 = getelementptr inbounds %class.QParticle, ptr %12, i32 0, i32 0
  store float %51, ptr %52, align 8, !tbaa !11
  ret void

53:                                               ; preds = %3
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %7, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %8, align 4
  br label %70

57:                                               ; preds = %26
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %7, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %69

61:                                               ; preds = %37
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %7, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %69

65:                                               ; preds = %43
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %7, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %69

69:                                               ; preds = %65, %61, %57
  call void @_ZNSt13unordered_setIP5QBodySt4hashIS1_ESt8equal_toIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %30) #6
  call void @_ZNSt13unordered_setIP5QBodySt4hashIS1_ESt8equal_toIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %29) #6
  call void @_ZNSt13unordered_setIP9QParticleSt4hashIS1_ESt8equal_toIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %28) #6
  br label %70

70:                                               ; preds = %69, %53
  call void @_ZNSt6vectorI7QVectorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #6
  br label %71

71:                                               ; preds = %70
  %72 = load ptr, ptr %7, align 8
  %73 = load i32, ptr %8, align 4
  %74 = insertvalue { ptr, i32 } poison, ptr %72, 0
  %75 = insertvalue { ptr, i32 } %74, i32 %73, 1
  resume { ptr, i32 } %75
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { 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 #6 = { 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 0}
!12 = !{!"_ZTS9QParticle", !10, i64 0, !13, i64 4, !13, i64 12, !13, i64 20, !10, i64 28, !6, i64 32, !14, i64 40, !13, i64 44, !15, i64 56, !14, i64 80, !14, i64 81, !19, i64 84, !14, i64 112, !20, i64 120, !25, i64 176, !25, i64 232, !14, i64 288, !14, i64 289}
!13 = !{!"_ZTS7QVector", !10, i64 0, !10, i64 4}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTSSt6vectorI7QVectorSaIS0_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseI7QVectorSaIS0_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseI7QVectorSaIS0_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseI7QVectorSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTS5QAABB", !13, i64 0, !13, i64 8, !13, i64 16, !10, i64 24}
!20 = !{!"_ZTSSt13unordered_setIP9QParticleSt4hashIS1_ESt8equal_toIS1_ESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt10_HashtableIP9QParticleS1_SaIS1_ENSt8__detail9_IdentityESt8equal_toIS1_ESt4hashIS1_ENS3_18_Mod_range_hashingENS3_20_Default_ranged_hashENS3_20_Prime_rehash_policyENS3_17_Hashtable_traitsILb0ELb1ELb1EEEE", !6, i64 0, !22, i64 8, !23, i64 16, !22, i64 24, !24, i64 32, !6, i64 48}
!22 = !{!"long", !7, i64 0}
!23 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!24 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !10, i64 0, !22, i64 8}
!25 = !{!"_ZTSSt13unordered_setIP5QBodySt4hashIS1_ESt8equal_toIS1_ESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSSt10_HashtableIP5QBodyS1_SaIS1_ENSt8__detail9_IdentityESt8equal_toIS1_ESt4hashIS1_ENS3_18_Mod_range_hashingENS3_20_Default_ranged_hashENS3_20_Prime_rehash_policyENS3_17_Hashtable_traitsILb0ELb1ELb1EEEE", !6, i64 0, !22, i64 8, !23, i64 16, !22, i64 24, !24, i64 32, !6, i64 48}
!27 = !{!12, !10, i64 28}
!28 = !{!12, !6, i64 32}
!29 = !{!12, !14, i64 40}
!30 = !{!12, !14, i64 80}
!31 = !{!12, !14, i64 81}
!32 = !{!12, !14, i64 112}
!33 = !{!12, !14, i64 288}
!34 = !{!12, !14, i64 289}
!35 = !{!13, !10, i64 0}
!36 = !{!13, !10, i64 4}
!37 = !{i64 0, i64 4, !9, i64 4, i64 4, !9}


; 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.QVector = type { float, 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7QVectorC2Ev(ptr noundef nonnull align 4 dereferenceable(8)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN7QVector4ZeroEv() local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5QAABBC2Ev(ptr noundef nonnull align 4 dereferenceable(28)) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt13unordered_setIP9QParticleSt4hashIS1_ESt8equal_toIS1_ESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt13unordered_setIP5QBodySt4hashIS1_ESt8equal_toIS1_ESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9QParticleC2E7QVectorf(ptr noundef nonnull align 8 dereferenceable(290) %0, <2 x float> %1, float noundef %2) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %struct.QVector, align 8
  %5 = alloca %struct.QVector, align 8
  %6 = alloca %struct.QVector, align 8
  store float 5.000000e-01, ptr %0, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 4
  tail call void @_ZN7QVectorC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %7)
  %8 = getelementptr inbounds i8, ptr %0, i64 12
  tail call void @_ZN7QVectorC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %8)
  %9 = getelementptr inbounds i8, ptr %0, i64 20
  tail call void @_ZN7QVectorC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %9)
  %10 = getelementptr inbounds i8, ptr %0, i64 28
  store float 1.000000e+00, ptr %10, align 4, !tbaa !25
  %11 = getelementptr inbounds i8, ptr %0, i64 32
  store ptr null, ptr %11, align 8, !tbaa !26
  %12 = getelementptr inbounds i8, ptr %0, i64 40
  store i8 0, ptr %12, align 8, !tbaa !27
  %13 = getelementptr inbounds i8, ptr %0, i64 44
  %14 = tail call <2 x float> @_ZN7QVector4ZeroEv()
  store <2 x float> %14, ptr %13, align 4
  %15 = getelementptr inbounds i8, ptr %0, i64 56
  tail call void @_ZNSt6vectorI7QVectorSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #4
  %16 = getelementptr inbounds i8, ptr %0, i64 80
  store i8 1, ptr %16, align 8, !tbaa !28
  %17 = getelementptr inbounds i8, ptr %0, i64 81
  store i8 0, ptr %17, align 1, !tbaa !29
  %18 = getelementptr inbounds i8, ptr %0, i64 84
  invoke void @_ZN5QAABBC2Ev(ptr noundef nonnull align 4 dereferenceable(28) %18)
          to label %19 unwind label %29

19:                                               ; preds = %3
  %20 = getelementptr inbounds i8, ptr %0, i64 112
  store i8 1, ptr %20, align 8, !tbaa !30
  %21 = getelementptr inbounds i8, ptr %0, i64 120
  tail call void @_ZNSt13unordered_setIP9QParticleSt4hashIS1_ESt8equal_toIS1_ESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %21) #4
  %22 = getelementptr inbounds i8, ptr %0, i64 176
  tail call void @_ZNSt13unordered_setIP5QBodySt4hashIS1_ESt8equal_toIS1_ESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %22) #4
  %23 = getelementptr inbounds i8, ptr %0, i64 232
  tail call void @_ZNSt13unordered_setIP5QBodySt4hashIS1_ESt8equal_toIS1_ESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %23) #4
  %24 = getelementptr inbounds i8, ptr %0, i64 288
  store i8 0, ptr %24, align 8, !tbaa !31
  %25 = getelementptr inbounds i8, ptr %0, i64 289
  store i8 0, ptr %25, align 1, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  %.sroa.0.0.vec.extract = extractelement <2 x float> %1, i64 0
  %.sroa.0.4.vec.extract = extractelement <2 x float> %1, i64 1
  call void @_ZN7QVectorC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %4, float noundef %.sroa.0.0.vec.extract, float noundef %.sroa.0.4.vec.extract)
  %26 = load i64, ptr %4, align 8
  store i64 %26, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  call void @_ZN7QVectorC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef %.sroa.0.0.vec.extract, float noundef %.sroa.0.4.vec.extract)
  %27 = load i64, ptr %5, align 8
  store i64 %27, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
  call void @_ZN7QVectorC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef %.sroa.0.0.vec.extract, float noundef %.sroa.0.4.vec.extract)
  %28 = load i64, ptr %6, align 8
  store i64 %28, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  store float %2, ptr %0, align 8, !tbaa !5
  ret void

29:                                               ; preds = %3
  %30 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZNSt6vectorI7QVectorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #4
  resume { ptr, i32 } %30
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { 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, !7, i64 0}
!6 = !{!"_ZTS9QParticle", !7, i64 0, !10, i64 4, !10, i64 12, !10, i64 20, !7, i64 28, !11, i64 32, !12, i64 40, !10, i64 44, !13, i64 56, !12, i64 80, !12, i64 81, !17, i64 84, !12, i64 112, !18, i64 120, !23, i64 176, !23, i64 232, !12, i64 288, !12, i64 289}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS7QVector", !7, i64 0, !7, i64 4}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"bool", !8, i64 0}
!13 = !{!"_ZTSSt6vectorI7QVectorSaIS0_EE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseI7QVectorSaIS0_EE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseI7QVectorSaIS0_EE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseI7QVectorSaIS0_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!17 = !{!"_ZTS5QAABB", !10, i64 0, !10, i64 8, !10, i64 16, !7, i64 24}
!18 = !{!"_ZTSSt13unordered_setIP9QParticleSt4hashIS1_ESt8equal_toIS1_ESaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSSt10_HashtableIP9QParticleS1_SaIS1_ENSt8__detail9_IdentityESt8equal_toIS1_ESt4hashIS1_ENS3_18_Mod_range_hashingENS3_20_Default_ranged_hashENS3_20_Prime_rehash_policyENS3_17_Hashtable_traitsILb0ELb1ELb1EEEE", !11, i64 0, !20, i64 8, !21, i64 16, !20, i64 24, !22, i64 32, !11, i64 48}
!20 = !{!"long", !8, i64 0}
!21 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !11, i64 0}
!22 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !7, i64 0, !20, i64 8}
!23 = !{!"_ZTSSt13unordered_setIP5QBodySt4hashIS1_ESt8equal_toIS1_ESaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSSt10_HashtableIP5QBodyS1_SaIS1_ENSt8__detail9_IdentityESt8equal_toIS1_ESt4hashIS1_ENS3_18_Mod_range_hashingENS3_20_Default_ranged_hashENS3_20_Prime_rehash_policyENS3_17_Hashtable_traitsILb0ELb1ELb1EEEE", !11, i64 0, !20, i64 8, !21, i64 16, !20, i64 24, !22, i64 32, !11, i64 48}
!25 = !{!6, !7, i64 28}
!26 = !{!6, !11, i64 32}
!27 = !{!6, !12, i64 40}
!28 = !{!6, !12, i64 80}
!29 = !{!6, !12, i64 81}
!30 = !{!6, !12, i64 112}
!31 = !{!6, !12, i64 288}
!32 = !{!6, !12, i64 289}


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