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

; 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::SliderConstraint" = type { %"class.JPH::TwoBodyConstraint", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Quat", i8, float, float, %"class.JPH::SpringSettings", float, %"class.JPH::MotorSettings", i32, float, float, %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", float, [12 x i8], %"class.JPH::DualAxisConstraintPart", %"class.JPH::RotationEulerConstraintPart", %"class.JPH::AxisConstraintPart", %"class.JPH::AxisConstraintPart" }
%"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::Quat" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.4 }
%union.anon.4 = type { <4 x float> }
%"class.JPH::SpringSettings" = type { i8, %union.anon.2, float }
%union.anon.2 = type { float }
%"class.JPH::MotorSettings" = type { %"class.JPH::SpringSettings", float, float, float, float }
%"class.JPH::DualAxisConstraintPart" = type <{ %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Matrix", %"class.JPH::Vector", [8 x i8] }>
%"class.JPH::Matrix" = type { [2 x %"class.JPH::Vector"] }
%"class.JPH::Vector" = type { [2 x float] }
%"class.JPH::RotationEulerConstraintPart" = type { %"class.JPH::Mat44", %"class.JPH::Mat44", %"class.JPH::Mat44", %"class.JPH::Vec3" }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"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 } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3JPH16SliderConstraint43CalculatePositionLimitsConstraintPropertiesEf(ptr noundef nonnull align 16 dereferenceable(832) %0, float noundef %1) #3 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca float, align 4
  %5 = alloca i8, align 1
  %6 = alloca %"class.JPH::Vec3", align 16
  %7 = alloca %"class.JPH::Vec3", align 16
  %8 = alloca %"class.JPH::Vec3", align 16
  %9 = alloca %"class.JPH::Vec3", align 16
  store ptr %0, ptr %3, align 8, !tbaa !5
  store float %1, ptr %4, align 4, !tbaa !9
  %10 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #6
  %11 = getelementptr inbounds %"class.JPH::SliderConstraint", ptr %10, i32 0, i32 22
  %12 = load float, ptr %11, align 16, !tbaa !11
  %13 = getelementptr inbounds %"class.JPH::SliderConstraint", ptr %10, i32 0, i32 8
  %14 = load float, ptr %13, align 4, !tbaa !36
  %15 = fcmp ole float %12, %14
  %16 = zext i1 %15 to i8
  store i8 %16, ptr %5, align 1, !tbaa !37
  %17 = getelementptr inbounds %"class.JPH::SliderConstraint", ptr %10, i32 0, i32 7
  %18 = load i8, ptr %17, align 16, !tbaa !38, !range !39, !noundef !40
  %19 = trunc i8 %18 to i1
  br i1 %19, label %20, label %77

20:                                               ; preds = %2
  %21 = load i8, ptr %5, align 1, !tbaa !37, !range !39, !noundef !40
  %22 = trunc i8 %21 to i1
  br i1 %22, label %29, label %23

23:                                               ; preds = %20
  %24 = getelementptr inbounds %"class.JPH::SliderConstraint", ptr %10, i32 0, i32 22
  %25 = load float, ptr %24, align 16, !tbaa !11
  %26 = getelementptr inbounds %"class.JPH::SliderConstraint", ptr %10, i32 0, i32 9
  %27 = load float, ptr %26, align 8, !tbaa !41
  %28 = fcmp oge float %25, %27
  br i1 %28, label %29, label %77

29:                                               ; preds = %23, %20
  %30 = getelementptr inbounds %"class.JPH::SliderConstraint", ptr %10, i32 0, i32 26
  %31 = load float, ptr %4, align 4, !tbaa !9
  %32 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %10, i32 0, i32 1
  %33 = load ptr, ptr %32, align 16, !tbaa !42
  %34 = getelementptr inbounds %"class.JPH::SliderConstraint", ptr %10, i32 0, i32 16
  %35 = getelementptr inbounds %"class.JPH::SliderConstraint", ptr %10, i32 0, i32 18
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 %35, i64 16, i1 false), !tbaa.struct !43
  %36 = getelementptr inbounds { double, double }, ptr %7, i32 0, i32 0
  %37 = load double, ptr %36, align 16
  %38 = getelementptr inbounds { double, double }, ptr %7, i32 0, i32 1
  %39 = load double, ptr %38, align 8
  %40 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %34, double %37, double %39)
  %41 = getelementptr inbounds %"class.JPH::Vec3", ptr %6, i32 0, i32 0
  %42 = getelementptr inbounds %union.anon, ptr %41, i32 0, i32 0
  %43 = getelementptr inbounds { double, double }, ptr %42, i32 0, i32 0
  %44 = extractvalue { double, double } %40, 0
  store double %44, ptr %43, align 16
  %45 = getelementptr inbounds { double, double }, ptr %42, i32 0, i32 1
  %46 = extractvalue { double, double } %40, 1
  store double %46, ptr %45, align 8
  %47 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %10, i32 0, i32 2
  %48 = load ptr, ptr %47, align 8, !tbaa !45
  %49 = getelementptr inbounds %"class.JPH::SliderConstraint", ptr %10, i32 0, i32 17
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 %49, i64 16, i1 false), !tbaa.struct !43
  %50 = getelementptr inbounds %"class.JPH::SliderConstraint", ptr %10, i32 0, i32 19
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 %50, i64 16, i1 false), !tbaa.struct !43
  %51 = getelementptr inbounds %"class.JPH::SliderConstraint", ptr %10, i32 0, i32 22
  %52 = load float, ptr %51, align 16, !tbaa !11
  %53 = load i8, ptr %5, align 1, !tbaa !37, !range !39, !noundef !40
  %54 = trunc i8 %53 to i1
  br i1 %54, label %55, label %58

55:                                               ; preds = %29
  %56 = getelementptr inbounds %"class.JPH::SliderConstraint", ptr %10, i32 0, i32 8
  %57 = load float, ptr %56, align 4, !tbaa !36
  br label %61

58:                                               ; preds = %29
  %59 = getelementptr inbounds %"class.JPH::SliderConstraint", ptr %10, i32 0, i32 9
  %60 = load float, ptr %59, align 8, !tbaa !41
  br label %61

61:                                               ; preds = %58, %55
  %62 = phi float [ %57, %55 ], [ %60, %58 ]
  %63 = fsub float %52, %62
  %64 = getelementptr inbounds %"class.JPH::SliderConstraint", ptr %10, i32 0, i32 10
  %65 = getelementptr inbounds { double, double }, ptr %6, i32 0, i32 0
  %66 = load double, ptr %65, align 16
  %67 = getelementptr inbounds { double, double }, ptr %6, i32 0, i32 1
  %68 = load double, ptr %67, align 8
  %69 = getelementptr inbounds { double, double }, ptr %8, i32 0, i32 0
  %70 = load double, ptr %69, align 16
  %71 = getelementptr inbounds { double, double }, ptr %8, i32 0, i32 1
  %72 = load double, ptr %71, align 8
  %73 = getelementptr inbounds { double, double }, ptr %9, i32 0, i32 0
  %74 = load double, ptr %73, align 16
  %75 = getelementptr inbounds { double, double }, ptr %9, i32 0, i32 1
  %76 = load double, ptr %75, align 8
  call void @_ZN3JPH18AxisConstraintPart41CalculateConstraintPropertiesWithSettingsEfRKNS_4BodyENS_4Vec3ES3_S4_S4_ffRKNS_14SpringSettingsE(ptr noundef nonnull align 4 dereferenceable(64) %30, float noundef %31, ptr noundef nonnull align 16 dereferenceable(122) %33, double %66, double %68, ptr noundef nonnull align 16 dereferenceable(122) %48, double %70, double %72, double %74, double %76, float noundef 0.000000e+00, float noundef %63, ptr noundef nonnull align 4 dereferenceable(12) %64)
  br label %79

77:                                               ; preds = %23, %2
  %78 = getelementptr inbounds %"class.JPH::SliderConstraint", ptr %10, i32 0, i32 26
  call void @_ZN3JPH18AxisConstraintPart10DeactivateEv(ptr noundef nonnull align 4 dereferenceable(64) %78)
  br label %79

79:                                               ; preds = %77, %61
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #6
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH18AxisConstraintPart41CalculateConstraintPropertiesWithSettingsEfRKNS_4BodyENS_4Vec3ES3_S4_S4_ffRKNS_14SpringSettingsE(ptr noundef nonnull align 4 dereferenceable(64), float noundef, ptr noundef nonnull align 16 dereferenceable(122), double, double, ptr noundef nonnull align 16 dereferenceable(122), double, double, double, double, float noundef, float noundef, ptr noundef nonnull align 4 dereferenceable(12)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH18AxisConstraintPart10DeactivateEv(ptr noundef nonnull align 4 dereferenceable(64)) #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 = { 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 = { 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 #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 = !{!12, !10, i64 320}
!12 = !{!"_ZTSN3JPH16SliderConstraintE", !13, i64 0, !21, i64 48, !21, i64 64, !21, i64 80, !21, i64 96, !21, i64 112, !22, i64 128, !19, i64 144, !10, i64 148, !10, i64 152, !24, i64 156, !10, i64 168, !26, i64 172, !27, i64 200, !10, i64 204, !10, i64 208, !21, i64 224, !21, i64 240, !21, i64 256, !21, i64 272, !21, i64 288, !21, i64 304, !10, i64 320, !28, i64 336, !31, i64 496, !33, i64 704, !33, i64 768}
!13 = !{!"_ZTSN3JPH17TwoBodyConstraintE", !14, i64 0, !6, i64 32, !6, i64 40}
!14 = !{!"_ZTSN3JPH10ConstraintE", !15, i64 8, !18, i64 12, !18, i64 16, !7, i64 20, !7, i64 21, !19, i64 22, !20, i64 24}
!15 = !{!"_ZTSN3JPH9RefTargetINS_10ConstraintEEE", !16, i64 0}
!16 = !{!"_ZTSSt6atomicIjE", !17, i64 0}
!17 = !{!"_ZTSSt13__atomic_baseIjE", !18, i64 0}
!18 = !{!"int", !7, i64 0}
!19 = !{!"bool", !7, i64 0}
!20 = !{!"long", !7, i64 0}
!21 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!22 = !{!"_ZTSN3JPH4QuatE", !23, i64 0}
!23 = !{!"_ZTSN3JPH4Vec4E", !7, i64 0}
!24 = !{!"_ZTSN3JPH14SpringSettingsE", !25, i64 0, !7, i64 4, !10, i64 8}
!25 = !{!"_ZTSN3JPH11ESpringModeE", !7, i64 0}
!26 = !{!"_ZTSN3JPH13MotorSettingsE", !24, i64 0, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24}
!27 = !{!"_ZTSN3JPH11EMotorStateE", !7, i64 0}
!28 = !{!"_ZTSN3JPH22DualAxisConstraintPartE", !21, i64 0, !21, i64 16, !21, i64 32, !21, i64 48, !21, i64 64, !21, i64 80, !21, i64 96, !21, i64 112, !29, i64 128, !30, i64 144}
!29 = !{!"_ZTSN3JPH6MatrixILj2ELj2EEE", !7, i64 0}
!30 = !{!"_ZTSN3JPH6VectorILj2EEE", !7, i64 0}
!31 = !{!"_ZTSN3JPH27RotationEulerConstraintPartE", !32, i64 0, !32, i64 64, !32, i64 128, !21, i64 192}
!32 = !{!"_ZTSN3JPH5Mat44E", !7, i64 0}
!33 = !{!"_ZTSN3JPH18AxisConstraintPartE", !34, i64 0, !34, i64 12, !34, i64 24, !34, i64 36, !10, i64 48, !35, i64 52, !10, i64 60}
!34 = !{!"_ZTSN3JPH6Float3E", !10, i64 0, !10, i64 4, !10, i64 8}
!35 = !{!"_ZTSN3JPH10SpringPartE", !10, i64 0, !10, i64 4}
!36 = !{!12, !10, i64 148}
!37 = !{!19, !19, i64 0}
!38 = !{!12, !19, i64 144}
!39 = !{i8 0, i8 2}
!40 = !{}
!41 = !{!12, !10, i64 152}
!42 = !{!13, !6, i64 32}
!43 = !{i64 0, i64 16, !44}
!44 = !{!7, !7, i64 0}
!45 = !{!13, !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"

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3JPH16SliderConstraint43CalculatePositionLimitsConstraintPropertiesEf(ptr noundef nonnull align 16 dereferenceable(832) %0, float noundef %1) local_unnamed_addr #1 align 2 {
  %3 = getelementptr inbounds i8, ptr %0, i64 320
  %4 = load float, ptr %3, align 16, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 148
  %6 = load float, ptr %5, align 4, !tbaa !34
  %7 = fcmp ugt float %4, %6
  %8 = getelementptr inbounds i8, ptr %0, i64 144
  %9 = load i8, ptr %8, align 16, !tbaa !35, !range !36, !noundef !37
  %10 = trunc nuw i8 %9 to i1
  br i1 %10, label %11, label %32

11:                                               ; preds = %2
  %12 = getelementptr inbounds i8, ptr %0, i64 152
  %13 = load float, ptr %12, align 8
  %14 = fcmp ult float %4, %13
  %or.cond = select i1 %7, i1 %14, i1 false
  br i1 %or.cond, label %32, label %15

15:                                               ; preds = %11
  %16 = getelementptr inbounds i8, ptr %0, i64 704
  %17 = getelementptr inbounds i8, ptr %0, i64 32
  %18 = load ptr, ptr %17, align 16, !tbaa !38
  %19 = getelementptr inbounds i8, ptr %0, i64 224
  %20 = getelementptr inbounds i8, ptr %0, i64 256
  %.sroa.03.0.copyload = load double, ptr %20, align 16
  %.sroa.24.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 264
  %.sroa.24.0.copyload = load double, ptr %.sroa.24.0..sroa_idx, align 8, !tbaa !39
  %21 = tail call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %19, double %.sroa.03.0.copyload, double %.sroa.24.0.copyload)
  %22 = extractvalue { double, double } %21, 0
  %23 = extractvalue { double, double } %21, 1
  %24 = getelementptr inbounds i8, ptr %0, i64 40
  %25 = load ptr, ptr %24, align 8, !tbaa !40
  %26 = getelementptr inbounds i8, ptr %0, i64 240
  %.sroa.01.0.copyload = load double, ptr %26, align 16
  %.sroa.22.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 248
  %.sroa.22.0.copyload = load double, ptr %.sroa.22.0..sroa_idx, align 8, !tbaa !39
  %27 = getelementptr inbounds i8, ptr %0, i64 272
  %.sroa.0.0.copyload = load double, ptr %27, align 16
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 280
  %.sroa.2.0.copyload = load double, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !39
  %28 = load float, ptr %3, align 16, !tbaa !5
  %.val = load float, ptr %12, align 8
  %.val11 = load float, ptr %5, align 4
  %29 = select i1 %7, float %.val, float %.val11
  %30 = fsub float %28, %29
  %31 = getelementptr inbounds i8, ptr %0, i64 156
  tail call void @_ZN3JPH18AxisConstraintPart41CalculateConstraintPropertiesWithSettingsEfRKNS_4BodyENS_4Vec3ES3_S4_S4_ffRKNS_14SpringSettingsE(ptr noundef nonnull align 4 dereferenceable(64) %16, float noundef %1, ptr noundef nonnull align 16 dereferenceable(122) %18, double %22, double %23, ptr noundef nonnull align 16 dereferenceable(122) %25, double %.sroa.01.0.copyload, double %.sroa.22.0.copyload, double %.sroa.0.0.copyload, double %.sroa.2.0.copyload, float noundef 0.000000e+00, float noundef %30, ptr noundef nonnull align 4 dereferenceable(12) %31)
  br label %34

32:                                               ; preds = %11, %2
  %33 = getelementptr inbounds i8, ptr %0, i64 704
  tail call void @_ZN3JPH18AxisConstraintPart10DeactivateEv(ptr noundef nonnull align 4 dereferenceable(64) %33)
  br label %34

34:                                               ; preds = %32, %15
  ret void
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH18AxisConstraintPart10DeactivateEv(ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #3 align 2

attributes #0 = { 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 #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 = { 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 #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" }

!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, !21, i64 320}
!6 = !{!"_ZTSN3JPH16SliderConstraintE", !7, i64 0, !18, i64 48, !18, i64 64, !18, i64 80, !18, i64 96, !18, i64 112, !19, i64 128, !15, i64 144, !21, i64 148, !21, i64 152, !22, i64 156, !21, i64 168, !24, i64 172, !25, i64 200, !21, i64 204, !21, i64 208, !18, i64 224, !18, i64 240, !18, i64 256, !18, i64 272, !18, i64 288, !18, i64 304, !21, i64 320, !26, i64 336, !29, i64 496, !31, i64 704, !31, i64 768}
!7 = !{!"_ZTSN3JPH17TwoBodyConstraintE", !8, i64 0, !17, i64 32, !17, i64 40}
!8 = !{!"_ZTSN3JPH10ConstraintE", !9, i64 8, !12, i64 12, !12, i64 16, !13, i64 20, !13, i64 21, !15, i64 22, !16, i64 24}
!9 = !{!"_ZTSN3JPH9RefTargetINS_10ConstraintEEE", !10, i64 0}
!10 = !{!"_ZTSSt6atomicIjE", !11, i64 0}
!11 = !{!"_ZTSSt13__atomic_baseIjE", !12, i64 0}
!12 = !{!"int", !13, i64 0}
!13 = !{!"omnipotent char", !14, i64 0}
!14 = !{!"Simple C++ TBAA"}
!15 = !{!"bool", !13, i64 0}
!16 = !{!"long", !13, i64 0}
!17 = !{!"any pointer", !13, i64 0}
!18 = !{!"_ZTSN3JPH4Vec3E", !13, i64 0}
!19 = !{!"_ZTSN3JPH4QuatE", !20, i64 0}
!20 = !{!"_ZTSN3JPH4Vec4E", !13, i64 0}
!21 = !{!"float", !13, i64 0}
!22 = !{!"_ZTSN3JPH14SpringSettingsE", !23, i64 0, !13, i64 4, !21, i64 8}
!23 = !{!"_ZTSN3JPH11ESpringModeE", !13, i64 0}
!24 = !{!"_ZTSN3JPH13MotorSettingsE", !22, i64 0, !21, i64 12, !21, i64 16, !21, i64 20, !21, i64 24}
!25 = !{!"_ZTSN3JPH11EMotorStateE", !13, i64 0}
!26 = !{!"_ZTSN3JPH22DualAxisConstraintPartE", !18, i64 0, !18, i64 16, !18, i64 32, !18, i64 48, !18, i64 64, !18, i64 80, !18, i64 96, !18, i64 112, !27, i64 128, !28, i64 144}
!27 = !{!"_ZTSN3JPH6MatrixILj2ELj2EEE", !13, i64 0}
!28 = !{!"_ZTSN3JPH6VectorILj2EEE", !13, i64 0}
!29 = !{!"_ZTSN3JPH27RotationEulerConstraintPartE", !30, i64 0, !30, i64 64, !30, i64 128, !18, i64 192}
!30 = !{!"_ZTSN3JPH5Mat44E", !13, i64 0}
!31 = !{!"_ZTSN3JPH18AxisConstraintPartE", !32, i64 0, !32, i64 12, !32, i64 24, !32, i64 36, !21, i64 48, !33, i64 52, !21, i64 60}
!32 = !{!"_ZTSN3JPH6Float3E", !21, i64 0, !21, i64 4, !21, i64 8}
!33 = !{!"_ZTSN3JPH10SpringPartE", !21, i64 0, !21, i64 4}
!34 = !{!6, !21, i64 148}
!35 = !{!6, !15, i64 144}
!36 = !{i8 0, i8 2}
!37 = !{}
!38 = !{!7, !17, i64 32}
!39 = !{!13, !13, i64 0}
!40 = !{!7, !17, i64 40}


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