; LLVM IR from erayzesen/QuarkPhysics :: QuarkPhysics/qrigidbody.ll (ZN10QRigidBody6UpdateEv)

; 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.QVector = type { float, float }
%class.QBody = type <{ ptr, float, float, ptr, %struct.QVector, %struct.QVector, float, float, %class.QAABB, i32, i8, i8, i8, i8, float, i32, i8, [3 x i8], float, i8, i8, [2 x i8], %struct.QVector, float, float, float, float, float, i32, i32, i8, i8, i8, i8, i32, i32, i32, i8, [3 x i8], %"class.std::function", %"class.std::function", %"class.std::function.0", i8, [7 x i8], %"class.std::vector", i32, i8, [3 x i8] }>
%class.QAABB = type { %struct.QVector, %struct.QVector, %struct.QVector, float }
%"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.std::function.0" = type { %"class.std::_Function_base", ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<QMesh *, std::allocator<QMesh *>>::_Vector_impl" }
%"struct.std::_Vector_base<QMesh *, std::allocator<QMesh *>>::_Vector_impl" = type { %"struct.std::_Vector_base<QMesh *, std::allocator<QMesh *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<QMesh *, std::allocator<QMesh *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.QRigidBody = type { %class.QBody.base, i8, %struct.QVector, float, [4 x i8] }
%class.QBody.base = type <{ ptr, float, float, ptr, %struct.QVector, %struct.QVector, float, float, %class.QAABB, i32, i8, i8, i8, i8, float, i32, i8, [3 x i8], float, i8, i8, [2 x i8], %struct.QVector, float, float, float, float, float, i32, i32, i8, i8, i8, i8, i32, i32, i32, i8, [3 x i8], %"class.std::function", %"class.std::function", %"class.std::function.0", i8, [7 x i8], %"class.std::vector", i32, i8 }>

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN7QVector4ZeroEv() #0 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) #1

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

declare void @_ZN5QBody20UpdateMeshTransformsEv(ptr noundef nonnull align 8 dereferenceable(293)) #3

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10QRigidBody6UpdateEv(ptr noundef nonnull align 8 dereferenceable(308) %0) unnamed_addr #0 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca float, align 4
  %4 = alloca %struct.QVector, align 4
  %5 = alloca %struct.QVector, align 4
  %6 = alloca %struct.QVector, align 4
  %7 = alloca %struct.QVector, align 4
  %8 = alloca %struct.QVector, align 4
  %9 = alloca float, align 4
  %10 = alloca %struct.QVector, align 4
  %11 = alloca %struct.QVector, align 4
  %12 = alloca %struct.QVector, align 4
  %13 = alloca %struct.QVector, align 4
  %14 = alloca %struct.QVector, align 4
  %15 = alloca %struct.QVector, align 4
  %16 = alloca %struct.QVector, align 4
  %17 = alloca %struct.QVector, align 4
  %18 = alloca %struct.QVector, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %19 = load ptr, ptr %2, align 8
  call void @_ZN5QBody6UpdateEv(ptr noundef nonnull align 8 dereferenceable(293) %19)
  %20 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 9
  %21 = load i32, ptr %20, align 4, !tbaa !9
  %22 = icmp eq i32 %21, 1
  br i1 %22, label %23, label %24

23:                                               ; preds = %1
  br label %178

24:                                               ; preds = %1
  %25 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 3
  %26 = load ptr, ptr %25, align 8, !tbaa !26
  %27 = icmp eq ptr %26, null
  br i1 %27, label %28, label %29

28:                                               ; preds = %24
  br label %178

29:                                               ; preds = %24
  %30 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 32
  %31 = load i8, ptr %30, align 2, !tbaa !27, !range !28, !noundef !29
  %32 = trunc i8 %31 to i1
  br i1 %32, label %33, label %34

33:                                               ; preds = %29
  br label %178

34:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #10
  store float 1.000000e+00, ptr %3, align 4, !tbaa !30
  %35 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 12
  %36 = load i8, ptr %35, align 2, !tbaa !31, !range !28, !noundef !29
  %37 = trunc i8 %36 to i1
  %38 = zext i1 %37 to i32
  %39 = icmp eq i32 %38, 1
  br i1 %39, label %40, label %43

40:                                               ; preds = %34
  %41 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 14
  %42 = load float, ptr %41, align 4, !tbaa !32
  store float %42, ptr %3, align 4, !tbaa !30
  br label %52

43:                                               ; preds = %34
  %44 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 3
  %45 = load ptr, ptr %44, align 8, !tbaa !26
  %46 = icmp ne ptr %45, null
  br i1 %46, label %47, label %51

47:                                               ; preds = %43
  %48 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 3
  %49 = load ptr, ptr %48, align 8, !tbaa !26
  %50 = call noundef float @_ZN6QWorld12GetTimeScaleEv(ptr noundef nonnull align 8 dereferenceable(272) %49)
  store float %50, ptr %3, align 4, !tbaa !30
  br label %51

51:                                               ; preds = %47, %43
  br label %52

52:                                               ; preds = %51, %40
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #10
  %53 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 8 %53, i64 8, i1 false), !tbaa.struct !33
  %54 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 8 %54, i64 8, i1 false), !tbaa.struct !33
  %55 = load <2 x float>, ptr %5, align 4
  %56 = load <2 x float>, ptr %6, align 4
  %57 = call <2 x float> @_Zmi7QVectorS_(<2 x float> %55, <2 x float> %56)
  store <2 x float> %57, ptr %4, align 4
  %58 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 4
  %59 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %59, ptr align 8 %58, i64 8, i1 false), !tbaa.struct !33
  %60 = getelementptr inbounds %struct.QVector, ptr %4, i32 0, i32 0
  %61 = load float, ptr %60, align 4, !tbaa !34
  %62 = call noundef float @_ZSt3absf(float noundef %61)
  %63 = fpext float %62 to double
  %64 = fcmp olt double %63, 1.000000e-02
  br i1 %64, label %65, label %72

65:                                               ; preds = %52
  %66 = getelementptr inbounds %struct.QVector, ptr %4, i32 0, i32 0
  store float 0.000000e+00, ptr %66, align 4, !tbaa !34
  %67 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 4
  %68 = getelementptr inbounds %struct.QVector, ptr %67, i32 0, i32 0
  %69 = load float, ptr %68, align 8, !tbaa !35
  %70 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 5
  %71 = getelementptr inbounds %struct.QVector, ptr %70, i32 0, i32 0
  store float %69, ptr %71, align 8, !tbaa !36
  br label %72

72:                                               ; preds = %65, %52
  %73 = getelementptr inbounds %struct.QVector, ptr %4, i32 0, i32 1
  %74 = load float, ptr %73, align 4, !tbaa !37
  %75 = call noundef float @_ZSt3absf(float noundef %74)
  %76 = fpext float %75 to double
  %77 = fcmp olt double %76, 1.000000e-02
  br i1 %77, label %78, label %85

78:                                               ; preds = %72
  %79 = getelementptr inbounds %struct.QVector, ptr %4, i32 0, i32 1
  store float 0.000000e+00, ptr %79, align 4, !tbaa !37
  %80 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 4
  %81 = getelementptr inbounds %struct.QVector, ptr %80, i32 0, i32 1
  %82 = load float, ptr %81, align 4, !tbaa !38
  %83 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 5
  %84 = getelementptr inbounds %struct.QVector, ptr %83, i32 0, i32 1
  store float %82, ptr %84, align 4, !tbaa !39
  br label %85

85:                                               ; preds = %78, %72
  %86 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 18
  %87 = load float, ptr %86, align 8, !tbaa !40
  %88 = fcmp ogt float %87, 0.000000e+00
  br i1 %88, label %89, label %100

89:                                               ; preds = %85
  %90 = call noundef float @_ZNK7QVector6LengthEv(ptr noundef nonnull align 4 dereferenceable(8) %4)
  %91 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 18
  %92 = load float, ptr %91, align 8, !tbaa !40
  %93 = fcmp ogt float %90, %92
  br i1 %93, label %94, label %100

94:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #10
  %95 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 18
  %96 = load float, ptr %95, align 8, !tbaa !40
  %97 = call <2 x float> @_ZNK7QVector10NormalizedEv(ptr noundef nonnull align 4 dereferenceable(8) %4)
  store <2 x float> %97, ptr %8, align 4
  %98 = load <2 x float>, ptr %8, align 4
  %99 = call <2 x float> @_Zmlf7QVector(float noundef %96, <2 x float> %98)
  store <2 x float> %99, ptr %7, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %4, ptr align 4 %7, i64 8, i1 false), !tbaa.struct !33
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  br label %100

100:                                              ; preds = %94, %89, %85
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #10
  %101 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 6
  %102 = load float, ptr %101, align 8, !tbaa !41
  %103 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 7
  %104 = load float, ptr %103, align 4, !tbaa !42
  %105 = fsub float %102, %104
  store float %105, ptr %9, align 4, !tbaa !30
  %106 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 6
  %107 = load float, ptr %106, align 8, !tbaa !41
  %108 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 7
  store float %107, ptr %108, align 4, !tbaa !42
  %109 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 30
  %110 = load i8, ptr %109, align 4, !tbaa !43, !range !28, !noundef !29
  %111 = trunc i8 %110 to i1
  %112 = zext i1 %111 to i32
  %113 = icmp eq i32 %112, 0
  br i1 %113, label %114, label %166

114:                                              ; preds = %100
  %115 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 19
  %116 = load i8, ptr %115, align 4, !tbaa !44, !range !28, !noundef !29
  %117 = trunc i8 %116 to i1
  %118 = zext i1 %117 to i32
  %119 = icmp eq i32 %118, 1
  br i1 %119, label %120, label %166

120:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 4 %4, i64 8, i1 false), !tbaa.struct !33
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 %4, i64 8, i1 false), !tbaa.struct !33
  %121 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 25
  %122 = load float, ptr %121, align 8, !tbaa !45
  %123 = load <2 x float>, ptr %13, align 4
  %124 = call <2 x float> @_Zml7QVectorf(<2 x float> %123, float noundef %122)
  store <2 x float> %124, ptr %12, align 4
  %125 = load <2 x float>, ptr %11, align 4
  %126 = load <2 x float>, ptr %12, align 4
  %127 = call <2 x float> @_Zmi7QVectorS_(<2 x float> %125, <2 x float> %126)
  store <2 x float> %127, ptr %10, align 4
  %128 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 4
  %129 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN7QVectorpLERKS_(ptr noundef nonnull align 4 dereferenceable(8) %128, ptr noundef nonnull align 4 dereferenceable(8) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  %130 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 46
  %131 = load i8, ptr %130, align 4, !tbaa !46, !range !28, !noundef !29
  %132 = trunc i8 %131 to i1
  %133 = zext i1 %132 to i32
  %134 = icmp eq i32 %133, 0
  br i1 %134, label %135, label %156

135:                                              ; preds = %120
  %136 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 20
  %137 = load i8, ptr %136, align 1, !tbaa !47, !range !28, !noundef !29
  %138 = trunc i8 %137 to i1
  br i1 %138, label %139, label %146

139:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #10
  %140 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 22
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 8 %140, i64 8, i1 false), !tbaa.struct !33
  %141 = load float, ptr %3, align 4, !tbaa !30
  %142 = load <2 x float>, ptr %15, align 4
  %143 = call <2 x float> @_Zml7QVectorf(<2 x float> %142, float noundef %141)
  store <2 x float> %143, ptr %14, align 4
  %144 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 4
  %145 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN7QVectorpLERKS_(ptr noundef nonnull align 4 dereferenceable(8) %144, ptr noundef nonnull align 4 dereferenceable(8) %14)
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  br label %155

146:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #10
  %147 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 3
  %148 = load ptr, ptr %147, align 8, !tbaa !26
  %149 = call <2 x float> @_ZN6QWorld10GetGravityEv(ptr noundef nonnull align 8 dereferenceable(272) %148)
  store <2 x float> %149, ptr %17, align 4
  %150 = load float, ptr %3, align 4, !tbaa !30
  %151 = load <2 x float>, ptr %17, align 4
  %152 = call <2 x float> @_Zml7QVectorf(<2 x float> %151, float noundef %150)
  store <2 x float> %152, ptr %16, align 4
  %153 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 4
  %154 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN7QVectorpLERKS_(ptr noundef nonnull align 4 dereferenceable(8) %153, ptr noundef nonnull align 4 dereferenceable(8) %16)
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  br label %155

155:                                              ; preds = %146, %139
  br label %156

156:                                              ; preds = %155, %120
  %157 = load float, ptr %9, align 4, !tbaa !30
  %158 = load float, ptr %9, align 4, !tbaa !30
  %159 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 25
  %160 = load float, ptr %159, align 8, !tbaa !45
  %161 = fneg float %158
  %162 = call float @llvm.fmuladd.f32(float %161, float %160, float %157)
  %163 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 6
  %164 = load float, ptr %163, align 8, !tbaa !41
  %165 = fadd float %164, %162
  store float %165, ptr %163, align 8, !tbaa !41
  br label %166

166:                                              ; preds = %156, %114, %100
  %167 = getelementptr inbounds %class.QRigidBody, ptr %19, i32 0, i32 2
  %168 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 4
  %169 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN7QVectorpLERKS_(ptr noundef nonnull align 4 dereferenceable(8) %168, ptr noundef nonnull align 4 dereferenceable(8) %167)
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #10
  %170 = call <2 x float> @_ZN7QVector4ZeroEv()
  store <2 x float> %170, ptr %18, align 4
  %171 = getelementptr inbounds %class.QRigidBody, ptr %19, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %171, ptr align 4 %18, i64 8, i1 false), !tbaa.struct !33
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  %172 = getelementptr inbounds %class.QRigidBody, ptr %19, i32 0, i32 3
  %173 = load float, ptr %172, align 8, !tbaa !48
  %174 = getelementptr inbounds %class.QBody, ptr %19, i32 0, i32 6
  %175 = load float, ptr %174, align 8, !tbaa !41
  %176 = fadd float %175, %173
  store float %176, ptr %174, align 8, !tbaa !41
  %177 = getelementptr inbounds %class.QRigidBody, ptr %19, i32 0, i32 3
  store float 0.000000e+00, ptr %177, align 8, !tbaa !48
  call void @_ZN5QBody20UpdateMeshTransformsEv(ptr noundef nonnull align 8 dereferenceable(293) %19)
  call void @_ZN5QBody10UpdateAABBEv(ptr noundef nonnull align 8 dereferenceable(293) %19)
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #10
  br label %178

178:                                              ; preds = %166, %33, %28, %23
  ret void
}

declare void @_ZN5QBody6UpdateEv(ptr noundef nonnull align 8 dereferenceable(293)) unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZN6QWorld12GetTimeScaleEv(ptr noundef nonnull align 8 dereferenceable(272)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_Zmi7QVectorS_(<2 x float>, <2 x float>) #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt3absf(float noundef) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef float @_ZNK7QVector6LengthEv(ptr noundef nonnull align 4 dereferenceable(8)) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_Zmlf7QVector(float noundef, <2 x float>) #0

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

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_Zml7QVectorf(<2 x float>, float noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local <2 x float> @_ZN6QWorld10GetGravityEv(ptr noundef nonnull align 8 dereferenceable(272)) #8 align 2

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

declare void @_ZN5QBody10UpdateAABBEv(ptr noundef nonnull align 8 dereferenceable(293)) #3

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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { "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 nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #7 = { 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 #8 = { mustprogress nounwind 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 #9 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #10 = { 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, !14, i64 76}
!10 = !{!"_ZTS5QBody", !11, i64 8, !11, i64 12, !6, i64 16, !12, i64 24, !12, i64 32, !11, i64 40, !11, i64 44, !13, i64 48, !14, i64 76, !15, i64 80, !15, i64 81, !15, i64 82, !11, i64 84, !16, i64 88, !15, i64 92, !11, i64 96, !15, i64 100, !15, i64 101, !12, i64 104, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !11, i64 128, !17, i64 132, !17, i64 136, !15, i64 140, !15, i64 141, !15, i64 142, !17, i64 144, !17, i64 148, !17, i64 152, !15, i64 156, !18, i64 160, !18, i64 192, !20, i64 224, !15, i64 256, !21, i64 264, !25, i64 288, !15, i64 292}
!11 = !{!"float", !7, i64 0}
!12 = !{!"_ZTS7QVector", !11, i64 0, !11, i64 4}
!13 = !{!"_ZTS5QAABB", !12, i64 0, !12, i64 8, !12, i64 16, !11, i64 24}
!14 = !{!"_ZTSN5QBody5ModesE", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTSN5QBody9BodyTypesE", !7, i64 0}
!17 = !{!"int", !7, i64 0}
!18 = !{!"_ZTSSt8functionIFvP5QBodyEE", !19, i64 0, !6, i64 24}
!19 = !{!"_ZTSSt14_Function_base", !7, i64 0, !6, i64 16}
!20 = !{!"_ZTSSt8functionIFbP5QBodyNS0_13CollisionInfoEEE", !19, i64 0, !6, i64 24}
!21 = !{!"_ZTSSt6vectorIP5QMeshSaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIP5QMeshSaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIP5QMeshSaIS1_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIP5QMeshSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"_ZTSN5QBody16SimulationModelsE", !7, i64 0}
!26 = !{!10, !6, i64 16}
!27 = !{!10, !15, i64 142}
!28 = !{i8 0, i8 2}
!29 = !{}
!30 = !{!11, !11, i64 0}
!31 = !{!10, !15, i64 82}
!32 = !{!10, !11, i64 84}
!33 = !{i64 0, i64 4, !30, i64 4, i64 4, !30}
!34 = !{!12, !11, i64 0}
!35 = !{!10, !11, i64 24}
!36 = !{!10, !11, i64 32}
!37 = !{!12, !11, i64 4}
!38 = !{!10, !11, i64 28}
!39 = !{!10, !11, i64 36}
!40 = !{!10, !11, i64 96}
!41 = !{!10, !11, i64 40}
!42 = !{!10, !11, i64 44}
!43 = !{!10, !15, i64 140}
!44 = !{!10, !15, i64 100}
!45 = !{!10, !11, i64 120}
!46 = !{!10, !15, i64 292}
!47 = !{!10, !15, i64 101}
!48 = !{!49, !11, i64 304}
!49 = !{!"_ZTS10QRigidBody", !10, i64 0, !15, i64 293, !12, i64 296, !11, i64 304}


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

%struct.QVector = type { float, float }

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN7QVector4ZeroEv() local_unnamed_addr #0 align 2

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

declare void @_ZN5QBody20UpdateMeshTransformsEv(ptr noundef nonnull align 8 dereferenceable(293)) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10QRigidBody6UpdateEv(ptr noundef nonnull align 8 dereferenceable(308) %0) unnamed_addr #0 align 2 {
  %2 = alloca %struct.QVector, align 8
  %3 = alloca %struct.QVector, align 8
  %4 = alloca %struct.QVector, align 8
  %5 = alloca %struct.QVector, align 8
  tail call void @_ZN5QBody6UpdateEv(ptr noundef nonnull align 8 dereferenceable(293) %0)
  %6 = getelementptr inbounds i8, ptr %0, i64 76
  %7 = load i32, ptr %6, align 4, !tbaa !5
  %8 = icmp eq i32 %7, 1
  br i1 %8, label %107, label %9

9:                                                ; preds = %1
  %10 = getelementptr inbounds i8, ptr %0, i64 16
  %11 = load ptr, ptr %10, align 8, !tbaa !25
  %12 = icmp eq ptr %11, null
  br i1 %12, label %107, label %13

13:                                               ; preds = %9
  %14 = getelementptr inbounds i8, ptr %0, i64 142
  %15 = load i8, ptr %14, align 2, !tbaa !26, !range !27, !noundef !28
  %16 = trunc nuw i8 %15 to i1
  br i1 %16, label %107, label %17

17:                                               ; preds = %13
  %18 = getelementptr inbounds i8, ptr %0, i64 82
  %19 = load i8, ptr %18, align 2, !tbaa !29, !range !27, !noundef !28
  %20 = trunc nuw i8 %19 to i1
  br i1 %20, label %21, label %24

21:                                               ; preds = %17
  %22 = getelementptr inbounds i8, ptr %0, i64 84
  %23 = load float, ptr %22, align 4, !tbaa !30
  br label %26

24:                                               ; preds = %17
  %25 = tail call noundef float @_ZN6QWorld12GetTimeScaleEv(ptr noundef nonnull align 8 dereferenceable(272) %11)
  br label %26

26:                                               ; preds = %24, %21
  %.0 = phi float [ %23, %21 ], [ %25, %24 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #9
  %27 = getelementptr inbounds i8, ptr %0, i64 24
  %.sroa.010.0.copyload = load <2 x float>, ptr %27, align 8
  %28 = getelementptr inbounds i8, ptr %0, i64 32
  %.sroa.09.0.copyload = load <2 x float>, ptr %28, align 8
  %29 = tail call <2 x float> @_Zmi7QVectorS_(<2 x float> %.sroa.010.0.copyload, <2 x float> %.sroa.09.0.copyload)
  store <2 x float> %29, ptr %2, align 8
  %30 = load i64, ptr %27, align 8
  store i64 %30, ptr %28, align 8
  %31 = extractelement <2 x float> %29, i64 0
  %32 = tail call noundef float @_ZSt3absf(float noundef %31)
  %33 = fpext float %32 to double
  %34 = fcmp olt double %33, 1.000000e-02
  %35 = extractelement <2 x float> %29, i64 1
  br i1 %34, label %36, label %38

36:                                               ; preds = %26
  store float 0.000000e+00, ptr %2, align 8, !tbaa !31
  %37 = load float, ptr %27, align 8, !tbaa !32
  store float %37, ptr %28, align 8, !tbaa !33
  br label %38

38:                                               ; preds = %36, %26
  %39 = tail call noundef float @_ZSt3absf(float noundef %35)
  %40 = fpext float %39 to double
  %41 = fcmp olt double %40, 1.000000e-02
  br i1 %41, label %42, label %47

42:                                               ; preds = %38
  %43 = getelementptr inbounds i8, ptr %2, i64 4
  store float 0.000000e+00, ptr %43, align 4, !tbaa !34
  %44 = getelementptr inbounds i8, ptr %0, i64 28
  %45 = load float, ptr %44, align 4, !tbaa !35
  %46 = getelementptr inbounds i8, ptr %0, i64 36
  store float %45, ptr %46, align 4, !tbaa !36
  br label %47

47:                                               ; preds = %42, %38
  %48 = getelementptr inbounds i8, ptr %0, i64 96
  %49 = load float, ptr %48, align 8, !tbaa !37
  %50 = fcmp ogt float %49, 0.000000e+00
  br i1 %50, label %51, label %58

51:                                               ; preds = %47
  %52 = call noundef float @_ZNK7QVector6LengthEv(ptr noundef nonnull align 4 dereferenceable(8) %2)
  %53 = load float, ptr %48, align 8, !tbaa !37
  %54 = fcmp ogt float %52, %53
  br i1 %54, label %55, label %58

55:                                               ; preds = %51
  %56 = call <2 x float> @_ZNK7QVector10NormalizedEv(ptr noundef nonnull align 4 dereferenceable(8) %2)
  %57 = call <2 x float> @_Zmlf7QVector(float noundef %53, <2 x float> %56)
  store <2 x float> %57, ptr %2, align 8
  br label %58

58:                                               ; preds = %55, %51, %47
  %59 = getelementptr inbounds i8, ptr %0, i64 40
  %60 = load float, ptr %59, align 8, !tbaa !38
  %61 = getelementptr inbounds i8, ptr %0, i64 44
  %62 = load float, ptr %61, align 4, !tbaa !39
  %63 = fsub float %60, %62
  store float %60, ptr %61, align 4, !tbaa !39
  %64 = getelementptr inbounds i8, ptr %0, i64 140
  %65 = load i8, ptr %64, align 4, !tbaa !40, !range !27, !noundef !28
  %66 = icmp eq i8 %65, 0
  br i1 %66, label %67, label %99

67:                                               ; preds = %58
  %68 = getelementptr inbounds i8, ptr %0, i64 100
  %69 = load i8, ptr %68, align 4, !tbaa !41, !range !27, !noundef !28
  %70 = trunc nuw i8 %69 to i1
  br i1 %70, label %71, label %99

71:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #9
  %.sroa.05.0.copyload = load <2 x float>, ptr %2, align 8
  %72 = getelementptr inbounds i8, ptr %0, i64 120
  %73 = load float, ptr %72, align 8, !tbaa !42
  %74 = call <2 x float> @_Zml7QVectorf(<2 x float> %.sroa.05.0.copyload, float noundef %73)
  %75 = call <2 x float> @_Zmi7QVectorS_(<2 x float> %.sroa.05.0.copyload, <2 x float> %74)
  store <2 x float> %75, ptr %3, align 8
  %76 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN7QVectorpLERKS_(ptr noundef nonnull align 4 dereferenceable(8) %27, ptr noundef nonnull align 4 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #9
  %77 = getelementptr inbounds i8, ptr %0, i64 292
  %78 = load i8, ptr %77, align 4, !tbaa !43, !range !27, !noundef !28
  %79 = icmp eq i8 %78, 0
  br i1 %79, label %80, label %93

80:                                               ; preds = %71
  %81 = getelementptr inbounds i8, ptr %0, i64 101
  %82 = load i8, ptr %81, align 1, !tbaa !44, !range !27, !noundef !28
  %83 = trunc nuw i8 %82 to i1
  br i1 %83, label %84, label %88

84:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #9
  %85 = getelementptr inbounds i8, ptr %0, i64 104
  %.sroa.02.0.copyload = load <2 x float>, ptr %85, align 8
  %86 = call <2 x float> @_Zml7QVectorf(<2 x float> %.sroa.02.0.copyload, float noundef %.0)
  store <2 x float> %86, ptr %4, align 8
  %87 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN7QVectorpLERKS_(ptr noundef nonnull align 4 dereferenceable(8) %27, ptr noundef nonnull align 4 dereferenceable(8) %4)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #9
  br label %93

88:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #9
  %89 = load ptr, ptr %10, align 8, !tbaa !25
  %90 = call <2 x float> @_ZN6QWorld10GetGravityEv(ptr noundef nonnull align 8 dereferenceable(272) %89)
  %91 = call <2 x float> @_Zml7QVectorf(<2 x float> %90, float noundef %.0)
  store <2 x float> %91, ptr %5, align 8
  %92 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN7QVectorpLERKS_(ptr noundef nonnull align 4 dereferenceable(8) %27, ptr noundef nonnull align 4 dereferenceable(8) %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  br label %93

93:                                               ; preds = %84, %88, %71
  %94 = load float, ptr %72, align 8, !tbaa !42
  %95 = fneg float %63
  %96 = call float @llvm.fmuladd.f32(float %95, float %94, float %63)
  %97 = load float, ptr %59, align 8, !tbaa !38
  %98 = fadd float %97, %96
  store float %98, ptr %59, align 8, !tbaa !38
  br label %99

99:                                               ; preds = %93, %67, %58
  %100 = getelementptr inbounds i8, ptr %0, i64 296
  %101 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN7QVectorpLERKS_(ptr noundef nonnull align 4 dereferenceable(8) %27, ptr noundef nonnull align 4 dereferenceable(8) %100)
  %102 = call <2 x float> @_ZN7QVector4ZeroEv()
  store <2 x float> %102, ptr %100, align 8
  %103 = getelementptr inbounds i8, ptr %0, i64 304
  %104 = load float, ptr %103, align 8, !tbaa !45
  %105 = load float, ptr %59, align 8, !tbaa !38
  %106 = fadd float %104, %105
  store float %106, ptr %59, align 8, !tbaa !38
  store float 0.000000e+00, ptr %103, align 8, !tbaa !45
  call void @_ZN5QBody20UpdateMeshTransformsEv(ptr noundef nonnull align 8 dereferenceable(293) %0)
  call void @_ZN5QBody10UpdateAABBEv(ptr noundef nonnull align 8 dereferenceable(293) %0)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #9
  br label %107

107:                                              ; preds = %13, %9, %1, %99
  ret void
}

declare void @_ZN5QBody6UpdateEv(ptr noundef nonnull align 8 dereferenceable(293)) unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZN6QWorld12GetTimeScaleEv(ptr noundef nonnull align 8 dereferenceable(272)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_Zmi7QVectorS_(<2 x float>, <2 x float>) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt3absf(float noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef float @_ZNK7QVector6LengthEv(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_Zmlf7QVector(float noundef, <2 x float>) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_Zml7QVectorf(<2 x float>, float noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local <2 x float> @_ZN6QWorld10GetGravityEv(ptr noundef nonnull align 8 dereferenceable(272)) local_unnamed_addr #7 align 2

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

declare void @_ZN5QBody10UpdateAABBEv(ptr noundef nonnull align 8 dereferenceable(293)) local_unnamed_addr #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 = { 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 #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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { 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 #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 = { mustprogress nounwind 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 #8 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { 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, !13, i64 76}
!6 = !{!"_ZTS5QBody", !7, i64 8, !7, i64 12, !10, i64 16, !11, i64 24, !11, i64 32, !7, i64 40, !7, i64 44, !12, i64 48, !13, i64 76, !14, i64 80, !14, i64 81, !14, i64 82, !7, i64 84, !15, i64 88, !14, i64 92, !7, i64 96, !14, i64 100, !14, i64 101, !11, i64 104, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !7, i64 128, !16, i64 132, !16, i64 136, !14, i64 140, !14, i64 141, !14, i64 142, !16, i64 144, !16, i64 148, !16, i64 152, !14, i64 156, !17, i64 160, !17, i64 192, !19, i64 224, !14, i64 256, !20, i64 264, !24, i64 288, !14, i64 292}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"_ZTS7QVector", !7, i64 0, !7, i64 4}
!12 = !{!"_ZTS5QAABB", !11, i64 0, !11, i64 8, !11, i64 16, !7, i64 24}
!13 = !{!"_ZTSN5QBody5ModesE", !8, i64 0}
!14 = !{!"bool", !8, i64 0}
!15 = !{!"_ZTSN5QBody9BodyTypesE", !8, i64 0}
!16 = !{!"int", !8, i64 0}
!17 = !{!"_ZTSSt8functionIFvP5QBodyEE", !18, i64 0, !10, i64 24}
!18 = !{!"_ZTSSt14_Function_base", !8, i64 0, !10, i64 16}
!19 = !{!"_ZTSSt8functionIFbP5QBodyNS0_13CollisionInfoEEE", !18, i64 0, !10, i64 24}
!20 = !{!"_ZTSSt6vectorIP5QMeshSaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIP5QMeshSaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIP5QMeshSaIS1_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIP5QMeshSaIS1_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!24 = !{!"_ZTSN5QBody16SimulationModelsE", !8, i64 0}
!25 = !{!6, !10, i64 16}
!26 = !{!6, !14, i64 142}
!27 = !{i8 0, i8 2}
!28 = !{}
!29 = !{!6, !14, i64 82}
!30 = !{!6, !7, i64 84}
!31 = !{!11, !7, i64 0}
!32 = !{!6, !7, i64 24}
!33 = !{!6, !7, i64 32}
!34 = !{!11, !7, i64 4}
!35 = !{!6, !7, i64 28}
!36 = !{!6, !7, i64 36}
!37 = !{!6, !7, i64 96}
!38 = !{!6, !7, i64 40}
!39 = !{!6, !7, i64 44}
!40 = !{!6, !14, i64 140}
!41 = !{!6, !14, i64 100}
!42 = !{!6, !7, i64 120}
!43 = !{!6, !14, i64 292}
!44 = !{!6, !14, i64 101}
!45 = !{!46, !7, i64 304}
!46 = !{!"_ZTS10QRigidBody", !6, i64 0, !14, i64 293, !11, i64 296, !7, i64 304}


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