; LLVM IR from jrouwe/JoltPhysics :: Jolt/Physics/Character (CharacterVirtual)

; 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::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::Quat" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.0 }
%union.anon.0 = type { <4 x float> }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::CollideShapeSettings" = type <{ %"class.JPH::CollideSettingsBase", float, i8, [11 x i8] }>
%"class.JPH::CollideSettingsBase" = type { i8, i8, float, float, %"class.JPH::Vec3" }
%"class.JPH::IgnoreSingleBodyFilterChained" = type { %"class.JPH::BodyFilter", %"class.JPH::BodyID", ptr }
%"class.JPH::BodyFilter" = type { ptr }
%"class.JPH::BodyID" = type { i32 }
%"class.JPH::CharacterVirtual" = type <{ %"class.JPH::CharacterBase", %"class.JPH::CharacterID", [4 x i8], ptr, ptr, i8, [3 x i8], float, i32, i32, float, float, float, i32, float, float, i8, [3 x i8], float, float, [4 x i8], %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Quat", %"class.JPH::Vec3", %"class.JPH::Array.2", i32, [4 x i8], %"class.JPH::UnorderedMap", float, i8, [3 x i8], i64, %"class.JPH::BodyID", [12 x i8] }>
%"class.JPH::CharacterBase" = type { ptr, %"class.JPH::RefTarget", ptr, %"class.JPH::RefConst", %"class.JPH::Vec3", %"class.JPH::Plane", float, i32, %"class.JPH::BodyID", %"class.JPH::SubShapeID", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::RefConst.1", i64 }
%"class.JPH::RefTarget" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.JPH::RefConst" = type { ptr }
%"class.JPH::Plane" = type { %"class.JPH::Vec4" }
%"class.JPH::SubShapeID" = type { i32 }
%"class.JPH::RefConst.1" = type { ptr }
%"class.JPH::CharacterID" = type { i32 }
%"class.JPH::Array.2" = type { i64, i64, ptr }
%"class.JPH::UnorderedMap" = type { %"class.JPH::HashTable.base", [4 x i8] }
%"class.JPH::HashTable.base" = type <{ ptr, ptr, i32, i32, i32 }>

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

declare i32 @__gxx_personality_v0(...)

; 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 { double, double } @_ZN3JPH4Vec34sOneEv() #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3JPH16CharacterVirtual14CheckCollisionENS_4Vec3ENS_4QuatES1_fPKNS_5ShapeES1_RNS_18CollisionCollectorINS_18CollideShapeResultENS_36CollisionCollectorTraitsCollideShapeEEERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterE(ptr noundef nonnull align 16 dereferenceable(372) %0, double %1, double %2, double %3, double %4, double %5, double %6, float noundef %7, ptr noundef %8, ptr noundef byval(%"class.JPH::Vec3") align 16 %9, ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(12) %14) #3 align 2 personality ptr @__gxx_personality_v0 {
  %16 = alloca %"class.JPH::Vec3", align 16
  %17 = alloca %"class.JPH::Quat", align 16
  %18 = alloca %"class.JPH::Vec3", align 16
  %19 = alloca ptr, align 8
  %20 = alloca float, align 4
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca %"class.JPH::Mat44", align 16
  %28 = alloca %"class.JPH::Vec3", align 16
  %29 = alloca %"class.JPH::Quat", align 16
  %30 = alloca %"class.JPH::CollideShapeSettings", align 16
  %31 = alloca %"class.JPH::IgnoreSingleBodyFilterChained", align 8
  %32 = alloca %"class.JPH::BodyID", align 4
  %33 = alloca { i64, i64 }, align 8
  %34 = alloca ptr, align 8
  %35 = alloca i32, align 4
  %36 = alloca %"class.JPH::Vec3", align 16
  %37 = alloca %"class.JPH::Vec3", align 16
  %38 = alloca %"class.JPH::Vec3", align 16
  %39 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 0
  store double %1, ptr %39, align 16
  %40 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 1
  store double %2, ptr %40, align 8
  %41 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 0
  store double %3, ptr %41, align 16
  %42 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 1
  store double %4, ptr %42, align 8
  %43 = getelementptr inbounds { double, double }, ptr %18, i32 0, i32 0
  store double %5, ptr %43, align 16
  %44 = getelementptr inbounds { double, double }, ptr %18, i32 0, i32 1
  store double %6, ptr %44, align 8
  store ptr %0, ptr %19, align 8, !tbaa !5
  store float %7, ptr %20, align 4, !tbaa !9
  store ptr %8, ptr %21, align 8, !tbaa !5
  store ptr %10, ptr %22, align 8, !tbaa !5
  store ptr %11, ptr %23, align 8, !tbaa !5
  store ptr %12, ptr %24, align 8, !tbaa !5
  store ptr %13, ptr %25, align 8, !tbaa !5
  store ptr %14, ptr %26, align 8, !tbaa !5
  %45 = load ptr, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr %27) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %28, ptr align 16 %16, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %29, ptr align 16 %17, i64 16, i1 false), !tbaa.struct !11
  %46 = load ptr, ptr %21, align 8, !tbaa !5
  %47 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 0
  %48 = load double, ptr %47, align 16
  %49 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 1
  %50 = load double, ptr %49, align 8
  %51 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 0
  %52 = load double, ptr %51, align 16
  %53 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 1
  %54 = load double, ptr %53, align 8
  call void @_ZNK3JPH16CharacterVirtual24GetCenterOfMassTransformENS_4Vec3ENS_4QuatEPKNS_5ShapeE(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %27, ptr noundef nonnull align 16 dereferenceable(372) %45, double %48, double %50, double %52, double %54, ptr noundef %46)
  call void @llvm.lifetime.start.p0(i64 48, ptr %30) #7
  call void @_ZN3JPH20CollideShapeSettingsC2Ev(ptr noundef nonnull align 16 dereferenceable(37) %30)
  %55 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %45, i32 0, i32 5
  %56 = load i8, ptr %55, align 8, !tbaa !13
  %57 = getelementptr inbounds %"class.JPH::CollideShapeSettings", ptr %30, i32 0, i32 2
  store i8 %56, ptr %57, align 4, !tbaa !36
  %58 = getelementptr inbounds %"class.JPH::CollideSettingsBase", ptr %30, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %58, ptr align 16 %18, i64 16, i1 false), !tbaa.struct !11
  %59 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %45, i32 0, i32 12
  %60 = load float, ptr %59, align 16, !tbaa !41
  %61 = load float, ptr %20, align 4, !tbaa !9
  %62 = fadd float %60, %61
  %63 = getelementptr inbounds %"class.JPH::CollideShapeSettings", ptr %30, i32 0, i32 1
  store float %62, ptr %63, align 16, !tbaa !42
  %64 = getelementptr inbounds %"class.JPH::CollideSettingsBase", ptr %30, i32 0, i32 0
  store i8 0, ptr %64, align 16, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 24, ptr %31) #7
  %65 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %45, i32 0, i32 33
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 16 %65, i64 4, i1 false), !tbaa.struct !44
  %66 = load ptr, ptr %25, align 8, !tbaa !5
  %67 = getelementptr inbounds %"class.JPH::BodyID", ptr %32, i32 0, i32 0
  %68 = load i32, ptr %67, align 4
  call void @_ZN3JPH29IgnoreSingleBodyFilterChainedC2ENS_6BodyIDERKNS_10BodyFilterE(ptr noundef nonnull align 8 dereferenceable(24) %31, i32 %68, ptr noundef nonnull align 8 dereferenceable(8) %66)
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #7
  %69 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %45, i32 0, i32 16
  %70 = load i8, ptr %69, align 16, !tbaa !46, !range !47, !noundef !48
  %71 = trunc i8 %70 to i1
  %72 = zext i1 %71 to i64
  %73 = select i1 %71, { i64, i64 } { i64 ptrtoint (ptr @_ZNK3JPH16NarrowPhaseQuery35CollideShapeWithInternalEdgeRemovalEPKNS_5ShapeENS_4Vec3ERKNS_5Mat44ERKNS_20CollideShapeSettingsES4_RNS_18CollisionCollectorINS_18CollideShapeResultENS_36CollisionCollectorTraitsCollideShapeEEERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterE to i64), i64 0 }, { i64, i64 } { i64 ptrtoint (ptr @_ZNK3JPH16NarrowPhaseQuery12CollideShapeEPKNS_5ShapeENS_4Vec3ERKNS_5Mat44ERKNS_20CollideShapeSettingsES4_RNS_18CollisionCollectorINS_18CollideShapeResultENS_36CollisionCollectorTraitsCollideShapeEEERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterE to i64), i64 0 }
  store { i64, i64 } %73, ptr %33, align 8, !tbaa !12
  %74 = getelementptr inbounds %"class.JPH::CharacterBase", ptr %45, i32 0, i32 2
  %75 = load ptr, ptr %74, align 16, !tbaa !49
  %76 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3JPH13PhysicsSystem19GetNarrowPhaseQueryEv(ptr noundef nonnull align 16 dereferenceable(1172) %75)
          to label %77 unwind label %89

77:                                               ; preds = %15
  %78 = load { i64, i64 }, ptr %33, align 8, !tbaa !12
  %79 = extractvalue { i64, i64 } %78, 1
  %80 = getelementptr inbounds i8, ptr %76, i64 %79
  %81 = extractvalue { i64, i64 } %78, 0
  %82 = and i64 %81, 1
  %83 = icmp ne i64 %82, 0
  br i1 %83, label %84, label %93

84:                                               ; preds = %77
  %85 = load ptr, ptr %80, align 8, !tbaa !50
  %86 = sub i64 %81, 1
  %87 = getelementptr i8, ptr %85, i64 %86, !nosanitize !48
  %88 = load ptr, ptr %87, align 8, !nosanitize !48
  br label %95

89:                                               ; preds = %124, %122, %99, %95, %15
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %34, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %35, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #7
  call void @_ZN3JPH10BodyFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %27) #7
  br label %137

93:                                               ; preds = %77
  %94 = inttoptr i64 %81 to ptr
  br label %95

95:                                               ; preds = %93, %84
  %96 = phi ptr [ %88, %84 ], [ %94, %93 ]
  %97 = load ptr, ptr %21, align 8, !tbaa !5
  %98 = invoke { double, double } @_ZN3JPH4Vec34sOneEv()
          to label %99 unwind label %89

99:                                               ; preds = %95
  %100 = getelementptr inbounds %"class.JPH::Vec3", ptr %36, i32 0, i32 0
  %101 = getelementptr inbounds %union.anon, ptr %100, i32 0, i32 0
  %102 = getelementptr inbounds { double, double }, ptr %101, i32 0, i32 0
  %103 = extractvalue { double, double } %98, 0
  store double %103, ptr %102, align 16
  %104 = getelementptr inbounds { double, double }, ptr %101, i32 0, i32 1
  %105 = extractvalue { double, double } %98, 1
  store double %105, ptr %104, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %37, ptr align 16 %9, i64 16, i1 false), !tbaa.struct !11
  %106 = load ptr, ptr %22, align 8, !tbaa !5
  %107 = load ptr, ptr %23, align 8, !tbaa !5
  %108 = load ptr, ptr %24, align 8, !tbaa !5
  %109 = load ptr, ptr %26, align 8, !tbaa !5
  %110 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 0
  %111 = load double, ptr %110, align 16
  %112 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 1
  %113 = load double, ptr %112, align 8
  %114 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 0
  %115 = load double, ptr %114, align 16
  %116 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 1
  %117 = load double, ptr %116, align 8
  invoke void %96(ptr noundef nonnull align 8 dereferenceable(16) %80, ptr noundef %97, double %111, double %113, ptr noundef nonnull align 16 dereferenceable(64) %27, ptr noundef nonnull align 16 dereferenceable(37) %30, double %115, double %117, ptr noundef nonnull align 8 dereferenceable(24) %106, ptr noundef nonnull align 8 dereferenceable(8) %107, ptr noundef nonnull align 8 dereferenceable(8) %108, ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(12) %109)
          to label %118 unwind label %89

118:                                              ; preds = %99
  %119 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %45, i32 0, i32 4
  %120 = load ptr, ptr %119, align 16, !tbaa !52
  %121 = icmp ne ptr %120, null
  br i1 %121, label %122, label %136

122:                                              ; preds = %118
  %123 = load ptr, ptr %22, align 8, !tbaa !5
  invoke void @_ZN3JPH18CollisionCollectorINS_18CollideShapeResultENS_36CollisionCollectorTraitsCollideShapeEE10SetContextEPKNS_16TransformedShapeE(ptr noundef nonnull align 8 dereferenceable(24) %123, ptr noundef null)
          to label %124 unwind label %89

124:                                              ; preds = %122
  %125 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %45, i32 0, i32 4
  %126 = load ptr, ptr %125, align 16, !tbaa !52
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %38, ptr align 16 %9, i64 16, i1 false), !tbaa.struct !11
  %127 = load ptr, ptr %22, align 8, !tbaa !5
  %128 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 0
  %129 = load double, ptr %128, align 16
  %130 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 1
  %131 = load double, ptr %130, align 8
  %132 = load ptr, ptr %126, align 8, !tbaa !50
  %133 = getelementptr inbounds ptr, ptr %132, i64 2
  %134 = load ptr, ptr %133, align 8
  invoke void %134(ptr noundef nonnull align 8 dereferenceable(8) %126, ptr noundef %45, ptr noundef nonnull align 16 dereferenceable(64) %27, ptr noundef nonnull align 16 dereferenceable(37) %30, double %129, double %131, ptr noundef nonnull align 8 dereferenceable(24) %127)
          to label %135 unwind label %89

135:                                              ; preds = %124
  br label %136

136:                                              ; preds = %135, %118
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #7
  call void @_ZN3JPH10BodyFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %27) #7
  ret void

137:                                              ; preds = %89
  %138 = load ptr, ptr %34, align 8
  %139 = load i32, ptr %35, align 4
  %140 = insertvalue { ptr, i32 } poison, ptr %138, 0
  %141 = insertvalue { ptr, i32 } %140, i32 %139, 1
  resume { ptr, i32 } %141
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK3JPH16CharacterVirtual24GetCenterOfMassTransformENS_4Vec3ENS_4QuatEPKNS_5ShapeE(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, ptr noundef nonnull align 16 dereferenceable(372), double, double, double, double, ptr noundef) #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH29IgnoreSingleBodyFilterChainedC2ENS_6BodyIDERKNS_10BodyFilterE(ptr noundef nonnull align 8 dereferenceable(24), i32, ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5 align 2

declare void @_ZNK3JPH16NarrowPhaseQuery35CollideShapeWithInternalEdgeRemovalEPKNS_5ShapeENS_4Vec3ERKNS_5Mat44ERKNS_20CollideShapeSettingsES4_RNS_18CollisionCollectorINS_18CollideShapeResultENS_36CollisionCollectorTraitsCollideShapeEEERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, double, double, ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(37), double, double, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(12)) #6

declare void @_ZNK3JPH16NarrowPhaseQuery12CollideShapeEPKNS_5ShapeENS_4Vec3ERKNS_5Mat44ERKNS_20CollideShapeSettingsES4_RNS_18CollisionCollectorINS_18CollideShapeResultENS_36CollisionCollectorTraitsCollideShapeEEERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, double, double, ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(37), double, double, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(12)) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3JPH13PhysicsSystem19GetNarrowPhaseQueryEv(ptr noundef nonnull align 16 dereferenceable(1172)) #5 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH10BodyFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5 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"="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"="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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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 = !{i64 0, i64 16, !12}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !30, i64 168}
!14 = !{!"_ZTSN3JPH16CharacterVirtualE", !15, i64 0, !29, i64 144, !6, i64 152, !6, i64 160, !30, i64 168, !10, i64 172, !19, i64 176, !19, i64 180, !10, i64 184, !10, i64 188, !10, i64 192, !19, i64 196, !10, i64 200, !10, i64 204, !31, i64 208, !10, i64 212, !10, i64 216, !21, i64 224, !21, i64 240, !32, i64 256, !21, i64 272, !33, i64 288, !19, i64 312, !34, i64 320, !10, i64 352, !31, i64 356, !28, i64 360, !25, i64 368}
!15 = !{!"_ZTSN3JPH13CharacterBaseE", !16, i64 8, !6, i64 16, !20, i64 24, !21, i64 32, !22, i64 48, !10, i64 64, !24, i64 68, !25, i64 72, !26, i64 76, !21, i64 80, !21, i64 96, !21, i64 112, !27, i64 128, !28, i64 136}
!16 = !{!"_ZTSN3JPH9RefTargetINS_13CharacterBaseEEE", !17, i64 0}
!17 = !{!"_ZTSSt6atomicIjE", !18, i64 0}
!18 = !{!"_ZTSSt13__atomic_baseIjE", !19, i64 0}
!19 = !{!"int", !7, i64 0}
!20 = !{!"_ZTSN3JPH8RefConstINS_5ShapeEEE", !6, i64 0}
!21 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!22 = !{!"_ZTSN3JPH5PlaneE", !23, i64 0}
!23 = !{!"_ZTSN3JPH4Vec4E", !7, i64 0}
!24 = !{!"_ZTSN3JPH13CharacterBase12EGroundStateE", !7, i64 0}
!25 = !{!"_ZTSN3JPH6BodyIDE", !19, i64 0}
!26 = !{!"_ZTSN3JPH10SubShapeIDE", !19, i64 0}
!27 = !{!"_ZTSN3JPH8RefConstINS_15PhysicsMaterialEEE", !6, i64 0}
!28 = !{!"long", !7, i64 0}
!29 = !{!"_ZTSN3JPH11CharacterIDE", !19, i64 0}
!30 = !{!"_ZTSN3JPH13EBackFaceModeE", !7, i64 0}
!31 = !{!"bool", !7, i64 0}
!32 = !{!"_ZTSN3JPH4QuatE", !23, i64 0}
!33 = !{!"_ZTSN3JPH5ArrayINS_16CharacterVirtual7ContactENS_12STLAllocatorIS2_EEEE", !28, i64 0, !28, i64 8, !6, i64 16}
!34 = !{!"_ZTSN3JPH12UnorderedMapINS_16CharacterVirtual10ContactKeyENS1_20ListenerContactValueENS_4HashIS2_EESt8equal_toIS2_EEE", !35, i64 0}
!35 = !{!"_ZTSN3JPH9HashTableINS_16CharacterVirtual10ContactKeyESt4pairIS2_NS1_20ListenerContactValueEENS_18UnorderedMapDetailIS2_S4_EENS_4HashIS2_EESt8equal_toIS2_EEE", !6, i64 0, !6, i64 8, !19, i64 16, !19, i64 20, !19, i64 24}
!36 = !{!37, !30, i64 36}
!37 = !{!"_ZTSN3JPH20CollideShapeSettingsE", !38, i64 0, !10, i64 32, !30, i64 36}
!38 = !{!"_ZTSN3JPH19CollideSettingsBaseE", !39, i64 0, !40, i64 1, !10, i64 4, !10, i64 8, !21, i64 16}
!39 = !{!"_ZTSN3JPH15EActiveEdgeModeE", !7, i64 0}
!40 = !{!"_ZTSN3JPH17ECollectFacesModeE", !7, i64 0}
!41 = !{!14, !10, i64 192}
!42 = !{!37, !10, i64 32}
!43 = !{!38, !39, i64 0}
!44 = !{i64 0, i64 4, !45}
!45 = !{!19, !19, i64 0}
!46 = !{!14, !31, i64 208}
!47 = !{i8 0, i8 2}
!48 = !{}
!49 = !{!15, !6, i64 16}
!50 = !{!51, !51, i64 0}
!51 = !{!"vtable pointer", !8, i64 0}
!52 = !{!14, !6, i64 160}


; 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::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::Vec4" = type { %union.anon.0 }
%union.anon.0 = type { <4 x float> }
%"class.JPH::CollideShapeSettings" = type <{ %"class.JPH::CollideSettingsBase", float, i8, [11 x i8] }>
%"class.JPH::CollideSettingsBase" = type { i8, i8, float, float, %"class.JPH::Vec3" }
%"class.JPH::IgnoreSingleBodyFilterChained" = type { %"class.JPH::BodyFilter", %"class.JPH::BodyID", ptr }
%"class.JPH::BodyFilter" = type { ptr }
%"class.JPH::BodyID" = type { i32 }

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec34sOneEv() local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3JPH16CharacterVirtual14CheckCollisionENS_4Vec3ENS_4QuatES1_fPKNS_5ShapeES1_RNS_18CollisionCollectorINS_18CollideShapeResultENS_36CollisionCollectorTraitsCollideShapeEEERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterE(ptr noundef nonnull align 16 dereferenceable(372) %0, double %1, double %2, double %3, double %4, double %5, double %6, float noundef %7, ptr noundef %8, ptr nocapture noundef readonly byval(%"class.JPH::Vec3") align 16 %9, ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(12) %14) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %16 = alloca %"class.JPH::Mat44", align 16
  %17 = alloca %"class.JPH::CollideShapeSettings", align 16
  %18 = alloca %"class.JPH::IgnoreSingleBodyFilterChained", align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %16) #6
  call void @_ZNK3JPH16CharacterVirtual24GetCenterOfMassTransformENS_4Vec3ENS_4QuatEPKNS_5ShapeE(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %16, ptr noundef nonnull align 16 dereferenceable(372) %0, double %1, double %2, double %3, double %4, ptr noundef %8)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %17) #6
  call void @_ZN3JPH20CollideShapeSettingsC2Ev(ptr noundef nonnull align 16 dereferenceable(37) %17)
  %19 = getelementptr inbounds i8, ptr %0, i64 168
  %20 = load i8, ptr %19, align 8, !tbaa !5
  %21 = getelementptr inbounds i8, ptr %17, i64 36
  store i8 %20, ptr %21, align 4, !tbaa !32
  %22 = getelementptr inbounds i8, ptr %17, i64 16
  store double %5, ptr %22, align 16
  %.sroa.225.0..sroa_idx = getelementptr inbounds i8, ptr %17, i64 24
  store double %6, ptr %.sroa.225.0..sroa_idx, align 8, !tbaa !37
  %23 = getelementptr inbounds i8, ptr %0, i64 192
  %24 = load float, ptr %23, align 16, !tbaa !38
  %25 = fadd float %24, %7
  %26 = getelementptr inbounds i8, ptr %17, i64 32
  store float %25, ptr %26, align 16, !tbaa !39
  store i8 0, ptr %17, align 16, !tbaa !40
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #6
  %27 = getelementptr inbounds i8, ptr %0, i64 368
  %.sroa.08.0.copyload = load i32, ptr %27, align 16, !tbaa !41
  call void @_ZN3JPH29IgnoreSingleBodyFilterChainedC2ENS_6BodyIDERKNS_10BodyFilterE(ptr noundef nonnull align 8 dereferenceable(24) %18, i32 %.sroa.08.0.copyload, ptr noundef nonnull align 8 dereferenceable(8) %13)
  %28 = getelementptr inbounds i8, ptr %0, i64 208
  %29 = load i8, ptr %28, align 16, !tbaa !42, !range !43, !noundef !44
  %30 = getelementptr inbounds i8, ptr %0, i64 16
  %31 = load ptr, ptr %30, align 16, !tbaa !45
  %32 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3JPH13PhysicsSystem19GetNarrowPhaseQueryEv(ptr noundef nonnull align 16 dereferenceable(1172) %31)
  %33 = invoke { double, double } @_ZN3JPH4Vec34sOneEv()
          to label %36 unwind label %34

34:                                               ; preds = %44, %36, %15
  %35 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH10BodyFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #6
  resume { ptr, i32 } %35

36:                                               ; preds = %15
  %37 = trunc nuw i8 %29 to i1
  %38 = select i1 %37, ptr @_ZNK3JPH16NarrowPhaseQuery35CollideShapeWithInternalEdgeRemovalEPKNS_5ShapeENS_4Vec3ERKNS_5Mat44ERKNS_20CollideShapeSettingsES4_RNS_18CollisionCollectorINS_18CollideShapeResultENS_36CollisionCollectorTraitsCollideShapeEEERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterE, ptr @_ZNK3JPH16NarrowPhaseQuery12CollideShapeEPKNS_5ShapeENS_4Vec3ERKNS_5Mat44ERKNS_20CollideShapeSettingsES4_RNS_18CollisionCollectorINS_18CollideShapeResultENS_36CollisionCollectorTraitsCollideShapeEEERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterE
  %39 = extractvalue { double, double } %33, 0
  %40 = extractvalue { double, double } %33, 1
  %.sroa.01.0.copyload = load double, ptr %9, align 16
  %.sroa.22.0..sroa_idx = getelementptr inbounds i8, ptr %9, i64 8
  %.sroa.22.0.copyload = load double, ptr %.sroa.22.0..sroa_idx, align 8, !tbaa !37
  invoke void %38(ptr noundef nonnull align 8 dereferenceable(16) %32, ptr noundef %8, double %39, double %40, ptr noundef nonnull align 16 dereferenceable(64) %16, ptr noundef nonnull align 16 dereferenceable(37) %17, double %.sroa.01.0.copyload, double %.sroa.22.0.copyload, ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(12) %14)
          to label %41 unwind label %34

41:                                               ; preds = %36
  %42 = getelementptr inbounds i8, ptr %0, i64 160
  %43 = load ptr, ptr %42, align 16, !tbaa !46
  %.not = icmp eq ptr %43, null
  br i1 %.not, label %49, label %44

44:                                               ; preds = %41
  call void @_ZN3JPH18CollisionCollectorINS_18CollideShapeResultENS_36CollisionCollectorTraitsCollideShapeEE10SetContextEPKNS_16TransformedShapeE(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef null)
  %45 = load ptr, ptr %42, align 16, !tbaa !46
  %46 = load ptr, ptr %45, align 8, !tbaa !47
  %47 = getelementptr inbounds i8, ptr %46, i64 16
  %48 = load ptr, ptr %47, align 8
  invoke void %48(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull %0, ptr noundef nonnull align 16 dereferenceable(64) %16, ptr noundef nonnull align 16 dereferenceable(37) %17, double %.sroa.01.0.copyload, double %.sroa.22.0.copyload, ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %49 unwind label %34

49:                                               ; preds = %44, %41
  call void @_ZN3JPH10BodyFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #6
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK3JPH16CharacterVirtual24GetCenterOfMassTransformENS_4Vec3ENS_4QuatEPKNS_5ShapeE(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, ptr noundef nonnull align 16 dereferenceable(372), double, double, double, double, ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH20CollideShapeSettingsC2Ev(ptr noundef nonnull align 16 dereferenceable(37)) unnamed_addr #3 align 2

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

declare void @_ZNK3JPH16NarrowPhaseQuery35CollideShapeWithInternalEdgeRemovalEPKNS_5ShapeENS_4Vec3ERKNS_5Mat44ERKNS_20CollideShapeSettingsES4_RNS_18CollisionCollectorINS_18CollideShapeResultENS_36CollisionCollectorTraitsCollideShapeEEERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, double, double, ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(37), double, double, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #5

declare void @_ZNK3JPH16NarrowPhaseQuery12CollideShapeEPKNS_5ShapeENS_4Vec3ERKNS_5Mat44ERKNS_20CollideShapeSettingsES4_RNS_18CollisionCollectorINS_18CollideShapeResultENS_36CollisionCollectorTraitsCollideShapeEEERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, double, double, ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(37), double, double, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3JPH13PhysicsSystem19GetNarrowPhaseQueryEv(ptr noundef nonnull align 16 dereferenceable(1172)) local_unnamed_addr #4 align 2

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="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 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 = { "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, !26, i64 168}
!6 = !{!"_ZTSN3JPH16CharacterVirtualE", !7, i64 0, !25, i64 144, !14, i64 152, !14, i64 160, !26, i64 168, !19, i64 172, !11, i64 176, !11, i64 180, !19, i64 184, !19, i64 188, !19, i64 192, !11, i64 196, !19, i64 200, !19, i64 204, !27, i64 208, !19, i64 212, !19, i64 216, !16, i64 224, !16, i64 240, !28, i64 256, !16, i64 272, !29, i64 288, !11, i64 312, !30, i64 320, !19, i64 352, !27, i64 356, !24, i64 360, !21, i64 368}
!7 = !{!"_ZTSN3JPH13CharacterBaseE", !8, i64 8, !14, i64 16, !15, i64 24, !16, i64 32, !17, i64 48, !19, i64 64, !20, i64 68, !21, i64 72, !22, i64 76, !16, i64 80, !16, i64 96, !16, i64 112, !23, i64 128, !24, i64 136}
!8 = !{!"_ZTSN3JPH9RefTargetINS_13CharacterBaseEEE", !9, i64 0}
!9 = !{!"_ZTSSt6atomicIjE", !10, i64 0}
!10 = !{!"_ZTSSt13__atomic_baseIjE", !11, i64 0}
!11 = !{!"int", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!"any pointer", !12, i64 0}
!15 = !{!"_ZTSN3JPH8RefConstINS_5ShapeEEE", !14, i64 0}
!16 = !{!"_ZTSN3JPH4Vec3E", !12, i64 0}
!17 = !{!"_ZTSN3JPH5PlaneE", !18, i64 0}
!18 = !{!"_ZTSN3JPH4Vec4E", !12, i64 0}
!19 = !{!"float", !12, i64 0}
!20 = !{!"_ZTSN3JPH13CharacterBase12EGroundStateE", !12, i64 0}
!21 = !{!"_ZTSN3JPH6BodyIDE", !11, i64 0}
!22 = !{!"_ZTSN3JPH10SubShapeIDE", !11, i64 0}
!23 = !{!"_ZTSN3JPH8RefConstINS_15PhysicsMaterialEEE", !14, i64 0}
!24 = !{!"long", !12, i64 0}
!25 = !{!"_ZTSN3JPH11CharacterIDE", !11, i64 0}
!26 = !{!"_ZTSN3JPH13EBackFaceModeE", !12, i64 0}
!27 = !{!"bool", !12, i64 0}
!28 = !{!"_ZTSN3JPH4QuatE", !18, i64 0}
!29 = !{!"_ZTSN3JPH5ArrayINS_16CharacterVirtual7ContactENS_12STLAllocatorIS2_EEEE", !24, i64 0, !24, i64 8, !14, i64 16}
!30 = !{!"_ZTSN3JPH12UnorderedMapINS_16CharacterVirtual10ContactKeyENS1_20ListenerContactValueENS_4HashIS2_EESt8equal_toIS2_EEE", !31, i64 0}
!31 = !{!"_ZTSN3JPH9HashTableINS_16CharacterVirtual10ContactKeyESt4pairIS2_NS1_20ListenerContactValueEENS_18UnorderedMapDetailIS2_S4_EENS_4HashIS2_EESt8equal_toIS2_EEE", !14, i64 0, !14, i64 8, !11, i64 16, !11, i64 20, !11, i64 24}
!32 = !{!33, !26, i64 36}
!33 = !{!"_ZTSN3JPH20CollideShapeSettingsE", !34, i64 0, !19, i64 32, !26, i64 36}
!34 = !{!"_ZTSN3JPH19CollideSettingsBaseE", !35, i64 0, !36, i64 1, !19, i64 4, !19, i64 8, !16, i64 16}
!35 = !{!"_ZTSN3JPH15EActiveEdgeModeE", !12, i64 0}
!36 = !{!"_ZTSN3JPH17ECollectFacesModeE", !12, i64 0}
!37 = !{!12, !12, i64 0}
!38 = !{!6, !19, i64 192}
!39 = !{!33, !19, i64 32}
!40 = !{!34, !35, i64 0}
!41 = !{!11, !11, i64 0}
!42 = !{!6, !27, i64 208}
!43 = !{i8 0, i8 2}
!44 = !{}
!45 = !{!7, !14, i64 16}
!46 = !{!6, !14, i64 160}
!47 = !{!48, !48, i64 0}
!48 = !{!"vtable pointer", !13, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass