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

@.str = external hidden unnamed_addr constant [28 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [109 x i8], align 1

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

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

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

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

declare noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv() #3

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

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

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

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

declare noundef i32 @_ZNK7qpOASES9Indexlist14getNumberArrayEPPi(ptr noundef nonnull align 8 dereferenceable(36), ptr noundef) #3

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

; 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 double @_ZN7qpOASES6getAbsEd(double noundef) #6

declare noundef i32 @_ZN7qpOASES15MessageHandling9throwInfoENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28), i32 noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7qpOASES14SQProblemSchur21addBound_checkLISchurEiPdS1_(ptr noundef nonnull align 8 dereferenceable(1256) %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #7 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = alloca double, align 8
  %30 = alloca double, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %31 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 88, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  %32 = call noundef i32 @_ZNK7qpOASES9QProblemB5getNVEv(ptr noundef nonnull align 8 dereferenceable(800) %31)
  store i32 %32, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  %33 = call noundef i32 @_ZNK7qpOASES9QProblemB6getNFREv(ptr noundef nonnull align 8 dereferenceable(800) %31)
  store i32 %33, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  %34 = call noundef i32 @_ZNK7qpOASES8QProblem5getNCEv(ptr noundef nonnull align 8 dereferenceable(1064) %31)
  store i32 %34, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  %35 = call noundef i32 @_ZNK7qpOASES8QProblem6getNACEv(ptr noundef nonnull align 8 dereferenceable(1064) %31)
  store i32 %35, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  %36 = call noundef i32 @_ZNK7qpOASES9QProblemB6getNFXEv(ptr noundef nonnull align 8 dereferenceable(800) %31)
  store i32 %36, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %37 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %31, i32 0, i32 6
  %38 = call noundef ptr @_ZN7qpOASES6Bounds7getFreeEv(ptr noundef nonnull align 8 dereferenceable(120) %37)
  %39 = call noundef i32 @_ZNK7qpOASES9Indexlist14getNumberArrayEPPi(ptr noundef nonnull align 8 dereferenceable(36) %38, ptr noundef %16)
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %40 = load i32, ptr %11, align 4, !tbaa !9
  %41 = sext i32 %40 to i64
  %42 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %41, i64 8)
  %43 = extractvalue { i64, i1 } %42, 1
  %44 = extractvalue { i64, i1 } %42, 0
  %45 = select i1 %43, i64 -1, i64 %44
  %46 = call noalias noundef nonnull ptr @_Znam(i64 noundef %45) #9
  store ptr %46, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %47 = load i32, ptr %15, align 4, !tbaa !9
  %48 = sext i32 %47 to i64
  %49 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %48, i64 8)
  %50 = extractvalue { i64, i1 } %49, 1
  %51 = extractvalue { i64, i1 } %49, 0
  %52 = select i1 %50, i64 -1, i64 %51
  %53 = call noalias noundef nonnull ptr @_Znam(i64 noundef %52) #9
  store ptr %53, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %54 = load i32, ptr %12, align 4, !tbaa !9
  %55 = sext i32 %54 to i64
  %56 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %55, i64 8)
  %57 = extractvalue { i64, i1 } %56, 1
  %58 = extractvalue { i64, i1 } %56, 0
  %59 = select i1 %57, i64 -1, i64 %58
  %60 = call noalias noundef nonnull ptr @_Znam(i64 noundef %59) #9
  store ptr %60, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %61, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %62, ptr %21, align 8, !tbaa !5
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %63

63:                                               ; preds = %72, %4
  %64 = load i32, ptr %10, align 4, !tbaa !9
  %65 = load i32, ptr %11, align 4, !tbaa !9
  %66 = icmp slt i32 %64, %65
  br i1 %66, label %67, label %75

67:                                               ; preds = %63
  %68 = load ptr, ptr %17, align 8, !tbaa !5
  %69 = load i32, ptr %10, align 4, !tbaa !9
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds double, ptr %68, i64 %70
  store double 0.000000e+00, ptr %71, align 8, !tbaa !13
  br label %72

72:                                               ; preds = %67
  %73 = load i32, ptr %10, align 4, !tbaa !9
  %74 = add nsw i32 %73, 1
  store i32 %74, ptr %10, align 4, !tbaa !9
  br label %63, !llvm.loop !15

75:                                               ; preds = %63
  %76 = load ptr, ptr %17, align 8, !tbaa !5
  %77 = load i32, ptr %6, align 4, !tbaa !9
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds double, ptr %76, i64 %78
  store double 1.000000e+00, ptr %79, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  %80 = load i32, ptr %13, align 4, !tbaa !9
  %81 = load i32, ptr %11, align 4, !tbaa !9
  %82 = icmp sgt i32 %80, %81
  br i1 %82, label %83, label %85

83:                                               ; preds = %75
  %84 = load i32, ptr %13, align 4, !tbaa !9
  br label %87

85:                                               ; preds = %75
  %86 = load i32, ptr %11, align 4, !tbaa !9
  br label %87

87:                                               ; preds = %85, %83
  %88 = phi i32 [ %84, %83 ], [ %86, %85 ]
  store i32 %88, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %89 = load i32, ptr %22, align 4, !tbaa !9
  %90 = sext i32 %89 to i64
  %91 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %90, i64 8)
  %92 = extractvalue { i64, i1 } %91, 1
  %93 = extractvalue { i64, i1 } %91, 0
  %94 = select i1 %92, i64 -1, i64 %93
  %95 = call noalias noundef nonnull ptr @_Znam(i64 noundef %94) #9
  store ptr %95, ptr %23, align 8, !tbaa !5
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %96

96:                                               ; preds = %105, %87
  %97 = load i32, ptr %10, align 4, !tbaa !9
  %98 = load i32, ptr %22, align 4, !tbaa !9
  %99 = icmp slt i32 %97, %98
  br i1 %99, label %100, label %108

100:                                              ; preds = %96
  %101 = load ptr, ptr %23, align 8, !tbaa !5
  %102 = load i32, ptr %10, align 4, !tbaa !9
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds double, ptr %101, i64 %103
  store double 0.000000e+00, ptr %104, align 8, !tbaa !13
  br label %105

105:                                              ; preds = %100
  %106 = load i32, ptr %10, align 4, !tbaa !9
  %107 = add nsw i32 %106, 1
  store i32 %107, ptr %10, align 4, !tbaa !9
  br label %96, !llvm.loop !17

108:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  %109 = load ptr, ptr %17, align 8, !tbaa !5
  %110 = load ptr, ptr %23, align 8, !tbaa !5
  %111 = load ptr, ptr %23, align 8, !tbaa !5
  %112 = load ptr, ptr %23, align 8, !tbaa !5
  %113 = load ptr, ptr %23, align 8, !tbaa !5
  %114 = load ptr, ptr %18, align 8, !tbaa !5
  %115 = load ptr, ptr %19, align 8, !tbaa !5
  %116 = load ptr, ptr %20, align 8, !tbaa !5
  %117 = load ptr, ptr %21, align 8, !tbaa !5
  %118 = load ptr, ptr %31, align 8, !tbaa !18
  %119 = getelementptr inbounds ptr, ptr %118, i64 34
  %120 = load ptr, ptr %119, align 8
  %121 = call noundef i32 %120(ptr noundef nonnull align 8 dereferenceable(1256) %31, ptr noundef %109, ptr noundef %110, ptr noundef %111, ptr noundef %112, ptr noundef %113, i32 noundef 0, i32 noundef 0, ptr noundef %114, ptr noundef %115, ptr noundef %116, ptr noundef %117)
  store i32 %121, ptr %24, align 4, !tbaa !11
  %122 = load i32, ptr %24, align 4, !tbaa !11
  %123 = icmp ne i32 %122, 0
  br i1 %123, label %124, label %126

124:                                              ; preds = %108
  %125 = load i32, ptr %24, align 4, !tbaa !11
  store i32 %125, ptr %9, align 4, !tbaa !11
  br label %126

126:                                              ; preds = %124, %108
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  store double 0.000000e+00, ptr %25, align 8, !tbaa !13
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %127

127:                                              ; preds = %144, %126
  %128 = load i32, ptr %10, align 4, !tbaa !9
  %129 = load i32, ptr %14, align 4, !tbaa !9
  %130 = icmp slt i32 %128, %129
  br i1 %130, label %131, label %147

131:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %132 = load ptr, ptr %20, align 8, !tbaa !5
  %133 = load i32, ptr %10, align 4, !tbaa !9
  %134 = sext i32 %133 to i64
  %135 = getelementptr inbounds double, ptr %132, i64 %134
  %136 = load double, ptr %135, align 8, !tbaa !13
  %137 = call noundef double @_ZN7qpOASES6getAbsEd(double noundef %136)
  store double %137, ptr %26, align 8, !tbaa !13
  %138 = load double, ptr %25, align 8, !tbaa !13
  %139 = load double, ptr %26, align 8, !tbaa !13
  %140 = fcmp olt double %138, %139
  br i1 %140, label %141, label %143

141:                                              ; preds = %131
  %142 = load double, ptr %26, align 8, !tbaa !13
  store double %142, ptr %25, align 8, !tbaa !13
  br label %143

143:                                              ; preds = %141, %131
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  br label %144

144:                                              ; preds = %143
  %145 = load i32, ptr %10, align 4, !tbaa !9
  %146 = add nsw i32 %145, 1
  store i32 %146, ptr %10, align 4, !tbaa !9
  br label %127, !llvm.loop !20

147:                                              ; preds = %127
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %148

148:                                              ; preds = %165, %147
  %149 = load i32, ptr %10, align 4, !tbaa !9
  %150 = load i32, ptr %15, align 4, !tbaa !9
  %151 = icmp slt i32 %149, %150
  br i1 %151, label %152, label %168

152:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %153 = load ptr, ptr %21, align 8, !tbaa !5
  %154 = load i32, ptr %10, align 4, !tbaa !9
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds double, ptr %153, i64 %155
  %157 = load double, ptr %156, align 8, !tbaa !13
  %158 = call noundef double @_ZN7qpOASES6getAbsEd(double noundef %157)
  store double %158, ptr %27, align 8, !tbaa !13
  %159 = load double, ptr %25, align 8, !tbaa !13
  %160 = load double, ptr %27, align 8, !tbaa !13
  %161 = fcmp olt double %159, %160
  br i1 %161, label %162, label %164

162:                                              ; preds = %152
  %163 = load double, ptr %27, align 8, !tbaa !13
  store double %163, ptr %25, align 8, !tbaa !13
  br label %164

164:                                              ; preds = %162, %152
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %165

165:                                              ; preds = %164
  %166 = load i32, ptr %10, align 4, !tbaa !9
  %167 = add nsw i32 %166, 1
  store i32 %167, ptr %10, align 4, !tbaa !9
  br label %148, !llvm.loop !21

168:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  store double 0.000000e+00, ptr %28, align 8, !tbaa !13
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %169

169:                                              ; preds = %186, %168
  %170 = load i32, ptr %10, align 4, !tbaa !9
  %171 = load i32, ptr %15, align 4, !tbaa !9
  %172 = icmp slt i32 %170, %171
  br i1 %172, label %173, label %189

173:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %174 = load ptr, ptr %18, align 8, !tbaa !5
  %175 = load i32, ptr %10, align 4, !tbaa !9
  %176 = sext i32 %175 to i64
  %177 = getelementptr inbounds double, ptr %174, i64 %176
  %178 = load double, ptr %177, align 8, !tbaa !13
  %179 = call noundef double @_ZN7qpOASES6getAbsEd(double noundef %178)
  store double %179, ptr %29, align 8, !tbaa !13
  %180 = load double, ptr %28, align 8, !tbaa !13
  %181 = load double, ptr %29, align 8, !tbaa !13
  %182 = fcmp olt double %180, %181
  br i1 %182, label %183, label %185

183:                                              ; preds = %173
  %184 = load double, ptr %29, align 8, !tbaa !13
  store double %184, ptr %28, align 8, !tbaa !13
  br label %185

185:                                              ; preds = %183, %173
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  br label %186

186:                                              ; preds = %185
  %187 = load i32, ptr %10, align 4, !tbaa !9
  %188 = add nsw i32 %187, 1
  store i32 %188, ptr %10, align 4, !tbaa !9
  br label %169, !llvm.loop !22

189:                                              ; preds = %169
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %190

190:                                              ; preds = %207, %189
  %191 = load i32, ptr %10, align 4, !tbaa !9
  %192 = load i32, ptr %12, align 4, !tbaa !9
  %193 = icmp slt i32 %191, %192
  br i1 %193, label %194, label %210

194:                                              ; preds = %190
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %195 = load ptr, ptr %19, align 8, !tbaa !5
  %196 = load i32, ptr %10, align 4, !tbaa !9
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds double, ptr %195, i64 %197
  %199 = load double, ptr %198, align 8, !tbaa !13
  %200 = call noundef double @_ZN7qpOASES6getAbsEd(double noundef %199)
  store double %200, ptr %30, align 8, !tbaa !13
  %201 = load double, ptr %28, align 8, !tbaa !13
  %202 = load double, ptr %30, align 8, !tbaa !13
  %203 = fcmp olt double %201, %202
  br i1 %203, label %204, label %206

204:                                              ; preds = %194
  %205 = load double, ptr %30, align 8, !tbaa !13
  store double %205, ptr %28, align 8, !tbaa !13
  br label %206

206:                                              ; preds = %204, %194
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  br label %207

207:                                              ; preds = %206
  %208 = load i32, ptr %10, align 4, !tbaa !9
  %209 = add nsw i32 %208, 1
  store i32 %209, ptr %10, align 4, !tbaa !9
  br label %190, !llvm.loop !23

210:                                              ; preds = %190
  %211 = load double, ptr %28, align 8, !tbaa !13
  %212 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %31, i32 0, i32 23
  %213 = getelementptr inbounds %"class.qpOASES::Options", ptr %212, i32 0, i32 30
  %214 = load double, ptr %213, align 8, !tbaa !24
  %215 = load double, ptr %25, align 8, !tbaa !13
  %216 = fmul double %214, %215
  %217 = fcmp ogt double %211, %216
  br i1 %217, label %218, label %219

218:                                              ; preds = %210
  store i32 89, ptr %9, align 4, !tbaa !11
  br label %219

219:                                              ; preds = %218, %210
  %220 = load ptr, ptr %23, align 8, !tbaa !5
  %221 = icmp eq ptr %220, null
  br i1 %221, label %223, label %222

222:                                              ; preds = %219
  call void @_ZdaPv(ptr noundef %220) #10
  br label %223

223:                                              ; preds = %222, %219
  %224 = load ptr, ptr %19, align 8, !tbaa !5
  %225 = icmp eq ptr %224, null
  br i1 %225, label %227, label %226

226:                                              ; preds = %223
  call void @_ZdaPv(ptr noundef %224) #10
  br label %227

227:                                              ; preds = %226, %223
  %228 = load ptr, ptr %18, align 8, !tbaa !5
  %229 = icmp eq ptr %228, null
  br i1 %229, label %231, label %230

230:                                              ; preds = %227
  call void @_ZdaPv(ptr noundef %228) #10
  br label %231

231:                                              ; preds = %230, %227
  %232 = load ptr, ptr %17, align 8, !tbaa !5
  %233 = icmp eq ptr %232, null
  br i1 %233, label %235, label %234

234:                                              ; preds = %231
  call void @_ZdaPv(ptr noundef %232) #10
  br label %235

235:                                              ; preds = %234, %231
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  %236 = call noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv()
  %237 = load i32, ptr %9, align 4, !tbaa !11
  %238 = call noundef i32 @_ZN7qpOASES15MessageHandling9throwInfoENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28) %236, i32 noundef %237, ptr noundef null, ptr noundef @.str, ptr noundef @.str.1, i64 noundef 1351, i32 noundef 1)
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  ret i32 %238
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { "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 = { 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, !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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_ZTSN7qpOASES11returnValueE", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = !{!19, !19, i64 0}
!19 = !{!"vtable pointer", !8, i64 0}
!20 = distinct !{!20, !16}
!21 = distinct !{!21, !16}
!22 = distinct !{!22, !16}
!23 = distinct !{!23, !16}
!24 = !{!25, !14, i64 448}
!25 = !{!"_ZTSN7qpOASES9QProblemBE", !26, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !27, i64 48, !6, i64 168, !26, i64 176, !6, i64 184, !6, i64 192, !14, i64 200, !30, i64 208, !26, i64 212, !26, i64 216, !31, i64 220, !14, i64 224, !10, i64 232, !6, i64 240, !14, i64 248, !14, i64 256, !10, i64 264, !32, i64 272, !35, i64 496, !37, i64 768}
!26 = !{!"_ZTSN7qpOASES11BooleanTypeE", !7, i64 0}
!27 = !{!"_ZTSN7qpOASES6BoundsE", !28, i64 0, !29, i64 40, !29, i64 80}
!28 = !{!"_ZTSN7qpOASES9SubjectToE", !10, i64 8, !6, i64 16, !6, i64 24, !26, i64 32, !26, i64 36}
!29 = !{!"_ZTSN7qpOASES9IndexlistE", !6, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32}
!30 = !{!"_ZTSN7qpOASES14QProblemStatusE", !7, i64 0}
!31 = !{!"_ZTSN7qpOASES11HessianTypeE", !7, i64 0}
!32 = !{!"_ZTSN7qpOASES7OptionsE", !33, i64 0, !26, i64 4, !26, i64 8, !26, i64 12, !26, i64 16, !26, i64 20, !26, i64 24, !10, i64 28, !10, i64 32, !26, i64 36, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !14, i64 120, !34, i64 128, !14, i64 136, !10, i64 144, !14, i64 152, !10, i64 160, !14, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !26, i64 200, !26, i64 204, !10, i64 208, !10, i64 212, !10, i64 216}
!33 = !{!"_ZTSN7qpOASES10PrintLevelE", !7, i64 0}
!34 = !{!"_ZTSN7qpOASES15SubjectToStatusE", !7, i64 0}
!35 = !{!"_ZTSN7qpOASES7FlipperE", !10, i64 0, !10, i64 4, !27, i64 8, !36, i64 128, !6, i64 248, !6, i64 256, !6, i64 264}
!36 = !{!"_ZTSN7qpOASES11ConstraintsE", !28, i64 0, !29, i64 40, !29, i64 80}
!37 = !{!"_ZTSN7qpOASES13TabularOutputE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28}


; 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 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [109 x i8], align 1

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

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

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

declare noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv() 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 @_ZNK7qpOASES9QProblemB5getNVEv(ptr noundef nonnull align 8 dereferenceable(800)) local_unnamed_addr #4 align 2

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

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

declare noundef i32 @_ZNK7qpOASES9Indexlist14getNumberArrayEPPi(ptr noundef nonnull align 8 dereferenceable(36), ptr noundef) local_unnamed_addr #2

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

; 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 double @_ZN7qpOASES6getAbsEd(double noundef) local_unnamed_addr #5

declare noundef i32 @_ZN7qpOASES15MessageHandling9throwInfoENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28), i32 noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7qpOASES14SQProblemSchur21addBound_checkLISchurEiPdS1_(ptr noundef nonnull align 8 dereferenceable(1256) %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #6 align 2 {
  %5 = alloca ptr, align 8
  %6 = tail call noundef i32 @_ZNK7qpOASES9QProblemB5getNVEv(ptr noundef nonnull align 8 dereferenceable(800) %0)
  %7 = tail call noundef i32 @_ZNK7qpOASES9QProblemB6getNFREv(ptr noundef nonnull align 8 dereferenceable(800) %0)
  %8 = tail call noundef i32 @_ZNK7qpOASES8QProblem5getNCEv(ptr noundef nonnull align 8 dereferenceable(1064) %0)
  %9 = tail call noundef i32 @_ZNK7qpOASES8QProblem6getNACEv(ptr noundef nonnull align 8 dereferenceable(1064) %0)
  %10 = tail call noundef i32 @_ZNK7qpOASES9QProblemB6getNFXEv(ptr noundef nonnull align 8 dereferenceable(800) %0)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #9
  %11 = getelementptr inbounds i8, ptr %0, i64 48
  %12 = tail call noundef ptr @_ZN7qpOASES6Bounds7getFreeEv(ptr noundef nonnull align 8 dereferenceable(120) %11)
  %13 = call noundef i32 @_ZNK7qpOASES9Indexlist14getNumberArrayEPPi(ptr noundef nonnull align 8 dereferenceable(36) %12, ptr noundef nonnull %5)
  %14 = zext i32 %6 to i64
  %15 = icmp slt i32 %6, 0
  %16 = shl nuw nsw i64 %14, 3
  %17 = select i1 %15, i64 -1, i64 %16
  %18 = call noalias noundef nonnull ptr @_Znam(i64 noundef %17) #10
  %19 = zext i32 %10 to i64
  %20 = icmp slt i32 %10, 0
  %21 = shl nuw nsw i64 %19, 3
  %22 = select i1 %20, i64 -1, i64 %21
  %23 = call noalias noundef nonnull ptr @_Znam(i64 noundef %22) #10
  %24 = zext i32 %7 to i64
  %25 = icmp slt i32 %7, 0
  %26 = shl nuw nsw i64 %24, 3
  %27 = select i1 %25, i64 -1, i64 %26
  %28 = call noalias noundef nonnull ptr @_Znam(i64 noundef %27) #10
  %29 = icmp sgt i32 %6, 0
  br i1 %29, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %4
  call void @llvm.memset.p0.i64(ptr nonnull align 8 %18, i8 0, i64 %16, i1 false), !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph.preheader, %4
  %30 = sext i32 %1 to i64
  %31 = getelementptr inbounds double, ptr %18, i64 %30
  store double 1.000000e+00, ptr %31, align 8, !tbaa !5
  %32 = call i32 @llvm.smax.i32(i32 %8, i32 %6)
  %33 = zext i32 %32 to i64
  %34 = icmp slt i32 %32, 0
  %35 = shl nuw nsw i64 %33, 3
  %36 = select i1 %34, i64 -1, i64 %35
  %37 = call noalias noundef nonnull ptr @_Znam(i64 noundef %36) #10
  %38 = icmp sgt i32 %32, 0
  br i1 %38, label %.lr.ph94.preheader, label %._crit_edge95

.lr.ph94.preheader:                               ; preds = %._crit_edge
  call void @llvm.memset.p0.i64(ptr nonnull align 8 %37, i8 0, i64 %35, i1 false), !tbaa !5
  br label %._crit_edge95

._crit_edge95:                                    ; preds = %.lr.ph94.preheader, %._crit_edge
  %39 = load ptr, ptr %0, align 8, !tbaa !9
  %40 = getelementptr inbounds i8, ptr %39, i64 272
  %41 = load ptr, ptr %40, align 8
  %42 = call noundef i32 %41(ptr noundef nonnull align 8 dereferenceable(1256) %0, ptr noundef nonnull %18, ptr noundef nonnull %37, ptr noundef nonnull %37, ptr noundef nonnull %37, ptr noundef nonnull %37, i32 noundef 0, i32 noundef 0, ptr noundef nonnull %23, ptr noundef nonnull %28, ptr noundef %2, ptr noundef %3)
  %43 = icmp sgt i32 %9, 0
  br i1 %43, label %.lr.ph99.preheader, label %.preheader90

.lr.ph99.preheader:                               ; preds = %._crit_edge95
  %wide.trip.count = zext nneg i32 %9 to i64
  br label %.lr.ph99

.preheader90:                                     ; preds = %.lr.ph99, %._crit_edge95
  %.078.lcssa = phi double [ 0.000000e+00, %._crit_edge95 ], [ %.179, %.lr.ph99 ]
  %44 = icmp sgt i32 %10, 0
  br i1 %44, label %.lr.ph102, label %.preheader

.lr.ph99:                                         ; preds = %.lr.ph99.preheader, %.lr.ph99
  %indvars.iv = phi i64 [ 0, %.lr.ph99.preheader ], [ %indvars.iv.next, %.lr.ph99 ]
  %.07896 = phi double [ 0.000000e+00, %.lr.ph99.preheader ], [ %.179, %.lr.ph99 ]
  %45 = getelementptr inbounds double, ptr %2, i64 %indvars.iv
  %46 = load double, ptr %45, align 8, !tbaa !5
  %47 = call noundef double @_ZN7qpOASES6getAbsEd(double noundef %46)
  %48 = fcmp olt double %.07896, %47
  %.179 = select i1 %48, double %47, double %.07896
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.preheader90, label %.lr.ph99, !llvm.loop !11

.preheader89:                                     ; preds = %.lr.ph102
  br i1 %44, label %.lr.ph106, label %.preheader

.lr.ph102:                                        ; preds = %.preheader90, %.lr.ph102
  %indvars.iv116 = phi i64 [ %indvars.iv.next117, %.lr.ph102 ], [ 0, %.preheader90 ]
  %.280100 = phi double [ %.381, %.lr.ph102 ], [ %.078.lcssa, %.preheader90 ]
  %49 = getelementptr inbounds double, ptr %3, i64 %indvars.iv116
  %50 = load double, ptr %49, align 8, !tbaa !5
  %51 = call noundef double @_ZN7qpOASES6getAbsEd(double noundef %50)
  %52 = fcmp olt double %.280100, %51
  %.381 = select i1 %52, double %51, double %.280100
  %indvars.iv.next117 = add nuw nsw i64 %indvars.iv116, 1
  %exitcond120.not = icmp eq i64 %indvars.iv.next117, %19
  br i1 %exitcond120.not, label %.preheader89, label %.lr.ph102, !llvm.loop !13

.preheader:                                       ; preds = %.lr.ph106, %.preheader90, %.preheader89
  %.280.lcssa132 = phi double [ %.381, %.preheader89 ], [ %.078.lcssa, %.preheader90 ], [ %.381, %.lr.ph106 ]
  %.074.lcssa = phi double [ 0.000000e+00, %.preheader89 ], [ 0.000000e+00, %.preheader90 ], [ %.175, %.lr.ph106 ]
  %53 = icmp sgt i32 %7, 0
  br i1 %53, label %.lr.ph110, label %._crit_edge111

.lr.ph106:                                        ; preds = %.preheader89, %.lr.ph106
  %indvars.iv121 = phi i64 [ %indvars.iv.next122, %.lr.ph106 ], [ 0, %.preheader89 ]
  %.074104 = phi double [ %.175, %.lr.ph106 ], [ 0.000000e+00, %.preheader89 ]
  %54 = getelementptr inbounds double, ptr %23, i64 %indvars.iv121
  %55 = load double, ptr %54, align 8, !tbaa !5
  %56 = call noundef double @_ZN7qpOASES6getAbsEd(double noundef %55)
  %57 = fcmp olt double %.074104, %56
  %.175 = select i1 %57, double %56, double %.074104
  %indvars.iv.next122 = add nuw nsw i64 %indvars.iv121, 1
  %exitcond125.not = icmp eq i64 %indvars.iv.next122, %19
  br i1 %exitcond125.not, label %.preheader, label %.lr.ph106, !llvm.loop !14

.lr.ph110:                                        ; preds = %.preheader, %.lr.ph110
  %indvars.iv126 = phi i64 [ %indvars.iv.next127, %.lr.ph110 ], [ 0, %.preheader ]
  %.276108 = phi double [ %.377, %.lr.ph110 ], [ %.074.lcssa, %.preheader ]
  %58 = getelementptr inbounds double, ptr %28, i64 %indvars.iv126
  %59 = load double, ptr %58, align 8, !tbaa !5
  %60 = call noundef double @_ZN7qpOASES6getAbsEd(double noundef %59)
  %61 = fcmp olt double %.276108, %60
  %.377 = select i1 %61, double %60, double %.276108
  %indvars.iv.next127 = add nuw nsw i64 %indvars.iv126, 1
  %exitcond130.not = icmp eq i64 %indvars.iv.next127, %24
  br i1 %exitcond130.not, label %._crit_edge111, label %.lr.ph110, !llvm.loop !15

._crit_edge111:                                   ; preds = %.lr.ph110, %.preheader
  %.276.lcssa = phi double [ %.074.lcssa, %.preheader ], [ %.377, %.lr.ph110 ]
  %.not = icmp eq i32 %42, 0
  %spec.select = select i1 %.not, i32 88, i32 %42
  %62 = getelementptr inbounds i8, ptr %0, i64 448
  %63 = load double, ptr %62, align 8, !tbaa !16
  %64 = fmul double %.280.lcssa132, %63
  %65 = fcmp ogt double %.276.lcssa, %64
  %.1 = select i1 %65, i32 89, i32 %spec.select
  call void @_ZdaPv(ptr noundef nonnull %37) #11
  call void @_ZdaPv(ptr noundef nonnull %28) #11
  call void @_ZdaPv(ptr noundef nonnull %23) #11
  call void @_ZdaPv(ptr noundef nonnull %18) #11
  %66 = call noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv()
  %67 = call noundef i32 @_ZN7qpOASES15MessageHandling9throwInfoENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28) %66, i32 noundef %.1, ptr noundef null, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i64 noundef 1351, i32 noundef 1)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  ret i32 %67
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #7

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #8

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "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 = { 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 #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = !{!17, !6, i64 448}
!17 = !{!"_ZTSN7qpOASES9QProblemBE", !18, i64 8, !19, i64 16, !19, i64 24, !19, i64 32, !19, i64 40, !20, i64 48, !19, i64 168, !18, i64 176, !19, i64 184, !19, i64 192, !6, i64 200, !24, i64 208, !18, i64 212, !18, i64 216, !25, i64 220, !6, i64 224, !22, i64 232, !19, i64 240, !6, i64 248, !6, i64 256, !22, i64 264, !26, i64 272, !29, i64 496, !31, i64 768}
!18 = !{!"_ZTSN7qpOASES11BooleanTypeE", !7, i64 0}
!19 = !{!"any pointer", !7, i64 0}
!20 = !{!"_ZTSN7qpOASES6BoundsE", !21, i64 0, !23, i64 40, !23, i64 80}
!21 = !{!"_ZTSN7qpOASES9SubjectToE", !22, i64 8, !19, i64 16, !19, i64 24, !18, i64 32, !18, i64 36}
!22 = !{!"int", !7, i64 0}
!23 = !{!"_ZTSN7qpOASES9IndexlistE", !19, i64 0, !19, i64 8, !22, i64 16, !22, i64 20, !22, i64 24, !22, i64 28, !22, i64 32}
!24 = !{!"_ZTSN7qpOASES14QProblemStatusE", !7, i64 0}
!25 = !{!"_ZTSN7qpOASES11HessianTypeE", !7, i64 0}
!26 = !{!"_ZTSN7qpOASES7OptionsE", !27, i64 0, !18, i64 4, !18, i64 8, !18, i64 12, !18, i64 16, !18, i64 20, !18, i64 24, !22, i64 28, !22, i64 32, !18, i64 36, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !28, i64 128, !6, i64 136, !22, i64 144, !6, i64 152, !22, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !18, i64 200, !18, i64 204, !22, i64 208, !22, i64 212, !22, i64 216}
!27 = !{!"_ZTSN7qpOASES10PrintLevelE", !7, i64 0}
!28 = !{!"_ZTSN7qpOASES15SubjectToStatusE", !7, i64 0}
!29 = !{!"_ZTSN7qpOASES7FlipperE", !22, i64 0, !22, i64 4, !20, i64 8, !30, i64 128, !19, i64 248, !19, i64 256, !19, i64 264}
!30 = !{!"_ZTSN7qpOASES11ConstraintsE", !21, i64 0, !23, i64 40, !23, i64 80}
!31 = !{!"_ZTSN7qpOASES13TabularOutputE", !22, i64 0, !22, i64 4, !22, i64 8, !22, i64 12, !22, i64 16, !22, i64 20, !22, i64 24, !22, i64 28}


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