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

; 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::HardPhysicalConnection" = type { %"struct.P3D::CFrameTemplate", %"struct.P3D::CFrameTemplate", %"class.std::unique_ptr" }
%"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] }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.3" }
%"struct.std::_Head_base.3" = type { ptr }
%"struct.P3D::RelativeMotion" = type { %"struct.P3D::Motion", %"struct.P3D::CFrameTemplate" }
%"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::RotationalMotion" = type { %"struct.P3D::TaylorExpansion" }
%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: 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: 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() #2

declare ptr @__cxa_allocate_exception(i64)

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z34testMotionOfMotorConstraintCorrectv() #5 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"struct.P3D::HardPhysicalConnection", align 8
  %2 = alloca %"class.std::unique_ptr", align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca %"struct.P3D::CFrameTemplate", align 8
  %6 = alloca %"struct.P3D::CFrameTemplate", align 8
  %7 = alloca %"struct.P3D::RelativeMotion", 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 %class.TolerantAssertComparer, align 8
  %12 = alloca %class.TolerantAssertComparer.1, align 8
  %13 = alloca %struct.TolerantAssertBuilder, align 8
  %14 = alloca %"struct.P3D::Motion", align 8
  call void @llvm.lifetime.start.p0(i64 200, ptr %1) #9
  %15 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #10
  %16 = invoke noundef double @_ZN3P3D18createRandomDoubleEv()
          to label %17 unwind label %46

17:                                               ; preds = %0
  invoke void @_ZN3P3D23MotorConstraintTemplateINS_19ConstantMotorTurnerEECI2NS_19ConstantMotorTurnerEEd(ptr noundef nonnull align 8 dereferenceable(32) %15, double noundef %16)
          to label %18 unwind label %46

18:                                               ; preds = %17
  call void @_ZNSt10unique_ptrIN3P3D14HardConstraintESt14default_deleteIS1_EEC2IS3_vEEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef %15) #9
  call void @llvm.lifetime.start.p0(i64 96, ptr %5) #9
  invoke void @_ZN3P3D18createRandomCFrameEv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %5)
          to label %19 unwind label %50

19:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 96, ptr %6) #9
  invoke void @_ZN3P3D18createRandomCFrameEv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %6)
          to label %20 unwind label %54

20:                                               ; preds = %19
  invoke void @_ZN3P3D22HardPhysicalConnectionC1ESt10unique_ptrINS_14HardConstraintESt14default_deleteIS2_EERKNS_14CFrameTemplateIdEES9_(ptr noundef nonnull align 8 dereferenceable(200) %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(96) %5, ptr noundef nonnull align 8 dereferenceable(96) %6)
          to label %21 unwind label %54

21:                                               ; preds = %20
  call void @llvm.lifetime.end.p0(i64 96, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 96, ptr %5) #9
  call void @_ZNSt10unique_ptrIN3P3D14HardConstraintESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #9
  invoke void @_ZN3P3D22HardPhysicalConnection6updateEd(ptr noundef nonnull align 8 dereferenceable(200) %1, double noundef 0x3FF3C0CA4283DE1B)
          to label %22 unwind label %59

22:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 192, ptr %7) #9
  invoke void @_ZNK3P3D22HardPhysicalConnection17getRelativeMotionEv(ptr dead_on_unwind writable sret(%"struct.P3D::RelativeMotion") align 8 %7, ptr noundef nonnull align 8 dereferenceable(200) %1)
          to label %23 unwind label %63

23:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 96, ptr %8) #9
  invoke void @_ZNK3P3D22HardPhysicalConnection25getRelativeCFrameToParentEv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %8, ptr noundef nonnull align 8 dereferenceable(200) %1)
          to label %24 unwind label %67

24:                                               ; preds = %23
  invoke void @_ZN3P3D22HardPhysicalConnection6updateEd(ptr noundef nonnull align 8 dereferenceable(200) %1, double noundef 1.000000e-04)
          to label %25 unwind label %67

25:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 96, ptr %9) #9
  invoke void @_ZNK3P3D22HardPhysicalConnection25getRelativeCFrameToParentEv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %9, ptr noundef nonnull align 8 dereferenceable(200) %1)
          to label %26 unwind label %71

26:                                               ; preds = %25
  invoke void @_ZN3P3D22HardPhysicalConnection6updateEd(ptr noundef nonnull align 8 dereferenceable(200) %1, double noundef 1.000000e-04)
          to label %27 unwind label %71

27:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 96, ptr %10) #9
  invoke void @_ZNK3P3D22HardPhysicalConnection25getRelativeCFrameToParentEv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %10, ptr noundef nonnull align 8 dereferenceable(200) %1)
          to label %28 unwind label %75

28:                                               ; preds = %27
  br label %29

29:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #9
  invoke void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %13, i32 noundef 58, double noundef 5.000000e-03)
          to label %30 unwind label %79

30:                                               ; preds = %29
  %31 = getelementptr inbounds %"struct.P3D::RelativeMotion", ptr %7, i32 0, i32 0
  invoke void @_ZNK21TolerantAssertBuilderIdEltIN3P3D6MotionEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.1) align 8 %12, ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(96) %31)
          to label %32 unwind label %79

32:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 96, ptr %14) #9
  invoke void @_ZN3P3D14estimateMotionERKNS_14CFrameTemplateIdEES3_S3_d(ptr dead_on_unwind writable sret(%"struct.P3D::Motion") align 8 %14, ptr noundef nonnull align 8 dereferenceable(96) %8, ptr noundef nonnull align 8 dereferenceable(96) %9, ptr noundef nonnull align 8 dereferenceable(96) %10, double noundef 1.000000e-04)
          to label %33 unwind label %83

33:                                               ; preds = %32
  invoke void @_ZNK22TolerantAssertComparerIN3P3D6MotionEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer) align 8 %11, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(96) %14)
          to label %34 unwind label %83

34:                                               ; preds = %33
  %35 = getelementptr inbounds %class.TolerantAssertComparer, ptr %11, i32 0, i32 1
  %36 = load ptr, ptr %35, align 8, !tbaa !5
  %37 = load i8, ptr %36, align 1, !tbaa !12, !range !14, !noundef !15
  %38 = trunc i8 %37 to i1
  %39 = xor i1 %38, true
  call void @llvm.lifetime.end.p0(i64 96, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #9
  br i1 %39, label %40, label %95

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

45:                                               ; preds = %40
  br label %88

46:                                               ; preds = %17, %0
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %3, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %4, align 4
  call void @_ZdlPvm(ptr noundef %15, i64 noundef 32) #11
  br label %105

50:                                               ; preds = %18
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %3, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %4, align 4
  br label %58

54:                                               ; preds = %20, %19
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %3, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 96, ptr %6) #9
  br label %58

58:                                               ; preds = %54, %50
  call void @llvm.lifetime.end.p0(i64 96, ptr %5) #9
  call void @_ZNSt10unique_ptrIN3P3D14HardConstraintESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #9
  br label %105

59:                                               ; preds = %21
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %3, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %4, align 4
  br label %104

63:                                               ; preds = %22
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %3, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %4, align 4
  br label %103

67:                                               ; preds = %24, %23
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %3, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %4, align 4
  br label %102

71:                                               ; preds = %26, %25
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %3, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %4, align 4
  br label %101

75:                                               ; preds = %95, %90, %27
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %3, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %4, align 4
  br label %100

79:                                               ; preds = %30, %29
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %3, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %4, align 4
  br label %87

83:                                               ; preds = %33, %32
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %3, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 96, ptr %14) #9
  br label %87

87:                                               ; preds = %83, %79
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #9
  br label %100

88:                                               ; preds = %45, %40
  %89 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %89, i32 noundef 58, ptr noundef @.str.3)
          to label %90 unwind label %91

90:                                               ; preds = %88
  invoke void @__cxa_throw(ptr %89, ptr @_ZTI14AssertionError, ptr null) #12
          to label %111 unwind label %75

91:                                               ; preds = %88
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %3, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %4, align 4
  call void @__cxa_free_exception(ptr %89) #9
  br label %100

95:                                               ; preds = %34
  %96 = call ptr @_ZTW15__testInterface()
  invoke void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %96)
          to label %97 unwind label %75

97:                                               ; preds = %95
  br label %98

98:                                               ; preds = %97
  br label %99

99:                                               ; preds = %98
  call void @llvm.lifetime.end.p0(i64 96, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 96, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 96, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 192, ptr %7) #9
  call void @_ZN3P3D22HardPhysicalConnectionD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %1) #9
  call void @llvm.lifetime.end.p0(i64 200, ptr %1) #9
  ret void

100:                                              ; preds = %91, %87, %75
  call void @llvm.lifetime.end.p0(i64 96, ptr %10) #9
  br label %101

101:                                              ; preds = %100, %71
  call void @llvm.lifetime.end.p0(i64 96, ptr %9) #9
  br label %102

102:                                              ; preds = %101, %67
  call void @llvm.lifetime.end.p0(i64 96, ptr %8) #9
  br label %103

103:                                              ; preds = %102, %63
  call void @llvm.lifetime.end.p0(i64 192, ptr %7) #9
  br label %104

104:                                              ; preds = %103, %59
  call void @_ZN3P3D22HardPhysicalConnectionD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %1) #9
  br label %105

105:                                              ; preds = %104, %58, %46
  call void @llvm.lifetime.end.p0(i64 200, ptr %1) #9
  br label %106

106:                                              ; preds = %105
  %107 = load ptr, ptr %3, align 8
  %108 = load i32, ptr %4, align 4
  %109 = insertvalue { ptr, i32 } poison, ptr %107, 0
  %110 = insertvalue { ptr, i32 } %109, i32 %108, 1
  resume { ptr, i32 } %110

111:                                              ; preds = %90
  unreachable
}

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZN3P3D18createRandomDoubleEv() #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3P3D23MotorConstraintTemplateINS_19ConstantMotorTurnerEECI2NS_19ConstantMotorTurnerEEd(ptr noundef nonnull align 8 dereferenceable(32), double noundef) unnamed_addr #7 align 2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #8

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

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

declare void @_ZN3P3D22HardPhysicalConnectionC1ESt10unique_ptrINS_14HardConstraintESt14default_deleteIS2_EERKNS_14CFrameTemplateIdEES9_(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(96)) unnamed_addr #3

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

declare void @_ZN3P3D22HardPhysicalConnection6updateEd(ptr noundef nonnull align 8 dereferenceable(200), double noundef) #3

declare void @_ZNK3P3D22HardPhysicalConnection17getRelativeMotionEv(ptr dead_on_unwind writable sret(%"struct.P3D::RelativeMotion") align 8, ptr noundef nonnull align 8 dereferenceable(200)) #3

declare void @_ZNK3P3D22HardPhysicalConnection25getRelativeCFrameToParentEv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8, ptr noundef nonnull align 8 dereferenceable(200)) #3

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) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D22HardPhysicalConnectionD2Ev(ptr noundef nonnull align 8 dereferenceable(200)) unnamed_addr #4 align 2

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 = { 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 #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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nobuiltin allocsize(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 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nounwind }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { builtin nounwind }
attributes #12 = { 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 = !{!6, !10, i64 8}
!6 = !{!"_ZTS22TolerantAssertComparerIbdE", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"double", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"bool", !8, i64 0}
!14 = !{i8 0, i8 2}
!15 = !{}
!16 = !{!17, !13, i64 8}
!17 = !{!"_ZTS13TestInterface", !18, i64 0, !13, i64 8}
!18 = !{!"long", !8, 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::HardPhysicalConnection" = type { %"struct.P3D::CFrameTemplate", %"struct.P3D::CFrameTemplate", %"class.std::unique_ptr" }
%"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] }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.3" }
%"struct.std::_Head_base.3" = type { ptr }
%"struct.P3D::RelativeMotion" = type { %"struct.P3D::Motion", %"struct.P3D::CFrameTemplate" }
%"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::RotationalMotion" = type { %"struct.P3D::TaylorExpansion" }
%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 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: 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 #2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z34testMotionOfMotorConstraintCorrectv() local_unnamed_addr #5 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"struct.P3D::HardPhysicalConnection", align 8
  %2 = alloca %"class.std::unique_ptr", align 8
  %3 = alloca %"struct.P3D::CFrameTemplate", align 8
  %4 = alloca %"struct.P3D::CFrameTemplate", align 8
  %5 = alloca %"struct.P3D::RelativeMotion", 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 %class.TolerantAssertComparer, align 8
  %10 = alloca %class.TolerantAssertComparer.1, align 8
  %11 = alloca %struct.TolerantAssertBuilder, align 8
  %12 = alloca %"struct.P3D::Motion", align 8
  call void @llvm.lifetime.start.p0(i64 200, ptr nonnull %1) #9
  %13 = tail call noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #10
  %14 = tail call noundef double @_ZN3P3D18createRandomDoubleEv()
  invoke void @_ZN3P3D23MotorConstraintTemplateINS_19ConstantMotorTurnerEECI2NS_19ConstantMotorTurnerEEd(ptr noundef nonnull align 8 dereferenceable(32) %13, double noundef %14)
          to label %15 unwind label %36

15:                                               ; preds = %0
  call void @_ZNSt10unique_ptrIN3P3D14HardConstraintESt14default_deleteIS1_EEC2IS3_vEEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull %13) #9
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %3) #9
  invoke void @_ZN3P3D18createRandomCFrameEv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %3)
          to label %16 unwind label %38

16:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %4) #9
  invoke void @_ZN3P3D18createRandomCFrameEv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %4)
          to label %17 unwind label %40

17:                                               ; preds = %16
  invoke void @_ZN3P3D22HardPhysicalConnectionC1ESt10unique_ptrINS_14HardConstraintESt14default_deleteIS2_EERKNS_14CFrameTemplateIdEES9_(ptr noundef nonnull align 8 dereferenceable(200) %1, ptr noundef nonnull %2, ptr noundef nonnull align 8 dereferenceable(96) %3, ptr noundef nonnull align 8 dereferenceable(96) %4)
          to label %18 unwind label %40

18:                                               ; preds = %17
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %4) #9
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %3) #9
  call void @_ZNSt10unique_ptrIN3P3D14HardConstraintESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #9
  invoke void @_ZN3P3D22HardPhysicalConnection6updateEd(ptr noundef nonnull align 8 dereferenceable(200) %1, double noundef 0x3FF3C0CA4283DE1B)
          to label %19 unwind label %43

19:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %5) #9
  invoke void @_ZNK3P3D22HardPhysicalConnection17getRelativeMotionEv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::RelativeMotion") align 8 %5, ptr noundef nonnull align 8 dereferenceable(200) %1)
          to label %20 unwind label %45

20:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %6) #9
  invoke void @_ZNK3P3D22HardPhysicalConnection25getRelativeCFrameToParentEv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %6, ptr noundef nonnull align 8 dereferenceable(200) %1)
          to label %21 unwind label %47

21:                                               ; preds = %20
  invoke void @_ZN3P3D22HardPhysicalConnection6updateEd(ptr noundef nonnull align 8 dereferenceable(200) %1, double noundef 1.000000e-04)
          to label %22 unwind label %47

22:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %7) #9
  invoke void @_ZNK3P3D22HardPhysicalConnection25getRelativeCFrameToParentEv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %7, ptr noundef nonnull align 8 dereferenceable(200) %1)
          to label %23 unwind label %49

23:                                               ; preds = %22
  invoke void @_ZN3P3D22HardPhysicalConnection6updateEd(ptr noundef nonnull align 8 dereferenceable(200) %1, double noundef 1.000000e-04)
          to label %24 unwind label %49

24:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %8) #9
  invoke void @_ZNK3P3D22HardPhysicalConnection25getRelativeCFrameToParentEv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %8, ptr noundef nonnull align 8 dereferenceable(200) %1)
          to label %25 unwind label %51

25:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #9
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %11, i32 noundef 58, double noundef 5.000000e-03)
  invoke void @_ZNK21TolerantAssertBuilderIdEltIN3P3D6MotionEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.1) align 8 %10, ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(96) %5)
          to label %26 unwind label %53

26:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %12) #9
  invoke 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) %6, ptr noundef nonnull align 8 dereferenceable(96) %7, ptr noundef nonnull align 8 dereferenceable(96) %8, double noundef 1.000000e-04)
          to label %27 unwind label %55

27:                                               ; preds = %26
  invoke void @_ZNK22TolerantAssertComparerIN3P3D6MotionEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %9, ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(96) %12)
          to label %28 unwind label %55

28:                                               ; preds = %27
  %29 = getelementptr inbounds i8, ptr %9, i64 8
  %30 = load ptr, ptr %29, align 8, !tbaa !5
  %31 = load i8, ptr %30, align 1, !tbaa !12, !range !14, !noundef !15
  %32 = trunc nuw i8 %31 to i1
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #9
  %33 = call ptr @_ZTW15__testInterface()
  br i1 %32, label %61, label %34

34:                                               ; preds = %28
  %35 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %35, i32 noundef 58, ptr noundef nonnull @.str.3)
          to label %58 unwind label %59

36:                                               ; preds = %0
  %37 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %13, i64 noundef 32) #11
  br label %67

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

40:                                               ; preds = %17, %16
  %41 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %4) #9
  br label %42

42:                                               ; preds = %40, %38
  %.pn = phi { ptr, i32 } [ %41, %40 ], [ %39, %38 ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %3) #9
  call void @_ZNSt10unique_ptrIN3P3D14HardConstraintESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #9
  br label %67

43:                                               ; preds = %18
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %66

45:                                               ; preds = %19
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %65

47:                                               ; preds = %21, %20
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %64

49:                                               ; preds = %23, %22
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %63

51:                                               ; preds = %58, %24
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %62

53:                                               ; preds = %25
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %57

55:                                               ; preds = %27, %26
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %12) #9
  br label %57

57:                                               ; preds = %55, %53
  %.pn10 = phi { ptr, i32 } [ %56, %55 ], [ %54, %53 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #9
  br label %62

58:                                               ; preds = %34
  invoke void @__cxa_throw(ptr nonnull %35, ptr nonnull @_ZTI14AssertionError, ptr null) #12
          to label %68 unwind label %51

59:                                               ; preds = %34
  %60 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %35) #9
  br label %62

61:                                               ; preds = %28
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %33)
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %5) #9
  call void @_ZN3P3D22HardPhysicalConnectionD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %1) #9
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %1) #9
  ret void

62:                                               ; preds = %59, %57, %51
  %.pn12 = phi { ptr, i32 } [ %52, %51 ], [ %60, %59 ], [ %.pn10, %57 ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %8) #9
  br label %63

63:                                               ; preds = %62, %49
  %.pn12.pn = phi { ptr, i32 } [ %.pn12, %62 ], [ %50, %49 ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %7) #9
  br label %64

64:                                               ; preds = %63, %47
  %.pn12.pn.pn = phi { ptr, i32 } [ %.pn12.pn, %63 ], [ %48, %47 ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %6) #9
  br label %65

65:                                               ; preds = %64, %45
  %.pn12.pn.pn.pn = phi { ptr, i32 } [ %.pn12.pn.pn, %64 ], [ %46, %45 ]
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %5) #9
  br label %66

66:                                               ; preds = %65, %43
  %.pn12.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn12.pn.pn.pn, %65 ], [ %44, %43 ]
  call void @_ZN3P3D22HardPhysicalConnectionD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %1) #9
  br label %67

67:                                               ; preds = %66, %42, %36
  %.pn12.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn12.pn.pn.pn.pn, %66 ], [ %.pn, %42 ], [ %37, %36 ]
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %1) #9
  resume { ptr, i32 } %.pn12.pn.pn.pn.pn.pn

68:                                               ; preds = %58
  unreachable
}

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3P3D23MotorConstraintTemplateINS_19ConstantMotorTurnerEECI2NS_19ConstantMotorTurnerEEd(ptr noundef nonnull align 8 dereferenceable(32), double noundef) unnamed_addr #7 align 2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #8

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

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

declare void @_ZN3P3D22HardPhysicalConnectionC1ESt10unique_ptrINS_14HardConstraintESt14default_deleteIS2_EERKNS_14CFrameTemplateIdEES9_(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(96)) unnamed_addr #3

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

declare void @_ZN3P3D22HardPhysicalConnection6updateEd(ptr noundef nonnull align 8 dereferenceable(200), double noundef) local_unnamed_addr #3

declare void @_ZNK3P3D22HardPhysicalConnection17getRelativeMotionEv(ptr dead_on_unwind writable sret(%"struct.P3D::RelativeMotion") align 8, ptr noundef nonnull align 8 dereferenceable(200)) local_unnamed_addr #3

declare void @_ZNK3P3D22HardPhysicalConnection25getRelativeCFrameToParentEv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8, ptr noundef nonnull align 8 dereferenceable(200)) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3P3D22HardPhysicalConnectionD2Ev(ptr noundef nonnull align 8 dereferenceable(200)) unnamed_addr #4 align 2

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 = { 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 #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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nobuiltin allocsize(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 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nounwind }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { builtin nounwind }
attributes #12 = { 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 = !{!6, !10, i64 8}
!6 = !{!"_ZTS22TolerantAssertComparerIbdE", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"double", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"bool", !8, i64 0}
!14 = !{i8 0, i8 2}
!15 = !{}


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