; LLVM IR from ThePhysicsGuys/Physics3D :: tests/inertiaTests.ll (Z26inertiaRotationDerivativesv)

; 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.P3D::Polyhedron" = type { %"class.P3D::TriangleMesh" }
%"class.P3D::TriangleMesh" = type { %"class.P3D::MeshPrototype" }
%"class.P3D::MeshPrototype" = type { %"class.P3D::UniqueAlignedPointer", %"class.P3D::UniqueAlignedPointer.0", i32, i32 }
%"class.P3D::UniqueAlignedPointer" = type { ptr }
%"class.P3D::UniqueAlignedPointer.0" = type { ptr }
%"class.P3D::SymmetricMatrix" = type { [6 x double] }
%"struct.P3D::FullTaylorExpansion" = type { %"struct.P3D::Derivatives.6" }
%"struct.P3D::Derivatives.6" = type { [3 x %"class.P3D::SymmetricMatrix"] }
%class.TolerantAssertComparer.7 = type { i32, ptr, double }
%class.TolerantAssertComparer = type { i32, ptr, double }
%"struct.P3D::CFrameTemplate" = type { %"struct.P3D::Vector", %"class.P3D::MatrixRotationTemplate" }
%"struct.P3D::Vector" = type { %union.anon }
%union.anon = type { [3 x double] }
%"class.P3D::MatrixRotationTemplate" = type { %"class.P3D::Matrix" }
%"class.P3D::Matrix" = type { [9 x double] }
%"struct.P3D::RotationalMotion" = type { %"struct.P3D::TaylorExpansion" }
%"struct.P3D::TaylorExpansion" = type { %"struct.P3D::Derivatives" }
%"struct.P3D::Derivatives" = type { [2 x %"struct.P3D::Vector"] }
%"struct.std::array.8" = type { [3 x %"class.P3D::MatrixRotationTemplate"] }
%"struct.std::array.5" = type { [3 x %"class.P3D::SymmetricMatrix"] }
%struct.TolerantAssertBuilder = type { i32, double }
%class.TestInterface = type <{ i64, i8, [7 x i8] }>

@.str.3 = external hidden unnamed_addr constant [6 x i8], align 1
@_ZTI14AssertionError = external dso_local constant { ptr, ptr }, align 8
@_ZN3P3D12ShapeLibrary15trianglePyramidE = external global %"class.P3D::Polyhedron", align 8

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

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

declare i32 @__gxx_personality_v0(...)

declare void @_ZNK3P3D10Polyhedron10getInertiaERKNS_14CFrameTemplateIdEE(ptr dead_on_unwind writable sret(%"class.P3D::SymmetricMatrix") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(96)) #3

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, double noundef) unnamed_addr #1 align 2

; Function Attrs: uwtable
declare hidden noundef ptr @_ZTW15__testInterface() #5

declare ptr @__cxa_allocate_exception(i64)

declare void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12), i32 noundef, ptr noundef) unnamed_addr #3

declare void @__cxa_free_exception(ptr)

declare void @__cxa_throw(ptr, ptr, ptr)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9)) #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt5arrayIN3P3D15SymmetricMatrixIdLm3EEELm3EEC2Ev(ptr noundef nonnull align 8 dereferenceable(144)) unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt5arrayIN3P3D15SymmetricMatrixIdLm3EEELm3EEixEm(ptr noundef nonnull align 8 dereferenceable(144), i64 noundef) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3P3D19estimateDerivativesINS_15SymmetricMatrixIdLm3EEELm3EEENS_19FullTaylorExpansionIT_XT0_EEERKSt5arrayIS4_XT0_EEd(ptr dead_on_unwind noalias writable sret(%"struct.P3D::FullTaylorExpansion") align 8, ptr noundef nonnull align 8 dereferenceable(144), double noundef) #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK21TolerantAssertBuilderIdEltIN3P3D19FullTaylorExpansionINS2_15SymmetricMatrixIdLm3EEELm3EEEEE22TolerantAssertComparerIT_dERKS8_(ptr dead_on_unwind noalias writable sret(%class.TolerantAssertComparer.7) align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(144)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK22TolerantAssertComparerIN3P3D19FullTaylorExpansionINS0_15SymmetricMatrixIdLm3EEELm3EEEdEeqIS4_EES_IbdERKT_(ptr dead_on_unwind noalias writable sret(%class.TolerantAssertComparer) align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(144)) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z26inertiaRotationDerivativesv() #4 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.P3D::SymmetricMatrix", align 8
  %2 = alloca %"struct.P3D::CFrameTemplate", align 8
  %3 = alloca %"class.P3D::MatrixRotationTemplate", align 8
  %4 = alloca %"struct.P3D::RotationalMotion", align 8
  %5 = alloca %"struct.P3D::Vector", align 8
  %6 = alloca %"struct.P3D::Vector", align 8
  %7 = alloca %"struct.std::array.8", align 8
  %8 = alloca %"class.P3D::MatrixRotationTemplate", align 8
  %9 = alloca %"struct.P3D::RotationalMotion", align 8
  %10 = alloca %"struct.std::array.5", align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.P3D::SymmetricMatrix", align 8
  %13 = alloca %"struct.P3D::FullTaylorExpansion", align 8
  %14 = alloca %"struct.P3D::FullTaylorExpansion", align 8
  %15 = alloca %class.TolerantAssertComparer, align 8
  %16 = alloca %class.TolerantAssertComparer.7, align 8
  %17 = alloca %struct.TolerantAssertBuilder, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 48, ptr %1) #8
  call void @llvm.lifetime.start.p0(i64 96, ptr %2) #8
  call void @_ZN3P3D14CFrameTemplateIdEC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %2)
  call void @_ZNK3P3D10Polyhedron10getInertiaERKNS_14CFrameTemplateIdEE(ptr dead_on_unwind writable sret(%"class.P3D::SymmetricMatrix") align 8 %1, ptr noundef nonnull align 8 dereferenceable(24) @_ZN3P3D12ShapeLibrary15trianglePyramidE, ptr noundef nonnull align 8 dereferenceable(96) %2)
  call void @llvm.lifetime.end.p0(i64 96, ptr %2) #8
  call void @llvm.lifetime.start.p0(i64 72, ptr %3) #8
  call void @_ZN3P3D22MatrixRotationTemplateIdE15fromEulerAnglesEddd(ptr dead_on_unwind writable sret(%"class.P3D::MatrixRotationTemplate") align 8 %3, double noundef 8.000000e-01, double noundef 4.000000e-01, double noundef 2.000000e-01)
  call void @llvm.lifetime.start.p0(i64 48, ptr %4) #8
  call void @_ZN3P3D6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %5, double noundef 3.000000e-01, double noundef 4.000000e-01, double noundef 5.000000e-01) #8
  call void @_ZN3P3D6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %6, double noundef -8.000000e-01, double noundef 5.000000e-01, double noundef -3.000000e-01) #8
  call void @_ZN3P3D16RotationalMotionC2ENS_6VectorIdLm3EEES2_(ptr noundef nonnull align 8 dereferenceable(48) %4, ptr noundef byval(%"struct.P3D::Vector") align 8 %5, ptr noundef byval(%"struct.P3D::Vector") align 8 %6)
  call void @llvm.lifetime.start.p0(i64 216, ptr %7) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %3, i64 72, i1 false), !tbaa.struct !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %4, i64 48, i1 false), !tbaa.struct !9
  call void @_ZN3P3D23computeRotationOverTimeENS_22MatrixRotationTemplateIdEENS_16RotationalMotionEd(ptr dead_on_unwind writable sret(%"struct.std::array.8") align 8 %7, ptr noundef byval(%"class.P3D::MatrixRotationTemplate") align 8 %8, ptr noundef byval(%"struct.P3D::RotationalMotion") align 8 %9, double noundef 1.000000e-04)
  call void @llvm.lifetime.start.p0(i64 144, ptr %10) #8
  call void @_ZNSt5arrayIN3P3D15SymmetricMatrixIdLm3EEELm3EEC2Ev(ptr noundef nonnull align 8 dereferenceable(144) %10)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  store i32 0, ptr %11, align 4, !tbaa !10
  br label %20

20:                                               ; preds = %31, %0
  %21 = load i32, ptr %11, align 4, !tbaa !10
  %22 = icmp slt i32 %21, 3
  br i1 %22, label %24, label %23

23:                                               ; preds = %20
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  br label %34

24:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 48, ptr %12) #8
  %25 = load i32, ptr %11, align 4, !tbaa !10
  %26 = sext i32 %25 to i64
  %27 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt5arrayIN3P3D22MatrixRotationTemplateIdEELm3EEixEm(ptr noundef nonnull align 8 dereferenceable(216) %7, i64 noundef %26) #8
  call void @_ZN3P3D17getRotatedInertiaERKNS_15SymmetricMatrixIdLm3EEERKNS_22MatrixRotationTemplateIdEE(ptr dead_on_unwind writable sret(%"class.P3D::SymmetricMatrix") align 8 %12, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(72) %27)
  %28 = load i32, ptr %11, align 4, !tbaa !10
  %29 = sext i32 %28 to i64
  %30 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt5arrayIN3P3D15SymmetricMatrixIdLm3EEELm3EEixEm(ptr noundef nonnull align 8 dereferenceable(144) %10, i64 noundef %29) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %30, ptr align 8 %12, i64 48, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 48, ptr %12) #8
  br label %31

31:                                               ; preds = %24
  %32 = load i32, ptr %11, align 4, !tbaa !10
  %33 = add nsw i32 %32, 1
  store i32 %33, ptr %11, align 4, !tbaa !10
  br label %20, !llvm.loop !12

34:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 144, ptr %13) #8
  call void @_ZN3P3D19estimateDerivativesINS_15SymmetricMatrixIdLm3EEELm3EEENS_19FullTaylorExpansionIT_XT0_EEERKSt5arrayIS4_XT0_EEd(ptr dead_on_unwind writable sret(%"struct.P3D::FullTaylorExpansion") align 8 %13, ptr noundef nonnull align 8 dereferenceable(144) %10, double noundef 1.000000e-04)
  call void @llvm.lifetime.start.p0(i64 144, ptr %14) #8
  call void @_ZN3P3D23getRotatedInertiaTaylorERKNS_15SymmetricMatrixIdLm3EEERKNS_22MatrixRotationTemplateIdEERKNS_16RotationalMotionE(ptr dead_on_unwind writable sret(%"struct.P3D::FullTaylorExpansion") align 8 %14, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull align 8 dereferenceable(48) %4)
  br label %35

35:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #8
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %17, i32 noundef 70, double noundef 1.000000e-04)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D19FullTaylorExpansionINS2_15SymmetricMatrixIdLm3EEELm3EEEEE22TolerantAssertComparerIT_dERKS8_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.7) align 8 %16, ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(144) %13)
  call void @_ZNK22TolerantAssertComparerIN3P3D19FullTaylorExpansionINS0_15SymmetricMatrixIdLm3EEELm3EEEdEeqIS4_EES_IbdERKT_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer) align 8 %15, ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(144) %14)
  %36 = getelementptr inbounds %class.TolerantAssertComparer, ptr %15, i32 0, i32 1
  %37 = load ptr, ptr %36, align 8, !tbaa !14
  %38 = load i8, ptr %37, align 1, !tbaa !18, !range !20, !noundef !21
  %39 = trunc i8 %38 to i1
  %40 = xor i1 %39, true
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #8
  br i1 %40, label %41, label %54

41:                                               ; preds = %35
  %42 = call ptr @_ZTW15__testInterface()
  %43 = getelementptr inbounds %class.TestInterface, ptr %42, i32 0, i32 1
  %44 = load i8, ptr %43, align 8, !tbaa !22, !range !20, !noundef !21
  %45 = trunc i8 %44 to i1
  br i1 %45, label %46, label %47

46:                                               ; preds = %41
  br label %47

47:                                               ; preds = %46, %41
  %48 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %48, i32 noundef 70, ptr noundef @.str.3)
          to label %49 unwind label %50

49:                                               ; preds = %47
  call void @__cxa_throw(ptr %48, ptr @_ZTI14AssertionError, ptr null) #9
  unreachable

50:                                               ; preds = %47
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %18, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %19, align 4
  call void @__cxa_free_exception(ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 216, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %1) #8
  br label %58

54:                                               ; preds = %35
  %55 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %55)
  br label %56

56:                                               ; preds = %54
  br label %57

57:                                               ; preds = %56
  call void @llvm.lifetime.end.p0(i64 144, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 216, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %1) #8
  ret void

58:                                               ; preds = %50
  %59 = load ptr, ptr %18, align 8
  %60 = load i32, ptr %19, align 4
  %61 = insertvalue { ptr, i32 } poison, ptr %59, 0
  %62 = insertvalue { ptr, i32 } %61, i32 %60, 1
  resume { ptr, i32 } %62
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D22MatrixRotationTemplateIdE15fromEulerAnglesEddd(ptr dead_on_unwind noalias writable sret(%"class.P3D::MatrixRotationTemplate") align 8, double noundef, double noundef, double noundef) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D16RotationalMotionC2ENS_6VectorIdLm3EEES2_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef byval(%"struct.P3D::Vector") align 8, ptr noundef byval(%"struct.P3D::Vector") align 8) unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3P3D23computeRotationOverTimeENS_22MatrixRotationTemplateIdEENS_16RotationalMotionEd(ptr dead_on_unwind noalias writable sret(%"struct.std::array.8") align 8, ptr noundef byval(%"class.P3D::MatrixRotationTemplate") align 8, ptr noundef byval(%"struct.P3D::RotationalMotion") align 8, double noundef) #7

declare void @_ZN3P3D17getRotatedInertiaERKNS_15SymmetricMatrixIdLm3EEERKNS_22MatrixRotationTemplateIdEE(ptr dead_on_unwind writable sret(%"class.P3D::SymmetricMatrix") align 8, ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(72)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt5arrayIN3P3D22MatrixRotationTemplateIdEELm3EEixEm(ptr noundef nonnull align 8 dereferenceable(216), i64 noundef) #1 align 2

declare void @_ZN3P3D23getRotatedInertiaTaylorERKNS_15SymmetricMatrixIdLm3EEERKNS_22MatrixRotationTemplateIdEERKNS_16RotationalMotionE(ptr dead_on_unwind writable sret(%"struct.P3D::FullTaylorExpansion") align 8, ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(48)) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { uwtable "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 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 #7 = { 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 #8 = { nounwind }
attributes #9 = { noreturn }

!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 = !{i64 0, i64 72, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i64 0, i64 48, !6}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !16, i64 8}
!15 = !{!"_ZTS22TolerantAssertComparerIbdE", !11, i64 0, !16, i64 8, !17, i64 16}
!16 = !{!"any pointer", !7, i64 0}
!17 = !{!"double", !7, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"bool", !7, i64 0}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = !{!23, !19, i64 8}
!23 = !{!"_ZTS13TestInterface", !24, i64 0, !19, i64 8}
!24 = !{!"long", !7, i64 0}


; 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.P3D::Polyhedron" = type { %"class.P3D::TriangleMesh" }
%"class.P3D::TriangleMesh" = type { %"class.P3D::MeshPrototype" }
%"class.P3D::MeshPrototype" = type { %"class.P3D::UniqueAlignedPointer", %"class.P3D::UniqueAlignedPointer.0", i32, i32 }
%"class.P3D::UniqueAlignedPointer" = type { ptr }
%"class.P3D::UniqueAlignedPointer.0" = type { ptr }
%"class.P3D::SymmetricMatrix" = type { [6 x double] }
%"struct.P3D::FullTaylorExpansion" = type { %"struct.P3D::Derivatives.6" }
%"struct.P3D::Derivatives.6" = type { [3 x %"class.P3D::SymmetricMatrix"] }
%class.TolerantAssertComparer.7 = type { i32, ptr, double }
%class.TolerantAssertComparer = type { i32, ptr, double }
%"struct.P3D::CFrameTemplate" = type { %"struct.P3D::Vector", %"class.P3D::MatrixRotationTemplate" }
%"struct.P3D::Vector" = type { %union.anon }
%union.anon = type { [3 x double] }
%"class.P3D::MatrixRotationTemplate" = type { %"class.P3D::Matrix" }
%"class.P3D::Matrix" = type { [9 x double] }
%"struct.P3D::RotationalMotion" = type { %"struct.P3D::TaylorExpansion" }
%"struct.P3D::TaylorExpansion" = type { %"struct.P3D::Derivatives" }
%"struct.P3D::Derivatives" = type { [2 x %"struct.P3D::Vector"] }
%"struct.std::array.8" = type { [3 x %"class.P3D::MatrixRotationTemplate"] }
%"struct.std::array.5" = type { [3 x %"class.P3D::SymmetricMatrix"] }
%struct.TolerantAssertBuilder = type { i32, double }

@.str.3 = external hidden unnamed_addr constant [6 x i8], align 1
@_ZTI14AssertionError = external dso_local constant { ptr, ptr }, align 8
@_ZN3P3D12ShapeLibrary15trianglePyramidE = external global %"class.P3D::Polyhedron", align 8

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, double noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress 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) #2

declare i32 @__gxx_personality_v0(...)

declare void @_ZNK3P3D10Polyhedron10getInertiaERKNS_14CFrameTemplateIdEE(ptr dead_on_unwind writable sret(%"class.P3D::SymmetricMatrix") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #3

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

; 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 nounwind uwtable
declare dso_local void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, double noundef) unnamed_addr #1 align 2

; Function Attrs: uwtable
declare hidden noundef ptr @_ZTW15__testInterface() local_unnamed_addr #5

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12), i32 noundef, ptr noundef) unnamed_addr #3

declare void @__cxa_free_exception(ptr) local_unnamed_addr

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9)) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt5arrayIN3P3D15SymmetricMatrixIdLm3EEELm3EEC2Ev(ptr noundef nonnull align 8 dereferenceable(144)) unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt5arrayIN3P3D15SymmetricMatrixIdLm3EEELm3EEixEm(ptr noundef nonnull align 8 dereferenceable(144), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3P3D19estimateDerivativesINS_15SymmetricMatrixIdLm3EEELm3EEENS_19FullTaylorExpansionIT_XT0_EEERKSt5arrayIS4_XT0_EEd(ptr dead_on_unwind noalias writable sret(%"struct.P3D::FullTaylorExpansion") align 8, ptr noundef nonnull align 8 dereferenceable(144), double noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK21TolerantAssertBuilderIdEltIN3P3D19FullTaylorExpansionINS2_15SymmetricMatrixIdLm3EEELm3EEEEE22TolerantAssertComparerIT_dERKS8_(ptr dead_on_unwind noalias writable sret(%class.TolerantAssertComparer.7) align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK22TolerantAssertComparerIN3P3D19FullTaylorExpansionINS0_15SymmetricMatrixIdLm3EEELm3EEEdEeqIS4_EES_IbdERKT_(ptr dead_on_unwind noalias writable sret(%class.TolerantAssertComparer) align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z26inertiaRotationDerivativesv() local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.P3D::SymmetricMatrix", align 8
  %2 = alloca %"struct.P3D::CFrameTemplate", align 8
  %3 = alloca %"class.P3D::MatrixRotationTemplate", align 8
  %4 = alloca %"struct.P3D::RotationalMotion", align 8
  %5 = alloca %"struct.P3D::Vector", align 8
  %6 = alloca %"struct.P3D::Vector", align 8
  %7 = alloca %"struct.std::array.8", align 8
  %8 = alloca %"struct.std::array.5", align 8
  %9 = alloca %"class.P3D::SymmetricMatrix", align 8
  %10 = alloca %"struct.P3D::FullTaylorExpansion", align 8
  %11 = alloca %"struct.P3D::FullTaylorExpansion", align 8
  %12 = alloca %class.TolerantAssertComparer, align 8
  %13 = alloca %class.TolerantAssertComparer.7, align 8
  %14 = alloca %struct.TolerantAssertBuilder, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %1) #8
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %2) #8
  call void @_ZN3P3D14CFrameTemplateIdEC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %2)
  call void @_ZNK3P3D10Polyhedron10getInertiaERKNS_14CFrameTemplateIdEE(ptr dead_on_unwind nonnull writable sret(%"class.P3D::SymmetricMatrix") align 8 %1, ptr noundef nonnull align 8 dereferenceable(24) @_ZN3P3D12ShapeLibrary15trianglePyramidE, ptr noundef nonnull align 8 dereferenceable(96) %2)
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %3) #8
  call void @_ZN3P3D22MatrixRotationTemplateIdE15fromEulerAnglesEddd(ptr dead_on_unwind nonnull writable sret(%"class.P3D::MatrixRotationTemplate") align 8 %3, double noundef 8.000000e-01, double noundef 4.000000e-01, double noundef 2.000000e-01)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %4) #8
  call void @_ZN3P3D6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %5, double noundef 3.000000e-01, double noundef 4.000000e-01, double noundef 5.000000e-01) #8
  call void @_ZN3P3D6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %6, double noundef -8.000000e-01, double noundef 5.000000e-01, double noundef -3.000000e-01) #8
  call void @_ZN3P3D16RotationalMotionC2ENS_6VectorIdLm3EEES2_(ptr noundef nonnull align 8 dereferenceable(48) %4, ptr noundef nonnull byval(%"struct.P3D::Vector") align 8 %5, ptr noundef nonnull byval(%"struct.P3D::Vector") align 8 %6)
  call void @llvm.lifetime.start.p0(i64 216, ptr nonnull %7) #8
  call void @_ZN3P3D23computeRotationOverTimeENS_22MatrixRotationTemplateIdEENS_16RotationalMotionEd(ptr dead_on_unwind nonnull writable sret(%"struct.std::array.8") align 8 %7, ptr noundef nonnull byval(%"class.P3D::MatrixRotationTemplate") align 8 %3, ptr noundef nonnull byval(%"struct.P3D::RotationalMotion") align 8 %4, double noundef 1.000000e-04)
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %8) #8
  call void @_ZNSt5arrayIN3P3D15SymmetricMatrixIdLm3EEELm3EEC2Ev(ptr noundef nonnull align 8 dereferenceable(144) %8)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #8
  %15 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt5arrayIN3P3D22MatrixRotationTemplateIdEELm3EEixEm(ptr noundef nonnull align 8 dereferenceable(216) %7, i64 noundef 0) #8
  call void @_ZN3P3D17getRotatedInertiaERKNS_15SymmetricMatrixIdLm3EEERKNS_22MatrixRotationTemplateIdEE(ptr dead_on_unwind nonnull writable sret(%"class.P3D::SymmetricMatrix") align 8 %9, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(72) %15)
  %16 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt5arrayIN3P3D15SymmetricMatrixIdLm3EEELm3EEixEm(ptr noundef nonnull align 8 dereferenceable(144) %8, i64 noundef 0) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %16, ptr noundef nonnull align 8 dereferenceable(48) %9, i64 48, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #8
  %17 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt5arrayIN3P3D22MatrixRotationTemplateIdEELm3EEixEm(ptr noundef nonnull align 8 dereferenceable(216) %7, i64 noundef 1) #8
  call void @_ZN3P3D17getRotatedInertiaERKNS_15SymmetricMatrixIdLm3EEERKNS_22MatrixRotationTemplateIdEE(ptr dead_on_unwind nonnull writable sret(%"class.P3D::SymmetricMatrix") align 8 %9, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(72) %17)
  %18 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt5arrayIN3P3D15SymmetricMatrixIdLm3EEELm3EEixEm(ptr noundef nonnull align 8 dereferenceable(144) %8, i64 noundef 1) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %18, ptr noundef nonnull align 8 dereferenceable(48) %9, i64 48, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #8
  %19 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt5arrayIN3P3D22MatrixRotationTemplateIdEELm3EEixEm(ptr noundef nonnull align 8 dereferenceable(216) %7, i64 noundef 2) #8
  call void @_ZN3P3D17getRotatedInertiaERKNS_15SymmetricMatrixIdLm3EEERKNS_22MatrixRotationTemplateIdEE(ptr dead_on_unwind nonnull writable sret(%"class.P3D::SymmetricMatrix") align 8 %9, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(72) %19)
  %20 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt5arrayIN3P3D15SymmetricMatrixIdLm3EEELm3EEixEm(ptr noundef nonnull align 8 dereferenceable(144) %8, i64 noundef 2) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %20, ptr noundef nonnull align 8 dereferenceable(48) %9, i64 48, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %10) #8
  call void @_ZN3P3D19estimateDerivativesINS_15SymmetricMatrixIdLm3EEELm3EEENS_19FullTaylorExpansionIT_XT0_EEERKSt5arrayIS4_XT0_EEd(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::FullTaylorExpansion") align 8 %10, ptr noundef nonnull align 8 dereferenceable(144) %8, double noundef 1.000000e-04)
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %11) #8
  call void @_ZN3P3D23getRotatedInertiaTaylorERKNS_15SymmetricMatrixIdLm3EEERKNS_22MatrixRotationTemplateIdEERKNS_16RotationalMotionE(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::FullTaylorExpansion") align 8 %11, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef nonnull align 8 dereferenceable(48) %4)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #8
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %14, i32 noundef 70, double noundef 1.000000e-04)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D19FullTaylorExpansionINS2_15SymmetricMatrixIdLm3EEELm3EEEEE22TolerantAssertComparerIT_dERKS8_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.7) align 8 %13, ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(144) %10)
  call void @_ZNK22TolerantAssertComparerIN3P3D19FullTaylorExpansionINS0_15SymmetricMatrixIdLm3EEELm3EEEdEeqIS4_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %12, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(144) %11)
  %21 = getelementptr inbounds i8, ptr %12, i64 8
  %22 = load ptr, ptr %21, align 8, !tbaa !9
  %23 = load i8, ptr %22, align 1, !tbaa !14, !range !16, !noundef !17
  %24 = trunc nuw i8 %23 to i1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #8
  %25 = call ptr @_ZTW15__testInterface()
  br i1 %24, label %31, label %26

26:                                               ; preds = %0
  %27 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %27, i32 noundef 70, ptr noundef nonnull @.str.3)
          to label %28 unwind label %29

28:                                               ; preds = %26
  call void @__cxa_throw(ptr nonnull %27, ptr nonnull @_ZTI14AssertionError, ptr null) #9
  unreachable

29:                                               ; preds = %26
  %30 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 216, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %1) #8
  resume { ptr, i32 } %30

31:                                               ; preds = %0
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %25)
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 216, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %1) #8
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D22MatrixRotationTemplateIdE15fromEulerAnglesEddd(ptr dead_on_unwind noalias writable sret(%"class.P3D::MatrixRotationTemplate") align 8, double noundef, double noundef, double noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D16RotationalMotionC2ENS_6VectorIdLm3EEES2_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef byval(%"struct.P3D::Vector") align 8, ptr noundef byval(%"struct.P3D::Vector") align 8) unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3P3D23computeRotationOverTimeENS_22MatrixRotationTemplateIdEENS_16RotationalMotionEd(ptr dead_on_unwind noalias writable sret(%"struct.std::array.8") align 8, ptr noundef byval(%"class.P3D::MatrixRotationTemplate") align 8, ptr noundef byval(%"struct.P3D::RotationalMotion") align 8, double noundef) local_unnamed_addr #7

declare void @_ZN3P3D17getRotatedInertiaERKNS_15SymmetricMatrixIdLm3EEERKNS_22MatrixRotationTemplateIdEE(ptr dead_on_unwind writable sret(%"class.P3D::SymmetricMatrix") align 8, ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt5arrayIN3P3D22MatrixRotationTemplateIdEELm3EEixEm(ptr noundef nonnull align 8 dereferenceable(216), i64 noundef) local_unnamed_addr #1 align 2

declare void @_ZN3P3D23getRotatedInertiaTaylorERKNS_15SymmetricMatrixIdLm3EEERKNS_22MatrixRotationTemplateIdEERKNS_16RotationalMotionE(ptr dead_on_unwind writable sret(%"struct.P3D::FullTaylorExpansion") align 8, ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { uwtable "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 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 #7 = { 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 #8 = { nounwind }
attributes #9 = { noreturn }

!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 = !{i64 0, i64 48, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !12, i64 8}
!10 = !{!"_ZTS22TolerantAssertComparerIbdE", !11, i64 0, !12, i64 8, !13, i64 16}
!11 = !{!"int", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!"double", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{i8 0, i8 2}
!17 = !{}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,MemCpyOptPass,SROAPass,SimplifyCFGPass