; LLVM IR from simbody/simbody :: SimTKmath/Optimizers/src/IpOpt (IpLimMemQuasiNewtonUpdater)

; 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.SimTKIpopt::SmartPtr.25" = type { ptr }
%"class.SimTKIpopt::LimMemQuasiNewtonUpdater" = type { %"class.SimTKIpopt::HessianUpdater.base", %"class.SimTKIpopt::SmartPtr.20", i32, i32, i32, double, i32, double, double, i8, double, %"class.SimTKIpopt::SmartPtr.21", i32, %"class.SimTKIpopt::SmartPtr.21", double, i8, i32, i32, %"class.SimTKIpopt::SmartPtr.22", %"class.SimTKIpopt::SmartPtr.22", %"class.SimTKIpopt::SmartPtr.22", %"class.SimTKIpopt::SmartPtr.23", %"class.SimTKIpopt::SmartPtr.24", %"class.SimTKIpopt::SmartPtr.25", double, %"class.SimTKIpopt::SmartPtr.22", %"class.SimTKIpopt::SmartPtr.22", %"class.SimTKIpopt::SmartPtr.26", i8, %"class.SimTKIpopt::SmartPtr.22", %"class.SimTKIpopt::SmartPtr.26", %"class.SimTKIpopt::SmartPtr.21", %"class.SimTKIpopt::SmartPtr.21", %"class.SimTKIpopt::SmartPtr.27", %"class.SimTKIpopt::SmartPtr.27", i32, %"class.SimTKIpopt::SmartPtr.22", %"class.SimTKIpopt::SmartPtr.22", %"class.SimTKIpopt::SmartPtr.22", %"class.SimTKIpopt::SmartPtr.23", %"class.SimTKIpopt::SmartPtr.24", %"class.SimTKIpopt::SmartPtr.25", double, %"class.SimTKIpopt::SmartPtr.22", %"class.SimTKIpopt::SmartPtr.22", %"class.SimTKIpopt::SmartPtr.26", i8, %"class.SimTKIpopt::SmartPtr.22", %"class.SimTKIpopt::SmartPtr.26" }
%"class.SimTKIpopt::HessianUpdater.base" = type { %"class.SimTKIpopt::AlgorithmStrategyObject.base" }
%"class.SimTKIpopt::AlgorithmStrategyObject.base" = type <{ %"class.SimTKIpopt::ReferencedObject.base", [4 x i8], %"class.SimTKIpopt::SmartPtr.16", %"class.SimTKIpopt::SmartPtr.17", %"class.SimTKIpopt::SmartPtr.18", %"class.SimTKIpopt::SmartPtr.19", i8 }>
%"class.SimTKIpopt::ReferencedObject.base" = type <{ ptr, i32 }>
%"class.SimTKIpopt::SmartPtr.16" = type { ptr }
%"class.SimTKIpopt::SmartPtr.17" = type { ptr }
%"class.SimTKIpopt::SmartPtr.18" = type { ptr }
%"class.SimTKIpopt::SmartPtr.19" = type { ptr }
%"class.SimTKIpopt::SmartPtr.20" = type { ptr }
%"class.SimTKIpopt::SmartPtr.21" = type { ptr }
%"class.SimTKIpopt::SmartPtr.27" = type { ptr }
%"class.SimTKIpopt::SmartPtr.23" = type { ptr }
%"class.SimTKIpopt::SmartPtr.24" = type { ptr }
%"class.SimTKIpopt::SmartPtr.22" = type { ptr }
%"class.SimTKIpopt::SmartPtr.26" = type { ptr }

; 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: mustprogress nounwind uwtable
declare dso_local void @_ZN10SimTKIpopt8SmartPtrINS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt6Vector19ElementWiseMultiplyERKS0_(ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(205)) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater18UpdateInternalDataERKNS_6VectorES3_NS_8SmartPtrIS1_EE(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef nonnull align 8 dereferenceable(205) %1, ptr noundef nonnull align 8 dereferenceable(205) %2, ptr noundef %3) #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i8, align 1
  %11 = alloca %"class.SimTKIpopt::SmartPtr.25", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  %14 = load ptr, ptr %6, align 8
  %15 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 2
  %16 = load i32, ptr %15, align 8, !tbaa !9
  %17 = icmp eq i32 %16, 0
  br i1 %17, label %18, label %19

18:                                               ; preds = %4
  store i1 false, ptr %5, align 1
  br label %161

19:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #4
  %20 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 17
  %21 = load i32, ptr %20, align 8, !tbaa !31
  %22 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 2
  %23 = load i32, ptr %22, align 8, !tbaa !9
  %24 = icmp slt i32 %21, %23
  br i1 %24, label %25, label %29

25:                                               ; preds = %19
  store i8 1, ptr %10, align 1, !tbaa !32
  %26 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 17
  %27 = load i32, ptr %26, align 8, !tbaa !31
  %28 = add nsw i32 %27, 1
  store i32 %28, ptr %26, align 8, !tbaa !31
  br label %30

29:                                               ; preds = %19
  store i8 0, ptr %10, align 1, !tbaa !32
  br label %30

30:                                               ; preds = %29, %25
  %31 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 9
  %32 = load i8, ptr %31, align 8, !tbaa !33, !range !34, !noundef !35
  %33 = trunc i8 %32 to i1
  br i1 %33, label %73, label %34

34:                                               ; preds = %30
  %35 = load i8, ptr %10, align 1, !tbaa !32, !range !34, !noundef !35
  %36 = trunc i8 %35 to i1
  br i1 %36, label %37, label %55

37:                                               ; preds = %34
  %38 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 18
  %39 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater18AugmentMultiVectorERNS_8SmartPtrINS_17MultiVectorMatrixEEERKNS_6VectorE(ptr noundef nonnull align 8 dereferenceable(424) %14, ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull align 8 dereferenceable(205) %39)
  %40 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 19
  %41 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater18AugmentMultiVectorERNS_8SmartPtrINS_17MultiVectorMatrixEEERKNS_6VectorE(ptr noundef nonnull align 8 dereferenceable(424) %14, ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(205) %41)
  %42 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 21
  %43 = load ptr, ptr %7, align 8, !tbaa !5
  %44 = load ptr, ptr %8, align 8, !tbaa !5
  %45 = call noundef double @_ZNK10SimTKIpopt6Vector3DotERKS0_(ptr noundef nonnull align 8 dereferenceable(205) %43, ptr noundef nonnull align 8 dereferenceable(205) %44)
  call void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater18AugmentDenseVectorERNS_8SmartPtrINS_11DenseVectorEEEd(ptr noundef nonnull align 8 dereferenceable(424) %14, ptr noundef nonnull align 8 dereferenceable(8) %42, double noundef %45)
  %46 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 22
  %47 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 18
  %48 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %47)
  %49 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 19
  %50 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %49)
  call void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater14AugmentLMatrixERNS_8SmartPtrINS_14DenseGenMatrixEEERKNS_17MultiVectorMatrixES7_(ptr noundef nonnull align 8 dereferenceable(424) %14, ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef nonnull align 8 dereferenceable(128) %48, ptr noundef nonnull align 8 dereferenceable(128) %50)
  %51 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 27
  %52 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 18
  %53 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %52)
  call void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater18AugmentSdotSMatrixERNS_8SmartPtrINS_14DenseSymMatrixEEERKNS_17MultiVectorMatrixE(ptr noundef nonnull align 8 dereferenceable(424) %14, ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef nonnull align 8 dereferenceable(128) %53)
  %54 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 28
  store i8 1, ptr %54, align 8, !tbaa !36
  br label %72

55:                                               ; preds = %34
  %56 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 18
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater16ShiftMultiVectorERNS_8SmartPtrINS_17MultiVectorMatrixEEERKNS_6VectorE(ptr noundef nonnull align 8 dereferenceable(424) %14, ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef nonnull align 8 dereferenceable(205) %57)
  %58 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 19
  %59 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater16ShiftMultiVectorERNS_8SmartPtrINS_17MultiVectorMatrixEEERKNS_6VectorE(ptr noundef nonnull align 8 dereferenceable(424) %14, ptr noundef nonnull align 8 dereferenceable(8) %58, ptr noundef nonnull align 8 dereferenceable(205) %59)
  %60 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 21
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  %63 = call noundef double @_ZNK10SimTKIpopt6Vector3DotERKS0_(ptr noundef nonnull align 8 dereferenceable(205) %61, ptr noundef nonnull align 8 dereferenceable(205) %62)
  call void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater16ShiftDenseVectorERNS_8SmartPtrINS_11DenseVectorEEEd(ptr noundef nonnull align 8 dereferenceable(424) %14, ptr noundef nonnull align 8 dereferenceable(8) %60, double noundef %63)
  %64 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 22
  %65 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 18
  %66 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %65)
  %67 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 19
  %68 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %67)
  call void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater12ShiftLMatrixERNS_8SmartPtrINS_14DenseGenMatrixEEERKNS_17MultiVectorMatrixES7_(ptr noundef nonnull align 8 dereferenceable(424) %14, ptr noundef nonnull align 8 dereferenceable(8) %64, ptr noundef nonnull align 8 dereferenceable(128) %66, ptr noundef nonnull align 8 dereferenceable(128) %68)
  %69 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 27
  %70 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 18
  %71 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %70)
  call void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater16ShiftSdotSMatrixERNS_8SmartPtrINS_14DenseSymMatrixEEERKNS_17MultiVectorMatrixE(ptr noundef nonnull align 8 dereferenceable(424) %14, ptr noundef nonnull align 8 dereferenceable(8) %69, ptr noundef nonnull align 8 dereferenceable(128) %71)
  br label %72

72:                                               ; preds = %55, %37
  br label %158

73:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %74 = load ptr, ptr %7, align 8, !tbaa !5
  %75 = call noundef ptr @_ZNK10SimTKIpopt6Vector11MakeNewCopyEv(ptr noundef nonnull align 8 dereferenceable(205) %74)
  call void @_ZN10SimTKIpopt8SmartPtrINS_6VectorEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef %75)
  %76 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %77 unwind label %104

77:                                               ; preds = %73
  %78 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 13
  %79 = invoke noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %78)
          to label %80 unwind label %104

80:                                               ; preds = %77
  invoke void @_ZN10SimTKIpopt6Vector19ElementWiseMultiplyERKS0_(ptr noundef nonnull align 8 dereferenceable(205) %76, ptr noundef nonnull align 8 dereferenceable(205) %79)
          to label %81 unwind label %104

81:                                               ; preds = %80
  %82 = load i8, ptr %10, align 1, !tbaa !32, !range !34, !noundef !35
  %83 = trunc i8 %82 to i1
  br i1 %83, label %84, label %108

84:                                               ; preds = %81
  %85 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 18
  %86 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater18AugmentMultiVectorERNS_8SmartPtrINS_17MultiVectorMatrixEEERKNS_6VectorE(ptr noundef nonnull align 8 dereferenceable(424) %14, ptr noundef nonnull align 8 dereferenceable(8) %85, ptr noundef nonnull align 8 dereferenceable(205) %86)
          to label %87 unwind label %104

87:                                               ; preds = %84
  %88 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 29
  %89 = invoke noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %90 unwind label %104

90:                                               ; preds = %87
  invoke void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater18AugmentMultiVectorERNS_8SmartPtrINS_17MultiVectorMatrixEEERKNS_6VectorE(ptr noundef nonnull align 8 dereferenceable(424) %14, ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef nonnull align 8 dereferenceable(205) %89)
          to label %91 unwind label %104

91:                                               ; preds = %90
  %92 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 20
  %93 = invoke noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %94 unwind label %104

94:                                               ; preds = %91
  invoke void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater18AugmentMultiVectorERNS_8SmartPtrINS_17MultiVectorMatrixEEERKNS_6VectorE(ptr noundef nonnull align 8 dereferenceable(424) %14, ptr noundef nonnull align 8 dereferenceable(8) %92, ptr noundef nonnull align 8 dereferenceable(205) %93)
          to label %95 unwind label %104

95:                                               ; preds = %94
  %96 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 30
  %97 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 18
  %98 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %97)
          to label %99 unwind label %104

99:                                               ; preds = %95
  %100 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 29
  %101 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %100)
          to label %102 unwind label %104

102:                                              ; preds = %99
  invoke void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater18AugmentSTDRSMatrixERNS_8SmartPtrINS_14DenseSymMatrixEEERKNS_17MultiVectorMatrixES7_(ptr noundef nonnull align 8 dereferenceable(424) %14, ptr noundef nonnull align 8 dereferenceable(8) %96, ptr noundef nonnull align 8 dereferenceable(128) %98, ptr noundef nonnull align 8 dereferenceable(128) %101)
          to label %103 unwind label %104

103:                                              ; preds = %102
  br label %128

104:                                              ; preds = %155, %152, %149, %147, %144, %141, %139, %136, %133, %128, %126, %123, %119, %118, %115, %114, %111, %108, %102, %99, %95, %94, %91, %90, %87, %84, %80, %77, %73
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %12, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %13, align 4
  call void @_ZN10SimTKIpopt8SmartPtrINS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #4
  br label %163

108:                                              ; preds = %81
  %109 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 18
  %110 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater16ShiftMultiVectorERNS_8SmartPtrINS_17MultiVectorMatrixEEERKNS_6VectorE(ptr noundef nonnull align 8 dereferenceable(424) %14, ptr noundef nonnull align 8 dereferenceable(8) %109, ptr noundef nonnull align 8 dereferenceable(205) %110)
          to label %111 unwind label %104

111:                                              ; preds = %108
  %112 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 29
  %113 = invoke noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %114 unwind label %104

114:                                              ; preds = %111
  invoke void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater16ShiftMultiVectorERNS_8SmartPtrINS_17MultiVectorMatrixEEERKNS_6VectorE(ptr noundef nonnull align 8 dereferenceable(424) %14, ptr noundef nonnull align 8 dereferenceable(8) %112, ptr noundef nonnull align 8 dereferenceable(205) %113)
          to label %115 unwind label %104

115:                                              ; preds = %114
  %116 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 20
  %117 = invoke noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %118 unwind label %104

118:                                              ; preds = %115
  invoke void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater16ShiftMultiVectorERNS_8SmartPtrINS_17MultiVectorMatrixEEERKNS_6VectorE(ptr noundef nonnull align 8 dereferenceable(424) %14, ptr noundef nonnull align 8 dereferenceable(8) %116, ptr noundef nonnull align 8 dereferenceable(205) %117)
          to label %119 unwind label %104

119:                                              ; preds = %118
  %120 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 30
  %121 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 18
  %122 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %121)
          to label %123 unwind label %104

123:                                              ; preds = %119
  %124 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 29
  %125 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %124)
          to label %126 unwind label %104

126:                                              ; preds = %123
  invoke void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater16ShiftSTDRSMatrixERNS_8SmartPtrINS_14DenseSymMatrixEEERKNS_17MultiVectorMatrixES7_(ptr noundef nonnull align 8 dereferenceable(424) %14, ptr noundef nonnull align 8 dereferenceable(8) %120, ptr noundef nonnull align 8 dereferenceable(128) %122, ptr noundef nonnull align 8 dereferenceable(128) %125)
          to label %127 unwind label %104

127:                                              ; preds = %126
  br label %128

128:                                              ; preds = %127, %103
  %129 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 14
  %130 = load double, ptr %129, align 8, !tbaa !37
  %131 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 13
  %132 = invoke noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %131)
          to label %133 unwind label %104

133:                                              ; preds = %128
  %134 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 18
  %135 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %134)
          to label %136 unwind label %104

136:                                              ; preds = %133
  %137 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 20
  %138 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %137)
          to label %139 unwind label %104

139:                                              ; preds = %136
  %140 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 19
  invoke void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater7RecalcYEdRKNS_6VectorERNS_17MultiVectorMatrixES5_RNS_8SmartPtrIS4_EE(ptr noundef nonnull align 8 dereferenceable(424) %14, double noundef %130, ptr noundef nonnull align 8 dereferenceable(205) %132, ptr noundef nonnull align 8 dereferenceable(128) %135, ptr noundef nonnull align 8 dereferenceable(128) %138, ptr noundef nonnull align 8 dereferenceable(8) %140)
          to label %141 unwind label %104

141:                                              ; preds = %139
  %142 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 18
  %143 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %142)
          to label %144 unwind label %104

144:                                              ; preds = %141
  %145 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 19
  %146 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %145)
          to label %147 unwind label %104

147:                                              ; preds = %144
  %148 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 21
  invoke void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater7RecalcDERNS_17MultiVectorMatrixES2_RNS_8SmartPtrINS_11DenseVectorEEE(ptr noundef nonnull align 8 dereferenceable(424) %14, ptr noundef nonnull align 8 dereferenceable(128) %143, ptr noundef nonnull align 8 dereferenceable(128) %146, ptr noundef nonnull align 8 dereferenceable(8) %148)
          to label %149 unwind label %104

149:                                              ; preds = %147
  %150 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 18
  %151 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %150)
          to label %152 unwind label %104

152:                                              ; preds = %149
  %153 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 19
  %154 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %153)
          to label %155 unwind label %104

155:                                              ; preds = %152
  %156 = getelementptr inbounds %"class.SimTKIpopt::LimMemQuasiNewtonUpdater", ptr %14, i32 0, i32 22
  invoke void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater7RecalcLERNS_17MultiVectorMatrixES2_RNS_8SmartPtrINS_14DenseGenMatrixEEE(ptr noundef nonnull align 8 dereferenceable(424) %14, ptr noundef nonnull align 8 dereferenceable(128) %151, ptr noundef nonnull align 8 dereferenceable(128) %154, ptr noundef nonnull align 8 dereferenceable(8) %156)
          to label %157 unwind label %104

157:                                              ; preds = %155
  call void @_ZN10SimTKIpopt8SmartPtrINS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  br label %158

158:                                              ; preds = %157, %72
  %159 = load i8, ptr %10, align 1, !tbaa !32, !range !34, !noundef !35
  %160 = trunc i8 %159 to i1
  store i1 %160, ptr %5, align 1
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #4
  br label %161

161:                                              ; preds = %158, %18
  %162 = load i1, ptr %5, align 1
  ret i1 %162

163:                                              ; preds = %104
  %164 = load ptr, ptr %12, align 8
  %165 = load i32, ptr %13, align 4
  %166 = insertvalue { ptr, i32 } poison, ptr %164, 0
  %167 = insertvalue { ptr, i32 } %166, i32 %165, 1
  resume { ptr, i32 } %167
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK10SimTKIpopt6Vector3DotERKS0_(ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(205)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZNK10SimTKIpopt6Vector11MakeNewCopyEv(ptr noundef nonnull align 8 dereferenceable(205)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater18AugmentMultiVectorERNS_8SmartPtrINS_17MultiVectorMatrixEEERKNS_6VectorE(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(205)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater16ShiftMultiVectorERNS_8SmartPtrINS_17MultiVectorMatrixEEERKNS_6VectorE(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(205)) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater18AugmentDenseVectorERNS_8SmartPtrINS_11DenseVectorEEEd(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(8), double noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater14AugmentLMatrixERNS_8SmartPtrINS_14DenseGenMatrixEEERKNS_17MultiVectorMatrixES7_(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(128)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater18AugmentSdotSMatrixERNS_8SmartPtrINS_14DenseSymMatrixEEERKNS_17MultiVectorMatrixE(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(128)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater16ShiftDenseVectorERNS_8SmartPtrINS_11DenseVectorEEEd(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(8), double noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater12ShiftLMatrixERNS_8SmartPtrINS_14DenseGenMatrixEEERKNS_17MultiVectorMatrixES7_(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(128)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater16ShiftSdotSMatrixERNS_8SmartPtrINS_14DenseSymMatrixEEERKNS_17MultiVectorMatrixE(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(128)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater18AugmentSTDRSMatrixERNS_8SmartPtrINS_14DenseSymMatrixEEERKNS_17MultiVectorMatrixES7_(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(128)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater16ShiftSTDRSMatrixERNS_8SmartPtrINS_14DenseSymMatrixEEERKNS_17MultiVectorMatrixES7_(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(128)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater7RecalcYEdRKNS_6VectorERNS_17MultiVectorMatrixES5_RNS_8SmartPtrIS4_EE(ptr noundef nonnull align 8 dereferenceable(424), double noundef, ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater7RecalcDERNS_17MultiVectorMatrixES2_RNS_8SmartPtrINS_11DenseVectorEEE(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater7RecalcLERNS_17MultiVectorMatrixES2_RNS_8SmartPtrINS_14DenseGenMatrixEEE(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(8)) #3 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 = { 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 #3 = { 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 #4 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !14, i64 64}
!10 = !{!"_ZTSN10SimTKIpopt24LimMemQuasiNewtonUpdaterE", !11, i64 0, !20, i64 56, !14, i64 64, !21, i64 68, !22, i64 72, !23, i64 80, !14, i64 88, !23, i64 96, !23, i64 104, !19, i64 112, !23, i64 120, !24, i64 128, !14, i64 136, !24, i64 144, !23, i64 152, !19, i64 160, !14, i64 164, !14, i64 168, !25, i64 176, !25, i64 184, !25, i64 192, !26, i64 200, !27, i64 208, !28, i64 216, !23, i64 224, !25, i64 232, !25, i64 240, !29, i64 248, !19, i64 256, !25, i64 264, !29, i64 272, !24, i64 280, !24, i64 288, !30, i64 296, !30, i64 304, !14, i64 312, !25, i64 320, !25, i64 328, !25, i64 336, !26, i64 344, !27, i64 352, !28, i64 360, !23, i64 368, !25, i64 376, !25, i64 384, !29, i64 392, !19, i64 400, !25, i64 408, !29, i64 416}
!11 = !{!"_ZTSN10SimTKIpopt14HessianUpdaterE", !12, i64 0}
!12 = !{!"_ZTSN10SimTKIpopt23AlgorithmStrategyObjectE", !13, i64 0, !15, i64 16, !16, i64 24, !17, i64 32, !18, i64 40, !19, i64 48}
!13 = !{!"_ZTSN10SimTKIpopt16ReferencedObjectE", !14, i64 8}
!14 = !{!"int", !7, i64 0}
!15 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_10JournalistEEE", !6, i64 0}
!16 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_8IpoptNLPEEE", !6, i64 0}
!17 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_9IpoptDataEEE", !6, i64 0}
!18 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_25IpoptCalculatedQuantitiesEEE", !6, i64 0}
!19 = !{!"bool", !7, i64 0}
!20 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_27LowRankUpdateSymMatrixSpaceEEE", !6, i64 0}
!21 = !{!"_ZTSN10SimTKIpopt24LimMemQuasiNewtonUpdater12LMUpdateTypeE", !7, i64 0}
!22 = !{!"_ZTSN10SimTKIpopt24LimMemQuasiNewtonUpdater16LMInitializationE", !7, i64 0}
!23 = !{!"double", !7, i64 0}
!24 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_6VectorEEE", !6, i64 0}
!25 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEE", !6, i64 0}
!26 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_11DenseVectorEEE", !6, i64 0}
!27 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_14DenseGenMatrixEEE", !6, i64 0}
!28 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_6VectorEEE", !6, i64 0}
!29 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_14DenseSymMatrixEEE", !6, i64 0}
!30 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_6MatrixEEE", !6, i64 0}
!31 = !{!10, !14, i64 168}
!32 = !{!19, !19, i64 0}
!33 = !{!10, !19, i64 112}
!34 = !{i8 0, i8 2}
!35 = !{}
!36 = !{!10, !19, i64 256}
!37 = !{!10, !23, i64 152}


; 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.SimTKIpopt::SmartPtr.25" = type { ptr }

; 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: mustprogress nounwind uwtable
declare dso_local void @_ZN10SimTKIpopt8SmartPtrINS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt6Vector19ElementWiseMultiplyERKS0_(ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(205)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater18UpdateInternalDataERKNS_6VectorES3_NS_8SmartPtrIS1_EE(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef nonnull align 8 dereferenceable(205) %1, ptr noundef nonnull align 8 dereferenceable(205) %2, ptr noundef %3) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.SimTKIpopt::SmartPtr.25", align 8
  %6 = getelementptr inbounds i8, ptr %0, i64 64
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = icmp eq i32 %7, 0
  br i1 %8, label %90, label %9

9:                                                ; preds = %4
  %10 = getelementptr inbounds i8, ptr %0, i64 168
  %11 = load i32, ptr %10, align 8, !tbaa !30
  %12 = icmp slt i32 %11, %7
  br i1 %12, label %13, label %.thread

13:                                               ; preds = %9
  %14 = add nsw i32 %11, 1
  store i32 %14, ptr %10, align 8, !tbaa !30
  %15 = getelementptr inbounds i8, ptr %0, i64 112
  %16 = load i8, ptr %15, align 8, !tbaa !31, !range !32, !noundef !33
  %17 = trunc nuw i8 %16 to i1
  br i1 %17, label %41, label %21

.thread:                                          ; preds = %9
  %18 = getelementptr inbounds i8, ptr %0, i64 112
  %19 = load i8, ptr %18, align 8, !tbaa !31, !range !32, !noundef !33
  %20 = trunc nuw i8 %19 to i1
  br i1 %20, label %41, label %.thread20

21:                                               ; preds = %13
  %22 = getelementptr inbounds i8, ptr %0, i64 176
  tail call void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater18AugmentMultiVectorERNS_8SmartPtrINS_17MultiVectorMatrixEEERKNS_6VectorE(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(205) %1)
  %23 = getelementptr inbounds i8, ptr %0, i64 184
  tail call void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater18AugmentMultiVectorERNS_8SmartPtrINS_17MultiVectorMatrixEEERKNS_6VectorE(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(205) %2)
  %24 = getelementptr inbounds i8, ptr %0, i64 200
  %25 = tail call noundef double @_ZNK10SimTKIpopt6Vector3DotERKS0_(ptr noundef nonnull align 8 dereferenceable(205) %1, ptr noundef nonnull align 8 dereferenceable(205) %2)
  tail call void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater18AugmentDenseVectorERNS_8SmartPtrINS_11DenseVectorEEEd(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef nonnull align 8 dereferenceable(8) %24, double noundef %25)
  %26 = getelementptr inbounds i8, ptr %0, i64 208
  %27 = tail call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %22)
  %28 = tail call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %23)
  tail call void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater14AugmentLMatrixERNS_8SmartPtrINS_14DenseGenMatrixEEERKNS_17MultiVectorMatrixES7_(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(128) %27, ptr noundef nonnull align 8 dereferenceable(128) %28)
  %29 = getelementptr inbounds i8, ptr %0, i64 248
  %30 = tail call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %22)
  tail call void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater18AugmentSdotSMatrixERNS_8SmartPtrINS_14DenseSymMatrixEEERKNS_17MultiVectorMatrixE(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(128) %30)
  %31 = getelementptr inbounds i8, ptr %0, i64 256
  store i8 1, ptr %31, align 8, !tbaa !34
  br label %90

.thread20:                                        ; preds = %.thread
  %32 = getelementptr inbounds i8, ptr %0, i64 176
  tail call void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater16ShiftMultiVectorERNS_8SmartPtrINS_17MultiVectorMatrixEEERKNS_6VectorE(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(205) %1)
  %33 = getelementptr inbounds i8, ptr %0, i64 184
  tail call void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater16ShiftMultiVectorERNS_8SmartPtrINS_17MultiVectorMatrixEEERKNS_6VectorE(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(205) %2)
  %34 = getelementptr inbounds i8, ptr %0, i64 200
  %35 = tail call noundef double @_ZNK10SimTKIpopt6Vector3DotERKS0_(ptr noundef nonnull align 8 dereferenceable(205) %1, ptr noundef nonnull align 8 dereferenceable(205) %2)
  tail call void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater16ShiftDenseVectorERNS_8SmartPtrINS_11DenseVectorEEEd(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef nonnull align 8 dereferenceable(8) %34, double noundef %35)
  %36 = getelementptr inbounds i8, ptr %0, i64 208
  %37 = tail call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %32)
  %38 = tail call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33)
  tail call void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater12ShiftLMatrixERNS_8SmartPtrINS_14DenseGenMatrixEEERKNS_17MultiVectorMatrixES7_(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(128) %37, ptr noundef nonnull align 8 dereferenceable(128) %38)
  %39 = getelementptr inbounds i8, ptr %0, i64 248
  %40 = tail call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %32)
  tail call void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater16ShiftSdotSMatrixERNS_8SmartPtrINS_14DenseSymMatrixEEERKNS_17MultiVectorMatrixE(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 8 dereferenceable(128) %40)
  br label %90

41:                                               ; preds = %.thread, %13
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  %42 = tail call noundef ptr @_ZNK10SimTKIpopt6Vector11MakeNewCopyEv(ptr noundef nonnull align 8 dereferenceable(205) %1)
  call void @_ZN10SimTKIpopt8SmartPtrINS_6VectorEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef %42)
  %43 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5)
  %44 = getelementptr inbounds i8, ptr %0, i64 144
  %45 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %44)
  invoke void @_ZN10SimTKIpopt6Vector19ElementWiseMultiplyERKS0_(ptr noundef nonnull align 8 dereferenceable(205) %43, ptr noundef nonnull align 8 dereferenceable(205) %45)
          to label %46 unwind label %59

46:                                               ; preds = %41
  %47 = getelementptr inbounds i8, ptr %0, i64 176
  br i1 %12, label %48, label %61

48:                                               ; preds = %46
  invoke void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater18AugmentMultiVectorERNS_8SmartPtrINS_17MultiVectorMatrixEEERKNS_6VectorE(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull align 8 dereferenceable(205) %1)
          to label %49 unwind label %59

49:                                               ; preds = %48
  %50 = getelementptr inbounds i8, ptr %0, i64 264
  %51 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5)
  invoke void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater18AugmentMultiVectorERNS_8SmartPtrINS_17MultiVectorMatrixEEERKNS_6VectorE(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull align 8 dereferenceable(205) %51)
          to label %52 unwind label %59

52:                                               ; preds = %49
  %53 = getelementptr inbounds i8, ptr %0, i64 192
  %54 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  invoke void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater18AugmentMultiVectorERNS_8SmartPtrINS_17MultiVectorMatrixEEERKNS_6VectorE(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef nonnull align 8 dereferenceable(205) %54)
          to label %55 unwind label %59

55:                                               ; preds = %52
  %56 = getelementptr inbounds i8, ptr %0, i64 272
  %57 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %47)
  %58 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %50)
  invoke void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater18AugmentSTDRSMatrixERNS_8SmartPtrINS_14DenseSymMatrixEEERKNS_17MultiVectorMatrixES7_(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef nonnull align 8 dereferenceable(128) %57, ptr noundef nonnull align 8 dereferenceable(128) %58)
          to label %72 unwind label %59

59:                                               ; preds = %85, %81, %72, %68, %65, %62, %61, %55, %52, %49, %48, %41
  %60 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN10SimTKIpopt8SmartPtrINS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  resume { ptr, i32 } %60

61:                                               ; preds = %46
  invoke void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater16ShiftMultiVectorERNS_8SmartPtrINS_17MultiVectorMatrixEEERKNS_6VectorE(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull align 8 dereferenceable(205) %1)
          to label %62 unwind label %59

62:                                               ; preds = %61
  %63 = getelementptr inbounds i8, ptr %0, i64 264
  %64 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5)
  invoke void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater16ShiftMultiVectorERNS_8SmartPtrINS_17MultiVectorMatrixEEERKNS_6VectorE(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef nonnull align 8 dereferenceable(8) %63, ptr noundef nonnull align 8 dereferenceable(205) %64)
          to label %65 unwind label %59

65:                                               ; preds = %62
  %66 = getelementptr inbounds i8, ptr %0, i64 192
  %67 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  invoke void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater16ShiftMultiVectorERNS_8SmartPtrINS_17MultiVectorMatrixEEERKNS_6VectorE(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef nonnull align 8 dereferenceable(8) %66, ptr noundef nonnull align 8 dereferenceable(205) %67)
          to label %68 unwind label %59

68:                                               ; preds = %65
  %69 = getelementptr inbounds i8, ptr %0, i64 272
  %70 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %47)
  %71 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %63)
  invoke void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater16ShiftSTDRSMatrixERNS_8SmartPtrINS_14DenseSymMatrixEEERKNS_17MultiVectorMatrixES7_(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef nonnull align 8 dereferenceable(8) %69, ptr noundef nonnull align 8 dereferenceable(128) %70, ptr noundef nonnull align 8 dereferenceable(128) %71)
          to label %72 unwind label %59

72:                                               ; preds = %68, %55
  %73 = getelementptr inbounds i8, ptr %0, i64 152
  %74 = load double, ptr %73, align 8, !tbaa !35
  %75 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %44)
  %76 = getelementptr inbounds i8, ptr %0, i64 176
  %77 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %76)
  %78 = getelementptr inbounds i8, ptr %0, i64 192
  %79 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %78)
  %80 = getelementptr inbounds i8, ptr %0, i64 184
  invoke void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater7RecalcYEdRKNS_6VectorERNS_17MultiVectorMatrixES5_RNS_8SmartPtrIS4_EE(ptr noundef nonnull align 8 dereferenceable(424) %0, double noundef %74, ptr noundef nonnull align 8 dereferenceable(205) %75, ptr noundef nonnull align 8 dereferenceable(128) %77, ptr noundef nonnull align 8 dereferenceable(128) %79, ptr noundef nonnull align 8 dereferenceable(8) %80)
          to label %81 unwind label %59

81:                                               ; preds = %72
  %82 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %76)
  %83 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %80)
  %84 = getelementptr inbounds i8, ptr %0, i64 200
  invoke void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater7RecalcDERNS_17MultiVectorMatrixES2_RNS_8SmartPtrINS_11DenseVectorEEE(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef nonnull align 8 dereferenceable(128) %82, ptr noundef nonnull align 8 dereferenceable(128) %83, ptr noundef nonnull align 8 dereferenceable(8) %84)
          to label %85 unwind label %59

85:                                               ; preds = %81
  %86 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %76)
  %87 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %80)
  %88 = getelementptr inbounds i8, ptr %0, i64 208
  invoke void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater7RecalcLERNS_17MultiVectorMatrixES2_RNS_8SmartPtrINS_14DenseGenMatrixEEE(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef nonnull align 8 dereferenceable(128) %86, ptr noundef nonnull align 8 dereferenceable(128) %87, ptr noundef nonnull align 8 dereferenceable(8) %88)
          to label %89 unwind label %59

89:                                               ; preds = %85
  call void @_ZN10SimTKIpopt8SmartPtrINS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  br label %90

90:                                               ; preds = %89, %.thread20, %21, %4
  %.0 = phi i1 [ false, %4 ], [ true, %21 ], [ false, %.thread20 ], [ %12, %89 ]
  ret i1 %.0
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK10SimTKIpopt6Vector3DotERKS0_(ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(205)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZNK10SimTKIpopt6Vector11MakeNewCopyEv(ptr noundef nonnull align 8 dereferenceable(205)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater18AugmentMultiVectorERNS_8SmartPtrINS_17MultiVectorMatrixEEERKNS_6VectorE(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(205)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater16ShiftMultiVectorERNS_8SmartPtrINS_17MultiVectorMatrixEEERKNS_6VectorE(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(205)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZNK10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater18AugmentDenseVectorERNS_8SmartPtrINS_11DenseVectorEEEd(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(8), double noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater14AugmentLMatrixERNS_8SmartPtrINS_14DenseGenMatrixEEERKNS_17MultiVectorMatrixES7_(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater18AugmentSdotSMatrixERNS_8SmartPtrINS_14DenseSymMatrixEEERKNS_17MultiVectorMatrixE(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater16ShiftDenseVectorERNS_8SmartPtrINS_11DenseVectorEEEd(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(8), double noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater12ShiftLMatrixERNS_8SmartPtrINS_14DenseGenMatrixEEERKNS_17MultiVectorMatrixES7_(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater16ShiftSdotSMatrixERNS_8SmartPtrINS_14DenseSymMatrixEEERKNS_17MultiVectorMatrixE(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater18AugmentSTDRSMatrixERNS_8SmartPtrINS_14DenseSymMatrixEEERKNS_17MultiVectorMatrixES7_(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater16ShiftSTDRSMatrixERNS_8SmartPtrINS_14DenseSymMatrixEEERKNS_17MultiVectorMatrixES7_(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater7RecalcYEdRKNS_6VectorERNS_17MultiVectorMatrixES5_RNS_8SmartPtrIS4_EE(ptr noundef nonnull align 8 dereferenceable(424), double noundef, ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater7RecalcDERNS_17MultiVectorMatrixES2_RNS_8SmartPtrINS_11DenseVectorEEE(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt24LimMemQuasiNewtonUpdater7RecalcLERNS_17MultiVectorMatrixES2_RNS_8SmartPtrINS_14DenseGenMatrixEEE(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 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 = { 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 #3 = { 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 #4 = { 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, !10, i64 64}
!6 = !{!"_ZTSN10SimTKIpopt24LimMemQuasiNewtonUpdaterE", !7, i64 0, !19, i64 56, !10, i64 64, !20, i64 68, !21, i64 72, !22, i64 80, !10, i64 88, !22, i64 96, !22, i64 104, !18, i64 112, !22, i64 120, !23, i64 128, !10, i64 136, !23, i64 144, !22, i64 152, !18, i64 160, !10, i64 164, !10, i64 168, !24, i64 176, !24, i64 184, !24, i64 192, !25, i64 200, !26, i64 208, !27, i64 216, !22, i64 224, !24, i64 232, !24, i64 240, !28, i64 248, !18, i64 256, !24, i64 264, !28, i64 272, !23, i64 280, !23, i64 288, !29, i64 296, !29, i64 304, !10, i64 312, !24, i64 320, !24, i64 328, !24, i64 336, !25, i64 344, !26, i64 352, !27, i64 360, !22, i64 368, !24, i64 376, !24, i64 384, !28, i64 392, !18, i64 400, !24, i64 408, !28, i64 416}
!7 = !{!"_ZTSN10SimTKIpopt14HessianUpdaterE", !8, i64 0}
!8 = !{!"_ZTSN10SimTKIpopt23AlgorithmStrategyObjectE", !9, i64 0, !13, i64 16, !15, i64 24, !16, i64 32, !17, i64 40, !18, i64 48}
!9 = !{!"_ZTSN10SimTKIpopt16ReferencedObjectE", !10, i64 8}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_10JournalistEEE", !14, i64 0}
!14 = !{!"any pointer", !11, i64 0}
!15 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_8IpoptNLPEEE", !14, i64 0}
!16 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_9IpoptDataEEE", !14, i64 0}
!17 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_25IpoptCalculatedQuantitiesEEE", !14, i64 0}
!18 = !{!"bool", !11, i64 0}
!19 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_27LowRankUpdateSymMatrixSpaceEEE", !14, i64 0}
!20 = !{!"_ZTSN10SimTKIpopt24LimMemQuasiNewtonUpdater12LMUpdateTypeE", !11, i64 0}
!21 = !{!"_ZTSN10SimTKIpopt24LimMemQuasiNewtonUpdater16LMInitializationE", !11, i64 0}
!22 = !{!"double", !11, i64 0}
!23 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_6VectorEEE", !14, i64 0}
!24 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_17MultiVectorMatrixEEE", !14, i64 0}
!25 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_11DenseVectorEEE", !14, i64 0}
!26 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_14DenseGenMatrixEEE", !14, i64 0}
!27 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_6VectorEEE", !14, i64 0}
!28 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_14DenseSymMatrixEEE", !14, i64 0}
!29 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_6MatrixEEE", !14, i64 0}
!30 = !{!6, !10, i64 168}
!31 = !{!6, !18, i64 112}
!32 = !{i8 0, i8 2}
!33 = !{}
!34 = !{!6, !18, i64 256}
!35 = !{!6, !22, i64 152}


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