; LLVM IR from ThePhysicsGuys/Physics3D :: tests/motionTests.ll (Z36testSimulateRelativeToRelativeMotionv)

; 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.TolerantAssertComparer.1 = type { i32, ptr, double }
%class.TolerantAssertComparer = type { i32, ptr, double }
%"struct.P3D::Motion" = type { %"struct.P3D::TranslationalMotion", %"struct.P3D::RotationalMotion" }
%"struct.P3D::TranslationalMotion" = type { %"struct.P3D::TaylorExpansion" }
%"struct.P3D::TaylorExpansion" = type { %"struct.P3D::Derivatives" }
%"struct.P3D::Derivatives" = type { [2 x %"struct.P3D::Vector"] }
%"struct.P3D::Vector" = type { %union.anon }
%union.anon = type { [3 x double] }
%"struct.P3D::RotationalMotion" = type { %"struct.P3D::TaylorExpansion" }
%"struct.P3D::RelativeMotion" = type { %"struct.P3D::Motion", %"struct.P3D::CFrameTemplate" }
%"struct.P3D::CFrameTemplate" = type { %"struct.P3D::Vector", %"class.P3D::MatrixRotationTemplate" }
%"class.P3D::MatrixRotationTemplate" = type { %"class.P3D::Matrix" }
%"class.P3D::Matrix" = type { [9 x double] }
%class.TolerantAssertComparer.5 = type { i32, ptr, double }
%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

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

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

declare ptr @__cxa_allocate_exception(i64)

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

declare i32 @__gxx_personality_v0(...)

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)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK21TolerantAssertBuilderIdEltIN3P3D6MotionEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind noalias writable sret(%class.TolerantAssertComparer.1) align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(96)) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK22TolerantAssertComparerIN3P3D6MotionEdEeqIS1_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(96)) #6 align 2

declare void @_ZN3P3D14estimateMotionERKNS_14CFrameTemplateIdEES3_S3_d(ptr dead_on_unwind writable sret(%"struct.P3D::Motion") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(96), double noundef) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3P3D26createRandomRelativeMotionEv(ptr dead_on_unwind noalias writable sret(%"struct.P3D::RelativeMotion") align 8) #7

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK21TolerantAssertBuilderIdEltIN3P3D14CFrameTemplateIdEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind noalias writable sret(%class.TolerantAssertComparer.5) align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(96)) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK22TolerantAssertComparerIN3P3D14CFrameTemplateIdEEdEeqIS2_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(96)) #6 align 2

declare void @_ZN3P3D15simulateForTimeERKNS_6MotionERKNS_14CFrameTemplateIdEEd(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(96), double noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3P3D14CFrameTemplateIdE13localToGlobalERKS1_(ptr dead_on_unwind noalias writable sret(%"struct.P3D::CFrameTemplate") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(96)) #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z36testSimulateRelativeToRelativeMotionv() #6 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"struct.P3D::RelativeMotion", align 8
  %2 = alloca %"struct.P3D::RelativeMotion", align 8
  %3 = alloca %"struct.P3D::CFrameTemplate", align 8
  %4 = alloca %"struct.P3D::CFrameTemplate", align 8
  %5 = alloca %"struct.P3D::CFrameTemplate", align 8
  %6 = alloca %"struct.P3D::CFrameTemplate", align 8
  %7 = alloca %"struct.P3D::CFrameTemplate", align 8
  %8 = alloca %"struct.P3D::CFrameTemplate", align 8
  %9 = alloca %"struct.P3D::CFrameTemplate", align 8
  %10 = alloca %"struct.P3D::CFrameTemplate", align 8
  %11 = alloca %"struct.P3D::CFrameTemplate", align 8
  %12 = alloca %"struct.P3D::Motion", align 8
  %13 = alloca %"struct.P3D::RelativeMotion", align 8
  %14 = alloca %class.TolerantAssertComparer, align 8
  %15 = alloca %class.TolerantAssertComparer.1, align 8
  %16 = alloca %struct.TolerantAssertBuilder, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca %class.TolerantAssertComparer, align 8
  %20 = alloca %class.TolerantAssertComparer.5, align 8
  %21 = alloca %struct.TolerantAssertBuilder, align 8
  call void @llvm.lifetime.start.p0(i64 192, ptr %1) #8
  call void @_ZN3P3D26createRandomRelativeMotionEv(ptr dead_on_unwind writable sret(%"struct.P3D::RelativeMotion") align 8 %1)
  call void @llvm.lifetime.start.p0(i64 192, ptr %2) #8
  call void @_ZN3P3D26createRandomRelativeMotionEv(ptr dead_on_unwind writable sret(%"struct.P3D::RelativeMotion") align 8 %2)
  call void @llvm.lifetime.start.p0(i64 96, ptr %3) #8
  %22 = getelementptr inbounds %"struct.P3D::RelativeMotion", ptr %1, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %3, ptr align 8 %22, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 96, ptr %4) #8
  %23 = getelementptr inbounds %"struct.P3D::RelativeMotion", ptr %1, i32 0, i32 0
  %24 = getelementptr inbounds %"struct.P3D::RelativeMotion", ptr %1, i32 0, i32 1
  call void @_ZN3P3D15simulateForTimeERKNS_6MotionERKNS_14CFrameTemplateIdEEd(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %4, ptr noundef nonnull align 8 dereferenceable(96) %23, ptr noundef nonnull align 8 dereferenceable(96) %24, double noundef 1.000000e-04)
  call void @llvm.lifetime.start.p0(i64 96, ptr %5) #8
  %25 = getelementptr inbounds %"struct.P3D::RelativeMotion", ptr %1, i32 0, i32 0
  %26 = getelementptr inbounds %"struct.P3D::RelativeMotion", ptr %1, i32 0, i32 1
  call void @_ZN3P3D15simulateForTimeERKNS_6MotionERKNS_14CFrameTemplateIdEEd(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %5, ptr noundef nonnull align 8 dereferenceable(96) %25, ptr noundef nonnull align 8 dereferenceable(96) %26, double noundef 2.000000e-04)
  call void @llvm.lifetime.start.p0(i64 96, ptr %6) #8
  %27 = getelementptr inbounds %"struct.P3D::RelativeMotion", ptr %2, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %6, ptr align 8 %27, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 96, ptr %7) #8
  %28 = getelementptr inbounds %"struct.P3D::RelativeMotion", ptr %2, i32 0, i32 0
  %29 = getelementptr inbounds %"struct.P3D::RelativeMotion", ptr %2, i32 0, i32 1
  call void @_ZN3P3D15simulateForTimeERKNS_6MotionERKNS_14CFrameTemplateIdEEd(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %7, ptr noundef nonnull align 8 dereferenceable(96) %28, ptr noundef nonnull align 8 dereferenceable(96) %29, double noundef 1.000000e-04)
  call void @llvm.lifetime.start.p0(i64 96, ptr %8) #8
  %30 = getelementptr inbounds %"struct.P3D::RelativeMotion", ptr %2, i32 0, i32 0
  %31 = getelementptr inbounds %"struct.P3D::RelativeMotion", ptr %2, i32 0, i32 1
  call void @_ZN3P3D15simulateForTimeERKNS_6MotionERKNS_14CFrameTemplateIdEEd(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %8, ptr noundef nonnull align 8 dereferenceable(96) %30, ptr noundef nonnull align 8 dereferenceable(96) %31, double noundef 2.000000e-04)
  call void @llvm.lifetime.start.p0(i64 96, ptr %9) #8
  call void @_ZNK3P3D14CFrameTemplateIdE13localToGlobalERKS1_(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %9, ptr noundef nonnull align 8 dereferenceable(96) %3, ptr noundef nonnull align 8 dereferenceable(96) %6)
  call void @llvm.lifetime.start.p0(i64 96, ptr %10) #8
  call void @_ZNK3P3D14CFrameTemplateIdE13localToGlobalERKS1_(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %10, ptr noundef nonnull align 8 dereferenceable(96) %4, ptr noundef nonnull align 8 dereferenceable(96) %7)
  call void @llvm.lifetime.start.p0(i64 96, ptr %11) #8
  call void @_ZNK3P3D14CFrameTemplateIdE13localToGlobalERKS1_(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %11, ptr noundef nonnull align 8 dereferenceable(96) %5, ptr noundef nonnull align 8 dereferenceable(96) %8)
  call void @llvm.lifetime.start.p0(i64 96, ptr %12) #8
  call void @_ZN3P3D14estimateMotionERKNS_14CFrameTemplateIdEES3_S3_d(ptr dead_on_unwind writable sret(%"struct.P3D::Motion") align 8 %12, ptr noundef nonnull align 8 dereferenceable(96) %9, ptr noundef nonnull align 8 dereferenceable(96) %10, ptr noundef nonnull align 8 dereferenceable(96) %11, double noundef 1.000000e-04)
  call void @llvm.lifetime.start.p0(i64 192, ptr %13) #8
  call void @_ZN3P3DplERKNS_14RelativeMotionES2_(ptr dead_on_unwind writable sret(%"struct.P3D::RelativeMotion") align 8 %13, ptr noundef nonnull align 8 dereferenceable(192) %1, ptr noundef nonnull align 8 dereferenceable(192) %2)
  br label %32

32:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #8
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %16, i32 noundef 264, double noundef 5.000000e-03)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D6MotionEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.1) align 8 %15, ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(96) %12)
  %33 = getelementptr inbounds %"struct.P3D::RelativeMotion", ptr %13, i32 0, i32 0
  call void @_ZNK22TolerantAssertComparerIN3P3D6MotionEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer) align 8 %14, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(96) %33)
  %34 = getelementptr inbounds %class.TolerantAssertComparer, ptr %14, i32 0, i32 1
  %35 = load ptr, ptr %34, align 8, !tbaa !9
  %36 = load i8, ptr %35, align 1, !tbaa !14, !range !16, !noundef !17
  %37 = trunc i8 %36 to i1
  %38 = xor i1 %37, true
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #8
  br i1 %38, label %39, label %52

39:                                               ; preds = %32
  %40 = call ptr @_ZTW15__testInterface()
  %41 = getelementptr inbounds %class.TestInterface, ptr %40, i32 0, i32 1
  %42 = load i8, ptr %41, align 8, !tbaa !18, !range !16, !noundef !17
  %43 = trunc i8 %42 to i1
  br i1 %43, label %44, label %45

44:                                               ; preds = %39
  br label %45

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

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

48:                                               ; preds = %45
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %17, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %18, align 4
  call void @__cxa_free_exception(ptr %46) #8
  br label %80

52:                                               ; preds = %32
  %53 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %53)
  br label %54

54:                                               ; preds = %52
  br label %55

55:                                               ; preds = %54
  br label %56

56:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #8
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %21, i32 noundef 265, double noundef 5.000000e-03)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D14CFrameTemplateIdEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.5) align 8 %20, ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(96) %9)
  %57 = getelementptr inbounds %"struct.P3D::RelativeMotion", ptr %13, i32 0, i32 1
  call void @_ZNK22TolerantAssertComparerIN3P3D14CFrameTemplateIdEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer) align 8 %19, ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(96) %57)
  %58 = getelementptr inbounds %class.TolerantAssertComparer, ptr %19, i32 0, i32 1
  %59 = load ptr, ptr %58, align 8, !tbaa !9
  %60 = load i8, ptr %59, align 1, !tbaa !14, !range !16, !noundef !17
  %61 = trunc i8 %60 to i1
  %62 = xor i1 %61, true
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #8
  br i1 %62, label %63, label %76

63:                                               ; preds = %56
  %64 = call ptr @_ZTW15__testInterface()
  %65 = getelementptr inbounds %class.TestInterface, ptr %64, i32 0, i32 1
  %66 = load i8, ptr %65, align 8, !tbaa !18, !range !16, !noundef !17
  %67 = trunc i8 %66 to i1
  br i1 %67, label %68, label %69

68:                                               ; preds = %63
  br label %69

69:                                               ; preds = %68, %63
  %70 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %70, i32 noundef 265, ptr noundef @.str.3)
          to label %71 unwind label %72

71:                                               ; preds = %69
  call void @__cxa_throw(ptr %70, ptr @_ZTI14AssertionError, ptr null) #9
  unreachable

72:                                               ; preds = %69
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %17, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %18, align 4
  call void @__cxa_free_exception(ptr %70) #8
  br label %80

76:                                               ; preds = %56
  %77 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %77)
  br label %78

78:                                               ; preds = %76
  br label %79

79:                                               ; preds = %78
  call void @llvm.lifetime.end.p0(i64 192, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 192, ptr %2) #8
  call void @llvm.lifetime.end.p0(i64 192, ptr %1) #8
  ret void

80:                                               ; preds = %72, %48
  call void @llvm.lifetime.end.p0(i64 192, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 192, ptr %2) #8
  call void @llvm.lifetime.end.p0(i64 192, ptr %1) #8
  br label %81

81:                                               ; preds = %80
  %82 = load ptr, ptr %17, align 8
  %83 = load i32, ptr %18, align 4
  %84 = insertvalue { ptr, i32 } poison, ptr %82, 0
  %85 = insertvalue { ptr, i32 } %84, i32 %83, 1
  resume { ptr, i32 } %85
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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"="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 24, !6, i64 24, i64 72, !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 = !{}
!18 = !{!19, !15, i64 8}
!19 = !{!"_ZTS13TestInterface", !20, i64 0, !15, i64 8}
!20 = !{!"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.TolerantAssertComparer.1 = type { i32, ptr, double }
%class.TolerantAssertComparer = type { i32, ptr, double }
%"struct.P3D::Motion" = type { %"struct.P3D::TranslationalMotion", %"struct.P3D::RotationalMotion" }
%"struct.P3D::TranslationalMotion" = type { %"struct.P3D::TaylorExpansion" }
%"struct.P3D::TaylorExpansion" = type { %"struct.P3D::Derivatives" }
%"struct.P3D::Derivatives" = type { [2 x %"struct.P3D::Vector"] }
%"struct.P3D::Vector" = type { %union.anon }
%union.anon = type { [3 x double] }
%"struct.P3D::RotationalMotion" = type { %"struct.P3D::TaylorExpansion" }
%"struct.P3D::RelativeMotion" = type { %"struct.P3D::Motion", %"struct.P3D::CFrameTemplate" }
%"struct.P3D::CFrameTemplate" = type { %"struct.P3D::Vector", %"class.P3D::MatrixRotationTemplate" }
%"class.P3D::MatrixRotationTemplate" = type { %"class.P3D::Matrix" }
%"class.P3D::Matrix" = type { [9 x double] }
%class.TolerantAssertComparer.5 = type { i32, ptr, double }
%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

; 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 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 void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, double noundef) unnamed_addr #2 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: uwtable
declare hidden noundef ptr @_ZTW15__testInterface() local_unnamed_addr #3

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 #4

declare i32 @__gxx_personality_v0(...)

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 #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK21TolerantAssertBuilderIdEltIN3P3D6MotionEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind noalias writable sret(%class.TolerantAssertComparer.1) align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK22TolerantAssertComparerIN3P3D6MotionEdEeqIS1_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(96)) local_unnamed_addr #6 align 2

declare void @_ZN3P3D14estimateMotionERKNS_14CFrameTemplateIdEES3_S3_d(ptr dead_on_unwind writable sret(%"struct.P3D::Motion") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(96), double noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3P3D26createRandomRelativeMotionEv(ptr dead_on_unwind noalias writable sret(%"struct.P3D::RelativeMotion") align 8) local_unnamed_addr #7

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK21TolerantAssertBuilderIdEltIN3P3D14CFrameTemplateIdEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind noalias writable sret(%class.TolerantAssertComparer.5) align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK22TolerantAssertComparerIN3P3D14CFrameTemplateIdEEdEeqIS2_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(96)) local_unnamed_addr #6 align 2

declare void @_ZN3P3D15simulateForTimeERKNS_6MotionERKNS_14CFrameTemplateIdEEd(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(96), double noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3P3D14CFrameTemplateIdE13localToGlobalERKS1_(ptr dead_on_unwind noalias writable sret(%"struct.P3D::CFrameTemplate") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z36testSimulateRelativeToRelativeMotionv() local_unnamed_addr #6 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"struct.P3D::RelativeMotion", align 8
  %2 = alloca %"struct.P3D::RelativeMotion", align 8
  %3 = alloca %"struct.P3D::CFrameTemplate", align 8
  %4 = alloca %"struct.P3D::CFrameTemplate", align 8
  %5 = alloca %"struct.P3D::CFrameTemplate", align 8
  %6 = alloca %"struct.P3D::CFrameTemplate", align 8
  %7 = alloca %"struct.P3D::CFrameTemplate", align 8
  %8 = alloca %"struct.P3D::CFrameTemplate", align 8
  %9 = alloca %"struct.P3D::CFrameTemplate", align 8
  %10 = alloca %"struct.P3D::CFrameTemplate", align 8
  %11 = alloca %"struct.P3D::CFrameTemplate", align 8
  %12 = alloca %"struct.P3D::Motion", align 8
  %13 = alloca %"struct.P3D::RelativeMotion", align 8
  %14 = alloca %class.TolerantAssertComparer, align 8
  %15 = alloca %class.TolerantAssertComparer.1, align 8
  %16 = alloca %struct.TolerantAssertBuilder, align 8
  %17 = alloca %class.TolerantAssertComparer, align 8
  %18 = alloca %class.TolerantAssertComparer.5, align 8
  %19 = alloca %struct.TolerantAssertBuilder, align 8
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %1) #8
  call void @_ZN3P3D26createRandomRelativeMotionEv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::RelativeMotion") align 8 %1)
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %2) #8
  call void @_ZN3P3D26createRandomRelativeMotionEv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::RelativeMotion") align 8 %2)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %3) #8
  %20 = getelementptr inbounds i8, ptr %1, i64 96
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %3, ptr noundef nonnull align 8 dereferenceable(96) %20, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %4) #8
  call void @_ZN3P3D15simulateForTimeERKNS_6MotionERKNS_14CFrameTemplateIdEEd(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %4, ptr noundef nonnull align 8 dereferenceable(96) %1, ptr noundef nonnull align 8 dereferenceable(96) %20, double noundef 1.000000e-04)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %5) #8
  call void @_ZN3P3D15simulateForTimeERKNS_6MotionERKNS_14CFrameTemplateIdEEd(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %5, ptr noundef nonnull align 8 dereferenceable(96) %1, ptr noundef nonnull align 8 dereferenceable(96) %20, double noundef 2.000000e-04)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %6) #8
  %21 = getelementptr inbounds i8, ptr %2, i64 96
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %6, ptr noundef nonnull align 8 dereferenceable(96) %21, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %7) #8
  call void @_ZN3P3D15simulateForTimeERKNS_6MotionERKNS_14CFrameTemplateIdEEd(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %7, ptr noundef nonnull align 8 dereferenceable(96) %2, ptr noundef nonnull align 8 dereferenceable(96) %21, double noundef 1.000000e-04)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %8) #8
  call void @_ZN3P3D15simulateForTimeERKNS_6MotionERKNS_14CFrameTemplateIdEEd(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %8, ptr noundef nonnull align 8 dereferenceable(96) %2, ptr noundef nonnull align 8 dereferenceable(96) %21, double noundef 2.000000e-04)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %9) #8
  call void @_ZNK3P3D14CFrameTemplateIdE13localToGlobalERKS1_(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %9, ptr noundef nonnull align 8 dereferenceable(96) %3, ptr noundef nonnull align 8 dereferenceable(96) %6)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %10) #8
  call void @_ZNK3P3D14CFrameTemplateIdE13localToGlobalERKS1_(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %10, ptr noundef nonnull align 8 dereferenceable(96) %4, ptr noundef nonnull align 8 dereferenceable(96) %7)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %11) #8
  call void @_ZNK3P3D14CFrameTemplateIdE13localToGlobalERKS1_(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %11, ptr noundef nonnull align 8 dereferenceable(96) %5, ptr noundef nonnull align 8 dereferenceable(96) %8)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %12) #8
  call void @_ZN3P3D14estimateMotionERKNS_14CFrameTemplateIdEES3_S3_d(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::Motion") align 8 %12, ptr noundef nonnull align 8 dereferenceable(96) %9, ptr noundef nonnull align 8 dereferenceable(96) %10, ptr noundef nonnull align 8 dereferenceable(96) %11, double noundef 1.000000e-04)
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %13) #8
  call void @_ZN3P3DplERKNS_14RelativeMotionES2_(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::RelativeMotion") align 8 %13, ptr noundef nonnull align 8 dereferenceable(192) %1, ptr noundef nonnull align 8 dereferenceable(192) %2)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #8
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %16, i32 noundef 264, double noundef 5.000000e-03)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D6MotionEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.1) align 8 %15, ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(96) %12)
  call void @_ZNK22TolerantAssertComparerIN3P3D6MotionEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %14, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(96) %13)
  %22 = getelementptr inbounds i8, ptr %14, i64 8
  %23 = load ptr, ptr %22, align 8, !tbaa !9
  %24 = load i8, ptr %23, align 1, !tbaa !14, !range !16, !noundef !17
  %25 = trunc nuw i8 %24 to i1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #8
  %26 = call ptr @_ZTW15__testInterface()
  br i1 %25, label %32, label %27

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

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

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

32:                                               ; preds = %0
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %26)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #8
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %19, i32 noundef 265, double noundef 5.000000e-03)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D14CFrameTemplateIdEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.5) align 8 %18, ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(96) %9)
  %33 = getelementptr inbounds i8, ptr %13, i64 96
  call void @_ZNK22TolerantAssertComparerIN3P3D14CFrameTemplateIdEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %17, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(96) %33)
  %34 = getelementptr inbounds i8, ptr %17, i64 8
  %35 = load ptr, ptr %34, align 8, !tbaa !9
  %36 = load i8, ptr %35, align 1, !tbaa !14, !range !16, !noundef !17
  %37 = trunc nuw i8 %36 to i1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #8
  %38 = call ptr @_ZTW15__testInterface()
  br i1 %37, label %44, label %39

39:                                               ; preds = %32
  %40 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %40, i32 noundef 265, ptr noundef nonnull @.str.3)
          to label %41 unwind label %42

41:                                               ; preds = %39
  call void @__cxa_throw(ptr nonnull %40, ptr nonnull @_ZTI14AssertionError, ptr null) #9
  unreachable

42:                                               ; preds = %39
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %45

44:                                               ; preds = %32
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %38)
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %2) #8
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %1) #8
  ret void

45:                                               ; preds = %42, %30
  %.sink = phi ptr [ %40, %42 ], [ %28, %30 ]
  %.pn = phi { ptr, i32 } [ %43, %42 ], [ %31, %30 ]
  call void @__cxa_free_exception(ptr %.sink) #8
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %2) #8
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %1) #8
  resume { ptr, i32 } %.pn
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress 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 = { 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 #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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"="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 24, !6, i64 24, i64 72, !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: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass