; LLVM IR from ardiloot/NonlinearTMM :: NonlinearTMM/src/eigen-3.4.0/unsupported/test (splines)

; 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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.Eigen::Array.37" = type { %"class.Eigen::PlainObjectBase.38" }
%"class.Eigen::PlainObjectBase.38" = type { %"class.Eigen::DenseStorage.45" }
%"class.Eigen::DenseStorage.45" = type { %"struct.Eigen::internal::plain_array" }
%"struct.Eigen::internal::plain_array" = type { [2 x double] }
%"class.Eigen::Array.11" = type { %"class.Eigen::PlainObjectBase.12" }
%"class.Eigen::PlainObjectBase.12" = type { %"class.Eigen::DenseStorage.19" }
%"class.Eigen::DenseStorage.19" = type { ptr, i64 }
%"class.Eigen::Block.1470" = type { %"class.Eigen::BlockImpl.1471" }
%"class.Eigen::BlockImpl.1471" = type { %"class.Eigen::internal::BlockImpl_dense.1472" }
%"class.Eigen::internal::BlockImpl_dense.1472" = type { %"class.Eigen::MapBase.base.1482", ptr, %"class.Eigen::internal::variable_if_dynamic", %"class.Eigen::internal::variable_if_dynamic", i64 }
%"class.Eigen::MapBase.base.1482" = type { %"class.Eigen::MapBase.base.1481" }
%"class.Eigen::MapBase.base.1481" = type <{ ptr, [2 x i8] }>
%"class.Eigen::internal::variable_if_dynamic" = type { i64 }
%"class.Eigen::Array.1494" = type { %"class.Eigen::PlainObjectBase.1495" }
%"class.Eigen::PlainObjectBase.1495" = type { %"class.Eigen::DenseStorage.1419" }
%"class.Eigen::DenseStorage.1419" = type { ptr, i64, i64 }
%"class.Eigen::CwiseNullaryOp.1502" = type <{ %"class.Eigen::internal::variable_if_dynamic", %"class.Eigen::internal::variable_if_dynamic", [8 x i8] }>
%"struct.Eigen::Array<double, -1, -1>::PrivateType" = type { i8 }
%"class.Eigen::Array" = type { %"class.Eigen::PlainObjectBase" }
%"class.Eigen::PlainObjectBase" = type { %"class.Eigen::DenseStorage" }
%"class.Eigen::DenseStorage" = type { ptr, i64 }
%"class.Eigen::Matrix.1508" = type { %"class.Eigen::PlainObjectBase.1509" }
%"class.Eigen::PlainObjectBase.1509" = type { %"class.Eigen::DenseStorage.1516" }
%"class.Eigen::DenseStorage.1516" = type { ptr, i64 }
%"class.Eigen::Spline" = type { %"class.Eigen::Array", %"class.Eigen::Array.11" }
%"class.Eigen::Block.1517" = type { %"class.Eigen::BlockImpl.1518" }
%"class.Eigen::BlockImpl.1518" = type { %"class.Eigen::internal::BlockImpl_dense.1519" }
%"class.Eigen::internal::BlockImpl_dense.1519" = type { %"class.Eigen::MapBase.base.1529", ptr, %"class.Eigen::internal::variable_if_dynamic", %"class.Eigen::internal::variable_if_dynamic", i64 }
%"class.Eigen::MapBase.base.1529" = type { %"class.Eigen::MapBase.base.1528" }
%"class.Eigen::MapBase.base.1528" = type <{ ptr, %"class.Eigen::internal::variable_if_dynamic", i8 }>
%"struct.Eigen::Array<double, 2, 1>::PrivateType" = type { i8 }

@_ZN5EigenL12g_test_stackB5cxx11E = external hidden global %"class.std::vector", align 8
@.str.28 = external hidden unnamed_addr constant [113 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [48 x i8], align 1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z11verify_implbPKcS0_iS0_(i1 noundef zeroext, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5Eigen15PlainObjectBaseINS_5ArrayIdLi2ELin1ELi0ELi2ELin1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5Eigen15PlainObjectBaseINS_5ArrayIdLi1ELin1ELi1ELi1ELin1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK5Eigen6SplineIdLi2ELin1EEclEd(ptr dead_on_unwind noalias writable sret(%"class.Eigen::Array.37") align 16, ptr noundef nonnull align 8 dereferenceable(32), double noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK5Eigen6SplineIdLi2ELin1EE11derivativesEdl(ptr dead_on_unwind noalias writable sret(%"class.Eigen::Array.11") align 8, ptr noundef nonnull align 8 dereferenceable(32), double noundef, i64 noundef) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_5ArrayIdLi1ELin1ELi1ELi1ELin1EEELi1EEclEl(ptr noundef nonnull align 1 dereferenceable(1), i64 noundef) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5Eigen6SplineIdLi2ELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen9DenseBaseINS_5ArrayIdLi2ELin1ELi0ELi2ELin1EEEE3colEl(ptr dead_on_unwind noalias writable sret(%"class.Eigen::Block.1470") align 8, ptr noundef nonnull align 1 dereferenceable(1), i64 noundef) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen5ArrayIdLi2ELi1ELi0ELi2ELi1EEC2INS_5BlockINS0_IdLi2ELin1ELi0ELi2ELin1EEELi2ELi1ELb1EEEEERKNS_9EigenBaseIT_EENS_8internal9enable_ifIXsr8internal14is_convertibleINS7_6ScalarEdEE5valueENS1_11PrivateTypeEE4typeE(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z45check_global_interpolation_with_derivatives2dv() #4 personality ptr @__gxx_personality_v0 {
  %1 = alloca i64, align 8
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca %"class.Eigen::Array.1494", align 8
  %5 = alloca %"class.Eigen::CwiseNullaryOp.1502", align 8
  %6 = alloca %"struct.Eigen::Array<double, -1, -1>::PrivateType", align 1
  %7 = alloca %"class.Eigen::Array", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.Eigen::Array.1494", align 8
  %11 = alloca %"class.Eigen::CwiseNullaryOp.1502", align 8
  %12 = alloca %"struct.Eigen::Array<double, -1, -1>::PrivateType", align 1
  %13 = alloca %"class.Eigen::Matrix.1508", align 8
  %14 = alloca i64, align 8
  %15 = alloca %"class.Eigen::Spline", align 8
  %16 = alloca i64, align 8
  %17 = alloca %"class.Eigen::Array.37", align 16
  %18 = alloca %"class.Eigen::Array.37", align 16
  %19 = alloca %"class.Eigen::Block.1517", align 8
  %20 = alloca %"struct.Eigen::Array<double, 2, 1>::PrivateType", align 1
  %21 = alloca %"class.Eigen::Array.37", align 16
  %22 = alloca %"class.Eigen::Block.1470", align 8
  %23 = alloca %"class.Eigen::Array.11", align 8
  %24 = alloca %"struct.Eigen::Array<double, 2, 1>::PrivateType", align 1
  %25 = alloca %"class.Eigen::Array.37", align 16
  %26 = alloca %"class.Eigen::Block.1517", align 8
  %27 = alloca %"struct.Eigen::Array<double, 2, 1>::PrivateType", align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #5
  store i64 100, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 2, ptr %2, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  store i32 3, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #5
  call void @_ZN5Eigen9DenseBaseINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEEE6RandomEll(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseNullaryOp.1502") align 8 %5, i64 noundef 2, i64 noundef 100)
  call void @_ZN5Eigen5ArrayIdLin1ELin1ELi0ELin1ELin1EEC2INS_14CwiseNullaryOpINS_8internal16scalar_random_opIdEES1_EEEERKNS_9EigenBaseIT_EENS4_9enable_ifIXsr8internal14is_convertibleINS9_6ScalarEdEE5valueENS1_11PrivateTypeEE4typeE(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 1 dereferenceable(1) %5)
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #5
  invoke void @_ZN5Eigen5ArrayIdLi1ELin1ELi1ELi1ELin1EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %28 unwind label %37

28:                                               ; preds = %0
  invoke void @_ZN5Eigen12ChordLengthsINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEENS1_IdLi1ELin1ELi1ELi1ELin1EEEEEvRKT_RT0_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %29 unwind label %41

29:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #5
  invoke void @_ZN5Eigen9DenseBaseINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEEE6RandomEll(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseNullaryOp.1502") align 8 %11, i64 noundef 2, i64 noundef 100)
          to label %30 unwind label %45

30:                                               ; preds = %29
  invoke void @_ZN5Eigen5ArrayIdLin1ELin1ELi0ELin1ELin1EEC2INS_14CwiseNullaryOpINS_8internal16scalar_random_opIdEES1_EEEERKNS_9EigenBaseIT_EENS4_9enable_ifIXsr8internal14is_convertibleINS9_6ScalarEdEE5valueENS1_11PrivateTypeEE4typeE(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %31 unwind label %45

31:                                               ; preds = %30
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  invoke void @_ZN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEC2IlEERKT_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %32 unwind label %49

32:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  store i64 0, ptr %14, align 8, !tbaa !5
  br label %33

33:                                               ; preds = %59, %32
  %34 = load i64, ptr %14, align 8, !tbaa !5
  %35 = icmp slt i64 %34, 100
  br i1 %35, label %53, label %36

36:                                               ; preds = %33
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  br label %66

37:                                               ; preds = %0
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = extractvalue { ptr, i32 } %38, 0
  store ptr %39, ptr %8, align 8
  %40 = extractvalue { ptr, i32 } %38, 1
  store i32 %40, ptr %9, align 4
  br label %148

41:                                               ; preds = %28
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %8, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %9, align 4
  br label %147

45:                                               ; preds = %30, %29
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %8, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #5
  br label %146

49:                                               ; preds = %31
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %8, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %9, align 4
  br label %145

53:                                               ; preds = %33
  %54 = load i64, ptr %14, align 8, !tbaa !5
  %55 = sitofp i64 %54 to double
  %56 = load i64, ptr %14, align 8, !tbaa !5
  %57 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi1EEclEl(ptr noundef nonnull align 1 dereferenceable(1) %13, i64 noundef %56)
          to label %58 unwind label %62

58:                                               ; preds = %53
  store double %55, ptr %57, align 8, !tbaa !11
  br label %59

59:                                               ; preds = %58
  %60 = load i64, ptr %14, align 8, !tbaa !5
  %61 = add nsw i64 %60, 1
  store i64 %61, ptr %14, align 8, !tbaa !5
  br label %33, !llvm.loop !13

62:                                               ; preds = %53
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %8, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  br label %144

66:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #5
  invoke void @_ZN5Eigen13SplineFittingINS_6SplineIdLi2ELin1EEEE26InterpolateWithDerivativesINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEENS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEEES2_RKT_SB_RKT0_j(ptr dead_on_unwind writable sret(%"class.Eigen::Spline") align 8 %15, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(16) %13, i32 noundef 3)
          to label %67 unwind label %73

67:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  store i64 0, ptr %16, align 8, !tbaa !5
  br label %68

68:                                               ; preds = %106, %67
  %69 = load i64, ptr %16, align 8, !tbaa !5
  %70 = call noundef i64 @_ZNK5Eigen15PlainObjectBaseINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEEE4colsEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  %71 = icmp slt i64 %69, %70
  br i1 %71, label %77, label %72

72:                                               ; preds = %68
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %142

73:                                               ; preds = %66
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %8, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %9, align 4
  br label %143

77:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #5
  %78 = load i64, ptr %16, align 8, !tbaa !5
  %79 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_5ArrayIdLi1ELin1ELi1ELi1ELin1EEELi1EEclEl(ptr noundef nonnull align 1 dereferenceable(1) %7, i64 noundef %78)
          to label %80 unwind label %109

80:                                               ; preds = %77
  %81 = load double, ptr %79, align 8, !tbaa !11
  invoke void @_ZNK5Eigen6SplineIdLi2ELin1EEclEd(ptr dead_on_unwind writable sret(%"class.Eigen::Array.37") align 16 %17, ptr noundef nonnull align 8 dereferenceable(32) %15, double noundef %81)
          to label %82 unwind label %109

82:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 56, ptr %19) #5
  %83 = load i64, ptr %16, align 8, !tbaa !5
  invoke void @_ZN5Eigen9DenseBaseINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEEE3colEl(ptr dead_on_unwind writable sret(%"class.Eigen::Block.1517") align 8 %19, ptr noundef nonnull align 1 dereferenceable(1) %4, i64 noundef %83)
          to label %84 unwind label %113

84:                                               ; preds = %82
  invoke void @_ZN5Eigen5ArrayIdLi2ELi1ELi0ELi2ELi1EEC2INS_5BlockINS0_IdLin1ELin1ELi0ELin1ELin1EEELin1ELi1ELb1EEEEERKNS_9EigenBaseIT_EENS_8internal9enable_ifIXsr8internal14is_convertibleINS7_6ScalarEdEE5valueENS1_11PrivateTypeEE4typeE(ptr noundef nonnull align 16 dereferenceable(16) %18, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %85 unwind label %113

85:                                               ; preds = %84
  call void @llvm.lifetime.end.p0(i64 56, ptr %19) #5
  %86 = invoke noundef zeroext i1 @_ZN5Eigen14verifyIsApproxINS_5ArrayIdLi2ELi1ELi0ELi2ELi1EEES2_EEbRKT_RKT0_(ptr noundef nonnull align 16 dereferenceable(16) %17, ptr noundef nonnull align 16 dereferenceable(16) %18)
          to label %87 unwind label %117

87:                                               ; preds = %85
  %88 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN5EigenL12g_test_stackB5cxx11E) #5
  %89 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %88) #5
  invoke void @_Z11verify_implbPKcS0_iS0_(i1 noundef zeroext %86, ptr noundef %89, ptr noundef @.str.28, i32 noundef 264, ptr noundef @.str.31)
          to label %90 unwind label %117

90:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #5
  %91 = load i64, ptr %16, align 8, !tbaa !5
  %92 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_5ArrayIdLi1ELin1ELi1ELi1ELin1EEELi1EEclEl(ptr noundef nonnull align 1 dereferenceable(1) %7, i64 noundef %91)
          to label %93 unwind label %121

93:                                               ; preds = %90
  %94 = load double, ptr %92, align 8, !tbaa !11
  invoke void @_ZNK5Eigen6SplineIdLi2ELin1EE11derivativesEdl(ptr dead_on_unwind writable sret(%"class.Eigen::Array.11") align 8 %23, ptr noundef nonnull align 8 dereferenceable(32) %15, double noundef %94, i64 noundef 1)
          to label %95 unwind label %121

95:                                               ; preds = %93
  invoke void @_ZN5Eigen9DenseBaseINS_5ArrayIdLi2ELin1ELi0ELi2ELin1EEEE3colEl(ptr dead_on_unwind writable sret(%"class.Eigen::Block.1470") align 8 %22, ptr noundef nonnull align 1 dereferenceable(1) %23, i64 noundef 1)
          to label %96 unwind label %125

96:                                               ; preds = %95
  invoke void @_ZN5Eigen5ArrayIdLi2ELi1ELi0ELi2ELi1EEC2INS_5BlockINS0_IdLi2ELin1ELi0ELi2ELin1EEELi2ELi1ELb1EEEEERKNS_9EigenBaseIT_EENS_8internal9enable_ifIXsr8internal14is_convertibleINS7_6ScalarEdEE5valueENS1_11PrivateTypeEE4typeE(ptr noundef nonnull align 16 dereferenceable(16) %21, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %97 unwind label %125

97:                                               ; preds = %96
  call void @_ZN5Eigen15PlainObjectBaseINS_5ArrayIdLi2ELin1ELi0ELi2ELin1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 56, ptr %26) #5
  %98 = load i64, ptr %16, align 8, !tbaa !5
  invoke void @_ZN5Eigen9DenseBaseINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEEE3colEl(ptr dead_on_unwind writable sret(%"class.Eigen::Block.1517") align 8 %26, ptr noundef nonnull align 1 dereferenceable(1) %10, i64 noundef %98)
          to label %99 unwind label %130

99:                                               ; preds = %97
  invoke void @_ZN5Eigen5ArrayIdLi2ELi1ELi0ELi2ELi1EEC2INS_5BlockINS0_IdLin1ELin1ELi0ELin1ELin1EEELin1ELi1ELb1EEEEERKNS_9EigenBaseIT_EENS_8internal9enable_ifIXsr8internal14is_convertibleINS7_6ScalarEdEE5valueENS1_11PrivateTypeEE4typeE(ptr noundef nonnull align 16 dereferenceable(16) %25, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %100 unwind label %130

100:                                              ; preds = %99
  call void @llvm.lifetime.end.p0(i64 56, ptr %26) #5
  %101 = invoke noundef zeroext i1 @_ZN5Eigen14verifyIsApproxINS_5ArrayIdLi2ELi1ELi0ELi2ELi1EEES2_EEbRKT_RKT0_(ptr noundef nonnull align 16 dereferenceable(16) %21, ptr noundef nonnull align 16 dereferenceable(16) %25)
          to label %102 unwind label %134

102:                                              ; preds = %100
  %103 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN5EigenL12g_test_stackB5cxx11E) #5
  %104 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %103) #5
  invoke void @_Z11verify_implbPKcS0_iS0_(i1 noundef zeroext %101, ptr noundef %104, ptr noundef @.str.28, i32 noundef 267, ptr noundef @.str.32)
          to label %105 unwind label %134

105:                                              ; preds = %102
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #5
  br label %106

106:                                              ; preds = %105
  %107 = load i64, ptr %16, align 8, !tbaa !5
  %108 = add nsw i64 %107, 1
  store i64 %108, ptr %16, align 8, !tbaa !5
  br label %68, !llvm.loop !15

109:                                              ; preds = %80, %77
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %8, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %9, align 4
  br label %141

113:                                              ; preds = %84, %82
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %8, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 56, ptr %19) #5
  br label %140

117:                                              ; preds = %87, %85
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %8, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %9, align 4
  br label %140

121:                                              ; preds = %93, %90
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %8, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %9, align 4
  br label %129

125:                                              ; preds = %96, %95
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %8, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %9, align 4
  call void @_ZN5Eigen15PlainObjectBaseINS_5ArrayIdLi2ELin1ELi0ELi2ELin1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #5
  br label %129

129:                                              ; preds = %125, %121
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #5
  br label %139

130:                                              ; preds = %99, %97
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %8, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 56, ptr %26) #5
  br label %138

134:                                              ; preds = %102, %100
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %8, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %9, align 4
  br label %138

138:                                              ; preds = %134, %130
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #5
  br label %139

139:                                              ; preds = %138, %129
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #5
  br label %140

140:                                              ; preds = %139, %117, %113
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #5
  br label %141

141:                                              ; preds = %140, %109
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @_ZN5Eigen6SplineIdLi2ELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #5
  br label %143

142:                                              ; preds = %72
  call void @_ZN5Eigen6SplineIdLi2ELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #5
  call void @_ZN5Eigen15PlainObjectBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  call void @_ZN5Eigen15PlainObjectBaseINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #5
  call void @_ZN5Eigen15PlainObjectBaseINS_5ArrayIdLi1ELin1ELi1ELi1ELin1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #5
  call void @_ZN5Eigen15PlainObjectBaseINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #5
  ret void

143:                                              ; preds = %141, %73
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #5
  br label %144

144:                                              ; preds = %143, %62
  call void @_ZN5Eigen15PlainObjectBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #5
  br label %145

145:                                              ; preds = %144, %49
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  call void @_ZN5Eigen15PlainObjectBaseINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  br label %146

146:                                              ; preds = %145, %45
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #5
  br label %147

147:                                              ; preds = %146, %41
  call void @_ZN5Eigen15PlainObjectBaseINS_5ArrayIdLi1ELin1ELi1ELi1ELin1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #5
  br label %148

148:                                              ; preds = %147, %37
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #5
  call void @_ZN5Eigen15PlainObjectBaseINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #5
  br label %149

149:                                              ; preds = %148
  %150 = load ptr, ptr %8, align 8
  %151 = load i32, ptr %9, align 4
  %152 = insertvalue { ptr, i32 } poison, ptr %150, 0
  %153 = insertvalue { ptr, i32 } %152, i32 %151, 1
  resume { ptr, i32 } %153
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen9DenseBaseINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEEE6RandomEll(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseNullaryOp.1502") align 8, i64 noundef, i64 noundef) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Eigen12ChordLengthsINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEENS1_IdLi1ELin1ELi1ELi1ELin1EEEEEvRKT_RT0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(16)) #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi1EEclEl(ptr noundef nonnull align 1 dereferenceable(1), i64 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Eigen13SplineFittingINS_6SplineIdLi2ELin1EEEE26InterpolateWithDerivativesINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEENS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEEES2_RKT_SB_RKT0_j(ptr dead_on_unwind noalias writable sret(%"class.Eigen::Spline") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK5Eigen15PlainObjectBaseINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEEE4colsEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen9DenseBaseINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEEE3colEl(ptr dead_on_unwind noalias writable sret(%"class.Eigen::Block.1517") align 8, ptr noundef nonnull align 1 dereferenceable(1), i64 noundef) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen5ArrayIdLi2ELi1ELi0ELi2ELi1EEC2INS_5BlockINS0_IdLin1ELin1ELi0ELin1ELin1EEELin1ELi1ELb1EEEEERKNS_9EigenBaseIT_EENS_8internal9enable_ifIXsr8internal14is_convertibleINS7_6ScalarEdEE5valueENS1_11PrivateTypeEE4typeE(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5Eigen14verifyIsApproxINS_5ArrayIdLi2ELi1ELi0ELi2ELi1EEES2_EEbRKT_RKT0_(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16)) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5Eigen15PlainObjectBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5Eigen15PlainObjectBaseINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 #4 = { 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 #5 = { nounwind }

!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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}


; 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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.Eigen::Array.37" = type { %"class.Eigen::PlainObjectBase.38" }
%"class.Eigen::PlainObjectBase.38" = type { %"class.Eigen::DenseStorage.45" }
%"class.Eigen::DenseStorage.45" = type { %"struct.Eigen::internal::plain_array" }
%"struct.Eigen::internal::plain_array" = type { [2 x double] }
%"class.Eigen::Array.11" = type { %"class.Eigen::PlainObjectBase.12" }
%"class.Eigen::PlainObjectBase.12" = type { %"class.Eigen::DenseStorage.19" }
%"class.Eigen::DenseStorage.19" = type { ptr, i64 }
%"class.Eigen::Block.1470" = type { %"class.Eigen::BlockImpl.1471" }
%"class.Eigen::BlockImpl.1471" = type { %"class.Eigen::internal::BlockImpl_dense.1472" }
%"class.Eigen::internal::BlockImpl_dense.1472" = type { %"class.Eigen::MapBase.base.1482", ptr, %"class.Eigen::internal::variable_if_dynamic", %"class.Eigen::internal::variable_if_dynamic", i64 }
%"class.Eigen::MapBase.base.1482" = type { %"class.Eigen::MapBase.base.1481" }
%"class.Eigen::MapBase.base.1481" = type <{ ptr, [2 x i8] }>
%"class.Eigen::internal::variable_if_dynamic" = type { i64 }
%"class.Eigen::Array.1494" = type { %"class.Eigen::PlainObjectBase.1495" }
%"class.Eigen::PlainObjectBase.1495" = type { %"class.Eigen::DenseStorage.1419" }
%"class.Eigen::DenseStorage.1419" = type { ptr, i64, i64 }
%"class.Eigen::CwiseNullaryOp.1502" = type <{ %"class.Eigen::internal::variable_if_dynamic", %"class.Eigen::internal::variable_if_dynamic", [8 x i8] }>
%"class.Eigen::Array" = type { %"class.Eigen::PlainObjectBase" }
%"class.Eigen::PlainObjectBase" = type { %"class.Eigen::DenseStorage" }
%"class.Eigen::DenseStorage" = type { ptr, i64 }
%"class.Eigen::Matrix.1508" = type { %"class.Eigen::PlainObjectBase.1509" }
%"class.Eigen::PlainObjectBase.1509" = type { %"class.Eigen::DenseStorage.1516" }
%"class.Eigen::DenseStorage.1516" = type { ptr, i64 }
%"class.Eigen::Spline" = type { %"class.Eigen::Array", %"class.Eigen::Array.11" }
%"class.Eigen::Block.1517" = type { %"class.Eigen::BlockImpl.1518" }
%"class.Eigen::BlockImpl.1518" = type { %"class.Eigen::internal::BlockImpl_dense.1519" }
%"class.Eigen::internal::BlockImpl_dense.1519" = type { %"class.Eigen::MapBase.base.1529", ptr, %"class.Eigen::internal::variable_if_dynamic", %"class.Eigen::internal::variable_if_dynamic", i64 }
%"class.Eigen::MapBase.base.1529" = type { %"class.Eigen::MapBase.base.1528" }
%"class.Eigen::MapBase.base.1528" = type <{ ptr, %"class.Eigen::internal::variable_if_dynamic", i8 }>

@_ZN5EigenL12g_test_stackB5cxx11E = external hidden global %"class.std::vector", align 8
@.str.28 = external hidden unnamed_addr constant [113 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [48 x i8], align 1

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z11verify_implbPKcS0_iS0_(i1 noundef zeroext, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5Eigen15PlainObjectBaseINS_5ArrayIdLi2ELin1ELi0ELi2ELin1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5Eigen15PlainObjectBaseINS_5ArrayIdLi1ELin1ELi1ELi1ELin1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK5Eigen6SplineIdLi2ELin1EEclEd(ptr dead_on_unwind noalias writable sret(%"class.Eigen::Array.37") align 16, ptr noundef nonnull align 8 dereferenceable(32), double noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK5Eigen6SplineIdLi2ELin1EE11derivativesEdl(ptr dead_on_unwind noalias writable sret(%"class.Eigen::Array.11") align 8, ptr noundef nonnull align 8 dereferenceable(32), double noundef, i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_5ArrayIdLi1ELin1ELi1ELi1ELin1EEELi1EEclEl(ptr noundef nonnull align 1 dereferenceable(1), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5Eigen6SplineIdLi2ELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen9DenseBaseINS_5ArrayIdLi2ELin1ELi0ELi2ELin1EEEE3colEl(ptr dead_on_unwind noalias writable sret(%"class.Eigen::Block.1470") align 8, ptr noundef nonnull align 1 dereferenceable(1), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen5ArrayIdLi2ELi1ELi0ELi2ELi1EEC2INS_5BlockINS0_IdLi2ELin1ELi0ELi2ELin1EEELi2ELi1ELb1EEEEERKNS_9EigenBaseIT_EENS_8internal9enable_ifIXsr8internal14is_convertibleINS7_6ScalarEdEE5valueENS1_11PrivateTypeEE4typeE(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z45check_global_interpolation_with_derivatives2dv() local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %1 = alloca i64, align 8
  %2 = alloca %"class.Eigen::Array.1494", align 8
  %3 = alloca %"class.Eigen::CwiseNullaryOp.1502", align 8
  %4 = alloca %"class.Eigen::Array", align 8
  %5 = alloca %"class.Eigen::Array.1494", align 8
  %6 = alloca %"class.Eigen::CwiseNullaryOp.1502", align 8
  %7 = alloca %"class.Eigen::Matrix.1508", align 8
  %8 = alloca %"class.Eigen::Spline", align 8
  %9 = alloca %"class.Eigen::Array.37", align 16
  %10 = alloca %"class.Eigen::Array.37", align 16
  %11 = alloca %"class.Eigen::Block.1517", align 8
  %12 = alloca %"class.Eigen::Array.37", align 16
  %13 = alloca %"class.Eigen::Block.1470", align 8
  %14 = alloca %"class.Eigen::Array.11", align 8
  %15 = alloca %"class.Eigen::Array.37", align 16
  %16 = alloca %"class.Eigen::Block.1517", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #5
  store i64 100, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #5
  call void @_ZN5Eigen9DenseBaseINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEEE6RandomEll(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseNullaryOp.1502") align 8 %3, i64 noundef 2, i64 noundef 100)
  call void @_ZN5Eigen5ArrayIdLin1ELin1ELi0ELin1ELin1EEC2INS_14CwiseNullaryOpINS_8internal16scalar_random_opIdEES1_EEEERKNS_9EigenBaseIT_EENS4_9enable_ifIXsr8internal14is_convertibleINS9_6ScalarEdEE5valueENS1_11PrivateTypeEE4typeE(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 1 dereferenceable(1) %3)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  invoke void @_ZN5Eigen5ArrayIdLi1ELin1ELi1ELi1ELin1EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %17 unwind label %24

17:                                               ; preds = %0
  invoke void @_ZN5Eigen12ChordLengthsINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEENS1_IdLi1ELin1ELi1ELi1ELin1EEEEEvRKT_RT0_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %18 unwind label %26

18:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #5
  invoke void @_ZN5Eigen9DenseBaseINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEEE6RandomEll(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseNullaryOp.1502") align 8 %6, i64 noundef 2, i64 noundef 100)
          to label %19 unwind label %28

19:                                               ; preds = %18
  invoke void @_ZN5Eigen5ArrayIdLin1ELin1ELi0ELin1ELin1EEC2INS_14CwiseNullaryOpINS_8internal16scalar_random_opIdEES1_EEEERKNS_9EigenBaseIT_EENS4_9enable_ifIXsr8internal14is_convertibleINS9_6ScalarEdEE5valueENS1_11PrivateTypeEE4typeE(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %20 unwind label %28

20:                                               ; preds = %19
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5
  invoke void @_ZN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEC2IlEERKT_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %.preheader37 unwind label %30

21:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #5
  invoke void @_ZN5Eigen13SplineFittingINS_6SplineIdLi2ELin1EEEE26InterpolateWithDerivativesINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEENS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEEES2_RKT_SB_RKT0_j(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Spline") align 8 %8, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef 3)
          to label %.preheader unwind label %38

.preheader:                                       ; preds = %21
  %22 = call noundef i64 @_ZNK5Eigen15PlainObjectBaseINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEEE4colsEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  %23 = icmp sgt i64 %22, 0
  br i1 %23, label %.lr.ph, label %._crit_edge

24:                                               ; preds = %0
  %25 = landingpad { ptr, i32 }
          cleanup
  br label %91

26:                                               ; preds = %17
  %27 = landingpad { ptr, i32 }
          cleanup
  br label %90

28:                                               ; preds = %19, %18
  %29 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  br label %89

30:                                               ; preds = %20
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %88

.preheader37:                                     ; preds = %20, %33
  %.01138 = phi i64 [ %35, %33 ], [ 0, %20 ]
  %32 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi1EEclEl(ptr noundef nonnull align 1 dereferenceable(1) %7, i64 noundef %.01138)
          to label %33 unwind label %36

33:                                               ; preds = %.preheader37
  %34 = uitofp nneg i64 %.01138 to double
  store double %34, ptr %32, align 8, !tbaa !9
  %35 = add nuw nsw i64 %.01138, 1
  %exitcond.not = icmp eq i64 %35, 100
  br i1 %exitcond.not, label %21, label %.preheader37, !llvm.loop !11

36:                                               ; preds = %.preheader37
  %37 = landingpad { ptr, i32 }
          cleanup
  br label %87

._crit_edge:                                      ; preds = %63, %.preheader
  call void @_ZN5Eigen6SplineIdLi2ELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #5
  call void @_ZN5Eigen15PlainObjectBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  call void @_ZN5Eigen15PlainObjectBaseINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5
  call void @_ZN5Eigen15PlainObjectBaseINS_5ArrayIdLi1ELin1ELi1ELi1ELin1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  call void @_ZN5Eigen15PlainObjectBaseINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #5
  ret void

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

.lr.ph:                                           ; preds = %.preheader, %63
  %.039 = phi i64 [ %64, %63 ], [ 0, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #5
  %40 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_5ArrayIdLi1ELin1ELi1ELi1ELin1EEELi1EEclEl(ptr noundef nonnull align 1 dereferenceable(1) %4, i64 noundef %.039)
          to label %41 unwind label %67

41:                                               ; preds = %.lr.ph
  %42 = load double, ptr %40, align 8, !tbaa !9
  invoke void @_ZNK5Eigen6SplineIdLi2ELin1EEclEd(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Array.37") align 16 %9, ptr noundef nonnull align 8 dereferenceable(32) %8, double noundef %42)
          to label %43 unwind label %67

43:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %11) #5
  invoke void @_ZN5Eigen9DenseBaseINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEEE3colEl(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Block.1517") align 8 %11, ptr noundef nonnull align 1 dereferenceable(1) %2, i64 noundef %.039)
          to label %44 unwind label %69

44:                                               ; preds = %43
  invoke void @_ZN5Eigen5ArrayIdLi2ELi1ELi0ELi2ELi1EEC2INS_5BlockINS0_IdLin1ELin1ELi0ELin1ELin1EEELin1ELi1ELb1EEEEERKNS_9EigenBaseIT_EENS_8internal9enable_ifIXsr8internal14is_convertibleINS7_6ScalarEdEE5valueENS1_11PrivateTypeEE4typeE(ptr noundef nonnull align 16 dereferenceable(16) %10, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %45 unwind label %69

45:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %11) #5
  %46 = invoke noundef zeroext i1 @_ZN5Eigen14verifyIsApproxINS_5ArrayIdLi2ELi1ELi0ELi2ELi1EEES2_EEbRKT_RKT0_(ptr noundef nonnull align 16 dereferenceable(16) %9, ptr noundef nonnull align 16 dereferenceable(16) %10)
          to label %47 unwind label %71

47:                                               ; preds = %45
  %48 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN5EigenL12g_test_stackB5cxx11E) #5
  %49 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %48) #5
  invoke void @_Z11verify_implbPKcS0_iS0_(i1 noundef zeroext %46, ptr noundef %49, ptr noundef nonnull @.str.28, i32 noundef 264, ptr noundef nonnull @.str.31)
          to label %50 unwind label %71

50:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #5
  %51 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_5ArrayIdLi1ELin1ELi1ELi1ELin1EEELi1EEclEl(ptr noundef nonnull align 1 dereferenceable(1) %4, i64 noundef %.039)
          to label %52 unwind label %73

52:                                               ; preds = %50
  %53 = load double, ptr %51, align 8, !tbaa !9
  invoke void @_ZNK5Eigen6SplineIdLi2ELin1EE11derivativesEdl(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Array.11") align 8 %14, ptr noundef nonnull align 8 dereferenceable(32) %8, double noundef %53, i64 noundef 1)
          to label %54 unwind label %73

54:                                               ; preds = %52
  invoke void @_ZN5Eigen9DenseBaseINS_5ArrayIdLi2ELin1ELi0ELi2ELin1EEEE3colEl(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Block.1470") align 8 %13, ptr noundef nonnull align 1 dereferenceable(1) %14, i64 noundef 1)
          to label %55 unwind label %75

55:                                               ; preds = %54
  invoke void @_ZN5Eigen5ArrayIdLi2ELi1ELi0ELi2ELi1EEC2INS_5BlockINS0_IdLi2ELin1ELi0ELi2ELin1EEELi2ELi1ELb1EEEEERKNS_9EigenBaseIT_EENS_8internal9enable_ifIXsr8internal14is_convertibleINS7_6ScalarEdEE5valueENS1_11PrivateTypeEE4typeE(ptr noundef nonnull align 16 dereferenceable(16) %12, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %56 unwind label %75

56:                                               ; preds = %55
  call void @_ZN5Eigen15PlainObjectBaseINS_5ArrayIdLi2ELin1ELi0ELi2ELin1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %16) #5
  invoke void @_ZN5Eigen9DenseBaseINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEEE3colEl(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Block.1517") align 8 %16, ptr noundef nonnull align 1 dereferenceable(1) %5, i64 noundef %.039)
          to label %57 unwind label %78

57:                                               ; preds = %56
  invoke void @_ZN5Eigen5ArrayIdLi2ELi1ELi0ELi2ELi1EEC2INS_5BlockINS0_IdLin1ELin1ELi0ELin1ELin1EEELin1ELi1ELb1EEEEERKNS_9EigenBaseIT_EENS_8internal9enable_ifIXsr8internal14is_convertibleINS7_6ScalarEdEE5valueENS1_11PrivateTypeEE4typeE(ptr noundef nonnull align 16 dereferenceable(16) %15, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %58 unwind label %78

58:                                               ; preds = %57
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %16) #5
  %59 = invoke noundef zeroext i1 @_ZN5Eigen14verifyIsApproxINS_5ArrayIdLi2ELi1ELi0ELi2ELi1EEES2_EEbRKT_RKT0_(ptr noundef nonnull align 16 dereferenceable(16) %12, ptr noundef nonnull align 16 dereferenceable(16) %15)
          to label %60 unwind label %80

60:                                               ; preds = %58
  %61 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN5EigenL12g_test_stackB5cxx11E) #5
  %62 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %61) #5
  invoke void @_Z11verify_implbPKcS0_iS0_(i1 noundef zeroext %59, ptr noundef %62, ptr noundef nonnull @.str.28, i32 noundef 267, ptr noundef nonnull @.str.32)
          to label %63 unwind label %80

63:                                               ; preds = %60
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #5
  %64 = add nuw nsw i64 %.039, 1
  %65 = call noundef i64 @_ZNK5Eigen15PlainObjectBaseINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEEE4colsEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  %66 = icmp slt i64 %64, %65
  br i1 %66, label %.lr.ph, label %._crit_edge, !llvm.loop !13

67:                                               ; preds = %41, %.lr.ph
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %85

69:                                               ; preds = %44, %43
  %70 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %11) #5
  br label %84

71:                                               ; preds = %47, %45
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %84

73:                                               ; preds = %52, %50
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %77

75:                                               ; preds = %55, %54
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5Eigen15PlainObjectBaseINS_5ArrayIdLi2ELin1ELi0ELi2ELin1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #5
  br label %77

77:                                               ; preds = %75, %73
  %.pn = phi { ptr, i32 } [ %76, %75 ], [ %74, %73 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #5
  br label %83

78:                                               ; preds = %57, %56
  %79 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %16) #5
  br label %82

80:                                               ; preds = %60, %58
  %81 = landingpad { ptr, i32 }
          cleanup
  br label %82

82:                                               ; preds = %80, %78
  %.pn25 = phi { ptr, i32 } [ %81, %80 ], [ %79, %78 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #5
  br label %83

83:                                               ; preds = %82, %77
  %.pn25.pn = phi { ptr, i32 } [ %.pn25, %82 ], [ %.pn, %77 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #5
  br label %84

84:                                               ; preds = %83, %71, %69
  %.pn25.pn.pn = phi { ptr, i32 } [ %.pn25.pn, %83 ], [ %72, %71 ], [ %70, %69 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  br label %85

85:                                               ; preds = %84, %67
  %.pn25.pn.pn.pn = phi { ptr, i32 } [ %.pn25.pn.pn, %84 ], [ %68, %67 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #5
  call void @_ZN5Eigen6SplineIdLi2ELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  br label %86

86:                                               ; preds = %85, %38
  %.pn25.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn25.pn.pn.pn, %85 ], [ %39, %38 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #5
  br label %87

87:                                               ; preds = %86, %36
  %.pn31 = phi { ptr, i32 } [ %37, %36 ], [ %.pn25.pn.pn.pn.pn, %86 ]
  call void @_ZN5Eigen15PlainObjectBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #5
  br label %88

88:                                               ; preds = %87, %30
  %.pn31.pn = phi { ptr, i32 } [ %.pn31, %87 ], [ %31, %30 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  call void @_ZN5Eigen15PlainObjectBaseINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  br label %89

89:                                               ; preds = %88, %28
  %.pn31.pn.pn = phi { ptr, i32 } [ %.pn31.pn, %88 ], [ %29, %28 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5
  br label %90

90:                                               ; preds = %89, %26
  %.pn31.pn.pn.pn = phi { ptr, i32 } [ %.pn31.pn.pn, %89 ], [ %27, %26 ]
  call void @_ZN5Eigen15PlainObjectBaseINS_5ArrayIdLi1ELin1ELi1ELi1ELin1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #5
  br label %91

91:                                               ; preds = %90, %24
  %.pn31.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn31.pn.pn.pn, %90 ], [ %25, %24 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  call void @_ZN5Eigen15PlainObjectBaseINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #5
  resume { ptr, i32 } %.pn31.pn.pn.pn.pn
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen9DenseBaseINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEEE6RandomEll(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseNullaryOp.1502") align 8, i64 noundef, i64 noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Eigen12ChordLengthsINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEENS1_IdLi1ELin1ELi1ELi1ELin1EEEEEvRKT_RT0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi1EEclEl(ptr noundef nonnull align 1 dereferenceable(1), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Eigen13SplineFittingINS_6SplineIdLi2ELin1EEEE26InterpolateWithDerivativesINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEENS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEEES2_RKT_SB_RKT0_j(ptr dead_on_unwind noalias writable sret(%"class.Eigen::Spline") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK5Eigen15PlainObjectBaseINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEEE4colsEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen9DenseBaseINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEEE3colEl(ptr dead_on_unwind noalias writable sret(%"class.Eigen::Block.1517") align 8, ptr noundef nonnull align 1 dereferenceable(1), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen5ArrayIdLi2ELi1ELi0ELi2ELi1EEC2INS_5BlockINS0_IdLin1ELin1ELi0ELin1ELin1EEELin1ELi1ELb1EEEEERKNS_9EigenBaseIT_EENS_8internal9enable_ifIXsr8internal14is_convertibleINS7_6ScalarEdEE5valueENS1_11PrivateTypeEE4typeE(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5Eigen14verifyIsApproxINS_5ArrayIdLi2ELi1ELi0ELi2ELi1EEES2_EEbRKT_RKT0_(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5Eigen15PlainObjectBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5Eigen15PlainObjectBaseINS_5ArrayIdLin1ELin1ELi0ELin1ELin1EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 #4 = { 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 #5 = { nounwind }

!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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}


; Effective O3 passes: GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass