; LLVM IR from ThePhysicsGuys/Physics3D :: tests/mathTests.ll (Z28testSkewSymmetricDerivativesv)

; 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.13 = type { i32, ptr, double }
%class.TolerantAssertComparer = type { i32, ptr, double }
%"class.P3D::SymmetricMatrix" = type { [6 x double] }
%"struct.P3D::Vector" = type { %union.anon.16 }
%union.anon.16 = type { [3 x double] }
%"struct.P3D::FullTaylorExpansion.30" = type { %"struct.P3D::Derivatives.31" }
%"struct.P3D::Derivatives.31" = type { [3 x %"struct.P3D::Vector"] }
%"struct.P3D::FullTaylorExpansion.32" = type { %"struct.P3D::Derivatives.33" }
%"struct.P3D::Derivatives.33" = type { [3 x %"class.P3D::SymmetricMatrix"] }
%struct.TolerantAssertBuilder = type { i32, double }
%class.TestInterface = type <{ i64, i8, [7 x i8] }>

@.str.4 = 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; 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 @_ZNK21TolerantAssertBuilderIdEltIN3P3D15SymmetricMatrixIdLm3EEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind noalias writable sret(%class.TolerantAssertComparer.13) align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(48)) #6 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D20skewSymmetricSquaredIdEENS_15SymmetricMatrixIT_Lm3EEERKNS_6VectorIS2_Lm3EEE(ptr dead_on_unwind noalias writable sret(%"class.P3D::SymmetricMatrix") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #6

; Function Attrs: mustprogress uwtable
define dso_local void @_Z28testSkewSymmetricDerivativesv() #6 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"struct.P3D::Vector", align 8
  %2 = alloca %"struct.P3D::Vector", align 8
  %3 = alloca %"struct.P3D::Vector", align 8
  %4 = alloca %"struct.P3D::FullTaylorExpansion.30", align 8
  %5 = alloca %"struct.P3D::FullTaylorExpansion.32", align 8
  %6 = alloca %"class.P3D::SymmetricMatrix", align 8
  %7 = alloca %"struct.P3D::Vector", align 8
  %8 = alloca double, align 8
  %9 = alloca %"class.P3D::SymmetricMatrix", align 8
  %10 = alloca %"struct.P3D::Vector", align 8
  %11 = alloca double, align 8
  %12 = alloca %"class.P3D::SymmetricMatrix", align 8
  %13 = alloca %"struct.P3D::Vector", align 8
  %14 = alloca double, align 8
  %15 = alloca %class.TolerantAssertComparer, align 8
  %16 = alloca %class.TolerantAssertComparer.13, align 8
  %17 = alloca %struct.TolerantAssertBuilder, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca %class.TolerantAssertComparer, align 8
  %21 = alloca %class.TolerantAssertComparer.13, align 8
  %22 = alloca %struct.TolerantAssertBuilder, align 8
  %23 = alloca %"class.P3D::SymmetricMatrix", align 8
  %24 = alloca %"class.P3D::SymmetricMatrix", align 8
  %25 = alloca double, align 8
  %26 = alloca %class.TolerantAssertComparer, align 8
  %27 = alloca %class.TolerantAssertComparer.13, align 8
  %28 = alloca %struct.TolerantAssertBuilder, align 8
  %29 = alloca %"class.P3D::SymmetricMatrix", align 8
  %30 = alloca %"class.P3D::SymmetricMatrix", align 8
  %31 = alloca %"class.P3D::SymmetricMatrix", align 8
  %32 = alloca %"class.P3D::SymmetricMatrix", align 8
  %33 = alloca double, align 8
  %34 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %1) #8
  call void @_ZN3P3D6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %1, double noundef 1.300000e+00, double noundef 1.700000e+00, double noundef -5.000000e-01) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %2) #8
  call void @_ZN3P3D6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %2, double noundef -2.000000e-01, double noundef 4.000000e-01, double noundef -5.000000e-01) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #8
  call void @_ZN3P3D6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %3, double noundef -3.000000e-01, double noundef 2.000000e-01, double noundef -1.000000e-01) #8
  call void @llvm.lifetime.start.p0(i64 72, ptr %4) #8
  %35 = getelementptr inbounds %"struct.P3D::FullTaylorExpansion.30", ptr %4, i32 0, i32 0
  %36 = getelementptr inbounds %"struct.P3D::Derivatives.31", ptr %35, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %36, ptr align 8 %1, i64 24, i1 false), !tbaa.struct !5
  %37 = getelementptr inbounds %"struct.P3D::Vector", ptr %36, i64 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %37, ptr align 8 %2, i64 24, i1 false), !tbaa.struct !5
  %38 = getelementptr inbounds %"struct.P3D::Vector", ptr %36, i64 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %38, ptr align 8 %3, i64 24, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 144, ptr %5) #8
  call void @_ZN3P3D41generateFullTaylorForSkewSymmetricSquaredIdLi3EEENS_19FullTaylorExpansionINS_15SymmetricMatrixIT_Lm3EEEXT0_EEERKNS1_INS_6VectorIS3_Lm3EEEXT0_EEE(ptr dead_on_unwind writable sret(%"struct.P3D::FullTaylorExpansion.32") align 8 %5, ptr noundef nonnull align 8 dereferenceable(72) %4)
  call void @llvm.lifetime.start.p0(i64 48, ptr %6) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  store double 0.000000e+00, ptr %8, align 8, !tbaa !9
  call void @_ZNK3P3D19FullTaylorExpansionINS_6VectorIdLm3EEELm3EEclIdEES2_RKT_(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %7, ptr noundef nonnull align 8 dereferenceable(72) %4, ptr noundef nonnull align 8 dereferenceable(8) %8)
  call void @_ZN3P3D20skewSymmetricSquaredIdEENS_15SymmetricMatrixIT_Lm3EEERKNS_6VectorIS2_Lm3EEE(ptr dead_on_unwind writable sret(%"class.P3D::SymmetricMatrix") align 8 %6, ptr noundef nonnull align 8 dereferenceable(24) %7)
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %9) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  store double 1.000000e-05, ptr %11, align 8, !tbaa !9
  call void @_ZNK3P3D19FullTaylorExpansionINS_6VectorIdLm3EEELm3EEclIdEES2_RKT_(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %10, ptr noundef nonnull align 8 dereferenceable(72) %4, ptr noundef nonnull align 8 dereferenceable(8) %11)
  call void @_ZN3P3D20skewSymmetricSquaredIdEENS_15SymmetricMatrixIT_Lm3EEERKNS_6VectorIS2_Lm3EEE(ptr dead_on_unwind writable sret(%"class.P3D::SymmetricMatrix") align 8 %9, ptr noundef nonnull align 8 dereferenceable(24) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %12) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  store double 2.000000e-05, ptr %14, align 8, !tbaa !9
  call void @_ZNK3P3D19FullTaylorExpansionINS_6VectorIdLm3EEELm3EEclIdEES2_RKT_(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %13, ptr noundef nonnull align 8 dereferenceable(72) %4, ptr noundef nonnull align 8 dereferenceable(8) %14)
  call void @_ZN3P3D20skewSymmetricSquaredIdEENS_15SymmetricMatrixIT_Lm3EEERKNS_6VectorIS2_Lm3EEE(ptr dead_on_unwind writable sret(%"class.P3D::SymmetricMatrix") align 8 %12, ptr noundef nonnull align 8 dereferenceable(24) %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #8
  br label %39

39:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #8
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %17, i32 noundef 326, double noundef 1.000000e-09)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D15SymmetricMatrixIdLm3EEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.13) align 8 %16, ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(48) %6)
  %40 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNK3P3D19FullTaylorExpansionINS_15SymmetricMatrixIdLm3EEELm3EE16getConstantValueEv(ptr noundef nonnull align 8 dereferenceable(144) %5)
  call void @_ZNK22TolerantAssertComparerIN3P3D15SymmetricMatrixIdLm3EEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer) align 8 %15, ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(48) %40)
  %41 = getelementptr inbounds %class.TolerantAssertComparer, ptr %15, i32 0, i32 1
  %42 = load ptr, ptr %41, align 8, !tbaa !11
  %43 = load i8, ptr %42, align 1, !tbaa !15, !range !17, !noundef !18
  %44 = trunc i8 %43 to i1
  %45 = xor i1 %44, true
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #8
  br i1 %45, label %46, label %59

46:                                               ; preds = %39
  %47 = call ptr @_ZTW15__testInterface()
  %48 = getelementptr inbounds %class.TestInterface, ptr %47, i32 0, i32 1
  %49 = load i8, ptr %48, align 8, !tbaa !19, !range !17, !noundef !18
  %50 = trunc i8 %49 to i1
  br i1 %50, label %51, label %52

51:                                               ; preds = %46
  br label %52

52:                                               ; preds = %51, %46
  %53 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %53, i32 noundef 326, ptr noundef @.str.4)
          to label %54 unwind label %55

54:                                               ; preds = %52
  call void @__cxa_throw(ptr %53, ptr @_ZTI14AssertionError, ptr null) #9
  unreachable

55:                                               ; preds = %52
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %18, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %19, align 4
  call void @__cxa_free_exception(ptr %53) #8
  br label %111

59:                                               ; preds = %39
  %60 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %60)
  br label %61

61:                                               ; preds = %59
  br label %62

62:                                               ; preds = %61
  br label %63

63:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #8
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %22, i32 noundef 327, double noundef 5.000000e-05)
  call void @llvm.lifetime.start.p0(i64 48, ptr %23) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %24) #8
  call void @_ZN3P3DmiIdLm3EEENS_15SymmetricMatrixIT_XT0_EEERKS3_S5_(ptr dead_on_unwind writable sret(%"class.P3D::SymmetricMatrix") align 8 %24, ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(48) %6)
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  store double 1.000000e-05, ptr %25, align 8, !tbaa !9
  call void @_ZN3P3DdvIdLm3EEENS_15SymmetricMatrixIT_XT0_EEERKS3_RKS2_(ptr dead_on_unwind writable sret(%"class.P3D::SymmetricMatrix") align 8 %23, ptr noundef nonnull align 8 dereferenceable(48) %24, ptr noundef nonnull align 8 dereferenceable(8) %25)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D15SymmetricMatrixIdLm3EEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.13) align 8 %21, ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 8 dereferenceable(48) %23)
  %64 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNK3P3D19FullTaylorExpansionINS_15SymmetricMatrixIdLm3EEELm3EE13getDerivativeEm(ptr noundef nonnull align 8 dereferenceable(144) %5, i64 noundef 0)
  call void @_ZNK22TolerantAssertComparerIN3P3D15SymmetricMatrixIdLm3EEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer) align 8 %20, ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 8 dereferenceable(48) %64)
  %65 = getelementptr inbounds %class.TolerantAssertComparer, ptr %20, i32 0, i32 1
  %66 = load ptr, ptr %65, align 8, !tbaa !11
  %67 = load i8, ptr %66, align 1, !tbaa !15, !range !17, !noundef !18
  %68 = trunc i8 %67 to i1
  %69 = xor i1 %68, true
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #8
  br i1 %69, label %70, label %83

70:                                               ; preds = %63
  %71 = call ptr @_ZTW15__testInterface()
  %72 = getelementptr inbounds %class.TestInterface, ptr %71, i32 0, i32 1
  %73 = load i8, ptr %72, align 8, !tbaa !19, !range !17, !noundef !18
  %74 = trunc i8 %73 to i1
  br i1 %74, label %75, label %76

75:                                               ; preds = %70
  br label %76

76:                                               ; preds = %75, %70
  %77 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %77, i32 noundef 327, ptr noundef @.str.4)
          to label %78 unwind label %79

78:                                               ; preds = %76
  call void @__cxa_throw(ptr %77, ptr @_ZTI14AssertionError, ptr null) #9
  unreachable

79:                                               ; preds = %76
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %18, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %19, align 4
  call void @__cxa_free_exception(ptr %77) #8
  br label %111

83:                                               ; preds = %63
  %84 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %84)
  br label %85

85:                                               ; preds = %83
  br label %86

86:                                               ; preds = %85
  br label %87

87:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %27) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #8
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %28, i32 noundef 328, double noundef 5.000000e-05)
  call void @llvm.lifetime.start.p0(i64 48, ptr %29) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %30) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %31) #8
  call void @_ZN3P3DplIdLm3EEENS_15SymmetricMatrixIT_XT0_EEERKS3_S5_(ptr dead_on_unwind writable sret(%"class.P3D::SymmetricMatrix") align 8 %31, ptr noundef nonnull align 8 dereferenceable(48) %12, ptr noundef nonnull align 8 dereferenceable(48) %6)
  call void @llvm.lifetime.start.p0(i64 48, ptr %32) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  store double 2.000000e+00, ptr %33, align 8, !tbaa !9
  call void @_ZN3P3DmlIdLm3EEENS_15SymmetricMatrixIT_XT0_EEERKS2_RKS3_(ptr dead_on_unwind writable sret(%"class.P3D::SymmetricMatrix") align 8 %32, ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(48) %9)
  call void @_ZN3P3DmiIdLm3EEENS_15SymmetricMatrixIT_XT0_EEERKS3_S5_(ptr dead_on_unwind writable sret(%"class.P3D::SymmetricMatrix") align 8 %30, ptr noundef nonnull align 8 dereferenceable(48) %31, ptr noundef nonnull align 8 dereferenceable(48) %32)
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  store double 0x3DDB7CDFD9D7BDBC, ptr %34, align 8, !tbaa !9
  call void @_ZN3P3DdvIdLm3EEENS_15SymmetricMatrixIT_XT0_EEERKS3_RKS2_(ptr dead_on_unwind writable sret(%"class.P3D::SymmetricMatrix") align 8 %29, ptr noundef nonnull align 8 dereferenceable(48) %30, ptr noundef nonnull align 8 dereferenceable(8) %34)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D15SymmetricMatrixIdLm3EEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.13) align 8 %27, ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 8 dereferenceable(48) %29)
  %88 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNK3P3D19FullTaylorExpansionINS_15SymmetricMatrixIdLm3EEELm3EE13getDerivativeEm(ptr noundef nonnull align 8 dereferenceable(144) %5, i64 noundef 1)
  call void @_ZNK22TolerantAssertComparerIN3P3D15SymmetricMatrixIdLm3EEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer) align 8 %26, ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 8 dereferenceable(48) %88)
  %89 = getelementptr inbounds %class.TolerantAssertComparer, ptr %26, i32 0, i32 1
  %90 = load ptr, ptr %89, align 8, !tbaa !11
  %91 = load i8, ptr %90, align 1, !tbaa !15, !range !17, !noundef !18
  %92 = trunc i8 %91 to i1
  %93 = xor i1 %92, true
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #8
  br i1 %93, label %94, label %107

94:                                               ; preds = %87
  %95 = call ptr @_ZTW15__testInterface()
  %96 = getelementptr inbounds %class.TestInterface, ptr %95, i32 0, i32 1
  %97 = load i8, ptr %96, align 8, !tbaa !19, !range !17, !noundef !18
  %98 = trunc i8 %97 to i1
  br i1 %98, label %99, label %100

99:                                               ; preds = %94
  br label %100

100:                                              ; preds = %99, %94
  %101 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %101, i32 noundef 328, ptr noundef @.str.4)
          to label %102 unwind label %103

102:                                              ; preds = %100
  call void @__cxa_throw(ptr %101, ptr @_ZTI14AssertionError, ptr null) #9
  unreachable

103:                                              ; preds = %100
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %18, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %19, align 4
  call void @__cxa_free_exception(ptr %101) #8
  br label %111

107:                                              ; preds = %87
  %108 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %108)
  br label %109

109:                                              ; preds = %107
  br label %110

110:                                              ; preds = %109
  call void @llvm.lifetime.end.p0(i64 48, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %2) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %1) #8
  ret void

111:                                              ; preds = %103, %79, %55
  call void @llvm.lifetime.end.p0(i64 48, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %2) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %1) #8
  br label %112

112:                                              ; preds = %111
  %113 = load ptr, ptr %18, align 8
  %114 = load i32, ptr %19, align 4
  %115 = insertvalue { ptr, i32 } poison, ptr %113, 0
  %116 = insertvalue { ptr, i32 } %115, i32 %114, 1
  resume { ptr, i32 } %116
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D41generateFullTaylorForSkewSymmetricSquaredIdLi3EEENS_19FullTaylorExpansionINS_15SymmetricMatrixIT_Lm3EEEXT0_EEERKNS1_INS_6VectorIS3_Lm3EEEXT0_EEE(ptr dead_on_unwind noalias writable sret(%"struct.P3D::FullTaylorExpansion.32") align 8, ptr noundef nonnull align 8 dereferenceable(72)) #6

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3DdvIdLm3EEENS_15SymmetricMatrixIT_XT0_EEERKS3_RKS2_(ptr dead_on_unwind noalias writable sret(%"class.P3D::SymmetricMatrix") align 8, ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(8)) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3DmiIdLm3EEENS_15SymmetricMatrixIT_XT0_EEERKS3_S5_(ptr dead_on_unwind noalias writable sret(%"class.P3D::SymmetricMatrix") align 8, ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) #6

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3DplIdLm3EEENS_15SymmetricMatrixIT_XT0_EEERKS3_S5_(ptr dead_on_unwind noalias writable sret(%"class.P3D::SymmetricMatrix") align 8, ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3DmlIdLm3EEENS_15SymmetricMatrixIT_XT0_EEERKS2_RKS3_(ptr dead_on_unwind noalias writable sret(%"class.P3D::SymmetricMatrix") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(48)) #6

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{i64 0, i64 24, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !14, i64 8}
!12 = !{!"_ZTS22TolerantAssertComparerIbdE", !13, i64 0, !14, i64 8, !10, i64 16}
!13 = !{!"int", !7, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!20, !16, i64 8}
!20 = !{!"_ZTS13TestInterface", !21, i64 0, !16, i64 8}
!21 = !{!"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.13 = type { i32, ptr, double }
%class.TolerantAssertComparer = type { i32, ptr, double }
%"class.P3D::SymmetricMatrix" = type { [6 x double] }
%"struct.P3D::Vector" = type { %union.anon.16 }
%union.anon.16 = type { [3 x double] }
%"struct.P3D::FullTaylorExpansion.30" = type { %"struct.P3D::Derivatives.31" }
%"struct.P3D::Derivatives.31" = type { [3 x %"struct.P3D::Vector"] }
%"struct.P3D::FullTaylorExpansion.32" = type { %"struct.P3D::Derivatives.33" }
%"struct.P3D::Derivatives.33" = type { [3 x %"class.P3D::SymmetricMatrix"] }
%struct.TolerantAssertBuilder = type { i32, double }

@.str.4 = 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; 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 @_ZNK21TolerantAssertBuilderIdEltIN3P3D15SymmetricMatrixIdLm3EEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind noalias writable sret(%class.TolerantAssertComparer.13) align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #6 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D20skewSymmetricSquaredIdEENS_15SymmetricMatrixIT_Lm3EEERKNS_6VectorIS2_Lm3EEE(ptr dead_on_unwind noalias writable sret(%"class.P3D::SymmetricMatrix") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
define dso_local void @_Z28testSkewSymmetricDerivativesv() local_unnamed_addr #6 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"struct.P3D::Vector", align 8
  %2 = alloca %"struct.P3D::Vector", align 8
  %3 = alloca %"struct.P3D::Vector", align 8
  %4 = alloca %"struct.P3D::FullTaylorExpansion.30", align 8
  %5 = alloca %"struct.P3D::FullTaylorExpansion.32", align 8
  %6 = alloca %"class.P3D::SymmetricMatrix", align 8
  %7 = alloca %"struct.P3D::Vector", align 8
  %8 = alloca double, align 8
  %9 = alloca %"class.P3D::SymmetricMatrix", align 8
  %10 = alloca %"struct.P3D::Vector", align 8
  %11 = alloca double, align 8
  %12 = alloca %"class.P3D::SymmetricMatrix", align 8
  %13 = alloca %"struct.P3D::Vector", align 8
  %14 = alloca double, align 8
  %15 = alloca %class.TolerantAssertComparer, align 8
  %16 = alloca %class.TolerantAssertComparer.13, align 8
  %17 = alloca %struct.TolerantAssertBuilder, align 8
  %18 = alloca %class.TolerantAssertComparer, align 8
  %19 = alloca %class.TolerantAssertComparer.13, align 8
  %20 = alloca %struct.TolerantAssertBuilder, align 8
  %21 = alloca %"class.P3D::SymmetricMatrix", align 8
  %22 = alloca %"class.P3D::SymmetricMatrix", align 8
  %23 = alloca double, align 8
  %24 = alloca %class.TolerantAssertComparer, align 8
  %25 = alloca %class.TolerantAssertComparer.13, align 8
  %26 = alloca %struct.TolerantAssertBuilder, align 8
  %27 = alloca %"class.P3D::SymmetricMatrix", align 8
  %28 = alloca %"class.P3D::SymmetricMatrix", align 8
  %29 = alloca %"class.P3D::SymmetricMatrix", align 8
  %30 = alloca %"class.P3D::SymmetricMatrix", align 8
  %31 = alloca double, align 8
  %32 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #8
  call void @_ZN3P3D6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %1, double noundef 1.300000e+00, double noundef 1.700000e+00, double noundef -5.000000e-01) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #8
  call void @_ZN3P3D6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %2, double noundef -2.000000e-01, double noundef 4.000000e-01, double noundef -5.000000e-01) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #8
  call void @_ZN3P3D6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %3, double noundef -3.000000e-01, double noundef 2.000000e-01, double noundef -1.000000e-01) #8
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %4) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %1, i64 24, i1 false), !tbaa.struct !5
  %33 = getelementptr inbounds i8, ptr %4, i64 24
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(24) %2, i64 24, i1 false), !tbaa.struct !5
  %34 = getelementptr inbounds i8, ptr %4, i64 48
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %34, ptr noundef nonnull align 8 dereferenceable(24) %3, i64 24, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %5) #8
  call void @_ZN3P3D41generateFullTaylorForSkewSymmetricSquaredIdLi3EEENS_19FullTaylorExpansionINS_15SymmetricMatrixIT_Lm3EEEXT0_EEERKNS1_INS_6VectorIS3_Lm3EEEXT0_EEE(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::FullTaylorExpansion.32") align 8 %5, ptr noundef nonnull align 8 dereferenceable(72) %4)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  store double 0.000000e+00, ptr %8, align 8, !tbaa !9
  call void @_ZNK3P3D19FullTaylorExpansionINS_6VectorIdLm3EEELm3EEclIdEES2_RKT_(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::Vector") align 8 %7, ptr noundef nonnull align 8 dereferenceable(72) %4, ptr noundef nonnull align 8 dereferenceable(8) %8)
  call void @_ZN3P3D20skewSymmetricSquaredIdEENS_15SymmetricMatrixIT_Lm3EEERKNS_6VectorIS2_Lm3EEE(ptr dead_on_unwind nonnull writable sret(%"class.P3D::SymmetricMatrix") align 8 %6, ptr noundef nonnull align 8 dereferenceable(24) %7)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #8
  store double 1.000000e-05, ptr %11, align 8, !tbaa !9
  call void @_ZNK3P3D19FullTaylorExpansionINS_6VectorIdLm3EEELm3EEclIdEES2_RKT_(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::Vector") align 8 %10, ptr noundef nonnull align 8 dereferenceable(72) %4, ptr noundef nonnull align 8 dereferenceable(8) %11)
  call void @_ZN3P3D20skewSymmetricSquaredIdEENS_15SymmetricMatrixIT_Lm3EEERKNS_6VectorIS2_Lm3EEE(ptr dead_on_unwind nonnull writable sret(%"class.P3D::SymmetricMatrix") align 8 %9, ptr noundef nonnull align 8 dereferenceable(24) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %12) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #8
  store double 2.000000e-05, ptr %14, align 8, !tbaa !9
  call void @_ZNK3P3D19FullTaylorExpansionINS_6VectorIdLm3EEELm3EEclIdEES2_RKT_(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::Vector") align 8 %13, ptr noundef nonnull align 8 dereferenceable(72) %4, ptr noundef nonnull align 8 dereferenceable(8) %14)
  call void @_ZN3P3D20skewSymmetricSquaredIdEENS_15SymmetricMatrixIT_Lm3EEERKNS_6VectorIS2_Lm3EEE(ptr dead_on_unwind nonnull writable sret(%"class.P3D::SymmetricMatrix") align 8 %12, ptr noundef nonnull align 8 dereferenceable(24) %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #8
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %17, i32 noundef 326, double noundef 1.000000e-09)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D15SymmetricMatrixIdLm3EEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.13) align 8 %16, ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(48) %6)
  %35 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNK3P3D19FullTaylorExpansionINS_15SymmetricMatrixIdLm3EEELm3EE16getConstantValueEv(ptr noundef nonnull align 8 dereferenceable(144) %5)
  call void @_ZNK22TolerantAssertComparerIN3P3D15SymmetricMatrixIdLm3EEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %15, ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(48) %35)
  %36 = getelementptr inbounds i8, ptr %15, i64 8
  %37 = load ptr, ptr %36, align 8, !tbaa !11
  %38 = load i8, ptr %37, align 1, !tbaa !15, !range !17, !noundef !18
  %39 = trunc nuw i8 %38 to i1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #8
  %40 = call ptr @_ZTW15__testInterface()
  br i1 %39, label %46, label %41

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

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

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

46:                                               ; preds = %0
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %40)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #8
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %20, i32 noundef 327, double noundef 5.000000e-05)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %21) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %22) #8
  call void @_ZN3P3DmiIdLm3EEENS_15SymmetricMatrixIT_XT0_EEERKS3_S5_(ptr dead_on_unwind nonnull writable sret(%"class.P3D::SymmetricMatrix") align 8 %22, ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(48) %6)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #8
  store double 1.000000e-05, ptr %23, align 8, !tbaa !9
  call void @_ZN3P3DdvIdLm3EEENS_15SymmetricMatrixIT_XT0_EEERKS3_RKS2_(ptr dead_on_unwind nonnull writable sret(%"class.P3D::SymmetricMatrix") align 8 %21, ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef nonnull align 8 dereferenceable(8) %23)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D15SymmetricMatrixIdLm3EEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.13) align 8 %19, ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(48) %21)
  %47 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNK3P3D19FullTaylorExpansionINS_15SymmetricMatrixIdLm3EEELm3EE13getDerivativeEm(ptr noundef nonnull align 8 dereferenceable(144) %5, i64 noundef 0)
  call void @_ZNK22TolerantAssertComparerIN3P3D15SymmetricMatrixIdLm3EEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %18, ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(48) %47)
  %48 = getelementptr inbounds i8, ptr %18, i64 8
  %49 = load ptr, ptr %48, align 8, !tbaa !11
  %50 = load i8, ptr %49, align 1, !tbaa !15, !range !17, !noundef !18
  %51 = trunc nuw i8 %50 to i1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %22) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %21) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #8
  %52 = call ptr @_ZTW15__testInterface()
  br i1 %51, label %58, label %53

53:                                               ; preds = %46
  %54 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %54, i32 noundef 327, ptr noundef nonnull @.str.4)
          to label %55 unwind label %56

55:                                               ; preds = %53
  call void @__cxa_throw(ptr nonnull %54, ptr nonnull @_ZTI14AssertionError, ptr null) #9
  unreachable

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

58:                                               ; preds = %46
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %52)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %24) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %25) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %26) #8
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %26, i32 noundef 328, double noundef 5.000000e-05)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %27) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %28) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %29) #8
  call void @_ZN3P3DplIdLm3EEENS_15SymmetricMatrixIT_XT0_EEERKS3_S5_(ptr dead_on_unwind nonnull writable sret(%"class.P3D::SymmetricMatrix") align 8 %29, ptr noundef nonnull align 8 dereferenceable(48) %12, ptr noundef nonnull align 8 dereferenceable(48) %6)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %30) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #8
  store double 2.000000e+00, ptr %31, align 8, !tbaa !9
  call void @_ZN3P3DmlIdLm3EEENS_15SymmetricMatrixIT_XT0_EEERKS2_RKS3_(ptr dead_on_unwind nonnull writable sret(%"class.P3D::SymmetricMatrix") align 8 %30, ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(48) %9)
  call void @_ZN3P3DmiIdLm3EEENS_15SymmetricMatrixIT_XT0_EEERKS3_S5_(ptr dead_on_unwind nonnull writable sret(%"class.P3D::SymmetricMatrix") align 8 %28, ptr noundef nonnull align 8 dereferenceable(48) %29, ptr noundef nonnull align 8 dereferenceable(48) %30)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #8
  store double 0x3DDB7CDFD9D7BDBC, ptr %32, align 8, !tbaa !9
  call void @_ZN3P3DdvIdLm3EEENS_15SymmetricMatrixIT_XT0_EEERKS3_RKS2_(ptr dead_on_unwind nonnull writable sret(%"class.P3D::SymmetricMatrix") align 8 %27, ptr noundef nonnull align 8 dereferenceable(48) %28, ptr noundef nonnull align 8 dereferenceable(8) %32)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D15SymmetricMatrixIdLm3EEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.13) align 8 %25, ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(48) %27)
  %59 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNK3P3D19FullTaylorExpansionINS_15SymmetricMatrixIdLm3EEELm3EE13getDerivativeEm(ptr noundef nonnull align 8 dereferenceable(144) %5, i64 noundef 1)
  call void @_ZNK22TolerantAssertComparerIN3P3D15SymmetricMatrixIdLm3EEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %24, ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 8 dereferenceable(48) %59)
  %60 = getelementptr inbounds i8, ptr %24, i64 8
  %61 = load ptr, ptr %60, align 8, !tbaa !11
  %62 = load i8, ptr %61, align 1, !tbaa !15, !range !17, !noundef !18
  %63 = trunc nuw i8 %62 to i1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %30) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %29) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %28) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %27) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #8
  %64 = call ptr @_ZTW15__testInterface()
  br i1 %63, label %70, label %65

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

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

68:                                               ; preds = %65
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %71

70:                                               ; preds = %58
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %64)
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #8
  ret void

71:                                               ; preds = %68, %56, %44
  %.sink = phi ptr [ %66, %68 ], [ %54, %56 ], [ %42, %44 ]
  %.pn = phi { ptr, i32 } [ %69, %68 ], [ %57, %56 ], [ %45, %44 ]
  call void @__cxa_free_exception(ptr %.sink) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #8
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D41generateFullTaylorForSkewSymmetricSquaredIdLi3EEENS_19FullTaylorExpansionINS_15SymmetricMatrixIT_Lm3EEEXT0_EEERKNS1_INS_6VectorIS3_Lm3EEEXT0_EEE(ptr dead_on_unwind noalias writable sret(%"struct.P3D::FullTaylorExpansion.32") align 8, ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZNK3P3D19FullTaylorExpansionINS_15SymmetricMatrixIdLm3EEELm3EE16getConstantValueEv(ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3DdvIdLm3EEENS_15SymmetricMatrixIT_XT0_EEERKS3_RKS2_(ptr dead_on_unwind noalias writable sret(%"class.P3D::SymmetricMatrix") align 8, ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3DmiIdLm3EEENS_15SymmetricMatrixIT_XT0_EEERKS3_S5_(ptr dead_on_unwind noalias writable sret(%"class.P3D::SymmetricMatrix") align 8, ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #6

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3DplIdLm3EEENS_15SymmetricMatrixIT_XT0_EEERKS3_S5_(ptr dead_on_unwind noalias writable sret(%"class.P3D::SymmetricMatrix") align 8, ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3DmlIdLm3EEENS_15SymmetricMatrixIT_XT0_EEERKS2_RKS3_(ptr dead_on_unwind noalias writable sret(%"class.P3D::SymmetricMatrix") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #6

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{i64 0, i64 24, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !14, i64 8}
!12 = !{!"_ZTS22TolerantAssertComparerIbdE", !13, i64 0, !14, i64 8, !10, i64 16}
!13 = !{!"int", !7, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}


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