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

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

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

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

declare noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv() #1

declare noundef i32 @_ZN7qpOASES15MessageHandling10throwErrorENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28), i32 noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef) #1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZN7qpOASES6getAbsEd(double noundef) #2

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

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

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

24:                                               ; preds = %4
  store i32 0, ptr %5, align 4
  store i32 1, ptr %15, align 4
  br label %224

25:                                               ; preds = %4
  %26 = load i32, ptr %8, align 4, !tbaa !9
  %27 = icmp eq i32 %26, 0
  br i1 %27, label %28, label %124

28:                                               ; preds = %25
  store i32 0, ptr %10, align 4, !tbaa !11
  br label %29

29:                                               ; preds = %120, %28
  %30 = load i32, ptr %10, align 4, !tbaa !11
  %31 = load i32, ptr %12, align 4, !tbaa !11
  %32 = icmp slt i32 %30, %31
  br i1 %32, label %33, label %123

33:                                               ; preds = %29
  %34 = load ptr, ptr %7, align 8, !tbaa !5
  %35 = load i32, ptr %10, align 4, !tbaa !11
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds double, ptr %34, i64 %36
  %38 = load double, ptr %37, align 8, !tbaa !28
  store double %38, ptr %14, align 8, !tbaa !28
  store i32 0, ptr %11, align 4, !tbaa !11
  br label %39

39:                                               ; preds = %70, %33
  %40 = load i32, ptr %11, align 4, !tbaa !11
  %41 = load i32, ptr %10, align 4, !tbaa !11
  %42 = icmp slt i32 %40, %41
  br i1 %42, label %43, label %73

43:                                               ; preds = %39
  %44 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %16, i32 0, i32 6
  %45 = load ptr, ptr %44, align 8, !tbaa !29
  %46 = load i32, ptr %10, align 4, !tbaa !11
  %47 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %16, i32 0, i32 8
  %48 = load i32, ptr %47, align 8, !tbaa !13
  %49 = mul nsw i32 %46, %48
  %50 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %16, i32 0, i32 8
  %51 = load i32, ptr %50, align 8, !tbaa !13
  %52 = sub nsw i32 %51, 1
  %53 = load i32, ptr %11, align 4, !tbaa !11
  %54 = sub nsw i32 %52, %53
  %55 = add nsw i32 %49, %54
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds double, ptr %45, i64 %56
  %58 = load double, ptr %57, align 8, !tbaa !28
  %59 = load ptr, ptr %9, align 8, !tbaa !5
  %60 = load i32, ptr %12, align 4, !tbaa !11
  %61 = sub nsw i32 %60, 1
  %62 = load i32, ptr %11, align 4, !tbaa !11
  %63 = sub nsw i32 %61, %62
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds double, ptr %59, i64 %64
  %66 = load double, ptr %65, align 8, !tbaa !28
  %67 = load double, ptr %14, align 8, !tbaa !28
  %68 = fneg double %58
  %69 = call double @llvm.fmuladd.f64(double %68, double %66, double %67)
  store double %69, ptr %14, align 8, !tbaa !28
  br label %70

70:                                               ; preds = %43
  %71 = load i32, ptr %11, align 4, !tbaa !11
  %72 = add nsw i32 %71, 1
  store i32 %72, ptr %11, align 4, !tbaa !11
  br label %39, !llvm.loop !30

73:                                               ; preds = %39
  %74 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %16, i32 0, i32 6
  %75 = load ptr, ptr %74, align 8, !tbaa !29
  %76 = load i32, ptr %10, align 4, !tbaa !11
  %77 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %16, i32 0, i32 8
  %78 = load i32, ptr %77, align 8, !tbaa !13
  %79 = mul nsw i32 %76, %78
  %80 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %16, i32 0, i32 8
  %81 = load i32, ptr %80, align 8, !tbaa !13
  %82 = sub nsw i32 %81, 1
  %83 = load i32, ptr %10, align 4, !tbaa !11
  %84 = sub nsw i32 %82, %83
  %85 = add nsw i32 %79, %84
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds double, ptr %75, i64 %86
  %88 = load double, ptr %87, align 8, !tbaa !28
  %89 = call noundef double @_ZN7qpOASES6getAbsEd(double noundef %88)
  %90 = fcmp ogt double %89, 2.221000e-16
  br i1 %90, label %91, label %116

91:                                               ; preds = %73
  %92 = load double, ptr %14, align 8, !tbaa !28
  %93 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %16, i32 0, i32 6
  %94 = load ptr, ptr %93, align 8, !tbaa !29
  %95 = load i32, ptr %10, align 4, !tbaa !11
  %96 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %16, i32 0, i32 8
  %97 = load i32, ptr %96, align 8, !tbaa !13
  %98 = mul nsw i32 %95, %97
  %99 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %16, i32 0, i32 8
  %100 = load i32, ptr %99, align 8, !tbaa !13
  %101 = sub nsw i32 %100, 1
  %102 = load i32, ptr %10, align 4, !tbaa !11
  %103 = sub nsw i32 %101, %102
  %104 = add nsw i32 %98, %103
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds double, ptr %94, i64 %105
  %107 = load double, ptr %106, align 8, !tbaa !28
  %108 = fdiv double %92, %107
  %109 = load ptr, ptr %9, align 8, !tbaa !5
  %110 = load i32, ptr %12, align 4, !tbaa !11
  %111 = sub nsw i32 %110, 1
  %112 = load i32, ptr %10, align 4, !tbaa !11
  %113 = sub nsw i32 %111, %112
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds double, ptr %109, i64 %114
  store double %108, ptr %115, align 8, !tbaa !28
  br label %119

116:                                              ; preds = %73
  %117 = call noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv()
  %118 = call noundef i32 @_ZN7qpOASES15MessageHandling10throwErrorENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28) %117, i32 noundef 1, ptr noundef null, ptr noundef @.str, ptr noundef @.str.1, i64 noundef 4544, i32 noundef 1)
  store i32 %118, ptr %5, align 4
  store i32 1, ptr %15, align 4
  br label %224

119:                                              ; preds = %91
  br label %120

120:                                              ; preds = %119
  %121 = load i32, ptr %10, align 4, !tbaa !11
  %122 = add nsw i32 %121, 1
  store i32 %122, ptr %10, align 4, !tbaa !11
  br label %29, !llvm.loop !32

123:                                              ; preds = %29
  br label %223

124:                                              ; preds = %25
  store i32 0, ptr %10, align 4, !tbaa !11
  br label %125

125:                                              ; preds = %219, %124
  %126 = load i32, ptr %10, align 4, !tbaa !11
  %127 = load i32, ptr %12, align 4, !tbaa !11
  %128 = icmp slt i32 %126, %127
  br i1 %128, label %129, label %222

129:                                              ; preds = %125
  %130 = load ptr, ptr %7, align 8, !tbaa !5
  %131 = load i32, ptr %10, align 4, !tbaa !11
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds double, ptr %130, i64 %132
  %134 = load double, ptr %133, align 8, !tbaa !28
  store double %134, ptr %14, align 8, !tbaa !28
  store i32 0, ptr %11, align 4, !tbaa !11
  br label %135

135:                                              ; preds = %167, %129
  %136 = load i32, ptr %11, align 4, !tbaa !11
  %137 = load i32, ptr %10, align 4, !tbaa !11
  %138 = icmp slt i32 %136, %137
  br i1 %138, label %139, label %170

139:                                              ; preds = %135
  %140 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %16, i32 0, i32 6
  %141 = load ptr, ptr %140, align 8, !tbaa !29
  %142 = load i32, ptr %12, align 4, !tbaa !11
  %143 = sub nsw i32 %142, 1
  %144 = load i32, ptr %11, align 4, !tbaa !11
  %145 = sub nsw i32 %143, %144
  %146 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %16, i32 0, i32 8
  %147 = load i32, ptr %146, align 8, !tbaa !13
  %148 = mul nsw i32 %145, %147
  %149 = load i32, ptr %13, align 4, !tbaa !11
  %150 = load i32, ptr %10, align 4, !tbaa !11
  %151 = add nsw i32 %149, %150
  %152 = add nsw i32 %148, %151
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds double, ptr %141, i64 %153
  %155 = load double, ptr %154, align 8, !tbaa !28
  %156 = load ptr, ptr %9, align 8, !tbaa !5
  %157 = load i32, ptr %12, align 4, !tbaa !11
  %158 = sub nsw i32 %157, 1
  %159 = load i32, ptr %11, align 4, !tbaa !11
  %160 = sub nsw i32 %158, %159
  %161 = sext i32 %160 to i64
  %162 = getelementptr inbounds double, ptr %156, i64 %161
  %163 = load double, ptr %162, align 8, !tbaa !28
  %164 = load double, ptr %14, align 8, !tbaa !28
  %165 = fneg double %155
  %166 = call double @llvm.fmuladd.f64(double %165, double %163, double %164)
  store double %166, ptr %14, align 8, !tbaa !28
  br label %167

167:                                              ; preds = %139
  %168 = load i32, ptr %11, align 4, !tbaa !11
  %169 = add nsw i32 %168, 1
  store i32 %169, ptr %11, align 4, !tbaa !11
  br label %135, !llvm.loop !33

170:                                              ; preds = %135
  %171 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %16, i32 0, i32 6
  %172 = load ptr, ptr %171, align 8, !tbaa !29
  %173 = load i32, ptr %12, align 4, !tbaa !11
  %174 = sub nsw i32 %173, 1
  %175 = load i32, ptr %10, align 4, !tbaa !11
  %176 = sub nsw i32 %174, %175
  %177 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %16, i32 0, i32 8
  %178 = load i32, ptr %177, align 8, !tbaa !13
  %179 = mul nsw i32 %176, %178
  %180 = load i32, ptr %13, align 4, !tbaa !11
  %181 = load i32, ptr %10, align 4, !tbaa !11
  %182 = add nsw i32 %180, %181
  %183 = add nsw i32 %179, %182
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds double, ptr %172, i64 %184
  %186 = load double, ptr %185, align 8, !tbaa !28
  %187 = call noundef double @_ZN7qpOASES6getAbsEd(double noundef %186)
  %188 = fcmp ogt double %187, 2.221000e-16
  br i1 %188, label %189, label %215

189:                                              ; preds = %170
  %190 = load double, ptr %14, align 8, !tbaa !28
  %191 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %16, i32 0, i32 6
  %192 = load ptr, ptr %191, align 8, !tbaa !29
  %193 = load i32, ptr %12, align 4, !tbaa !11
  %194 = sub nsw i32 %193, 1
  %195 = load i32, ptr %10, align 4, !tbaa !11
  %196 = sub nsw i32 %194, %195
  %197 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %16, i32 0, i32 8
  %198 = load i32, ptr %197, align 8, !tbaa !13
  %199 = mul nsw i32 %196, %198
  %200 = load i32, ptr %13, align 4, !tbaa !11
  %201 = load i32, ptr %10, align 4, !tbaa !11
  %202 = add nsw i32 %200, %201
  %203 = add nsw i32 %199, %202
  %204 = sext i32 %203 to i64
  %205 = getelementptr inbounds double, ptr %192, i64 %204
  %206 = load double, ptr %205, align 8, !tbaa !28
  %207 = fdiv double %190, %206
  %208 = load ptr, ptr %9, align 8, !tbaa !5
  %209 = load i32, ptr %12, align 4, !tbaa !11
  %210 = sub nsw i32 %209, 1
  %211 = load i32, ptr %10, align 4, !tbaa !11
  %212 = sub nsw i32 %210, %211
  %213 = sext i32 %212 to i64
  %214 = getelementptr inbounds double, ptr %208, i64 %213
  store double %207, ptr %214, align 8, !tbaa !28
  br label %218

215:                                              ; preds = %170
  %216 = call noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv()
  %217 = call noundef i32 @_ZN7qpOASES15MessageHandling10throwErrorENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28) %216, i32 noundef 1, ptr noundef null, ptr noundef @.str, ptr noundef @.str.1, i64 noundef 4559, i32 noundef 1)
  store i32 %217, ptr %5, align 4
  store i32 1, ptr %15, align 4
  br label %224

218:                                              ; preds = %189
  br label %219

219:                                              ; preds = %218
  %220 = load i32, ptr %10, align 4, !tbaa !11
  %221 = add nsw i32 %220, 1
  store i32 %221, ptr %10, align 4, !tbaa !11
  br label %125, !llvm.loop !34

222:                                              ; preds = %125
  br label %223

223:                                              ; preds = %222, %123
  store i32 0, ptr %5, align 4
  store i32 1, ptr %15, align 4
  br label %224

224:                                              ; preds = %223, %215, %116, %24
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  %225 = load i32, ptr %5, align 4
  ret i32 %225
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTSN7qpOASES11BooleanTypeE", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 968}
!14 = !{!"_ZTSN7qpOASES8QProblemE", !15, i64 0, !10, i64 800, !6, i64 808, !6, i64 816, !6, i64 824, !26, i64 832, !6, i64 952, !6, i64 960, !12, i64 968, !6, i64 976, !6, i64 984, !6, i64 992, !6, i64 1000, !6, i64 1008, !6, i64 1016, !6, i64 1024, !6, i64 1032, !6, i64 1040, !6, i64 1048, !6, i64 1056}
!15 = !{!"_ZTSN7qpOASES9QProblemBE", !10, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !16, i64 48, !6, i64 168, !10, i64 176, !6, i64 184, !6, i64 192, !19, i64 200, !20, i64 208, !10, i64 212, !10, i64 216, !21, i64 220, !19, i64 224, !12, i64 232, !6, i64 240, !19, i64 248, !19, i64 256, !12, i64 264, !22, i64 272, !25, i64 496, !27, i64 768}
!16 = !{!"_ZTSN7qpOASES6BoundsE", !17, i64 0, !18, i64 40, !18, i64 80}
!17 = !{!"_ZTSN7qpOASES9SubjectToE", !12, i64 8, !6, i64 16, !6, i64 24, !10, i64 32, !10, i64 36}
!18 = !{!"_ZTSN7qpOASES9IndexlistE", !6, i64 0, !6, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32}
!19 = !{!"double", !7, i64 0}
!20 = !{!"_ZTSN7qpOASES14QProblemStatusE", !7, i64 0}
!21 = !{!"_ZTSN7qpOASES11HessianTypeE", !7, i64 0}
!22 = !{!"_ZTSN7qpOASES7OptionsE", !23, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !12, i64 28, !12, i64 32, !10, i64 36, !19, i64 40, !19, i64 48, !19, i64 56, !19, i64 64, !19, i64 72, !19, i64 80, !19, i64 88, !19, i64 96, !19, i64 104, !19, i64 112, !19, i64 120, !24, i64 128, !19, i64 136, !12, i64 144, !19, i64 152, !12, i64 160, !19, i64 168, !19, i64 176, !19, i64 184, !19, i64 192, !10, i64 200, !10, i64 204, !12, i64 208, !12, i64 212, !12, i64 216}
!23 = !{!"_ZTSN7qpOASES10PrintLevelE", !7, i64 0}
!24 = !{!"_ZTSN7qpOASES15SubjectToStatusE", !7, i64 0}
!25 = !{!"_ZTSN7qpOASES7FlipperE", !12, i64 0, !12, i64 4, !16, i64 8, !26, i64 128, !6, i64 248, !6, i64 256, !6, i64 264}
!26 = !{!"_ZTSN7qpOASES11ConstraintsE", !17, i64 0, !18, i64 40, !18, i64 80}
!27 = !{!"_ZTSN7qpOASES13TabularOutputE", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28}
!28 = !{!19, !19, i64 0}
!29 = !{!14, !6, i64 952}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = distinct !{!32, !31}
!33 = distinct !{!33, !31}
!34 = distinct !{!34, !31}


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

declare noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv() local_unnamed_addr #0

declare noundef i32 @_ZN7qpOASES15MessageHandling10throwErrorENS_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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZN7qpOASES6getAbsEd(double noundef) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZNK7qpOASES8QProblem10backsolveTEPKdNS_11BooleanTypeEPd(ptr noundef nonnull align 8 dereferenceable(1064) %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr nocapture noundef %3) unnamed_addr #4 align 2 {
  %5 = tail call noundef i32 @_ZNK7qpOASES8QProblem6getNACEv(ptr noundef nonnull align 8 dereferenceable(1064) %0)
  %6 = getelementptr inbounds i8, ptr %0, i64 968
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = sub nsw i32 %7, %5
  %9 = icmp slt i32 %5, 1
  br i1 %9, label %.loopexit, label %10

10:                                               ; preds = %4
  %11 = icmp eq i32 %2, 0
  %12 = getelementptr inbounds i8, ptr %0, i64 952
  %13 = zext nneg i32 %5 to i64
  br i1 %11, label %.lr.ph73, label %.lr.ph65

.lr.ph65:                                         ; preds = %10
  %14 = sext i32 %8 to i64
  %wide.trip.count81 = zext nneg i32 %5 to i64
  %.pre.pre = load ptr, ptr %12, align 8, !tbaa !25
  br label %78

.lr.ph73:                                         ; preds = %10
  %wide.trip.count90 = zext nneg i32 %5 to i64
  %.pre92.pre = load ptr, ptr %12, align 8, !tbaa !25
  %15 = getelementptr double, ptr %3, i64 %13
  %16 = getelementptr double, ptr %3, i64 %13
  br label %17

17:                                               ; preds = %.lr.ph73, %67
  %.pre92 = phi ptr [ %.pre92.pre, %.lr.ph73 ], [ %68, %67 ]
  %18 = phi i32 [ %7, %.lr.ph73 ], [ %69, %67 ]
  %indvars.iv87 = phi i64 [ 0, %.lr.ph73 ], [ %indvars.iv.next88, %67 ]
  %19 = getelementptr inbounds double, ptr %1, i64 %indvars.iv87
  %20 = load double, ptr %19, align 8, !tbaa !26
  %.not74 = icmp eq i64 %indvars.iv87, 0
  br i1 %.not74, label %._crit_edge70, label %.lr.ph69

.lr.ph69:                                         ; preds = %17
  %21 = trunc nuw nsw i64 %indvars.iv87 to i32
  %22 = mul nsw i32 %18, %21
  %xtraiter109 = and i64 %indvars.iv87, 1
  %23 = icmp eq i64 %indvars.iv87, 1
  br i1 %23, label %._crit_edge70.loopexit.unr-lcssa, label %.lr.ph69.new

.lr.ph69.new:                                     ; preds = %.lr.ph69
  %unroll_iter112 = and i64 %indvars.iv87, 9223372036854775806
  br label %24

24:                                               ; preds = %24, %.lr.ph69.new
  %indvars.iv83 = phi i64 [ 0, %.lr.ph69.new ], [ %indvars.iv.next84.1, %24 ]
  %.067 = phi double [ %20, %.lr.ph69.new ], [ %46, %24 ]
  %niter113 = phi i64 [ 0, %.lr.ph69.new ], [ %niter113.next.1, %24 ]
  %25 = xor i64 %indvars.iv83, -1
  %26 = trunc nsw i64 %25 to i32
  %27 = add i32 %18, %26
  %28 = add nsw i32 %27, %22
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds double, ptr %.pre92, i64 %29
  %31 = load double, ptr %30, align 8, !tbaa !26
  %32 = getelementptr double, ptr %15, i64 %25
  %33 = load double, ptr %32, align 8, !tbaa !26
  %34 = fneg double %31
  %35 = tail call double @llvm.fmuladd.f64(double %34, double %33, double %.067)
  %36 = xor i64 %indvars.iv83, -2
  %37 = trunc nsw i64 %36 to i32
  %38 = add i32 %18, %37
  %39 = add nsw i32 %38, %22
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds double, ptr %.pre92, i64 %40
  %42 = load double, ptr %41, align 8, !tbaa !26
  %43 = getelementptr double, ptr %15, i64 %36
  %44 = load double, ptr %43, align 8, !tbaa !26
  %45 = fneg double %42
  %46 = tail call double @llvm.fmuladd.f64(double %45, double %44, double %35)
  %indvars.iv.next84.1 = add nuw nsw i64 %indvars.iv83, 2
  %niter113.next.1 = add i64 %niter113, 2
  %niter113.ncmp.1 = icmp eq i64 %niter113.next.1, %unroll_iter112
  br i1 %niter113.ncmp.1, label %._crit_edge70.loopexit.unr-lcssa, label %24, !llvm.loop !27

._crit_edge70.loopexit.unr-lcssa:                 ; preds = %24, %.lr.ph69
  %.lcssa.ph = phi double [ poison, %.lr.ph69 ], [ %46, %24 ]
  %indvars.iv83.unr = phi i64 [ 0, %.lr.ph69 ], [ %indvars.iv.next84.1, %24 ]
  %.067.unr = phi double [ %20, %.lr.ph69 ], [ %46, %24 ]
  %lcmp.mod110.not = icmp eq i64 %xtraiter109, 0
  br i1 %lcmp.mod110.not, label %._crit_edge70, label %._crit_edge70.loopexit.epilog-lcssa

._crit_edge70.loopexit.epilog-lcssa:              ; preds = %._crit_edge70.loopexit.unr-lcssa
  %47 = xor i64 %indvars.iv83.unr, -1
  %48 = trunc nsw i64 %47 to i32
  %49 = add i32 %18, %48
  %50 = add nsw i32 %49, %22
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds double, ptr %.pre92, i64 %51
  %53 = load double, ptr %52, align 8, !tbaa !26
  %54 = getelementptr double, ptr %15, i64 %47
  %55 = load double, ptr %54, align 8, !tbaa !26
  %56 = fneg double %53
  %57 = tail call double @llvm.fmuladd.f64(double %56, double %55, double %.067.unr)
  br label %._crit_edge70

._crit_edge70:                                    ; preds = %._crit_edge70.loopexit.epilog-lcssa, %._crit_edge70.loopexit.unr-lcssa, %17
  %.pre-phi97 = phi i32 [ 0, %17 ], [ %22, %._crit_edge70.loopexit.unr-lcssa ], [ %22, %._crit_edge70.loopexit.epilog-lcssa ]
  %.pre-phi = phi i32 [ 0, %17 ], [ %21, %._crit_edge70.loopexit.unr-lcssa ], [ %21, %._crit_edge70.loopexit.epilog-lcssa ]
  %.0.lcssa = phi double [ %20, %17 ], [ %.lcssa.ph, %._crit_edge70.loopexit.unr-lcssa ], [ %57, %._crit_edge70.loopexit.epilog-lcssa ]
  %58 = xor i64 %indvars.iv87, -1
  %59 = trunc nsw i64 %58 to i32
  %60 = add i32 %18, %59
  %61 = add nsw i32 %60, %.pre-phi97
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds double, ptr %.pre92, i64 %62
  %64 = load double, ptr %63, align 8, !tbaa !26
  %65 = tail call noundef double @_ZN7qpOASES6getAbsEd(double noundef %64)
  %66 = fcmp ogt double %65, 2.221000e-16
  br i1 %66, label %67, label %.loopexit.sink.split

67:                                               ; preds = %._crit_edge70
  %68 = load ptr, ptr %12, align 8, !tbaa !25
  %69 = load i32, ptr %6, align 8, !tbaa !5
  %70 = mul nsw i32 %69, %.pre-phi
  %71 = add i32 %69, %59
  %72 = add nsw i32 %71, %70
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds double, ptr %68, i64 %73
  %75 = load double, ptr %74, align 8, !tbaa !26
  %76 = fdiv double %.0.lcssa, %75
  %77 = getelementptr double, ptr %16, i64 %58
  store double %76, ptr %77, align 8, !tbaa !26
  %indvars.iv.next88 = add nuw nsw i64 %indvars.iv87, 1
  %exitcond91.not = icmp eq i64 %indvars.iv.next88, %wide.trip.count90
  br i1 %exitcond91.not, label %.loopexit, label %17, !llvm.loop !29

78:                                               ; preds = %.lr.ph65, %128
  %.pre = phi ptr [ %.pre.pre, %.lr.ph65 ], [ %129, %128 ]
  %79 = phi i32 [ %7, %.lr.ph65 ], [ %130, %128 ]
  %indvars.iv78 = phi i64 [ 0, %.lr.ph65 ], [ %indvars.iv.next79, %128 ]
  %80 = getelementptr inbounds double, ptr %1, i64 %indvars.iv78
  %81 = load double, ptr %80, align 8, !tbaa !26
  %.not = icmp eq i64 %indvars.iv78, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %78
  %82 = add nsw i64 %indvars.iv78, %14
  %83 = sext i32 %79 to i64
  %xtraiter = and i64 %indvars.iv78, 1
  %84 = icmp eq i64 %indvars.iv78, 1
  br i1 %84, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i64 %indvars.iv78, 9223372036854775806
  br label %85

85:                                               ; preds = %85, %.lr.ph.new
  %indvars.iv = phi i64 [ 0, %.lr.ph.new ], [ %indvars.iv.next.1, %85 ]
  %.163 = phi double [ %81, %.lr.ph.new ], [ %105, %85 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.1, %85 ]
  %86 = xor i64 %indvars.iv, -1
  %87 = add nsw i64 %13, %86
  %88 = mul nsw i64 %87, %83
  %89 = add nsw i64 %82, %88
  %90 = getelementptr inbounds double, ptr %.pre, i64 %89
  %91 = load double, ptr %90, align 8, !tbaa !26
  %92 = getelementptr inbounds double, ptr %3, i64 %87
  %93 = load double, ptr %92, align 8, !tbaa !26
  %94 = fneg double %91
  %95 = tail call double @llvm.fmuladd.f64(double %94, double %93, double %.163)
  %96 = xor i64 %indvars.iv, -2
  %97 = add nsw i64 %96, %13
  %98 = mul nsw i64 %97, %83
  %99 = add nsw i64 %82, %98
  %100 = getelementptr inbounds double, ptr %.pre, i64 %99
  %101 = load double, ptr %100, align 8, !tbaa !26
  %102 = getelementptr inbounds double, ptr %3, i64 %97
  %103 = load double, ptr %102, align 8, !tbaa !26
  %104 = fneg double %101
  %105 = tail call double @llvm.fmuladd.f64(double %104, double %103, double %95)
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge.loopexit.unr-lcssa, label %85, !llvm.loop !30

._crit_edge.loopexit.unr-lcssa:                   ; preds = %85, %.lr.ph
  %.lcssa106.ph = phi double [ poison, %.lr.ph ], [ %105, %85 ]
  %indvars.iv.unr = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next.1, %85 ]
  %.163.unr = phi double [ %81, %.lr.ph ], [ %105, %85 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %._crit_edge.loopexit.epilog-lcssa

._crit_edge.loopexit.epilog-lcssa:                ; preds = %._crit_edge.loopexit.unr-lcssa
  %106 = xor i64 %indvars.iv.unr, -1
  %107 = add nsw i64 %13, %106
  %108 = mul nsw i64 %107, %83
  %109 = add nsw i64 %82, %108
  %110 = getelementptr inbounds double, ptr %.pre, i64 %109
  %111 = load double, ptr %110, align 8, !tbaa !26
  %112 = getelementptr inbounds double, ptr %3, i64 %107
  %113 = load double, ptr %112, align 8, !tbaa !26
  %114 = fneg double %111
  %115 = tail call double @llvm.fmuladd.f64(double %114, double %113, double %.163.unr)
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit.epilog-lcssa, %._crit_edge.loopexit.unr-lcssa, %78
  %.1.lcssa = phi double [ %81, %78 ], [ %.lcssa106.ph, %._crit_edge.loopexit.unr-lcssa ], [ %115, %._crit_edge.loopexit.epilog-lcssa ]
  %116 = xor i64 %indvars.iv78, -1
  %117 = add nsw i64 %13, %116
  %118 = trunc nsw i64 %117 to i32
  %119 = mul nsw i32 %79, %118
  %120 = trunc nuw nsw i64 %indvars.iv78 to i32
  %121 = add nsw i32 %8, %120
  %122 = add nsw i32 %119, %121
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds double, ptr %.pre, i64 %123
  %125 = load double, ptr %124, align 8, !tbaa !26
  %126 = tail call noundef double @_ZN7qpOASES6getAbsEd(double noundef %125)
  %127 = fcmp ogt double %126, 2.221000e-16
  br i1 %127, label %128, label %.loopexit.sink.split

128:                                              ; preds = %._crit_edge
  %129 = load ptr, ptr %12, align 8, !tbaa !25
  %130 = load i32, ptr %6, align 8, !tbaa !5
  %131 = mul nsw i32 %130, %118
  %132 = add nsw i32 %131, %121
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds double, ptr %129, i64 %133
  %135 = load double, ptr %134, align 8, !tbaa !26
  %136 = fdiv double %.1.lcssa, %135
  %137 = getelementptr inbounds double, ptr %3, i64 %117
  store double %136, ptr %137, align 8, !tbaa !26
  %indvars.iv.next79 = add nuw nsw i64 %indvars.iv78, 1
  %exitcond82.not = icmp eq i64 %indvars.iv.next79, %wide.trip.count81
  br i1 %exitcond82.not, label %.loopexit, label %78, !llvm.loop !31

.loopexit.sink.split:                             ; preds = %._crit_edge, %._crit_edge70
  %.sink100 = phi i64 [ 4544, %._crit_edge70 ], [ 4559, %._crit_edge ]
  %138 = tail call noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv()
  %139 = tail call noundef i32 @_ZN7qpOASES15MessageHandling10throwErrorENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28) %138, i32 noundef 1, ptr noundef null, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i64 noundef %.sink100, i32 noundef 1)
  br label %.loopexit

.loopexit:                                        ; preds = %128, %67, %.loopexit.sink.split, %4
  %.054 = phi i32 [ 0, %4 ], [ %139, %.loopexit.sink.split ], [ 0, %67 ], [ 0, %128 ]
  ret i32 %.054
}

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

!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, !14, i64 968}
!6 = !{!"_ZTSN7qpOASES8QProblemE", !7, i64 0, !8, i64 800, !11, i64 808, !11, i64 816, !11, i64 824, !23, i64 832, !11, i64 952, !11, i64 960, !14, i64 968, !11, i64 976, !11, i64 984, !11, i64 992, !11, i64 1000, !11, i64 1008, !11, i64 1016, !11, i64 1024, !11, i64 1032, !11, i64 1040, !11, i64 1048, !11, i64 1056}
!7 = !{!"_ZTSN7qpOASES9QProblemBE", !8, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !12, i64 48, !11, i64 168, !8, i64 176, !11, i64 184, !11, i64 192, !16, i64 200, !17, i64 208, !8, i64 212, !8, i64 216, !18, i64 220, !16, i64 224, !14, i64 232, !11, i64 240, !16, i64 248, !16, i64 256, !14, i64 264, !19, i64 272, !22, i64 496, !24, i64 768}
!8 = !{!"_ZTSN7qpOASES11BooleanTypeE", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"_ZTSN7qpOASES6BoundsE", !13, i64 0, !15, i64 40, !15, i64 80}
!13 = !{!"_ZTSN7qpOASES9SubjectToE", !14, i64 8, !11, i64 16, !11, i64 24, !8, i64 32, !8, i64 36}
!14 = !{!"int", !9, i64 0}
!15 = !{!"_ZTSN7qpOASES9IndexlistE", !11, i64 0, !11, i64 8, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28, !14, i64 32}
!16 = !{!"double", !9, i64 0}
!17 = !{!"_ZTSN7qpOASES14QProblemStatusE", !9, i64 0}
!18 = !{!"_ZTSN7qpOASES11HessianTypeE", !9, i64 0}
!19 = !{!"_ZTSN7qpOASES7OptionsE", !20, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !14, i64 28, !14, i64 32, !8, i64 36, !16, i64 40, !16, i64 48, !16, i64 56, !16, i64 64, !16, i64 72, !16, i64 80, !16, i64 88, !16, i64 96, !16, i64 104, !16, i64 112, !16, i64 120, !21, i64 128, !16, i64 136, !14, i64 144, !16, i64 152, !14, i64 160, !16, i64 168, !16, i64 176, !16, i64 184, !16, i64 192, !8, i64 200, !8, i64 204, !14, i64 208, !14, i64 212, !14, i64 216}
!20 = !{!"_ZTSN7qpOASES10PrintLevelE", !9, i64 0}
!21 = !{!"_ZTSN7qpOASES15SubjectToStatusE", !9, i64 0}
!22 = !{!"_ZTSN7qpOASES7FlipperE", !14, i64 0, !14, i64 4, !12, i64 8, !23, i64 128, !11, i64 248, !11, i64 256, !11, i64 264}
!23 = !{!"_ZTSN7qpOASES11ConstraintsE", !13, i64 0, !15, i64 40, !15, i64 80}
!24 = !{!"_ZTSN7qpOASES13TabularOutputE", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28}
!25 = !{!6, !11, i64 952}
!26 = !{!16, !16, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = distinct !{!29, !28}
!30 = distinct !{!30, !28}
!31 = distinct !{!31, !28}


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