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

; 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::Matrix.6" = type { [9 x double] }
%"class.P3D::DiagonalMatrix" = type { [3 x double] }
%"class.std::initializer_list.7" = type { ptr, i64 }
%"class.P3D::SymmetricMatrix" = type { [6 x double] }
%"struct.P3D::EigenSet" = type { %"struct.P3D::EigenValues", %"class.P3D::Matrix.6" }
%"struct.P3D::EigenValues" = type { [3 x double] }
%class.TolerantAssertComparer.23 = type { i32, ptr, double }
%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 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 #1 align 2

; 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: inlinehint mustprogress uwtable
declare dso_local void @_ZN3P3D14DiagonalMatrixIdLm3EEC2ERKSt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(16)) 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)) #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 uwtable
declare dso_local void @_ZN3P3D29rotationMatrixfromEulerAnglesIdEENS_6MatrixIT_Lm3ELm3EEES2_S2_S2_(ptr dead_on_unwind noalias writable sret(%"class.P3D::Matrix.6") align 8, double noundef, double noundef, double noundef) #6

; Function Attrs: mustprogress uwtable
define dso_local void @_Z18eigenDecompositionv() #6 personality ptr @__gxx_personality_v0 {
  %1 = alloca double, align 8
  %2 = alloca i32, align 4
  %3 = alloca double, align 8
  %4 = alloca double, align 8
  %5 = alloca %"class.P3D::Matrix.6", align 8
  %6 = alloca %"class.P3D::DiagonalMatrix", align 8
  %7 = alloca %"class.std::initializer_list.7", align 8
  %8 = alloca [3 x double], align 8
  %9 = alloca %"class.P3D::SymmetricMatrix", align 8
  %10 = alloca %"class.P3D::SymmetricMatrix", align 8
  %11 = alloca %"struct.P3D::EigenSet", align 8
  %12 = alloca %"struct.P3D::EigenValues", align 8
  %13 = alloca %"class.std::initializer_list.7", align 8
  %14 = alloca [3 x double], align 8
  %15 = alloca %class.TolerantAssertComparer, align 8
  %16 = alloca %class.TolerantAssertComparer.23, 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::DiagonalMatrix", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #7
  store double -1.250000e+00, ptr %1, align 8, !tbaa !5
  br label %25

25:                                               ; preds = %116, %0
  %26 = load double, ptr %1, align 8, !tbaa !5
  %27 = fcmp olt double %26, 1.500000e+00
  br i1 %27, label %29, label %28

28:                                               ; preds = %25
  store i32 2, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #7
  br label %119

29:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  store double -1.350000e+00, ptr %3, align 8, !tbaa !5
  br label %30

30:                                               ; preds = %112, %29
  %31 = load double, ptr %3, align 8, !tbaa !5
  %32 = fcmp olt double %31, 1.500000e+00
  br i1 %32, label %34, label %33

33:                                               ; preds = %30
  store i32 5, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  br label %115

34:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  store double -1.550000e+00, ptr %4, align 8, !tbaa !5
  br label %35

35:                                               ; preds = %107, %34
  %36 = load double, ptr %4, align 8, !tbaa !5
  %37 = fcmp olt double %36, 1.500000e+00
  br i1 %37, label %39, label %38

38:                                               ; preds = %35
  store i32 8, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  br label %111

39:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 72, ptr %5) #7
  call void @_ZN3P3D29rotationMatrixfromEulerAnglesIdEENS_6MatrixIT_Lm3ELm3EEES2_S2_S2_(ptr dead_on_unwind writable sret(%"class.P3D::Matrix.6") align 8 %5, double noundef 2.100000e-01, double noundef 3.100000e-01, double noundef 4.100000e-01)
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #7
  %40 = load double, ptr %1, align 8, !tbaa !5
  store double %40, ptr %8, align 8, !tbaa !5
  %41 = getelementptr inbounds double, ptr %8, i64 1
  %42 = load double, ptr %3, align 8, !tbaa !5
  store double %42, ptr %41, align 8, !tbaa !5
  %43 = getelementptr inbounds double, ptr %8, i64 2
  %44 = load double, ptr %4, align 8, !tbaa !5
  store double %44, ptr %43, align 8, !tbaa !5
  %45 = getelementptr inbounds %"class.std::initializer_list.7", ptr %7, i32 0, i32 0
  store ptr %8, ptr %45, align 8, !tbaa !9
  %46 = getelementptr inbounds %"class.std::initializer_list.7", ptr %7, i32 0, i32 1
  store i64 3, ptr %46, align 8, !tbaa !13
  call void @_ZN3P3D14DiagonalMatrixIdLm3EEC2ERKSt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(16) %7)
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr %10) #7
  call void @_ZNK3P3D14DiagonalMatrixIdLm3EEcvNS_15SymmetricMatrixIdLm3EEEEv(ptr dead_on_unwind writable sret(%"class.P3D::SymmetricMatrix") align 8 %10, ptr noundef nonnull align 8 dereferenceable(24) %6)
  call void @_ZN3P3D30mulSymmetricLeftRightTransposeIdLm3EEENS_15SymmetricMatrixIT_XT0_EEERKS3_RKNS_6MatrixIS2_XT0_EXT0_EEE(ptr dead_on_unwind writable sret(%"class.P3D::SymmetricMatrix") align 8 %9, ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(72) %5)
  call void @llvm.lifetime.end.p0(i64 48, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 96, ptr %11) #7
  call void @_ZN3P3D21getEigenDecompositionERKNS_15SymmetricMatrixIdLm3EEE(ptr dead_on_unwind writable sret(%"struct.P3D::EigenSet") align 8 %11, ptr noundef nonnull align 8 dereferenceable(48) %9)
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #7
  %47 = load double, ptr %1, align 8, !tbaa !5
  store double %47, ptr %14, align 8, !tbaa !5
  %48 = getelementptr inbounds double, ptr %14, i64 1
  %49 = load double, ptr %3, align 8, !tbaa !5
  store double %49, ptr %48, align 8, !tbaa !5
  %50 = getelementptr inbounds double, ptr %14, i64 2
  %51 = load double, ptr %4, align 8, !tbaa !5
  store double %51, ptr %50, align 8, !tbaa !5
  %52 = getelementptr inbounds %"class.std::initializer_list.7", ptr %13, i32 0, i32 0
  store ptr %14, ptr %52, align 8, !tbaa !9
  %53 = getelementptr inbounds %"class.std::initializer_list.7", ptr %13, i32 0, i32 1
  store i64 3, ptr %53, align 8, !tbaa !13
  %54 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 0
  %55 = load ptr, ptr %54, align 8
  %56 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 1
  %57 = load i64, ptr %56, align 8
  call void @_ZN3P3D11EigenValuesIdLm3EEC2ESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr %55, i64 %57)
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #7
  br label %58

58:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #7
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %17, i32 noundef 206, double noundef 1.000000e-08)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D11EigenValuesIdLm3EEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.23) align 8 %16, ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(24) %12)
  %59 = getelementptr inbounds %"struct.P3D::EigenSet", ptr %11, i32 0, i32 0
  call void @_ZNK22TolerantAssertComparerIN3P3D11EigenValuesIdLm3EEEdEeqIS2_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(24) %59)
  %60 = getelementptr inbounds %class.TolerantAssertComparer, ptr %15, i32 0, i32 1
  %61 = load ptr, ptr %60, align 8, !tbaa !14
  %62 = load i8, ptr %61, align 1, !tbaa !17, !range !19, !noundef !20
  %63 = trunc i8 %62 to i1
  %64 = xor i1 %63, true
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #7
  br i1 %64, label %65, label %78

65:                                               ; preds = %58
  %66 = call ptr @_ZTW15__testInterface()
  %67 = getelementptr inbounds %class.TestInterface, ptr %66, i32 0, i32 1
  %68 = load i8, ptr %67, align 8, !tbaa !21, !range !19, !noundef !20
  %69 = trunc i8 %68 to i1
  br i1 %69, label %70, label %71

70:                                               ; preds = %65
  br label %71

71:                                               ; preds = %70, %65
  %72 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %72, i32 noundef 206, ptr noundef @.str.4)
          to label %73 unwind label %74

73:                                               ; preds = %71
  call void @__cxa_throw(ptr %72, ptr @_ZTI14AssertionError, ptr null) #8
  unreachable

74:                                               ; preds = %71
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %18, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %19, align 4
  call void @__cxa_free_exception(ptr %72) #7
  br label %110

78:                                               ; preds = %58
  %79 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %79)
  br label %80

80:                                               ; preds = %78
  br label %81

81:                                               ; preds = %80
  br label %82

82:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #7
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %22, i32 noundef 207, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 48, ptr %23) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #7
  %83 = getelementptr inbounds %"struct.P3D::EigenSet", ptr %11, i32 0, i32 0
  call void @_ZNK3P3D11EigenValuesIdLm3EE16asDiagonalMatrixEv(ptr dead_on_unwind writable sret(%"class.P3D::DiagonalMatrix") align 8 %24, ptr noundef nonnull align 8 dereferenceable(24) %83)
  %84 = getelementptr inbounds %"struct.P3D::EigenSet", ptr %11, i32 0, i32 1
  call void @_ZN3P3D14transformBasisIdEENS_15SymmetricMatrixIT_Lm3EEERKNS_14DiagonalMatrixIS2_Lm3EEERKNS_6MatrixIS2_Lm3ELm3EEE(ptr dead_on_unwind writable sret(%"class.P3D::SymmetricMatrix") align 8 %23, ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 8 dereferenceable(72) %84)
  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)
  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) %9)
  %85 = getelementptr inbounds %class.TolerantAssertComparer, ptr %20, i32 0, i32 1
  %86 = load ptr, ptr %85, align 8, !tbaa !14
  %87 = load i8, ptr %86, align 1, !tbaa !17, !range !19, !noundef !20
  %88 = trunc i8 %87 to i1
  %89 = xor i1 %88, true
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #7
  br i1 %89, label %90, label %103

90:                                               ; preds = %82
  %91 = call ptr @_ZTW15__testInterface()
  %92 = getelementptr inbounds %class.TestInterface, ptr %91, i32 0, i32 1
  %93 = load i8, ptr %92, align 8, !tbaa !21, !range !19, !noundef !20
  %94 = trunc i8 %93 to i1
  br i1 %94, label %95, label %96

95:                                               ; preds = %90
  br label %96

96:                                               ; preds = %95, %90
  %97 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %97, i32 noundef 207, ptr noundef @.str.4)
          to label %98 unwind label %99

98:                                               ; preds = %96
  call void @__cxa_throw(ptr %97, ptr @_ZTI14AssertionError, ptr null) #8
  unreachable

99:                                               ; preds = %96
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %18, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %19, align 4
  call void @__cxa_free_exception(ptr %97) #7
  br label %110

103:                                              ; preds = %82
  %104 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %104)
  br label %105

105:                                              ; preds = %103
  br label %106

106:                                              ; preds = %105
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr %5) #7
  br label %107

107:                                              ; preds = %106
  %108 = load double, ptr %4, align 8, !tbaa !5
  %109 = fadd double %108, 1.000000e-01
  store double %109, ptr %4, align 8, !tbaa !5
  br label %35, !llvm.loop !23

110:                                              ; preds = %99, %74
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #7
  br label %120

111:                                              ; preds = %38
  br label %112

112:                                              ; preds = %111
  %113 = load double, ptr %3, align 8, !tbaa !5
  %114 = fadd double %113, 1.000000e-01
  store double %114, ptr %3, align 8, !tbaa !5
  br label %30, !llvm.loop !25

115:                                              ; preds = %33
  br label %116

116:                                              ; preds = %115
  %117 = load double, ptr %1, align 8, !tbaa !5
  %118 = fadd double %117, 1.000000e-01
  store double %118, ptr %1, align 8, !tbaa !5
  br label %25, !llvm.loop !26

119:                                              ; preds = %28
  ret void

120:                                              ; preds = %110
  %121 = load ptr, ptr %18, align 8
  %122 = load i32, ptr %19, align 4
  %123 = insertvalue { ptr, i32 } poison, ptr %121, 0
  %124 = insertvalue { ptr, i32 } %123, i32 %122, 1
  resume { ptr, i32 } %124
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D30mulSymmetricLeftRightTransposeIdLm3EEENS_15SymmetricMatrixIT_XT0_EEERKS3_RKNS_6MatrixIS2_XT0_EXT0_EEE(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(72)) #6

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

declare void @_ZN3P3D21getEigenDecompositionERKNS_15SymmetricMatrixIdLm3EEE(ptr dead_on_unwind writable sret(%"struct.P3D::EigenSet") align 8, ptr noundef nonnull align 8 dereferenceable(48)) #3

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3P3D11EigenValuesIdLm3EE16asDiagonalMatrixEv(ptr dead_on_unwind noalias writable sret(%"class.P3D::DiagonalMatrix") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #6 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 = { 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 #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 = { nounwind }
attributes #8 = { 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, !6, i64 0}
!6 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSSt16initializer_listIdE", !11, i64 0, !12, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !12, i64 8}
!14 = !{!15, !11, i64 8}
!15 = !{!"_ZTS22TolerantAssertComparerIbdE", !16, i64 0, !11, i64 8, !6, i64 16}
!16 = !{!"int", !7, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"bool", !7, i64 0}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = !{!22, !18, i64 8}
!22 = !{!"_ZTS13TestInterface", !12, i64 0, !18, i64 8}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}
!26 = distinct !{!26, !24}


; 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::Matrix.6" = type { [9 x double] }
%"class.P3D::DiagonalMatrix" = type { [3 x double] }
%"class.std::initializer_list.7" = type { ptr, i64 }
%"class.P3D::SymmetricMatrix" = type { [6 x double] }
%"struct.P3D::EigenSet" = type { %"struct.P3D::EigenValues", %"class.P3D::Matrix.6" }
%"struct.P3D::EigenValues" = type { [3 x double] }
%class.TolerantAssertComparer.23 = type { i32, ptr, double }
%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 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 #1 align 2

; 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: inlinehint mustprogress uwtable
declare dso_local void @_ZN3P3D14DiagonalMatrixIdLm3EEC2ERKSt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(16)) 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 uwtable
declare dso_local void @_ZN3P3D29rotationMatrixfromEulerAnglesIdEENS_6MatrixIT_Lm3ELm3EEES2_S2_S2_(ptr dead_on_unwind noalias writable sret(%"class.P3D::Matrix.6") align 8, double noundef, double noundef, double noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
define dso_local void @_Z18eigenDecompositionv() local_unnamed_addr #6 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.P3D::Matrix.6", align 8
  %2 = alloca %"class.P3D::DiagonalMatrix", align 8
  %3 = alloca %"class.std::initializer_list.7", align 8
  %4 = alloca [3 x double], align 8
  %5 = alloca %"class.P3D::SymmetricMatrix", align 8
  %6 = alloca %"class.P3D::SymmetricMatrix", align 8
  %7 = alloca %"struct.P3D::EigenSet", align 8
  %8 = alloca %"struct.P3D::EigenValues", align 8
  %9 = alloca [3 x double], align 8
  %10 = alloca %class.TolerantAssertComparer, align 8
  %11 = alloca %class.TolerantAssertComparer.23, align 8
  %12 = alloca %struct.TolerantAssertBuilder, align 8
  %13 = alloca %class.TolerantAssertComparer, align 8
  %14 = alloca %class.TolerantAssertComparer.13, align 8
  %15 = alloca %struct.TolerantAssertBuilder, align 8
  %16 = alloca %"class.P3D::SymmetricMatrix", align 8
  %17 = alloca %"class.P3D::DiagonalMatrix", align 8
  %18 = getelementptr inbounds i8, ptr %4, i64 8
  %19 = getelementptr inbounds i8, ptr %4, i64 16
  %20 = getelementptr inbounds i8, ptr %3, i64 8
  %21 = getelementptr inbounds i8, ptr %9, i64 8
  %22 = getelementptr inbounds i8, ptr %9, i64 16
  %23 = getelementptr inbounds i8, ptr %10, i64 8
  %24 = getelementptr inbounds i8, ptr %7, i64 24
  %25 = getelementptr inbounds i8, ptr %13, i64 8
  br label %.preheader18

.preheader18:                                     ; preds = %0, %27
  %.01421 = phi double [ -1.250000e+00, %0 ], [ %28, %27 ]
  br label %.preheader

26:                                               ; preds = %27
  ret void

.preheader:                                       ; preds = %.preheader18, %30
  %.01620 = phi double [ -1.350000e+00, %.preheader18 ], [ %31, %30 ]
  br label %33

27:                                               ; preds = %30
  %28 = fadd double %.01421, 1.000000e-01
  %29 = fcmp olt double %28, 1.500000e+00
  br i1 %29, label %.preheader18, label %26, !llvm.loop !5

30:                                               ; preds = %53
  %31 = fadd double %.01620, 1.000000e-01
  %32 = fcmp olt double %31, 1.500000e+00
  br i1 %32, label %.preheader, label %27, !llvm.loop !7

33:                                               ; preds = %.preheader, %53
  %.01519 = phi double [ -1.550000e+00, %.preheader ], [ %54, %53 ]
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %1) #7
  call void @_ZN3P3D29rotationMatrixfromEulerAnglesIdEENS_6MatrixIT_Lm3ELm3EEES2_S2_S2_(ptr dead_on_unwind nonnull writable sret(%"class.P3D::Matrix.6") align 8 %1, double noundef 2.100000e-01, double noundef 3.100000e-01, double noundef 4.100000e-01)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #7
  store double %.01421, ptr %4, align 8, !tbaa !8
  store double %.01620, ptr %18, align 8, !tbaa !8
  store double %.01519, ptr %19, align 8, !tbaa !8
  store ptr %4, ptr %3, align 8, !tbaa !12
  store i64 3, ptr %20, align 8, !tbaa !16
  call void @_ZN3P3D14DiagonalMatrixIdLm3EEC2ERKSt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(16) %3)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #7
  call void @_ZNK3P3D14DiagonalMatrixIdLm3EEcvNS_15SymmetricMatrixIdLm3EEEEv(ptr dead_on_unwind nonnull writable sret(%"class.P3D::SymmetricMatrix") align 8 %6, ptr noundef nonnull align 8 dereferenceable(24) %2)
  call void @_ZN3P3D30mulSymmetricLeftRightTransposeIdLm3EEENS_15SymmetricMatrixIT_XT0_EEERKS3_RKNS_6MatrixIS2_XT0_EXT0_EEE(ptr dead_on_unwind nonnull writable sret(%"class.P3D::SymmetricMatrix") align 8 %5, ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 8 dereferenceable(72) %1)
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %7) #7
  call void @_ZN3P3D21getEigenDecompositionERKNS_15SymmetricMatrixIdLm3EEE(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::EigenSet") align 8 %7, ptr noundef nonnull align 8 dereferenceable(48) %5)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #7
  store double %.01421, ptr %9, align 8, !tbaa !8
  store double %.01620, ptr %21, align 8, !tbaa !8
  store double %.01519, ptr %22, align 8, !tbaa !8
  call void @_ZN3P3D11EigenValuesIdLm3EEC2ESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr nonnull %9, i64 3)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #7
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %12, i32 noundef 206, double noundef 1.000000e-08)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D11EigenValuesIdLm3EEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.23) align 8 %11, ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(24) %8)
  call void @_ZNK22TolerantAssertComparerIN3P3D11EigenValuesIdLm3EEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %10, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %7)
  %34 = load ptr, ptr %23, align 8, !tbaa !17
  %35 = load i8, ptr %34, align 1, !tbaa !20, !range !22, !noundef !23
  %36 = trunc nuw i8 %35 to i1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  %37 = call ptr @_ZTW15__testInterface()
  br i1 %36, label %43, label %38

38:                                               ; preds = %33
  %39 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %39, i32 noundef 206, ptr noundef nonnull @.str.4)
          to label %40 unwind label %41

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

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

43:                                               ; preds = %33
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %37)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #7
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %15, i32 noundef 207, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #7
  call void @_ZNK3P3D11EigenValuesIdLm3EE16asDiagonalMatrixEv(ptr dead_on_unwind nonnull writable sret(%"class.P3D::DiagonalMatrix") align 8 %17, ptr noundef nonnull align 8 dereferenceable(24) %7)
  call void @_ZN3P3D14transformBasisIdEENS_15SymmetricMatrixIT_Lm3EEERKNS_14DiagonalMatrixIS2_Lm3EEERKNS_6MatrixIS2_Lm3ELm3EEE(ptr dead_on_unwind nonnull writable sret(%"class.P3D::SymmetricMatrix") align 8 %16, ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(72) %24)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D15SymmetricMatrixIdLm3EEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.13) align 8 %14, ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(48) %16)
  call void @_ZNK22TolerantAssertComparerIN3P3D15SymmetricMatrixIdLm3EEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %13, ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(48) %5)
  %44 = load ptr, ptr %25, align 8, !tbaa !17
  %45 = load i8, ptr %44, align 1, !tbaa !20, !range !22, !noundef !23
  %46 = trunc nuw i8 %45 to i1
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  %47 = call ptr @_ZTW15__testInterface()
  br i1 %46, label %53, label %48

48:                                               ; preds = %43
  %49 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %49, i32 noundef 207, ptr noundef nonnull @.str.4)
          to label %50 unwind label %51

50:                                               ; preds = %48
  call void @__cxa_throw(ptr nonnull %49, ptr nonnull @_ZTI14AssertionError, ptr null) #8
  unreachable

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

53:                                               ; preds = %43
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %47)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %1) #7
  %54 = fadd double %.01519, 1.000000e-01
  %55 = fcmp olt double %54, 1.500000e+00
  br i1 %55, label %33, label %30, !llvm.loop !24

56:                                               ; preds = %51, %41
  %.sink = phi ptr [ %49, %51 ], [ %39, %41 ]
  %.pn = phi { ptr, i32 } [ %52, %51 ], [ %42, %41 ]
  call void @__cxa_free_exception(ptr %.sink) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D30mulSymmetricLeftRightTransposeIdLm3EEENS_15SymmetricMatrixIT_XT0_EEERKS3_RKNS_6MatrixIS2_XT0_EXT0_EEE(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(72)) local_unnamed_addr #6

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

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

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress 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 = { 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 #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 = { nounwind }
attributes #8 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}
!8 = !{!9, !9, i64 0}
!9 = !{!"double", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!13, !14, i64 0}
!13 = !{!"_ZTSSt16initializer_listIdE", !14, i64 0, !15, i64 8}
!14 = !{!"any pointer", !10, i64 0}
!15 = !{!"long", !10, i64 0}
!16 = !{!13, !15, i64 8}
!17 = !{!18, !14, i64 8}
!18 = !{!"_ZTS22TolerantAssertComparerIbdE", !19, i64 0, !14, i64 8, !9, i64 16}
!19 = !{!"int", !10, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"bool", !10, i64 0}
!22 = !{i8 0, i8 2}
!23 = !{}
!24 = distinct !{!24, !6}


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