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

; 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.b2RevoluteJoint = type { %class.b2Joint, %struct.b2Vec2, %struct.b2Vec2, %struct.b2Vec2, float, float, float, i8, float, float, i8, float, float, float, i32, i32, %struct.b2Vec2, %struct.b2Vec2, %struct.b2Vec2, %struct.b2Vec2, float, float, float, float, %struct.b2Mat22, float, float }
%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.b2Vec2 = type { float, float }
%struct.b2Mat22 = type { %struct.b2Vec2, %struct.b2Vec2 }
%struct.b2RevoluteJointDef = type { %struct.b2JointDef.base, %struct.b2Vec2, %struct.b2Vec2, float, i8, float, float, i8, float, float }
%struct.b2JointDef.base = type <{ i32, [4 x i8], %struct.b2JointUserData, ptr, ptr, i8 }>

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

; 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) #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN15b2RevoluteJointC2EPK18b2RevoluteJointDef(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef %1) unnamed_addr #1 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
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %7 = load ptr, ptr %3, align 8
  %8 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN7b2JointC2EPK10b2JointDef(ptr noundef nonnull align 8 dereferenceable(128) %7, ptr noundef %8)
  store ptr getelementptr inbounds inrange(-16, 96) ({ [14 x ptr] }, ptr @_ZTV15b2RevoluteJoint, i32 0, i32 0, i32 2), ptr %7, align 8, !tbaa !9
  %9 = getelementptr inbounds %class.b2RevoluteJoint, ptr %7, i32 0, i32 1
  invoke void @_ZN6b2Vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %9)
          to label %10 unwind label %70

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

12:                                               ; preds = %10
  %13 = getelementptr inbounds %class.b2RevoluteJoint, ptr %7, i32 0, i32 3
  invoke void @_ZN6b2Vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %13)
          to label %14 unwind label %70

14:                                               ; preds = %12
  %15 = getelementptr inbounds %class.b2RevoluteJoint, ptr %7, i32 0, i32 16
  invoke void @_ZN6b2Vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %15)
          to label %16 unwind label %70

16:                                               ; preds = %14
  %17 = getelementptr inbounds %class.b2RevoluteJoint, ptr %7, i32 0, i32 17
  invoke void @_ZN6b2Vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %17)
          to label %18 unwind label %70

18:                                               ; preds = %16
  %19 = getelementptr inbounds %class.b2RevoluteJoint, ptr %7, i32 0, i32 18
  invoke void @_ZN6b2Vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %19)
          to label %20 unwind label %70

20:                                               ; preds = %18
  %21 = getelementptr inbounds %class.b2RevoluteJoint, ptr %7, i32 0, i32 19
  invoke void @_ZN6b2Vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %21)
          to label %22 unwind label %70

22:                                               ; preds = %20
  %23 = getelementptr inbounds %class.b2RevoluteJoint, ptr %7, i32 0, i32 24
  invoke void @_ZN7b2Mat22C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %23)
          to label %24 unwind label %70

24:                                               ; preds = %22
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %25, i32 0, i32 1
  %27 = getelementptr inbounds %class.b2RevoluteJoint, ptr %7, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %27, ptr align 4 %26, i64 8, i1 false), !tbaa.struct !11
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %28, i32 0, i32 2
  %30 = getelementptr inbounds %class.b2RevoluteJoint, ptr %7, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %30, ptr align 4 %29, i64 8, i1 false), !tbaa.struct !11
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %31, i32 0, i32 3
  %33 = load float, ptr %32, align 4, !tbaa !14
  %34 = getelementptr inbounds %class.b2RevoluteJoint, ptr %7, i32 0, i32 11
  store float %33, ptr %34, align 4, !tbaa !22
  %35 = getelementptr inbounds %class.b2RevoluteJoint, ptr %7, i32 0, i32 3
  invoke void @_ZN6b2Vec27SetZeroEv(ptr noundef nonnull align 4 dereferenceable(8) %35)
          to label %36 unwind label %70

36:                                               ; preds = %24
  %37 = getelementptr inbounds %class.b2RevoluteJoint, ptr %7, i32 0, i32 26
  store float 0.000000e+00, ptr %37, align 4, !tbaa !28
  %38 = getelementptr inbounds %class.b2RevoluteJoint, ptr %7, i32 0, i32 4
  store float 0.000000e+00, ptr %38, align 8, !tbaa !29
  %39 = getelementptr inbounds %class.b2RevoluteJoint, ptr %7, i32 0, i32 5
  store float 0.000000e+00, ptr %39, align 4, !tbaa !30
  %40 = getelementptr inbounds %class.b2RevoluteJoint, ptr %7, i32 0, i32 6
  store float 0.000000e+00, ptr %40, align 8, !tbaa !31
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %41, i32 0, i32 5
  %43 = load float, ptr %42, align 4, !tbaa !32
  %44 = getelementptr inbounds %class.b2RevoluteJoint, ptr %7, i32 0, i32 12
  store float %43, ptr %44, align 8, !tbaa !33
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %45, i32 0, i32 6
  %47 = load float, ptr %46, align 8, !tbaa !34
  %48 = getelementptr inbounds %class.b2RevoluteJoint, ptr %7, i32 0, i32 13
  store float %47, ptr %48, align 4, !tbaa !35
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %49, i32 0, i32 9
  %51 = load float, ptr %50, align 4, !tbaa !36
  %52 = getelementptr inbounds %class.b2RevoluteJoint, ptr %7, i32 0, i32 8
  store float %51, ptr %52, align 8, !tbaa !37
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %53, i32 0, i32 8
  %55 = load float, ptr %54, align 8, !tbaa !38
  %56 = getelementptr inbounds %class.b2RevoluteJoint, ptr %7, i32 0, i32 9
  store float %55, ptr %56, align 4, !tbaa !39
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %57, i32 0, i32 4
  %59 = load i8, ptr %58, align 8, !tbaa !40, !range !41, !noundef !42
  %60 = trunc i8 %59 to i1
  %61 = getelementptr inbounds %class.b2RevoluteJoint, ptr %7, i32 0, i32 10
  %62 = zext i1 %60 to i8
  store i8 %62, ptr %61, align 8, !tbaa !43
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.b2RevoluteJointDef, ptr %63, i32 0, i32 7
  %65 = load i8, ptr %64, align 4, !tbaa !44, !range !41, !noundef !42
  %66 = trunc i8 %65 to i1
  %67 = getelementptr inbounds %class.b2RevoluteJoint, ptr %7, i32 0, i32 7
  %68 = zext i1 %66 to i8
  store i8 %68, ptr %67, align 4, !tbaa !45
  %69 = getelementptr inbounds %class.b2RevoluteJoint, ptr %7, i32 0, i32 25
  store float 0.000000e+00, ptr %69, align 8, !tbaa !46
  ret void

70:                                               ; preds = %24, %22, %20, %18, %16, %14, %12, %10, %2
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %5, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %6, align 4
  call void @_ZN7b2JointD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %7) #4
  br label %74

74:                                               ; preds = %70
  %75 = load ptr, ptr %5, align 8
  %76 = load i32, ptr %6, align 4
  %77 = insertvalue { ptr, i32 } poison, ptr %75, 0
  %78 = insertvalue { ptr, i32 } %77, i32 %76, 1
  resume { ptr, i32 } %78
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6b2Vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8)) unnamed_addr #3 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 #1 align 2

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

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

attributes #0 = { nocallback nofree 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 = { "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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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, !13, i64 52}
!15 = !{!"_ZTS18b2RevoluteJointDef", !16, i64 0, !21, i64 36, !21, i64 44, !13, i64 52, !20, i64 56, !13, i64 60, !13, i64 64, !20, i64 68, !13, i64 72, !13, i64 76}
!16 = !{!"_ZTS10b2JointDef", !17, i64 0, !18, i64 8, !6, i64 16, !6, i64 24, !20, i64 32}
!17 = !{!"_ZTS11b2JointType", !7, i64 0}
!18 = !{!"_ZTS15b2JointUserData", !19, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!"bool", !7, i64 0}
!21 = !{!"_ZTS6b2Vec2", !13, i64 0, !13, i64 4}
!22 = !{!23, !13, i64 180}
!23 = !{!"_ZTS15b2RevoluteJoint", !24, i64 0, !21, i64 128, !21, i64 136, !21, i64 144, !13, i64 152, !13, i64 156, !13, i64 160, !20, i64 164, !13, i64 168, !13, i64 172, !20, i64 176, !13, i64 180, !13, i64 184, !13, i64 188, !26, i64 192, !26, i64 196, !21, i64 200, !21, i64 208, !21, i64 216, !21, i64 224, !13, i64 232, !13, i64 236, !13, i64 240, !13, i64 244, !27, i64 248, !13, i64 264, !13, i64 268}
!24 = !{!"_ZTS7b2Joint", !17, i64 8, !6, i64 16, !6, i64 24, !25, i64 32, !25, i64 64, !6, i64 96, !6, i64 104, !26, i64 112, !20, i64 116, !20, i64 117, !18, i64 120}
!25 = !{!"_ZTS11b2JointEdge", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!26 = !{!"int", !7, i64 0}
!27 = !{!"_ZTS7b2Mat22", !21, i64 0, !21, i64 8}
!28 = !{!23, !13, i64 268}
!29 = !{!23, !13, i64 152}
!30 = !{!23, !13, i64 156}
!31 = !{!23, !13, i64 160}
!32 = !{!15, !13, i64 60}
!33 = !{!23, !13, i64 184}
!34 = !{!15, !13, i64 64}
!35 = !{!23, !13, i64 188}
!36 = !{!15, !13, i64 76}
!37 = !{!23, !13, i64 168}
!38 = !{!15, !13, i64 72}
!39 = !{!23, !13, i64 172}
!40 = !{!15, !20, i64 56}
!41 = !{i8 0, i8 2}
!42 = !{}
!43 = !{!23, !20, i64 176}
!44 = !{!15, !20, i64 68}
!45 = !{!23, !20, i64 164}
!46 = !{!23, !13, i64 264}


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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN15b2RevoluteJointC2EPK18b2RevoluteJointDef(ptr noundef nonnull align 8 dereferenceable(272) %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 @_ZTV15b2RevoluteJoint, 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 144
  tail call void @_ZN6b2Vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %5)
  %6 = getelementptr inbounds i8, ptr %0, i64 200
  tail call void @_ZN6b2Vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %6)
  %7 = getelementptr inbounds i8, ptr %0, i64 208
  tail call void @_ZN6b2Vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %7)
  %8 = getelementptr inbounds i8, ptr %0, i64 216
  tail call void @_ZN6b2Vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %8)
  %9 = getelementptr inbounds i8, ptr %0, i64 224
  tail call void @_ZN6b2Vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %9)
  %10 = getelementptr inbounds i8, ptr %0, i64 248
  invoke void @_ZN7b2Mat22C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %10)
          to label %11 unwind label %35

11:                                               ; preds = %2
  %12 = getelementptr inbounds i8, ptr %1, i64 36
  %13 = load i64, ptr %12, align 4
  store i64 %13, ptr %3, align 8
  %14 = getelementptr inbounds i8, ptr %1, i64 44
  %15 = load i64, ptr %14, align 4
  store i64 %15, ptr %4, align 8
  %16 = getelementptr inbounds i8, ptr %1, i64 52
  %17 = load float, ptr %16, align 4, !tbaa !8
  %18 = getelementptr inbounds i8, ptr %0, i64 180
  store float %17, ptr %18, align 4, !tbaa !19
  tail call void @_ZN6b2Vec27SetZeroEv(ptr noundef nonnull align 4 dereferenceable(8) %5)
  %19 = getelementptr inbounds i8, ptr %0, i64 152
  store <2 x float> zeroinitializer, ptr %19, align 8, !tbaa !25
  %20 = getelementptr inbounds i8, ptr %0, i64 160
  store float 0.000000e+00, ptr %20, align 8, !tbaa !26
  %21 = getelementptr inbounds i8, ptr %1, i64 60
  %22 = getelementptr inbounds i8, ptr %0, i64 184
  %23 = load <2 x float>, ptr %21, align 4, !tbaa !25
  store <2 x float> %23, ptr %22, align 8, !tbaa !25
  %24 = getelementptr inbounds i8, ptr %0, i64 168
  %25 = getelementptr inbounds i8, ptr %1, i64 72
  %26 = load <2 x float>, ptr %25, align 8, !tbaa !25
  %27 = shufflevector <2 x float> %26, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  store <2 x float> %27, ptr %24, align 8, !tbaa !25
  %28 = getelementptr inbounds i8, ptr %1, i64 56
  %29 = load i8, ptr %28, align 8, !tbaa !27, !range !28, !noundef !29
  %30 = getelementptr inbounds i8, ptr %0, i64 176
  store i8 %29, ptr %30, align 8, !tbaa !30
  %31 = getelementptr inbounds i8, ptr %1, i64 68
  %32 = load i8, ptr %31, align 4, !tbaa !31, !range !28, !noundef !29
  %33 = getelementptr inbounds i8, ptr %0, i64 164
  store i8 %32, ptr %33, align 4, !tbaa !32
  %34 = getelementptr inbounds i8, ptr %0, i64 264
  store <2 x float> zeroinitializer, ptr %34, align 8, !tbaa !25
  ret void

35:                                               ; preds = %2
  %36 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN7b2JointD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %0) #3
  resume { ptr, i32 } %36
}

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 #0 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"="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 = { "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 = { 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, !18, i64 52}
!9 = !{!"_ZTS18b2RevoluteJointDef", !10, i64 0, !17, i64 36, !17, i64 44, !18, i64 52, !16, i64 56, !18, i64 60, !18, i64 64, !16, i64 68, !18, i64 72, !18, i64 76}
!10 = !{!"_ZTS10b2JointDef", !11, i64 0, !13, i64 8, !15, i64 16, !15, i64 24, !16, i64 32}
!11 = !{!"_ZTS11b2JointType", !12, i64 0}
!12 = !{!"omnipotent char", !7, i64 0}
!13 = !{!"_ZTS15b2JointUserData", !14, i64 0}
!14 = !{!"long", !12, i64 0}
!15 = !{!"any pointer", !12, i64 0}
!16 = !{!"bool", !12, i64 0}
!17 = !{!"_ZTS6b2Vec2", !18, i64 0, !18, i64 4}
!18 = !{!"float", !12, i64 0}
!19 = !{!20, !18, i64 180}
!20 = !{!"_ZTS15b2RevoluteJoint", !21, i64 0, !17, i64 128, !17, i64 136, !17, i64 144, !18, i64 152, !18, i64 156, !18, i64 160, !16, i64 164, !18, i64 168, !18, i64 172, !16, i64 176, !18, i64 180, !18, i64 184, !18, i64 188, !23, i64 192, !23, i64 196, !17, i64 200, !17, i64 208, !17, i64 216, !17, i64 224, !18, i64 232, !18, i64 236, !18, i64 240, !18, i64 244, !24, i64 248, !18, i64 264, !18, i64 268}
!21 = !{!"_ZTS7b2Joint", !11, i64 8, !15, i64 16, !15, i64 24, !22, i64 32, !22, i64 64, !15, i64 96, !15, i64 104, !23, i64 112, !16, i64 116, !16, i64 117, !13, i64 120}
!22 = !{!"_ZTS11b2JointEdge", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24}
!23 = !{!"int", !12, i64 0}
!24 = !{!"_ZTS7b2Mat22", !17, i64 0, !17, i64 8}
!25 = !{!18, !18, i64 0}
!26 = !{!20, !18, i64 160}
!27 = !{!9, !16, i64 56}
!28 = !{i8 0, i8 2}
!29 = !{}
!30 = !{!20, !16, i64 176}
!31 = !{!9, !16, i64 68}
!32 = !{!20, !16, i64 164}


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