; LLVM IR from jrouwe/JoltPhysics :: Samples/Tests/Constraints (DistanceConstraintTest)

; 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::Quat" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.4 }
%union.anon.4 = type { <4 x float> }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"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.6", %"class.JPH::RefConst" }
%"class.JPH::CollisionGroup" = type { %"class.JPH::RefConst.5", i32, i32 }
%"class.JPH::RefConst.5" = type { ptr }
%"class.JPH::MassProperties" = type { float, %"class.JPH::Mat44" }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::RefConst.6" = type { ptr }
%"class.JPH::RefConst" = type { ptr }
%"class.JPH::DistanceConstraintSettings" = type <{ %"class.JPH::TwoBodyConstraintSettings", i32, [4 x i8], %"class.JPH::Vec3", %"class.JPH::Vec3", float, float, %"class.JPH::SpringSettings", [12 x i8] }>
%"class.JPH::TwoBodyConstraintSettings" = type { %"class.JPH::ConstraintSettings" }
%"class.JPH::ConstraintSettings" = type { %"class.JPH::SerializableObject", %"class.JPH::RefTarget.10", i8, i32, i32, i32, float, i64 }
%"class.JPH::SerializableObject" = type { ptr }
%"class.JPH::RefTarget.10" = type { %"struct.std::atomic.7" }
%"struct.std::atomic.7" = type { %"struct.std::__atomic_base.8" }
%"struct.std::__atomic_base.8" = type { i32 }
%"class.JPH::SpringSettings" = type { i8, %union.anon.11, float }
%union.anon.11 = type { float }
%class.Test = type { ptr, ptr, ptr, ptr, ptr, ptr, i8, %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }

; 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: mustprogress uwtable
define dso_local void @_ZN22DistanceConstraintTest10InitializeEv(ptr noundef nonnull align 8 dereferenceable(112) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca float, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %"class.JPH::Quat", align 16
  %7 = alloca %"class.JPH::Vec3", align 16
  %8 = alloca %"class.JPH::Vec3", align 16
  %9 = alloca ptr, align 8
  %10 = alloca %"class.JPH::BodyCreationSettings", align 16
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.JPH::Vec3", align 16
  %14 = alloca %"class.JPH::Quat", align 16
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.JPH::Vec3", align 16
  %18 = alloca ptr, align 8
  %19 = alloca %"class.JPH::BodyCreationSettings", align 16
  %20 = alloca %"class.JPH::Vec3", align 16
  %21 = alloca %"class.JPH::Quat", align 16
  %22 = alloca %"class.JPH::DistanceConstraintSettings", align 16
  %23 = alloca %"class.JPH::Vec3", align 16
  %24 = alloca %"class.JPH::Vec3", align 16
  %25 = alloca %"class.JPH::Vec3", align 16
  %26 = alloca %"class.JPH::Vec3", align 16
  store ptr %0, ptr %2, align 8, !tbaa !5
  %27 = load ptr, ptr %2, align 8
  %28 = call noundef nonnull align 16 dereferenceable(122) ptr @_ZN4Test11CreateFloorEf(ptr noundef nonnull align 8 dereferenceable(112) %27, float noundef 2.000000e+02)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #11
  store float 2.500000e+00, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #11
  store i32 0, ptr %4, align 4, !tbaa !11
  br label %29

29:                                               ; preds = %188, %1
  %30 = load i32, ptr %4, align 4, !tbaa !11
  %31 = icmp slt i32 %30, 2
  br i1 %31, label %33, label %32

32:                                               ; preds = %29
  store i32 2, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #11
  br label %192

33:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #11
  %34 = call { double, double } @_ZN3JPH4Vec36sAxisZEv()
  %35 = getelementptr inbounds %"class.JPH::Vec3", ptr %7, i32 0, i32 0
  %36 = getelementptr inbounds %union.anon, ptr %35, i32 0, i32 0
  %37 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 0
  %38 = extractvalue { double, double } %34, 0
  store double %38, ptr %37, align 16
  %39 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 1
  %40 = extractvalue { double, double } %34, 1
  store double %40, ptr %39, align 8
  %41 = getelementptr inbounds { double, double }, ptr %7, i32 0, i32 0
  %42 = load double, ptr %41, align 16
  %43 = getelementptr inbounds { double, double }, ptr %7, i32 0, i32 1
  %44 = load double, ptr %43, align 8
  %45 = call { double, double } @_ZN3JPH4Quat9sRotationENS_4Vec3Ef(double %42, double %44, float noundef 0x3FF921FB60000000)
  %46 = getelementptr inbounds %"class.JPH::Quat", ptr %6, i32 0, i32 0
  %47 = getelementptr inbounds %"class.JPH::Vec4", ptr %46, i32 0, i32 0
  %48 = getelementptr inbounds %union.anon.4, ptr %47, i32 0, i32 0
  %49 = getelementptr inbounds { double, double }, ptr %48, i32 0, i32 0
  %50 = extractvalue { double, double } %45, 0
  store double %50, ptr %49, align 16
  %51 = getelementptr inbounds { double, double }, ptr %48, i32 0, i32 1
  %52 = extractvalue { double, double } %45, 1
  store double %52, ptr %51, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #11
  %53 = load i32, ptr %4, align 4, !tbaa !11
  %54 = sitofp i32 %53 to float
  %55 = fmul float 1.000000e+01, %54
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %8, float noundef 0.000000e+00, float noundef 7.500000e+01, float noundef %55)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #11
  %56 = getelementptr inbounds %class.Test, ptr %27, i32 0, i32 3
  %57 = load ptr, ptr %56, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 256, ptr %10) #11
  %58 = call noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
  %59 = load float, ptr %3, align 4, !tbaa !9
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %58, float noundef %59, float noundef 1.000000e+00, ptr noundef null)
          to label %60 unwind label %80

60:                                               ; preds = %33
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %13, ptr align 16 %8, i64 16, i1 false), !tbaa.struct !21
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %14, ptr align 16 %6, i64 16, i1 false), !tbaa.struct !21
  %61 = getelementptr inbounds { double, double }, ptr %13, i32 0, i32 0
  %62 = load double, ptr %61, align 16
  %63 = getelementptr inbounds { double, double }, ptr %13, i32 0, i32 1
  %64 = load double, ptr %63, align 8
  %65 = getelementptr inbounds { double, double }, ptr %14, i32 0, i32 0
  %66 = load double, ptr %65, align 16
  %67 = getelementptr inbounds { double, double }, ptr %14, i32 0, i32 1
  %68 = load double, ptr %67, align 8
  call void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %10, ptr noundef %58, double %62, double %64, double %66, double %68, i8 noundef zeroext 0, i16 noundef zeroext 0)
  %69 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %57, ptr noundef nonnull align 16 dereferenceable(256) %10)
          to label %70 unwind label %84

70:                                               ; preds = %60
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %10) #11
  call void @llvm.lifetime.end.p0(i64 256, ptr %10) #11
  store ptr %69, ptr %9, align 8, !tbaa !5
  %71 = getelementptr inbounds %class.Test, ptr %27, i32 0, i32 3
  %72 = load ptr, ptr %71, align 8, !tbaa !13
  %73 = load ptr, ptr %9, align 8, !tbaa !5
  %74 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %73)
  call void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %72, ptr noundef nonnull align 4 dereferenceable(4) %74, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #11
  %75 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %75, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #11
  store i32 1, ptr %16, align 4, !tbaa !11
  br label %76

76:                                               ; preds = %178, %70
  %77 = load i32, ptr %16, align 4, !tbaa !11
  %78 = icmp slt i32 %77, 15
  br i1 %78, label %89, label %79

79:                                               ; preds = %76
  store i32 5, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #11
  br label %187

80:                                               ; preds = %33
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %11, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %12, align 4
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %58) #11
  br label %88

84:                                               ; preds = %60
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %11, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %12, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %10) #11
  br label %88

88:                                               ; preds = %84, %80
  call void @llvm.lifetime.end.p0(i64 256, ptr %10) #11
  br label %191

89:                                               ; preds = %76
  %90 = load float, ptr %3, align 4, !tbaa !9
  %91 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %90, float 5.000000e+00)
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %17, float noundef %91, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %92 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 0
  %93 = load double, ptr %92, align 16
  %94 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 1
  %95 = load double, ptr %94, align 8
  %96 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZN3JPH4Vec3pLES0_(ptr noundef nonnull align 16 dereferenceable(16) %8, double %93, double %95)
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #11
  %97 = getelementptr inbounds %class.Test, ptr %27, i32 0, i32 3
  %98 = load ptr, ptr %97, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 256, ptr %19) #11
  %99 = call noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
  %100 = load float, ptr %3, align 4, !tbaa !9
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %99, float noundef %100, float noundef 1.000000e+00, ptr noundef null)
          to label %101 unwind label %152

101:                                              ; preds = %89
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %20, ptr align 16 %8, i64 16, i1 false), !tbaa.struct !21
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %21, ptr align 16 %6, i64 16, i1 false), !tbaa.struct !21
  %102 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 0
  %103 = load double, ptr %102, align 16
  %104 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 1
  %105 = load double, ptr %104, align 8
  %106 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 0
  %107 = load double, ptr %106, align 16
  %108 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 1
  %109 = load double, ptr %108, align 8
  call void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %19, ptr noundef %99, double %103, double %105, double %107, double %109, i8 noundef zeroext 2, i16 noundef zeroext 1)
  %110 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %98, ptr noundef nonnull align 16 dereferenceable(256) %19)
          to label %111 unwind label %156

111:                                              ; preds = %101
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %19) #11
  call void @llvm.lifetime.end.p0(i64 256, ptr %19) #11
  store ptr %110, ptr %18, align 8, !tbaa !5
  %112 = getelementptr inbounds %class.Test, ptr %27, i32 0, i32 3
  %113 = load ptr, ptr %112, align 8, !tbaa !13
  %114 = load ptr, ptr %18, align 8, !tbaa !5
  %115 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %114)
  call void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %113, ptr noundef nonnull align 4 dereferenceable(4) %115, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 112, ptr %22) #11
  call void @_ZN3JPH26DistanceConstraintSettingsC2Ev(ptr noundef nonnull align 16 dereferenceable(112) %22)
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #11
  %116 = load float, ptr %3, align 4, !tbaa !9
  %117 = fadd float 5.000000e+00, %116
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %24, float noundef %117, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %118 unwind label %161

118:                                              ; preds = %111
  %119 = getelementptr inbounds { double, double }, ptr %24, i32 0, i32 0
  %120 = load double, ptr %119, align 16
  %121 = getelementptr inbounds { double, double }, ptr %24, i32 0, i32 1
  %122 = load double, ptr %121, align 8
  %123 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %8, double %120, double %122)
          to label %124 unwind label %161

124:                                              ; preds = %118
  %125 = getelementptr inbounds %"class.JPH::Vec3", ptr %23, i32 0, i32 0
  %126 = getelementptr inbounds %union.anon, ptr %125, i32 0, i32 0
  %127 = getelementptr inbounds { double, double }, ptr %126, i32 0, i32 0
  %128 = extractvalue { double, double } %123, 0
  store double %128, ptr %127, align 16
  %129 = getelementptr inbounds { double, double }, ptr %126, i32 0, i32 1
  %130 = extractvalue { double, double } %123, 1
  store double %130, ptr %129, align 8
  %131 = getelementptr inbounds %"class.JPH::DistanceConstraintSettings", ptr %22, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %131, ptr align 16 %23, i64 16, i1 false), !tbaa.struct !21
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #11
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #11
  %132 = load float, ptr %3, align 4, !tbaa !9
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %26, float noundef %132, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %133 unwind label %165

133:                                              ; preds = %124
  %134 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 0
  %135 = load double, ptr %134, align 16
  %136 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 1
  %137 = load double, ptr %136, align 8
  %138 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %8, double %135, double %137)
          to label %139 unwind label %165

139:                                              ; preds = %133
  %140 = getelementptr inbounds %"class.JPH::Vec3", ptr %25, i32 0, i32 0
  %141 = getelementptr inbounds %union.anon, ptr %140, i32 0, i32 0
  %142 = getelementptr inbounds { double, double }, ptr %141, i32 0, i32 0
  %143 = extractvalue { double, double } %138, 0
  store double %143, ptr %142, align 16
  %144 = getelementptr inbounds { double, double }, ptr %141, i32 0, i32 1
  %145 = extractvalue { double, double } %138, 1
  store double %145, ptr %144, align 8
  %146 = getelementptr inbounds %"class.JPH::DistanceConstraintSettings", ptr %22, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %146, ptr align 16 %25, i64 16, i1 false), !tbaa.struct !21
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #11
  %147 = load i32, ptr %4, align 4, !tbaa !11
  %148 = icmp eq i32 %147, 1
  br i1 %148, label %149, label %169

149:                                              ; preds = %139
  %150 = getelementptr inbounds %"class.JPH::DistanceConstraintSettings", ptr %22, i32 0, i32 5
  store float 4.000000e+00, ptr %150, align 16, !tbaa !23
  %151 = getelementptr inbounds %"class.JPH::DistanceConstraintSettings", ptr %22, i32 0, i32 6
  store float 8.000000e+00, ptr %151, align 4, !tbaa !35
  br label %169

152:                                              ; preds = %89
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %11, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %12, align 4
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %99) #11
  br label %160

156:                                              ; preds = %101
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %11, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %12, align 4
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %19) #11
  br label %160

160:                                              ; preds = %156, %152
  call void @llvm.lifetime.end.p0(i64 256, ptr %19) #11
  br label %186

161:                                              ; preds = %118, %111
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %11, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #11
  br label %185

165:                                              ; preds = %133, %124
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %11, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #11
  br label %185

169:                                              ; preds = %149, %139
  %170 = getelementptr inbounds %class.Test, ptr %27, i32 0, i32 2
  %171 = load ptr, ptr %170, align 8, !tbaa !36
  %172 = load ptr, ptr %15, align 8, !tbaa !5
  %173 = load ptr, ptr %18, align 8, !tbaa !5
  %174 = invoke noundef ptr @_ZNK3JPH26DistanceConstraintSettings6CreateERNS_4BodyES2_(ptr noundef nonnull align 16 dereferenceable(112) %22, ptr noundef nonnull align 16 dereferenceable(122) %172, ptr noundef nonnull align 16 dereferenceable(122) %173)
          to label %175 unwind label %181

175:                                              ; preds = %169
  invoke void @_ZN3JPH13PhysicsSystem13AddConstraintEPNS_10ConstraintE(ptr noundef nonnull align 16 dereferenceable(1172) %171, ptr noundef %174)
          to label %176 unwind label %181

176:                                              ; preds = %175
  %177 = load ptr, ptr %18, align 8, !tbaa !5
  store ptr %177, ptr %15, align 8, !tbaa !5
  call void @_ZN3JPH18ConstraintSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(112) %22) #11
  call void @llvm.lifetime.end.p0(i64 112, ptr %22) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #11
  br label %178

178:                                              ; preds = %176
  %179 = load i32, ptr %16, align 4, !tbaa !11
  %180 = add nsw i32 %179, 1
  store i32 %180, ptr %16, align 4, !tbaa !11
  br label %76, !llvm.loop !37

181:                                              ; preds = %175, %169
  %182 = landingpad { ptr, i32 }
          cleanup
  %183 = extractvalue { ptr, i32 } %182, 0
  store ptr %183, ptr %11, align 8
  %184 = extractvalue { ptr, i32 } %182, 1
  store i32 %184, ptr %12, align 4
  br label %185

185:                                              ; preds = %181, %165, %161
  call void @_ZN3JPH18ConstraintSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(112) %22) #11
  call void @llvm.lifetime.end.p0(i64 112, ptr %22) #11
  br label %186

186:                                              ; preds = %185, %160
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #11
  br label %191

187:                                              ; preds = %79
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #11
  br label %188

188:                                              ; preds = %187
  %189 = load i32, ptr %4, align 4, !tbaa !11
  %190 = add nsw i32 %189, 1
  store i32 %190, ptr %4, align 4, !tbaa !11
  br label %29, !llvm.loop !39

191:                                              ; preds = %186, %88
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #11
  br label %193

192:                                              ; preds = %32
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #11
  ret void

193:                                              ; preds = %191
  %194 = load ptr, ptr %11, align 8
  %195 = load i32, ptr %12, align 4
  %196 = insertvalue { ptr, i32 } poison, ptr %194, 0
  %197 = insertvalue { ptr, i32 } %196, i32 %195, 1
  resume { ptr, i32 } %197
}

declare noundef nonnull align 16 dereferenceable(122) ptr @_ZN4Test11CreateFloorEf(ptr noundef nonnull align 8 dereferenceable(112), float noundef) #2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Quat9sRotationENS_4Vec3Ef(double, double, float noundef) #3 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec36sAxisZEv() #3 align 2

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

declare noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(256)) #2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56), float noundef, float noundef, ptr noundef) unnamed_addr #1 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef) #5 align 2

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

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

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

declare void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122)) #7 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH26DistanceConstraintSettingsC2Ev(ptr noundef nonnull align 16 dereferenceable(112)) unnamed_addr #10 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH13PhysicsSystem13AddConstraintEPNS_10ConstraintE(ptr noundef nonnull align 16 dereferenceable(1172), ptr noundef) #1 align 2

declare noundef ptr @_ZNK3JPH26DistanceConstraintSettings6CreateERNS_4BodyES2_(ptr noundef nonnull align 16 dereferenceable(112), ptr noundef nonnull align 16 dereferenceable(122), ptr noundef nonnull align 16 dereferenceable(122)) unnamed_addr #2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { "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 = { 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 #4 = { 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 #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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { 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 #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { alwaysinline mustprogress nounwind 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 #10 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #11 = { 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, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !6, i64 24}
!14 = !{!"_ZTS4Test", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !15, i64 48, !16, i64 56}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTSSt13unordered_mapIN3JPH6BodyIDENSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S8_EEE", !17, i64 0}
!17 = !{!"_ZTSSt10_HashtableIN3JPH6BodyIDESt4pairIKS1_NSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEEESaISB_ENSt8__detail10_Select1stESt8equal_toIS1_ESt4hashIS1_ENSD_18_Mod_range_hashingENSD_20_Default_ranged_hashENSD_20_Prime_rehash_policyENSD_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !18, i64 8, !19, i64 16, !18, i64 24, !20, i64 32, !6, i64 48}
!18 = !{!"long", !7, i64 0}
!19 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!20 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !10, i64 0, !18, i64 8}
!21 = !{i64 0, i64 16, !22}
!22 = !{!7, !7, i64 0}
!23 = !{!24, !10, i64 80}
!24 = !{!"_ZTSN3JPH26DistanceConstraintSettingsE", !25, i64 0, !31, i64 40, !32, i64 48, !32, i64 64, !10, i64 80, !10, i64 84, !33, i64 88}
!25 = !{!"_ZTSN3JPH25TwoBodyConstraintSettingsE", !26, i64 0}
!26 = !{!"_ZTSN3JPH18ConstraintSettingsE", !27, i64 0, !28, i64 8, !15, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !10, i64 28, !18, i64 32}
!27 = !{!"_ZTSN3JPH18SerializableObjectE"}
!28 = !{!"_ZTSN3JPH9RefTargetINS_18ConstraintSettingsEEE", !29, i64 0}
!29 = !{!"_ZTSSt6atomicIjE", !30, i64 0}
!30 = !{!"_ZTSSt13__atomic_baseIjE", !12, i64 0}
!31 = !{!"_ZTSN3JPH16EConstraintSpaceE", !7, i64 0}
!32 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!33 = !{!"_ZTSN3JPH14SpringSettingsE", !34, i64 0, !7, i64 4, !10, i64 8}
!34 = !{!"_ZTSN3JPH11ESpringModeE", !7, i64 0}
!35 = !{!24, !10, i64 84}
!36 = !{!14, !6, i64 16}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = distinct !{!39, !38}


; 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::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.6", %"class.JPH::RefConst" }
%"class.JPH::Quat" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.4 }
%union.anon.4 = type { <4 x float> }
%"class.JPH::CollisionGroup" = type { %"class.JPH::RefConst.5", i32, i32 }
%"class.JPH::RefConst.5" = type { ptr }
%"class.JPH::MassProperties" = type { float, %"class.JPH::Mat44" }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::RefConst.6" = type { ptr }
%"class.JPH::RefConst" = type { ptr }
%"class.JPH::DistanceConstraintSettings" = type <{ %"class.JPH::TwoBodyConstraintSettings", i32, [4 x i8], %"class.JPH::Vec3", %"class.JPH::Vec3", float, float, %"class.JPH::SpringSettings", [12 x i8] }>
%"class.JPH::TwoBodyConstraintSettings" = type { %"class.JPH::ConstraintSettings" }
%"class.JPH::ConstraintSettings" = type { %"class.JPH::SerializableObject", %"class.JPH::RefTarget.10", i8, i32, i32, i32, float, i64 }
%"class.JPH::SerializableObject" = type { ptr }
%"class.JPH::RefTarget.10" = type { %"struct.std::atomic.7" }
%"struct.std::atomic.7" = type { %"struct.std::__atomic_base.8" }
%"struct.std::__atomic_base.8" = type { i32 }
%"class.JPH::SpringSettings" = type { i8, %union.anon.11, float }
%union.anon.11 = type { float }

; 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 uwtable
define dso_local void @_ZN22DistanceConstraintTest10InitializeEv(ptr noundef nonnull align 8 dereferenceable(112) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.JPH::Vec3", align 16
  %3 = alloca %"class.JPH::BodyCreationSettings", align 16
  %4 = alloca %"class.JPH::Vec3", align 16
  %5 = alloca %"class.JPH::BodyCreationSettings", align 16
  %6 = alloca %"class.JPH::DistanceConstraintSettings", align 16
  %7 = alloca %"class.JPH::Vec3", align 16
  %8 = alloca %"class.JPH::Vec3", align 16
  %9 = tail call noundef nonnull align 16 dereferenceable(122) ptr @_ZN4Test11CreateFloorEf(ptr noundef nonnull align 8 dereferenceable(112) %0, float noundef 2.000000e+02)
  %10 = getelementptr inbounds i8, ptr %0, i64 24
  %.sroa.213.0..sroa_idx = getelementptr inbounds i8, ptr %2, i64 8
  %11 = getelementptr inbounds i8, ptr %4, i64 8
  %12 = getelementptr inbounds i8, ptr %7, i64 8
  %13 = getelementptr inbounds i8, ptr %6, i64 48
  %.sroa.52.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 56
  %14 = getelementptr inbounds i8, ptr %8, i64 8
  %15 = getelementptr inbounds i8, ptr %6, i64 64
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 72
  %16 = getelementptr inbounds i8, ptr %6, i64 80
  %17 = getelementptr inbounds i8, ptr %0, i64 16
  %18 = tail call { double, double } @_ZN3JPH4Vec36sAxisZEv()
  %19 = extractvalue { double, double } %18, 0
  %20 = extractvalue { double, double } %18, 1
  %21 = tail call { double, double } @_ZN3JPH4Quat9sRotationENS_4Vec3Ef(double %19, double %20, float noundef 0x3FF921FB60000000)
  %22 = extractvalue { double, double } %21, 0
  %23 = extractvalue { double, double } %21, 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #9
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %2, float noundef 0.000000e+00, float noundef 7.500000e+01, float noundef 0.000000e+00)
  %24 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %3) #9
  %25 = call noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %25, float noundef 2.500000e+00, float noundef 1.000000e+00, ptr noundef null)
          to label %26 unwind label %76

26:                                               ; preds = %1
  %.sroa.012.0.copyload = load double, ptr %2, align 16
  %.sroa.213.0.copyload = load double, ptr %.sroa.213.0..sroa_idx, align 8, !tbaa !17
  call void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %3, ptr noundef nonnull %25, double %.sroa.012.0.copyload, double %.sroa.213.0.copyload, double %22, double %23, i8 noundef zeroext 0, i16 noundef zeroext 0)
  %27 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 16 dereferenceable(256) %3)
          to label %28 unwind label %78

28:                                               ; preds = %26
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %3) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %3) #9
  %29 = load ptr, ptr %10, align 8, !tbaa !5
  %30 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %27)
  call void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 4 dereferenceable(4) %30, i32 noundef 1)
  br label %81

31:                                               ; preds = %112
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #9
  %32 = call { double, double } @_ZN3JPH4Vec36sAxisZEv()
  %33 = extractvalue { double, double } %32, 0
  %34 = extractvalue { double, double } %32, 1
  %35 = call { double, double } @_ZN3JPH4Quat9sRotationENS_4Vec3Ef(double %33, double %34, float noundef 0x3FF921FB60000000)
  %36 = extractvalue { double, double } %35, 0
  %37 = extractvalue { double, double } %35, 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #9
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %2, float noundef 0.000000e+00, float noundef 7.500000e+01, float noundef 1.000000e+01)
  %38 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %3) #9
  %39 = call noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %39, float noundef 2.500000e+00, float noundef 1.000000e+00, ptr noundef null)
          to label %40 unwind label %76

40:                                               ; preds = %31
  %.sroa.012.0.copyload.1 = load double, ptr %2, align 16
  %.sroa.213.0.copyload.1 = load double, ptr %.sroa.213.0..sroa_idx, align 8, !tbaa !17
  call void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %3, ptr noundef nonnull %39, double %.sroa.012.0.copyload.1, double %.sroa.213.0.copyload.1, double %36, double %37, i8 noundef zeroext 0, i16 noundef zeroext 0)
  %41 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 16 dereferenceable(256) %3)
          to label %42 unwind label %78

42:                                               ; preds = %40
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %3) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %3) #9
  %43 = load ptr, ptr %10, align 8, !tbaa !5
  %44 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %41)
  call void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %43, ptr noundef nonnull align 4 dereferenceable(4) %44, i32 noundef 1)
  br label %45

45:                                               ; preds = %73, %42
  %.03758.1 = phi ptr [ %41, %42 ], [ %52, %73 ]
  %.03857.1 = phi i32 [ 1, %42 ], [ %74, %73 ]
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %4, float noundef 1.000000e+01, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %46 = load double, ptr %4, align 16
  %47 = load double, ptr %11, align 8
  %48 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZN3JPH4Vec3pLES0_(ptr noundef nonnull align 16 dereferenceable(16) %2, double %46, double %47)
  %49 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %5) #9
  %50 = call noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %50, float noundef 2.500000e+00, float noundef 1.000000e+00, ptr noundef null)
          to label %51 unwind label %.loopexit.split-lp

51:                                               ; preds = %45
  %.sroa.04.0.copyload.1 = load double, ptr %2, align 16
  %.sroa.25.0.copyload.1 = load double, ptr %.sroa.213.0..sroa_idx, align 8, !tbaa !17
  call void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %5, ptr noundef nonnull %50, double %.sroa.04.0.copyload.1, double %.sroa.25.0.copyload.1, double %36, double %37, i8 noundef zeroext 2, i16 noundef zeroext 1)
  %52 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %49, ptr noundef nonnull align 16 dereferenceable(256) %5)
          to label %53 unwind label %.loopexit.split-lp75

53:                                               ; preds = %51
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %5) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #9
  %54 = load ptr, ptr %10, align 8, !tbaa !5
  %55 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %52)
  call void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %54, ptr noundef nonnull align 4 dereferenceable(4) %55, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %6) #9
  call void @_ZN3JPH26DistanceConstraintSettingsC2Ev(ptr noundef nonnull align 16 dereferenceable(112) %6)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %7, float noundef 7.500000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %56 unwind label %.loopexit.split-lp80

56:                                               ; preds = %53
  %57 = load double, ptr %7, align 16
  %58 = load double, ptr %12, align 8
  %59 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %2, double %57, double %58)
          to label %60 unwind label %.loopexit.split-lp80

60:                                               ; preds = %56
  %61 = extractvalue { double, double } %59, 0
  %62 = extractvalue { double, double } %59, 1
  store double %61, ptr %13, align 16
  store double %62, ptr %.sroa.52.0..sroa_idx, align 8, !tbaa !17
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %8, float noundef 2.500000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %63 unwind label %.loopexit.split-lp85

63:                                               ; preds = %60
  %64 = load double, ptr %8, align 16
  %65 = load double, ptr %14, align 8
  %66 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %2, double %64, double %65)
          to label %67 unwind label %.loopexit.split-lp85

67:                                               ; preds = %63
  %68 = extractvalue { double, double } %66, 0
  %69 = extractvalue { double, double } %66, 1
  store double %68, ptr %15, align 16
  store double %69, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !17
  store <2 x float> <float 4.000000e+00, float 8.000000e+00>, ptr %16, align 16, !tbaa !18
  %70 = load ptr, ptr %17, align 8, !tbaa !19
  %71 = invoke noundef ptr @_ZNK3JPH26DistanceConstraintSettings6CreateERNS_4BodyES2_(ptr noundef nonnull align 16 dereferenceable(112) %6, ptr noundef nonnull align 16 dereferenceable(122) %.03758.1, ptr noundef nonnull align 16 dereferenceable(122) %52)
          to label %72 unwind label %.loopexit.split-lp90

72:                                               ; preds = %67
  invoke void @_ZN3JPH13PhysicsSystem13AddConstraintEPNS_10ConstraintE(ptr noundef nonnull align 16 dereferenceable(1172) %70, ptr noundef %71)
          to label %73 unwind label %.loopexit.split-lp90

73:                                               ; preds = %72
  call void @_ZN3JPH18ConstraintSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(112) %6) #9
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %6) #9
  %74 = add nuw nsw i32 %.03857.1, 1
  %exitcond.1.not = icmp eq i32 %74, 15
  br i1 %exitcond.1.not, label %75, label %45, !llvm.loop !20

75:                                               ; preds = %73
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #9
  ret void

76:                                               ; preds = %31, %1
  %.lcssa65 = phi ptr [ %25, %1 ], [ %39, %31 ]
  %77 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %.lcssa65) #9
  br label %80

78:                                               ; preds = %40, %26
  %79 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %3) #9
  br label %80

80:                                               ; preds = %78, %76
  %.pn = phi { ptr, i32 } [ %79, %78 ], [ %77, %76 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %3) #9
  br label %115

81:                                               ; preds = %28, %112
  %.03758 = phi ptr [ %27, %28 ], [ %88, %112 ]
  %.03857 = phi i32 [ 1, %28 ], [ %113, %112 ]
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %4, float noundef 1.000000e+01, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %82 = load double, ptr %4, align 16
  %83 = load double, ptr %11, align 8
  %84 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZN3JPH4Vec3pLES0_(ptr noundef nonnull align 16 dereferenceable(16) %2, double %82, double %83)
  %85 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %5) #9
  %86 = call noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef 56)
  invoke void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56) %86, float noundef 2.500000e+00, float noundef 1.000000e+00, ptr noundef null)
          to label %87 unwind label %.loopexit

87:                                               ; preds = %81
  %.sroa.04.0.copyload = load double, ptr %2, align 16
  %.sroa.25.0.copyload = load double, ptr %.sroa.213.0..sroa_idx, align 8, !tbaa !17
  call void @_ZN3JPH20BodyCreationSettingsC2EPKNS_5ShapeENS_4Vec3ENS_4QuatENS_11EMotionTypeEt(ptr noundef nonnull align 16 dereferenceable(256) %5, ptr noundef nonnull %86, double %.sroa.04.0.copyload, double %.sroa.25.0.copyload, double %22, double %23, i8 noundef zeroext 2, i16 noundef zeroext 1)
  %88 = invoke noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24) %85, ptr noundef nonnull align 16 dereferenceable(256) %5)
          to label %89 unwind label %.loopexit74

89:                                               ; preds = %87
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %5) #9
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #9
  %90 = load ptr, ptr %10, align 8, !tbaa !5
  %91 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %88)
  call void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %90, ptr noundef nonnull align 4 dereferenceable(4) %91, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %6) #9
  call void @_ZN3JPH26DistanceConstraintSettingsC2Ev(ptr noundef nonnull align 16 dereferenceable(112) %6)
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %7, float noundef 7.500000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %92 unwind label %.loopexit79

92:                                               ; preds = %89
  %93 = load double, ptr %7, align 16
  %94 = load double, ptr %12, align 8
  %95 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %2, double %93, double %94)
          to label %96 unwind label %.loopexit79

96:                                               ; preds = %92
  %97 = extractvalue { double, double } %95, 0
  %98 = extractvalue { double, double } %95, 1
  store double %97, ptr %13, align 16
  store double %98, ptr %.sroa.52.0..sroa_idx, align 8, !tbaa !17
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %8, float noundef 2.500000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %99 unwind label %.loopexit84

99:                                               ; preds = %96
  %100 = load double, ptr %8, align 16
  %101 = load double, ptr %14, align 8
  %102 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %2, double %100, double %101)
          to label %106 unwind label %.loopexit84

.loopexit:                                        ; preds = %81
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %103

.loopexit.split-lp:                               ; preds = %45
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %103

103:                                              ; preds = %.loopexit.split-lp, %.loopexit
  %.lcssa = phi ptr [ %86, %.loopexit ], [ %50, %.loopexit.split-lp ]
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef %.lcssa) #9
  br label %105

.loopexit74:                                      ; preds = %87
  %lpad.loopexit76 = landingpad { ptr, i32 }
          cleanup
  br label %104

.loopexit.split-lp75:                             ; preds = %51
  %lpad.loopexit.split-lp77 = landingpad { ptr, i32 }
          cleanup
  br label %104

104:                                              ; preds = %.loopexit.split-lp75, %.loopexit74
  %lpad.phi78 = phi { ptr, i32 } [ %lpad.loopexit76, %.loopexit74 ], [ %lpad.loopexit.split-lp77, %.loopexit.split-lp75 ]
  call void @_ZN3JPH20BodyCreationSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(256) %5) #9
  br label %105

105:                                              ; preds = %104, %103
  %.pn40 = phi { ptr, i32 } [ %lpad.phi78, %104 ], [ %lpad.phi, %103 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #9
  br label %115

.loopexit79:                                      ; preds = %89, %92
  %lpad.loopexit81 = landingpad { ptr, i32 }
          cleanup
  br label %114

.loopexit.split-lp80:                             ; preds = %53, %56
  %lpad.loopexit.split-lp82 = landingpad { ptr, i32 }
          cleanup
  br label %114

.loopexit84:                                      ; preds = %96, %99
  %lpad.loopexit86 = landingpad { ptr, i32 }
          cleanup
  br label %114

.loopexit.split-lp85:                             ; preds = %60, %63
  %lpad.loopexit.split-lp87 = landingpad { ptr, i32 }
          cleanup
  br label %114

106:                                              ; preds = %99
  %107 = extractvalue { double, double } %102, 0
  %108 = extractvalue { double, double } %102, 1
  store double %107, ptr %15, align 16
  store double %108, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !17
  %109 = load ptr, ptr %17, align 8, !tbaa !19
  %110 = invoke noundef ptr @_ZNK3JPH26DistanceConstraintSettings6CreateERNS_4BodyES2_(ptr noundef nonnull align 16 dereferenceable(112) %6, ptr noundef nonnull align 16 dereferenceable(122) %.03758, ptr noundef nonnull align 16 dereferenceable(122) %88)
          to label %111 unwind label %.loopexit89

111:                                              ; preds = %106
  invoke void @_ZN3JPH13PhysicsSystem13AddConstraintEPNS_10ConstraintE(ptr noundef nonnull align 16 dereferenceable(1172) %109, ptr noundef %110)
          to label %112 unwind label %.loopexit89

112:                                              ; preds = %111
  call void @_ZN3JPH18ConstraintSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(112) %6) #9
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %6) #9
  %113 = add nuw nsw i32 %.03857, 1
  %exitcond.not = icmp eq i32 %113, 15
  br i1 %exitcond.not, label %31, label %81, !llvm.loop !20

.loopexit89:                                      ; preds = %106, %111
  %lpad.loopexit91 = landingpad { ptr, i32 }
          cleanup
  br label %114

.loopexit.split-lp90:                             ; preds = %67, %72
  %lpad.loopexit.split-lp92 = landingpad { ptr, i32 }
          cleanup
  br label %114

114:                                              ; preds = %.loopexit89, %.loopexit.split-lp90, %.loopexit84, %.loopexit.split-lp85, %.loopexit79, %.loopexit.split-lp80
  %.pn42 = phi { ptr, i32 } [ %lpad.loopexit81, %.loopexit79 ], [ %lpad.loopexit.split-lp82, %.loopexit.split-lp80 ], [ %lpad.loopexit86, %.loopexit84 ], [ %lpad.loopexit.split-lp87, %.loopexit.split-lp85 ], [ %lpad.loopexit91, %.loopexit89 ], [ %lpad.loopexit.split-lp92, %.loopexit.split-lp90 ]
  call void @_ZN3JPH18ConstraintSettingsD2Ev(ptr noundef nonnull align 16 dereferenceable(112) %6) #9
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %6) #9
  br label %115

115:                                              ; preds = %105, %114, %80
  %.pn42.pn.pn = phi { ptr, i32 } [ %.pn, %80 ], [ %.pn42, %114 ], [ %.pn40, %105 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #9
  resume { ptr, i32 } %.pn42.pn.pn
}

declare noundef nonnull align 16 dereferenceable(122) ptr @_ZN4Test11CreateFloorEf(ptr noundef nonnull align 8 dereferenceable(112), float noundef) local_unnamed_addr #2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Quat9sRotationENS_4Vec3Ef(double, double, float noundef) local_unnamed_addr #3 align 2

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

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

declare noundef ptr @_ZN3JPH13BodyInterface10CreateBodyERKNS_20BodyCreationSettingsE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(256)) local_unnamed_addr #2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN3JPH12CapsuleShapenwEm(i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH12CapsuleShapeC2EffPKNS_15PhysicsMaterialE(ptr noundef nonnull align 8 dereferenceable(56), float noundef, float noundef, ptr noundef) unnamed_addr #1 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH12CapsuleShapedlEPv(ptr noundef) local_unnamed_addr #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 #1 align 2

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

declare void @_ZN3JPH13BodyInterface7AddBodyERKNS_6BodyIDENS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122)) local_unnamed_addr #6 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH13PhysicsSystem13AddConstraintEPNS_10ConstraintE(ptr noundef nonnull align 16 dereferenceable(1172), ptr noundef) local_unnamed_addr #1 align 2

declare noundef ptr @_ZNK3JPH26DistanceConstraintSettings6CreateERNS_4BodyES2_(ptr noundef nonnull align 16 dereferenceable(112), ptr noundef nonnull align 16 dereferenceable(122), ptr noundef nonnull align 16 dereferenceable(122)) unnamed_addr #2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 24}
!6 = !{!"_ZTS4Test", !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !10, i64 48, !11, i64 56}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"_ZTSSt13unordered_mapIN3JPH6BodyIDENSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S8_EEE", !12, i64 0}
!12 = !{!"_ZTSSt10_HashtableIN3JPH6BodyIDESt4pairIKS1_NSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEEESaISB_ENSt8__detail10_Select1stESt8equal_toIS1_ESt4hashIS1_ENSD_18_Mod_range_hashingENSD_20_Default_ranged_hashENSD_20_Prime_rehash_policyENSD_17_Hashtable_traitsILb1ELb0ELb1EEEE", !7, i64 0, !13, i64 8, !14, i64 16, !13, i64 24, !15, i64 32, !7, i64 48}
!13 = !{!"long", !8, i64 0}
!14 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !7, i64 0}
!15 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !16, i64 0, !13, i64 8}
!16 = !{!"float", !8, i64 0}
!17 = !{!8, !8, i64 0}
!18 = !{!16, !16, i64 0}
!19 = !{!6, !7, i64 16}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopUnrollPass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass