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

; 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::SixDOFConstraint" = type { %"class.JPH::TwoBodyConstraint", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Quat", %"class.JPH::Quat", i8, i8, i8, i8, i8, i8, [6 x float], [6 x float], [3 x %"class.JPH::SpringSettings"], [6 x %"class.JPH::MotorSettings"], [6 x float], [6 x i32], %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Quat", [3 x %"class.JPH::Vec3"], [3 x %"class.JPH::Vec3"], [3 x float], [3 x %"class.JPH::AxisConstraintPart"], %"class.JPH::PointConstraintPart", %"class.JPH::SwingTwistConstraintPart", %"class.JPH::RotationEulerConstraintPart", [3 x %"class.JPH::AxisConstraintPart"], [3 x %"class.JPH::AngleConstraintPart"] }
%"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::MotorSettings" = type { %"class.JPH::SpringSettings", float, float, float, float }
%"class.JPH::Quat" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.4 }
%union.anon.4 = type { <4 x float> }
%"class.JPH::PointConstraintPart" = type { %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Mat44", %"class.JPH::Mat44", %"class.JPH::Mat44", %"class.JPH::Vec3" }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::SwingTwistConstraintPart" = type { i8, i8, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::AngleConstraintPart", %"class.JPH::AngleConstraintPart", %"class.JPH::AngleConstraintPart" }
%"class.JPH::AngleConstraintPart" = type { %"class.JPH::Vec3", %"class.JPH::Vec3", float, %"class.JPH::SpringPart", float }
%"class.JPH::SpringPart" = type { float, float }
%"class.JPH::RotationEulerConstraintPart" = type { %"class.JPH::Mat44", %"class.JPH::Mat44", %"class.JPH::Mat44", %"class.JPH::Vec3" }
%"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 }

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH16SixDOFConstraint29IsTranslationFullyConstrainedEv(ptr noundef nonnull align 16 dereferenceable(1856)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH16SixDOFConstraint24IsTranslationConstrainedEv(ptr noundef nonnull align 16 dereferenceable(1856)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH16SixDOFConstraint26IsRotationFullyConstrainedEv(ptr noundef nonnull align 16 dereferenceable(1856)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH16SixDOFConstraint21IsRotationConstrainedEv(ptr noundef nonnull align 16 dereferenceable(1856)) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3JPH16SixDOFConstraint27WarmStartVelocityConstraintEf(ptr noundef nonnull align 16 dereferenceable(1856) %0, float noundef %1) unnamed_addr #3 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca float, align 4
  %5 = alloca i32, align 4
  %6 = alloca %"class.JPH::Vec3", align 16
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.JPH::Vec3", align 16
  store ptr %0, ptr %3, align 8, !tbaa !5
  store float %1, ptr %4, align 4, !tbaa !9
  %13 = load ptr, ptr %3, align 8
  %14 = getelementptr inbounds %"class.JPH::SixDOFConstraint", ptr %13, i32 0, i32 7
  %15 = load i8, ptr %14, align 2, !tbaa !11, !range !31, !noundef !32
  %16 = trunc i8 %15 to i1
  br i1 %16, label %17, label %51

17:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 0, ptr %5, align 4, !tbaa !33
  br label %18

18:                                               ; preds = %47, %17
  %19 = load i32, ptr %5, align 4, !tbaa !33
  %20 = icmp slt i32 %19, 3
  br i1 %20, label %22, label %21

21:                                               ; preds = %18
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %50

22:                                               ; preds = %18
  %23 = getelementptr inbounds %"class.JPH::SixDOFConstraint", ptr %13, i32 0, i32 28
  %24 = load i32, ptr %5, align 4, !tbaa !33
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [3 x %"class.JPH::AxisConstraintPart"], ptr %23, i64 0, i64 %25
  %27 = call noundef zeroext i1 @_ZNK3JPH18AxisConstraintPart8IsActiveEv(ptr noundef nonnull align 4 dereferenceable(64) %26)
  br i1 %27, label %28, label %46

28:                                               ; preds = %22
  %29 = getelementptr inbounds %"class.JPH::SixDOFConstraint", ptr %13, i32 0, i32 28
  %30 = load i32, ptr %5, align 4, !tbaa !33
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [3 x %"class.JPH::AxisConstraintPart"], ptr %29, i64 0, i64 %31
  %33 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %13, i32 0, i32 1
  %34 = load ptr, ptr %33, align 16, !tbaa !34
  %35 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %13, i32 0, i32 2
  %36 = load ptr, ptr %35, align 8, !tbaa !35
  %37 = getelementptr inbounds %"class.JPH::SixDOFConstraint", ptr %13, i32 0, i32 21
  %38 = load i32, ptr %5, align 4, !tbaa !33
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %37, i64 0, i64 %39
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 %40, i64 16, i1 false), !tbaa.struct !36
  %41 = load float, ptr %4, align 4, !tbaa !9
  %42 = getelementptr inbounds { double, double }, ptr %6, i32 0, i32 0
  %43 = load double, ptr %42, align 16
  %44 = getelementptr inbounds { double, double }, ptr %6, i32 0, i32 1
  %45 = load double, ptr %44, align 8
  call void @_ZN3JPH18AxisConstraintPart9WarmStartERNS_4BodyES2_NS_4Vec3Ef(ptr noundef nonnull align 4 dereferenceable(64) %32, ptr noundef nonnull align 16 dereferenceable(122) %34, ptr noundef nonnull align 16 dereferenceable(122) %36, double %43, double %45, float noundef %41)
  br label %46

46:                                               ; preds = %28, %22
  br label %47

47:                                               ; preds = %46
  %48 = load i32, ptr %5, align 4, !tbaa !33
  %49 = add nsw i32 %48, 1
  store i32 %49, ptr %5, align 4, !tbaa !33
  br label %18, !llvm.loop !38

50:                                               ; preds = %21
  br label %51

51:                                               ; preds = %50, %2
  %52 = getelementptr inbounds %"class.JPH::SixDOFConstraint", ptr %13, i32 0, i32 8
  %53 = load i8, ptr %52, align 1, !tbaa !40, !range !31, !noundef !32
  %54 = trunc i8 %53 to i1
  br i1 %54, label %55, label %83

55:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %56 = getelementptr inbounds %"class.JPH::SixDOFConstraint", ptr %13, i32 0, i32 29
  store ptr %56, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = getelementptr inbounds [3 x %"class.JPH::AngleConstraintPart"], ptr %57, i64 0, i64 0
  store ptr %58, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = getelementptr inbounds [3 x %"class.JPH::AngleConstraintPart"], ptr %59, i64 0, i64 0
  %61 = getelementptr inbounds %"class.JPH::AngleConstraintPart", ptr %60, i64 3
  store ptr %61, ptr %9, align 8, !tbaa !5
  br label %62

62:                                               ; preds = %79, %55
  %63 = load ptr, ptr %8, align 8, !tbaa !5
  %64 = load ptr, ptr %9, align 8, !tbaa !5
  %65 = icmp ne ptr %63, %64
  br i1 %65, label %67, label %66

66:                                               ; preds = %62
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %82

67:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %68, ptr %10, align 8, !tbaa !5
  %69 = load ptr, ptr %10, align 8, !tbaa !5
  %70 = call noundef zeroext i1 @_ZNK3JPH19AngleConstraintPart8IsActiveEv(ptr noundef nonnull align 16 dereferenceable(48) %69)
  br i1 %70, label %71, label %78

71:                                               ; preds = %67
  %72 = load ptr, ptr %10, align 8, !tbaa !5
  %73 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %13, i32 0, i32 1
  %74 = load ptr, ptr %73, align 16, !tbaa !34
  %75 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %13, i32 0, i32 2
  %76 = load ptr, ptr %75, align 8, !tbaa !35
  %77 = load float, ptr %4, align 4, !tbaa !9
  call void @_ZN3JPH19AngleConstraintPart9WarmStartERNS_4BodyES2_f(ptr noundef nonnull align 16 dereferenceable(48) %72, ptr noundef nonnull align 16 dereferenceable(122) %74, ptr noundef nonnull align 16 dereferenceable(122) %76, float noundef %77)
  br label %78

78:                                               ; preds = %71, %67
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %79

79:                                               ; preds = %78
  %80 = load ptr, ptr %8, align 8, !tbaa !5
  %81 = getelementptr inbounds %"class.JPH::AngleConstraintPart", ptr %80, i32 1
  store ptr %81, ptr %8, align 8, !tbaa !5
  br label %62

82:                                               ; preds = %66
  br label %83

83:                                               ; preds = %82, %51
  %84 = call noundef zeroext i1 @_ZNK3JPH16SixDOFConstraint26IsRotationFullyConstrainedEv(ptr noundef nonnull align 16 dereferenceable(1856) %13)
  br i1 %84, label %85, label %92

85:                                               ; preds = %83
  %86 = getelementptr inbounds %"class.JPH::SixDOFConstraint", ptr %13, i32 0, i32 27
  %87 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %13, i32 0, i32 1
  %88 = load ptr, ptr %87, align 16, !tbaa !34
  %89 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %13, i32 0, i32 2
  %90 = load ptr, ptr %89, align 8, !tbaa !35
  %91 = load float, ptr %4, align 4, !tbaa !9
  call void @_ZN3JPH27RotationEulerConstraintPart9WarmStartERNS_4BodyES2_f(ptr noundef nonnull align 16 dereferenceable(208) %86, ptr noundef nonnull align 16 dereferenceable(122) %88, ptr noundef nonnull align 16 dereferenceable(122) %90, float noundef %91)
  br label %102

92:                                               ; preds = %83
  %93 = call noundef zeroext i1 @_ZNK3JPH16SixDOFConstraint21IsRotationConstrainedEv(ptr noundef nonnull align 16 dereferenceable(1856) %13)
  br i1 %93, label %94, label %101

94:                                               ; preds = %92
  %95 = getelementptr inbounds %"class.JPH::SixDOFConstraint", ptr %13, i32 0, i32 26
  %96 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %13, i32 0, i32 1
  %97 = load ptr, ptr %96, align 16, !tbaa !34
  %98 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %13, i32 0, i32 2
  %99 = load ptr, ptr %98, align 8, !tbaa !35
  %100 = load float, ptr %4, align 4, !tbaa !9
  call void @_ZN3JPH24SwingTwistConstraintPart9WarmStartERNS_4BodyES2_f(ptr noundef nonnull align 16 dereferenceable(272) %95, ptr noundef nonnull align 16 dereferenceable(122) %97, ptr noundef nonnull align 16 dereferenceable(122) %99, float noundef %100)
  br label %101

101:                                              ; preds = %94, %92
  br label %102

102:                                              ; preds = %101, %85
  %103 = call noundef zeroext i1 @_ZNK3JPH16SixDOFConstraint29IsTranslationFullyConstrainedEv(ptr noundef nonnull align 16 dereferenceable(1856) %13)
  br i1 %103, label %104, label %111

104:                                              ; preds = %102
  %105 = getelementptr inbounds %"class.JPH::SixDOFConstraint", ptr %13, i32 0, i32 25
  %106 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %13, i32 0, i32 1
  %107 = load ptr, ptr %106, align 16, !tbaa !34
  %108 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %13, i32 0, i32 2
  %109 = load ptr, ptr %108, align 8, !tbaa !35
  %110 = load float, ptr %4, align 4, !tbaa !9
  call void @_ZN3JPH19PointConstraintPart9WarmStartERNS_4BodyES2_f(ptr noundef nonnull align 16 dereferenceable(240) %105, ptr noundef nonnull align 16 dereferenceable(122) %107, ptr noundef nonnull align 16 dereferenceable(122) %109, float noundef %110)
  br label %148

111:                                              ; preds = %102
  %112 = call noundef zeroext i1 @_ZNK3JPH16SixDOFConstraint24IsTranslationConstrainedEv(ptr noundef nonnull align 16 dereferenceable(1856) %13)
  br i1 %112, label %113, label %147

113:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !33
  br label %114

114:                                              ; preds = %143, %113
  %115 = load i32, ptr %11, align 4, !tbaa !33
  %116 = icmp slt i32 %115, 3
  br i1 %116, label %118, label %117

117:                                              ; preds = %114
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %146

118:                                              ; preds = %114
  %119 = getelementptr inbounds %"class.JPH::SixDOFConstraint", ptr %13, i32 0, i32 24
  %120 = load i32, ptr %11, align 4, !tbaa !33
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds [3 x %"class.JPH::AxisConstraintPart"], ptr %119, i64 0, i64 %121
  %123 = call noundef zeroext i1 @_ZNK3JPH18AxisConstraintPart8IsActiveEv(ptr noundef nonnull align 4 dereferenceable(64) %122)
  br i1 %123, label %124, label %142

124:                                              ; preds = %118
  %125 = getelementptr inbounds %"class.JPH::SixDOFConstraint", ptr %13, i32 0, i32 24
  %126 = load i32, ptr %11, align 4, !tbaa !33
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds [3 x %"class.JPH::AxisConstraintPart"], ptr %125, i64 0, i64 %127
  %129 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %13, i32 0, i32 1
  %130 = load ptr, ptr %129, align 16, !tbaa !34
  %131 = getelementptr inbounds %"class.JPH::TwoBodyConstraint", ptr %13, i32 0, i32 2
  %132 = load ptr, ptr %131, align 8, !tbaa !35
  %133 = getelementptr inbounds %"class.JPH::SixDOFConstraint", ptr %13, i32 0, i32 21
  %134 = load i32, ptr %11, align 4, !tbaa !33
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds [3 x %"class.JPH::Vec3"], ptr %133, i64 0, i64 %135
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 %136, i64 16, i1 false), !tbaa.struct !36
  %137 = load float, ptr %4, align 4, !tbaa !9
  %138 = getelementptr inbounds { double, double }, ptr %12, i32 0, i32 0
  %139 = load double, ptr %138, align 16
  %140 = getelementptr inbounds { double, double }, ptr %12, i32 0, i32 1
  %141 = load double, ptr %140, align 8
  call void @_ZN3JPH18AxisConstraintPart9WarmStartERNS_4BodyES2_NS_4Vec3Ef(ptr noundef nonnull align 4 dereferenceable(64) %128, ptr noundef nonnull align 16 dereferenceable(122) %130, ptr noundef nonnull align 16 dereferenceable(122) %132, double %139, double %141, float noundef %137)
  br label %142

142:                                              ; preds = %124, %118
  br label %143

143:                                              ; preds = %142
  %144 = load i32, ptr %11, align 4, !tbaa !33
  %145 = add nsw i32 %144, 1
  store i32 %145, ptr %11, align 4, !tbaa !33
  br label %114, !llvm.loop !41

146:                                              ; preds = %117
  br label %147

147:                                              ; preds = %146, %111
  br label %148

148:                                              ; preds = %147, %104
  ret void
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH18AxisConstraintPart9WarmStartERNS_4BodyES2_NS_4Vec3Ef(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) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH19AngleConstraintPart8IsActiveEv(ptr noundef nonnull align 16 dereferenceable(48)) #2 align 2

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{!"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, !19, i64 114}
!12 = !{!"_ZTSN3JPH16SixDOFConstraintE", !13, i64 0, !21, i64 48, !21, i64 64, !22, i64 80, !22, i64 96, !7, i64 112, !7, i64 113, !19, i64 114, !19, i64 115, !7, i64 116, !19, i64 117, !7, i64 120, !7, i64 144, !7, i64 168, !7, i64 204, !7, i64 372, !7, i64 396, !21, i64 432, !21, i64 448, !21, i64 464, !22, i64 480, !7, i64 496, !7, i64 544, !7, i64 592, !7, i64 604, !24, i64 800, !26, i64 1040, !30, i64 1312, !7, i64 1520, !7, i64 1712}
!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 = !{!"_ZTSN3JPH19PointConstraintPartE", !21, i64 0, !21, i64 16, !25, i64 32, !25, i64 96, !25, i64 160, !21, i64 224}
!25 = !{!"_ZTSN3JPH5Mat44E", !7, i64 0}
!26 = !{!"_ZTSN3JPH24SwingTwistConstraintPartE", !7, i64 0, !27, i64 1, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !21, i64 80, !21, i64 96, !21, i64 112, !28, i64 128, !28, i64 176, !28, i64 224}
!27 = !{!"_ZTSN3JPH10ESwingTypeE", !7, i64 0}
!28 = !{!"_ZTSN3JPH19AngleConstraintPartE", !21, i64 0, !21, i64 16, !10, i64 32, !29, i64 36, !10, i64 44}
!29 = !{!"_ZTSN3JPH10SpringPartE", !10, i64 0, !10, i64 4}
!30 = !{!"_ZTSN3JPH27RotationEulerConstraintPartE", !25, i64 0, !25, i64 64, !25, i64 128, !21, i64 192}
!31 = !{i8 0, i8 2}
!32 = !{}
!33 = !{!18, !18, i64 0}
!34 = !{!13, !6, i64 32}
!35 = !{!13, !6, i64 40}
!36 = !{i64 0, i64 16, !37}
!37 = !{!7, !7, i64 0}
!38 = distinct !{!38, !39}
!39 = !{!"llvm.loop.mustprogress"}
!40 = !{!12, !19, i64 115}
!41 = distinct !{!41, !39}


; 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH16SixDOFConstraint29IsTranslationFullyConstrainedEv(ptr noundef nonnull align 16 dereferenceable(1856)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH16SixDOFConstraint24IsTranslationConstrainedEv(ptr noundef nonnull align 16 dereferenceable(1856)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH16SixDOFConstraint26IsRotationFullyConstrainedEv(ptr noundef nonnull align 16 dereferenceable(1856)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH16SixDOFConstraint21IsRotationConstrainedEv(ptr noundef nonnull align 16 dereferenceable(1856)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3JPH16SixDOFConstraint27WarmStartVelocityConstraintEf(ptr noundef nonnull align 16 dereferenceable(1856) %0, float noundef %1) unnamed_addr #1 align 2 {
  %3 = getelementptr inbounds i8, ptr %0, i64 114
  %4 = load i8, ptr %3, align 2, !tbaa !5, !range !29, !noundef !30
  %5 = trunc nuw i8 %4 to i1
  br i1 %5, label %.preheader31, label %.loopexit32

.preheader31:                                     ; preds = %2
  %6 = getelementptr inbounds i8, ptr %0, i64 1520
  %7 = getelementptr inbounds i8, ptr %0, i64 32
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = tail call noundef zeroext i1 @_ZNK3JPH18AxisConstraintPart8IsActiveEv(ptr noundef nonnull align 4 dereferenceable(64) %6)
  br i1 %9, label %10, label %14

10:                                               ; preds = %.preheader31
  %11 = getelementptr inbounds i8, ptr %0, i64 496
  %12 = load ptr, ptr %7, align 16, !tbaa !31
  %13 = load ptr, ptr %8, align 8, !tbaa !32
  %.sroa.012.0.copyload = load double, ptr %11, align 16
  %.sroa.213.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 504
  %.sroa.213.0.copyload = load double, ptr %.sroa.213.0..sroa_idx, align 8, !tbaa !33
  tail call void @_ZN3JPH18AxisConstraintPart9WarmStartERNS_4BodyES2_NS_4Vec3Ef(ptr noundef nonnull align 4 dereferenceable(64) %6, ptr noundef nonnull align 16 dereferenceable(122) %12, ptr noundef nonnull align 16 dereferenceable(122) %13, double %.sroa.012.0.copyload, double %.sroa.213.0.copyload, float noundef %1)
  br label %14

14:                                               ; preds = %.preheader31, %10
  %15 = getelementptr inbounds i8, ptr %0, i64 1584
  %16 = tail call noundef zeroext i1 @_ZNK3JPH18AxisConstraintPart8IsActiveEv(ptr noundef nonnull align 4 dereferenceable(64) %15)
  br i1 %16, label %17, label %21

17:                                               ; preds = %14
  %18 = load ptr, ptr %7, align 16, !tbaa !31
  %19 = load ptr, ptr %8, align 8, !tbaa !32
  %20 = getelementptr inbounds i8, ptr %0, i64 512
  %.sroa.012.0.copyload.1 = load double, ptr %20, align 16
  %.sroa.213.0..sroa_idx.1 = getelementptr inbounds i8, ptr %0, i64 520
  %.sroa.213.0.copyload.1 = load double, ptr %.sroa.213.0..sroa_idx.1, align 8, !tbaa !33
  tail call void @_ZN3JPH18AxisConstraintPart9WarmStartERNS_4BodyES2_NS_4Vec3Ef(ptr noundef nonnull align 4 dereferenceable(64) %15, ptr noundef nonnull align 16 dereferenceable(122) %18, ptr noundef nonnull align 16 dereferenceable(122) %19, double %.sroa.012.0.copyload.1, double %.sroa.213.0.copyload.1, float noundef %1)
  br label %21

21:                                               ; preds = %17, %14
  %22 = getelementptr inbounds i8, ptr %0, i64 1648
  %23 = tail call noundef zeroext i1 @_ZNK3JPH18AxisConstraintPart8IsActiveEv(ptr noundef nonnull align 4 dereferenceable(64) %22)
  br i1 %23, label %24, label %.loopexit32

24:                                               ; preds = %21
  %25 = load ptr, ptr %7, align 16, !tbaa !31
  %26 = load ptr, ptr %8, align 8, !tbaa !32
  %27 = getelementptr inbounds i8, ptr %0, i64 528
  %.sroa.012.0.copyload.2 = load double, ptr %27, align 16
  %.sroa.213.0..sroa_idx.2 = getelementptr inbounds i8, ptr %0, i64 536
  %.sroa.213.0.copyload.2 = load double, ptr %.sroa.213.0..sroa_idx.2, align 8, !tbaa !33
  tail call void @_ZN3JPH18AxisConstraintPart9WarmStartERNS_4BodyES2_NS_4Vec3Ef(ptr noundef nonnull align 4 dereferenceable(64) %22, ptr noundef nonnull align 16 dereferenceable(122) %25, ptr noundef nonnull align 16 dereferenceable(122) %26, double %.sroa.012.0.copyload.2, double %.sroa.213.0.copyload.2, float noundef %1)
  br label %.loopexit32

.loopexit32:                                      ; preds = %21, %24, %2
  %28 = getelementptr inbounds i8, ptr %0, i64 115
  %29 = load i8, ptr %28, align 1, !tbaa !34, !range !29, !noundef !30
  %30 = trunc nuw i8 %29 to i1
  br i1 %30, label %.preheader29, label %.loopexit30

.preheader29:                                     ; preds = %.loopexit32
  %.026.ptr34 = getelementptr inbounds i8, ptr %0, i64 1712
  %31 = getelementptr inbounds i8, ptr %0, i64 32
  %32 = getelementptr inbounds i8, ptr %0, i64 40
  %33 = tail call noundef zeroext i1 @_ZNK3JPH19AngleConstraintPart8IsActiveEv(ptr noundef nonnull align 16 dereferenceable(48) %.026.ptr34)
  br i1 %33, label %34, label %37

34:                                               ; preds = %.preheader29
  %35 = load ptr, ptr %31, align 16, !tbaa !31
  %36 = load ptr, ptr %32, align 8, !tbaa !32
  tail call void @_ZN3JPH19AngleConstraintPart9WarmStartERNS_4BodyES2_f(ptr noundef nonnull align 16 dereferenceable(48) %.026.ptr34, ptr noundef nonnull align 16 dereferenceable(122) %35, ptr noundef nonnull align 16 dereferenceable(122) %36, float noundef %1)
  br label %37

37:                                               ; preds = %34, %.preheader29
  %.026.ptr = getelementptr inbounds i8, ptr %0, i64 1760
  %38 = tail call noundef zeroext i1 @_ZNK3JPH19AngleConstraintPart8IsActiveEv(ptr noundef nonnull align 16 dereferenceable(48) %.026.ptr)
  br i1 %38, label %39, label %42

39:                                               ; preds = %37
  %40 = load ptr, ptr %31, align 16, !tbaa !31
  %41 = load ptr, ptr %32, align 8, !tbaa !32
  tail call void @_ZN3JPH19AngleConstraintPart9WarmStartERNS_4BodyES2_f(ptr noundef nonnull align 16 dereferenceable(48) %.026.ptr, ptr noundef nonnull align 16 dereferenceable(122) %40, ptr noundef nonnull align 16 dereferenceable(122) %41, float noundef %1)
  br label %42

42:                                               ; preds = %39, %37
  %.026.ptr.1 = getelementptr inbounds i8, ptr %0, i64 1808
  %43 = tail call noundef zeroext i1 @_ZNK3JPH19AngleConstraintPart8IsActiveEv(ptr noundef nonnull align 16 dereferenceable(48) %.026.ptr.1)
  br i1 %43, label %44, label %.loopexit30

44:                                               ; preds = %42
  %45 = load ptr, ptr %31, align 16, !tbaa !31
  %46 = load ptr, ptr %32, align 8, !tbaa !32
  tail call void @_ZN3JPH19AngleConstraintPart9WarmStartERNS_4BodyES2_f(ptr noundef nonnull align 16 dereferenceable(48) %.026.ptr.1, ptr noundef nonnull align 16 dereferenceable(122) %45, ptr noundef nonnull align 16 dereferenceable(122) %46, float noundef %1)
  br label %.loopexit30

.loopexit30:                                      ; preds = %42, %44, %.loopexit32
  %47 = tail call noundef zeroext i1 @_ZNK3JPH16SixDOFConstraint26IsRotationFullyConstrainedEv(ptr noundef nonnull align 16 dereferenceable(1856) %0)
  br i1 %47, label %48, label %54

48:                                               ; preds = %.loopexit30
  %49 = getelementptr inbounds i8, ptr %0, i64 1312
  %50 = getelementptr inbounds i8, ptr %0, i64 32
  %51 = load ptr, ptr %50, align 16, !tbaa !31
  %52 = getelementptr inbounds i8, ptr %0, i64 40
  %53 = load ptr, ptr %52, align 8, !tbaa !32
  tail call void @_ZN3JPH27RotationEulerConstraintPart9WarmStartERNS_4BodyES2_f(ptr noundef nonnull align 16 dereferenceable(208) %49, ptr noundef nonnull align 16 dereferenceable(122) %51, ptr noundef nonnull align 16 dereferenceable(122) %53, float noundef %1)
  br label %62

54:                                               ; preds = %.loopexit30
  %55 = tail call noundef zeroext i1 @_ZNK3JPH16SixDOFConstraint21IsRotationConstrainedEv(ptr noundef nonnull align 16 dereferenceable(1856) %0)
  br i1 %55, label %56, label %62

56:                                               ; preds = %54
  %57 = getelementptr inbounds i8, ptr %0, i64 1040
  %58 = getelementptr inbounds i8, ptr %0, i64 32
  %59 = load ptr, ptr %58, align 16, !tbaa !31
  %60 = getelementptr inbounds i8, ptr %0, i64 40
  %61 = load ptr, ptr %60, align 8, !tbaa !32
  tail call void @_ZN3JPH24SwingTwistConstraintPart9WarmStartERNS_4BodyES2_f(ptr noundef nonnull align 16 dereferenceable(272) %57, ptr noundef nonnull align 16 dereferenceable(122) %59, ptr noundef nonnull align 16 dereferenceable(122) %61, float noundef %1)
  br label %62

62:                                               ; preds = %54, %56, %48
  %63 = tail call noundef zeroext i1 @_ZNK3JPH16SixDOFConstraint29IsTranslationFullyConstrainedEv(ptr noundef nonnull align 16 dereferenceable(1856) %0)
  br i1 %63, label %64, label %70

64:                                               ; preds = %62
  %65 = getelementptr inbounds i8, ptr %0, i64 800
  %66 = getelementptr inbounds i8, ptr %0, i64 32
  %67 = load ptr, ptr %66, align 16, !tbaa !31
  %68 = getelementptr inbounds i8, ptr %0, i64 40
  %69 = load ptr, ptr %68, align 8, !tbaa !32
  tail call void @_ZN3JPH19PointConstraintPart9WarmStartERNS_4BodyES2_f(ptr noundef nonnull align 16 dereferenceable(240) %65, ptr noundef nonnull align 16 dereferenceable(122) %67, ptr noundef nonnull align 16 dereferenceable(122) %69, float noundef %1)
  br label %.loopexit

70:                                               ; preds = %62
  %71 = tail call noundef zeroext i1 @_ZNK3JPH16SixDOFConstraint24IsTranslationConstrainedEv(ptr noundef nonnull align 16 dereferenceable(1856) %0)
  br i1 %71, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %70
  %72 = getelementptr inbounds i8, ptr %0, i64 604
  %73 = getelementptr inbounds i8, ptr %0, i64 32
  %74 = getelementptr inbounds i8, ptr %0, i64 40
  %75 = tail call noundef zeroext i1 @_ZNK3JPH18AxisConstraintPart8IsActiveEv(ptr noundef nonnull align 4 dereferenceable(64) %72)
  br i1 %75, label %76, label %80

76:                                               ; preds = %.preheader
  %77 = getelementptr inbounds i8, ptr %0, i64 496
  %78 = load ptr, ptr %73, align 16, !tbaa !31
  %79 = load ptr, ptr %74, align 8, !tbaa !32
  %.sroa.0.0.copyload = load double, ptr %77, align 16
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 504
  %.sroa.2.0.copyload = load double, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !33
  tail call void @_ZN3JPH18AxisConstraintPart9WarmStartERNS_4BodyES2_NS_4Vec3Ef(ptr noundef nonnull align 4 dereferenceable(64) %72, ptr noundef nonnull align 16 dereferenceable(122) %78, ptr noundef nonnull align 16 dereferenceable(122) %79, double %.sroa.0.0.copyload, double %.sroa.2.0.copyload, float noundef %1)
  br label %80

80:                                               ; preds = %.preheader, %76
  %81 = getelementptr inbounds i8, ptr %0, i64 668
  %82 = tail call noundef zeroext i1 @_ZNK3JPH18AxisConstraintPart8IsActiveEv(ptr noundef nonnull align 4 dereferenceable(64) %81)
  br i1 %82, label %83, label %87

83:                                               ; preds = %80
  %84 = load ptr, ptr %73, align 16, !tbaa !31
  %85 = load ptr, ptr %74, align 8, !tbaa !32
  %86 = getelementptr inbounds i8, ptr %0, i64 512
  %.sroa.0.0.copyload.1 = load double, ptr %86, align 16
  %.sroa.2.0..sroa_idx.1 = getelementptr inbounds i8, ptr %0, i64 520
  %.sroa.2.0.copyload.1 = load double, ptr %.sroa.2.0..sroa_idx.1, align 8, !tbaa !33
  tail call void @_ZN3JPH18AxisConstraintPart9WarmStartERNS_4BodyES2_NS_4Vec3Ef(ptr noundef nonnull align 4 dereferenceable(64) %81, ptr noundef nonnull align 16 dereferenceable(122) %84, ptr noundef nonnull align 16 dereferenceable(122) %85, double %.sroa.0.0.copyload.1, double %.sroa.2.0.copyload.1, float noundef %1)
  br label %87

87:                                               ; preds = %83, %80
  %88 = getelementptr inbounds i8, ptr %0, i64 732
  %89 = tail call noundef zeroext i1 @_ZNK3JPH18AxisConstraintPart8IsActiveEv(ptr noundef nonnull align 4 dereferenceable(64) %88)
  br i1 %89, label %90, label %.loopexit

90:                                               ; preds = %87
  %91 = load ptr, ptr %73, align 16, !tbaa !31
  %92 = load ptr, ptr %74, align 8, !tbaa !32
  %93 = getelementptr inbounds i8, ptr %0, i64 528
  %.sroa.0.0.copyload.2 = load double, ptr %93, align 16
  %.sroa.2.0..sroa_idx.2 = getelementptr inbounds i8, ptr %0, i64 536
  %.sroa.2.0.copyload.2 = load double, ptr %.sroa.2.0..sroa_idx.2, align 8, !tbaa !33
  tail call void @_ZN3JPH18AxisConstraintPart9WarmStartERNS_4BodyES2_NS_4Vec3Ef(ptr noundef nonnull align 4 dereferenceable(64) %88, ptr noundef nonnull align 16 dereferenceable(122) %91, ptr noundef nonnull align 16 dereferenceable(122) %92, double %.sroa.0.0.copyload.2, double %.sroa.2.0.copyload.2, float noundef %1)
  br label %.loopexit

.loopexit:                                        ; preds = %87, %90, %70, %64
  ret void
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH18AxisConstraintPart9WarmStartERNS_4BodyES2_NS_4Vec3Ef(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) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH19AngleConstraintPart8IsActiveEv(ptr noundef nonnull align 16 dereferenceable(48)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH19AngleConstraintPart9WarmStartERNS_4BodyES2_f(ptr noundef nonnull align 16 dereferenceable(48), ptr noundef nonnull align 16 dereferenceable(122), ptr noundef nonnull align 16 dereferenceable(122), float noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH27RotationEulerConstraintPart9WarmStartERNS_4BodyES2_f(ptr noundef nonnull align 16 dereferenceable(208), ptr noundef nonnull align 16 dereferenceable(122), ptr noundef nonnull align 16 dereferenceable(122), float noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH24SwingTwistConstraintPart9WarmStartERNS_4BodyES2_f(ptr noundef nonnull align 16 dereferenceable(272), ptr noundef nonnull align 16 dereferenceable(122), ptr noundef nonnull align 16 dereferenceable(122), float noundef) local_unnamed_addr #2 align 2

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

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

!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, !15, i64 114}
!6 = !{!"_ZTSN3JPH16SixDOFConstraintE", !7, i64 0, !18, i64 48, !18, i64 64, !19, i64 80, !19, i64 96, !13, i64 112, !13, i64 113, !15, i64 114, !15, i64 115, !13, i64 116, !15, i64 117, !13, i64 120, !13, i64 144, !13, i64 168, !13, i64 204, !13, i64 372, !13, i64 396, !18, i64 432, !18, i64 448, !18, i64 464, !19, i64 480, !13, i64 496, !13, i64 544, !13, i64 592, !13, i64 604, !21, i64 800, !23, i64 1040, !28, i64 1312, !13, i64 1520, !13, i64 1712}
!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 = !{!"_ZTSN3JPH19PointConstraintPartE", !18, i64 0, !18, i64 16, !22, i64 32, !22, i64 96, !22, i64 160, !18, i64 224}
!22 = !{!"_ZTSN3JPH5Mat44E", !13, i64 0}
!23 = !{!"_ZTSN3JPH24SwingTwistConstraintPartE", !13, i64 0, !24, i64 1, !25, i64 4, !25, i64 8, !25, i64 12, !25, i64 16, !25, i64 20, !25, i64 24, !25, i64 28, !25, i64 32, !25, i64 36, !25, i64 40, !25, i64 44, !25, i64 48, !25, i64 52, !25, i64 56, !25, i64 60, !25, i64 64, !18, i64 80, !18, i64 96, !18, i64 112, !26, i64 128, !26, i64 176, !26, i64 224}
!24 = !{!"_ZTSN3JPH10ESwingTypeE", !13, i64 0}
!25 = !{!"float", !13, i64 0}
!26 = !{!"_ZTSN3JPH19AngleConstraintPartE", !18, i64 0, !18, i64 16, !25, i64 32, !27, i64 36, !25, i64 44}
!27 = !{!"_ZTSN3JPH10SpringPartE", !25, i64 0, !25, i64 4}
!28 = !{!"_ZTSN3JPH27RotationEulerConstraintPartE", !22, i64 0, !22, i64 64, !22, i64 128, !18, i64 192}
!29 = !{i8 0, i8 2}
!30 = !{}
!31 = !{!7, !17, i64 32}
!32 = !{!7, !17, i64 40}
!33 = !{!13, !13, i64 0}
!34 = !{!6, !15, i64 115}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,SROAPass,SimplifyCFGPass,TailCallElimPass