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

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

@_ZTVN7qpOASES9QProblemBE = external dso_local unnamed_addr constant { [21 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7qpOASES9QProblemBC2Ev(ptr noundef nonnull align 8 dereferenceable(800) %0) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %5 = load ptr, ptr %2, align 8
  store ptr getelementptr inbounds inrange(-16, 152) ({ [21 x ptr] }, ptr @_ZTVN7qpOASES9QProblemBE, i32 0, i32 0, i32 2), ptr %5, align 8, !tbaa !9
  %6 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %5, i32 0, i32 6
  call void @_ZN7qpOASES6BoundsC1Ev(ptr noundef nonnull align 8 dereferenceable(120) %6)
  %7 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %5, i32 0, i32 23
  invoke void @_ZN7qpOASES7OptionsC1Ev(ptr noundef nonnull align 8 dereferenceable(220) %7)
          to label %8 unwind label %19

8:                                                ; preds = %1
  %9 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %5, i32 0, i32 24
  invoke void @_ZN7qpOASES7FlipperC1Ev(ptr noundef nonnull align 8 dereferenceable(272) %9)
          to label %10 unwind label %23

10:                                               ; preds = %8
  %11 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %5, i32 0, i32 25
  %12 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %5, i32 0, i32 23
  %13 = getelementptr inbounds %"class.qpOASES::Options", ptr %12, i32 0, i32 0
  %14 = load i32, ptr %13, align 8, !tbaa !11
  %15 = icmp ne i32 %14, 0
  br i1 %15, label %16, label %31

16:                                               ; preds = %10
  %17 = invoke noundef i32 @_ZN7qpOASES20printCopyrightNoticeEv()
          to label %18 unwind label %27

18:                                               ; preds = %16
  br label %31

19:                                               ; preds = %1
  %20 = landingpad { ptr, i32 }
          cleanup
  %21 = extractvalue { ptr, i32 } %20, 0
  store ptr %21, ptr %3, align 8
  %22 = extractvalue { ptr, i32 } %20, 1
  store i32 %22, ptr %4, align 4
  br label %68

23:                                               ; preds = %8
  %24 = landingpad { ptr, i32 }
          cleanup
  %25 = extractvalue { ptr, i32 } %24, 0
  store ptr %25, ptr %3, align 8
  %26 = extractvalue { ptr, i32 } %24, 1
  store i32 %26, ptr %4, align 4
  br label %67

27:                                               ; preds = %35, %33, %31, %16
  %28 = landingpad { ptr, i32 }
          cleanup
  %29 = extractvalue { ptr, i32 } %28, 0
  store ptr %29, ptr %3, align 8
  %30 = extractvalue { ptr, i32 } %28, 1
  store i32 %30, ptr %4, align 4
  call void @_ZN7qpOASES7FlipperD1Ev(ptr noundef nonnull align 8 dereferenceable(272) %9) #3
  br label %67

31:                                               ; preds = %18, %10
  %32 = invoke noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv()
          to label %33 unwind label %27

33:                                               ; preds = %31
  %34 = invoke noundef i32 @_ZN7qpOASES15MessageHandling5resetEv(ptr noundef nonnull align 8 dereferenceable(28) %32)
          to label %35 unwind label %27

35:                                               ; preds = %33
  %36 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %5, i32 0, i32 1
  store i32 0, ptr %36, align 8, !tbaa !27
  %37 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %5, i32 0, i32 2
  store ptr null, ptr %37, align 8, !tbaa !28
  %38 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %5, i32 0, i32 3
  store ptr null, ptr %38, align 8, !tbaa !29
  %39 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %5, i32 0, i32 4
  store ptr null, ptr %39, align 8, !tbaa !30
  %40 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %5, i32 0, i32 5
  store ptr null, ptr %40, align 8, !tbaa !31
  %41 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %5, i32 0, i32 7
  store ptr null, ptr %41, align 8, !tbaa !32
  %42 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %5, i32 0, i32 8
  store i32 0, ptr %42, align 8, !tbaa !33
  %43 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %5, i32 0, i32 9
  store ptr null, ptr %43, align 8, !tbaa !34
  %44 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %5, i32 0, i32 10
  store ptr null, ptr %44, align 8, !tbaa !35
  %45 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %5, i32 0, i32 11
  store double 0.000000e+00, ptr %45, align 8, !tbaa !36
  %46 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %5, i32 0, i32 15
  store i32 6, ptr %46, align 4, !tbaa !37
  %47 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %5, i32 0, i32 16
  store double 0.000000e+00, ptr %47, align 8, !tbaa !38
  %48 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %5, i32 0, i32 13
  store i32 0, ptr %48, align 4, !tbaa !39
  %49 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %5, i32 0, i32 14
  store i32 0, ptr %49, align 8, !tbaa !40
  %50 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %5, i32 0, i32 12
  store i32 0, ptr %50, align 8, !tbaa !41
  %51 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %5, i32 0, i32 17
  store i32 0, ptr %51, align 8, !tbaa !42
  %52 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %5, i32 0, i32 23
  %53 = getelementptr inbounds %"class.qpOASES::Options", ptr %52, i32 0, i32 17
  %54 = load double, ptr %53, align 8, !tbaa !43
  %55 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %5, i32 0, i32 19
  store double %54, ptr %55, align 8, !tbaa !44
  %56 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %5, i32 0, i32 23
  %57 = getelementptr inbounds %"class.qpOASES::Options", ptr %56, i32 0, i32 18
  %58 = load double, ptr %57, align 8, !tbaa !45
  %59 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %5, i32 0, i32 20
  store double %58, ptr %59, align 8, !tbaa !46
  %60 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %5, i32 0, i32 21
  store i32 0, ptr %60, align 8, !tbaa !47
  %61 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %5, i32 0, i32 18
  store ptr null, ptr %61, align 8, !tbaa !48
  %62 = getelementptr inbounds %"class.qpOASES::QProblemB", ptr %5, i32 0, i32 23
  %63 = getelementptr inbounds %"class.qpOASES::Options", ptr %62, i32 0, i32 0
  %64 = load i32, ptr %63, align 8, !tbaa !11
  %65 = invoke noundef i32 @_ZN7qpOASES9QProblemB13setPrintLevelENS_10PrintLevelE(ptr noundef nonnull align 8 dereferenceable(800) %5, i32 noundef %64)
          to label %66 unwind label %27

66:                                               ; preds = %35
  ret void

67:                                               ; preds = %27, %23
  call void @_ZN7qpOASES7OptionsD1Ev(ptr noundef nonnull align 8 dereferenceable(220) %7) #3
  br label %68

68:                                               ; preds = %67, %19
  call void @_ZN7qpOASES6BoundsD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %6) #3
  br label %69

69:                                               ; preds = %68
  %70 = load ptr, ptr %3, align 8
  %71 = load i32, ptr %4, align 4
  %72 = insertvalue { ptr, i32 } poison, ptr %70, 0
  %73 = insertvalue { ptr, i32 } %72, i32 %71, 1
  resume { ptr, i32 } %73
}

declare void @_ZN7qpOASES6BoundsC1Ev(ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #1

declare void @_ZN7qpOASES7OptionsC1Ev(ptr noundef nonnull align 8 dereferenceable(220)) unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

declare void @_ZN7qpOASES7FlipperC1Ev(ptr noundef nonnull align 8 dereferenceable(272)) unnamed_addr #1

declare noundef i32 @_ZN7qpOASES20printCopyrightNoticeEv() #1

declare noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv() #1

declare noundef i32 @_ZN7qpOASES15MessageHandling5resetEv(ptr noundef nonnull align 8 dereferenceable(28)) #1

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

; Function Attrs: nounwind
declare void @_ZN7qpOASES7FlipperD1Ev(ptr noundef nonnull align 8 dereferenceable(272)) unnamed_addr #2

; Function Attrs: nounwind
declare void @_ZN7qpOASES7OptionsD1Ev(ptr noundef nonnull align 8 dereferenceable(220)) unnamed_addr #2

; Function Attrs: nounwind
declare void @_ZN7qpOASES6BoundsD1Ev(ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "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 = { 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 #3 = { 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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !22, i64 272}
!12 = !{!"_ZTSN7qpOASES9QProblemBE", !13, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !14, i64 48, !6, i64 168, !13, i64 176, !6, i64 184, !6, i64 192, !18, i64 200, !19, i64 208, !13, i64 212, !13, i64 216, !20, i64 220, !18, i64 224, !16, i64 232, !6, i64 240, !18, i64 248, !18, i64 256, !16, i64 264, !21, i64 272, !24, i64 496, !26, i64 768}
!13 = !{!"_ZTSN7qpOASES11BooleanTypeE", !7, i64 0}
!14 = !{!"_ZTSN7qpOASES6BoundsE", !15, i64 0, !17, i64 40, !17, i64 80}
!15 = !{!"_ZTSN7qpOASES9SubjectToE", !16, i64 8, !6, i64 16, !6, i64 24, !13, i64 32, !13, i64 36}
!16 = !{!"int", !7, i64 0}
!17 = !{!"_ZTSN7qpOASES9IndexlistE", !6, i64 0, !6, i64 8, !16, i64 16, !16, i64 20, !16, i64 24, !16, i64 28, !16, i64 32}
!18 = !{!"double", !7, i64 0}
!19 = !{!"_ZTSN7qpOASES14QProblemStatusE", !7, i64 0}
!20 = !{!"_ZTSN7qpOASES11HessianTypeE", !7, i64 0}
!21 = !{!"_ZTSN7qpOASES7OptionsE", !22, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !16, i64 28, !16, i64 32, !13, i64 36, !18, i64 40, !18, i64 48, !18, i64 56, !18, i64 64, !18, i64 72, !18, i64 80, !18, i64 88, !18, i64 96, !18, i64 104, !18, i64 112, !18, i64 120, !23, i64 128, !18, i64 136, !16, i64 144, !18, i64 152, !16, i64 160, !18, i64 168, !18, i64 176, !18, i64 184, !18, i64 192, !13, i64 200, !13, i64 204, !16, i64 208, !16, i64 212, !16, i64 216}
!22 = !{!"_ZTSN7qpOASES10PrintLevelE", !7, i64 0}
!23 = !{!"_ZTSN7qpOASES15SubjectToStatusE", !7, i64 0}
!24 = !{!"_ZTSN7qpOASES7FlipperE", !16, i64 0, !16, i64 4, !14, i64 8, !25, i64 128, !6, i64 248, !6, i64 256, !6, i64 264}
!25 = !{!"_ZTSN7qpOASES11ConstraintsE", !15, i64 0, !17, i64 40, !17, i64 80}
!26 = !{!"_ZTSN7qpOASES13TabularOutputE", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12, !16, i64 16, !16, i64 20, !16, i64 24, !16, i64 28}
!27 = !{!12, !13, i64 8}
!28 = !{!12, !6, i64 16}
!29 = !{!12, !6, i64 24}
!30 = !{!12, !6, i64 32}
!31 = !{!12, !6, i64 40}
!32 = !{!12, !6, i64 168}
!33 = !{!12, !13, i64 176}
!34 = !{!12, !6, i64 184}
!35 = !{!12, !6, i64 192}
!36 = !{!12, !18, i64 200}
!37 = !{!12, !20, i64 220}
!38 = !{!12, !18, i64 224}
!39 = !{!12, !13, i64 212}
!40 = !{!12, !13, i64 216}
!41 = !{!12, !19, i64 208}
!42 = !{!12, !16, i64 232}
!43 = !{!12, !18, i64 368}
!44 = !{!12, !18, i64 248}
!45 = !{!12, !18, i64 376}
!46 = !{!12, !18, i64 256}
!47 = !{!12, !16, i64 264}
!48 = !{!12, !6, i64 240}


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

@_ZTVN7qpOASES9QProblemBE = external dso_local unnamed_addr constant { [21 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7qpOASES9QProblemBC2Ev(ptr noundef nonnull align 8 dereferenceable(800) %0) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  store ptr getelementptr inbounds inrange(-16, 152) (i8, ptr @_ZTVN7qpOASES9QProblemBE, i64 16), ptr %0, align 8, !tbaa !5
  %2 = getelementptr inbounds i8, ptr %0, i64 48
  tail call void @_ZN7qpOASES6BoundsC1Ev(ptr noundef nonnull align 8 dereferenceable(120) %2)
  %3 = getelementptr inbounds i8, ptr %0, i64 272
  invoke void @_ZN7qpOASES7OptionsC1Ev(ptr noundef nonnull align 8 dereferenceable(220) %3)
          to label %4 unwind label %10

4:                                                ; preds = %1
  %5 = getelementptr inbounds i8, ptr %0, i64 496
  invoke void @_ZN7qpOASES7FlipperC1Ev(ptr noundef nonnull align 8 dereferenceable(272) %5)
          to label %6 unwind label %12

6:                                                ; preds = %4
  %7 = load i32, ptr %3, align 8, !tbaa !8
  %.not = icmp eq i32 %7, 0
  br i1 %.not, label %16, label %8

8:                                                ; preds = %6
  %9 = invoke noundef i32 @_ZN7qpOASES20printCopyrightNoticeEv()
          to label %16 unwind label %14

10:                                               ; preds = %1
  %11 = landingpad { ptr, i32 }
          cleanup
  br label %38

12:                                               ; preds = %4
  %13 = landingpad { ptr, i32 }
          cleanup
  br label %37

14:                                               ; preds = %20, %18, %16, %8
  %15 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN7qpOASES7FlipperD1Ev(ptr noundef nonnull align 8 dereferenceable(272) %5) #4
  br label %37

16:                                               ; preds = %8, %6
  %17 = invoke noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv()
          to label %18 unwind label %14

18:                                               ; preds = %16
  %19 = invoke noundef i32 @_ZN7qpOASES15MessageHandling5resetEv(ptr noundef nonnull align 8 dereferenceable(28) %17)
          to label %20 unwind label %14

20:                                               ; preds = %18
  %21 = getelementptr inbounds i8, ptr %0, i64 8
  store i32 0, ptr %21, align 8, !tbaa !26
  %22 = getelementptr inbounds i8, ptr %0, i64 16
  %23 = getelementptr inbounds i8, ptr %0, i64 168
  store ptr null, ptr %23, align 8, !tbaa !27
  %24 = getelementptr inbounds i8, ptr %0, i64 176
  store i32 0, ptr %24, align 8, !tbaa !28
  %25 = getelementptr inbounds i8, ptr %0, i64 184
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %22, i8 0, i64 32, i1 false)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %25, i8 0, i64 24, i1 false)
  %26 = getelementptr inbounds i8, ptr %0, i64 224
  store double 0.000000e+00, ptr %26, align 8, !tbaa !29
  %27 = getelementptr inbounds i8, ptr %0, i64 208
  store <4 x i32> <i32 0, i32 0, i32 0, i32 6>, ptr %27, align 8, !tbaa !30
  %28 = getelementptr inbounds i8, ptr %0, i64 232
  store i32 0, ptr %28, align 8, !tbaa !31
  %29 = getelementptr inbounds i8, ptr %0, i64 368
  %30 = getelementptr inbounds i8, ptr %0, i64 248
  %31 = load <2 x double>, ptr %29, align 8, !tbaa !32
  store <2 x double> %31, ptr %30, align 8, !tbaa !32
  %32 = getelementptr inbounds i8, ptr %0, i64 264
  store i32 0, ptr %32, align 8, !tbaa !33
  %33 = getelementptr inbounds i8, ptr %0, i64 240
  store ptr null, ptr %33, align 8, !tbaa !34
  %34 = load i32, ptr %3, align 8, !tbaa !8
  %35 = invoke noundef i32 @_ZN7qpOASES9QProblemB13setPrintLevelENS_10PrintLevelE(ptr noundef nonnull align 8 dereferenceable(800) %0, i32 noundef %34)
          to label %36 unwind label %14

36:                                               ; preds = %20
  ret void

37:                                               ; preds = %14, %12
  %.pn = phi { ptr, i32 } [ %15, %14 ], [ %13, %12 ]
  tail call void @_ZN7qpOASES7OptionsD1Ev(ptr noundef nonnull align 8 dereferenceable(220) %3) #4
  br label %38

38:                                               ; preds = %37, %10
  %.pn.pn = phi { ptr, i32 } [ %.pn, %37 ], [ %11, %10 ]
  tail call void @_ZN7qpOASES6BoundsD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %2) #4
  resume { ptr, i32 } %.pn.pn
}

declare void @_ZN7qpOASES6BoundsC1Ev(ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #1

declare void @_ZN7qpOASES7OptionsC1Ev(ptr noundef nonnull align 8 dereferenceable(220)) unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

declare void @_ZN7qpOASES7FlipperC1Ev(ptr noundef nonnull align 8 dereferenceable(272)) unnamed_addr #1

declare noundef i32 @_ZN7qpOASES20printCopyrightNoticeEv() local_unnamed_addr #1

declare noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv() local_unnamed_addr #1

declare noundef i32 @_ZN7qpOASES15MessageHandling5resetEv(ptr noundef nonnull align 8 dereferenceable(28)) local_unnamed_addr #1

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

; Function Attrs: nounwind
declare void @_ZN7qpOASES7FlipperD1Ev(ptr noundef nonnull align 8 dereferenceable(272)) unnamed_addr #2

; Function Attrs: nounwind
declare void @_ZN7qpOASES7OptionsD1Ev(ptr noundef nonnull align 8 dereferenceable(220)) unnamed_addr #2

; Function Attrs: nounwind
declare void @_ZN7qpOASES6BoundsD1Ev(ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #2

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "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 = { 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 #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !21, i64 272}
!9 = !{!"_ZTSN7qpOASES9QProblemBE", !10, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !13, i64 48, !12, i64 168, !10, i64 176, !12, i64 184, !12, i64 192, !17, i64 200, !18, i64 208, !10, i64 212, !10, i64 216, !19, i64 220, !17, i64 224, !15, i64 232, !12, i64 240, !17, i64 248, !17, i64 256, !15, i64 264, !20, i64 272, !23, i64 496, !25, i64 768}
!10 = !{!"_ZTSN7qpOASES11BooleanTypeE", !11, i64 0}
!11 = !{!"omnipotent char", !7, i64 0}
!12 = !{!"any pointer", !11, i64 0}
!13 = !{!"_ZTSN7qpOASES6BoundsE", !14, i64 0, !16, i64 40, !16, i64 80}
!14 = !{!"_ZTSN7qpOASES9SubjectToE", !15, i64 8, !12, i64 16, !12, i64 24, !10, i64 32, !10, i64 36}
!15 = !{!"int", !11, i64 0}
!16 = !{!"_ZTSN7qpOASES9IndexlistE", !12, i64 0, !12, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !15, i64 32}
!17 = !{!"double", !11, i64 0}
!18 = !{!"_ZTSN7qpOASES14QProblemStatusE", !11, i64 0}
!19 = !{!"_ZTSN7qpOASES11HessianTypeE", !11, i64 0}
!20 = !{!"_ZTSN7qpOASES7OptionsE", !21, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !15, i64 28, !15, i64 32, !10, i64 36, !17, i64 40, !17, i64 48, !17, i64 56, !17, i64 64, !17, i64 72, !17, i64 80, !17, i64 88, !17, i64 96, !17, i64 104, !17, i64 112, !17, i64 120, !22, i64 128, !17, i64 136, !15, i64 144, !17, i64 152, !15, i64 160, !17, i64 168, !17, i64 176, !17, i64 184, !17, i64 192, !10, i64 200, !10, i64 204, !15, i64 208, !15, i64 212, !15, i64 216}
!21 = !{!"_ZTSN7qpOASES10PrintLevelE", !11, i64 0}
!22 = !{!"_ZTSN7qpOASES15SubjectToStatusE", !11, i64 0}
!23 = !{!"_ZTSN7qpOASES7FlipperE", !15, i64 0, !15, i64 4, !13, i64 8, !24, i64 128, !12, i64 248, !12, i64 256, !12, i64 264}
!24 = !{!"_ZTSN7qpOASES11ConstraintsE", !14, i64 0, !16, i64 40, !16, i64 80}
!25 = !{!"_ZTSN7qpOASES13TabularOutputE", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28}
!26 = !{!9, !10, i64 8}
!27 = !{!9, !12, i64 168}
!28 = !{!9, !10, i64 176}
!29 = !{!9, !17, i64 224}
!30 = !{!11, !11, i64 0}
!31 = !{!9, !15, i64 232}
!32 = !{!17, !17, i64 0}
!33 = !{!9, !15, i64 264}
!34 = !{!9, !12, i64 240}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InstCombinePass,MemCpyOptPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass