; LLVM IR from jrouwe/JoltPhysics :: Jolt/Physics/Collision/Shape/CapsuleShape.ll (ZNK3JPH12CapsuleShape17GetMassPropertiesEv)

; 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.JPH::MassProperties" = type { float, %"class.JPH::Mat44" }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::Vec4" = type { %union.anon.14 }
%union.anon.14 = type { <4 x float> }
%"class.JPH::Vec3" = type { %union.anon.12 }
%union.anon.12 = type { <4 x float> }
%"class.JPH::CapsuleShape" = type { %"class.JPH::ConvexShape.base", float, float, [4 x i8] }
%"class.JPH::ConvexShape.base" = type <{ %"class.JPH::Shape.base", [6 x i8], %"class.JPH::RefConst", float }>
%"class.JPH::Shape.base" = type <{ ptr, %"class.JPH::RefTarget.11", [4 x i8], i64, i8, i8 }>
%"class.JPH::RefTarget.11" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.JPH::RefConst" = type { 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: 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) #1

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16), float noundef, float noundef, float noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3JPH12CapsuleShape17GetMassPropertiesEv(ptr dead_on_unwind noalias writable sret(%"class.JPH::MassProperties") align 16 %0, ptr noundef nonnull align 8 dereferenceable(56) %1) unnamed_addr #3 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca float, align 4
  %5 = alloca float, align 4
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca %"class.JPH::Mat44", align 16
  %14 = alloca %"class.JPH::Vec3", align 16
  store ptr %1, ptr %3, align 8, !tbaa !5
  %15 = load ptr, ptr %3, align 8
  call void @_ZN3JPH14MassPropertiesC2Ev(ptr noundef nonnull align 16 dereferenceable(80) %0)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #9
  %16 = call noundef float @_ZNK3JPH11ConvexShape10GetDensityEv(ptr noundef nonnull align 8 dereferenceable(44) %15)
  store float %16, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #9
  %17 = getelementptr inbounds %"class.JPH::CapsuleShape", ptr %15, i32 0, i32 1
  %18 = load float, ptr %17, align 4, !tbaa !11
  %19 = call noundef float @_ZN3JPH6SquareIfEET_S1_(float noundef %18)
  store float %19, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #9
  %20 = getelementptr inbounds %"class.JPH::CapsuleShape", ptr %15, i32 0, i32 2
  %21 = load float, ptr %20, align 8, !tbaa !23
  %22 = fmul float 2.000000e+00, %21
  store float %22, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #9
  %23 = load float, ptr %6, align 4, !tbaa !9
  %24 = fmul float 0x400921FB60000000, %23
  %25 = load float, ptr %5, align 4, !tbaa !9
  %26 = fmul float %24, %25
  %27 = load float, ptr %4, align 4, !tbaa !9
  %28 = fmul float %26, %27
  store float %28, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #9
  %29 = load float, ptr %5, align 4, !tbaa !9
  %30 = fmul float 0x4000C15240000000, %29
  %31 = getelementptr inbounds %"class.JPH::CapsuleShape", ptr %15, i32 0, i32 1
  %32 = load float, ptr %31, align 4, !tbaa !11
  %33 = fmul float %30, %32
  %34 = load float, ptr %4, align 4, !tbaa !9
  %35 = fmul float %33, %34
  store float %35, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #9
  %36 = load float, ptr %6, align 4, !tbaa !9
  %37 = call noundef float @_ZN3JPH6SquareIfEET_S1_(float noundef %36)
  store float %37, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #9
  %38 = load float, ptr %5, align 4, !tbaa !9
  %39 = load float, ptr %7, align 4, !tbaa !9
  %40 = fmul float %38, %39
  %41 = fmul float %40, 5.000000e-01
  store float %41, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #9
  %42 = load float, ptr %10, align 4, !tbaa !9
  %43 = load float, ptr %7, align 4, !tbaa !9
  %44 = load float, ptr %9, align 4, !tbaa !9
  %45 = fmul float %43, %44
  %46 = fdiv float %45, 1.200000e+01
  %47 = call float @llvm.fmuladd.f32(float %42, float 5.000000e-01, float %46)
  store float %47, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  %48 = load float, ptr %8, align 4, !tbaa !9
  %49 = fmul float %48, 4.000000e+00
  %50 = load float, ptr %5, align 4, !tbaa !9
  %51 = fmul float %49, %50
  %52 = fdiv float %51, 5.000000e+00
  store float %52, ptr %12, align 4, !tbaa !9
  %53 = load float, ptr %12, align 4, !tbaa !9
  %54 = load float, ptr %10, align 4, !tbaa !9
  %55 = fadd float %54, %53
  store float %55, ptr %10, align 4, !tbaa !9
  %56 = load float, ptr %12, align 4, !tbaa !9
  %57 = load float, ptr %8, align 4, !tbaa !9
  %58 = load float, ptr %9, align 4, !tbaa !9
  %59 = load float, ptr %6, align 4, !tbaa !9
  %60 = fmul float 7.500000e-01, %59
  %61 = getelementptr inbounds %"class.JPH::CapsuleShape", ptr %15, i32 0, i32 1
  %62 = load float, ptr %61, align 4, !tbaa !11
  %63 = fmul float %60, %62
  %64 = call float @llvm.fmuladd.f32(float 5.000000e-01, float %58, float %63)
  %65 = call float @llvm.fmuladd.f32(float %57, float %64, float %56)
  %66 = load float, ptr %11, align 4, !tbaa !9
  %67 = fadd float %66, %65
  store float %67, ptr %11, align 4, !tbaa !9
  %68 = load float, ptr %7, align 4, !tbaa !9
  %69 = load float, ptr %8, align 4, !tbaa !9
  %70 = call float @llvm.fmuladd.f32(float %69, float 2.000000e+00, float %68)
  %71 = getelementptr inbounds %"class.JPH::MassProperties", ptr %0, i32 0, i32 0
  store float %70, ptr %71, align 16, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 64, ptr %13) #9
  %72 = load float, ptr %11, align 4, !tbaa !9
  %73 = load float, ptr %10, align 4, !tbaa !9
  %74 = load float, ptr %11, align 4, !tbaa !9
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %14, float noundef %72, float noundef %73, float noundef %74)
  %75 = getelementptr inbounds { double, double }, ptr %14, i32 0, i32 0
  %76 = load double, ptr %75, align 16
  %77 = getelementptr inbounds { double, double }, ptr %14, i32 0, i32 1
  %78 = load double, ptr %77, align 8
  call void @_ZN3JPH5Mat446sScaleENS_4Vec3E(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %13, double %76, double %78)
  %79 = getelementptr inbounds %"class.JPH::MassProperties", ptr %0, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %79, ptr align 16 %13, i64 64, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.end.p0(i64 64, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #9
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH14MassPropertiesC2Ev(ptr noundef nonnull align 16 dereferenceable(80)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3JPH11ConvexShape10GetDensityEv(ptr noundef nonnull align 8 dereferenceable(44)) #5 align 2

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3JPH5Mat446sScaleENS_4Vec3E(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, double, double) #8 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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 #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 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { 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 #9 = { 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 44}
!12 = !{!"_ZTSN3JPH12CapsuleShapeE", !13, i64 0, !10, i64 44, !10, i64 48}
!13 = !{!"_ZTSN3JPH11ConvexShapeE", !14, i64 0, !22, i64 32, !10, i64 40}
!14 = !{!"_ZTSN3JPH5ShapeE", !15, i64 8, !19, i64 16, !20, i64 24, !21, i64 25}
!15 = !{!"_ZTSN3JPH9RefTargetINS_5ShapeEEE", !16, i64 0}
!16 = !{!"_ZTSSt6atomicIjE", !17, i64 0}
!17 = !{!"_ZTSSt13__atomic_baseIjE", !18, i64 0}
!18 = !{!"int", !7, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!"_ZTSN3JPH10EShapeTypeE", !7, i64 0}
!21 = !{!"_ZTSN3JPH13EShapeSubTypeE", !7, i64 0}
!22 = !{!"_ZTSN3JPH8RefConstINS_15PhysicsMaterialEEE", !6, i64 0}
!23 = !{!12, !10, i64 48}
!24 = !{!25, !10, i64 0}
!25 = !{!"_ZTSN3JPH14MassPropertiesE", !10, i64 0, !26, i64 16}
!26 = !{!"_ZTSN3JPH5Mat44E", !7, i64 0}
!27 = !{i64 0, i64 64, !28}
!28 = !{!7, !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.JPH::MassProperties" = type { float, %"class.JPH::Mat44" }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::Vec4" = type { %union.anon.14 }
%union.anon.14 = type { <4 x float> }
%"class.JPH::Vec3" = type { %union.anon.12 }
%union.anon.12 = 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16), float noundef, float noundef, float noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3JPH12CapsuleShape17GetMassPropertiesEv(ptr dead_on_unwind noalias nonnull writable sret(%"class.JPH::MassProperties") align 16 %0, ptr noundef nonnull align 8 dereferenceable(56) %1) unnamed_addr #3 align 2 {
  %3 = alloca %"class.JPH::Mat44", align 16
  %4 = alloca %"class.JPH::Vec3", align 16
  tail call void @_ZN3JPH14MassPropertiesC2Ev(ptr noundef nonnull align 16 dereferenceable(80) %0)
  %5 = tail call noundef float @_ZNK3JPH11ConvexShape10GetDensityEv(ptr noundef nonnull align 8 dereferenceable(44) %1)
  %6 = getelementptr inbounds i8, ptr %1, i64 44
  %7 = load float, ptr %6, align 4, !tbaa !5
  %8 = tail call noundef float @_ZN3JPH6SquareIfEET_S1_(float noundef %7)
  %9 = getelementptr inbounds i8, ptr %1, i64 48
  %10 = load float, ptr %9, align 8, !tbaa !21
  %11 = fmul float %10, 2.000000e+00
  %12 = fmul float %11, 0x400921FB60000000
  %13 = fmul float %8, %12
  %14 = load float, ptr %6, align 4, !tbaa !5
  %15 = tail call noundef float @_ZN3JPH6SquareIfEET_S1_(float noundef %11)
  %16 = fmul float %11, 7.500000e-01
  %17 = load float, ptr %6, align 4, !tbaa !5
  %18 = fmul float %16, %17
  %19 = tail call float @llvm.fmuladd.f32(float %15, float 5.000000e-01, float %18)
  %20 = insertelement <2 x float> poison, float %5, i64 0
  %21 = insertelement <2 x float> %20, float %8, i64 1
  %22 = insertelement <2 x float> <float poison, float 0x4000C15240000000>, float %13, i64 0
  %23 = fmul <2 x float> %21, %22
  %24 = insertelement <2 x float> poison, float %8, i64 0
  %25 = insertelement <2 x float> %24, float %14, i64 1
  %26 = fmul <2 x float> %25, %23
  %27 = insertelement <2 x float> <float 5.000000e-01, float poison>, float %5, i64 1
  %28 = fmul <2 x float> %27, %26
  %29 = extractelement <2 x float> %28, i64 1
  %30 = fmul float %29, 4.000000e+00
  %31 = insertelement <2 x float> poison, float %15, i64 0
  %32 = insertelement <2 x float> %31, float %8, i64 1
  %33 = insertelement <2 x float> %23, float %30, i64 1
  %34 = fmul <2 x float> %32, %33
  %35 = fdiv <2 x float> %34, <float 1.200000e+01, float 5.000000e+00>
  %shift = shufflevector <2 x float> %35, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %36 = fadd <2 x float> %28, %shift
  %37 = extractelement <2 x float> %36, i64 0
  %38 = insertelement <2 x float> <float 5.000000e-01, float poison>, float %19, i64 1
  %39 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %28, <2 x float> %38, <2 x float> %35)
  %shift26 = shufflevector <2 x float> %39, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %40 = fadd <2 x float> %39, %shift26
  %41 = extractelement <2 x float> %40, i64 0
  %42 = extractelement <2 x float> %23, i64 0
  %43 = tail call float @llvm.fmuladd.f32(float %29, float 2.000000e+00, float %42)
  store float %43, ptr %0, align 16, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #10
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %4, float noundef %41, float noundef %37, float noundef %41)
  %44 = load double, ptr %4, align 16
  %45 = getelementptr inbounds i8, ptr %4, i64 8
  %46 = load double, ptr %45, align 8
  call void @_ZN3JPH5Mat446sScaleENS_4Vec3E(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %3, double %44, double %46)
  %47 = getelementptr inbounds i8, ptr %0, i64 16
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %47, ptr noundef nonnull align 16 dereferenceable(64) %3, i64 64, i1 false), !tbaa.struct !25
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #10
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH14MassPropertiesC2Ev(ptr noundef nonnull align 16 dereferenceable(80)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3JPH11ConvexShape10GetDensityEv(ptr noundef nonnull align 8 dereferenceable(44)) local_unnamed_addr #5 align 2

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3JPH5Mat446sScaleENS_4Vec3E(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, double, double) local_unnamed_addr #8 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x float> @llvm.fmuladd.v2f32(<2 x float>, <2 x float>, <2 x float>) #9

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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 #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 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { 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 #9 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #10 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !20, i64 44}
!6 = !{!"_ZTSN3JPH12CapsuleShapeE", !7, i64 0, !20, i64 44, !20, i64 48}
!7 = !{!"_ZTSN3JPH11ConvexShapeE", !8, i64 0, !18, i64 32, !20, i64 40}
!8 = !{!"_ZTSN3JPH5ShapeE", !9, i64 8, !15, i64 16, !16, i64 24, !17, i64 25}
!9 = !{!"_ZTSN3JPH9RefTargetINS_5ShapeEEE", !10, i64 0}
!10 = !{!"_ZTSSt6atomicIjE", !11, i64 0}
!11 = !{!"_ZTSSt13__atomic_baseIjE", !12, i64 0}
!12 = !{!"int", !13, i64 0}
!13 = !{!"omnipotent char", !14, i64 0}
!14 = !{!"Simple C++ TBAA"}
!15 = !{!"long", !13, i64 0}
!16 = !{!"_ZTSN3JPH10EShapeTypeE", !13, i64 0}
!17 = !{!"_ZTSN3JPH13EShapeSubTypeE", !13, i64 0}
!18 = !{!"_ZTSN3JPH8RefConstINS_15PhysicsMaterialEEE", !19, i64 0}
!19 = !{!"any pointer", !13, i64 0}
!20 = !{!"float", !13, i64 0}
!21 = !{!6, !20, i64 48}
!22 = !{!23, !20, i64 0}
!23 = !{!"_ZTSN3JPH14MassPropertiesE", !20, i64 0, !24, i64 16}
!24 = !{!"_ZTSN3JPH5Mat44E", !13, i64 0}
!25 = !{i64 0, i64 64, !26}
!26 = !{!13, !13, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,TailCallElimPass,VectorCombinePass