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

; 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::SubjectTo" = type { ptr, i32, ptr, ptr, i32, i32 }

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

declare noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv() #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) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7qpOASES6Bounds10setupBoundEiNS_15SubjectToStatusE(ptr noundef nonnull align 8 dereferenceable(120), i32 noundef, i32 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7qpOASES6Bounds8setupAllENS_15SubjectToStatusE(ptr noundef nonnull align 8 dereferenceable(120) %0, i32 noundef %1) #1 align 2 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  %8 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !11
  br label %9

9:                                                ; preds = %28, %2
  %10 = load i32, ptr %6, align 4, !tbaa !11
  %11 = getelementptr inbounds %"class.qpOASES::SubjectTo", ptr %8, i32 0, i32 1
  %12 = load i32, ptr %11, align 8, !tbaa !13
  %13 = icmp slt i32 %10, %12
  br i1 %13, label %14, label %31

14:                                               ; preds = %9
  %15 = load i32, ptr %6, align 4, !tbaa !11
  %16 = call noundef i32 @_ZNK7qpOASES9SubjectTo7getTypeEi(ptr noundef nonnull align 8 dereferenceable(40) %8, i32 noundef %15)
  %17 = icmp eq i32 %16, 0
  br i1 %17, label %18, label %27

18:                                               ; preds = %14
  %19 = load i32, ptr %6, align 4, !tbaa !11
  %20 = load i32, ptr %5, align 4, !tbaa !9
  %21 = call noundef i32 @_ZN7qpOASES6Bounds10setupBoundEiNS_15SubjectToStatusE(ptr noundef nonnull align 8 dereferenceable(120) %8, i32 noundef %19, i32 noundef %20)
  %22 = icmp ne i32 %21, 0
  br i1 %22, label %23, label %26

23:                                               ; preds = %18
  %24 = call noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv()
  %25 = call noundef i32 @_ZN7qpOASES15MessageHandling10throwErrorENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28) %24, i32 noundef 23, ptr noundef null, ptr noundef @.str, ptr noundef @.str.1, i64 noundef 471, i32 noundef 1)
  store i32 %25, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %105

26:                                               ; preds = %18
  br label %27

27:                                               ; preds = %26, %14
  br label %28

28:                                               ; preds = %27
  %29 = load i32, ptr %6, align 4, !tbaa !11
  %30 = add nsw i32 %29, 1
  store i32 %30, ptr %6, align 4, !tbaa !11
  br label %9, !llvm.loop !16

31:                                               ; preds = %9
  store i32 0, ptr %6, align 4, !tbaa !11
  br label %32

32:                                               ; preds = %51, %31
  %33 = load i32, ptr %6, align 4, !tbaa !11
  %34 = getelementptr inbounds %"class.qpOASES::SubjectTo", ptr %8, i32 0, i32 1
  %35 = load i32, ptr %34, align 8, !tbaa !13
  %36 = icmp slt i32 %33, %35
  br i1 %36, label %37, label %54

37:                                               ; preds = %32
  %38 = load i32, ptr %6, align 4, !tbaa !11
  %39 = call noundef i32 @_ZNK7qpOASES9SubjectTo7getTypeEi(ptr noundef nonnull align 8 dereferenceable(40) %8, i32 noundef %38)
  %40 = icmp eq i32 %39, 1
  br i1 %40, label %41, label %50

41:                                               ; preds = %37
  %42 = load i32, ptr %6, align 4, !tbaa !11
  %43 = load i32, ptr %5, align 4, !tbaa !9
  %44 = call noundef i32 @_ZN7qpOASES6Bounds10setupBoundEiNS_15SubjectToStatusE(ptr noundef nonnull align 8 dereferenceable(120) %8, i32 noundef %42, i32 noundef %43)
  %45 = icmp ne i32 %44, 0
  br i1 %45, label %46, label %49

46:                                               ; preds = %41
  %47 = call noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv()
  %48 = call noundef i32 @_ZN7qpOASES15MessageHandling10throwErrorENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28) %47, i32 noundef 23, ptr noundef null, ptr noundef @.str, ptr noundef @.str.1, i64 noundef 481, i32 noundef 1)
  store i32 %48, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %105

49:                                               ; preds = %41
  br label %50

50:                                               ; preds = %49, %37
  br label %51

51:                                               ; preds = %50
  %52 = load i32, ptr %6, align 4, !tbaa !11
  %53 = add nsw i32 %52, 1
  store i32 %53, ptr %6, align 4, !tbaa !11
  br label %32, !llvm.loop !18

54:                                               ; preds = %32
  store i32 0, ptr %6, align 4, !tbaa !11
  br label %55

55:                                               ; preds = %74, %54
  %56 = load i32, ptr %6, align 4, !tbaa !11
  %57 = getelementptr inbounds %"class.qpOASES::SubjectTo", ptr %8, i32 0, i32 1
  %58 = load i32, ptr %57, align 8, !tbaa !13
  %59 = icmp slt i32 %56, %58
  br i1 %59, label %60, label %77

60:                                               ; preds = %55
  %61 = load i32, ptr %6, align 4, !tbaa !11
  %62 = call noundef i32 @_ZNK7qpOASES9SubjectTo7getTypeEi(ptr noundef nonnull align 8 dereferenceable(40) %8, i32 noundef %61)
  %63 = icmp eq i32 %62, 2
  br i1 %63, label %64, label %73

64:                                               ; preds = %60
  %65 = load i32, ptr %6, align 4, !tbaa !11
  %66 = load i32, ptr %5, align 4, !tbaa !9
  %67 = call noundef i32 @_ZN7qpOASES6Bounds10setupBoundEiNS_15SubjectToStatusE(ptr noundef nonnull align 8 dereferenceable(120) %8, i32 noundef %65, i32 noundef %66)
  %68 = icmp ne i32 %67, 0
  br i1 %68, label %69, label %72

69:                                               ; preds = %64
  %70 = call noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv()
  %71 = call noundef i32 @_ZN7qpOASES15MessageHandling10throwErrorENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28) %70, i32 noundef 23, ptr noundef null, ptr noundef @.str, ptr noundef @.str.1, i64 noundef 491, i32 noundef 1)
  store i32 %71, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %105

72:                                               ; preds = %64
  br label %73

73:                                               ; preds = %72, %60
  br label %74

74:                                               ; preds = %73
  %75 = load i32, ptr %6, align 4, !tbaa !11
  %76 = add nsw i32 %75, 1
  store i32 %76, ptr %6, align 4, !tbaa !11
  br label %55, !llvm.loop !19

77:                                               ; preds = %55
  store i32 0, ptr %6, align 4, !tbaa !11
  br label %78

78:                                               ; preds = %101, %77
  %79 = load i32, ptr %6, align 4, !tbaa !11
  %80 = getelementptr inbounds %"class.qpOASES::SubjectTo", ptr %8, i32 0, i32 1
  %81 = load i32, ptr %80, align 8, !tbaa !13
  %82 = icmp slt i32 %79, %81
  br i1 %82, label %83, label %104

83:                                               ; preds = %78
  %84 = load i32, ptr %6, align 4, !tbaa !11
  %85 = call noundef i32 @_ZNK7qpOASES9SubjectTo7getTypeEi(ptr noundef nonnull align 8 dereferenceable(40) %8, i32 noundef %84)
  %86 = icmp eq i32 %85, 4
  br i1 %86, label %91, label %87

87:                                               ; preds = %83
  %88 = load i32, ptr %6, align 4, !tbaa !11
  %89 = call noundef i32 @_ZNK7qpOASES9SubjectTo7getTypeEi(ptr noundef nonnull align 8 dereferenceable(40) %8, i32 noundef %88)
  %90 = icmp eq i32 %89, 3
  br i1 %90, label %91, label %100

91:                                               ; preds = %87, %83
  %92 = load i32, ptr %6, align 4, !tbaa !11
  %93 = load i32, ptr %5, align 4, !tbaa !9
  %94 = call noundef i32 @_ZN7qpOASES6Bounds10setupBoundEiNS_15SubjectToStatusE(ptr noundef nonnull align 8 dereferenceable(120) %8, i32 noundef %92, i32 noundef %93)
  %95 = icmp ne i32 %94, 0
  br i1 %95, label %96, label %99

96:                                               ; preds = %91
  %97 = call noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv()
  %98 = call noundef i32 @_ZN7qpOASES15MessageHandling10throwErrorENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28) %97, i32 noundef 23, ptr noundef null, ptr noundef @.str, ptr noundef @.str.1, i64 noundef 501, i32 noundef 1)
  store i32 %98, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %105

99:                                               ; preds = %91
  br label %100

100:                                              ; preds = %99, %87
  br label %101

101:                                              ; preds = %100
  %102 = load i32, ptr %6, align 4, !tbaa !11
  %103 = add nsw i32 %102, 1
  store i32 %103, ptr %6, align 4, !tbaa !11
  br label %78, !llvm.loop !20

104:                                              ; preds = %78
  store i32 0, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %105

105:                                              ; preds = %104, %96, %69, %46, %23
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  %106 = load i32, ptr %3, align 4
  ret i32 %106
}

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTSN7qpOASES15SubjectToStatusE", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 8}
!14 = !{!"_ZTSN7qpOASES9SubjectToE", !12, i64 8, !6, i64 16, !6, i64 24, !15, i64 32, !15, i64 36}
!15 = !{!"_ZTSN7qpOASES11BooleanTypeE", !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !17}
!20 = distinct !{!20, !17}


; 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 [101 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: mustprogress uwtable
declare dso_local noundef i32 @_ZN7qpOASES6Bounds10setupBoundEiNS_15SubjectToStatusE(ptr noundef nonnull align 8 dereferenceable(120), i32 noundef, i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7qpOASES6Bounds8setupAllENS_15SubjectToStatusE(ptr noundef nonnull align 8 dereferenceable(120) %0, i32 noundef %1) local_unnamed_addr #1 align 2 {
  %3 = getelementptr inbounds i8, ptr %0, i64 8
  %4 = load i32, ptr %3, align 8, !tbaa !5
  %5 = icmp sgt i32 %4, 0
  br i1 %5, label %.lr.ph, label %.loopexit

.preheader27:                                     ; preds = %11
  %6 = icmp sgt i32 %13, 0
  br i1 %6, label %.lr.ph31, label %.loopexit

.lr.ph:                                           ; preds = %2, %11
  %.029 = phi i32 [ %12, %11 ], [ 0, %2 ]
  %7 = tail call noundef i32 @_ZNK7qpOASES9SubjectTo7getTypeEi(ptr noundef nonnull align 8 dereferenceable(40) %0, i32 noundef %.029)
  %8 = icmp eq i32 %7, 0
  br i1 %8, label %9, label %11

9:                                                ; preds = %.lr.ph
  %10 = tail call noundef i32 @_ZN7qpOASES6Bounds10setupBoundEiNS_15SubjectToStatusE(ptr noundef nonnull align 8 dereferenceable(120) %0, i32 noundef %.029, i32 noundef %1)
  %.not25 = icmp eq i32 %10, 0
  br i1 %.not25, label %11, label %.loopexit.sink.split

11:                                               ; preds = %.lr.ph, %9
  %12 = add nuw nsw i32 %.029, 1
  %13 = load i32, ptr %3, align 8, !tbaa !5
  %14 = icmp slt i32 %12, %13
  br i1 %14, label %.lr.ph, label %.preheader27, !llvm.loop !12

.preheader26:                                     ; preds = %20
  %15 = icmp sgt i32 %22, 0
  br i1 %15, label %.lr.ph33, label %.loopexit

.lr.ph31:                                         ; preds = %.preheader27, %20
  %.130 = phi i32 [ %21, %20 ], [ 0, %.preheader27 ]
  %16 = tail call noundef i32 @_ZNK7qpOASES9SubjectTo7getTypeEi(ptr noundef nonnull align 8 dereferenceable(40) %0, i32 noundef %.130)
  %17 = icmp eq i32 %16, 1
  br i1 %17, label %18, label %20

18:                                               ; preds = %.lr.ph31
  %19 = tail call noundef i32 @_ZN7qpOASES6Bounds10setupBoundEiNS_15SubjectToStatusE(ptr noundef nonnull align 8 dereferenceable(120) %0, i32 noundef %.130, i32 noundef %1)
  %.not24 = icmp eq i32 %19, 0
  br i1 %.not24, label %20, label %.loopexit.sink.split

20:                                               ; preds = %.lr.ph31, %18
  %21 = add nuw nsw i32 %.130, 1
  %22 = load i32, ptr %3, align 8, !tbaa !5
  %23 = icmp slt i32 %21, %22
  br i1 %23, label %.lr.ph31, label %.preheader26, !llvm.loop !14

.preheader:                                       ; preds = %29
  %24 = icmp sgt i32 %31, 0
  br i1 %24, label %.lr.ph35, label %.loopexit

.lr.ph33:                                         ; preds = %.preheader26, %29
  %.232 = phi i32 [ %30, %29 ], [ 0, %.preheader26 ]
  %25 = tail call noundef i32 @_ZNK7qpOASES9SubjectTo7getTypeEi(ptr noundef nonnull align 8 dereferenceable(40) %0, i32 noundef %.232)
  %26 = icmp eq i32 %25, 2
  br i1 %26, label %27, label %29

27:                                               ; preds = %.lr.ph33
  %28 = tail call noundef i32 @_ZN7qpOASES6Bounds10setupBoundEiNS_15SubjectToStatusE(ptr noundef nonnull align 8 dereferenceable(120) %0, i32 noundef %.232, i32 noundef %1)
  %.not23 = icmp eq i32 %28, 0
  br i1 %.not23, label %29, label %.loopexit.sink.split

29:                                               ; preds = %.lr.ph33, %27
  %30 = add nuw nsw i32 %.232, 1
  %31 = load i32, ptr %3, align 8, !tbaa !5
  %32 = icmp slt i32 %30, %31
  br i1 %32, label %.lr.ph33, label %.preheader, !llvm.loop !15

.lr.ph35:                                         ; preds = %.preheader, %40
  %.334 = phi i32 [ %41, %40 ], [ 0, %.preheader ]
  %33 = tail call noundef i32 @_ZNK7qpOASES9SubjectTo7getTypeEi(ptr noundef nonnull align 8 dereferenceable(40) %0, i32 noundef %.334)
  %34 = icmp eq i32 %33, 4
  br i1 %34, label %38, label %35

35:                                               ; preds = %.lr.ph35
  %36 = tail call noundef i32 @_ZNK7qpOASES9SubjectTo7getTypeEi(ptr noundef nonnull align 8 dereferenceable(40) %0, i32 noundef %.334)
  %37 = icmp eq i32 %36, 3
  br i1 %37, label %38, label %40

38:                                               ; preds = %35, %.lr.ph35
  %39 = tail call noundef i32 @_ZN7qpOASES6Bounds10setupBoundEiNS_15SubjectToStatusE(ptr noundef nonnull align 8 dereferenceable(120) %0, i32 noundef %.334, i32 noundef %1)
  %.not = icmp eq i32 %39, 0
  br i1 %.not, label %40, label %.loopexit.sink.split

40:                                               ; preds = %35, %38
  %41 = add nuw nsw i32 %.334, 1
  %42 = load i32, ptr %3, align 8, !tbaa !5
  %43 = icmp slt i32 %41, %42
  br i1 %43, label %.lr.ph35, label %.loopexit, !llvm.loop !16

.loopexit.sink.split:                             ; preds = %9, %18, %27, %38
  %.sink38 = phi i64 [ 501, %38 ], [ 491, %27 ], [ 481, %18 ], [ 471, %9 ]
  %44 = tail call noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv()
  %45 = tail call noundef i32 @_ZN7qpOASES15MessageHandling10throwErrorENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28) %44, i32 noundef 23, ptr noundef null, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i64 noundef %.sink38, i32 noundef 1)
  br label %.loopexit

.loopexit:                                        ; preds = %40, %.loopexit.sink.split, %2, %.preheader27, %.preheader26, %.preheader
  %.022 = phi i32 [ 0, %.preheader ], [ 0, %.preheader26 ], [ 0, %.preheader27 ], [ 0, %2 ], [ %45, %.loopexit.sink.split ], [ 0, %40 ]
  ret i32 %.022
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7qpOASES9SubjectTo7getTypeEi(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) local_unnamed_addr #2 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 = { 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 #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" }

!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, !7, i64 8}
!6 = !{!"_ZTSN7qpOASES9SubjectToE", !7, i64 8, !10, i64 16, !10, i64 24, !11, i64 32, !11, i64 36}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"_ZTSN7qpOASES11BooleanTypeE", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}
!16 = distinct !{!16, !13}


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