; LLVM IR from jrouwe/JoltPhysics :: Samples/SamplesApp.ll (ZN10SamplesApp11ShootObjectEv)

; 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::RefConst.74" = type { ptr }
%"class.JPH::BodyCreationSettings" = type { %"class.JPH::Vec3", %"class.JPH::Quat", %"class.JPH::Vec3", %"class.JPH::Vec3", i64, i16, %"class.JPH::CollisionGroup", i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, float, float, float, float, float, float, float, i32, i32, i8, float, %"class.JPH::MassProperties", %"class.JPH::RefConst.89", %"class.JPH::RefConst.74" }
%"class.JPH::Quat" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.55 }
%union.anon.55 = type { <4 x float> }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::CollisionGroup" = type { %"class.JPH::RefConst.88", i32, i32 }
%"class.JPH::RefConst.88" = type { ptr }
%"class.JPH::MassProperties" = type { float, %"class.JPH::Mat44" }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::RefConst.89" = type { ptr }
%"class.JPH::BodyID" = type { i32 }
%"class.JPH::Ref.90" = type { ptr }
%"class.JPH::SoftBodyCreationSettings" = type <{ %"class.JPH::RefConst.128", [8 x i8], %"class.JPH::Vec3", %"class.JPH::Quat", i64, i16, [6 x i8], %"class.JPH::CollisionGroup", i32, float, float, float, float, float, float, i8, i8, i8, i8 }>
%"class.JPH::RefConst.128" = type { ptr }
%class.SamplesApp = type <{ %class.Application, i32, float, i32, [4 x i8], ptr, ptr, ptr, %class.BPLayerInterfaceImpl, %class.ObjectVsBroadPhaseLayerFilterImpl, %class.ObjectLayerPairFilterImpl, ptr, ptr, %"struct.JPH::PhysicsSettings", [4 x i8], %"class.JPH::UnorderedMap", ptr, ptr, ptr, i32, i8, [3 x i8], float, i8, i8, i8, i8, %"class.JPH::Array", i32, i32, i32, i32, i8, [15 x i8], %"class.JPH::Vec3", i8, i8, i8, i8, float, i8, i8, i8, i8, i32, i8, [3 x i8], i32, float, i8, [3 x i8], float, float, i8, [7 x i8], %"class.JPH::Vec3", i8, [7 x i8], ptr, %"class.JPH::BodyID", [4 x i8], %"class.JPH::Ref", i32, float, float, i32, %"class.std::chrono::duration.3", [8 x i8] }>
%class.Application = type { ptr, [8 x i8], %struct.CameraState, %struct.CameraState, ptr, ptr, ptr, %"class.JPH::RefConst", ptr, ptr, ptr, ptr, %"class.std::__cxx11::basic_string", %"class.std::chrono::time_point", i8, i8, i8, i8, float, float, float, float, i32 }
%struct.CameraState = type <{ %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", float, [12 x i8] }>
%"class.JPH::RefConst" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider", i64, %union.anon.0 }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider" = type { ptr }
%union.anon.0 = type { i64, [8 x i8] }
%"class.std::chrono::time_point" = type { %"class.std::chrono::duration" }
%"class.std::chrono::duration" = type { i64 }
%class.BPLayerInterfaceImpl = type <{ %"class.JPH::BroadPhaseLayerInterface", [2 x %"class.JPH::BroadPhaseLayer"], [6 x i8] }>
%"class.JPH::BroadPhaseLayerInterface" = type { ptr }
%"class.JPH::BroadPhaseLayer" = type { i8 }
%class.ObjectVsBroadPhaseLayerFilterImpl = type { %"class.JPH::ObjectVsBroadPhaseLayerFilter" }
%"class.JPH::ObjectVsBroadPhaseLayerFilter" = type { ptr }
%class.ObjectLayerPairFilterImpl = type { %"class.JPH::ObjectLayerPairFilter" }
%"class.JPH::ObjectLayerPairFilter" = type { ptr }
%"struct.JPH::PhysicsSettings" = type <{ i32, i32, i32, float, float, float, float, float, float, float, float, float, float, float, i32, i32, float, float, float, i8, i8, i8, i8, i8, i8, i8, i8 }>
%"class.JPH::UnorderedMap" = type { %"class.JPH::HashTable.base", [4 x i8] }
%"class.JPH::HashTable.base" = type <{ ptr, ptr, i32, i32, i32 }>
%"class.JPH::Array" = type { i64, i64, ptr }
%"class.JPH::Ref" = type { ptr }
%"class.std::chrono::duration.3" = type { i64 }
%"class.JPH::SoftBodySharedSettings" = type { %"class.JPH::RefTarget.91", %"class.JPH::Array.92", %"class.JPH::Array.95", %"class.JPH::Array.98", %"class.JPH::Array.101", %"class.JPH::Array.104", %"class.JPH::Array.107", %"class.JPH::Array.110", %"class.JPH::Array.113", %"class.JPH::Array.116", float, %"class.JPH::Array.119", %"class.JPH::Array.122", %"class.JPH::Array.125" }
%"class.JPH::RefTarget.91" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.JPH::Array.92" = type { i64, i64, ptr }
%"class.JPH::Array.95" = type { i64, i64, ptr }
%"class.JPH::Array.98" = type { i64, i64, ptr }
%"class.JPH::Array.101" = type { i64, i64, ptr }
%"class.JPH::Array.104" = type { i64, i64, ptr }
%"class.JPH::Array.107" = type { i64, i64, ptr }
%"class.JPH::Array.110" = type { i64, i64, ptr }
%"class.JPH::Array.113" = type { i64, i64, ptr }
%"class.JPH::Array.116" = type { i64, i64, ptr }
%"class.JPH::Array.119" = type { i64, i64, ptr }
%"class.JPH::Array.122" = type { i64, i64, ptr }
%"class.JPH::Array.125" = type { i64, i64, ptr }
%"struct.JPH::SoftBodySharedSettings::Vertex" = type { %"class.JPH::Float3", %"class.JPH::Float3", float }
%"class.JPH::Float3" = type { float, float, float }

; 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 } @_ZN3JPH4Quat9sIdentityEv() #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SamplesApp22CreateShootObjectShapeEv(ptr dead_on_unwind noalias writable sret(%"class.JPH::RefConst.74") align 8, ptr noundef nonnull align 16 dereferenceable(712)) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10SamplesApp11ShootObjectEv(ptr noundef nonnull align 16 dereferenceable(712) %0) #4 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.JPH::BodyCreationSettings", align 16
  %4 = alloca %"class.JPH::RefConst.74", align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.JPH::Vec3", align 16
  %8 = alloca %"class.JPH::Quat", align 16
  %9 = alloca %"class.JPH::Vec3", align 16
  %10 = alloca %"class.JPH::Vec3", align 16
  %11 = alloca %"class.JPH::BodyID", align 4
  %12 = alloca %"class.JPH::Ref.90", align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.JPH::Vec3", align 16
  %18 = alloca %"class.JPH::Vec3", align 16
  %19 = alloca %"class.JPH::SoftBodyCreationSettings", align 16
  %20 = alloca %"class.JPH::Vec3", align 16
  %21 = alloca %"class.JPH::Quat", align 16
  %22 = alloca %"class.JPH::BodyID", align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %23 = load ptr, ptr %2, align 8
  %24 = getelementptr inbounds %class.SamplesApp, ptr %23, i32 0, i32 47
  %25 = load i32, ptr %24, align 4, !tbaa !9
  %26 = icmp ne i32 %25, 3
  br i1 %26, label %27, label %99

27:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 256, ptr %3) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #8
  call void @_ZN10SamplesApp22CreateShootObjectShapeEv(ptr dead_on_unwind writable sret(%"class.JPH::RefConst.74") align 8 %4, ptr noundef nonnull align 16 dereferenceable(712) %23)
  %28 = invoke noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %29 unwind label %85

29:                                               ; preds = %27
  %30 = invoke noundef nonnull align 16 dereferenceable(52) ptr @_ZNK11Application9GetCameraEv(ptr noundef nonnull align 16 dereferenceable(272) %23)
          to label %31 unwind label %85

31:                                               ; preds = %29
  %32 = getelementptr inbounds %struct.CameraState, ptr %30, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 %32, i64 16, i1 false), !tbaa.struct !44
  %33 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %34 unwind label %85

34:                                               ; preds = %31
  %35 = getelementptr inbounds %"class.JPH::Quat", ptr %8, i32 0, i32 0
  %36 = getelementptr inbounds %"class.JPH::Vec4", ptr %35, i32 0, i32 0
  %37 = getelementptr inbounds %union.anon.55, ptr %36, i32 0, i32 0
  %38 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 0
  %39 = extractvalue { double, double } %33, 0
  store double %39, ptr %38, align 16
  %40 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 1
  %41 = extractvalue { double, double } %33, 1
  store double %41, ptr %40, align 8
  %42 = getelementptr inbounds { double, double }, ptr %7, i32 0, i32 0
  %43 = load double, ptr %42, align 16
  %44 = getelementptr inbounds { double, double }, ptr %7, i32 0, i32 1
  %45 = load double, ptr %44, align 8
  %46 = getelementptr inbounds { double, double }, ptr %8, i32 0, i32 0
  %47 = load double, ptr %46, align 16
  %48 = getelementptr inbounds { double, double }, ptr %8, i32 0, i32 1
  %49 = load double, ptr %48, align 8
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %3, ptr noundef %28, double %43, double %45, double %47, double %49, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %50 unwind label %85

50:                                               ; preds = %34
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  %51 = getelementptr inbounds %class.SamplesApp, ptr %23, i32 0, i32 49
  %52 = load i8, ptr %51, align 4, !tbaa !46
  %53 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %3, i32 0, i32 14
  store i8 %52, ptr %53, align 1, !tbaa !47
  %54 = getelementptr inbounds %class.SamplesApp, ptr %23, i32 0, i32 51
  %55 = load float, ptr %54, align 16, !tbaa !61
  %56 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %3, i32 0, i32 17
  store float %55, ptr %56, align 4, !tbaa !62
  %57 = getelementptr inbounds %class.SamplesApp, ptr %23, i32 0, i32 52
  %58 = load float, ptr %57, align 4, !tbaa !63
  %59 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %3, i32 0, i32 18
  store float %58, ptr %59, align 16, !tbaa !64
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #8
  %60 = getelementptr inbounds %class.SamplesApp, ptr %23, i32 0, i32 48
  %61 = load float, ptr %60, align 8, !tbaa !65
  %62 = invoke noundef nonnull align 16 dereferenceable(52) ptr @_ZNK11Application9GetCameraEv(ptr noundef nonnull align 16 dereferenceable(272) %23)
          to label %63 unwind label %89

63:                                               ; preds = %50
  %64 = getelementptr inbounds %struct.CameraState, ptr %62, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 %64, i64 16, i1 false), !tbaa.struct !44
  %65 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 0
  %66 = load double, ptr %65, align 16
  %67 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 1
  %68 = load double, ptr %67, align 8
  %69 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %61, double %66, double %68)
          to label %70 unwind label %89

70:                                               ; preds = %63
  %71 = getelementptr inbounds %"class.JPH::Vec3", ptr %9, i32 0, i32 0
  %72 = getelementptr inbounds %union.anon, ptr %71, i32 0, i32 0
  %73 = getelementptr inbounds { double, double }, ptr %72, i32 0, i32 0
  %74 = extractvalue { double, double } %69, 0
  store double %74, ptr %73, align 16
  %75 = getelementptr inbounds { double, double }, ptr %72, i32 0, i32 1
  %76 = extractvalue { double, double } %69, 1
  store double %76, ptr %75, align 8
  %77 = getelementptr inbounds %"class.JPH::BodyCreationSettings", ptr %3, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %77, ptr align 16 %9, i64 16, i1 false), !tbaa.struct !44
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #8
  %78 = getelementptr inbounds %class.SamplesApp, ptr %23, i32 0, i32 11
  %79 = load ptr, ptr %78, align 8, !tbaa !66
  %80 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH13PhysicsSystem16GetBodyInterfaceEv(ptr noundef nonnull align 16 dereferenceable(1172) %79)
          to label %81 unwind label %93

81:                                               ; preds = %70
  %82 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %80, ptr noundef nonnull align 16 dereferenceable(256) %3, i32 noundef 0)
          to label %83 unwind label %93

83:                                               ; preds = %81
  %84 = getelementptr inbounds %"class.JPH::BodyID", ptr %11, i32 0, i32 0
  store i32 %82, ptr %84, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %3) #8
  call void @llvm.lifetime.end.p0(i64 256, ptr %3) #8
  br label %212

85:                                               ; preds = %34, %31, %29, %27
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %5, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %6, align 4
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  br label %98

89:                                               ; preds = %63, %50
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %5, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #8
  br label %97

93:                                               ; preds = %81, %70
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %5, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %6, align 4
  br label %97

97:                                               ; preds = %93, %89
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %3) #8
  br label %98

98:                                               ; preds = %97, %85
  call void @llvm.lifetime.end.p0(i64 256, ptr %3) #8
  br label %213

99:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %100 = load ptr, ptr %23, align 16, !tbaa !67
  %101 = getelementptr inbounds ptr, ptr %100, i64 5
  %102 = load ptr, ptr %101, align 8
  %103 = call noundef float %102(ptr noundef nonnull align 16 dereferenceable(712) %23)
  %104 = fmul float 5.000000e-01, %103
  call void @_ZN3JPH22SoftBodySharedSettings11sCreateCubeEjf(ptr dead_on_unwind writable sret(%"class.JPH::Ref.90") align 8 %12, i32 noundef 5, float noundef %104)
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %105 = invoke noundef ptr @_ZNK3JPH3RefINS_22SoftBodySharedSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %106 unwind label %119

106:                                              ; preds = %99
  %107 = getelementptr inbounds %"class.JPH::SoftBodySharedSettings", ptr %105, i32 0, i32 1
  store ptr %107, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %108 = load ptr, ptr %13, align 8, !tbaa !5
  %109 = invoke noundef ptr @_ZN3JPH5ArrayINS_22SoftBodySharedSettings6VertexENS_12STLAllocatorIS2_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %108)
          to label %110 unwind label %123

110:                                              ; preds = %106
  store ptr %109, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %111 = load ptr, ptr %13, align 8, !tbaa !5
  %112 = invoke noundef ptr @_ZN3JPH5ArrayINS_22SoftBodySharedSettings6VertexENS_12STLAllocatorIS2_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %111)
          to label %113 unwind label %127

113:                                              ; preds = %110
  store ptr %112, ptr %15, align 8, !tbaa !5
  br label %114

114:                                              ; preds = %155, %113
  %115 = load ptr, ptr %14, align 8, !tbaa !5
  %116 = load ptr, ptr %15, align 8, !tbaa !5
  %117 = icmp ne ptr %115, %116
  br i1 %117, label %131, label %118

118:                                              ; preds = %114
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %165

119:                                              ; preds = %99
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %5, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %6, align 4
  br label %164

123:                                              ; preds = %106
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %5, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %6, align 4
  br label %163

127:                                              ; preds = %110
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %5, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %6, align 4
  br label %162

131:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %132 = load ptr, ptr %14, align 8, !tbaa !5
  store ptr %132, ptr %16, align 8, !tbaa !5
  %133 = load ptr, ptr %16, align 8, !tbaa !5
  %134 = getelementptr inbounds %"struct.JPH::SoftBodySharedSettings::Vertex", ptr %133, i32 0, i32 2
  store float 0x3F999999A0000000, ptr %134, align 4, !tbaa !69
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #8
  %135 = getelementptr inbounds %class.SamplesApp, ptr %23, i32 0, i32 48
  %136 = load float, ptr %135, align 8, !tbaa !65
  %137 = invoke noundef nonnull align 16 dereferenceable(52) ptr @_ZNK11Application9GetCameraEv(ptr noundef nonnull align 16 dereferenceable(272) %23)
          to label %138 unwind label %158

138:                                              ; preds = %131
  %139 = getelementptr inbounds %struct.CameraState, ptr %137, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 %139, i64 16, i1 false), !tbaa.struct !44
  %140 = getelementptr inbounds { double, double }, ptr %18, i32 0, i32 0
  %141 = load double, ptr %140, align 16
  %142 = getelementptr inbounds { double, double }, ptr %18, i32 0, i32 1
  %143 = load double, ptr %142, align 8
  %144 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %136, double %141, double %143)
          to label %145 unwind label %158

145:                                              ; preds = %138
  %146 = getelementptr inbounds %"class.JPH::Vec3", ptr %17, i32 0, i32 0
  %147 = getelementptr inbounds %union.anon, ptr %146, i32 0, i32 0
  %148 = getelementptr inbounds { double, double }, ptr %147, i32 0, i32 0
  %149 = extractvalue { double, double } %144, 0
  store double %149, ptr %148, align 16
  %150 = getelementptr inbounds { double, double }, ptr %147, i32 0, i32 1
  %151 = extractvalue { double, double } %144, 1
  store double %151, ptr %150, align 8
  %152 = load ptr, ptr %16, align 8, !tbaa !5
  %153 = getelementptr inbounds %"struct.JPH::SoftBodySharedSettings::Vertex", ptr %152, i32 0, i32 1
  invoke void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %17, ptr noundef %153)
          to label %154 unwind label %158

154:                                              ; preds = %145
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %155

155:                                              ; preds = %154
  %156 = load ptr, ptr %14, align 8, !tbaa !5
  %157 = getelementptr inbounds %"struct.JPH::SoftBodySharedSettings::Vertex", ptr %156, i32 1
  store ptr %157, ptr %14, align 8, !tbaa !5
  br label %114

158:                                              ; preds = %145, %138, %131
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %5, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %162

162:                                              ; preds = %158, %127
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br label %163

163:                                              ; preds = %162, %123
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %164

164:                                              ; preds = %163, %119
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %211

165:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 112, ptr %19) #8
  %166 = invoke noundef ptr @_ZNK3JPH3RefINS_22SoftBodySharedSettingsEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %167 unwind label %202

167:                                              ; preds = %165
  %168 = invoke noundef nonnull align 16 dereferenceable(52) ptr @_ZNK11Application9GetCameraEv(ptr noundef nonnull align 16 dereferenceable(272) %23)
          to label %169 unwind label %202

169:                                              ; preds = %167
  %170 = getelementptr inbounds %struct.CameraState, ptr %168, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %20, ptr align 16 %170, i64 16, i1 false), !tbaa.struct !44
  %171 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %172 unwind label %202

172:                                              ; preds = %169
  %173 = getelementptr inbounds %"class.JPH::Quat", ptr %21, i32 0, i32 0
  %174 = getelementptr inbounds %"class.JPH::Vec4", ptr %173, i32 0, i32 0
  %175 = getelementptr inbounds %union.anon.55, ptr %174, i32 0, i32 0
  %176 = getelementptr inbounds { double, double }, ptr %175, i32 0, i32 0
  %177 = extractvalue { double, double } %171, 0
  store double %177, ptr %176, align 16
  %178 = getelementptr inbounds { double, double }, ptr %175, i32 0, i32 1
  %179 = extractvalue { double, double } %171, 1
  store double %179, ptr %178, align 8
  %180 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 0
  %181 = load double, ptr %180, align 16
  %182 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 1
  %183 = load double, ptr %182, align 8
  %184 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 0
  %185 = load double, ptr %184, align 16
  %186 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 1
  %187 = load double, ptr %186, align 8
  invoke void @_ZN3JPH24SoftBodyCreationSettingsC2EPKNS_22SoftBodySharedSettingsENS_4Vec3ENS_4QuatEt(ptr noundef nonnull align 16 dereferenceable(111) %19, ptr noundef %166, double %181, double %183, double %185, double %187, i16 noundef zeroext 1)
          to label %188 unwind label %202

188:                                              ; preds = %172
  %189 = getelementptr inbounds %class.SamplesApp, ptr %23, i32 0, i32 51
  %190 = load float, ptr %189, align 16, !tbaa !61
  %191 = getelementptr inbounds %"class.JPH::SoftBodyCreationSettings", ptr %19, i32 0, i32 12
  store float %190, ptr %191, align 16, !tbaa !72
  %192 = getelementptr inbounds %class.SamplesApp, ptr %23, i32 0, i32 52
  %193 = load float, ptr %192, align 4, !tbaa !63
  %194 = getelementptr inbounds %"class.JPH::SoftBodyCreationSettings", ptr %19, i32 0, i32 11
  store float %193, ptr %194, align 4, !tbaa !75
  %195 = getelementptr inbounds %class.SamplesApp, ptr %23, i32 0, i32 11
  %196 = load ptr, ptr %195, align 8, !tbaa !66
  %197 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH13PhysicsSystem16GetBodyInterfaceEv(ptr noundef nonnull align 16 dereferenceable(1172) %196)
          to label %198 unwind label %206

198:                                              ; preds = %188
  %199 = invoke i32 @_ZN3JPH13BodyInterface20CreateAndAddSoftBodyERKNS_24SoftBodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %197, ptr noundef nonnull align 16 dereferenceable(111) %19, i32 noundef 0)
          to label %200 unwind label %206

200:                                              ; preds = %198
  %201 = getelementptr inbounds %"class.JPH::BodyID", ptr %22, i32 0, i32 0
  store i32 %199, ptr %201, align 4
  call void @_ZN3JPH24SoftBodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(111) %19) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr %19) #8
  call void @_ZN3JPH3RefINS_22SoftBodySharedSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  br label %212

202:                                              ; preds = %172, %169, %167, %165
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %5, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %6, align 4
  br label %210

206:                                              ; preds = %198, %188
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %5, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %6, align 4
  call void @_ZN3JPH24SoftBodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(111) %19) #8
  br label %210

210:                                              ; preds = %206, %202
  call void @llvm.lifetime.end.p0(i64 112, ptr %19) #8
  br label %211

211:                                              ; preds = %210, %164
  call void @_ZN3JPH3RefINS_22SoftBodySharedSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  br label %213

212:                                              ; preds = %200, %83
  ret void

213:                                              ; preds = %211, %98
  %214 = load ptr, ptr %5, align 8
  %215 = load i32, ptr %6, align 4
  %216 = insertvalue { ptr, i32 } poison, ptr %214, 0
  %217 = insertvalue { ptr, i32 } %216, i32 %215, 1
  resume { ptr, i32 } %217
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 16 dereferenceable(52) ptr @_ZNK11Application9GetCameraEv(ptr noundef nonnull align 16 dereferenceable(272)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256), ptr noundef, double, double, double, double, i8 noundef zeroext, i16 noundef zeroext) unnamed_addr #4 align 2

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

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

declare i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(256), i32 noundef) #7

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

declare void @_ZN3JPH22SoftBodySharedSettings11sCreateCubeEjf(ptr dead_on_unwind writable sret(%"class.JPH::Ref.90") align 8, i32 noundef, float noundef) #7

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN3JPH5ArrayINS_22SoftBodySharedSettings6VertexENS_12STLAllocatorIS2_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN3JPH5ArrayINS_22SoftBodySharedSettings6VertexENS_12STLAllocatorIS2_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH24SoftBodyCreationSettingsC2EPKNS_22SoftBodySharedSettingsENS_4Vec3ENS_4QuatEt(ptr noundef nonnull align 16 dereferenceable(111), ptr noundef, double, double, double, double, i16 noundef zeroext) unnamed_addr #4 align 2

declare i32 @_ZN3JPH13BodyInterface20CreateAndAddSoftBodyERKNS_24SoftBodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(111), i32 noundef) #7

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH3RefINS_22SoftBodySharedSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 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 = { 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 = { 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, !39, i64 612}
!10 = !{!"_ZTS10SamplesApp", !11, i64 0, !22, i64 272, !14, i64 276, !22, i64 280, !6, i64 288, !6, i64 296, !6, i64 304, !23, i64 312, !25, i64 328, !27, i64 336, !6, i64 344, !6, i64 352, !29, i64 360, !30, i64 448, !6, i64 480, !6, i64 488, !6, i64 496, !22, i64 504, !21, i64 508, !14, i64 512, !21, i64 516, !21, i64 517, !21, i64 518, !21, i64 519, !32, i64 520, !33, i64 544, !22, i64 548, !34, i64 552, !35, i64 556, !21, i64 560, !13, i64 576, !36, i64 592, !36, i64 593, !37, i64 594, !38, i64 595, !14, i64 596, !21, i64 600, !21, i64 601, !21, i64 602, !21, i64 603, !22, i64 604, !21, i64 608, !39, i64 612, !14, i64 616, !40, i64 620, !14, i64 624, !14, i64 628, !21, i64 632, !13, i64 640, !21, i64 656, !6, i64 664, !41, i64 672, !42, i64 680, !22, i64 688, !14, i64 692, !14, i64 696, !22, i64 700, !43, i64 704}
!11 = !{!"_ZTS11Application", !12, i64 16, !12, i64 80, !6, i64 144, !6, i64 152, !6, i64 160, !15, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !16, i64 208, !19, i64 240, !21, i64 248, !21, i64 249, !21, i64 250, !21, i64 251, !14, i64 252, !14, i64 256, !14, i64 260, !14, i64 264, !22, i64 268}
!12 = !{!"_ZTS11CameraState", !13, i64 0, !13, i64 16, !13, i64 32, !14, i64 48}
!13 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!"_ZTSN3JPH8RefConstI4FontEE", !6, i64 0}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEE", !17, i64 0, !18, i64 8, !7, i64 16}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEE12_Alloc_hiderE", !6, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!"_ZTSNSt6chrono10time_pointINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEEEE", !20, i64 0}
!20 = !{!"_ZTSNSt6chrono8durationIlSt5ratioILl1ELl1000000000EEEE", !18, i64 0}
!21 = !{!"bool", !7, i64 0}
!22 = !{!"int", !7, i64 0}
!23 = !{!"_ZTS20BPLayerInterfaceImpl", !24, i64 0, !7, i64 8}
!24 = !{!"_ZTSN3JPH24BroadPhaseLayerInterfaceE"}
!25 = !{!"_ZTS33ObjectVsBroadPhaseLayerFilterImpl", !26, i64 0}
!26 = !{!"_ZTSN3JPH29ObjectVsBroadPhaseLayerFilterE"}
!27 = !{!"_ZTS25ObjectLayerPairFilterImpl", !28, i64 0}
!28 = !{!"_ZTSN3JPH21ObjectLayerPairFilterE"}
!29 = !{!"_ZTSN3JPH15PhysicsSettingsE", !22, i64 0, !22, i64 4, !22, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28, !14, i64 32, !14, i64 36, !14, i64 40, !14, i64 44, !14, i64 48, !14, i64 52, !22, i64 56, !22, i64 60, !14, i64 64, !14, i64 68, !14, i64 72, !21, i64 76, !21, i64 77, !21, i64 78, !21, i64 79, !21, i64 80, !21, i64 81, !21, i64 82}
!30 = !{!"_ZTSN3JPH12UnorderedMapINS_8RefConstINS_5ShapeEEENS_3RefINS_13DebugRenderer8GeometryEEENS_4HashIS3_EESt8equal_toIS3_EEE", !31, i64 0}
!31 = !{!"_ZTSN3JPH9HashTableINS_8RefConstINS_5ShapeEEESt4pairIS3_NS_3RefINS_13DebugRenderer8GeometryEEEENS_18UnorderedMapDetailIS3_S8_EENS_4HashIS3_EESt8equal_toIS3_EEE", !6, i64 0, !6, i64 8, !22, i64 16, !22, i64 20, !22, i64 24}
!32 = !{!"_ZTSN3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEEE", !18, i64 0, !18, i64 8, !6, i64 16}
!33 = !{!"_ZTSN10SamplesApp13EPlaybackModeE", !7, i64 0}
!34 = !{!"_ZTSN10SamplesApp10EProbeModeE", !7, i64 0}
!35 = !{!"_ZTSN10SamplesApp11EProbeShapeE", !7, i64 0}
!36 = !{!"_ZTSN3JPH13EBackFaceModeE", !7, i64 0}
!37 = !{!"_ZTSN3JPH15EActiveEdgeModeE", !7, i64 0}
!38 = !{!"_ZTSN3JPH17ECollectFacesModeE", !7, i64 0}
!39 = !{!"_ZTSN10SamplesApp17EShootObjectShapeE", !7, i64 0}
!40 = !{!"_ZTSN3JPH14EMotionQualityE", !7, i64 0}
!41 = !{!"_ZTSN3JPH6BodyIDE", !22, i64 0}
!42 = !{!"_ZTSN3JPH3RefINS_10ConstraintEEE", !6, i64 0}
!43 = !{!"_ZTSNSt6chrono8durationIlSt5ratioILl1ELl1000000EEEE", !18, i64 0}
!44 = !{i64 0, i64 16, !45}
!45 = !{!7, !7, i64 0}
!46 = !{!10, !40, i64 620}
!47 = !{!48, !40, i64 103}
!48 = !{!"_ZTSN3JPH20BodyCreationSettingsE", !13, i64 0, !49, i64 16, !13, i64 32, !13, i64 48, !18, i64 64, !51, i64 72, !52, i64 80, !54, i64 96, !55, i64 97, !21, i64 98, !21, i64 99, !21, i64 100, !21, i64 101, !21, i64 102, !40, i64 103, !21, i64 104, !21, i64 105, !14, i64 108, !14, i64 112, !14, i64 116, !14, i64 120, !14, i64 124, !14, i64 128, !14, i64 132, !22, i64 136, !22, i64 140, !56, i64 144, !14, i64 148, !57, i64 160, !59, i64 240, !60, i64 248}
!49 = !{!"_ZTSN3JPH4QuatE", !50, i64 0}
!50 = !{!"_ZTSN3JPH4Vec4E", !7, i64 0}
!51 = !{!"short", !7, i64 0}
!52 = !{!"_ZTSN3JPH14CollisionGroupE", !53, i64 0, !22, i64 8, !22, i64 12}
!53 = !{!"_ZTSN3JPH8RefConstINS_11GroupFilterEEE", !6, i64 0}
!54 = !{!"_ZTSN3JPH11EMotionTypeE", !7, i64 0}
!55 = !{!"_ZTSN3JPH12EAllowedDOFsE", !7, i64 0}
!56 = !{!"_ZTSN3JPH23EOverrideMassPropertiesE", !7, i64 0}
!57 = !{!"_ZTSN3JPH14MassPropertiesE", !14, i64 0, !58, i64 16}
!58 = !{!"_ZTSN3JPH5Mat44E", !7, i64 0}
!59 = !{!"_ZTSN3JPH8RefConstINS_13ShapeSettingsEEE", !6, i64 0}
!60 = !{!"_ZTSN3JPH8RefConstINS_5ShapeEEE", !6, i64 0}
!61 = !{!10, !14, i64 624}
!62 = !{!48, !14, i64 108}
!63 = !{!10, !14, i64 628}
!64 = !{!48, !14, i64 112}
!65 = !{!10, !14, i64 616}
!66 = !{!10, !6, i64 344}
!67 = !{!68, !68, i64 0}
!68 = !{!"vtable pointer", !8, i64 0}
!69 = !{!70, !14, i64 24}
!70 = !{!"_ZTSN3JPH22SoftBodySharedSettings6VertexE", !71, i64 0, !71, i64 12, !14, i64 24}
!71 = !{!"_ZTSN3JPH6Float3E", !14, i64 0, !14, i64 4, !14, i64 8}
!72 = !{!73, !14, i64 96}
!73 = !{!"_ZTSN3JPH24SoftBodyCreationSettingsE", !74, i64 0, !13, i64 16, !49, i64 32, !18, i64 48, !51, i64 56, !52, i64 64, !22, i64 80, !14, i64 84, !14, i64 88, !14, i64 92, !14, i64 96, !14, i64 100, !14, i64 104, !21, i64 108, !21, i64 109, !21, i64 110}
!74 = !{!"_ZTSN3JPH8RefConstINS_22SoftBodySharedSettingsEEE", !6, i64 0}
!75 = !{!73, !14, i64 92}


; 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::RefConst.74" = type { ptr }
%"class.JPH::BodyCreationSettings" = type { %"class.JPH::Vec3", %"class.JPH::Quat", %"class.JPH::Vec3", %"class.JPH::Vec3", i64, i16, %"class.JPH::CollisionGroup", i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, float, float, float, float, float, float, float, i32, i32, i8, float, %"class.JPH::MassProperties", %"class.JPH::RefConst.89", %"class.JPH::RefConst.74" }
%"class.JPH::Quat" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.55 }
%union.anon.55 = type { <4 x float> }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::CollisionGroup" = type { %"class.JPH::RefConst.88", i32, i32 }
%"class.JPH::RefConst.88" = type { ptr }
%"class.JPH::MassProperties" = type { float, %"class.JPH::Mat44" }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::RefConst.89" = type { ptr }
%"class.JPH::Ref.90" = type { ptr }
%"class.JPH::SoftBodyCreationSettings" = type <{ %"class.JPH::RefConst.128", [8 x i8], %"class.JPH::Vec3", %"class.JPH::Quat", i64, i16, [6 x i8], %"class.JPH::CollisionGroup", i32, float, float, float, float, float, float, i8, i8, i8, i8 }>
%"class.JPH::RefConst.128" = 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: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Quat9sIdentityEv() local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SamplesApp22CreateShootObjectShapeEv(ptr dead_on_unwind noalias writable sret(%"class.JPH::RefConst.74") align 8, ptr noundef nonnull align 16 dereferenceable(712)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10SamplesApp11ShootObjectEv(ptr noundef nonnull align 16 dereferenceable(712) %0) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.JPH::BodyCreationSettings", align 16
  %3 = alloca %"class.JPH::RefConst.74", align 8
  %4 = alloca %"class.JPH::Ref.90", align 8
  %5 = alloca %"class.JPH::Vec3", align 16
  %6 = alloca %"class.JPH::SoftBodyCreationSettings", align 16
  %7 = getelementptr inbounds i8, ptr %0, i64 612
  %8 = load i32, ptr %7, align 4, !tbaa !5
  %.not = icmp eq i32 %8, 3
  br i1 %.not, label %45, label %9

9:                                                ; preds = %1
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  call void @_ZN10SamplesApp22CreateShootObjectShapeEv(ptr dead_on_unwind nonnull writable sret(%"class.JPH::RefConst.74") align 8 %3, ptr noundef nonnull align 16 dereferenceable(712) %0)
  %10 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %3)
  %11 = call noundef nonnull align 16 dereferenceable(52) ptr @_ZNK11Application9GetCameraEv(ptr noundef nonnull align 16 dereferenceable(272) %0)
  %.sroa.019.0.copyload = load double, ptr %11, align 16
  %.sroa.220.0..sroa_idx = getelementptr inbounds i8, ptr %11, i64 8
  %.sroa.220.0.copyload = load double, ptr %.sroa.220.0..sroa_idx, align 8, !tbaa !43
  %12 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %13 unwind label %37

13:                                               ; preds = %9
  %14 = extractvalue { double, double } %12, 0
  %15 = extractvalue { double, double } %12, 1
  invoke void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %2, ptr noundef %10, double %.sroa.019.0.copyload, double %.sroa.220.0.copyload, double %14, double %15, i8 noundef zeroext 2, i16 noundef zeroext 1)
          to label %16 unwind label %37

16:                                               ; preds = %13
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  %17 = getelementptr inbounds i8, ptr %0, i64 620
  %18 = load i8, ptr %17, align 4, !tbaa !44
  %19 = getelementptr inbounds i8, ptr %2, i64 103
  store i8 %18, ptr %19, align 1, !tbaa !45
  %20 = getelementptr inbounds i8, ptr %0, i64 624
  %21 = getelementptr inbounds i8, ptr %2, i64 108
  %22 = load <2 x float>, ptr %20, align 16, !tbaa !59
  store <2 x float> %22, ptr %21, align 4, !tbaa !59
  %23 = getelementptr inbounds i8, ptr %0, i64 616
  %24 = load float, ptr %23, align 8, !tbaa !60
  %25 = call noundef nonnull align 16 dereferenceable(52) ptr @_ZNK11Application9GetCameraEv(ptr noundef nonnull align 16 dereferenceable(272) %0)
  %26 = getelementptr inbounds i8, ptr %25, i64 16
  %.sroa.014.0.copyload = load double, ptr %26, align 16
  %.sroa.215.0..sroa_idx = getelementptr inbounds i8, ptr %25, i64 24
  %.sroa.215.0.copyload = load double, ptr %.sroa.215.0..sroa_idx, align 8, !tbaa !43
  %27 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %24, double %.sroa.014.0.copyload, double %.sroa.215.0.copyload)
          to label %28 unwind label %39

28:                                               ; preds = %16
  %29 = extractvalue { double, double } %27, 0
  %30 = extractvalue { double, double } %27, 1
  %31 = getelementptr inbounds i8, ptr %2, i64 32
  store double %29, ptr %31, align 16
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %2, i64 40
  store double %30, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !43
  %32 = getelementptr inbounds i8, ptr %0, i64 344
  %33 = load ptr, ptr %32, align 8, !tbaa !61
  %34 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH13PhysicsSystem16GetBodyInterfaceEv(ptr noundef nonnull align 16 dereferenceable(1172) %33)
  %35 = invoke i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %34, ptr noundef nonnull align 16 dereferenceable(256) %2, i32 noundef 0)
          to label %36 unwind label %41

36:                                               ; preds = %28
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %2) #7
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %2) #7
  br label %93

37:                                               ; preds = %13, %9
  %38 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH8RefConstINS_5ShapeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  br label %44

39:                                               ; preds = %16
  %40 = landingpad { ptr, i32 }
          cleanup
  br label %43

41:                                               ; preds = %28
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %43

43:                                               ; preds = %41, %39
  %.pn33 = phi { ptr, i32 } [ %42, %41 ], [ %40, %39 ]
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %2) #7
  br label %44

44:                                               ; preds = %43, %37
  %.pn33.pn = phi { ptr, i32 } [ %.pn33, %43 ], [ %38, %37 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %2) #7
  br label %94

45:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %46 = load ptr, ptr %0, align 16, !tbaa !62
  %47 = getelementptr inbounds i8, ptr %46, i64 40
  %48 = load ptr, ptr %47, align 8
  %49 = tail call noundef float %48(ptr noundef nonnull align 16 dereferenceable(712) %0)
  %50 = fmul float %49, 5.000000e-01
  call void @_ZN3JPH22SoftBodySharedSettings11sCreateCubeEjf(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Ref.90") align 8 %4, i32 noundef 5, float noundef %50)
  %51 = call noundef ptr @_ZNK3JPH3RefINS_22SoftBodySharedSettingsEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %52 = getelementptr inbounds i8, ptr %51, i64 8
  %53 = call noundef ptr @_ZN3JPH5ArrayINS_22SoftBodySharedSettings6VertexENS_12STLAllocatorIS2_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %52)
  %54 = call noundef ptr @_ZN3JPH5ArrayINS_22SoftBodySharedSettings6VertexENS_12STLAllocatorIS2_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %52)
  %.not2937 = icmp eq ptr %53, %54
  br i1 %.not2937, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %45
  %55 = getelementptr inbounds i8, ptr %0, i64 616
  %56 = getelementptr inbounds i8, ptr %5, i64 8
  br label %60

._crit_edge:                                      ; preds = %70, %45
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %6) #7
  %57 = call noundef ptr @_ZNK3JPH3RefINS_22SoftBodySharedSettingsEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %58 = call noundef nonnull align 16 dereferenceable(52) ptr @_ZNK11Application9GetCameraEv(ptr noundef nonnull align 16 dereferenceable(272) %0)
  %.sroa.02.0.copyload = load double, ptr %58, align 16
  %.sroa.23.0..sroa_idx = getelementptr inbounds i8, ptr %58, i64 8
  %.sroa.23.0.copyload = load double, ptr %.sroa.23.0..sroa_idx, align 8, !tbaa !43
  %59 = invoke { double, double } @_ZN3JPH4Quat9sIdentityEv()
          to label %74 unwind label %87

60:                                               ; preds = %.lr.ph, %70
  %.02838 = phi ptr [ %53, %.lr.ph ], [ %71, %70 ]
  %61 = getelementptr inbounds i8, ptr %.02838, i64 24
  store float 0x3F999999A0000000, ptr %61, align 4, !tbaa !64
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #7
  %62 = load float, ptr %55, align 8, !tbaa !60
  %63 = call noundef nonnull align 16 dereferenceable(52) ptr @_ZNK11Application9GetCameraEv(ptr noundef nonnull align 16 dereferenceable(272) %0)
  %64 = getelementptr inbounds i8, ptr %63, i64 16
  %.sroa.04.0.copyload = load double, ptr %64, align 16
  %.sroa.25.0..sroa_idx = getelementptr inbounds i8, ptr %63, i64 24
  %.sroa.25.0.copyload = load double, ptr %.sroa.25.0..sroa_idx, align 8, !tbaa !43
  %65 = invoke { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %62, double %.sroa.04.0.copyload, double %.sroa.25.0.copyload)
          to label %66 unwind label %72

66:                                               ; preds = %60
  %67 = extractvalue { double, double } %65, 0
  store double %67, ptr %5, align 16
  %68 = extractvalue { double, double } %65, 1
  store double %68, ptr %56, align 8
  %69 = getelementptr inbounds i8, ptr %.02838, i64 12
  invoke void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16) %5, ptr noundef nonnull %69)
          to label %70 unwind label %72

70:                                               ; preds = %66
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  %71 = getelementptr inbounds i8, ptr %.02838, i64 28
  %.not29 = icmp eq ptr %71, %54
  br i1 %.not29, label %._crit_edge, label %60

72:                                               ; preds = %66, %60
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  br label %92

74:                                               ; preds = %._crit_edge
  %75 = extractvalue { double, double } %59, 0
  %76 = extractvalue { double, double } %59, 1
  invoke void @_ZN3JPH24SoftBodyCreationSettingsC2EPKNS_22SoftBodySharedSettingsENS_4Vec3ENS_4QuatEt(ptr noundef nonnull align 16 dereferenceable(111) %6, ptr noundef %57, double %.sroa.02.0.copyload, double %.sroa.23.0.copyload, double %75, double %76, i16 noundef zeroext 1)
          to label %77 unwind label %87

77:                                               ; preds = %74
  %78 = getelementptr inbounds i8, ptr %0, i64 624
  %79 = getelementptr inbounds i8, ptr %6, i64 92
  %80 = load <2 x float>, ptr %78, align 16, !tbaa !59
  %81 = shufflevector <2 x float> %80, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  store <2 x float> %81, ptr %79, align 4, !tbaa !59
  %82 = getelementptr inbounds i8, ptr %0, i64 344
  %83 = load ptr, ptr %82, align 8, !tbaa !61
  %84 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3JPH13PhysicsSystem16GetBodyInterfaceEv(ptr noundef nonnull align 16 dereferenceable(1172) %83)
  %85 = invoke i32 @_ZN3JPH13BodyInterface20CreateAndAddSoftBodyERKNS_24SoftBodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %84, ptr noundef nonnull align 16 dereferenceable(111) %6, i32 noundef 0)
          to label %86 unwind label %89

86:                                               ; preds = %77
  call void @_ZN3JPH24SoftBodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(111) %6) #7
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %6) #7
  call void @_ZN3JPH3RefINS_22SoftBodySharedSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  br label %93

87:                                               ; preds = %74, %._crit_edge
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %91

89:                                               ; preds = %77
  %90 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH24SoftBodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(111) %6) #7
  br label %91

91:                                               ; preds = %89, %87
  %.pn = phi { ptr, i32 } [ %90, %89 ], [ %88, %87 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %6) #7
  br label %92

92:                                               ; preds = %91, %72
  %.pn31 = phi { ptr, i32 } [ %73, %72 ], [ %.pn, %91 ]
  call void @_ZN3JPH3RefINS_22SoftBodySharedSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  br label %94

93:                                               ; preds = %86, %36
  ret void

94:                                               ; preds = %92, %44
  %.pn33.pn.pn = phi { ptr, i32 } [ %.pn33.pn, %44 ], [ %.pn31, %92 ]
  resume { ptr, i32 } %.pn33.pn.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 16 dereferenceable(52) ptr @_ZNK11Application9GetCameraEv(ptr noundef nonnull align 16 dereferenceable(272)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256), ptr noundef, double, double, double, double, i8 noundef zeroext, i16 noundef zeroext) unnamed_addr #3 align 2

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

; 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 #4 align 2

declare i32 @_ZN3JPH13BodyInterface16CreateAndAddBodyERKNS_20BodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(256), i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256)) unnamed_addr #2 align 2

declare void @_ZN3JPH22SoftBodySharedSettings11sCreateCubeEjf(ptr dead_on_unwind writable sret(%"class.JPH::Ref.90") align 8, i32 noundef, float noundef) local_unnamed_addr #6

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN3JPH5ArrayINS_22SoftBodySharedSettings6VertexENS_12STLAllocatorIS2_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN3JPH5ArrayINS_22SoftBodySharedSettings6VertexENS_12STLAllocatorIS2_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZNK3JPH4Vec311StoreFloat3EPNS_6Float3E(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef) local_unnamed_addr #5 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH24SoftBodyCreationSettingsC2EPKNS_22SoftBodySharedSettingsENS_4Vec3ENS_4QuatEt(ptr noundef nonnull align 16 dereferenceable(111), ptr noundef, double, double, double, double, i16 noundef zeroext) unnamed_addr #3 align 2

declare i32 @_ZN3JPH13BodyInterface20CreateAndAddSoftBodyERKNS_24SoftBodyCreationSettingsENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(111), i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH24SoftBodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(111)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH3RefINS_22SoftBodySharedSettingsEED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 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 = { 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 = { 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, !38, i64 612}
!6 = !{!"_ZTS10SamplesApp", !7, i64 0, !21, i64 272, !12, i64 276, !21, i64 280, !13, i64 288, !13, i64 296, !13, i64 304, !22, i64 312, !24, i64 328, !26, i64 336, !13, i64 344, !13, i64 352, !28, i64 360, !29, i64 448, !13, i64 480, !13, i64 488, !13, i64 496, !21, i64 504, !20, i64 508, !12, i64 512, !20, i64 516, !20, i64 517, !20, i64 518, !20, i64 519, !31, i64 520, !32, i64 544, !21, i64 548, !33, i64 552, !34, i64 556, !20, i64 560, !9, i64 576, !35, i64 592, !35, i64 593, !36, i64 594, !37, i64 595, !12, i64 596, !20, i64 600, !20, i64 601, !20, i64 602, !20, i64 603, !21, i64 604, !20, i64 608, !38, i64 612, !12, i64 616, !39, i64 620, !12, i64 624, !12, i64 628, !20, i64 632, !9, i64 640, !20, i64 656, !13, i64 664, !40, i64 672, !41, i64 680, !21, i64 688, !12, i64 692, !12, i64 696, !21, i64 700, !42, i64 704}
!7 = !{!"_ZTS11Application", !8, i64 16, !8, i64 80, !13, i64 144, !13, i64 152, !13, i64 160, !14, i64 168, !13, i64 176, !13, i64 184, !13, i64 192, !13, i64 200, !15, i64 208, !18, i64 240, !20, i64 248, !20, i64 249, !20, i64 250, !20, i64 251, !12, i64 252, !12, i64 256, !12, i64 260, !12, i64 264, !21, i64 268}
!8 = !{!"_ZTS11CameraState", !9, i64 0, !9, i64 16, !9, i64 32, !12, i64 48}
!9 = !{!"_ZTSN3JPH4Vec3E", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"float", !10, i64 0}
!13 = !{!"any pointer", !10, i64 0}
!14 = !{!"_ZTSN3JPH8RefConstI4FontEE", !13, i64 0}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEE", !16, i64 0, !17, i64 8, !10, i64 16}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEE12_Alloc_hiderE", !13, i64 0}
!17 = !{!"long", !10, i64 0}
!18 = !{!"_ZTSNSt6chrono10time_pointINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEEEE", !19, i64 0}
!19 = !{!"_ZTSNSt6chrono8durationIlSt5ratioILl1ELl1000000000EEEE", !17, i64 0}
!20 = !{!"bool", !10, i64 0}
!21 = !{!"int", !10, i64 0}
!22 = !{!"_ZTS20BPLayerInterfaceImpl", !23, i64 0, !10, i64 8}
!23 = !{!"_ZTSN3JPH24BroadPhaseLayerInterfaceE"}
!24 = !{!"_ZTS33ObjectVsBroadPhaseLayerFilterImpl", !25, i64 0}
!25 = !{!"_ZTSN3JPH29ObjectVsBroadPhaseLayerFilterE"}
!26 = !{!"_ZTS25ObjectLayerPairFilterImpl", !27, i64 0}
!27 = !{!"_ZTSN3JPH21ObjectLayerPairFilterE"}
!28 = !{!"_ZTSN3JPH15PhysicsSettingsE", !21, i64 0, !21, i64 4, !21, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !21, i64 56, !21, i64 60, !12, i64 64, !12, i64 68, !12, i64 72, !20, i64 76, !20, i64 77, !20, i64 78, !20, i64 79, !20, i64 80, !20, i64 81, !20, i64 82}
!29 = !{!"_ZTSN3JPH12UnorderedMapINS_8RefConstINS_5ShapeEEENS_3RefINS_13DebugRenderer8GeometryEEENS_4HashIS3_EESt8equal_toIS3_EEE", !30, i64 0}
!30 = !{!"_ZTSN3JPH9HashTableINS_8RefConstINS_5ShapeEEESt4pairIS3_NS_3RefINS_13DebugRenderer8GeometryEEEENS_18UnorderedMapDetailIS3_S8_EENS_4HashIS3_EESt8equal_toIS3_EEE", !13, i64 0, !13, i64 8, !21, i64 16, !21, i64 20, !21, i64 24}
!31 = !{!"_ZTSN3JPH5ArrayIN10SamplesApp13PlayBackFrameENS_12STLAllocatorIS2_EEEE", !17, i64 0, !17, i64 8, !13, i64 16}
!32 = !{!"_ZTSN10SamplesApp13EPlaybackModeE", !10, i64 0}
!33 = !{!"_ZTSN10SamplesApp10EProbeModeE", !10, i64 0}
!34 = !{!"_ZTSN10SamplesApp11EProbeShapeE", !10, i64 0}
!35 = !{!"_ZTSN3JPH13EBackFaceModeE", !10, i64 0}
!36 = !{!"_ZTSN3JPH15EActiveEdgeModeE", !10, i64 0}
!37 = !{!"_ZTSN3JPH17ECollectFacesModeE", !10, i64 0}
!38 = !{!"_ZTSN10SamplesApp17EShootObjectShapeE", !10, i64 0}
!39 = !{!"_ZTSN3JPH14EMotionQualityE", !10, i64 0}
!40 = !{!"_ZTSN3JPH6BodyIDE", !21, i64 0}
!41 = !{!"_ZTSN3JPH3RefINS_10ConstraintEEE", !13, i64 0}
!42 = !{!"_ZTSNSt6chrono8durationIlSt5ratioILl1ELl1000000EEEE", !17, i64 0}
!43 = !{!10, !10, i64 0}
!44 = !{!6, !39, i64 620}
!45 = !{!46, !39, i64 103}
!46 = !{!"_ZTSN3JPH20BodyCreationSettingsE", !9, i64 0, !47, i64 16, !9, i64 32, !9, i64 48, !17, i64 64, !49, i64 72, !50, i64 80, !52, i64 96, !53, i64 97, !20, i64 98, !20, i64 99, !20, i64 100, !20, i64 101, !20, i64 102, !39, i64 103, !20, i64 104, !20, i64 105, !12, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !12, i64 128, !12, i64 132, !21, i64 136, !21, i64 140, !54, i64 144, !12, i64 148, !55, i64 160, !57, i64 240, !58, i64 248}
!47 = !{!"_ZTSN3JPH4QuatE", !48, i64 0}
!48 = !{!"_ZTSN3JPH4Vec4E", !10, i64 0}
!49 = !{!"short", !10, i64 0}
!50 = !{!"_ZTSN3JPH14CollisionGroupE", !51, i64 0, !21, i64 8, !21, i64 12}
!51 = !{!"_ZTSN3JPH8RefConstINS_11GroupFilterEEE", !13, i64 0}
!52 = !{!"_ZTSN3JPH11EMotionTypeE", !10, i64 0}
!53 = !{!"_ZTSN3JPH12EAllowedDOFsE", !10, i64 0}
!54 = !{!"_ZTSN3JPH23EOverrideMassPropertiesE", !10, i64 0}
!55 = !{!"_ZTSN3JPH14MassPropertiesE", !12, i64 0, !56, i64 16}
!56 = !{!"_ZTSN3JPH5Mat44E", !10, i64 0}
!57 = !{!"_ZTSN3JPH8RefConstINS_13ShapeSettingsEEE", !13, i64 0}
!58 = !{!"_ZTSN3JPH8RefConstINS_5ShapeEEE", !13, i64 0}
!59 = !{!12, !12, i64 0}
!60 = !{!6, !12, i64 616}
!61 = !{!6, !13, i64 344}
!62 = !{!63, !63, i64 0}
!63 = !{!"vtable pointer", !11, i64 0}
!64 = !{!65, !12, i64 24}
!65 = !{!"_ZTSN3JPH22SoftBodySharedSettings6VertexE", !66, i64 0, !66, i64 12, !12, i64 24}
!66 = !{!"_ZTSN3JPH6Float3E", !12, i64 0, !12, i64 4, !12, i64 8}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass