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

; 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::Color" = type { %union.anon.6 }
%union.anon.6 = type { i32 }
%class.anon.7 = type { i8 }
%class.anon.9 = type { i8 }
%class.anon.11 = type { i8 }
%"class.JPH::ShapeFunctions" = type <{ ptr, %"class.JPH::Color", [4 x i8] }>

@_ZN3JPH5Color6sBlackE = external global %"class.JPH::Color", align 4
@_ZN3JPHL17sAllSubShapeTypesE = external hidden constant [34 x i8], align 16

; 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: mustprogress uwtable
define dso_local void @_ZN3JPH10EmptyShape9sRegisterEv() #2 align 2 {
  %1 = alloca ptr, align 8
  %2 = alloca %class.anon.7, align 1
  %3 = alloca %class.anon.9, align 1
  %4 = alloca %class.anon.11, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #5
  %9 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN3JPH14ShapeFunctions4sGetENS_13EShapeSubTypeE(i8 noundef zeroext 33)
  store ptr %9, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %2) #5
  %10 = call noundef ptr @"_ZZN3JPH10EmptyShape9sRegisterEvENK3$_0cvPFPNS_5ShapeEvEEv"(ptr noundef nonnull align 1 dereferenceable(1) %2) #5
  %11 = load ptr, ptr %1, align 8, !tbaa !5
  %12 = getelementptr inbounds %"class.JPH::ShapeFunctions", ptr %11, i32 0, i32 0
  store ptr %10, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 1, ptr %2) #5
  %13 = load ptr, ptr %1, align 8, !tbaa !5
  %14 = getelementptr inbounds %"class.JPH::ShapeFunctions", ptr %13, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %14, ptr align 4 @_ZN3JPH5Color6sBlackE, i64 4, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.start.p0(i64 1, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  store ptr @_ZN3JPHL17sAllSubShapeTypesE, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  store ptr @_ZN3JPHL17sAllSubShapeTypesE, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  store ptr getelementptr inbounds (i8, ptr @_ZN3JPHL17sAllSubShapeTypesE, i64 34), ptr %7, align 8, !tbaa !5
  br label %15

15:                                               ; preds = %31, %0
  %16 = load ptr, ptr %6, align 8, !tbaa !5
  %17 = load ptr, ptr %7, align 8, !tbaa !5
  %18 = icmp ne ptr %16, %17
  br i1 %18, label %20, label %19

19:                                               ; preds = %15
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  br label %34

20:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #5
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = load i8, ptr %21, align 1, !tbaa !14
  store i8 %22, ptr %8, align 1, !tbaa !14
  %23 = load i8, ptr %8, align 1, !tbaa !14
  %24 = call noundef ptr @"_ZZN3JPH10EmptyShape9sRegisterEvENK3$_1cvPFvPKNS_5ShapeES4_NS_4Vec3ES5_RKNS_5Mat44ES8_RKNS_17SubShapeIDCreatorESB_RKNS_20CollideShapeSettingsERNS_18CollisionCollectorINS_18CollideShapeResultENS_36CollisionCollectorTraitsCollideShapeEEERKNS_11ShapeFilterEEEv"(ptr noundef nonnull align 1 dereferenceable(1) %3) #5
  call void @_ZN3JPH17CollisionDispatch21sRegisterCollideShapeENS_13EShapeSubTypeES1_PFvPKNS_5ShapeES4_NS_4Vec3ES5_RKNS_5Mat44ES8_RKNS_17SubShapeIDCreatorESB_RKNS_20CollideShapeSettingsERNS_18CollisionCollectorINS_18CollideShapeResultENS_36CollisionCollectorTraitsCollideShapeEEERKNS_11ShapeFilterEE(i8 noundef zeroext 33, i8 noundef zeroext %23, ptr noundef %24)
  %25 = load i8, ptr %8, align 1, !tbaa !14
  %26 = call noundef ptr @"_ZZN3JPH10EmptyShape9sRegisterEvENK3$_1cvPFvPKNS_5ShapeES4_NS_4Vec3ES5_RKNS_5Mat44ES8_RKNS_17SubShapeIDCreatorESB_RKNS_20CollideShapeSettingsERNS_18CollisionCollectorINS_18CollideShapeResultENS_36CollisionCollectorTraitsCollideShapeEEERKNS_11ShapeFilterEEEv"(ptr noundef nonnull align 1 dereferenceable(1) %3) #5
  call void @_ZN3JPH17CollisionDispatch21sRegisterCollideShapeENS_13EShapeSubTypeES1_PFvPKNS_5ShapeES4_NS_4Vec3ES5_RKNS_5Mat44ES8_RKNS_17SubShapeIDCreatorESB_RKNS_20CollideShapeSettingsERNS_18CollisionCollectorINS_18CollideShapeResultENS_36CollisionCollectorTraitsCollideShapeEEERKNS_11ShapeFilterEE(i8 noundef zeroext %25, i8 noundef zeroext 33, ptr noundef %26)
  %27 = load i8, ptr %8, align 1, !tbaa !14
  %28 = call noundef ptr @"_ZZN3JPH10EmptyShape9sRegisterEvENK3$_2cvPFvRKNS_9ShapeCastERKNS_17ShapeCastSettingsEPKNS_5ShapeENS_4Vec3ERKNS_11ShapeFilterERKNS_5Mat44ERKNS_17SubShapeIDCreatorESK_RNS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEEEEv"(ptr noundef nonnull align 1 dereferenceable(1) %4) #5
  call void @_ZN3JPH17CollisionDispatch18sRegisterCastShapeENS_13EShapeSubTypeES1_PFvRKNS_9ShapeCastERKNS_17ShapeCastSettingsEPKNS_5ShapeENS_4Vec3ERKNS_11ShapeFilterERKNS_5Mat44ERKNS_17SubShapeIDCreatorESK_RNS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEEE(i8 noundef zeroext 33, i8 noundef zeroext %27, ptr noundef %28)
  %29 = load i8, ptr %8, align 1, !tbaa !14
  %30 = call noundef ptr @"_ZZN3JPH10EmptyShape9sRegisterEvENK3$_2cvPFvRKNS_9ShapeCastERKNS_17ShapeCastSettingsEPKNS_5ShapeENS_4Vec3ERKNS_11ShapeFilterERKNS_5Mat44ERKNS_17SubShapeIDCreatorESK_RNS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEEEEv"(ptr noundef nonnull align 1 dereferenceable(1) %4) #5
  call void @_ZN3JPH17CollisionDispatch18sRegisterCastShapeENS_13EShapeSubTypeES1_PFvRKNS_9ShapeCastERKNS_17ShapeCastSettingsEPKNS_5ShapeENS_4Vec3ERKNS_11ShapeFilterERKNS_5Mat44ERKNS_17SubShapeIDCreatorESK_RNS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEEE(i8 noundef zeroext %29, i8 noundef zeroext 33, ptr noundef %30)
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #5
  br label %31

31:                                               ; preds = %20
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = getelementptr inbounds i8, ptr %32, i32 1
  store ptr %33, ptr %6, align 8, !tbaa !5
  br label %15

34:                                               ; preds = %19
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #5
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZN3JPH14ShapeFunctions4sGetENS_13EShapeSubTypeE(i8 noundef zeroext) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZZN3JPH10EmptyShape9sRegisterEvENK3$_0cvPFPNS_5ShapeEvEEv"(ptr noundef nonnull align 1 dereferenceable(1)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH17CollisionDispatch21sRegisterCollideShapeENS_13EShapeSubTypeES1_PFvPKNS_5ShapeES4_NS_4Vec3ES5_RKNS_5Mat44ES8_RKNS_17SubShapeIDCreatorESB_RKNS_20CollideShapeSettingsERNS_18CollisionCollectorINS_18CollideShapeResultENS_36CollisionCollectorTraitsCollideShapeEEERKNS_11ShapeFilterEE(i8 noundef zeroext, i8 noundef zeroext, ptr noundef) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZZN3JPH10EmptyShape9sRegisterEvENK3$_1cvPFvPKNS_5ShapeES4_NS_4Vec3ES5_RKNS_5Mat44ES8_RKNS_17SubShapeIDCreatorESB_RKNS_20CollideShapeSettingsERNS_18CollisionCollectorINS_18CollideShapeResultENS_36CollisionCollectorTraitsCollideShapeEEERKNS_11ShapeFilterEEEv"(ptr noundef nonnull align 1 dereferenceable(1)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH17CollisionDispatch18sRegisterCastShapeENS_13EShapeSubTypeES1_PFvRKNS_9ShapeCastERKNS_17ShapeCastSettingsEPKNS_5ShapeENS_4Vec3ERKNS_11ShapeFilterERKNS_5Mat44ERKNS_17SubShapeIDCreatorESK_RNS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEEE(i8 noundef zeroext, i8 noundef zeroext, ptr noundef) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZZN3JPH10EmptyShape9sRegisterEvENK3$_2cvPFvRKNS_9ShapeCastERKNS_17ShapeCastSettingsEPKNS_5ShapeENS_4Vec3ERKNS_11ShapeFilterERKNS_5Mat44ERKNS_17SubShapeIDCreatorESK_RNS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEEEEv"(ptr noundef nonnull align 1 dereferenceable(1)) #3 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !6, i64 0}
!10 = !{!"_ZTSN3JPH14ShapeFunctionsE", !6, i64 0, !11, i64 8}
!11 = !{!"_ZTSN3JPH5ColorE", !7, i64 0}
!12 = !{i64 0, i64 4, !13}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"_ZTSN3JPH13EShapeSubTypeE", !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::Color" = type { %union.anon.6 }
%union.anon.6 = type { i32 }
%class.anon.7 = type { i8 }
%class.anon.9 = type { i8 }
%class.anon.11 = type { i8 }

@_ZN3JPH5Color6sBlackE = external local_unnamed_addr global %"class.JPH::Color", align 4
@_ZN3JPHL17sAllSubShapeTypesE = external hidden local_unnamed_addr constant [34 x i8], align 16

; 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
define dso_local void @_ZN3JPH10EmptyShape9sRegisterEv() local_unnamed_addr #1 align 2 {
  %1 = alloca %class.anon.7, align 1
  %2 = alloca %class.anon.9, align 1
  %3 = alloca %class.anon.11, align 1
  %4 = tail call noundef nonnull align 8 dereferenceable(12) ptr @_ZN3JPH14ShapeFunctions4sGetENS_13EShapeSubTypeE(i8 noundef zeroext 33)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %1) #3
  %5 = call noundef ptr @"_ZZN3JPH10EmptyShape9sRegisterEvENK3$_0cvPFPNS_5ShapeEvEEv"(ptr noundef nonnull align 1 dereferenceable(1) %1) #3
  store ptr %5, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %1) #3
  %6 = getelementptr inbounds i8, ptr %4, i64 8
  %7 = load i32, ptr @_ZN3JPH5Color6sBlackE, align 4, !tbaa !11
  store i32 %7, ptr %6, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %2) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #3
  br label %9

8:                                                ; preds = %9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #3
  ret void

9:                                                ; preds = %0, %9
  %.0.idx9 = phi i64 [ 0, %0 ], [ %.0.add, %9 ]
  %.0.ptr = getelementptr inbounds i8, ptr @_ZN3JPHL17sAllSubShapeTypesE, i64 %.0.idx9
  %10 = load i8, ptr %.0.ptr, align 1, !tbaa !12
  %11 = call noundef ptr @"_ZZN3JPH10EmptyShape9sRegisterEvENK3$_1cvPFvPKNS_5ShapeES4_NS_4Vec3ES5_RKNS_5Mat44ES8_RKNS_17SubShapeIDCreatorESB_RKNS_20CollideShapeSettingsERNS_18CollisionCollectorINS_18CollideShapeResultENS_36CollisionCollectorTraitsCollideShapeEEERKNS_11ShapeFilterEEEv"(ptr noundef nonnull align 1 dereferenceable(1) %2) #3
  call void @_ZN3JPH17CollisionDispatch21sRegisterCollideShapeENS_13EShapeSubTypeES1_PFvPKNS_5ShapeES4_NS_4Vec3ES5_RKNS_5Mat44ES8_RKNS_17SubShapeIDCreatorESB_RKNS_20CollideShapeSettingsERNS_18CollisionCollectorINS_18CollideShapeResultENS_36CollisionCollectorTraitsCollideShapeEEERKNS_11ShapeFilterEE(i8 noundef zeroext 33, i8 noundef zeroext %10, ptr noundef %11)
  %12 = call noundef ptr @"_ZZN3JPH10EmptyShape9sRegisterEvENK3$_1cvPFvPKNS_5ShapeES4_NS_4Vec3ES5_RKNS_5Mat44ES8_RKNS_17SubShapeIDCreatorESB_RKNS_20CollideShapeSettingsERNS_18CollisionCollectorINS_18CollideShapeResultENS_36CollisionCollectorTraitsCollideShapeEEERKNS_11ShapeFilterEEEv"(ptr noundef nonnull align 1 dereferenceable(1) %2) #3
  call void @_ZN3JPH17CollisionDispatch21sRegisterCollideShapeENS_13EShapeSubTypeES1_PFvPKNS_5ShapeES4_NS_4Vec3ES5_RKNS_5Mat44ES8_RKNS_17SubShapeIDCreatorESB_RKNS_20CollideShapeSettingsERNS_18CollisionCollectorINS_18CollideShapeResultENS_36CollisionCollectorTraitsCollideShapeEEERKNS_11ShapeFilterEE(i8 noundef zeroext %10, i8 noundef zeroext 33, ptr noundef %12)
  %13 = call noundef ptr @"_ZZN3JPH10EmptyShape9sRegisterEvENK3$_2cvPFvRKNS_9ShapeCastERKNS_17ShapeCastSettingsEPKNS_5ShapeENS_4Vec3ERKNS_11ShapeFilterERKNS_5Mat44ERKNS_17SubShapeIDCreatorESK_RNS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEEEEv"(ptr noundef nonnull align 1 dereferenceable(1) %3) #3
  call void @_ZN3JPH17CollisionDispatch18sRegisterCastShapeENS_13EShapeSubTypeES1_PFvRKNS_9ShapeCastERKNS_17ShapeCastSettingsEPKNS_5ShapeENS_4Vec3ERKNS_11ShapeFilterERKNS_5Mat44ERKNS_17SubShapeIDCreatorESK_RNS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEEE(i8 noundef zeroext 33, i8 noundef zeroext %10, ptr noundef %13)
  %14 = call noundef ptr @"_ZZN3JPH10EmptyShape9sRegisterEvENK3$_2cvPFvRKNS_9ShapeCastERKNS_17ShapeCastSettingsEPKNS_5ShapeENS_4Vec3ERKNS_11ShapeFilterERKNS_5Mat44ERKNS_17SubShapeIDCreatorESK_RNS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEEEEv"(ptr noundef nonnull align 1 dereferenceable(1) %3) #3
  call void @_ZN3JPH17CollisionDispatch18sRegisterCastShapeENS_13EShapeSubTypeES1_PFvRKNS_9ShapeCastERKNS_17ShapeCastSettingsEPKNS_5ShapeENS_4Vec3ERKNS_11ShapeFilterERKNS_5Mat44ERKNS_17SubShapeIDCreatorESK_RNS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEEE(i8 noundef zeroext %10, i8 noundef zeroext 33, ptr noundef %14)
  %.0.add = add nuw nsw i64 %.0.idx9, 1
  %.not = icmp eq i64 %.0.add, 34
  br i1 %.not, label %8, label %9
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZN3JPH14ShapeFunctions4sGetENS_13EShapeSubTypeE(i8 noundef zeroext) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZZN3JPH10EmptyShape9sRegisterEvENK3$_0cvPFPNS_5ShapeEvEEv"(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH17CollisionDispatch21sRegisterCollideShapeENS_13EShapeSubTypeES1_PFvPKNS_5ShapeES4_NS_4Vec3ES5_RKNS_5Mat44ES8_RKNS_17SubShapeIDCreatorESB_RKNS_20CollideShapeSettingsERNS_18CollisionCollectorINS_18CollideShapeResultENS_36CollisionCollectorTraitsCollideShapeEEERKNS_11ShapeFilterEE(i8 noundef zeroext, i8 noundef zeroext, ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZZN3JPH10EmptyShape9sRegisterEvENK3$_1cvPFvPKNS_5ShapeES4_NS_4Vec3ES5_RKNS_5Mat44ES8_RKNS_17SubShapeIDCreatorESB_RKNS_20CollideShapeSettingsERNS_18CollisionCollectorINS_18CollideShapeResultENS_36CollisionCollectorTraitsCollideShapeEEERKNS_11ShapeFilterEEEv"(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH17CollisionDispatch18sRegisterCastShapeENS_13EShapeSubTypeES1_PFvRKNS_9ShapeCastERKNS_17ShapeCastSettingsEPKNS_5ShapeENS_4Vec3ERKNS_11ShapeFilterERKNS_5Mat44ERKNS_17SubShapeIDCreatorESK_RNS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEEE(i8 noundef zeroext, i8 noundef zeroext, ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZZN3JPH10EmptyShape9sRegisterEvENK3$_2cvPFvRKNS_9ShapeCastERKNS_17ShapeCastSettingsEPKNS_5ShapeENS_4Vec3ERKNS_11ShapeFilterERKNS_5Mat44ERKNS_17SubShapeIDCreatorESK_RNS_18CollisionCollectorINS_15ShapeCastResultENS_33CollisionCollectorTraitsCastShapeEEEEEv"(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2 align 2

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 = { 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 #3 = { 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 = !{!"_ZTSN3JPH14ShapeFunctionsE", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN3JPH5ColorE", !8, i64 0}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"_ZTSN3JPH13EShapeSubTypeE", !8, i64 0}


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