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

; 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::CFrameTemplate" = type { %"struct.P3D::Vector", %"class.P3D::MatrixRotationTemplate" }
%"struct.P3D::Vector" = type { %union.anon }
%union.anon = type { [3 x double] }
%"class.P3D::MatrixRotationTemplate" = type { %"class.P3D::Matrix" }
%"class.P3D::Matrix" = type { [9 x double] }
%"struct.P3D::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.P3D::HardPhysicalConnection" = type { %"struct.P3D::CFrameTemplate", %"struct.P3D::CFrameTemplate", %"class.std::unique_ptr" }
%"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.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: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #6

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

; 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) #8

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z35testMotionOfPistonConstraintCorrectv() #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 48) #10
  invoke void @_ZN3P3D24PistonConstraintTemplateINS_18SineWaveControllerEECI2NS_18SineWaveControllerEEddd(ptr noundef nonnull align 8 dereferenceable(48) %15, double noundef 1.000000e+00, double noundef 5.000000e+00, double noundef 1.000000e+00)
          to label %16 unwind label %44

16:                                               ; preds = %0
  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 %17 unwind label %48

17:                                               ; preds = %16
  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 %18 unwind label %52

18:                                               ; preds = %17
  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 %19 unwind label %52

19:                                               ; preds = %18
  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 %20 unwind label %57

20:                                               ; preds = %19
  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 %21 unwind label %61

21:                                               ; preds = %20
  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 %22 unwind label %65

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

23:                                               ; preds = %22
  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 %24 unwind label %69

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

25:                                               ; preds = %24
  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 %26 unwind label %73

26:                                               ; preds = %25
  br label %27

27:                                               ; preds = %26
  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 74, double noundef 5.000000e-03)
          to label %28 unwind label %77

28:                                               ; preds = %27
  %29 = 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) %29)
          to label %30 unwind label %77

30:                                               ; preds = %28
  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 %31 unwind label %81

31:                                               ; preds = %30
  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 %32 unwind label %81

32:                                               ; preds = %31
  %33 = getelementptr inbounds %class.TolerantAssertComparer, ptr %11, i32 0, i32 1
  %34 = load ptr, ptr %33, align 8, !tbaa !5
  %35 = load i8, ptr %34, align 1, !tbaa !12, !range !14, !noundef !15
  %36 = trunc i8 %35 to i1
  %37 = xor i1 %36, 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 %37, label %38, label %93

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

43:                                               ; preds = %38
  br label %86

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

48:                                               ; preds = %16
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %3, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %4, align 4
  br label %56

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

56:                                               ; preds = %52, %48
  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 %103

57:                                               ; preds = %19
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %3, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %4, align 4
  br label %102

61:                                               ; preds = %20
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %3, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %4, align 4
  br label %101

65:                                               ; preds = %22, %21
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %3, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %4, align 4
  br label %100

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

73:                                               ; preds = %93, %88, %25
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %3, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %4, align 4
  br label %98

77:                                               ; preds = %28, %27
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %3, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %4, align 4
  br label %85

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

85:                                               ; preds = %81, %77
  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 %98

86:                                               ; preds = %43, %38
  %87 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %87, i32 noundef 74, ptr noundef @.str.3)
          to label %88 unwind label %89

88:                                               ; preds = %86
  invoke void @__cxa_throw(ptr %87, ptr @_ZTI14AssertionError, ptr null) #12
          to label %109 unwind label %73

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

93:                                               ; preds = %32
  %94 = call ptr @_ZTW15__testInterface()
  invoke void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %94)
          to label %95 unwind label %73

95:                                               ; preds = %93
  br label %96

96:                                               ; preds = %95
  br label %97

97:                                               ; preds = %96
  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

98:                                               ; preds = %89, %85, %73
  call void @llvm.lifetime.end.p0(i64 96, ptr %10) #9
  br label %99

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

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

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

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

103:                                              ; preds = %102, %56, %44
  call void @llvm.lifetime.end.p0(i64 200, ptr %1) #9
  br label %104

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

109:                                              ; preds = %88
  unreachable
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3P3D24PistonConstraintTemplateINS_18SineWaveControllerEECI2NS_18SineWaveControllerEEddd(ptr noundef nonnull align 8 dereferenceable(48), double noundef, double noundef, double noundef) unnamed_addr #8 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 = { 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 #8 = { 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 #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::CFrameTemplate" = type { %"struct.P3D::Vector", %"class.P3D::MatrixRotationTemplate" }
%"struct.P3D::Vector" = type { %union.anon }
%union.anon = type { [3 x double] }
%"class.P3D::MatrixRotationTemplate" = type { %"class.P3D::Matrix" }
%"class.P3D::Matrix" = type { [9 x double] }
%"struct.P3D::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.P3D::HardPhysicalConnection" = type { %"struct.P3D::CFrameTemplate", %"struct.P3D::CFrameTemplate", %"class.std::unique_ptr" }
%"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.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: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #6

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

; 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 #8

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z35testMotionOfPistonConstraintCorrectv() 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(48) ptr @_Znwm(i64 noundef 48) #10
  invoke void @_ZN3P3D24PistonConstraintTemplateINS_18SineWaveControllerEECI2NS_18SineWaveControllerEEddd(ptr noundef nonnull align 8 dereferenceable(48) %13, double noundef 1.000000e+00, double noundef 5.000000e+00, double noundef 1.000000e+00)
          to label %14 unwind label %35

14:                                               ; 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 %15 unwind label %37

15:                                               ; preds = %14
  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 %16 unwind label %39

16:                                               ; preds = %15
  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 %17 unwind label %39

17:                                               ; preds = %16
  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 %18 unwind label %42

18:                                               ; preds = %17
  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 %19 unwind label %44

19:                                               ; preds = %18
  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 %20 unwind label %46

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

21:                                               ; preds = %20
  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 %22 unwind label %48

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

23:                                               ; preds = %22
  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 %24 unwind label %50

24:                                               ; preds = %23
  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 74, 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 %25 unwind label %52

25:                                               ; preds = %24
  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 %26 unwind label %54

26:                                               ; preds = %25
  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 %27 unwind label %54

27:                                               ; preds = %26
  %28 = getelementptr inbounds i8, ptr %9, i64 8
  %29 = load ptr, ptr %28, align 8, !tbaa !5
  %30 = load i8, ptr %29, align 1, !tbaa !12, !range !14, !noundef !15
  %31 = trunc nuw i8 %30 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
  %32 = call ptr @_ZTW15__testInterface()
  br i1 %31, label %60, label %33

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

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

37:                                               ; preds = %14
  %38 = landingpad { ptr, i32 }
          cleanup
  br label %41

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

41:                                               ; preds = %39, %37
  %.pn = phi { ptr, i32 } [ %40, %39 ], [ %38, %37 ]
  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 %66

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

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

46:                                               ; preds = %20, %19
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %63

48:                                               ; preds = %22, %21
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %62

50:                                               ; preds = %57, %23
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %61

52:                                               ; preds = %24
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %56

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

56:                                               ; preds = %54, %52
  %.pn10 = phi { ptr, i32 } [ %55, %54 ], [ %53, %52 ]
  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 %61

57:                                               ; preds = %33
  invoke void @__cxa_throw(ptr nonnull %34, ptr nonnull @_ZTI14AssertionError, ptr null) #12
          to label %67 unwind label %50

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

60:                                               ; preds = %27
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %32)
  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

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

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

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

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

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

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

67:                                               ; preds = %57
  unreachable
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3P3D24PistonConstraintTemplateINS_18SineWaveControllerEECI2NS_18SineWaveControllerEEddd(ptr noundef nonnull align 8 dereferenceable(48), double noundef, double noundef, double noundef) unnamed_addr #8 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 = { 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 #8 = { 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 #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