; 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::ScopeExit" = type <{ %class.anon.39, i8, [7 x i8] }>
%class.anon.39 = type { ptr }
%"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::Vec4" = type { %union.anon.0 }
%union.anon.0 = type { <4 x float> }
%"class.JPH::SubShapeID" = type { i32 }
%"class.JPH::RefConst.1" = type { ptr }
%"class.JPH::CharacterID" = type { i32 }
%"class.JPH::Quat" = type { %"class.JPH::Vec4" }
%"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 }>
%"class.JPH::BodyID" = type { 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: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH13PhysicsSystem16GetBodyInterfaceEv(ptr noundef nonnull align 16 dereferenceable(1172)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH6BodyID9IsInvalidEv(ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH16CharacterVirtual24UpdateInnerBodyTransformEv(ptr noundef nonnull align 16 dereferenceable(372)) #4 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) #5 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef, double, double) #6

declare void @_ZN3JPH13BodyInterface10AddImpulseERKNS_6BodyIDENS_4Vec3ES4_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4), double, double, double, double) #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH16CharacterVirtual23UpdateSupportingContactEbRNS_13TempAllocatorE(ptr noundef nonnull align 16 dereferenceable(372), i1 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH16CharacterVirtual27StartTrackingContactChangesEv(ptr noundef nonnull align 16 dereferenceable(372)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH16CharacterVirtual9MoveShapeERNS_4Vec3ES1_fPNS_5ArrayINS0_7ContactENS_12STLAllocatorIS4_EEEERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterERNS_13TempAllocatorE(ptr noundef nonnull align 16 dereferenceable(372), ptr noundef nonnull align 16 dereferenceable(16), double, double, float noundef, ptr noundef, 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), ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3JPH16CharacterVirtual6UpdateEfNS_4Vec3ERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterERNS_13TempAllocatorE(ptr noundef nonnull align 16 dereferenceable(372) %0, float noundef %1, double %2, double %3, ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(12) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #4 align 2 personality ptr @__gxx_personality_v0 {
  %10 = alloca %"class.JPH::Vec3", align 16
  %11 = alloca ptr, align 8
  %12 = alloca float, align 4
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca %"class.JPH::ScopeExit", align 8
  %19 = alloca %class.anon.39, align 8
  %20 = alloca %"class.JPH::Vec3", align 16
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca float, align 4
  %24 = alloca %"class.JPH::Vec3", align 16
  %25 = alloca %"class.JPH::Vec3", align 16
  %26 = alloca %"class.JPH::Vec3", align 16
  %27 = alloca %"class.JPH::Vec3", align 16
  %28 = alloca %"class.JPH::Vec3", align 16
  %29 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 0
  store double %2, ptr %29, align 16
  %30 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 1
  store double %3, ptr %30, align 8
  store ptr %0, ptr %11, align 8, !tbaa !5
  store float %1, ptr %12, align 4, !tbaa !9
  store ptr %4, ptr %13, align 8, !tbaa !5
  store ptr %5, ptr %14, align 8, !tbaa !5
  store ptr %6, ptr %15, align 8, !tbaa !5
  store ptr %7, ptr %16, align 8, !tbaa !5
  store ptr %8, ptr %17, align 8, !tbaa !5
  %31 = load ptr, ptr %11, align 8
  %32 = load float, ptr %12, align 4, !tbaa !9
  %33 = fcmp ole float %32, 0.000000e+00
  br i1 %33, label %34, label %35

34:                                               ; preds = %9
  br label %126

35:                                               ; preds = %9
  call void @_ZN3JPH16CharacterVirtual27StartTrackingContactChangesEv(ptr noundef nonnull align 16 dereferenceable(372) %31)
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %36 = getelementptr inbounds %class.anon.39, ptr %19, i32 0, i32 0
  store ptr %31, ptr %36, align 8, !tbaa !11
  call void @"_ZN3JPH9ScopeExitIZNS_16CharacterVirtual6UpdateEfNS_4Vec3ERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterERNS_13TempAllocatorEE3$_0EC2EOSH_"(ptr noundef nonnull align 8 dereferenceable(9) %18, ptr noundef nonnull align 8 dereferenceable(8) %19)
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  %37 = load float, ptr %12, align 4, !tbaa !9
  %38 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %31, i32 0, i32 29
  store float %37, ptr %38, align 16, !tbaa !13
  %39 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %31, i32 0, i32 22
  %40 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %31, i32 0, i32 24
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %20, ptr align 16 %40, i64 16, i1 false), !tbaa.struct !36
  %41 = load float, ptr %12, align 4, !tbaa !9
  %42 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %31, i32 0, i32 25
  %43 = load ptr, ptr %13, align 8, !tbaa !5
  %44 = load ptr, ptr %14, align 8, !tbaa !5
  %45 = load ptr, ptr %15, align 8, !tbaa !5
  %46 = load ptr, ptr %16, align 8, !tbaa !5
  %47 = load ptr, ptr %17, align 8, !tbaa !5
  %48 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 0
  %49 = load double, ptr %48, align 16
  %50 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 1
  %51 = load double, ptr %50, align 8
  invoke void @_ZN3JPH16CharacterVirtual9MoveShapeERNS_4Vec3ES1_fPNS_5ArrayINS0_7ContactENS_12STLAllocatorIS4_EEEERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterERNS_13TempAllocatorE(ptr noundef nonnull align 16 dereferenceable(372) %31, ptr noundef nonnull align 16 dereferenceable(16) %39, double %49, double %51, float noundef %41, ptr noundef %42, ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull align 8 dereferenceable(12) %46, ptr noundef nonnull align 8 dereferenceable(8) %47)
          to label %52 unwind label %111

52:                                               ; preds = %35
  %53 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZN3JPH16CharacterVirtual23UpdateSupportingContactEbRNS_13TempAllocatorE(ptr noundef nonnull align 16 dereferenceable(372) %31, i1 noundef zeroext false, ptr noundef nonnull align 8 dereferenceable(8) %53)
          to label %54 unwind label %111

54:                                               ; preds = %52
  invoke void @_ZN3JPH16CharacterVirtual24UpdateInnerBodyTransformEv(ptr noundef nonnull align 16 dereferenceable(372) %31)
          to label %55 unwind label %111

55:                                               ; preds = %54
  %56 = getelementptr inbounds %"class.JPH::CharacterBase", ptr %31, i32 0, i32 8
  %57 = invoke noundef zeroext i1 @_ZNK3JPH6BodyID9IsInvalidEv(ptr noundef nonnull align 4 dereferenceable(4) %56)
          to label %58 unwind label %111

58:                                               ; preds = %55
  br i1 %57, label %125, label %59

59:                                               ; preds = %58
  %60 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %31, i32 0, i32 18
  %61 = load float, ptr %60, align 4, !tbaa !38
  %62 = fcmp ogt float %61, 0.000000e+00
  br i1 %62, label %63, label %125

63:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  %64 = getelementptr inbounds %"class.JPH::CharacterBase", ptr %31, i32 0, i32 11
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %24, ptr align 16 %10, i64 16, i1 false), !tbaa.struct !36
  %65 = getelementptr inbounds { double, double }, ptr %24, i32 0, i32 0
  %66 = load double, ptr %65, align 16
  %67 = getelementptr inbounds { double, double }, ptr %24, i32 0, i32 1
  %68 = load double, ptr %67, align 8
  %69 = invoke noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %64, double %66, double %68)
          to label %70 unwind label %115

70:                                               ; preds = %63
  store float %69, ptr %23, align 4, !tbaa !9
  %71 = load float, ptr %23, align 4, !tbaa !9
  %72 = fcmp olt float %71, 0.000000e+00
  br i1 %72, label %73, label %123

73:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #8
  %74 = getelementptr inbounds %"class.JPH::CharacterVirtual", ptr %31, i32 0, i32 18
  %75 = load float, ptr %74, align 4, !tbaa !38
  %76 = load float, ptr %23, align 4, !tbaa !9
  %77 = fmul float %75, %76
  %78 = invoke noundef float @_ZNK3JPH4Vec36LengthEv(ptr noundef nonnull align 16 dereferenceable(16) %10)
          to label %79 unwind label %119

79:                                               ; preds = %73
  %80 = fdiv float %77, %78
  %81 = load float, ptr %12, align 4, !tbaa !9
  %82 = fmul float %80, %81
  %83 = fneg float %82
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %26, ptr align 16 %10, i64 16, i1 false), !tbaa.struct !36
  %84 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 0
  %85 = load double, ptr %84, align 16
  %86 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 1
  %87 = load double, ptr %86, align 8
  %88 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %83, double %85, double %87)
          to label %89 unwind label %119

89:                                               ; preds = %79
  %90 = getelementptr inbounds %"class.JPH::Vec3", ptr %25, i32 0, i32 0
  %91 = getelementptr inbounds %union.anon, ptr %90, i32 0, i32 0
  %92 = getelementptr inbounds { double, double }, ptr %91, i32 0, i32 0
  %93 = extractvalue { double, double } %88, 0
  store double %93, ptr %92, align 16
  %94 = getelementptr inbounds { double, double }, ptr %91, i32 0, i32 1
  %95 = extractvalue { double, double } %88, 1
  store double %95, ptr %94, align 8
  %96 = getelementptr inbounds %"class.JPH::CharacterBase", ptr %31, i32 0, i32 2
  %97 = load ptr, ptr %96, align 16, !tbaa !39
  %98 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH13PhysicsSystem16GetBodyInterfaceEv(ptr noundef nonnull align 16 dereferenceable(1172) %97)
          to label %99 unwind label %119

99:                                               ; preds = %89
  %100 = getelementptr inbounds %"class.JPH::CharacterBase", ptr %31, i32 0, i32 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %27, ptr align 16 %25, i64 16, i1 false), !tbaa.struct !36
  %101 = getelementptr inbounds %"class.JPH::CharacterBase", ptr %31, i32 0, i32 10
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %28, ptr align 16 %101, i64 16, i1 false), !tbaa.struct !36
  %102 = getelementptr inbounds { double, double }, ptr %27, i32 0, i32 0
  %103 = load double, ptr %102, align 16
  %104 = getelementptr inbounds { double, double }, ptr %27, i32 0, i32 1
  %105 = load double, ptr %104, align 8
  %106 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 0
  %107 = load double, ptr %106, align 16
  %108 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 1
  %109 = load double, ptr %108, align 8
  invoke void @_ZN3JPH13BodyInterface10AddImpulseERKNS_6BodyIDENS_4Vec3ES4_(ptr noundef nonnull align 8 dereferenceable(24) %98, ptr noundef nonnull align 4 dereferenceable(4) %100, double %103, double %105, double %107, double %109)
          to label %110 unwind label %119

110:                                              ; preds = %99
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #8
  br label %123

111:                                              ; preds = %55, %54, %52, %35
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %21, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %22, align 4
  br label %127

115:                                              ; preds = %63
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %21, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %22, align 4
  br label %124

119:                                              ; preds = %99, %89, %79, %73
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %21, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #8
  br label %124

123:                                              ; preds = %110, %70
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  br label %125

124:                                              ; preds = %119, %115
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  br label %127

125:                                              ; preds = %123, %59, %58
  call void @"_ZN3JPH9ScopeExitIZNS_16CharacterVirtual6UpdateEfNS_4Vec3ERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterERNS_13TempAllocatorEE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(9) %18) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #8
  br label %126

126:                                              ; preds = %125, %34
  ret void

127:                                              ; preds = %124, %111
  call void @"_ZN3JPH9ScopeExitIZNS_16CharacterVirtual6UpdateEfNS_4Vec3ERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterERNS_13TempAllocatorEE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(9) %18) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #8
  br label %128

128:                                              ; preds = %127
  %129 = load ptr, ptr %21, align 8
  %130 = load i32, ptr %22, align 4
  %131 = insertvalue { ptr, i32 } poison, ptr %129, 0
  %132 = insertvalue { ptr, i32 } %131, i32 %130, 1
  resume { ptr, i32 } %132
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden void @"_ZN3JPH9ScopeExitIZNS_16CharacterVirtual6UpdateEfNS_4Vec3ERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterERNS_13TempAllocatorEE3$_0EC2EOSH_"(ptr noundef nonnull align 8 dereferenceable(9), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3JPH4Vec36LengthEv(ptr noundef nonnull align 16 dereferenceable(16)) #5 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden void @"_ZN3JPH9ScopeExitIZNS_16CharacterVirtual6UpdateEfNS_4Vec3ERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterERNS_13TempAllocatorEE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(9)) 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 = { 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { 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 #7 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSZN3JPH16CharacterVirtual6UpdateEfNS_4Vec3ERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterERNS_13TempAllocatorEE3$_0", !6, i64 0}
!13 = !{!14, !10, i64 352}
!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 = !{i64 0, i64 16, !37}
!37 = !{!7, !7, i64 0}
!38 = !{!14, !10, i64 212}
!39 = !{!15, !6, i64 16}


; 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::ScopeExit" = type <{ %class.anon.39, i8, [7 x i8] }>
%class.anon.39 = type { ptr }

; 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: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH13PhysicsSystem16GetBodyInterfaceEv(ptr noundef nonnull align 16 dereferenceable(1172)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH6BodyID9IsInvalidEv(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH16CharacterVirtual24UpdateInnerBodyTransformEv(ptr noundef nonnull align 16 dereferenceable(372)) local_unnamed_addr #3 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) local_unnamed_addr #4 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef, double, double) local_unnamed_addr #5

declare void @_ZN3JPH13BodyInterface10AddImpulseERKNS_6BodyIDENS_4Vec3ES4_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4), double, double, double, double) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH16CharacterVirtual23UpdateSupportingContactEbRNS_13TempAllocatorE(ptr noundef nonnull align 16 dereferenceable(372), i1 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH16CharacterVirtual27StartTrackingContactChangesEv(ptr noundef nonnull align 16 dereferenceable(372)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH16CharacterVirtual9MoveShapeERNS_4Vec3ES1_fPNS_5ArrayINS0_7ContactENS_12STLAllocatorIS4_EEEERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterERNS_13TempAllocatorE(ptr noundef nonnull align 16 dereferenceable(372), ptr noundef nonnull align 16 dereferenceable(16), double, double, float noundef, ptr noundef, 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), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3JPH16CharacterVirtual6UpdateEfNS_4Vec3ERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterERNS_13TempAllocatorE(ptr noundef nonnull align 16 dereferenceable(372) %0, float noundef %1, double %2, double %3, ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(12) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %10 = alloca %"class.JPH::Vec3", align 16
  %11 = alloca %"class.JPH::ScopeExit", align 8
  %12 = alloca %class.anon.39, align 8
  store double %2, ptr %10, align 16
  %13 = getelementptr inbounds i8, ptr %10, i64 8
  store double %3, ptr %13, align 8
  %14 = fcmp ugt float %1, 0.000000e+00
  br i1 %14, label %15, label %53

15:                                               ; preds = %9
  tail call void @_ZN3JPH16CharacterVirtual27StartTrackingContactChangesEv(ptr noundef nonnull align 16 dereferenceable(372) %0)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  store ptr %0, ptr %12, align 8, !tbaa !5
  call void @"_ZN3JPH9ScopeExitIZNS_16CharacterVirtual6UpdateEfNS_4Vec3ERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterERNS_13TempAllocatorEE3$_0EC2EOSH_"(ptr noundef nonnull align 8 dereferenceable(9) %11, ptr noundef nonnull align 8 dereferenceable(8) %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  %16 = getelementptr inbounds i8, ptr %0, i64 352
  store float %1, ptr %16, align 16, !tbaa !10
  %17 = getelementptr inbounds i8, ptr %0, i64 240
  %18 = getelementptr inbounds i8, ptr %0, i64 272
  %.sroa.010.0.copyload = load double, ptr %18, align 16
  %.sroa.211.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 280
  %.sroa.211.0.copyload = load double, ptr %.sroa.211.0..sroa_idx, align 8, !tbaa !34
  %19 = getelementptr inbounds i8, ptr %0, i64 288
  invoke void @_ZN3JPH16CharacterVirtual9MoveShapeERNS_4Vec3ES1_fPNS_5ArrayINS0_7ContactENS_12STLAllocatorIS4_EEEERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterERNS_13TempAllocatorE(ptr noundef nonnull align 16 dereferenceable(372) %0, ptr noundef nonnull align 16 dereferenceable(16) %17, double %.sroa.010.0.copyload, double %.sroa.211.0.copyload, float noundef %1, ptr noundef nonnull %19, ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(12) %7, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %20 unwind label %48

20:                                               ; preds = %15
  invoke void @_ZN3JPH16CharacterVirtual23UpdateSupportingContactEbRNS_13TempAllocatorE(ptr noundef nonnull align 16 dereferenceable(372) %0, i1 noundef zeroext false, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %21 unwind label %48

21:                                               ; preds = %20
  invoke void @_ZN3JPH16CharacterVirtual24UpdateInnerBodyTransformEv(ptr noundef nonnull align 16 dereferenceable(372) %0)
          to label %22 unwind label %48

22:                                               ; preds = %21
  %23 = getelementptr inbounds i8, ptr %0, i64 72
  %24 = call noundef zeroext i1 @_ZNK3JPH6BodyID9IsInvalidEv(ptr noundef nonnull align 4 dereferenceable(4) %23)
  br i1 %24, label %52, label %25

25:                                               ; preds = %22
  %26 = getelementptr inbounds i8, ptr %0, i64 212
  %27 = load float, ptr %26, align 4, !tbaa !35
  %28 = fcmp ogt float %27, 0.000000e+00
  br i1 %28, label %29, label %52

29:                                               ; preds = %25
  %30 = getelementptr inbounds i8, ptr %0, i64 96
  %31 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %30, double %2, double %3)
  %32 = fcmp olt float %31, 0.000000e+00
  br i1 %32, label %33, label %52

33:                                               ; preds = %29
  %34 = load float, ptr %26, align 4, !tbaa !35
  %35 = call noundef float @_ZNK3JPH4Vec36LengthEv(ptr noundef nonnull align 16 dereferenceable(16) %10)
  %36 = fneg float %34
  %37 = fmul float %31, %36
  %38 = fdiv float %37, %35
  %39 = fmul float %38, %1
  %.sroa.03.0.copyload = load double, ptr %10, align 16
  %.sroa.24.0.copyload = load double, ptr %13, align 8, !tbaa !34
  %40 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %39, double %.sroa.03.0.copyload, double %.sroa.24.0.copyload)
          to label %41 unwind label %50

41:                                               ; preds = %33
  %42 = extractvalue { double, double } %40, 0
  %43 = extractvalue { double, double } %40, 1
  %44 = getelementptr inbounds i8, ptr %0, i64 16
  %45 = load ptr, ptr %44, align 16, !tbaa !36
  %46 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH13PhysicsSystem16GetBodyInterfaceEv(ptr noundef nonnull align 16 dereferenceable(1172) %45)
  %47 = getelementptr inbounds i8, ptr %0, i64 80
  %.sroa.0.0.copyload = load double, ptr %47, align 16
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 88
  %.sroa.2.0.copyload = load double, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !34
  invoke void @_ZN3JPH13BodyInterface10AddImpulseERKNS_6BodyIDENS_4Vec3ES4_(ptr noundef nonnull align 8 dereferenceable(24) %46, ptr noundef nonnull align 4 dereferenceable(4) %23, double %42, double %43, double %.sroa.0.0.copyload, double %.sroa.2.0.copyload)
          to label %52 unwind label %50

48:                                               ; preds = %21, %20, %15
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %54

50:                                               ; preds = %41, %33
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %54

52:                                               ; preds = %29, %41, %25, %22
  call void @"_ZN3JPH9ScopeExitIZNS_16CharacterVirtual6UpdateEfNS_4Vec3ERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterERNS_13TempAllocatorEE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(9) %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #7
  br label %53

53:                                               ; preds = %9, %52
  ret void

54:                                               ; preds = %50, %48
  %.pn = phi { ptr, i32 } [ %51, %50 ], [ %49, %48 ]
  call void @"_ZN3JPH9ScopeExitIZNS_16CharacterVirtual6UpdateEfNS_4Vec3ERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterERNS_13TempAllocatorEE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(9) %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #7
  resume { ptr, i32 } %.pn
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden void @"_ZN3JPH9ScopeExitIZNS_16CharacterVirtual6UpdateEfNS_4Vec3ERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterERNS_13TempAllocatorEE3$_0EC2EOSH_"(ptr noundef nonnull align 8 dereferenceable(9), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3JPH4Vec36LengthEv(ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #4 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden void @"_ZN3JPH9ScopeExitIZNS_16CharacterVirtual6UpdateEfNS_4Vec3ERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterERNS_13TempAllocatorEE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(9)) unnamed_addr #4 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 = { 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 = { 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 #5 = { 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 #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, !7, i64 0}
!6 = !{!"_ZTSZN3JPH16CharacterVirtual6UpdateEfNS_4Vec3ERKNS_21BroadPhaseLayerFilterERKNS_17ObjectLayerFilterERKNS_10BodyFilterERKNS_11ShapeFilterERNS_13TempAllocatorEE3$_0", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !21, i64 352}
!11 = !{!"_ZTSN3JPH16CharacterVirtualE", !12, i64 0, !27, i64 144, !7, i64 152, !7, i64 160, !28, i64 168, !21, i64 172, !16, i64 176, !16, i64 180, !21, i64 184, !21, i64 188, !21, i64 192, !16, i64 196, !21, i64 200, !21, i64 204, !29, i64 208, !21, i64 212, !21, i64 216, !18, i64 224, !18, i64 240, !30, i64 256, !18, i64 272, !31, i64 288, !16, i64 312, !32, i64 320, !21, i64 352, !29, i64 356, !26, i64 360, !23, i64 368}
!12 = !{!"_ZTSN3JPH13CharacterBaseE", !13, i64 8, !7, i64 16, !17, i64 24, !18, i64 32, !19, i64 48, !21, i64 64, !22, i64 68, !23, i64 72, !24, i64 76, !18, i64 80, !18, i64 96, !18, i64 112, !25, i64 128, !26, i64 136}
!13 = !{!"_ZTSN3JPH9RefTargetINS_13CharacterBaseEEE", !14, i64 0}
!14 = !{!"_ZTSSt6atomicIjE", !15, i64 0}
!15 = !{!"_ZTSSt13__atomic_baseIjE", !16, i64 0}
!16 = !{!"int", !8, i64 0}
!17 = !{!"_ZTSN3JPH8RefConstINS_5ShapeEEE", !7, i64 0}
!18 = !{!"_ZTSN3JPH4Vec3E", !8, i64 0}
!19 = !{!"_ZTSN3JPH5PlaneE", !20, i64 0}
!20 = !{!"_ZTSN3JPH4Vec4E", !8, i64 0}
!21 = !{!"float", !8, i64 0}
!22 = !{!"_ZTSN3JPH13CharacterBase12EGroundStateE", !8, i64 0}
!23 = !{!"_ZTSN3JPH6BodyIDE", !16, i64 0}
!24 = !{!"_ZTSN3JPH10SubShapeIDE", !16, i64 0}
!25 = !{!"_ZTSN3JPH8RefConstINS_15PhysicsMaterialEEE", !7, i64 0}
!26 = !{!"long", !8, i64 0}
!27 = !{!"_ZTSN3JPH11CharacterIDE", !16, i64 0}
!28 = !{!"_ZTSN3JPH13EBackFaceModeE", !8, i64 0}
!29 = !{!"bool", !8, i64 0}
!30 = !{!"_ZTSN3JPH4QuatE", !20, i64 0}
!31 = !{!"_ZTSN3JPH5ArrayINS_16CharacterVirtual7ContactENS_12STLAllocatorIS2_EEEE", !26, i64 0, !26, i64 8, !7, i64 16}
!32 = !{!"_ZTSN3JPH12UnorderedMapINS_16CharacterVirtual10ContactKeyENS1_20ListenerContactValueENS_4HashIS2_EESt8equal_toIS2_EEE", !33, i64 0}
!33 = !{!"_ZTSN3JPH9HashTableINS_16CharacterVirtual10ContactKeyESt4pairIS2_NS1_20ListenerContactValueEENS_18UnorderedMapDetailIS2_S4_EENS_4HashIS2_EESt8equal_toIS2_EEE", !7, i64 0, !7, i64 8, !16, i64 16, !16, i64 20, !16, i64 24}
!34 = !{!8, !8, i64 0}
!35 = !{!11, !21, i64 212}
!36 = !{!12, !7, i64 16}


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