; LLVM IR from Tencent-RoboticsX/jbdl :: src/jbdl/experimental/qpoases/src (SQProblemSchur)

; 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.qpOASES::SQProblemSchur" = type { %"class.qpOASES::SQProblem", ptr, ptr, i32, i32, ptr, ptr, double, double, i32, ptr, ptr, i32, ptr, ptr, ptr, %"class.qpOASES::Indexlist", %"class.qpOASES::Indexlist" }
%"class.qpOASES::SQProblem" = type { %"class.qpOASES::QProblem" }
%"class.qpOASES::QProblem" = type { %"class.qpOASES::QProblemB", i32, ptr, ptr, ptr, %"class.qpOASES::Constraints", ptr, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%"class.qpOASES::QProblemB" = type { ptr, i32, ptr, ptr, ptr, ptr, %"class.qpOASES::Bounds", ptr, i32, ptr, ptr, double, i32, i32, i32, i32, double, i32, ptr, double, double, i32, [4 x i8], %"class.qpOASES::Options", %"class.qpOASES::Flipper", %"struct.qpOASES::TabularOutput" }
%"class.qpOASES::Bounds" = type { %"class.qpOASES::SubjectTo", %"class.qpOASES::Indexlist", %"class.qpOASES::Indexlist" }
%"class.qpOASES::SubjectTo" = type { ptr, i32, ptr, ptr, i32, i32 }
%"class.qpOASES::Options" = type <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, double, double, double, double, double, double, double, double, i32, [4 x i8], double, i32, [4 x i8], double, i32, [4 x i8], double, double, double, double, i32, i32, i32, i32, i32, [4 x i8] }>
%"class.qpOASES::Flipper" = type { i32, i32, %"class.qpOASES::Bounds", %"class.qpOASES::Constraints", ptr, ptr, ptr }
%"struct.qpOASES::TabularOutput" = type { i32, i32, i32, i32, i32, i32, i32, i32 }
%"class.qpOASES::Constraints" = type { %"class.qpOASES::SubjectTo", %"class.qpOASES::Indexlist", %"class.qpOASES::Indexlist" }
%"class.qpOASES::Indexlist" = type <{ ptr, ptr, i32, i32, i32, i32, i32, [4 x i8] }>

@.str.43 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [98 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z8MyPrintfPKcz(ptr noundef, ...) #0

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

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

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

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZNK7qpOASES8QProblem6getNACEv(ptr noundef nonnull align 8 dereferenceable(1064)) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7qpOASES9SubjectTo7getTypeEi(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) #6 align 2

declare noundef i32 @_ZN7qpOASES11Constraints20moveActiveToInactiveEi(ptr noundef nonnull align 8 dereferenceable(120), i32 noundef) #7

declare noundef i32 @_ZN7qpOASES6Bounds15moveFreeToFixedEiNS_15SubjectToStatusE(ptr noundef nonnull align 8 dereferenceable(120), i32 noundef, i32 noundef) #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZNK7qpOASES9QProblemB6getNFREv(ptr noundef nonnull align 8 dereferenceable(800)) #5 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7qpOASES14SQProblemSchur24repairSingularWorkingSetEv(ptr noundef nonnull align 8 dereferenceable(1256) %0) #8 align 2 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  %13 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #9
  %14 = getelementptr inbounds %"class.qpOASES::SQProblemSchur", ptr %13, i32 0, i32 1
  %15 = load ptr, ptr %14, align 8, !tbaa !9
  %16 = load ptr, ptr %15, align 8, !tbaa !28
  %17 = getelementptr inbounds ptr, ptr %16, i64 8
  %18 = load ptr, ptr %17, align 8
  %19 = call noundef i32 %18(ptr noundef nonnull align 8 dereferenceable(8) %15)
  store i32 %19, ptr %7, align 4, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #9
  %20 = call noundef i32 @_ZNK7qpOASES9QProblemB6getNFREv(ptr noundef nonnull align 8 dereferenceable(800) %13)
  store i32 %20, ptr %8, align 4, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #9
  %21 = load i32, ptr %8, align 4, !tbaa !30
  %22 = call noundef i32 @_ZNK7qpOASES8QProblem6getNACEv(ptr noundef nonnull align 8 dereferenceable(1064) %13)
  %23 = add nsw i32 %21, %22
  %24 = load i32, ptr %7, align 4, !tbaa !30
  %25 = sub nsw i32 %23, %24
  store i32 %25, ptr %9, align 4, !tbaa !30
  %26 = load i32, ptr %7, align 4, !tbaa !30
  %27 = icmp slt i32 %26, 0
  br i1 %27, label %28, label %29

28:                                               ; preds = %1
  store i32 142, ptr %2, align 4
  store i32 1, ptr %10, align 4
  br label %211

29:                                               ; preds = %1
  %30 = load i32, ptr %9, align 4, !tbaa !30
  %31 = icmp sle i32 %30, 0
  br i1 %31, label %32, label %33

32:                                               ; preds = %29
  store i32 9, ptr %2, align 4
  store i32 1, ptr %10, align 4
  br label %211

33:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  %34 = load i32, ptr %9, align 4, !tbaa !30
  %35 = sext i32 %34 to i64
  %36 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %35, i64 4)
  %37 = extractvalue { i64, i1 } %36, 1
  %38 = extractvalue { i64, i1 } %36, 0
  %39 = select i1 %37, i64 -1, i64 %38
  %40 = call noalias noundef nonnull ptr @_Znam(i64 noundef %39) #10
  store ptr %40, ptr %11, align 8, !tbaa !5
  %41 = getelementptr inbounds %"class.qpOASES::SQProblemSchur", ptr %13, i32 0, i32 1
  %42 = load ptr, ptr %41, align 8, !tbaa !9
  %43 = load ptr, ptr %42, align 8, !tbaa !28
  %44 = getelementptr inbounds ptr, ptr %43, i64 9
  %45 = load ptr, ptr %44, align 8
  %46 = call noundef i32 %45(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(8) %11)
  %47 = load ptr, ptr %11, align 8, !tbaa !5
  %48 = icmp eq ptr %47, null
  br i1 %48, label %49, label %50

49:                                               ; preds = %33
  store i32 142, ptr %2, align 4
  store i32 1, ptr %10, align 4
  br label %210

50:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  store i32 0, ptr %12, align 4, !tbaa !30
  %51 = load i32, ptr %9, align 4, !tbaa !30
  %52 = sub nsw i32 %51, 1
  store i32 %52, ptr %4, align 4, !tbaa !30
  br label %53

53:                                               ; preds = %191, %50
  %54 = load i32, ptr %4, align 4, !tbaa !30
  %55 = icmp sgt i32 %54, -1
  br i1 %55, label %56, label %194

56:                                               ; preds = %53
  %57 = load ptr, ptr %11, align 8, !tbaa !5
  %58 = load i32, ptr %4, align 4, !tbaa !30
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds i32, ptr %57, i64 %59
  %61 = load i32, ptr %60, align 4, !tbaa !30
  %62 = load i32, ptr %8, align 4, !tbaa !30
  %63 = icmp slt i32 %61, %62
  br i1 %63, label %64, label %146

64:                                               ; preds = %56
  %65 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %13, i32 0, i32 6
  %66 = call noundef ptr @_ZN7qpOASES6Bounds7getFreeEv(ptr noundef nonnull align 8 dereferenceable(120) %65)
  %67 = load ptr, ptr %11, align 8, !tbaa !5
  %68 = load i32, ptr %4, align 4, !tbaa !30
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds i32, ptr %67, i64 %69
  %71 = load i32, ptr %70, align 4, !tbaa !30
  %72 = call noundef i32 @_ZNK7qpOASES9Indexlist9getNumberEi(ptr noundef nonnull align 8 dereferenceable(36) %66, i32 noundef %71)
  store i32 %72, ptr %5, align 4, !tbaa !30
  %73 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %13, i32 0, i32 23
  %74 = getelementptr inbounds %"class.qpOASES::Options", ptr %73, i32 0, i32 0
  %75 = load i32, ptr %74, align 8, !tbaa !31
  %76 = icmp eq i32 %75, 3
  br i1 %76, label %77, label %79

77:                                               ; preds = %64
  %78 = load i32, ptr %5, align 4, !tbaa !30
  call void (ptr, ...) @_Z8MyPrintfPKcz(ptr noundef @.str.43, i32 noundef %78)
  br label %79

79:                                               ; preds = %77, %64
  %80 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %13, i32 0, i32 9
  %81 = load ptr, ptr %80, align 8, !tbaa !32
  %82 = load i32, ptr %5, align 4, !tbaa !30
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds double, ptr %81, i64 %83
  %85 = load double, ptr %84, align 8, !tbaa !33
  %86 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %13, i32 0, i32 4
  %87 = load ptr, ptr %86, align 8, !tbaa !34
  %88 = load i32, ptr %5, align 4, !tbaa !30
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds double, ptr %87, i64 %89
  %91 = load double, ptr %90, align 8, !tbaa !33
  %92 = fsub double %85, %91
  %93 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %13, i32 0, i32 5
  %94 = load ptr, ptr %93, align 8, !tbaa !35
  %95 = load i32, ptr %5, align 4, !tbaa !30
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds double, ptr %94, i64 %96
  %98 = load double, ptr %97, align 8, !tbaa !33
  %99 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %13, i32 0, i32 9
  %100 = load ptr, ptr %99, align 8, !tbaa !32
  %101 = load i32, ptr %5, align 4, !tbaa !30
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds double, ptr %100, i64 %102
  %104 = load double, ptr %103, align 8, !tbaa !33
  %105 = fsub double %98, %104
  %106 = fcmp olt double %92, %105
  br i1 %106, label %107, label %108

107:                                              ; preds = %79
  store i32 -1, ptr %6, align 4, !tbaa !36
  br label %109

108:                                              ; preds = %79
  store i32 1, ptr %6, align 4, !tbaa !36
  br label %109

109:                                              ; preds = %108, %107
  %110 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %13, i32 0, i32 6
  %111 = load i32, ptr %5, align 4, !tbaa !30
  %112 = load i32, ptr %6, align 4, !tbaa !36
  %113 = call noundef i32 @_ZN7qpOASES6Bounds15moveFreeToFixedEiNS_15SubjectToStatusE(ptr noundef nonnull align 8 dereferenceable(120) %110, i32 noundef %111, i32 noundef %112)
  %114 = icmp ne i32 %113, 0
  br i1 %114, label %115, label %116

115:                                              ; preds = %109
  store i32 78, ptr %2, align 4
  store i32 1, ptr %10, align 4
  br label %209

116:                                              ; preds = %109
  %117 = load i32, ptr %6, align 4, !tbaa !36
  %118 = icmp eq i32 %117, -1
  br i1 %118, label %119, label %131

119:                                              ; preds = %116
  %120 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %13, i32 0, i32 9
  %121 = load ptr, ptr %120, align 8, !tbaa !32
  %122 = load i32, ptr %5, align 4, !tbaa !30
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds double, ptr %121, i64 %123
  %125 = load double, ptr %124, align 8, !tbaa !33
  %126 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %13, i32 0, i32 4
  %127 = load ptr, ptr %126, align 8, !tbaa !34
  %128 = load i32, ptr %5, align 4, !tbaa !30
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds double, ptr %127, i64 %129
  store double %125, ptr %130, align 8, !tbaa !33
  br label %143

131:                                              ; preds = %116
  %132 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %13, i32 0, i32 9
  %133 = load ptr, ptr %132, align 8, !tbaa !32
  %134 = load i32, ptr %5, align 4, !tbaa !30
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds double, ptr %133, i64 %135
  %137 = load double, ptr %136, align 8, !tbaa !33
  %138 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %13, i32 0, i32 5
  %139 = load ptr, ptr %138, align 8, !tbaa !35
  %140 = load i32, ptr %5, align 4, !tbaa !30
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds double, ptr %139, i64 %141
  store double %137, ptr %142, align 8, !tbaa !33
  br label %143

143:                                              ; preds = %131, %119
  %144 = load i32, ptr %12, align 4, !tbaa !30
  %145 = add nsw i32 %144, 1
  store i32 %145, ptr %12, align 4, !tbaa !30
  br label %190

146:                                              ; preds = %56
  %147 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %13, i32 0, i32 5
  %148 = call noundef ptr @_ZN7qpOASES11Constraints9getActiveEv(ptr noundef nonnull align 8 dereferenceable(120) %147)
  %149 = load ptr, ptr %11, align 8, !tbaa !5
  %150 = load i32, ptr %4, align 4, !tbaa !30
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds i32, ptr %149, i64 %151
  %153 = load i32, ptr %152, align 4, !tbaa !30
  %154 = load i32, ptr %8, align 4, !tbaa !30
  %155 = sub nsw i32 %153, %154
  %156 = call noundef i32 @_ZNK7qpOASES9Indexlist9getNumberEi(ptr noundef nonnull align 8 dereferenceable(36) %148, i32 noundef %155)
  store i32 %156, ptr %5, align 4, !tbaa !30
  %157 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %13, i32 0, i32 23
  %158 = getelementptr inbounds %"class.qpOASES::Options", ptr %157, i32 0, i32 0
  %159 = load i32, ptr %158, align 8, !tbaa !31
  %160 = icmp eq i32 %159, 3
  br i1 %160, label %161, label %163

161:                                              ; preds = %146
  %162 = load i32, ptr %5, align 4, !tbaa !30
  call void (ptr, ...) @_Z8MyPrintfPKcz(ptr noundef @.str.44, i32 noundef %162)
  br label %163

163:                                              ; preds = %161, %146
  %164 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %13, i32 0, i32 5
  %165 = load i32, ptr %5, align 4, !tbaa !30
  %166 = call noundef i32 @_ZN7qpOASES11Constraints20moveActiveToInactiveEi(ptr noundef nonnull align 8 dereferenceable(120) %164, i32 noundef %165)
  %167 = icmp ne i32 %166, 0
  br i1 %167, label %168, label %169

168:                                              ; preds = %163
  store i32 80, ptr %2, align 4
  store i32 1, ptr %10, align 4
  br label %209

169:                                              ; preds = %163
  %170 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %13, i32 0, i32 5
  %171 = load i32, ptr %5, align 4, !tbaa !30
  %172 = call noundef i32 @_ZNK7qpOASES9SubjectTo7getTypeEi(ptr noundef nonnull align 8 dereferenceable(40) %170, i32 noundef %171)
  %173 = icmp eq i32 %172, 2
  br i1 %173, label %174, label %184

174:                                              ; preds = %169
  %175 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %13, i32 0, i32 23
  %176 = getelementptr inbounds %"class.qpOASES::Options", ptr %175, i32 0, i32 0
  %177 = load i32, ptr %176, align 8, !tbaa !31
  %178 = icmp eq i32 %177, 3
  br i1 %178, label %179, label %180

179:                                              ; preds = %174
  call void (ptr, ...) @_Z8MyPrintfPKcz(ptr noundef @.str.45)
  br label %180

180:                                              ; preds = %179, %174
  %181 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %13, i32 0, i32 5
  %182 = load i32, ptr %5, align 4, !tbaa !30
  %183 = call noundef i32 @_ZN7qpOASES9SubjectTo7setTypeEiNS_13SubjectToTypeE(ptr noundef nonnull align 8 dereferenceable(40) %181, i32 noundef %182, i32 noundef 1)
  br label %184

184:                                              ; preds = %180, %169
  %185 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %13, i32 0, i32 10
  %186 = load ptr, ptr %185, align 8, !tbaa !37
  %187 = load i32, ptr %5, align 4, !tbaa !30
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds double, ptr %186, i64 %188
  store double 0.000000e+00, ptr %189, align 8, !tbaa !33
  br label %190

190:                                              ; preds = %184, %143
  br label %191

191:                                              ; preds = %190
  %192 = load i32, ptr %4, align 4, !tbaa !30
  %193 = add nsw i32 %192, -1
  store i32 %193, ptr %4, align 4, !tbaa !30
  br label %53, !llvm.loop !38

194:                                              ; preds = %53
  %195 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %13, i32 0, i32 23
  %196 = getelementptr inbounds %"class.qpOASES::Options", ptr %195, i32 0, i32 0
  %197 = load i32, ptr %196, align 8, !tbaa !31
  %198 = icmp eq i32 %197, 3
  br i1 %198, label %199, label %204

199:                                              ; preds = %194
  %200 = load i32, ptr %9, align 4, !tbaa !30
  %201 = load i32, ptr %12, align 4, !tbaa !30
  %202 = sub nsw i32 %200, %201
  %203 = load i32, ptr %12, align 4, !tbaa !30
  call void (ptr, ...) @_Z8MyPrintfPKcz(ptr noundef @.str.46, i32 noundef %202, i32 noundef %203)
  br label %204

204:                                              ; preds = %199, %194
  %205 = load ptr, ptr %11, align 8, !tbaa !5
  %206 = icmp eq ptr %205, null
  br i1 %206, label %208, label %207

207:                                              ; preds = %204
  call void @_ZdaPv(ptr noundef %205) #11
  br label %208

208:                                              ; preds = %207, %204
  store i32 0, ptr %2, align 4
  store i32 1, ptr %10, align 4
  br label %209

209:                                              ; preds = %208, %168, %115
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  br label %210

210:                                              ; preds = %209, %49
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  br label %211

211:                                              ; preds = %210, %32, %28
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #9
  %212 = load i32, ptr %2, align 4
  ret i32 %212
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7qpOASES9Indexlist9getNumberEi(ptr noundef nonnull align 8 dereferenceable(36), i32 noundef) #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN7qpOASES9SubjectTo7setTypeEiNS_13SubjectToTypeE(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef) #5 align 2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 #4 = { 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 #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { "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 #8 = { 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 #9 = { nounwind }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { 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, !6, i64 1064}
!10 = !{!"_ZTSN7qpOASES14SQProblemSchurE", !11, i64 0, !6, i64 1064, !6, i64 1072, !17, i64 1080, !17, i64 1084, !6, i64 1088, !6, i64 1096, !19, i64 1104, !19, i64 1112, !17, i64 1120, !6, i64 1128, !6, i64 1136, !17, i64 1144, !6, i64 1152, !6, i64 1160, !6, i64 1168, !18, i64 1176, !18, i64 1216}
!11 = !{!"_ZTSN7qpOASES9SQProblemE", !12, i64 0}
!12 = !{!"_ZTSN7qpOASES8QProblemE", !13, i64 0, !14, i64 800, !6, i64 808, !6, i64 816, !6, i64 824, !26, i64 832, !6, i64 952, !6, i64 960, !17, i64 968, !6, i64 976, !6, i64 984, !6, i64 992, !6, i64 1000, !6, i64 1008, !6, i64 1016, !6, i64 1024, !6, i64 1032, !6, i64 1040, !6, i64 1048, !6, i64 1056}
!13 = !{!"_ZTSN7qpOASES9QProblemBE", !14, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !15, i64 48, !6, i64 168, !14, i64 176, !6, i64 184, !6, i64 192, !19, i64 200, !20, i64 208, !14, i64 212, !14, i64 216, !21, i64 220, !19, i64 224, !17, i64 232, !6, i64 240, !19, i64 248, !19, i64 256, !17, i64 264, !22, i64 272, !25, i64 496, !27, i64 768}
!14 = !{!"_ZTSN7qpOASES11BooleanTypeE", !7, i64 0}
!15 = !{!"_ZTSN7qpOASES6BoundsE", !16, i64 0, !18, i64 40, !18, i64 80}
!16 = !{!"_ZTSN7qpOASES9SubjectToE", !17, i64 8, !6, i64 16, !6, i64 24, !14, i64 32, !14, i64 36}
!17 = !{!"int", !7, i64 0}
!18 = !{!"_ZTSN7qpOASES9IndexlistE", !6, i64 0, !6, i64 8, !17, i64 16, !17, i64 20, !17, i64 24, !17, i64 28, !17, i64 32}
!19 = !{!"double", !7, i64 0}
!20 = !{!"_ZTSN7qpOASES14QProblemStatusE", !7, i64 0}
!21 = !{!"_ZTSN7qpOASES11HessianTypeE", !7, i64 0}
!22 = !{!"_ZTSN7qpOASES7OptionsE", !23, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !17, i64 28, !17, i64 32, !14, i64 36, !19, i64 40, !19, i64 48, !19, i64 56, !19, i64 64, !19, i64 72, !19, i64 80, !19, i64 88, !19, i64 96, !19, i64 104, !19, i64 112, !19, i64 120, !24, i64 128, !19, i64 136, !17, i64 144, !19, i64 152, !17, i64 160, !19, i64 168, !19, i64 176, !19, i64 184, !19, i64 192, !14, i64 200, !14, i64 204, !17, i64 208, !17, i64 212, !17, i64 216}
!23 = !{!"_ZTSN7qpOASES10PrintLevelE", !7, i64 0}
!24 = !{!"_ZTSN7qpOASES15SubjectToStatusE", !7, i64 0}
!25 = !{!"_ZTSN7qpOASES7FlipperE", !17, i64 0, !17, i64 4, !15, i64 8, !26, i64 128, !6, i64 248, !6, i64 256, !6, i64 264}
!26 = !{!"_ZTSN7qpOASES11ConstraintsE", !16, i64 0, !18, i64 40, !18, i64 80}
!27 = !{!"_ZTSN7qpOASES13TabularOutputE", !17, i64 0, !17, i64 4, !17, i64 8, !17, i64 12, !17, i64 16, !17, i64 20, !17, i64 24, !17, i64 28}
!28 = !{!29, !29, i64 0}
!29 = !{!"vtable pointer", !8, i64 0}
!30 = !{!17, !17, i64 0}
!31 = !{!13, !23, i64 272}
!32 = !{!13, !6, i64 184}
!33 = !{!19, !19, i64 0}
!34 = !{!13, !6, i64 32}
!35 = !{!13, !6, i64 40}
!36 = !{!24, !24, i64 0}
!37 = !{!13, !6, i64 192}
!38 = distinct !{!38, !39}
!39 = !{!"llvm.loop.mustprogress"}


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

@.str.43 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [98 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z8MyPrintfPKcz(ptr noundef, ...) local_unnamed_addr #0

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

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

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZNK7qpOASES8QProblem6getNACEv(ptr noundef nonnull align 8 dereferenceable(1064)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7qpOASES9SubjectTo7getTypeEi(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) local_unnamed_addr #5 align 2

declare noundef i32 @_ZN7qpOASES11Constraints20moveActiveToInactiveEi(ptr noundef nonnull align 8 dereferenceable(120), i32 noundef) local_unnamed_addr #6

declare noundef i32 @_ZN7qpOASES6Bounds15moveFreeToFixedEiNS_15SubjectToStatusE(ptr noundef nonnull align 8 dereferenceable(120), i32 noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZNK7qpOASES9QProblemB6getNFREv(ptr noundef nonnull align 8 dereferenceable(800)) local_unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 143) i32 @_ZN7qpOASES14SQProblemSchur24repairSingularWorkingSetEv(ptr noundef nonnull align 8 dereferenceable(1256) %0) local_unnamed_addr #7 align 2 {
  %2 = alloca ptr, align 8
  %3 = getelementptr inbounds i8, ptr %0, i64 1064
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  %5 = load ptr, ptr %4, align 8, !tbaa !27
  %6 = getelementptr inbounds i8, ptr %5, i64 64
  %7 = load ptr, ptr %6, align 8
  %8 = tail call noundef i32 %7(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %9 = tail call noundef i32 @_ZNK7qpOASES9QProblemB6getNFREv(ptr noundef nonnull align 8 dereferenceable(800) %0)
  %10 = tail call noundef i32 @_ZNK7qpOASES8QProblem6getNACEv(ptr noundef nonnull align 8 dereferenceable(1064) %0)
  %11 = sub i32 %9, %8
  %12 = add i32 %11, %10
  %13 = icmp slt i32 %8, 0
  br i1 %13, label %108, label %14

14:                                               ; preds = %1
  %15 = icmp slt i32 %12, 1
  br i1 %15, label %108, label %16

16:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #8
  %17 = zext nneg i32 %12 to i64
  %18 = shl nuw nsw i64 %17, 2
  %19 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %18) #9
  store ptr %19, ptr %2, align 8, !tbaa !29
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = load ptr, ptr %20, align 8, !tbaa !27
  %22 = getelementptr inbounds i8, ptr %21, i64 72
  %23 = load ptr, ptr %22, align 8
  %24 = call noundef i32 %23(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %25 = load ptr, ptr %2, align 8, !tbaa !29
  %26 = icmp eq ptr %25, null
  br i1 %26, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %16
  %27 = getelementptr inbounds i8, ptr %0, i64 832
  %28 = getelementptr inbounds i8, ptr %0, i64 272
  %29 = getelementptr inbounds i8, ptr %0, i64 192
  %30 = getelementptr inbounds i8, ptr %0, i64 48
  %31 = getelementptr inbounds i8, ptr %0, i64 184
  %32 = getelementptr inbounds i8, ptr %0, i64 32
  %33 = getelementptr inbounds i8, ptr %0, i64 40
  br label %34

34:                                               ; preds = %.lr.ph, %96
  %indvars.iv = phi i64 [ %17, %.lr.ph ], [ %indvars.iv.next, %96 ]
  %.045 = phi i32 [ 0, %.lr.ph ], [ %.1, %96 ]
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %35 = load ptr, ptr %2, align 8, !tbaa !29
  %36 = and i64 %indvars.iv.next, 4294967295
  %37 = getelementptr inbounds i32, ptr %35, i64 %36
  %38 = load i32, ptr %37, align 4, !tbaa !30
  %39 = icmp slt i32 %38, %9
  br i1 %39, label %40, label %71

40:                                               ; preds = %34
  %41 = call noundef ptr @_ZN7qpOASES6Bounds7getFreeEv(ptr noundef nonnull align 8 dereferenceable(120) %30)
  %42 = load ptr, ptr %2, align 8, !tbaa !29
  %43 = getelementptr inbounds i32, ptr %42, i64 %36
  %44 = load i32, ptr %43, align 4, !tbaa !30
  %45 = call noundef i32 @_ZNK7qpOASES9Indexlist9getNumberEi(ptr noundef nonnull align 8 dereferenceable(36) %41, i32 noundef %44)
  %46 = load i32, ptr %28, align 8, !tbaa !31
  %47 = icmp eq i32 %46, 3
  br i1 %47, label %48, label %49

48:                                               ; preds = %40
  call void (ptr, ...) @_Z8MyPrintfPKcz(ptr noundef nonnull @.str.43, i32 noundef %45)
  br label %49

49:                                               ; preds = %48, %40
  %50 = load ptr, ptr %31, align 8, !tbaa !32
  %51 = sext i32 %45 to i64
  %52 = getelementptr inbounds double, ptr %50, i64 %51
  %53 = load double, ptr %52, align 8, !tbaa !33
  %54 = load ptr, ptr %32, align 8, !tbaa !34
  %55 = getelementptr inbounds double, ptr %54, i64 %51
  %56 = load double, ptr %55, align 8, !tbaa !33
  %57 = fsub double %53, %56
  %58 = load ptr, ptr %33, align 8, !tbaa !35
  %59 = getelementptr inbounds double, ptr %58, i64 %51
  %60 = load double, ptr %59, align 8, !tbaa !33
  %61 = fsub double %60, %53
  %62 = fcmp olt double %57, %61
  %. = select i1 %62, i32 -1, i32 1
  %63 = call noundef i32 @_ZN7qpOASES6Bounds15moveFreeToFixedEiNS_15SubjectToStatusE(ptr noundef nonnull align 8 dereferenceable(120) %30, i32 noundef %45, i32 noundef %.)
  %.not42 = icmp eq i32 %63, 0
  br i1 %.not42, label %64, label %.loopexit

64:                                               ; preds = %49
  %65 = load ptr, ptr %31, align 8, !tbaa !32
  %66 = getelementptr inbounds double, ptr %65, i64 %51
  %67 = load double, ptr %66, align 8, !tbaa !33
  %.val = load ptr, ptr %32, align 8
  %.val50 = load ptr, ptr %33, align 8
  %68 = select i1 %62, ptr %.val, ptr %.val50
  %69 = getelementptr inbounds double, ptr %68, i64 %51
  store double %67, ptr %69, align 8, !tbaa !33
  %70 = add nsw i32 %.045, 1
  br label %96

71:                                               ; preds = %34
  %72 = call noundef ptr @_ZN7qpOASES11Constraints9getActiveEv(ptr noundef nonnull align 8 dereferenceable(120) %27)
  %73 = load ptr, ptr %2, align 8, !tbaa !29
  %74 = getelementptr inbounds i32, ptr %73, i64 %36
  %75 = load i32, ptr %74, align 4, !tbaa !30
  %76 = sub nsw i32 %75, %9
  %77 = call noundef i32 @_ZNK7qpOASES9Indexlist9getNumberEi(ptr noundef nonnull align 8 dereferenceable(36) %72, i32 noundef %76)
  %78 = load i32, ptr %28, align 8, !tbaa !31
  %79 = icmp eq i32 %78, 3
  br i1 %79, label %80, label %81

80:                                               ; preds = %71
  call void (ptr, ...) @_Z8MyPrintfPKcz(ptr noundef nonnull @.str.44, i32 noundef %77)
  br label %81

81:                                               ; preds = %80, %71
  %82 = call noundef i32 @_ZN7qpOASES11Constraints20moveActiveToInactiveEi(ptr noundef nonnull align 8 dereferenceable(120) %27, i32 noundef %77)
  %.not = icmp eq i32 %82, 0
  br i1 %.not, label %83, label %.loopexit

83:                                               ; preds = %81
  %84 = call noundef i32 @_ZNK7qpOASES9SubjectTo7getTypeEi(ptr noundef nonnull align 8 dereferenceable(40) %27, i32 noundef %77)
  %85 = icmp eq i32 %84, 2
  br i1 %85, label %86, label %92

86:                                               ; preds = %83
  %87 = load i32, ptr %28, align 8, !tbaa !31
  %88 = icmp eq i32 %87, 3
  br i1 %88, label %89, label %90

89:                                               ; preds = %86
  call void (ptr, ...) @_Z8MyPrintfPKcz(ptr noundef nonnull @.str.45)
  br label %90

90:                                               ; preds = %89, %86
  %91 = call noundef i32 @_ZN7qpOASES9SubjectTo7setTypeEiNS_13SubjectToTypeE(ptr noundef nonnull align 8 dereferenceable(40) %27, i32 noundef %77, i32 noundef 1)
  br label %92

92:                                               ; preds = %90, %83
  %93 = load ptr, ptr %29, align 8, !tbaa !36
  %94 = sext i32 %77 to i64
  %95 = getelementptr inbounds double, ptr %93, i64 %94
  store double 0.000000e+00, ptr %95, align 8, !tbaa !33
  br label %96

96:                                               ; preds = %64, %92
  %.1 = phi i32 [ %70, %64 ], [ %.045, %92 ]
  %97 = trunc nuw i64 %indvars.iv to i32
  %98 = icmp sgt i32 %97, 1
  br i1 %98, label %34, label %._crit_edge, !llvm.loop !37

._crit_edge:                                      ; preds = %96
  %99 = getelementptr inbounds i8, ptr %0, i64 272
  %100 = load i32, ptr %99, align 8, !tbaa !31
  %101 = icmp eq i32 %100, 3
  br i1 %101, label %102, label %104

102:                                              ; preds = %._crit_edge
  %103 = sub nsw i32 %12, %.1
  call void (ptr, ...) @_Z8MyPrintfPKcz(ptr noundef nonnull @.str.46, i32 noundef %103, i32 noundef %.1)
  br label %104

104:                                              ; preds = %102, %._crit_edge
  %105 = load ptr, ptr %2, align 8, !tbaa !29
  %106 = icmp eq ptr %105, null
  br i1 %106, label %.loopexit, label %107

107:                                              ; preds = %104
  call void @_ZdaPv(ptr noundef nonnull %105) #10
  br label %.loopexit

.loopexit:                                        ; preds = %49, %81, %107, %104, %16
  %.136 = phi i32 [ 142, %16 ], [ 0, %107 ], [ 0, %104 ], [ 80, %81 ], [ 78, %49 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #8
  br label %108

108:                                              ; preds = %14, %1, %.loopexit
  %.2 = phi i32 [ %.136, %.loopexit ], [ 142, %1 ], [ 9, %14 ]
  ret i32 %.2
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7qpOASES9Indexlist9getNumberEi(ptr noundef nonnull align 8 dereferenceable(36), i32 noundef) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN7qpOASES9SubjectTo7setTypeEiNS_13SubjectToTypeE(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef) local_unnamed_addr #4 align 2

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #4 = { 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 #5 = { 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 #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 = { 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
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, !13, i64 1064}
!6 = !{!"_ZTSN7qpOASES14SQProblemSchurE", !7, i64 0, !13, i64 1064, !13, i64 1072, !16, i64 1080, !16, i64 1084, !13, i64 1088, !13, i64 1096, !18, i64 1104, !18, i64 1112, !16, i64 1120, !13, i64 1128, !13, i64 1136, !16, i64 1144, !13, i64 1152, !13, i64 1160, !13, i64 1168, !17, i64 1176, !17, i64 1216}
!7 = !{!"_ZTSN7qpOASES9SQProblemE", !8, i64 0}
!8 = !{!"_ZTSN7qpOASES8QProblemE", !9, i64 0, !10, i64 800, !13, i64 808, !13, i64 816, !13, i64 824, !25, i64 832, !13, i64 952, !13, i64 960, !16, i64 968, !13, i64 976, !13, i64 984, !13, i64 992, !13, i64 1000, !13, i64 1008, !13, i64 1016, !13, i64 1024, !13, i64 1032, !13, i64 1040, !13, i64 1048, !13, i64 1056}
!9 = !{!"_ZTSN7qpOASES9QProblemBE", !10, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !14, i64 48, !13, i64 168, !10, i64 176, !13, i64 184, !13, i64 192, !18, i64 200, !19, i64 208, !10, i64 212, !10, i64 216, !20, i64 220, !18, i64 224, !16, i64 232, !13, i64 240, !18, i64 248, !18, i64 256, !16, i64 264, !21, i64 272, !24, i64 496, !26, i64 768}
!10 = !{!"_ZTSN7qpOASES11BooleanTypeE", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = !{!"any pointer", !11, i64 0}
!14 = !{!"_ZTSN7qpOASES6BoundsE", !15, i64 0, !17, i64 40, !17, i64 80}
!15 = !{!"_ZTSN7qpOASES9SubjectToE", !16, i64 8, !13, i64 16, !13, i64 24, !10, i64 32, !10, i64 36}
!16 = !{!"int", !11, i64 0}
!17 = !{!"_ZTSN7qpOASES9IndexlistE", !13, i64 0, !13, i64 8, !16, i64 16, !16, i64 20, !16, i64 24, !16, i64 28, !16, i64 32}
!18 = !{!"double", !11, i64 0}
!19 = !{!"_ZTSN7qpOASES14QProblemStatusE", !11, i64 0}
!20 = !{!"_ZTSN7qpOASES11HessianTypeE", !11, i64 0}
!21 = !{!"_ZTSN7qpOASES7OptionsE", !22, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !16, i64 28, !16, i64 32, !10, i64 36, !18, i64 40, !18, i64 48, !18, i64 56, !18, i64 64, !18, i64 72, !18, i64 80, !18, i64 88, !18, i64 96, !18, i64 104, !18, i64 112, !18, i64 120, !23, i64 128, !18, i64 136, !16, i64 144, !18, i64 152, !16, i64 160, !18, i64 168, !18, i64 176, !18, i64 184, !18, i64 192, !10, i64 200, !10, i64 204, !16, i64 208, !16, i64 212, !16, i64 216}
!22 = !{!"_ZTSN7qpOASES10PrintLevelE", !11, i64 0}
!23 = !{!"_ZTSN7qpOASES15SubjectToStatusE", !11, i64 0}
!24 = !{!"_ZTSN7qpOASES7FlipperE", !16, i64 0, !16, i64 4, !14, i64 8, !25, i64 128, !13, i64 248, !13, i64 256, !13, i64 264}
!25 = !{!"_ZTSN7qpOASES11ConstraintsE", !15, i64 0, !17, i64 40, !17, i64 80}
!26 = !{!"_ZTSN7qpOASES13TabularOutputE", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12, !16, i64 16, !16, i64 20, !16, i64 24, !16, i64 28}
!27 = !{!28, !28, i64 0}
!28 = !{!"vtable pointer", !12, i64 0}
!29 = !{!13, !13, i64 0}
!30 = !{!16, !16, i64 0}
!31 = !{!9, !22, i64 272}
!32 = !{!9, !13, i64 184}
!33 = !{!18, !18, i64 0}
!34 = !{!9, !13, i64 32}
!35 = !{!9, !13, i64 40}
!36 = !{!9, !13, i64 192}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}


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