; LLVM IR from jrouwe/JoltPhysics :: Jolt/Physics/Vehicle (TrackedVehicleController)

; 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.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.JPH::Wheel" = type <{ ptr, %"class.JPH::RefConst", %"class.JPH::BodyID", %"class.JPH::SubShapeID", ptr, float, [12 x i8], %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", float, float, float, float, float, %"class.JPH::AxisConstraintPart", %"class.JPH::AxisConstraintPart", %"class.JPH::AxisConstraintPart", %"class.JPH::AxisConstraintPart", [12 x i8] }>
%"class.JPH::RefConst" = type { ptr }
%"class.JPH::BodyID" = type { i32 }
%"class.JPH::SubShapeID" = type { i32 }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x 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 }
%"class.JPH::WheelTV" = type { %"class.JPH::Wheel.base", i32, float, float, float, [12 x i8] }
%"class.JPH::Wheel.base" = type <{ ptr, %"class.JPH::RefConst", %"class.JPH::BodyID", %"class.JPH::SubShapeID", ptr, float, [12 x i8], %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", float, float, float, float, float, %"class.JPH::AxisConstraintPart", %"class.JPH::AxisConstraintPart", %"class.JPH::AxisConstraintPart", %"class.JPH::AxisConstraintPart" }>
%"class.JPH::WheelSettingsTV" = type { %"class.JPH::WheelSettings.base", float, float, [4 x i8] }
%"class.JPH::WheelSettings.base" = type <{ %"class.JPH::SerializableObject", %"class.JPH::RefTarget.12", [4 x i8], %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", float, float, float, %"class.JPH::SpringSettings", float, float, i8 }>
%"class.JPH::SerializableObject" = type { ptr }
%"class.JPH::RefTarget.12" = 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.13, float }
%union.anon.13 = type { float }

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK3JPH7WheelTV11GetSettingsEv(ptr noundef nonnull align 16 dereferenceable(420)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3JPH7WheelTV6UpdateEjfRKNS_17VehicleConstraintE(ptr noundef nonnull align 16 dereferenceable(420) %0, i32 noundef %1, float noundef %2, ptr noundef nonnull align 16 dereferenceable(408) %3) #1 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca float, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.std::function", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store float %2, ptr %7, align 4, !tbaa !11
  store ptr %3, ptr %8, align 8, !tbaa !5
  %13 = load ptr, ptr %5, align 8
  %14 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN3JPH7WheelTV24CalculateAngularVelocityERKNS_17VehicleConstraintE(ptr noundef nonnull align 16 dereferenceable(420) %13, ptr noundef nonnull align 16 dereferenceable(408) %14)
  %15 = getelementptr inbounds %"class.JPH::Wheel", ptr %13, i32 0, i32 16
  %16 = load float, ptr %15, align 16, !tbaa !13
  %17 = getelementptr inbounds %"class.JPH::Wheel", ptr %13, i32 0, i32 15
  %18 = load float, ptr %17, align 4, !tbaa !22
  %19 = load float, ptr %7, align 4, !tbaa !11
  %20 = call float @llvm.fmuladd.f32(float %18, float %19, float %16)
  %21 = call noundef float @_ZSt4fmodff(float noundef %20, float noundef 0x401921FB60000000)
  %22 = getelementptr inbounds %"class.JPH::Wheel", ptr %13, i32 0, i32 16
  store float %21, ptr %22, align 16, !tbaa !13
  %23 = getelementptr inbounds %"class.JPH::WheelTV", ptr %13, i32 0, i32 4
  store float 0.000000e+00, ptr %23, align 16, !tbaa !23
  %24 = getelementptr inbounds %"class.JPH::Wheel", ptr %13, i32 0, i32 4
  %25 = load ptr, ptr %24, align 8, !tbaa !25
  %26 = icmp ne ptr %25, null
  br i1 %26, label %27, label %50

27:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %28 = call noundef ptr @_ZNK3JPH7WheelTV11GetSettingsEv(ptr noundef nonnull align 16 dereferenceable(420) %13)
  store ptr %28, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #5
  %29 = load ptr, ptr %8, align 8, !tbaa !5
  %30 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3JPH17VehicleConstraint18GetCombineFrictionEv(ptr noundef nonnull align 16 dereferenceable(408) %29)
  call void @_ZNSt8functionIFvjRfS0_RKN3JPH4BodyERKNS1_10SubShapeIDEEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %30)
  %31 = load ptr, ptr %9, align 8, !tbaa !5
  %32 = getelementptr inbounds %"class.JPH::WheelSettingsTV", ptr %31, i32 0, i32 1
  %33 = load float, ptr %32, align 4, !tbaa !26
  %34 = getelementptr inbounds %"class.JPH::WheelTV", ptr %13, i32 0, i32 2
  store float %33, ptr %34, align 8, !tbaa !36
  %35 = load ptr, ptr %9, align 8, !tbaa !5
  %36 = getelementptr inbounds %"class.JPH::WheelSettingsTV", ptr %35, i32 0, i32 2
  %37 = load float, ptr %36, align 8, !tbaa !37
  %38 = getelementptr inbounds %"class.JPH::WheelTV", ptr %13, i32 0, i32 3
  store float %37, ptr %38, align 4, !tbaa !38
  %39 = load i32, ptr %6, align 4, !tbaa !9
  %40 = getelementptr inbounds %"class.JPH::WheelTV", ptr %13, i32 0, i32 2
  %41 = getelementptr inbounds %"class.JPH::WheelTV", ptr %13, i32 0, i32 3
  %42 = getelementptr inbounds %"class.JPH::Wheel", ptr %13, i32 0, i32 4
  %43 = load ptr, ptr %42, align 8, !tbaa !25
  %44 = getelementptr inbounds %"class.JPH::Wheel", ptr %13, i32 0, i32 3
  invoke void @_ZNKSt8functionIFvjRfS0_RKN3JPH4BodyERKNS1_10SubShapeIDEEEclEjS0_S0_S4_S7_(ptr noundef nonnull align 8 dereferenceable(32) %10, i32 noundef %39, ptr noundef nonnull align 4 dereferenceable(4) %40, ptr noundef nonnull align 4 dereferenceable(4) %41, ptr noundef nonnull align 16 dereferenceable(122) %43, ptr noundef nonnull align 4 dereferenceable(4) %44)
          to label %45 unwind label %46

45:                                               ; preds = %27
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %53

46:                                               ; preds = %27
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %11, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %12, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %54

50:                                               ; preds = %4
  %51 = getelementptr inbounds %"class.JPH::WheelTV", ptr %13, i32 0, i32 3
  store float 0.000000e+00, ptr %51, align 4, !tbaa !38
  %52 = getelementptr inbounds %"class.JPH::WheelTV", ptr %13, i32 0, i32 2
  store float 0.000000e+00, ptr %52, align 8, !tbaa !36
  br label %53

53:                                               ; preds = %50, %45
  ret void

54:                                               ; preds = %46
  %55 = load ptr, ptr %11, align 8
  %56 = load i32, ptr %12, align 4
  %57 = insertvalue { ptr, i32 } poison, ptr %55, 0
  %58 = insertvalue { ptr, i32 } %57, i32 %56, 1
  resume { ptr, i32 } %58
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4fmodff(float noundef, float noundef) #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3JPH17VehicleConstraint18GetCombineFrictionEv(ptr noundef nonnull align 16 dereferenceable(408)) #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNKSt8functionIFvjRfS0_RKN3JPH4BodyERKNS1_10SubShapeIDEEEclEjS0_S0_S4_S7_(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 16 dereferenceable(122), ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !12, i64 144}
!14 = !{!"_ZTSN3JPH5WheelE", !15, i64 8, !16, i64 16, !17, i64 20, !6, i64 24, !12, i64 32, !18, i64 48, !18, i64 64, !18, i64 80, !18, i64 96, !18, i64 112, !12, i64 128, !12, i64 132, !12, i64 136, !12, i64 140, !12, i64 144, !19, i64 148, !19, i64 212, !19, i64 276, !19, i64 340}
!15 = !{!"_ZTSN3JPH8RefConstINS_13WheelSettingsEEE", !6, i64 0}
!16 = !{!"_ZTSN3JPH6BodyIDE", !10, i64 0}
!17 = !{!"_ZTSN3JPH10SubShapeIDE", !10, i64 0}
!18 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!19 = !{!"_ZTSN3JPH18AxisConstraintPartE", !20, i64 0, !20, i64 12, !20, i64 24, !20, i64 36, !12, i64 48, !21, i64 52, !12, i64 60}
!20 = !{!"_ZTSN3JPH6Float3E", !12, i64 0, !12, i64 4, !12, i64 8}
!21 = !{!"_ZTSN3JPH10SpringPartE", !12, i64 0, !12, i64 4}
!22 = !{!14, !12, i64 140}
!23 = !{!24, !12, i64 416}
!24 = !{!"_ZTSN3JPH7WheelTVE", !14, i64 0, !10, i64 404, !12, i64 408, !12, i64 412, !12, i64 416}
!25 = !{!14, !6, i64 24}
!26 = !{!27, !12, i64 148}
!27 = !{!"_ZTSN3JPH15WheelSettingsTVE", !28, i64 0, !12, i64 148, !12, i64 152}
!28 = !{!"_ZTSN3JPH13WheelSettingsE", !29, i64 0, !30, i64 8, !18, i64 16, !18, i64 32, !18, i64 48, !18, i64 64, !18, i64 80, !18, i64 96, !12, i64 112, !12, i64 116, !12, i64 120, !33, i64 124, !12, i64 136, !12, i64 140, !35, i64 144}
!29 = !{!"_ZTSN3JPH18SerializableObjectE"}
!30 = !{!"_ZTSN3JPH9RefTargetINS_13WheelSettingsEEE", !31, i64 0}
!31 = !{!"_ZTSSt6atomicIjE", !32, i64 0}
!32 = !{!"_ZTSSt13__atomic_baseIjE", !10, i64 0}
!33 = !{!"_ZTSN3JPH14SpringSettingsE", !34, i64 0, !7, i64 4, !12, i64 8}
!34 = !{!"_ZTSN3JPH11ESpringModeE", !7, i64 0}
!35 = !{!"bool", !7, i64 0}
!36 = !{!24, !12, i64 408}
!37 = !{!27, !12, i64 152}
!38 = !{!24, !12, i64 412}


; 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.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }

; 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
declare dso_local void @_ZN3JPH7WheelTV24CalculateAngularVelocityERKNS_17VehicleConstraintE(ptr noundef nonnull align 16 dereferenceable(420), ptr noundef nonnull align 16 dereferenceable(408)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK3JPH7WheelTV11GetSettingsEv(ptr noundef nonnull align 16 dereferenceable(420)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3JPH7WheelTV6UpdateEjfRKNS_17VehicleConstraintE(ptr noundef nonnull align 16 dereferenceable(420) %0, i32 noundef %1, float noundef %2, ptr noundef nonnull align 16 dereferenceable(408) %3) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.std::function", align 8
  tail call void @_ZN3JPH7WheelTV24CalculateAngularVelocityERKNS_17VehicleConstraintE(ptr noundef nonnull align 16 dereferenceable(420) %0, ptr noundef nonnull align 16 dereferenceable(408) %3)
  %6 = getelementptr inbounds i8, ptr %0, i64 144
  %7 = load float, ptr %6, align 16, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 140
  %9 = load float, ptr %8, align 4, !tbaa !19
  %10 = tail call float @llvm.fmuladd.f32(float %9, float %2, float %7)
  %11 = tail call noundef float @_ZSt4fmodff(float noundef %10, float noundef 0x401921FB60000000)
  store float %11, ptr %6, align 16, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %0, i64 416
  store float 0.000000e+00, ptr %12, align 16, !tbaa !20
  %13 = getelementptr inbounds i8, ptr %0, i64 24
  %14 = load ptr, ptr %13, align 8, !tbaa !22
  %.not = icmp eq ptr %14, null
  br i1 %.not, label %27, label %15

15:                                               ; preds = %4
  %16 = tail call noundef ptr @_ZNK3JPH7WheelTV11GetSettingsEv(ptr noundef nonnull align 16 dereferenceable(420) %0)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #5
  %17 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3JPH17VehicleConstraint18GetCombineFrictionEv(ptr noundef nonnull align 16 dereferenceable(408) %3)
  call void @_ZNSt8functionIFvjRfS0_RKN3JPH4BodyERKNS1_10SubShapeIDEEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %17)
  %18 = getelementptr inbounds i8, ptr %16, i64 148
  %19 = getelementptr inbounds i8, ptr %0, i64 408
  %20 = getelementptr inbounds i8, ptr %0, i64 412
  %21 = load <2 x float>, ptr %18, align 4, !tbaa !23
  store <2 x float> %21, ptr %19, align 8, !tbaa !23
  %22 = load ptr, ptr %13, align 8, !tbaa !22
  %23 = getelementptr inbounds i8, ptr %0, i64 20
  invoke void @_ZNKSt8functionIFvjRfS0_RKN3JPH4BodyERKNS1_10SubShapeIDEEEclEjS0_S0_S4_S7_(ptr noundef nonnull align 8 dereferenceable(32) %5, i32 noundef %1, ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 16 dereferenceable(122) %22, ptr noundef nonnull align 4 dereferenceable(4) %23)
          to label %24 unwind label %25

24:                                               ; preds = %15
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  br label %29

25:                                               ; preds = %15
  %26 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  resume { ptr, i32 } %26

27:                                               ; preds = %4
  %28 = getelementptr inbounds i8, ptr %0, i64 408
  store <2 x float> zeroinitializer, ptr %28, align 8, !tbaa !23
  br label %29

29:                                               ; preds = %27, %24
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4fmodff(float noundef, float noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3JPH17VehicleConstraint18GetCombineFrictionEv(ptr noundef nonnull align 16 dereferenceable(408)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNKSt8functionIFvjRfS0_RKN3JPH4BodyERKNS1_10SubShapeIDEEEclEjS0_S0_S4_S7_(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 16 dereferenceable(122), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 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 = { 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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !14, i64 144}
!6 = !{!"_ZTSN3JPH5WheelE", !7, i64 8, !11, i64 16, !13, i64 20, !8, i64 24, !14, i64 32, !15, i64 48, !15, i64 64, !15, i64 80, !15, i64 96, !15, i64 112, !14, i64 128, !14, i64 132, !14, i64 136, !14, i64 140, !14, i64 144, !16, i64 148, !16, i64 212, !16, i64 276, !16, i64 340}
!7 = !{!"_ZTSN3JPH8RefConstINS_13WheelSettingsEEE", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"_ZTSN3JPH6BodyIDE", !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!"_ZTSN3JPH10SubShapeIDE", !12, i64 0}
!14 = !{!"float", !9, i64 0}
!15 = !{!"_ZTSN3JPH4Vec3E", !9, i64 0}
!16 = !{!"_ZTSN3JPH18AxisConstraintPartE", !17, i64 0, !17, i64 12, !17, i64 24, !17, i64 36, !14, i64 48, !18, i64 52, !14, i64 60}
!17 = !{!"_ZTSN3JPH6Float3E", !14, i64 0, !14, i64 4, !14, i64 8}
!18 = !{!"_ZTSN3JPH10SpringPartE", !14, i64 0, !14, i64 4}
!19 = !{!6, !14, i64 140}
!20 = !{!21, !14, i64 416}
!21 = !{!"_ZTSN3JPH7WheelTVE", !6, i64 0, !12, i64 404, !14, i64 408, !14, i64 412, !14, i64 416}
!22 = !{!6, !8, i64 24}
!23 = !{!14, !14, i64 0}


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