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

; 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 }
%"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" }
%class.TolerantAssertComparer = type { i32, ptr, double }
%"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: inlinehint mustprogress uwtable
declare dso_local void @_ZNK3P3D6Motion16getMotionOfPointENS_6VectorIdLm3EEE(ptr dead_on_unwind noalias writable sret(%"struct.P3D::Motion") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef byval(%"struct.P3D::Vector") align 8) #7 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

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

; 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: inlinehint mustprogress uwtable
declare dso_local void @_ZNK3P3D6Motion17addRelativeMotionERKS0_(ptr dead_on_unwind noalias writable sret(%"struct.P3D::Motion") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(96)) #7 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3P3D14CFrameTemplateIdE11getRotationEv(ptr dead_on_unwind noalias writable sret(%"class.P3D::MatrixRotationTemplate") align 8, ptr noundef nonnull align 8 dereferenceable(96)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3P3D14CFrameTemplateIdE15localToRelativeERKS1_(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 @_Z32testJoiningRelativeMotionCorrectv() #6 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"struct.P3D::RelativeMotion", align 8
  %2 = alloca %"struct.P3D::RelativeMotion", align 8
  %3 = alloca %"struct.P3D::Motion", align 8
  %4 = alloca %"struct.P3D::CFrameTemplate", align 8
  %5 = alloca %"struct.P3D::Motion", align 8
  %6 = alloca %"class.P3D::MatrixRotationTemplate", align 8
  %7 = alloca %"struct.P3D::Motion", align 8
  %8 = alloca %"struct.P3D::Motion", align 8
  %9 = alloca %"struct.P3D::Vector", align 8
  %10 = alloca %class.TolerantAssertComparer, align 8
  %11 = alloca %class.TolerantAssertComparer.5, align 8
  %12 = alloca %struct.TolerantAssertBuilder, align 8
  %13 = alloca %"struct.P3D::RelativeMotion", align 8
  %14 = alloca %"struct.P3D::CFrameTemplate", align 8
  %15 = alloca %"struct.P3D::Vector", align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca %class.TolerantAssertComparer, align 8
  %19 = alloca %class.TolerantAssertComparer.1, align 8
  %20 = alloca %struct.TolerantAssertBuilder, align 8
  %21 = alloca %"struct.P3D::RelativeMotion", 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 0
  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 1
  %24 = getelementptr inbounds %"struct.P3D::RelativeMotion", ptr %2, i32 0, i32 1
  call void @_ZNK3P3D14CFrameTemplateIdE15localToRelativeERKS1_(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)
  call void @llvm.lifetime.start.p0(i64 96, ptr %5) #8
  call void @llvm.lifetime.start.p0(i64 72, ptr %6) #8
  %25 = getelementptr inbounds %"struct.P3D::RelativeMotion", ptr %1, i32 0, i32 1
  call void @_ZNK3P3D14CFrameTemplateIdE11getRotationEv(ptr dead_on_unwind writable sret(%"class.P3D::MatrixRotationTemplate") align 8 %6, ptr noundef nonnull align 8 dereferenceable(96) %25)
  %26 = getelementptr inbounds %"struct.P3D::RelativeMotion", ptr %2, i32 0, i32 0
  call void @_ZN3P3D13localToGlobalERKNS_22MatrixRotationTemplateIdEERKNS_6MotionE(ptr dead_on_unwind writable sret(%"struct.P3D::Motion") align 8 %5, ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef nonnull align 8 dereferenceable(96) %26)
  call void @llvm.lifetime.end.p0(i64 72, ptr %6) #8
  call void @llvm.lifetime.start.p0(i64 96, ptr %7) #8
  call void @llvm.lifetime.start.p0(i64 96, ptr %8) #8
  call void @_ZNK3P3D14CFrameTemplateIdE11getPositionEv(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %9, ptr noundef nonnull align 8 dereferenceable(96) %4)
  call void @_ZNK3P3D6Motion16getMotionOfPointENS_6VectorIdLm3EEE(ptr dead_on_unwind writable sret(%"struct.P3D::Motion") align 8 %8, ptr noundef nonnull align 8 dereferenceable(96) %3, ptr noundef byval(%"struct.P3D::Vector") align 8 %9)
  call void @_ZNK3P3D6Motion17addRelativeMotionERKS0_(ptr dead_on_unwind writable sret(%"struct.P3D::Motion") align 8 %7, ptr noundef nonnull align 8 dereferenceable(96) %8, ptr noundef nonnull align 8 dereferenceable(96) %5)
  call void @llvm.lifetime.end.p0(i64 96, ptr %8) #8
  br label %27

27:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #8
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %12, i32 noundef 176, double noundef 5.000000e-03)
  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)
  %28 = getelementptr inbounds %"struct.P3D::RelativeMotion", ptr %13, i32 0, i32 1
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D14CFrameTemplateIdEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.5) align 8 %11, ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(96) %28)
  call void @llvm.lifetime.start.p0(i64 96, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #8
  %29 = getelementptr inbounds %"struct.P3D::RelativeMotion", ptr %1, i32 0, i32 1
  call void @_ZNK3P3D14CFrameTemplateIdE11getPositionEv(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %15, ptr noundef nonnull align 8 dereferenceable(96) %29)
  call void @_ZNK3P3D14CFrameTemplateIdEplERKNS_6VectorIdLm3EEE(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %14, ptr noundef nonnull align 8 dereferenceable(96) %4, ptr noundef nonnull align 8 dereferenceable(24) %15)
  call void @_ZNK22TolerantAssertComparerIN3P3D14CFrameTemplateIdEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer) align 8 %10, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(96) %14)
  %30 = getelementptr inbounds %class.TolerantAssertComparer, ptr %10, i32 0, i32 1
  %31 = load ptr, ptr %30, align 8, !tbaa !9
  %32 = load i8, ptr %31, align 1, !tbaa !14, !range !16, !noundef !17
  %33 = trunc i8 %32 to i1
  %34 = xor i1 %33, true
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 192, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #8
  br i1 %34, label %35, label %48

35:                                               ; preds = %27
  %36 = call ptr @_ZTW15__testInterface()
  %37 = getelementptr inbounds %class.TestInterface, ptr %36, i32 0, i32 1
  %38 = load i8, ptr %37, align 8, !tbaa !18, !range !16, !noundef !17
  %39 = trunc i8 %38 to i1
  br i1 %39, label %40, label %41

40:                                               ; preds = %35
  br label %41

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

43:                                               ; preds = %41
  call void @__cxa_throw(ptr %42, ptr @_ZTI14AssertionError, ptr null) #9
  unreachable

44:                                               ; preds = %41
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %16, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %17, align 4
  call void @__cxa_free_exception(ptr %42) #8
  br label %76

48:                                               ; preds = %27
  %49 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %49)
  br label %50

50:                                               ; preds = %48
  br label %51

51:                                               ; preds = %50
  br label %52

52:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #8
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %20, i32 noundef 177, double noundef 5.000000e-03)
  call void @llvm.lifetime.start.p0(i64 192, ptr %21) #8
  call void @_ZN3P3DplERKNS_14RelativeMotionES2_(ptr dead_on_unwind writable sret(%"struct.P3D::RelativeMotion") align 8 %21, ptr noundef nonnull align 8 dereferenceable(192) %1, ptr noundef nonnull align 8 dereferenceable(192) %2)
  %53 = getelementptr inbounds %"struct.P3D::RelativeMotion", ptr %21, i32 0, i32 0
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D6MotionEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.1) align 8 %19, ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(96) %53)
  call void @_ZNK22TolerantAssertComparerIN3P3D6MotionEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer) align 8 %18, ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(96) %7)
  %54 = getelementptr inbounds %class.TolerantAssertComparer, ptr %18, i32 0, i32 1
  %55 = load ptr, ptr %54, align 8, !tbaa !9
  %56 = load i8, ptr %55, align 1, !tbaa !14, !range !16, !noundef !17
  %57 = trunc i8 %56 to i1
  %58 = xor i1 %57, true
  call void @llvm.lifetime.end.p0(i64 192, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #8
  br i1 %58, label %59, label %72

59:                                               ; preds = %52
  %60 = call ptr @_ZTW15__testInterface()
  %61 = getelementptr inbounds %class.TestInterface, ptr %60, i32 0, i32 1
  %62 = load i8, ptr %61, align 8, !tbaa !18, !range !16, !noundef !17
  %63 = trunc i8 %62 to i1
  br i1 %63, label %64, label %65

64:                                               ; preds = %59
  br label %65

65:                                               ; preds = %64, %59
  %66 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %66, i32 noundef 177, ptr noundef @.str.3)
          to label %67 unwind label %68

67:                                               ; preds = %65
  call void @__cxa_throw(ptr %66, ptr @_ZTI14AssertionError, ptr null) #9
  unreachable

68:                                               ; preds = %65
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %16, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %17, align 4
  call void @__cxa_free_exception(ptr %66) #8
  br label %76

72:                                               ; preds = %52
  %73 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %73)
  br label %74

74:                                               ; preds = %72
  br label %75

75:                                               ; preds = %74
  call void @llvm.lifetime.end.p0(i64 96, ptr %7) #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

76:                                               ; preds = %68, %44
  call void @llvm.lifetime.end.p0(i64 96, ptr %7) #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 %77

77:                                               ; preds = %76
  %78 = load ptr, ptr %16, align 8
  %79 = load i32, ptr %17, align 4
  %80 = insertvalue { ptr, i32 } poison, ptr %78, 0
  %81 = insertvalue { ptr, i32 } %80, i32 %79, 1
  resume { ptr, i32 } %81
}

; 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

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

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 48, !6, i64 48, 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 = !{}
!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 }
%"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" }
%class.TolerantAssertComparer = type { i32, ptr, double }
%"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: inlinehint mustprogress uwtable
declare dso_local void @_ZNK3P3D6Motion16getMotionOfPointENS_6VectorIdLm3EEE(ptr dead_on_unwind noalias writable sret(%"struct.P3D::Motion") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef byval(%"struct.P3D::Vector") align 8) local_unnamed_addr #7 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

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

; 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: inlinehint mustprogress uwtable
declare dso_local void @_ZNK3P3D6Motion17addRelativeMotionERKS0_(ptr dead_on_unwind noalias writable sret(%"struct.P3D::Motion") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #7 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3P3D14CFrameTemplateIdE11getRotationEv(ptr dead_on_unwind noalias writable sret(%"class.P3D::MatrixRotationTemplate") align 8, ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3P3D14CFrameTemplateIdE15localToRelativeERKS1_(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 @_Z32testJoiningRelativeMotionCorrectv() 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::Motion", align 8
  %4 = alloca %"struct.P3D::CFrameTemplate", align 8
  %5 = alloca %"struct.P3D::Motion", align 8
  %6 = alloca %"class.P3D::MatrixRotationTemplate", align 8
  %7 = alloca %"struct.P3D::Motion", align 8
  %8 = alloca %"struct.P3D::Motion", align 8
  %9 = alloca %"struct.P3D::Vector", align 8
  %10 = alloca %class.TolerantAssertComparer, align 8
  %11 = alloca %class.TolerantAssertComparer.5, align 8
  %12 = alloca %struct.TolerantAssertBuilder, align 8
  %13 = alloca %"struct.P3D::RelativeMotion", align 8
  %14 = alloca %"struct.P3D::CFrameTemplate", align 8
  %15 = alloca %"struct.P3D::Vector", align 8
  %16 = alloca %class.TolerantAssertComparer, align 8
  %17 = alloca %class.TolerantAssertComparer.1, align 8
  %18 = alloca %struct.TolerantAssertBuilder, align 8
  %19 = alloca %"struct.P3D::RelativeMotion", 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
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %3, ptr noundef nonnull align 8 dereferenceable(96) %1, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %4) #8
  %20 = getelementptr inbounds i8, ptr %1, i64 96
  %21 = getelementptr inbounds i8, ptr %2, i64 96
  call void @_ZNK3P3D14CFrameTemplateIdE15localToRelativeERKS1_(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %4, ptr noundef nonnull align 8 dereferenceable(96) %20, ptr noundef nonnull align 8 dereferenceable(96) %21)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %6) #8
  call void @_ZNK3P3D14CFrameTemplateIdE11getRotationEv(ptr dead_on_unwind nonnull writable sret(%"class.P3D::MatrixRotationTemplate") align 8 %6, ptr noundef nonnull align 8 dereferenceable(96) %20)
  call void @_ZN3P3D13localToGlobalERKNS_22MatrixRotationTemplateIdEERKNS_6MotionE(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::Motion") align 8 %5, ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef nonnull align 8 dereferenceable(96) %2)
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %8) #8
  call void @_ZNK3P3D14CFrameTemplateIdE11getPositionEv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::Vector") align 8 %9, ptr noundef nonnull align 8 dereferenceable(96) %4)
  call void @_ZNK3P3D6Motion16getMotionOfPointENS_6VectorIdLm3EEE(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::Motion") align 8 %8, ptr noundef nonnull align 8 dereferenceable(96) %3, ptr noundef nonnull byval(%"struct.P3D::Vector") align 8 %9)
  call void @_ZNK3P3D6Motion17addRelativeMotionERKS0_(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::Motion") align 8 %7, ptr noundef nonnull align 8 dereferenceable(96) %8, ptr noundef nonnull align 8 dereferenceable(96) %5)
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #8
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %12, i32 noundef 176, double noundef 5.000000e-03)
  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)
  %22 = getelementptr inbounds i8, ptr %13, i64 96
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D14CFrameTemplateIdEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.5) align 8 %11, ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(96) %22)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %14) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #8
  call void @_ZNK3P3D14CFrameTemplateIdE11getPositionEv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::Vector") align 8 %15, ptr noundef nonnull align 8 dereferenceable(96) %20)
  call void @_ZNK3P3D14CFrameTemplateIdEplERKNS_6VectorIdLm3EEE(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %14, ptr noundef nonnull align 8 dereferenceable(96) %4, ptr noundef nonnull align 8 dereferenceable(24) %15)
  call void @_ZNK22TolerantAssertComparerIN3P3D14CFrameTemplateIdEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %10, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(96) %14)
  %23 = getelementptr inbounds i8, ptr %10, i64 8
  %24 = load ptr, ptr %23, align 8, !tbaa !9
  %25 = load i8, ptr %24, align 1, !tbaa !14, !range !16, !noundef !17
  %26 = trunc nuw i8 %25 to i1
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #8
  %27 = call ptr @_ZTW15__testInterface()
  br i1 %26, label %33, label %28

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

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

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

33:                                               ; preds = %0
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %27)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #8
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %18, i32 noundef 177, double noundef 5.000000e-03)
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %19) #8
  call void @_ZN3P3DplERKNS_14RelativeMotionES2_(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::RelativeMotion") align 8 %19, ptr noundef nonnull align 8 dereferenceable(192) %1, ptr noundef nonnull align 8 dereferenceable(192) %2)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D6MotionEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.1) align 8 %17, ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(96) %19)
  call void @_ZNK22TolerantAssertComparerIN3P3D6MotionEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %16, ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(96) %7)
  %34 = getelementptr inbounds i8, ptr %16, 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 192, ptr nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #8
  %38 = call ptr @_ZTW15__testInterface()
  br i1 %37, label %44, label %39

39:                                               ; preds = %33
  %40 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %40, i32 noundef 177, 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 = %33
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %38)
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %7) #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, %31
  %.sink = phi ptr [ %40, %42 ], [ %29, %31 ]
  %.pn = phi { ptr, i32 } [ %43, %42 ], [ %32, %31 ]
  call void @__cxa_free_exception(ptr %.sink) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %7) #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
}

; 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

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

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 48, !6, i64 48, 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: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass