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

; 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 [104 x i8], align 1

declare noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv() #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 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

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

declare noundef i32 @_ZN7qpOASES15MessageHandling12throwWarningENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28), i32 noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef) #0

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

32:                                               ; preds = %8
  %33 = load ptr, ptr %11, align 8, !tbaa !5
  %34 = load ptr, ptr %12, align 8, !tbaa !5
  %35 = load ptr, ptr %13, align 8, !tbaa !5
  %36 = load ptr, ptr %14, align 8, !tbaa !5
  %37 = load ptr, ptr %15, align 8, !tbaa !5
  %38 = load i32, ptr %16, align 4, !tbaa !9
  %39 = load i32, ptr %17, align 4, !tbaa !11
  %40 = call noundef i32 @_ZN7qpOASES9QProblemB7solveQPEPKdS2_S2_RiPdiNS_11BooleanTypeE(ptr noundef nonnull align 8 dereferenceable(800) %28, ptr noundef %33, ptr noundef %34, ptr noundef %35, ptr noundef nonnull align 4 dereferenceable(4) %36, ptr noundef %37, i32 noundef %38, i32 noundef %39)
  store i32 %40, ptr %9, align 4
  store i32 1, ptr %21, align 4
  br label %218

41:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  %42 = load ptr, ptr %14, align 8, !tbaa !5
  %43 = load i32, ptr %42, align 4, !tbaa !9
  store i32 %43, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  %44 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %44, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  store double 0.000000e+00, ptr %25, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  store double 0.000000e+00, ptr %26, align 8, !tbaa !13
  %45 = load ptr, ptr %15, align 8, !tbaa !5
  %46 = icmp eq ptr %45, null
  br i1 %46, label %47, label %55

47:                                               ; preds = %41
  %48 = load ptr, ptr %11, align 8, !tbaa !5
  %49 = load ptr, ptr %12, align 8, !tbaa !5
  %50 = load ptr, ptr %13, align 8, !tbaa !5
  %51 = load ptr, ptr %14, align 8, !tbaa !5
  %52 = load i32, ptr %16, align 4, !tbaa !9
  %53 = load i32, ptr %17, align 4, !tbaa !11
  %54 = call noundef i32 @_ZN7qpOASES9QProblemB7solveQPEPKdS2_S2_RiPdiNS_11BooleanTypeE(ptr noundef nonnull align 8 dereferenceable(800) %28, ptr noundef %48, ptr noundef %49, ptr noundef %50, ptr noundef nonnull align 4 dereferenceable(4) %51, ptr noundef null, i32 noundef %52, i32 noundef %53)
  store i32 %54, ptr %22, align 4, !tbaa !15
  br label %65

55:                                               ; preds = %41
  %56 = load ptr, ptr %15, align 8, !tbaa !5
  %57 = load double, ptr %56, align 8, !tbaa !13
  store double %57, ptr %26, align 8, !tbaa !13
  %58 = load ptr, ptr %11, align 8, !tbaa !5
  %59 = load ptr, ptr %12, align 8, !tbaa !5
  %60 = load ptr, ptr %13, align 8, !tbaa !5
  %61 = load ptr, ptr %14, align 8, !tbaa !5
  %62 = load i32, ptr %16, align 4, !tbaa !9
  %63 = load i32, ptr %17, align 4, !tbaa !11
  %64 = call noundef i32 @_ZN7qpOASES9QProblemB7solveQPEPKdS2_S2_RiPdiNS_11BooleanTypeE(ptr noundef nonnull align 8 dereferenceable(800) %28, ptr noundef %58, ptr noundef %59, ptr noundef %60, ptr noundef nonnull align 4 dereferenceable(4) %61, ptr noundef %26, i32 noundef %62, i32 noundef %63)
  store i32 %64, ptr %22, align 4, !tbaa !15
  br label %65

65:                                               ; preds = %55, %47
  %66 = load ptr, ptr %14, align 8, !tbaa !5
  %67 = load i32, ptr %66, align 4, !tbaa !9
  store i32 %67, ptr %24, align 4, !tbaa !9
  %68 = load double, ptr %26, align 8, !tbaa !13
  %69 = load double, ptr %25, align 8, !tbaa !13
  %70 = fadd double %69, %68
  store double %70, ptr %25, align 8, !tbaa !13
  store i32 0, ptr %17, align 4, !tbaa !11
  %71 = load i32, ptr %22, align 4, !tbaa !15
  %72 = icmp ne i32 %71, 0
  br i1 %72, label %73, label %87

73:                                               ; preds = %65
  %74 = load ptr, ptr %15, align 8, !tbaa !5
  %75 = icmp ne ptr %74, null
  br i1 %75, label %76, label %79

76:                                               ; preds = %73
  %77 = load double, ptr %25, align 8, !tbaa !13
  %78 = load ptr, ptr %15, align 8, !tbaa !5
  store double %77, ptr %78, align 8, !tbaa !13
  br label %79

79:                                               ; preds = %76, %73
  %80 = load i32, ptr %22, align 4, !tbaa !15
  %81 = icmp eq i32 %80, 64
  br i1 %81, label %82, label %85

82:                                               ; preds = %79
  %83 = call noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv()
  %84 = call noundef i32 @_ZN7qpOASES15MessageHandling12throwWarningENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28) %83, i32 noundef 116, ptr noundef null, ptr noundef @.str, ptr noundef @.str.1, i64 noundef 2699, i32 noundef 1)
  br label %85

85:                                               ; preds = %82, %79
  %86 = load i32, ptr %22, align 4, !tbaa !15
  store i32 %86, ptr %9, align 4
  store i32 1, ptr %21, align 4
  br label %217

87:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %88 = load i32, ptr %20, align 4, !tbaa !9
  %89 = sext i32 %88 to i64
  %90 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %89, i64 8)
  %91 = extractvalue { i64, i1 } %90, 1
  %92 = extractvalue { i64, i1 } %90, 0
  %93 = select i1 %91, i64 -1, i64 %92
  %94 = call noalias noundef nonnull ptr @_Znam(i64 noundef %93) #9
  store ptr %94, ptr %27, align 8, !tbaa !5
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %95

95:                                               ; preds = %183, %87
  %96 = load i32, ptr %19, align 4, !tbaa !9
  %97 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %28, i32 0, i32 23
  %98 = getelementptr inbounds %"class.qpOASES::Options", ptr %97, i32 0, i32 24
  %99 = load i32, ptr %98, align 8, !tbaa !17
  %100 = icmp slt i32 %96, %99
  br i1 %100, label %101, label %186

101:                                              ; preds = %95
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %102

102:                                              ; preds = %126, %101
  %103 = load i32, ptr %18, align 4, !tbaa !9
  %104 = load i32, ptr %20, align 4, !tbaa !9
  %105 = icmp slt i32 %103, %104
  br i1 %105, label %106, label %129

106:                                              ; preds = %102
  %107 = load ptr, ptr %11, align 8, !tbaa !5
  %108 = load i32, ptr %18, align 4, !tbaa !9
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds double, ptr %107, i64 %109
  %111 = load double, ptr %110, align 8, !tbaa !13
  %112 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %28, i32 0, i32 16
  %113 = load double, ptr %112, align 8, !tbaa !30
  %114 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %28, i32 0, i32 9
  %115 = load ptr, ptr %114, align 8, !tbaa !31
  %116 = load i32, ptr %18, align 4, !tbaa !9
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds double, ptr %115, i64 %117
  %119 = load double, ptr %118, align 8, !tbaa !13
  %120 = fneg double %113
  %121 = call double @llvm.fmuladd.f64(double %120, double %119, double %111)
  %122 = load ptr, ptr %27, align 8, !tbaa !5
  %123 = load i32, ptr %18, align 4, !tbaa !9
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds double, ptr %122, i64 %124
  store double %121, ptr %125, align 8, !tbaa !13
  br label %126

126:                                              ; preds = %106
  %127 = load i32, ptr %18, align 4, !tbaa !9
  %128 = add nsw i32 %127, 1
  store i32 %128, ptr %18, align 4, !tbaa !9
  br label %102, !llvm.loop !32

129:                                              ; preds = %102
  %130 = load ptr, ptr %15, align 8, !tbaa !5
  %131 = icmp eq ptr %130, null
  br i1 %131, label %132, label %142

132:                                              ; preds = %129
  %133 = load i32, ptr %23, align 4, !tbaa !9
  %134 = load ptr, ptr %14, align 8, !tbaa !5
  store i32 %133, ptr %134, align 4, !tbaa !9
  %135 = load ptr, ptr %27, align 8, !tbaa !5
  %136 = load ptr, ptr %12, align 8, !tbaa !5
  %137 = load ptr, ptr %13, align 8, !tbaa !5
  %138 = load ptr, ptr %14, align 8, !tbaa !5
  %139 = load i32, ptr %24, align 4, !tbaa !9
  %140 = load i32, ptr %17, align 4, !tbaa !11
  %141 = call noundef i32 @_ZN7qpOASES9QProblemB7solveQPEPKdS2_S2_RiPdiNS_11BooleanTypeE(ptr noundef nonnull align 8 dereferenceable(800) %28, ptr noundef %135, ptr noundef %136, ptr noundef %137, ptr noundef nonnull align 4 dereferenceable(4) %138, ptr noundef null, i32 noundef %139, i32 noundef %140)
  store i32 %141, ptr %22, align 4, !tbaa !15
  br label %156

142:                                              ; preds = %129
  %143 = load i32, ptr %23, align 4, !tbaa !9
  %144 = load ptr, ptr %14, align 8, !tbaa !5
  store i32 %143, ptr %144, align 4, !tbaa !9
  %145 = load ptr, ptr %15, align 8, !tbaa !5
  %146 = load double, ptr %145, align 8, !tbaa !13
  %147 = load double, ptr %25, align 8, !tbaa !13
  %148 = fsub double %146, %147
  store double %148, ptr %26, align 8, !tbaa !13
  %149 = load ptr, ptr %27, align 8, !tbaa !5
  %150 = load ptr, ptr %12, align 8, !tbaa !5
  %151 = load ptr, ptr %13, align 8, !tbaa !5
  %152 = load ptr, ptr %14, align 8, !tbaa !5
  %153 = load i32, ptr %24, align 4, !tbaa !9
  %154 = load i32, ptr %17, align 4, !tbaa !11
  %155 = call noundef i32 @_ZN7qpOASES9QProblemB7solveQPEPKdS2_S2_RiPdiNS_11BooleanTypeE(ptr noundef nonnull align 8 dereferenceable(800) %28, ptr noundef %149, ptr noundef %150, ptr noundef %151, ptr noundef nonnull align 4 dereferenceable(4) %152, ptr noundef %26, i32 noundef %153, i32 noundef %154)
  store i32 %155, ptr %22, align 4, !tbaa !15
  br label %156

156:                                              ; preds = %142, %132
  %157 = load ptr, ptr %14, align 8, !tbaa !5
  %158 = load i32, ptr %157, align 4, !tbaa !9
  store i32 %158, ptr %24, align 4, !tbaa !9
  %159 = load double, ptr %26, align 8, !tbaa !13
  %160 = load double, ptr %25, align 8, !tbaa !13
  %161 = fadd double %160, %159
  store double %161, ptr %25, align 8, !tbaa !13
  %162 = load i32, ptr %22, align 4, !tbaa !15
  %163 = icmp ne i32 %162, 0
  br i1 %163, label %164, label %182

164:                                              ; preds = %156
  %165 = load ptr, ptr %27, align 8, !tbaa !5
  %166 = icmp eq ptr %165, null
  br i1 %166, label %168, label %167

167:                                              ; preds = %164
  call void @_ZdaPv(ptr noundef %165) #10
  br label %168

168:                                              ; preds = %167, %164
  %169 = load ptr, ptr %15, align 8, !tbaa !5
  %170 = icmp ne ptr %169, null
  br i1 %170, label %171, label %174

171:                                              ; preds = %168
  %172 = load double, ptr %25, align 8, !tbaa !13
  %173 = load ptr, ptr %15, align 8, !tbaa !5
  store double %172, ptr %173, align 8, !tbaa !13
  br label %174

174:                                              ; preds = %171, %168
  %175 = load i32, ptr %22, align 4, !tbaa !15
  %176 = icmp eq i32 %175, 64
  br i1 %176, label %177, label %180

177:                                              ; preds = %174
  %178 = call noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv()
  %179 = call noundef i32 @_ZN7qpOASES15MessageHandling12throwWarningENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28) %178, i32 noundef 117, ptr noundef null, ptr noundef @.str, ptr noundef @.str.1, i64 noundef 2742, i32 noundef 1)
  br label %180

180:                                              ; preds = %177, %174
  %181 = load i32, ptr %22, align 4, !tbaa !15
  store i32 %181, ptr %9, align 4
  store i32 1, ptr %21, align 4
  br label %216

182:                                              ; preds = %156
  br label %183

183:                                              ; preds = %182
  %184 = load i32, ptr %19, align 4, !tbaa !9
  %185 = add nsw i32 %184, 1
  store i32 %185, ptr %19, align 4, !tbaa !9
  br label %95, !llvm.loop !34

186:                                              ; preds = %95
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %187

187:                                              ; preds = %202, %186
  %188 = load i32, ptr %18, align 4, !tbaa !9
  %189 = load i32, ptr %20, align 4, !tbaa !9
  %190 = icmp slt i32 %188, %189
  br i1 %190, label %191, label %205

191:                                              ; preds = %187
  %192 = load ptr, ptr %11, align 8, !tbaa !5
  %193 = load i32, ptr %18, align 4, !tbaa !9
  %194 = sext i32 %193 to i64
  %195 = getelementptr inbounds double, ptr %192, i64 %194
  %196 = load double, ptr %195, align 8, !tbaa !13
  %197 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %28, i32 0, i32 3
  %198 = load ptr, ptr %197, align 8, !tbaa !35
  %199 = load i32, ptr %18, align 4, !tbaa !9
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds double, ptr %198, i64 %200
  store double %196, ptr %201, align 8, !tbaa !13
  br label %202

202:                                              ; preds = %191
  %203 = load i32, ptr %18, align 4, !tbaa !9
  %204 = add nsw i32 %203, 1
  store i32 %204, ptr %18, align 4, !tbaa !9
  br label %187, !llvm.loop !36

205:                                              ; preds = %187
  %206 = load ptr, ptr %27, align 8, !tbaa !5
  %207 = icmp eq ptr %206, null
  br i1 %207, label %209, label %208

208:                                              ; preds = %205
  call void @_ZdaPv(ptr noundef %206) #10
  br label %209

209:                                              ; preds = %208, %205
  %210 = load ptr, ptr %15, align 8, !tbaa !5
  %211 = icmp ne ptr %210, null
  br i1 %211, label %212, label %215

212:                                              ; preds = %209
  %213 = load double, ptr %25, align 8, !tbaa !13
  %214 = load ptr, ptr %15, align 8, !tbaa !5
  store double %213, ptr %214, align 8, !tbaa !13
  br label %215

215:                                              ; preds = %212, %209
  store i32 0, ptr %9, align 4
  store i32 1, ptr %21, align 4
  br label %216

216:                                              ; preds = %215, %180
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %217

217:                                              ; preds = %216, %85
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #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 4, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  br label %218

218:                                              ; preds = %217, %32
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  %219 = load i32, ptr %9, align 4
  ret i32 %219
}

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

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

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

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

attributes #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 = { 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 = { 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 = { 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 #7 = { 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 #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 = !{!"_ZTSN7qpOASES11BooleanTypeE", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"_ZTSN7qpOASES11returnValueE", !7, i64 0}
!17 = !{!18, !10, i64 416}
!18 = !{!"_ZTSN7qpOASES9QProblemBE", !12, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !19, i64 48, !6, i64 168, !12, i64 176, !6, i64 184, !6, i64 192, !14, i64 200, !22, i64 208, !12, i64 212, !12, i64 216, !23, i64 220, !14, i64 224, !10, i64 232, !6, i64 240, !14, i64 248, !14, i64 256, !10, i64 264, !24, i64 272, !27, i64 496, !29, i64 768}
!19 = !{!"_ZTSN7qpOASES6BoundsE", !20, i64 0, !21, i64 40, !21, i64 80}
!20 = !{!"_ZTSN7qpOASES9SubjectToE", !10, i64 8, !6, i64 16, !6, i64 24, !12, i64 32, !12, i64 36}
!21 = !{!"_ZTSN7qpOASES9IndexlistE", !6, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32}
!22 = !{!"_ZTSN7qpOASES14QProblemStatusE", !7, i64 0}
!23 = !{!"_ZTSN7qpOASES11HessianTypeE", !7, i64 0}
!24 = !{!"_ZTSN7qpOASES7OptionsE", !25, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !10, i64 28, !10, i64 32, !12, 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, !26, 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, !12, i64 200, !12, i64 204, !10, i64 208, !10, i64 212, !10, i64 216}
!25 = !{!"_ZTSN7qpOASES10PrintLevelE", !7, i64 0}
!26 = !{!"_ZTSN7qpOASES15SubjectToStatusE", !7, i64 0}
!27 = !{!"_ZTSN7qpOASES7FlipperE", !10, i64 0, !10, i64 4, !19, i64 8, !28, i64 128, !6, i64 248, !6, i64 256, !6, i64 264}
!28 = !{!"_ZTSN7qpOASES11ConstraintsE", !20, i64 0, !21, i64 40, !21, i64 80}
!29 = !{!"_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}
!30 = !{!18, !14, i64 224}
!31 = !{!18, !6, i64 184}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
!34 = distinct !{!34, !33}
!35 = !{!18, !6, i64 24}
!36 = distinct !{!36, !33}


; 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 [104 x i8], align 1

declare noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv() 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: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #2

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

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

declare noundef i32 @_ZN7qpOASES15MessageHandling12throwWarningENS_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 #0

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7qpOASES9QProblemB18solveRegularisedQPEPKdS2_S2_RiPdiNS_11BooleanTypeE(ptr noundef nonnull align 8 dereferenceable(800) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef %5, i32 noundef %6, i32 noundef %7) local_unnamed_addr #4 align 2 {
  %9 = ptrtoint ptr %1 to i64
  %10 = alloca double, align 8
  %11 = tail call noundef i32 @_ZNK7qpOASES9QProblemB5getNVEv(ptr noundef nonnull align 8 dereferenceable(800) %0)
  %12 = tail call noundef i32 @_ZNK7qpOASES9QProblemB19usingRegularisationEv(ptr noundef nonnull align 8 dereferenceable(800) %0)
  %13 = icmp eq i32 %12, 0
  br i1 %13, label %14, label %16

14:                                               ; preds = %8
  %15 = tail call noundef i32 @_ZN7qpOASES9QProblemB7solveQPEPKdS2_S2_RiPdiNS_11BooleanTypeE(ptr noundef nonnull align 8 dereferenceable(800) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef %5, i32 noundef %6, i32 noundef %7)
  br label %186

16:                                               ; preds = %8
  %17 = load i32, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #9
  store double 0.000000e+00, ptr %10, align 8, !tbaa !9
  %18 = icmp eq ptr %5, null
  br i1 %18, label %19, label %.thread

19:                                               ; preds = %16
  %20 = tail call noundef i32 @_ZN7qpOASES9QProblemB7solveQPEPKdS2_S2_RiPdiNS_11BooleanTypeE(ptr noundef nonnull align 8 dereferenceable(800) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef null, i32 noundef %6, i32 noundef %7)
  %.not = icmp eq i32 %20, 0
  br i1 %.not, label %30, label %25

.thread:                                          ; preds = %16
  %21 = load double, ptr %5, align 8, !tbaa !9
  store double %21, ptr %10, align 8, !tbaa !9
  %22 = call noundef i32 @_ZN7qpOASES9QProblemB7solveQPEPKdS2_S2_RiPdiNS_11BooleanTypeE(ptr noundef nonnull align 8 dereferenceable(800) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull %10, i32 noundef %6, i32 noundef %7)
  %23 = load double, ptr %10, align 8, !tbaa !9
  %24 = fadd double %23, 0.000000e+00
  %.not96 = icmp eq i32 %22, 0
  br i1 %.not96, label %30, label %.thread98

.thread98:                                        ; preds = %.thread
  store double %24, ptr %5, align 8, !tbaa !9
  br label %25

25:                                               ; preds = %19, %.thread98
  %.08397101 = phi i32 [ %22, %.thread98 ], [ %20, %19 ]
  %26 = icmp eq i32 %.08397101, 64
  br i1 %26, label %27, label %185

27:                                               ; preds = %25
  %28 = call noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv()
  %29 = call noundef i32 @_ZN7qpOASES15MessageHandling12throwWarningENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28) %28, i32 noundef 116, ptr noundef null, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i64 noundef 2699, i32 noundef 1)
  br label %185

30:                                               ; preds = %.thread, %19
  %31 = phi double [ %24, %.thread ], [ 0.000000e+00, %19 ]
  %32 = load i32, ptr %4, align 4, !tbaa !5
  %33 = zext i32 %11 to i64
  %34 = icmp slt i32 %11, 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 = ptrtoint ptr %37 to i64
  %39 = getelementptr inbounds i8, ptr %0, i64 416
  %40 = load i32, ptr %39, align 8, !tbaa !11
  %41 = icmp sgt i32 %40, 0
  br i1 %41, label %.preheader102.lr.ph, label %.preheader

.preheader102.lr.ph:                              ; preds = %30
  %42 = icmp sgt i32 %11, 0
  %43 = getelementptr inbounds i8, ptr %0, i64 224
  %44 = getelementptr inbounds i8, ptr %0, i64 184
  br i1 %18, label %.preheader102.lr.ph.split.us, label %.preheader102.lr.ph.split

.preheader102.lr.ph.split.us:                     ; preds = %.preheader102.lr.ph
  br i1 %42, label %.preheader102.us.us.preheader, label %.preheader102.us

.preheader102.us.us.preheader:                    ; preds = %.preheader102.lr.ph.split.us
  %45 = sub i64 %38, %9
  %min.iters.check215 = icmp ult i32 %11, 4
  %diff.check210 = icmp ult i64 %45, 32
  %n.vec218 = and i64 %33, 2147483644
  %cmp.n229 = icmp eq i64 %n.vec218, %33
  %xtraiter266 = and i64 %33, 1
  %lcmp.mod267.not = icmp eq i64 %xtraiter266, 0
  %46 = add nsw i64 %33, -1
  br label %.preheader102.us.us

.preheader102.us.us:                              ; preds = %.preheader102.us.us.preheader, %68
  %.081107.us.us = phi double [ %87, %68 ], [ %31, %.preheader102.us.us.preheader ]
  %.082106.us.us = phi i32 [ %69, %68 ], [ %32, %.preheader102.us.us.preheader ]
  %.087105.us.us = phi i32 [ %70, %68 ], [ 0, %.preheader102.us.us.preheader ]
  %47 = load double, ptr %43, align 8, !tbaa !26
  %48 = load ptr, ptr %44, align 8, !tbaa !27
  %49 = fneg double %47
  br i1 %min.iters.check215, label %scalar.ph214.preheader, label %vector.memcheck209

scalar.ph214.preheader:                           ; preds = %middle.block213, %vector.memcheck209, %.preheader102.us.us
  %indvars.iv150.ph = phi i64 [ 0, %vector.memcheck209 ], [ 0, %.preheader102.us.us ], [ %n.vec218, %middle.block213 ]
  br i1 %lcmp.mod267.not, label %scalar.ph214.prol.loopexit, label %scalar.ph214.prol

scalar.ph214.prol:                                ; preds = %scalar.ph214.preheader
  %50 = getelementptr inbounds double, ptr %1, i64 %indvars.iv150.ph
  %51 = load double, ptr %50, align 8, !tbaa !9
  %52 = getelementptr inbounds double, ptr %48, i64 %indvars.iv150.ph
  %53 = load double, ptr %52, align 8, !tbaa !9
  %54 = call double @llvm.fmuladd.f64(double %49, double %53, double %51)
  %55 = getelementptr inbounds double, ptr %37, i64 %indvars.iv150.ph
  store double %54, ptr %55, align 8, !tbaa !9
  %indvars.iv.next151.prol = or disjoint i64 %indvars.iv150.ph, 1
  br label %scalar.ph214.prol.loopexit

scalar.ph214.prol.loopexit:                       ; preds = %scalar.ph214.prol, %scalar.ph214.preheader
  %indvars.iv150.unr = phi i64 [ %indvars.iv150.ph, %scalar.ph214.preheader ], [ %indvars.iv.next151.prol, %scalar.ph214.prol ]
  %56 = icmp eq i64 %indvars.iv150.ph, %46
  br i1 %56, label %._crit_edge.us.us, label %scalar.ph214

vector.memcheck209:                               ; preds = %.preheader102.us.us
  %57 = ptrtoint ptr %48 to i64
  %58 = sub i64 %38, %57
  %diff.check211 = icmp ult i64 %58, 32
  %conflict.rdx212 = or i1 %diff.check210, %diff.check211
  br i1 %conflict.rdx212, label %scalar.ph214.preheader, label %vector.ph216

vector.ph216:                                     ; preds = %vector.memcheck209
  %broadcast.splatinsert226 = insertelement <2 x double> poison, double %49, i64 0
  %broadcast.splat227 = shufflevector <2 x double> %broadcast.splatinsert226, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body220

vector.body220:                                   ; preds = %vector.body220, %vector.ph216
  %index221 = phi i64 [ 0, %vector.ph216 ], [ %index.next228, %vector.body220 ]
  %59 = getelementptr inbounds double, ptr %1, i64 %index221
  %60 = getelementptr inbounds i8, ptr %59, i64 16
  %wide.load222 = load <2 x double>, ptr %59, align 8, !tbaa !9
  %wide.load223 = load <2 x double>, ptr %60, align 8, !tbaa !9
  %61 = getelementptr inbounds double, ptr %48, i64 %index221
  %62 = getelementptr inbounds i8, ptr %61, i64 16
  %wide.load224 = load <2 x double>, ptr %61, align 8, !tbaa !9
  %wide.load225 = load <2 x double>, ptr %62, align 8, !tbaa !9
  %63 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat227, <2 x double> %wide.load224, <2 x double> %wide.load222)
  %64 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat227, <2 x double> %wide.load225, <2 x double> %wide.load223)
  %65 = getelementptr inbounds double, ptr %37, i64 %index221
  %66 = getelementptr inbounds i8, ptr %65, i64 16
  store <2 x double> %63, ptr %65, align 8, !tbaa !9
  store <2 x double> %64, ptr %66, align 8, !tbaa !9
  %index.next228 = add nuw i64 %index221, 4
  %67 = icmp eq i64 %index.next228, %n.vec218
  br i1 %67, label %middle.block213, label %vector.body220, !llvm.loop !28

middle.block213:                                  ; preds = %vector.body220
  br i1 %cmp.n229, label %._crit_edge.us.us, label %scalar.ph214.preheader

68:                                               ; preds = %._crit_edge.us.us
  %69 = load i32, ptr %4, align 4, !tbaa !5
  %70 = add nuw nsw i32 %.087105.us.us, 1
  %71 = load i32, ptr %39, align 8, !tbaa !11
  %72 = icmp slt i32 %70, %71
  br i1 %72, label %.preheader102.us.us, label %.preheader, !llvm.loop !32

scalar.ph214:                                     ; preds = %scalar.ph214.prol.loopexit, %scalar.ph214
  %indvars.iv150 = phi i64 [ %indvars.iv.next151.1, %scalar.ph214 ], [ %indvars.iv150.unr, %scalar.ph214.prol.loopexit ]
  %73 = getelementptr inbounds double, ptr %1, i64 %indvars.iv150
  %74 = load double, ptr %73, align 8, !tbaa !9
  %75 = getelementptr inbounds double, ptr %48, i64 %indvars.iv150
  %76 = load double, ptr %75, align 8, !tbaa !9
  %77 = call double @llvm.fmuladd.f64(double %49, double %76, double %74)
  %78 = getelementptr inbounds double, ptr %37, i64 %indvars.iv150
  store double %77, ptr %78, align 8, !tbaa !9
  %indvars.iv.next151 = add nuw nsw i64 %indvars.iv150, 1
  %79 = getelementptr inbounds double, ptr %1, i64 %indvars.iv.next151
  %80 = load double, ptr %79, align 8, !tbaa !9
  %81 = getelementptr inbounds double, ptr %48, i64 %indvars.iv.next151
  %82 = load double, ptr %81, align 8, !tbaa !9
  %83 = call double @llvm.fmuladd.f64(double %49, double %82, double %80)
  %84 = getelementptr inbounds double, ptr %37, i64 %indvars.iv.next151
  store double %83, ptr %84, align 8, !tbaa !9
  %indvars.iv.next151.1 = add nuw nsw i64 %indvars.iv150, 2
  %exitcond154.not.1 = icmp eq i64 %indvars.iv.next151.1, %33
  br i1 %exitcond154.not.1, label %._crit_edge.us.us, label %scalar.ph214, !llvm.loop !33

._crit_edge.us.us:                                ; preds = %scalar.ph214.prol.loopexit, %scalar.ph214, %middle.block213
  store i32 %17, ptr %4, align 4, !tbaa !5
  %85 = call noundef i32 @_ZN7qpOASES9QProblemB7solveQPEPKdS2_S2_RiPdiNS_11BooleanTypeE(ptr noundef nonnull align 8 dereferenceable(800) %0, ptr noundef nonnull %37, ptr noundef %2, ptr noundef %3, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef null, i32 noundef %.082106.us.us, i32 noundef 0)
  %86 = load double, ptr %10, align 8, !tbaa !9
  %87 = fadd double %.081107.us.us, %86
  %.not92.us.us = icmp eq i32 %85, 0
  br i1 %.not92.us.us, label %68, label %.split.us

.preheader102.us:                                 ; preds = %.preheader102.lr.ph.split.us, %91
  %.081107.us = phi double [ %90, %91 ], [ %31, %.preheader102.lr.ph.split.us ]
  %.082106.us = phi i32 [ %92, %91 ], [ %32, %.preheader102.lr.ph.split.us ]
  %.087105.us = phi i32 [ %93, %91 ], [ 0, %.preheader102.lr.ph.split.us ]
  store i32 %17, ptr %4, align 4, !tbaa !5
  %88 = call noundef i32 @_ZN7qpOASES9QProblemB7solveQPEPKdS2_S2_RiPdiNS_11BooleanTypeE(ptr noundef nonnull align 8 dereferenceable(800) %0, ptr noundef nonnull %37, ptr noundef %2, ptr noundef %3, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef null, i32 noundef %.082106.us, i32 noundef 0)
  %89 = load double, ptr %10, align 8, !tbaa !9
  %90 = fadd double %.081107.us, %89
  %.not92.us = icmp eq i32 %88, 0
  br i1 %.not92.us, label %91, label %.split.us

91:                                               ; preds = %.preheader102.us
  %92 = load i32, ptr %4, align 4, !tbaa !5
  %93 = add nuw nsw i32 %.087105.us, 1
  %94 = load i32, ptr %39, align 8, !tbaa !11
  %95 = icmp slt i32 %93, %94
  br i1 %95, label %.preheader102.us, label %.preheader, !llvm.loop !32

.preheader102.lr.ph.split:                        ; preds = %.preheader102.lr.ph
  br i1 %42, label %.preheader102.us110.preheader, label %.preheader102

.preheader102.us110.preheader:                    ; preds = %.preheader102.lr.ph.split
  %96 = sub i64 %38, %9
  %min.iters.check = icmp ult i32 %11, 4
  %diff.check = icmp ult i64 %96, 32
  %n.vec = and i64 %33, 2147483644
  %cmp.n = icmp eq i64 %n.vec, %33
  %xtraiter = and i64 %33, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  %97 = add nsw i64 %33, -1
  br label %.preheader102.us110

.preheader102.us110:                              ; preds = %.preheader102.us110.preheader, %119
  %.081107.us111 = phi double [ %140, %119 ], [ %31, %.preheader102.us110.preheader ]
  %.082106.us112 = phi i32 [ %120, %119 ], [ %32, %.preheader102.us110.preheader ]
  %.087105.us113 = phi i32 [ %121, %119 ], [ 0, %.preheader102.us110.preheader ]
  %98 = load double, ptr %43, align 8, !tbaa !26
  %99 = load ptr, ptr %44, align 8, !tbaa !27
  %100 = fneg double %98
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.memcheck

scalar.ph.preheader:                              ; preds = %middle.block, %vector.memcheck, %.preheader102.us110
  %indvars.iv.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %.preheader102.us110 ], [ %n.vec, %middle.block ]
  br i1 %lcmp.mod.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader
  %101 = getelementptr inbounds double, ptr %1, i64 %indvars.iv.ph
  %102 = load double, ptr %101, align 8, !tbaa !9
  %103 = getelementptr inbounds double, ptr %99, i64 %indvars.iv.ph
  %104 = load double, ptr %103, align 8, !tbaa !9
  %105 = call double @llvm.fmuladd.f64(double %100, double %104, double %102)
  %106 = getelementptr inbounds double, ptr %37, i64 %indvars.iv.ph
  store double %105, ptr %106, align 8, !tbaa !9
  %indvars.iv.next.prol = or disjoint i64 %indvars.iv.ph, 1
  br label %scalar.ph.prol.loopexit

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %scalar.ph.preheader ], [ %indvars.iv.next.prol, %scalar.ph.prol ]
  %107 = icmp eq i64 %indvars.iv.ph, %97
  br i1 %107, label %._crit_edge.us117, label %scalar.ph

vector.memcheck:                                  ; preds = %.preheader102.us110
  %108 = ptrtoint ptr %99 to i64
  %109 = sub i64 %38, %108
  %diff.check205 = icmp ult i64 %109, 32
  %conflict.rdx = or i1 %diff.check, %diff.check205
  br i1 %conflict.rdx, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %broadcast.splatinsert = insertelement <2 x double> poison, double %100, i64 0
  %broadcast.splat = shufflevector <2 x double> %broadcast.splatinsert, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %110 = getelementptr inbounds double, ptr %1, i64 %index
  %111 = getelementptr inbounds i8, ptr %110, i64 16
  %wide.load = load <2 x double>, ptr %110, align 8, !tbaa !9
  %wide.load206 = load <2 x double>, ptr %111, align 8, !tbaa !9
  %112 = getelementptr inbounds double, ptr %99, i64 %index
  %113 = getelementptr inbounds i8, ptr %112, i64 16
  %wide.load207 = load <2 x double>, ptr %112, align 8, !tbaa !9
  %wide.load208 = load <2 x double>, ptr %113, align 8, !tbaa !9
  %114 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat, <2 x double> %wide.load207, <2 x double> %wide.load)
  %115 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat, <2 x double> %wide.load208, <2 x double> %wide.load206)
  %116 = getelementptr inbounds double, ptr %37, i64 %index
  %117 = getelementptr inbounds i8, ptr %116, i64 16
  store <2 x double> %114, ptr %116, align 8, !tbaa !9
  store <2 x double> %115, ptr %117, align 8, !tbaa !9
  %index.next = add nuw i64 %index, 4
  %118 = icmp eq i64 %index.next, %n.vec
  br i1 %118, label %middle.block, label %vector.body, !llvm.loop !34

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %._crit_edge.us117, label %scalar.ph.preheader

119:                                              ; preds = %._crit_edge.us117
  %120 = load i32, ptr %4, align 4, !tbaa !5
  %121 = add nuw nsw i32 %.087105.us113, 1
  %122 = load i32, ptr %39, align 8, !tbaa !11
  %123 = icmp slt i32 %121, %122
  br i1 %123, label %.preheader102.us110, label %.preheader, !llvm.loop !32

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next.1, %scalar.ph ], [ %indvars.iv.unr, %scalar.ph.prol.loopexit ]
  %124 = getelementptr inbounds double, ptr %1, i64 %indvars.iv
  %125 = load double, ptr %124, align 8, !tbaa !9
  %126 = getelementptr inbounds double, ptr %99, i64 %indvars.iv
  %127 = load double, ptr %126, align 8, !tbaa !9
  %128 = call double @llvm.fmuladd.f64(double %100, double %127, double %125)
  %129 = getelementptr inbounds double, ptr %37, i64 %indvars.iv
  store double %128, ptr %129, align 8, !tbaa !9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %130 = getelementptr inbounds double, ptr %1, i64 %indvars.iv.next
  %131 = load double, ptr %130, align 8, !tbaa !9
  %132 = getelementptr inbounds double, ptr %99, i64 %indvars.iv.next
  %133 = load double, ptr %132, align 8, !tbaa !9
  %134 = call double @llvm.fmuladd.f64(double %100, double %133, double %131)
  %135 = getelementptr inbounds double, ptr %37, i64 %indvars.iv.next
  store double %134, ptr %135, align 8, !tbaa !9
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next.1, %33
  br i1 %exitcond.not.1, label %._crit_edge.us117, label %scalar.ph, !llvm.loop !35

._crit_edge.us117:                                ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block
  store i32 %17, ptr %4, align 4, !tbaa !5
  %136 = load double, ptr %5, align 8, !tbaa !9
  %137 = fsub double %136, %.081107.us111
  store double %137, ptr %10, align 8, !tbaa !9
  %138 = call noundef i32 @_ZN7qpOASES9QProblemB7solveQPEPKdS2_S2_RiPdiNS_11BooleanTypeE(ptr noundef nonnull align 8 dereferenceable(800) %0, ptr noundef nonnull %37, ptr noundef %2, ptr noundef %3, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull %10, i32 noundef %.082106.us112, i32 noundef 0)
  %139 = load double, ptr %10, align 8, !tbaa !9
  %140 = fadd double %.081107.us111, %139
  %.not92.us114 = icmp eq i32 %138, 0
  br i1 %.not92.us114, label %119, label %.split.us.thread

.preheader102:                                    ; preds = %.preheader102.lr.ph.split, %167
  %.081107 = phi double [ %145, %167 ], [ %31, %.preheader102.lr.ph.split ]
  %.082106 = phi i32 [ %168, %167 ], [ %32, %.preheader102.lr.ph.split ]
  %.087105 = phi i32 [ %169, %167 ], [ 0, %.preheader102.lr.ph.split ]
  store i32 %17, ptr %4, align 4, !tbaa !5
  %141 = load double, ptr %5, align 8, !tbaa !9
  %142 = fsub double %141, %.081107
  store double %142, ptr %10, align 8, !tbaa !9
  %143 = call noundef i32 @_ZN7qpOASES9QProblemB7solveQPEPKdS2_S2_RiPdiNS_11BooleanTypeE(ptr noundef nonnull align 8 dereferenceable(800) %0, ptr noundef nonnull %37, ptr noundef %2, ptr noundef %3, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull %10, i32 noundef %.082106, i32 noundef 0)
  %144 = load double, ptr %10, align 8, !tbaa !9
  %145 = fadd double %.081107, %144
  %.not92 = icmp eq i32 %143, 0
  br i1 %.not92, label %167, label %.split.us.thread

.preheader:                                       ; preds = %167, %119, %91, %68, %30
  %.081.lcssa = phi double [ %31, %30 ], [ %87, %68 ], [ %90, %91 ], [ %140, %119 ], [ %145, %167 ]
  %146 = icmp sgt i32 %11, 0
  br i1 %146, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader
  %147 = getelementptr inbounds i8, ptr %0, i64 24
  %148 = load ptr, ptr %147, align 8, !tbaa !36
  %min.iters.check234 = icmp ult i32 %11, 6
  %149 = ptrtoint ptr %148 to i64
  %150 = sub i64 %149, %9
  %diff.check231 = icmp ult i64 %150, 32
  %or.cond = select i1 %min.iters.check234, i1 true, i1 %diff.check231
  br i1 %or.cond, label %scalar.ph233.preheader, label %vector.ph235

scalar.ph233.preheader:                           ; preds = %middle.block232, %.lr.ph
  %indvars.iv155.ph = phi i64 [ 0, %.lr.ph ], [ %n.vec237, %middle.block232 ]
  %xtraiter268 = and i64 %33, 3
  %lcmp.mod269.not = icmp eq i64 %xtraiter268, 0
  br i1 %lcmp.mod269.not, label %scalar.ph233.prol.loopexit, label %scalar.ph233.prol

scalar.ph233.prol:                                ; preds = %scalar.ph233.preheader, %scalar.ph233.prol
  %indvars.iv155.prol = phi i64 [ %indvars.iv.next156.prol, %scalar.ph233.prol ], [ %indvars.iv155.ph, %scalar.ph233.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %scalar.ph233.prol ], [ 0, %scalar.ph233.preheader ]
  %151 = getelementptr inbounds double, ptr %1, i64 %indvars.iv155.prol
  %152 = load double, ptr %151, align 8, !tbaa !9
  %153 = getelementptr inbounds double, ptr %148, i64 %indvars.iv155.prol
  store double %152, ptr %153, align 8, !tbaa !9
  %indvars.iv.next156.prol = add nuw nsw i64 %indvars.iv155.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter268
  br i1 %prol.iter.cmp.not, label %scalar.ph233.prol.loopexit, label %scalar.ph233.prol, !llvm.loop !37

scalar.ph233.prol.loopexit:                       ; preds = %scalar.ph233.prol, %scalar.ph233.preheader
  %indvars.iv155.unr = phi i64 [ %indvars.iv155.ph, %scalar.ph233.preheader ], [ %indvars.iv.next156.prol, %scalar.ph233.prol ]
  %154 = sub nsw i64 %indvars.iv155.ph, %33
  %155 = icmp ugt i64 %154, -4
  br i1 %155, label %._crit_edge, label %scalar.ph233

vector.ph235:                                     ; preds = %.lr.ph
  %n.vec237 = and i64 %33, 2147483644
  br label %vector.body239

vector.body239:                                   ; preds = %vector.body239, %vector.ph235
  %index240 = phi i64 [ 0, %vector.ph235 ], [ %index.next243, %vector.body239 ]
  %156 = getelementptr inbounds double, ptr %1, i64 %index240
  %157 = getelementptr inbounds i8, ptr %156, i64 16
  %wide.load241 = load <2 x double>, ptr %156, align 8, !tbaa !9
  %wide.load242 = load <2 x double>, ptr %157, align 8, !tbaa !9
  %158 = getelementptr inbounds double, ptr %148, i64 %index240
  %159 = getelementptr inbounds i8, ptr %158, i64 16
  store <2 x double> %wide.load241, ptr %158, align 8, !tbaa !9
  store <2 x double> %wide.load242, ptr %159, align 8, !tbaa !9
  %index.next243 = add nuw i64 %index240, 4
  %160 = icmp eq i64 %index.next243, %n.vec237
  br i1 %160, label %middle.block232, label %vector.body239, !llvm.loop !39

middle.block232:                                  ; preds = %vector.body239
  %cmp.n244 = icmp eq i64 %n.vec237, %33
  br i1 %cmp.n244, label %._crit_edge, label %scalar.ph233.preheader

.split.us.thread:                                 ; preds = %.preheader102, %._crit_edge.us117
  %.us-phi.ph = phi i32 [ %138, %._crit_edge.us117 ], [ %143, %.preheader102 ]
  %.us-phi108.ph = phi double [ %140, %._crit_edge.us117 ], [ %145, %.preheader102 ]
  call void @_ZdaPv(ptr noundef nonnull %37) #11
  br label %161

.split.us:                                        ; preds = %.preheader102.us, %._crit_edge.us.us
  %.us-phi = phi i32 [ %85, %._crit_edge.us.us ], [ %88, %.preheader102.us ]
  %.us-phi108 = phi double [ %87, %._crit_edge.us.us ], [ %90, %.preheader102.us ]
  call void @_ZdaPv(ptr noundef nonnull %37) #11
  br i1 %18, label %162, label %161

161:                                              ; preds = %.split.us.thread, %.split.us
  %.us-phi108164 = phi double [ %.us-phi108.ph, %.split.us.thread ], [ %.us-phi108, %.split.us ]
  %.us-phi162 = phi i32 [ %.us-phi.ph, %.split.us.thread ], [ %.us-phi, %.split.us ]
  store double %.us-phi108164, ptr %5, align 8, !tbaa !9
  br label %162

162:                                              ; preds = %161, %.split.us
  %.us-phi163 = phi i32 [ %.us-phi162, %161 ], [ %.us-phi, %.split.us ]
  %163 = icmp eq i32 %.us-phi163, 64
  br i1 %163, label %164, label %185

164:                                              ; preds = %162
  %165 = call noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv()
  %166 = call noundef i32 @_ZN7qpOASES15MessageHandling12throwWarningENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28) %165, i32 noundef 117, ptr noundef null, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i64 noundef 2742, i32 noundef 1)
  br label %185

167:                                              ; preds = %.preheader102
  %168 = load i32, ptr %4, align 4, !tbaa !5
  %169 = add nuw nsw i32 %.087105, 1
  %170 = load i32, ptr %39, align 8, !tbaa !11
  %171 = icmp slt i32 %169, %170
  br i1 %171, label %.preheader102, label %.preheader, !llvm.loop !32

scalar.ph233:                                     ; preds = %scalar.ph233.prol.loopexit, %scalar.ph233
  %indvars.iv155 = phi i64 [ %indvars.iv.next156.3, %scalar.ph233 ], [ %indvars.iv155.unr, %scalar.ph233.prol.loopexit ]
  %172 = getelementptr inbounds double, ptr %1, i64 %indvars.iv155
  %173 = load double, ptr %172, align 8, !tbaa !9
  %174 = getelementptr inbounds double, ptr %148, i64 %indvars.iv155
  store double %173, ptr %174, align 8, !tbaa !9
  %indvars.iv.next156 = add nuw nsw i64 %indvars.iv155, 1
  %175 = getelementptr inbounds double, ptr %1, i64 %indvars.iv.next156
  %176 = load double, ptr %175, align 8, !tbaa !9
  %177 = getelementptr inbounds double, ptr %148, i64 %indvars.iv.next156
  store double %176, ptr %177, align 8, !tbaa !9
  %indvars.iv.next156.1 = add nuw nsw i64 %indvars.iv155, 2
  %178 = getelementptr inbounds double, ptr %1, i64 %indvars.iv.next156.1
  %179 = load double, ptr %178, align 8, !tbaa !9
  %180 = getelementptr inbounds double, ptr %148, i64 %indvars.iv.next156.1
  store double %179, ptr %180, align 8, !tbaa !9
  %indvars.iv.next156.2 = add nuw nsw i64 %indvars.iv155, 3
  %181 = getelementptr inbounds double, ptr %1, i64 %indvars.iv.next156.2
  %182 = load double, ptr %181, align 8, !tbaa !9
  %183 = getelementptr inbounds double, ptr %148, i64 %indvars.iv.next156.2
  store double %182, ptr %183, align 8, !tbaa !9
  %indvars.iv.next156.3 = add nuw nsw i64 %indvars.iv155, 4
  %exitcond159.not.3 = icmp eq i64 %indvars.iv.next156.3, %33
  br i1 %exitcond159.not.3, label %._crit_edge, label %scalar.ph233, !llvm.loop !40

._crit_edge:                                      ; preds = %scalar.ph233.prol.loopexit, %scalar.ph233, %middle.block232, %.preheader
  call void @_ZdaPv(ptr noundef nonnull %37) #11
  br i1 %18, label %185, label %184

184:                                              ; preds = %._crit_edge
  store double %.081.lcssa, ptr %5, align 8, !tbaa !9
  br label %185

185:                                              ; preds = %164, %162, %184, %._crit_edge, %25, %27
  %.1 = phi i32 [ 64, %27 ], [ %.08397101, %25 ], [ 64, %164 ], [ %.us-phi163, %162 ], [ 0, %184 ], [ 0, %._crit_edge ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  br label %186

186:                                              ; preds = %185, %14
  %.2 = phi i32 [ %15, %14 ], [ %.1, %185 ]
  ret i32 %.2
}

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #8

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


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