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

; 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::SparseMatrix" = type { ptr, i32, i32, ptr, ptr, ptr, ptr, %"class.qpOASES::Matrix.base" }
%"class.qpOASES::Matrix.base" = type <{ ptr, i32 }>

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7qpOASES6Matrix12doFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(12)) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN7qpOASES6isZeroEdd(double noundef, double noundef) #4

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

59:                                               ; preds = %119, %6
  %60 = load i32, ptr %14, align 4, !tbaa !9
  %61 = getelementptr inbounds %"class.qpOASES::SparseMatrix", ptr %16, i32 0, i32 2
  %62 = load i32, ptr %61, align 4, !tbaa !15
  %63 = icmp slt i32 %60, %62
  br i1 %63, label %64, label %122

64:                                               ; preds = %59
  %65 = load i32, ptr %15, align 4, !tbaa !9
  %66 = getelementptr inbounds %"class.qpOASES::SparseMatrix", ptr %16, i32 0, i32 4
  %67 = load ptr, ptr %66, align 8, !tbaa !17
  %68 = load i32, ptr %14, align 4, !tbaa !9
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds i32, ptr %67, i64 %69
  store i32 %65, ptr %70, align 4, !tbaa !9
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %71

71:                                               ; preds = %115, %64
  %72 = load i32, ptr %13, align 4, !tbaa !9
  %73 = getelementptr inbounds %"class.qpOASES::SparseMatrix", ptr %16, i32 0, i32 1
  %74 = load i32, ptr %73, align 8, !tbaa !13
  %75 = icmp slt i32 %72, %74
  br i1 %75, label %76, label %118

76:                                               ; preds = %71
  %77 = load ptr, ptr %12, align 8, !tbaa !5
  %78 = load i32, ptr %13, align 4, !tbaa !9
  %79 = load i32, ptr %11, align 4, !tbaa !9
  %80 = mul nsw i32 %78, %79
  %81 = load i32, ptr %14, align 4, !tbaa !9
  %82 = add nsw i32 %80, %81
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds double, ptr %77, i64 %83
  %85 = load double, ptr %84, align 8, !tbaa !20
  %86 = call noundef i32 @_ZN7qpOASES6isZeroEdd(double noundef %85, double noundef 0.000000e+00)
  %87 = icmp eq i32 %86, 0
  br i1 %87, label %92, label %88

88:                                               ; preds = %76
  %89 = load i32, ptr %13, align 4, !tbaa !9
  %90 = load i32, ptr %14, align 4, !tbaa !9
  %91 = icmp eq i32 %89, %90
  br i1 %91, label %92, label %114

92:                                               ; preds = %88, %76
  %93 = load i32, ptr %13, align 4, !tbaa !9
  %94 = getelementptr inbounds %"class.qpOASES::SparseMatrix", ptr %16, i32 0, i32 3
  %95 = load ptr, ptr %94, align 8, !tbaa !18
  %96 = load i32, ptr %15, align 4, !tbaa !9
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds i32, ptr %95, i64 %97
  store i32 %93, ptr %98, align 4, !tbaa !9
  %99 = load ptr, ptr %12, align 8, !tbaa !5
  %100 = load i32, ptr %13, align 4, !tbaa !9
  %101 = load i32, ptr %11, align 4, !tbaa !9
  %102 = mul nsw i32 %100, %101
  %103 = load i32, ptr %14, align 4, !tbaa !9
  %104 = add nsw i32 %102, %103
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds double, ptr %99, i64 %105
  %107 = load double, ptr %106, align 8, !tbaa !20
  %108 = getelementptr inbounds %"class.qpOASES::SparseMatrix", ptr %16, i32 0, i32 6
  %109 = load ptr, ptr %108, align 8, !tbaa !19
  %110 = load i32, ptr %15, align 4, !tbaa !9
  %111 = add nsw i32 %110, 1
  store i32 %111, ptr %15, align 4, !tbaa !9
  %112 = sext i32 %110 to i64
  %113 = getelementptr inbounds double, ptr %109, i64 %112
  store double %107, ptr %113, align 8, !tbaa !20
  br label %114

114:                                              ; preds = %92, %88
  br label %115

115:                                              ; preds = %114
  %116 = load i32, ptr %13, align 4, !tbaa !9
  %117 = add nsw i32 %116, 1
  store i32 %117, ptr %13, align 4, !tbaa !9
  br label %71, !llvm.loop !22

118:                                              ; preds = %71
  br label %119

119:                                              ; preds = %118
  %120 = load i32, ptr %14, align 4, !tbaa !9
  %121 = add nsw i32 %120, 1
  store i32 %121, ptr %14, align 4, !tbaa !9
  br label %59, !llvm.loop !24

122:                                              ; preds = %59
  %123 = load i32, ptr %15, align 4, !tbaa !9
  %124 = getelementptr inbounds %"class.qpOASES::SparseMatrix", ptr %16, i32 0, i32 4
  %125 = load ptr, ptr %124, align 8, !tbaa !17
  %126 = getelementptr inbounds %"class.qpOASES::SparseMatrix", ptr %16, i32 0, i32 2
  %127 = load i32, ptr %126, align 4, !tbaa !15
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds i32, ptr %125, i64 %128
  store i32 %123, ptr %129, align 4, !tbaa !9
  %130 = load ptr, ptr %16, align 8, !tbaa !11
  %131 = getelementptr i8, ptr %130, i64 -24
  %132 = load i64, ptr %131, align 8
  %133 = getelementptr inbounds i8, ptr %16, i64 %132
  call void @_ZN7qpOASES6Matrix12doFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(12) %133)
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  ret void
}

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

!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 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !10, i64 8}
!14 = !{!"_ZTSN7qpOASES12SparseMatrixE", !10, i64 8, !10, i64 12, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!15 = !{!14, !10, i64 12}
!16 = !{!14, !6, i64 32}
!17 = !{!14, !6, i64 24}
!18 = !{!14, !6, i64 16}
!19 = !{!14, !6, i64 40}
!20 = !{!21, !21, i64 0}
!21 = !{!"double", !7, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}


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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7qpOASES6Matrix12doFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN7qpOASES6isZeroEdd(double noundef, double noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7qpOASES12SparseMatrixC2EiiiPKd(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr nocapture noundef readonly %5) unnamed_addr #3 align 2 {
  %7 = load ptr, ptr %1, align 8
  store ptr %7, ptr %0, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %1, i64 8
  %9 = load ptr, ptr %8, align 8
  %10 = getelementptr i8, ptr %7, i64 -24
  %11 = load i64, ptr %10, align 8
  %12 = getelementptr inbounds i8, ptr %0, i64 %11
  store ptr %9, ptr %12, align 8, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %0, i64 8
  store i32 %2, ptr %13, align 8, !tbaa !8
  %14 = getelementptr inbounds i8, ptr %0, i64 12
  store i32 %3, ptr %14, align 4, !tbaa !13
  %15 = getelementptr inbounds i8, ptr %0, i64 32
  store ptr null, ptr %15, align 8, !tbaa !14
  %16 = add nsw i32 %3, 1
  %17 = zext nneg i32 %16 to i64
  %18 = icmp slt i32 %3, -1
  %19 = shl nuw nsw i64 %17, 2
  %20 = select i1 %18, i64 -1, i64 %19
  %21 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %20) #4
  %22 = getelementptr inbounds i8, ptr %0, i64 24
  store ptr %21, ptr %22, align 8, !tbaa !15
  %23 = mul nsw i32 %3, %2
  %24 = sext i32 %23 to i64
  %25 = icmp slt i32 %23, 0
  %26 = shl nsw i64 %24, 2
  %27 = select i1 %25, i64 -1, i64 %26
  %28 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %27) #4
  %29 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %28, ptr %29, align 8, !tbaa !16
  %30 = shl nsw i64 %24, 3
  %31 = select i1 %25, i64 -1, i64 %30
  %32 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %31) #4
  %33 = getelementptr inbounds i8, ptr %0, i64 40
  store ptr %32, ptr %33, align 8, !tbaa !17
  %34 = icmp sgt i32 %3, 0
  br i1 %34, label %.lr.ph36.preheader, label %._crit_edge37

.lr.ph36.preheader:                               ; preds = %6
  %35 = sext i32 %4 to i64
  br label %.lr.ph36

.lr.ph36:                                         ; preds = %.lr.ph36.preheader, %._crit_edge
  %indvars.iv42 = phi i64 [ 0, %.lr.ph36.preheader ], [ %indvars.iv.next43, %._crit_edge ]
  %.034 = phi i32 [ 0, %.lr.ph36.preheader ], [ %.1.lcssa, %._crit_edge ]
  %36 = load ptr, ptr %22, align 8, !tbaa !15
  %37 = getelementptr inbounds i32, ptr %36, i64 %indvars.iv42
  store i32 %.034, ptr %37, align 4, !tbaa !18
  %38 = load i32, ptr %13, align 8, !tbaa !8
  %39 = icmp sgt i32 %38, 0
  br i1 %39, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %.lr.ph36
  %invariant.gep = getelementptr double, ptr %5, i64 %indvars.iv42
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %54
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %54 ]
  %.132 = phi i32 [ %.034, %.lr.ph.preheader ], [ %.2, %54 ]
  %40 = mul nsw i64 %indvars.iv, %35
  %gep = getelementptr double, ptr %invariant.gep, i64 %40
  %41 = load double, ptr %gep, align 8, !tbaa !19
  %42 = tail call noundef i32 @_ZN7qpOASES6isZeroEdd(double noundef %41, double noundef 0.000000e+00)
  %43 = icmp eq i32 %42, 0
  %44 = icmp eq i64 %indvars.iv, %indvars.iv42
  %or.cond = or i1 %44, %43
  br i1 %or.cond, label %45, label %54

45:                                               ; preds = %.lr.ph
  %46 = load ptr, ptr %29, align 8, !tbaa !16
  %47 = sext i32 %.132 to i64
  %48 = getelementptr inbounds i32, ptr %46, i64 %47
  %49 = trunc nuw nsw i64 %indvars.iv to i32
  store i32 %49, ptr %48, align 4, !tbaa !18
  %50 = load double, ptr %gep, align 8, !tbaa !19
  %51 = load ptr, ptr %33, align 8, !tbaa !17
  %52 = add nsw i32 %.132, 1
  %53 = getelementptr inbounds double, ptr %51, i64 %47
  store double %50, ptr %53, align 8, !tbaa !19
  br label %54

54:                                               ; preds = %.lr.ph, %45
  %.2 = phi i32 [ %52, %45 ], [ %.132, %.lr.ph ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %55 = load i32, ptr %13, align 8, !tbaa !8
  %56 = sext i32 %55 to i64
  %57 = icmp slt i64 %indvars.iv.next, %56
  br i1 %57, label %.lr.ph, label %._crit_edge, !llvm.loop !21

._crit_edge:                                      ; preds = %54, %.lr.ph36
  %.1.lcssa = phi i32 [ %.034, %.lr.ph36 ], [ %.2, %54 ]
  %indvars.iv.next43 = add nuw nsw i64 %indvars.iv42, 1
  %58 = load i32, ptr %14, align 4, !tbaa !13
  %59 = sext i32 %58 to i64
  %60 = icmp slt i64 %indvars.iv.next43, %59
  br i1 %60, label %.lr.ph36, label %._crit_edge37.loopexit, !llvm.loop !23

._crit_edge37.loopexit:                           ; preds = %._crit_edge
  %.pre = load ptr, ptr %22, align 8, !tbaa !15
  br label %._crit_edge37

._crit_edge37:                                    ; preds = %6, %._crit_edge37.loopexit
  %61 = phi ptr [ %.pre, %._crit_edge37.loopexit ], [ %21, %6 ]
  %.0.lcssa = phi i32 [ %.1.lcssa, %._crit_edge37.loopexit ], [ 0, %6 ]
  %.lcssa = phi i32 [ %58, %._crit_edge37.loopexit ], [ %3, %6 ]
  %62 = sext i32 %.lcssa to i64
  %63 = getelementptr inbounds i32, ptr %61, i64 %62
  store i32 %.0.lcssa, ptr %63, align 4, !tbaa !18
  %64 = load ptr, ptr %0, align 8, !tbaa !5
  %65 = getelementptr i8, ptr %64, i64 -24
  %66 = load i64, ptr %65, align 8
  %67 = getelementptr inbounds i8, ptr %0, i64 %66
  tail call void @_ZN7qpOASES6Matrix12doFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(12) %67)
  ret void
}

attributes #0 = { 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 #1 = { 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 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 = { 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 = { builtin allocsize(0) }

!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, !10, i64 8}
!9 = !{!"_ZTSN7qpOASES12SparseMatrixE", !10, i64 8, !10, i64 12, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !7, i64 0}
!12 = !{!"any pointer", !11, i64 0}
!13 = !{!9, !10, i64 12}
!14 = !{!9, !12, i64 32}
!15 = !{!9, !12, i64 24}
!16 = !{!9, !12, i64 16}
!17 = !{!9, !12, i64 40}
!18 = !{!10, !10, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"double", !11, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}


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