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

; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.15" = type { i8 }
%"class.SimTKIpopt::TSymLinearSolver" = type <{ %"class.SimTKIpopt::SymLinearSolver.base", [3 x i8], i32, i32, i32, i32, i8, i8, i8, i8, %"class.SimTKIpopt::SmartPtr.6", %"class.SimTKIpopt::SmartPtr.7", ptr, i8, i8, [6 x i8], ptr, ptr, %"class.SimTKIpopt::SmartPtr.12", %"class.SimTKIpopt::SmartPtr.13", i32, i8, [3 x i8] }>
%"class.SimTKIpopt::SymLinearSolver.base" = type { %"class.SimTKIpopt::AlgorithmStrategyObject.base" }
%"class.SimTKIpopt::AlgorithmStrategyObject.base" = type <{ %"class.SimTKIpopt::ReferencedObject.base", [4 x i8], %"class.SimTKIpopt::SmartPtr.8", %"class.SimTKIpopt::SmartPtr.9", %"class.SimTKIpopt::SmartPtr.10", %"class.SimTKIpopt::SmartPtr.11", i8 }>
%"class.SimTKIpopt::ReferencedObject.base" = type <{ ptr, i32 }>
%"class.SimTKIpopt::SmartPtr.8" = type { ptr }
%"class.SimTKIpopt::SmartPtr.9" = type { ptr }
%"class.SimTKIpopt::SmartPtr.10" = type { ptr }
%"class.SimTKIpopt::SmartPtr.11" = type { ptr }
%"class.SimTKIpopt::SmartPtr.6" = type { ptr }
%"class.SimTKIpopt::SmartPtr.7" = type { ptr }
%"class.SimTKIpopt::SmartPtr.12" = type { ptr }
%"class.SimTKIpopt::SmartPtr.13" = type { ptr }

@.str.11 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [59 x i8], align 1
@_ZTIN10SimTKIpopt30ERROR_IN_LINEAR_SCALING_METHODE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.18 = external hidden unnamed_addr constant [31 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: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #1

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject5JnlstEv(ptr noundef nonnull align 8 dereferenceable(49)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49)) #3 align 2

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_throw(ptr, ptr, ptr)

declare void @__cxa_free_exception(ptr)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt9TimedTask5StartEv(ptr noundef nonnull align 8 dereferenceable(18)) #3 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10SimTKIpopt16TSymLinearSolver18GiveMatrixToSolverEbRKNS_9SymMatrixE(ptr noundef nonnull align 8 dereferenceable(141) %0, i1 noundef zeroext %1, ptr noundef nonnull align 8 dereferenceable(80) %2) #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca i8, align 1
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i8, align 1
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::allocator.15", align 1
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator.15", align 1
  %16 = alloca i1, align 1
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  %19 = zext i1 %1 to i8
  store i8 %19, ptr %5, align 1, !tbaa !9
  store ptr %2, ptr %6, align 8, !tbaa !5
  %20 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %21 = getelementptr inbounds %"class.SimTKIpopt::TSymLinearSolver", ptr %20, i32 0, i32 10
  %22 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_30SparseSymLinearSolverInterfaceEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %21)
  %23 = load ptr, ptr %22, align 8, !tbaa !11
  %24 = getelementptr inbounds ptr, ptr %23, i64 4
  %25 = load ptr, ptr %24, align 8
  %26 = call noundef ptr %25(ptr noundef nonnull align 8 dereferenceable(49) %22)
  store ptr %26, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %27 = getelementptr inbounds %"class.SimTKIpopt::TSymLinearSolver", ptr %20, i32 0, i32 20
  %28 = load i32, ptr %27, align 8, !tbaa !13
  %29 = icmp ne i32 %28, 0
  br i1 %29, label %30, label %39

30:                                               ; preds = %3
  %31 = getelementptr inbounds %"class.SimTKIpopt::TSymLinearSolver", ptr %20, i32 0, i32 4
  %32 = load i32, ptr %31, align 4, !tbaa !28
  %33 = sext i32 %32 to i64
  %34 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %33, i64 8)
  %35 = extractvalue { i64, i1 } %34, 1
  %36 = extractvalue { i64, i1 } %34, 0
  %37 = select i1 %35, i64 -1, i64 %36
  %38 = call noalias noundef nonnull ptr @_Znam(i64 noundef %37) #8
  store ptr %38, ptr %8, align 8, !tbaa !5
  br label %41

39:                                               ; preds = %3
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %40, ptr %8, align 8, !tbaa !5
  br label %41

41:                                               ; preds = %39, %30
  %42 = getelementptr inbounds %"class.SimTKIpopt::TSymLinearSolver", ptr %20, i32 0, i32 4
  %43 = load i32, ptr %42, align 4, !tbaa !28
  %44 = load ptr, ptr %6, align 8, !tbaa !5
  %45 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN10SimTKIpopt13TripletHelper10FillValuesEiRKNS_6MatrixEPd(i32 noundef %43, ptr noundef nonnull align 8 dereferenceable(69) %44, ptr noundef %45)
  %46 = getelementptr inbounds %"class.SimTKIpopt::TSymLinearSolver", ptr %20, i32 0, i32 13
  %47 = load i8, ptr %46, align 8, !tbaa !29, !range !30, !noundef !31
  %48 = trunc i8 %47 to i1
  br i1 %48, label %49, label %174

49:                                               ; preds = %41
  %50 = call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %20)
  %51 = call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %50)
  %52 = call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics19LinearSystemScalingEv(ptr noundef nonnull align 8 dereferenceable(664) %51)
  call void @_ZN10SimTKIpopt9TimedTask5StartEv(ptr noundef nonnull align 8 dereferenceable(18) %52)
  %53 = load i8, ptr %5, align 1, !tbaa !9, !range !30, !noundef !31
  %54 = trunc i8 %53 to i1
  br i1 %54, label %59, label %55

55:                                               ; preds = %49
  %56 = getelementptr inbounds %"class.SimTKIpopt::TSymLinearSolver", ptr %20, i32 0, i32 14
  %57 = load i8, ptr %56, align 1, !tbaa !32, !range !30, !noundef !31
  %58 = trunc i8 %57 to i1
  br i1 %58, label %59, label %128

59:                                               ; preds = %55, %49
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #7
  %60 = getelementptr inbounds %"class.SimTKIpopt::TSymLinearSolver", ptr %20, i32 0, i32 11
  %61 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_17TSymScalingMethodEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %60)
  %62 = getelementptr inbounds %"class.SimTKIpopt::TSymLinearSolver", ptr %20, i32 0, i32 3
  %63 = load i32, ptr %62, align 8, !tbaa !33
  %64 = getelementptr inbounds %"class.SimTKIpopt::TSymLinearSolver", ptr %20, i32 0, i32 4
  %65 = load i32, ptr %64, align 4, !tbaa !28
  %66 = getelementptr inbounds %"class.SimTKIpopt::TSymLinearSolver", ptr %20, i32 0, i32 16
  %67 = load ptr, ptr %66, align 8, !tbaa !34
  %68 = getelementptr inbounds %"class.SimTKIpopt::TSymLinearSolver", ptr %20, i32 0, i32 17
  %69 = load ptr, ptr %68, align 8, !tbaa !35
  %70 = load ptr, ptr %8, align 8, !tbaa !5
  %71 = getelementptr inbounds %"class.SimTKIpopt::TSymLinearSolver", ptr %20, i32 0, i32 12
  %72 = load ptr, ptr %71, align 8, !tbaa !36
  %73 = load ptr, ptr %61, align 8, !tbaa !11
  %74 = getelementptr inbounds ptr, ptr %73, i64 3
  %75 = load ptr, ptr %74, align 8
  %76 = call noundef zeroext i1 %75(ptr noundef nonnull align 8 dereferenceable(49) %61, i32 noundef %63, i32 noundef %65, ptr noundef %67, ptr noundef %69, ptr noundef %70, ptr noundef %72)
  %77 = zext i1 %76 to i8
  store i8 %77, ptr %9, align 1, !tbaa !9
  %78 = load i8, ptr %9, align 1, !tbaa !9, !range !30, !noundef !31
  %79 = trunc i8 %78 to i1
  br i1 %79, label %103, label %80

80:                                               ; preds = %59
  %81 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject5JnlstEv(ptr noundef nonnull align 8 dereferenceable(49) %20)
  call void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %81, i32 noundef 1, i32 noundef 7, ptr noundef @.str.16)
  store i1 true, ptr %16, align 1
  %82 = call ptr @__cxa_allocate_exception(i64 112) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef @.str.17, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %83 unwind label %86

83:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef @.str.11, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %84 unwind label %90

84:                                               ; preds = %83
  invoke void @_ZN10SimTKIpopt30ERROR_IN_LINEAR_SCALING_METHODC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_i(ptr noundef nonnull align 8 dereferenceable(112) %82, ptr noundef %10, ptr noundef %14, i32 noundef 410)
          to label %85 unwind label %94

85:                                               ; preds = %84
  store i1 false, ptr %16, align 1
  invoke void @__cxa_throw(ptr %82, ptr @_ZTIN10SimTKIpopt30ERROR_IN_LINEAR_SCALING_METHODE, ptr @_ZN10SimTKIpopt14IpoptExceptionD2Ev) #9
          to label %217 unwind label %94

86:                                               ; preds = %80
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %12, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %13, align 4
  br label %99

90:                                               ; preds = %83
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %12, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %13, align 4
  br label %98

94:                                               ; preds = %85, %84
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %12, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  br label %98

98:                                               ; preds = %94, %90
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  br label %99

99:                                               ; preds = %98, %86
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #7
  %100 = load i1, ptr %16, align 1
  br i1 %100, label %101, label %102

101:                                              ; preds = %99
  call void @__cxa_free_exception(ptr %82) #7
  br label %102

102:                                              ; preds = %101, %99
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  br label %212

103:                                              ; preds = %59
  %104 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject5JnlstEv(ptr noundef nonnull align 8 dereferenceable(49) %20)
  %105 = call noundef zeroext i1 @_ZNK10SimTKIpopt10Journalist13ProduceOutputENS_13EJournalLevelENS_16EJournalCategoryE(ptr noundef nonnull align 8 dereferenceable(40) %104, i32 noundef 8, i32 noundef 7)
  br i1 %105, label %106, label %126

106:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  store i32 0, ptr %17, align 4, !tbaa !37
  br label %107

107:                                              ; preds = %122, %106
  %108 = load i32, ptr %17, align 4, !tbaa !37
  %109 = getelementptr inbounds %"class.SimTKIpopt::TSymLinearSolver", ptr %20, i32 0, i32 3
  %110 = load i32, ptr %109, align 8, !tbaa !33
  %111 = icmp slt i32 %108, %110
  br i1 %111, label %113, label %112

112:                                              ; preds = %107
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %125

113:                                              ; preds = %107
  %114 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject5JnlstEv(ptr noundef nonnull align 8 dereferenceable(49) %20)
  %115 = load i32, ptr %17, align 4, !tbaa !37
  %116 = getelementptr inbounds %"class.SimTKIpopt::TSymLinearSolver", ptr %20, i32 0, i32 12
  %117 = load ptr, ptr %116, align 8, !tbaa !36
  %118 = load i32, ptr %17, align 4, !tbaa !37
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds double, ptr %117, i64 %119
  %121 = load double, ptr %120, align 8, !tbaa !38
  call void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %114, i32 noundef 8, i32 noundef 7, ptr noundef @.str.18, i32 noundef %115, double noundef %121)
  br label %122

122:                                              ; preds = %113
  %123 = load i32, ptr %17, align 4, !tbaa !37
  %124 = add nsw i32 %123, 1
  store i32 %124, ptr %17, align 4, !tbaa !37
  br label %107, !llvm.loop !40

125:                                              ; preds = %112
  br label %126

126:                                              ; preds = %125, %103
  %127 = getelementptr inbounds %"class.SimTKIpopt::TSymLinearSolver", ptr %20, i32 0, i32 14
  store i8 0, ptr %127, align 1, !tbaa !32
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #7
  br label %128

128:                                              ; preds = %126, %55
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  store i32 0, ptr %18, align 4, !tbaa !37
  br label %129

129:                                              ; preds = %167, %128
  %130 = load i32, ptr %18, align 4, !tbaa !37
  %131 = getelementptr inbounds %"class.SimTKIpopt::TSymLinearSolver", ptr %20, i32 0, i32 4
  %132 = load i32, ptr %131, align 4, !tbaa !28
  %133 = icmp slt i32 %130, %132
  br i1 %133, label %135, label %134

134:                                              ; preds = %129
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %170

135:                                              ; preds = %129
  %136 = getelementptr inbounds %"class.SimTKIpopt::TSymLinearSolver", ptr %20, i32 0, i32 12
  %137 = load ptr, ptr %136, align 8, !tbaa !36
  %138 = getelementptr inbounds %"class.SimTKIpopt::TSymLinearSolver", ptr %20, i32 0, i32 16
  %139 = load ptr, ptr %138, align 8, !tbaa !34
  %140 = load i32, ptr %18, align 4, !tbaa !37
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds i32, ptr %139, i64 %141
  %143 = load i32, ptr %142, align 4, !tbaa !37
  %144 = sub nsw i32 %143, 1
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds double, ptr %137, i64 %145
  %147 = load double, ptr %146, align 8, !tbaa !38
  %148 = getelementptr inbounds %"class.SimTKIpopt::TSymLinearSolver", ptr %20, i32 0, i32 12
  %149 = load ptr, ptr %148, align 8, !tbaa !36
  %150 = getelementptr inbounds %"class.SimTKIpopt::TSymLinearSolver", ptr %20, i32 0, i32 17
  %151 = load ptr, ptr %150, align 8, !tbaa !35
  %152 = load i32, ptr %18, align 4, !tbaa !37
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds i32, ptr %151, i64 %153
  %155 = load i32, ptr %154, align 4, !tbaa !37
  %156 = sub nsw i32 %155, 1
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds double, ptr %149, i64 %157
  %159 = load double, ptr %158, align 8, !tbaa !38
  %160 = fmul double %147, %159
  %161 = load ptr, ptr %8, align 8, !tbaa !5
  %162 = load i32, ptr %18, align 4, !tbaa !37
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds double, ptr %161, i64 %163
  %165 = load double, ptr %164, align 8, !tbaa !38
  %166 = fmul double %165, %160
  store double %166, ptr %164, align 8, !tbaa !38
  br label %167

167:                                              ; preds = %135
  %168 = load i32, ptr %18, align 4, !tbaa !37
  %169 = add nsw i32 %168, 1
  store i32 %169, ptr %18, align 4, !tbaa !37
  br label %129, !llvm.loop !42

170:                                              ; preds = %134
  %171 = call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %20)
  %172 = call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %171)
  %173 = call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics19LinearSystemScalingEv(ptr noundef nonnull align 8 dereferenceable(664) %172)
  call void @_ZN10SimTKIpopt9TimedTask3EndEv(ptr noundef nonnull align 8 dereferenceable(18) %173)
  br label %174

174:                                              ; preds = %170, %41
  %175 = getelementptr inbounds %"class.SimTKIpopt::TSymLinearSolver", ptr %20, i32 0, i32 20
  %176 = load i32, ptr %175, align 8, !tbaa !13
  %177 = icmp ne i32 %176, 0
  br i1 %177, label %178, label %211

178:                                              ; preds = %174
  %179 = call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %20)
  %180 = call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %179)
  %181 = call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics30LinearSystemStructureConverterEv(ptr noundef nonnull align 8 dereferenceable(664) %180)
  call void @_ZN10SimTKIpopt9TimedTask5StartEv(ptr noundef nonnull align 8 dereferenceable(18) %181)
  %182 = getelementptr inbounds %"class.SimTKIpopt::TSymLinearSolver", ptr %20, i32 0, i32 20
  %183 = load i32, ptr %182, align 8, !tbaa !13
  %184 = icmp eq i32 %183, 3
  br i1 %184, label %185, label %194

185:                                              ; preds = %178
  %186 = getelementptr inbounds %"class.SimTKIpopt::TSymLinearSolver", ptr %20, i32 0, i32 19
  %187 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_23TripletToDenseConverterEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %186)
  %188 = getelementptr inbounds %"class.SimTKIpopt::TSymLinearSolver", ptr %20, i32 0, i32 4
  %189 = load i32, ptr %188, align 4, !tbaa !28
  %190 = load ptr, ptr %8, align 8, !tbaa !5
  %191 = getelementptr inbounds %"class.SimTKIpopt::TSymLinearSolver", ptr %20, i32 0, i32 3
  %192 = load i32, ptr %191, align 8, !tbaa !33
  %193 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN10SimTKIpopt23TripletToDenseConverter13ConvertValuesEiPKdiPd(ptr noundef nonnull align 8 dereferenceable(72) %187, i32 noundef %189, ptr noundef %190, i32 noundef %192, ptr noundef %193)
  br label %203

194:                                              ; preds = %178
  %195 = getelementptr inbounds %"class.SimTKIpopt::TSymLinearSolver", ptr %20, i32 0, i32 18
  %196 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_21TripletToCSRConverterEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %195)
  %197 = getelementptr inbounds %"class.SimTKIpopt::TSymLinearSolver", ptr %20, i32 0, i32 4
  %198 = load i32, ptr %197, align 4, !tbaa !28
  %199 = load ptr, ptr %8, align 8, !tbaa !5
  %200 = getelementptr inbounds %"class.SimTKIpopt::TSymLinearSolver", ptr %20, i32 0, i32 5
  %201 = load i32, ptr %200, align 8, !tbaa !43
  %202 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN10SimTKIpopt21TripletToCSRConverter13ConvertValuesEiPKdiPd(ptr noundef nonnull align 8 dereferenceable(72) %196, i32 noundef %198, ptr noundef %199, i32 noundef %201, ptr noundef %202)
  br label %203

203:                                              ; preds = %194, %185
  %204 = call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %20)
  %205 = call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %204)
  %206 = call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics30LinearSystemStructureConverterEv(ptr noundef nonnull align 8 dereferenceable(664) %205)
  call void @_ZN10SimTKIpopt9TimedTask3EndEv(ptr noundef nonnull align 8 dereferenceable(18) %206)
  %207 = load ptr, ptr %8, align 8, !tbaa !5
  %208 = icmp eq ptr %207, null
  br i1 %208, label %210, label %209

209:                                              ; preds = %203
  call void @_ZdaPv(ptr noundef %207) #10
  br label %210

210:                                              ; preds = %209, %203
  br label %211

211:                                              ; preds = %210, %174
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  ret void

212:                                              ; preds = %102
  %213 = load ptr, ptr %12, align 8
  %214 = load i32, ptr %13, align 4
  %215 = insertvalue { ptr, i32 } poison, ptr %213, 0
  %216 = insertvalue { ptr, i32 } %215, i32 %214, 1
  resume { ptr, i32 } %216

217:                                              ; preds = %85
  unreachable
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #4

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #5

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

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

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

declare void @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef, ptr noundef, ...) #6

declare void @_ZN10SimTKIpopt13TripletHelper10FillValuesEiRKNS_6MatrixEPd(i32 noundef, ptr noundef nonnull align 8 dereferenceable(69), ptr noundef) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt30ERROR_IN_LINEAR_SCALING_METHODC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_i(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef, ptr noundef, i32 noundef) unnamed_addr #3 align 2

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

declare noundef zeroext i1 @_ZNK10SimTKIpopt10Journalist13ProduceOutputENS_13EJournalLevelENS_16EJournalCategoryE(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef) #6

declare void @_ZN10SimTKIpopt23TripletToDenseConverter13ConvertValuesEiPKdiPd(ptr noundef nonnull align 8 dereferenceable(72), i32 noundef, ptr noundef, i32 noundef, ptr noundef) #6

declare void @_ZN10SimTKIpopt21TripletToCSRConverter13ConvertValuesEiPKdiPd(ptr noundef nonnull align 8 dereferenceable(72), i32 noundef, ptr noundef, i32 noundef, ptr noundef) #6

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { noreturn }
attributes #10 = { builtin 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, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !27, i64 136}
!14 = !{!"_ZTSN10SimTKIpopt16TSymLinearSolverE", !15, i64 0, !18, i64 52, !18, i64 56, !18, i64 60, !18, i64 64, !10, i64 68, !10, i64 69, !10, i64 70, !23, i64 72, !24, i64 80, !6, i64 88, !10, i64 96, !10, i64 97, !6, i64 104, !6, i64 112, !25, i64 120, !26, i64 128, !27, i64 136, !10, i64 140}
!15 = !{!"_ZTSN10SimTKIpopt15SymLinearSolverE", !16, i64 0}
!16 = !{!"_ZTSN10SimTKIpopt23AlgorithmStrategyObjectE", !17, i64 0, !19, i64 16, !20, i64 24, !21, i64 32, !22, i64 40, !10, i64 48}
!17 = !{!"_ZTSN10SimTKIpopt16ReferencedObjectE", !18, i64 8}
!18 = !{!"int", !7, i64 0}
!19 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_10JournalistEEE", !6, i64 0}
!20 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_8IpoptNLPEEE", !6, i64 0}
!21 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_9IpoptDataEEE", !6, i64 0}
!22 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_25IpoptCalculatedQuantitiesEEE", !6, i64 0}
!23 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_30SparseSymLinearSolverInterfaceEEE", !6, i64 0}
!24 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_17TSymScalingMethodEEE", !6, i64 0}
!25 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_21TripletToCSRConverterEEE", !6, i64 0}
!26 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_23TripletToDenseConverterEEE", !6, i64 0}
!27 = !{!"_ZTSN10SimTKIpopt30SparseSymLinearSolverInterface13EMatrixFormatE", !7, i64 0}
!28 = !{!14, !18, i64 60}
!29 = !{!14, !10, i64 96}
!30 = !{i8 0, i8 2}
!31 = !{}
!32 = !{!14, !10, i64 97}
!33 = !{!14, !18, i64 56}
!34 = !{!14, !6, i64 104}
!35 = !{!14, !6, i64 112}
!36 = !{!14, !6, i64 88}
!37 = !{!18, !18, i64 0}
!38 = !{!39, !39, i64 0}
!39 = !{!"double", !7, i64 0}
!40 = distinct !{!40, !41}
!41 = !{!"llvm.loop.mustprogress"}
!42 = distinct !{!42, !41}
!43 = !{!14, !18, i64 64}


; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.15" = type { i8 }

@.str.11 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [59 x i8], align 1
@_ZTIN10SimTKIpopt30ERROR_IN_LINEAR_SCALING_METHODE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.18 = external hidden unnamed_addr constant [31 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: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #1

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject5JnlstEv(ptr noundef nonnull align 8 dereferenceable(49)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49)) local_unnamed_addr #3 align 2

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt9TimedTask5StartEv(ptr noundef nonnull align 8 dereferenceable(18)) local_unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10SimTKIpopt16TSymLinearSolver18GiveMatrixToSolverEbRKNS_9SymMatrixE(ptr noundef nonnull align 8 dereferenceable(141) %0, i1 noundef zeroext %1, ptr noundef nonnull align 8 dereferenceable(80) %2) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::allocator.15", align 1
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::allocator.15", align 1
  %8 = getelementptr inbounds i8, ptr %0, i64 72
  %9 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_30SparseSymLinearSolverInterfaceEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8)
  %10 = load ptr, ptr %9, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %10, i64 32
  %12 = load ptr, ptr %11, align 8
  %13 = tail call noundef ptr %12(ptr noundef nonnull align 8 dereferenceable(49) %9)
  %14 = getelementptr inbounds i8, ptr %0, i64 136
  %15 = load i32, ptr %14, align 8, !tbaa !8
  %.not = icmp eq i32 %15, 0
  %.phi.trans.insert = getelementptr inbounds i8, ptr %0, i64 60
  %.pre = load i32, ptr %.phi.trans.insert, align 4, !tbaa !26
  br i1 %.not, label %._crit_edge48, label %16

16:                                               ; preds = %3
  %17 = sext i32 %.pre to i64
  %18 = icmp slt i32 %.pre, 0
  %19 = shl nsw i64 %17, 3
  %20 = select i1 %18, i64 -1, i64 %19
  %21 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %20) #6
  br label %._crit_edge48

._crit_edge48:                                    ; preds = %3, %16
  %.030 = phi ptr [ %21, %16 ], [ %13, %3 ]
  %22 = getelementptr inbounds i8, ptr %0, i64 60
  tail call void @_ZN10SimTKIpopt13TripletHelper10FillValuesEiRKNS_6MatrixEPd(i32 noundef %.pre, ptr noundef nonnull align 8 dereferenceable(69) %2, ptr noundef %.030)
  %23 = getelementptr inbounds i8, ptr %0, i64 96
  %24 = load i8, ptr %23, align 8, !tbaa !27, !range !28, !noundef !29
  %25 = trunc nuw i8 %24 to i1
  br i1 %25, label %26, label %127

26:                                               ; preds = %._crit_edge48
  %27 = tail call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %0)
  %28 = tail call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %27)
  %29 = tail call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics19LinearSystemScalingEv(ptr noundef nonnull align 8 dereferenceable(664) %28)
  tail call void @_ZN10SimTKIpopt9TimedTask5StartEv(ptr noundef nonnull align 8 dereferenceable(18) %29)
  br i1 %1, label %34, label %30

30:                                               ; preds = %26
  %31 = getelementptr inbounds i8, ptr %0, i64 97
  %32 = load i8, ptr %31, align 1, !tbaa !30, !range !28, !noundef !29
  %33 = trunc nuw i8 %32 to i1
  br i1 %33, label %34, label %77

34:                                               ; preds = %30, %26
  %35 = getelementptr inbounds i8, ptr %0, i64 80
  %36 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_17TSymScalingMethodEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %35)
  %37 = getelementptr inbounds i8, ptr %0, i64 56
  %38 = load i32, ptr %37, align 8, !tbaa !31
  %39 = load i32, ptr %22, align 4, !tbaa !26
  %40 = getelementptr inbounds i8, ptr %0, i64 104
  %41 = load ptr, ptr %40, align 8, !tbaa !32
  %42 = getelementptr inbounds i8, ptr %0, i64 112
  %43 = load ptr, ptr %42, align 8, !tbaa !33
  %44 = getelementptr inbounds i8, ptr %0, i64 88
  %45 = load ptr, ptr %44, align 8, !tbaa !34
  %46 = load ptr, ptr %36, align 8, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %46, i64 24
  %48 = load ptr, ptr %47, align 8
  %49 = tail call noundef zeroext i1 %48(ptr noundef nonnull align 8 dereferenceable(49) %36, i32 noundef %38, i32 noundef %39, ptr noundef %41, ptr noundef %43, ptr noundef %.030, ptr noundef %45)
  %50 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject5JnlstEv(ptr noundef nonnull align 8 dereferenceable(49) %0)
  br i1 %49, label %64, label %51

51:                                               ; preds = %34
  tail call void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %50, i32 noundef 1, i32 noundef 7, ptr noundef nonnull @.str.16)
  %52 = tail call ptr @__cxa_allocate_exception(i64 112) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.17, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %53 unwind label %.thread

53:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.11, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %54 unwind label %57

54:                                               ; preds = %53
  invoke void @_ZN10SimTKIpopt30ERROR_IN_LINEAR_SCALING_METHODC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_i(ptr noundef nonnull align 8 dereferenceable(112) %52, ptr noundef nonnull %4, ptr noundef nonnull %6, i32 noundef 410)
          to label %55 unwind label %59

55:                                               ; preds = %54
  invoke void @__cxa_throw(ptr nonnull %52, ptr nonnull @_ZTIN10SimTKIpopt30ERROR_IN_LINEAR_SCALING_METHODE, ptr nonnull @_ZN10SimTKIpopt14IpoptExceptionD2Ev) #8
          to label %154 unwind label %59

.thread:                                          ; preds = %51
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #7
  br label %62

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

59:                                               ; preds = %55, %54
  %.025 = phi i1 [ false, %55 ], [ true, %54 ]
  %60 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  br label %61

61:                                               ; preds = %57, %59
  %.pn = phi { ptr, i32 } [ %60, %59 ], [ %58, %57 ]
  %.1 = phi i1 [ %.025, %59 ], [ true, %57 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #7
  br i1 %.1, label %62, label %63

62:                                               ; preds = %.thread, %61
  %.pn.pn37 = phi { ptr, i32 } [ %56, %.thread ], [ %.pn, %61 ]
  call void @__cxa_free_exception(ptr %52) #7
  br label %63

63:                                               ; preds = %62, %61
  %.pn.pn36 = phi { ptr, i32 } [ %.pn.pn37, %62 ], [ %.pn, %61 ]
  resume { ptr, i32 } %.pn.pn36

64:                                               ; preds = %34
  %65 = tail call noundef zeroext i1 @_ZNK10SimTKIpopt10Journalist13ProduceOutputENS_13EJournalLevelENS_16EJournalCategoryE(ptr noundef nonnull align 8 dereferenceable(40) %50, i32 noundef 8, i32 noundef 7)
  %66 = load i32, ptr %37, align 8
  %67 = icmp sgt i32 %66, 0
  %or.cond = select i1 %65, i1 %67, i1 false
  br i1 %or.cond, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %64, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %64 ]
  %68 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject5JnlstEv(ptr noundef nonnull align 8 dereferenceable(49) %0)
  %69 = load ptr, ptr %44, align 8, !tbaa !34
  %70 = getelementptr inbounds double, ptr %69, i64 %indvars.iv
  %71 = load double, ptr %70, align 8, !tbaa !35
  %72 = trunc nuw nsw i64 %indvars.iv to i32
  tail call void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %68, i32 noundef 8, i32 noundef 7, ptr noundef nonnull @.str.18, i32 noundef %72, double noundef %71)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %73 = load i32, ptr %37, align 8, !tbaa !31
  %74 = sext i32 %73 to i64
  %75 = icmp slt i64 %indvars.iv.next, %74
  br i1 %75, label %.lr.ph, label %.loopexit, !llvm.loop !37

.loopexit:                                        ; preds = %.lr.ph, %64
  %76 = getelementptr inbounds i8, ptr %0, i64 97
  store i8 0, ptr %76, align 1, !tbaa !30
  br label %77

77:                                               ; preds = %.loopexit, %30
  %78 = load i32, ptr %22, align 4, !tbaa !26
  %79 = icmp sgt i32 %78, 0
  br i1 %79, label %.lr.ph40, label %._crit_edge

.lr.ph40:                                         ; preds = %77
  %80 = getelementptr inbounds i8, ptr %0, i64 88
  %81 = load ptr, ptr %80, align 8, !tbaa !34
  %82 = getelementptr inbounds i8, ptr %0, i64 104
  %83 = load ptr, ptr %82, align 8, !tbaa !32
  %invariant.gep = getelementptr i8, ptr %81, i64 -8
  %84 = getelementptr inbounds i8, ptr %0, i64 112
  %85 = load ptr, ptr %84, align 8, !tbaa !33
  %wide.trip.count = zext nneg i32 %78 to i64
  %xtraiter = and i64 %wide.trip.count, 1
  %86 = icmp eq i32 %78, 1
  br i1 %86, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph40.new

.lr.ph40.new:                                     ; preds = %.lr.ph40
  %unroll_iter = and i64 %wide.trip.count, 2147483646
  br label %102

._crit_edge.loopexit.unr-lcssa:                   ; preds = %102, %.lr.ph40
  %indvars.iv45.unr = phi i64 [ 0, %.lr.ph40 ], [ %indvars.iv.next46.1, %102 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %._crit_edge.loopexit.epilog-lcssa

._crit_edge.loopexit.epilog-lcssa:                ; preds = %._crit_edge.loopexit.unr-lcssa
  %87 = getelementptr inbounds i32, ptr %83, i64 %indvars.iv45.unr
  %88 = load i32, ptr %87, align 4, !tbaa !39
  %89 = sext i32 %88 to i64
  %gep.epil = getelementptr double, ptr %invariant.gep, i64 %89
  %90 = load double, ptr %gep.epil, align 8, !tbaa !35
  %91 = getelementptr inbounds i32, ptr %85, i64 %indvars.iv45.unr
  %92 = load i32, ptr %91, align 4, !tbaa !39
  %93 = sext i32 %92 to i64
  %gep42.epil = getelementptr double, ptr %invariant.gep, i64 %93
  %94 = load double, ptr %gep42.epil, align 8, !tbaa !35
  %95 = fmul double %90, %94
  %96 = getelementptr inbounds double, ptr %.030, i64 %indvars.iv45.unr
  %97 = load double, ptr %96, align 8, !tbaa !35
  %98 = fmul double %97, %95
  store double %98, ptr %96, align 8, !tbaa !35
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit.epilog-lcssa, %._crit_edge.loopexit.unr-lcssa, %77
  %99 = tail call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %0)
  %100 = tail call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %99)
  %101 = tail call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics19LinearSystemScalingEv(ptr noundef nonnull align 8 dereferenceable(664) %100)
  tail call void @_ZN10SimTKIpopt9TimedTask3EndEv(ptr noundef nonnull align 8 dereferenceable(18) %101)
  br label %127

102:                                              ; preds = %102, %.lr.ph40.new
  %indvars.iv45 = phi i64 [ 0, %.lr.ph40.new ], [ %indvars.iv.next46.1, %102 ]
  %niter = phi i64 [ 0, %.lr.ph40.new ], [ %niter.next.1, %102 ]
  %103 = getelementptr inbounds i32, ptr %83, i64 %indvars.iv45
  %104 = load i32, ptr %103, align 4, !tbaa !39
  %105 = sext i32 %104 to i64
  %gep = getelementptr double, ptr %invariant.gep, i64 %105
  %106 = load double, ptr %gep, align 8, !tbaa !35
  %107 = getelementptr inbounds i32, ptr %85, i64 %indvars.iv45
  %108 = load i32, ptr %107, align 4, !tbaa !39
  %109 = sext i32 %108 to i64
  %gep42 = getelementptr double, ptr %invariant.gep, i64 %109
  %110 = load double, ptr %gep42, align 8, !tbaa !35
  %111 = fmul double %106, %110
  %112 = getelementptr inbounds double, ptr %.030, i64 %indvars.iv45
  %113 = load double, ptr %112, align 8, !tbaa !35
  %114 = fmul double %113, %111
  store double %114, ptr %112, align 8, !tbaa !35
  %indvars.iv.next46 = or disjoint i64 %indvars.iv45, 1
  %115 = getelementptr inbounds i32, ptr %83, i64 %indvars.iv.next46
  %116 = load i32, ptr %115, align 4, !tbaa !39
  %117 = sext i32 %116 to i64
  %gep.1 = getelementptr double, ptr %invariant.gep, i64 %117
  %118 = load double, ptr %gep.1, align 8, !tbaa !35
  %119 = getelementptr inbounds i32, ptr %85, i64 %indvars.iv.next46
  %120 = load i32, ptr %119, align 4, !tbaa !39
  %121 = sext i32 %120 to i64
  %gep42.1 = getelementptr double, ptr %invariant.gep, i64 %121
  %122 = load double, ptr %gep42.1, align 8, !tbaa !35
  %123 = fmul double %118, %122
  %124 = getelementptr inbounds double, ptr %.030, i64 %indvars.iv.next46
  %125 = load double, ptr %124, align 8, !tbaa !35
  %126 = fmul double %125, %123
  store double %126, ptr %124, align 8, !tbaa !35
  %indvars.iv.next46.1 = add nuw nsw i64 %indvars.iv45, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge.loopexit.unr-lcssa, label %102, !llvm.loop !40

127:                                              ; preds = %._crit_edge, %._crit_edge48
  %128 = load i32, ptr %14, align 8, !tbaa !8
  %.not33 = icmp eq i32 %128, 0
  br i1 %.not33, label %153, label %129

129:                                              ; preds = %127
  %130 = tail call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %0)
  %131 = tail call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %130)
  %132 = tail call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics30LinearSystemStructureConverterEv(ptr noundef nonnull align 8 dereferenceable(664) %131)
  tail call void @_ZN10SimTKIpopt9TimedTask5StartEv(ptr noundef nonnull align 8 dereferenceable(18) %132)
  %133 = load i32, ptr %14, align 8, !tbaa !8
  %134 = icmp eq i32 %133, 3
  br i1 %134, label %135, label %141

135:                                              ; preds = %129
  %136 = getelementptr inbounds i8, ptr %0, i64 128
  %137 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_23TripletToDenseConverterEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %136)
  %138 = load i32, ptr %22, align 4, !tbaa !26
  %139 = getelementptr inbounds i8, ptr %0, i64 56
  %140 = load i32, ptr %139, align 8, !tbaa !31
  tail call void @_ZN10SimTKIpopt23TripletToDenseConverter13ConvertValuesEiPKdiPd(ptr noundef nonnull align 8 dereferenceable(72) %137, i32 noundef %138, ptr noundef %.030, i32 noundef %140, ptr noundef %13)
  br label %147

141:                                              ; preds = %129
  %142 = getelementptr inbounds i8, ptr %0, i64 120
  %143 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_21TripletToCSRConverterEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %142)
  %144 = load i32, ptr %22, align 4, !tbaa !26
  %145 = getelementptr inbounds i8, ptr %0, i64 64
  %146 = load i32, ptr %145, align 8, !tbaa !41
  tail call void @_ZN10SimTKIpopt21TripletToCSRConverter13ConvertValuesEiPKdiPd(ptr noundef nonnull align 8 dereferenceable(72) %143, i32 noundef %144, ptr noundef %.030, i32 noundef %146, ptr noundef %13)
  br label %147

147:                                              ; preds = %141, %135
  %148 = tail call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %0)
  %149 = tail call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %148)
  %150 = tail call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics30LinearSystemStructureConverterEv(ptr noundef nonnull align 8 dereferenceable(664) %149)
  tail call void @_ZN10SimTKIpopt9TimedTask3EndEv(ptr noundef nonnull align 8 dereferenceable(18) %150)
  %151 = icmp eq ptr %.030, null
  br i1 %151, label %153, label %152

152:                                              ; preds = %147
  tail call void @_ZdaPv(ptr noundef nonnull %.030) #9
  br label %153

153:                                              ; preds = %147, %152, %127
  ret void

154:                                              ; preds = %55
  unreachable
}

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #4

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

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

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

declare void @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #5

declare void @_ZN10SimTKIpopt13TripletHelper10FillValuesEiRKNS_6MatrixEPd(i32 noundef, ptr noundef nonnull align 8 dereferenceable(69), ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt30ERROR_IN_LINEAR_SCALING_METHODC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_i(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef, ptr noundef, i32 noundef) unnamed_addr #3 align 2

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

declare noundef zeroext i1 @_ZNK10SimTKIpopt10Journalist13ProduceOutputENS_13EJournalLevelENS_16EJournalCategoryE(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef) local_unnamed_addr #5

declare void @_ZN10SimTKIpopt23TripletToDenseConverter13ConvertValuesEiPKdiPd(ptr noundef nonnull align 8 dereferenceable(72), i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

declare void @_ZN10SimTKIpopt21TripletToCSRConverter13ConvertValuesEiPKdiPd(ptr noundef nonnull align 8 dereferenceable(72), i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { 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 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { builtin allocsize(0) }
attributes #7 = { nounwind }
attributes #8 = { noreturn }
attributes #9 = { builtin 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !25, i64 136}
!9 = !{!"_ZTSN10SimTKIpopt16TSymLinearSolverE", !10, i64 0, !13, i64 52, !13, i64 56, !13, i64 60, !13, i64 64, !20, i64 68, !20, i64 69, !20, i64 70, !21, i64 72, !22, i64 80, !16, i64 88, !20, i64 96, !20, i64 97, !16, i64 104, !16, i64 112, !23, i64 120, !24, i64 128, !25, i64 136, !20, i64 140}
!10 = !{!"_ZTSN10SimTKIpopt15SymLinearSolverE", !11, i64 0}
!11 = !{!"_ZTSN10SimTKIpopt23AlgorithmStrategyObjectE", !12, i64 0, !15, i64 16, !17, i64 24, !18, i64 32, !19, i64 40, !20, i64 48}
!12 = !{!"_ZTSN10SimTKIpopt16ReferencedObjectE", !13, i64 8}
!13 = !{!"int", !14, i64 0}
!14 = !{!"omnipotent char", !7, i64 0}
!15 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_10JournalistEEE", !16, i64 0}
!16 = !{!"any pointer", !14, i64 0}
!17 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_8IpoptNLPEEE", !16, i64 0}
!18 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_9IpoptDataEEE", !16, i64 0}
!19 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_25IpoptCalculatedQuantitiesEEE", !16, i64 0}
!20 = !{!"bool", !14, i64 0}
!21 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_30SparseSymLinearSolverInterfaceEEE", !16, i64 0}
!22 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_17TSymScalingMethodEEE", !16, i64 0}
!23 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_21TripletToCSRConverterEEE", !16, i64 0}
!24 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_23TripletToDenseConverterEEE", !16, i64 0}
!25 = !{!"_ZTSN10SimTKIpopt30SparseSymLinearSolverInterface13EMatrixFormatE", !14, i64 0}
!26 = !{!9, !13, i64 60}
!27 = !{!9, !20, i64 96}
!28 = !{i8 0, i8 2}
!29 = !{}
!30 = !{!9, !20, i64 97}
!31 = !{!9, !13, i64 56}
!32 = !{!9, !16, i64 104}
!33 = !{!9, !16, i64 112}
!34 = !{!9, !16, i64 88}
!35 = !{!36, !36, i64 0}
!36 = !{!"double", !14, i64 0}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!13, !13, i64 0}
!40 = distinct !{!40, !38}
!41 = !{!9, !13, i64 64}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass