; LLVM IR from mtsamis/box2d-optimized :: src/dynamics/b2_mouse_joint.ll (ZN12b2MouseJointC2EPK15b2MouseJointDef)

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

%struct.b2Vec2 = type { float, float }
%class.b2MouseJoint = type <{ %class.b2Joint, %struct.b2Vec2, %struct.b2Vec2, float, float, float, %struct.b2Vec2, float, float, i32, i32, %struct.b2Vec2, %struct.b2Vec2, float, float, %struct.b2Mat22, %struct.b2Vec2, [4 x i8] }>
%class.b2Joint = type { ptr, i32, ptr, ptr, %struct.b2JointEdge, %struct.b2JointEdge, ptr, ptr, i32, i8, i8, %struct.b2JointUserData }
%struct.b2JointEdge = type { ptr, ptr, ptr, ptr }
%struct.b2JointUserData = type { i64 }
%struct.b2Mat22 = type { %struct.b2Vec2, %struct.b2Vec2 }
%struct.b2MouseJointDef = type { %struct.b2JointDef.base, %struct.b2Vec2, float, float, float }
%struct.b2JointDef.base = type <{ i32, [4 x i8], %struct.b2JointUserData, ptr, ptr, i8 }>

@_ZTV12b2MouseJoint = external dso_local unnamed_addr constant { [14 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12b2MouseJointC2EPK15b2MouseJointDef(ptr noundef nonnull align 8 dereferenceable(228) %0, ptr noundef %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %struct.b2Vec2, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %8 = load ptr, ptr %3, align 8
  %9 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN7b2JointC2EPK10b2JointDef(ptr noundef nonnull align 8 dereferenceable(128) %8, ptr noundef %9)
  store ptr getelementptr inbounds inrange(-16, 96) ({ [14 x ptr] }, ptr @_ZTV12b2MouseJoint, i32 0, i32 0, i32 2), ptr %8, align 8, !tbaa !9
  %10 = getelementptr inbounds %class.b2MouseJoint, ptr %8, i32 0, i32 1
  invoke void @_ZN6b2Vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %10)
          to label %11 unwind label %51

11:                                               ; preds = %2
  %12 = getelementptr inbounds %class.b2MouseJoint, ptr %8, i32 0, i32 2
  invoke void @_ZN6b2Vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %12)
          to label %13 unwind label %51

13:                                               ; preds = %11
  %14 = getelementptr inbounds %class.b2MouseJoint, ptr %8, i32 0, i32 6
  invoke void @_ZN6b2Vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %14)
          to label %15 unwind label %51

15:                                               ; preds = %13
  %16 = getelementptr inbounds %class.b2MouseJoint, ptr %8, i32 0, i32 11
  invoke void @_ZN6b2Vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %16)
          to label %17 unwind label %51

17:                                               ; preds = %15
  %18 = getelementptr inbounds %class.b2MouseJoint, ptr %8, i32 0, i32 12
  invoke void @_ZN6b2Vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %18)
          to label %19 unwind label %51

19:                                               ; preds = %17
  %20 = getelementptr inbounds %class.b2MouseJoint, ptr %8, i32 0, i32 15
  invoke void @_ZN7b2Mat22C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %20)
          to label %21 unwind label %51

21:                                               ; preds = %19
  %22 = getelementptr inbounds %class.b2MouseJoint, ptr %8, i32 0, i32 16
  invoke void @_ZN6b2Vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %22)
          to label %23 unwind label %51

23:                                               ; preds = %21
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.b2MouseJointDef, ptr %24, i32 0, i32 1
  %26 = getelementptr inbounds %class.b2MouseJoint, ptr %8, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %26, ptr align 4 %25, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  %27 = getelementptr inbounds %class.b2Joint, ptr %8, i32 0, i32 7
  %28 = load ptr, ptr %27, align 8, !tbaa !14
  %29 = invoke noundef nonnull align 4 dereferenceable(16) ptr @_ZNK6b2Body12GetTransformEv(ptr noundef nonnull align 8 dereferenceable(208) %28)
          to label %30 unwind label %55

30:                                               ; preds = %23
  %31 = getelementptr inbounds %class.b2MouseJoint, ptr %8, i32 0, i32 2
  %32 = invoke <2 x float> @_Z6b2MulTRK11b2TransformRK6b2Vec2(ptr noundef nonnull align 4 dereferenceable(16) %29, ptr noundef nonnull align 4 dereferenceable(8) %31)
          to label %33 unwind label %55

33:                                               ; preds = %30
  store <2 x float> %32, ptr %7, align 4
  %34 = getelementptr inbounds %class.b2MouseJoint, ptr %8, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %34, ptr align 4 %7, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.b2MouseJointDef, ptr %35, i32 0, i32 2
  %37 = load float, ptr %36, align 4, !tbaa !22
  %38 = getelementptr inbounds %class.b2MouseJoint, ptr %8, i32 0, i32 7
  store float %37, ptr %38, align 4, !tbaa !26
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.b2MouseJointDef, ptr %39, i32 0, i32 3
  %41 = load float, ptr %40, align 8, !tbaa !29
  %42 = getelementptr inbounds %class.b2MouseJoint, ptr %8, i32 0, i32 3
  store float %41, ptr %42, align 8, !tbaa !30
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.b2MouseJointDef, ptr %43, i32 0, i32 4
  %45 = load float, ptr %44, align 4, !tbaa !31
  %46 = getelementptr inbounds %class.b2MouseJoint, ptr %8, i32 0, i32 4
  store float %45, ptr %46, align 4, !tbaa !32
  %47 = getelementptr inbounds %class.b2MouseJoint, ptr %8, i32 0, i32 6
  invoke void @_ZN6b2Vec27SetZeroEv(ptr noundef nonnull align 4 dereferenceable(8) %47)
          to label %48 unwind label %51

48:                                               ; preds = %33
  %49 = getelementptr inbounds %class.b2MouseJoint, ptr %8, i32 0, i32 5
  store float 0.000000e+00, ptr %49, align 8, !tbaa !33
  %50 = getelementptr inbounds %class.b2MouseJoint, ptr %8, i32 0, i32 8
  store float 0.000000e+00, ptr %50, align 8, !tbaa !34
  ret void

51:                                               ; preds = %33, %21, %19, %17, %15, %13, %11, %2
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %5, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %6, align 4
  br label %59

55:                                               ; preds = %30, %23
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %5, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  br label %59

59:                                               ; preds = %55, %51
  call void @_ZN7b2JointD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %8) #8
  br label %60

60:                                               ; preds = %59
  %61 = load ptr, ptr %5, align 8
  %62 = load i32, ptr %6, align 4
  %63 = insertvalue { ptr, i32 } poison, ptr %61, 0
  %64 = insertvalue { ptr, i32 } %63, i32 %62, 1
  resume { ptr, i32 } %64
}

declare void @_ZN7b2JointC2EPK10b2JointDef(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef) unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6b2Vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8)) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7b2Mat22C2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #3 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_Z6b2MulTRK11b2TransformRK6b2Vec2(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(8)) #6

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6b2Vec27SetZeroEv(ptr noundef nonnull align 4 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7b2JointD2Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #2 align 2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="64" "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 = { "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 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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 = !{!"vtable pointer", !8, i64 0}
!11 = !{i64 0, i64 4, !12, i64 4, i64 4, !12}
!12 = !{!13, !13, i64 0}
!13 = !{!"float", !7, i64 0}
!14 = !{!15, !6, i64 104}
!15 = !{!"_ZTS7b2Joint", !16, i64 8, !6, i64 16, !6, i64 24, !17, i64 32, !17, i64 64, !6, i64 96, !6, i64 104, !18, i64 112, !19, i64 116, !19, i64 117, !20, i64 120}
!16 = !{!"_ZTS11b2JointType", !7, i64 0}
!17 = !{!"_ZTS11b2JointEdge", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!18 = !{!"int", !7, i64 0}
!19 = !{!"bool", !7, i64 0}
!20 = !{!"_ZTS15b2JointUserData", !21, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = !{!23, !13, i64 44}
!23 = !{!"_ZTS15b2MouseJointDef", !24, i64 0, !25, i64 36, !13, i64 44, !13, i64 48, !13, i64 52}
!24 = !{!"_ZTS10b2JointDef", !16, i64 0, !20, i64 8, !6, i64 16, !6, i64 24, !19, i64 32}
!25 = !{!"_ZTS6b2Vec2", !13, i64 0, !13, i64 4}
!26 = !{!27, !13, i64 164}
!27 = !{!"_ZTS12b2MouseJoint", !15, i64 0, !25, i64 128, !25, i64 136, !13, i64 144, !13, i64 148, !13, i64 152, !25, i64 156, !13, i64 164, !13, i64 168, !18, i64 172, !18, i64 176, !25, i64 180, !25, i64 188, !13, i64 196, !13, i64 200, !28, i64 204, !25, i64 220}
!28 = !{!"_ZTS7b2Mat22", !25, i64 0, !25, i64 8}
!29 = !{!23, !13, i64 48}
!30 = !{!27, !13, i64 144}
!31 = !{!23, !13, i64 52}
!32 = !{!27, !13, i64 148}
!33 = !{!27, !13, i64 152}
!34 = !{!27, !13, i64 168}


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

@_ZTV12b2MouseJoint = external dso_local unnamed_addr constant { [14 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12b2MouseJointC2EPK15b2MouseJointDef(ptr noundef nonnull align 8 dereferenceable(228) %0, ptr noundef %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  tail call void @_ZN7b2JointC2EPK10b2JointDef(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef %1)
  store ptr getelementptr inbounds inrange(-16, 96) (i8, ptr @_ZTV12b2MouseJoint, i64 16), ptr %0, align 8, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %0, i64 128
  tail call void @_ZN6b2Vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %3)
  %4 = getelementptr inbounds i8, ptr %0, i64 136
  tail call void @_ZN6b2Vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %4)
  %5 = getelementptr inbounds i8, ptr %0, i64 156
  tail call void @_ZN6b2Vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %5)
  %6 = getelementptr inbounds i8, ptr %0, i64 180
  tail call void @_ZN6b2Vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %6)
  %7 = getelementptr inbounds i8, ptr %0, i64 188
  tail call void @_ZN6b2Vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %7)
  %8 = getelementptr inbounds i8, ptr %0, i64 204
  invoke void @_ZN7b2Mat22C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %8)
          to label %9 unwind label %26

9:                                                ; preds = %2
  %10 = getelementptr inbounds i8, ptr %0, i64 220
  tail call void @_ZN6b2Vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %10)
  %11 = getelementptr inbounds i8, ptr %1, i64 36
  %12 = load i64, ptr %11, align 4
  store i64 %12, ptr %4, align 8
  %13 = getelementptr inbounds i8, ptr %0, i64 104
  %14 = load ptr, ptr %13, align 8, !tbaa !8
  %15 = tail call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK6b2Body12GetTransformEv(ptr noundef nonnull align 8 dereferenceable(208) %14)
  %16 = invoke <2 x float> @_Z6b2MulTRK11b2TransformRK6b2Vec2(ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(8) %4)
          to label %17 unwind label %28

17:                                               ; preds = %9
  store <2 x float> %16, ptr %3, align 8
  %18 = getelementptr inbounds i8, ptr %1, i64 44
  %19 = load float, ptr %18, align 4, !tbaa !18
  %20 = getelementptr inbounds i8, ptr %0, i64 164
  store float %19, ptr %20, align 4, !tbaa !23
  %21 = getelementptr inbounds i8, ptr %1, i64 48
  %22 = getelementptr inbounds i8, ptr %0, i64 144
  %23 = load <2 x float>, ptr %21, align 8, !tbaa !26
  store <2 x float> %23, ptr %22, align 8, !tbaa !26
  tail call void @_ZN6b2Vec27SetZeroEv(ptr noundef nonnull align 4 dereferenceable(8) %5)
  %24 = getelementptr inbounds i8, ptr %0, i64 152
  store float 0.000000e+00, ptr %24, align 8, !tbaa !27
  %25 = getelementptr inbounds i8, ptr %0, i64 168
  store float 0.000000e+00, ptr %25, align 8, !tbaa !28
  ret void

26:                                               ; preds = %2
  %27 = landingpad { ptr, i32 }
          cleanup
  br label %30

28:                                               ; preds = %9
  %29 = landingpad { ptr, i32 }
          cleanup
  br label %30

30:                                               ; preds = %28, %26
  %.pn = phi { ptr, i32 } [ %29, %28 ], [ %27, %26 ]
  tail call void @_ZN7b2JointD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %0) #6
  resume { ptr, i32 } %.pn
}

declare void @_ZN7b2JointC2EPK10b2JointDef(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef) unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6b2Vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8)) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7b2Mat22C2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_Z6b2MulTRK11b2TransformRK6b2Vec2(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZNK6b2Body12GetTransformEv(ptr noundef nonnull align 8 dereferenceable(208)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6b2Vec27SetZeroEv(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7b2JointD2Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #2 align 2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="64" "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 = { "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 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"="64" "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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !12, i64 104}
!9 = !{!"_ZTS7b2Joint", !10, i64 8, !12, i64 16, !12, i64 24, !13, i64 32, !13, i64 64, !12, i64 96, !12, i64 104, !14, i64 112, !15, i64 116, !15, i64 117, !16, i64 120}
!10 = !{!"_ZTS11b2JointType", !11, i64 0}
!11 = !{!"omnipotent char", !7, i64 0}
!12 = !{!"any pointer", !11, i64 0}
!13 = !{!"_ZTS11b2JointEdge", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
!14 = !{!"int", !11, i64 0}
!15 = !{!"bool", !11, i64 0}
!16 = !{!"_ZTS15b2JointUserData", !17, i64 0}
!17 = !{!"long", !11, i64 0}
!18 = !{!19, !22, i64 44}
!19 = !{!"_ZTS15b2MouseJointDef", !20, i64 0, !21, i64 36, !22, i64 44, !22, i64 48, !22, i64 52}
!20 = !{!"_ZTS10b2JointDef", !10, i64 0, !16, i64 8, !12, i64 16, !12, i64 24, !15, i64 32}
!21 = !{!"_ZTS6b2Vec2", !22, i64 0, !22, i64 4}
!22 = !{!"float", !11, i64 0}
!23 = !{!24, !22, i64 164}
!24 = !{!"_ZTS12b2MouseJoint", !9, i64 0, !21, i64 128, !21, i64 136, !22, i64 144, !22, i64 148, !22, i64 152, !21, i64 156, !22, i64 164, !22, i64 168, !14, i64 172, !14, i64 176, !21, i64 180, !21, i64 188, !22, i64 196, !22, i64 200, !25, i64 204, !21, i64 220}
!25 = !{!"_ZTS7b2Mat22", !21, i64 0, !21, i64 8}
!26 = !{!22, !22, i64 0}
!27 = !{!24, !22, i64 152}
!28 = !{!24, !22, i64 168}


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