; LLVM IR from jrouwe/JoltPhysics :: Jolt/Physics/Constraints (DistanceConstraint)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::DistanceConstraint" = type <{ %"class.JPH::TwoBodyConstraint", %"class.JPH::Vec3", %"class.JPH::Vec3", float, float, %"class.JPH::SpringSettings", [12 x i8], %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", float, float, %"class.JPH::AxisConstraintPart", [8 x i8] }>
%"class.JPH::TwoBodyConstraint" = type { %"class.JPH::Constraint", ptr, ptr }
%"class.JPH::Constraint" = type { ptr, %"class.JPH::RefTarget.3", i32, i32, i8, i8, i8, i64 }
%"class.JPH::RefTarget.3" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.JPH::SpringSettings" = type { i8, %union.anon.2, float }
%union.anon.2 = type { float }
%"class.JPH::AxisConstraintPart" = type { %"class.JPH::Float3", %"class.JPH::Float3", %"class.JPH::Float3", %"class.JPH::Float3", float, %"class.JPH::SpringPart", float }
%"class.JPH::Float3" = type { float, float, float }
%"class.JPH::SpringPart" = type { float, float }

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH18DistanceConstraint29CalculateConstraintPropertiesEf(ptr noundef nonnull align 16 dereferenceable(240), float noundef) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN3JPH18DistanceConstraint23SolvePositionConstraintEff(ptr noundef nonnull align 16 dereferenceable(240) %0, float noundef %1, float noundef %2) unnamed_addr #3 align 2 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca %"class.JPH::Vec3", align 16
  %10 = alloca %"class.JPH::Vec3", align 16
  %11 = alloca %"class.JPH::Vec3", align 16
  %12 = alloca float, align 4
  %13 = alloca %"class.JPH::Vec3", align 16
  %14 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store float %1, ptr %6, align 4, !tbaa !9
  store float %2, ptr %7, align 4, !tbaa !9
  %15 = load ptr, ptr %5, align 8
  %16 = getelementptr inbounds %"class.JPH::DistanceConstraint", ptr %15, i32 0, i32 5
  %17 = getelementptr inbounds %"class.JPH::SpringSettings", ptr %16, i32 0, i32 1
  %18 = load float, ptr %17, align 4, !tbaa !11
  %19 = fcmp ole float %18, 0.000000e+00
  br i1 %19, label %20, label %82

20:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #6
  %21 = getelementptr inbounds %"class.JPH::DistanceConstraint", ptr %15, i32 0, i32 8
  %22 = getelementptr inbounds %"class.JPH::DistanceConstraint", ptr %15, i32 0, i32 7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 %22, i64 16, i1 false), !tbaa.struct !12
  %23 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 0
  %24 = load double, ptr %23, align 16
  %25 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 1
  %26 = load double, ptr %25, align 8
  %27 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %21, double %24, double %26)
  %28 = getelementptr inbounds %"class.JPH::Vec3", ptr %9, i32 0, i32 0
  %29 = getelementptr inbounds %union.anon, ptr %28, i32 0, i32 0
  %30 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 0
  %31 = extractvalue { double, double } %27, 0
  store double %31, ptr %30, align 16
  %32 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 1
  %33 = extractvalue { double, double } %27, 1
  store double %33, ptr %32, align 8
  %34 = getelementptr inbounds %"class.JPH::DistanceConstraint", ptr %15, i32 0, i32 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 %34, i64 16, i1 false), !tbaa.struct !12
  %35 = getelementptr inbounds { double, double }, ptr %11, i32 0, i32 0
  %36 = load double, ptr %35, align 16
  %37 = getelementptr inbounds { double, double }, ptr %11, i32 0, i32 1
  %38 = load double, ptr %37, align 8
  %39 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %9, double %36, double %38)
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #6
  store float %39, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store float 0.000000e+00, ptr %12, align 4, !tbaa !9
  %40 = load float, ptr %8, align 4, !tbaa !9
  %41 = getelementptr inbounds %"class.JPH::DistanceConstraint", ptr %15, i32 0, i32 3
  %42 = load float, ptr %41, align 16, !tbaa !13
  %43 = fcmp olt float %40, %42
  br i1 %43, label %44, label %49

44:                                               ; preds = %20
  %45 = load float, ptr %8, align 4, !tbaa !9
  %46 = getelementptr inbounds %"class.JPH::DistanceConstraint", ptr %15, i32 0, i32 3
  %47 = load float, ptr %46, align 16, !tbaa !13
  %48 = fsub float %45, %47
  store float %48, ptr %12, align 4, !tbaa !9
  br label %60

49:                                               ; preds = %20
  %50 = load float, ptr %8, align 4, !tbaa !9
  %51 = getelementptr inbounds %"class.JPH::DistanceConstraint", ptr %15, i32 0, i32 4
  %52 = load float, ptr %51, align 4, !tbaa !29
  %53 = fcmp ogt float %50, %52
  br i1 %53, label %54, label %59

54:                                               ; preds = %49
  %55 = load float, ptr %8, align 4, !tbaa !9
  %56 = getelementptr inbounds %"class.JPH::DistanceConstraint", ptr %15, i32 0, i32 4
  %57 = load float, ptr %56, align 4, !tbaa !29
  %58 = fsub float %55, %57
  store float %58, ptr %12, align 4, !tbaa !9
  br label %59

59:                                               ; preds = %54, %49
  br label %60

60:                                               ; preds = %59, %44
  %61 = load float, ptr %12, align 4, !tbaa !9
  %62 = fcmp une float %61, 0.000000e+00
  br i1 %62, label %63, label %78

63:                                               ; preds = %60
  %64 = load float, ptr %6, align 4, !tbaa !9
  call void @_ZN3JPH18DistanceConstraint29CalculateConstraintPropertiesEf(ptr noundef nonnull align 16 dereferenceable(240) %15, float noundef %64)
  %65 = getelementptr inbounds %"class.JPH::DistanceConstraint", ptr %15, i32 0, i32 12
  %66 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %15, i32 0, i32 1
  %67 = load ptr, ptr %66, align 16, !tbaa !30
  %68 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %15, i32 0, i32 2
  %69 = load ptr, ptr %68, align 8, !tbaa !31
  %70 = getelementptr inbounds %"class.JPH::DistanceConstraint", ptr %15, i32 0, i32 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %13, ptr align 16 %70, i64 16, i1 false), !tbaa.struct !12
  %71 = load float, ptr %12, align 4, !tbaa !9
  %72 = load float, ptr %7, align 4, !tbaa !9
  %73 = getelementptr inbounds { double, double }, ptr %13, i32 0, i32 0
  %74 = load double, ptr %73, align 16
  %75 = getelementptr inbounds { double, double }, ptr %13, i32 0, i32 1
  %76 = load double, ptr %75, align 8
  %77 = call noundef zeroext i1 @_ZNK3JPH18AxisConstraintPart23SolvePositionConstraintERNS_4BodyES2_NS_4Vec3Eff(ptr noundef nonnull align 4 dereferenceable(64) %65, ptr noundef nonnull align 16 dereferenceable(122) %67, ptr noundef nonnull align 16 dereferenceable(122) %69, double %74, double %76, float noundef %71, float noundef %72)
  store i1 %77, ptr %4, align 1
  store i32 1, ptr %14, align 4
  br label %79

78:                                               ; preds = %60
  store i32 0, ptr %14, align 4
  br label %79

79:                                               ; preds = %78, %63
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  %80 = load i32, ptr %14, align 4
  switch i32 %80, label %85 [
    i32 0, label %81
    i32 1, label %83
  ]

81:                                               ; preds = %79
  br label %82

82:                                               ; preds = %81, %3
  store i1 false, ptr %4, align 1
  br label %83

83:                                               ; preds = %82, %79
  %84 = load i1, ptr %4, align 1
  ret i1 %84

85:                                               ; preds = %79
  unreachable
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH18AxisConstraintPart23SolvePositionConstraintERNS_4BodyES2_NS_4Vec3Eff(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(122), ptr noundef nonnull align 16 dereferenceable(122), double, double, float noundef, float noundef) #5 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !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 = !{!7, !7, i64 0}
!12 = !{i64 0, i64 16, !11}
!13 = !{!14, !10, i64 80}
!14 = !{!"_ZTSN3JPH18DistanceConstraintE", !15, i64 0, !23, i64 48, !23, i64 64, !10, i64 80, !10, i64 84, !24, i64 88, !23, i64 112, !23, i64 128, !23, i64 144, !10, i64 160, !10, i64 164, !26, i64 168}
!15 = !{!"_ZTSN3JPH17TwoBodyConstraintE", !16, i64 0, !6, i64 32, !6, i64 40}
!16 = !{!"_ZTSN3JPH10ConstraintE", !17, i64 8, !20, i64 12, !20, i64 16, !7, i64 20, !7, i64 21, !21, i64 22, !22, i64 24}
!17 = !{!"_ZTSN3JPH9RefTargetINS_10ConstraintEEE", !18, i64 0}
!18 = !{!"_ZTSSt6atomicIjE", !19, i64 0}
!19 = !{!"_ZTSSt13__atomic_baseIjE", !20, i64 0}
!20 = !{!"int", !7, i64 0}
!21 = !{!"bool", !7, i64 0}
!22 = !{!"long", !7, i64 0}
!23 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!24 = !{!"_ZTSN3JPH14SpringSettingsE", !25, i64 0, !7, i64 4, !10, i64 8}
!25 = !{!"_ZTSN3JPH11ESpringModeE", !7, i64 0}
!26 = !{!"_ZTSN3JPH18AxisConstraintPartE", !27, i64 0, !27, i64 12, !27, i64 24, !27, i64 36, !10, i64 48, !28, i64 52, !10, i64 60}
!27 = !{!"_ZTSN3JPH6Float3E", !10, i64 0, !10, i64 4, !10, i64 8}
!28 = !{!"_ZTSN3JPH10SpringPartE", !10, i64 0, !10, i64 4}
!29 = !{!14, !10, i64 84}
!30 = !{!15, !6, i64 32}
!31 = !{!15, !6, i64 40}


; 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> }

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3JPH18DistanceConstraint29CalculateConstraintPropertiesEf(ptr noundef nonnull align 16 dereferenceable(240), float noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN3JPH18DistanceConstraint23SolvePositionConstraintEff(ptr noundef nonnull align 16 dereferenceable(240) %0, float noundef %1, float noundef %2) unnamed_addr #2 align 2 {
  %4 = alloca %"class.JPH::Vec3", align 16
  %5 = getelementptr inbounds i8, ptr %0, i64 92
  %6 = load float, ptr %5, align 4, !tbaa !5
  %7 = fcmp ugt float %6, 0.000000e+00
  br i1 %7, label %.thread21, label %8

8:                                                ; preds = %3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  %9 = getelementptr inbounds i8, ptr %0, i64 128
  %10 = getelementptr inbounds i8, ptr %0, i64 112
  %.sroa.04.0.copyload = load double, ptr %10, align 16
  %.sroa.25.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 120
  %.sroa.25.0.copyload = load double, ptr %.sroa.25.0..sroa_idx, align 8, !tbaa !5
  %11 = tail call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %9, double %.sroa.04.0.copyload, double %.sroa.25.0.copyload)
  %12 = extractvalue { double, double } %11, 0
  store double %12, ptr %4, align 16
  %13 = getelementptr inbounds i8, ptr %4, i64 8
  %14 = extractvalue { double, double } %11, 1
  store double %14, ptr %13, align 8
  %15 = getelementptr inbounds i8, ptr %0, i64 144
  %.sroa.02.0.copyload = load double, ptr %15, align 16
  %.sroa.23.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 152
  %.sroa.23.0.copyload = load double, ptr %.sroa.23.0..sroa_idx, align 8, !tbaa !5
  %16 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %4, double %.sroa.02.0.copyload, double %.sroa.23.0.copyload)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  %17 = getelementptr inbounds i8, ptr %0, i64 80
  %18 = load float, ptr %17, align 16, !tbaa !8
  %19 = fcmp olt float %16, %18
  br i1 %19, label %24, label %20

20:                                               ; preds = %8
  %21 = getelementptr inbounds i8, ptr %0, i64 84
  %22 = load float, ptr %21, align 4, !tbaa !26
  %23 = fcmp ogt float %16, %22
  br i1 %23, label %24, label %.thread21

24:                                               ; preds = %20, %8
  %.pn = phi float [ %18, %8 ], [ %22, %20 ]
  %.015 = fsub float %16, %.pn
  %25 = fcmp une float %.015, 0.000000e+00
  br i1 %25, label %26, label %.thread21

26:                                               ; preds = %24
  call void @_ZN3JPH18DistanceConstraint29CalculateConstraintPropertiesEf(ptr noundef nonnull align 16 dereferenceable(240) %0, float noundef %1)
  %27 = getelementptr inbounds i8, ptr %0, i64 168
  %28 = getelementptr inbounds i8, ptr %0, i64 32
  %29 = load ptr, ptr %28, align 16, !tbaa !27
  %30 = getelementptr inbounds i8, ptr %0, i64 40
  %31 = load ptr, ptr %30, align 8, !tbaa !28
  %.sroa.0.0.copyload = load double, ptr %15, align 16
  %.sroa.2.0.copyload = load double, ptr %.sroa.23.0..sroa_idx, align 8, !tbaa !5
  %32 = call noundef zeroext i1 @_ZNK3JPH18AxisConstraintPart23SolvePositionConstraintERNS_4BodyES2_NS_4Vec3Eff(ptr noundef nonnull align 4 dereferenceable(64) %27, ptr noundef nonnull align 16 dereferenceable(122) %29, ptr noundef nonnull align 16 dereferenceable(122) %31, double %.sroa.0.0.copyload, double %.sroa.2.0.copyload, float noundef %.015, float noundef %2)
  br label %.thread21

.thread21:                                        ; preds = %20, %24, %3, %26
  %.1 = phi i1 [ %32, %26 ], [ false, %3 ], [ false, %24 ], [ false, %20 ]
  ret i1 %.1
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH18AxisConstraintPart23SolvePositionConstraintERNS_4BodyES2_NS_4Vec3Eff(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(122), ptr noundef nonnull align 16 dereferenceable(122), double, double, float noundef, float noundef) local_unnamed_addr #4 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="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 #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !20, i64 80}
!9 = !{!"_ZTSN3JPH18DistanceConstraintE", !10, i64 0, !19, i64 48, !19, i64 64, !20, i64 80, !20, i64 84, !21, i64 88, !19, i64 112, !19, i64 128, !19, i64 144, !20, i64 160, !20, i64 164, !23, i64 168}
!10 = !{!"_ZTSN3JPH17TwoBodyConstraintE", !11, i64 0, !18, i64 32, !18, i64 40}
!11 = !{!"_ZTSN3JPH10ConstraintE", !12, i64 8, !15, i64 12, !15, i64 16, !6, i64 20, !6, i64 21, !16, i64 22, !17, i64 24}
!12 = !{!"_ZTSN3JPH9RefTargetINS_10ConstraintEEE", !13, i64 0}
!13 = !{!"_ZTSSt6atomicIjE", !14, i64 0}
!14 = !{!"_ZTSSt13__atomic_baseIjE", !15, i64 0}
!15 = !{!"int", !6, i64 0}
!16 = !{!"bool", !6, i64 0}
!17 = !{!"long", !6, i64 0}
!18 = !{!"any pointer", !6, i64 0}
!19 = !{!"_ZTSN3JPH4Vec3E", !6, i64 0}
!20 = !{!"float", !6, i64 0}
!21 = !{!"_ZTSN3JPH14SpringSettingsE", !22, i64 0, !6, i64 4, !20, i64 8}
!22 = !{!"_ZTSN3JPH11ESpringModeE", !6, i64 0}
!23 = !{!"_ZTSN3JPH18AxisConstraintPartE", !24, i64 0, !24, i64 12, !24, i64 24, !24, i64 36, !20, i64 48, !25, i64 52, !20, i64 60}
!24 = !{!"_ZTSN3JPH6Float3E", !20, i64 0, !20, i64 4, !20, i64 8}
!25 = !{!"_ZTSN3JPH10SpringPartE", !20, i64 0, !20, i64 4}
!26 = !{!9, !20, i64 84}
!27 = !{!10, !18, i64 32}
!28 = !{!10, !18, i64 40}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass,TailCallElimPass