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

; 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::DenseVector" = type { %"class.SimTKIpopt::Vector.base", ptr, ptr, i8, i8, double }
%"class.SimTKIpopt::Vector.base" = type <{ %"class.SimTKIpopt::TaggedObject", %"class.SimTKIpopt::SmartPtr", %"class.SimTKIpopt::CachedResults", i32, [4 x i8], double, i32, [4 x i8], double, i32, [4 x i8], double, i32, [4 x i8], double, i32, [4 x i8], double, i32, [4 x i8], double, i32, [4 x i8], double, i32, i8 }>
%"class.SimTKIpopt::TaggedObject" = type { %"class.SimTKIpopt::ReferencedObject.base", %"class.SimTKIpopt::Subject", i32, i32 }
%"class.SimTKIpopt::ReferencedObject.base" = type <{ ptr, i32 }>
%"class.SimTKIpopt::Subject" = type { ptr, %"class.std::vector.0" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<SimTKIpopt::Observer *, std::allocator<SimTKIpopt::Observer *>>::_Vector_impl" }
%"struct.std::_Vector_base<SimTKIpopt::Observer *, std::allocator<SimTKIpopt::Observer *>>::_Vector_impl" = type { %"struct.std::_Vector_base<SimTKIpopt::Observer *, std::allocator<SimTKIpopt::Observer *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<SimTKIpopt::Observer *, std::allocator<SimTKIpopt::Observer *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.SimTKIpopt::SmartPtr" = type { ptr }
%"class.SimTKIpopt::CachedResults" = type { ptr, i32, ptr }

@_ZTIN10SimTKIpopt6VectorE = external dso_local constant { ptr, ptr, ptr }, align 8
@_ZTIN10SimTKIpopt11DenseVectorE = external dso_local constant { ptr, ptr, ptr }, align 8

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

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

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

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

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

; Function Attrs: nounwind willreturn memory(read)
declare ptr @__dynamic_cast(ptr, ptr, ptr, i64) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10SimTKIpopt11DenseVector21AddVectorQuotientImplEdRKNS_6VectorES3_d(ptr noundef nonnull align 8 dereferenceable(240) %0, double noundef %1, ptr noundef nonnull align 8 dereferenceable(205) %2, ptr noundef nonnull align 8 dereferenceable(205) %3, double noundef %4) unnamed_addr #5 align 2 {
  %6 = alloca ptr, align 8
  %7 = alloca double, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca double, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i8, align 1
  %14 = alloca i8, align 1
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca double, align 8
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store double %1, ptr %7, align 8, !tbaa !9
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store double %4, ptr %10, align 8, !tbaa !9
  %29 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %30 = load ptr, ptr %8, align 8, !tbaa !5
  %31 = icmp eq ptr %30, null
  br i1 %31, label %34, label %32

32:                                               ; preds = %5
  %33 = call ptr @__dynamic_cast(ptr %30, ptr @_ZTIN10SimTKIpopt6VectorE, ptr @_ZTIN10SimTKIpopt11DenseVectorE, i64 0) #6
  br label %35

34:                                               ; preds = %5
  br label %35

35:                                               ; preds = %34, %32
  %36 = phi ptr [ %33, %32 ], [ null, %34 ]
  store ptr %36, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %37 = load ptr, ptr %9, align 8, !tbaa !5
  %38 = icmp eq ptr %37, null
  br i1 %38, label %41, label %39

39:                                               ; preds = %35
  %40 = call ptr @__dynamic_cast(ptr %37, ptr @_ZTIN10SimTKIpopt6VectorE, ptr @_ZTIN10SimTKIpopt11DenseVectorE, i64 0) #6
  br label %42

41:                                               ; preds = %35
  br label %42

42:                                               ; preds = %41, %39
  %43 = phi ptr [ %40, %39 ], [ null, %41 ]
  store ptr %43, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #6
  %44 = load ptr, ptr %11, align 8, !tbaa !5
  %45 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %44, i32 0, i32 4
  %46 = load i8, ptr %45, align 1, !tbaa !11, !range !25, !noundef !26
  %47 = trunc i8 %46 to i1
  %48 = zext i1 %47 to i8
  store i8 %48, ptr %13, align 1, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #6
  %49 = load ptr, ptr %12, align 8, !tbaa !5
  %50 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %49, i32 0, i32 4
  %51 = load i8, ptr %50, align 1, !tbaa !11, !range !25, !noundef !26
  %52 = trunc i8 %51 to i1
  %53 = zext i1 %52 to i8
  store i8 %53, ptr %14, align 1, !tbaa !27
  %54 = load double, ptr %10, align 8, !tbaa !9
  %55 = fcmp oeq double %54, 0.000000e+00
  br i1 %55, label %60, label %56

56:                                               ; preds = %42
  %57 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %29, i32 0, i32 4
  %58 = load i8, ptr %57, align 1, !tbaa !11, !range !25, !noundef !26
  %59 = trunc i8 %58 to i1
  br i1 %59, label %60, label %108

60:                                               ; preds = %56, %42
  %61 = load i8, ptr %13, align 1, !tbaa !27, !range !25, !noundef !26
  %62 = trunc i8 %61 to i1
  br i1 %62, label %63, label %108

63:                                               ; preds = %60
  %64 = load i8, ptr %14, align 1, !tbaa !27, !range !25, !noundef !26
  %65 = trunc i8 %64 to i1
  br i1 %65, label %66, label %108

66:                                               ; preds = %63
  %67 = load double, ptr %10, align 8, !tbaa !9
  %68 = fcmp oeq double %67, 0.000000e+00
  br i1 %68, label %69, label %80

69:                                               ; preds = %66
  %70 = load double, ptr %7, align 8, !tbaa !9
  %71 = load ptr, ptr %11, align 8, !tbaa !5
  %72 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %71, i32 0, i32 5
  %73 = load double, ptr %72, align 8, !tbaa !28
  %74 = fmul double %70, %73
  %75 = load ptr, ptr %12, align 8, !tbaa !5
  %76 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %75, i32 0, i32 5
  %77 = load double, ptr %76, align 8, !tbaa !28
  %78 = fdiv double %74, %77
  %79 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %29, i32 0, i32 5
  store double %78, ptr %79, align 8, !tbaa !28
  br label %95

80:                                               ; preds = %66
  %81 = load double, ptr %10, align 8, !tbaa !9
  %82 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %29, i32 0, i32 5
  %83 = load double, ptr %82, align 8, !tbaa !28
  %84 = load double, ptr %7, align 8, !tbaa !9
  %85 = load ptr, ptr %11, align 8, !tbaa !5
  %86 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %85, i32 0, i32 5
  %87 = load double, ptr %86, align 8, !tbaa !28
  %88 = fmul double %84, %87
  %89 = load ptr, ptr %12, align 8, !tbaa !5
  %90 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %89, i32 0, i32 5
  %91 = load double, ptr %90, align 8, !tbaa !28
  %92 = fdiv double %88, %91
  %93 = call double @llvm.fmuladd.f64(double %81, double %83, double %92)
  %94 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %29, i32 0, i32 5
  store double %93, ptr %94, align 8, !tbaa !28
  br label %95

95:                                               ; preds = %80, %69
  %96 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %29, i32 0, i32 3
  store i8 1, ptr %96, align 8, !tbaa !29
  %97 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %29, i32 0, i32 4
  store i8 1, ptr %97, align 1, !tbaa !11
  %98 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %29, i32 0, i32 2
  %99 = load ptr, ptr %98, align 8, !tbaa !30
  %100 = icmp ne ptr %99, null
  br i1 %100, label %101, label %107

101:                                              ; preds = %95
  %102 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %29, i32 0, i32 1
  %103 = load ptr, ptr %102, align 8, !tbaa !31
  %104 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %29, i32 0, i32 2
  %105 = load ptr, ptr %104, align 8, !tbaa !30
  call void @_ZNK10SimTKIpopt16DenseVectorSpace19FreeInternalStorageEPd(ptr noundef nonnull align 8 dereferenceable(16) %103, ptr noundef %105)
  %106 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %29, i32 0, i32 2
  store ptr null, ptr %106, align 8, !tbaa !30
  br label %107

107:                                              ; preds = %101, %95
  store i32 1, ptr %15, align 4
  br label %470

108:                                              ; preds = %63, %60, %56
  %109 = call noundef ptr @_ZN10SimTKIpopt11DenseVector16values_allocatedEv(ptr noundef nonnull align 8 dereferenceable(240) %29)
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %110 = load ptr, ptr %11, align 8, !tbaa !5
  %111 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %110, i32 0, i32 2
  %112 = load ptr, ptr %111, align 8, !tbaa !30
  store ptr %112, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %113 = load ptr, ptr %12, align 8, !tbaa !5
  %114 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %113, i32 0, i32 2
  %115 = load ptr, ptr %114, align 8, !tbaa !30
  store ptr %115, ptr %17, align 8, !tbaa !5
  %116 = load double, ptr %10, align 8, !tbaa !9
  %117 = fcmp oeq double %116, 0.000000e+00
  br i1 %117, label %118, label %209

118:                                              ; preds = %108
  %119 = load i8, ptr %13, align 1, !tbaa !27, !range !25, !noundef !26
  %120 = trunc i8 %119 to i1
  br i1 %120, label %121, label %148

121:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store i32 0, ptr %18, align 4, !tbaa !32
  br label %122

122:                                              ; preds = %144, %121
  %123 = load i32, ptr %18, align 4, !tbaa !32
  %124 = call noundef i32 @_ZNK10SimTKIpopt6Vector3DimEv(ptr noundef nonnull align 8 dereferenceable(205) %29)
  %125 = icmp slt i32 %123, %124
  br i1 %125, label %127, label %126

126:                                              ; preds = %122
  store i32 2, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  br label %147

127:                                              ; preds = %122
  %128 = load double, ptr %7, align 8, !tbaa !9
  %129 = load ptr, ptr %11, align 8, !tbaa !5
  %130 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %129, i32 0, i32 5
  %131 = load double, ptr %130, align 8, !tbaa !28
  %132 = fmul double %128, %131
  %133 = load ptr, ptr %17, align 8, !tbaa !5
  %134 = load i32, ptr %18, align 4, !tbaa !32
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds double, ptr %133, i64 %135
  %137 = load double, ptr %136, align 8, !tbaa !9
  %138 = fdiv double %132, %137
  %139 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %29, i32 0, i32 2
  %140 = load ptr, ptr %139, align 8, !tbaa !30
  %141 = load i32, ptr %18, align 4, !tbaa !32
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds double, ptr %140, i64 %142
  store double %138, ptr %143, align 8, !tbaa !9
  br label %144

144:                                              ; preds = %127
  %145 = load i32, ptr %18, align 4, !tbaa !32
  %146 = add nsw i32 %145, 1
  store i32 %146, ptr %18, align 4, !tbaa !32
  br label %122, !llvm.loop !33

147:                                              ; preds = %126
  br label %208

148:                                              ; preds = %118
  %149 = load i8, ptr %14, align 1, !tbaa !27, !range !25, !noundef !26
  %150 = trunc i8 %149 to i1
  br i1 %150, label %151, label %178

151:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store i32 0, ptr %19, align 4, !tbaa !32
  br label %152

152:                                              ; preds = %174, %151
  %153 = load i32, ptr %19, align 4, !tbaa !32
  %154 = call noundef i32 @_ZNK10SimTKIpopt6Vector3DimEv(ptr noundef nonnull align 8 dereferenceable(205) %29)
  %155 = icmp slt i32 %153, %154
  br i1 %155, label %157, label %156

156:                                              ; preds = %152
  store i32 5, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %177

157:                                              ; preds = %152
  %158 = load ptr, ptr %16, align 8, !tbaa !5
  %159 = load i32, ptr %19, align 4, !tbaa !32
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds double, ptr %158, i64 %160
  %162 = load double, ptr %161, align 8, !tbaa !9
  %163 = load double, ptr %7, align 8, !tbaa !9
  %164 = fmul double %162, %163
  %165 = load ptr, ptr %12, align 8, !tbaa !5
  %166 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %165, i32 0, i32 5
  %167 = load double, ptr %166, align 8, !tbaa !28
  %168 = fdiv double %164, %167
  %169 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %29, i32 0, i32 2
  %170 = load ptr, ptr %169, align 8, !tbaa !30
  %171 = load i32, ptr %19, align 4, !tbaa !32
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds double, ptr %170, i64 %172
  store double %168, ptr %173, align 8, !tbaa !9
  br label %174

174:                                              ; preds = %157
  %175 = load i32, ptr %19, align 4, !tbaa !32
  %176 = add nsw i32 %175, 1
  store i32 %176, ptr %19, align 4, !tbaa !32
  br label %152, !llvm.loop !35

177:                                              ; preds = %156
  br label %207

178:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  store i32 0, ptr %20, align 4, !tbaa !32
  br label %179

179:                                              ; preds = %203, %178
  %180 = load i32, ptr %20, align 4, !tbaa !32
  %181 = call noundef i32 @_ZNK10SimTKIpopt6Vector3DimEv(ptr noundef nonnull align 8 dereferenceable(205) %29)
  %182 = icmp slt i32 %180, %181
  br i1 %182, label %184, label %183

183:                                              ; preds = %179
  store i32 8, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  br label %206

184:                                              ; preds = %179
  %185 = load double, ptr %7, align 8, !tbaa !9
  %186 = load ptr, ptr %16, align 8, !tbaa !5
  %187 = load i32, ptr %20, align 4, !tbaa !32
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds double, ptr %186, i64 %188
  %190 = load double, ptr %189, align 8, !tbaa !9
  %191 = fmul double %185, %190
  %192 = load ptr, ptr %17, align 8, !tbaa !5
  %193 = load i32, ptr %20, align 4, !tbaa !32
  %194 = sext i32 %193 to i64
  %195 = getelementptr inbounds double, ptr %192, i64 %194
  %196 = load double, ptr %195, align 8, !tbaa !9
  %197 = fdiv double %191, %196
  %198 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %29, i32 0, i32 2
  %199 = load ptr, ptr %198, align 8, !tbaa !30
  %200 = load i32, ptr %20, align 4, !tbaa !32
  %201 = sext i32 %200 to i64
  %202 = getelementptr inbounds double, ptr %199, i64 %201
  store double %197, ptr %202, align 8, !tbaa !9
  br label %203

203:                                              ; preds = %184
  %204 = load i32, ptr %20, align 4, !tbaa !32
  %205 = add nsw i32 %204, 1
  store i32 %205, ptr %20, align 4, !tbaa !32
  br label %179, !llvm.loop !36

206:                                              ; preds = %183
  br label %207

207:                                              ; preds = %206, %177
  br label %208

208:                                              ; preds = %207, %147
  br label %467

209:                                              ; preds = %108
  %210 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %29, i32 0, i32 4
  %211 = load i8, ptr %210, align 1, !tbaa !11, !range !25, !noundef !26
  %212 = trunc i8 %211 to i1
  br i1 %212, label %213, label %314

213:                                              ; preds = %209
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %214 = load double, ptr %10, align 8, !tbaa !9
  %215 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %29, i32 0, i32 5
  %216 = load double, ptr %215, align 8, !tbaa !28
  %217 = fmul double %214, %216
  store double %217, ptr %21, align 8, !tbaa !9
  %218 = load i8, ptr %13, align 1, !tbaa !27, !range !25, !noundef !26
  %219 = trunc i8 %218 to i1
  br i1 %219, label %220, label %249

220:                                              ; preds = %213
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  store i32 0, ptr %22, align 4, !tbaa !32
  br label %221

221:                                              ; preds = %245, %220
  %222 = load i32, ptr %22, align 4, !tbaa !32
  %223 = call noundef i32 @_ZNK10SimTKIpopt6Vector3DimEv(ptr noundef nonnull align 8 dereferenceable(205) %29)
  %224 = icmp slt i32 %222, %223
  br i1 %224, label %226, label %225

225:                                              ; preds = %221
  store i32 11, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  br label %248

226:                                              ; preds = %221
  %227 = load double, ptr %21, align 8, !tbaa !9
  %228 = load double, ptr %7, align 8, !tbaa !9
  %229 = load ptr, ptr %11, align 8, !tbaa !5
  %230 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %229, i32 0, i32 5
  %231 = load double, ptr %230, align 8, !tbaa !28
  %232 = fmul double %228, %231
  %233 = load ptr, ptr %17, align 8, !tbaa !5
  %234 = load i32, ptr %22, align 4, !tbaa !32
  %235 = sext i32 %234 to i64
  %236 = getelementptr inbounds double, ptr %233, i64 %235
  %237 = load double, ptr %236, align 8, !tbaa !9
  %238 = fdiv double %232, %237
  %239 = fadd double %227, %238
  %240 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %29, i32 0, i32 2
  %241 = load ptr, ptr %240, align 8, !tbaa !30
  %242 = load i32, ptr %22, align 4, !tbaa !32
  %243 = sext i32 %242 to i64
  %244 = getelementptr inbounds double, ptr %241, i64 %243
  store double %239, ptr %244, align 8, !tbaa !9
  br label %245

245:                                              ; preds = %226
  %246 = load i32, ptr %22, align 4, !tbaa !32
  %247 = add nsw i32 %246, 1
  store i32 %247, ptr %22, align 4, !tbaa !32
  br label %221, !llvm.loop !37

248:                                              ; preds = %225
  br label %313

249:                                              ; preds = %213
  %250 = load i8, ptr %14, align 1, !tbaa !27, !range !25, !noundef !26
  %251 = trunc i8 %250 to i1
  br i1 %251, label %252, label %281

252:                                              ; preds = %249
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  store i32 0, ptr %23, align 4, !tbaa !32
  br label %253

253:                                              ; preds = %277, %252
  %254 = load i32, ptr %23, align 4, !tbaa !32
  %255 = call noundef i32 @_ZNK10SimTKIpopt6Vector3DimEv(ptr noundef nonnull align 8 dereferenceable(205) %29)
  %256 = icmp slt i32 %254, %255
  br i1 %256, label %258, label %257

257:                                              ; preds = %253
  store i32 14, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %280

258:                                              ; preds = %253
  %259 = load double, ptr %21, align 8, !tbaa !9
  %260 = load ptr, ptr %16, align 8, !tbaa !5
  %261 = load i32, ptr %23, align 4, !tbaa !32
  %262 = sext i32 %261 to i64
  %263 = getelementptr inbounds double, ptr %260, i64 %262
  %264 = load double, ptr %263, align 8, !tbaa !9
  %265 = load double, ptr %7, align 8, !tbaa !9
  %266 = fmul double %264, %265
  %267 = load ptr, ptr %12, align 8, !tbaa !5
  %268 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %267, i32 0, i32 5
  %269 = load double, ptr %268, align 8, !tbaa !28
  %270 = fdiv double %266, %269
  %271 = fadd double %259, %270
  %272 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %29, i32 0, i32 2
  %273 = load ptr, ptr %272, align 8, !tbaa !30
  %274 = load i32, ptr %23, align 4, !tbaa !32
  %275 = sext i32 %274 to i64
  %276 = getelementptr inbounds double, ptr %273, i64 %275
  store double %271, ptr %276, align 8, !tbaa !9
  br label %277

277:                                              ; preds = %258
  %278 = load i32, ptr %23, align 4, !tbaa !32
  %279 = add nsw i32 %278, 1
  store i32 %279, ptr %23, align 4, !tbaa !32
  br label %253, !llvm.loop !38

280:                                              ; preds = %257
  br label %312

281:                                              ; preds = %249
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  store i32 0, ptr %24, align 4, !tbaa !32
  br label %282

282:                                              ; preds = %308, %281
  %283 = load i32, ptr %24, align 4, !tbaa !32
  %284 = call noundef i32 @_ZNK10SimTKIpopt6Vector3DimEv(ptr noundef nonnull align 8 dereferenceable(205) %29)
  %285 = icmp slt i32 %283, %284
  br i1 %285, label %287, label %286

286:                                              ; preds = %282
  store i32 17, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  br label %311

287:                                              ; preds = %282
  %288 = load double, ptr %21, align 8, !tbaa !9
  %289 = load double, ptr %7, align 8, !tbaa !9
  %290 = load ptr, ptr %16, align 8, !tbaa !5
  %291 = load i32, ptr %24, align 4, !tbaa !32
  %292 = sext i32 %291 to i64
  %293 = getelementptr inbounds double, ptr %290, i64 %292
  %294 = load double, ptr %293, align 8, !tbaa !9
  %295 = fmul double %289, %294
  %296 = load ptr, ptr %17, align 8, !tbaa !5
  %297 = load i32, ptr %24, align 4, !tbaa !32
  %298 = sext i32 %297 to i64
  %299 = getelementptr inbounds double, ptr %296, i64 %298
  %300 = load double, ptr %299, align 8, !tbaa !9
  %301 = fdiv double %295, %300
  %302 = fadd double %288, %301
  %303 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %29, i32 0, i32 2
  %304 = load ptr, ptr %303, align 8, !tbaa !30
  %305 = load i32, ptr %24, align 4, !tbaa !32
  %306 = sext i32 %305 to i64
  %307 = getelementptr inbounds double, ptr %304, i64 %306
  store double %302, ptr %307, align 8, !tbaa !9
  br label %308

308:                                              ; preds = %287
  %309 = load i32, ptr %24, align 4, !tbaa !32
  %310 = add nsw i32 %309, 1
  store i32 %310, ptr %24, align 4, !tbaa !32
  br label %282, !llvm.loop !39

311:                                              ; preds = %286
  br label %312

312:                                              ; preds = %311, %280
  br label %313

313:                                              ; preds = %312, %248
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %466

314:                                              ; preds = %209
  %315 = load i8, ptr %13, align 1, !tbaa !27, !range !25, !noundef !26
  %316 = trunc i8 %315 to i1
  br i1 %316, label %317, label %389

317:                                              ; preds = %314
  %318 = load i8, ptr %14, align 1, !tbaa !27, !range !25, !noundef !26
  %319 = trunc i8 %318 to i1
  br i1 %319, label %320, label %353

320:                                              ; preds = %317
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  store i32 0, ptr %25, align 4, !tbaa !32
  br label %321

321:                                              ; preds = %349, %320
  %322 = load i32, ptr %25, align 4, !tbaa !32
  %323 = call noundef i32 @_ZNK10SimTKIpopt6Vector3DimEv(ptr noundef nonnull align 8 dereferenceable(205) %29)
  %324 = icmp slt i32 %322, %323
  br i1 %324, label %326, label %325

325:                                              ; preds = %321
  store i32 20, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  br label %352

326:                                              ; preds = %321
  %327 = load double, ptr %10, align 8, !tbaa !9
  %328 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %29, i32 0, i32 2
  %329 = load ptr, ptr %328, align 8, !tbaa !30
  %330 = load i32, ptr %25, align 4, !tbaa !32
  %331 = sext i32 %330 to i64
  %332 = getelementptr inbounds double, ptr %329, i64 %331
  %333 = load double, ptr %332, align 8, !tbaa !9
  %334 = load double, ptr %7, align 8, !tbaa !9
  %335 = load ptr, ptr %11, align 8, !tbaa !5
  %336 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %335, i32 0, i32 5
  %337 = load double, ptr %336, align 8, !tbaa !28
  %338 = fmul double %334, %337
  %339 = load ptr, ptr %12, align 8, !tbaa !5
  %340 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %339, i32 0, i32 5
  %341 = load double, ptr %340, align 8, !tbaa !28
  %342 = fdiv double %338, %341
  %343 = call double @llvm.fmuladd.f64(double %327, double %333, double %342)
  %344 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %29, i32 0, i32 2
  %345 = load ptr, ptr %344, align 8, !tbaa !30
  %346 = load i32, ptr %25, align 4, !tbaa !32
  %347 = sext i32 %346 to i64
  %348 = getelementptr inbounds double, ptr %345, i64 %347
  store double %343, ptr %348, align 8, !tbaa !9
  br label %349

349:                                              ; preds = %326
  %350 = load i32, ptr %25, align 4, !tbaa !32
  %351 = add nsw i32 %350, 1
  store i32 %351, ptr %25, align 4, !tbaa !32
  br label %321, !llvm.loop !40

352:                                              ; preds = %325
  br label %388

353:                                              ; preds = %317
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  store i32 0, ptr %26, align 4, !tbaa !32
  br label %354

354:                                              ; preds = %384, %353
  %355 = load i32, ptr %26, align 4, !tbaa !32
  %356 = call noundef i32 @_ZNK10SimTKIpopt6Vector3DimEv(ptr noundef nonnull align 8 dereferenceable(205) %29)
  %357 = icmp slt i32 %355, %356
  br i1 %357, label %359, label %358

358:                                              ; preds = %354
  store i32 23, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  br label %387

359:                                              ; preds = %354
  %360 = load double, ptr %10, align 8, !tbaa !9
  %361 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %29, i32 0, i32 2
  %362 = load ptr, ptr %361, align 8, !tbaa !30
  %363 = load i32, ptr %26, align 4, !tbaa !32
  %364 = sext i32 %363 to i64
  %365 = getelementptr inbounds double, ptr %362, i64 %364
  %366 = load double, ptr %365, align 8, !tbaa !9
  %367 = load double, ptr %7, align 8, !tbaa !9
  %368 = load ptr, ptr %11, align 8, !tbaa !5
  %369 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %368, i32 0, i32 5
  %370 = load double, ptr %369, align 8, !tbaa !28
  %371 = fmul double %367, %370
  %372 = load ptr, ptr %17, align 8, !tbaa !5
  %373 = load i32, ptr %26, align 4, !tbaa !32
  %374 = sext i32 %373 to i64
  %375 = getelementptr inbounds double, ptr %372, i64 %374
  %376 = load double, ptr %375, align 8, !tbaa !9
  %377 = fdiv double %371, %376
  %378 = call double @llvm.fmuladd.f64(double %360, double %366, double %377)
  %379 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %29, i32 0, i32 2
  %380 = load ptr, ptr %379, align 8, !tbaa !30
  %381 = load i32, ptr %26, align 4, !tbaa !32
  %382 = sext i32 %381 to i64
  %383 = getelementptr inbounds double, ptr %380, i64 %382
  store double %378, ptr %383, align 8, !tbaa !9
  br label %384

384:                                              ; preds = %359
  %385 = load i32, ptr %26, align 4, !tbaa !32
  %386 = add nsw i32 %385, 1
  store i32 %386, ptr %26, align 4, !tbaa !32
  br label %354, !llvm.loop !41

387:                                              ; preds = %358
  br label %388

388:                                              ; preds = %387, %352
  br label %465

389:                                              ; preds = %314
  %390 = load i8, ptr %14, align 1, !tbaa !27, !range !25, !noundef !26
  %391 = trunc i8 %390 to i1
  br i1 %391, label %392, label %427

392:                                              ; preds = %389
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  store i32 0, ptr %27, align 4, !tbaa !32
  br label %393

393:                                              ; preds = %423, %392
  %394 = load i32, ptr %27, align 4, !tbaa !32
  %395 = call noundef i32 @_ZNK10SimTKIpopt6Vector3DimEv(ptr noundef nonnull align 8 dereferenceable(205) %29)
  %396 = icmp slt i32 %394, %395
  br i1 %396, label %398, label %397

397:                                              ; preds = %393
  store i32 26, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  br label %426

398:                                              ; preds = %393
  %399 = load double, ptr %10, align 8, !tbaa !9
  %400 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %29, i32 0, i32 2
  %401 = load ptr, ptr %400, align 8, !tbaa !30
  %402 = load i32, ptr %27, align 4, !tbaa !32
  %403 = sext i32 %402 to i64
  %404 = getelementptr inbounds double, ptr %401, i64 %403
  %405 = load double, ptr %404, align 8, !tbaa !9
  %406 = load ptr, ptr %16, align 8, !tbaa !5
  %407 = load i32, ptr %27, align 4, !tbaa !32
  %408 = sext i32 %407 to i64
  %409 = getelementptr inbounds double, ptr %406, i64 %408
  %410 = load double, ptr %409, align 8, !tbaa !9
  %411 = load double, ptr %7, align 8, !tbaa !9
  %412 = fmul double %410, %411
  %413 = load ptr, ptr %12, align 8, !tbaa !5
  %414 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %413, i32 0, i32 5
  %415 = load double, ptr %414, align 8, !tbaa !28
  %416 = fdiv double %412, %415
  %417 = call double @llvm.fmuladd.f64(double %399, double %405, double %416)
  %418 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %29, i32 0, i32 2
  %419 = load ptr, ptr %418, align 8, !tbaa !30
  %420 = load i32, ptr %27, align 4, !tbaa !32
  %421 = sext i32 %420 to i64
  %422 = getelementptr inbounds double, ptr %419, i64 %421
  store double %417, ptr %422, align 8, !tbaa !9
  br label %423

423:                                              ; preds = %398
  %424 = load i32, ptr %27, align 4, !tbaa !32
  %425 = add nsw i32 %424, 1
  store i32 %425, ptr %27, align 4, !tbaa !32
  br label %393, !llvm.loop !42

426:                                              ; preds = %397
  br label %464

427:                                              ; preds = %389
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  store i32 0, ptr %28, align 4, !tbaa !32
  br label %428

428:                                              ; preds = %460, %427
  %429 = load i32, ptr %28, align 4, !tbaa !32
  %430 = call noundef i32 @_ZNK10SimTKIpopt6Vector3DimEv(ptr noundef nonnull align 8 dereferenceable(205) %29)
  %431 = icmp slt i32 %429, %430
  br i1 %431, label %433, label %432

432:                                              ; preds = %428
  store i32 29, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  br label %463

433:                                              ; preds = %428
  %434 = load double, ptr %10, align 8, !tbaa !9
  %435 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %29, i32 0, i32 2
  %436 = load ptr, ptr %435, align 8, !tbaa !30
  %437 = load i32, ptr %28, align 4, !tbaa !32
  %438 = sext i32 %437 to i64
  %439 = getelementptr inbounds double, ptr %436, i64 %438
  %440 = load double, ptr %439, align 8, !tbaa !9
  %441 = load double, ptr %7, align 8, !tbaa !9
  %442 = load ptr, ptr %16, align 8, !tbaa !5
  %443 = load i32, ptr %28, align 4, !tbaa !32
  %444 = sext i32 %443 to i64
  %445 = getelementptr inbounds double, ptr %442, i64 %444
  %446 = load double, ptr %445, align 8, !tbaa !9
  %447 = fmul double %441, %446
  %448 = load ptr, ptr %17, align 8, !tbaa !5
  %449 = load i32, ptr %28, align 4, !tbaa !32
  %450 = sext i32 %449 to i64
  %451 = getelementptr inbounds double, ptr %448, i64 %450
  %452 = load double, ptr %451, align 8, !tbaa !9
  %453 = fdiv double %447, %452
  %454 = call double @llvm.fmuladd.f64(double %434, double %440, double %453)
  %455 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %29, i32 0, i32 2
  %456 = load ptr, ptr %455, align 8, !tbaa !30
  %457 = load i32, ptr %28, align 4, !tbaa !32
  %458 = sext i32 %457 to i64
  %459 = getelementptr inbounds double, ptr %456, i64 %458
  store double %454, ptr %459, align 8, !tbaa !9
  br label %460

460:                                              ; preds = %433
  %461 = load i32, ptr %28, align 4, !tbaa !32
  %462 = add nsw i32 %461, 1
  store i32 %462, ptr %28, align 4, !tbaa !32
  br label %428, !llvm.loop !43

463:                                              ; preds = %432
  br label %464

464:                                              ; preds = %463, %426
  br label %465

465:                                              ; preds = %464, %388
  br label %466

466:                                              ; preds = %465, %313
  br label %467

467:                                              ; preds = %466, %208
  %468 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %29, i32 0, i32 3
  store i8 1, ptr %468, align 8, !tbaa !29
  %469 = getelementptr inbounds %"class.SimTKIpopt::DenseVector", ptr %29, i32 0, i32 4
  store i8 0, ptr %469, align 1, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  store i32 0, ptr %15, align 4
  br label %470

470:                                              ; preds = %467, %107
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  %471 = load i32, ptr %15, align 4
  switch i32 %471, label %473 [
    i32 0, label %472
    i32 1, label %472
  ]

472:                                              ; preds = %470, %470
  ret void

473:                                              ; preds = %470
  unreachable
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 = !{!"double", !7, i64 0}
!11 = !{!12, !24, i64 225}
!12 = !{!"_ZTSN10SimTKIpopt11DenseVectorE", !13, i64 0, !6, i64 208, !6, i64 216, !24, i64 224, !24, i64 225, !10, i64 232}
!13 = !{!"_ZTSN10SimTKIpopt6VectorE", !14, i64 0, !22, i64 56, !23, i64 64, !16, i64 88, !10, i64 96, !16, i64 104, !10, i64 112, !16, i64 120, !10, i64 128, !16, i64 136, !10, i64 144, !16, i64 152, !10, i64 160, !16, i64 168, !10, i64 176, !16, i64 184, !10, i64 192, !16, i64 200, !24, i64 204}
!14 = !{!"_ZTSN10SimTKIpopt12TaggedObjectE", !15, i64 0, !17, i64 16, !16, i64 48, !16, i64 52}
!15 = !{!"_ZTSN10SimTKIpopt16ReferencedObjectE", !16, i64 8}
!16 = !{!"int", !7, i64 0}
!17 = !{!"_ZTSN10SimTKIpopt7SubjectE", !18, i64 8}
!18 = !{!"_ZTSSt6vectorIPN10SimTKIpopt8ObserverESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIPN10SimTKIpopt8ObserverESaIS2_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIPN10SimTKIpopt8ObserverESaIS2_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIPN10SimTKIpopt8ObserverESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_11VectorSpaceEEE", !6, i64 0}
!23 = !{!"_ZTSN10SimTKIpopt13CachedResultsIdEE", !16, i64 8, !6, i64 16}
!24 = !{!"bool", !7, i64 0}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!24, !24, i64 0}
!28 = !{!12, !10, i64 232}
!29 = !{!12, !24, i64 224}
!30 = !{!12, !6, i64 216}
!31 = !{!12, !6, i64 208}
!32 = !{!16, !16, i64 0}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = distinct !{!35, !34}
!36 = distinct !{!36, !34}
!37 = distinct !{!37, !34}
!38 = distinct !{!38, !34}
!39 = distinct !{!39, !34}
!40 = distinct !{!40, !34}
!41 = distinct !{!41, !34}
!42 = distinct !{!42, !34}
!43 = distinct !{!43, !34}


; 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"

@_ZTIN10SimTKIpopt6VectorE = external dso_local constant { ptr, ptr, ptr }, align 8
@_ZTIN10SimTKIpopt11DenseVectorE = external dso_local constant { ptr, ptr, ptr }, align 8

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

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare ptr @__dynamic_cast(ptr, ptr, ptr, i64) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10SimTKIpopt11DenseVector21AddVectorQuotientImplEdRKNS_6VectorES3_d(ptr noundef nonnull align 8 dereferenceable(240) %0, double noundef %1, ptr noundef nonnull readonly align 8 dereferenceable(205) %2, ptr noundef nonnull readonly align 8 dereferenceable(205) %3, double noundef %4) unnamed_addr #4 align 2 {
  %6 = tail call ptr @__dynamic_cast(ptr nonnull %2, ptr nonnull @_ZTIN10SimTKIpopt6VectorE, ptr nonnull @_ZTIN10SimTKIpopt11DenseVectorE, i64 0) #5
  %7 = tail call ptr @__dynamic_cast(ptr nonnull %3, ptr nonnull @_ZTIN10SimTKIpopt6VectorE, ptr nonnull @_ZTIN10SimTKIpopt11DenseVectorE, i64 0) #5
  %8 = getelementptr inbounds i8, ptr %6, i64 225
  %9 = load i8, ptr %8, align 1, !tbaa !5, !range !23, !noundef !24
  %10 = trunc nuw i8 %9 to i1
  %11 = getelementptr inbounds i8, ptr %7, i64 225
  %12 = load i8, ptr %11, align 1, !tbaa !5, !range !23, !noundef !24
  %13 = trunc nuw i8 %12 to i1
  %14 = fcmp oeq double %4, 0.000000e+00
  br i1 %14, label %21, label %15

15:                                               ; preds = %5
  %16 = getelementptr inbounds i8, ptr %0, i64 225
  %17 = load i8, ptr %16, align 1, !tbaa !5, !range !23, !noundef !24
  %18 = trunc nuw i8 %17 to i1
  %19 = select i1 %18, i1 %10, i1 false
  %20 = select i1 %19, i1 %13, i1 false
  br i1 %20, label %31, label %97

21:                                               ; preds = %5
  %22 = select i1 %10, i1 %13, i1 false
  br i1 %22, label %23, label %49

23:                                               ; preds = %21
  %24 = getelementptr inbounds i8, ptr %6, i64 232
  %25 = load double, ptr %24, align 8, !tbaa !25
  %26 = fmul double %25, %1
  %27 = getelementptr inbounds i8, ptr %7, i64 232
  %28 = load double, ptr %27, align 8, !tbaa !25
  %29 = fdiv double %26, %28
  %30 = getelementptr inbounds i8, ptr %0, i64 232
  store double %29, ptr %30, align 8, !tbaa !25
  br label %41

31:                                               ; preds = %15
  %32 = getelementptr inbounds i8, ptr %0, i64 232
  %33 = load double, ptr %32, align 8, !tbaa !25
  %34 = getelementptr inbounds i8, ptr %6, i64 232
  %35 = load double, ptr %34, align 8, !tbaa !25
  %36 = fmul double %35, %1
  %37 = getelementptr inbounds i8, ptr %7, i64 232
  %38 = load double, ptr %37, align 8, !tbaa !25
  %39 = fdiv double %36, %38
  %40 = tail call double @llvm.fmuladd.f64(double %4, double %33, double %39)
  store double %40, ptr %32, align 8, !tbaa !25
  br label %41

41:                                               ; preds = %31, %23
  %42 = getelementptr inbounds i8, ptr %0, i64 224
  store i8 1, ptr %42, align 8, !tbaa !26
  %43 = getelementptr inbounds i8, ptr %0, i64 225
  store i8 1, ptr %43, align 1, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %0, i64 216
  %45 = load ptr, ptr %44, align 8, !tbaa !27
  %.not = icmp eq ptr %45, null
  br i1 %.not, label %221, label %46

46:                                               ; preds = %41
  %47 = getelementptr inbounds i8, ptr %0, i64 208
  %48 = load ptr, ptr %47, align 8, !tbaa !28
  tail call void @_ZNK10SimTKIpopt16DenseVectorSpace19FreeInternalStorageEPd(ptr noundef nonnull align 8 dereferenceable(16) %48, ptr noundef nonnull %45)
  store ptr null, ptr %44, align 8, !tbaa !27
  br label %221

49:                                               ; preds = %21
  %50 = tail call noundef ptr @_ZN10SimTKIpopt11DenseVector16values_allocatedEv(ptr noundef nonnull align 8 dereferenceable(240) %0)
  %51 = getelementptr inbounds i8, ptr %6, i64 216
  %52 = load ptr, ptr %51, align 8, !tbaa !27
  %53 = getelementptr inbounds i8, ptr %7, i64 216
  %54 = load ptr, ptr %53, align 8, !tbaa !27
  %55 = tail call noundef i32 @_ZNK10SimTKIpopt6Vector3DimEv(ptr noundef nonnull align 8 dereferenceable(205) %0)
  %56 = icmp sgt i32 %55, 0
  br i1 %10, label %.preheader, label %70

.preheader:                                       ; preds = %49
  br i1 %56, label %.lr.ph164, label %.loopexit

.lr.ph164:                                        ; preds = %.preheader
  %57 = getelementptr inbounds i8, ptr %6, i64 232
  %58 = getelementptr inbounds i8, ptr %0, i64 216
  br label %59

59:                                               ; preds = %.lr.ph164, %59
  %indvars.iv199 = phi i64 [ 0, %.lr.ph164 ], [ %indvars.iv.next200, %59 ]
  %60 = load double, ptr %57, align 8, !tbaa !25
  %61 = fmul double %60, %1
  %62 = getelementptr inbounds double, ptr %54, i64 %indvars.iv199
  %63 = load double, ptr %62, align 8, !tbaa !29
  %64 = fdiv double %61, %63
  %65 = load ptr, ptr %58, align 8, !tbaa !27
  %66 = getelementptr inbounds double, ptr %65, i64 %indvars.iv199
  store double %64, ptr %66, align 8, !tbaa !29
  %indvars.iv.next200 = add nuw nsw i64 %indvars.iv199, 1
  %67 = tail call noundef i32 @_ZNK10SimTKIpopt6Vector3DimEv(ptr noundef nonnull align 8 dereferenceable(205) %0)
  %68 = sext i32 %67 to i64
  %69 = icmp slt i64 %indvars.iv.next200, %68
  br i1 %69, label %59, label %.loopexit, !llvm.loop !30

70:                                               ; preds = %49
  br i1 %13, label %.preheader128, label %.preheader130

.preheader130:                                    ; preds = %70
  br i1 %56, label %.lr.ph160, label %.loopexit

.lr.ph160:                                        ; preds = %.preheader130
  %71 = getelementptr inbounds i8, ptr %0, i64 216
  br label %85

.preheader128:                                    ; preds = %70
  br i1 %56, label %.lr.ph162, label %.loopexit

.lr.ph162:                                        ; preds = %.preheader128
  %72 = getelementptr inbounds i8, ptr %7, i64 232
  %73 = getelementptr inbounds i8, ptr %0, i64 216
  br label %74

74:                                               ; preds = %.lr.ph162, %74
  %indvars.iv196 = phi i64 [ 0, %.lr.ph162 ], [ %indvars.iv.next197, %74 ]
  %75 = getelementptr inbounds double, ptr %52, i64 %indvars.iv196
  %76 = load double, ptr %75, align 8, !tbaa !29
  %77 = fmul double %76, %1
  %78 = load double, ptr %72, align 8, !tbaa !25
  %79 = fdiv double %77, %78
  %80 = load ptr, ptr %73, align 8, !tbaa !27
  %81 = getelementptr inbounds double, ptr %80, i64 %indvars.iv196
  store double %79, ptr %81, align 8, !tbaa !29
  %indvars.iv.next197 = add nuw nsw i64 %indvars.iv196, 1
  %82 = tail call noundef i32 @_ZNK10SimTKIpopt6Vector3DimEv(ptr noundef nonnull align 8 dereferenceable(205) %0)
  %83 = sext i32 %82 to i64
  %84 = icmp slt i64 %indvars.iv.next197, %83
  br i1 %84, label %74, label %.loopexit, !llvm.loop !32

85:                                               ; preds = %.lr.ph160, %85
  %indvars.iv193 = phi i64 [ 0, %.lr.ph160 ], [ %indvars.iv.next194, %85 ]
  %86 = getelementptr inbounds double, ptr %52, i64 %indvars.iv193
  %87 = load double, ptr %86, align 8, !tbaa !29
  %88 = fmul double %87, %1
  %89 = getelementptr inbounds double, ptr %54, i64 %indvars.iv193
  %90 = load double, ptr %89, align 8, !tbaa !29
  %91 = fdiv double %88, %90
  %92 = load ptr, ptr %71, align 8, !tbaa !27
  %93 = getelementptr inbounds double, ptr %92, i64 %indvars.iv193
  store double %91, ptr %93, align 8, !tbaa !29
  %indvars.iv.next194 = add nuw nsw i64 %indvars.iv193, 1
  %94 = tail call noundef i32 @_ZNK10SimTKIpopt6Vector3DimEv(ptr noundef nonnull align 8 dereferenceable(205) %0)
  %95 = sext i32 %94 to i64
  %96 = icmp slt i64 %indvars.iv.next194, %95
  br i1 %96, label %85, label %.loopexit, !llvm.loop !33

97:                                               ; preds = %15
  %98 = tail call noundef ptr @_ZN10SimTKIpopt11DenseVector16values_allocatedEv(ptr noundef nonnull align 8 dereferenceable(240) %0)
  %99 = getelementptr inbounds i8, ptr %6, i64 216
  %100 = load ptr, ptr %99, align 8, !tbaa !27
  %101 = getelementptr inbounds i8, ptr %7, i64 216
  %102 = load ptr, ptr %101, align 8, !tbaa !27
  %103 = load i8, ptr %16, align 1, !tbaa !5, !range !23, !noundef !24
  %104 = trunc nuw i8 %103 to i1
  br i1 %104, label %105, label %154

105:                                              ; preds = %97
  %106 = getelementptr inbounds i8, ptr %0, i64 232
  %107 = load double, ptr %106, align 8, !tbaa !25
  %108 = fmul double %107, %4
  %109 = tail call noundef i32 @_ZNK10SimTKIpopt6Vector3DimEv(ptr noundef nonnull align 8 dereferenceable(205) %0)
  %110 = icmp sgt i32 %109, 0
  br i1 %10, label %.preheader132, label %125

.preheader132:                                    ; preds = %105
  br i1 %110, label %.lr.ph158, label %.loopexit

.lr.ph158:                                        ; preds = %.preheader132
  %111 = getelementptr inbounds i8, ptr %6, i64 232
  %112 = getelementptr inbounds i8, ptr %0, i64 216
  br label %113

113:                                              ; preds = %.lr.ph158, %113
  %indvars.iv190 = phi i64 [ 0, %.lr.ph158 ], [ %indvars.iv.next191, %113 ]
  %114 = load double, ptr %111, align 8, !tbaa !25
  %115 = fmul double %114, %1
  %116 = getelementptr inbounds double, ptr %102, i64 %indvars.iv190
  %117 = load double, ptr %116, align 8, !tbaa !29
  %118 = fdiv double %115, %117
  %119 = fadd double %108, %118
  %120 = load ptr, ptr %112, align 8, !tbaa !27
  %121 = getelementptr inbounds double, ptr %120, i64 %indvars.iv190
  store double %119, ptr %121, align 8, !tbaa !29
  %indvars.iv.next191 = add nuw nsw i64 %indvars.iv190, 1
  %122 = tail call noundef i32 @_ZNK10SimTKIpopt6Vector3DimEv(ptr noundef nonnull align 8 dereferenceable(205) %0)
  %123 = sext i32 %122 to i64
  %124 = icmp slt i64 %indvars.iv.next191, %123
  br i1 %124, label %113, label %.loopexit, !llvm.loop !34

125:                                              ; preds = %105
  br i1 %13, label %.preheader134, label %.preheader136

.preheader136:                                    ; preds = %125
  br i1 %110, label %.lr.ph154, label %.loopexit

.lr.ph154:                                        ; preds = %.preheader136
  %126 = getelementptr inbounds i8, ptr %0, i64 216
  br label %141

.preheader134:                                    ; preds = %125
  br i1 %110, label %.lr.ph156, label %.loopexit

.lr.ph156:                                        ; preds = %.preheader134
  %127 = getelementptr inbounds i8, ptr %7, i64 232
  %128 = getelementptr inbounds i8, ptr %0, i64 216
  br label %129

129:                                              ; preds = %.lr.ph156, %129
  %indvars.iv187 = phi i64 [ 0, %.lr.ph156 ], [ %indvars.iv.next188, %129 ]
  %130 = getelementptr inbounds double, ptr %100, i64 %indvars.iv187
  %131 = load double, ptr %130, align 8, !tbaa !29
  %132 = fmul double %131, %1
  %133 = load double, ptr %127, align 8, !tbaa !25
  %134 = fdiv double %132, %133
  %135 = fadd double %108, %134
  %136 = load ptr, ptr %128, align 8, !tbaa !27
  %137 = getelementptr inbounds double, ptr %136, i64 %indvars.iv187
  store double %135, ptr %137, align 8, !tbaa !29
  %indvars.iv.next188 = add nuw nsw i64 %indvars.iv187, 1
  %138 = tail call noundef i32 @_ZNK10SimTKIpopt6Vector3DimEv(ptr noundef nonnull align 8 dereferenceable(205) %0)
  %139 = sext i32 %138 to i64
  %140 = icmp slt i64 %indvars.iv.next188, %139
  br i1 %140, label %129, label %.loopexit, !llvm.loop !35

141:                                              ; preds = %.lr.ph154, %141
  %indvars.iv184 = phi i64 [ 0, %.lr.ph154 ], [ %indvars.iv.next185, %141 ]
  %142 = getelementptr inbounds double, ptr %100, i64 %indvars.iv184
  %143 = load double, ptr %142, align 8, !tbaa !29
  %144 = fmul double %143, %1
  %145 = getelementptr inbounds double, ptr %102, i64 %indvars.iv184
  %146 = load double, ptr %145, align 8, !tbaa !29
  %147 = fdiv double %144, %146
  %148 = fadd double %108, %147
  %149 = load ptr, ptr %126, align 8, !tbaa !27
  %150 = getelementptr inbounds double, ptr %149, i64 %indvars.iv184
  store double %148, ptr %150, align 8, !tbaa !29
  %indvars.iv.next185 = add nuw nsw i64 %indvars.iv184, 1
  %151 = tail call noundef i32 @_ZNK10SimTKIpopt6Vector3DimEv(ptr noundef nonnull align 8 dereferenceable(205) %0)
  %152 = sext i32 %151 to i64
  %153 = icmp slt i64 %indvars.iv.next185, %152
  br i1 %153, label %141, label %.loopexit, !llvm.loop !36

154:                                              ; preds = %97
  %155 = tail call noundef i32 @_ZNK10SimTKIpopt6Vector3DimEv(ptr noundef nonnull align 8 dereferenceable(205) %0)
  %156 = icmp sgt i32 %155, 0
  br i1 %10, label %157, label %188

157:                                              ; preds = %154
  br i1 %13, label %.preheader138, label %.preheader140

.preheader140:                                    ; preds = %157
  br i1 %156, label %.lr.ph150, label %.loopexit

.lr.ph150:                                        ; preds = %.preheader140
  %158 = getelementptr inbounds i8, ptr %0, i64 216
  %159 = getelementptr inbounds i8, ptr %6, i64 232
  br label %175

.preheader138:                                    ; preds = %157
  br i1 %156, label %.lr.ph152, label %.loopexit

.lr.ph152:                                        ; preds = %.preheader138
  %160 = getelementptr inbounds i8, ptr %0, i64 216
  %161 = getelementptr inbounds i8, ptr %6, i64 232
  %162 = getelementptr inbounds i8, ptr %7, i64 232
  br label %163

163:                                              ; preds = %.lr.ph152, %163
  %indvars.iv181 = phi i64 [ 0, %.lr.ph152 ], [ %indvars.iv.next182, %163 ]
  %164 = load ptr, ptr %160, align 8, !tbaa !27
  %165 = getelementptr inbounds double, ptr %164, i64 %indvars.iv181
  %166 = load double, ptr %165, align 8, !tbaa !29
  %167 = load double, ptr %161, align 8, !tbaa !25
  %168 = fmul double %167, %1
  %169 = load double, ptr %162, align 8, !tbaa !25
  %170 = fdiv double %168, %169
  %171 = tail call double @llvm.fmuladd.f64(double %4, double %166, double %170)
  store double %171, ptr %165, align 8, !tbaa !29
  %indvars.iv.next182 = add nuw nsw i64 %indvars.iv181, 1
  %172 = tail call noundef i32 @_ZNK10SimTKIpopt6Vector3DimEv(ptr noundef nonnull align 8 dereferenceable(205) %0)
  %173 = sext i32 %172 to i64
  %174 = icmp slt i64 %indvars.iv.next182, %173
  br i1 %174, label %163, label %.loopexit, !llvm.loop !37

175:                                              ; preds = %.lr.ph150, %175
  %indvars.iv178 = phi i64 [ 0, %.lr.ph150 ], [ %indvars.iv.next179, %175 ]
  %176 = load ptr, ptr %158, align 8, !tbaa !27
  %177 = getelementptr inbounds double, ptr %176, i64 %indvars.iv178
  %178 = load double, ptr %177, align 8, !tbaa !29
  %179 = load double, ptr %159, align 8, !tbaa !25
  %180 = fmul double %179, %1
  %181 = getelementptr inbounds double, ptr %102, i64 %indvars.iv178
  %182 = load double, ptr %181, align 8, !tbaa !29
  %183 = fdiv double %180, %182
  %184 = tail call double @llvm.fmuladd.f64(double %4, double %178, double %183)
  store double %184, ptr %177, align 8, !tbaa !29
  %indvars.iv.next179 = add nuw nsw i64 %indvars.iv178, 1
  %185 = tail call noundef i32 @_ZNK10SimTKIpopt6Vector3DimEv(ptr noundef nonnull align 8 dereferenceable(205) %0)
  %186 = sext i32 %185 to i64
  %187 = icmp slt i64 %indvars.iv.next179, %186
  br i1 %187, label %175, label %.loopexit, !llvm.loop !38

188:                                              ; preds = %154
  br i1 %13, label %.preheader142, label %.preheader144

.preheader144:                                    ; preds = %188
  br i1 %156, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %.preheader144
  %189 = getelementptr inbounds i8, ptr %0, i64 216
  br label %205

.preheader142:                                    ; preds = %188
  br i1 %156, label %.lr.ph148, label %.loopexit

.lr.ph148:                                        ; preds = %.preheader142
  %190 = getelementptr inbounds i8, ptr %0, i64 216
  %191 = getelementptr inbounds i8, ptr %7, i64 232
  br label %192

192:                                              ; preds = %.lr.ph148, %192
  %indvars.iv175 = phi i64 [ 0, %.lr.ph148 ], [ %indvars.iv.next176, %192 ]
  %193 = load ptr, ptr %190, align 8, !tbaa !27
  %194 = getelementptr inbounds double, ptr %193, i64 %indvars.iv175
  %195 = load double, ptr %194, align 8, !tbaa !29
  %196 = getelementptr inbounds double, ptr %100, i64 %indvars.iv175
  %197 = load double, ptr %196, align 8, !tbaa !29
  %198 = fmul double %197, %1
  %199 = load double, ptr %191, align 8, !tbaa !25
  %200 = fdiv double %198, %199
  %201 = tail call double @llvm.fmuladd.f64(double %4, double %195, double %200)
  store double %201, ptr %194, align 8, !tbaa !29
  %indvars.iv.next176 = add nuw nsw i64 %indvars.iv175, 1
  %202 = tail call noundef i32 @_ZNK10SimTKIpopt6Vector3DimEv(ptr noundef nonnull align 8 dereferenceable(205) %0)
  %203 = sext i32 %202 to i64
  %204 = icmp slt i64 %indvars.iv.next176, %203
  br i1 %204, label %192, label %.loopexit, !llvm.loop !39

205:                                              ; preds = %.lr.ph, %205
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %205 ]
  %206 = load ptr, ptr %189, align 8, !tbaa !27
  %207 = getelementptr inbounds double, ptr %206, i64 %indvars.iv
  %208 = load double, ptr %207, align 8, !tbaa !29
  %209 = getelementptr inbounds double, ptr %100, i64 %indvars.iv
  %210 = load double, ptr %209, align 8, !tbaa !29
  %211 = fmul double %210, %1
  %212 = getelementptr inbounds double, ptr %102, i64 %indvars.iv
  %213 = load double, ptr %212, align 8, !tbaa !29
  %214 = fdiv double %211, %213
  %215 = tail call double @llvm.fmuladd.f64(double %4, double %208, double %214)
  store double %215, ptr %207, align 8, !tbaa !29
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %216 = tail call noundef i32 @_ZNK10SimTKIpopt6Vector3DimEv(ptr noundef nonnull align 8 dereferenceable(205) %0)
  %217 = sext i32 %216 to i64
  %218 = icmp slt i64 %indvars.iv.next, %217
  br i1 %218, label %205, label %.loopexit, !llvm.loop !40

.loopexit:                                        ; preds = %205, %192, %175, %163, %141, %129, %113, %85, %74, %59, %.preheader144, %.preheader142, %.preheader140, %.preheader138, %.preheader136, %.preheader134, %.preheader132, %.preheader130, %.preheader128, %.preheader
  %219 = getelementptr inbounds i8, ptr %0, i64 224
  store i8 1, ptr %219, align 8, !tbaa !26
  %220 = getelementptr inbounds i8, ptr %0, i64 225
  store i8 0, ptr %220, align 1, !tbaa !5
  br label %221

221:                                              ; preds = %41, %46, %.loopexit
  ret void
}

attributes #0 = { 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 #1 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nofree nounwind willreturn memory(read) }
attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !22, i64 225}
!6 = !{!"_ZTSN10SimTKIpopt11DenseVectorE", !7, i64 0, !18, i64 208, !18, i64 216, !22, i64 224, !22, i64 225, !21, i64 232}
!7 = !{!"_ZTSN10SimTKIpopt6VectorE", !8, i64 0, !19, i64 56, !20, i64 64, !10, i64 88, !21, i64 96, !10, i64 104, !21, i64 112, !10, i64 120, !21, i64 128, !10, i64 136, !21, i64 144, !10, i64 152, !21, i64 160, !10, i64 168, !21, i64 176, !10, i64 184, !21, i64 192, !10, i64 200, !22, i64 204}
!8 = !{!"_ZTSN10SimTKIpopt12TaggedObjectE", !9, i64 0, !13, i64 16, !10, i64 48, !10, i64 52}
!9 = !{!"_ZTSN10SimTKIpopt16ReferencedObjectE", !10, i64 8}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = !{!"_ZTSN10SimTKIpopt7SubjectE", !14, i64 8}
!14 = !{!"_ZTSSt6vectorIPN10SimTKIpopt8ObserverESaIS2_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIPN10SimTKIpopt8ObserverESaIS2_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIPN10SimTKIpopt8ObserverESaIS2_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIPN10SimTKIpopt8ObserverESaIS2_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!18 = !{!"any pointer", !11, i64 0}
!19 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_11VectorSpaceEEE", !18, i64 0}
!20 = !{!"_ZTSN10SimTKIpopt13CachedResultsIdEE", !10, i64 8, !18, i64 16}
!21 = !{!"double", !11, i64 0}
!22 = !{!"bool", !11, i64 0}
!23 = !{i8 0, i8 2}
!24 = !{}
!25 = !{!6, !21, i64 232}
!26 = !{!6, !22, i64 224}
!27 = !{!6, !18, i64 216}
!28 = !{!6, !18, i64 208}
!29 = !{!21, !21, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = distinct !{!32, !31}
!33 = distinct !{!33, !31}
!34 = distinct !{!34, !31}
!35 = distinct !{!35, !31}
!36 = distinct !{!36, !31}
!37 = distinct !{!37, !31}
!38 = distinct !{!38, !31}
!39 = distinct !{!39, !31}
!40 = distinct !{!40, !31}


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