; LLVM IR from ERGO-Code/HiGHS :: src/util (HighsUtils)

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

%struct.HighsScatterData = type <{ i32, i32, i32, [4 x i8], %"class.std::vector.3", %"class.std::vector.3", i8, [7 x i8], double, double, double, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, [4 x i8] }>
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.123 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.125 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [46 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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

declare i32 @printf(ptr noundef, ...) #2

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z16printScatterDataNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK16HighsScatterData(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(156) %1) #4 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %12 = load ptr, ptr %5, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.HighsScatterData, ptr %12, i32 0, i32 1
  %14 = load i32, ptr %13, align 4, !tbaa !9
  %15 = icmp ne i32 %14, 0
  br i1 %15, label %17, label %16

16:                                               ; preds = %2
  store i1 true, ptr %3, align 1
  br label %104

17:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !18
  %18 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %0) #5
  %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.123, ptr noundef %18)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %20 = load ptr, ptr %5, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.HighsScatterData, ptr %20, i32 0, i32 1
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.HighsScatterData, ptr %22, i32 0, i32 0
  %24 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 4 dereferenceable(4) %23)
  %25 = load i32, ptr %24, align 4, !tbaa !18
  store i32 %25, ptr %9, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.HighsScatterData, ptr %26, i32 0, i32 2
  %28 = load i32, ptr %27, align 8, !tbaa !19
  %29 = add nsw i32 %28, 1
  store i32 %29, ptr %10, align 4, !tbaa !18
  br label %30

30:                                               ; preds = %55, %17
  %31 = load i32, ptr %10, align 4, !tbaa !18
  %32 = load i32, ptr %9, align 4, !tbaa !18
  %33 = icmp slt i32 %31, %32
  br i1 %33, label %35, label %34

34:                                               ; preds = %30
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %58

35:                                               ; preds = %30
  %36 = load i32, ptr %8, align 4, !tbaa !18
  %37 = add nsw i32 %36, 1
  store i32 %37, ptr %8, align 4, !tbaa !18
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.HighsScatterData, ptr %38, i32 0, i32 4
  %40 = load i32, ptr %10, align 4, !tbaa !18
  %41 = sext i32 %40 to i64
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %41) #5
  %43 = load double, ptr %42, align 8, !tbaa !20
  store double %43, ptr %6, align 8, !tbaa !20
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.HighsScatterData, ptr %44, i32 0, i32 5
  %46 = load i32, ptr %10, align 4, !tbaa !18
  %47 = sext i32 %46 to i64
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %47) #5
  %49 = load double, ptr %48, align 8, !tbaa !20
  store double %49, ptr %7, align 8, !tbaa !20
  %50 = load i32, ptr %10, align 4, !tbaa !18
  %51 = load double, ptr %6, align 8, !tbaa !20
  %52 = load double, ptr %7, align 8, !tbaa !20
  %53 = load i32, ptr %8, align 4, !tbaa !18
  %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.124, i32 noundef %50, double noundef %51, double noundef %52, i32 noundef %53)
  br label %55

55:                                               ; preds = %35
  %56 = load i32, ptr %10, align 4, !tbaa !18
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr %10, align 4, !tbaa !18
  br label %30, !llvm.loop !21

58:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !18
  br label %59

59:                                               ; preds = %86, %58
  %60 = load i32, ptr %11, align 4, !tbaa !18
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.HighsScatterData, ptr %61, i32 0, i32 2
  %63 = load i32, ptr %62, align 8, !tbaa !19
  %64 = icmp sle i32 %60, %63
  br i1 %64, label %66, label %65

65:                                               ; preds = %59
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %89

66:                                               ; preds = %59
  %67 = load i32, ptr %8, align 4, !tbaa !18
  %68 = add nsw i32 %67, 1
  store i32 %68, ptr %8, align 4, !tbaa !18
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.HighsScatterData, ptr %69, i32 0, i32 4
  %71 = load i32, ptr %11, align 4, !tbaa !18
  %72 = sext i32 %71 to i64
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %70, i64 noundef %72) #5
  %74 = load double, ptr %73, align 8, !tbaa !20
  store double %74, ptr %6, align 8, !tbaa !20
  %75 = load ptr, ptr %5, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.HighsScatterData, ptr %75, i32 0, i32 5
  %77 = load i32, ptr %11, align 4, !tbaa !18
  %78 = sext i32 %77 to i64
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %76, i64 noundef %78) #5
  %80 = load double, ptr %79, align 8, !tbaa !20
  store double %80, ptr %7, align 8, !tbaa !20
  %81 = load i32, ptr %11, align 4, !tbaa !18
  %82 = load double, ptr %6, align 8, !tbaa !20
  %83 = load double, ptr %7, align 8, !tbaa !20
  %84 = load i32, ptr %8, align 4, !tbaa !18
  %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.124, i32 noundef %81, double noundef %82, double noundef %83, i32 noundef %84)
  br label %86

86:                                               ; preds = %66
  %87 = load i32, ptr %11, align 4, !tbaa !18
  %88 = add nsw i32 %87, 1
  store i32 %88, ptr %11, align 4, !tbaa !18
  br label %59, !llvm.loop !23

89:                                               ; preds = %65
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.HighsScatterData, ptr %90, i32 0, i32 8
  %92 = load double, ptr %91, align 8, !tbaa !24
  %93 = load ptr, ptr %5, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.HighsScatterData, ptr %93, i32 0, i32 9
  %95 = load double, ptr %94, align 8, !tbaa !25
  %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.125, double noundef %92, double noundef %95)
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.HighsScatterData, ptr %97, i32 0, i32 11
  %99 = load double, ptr %98, align 8, !tbaa !26
  %100 = load ptr, ptr %5, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.HighsScatterData, ptr %100, i32 0, i32 12
  %102 = load double, ptr %101, align 8, !tbaa !27
  %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.126, double noundef %99, double noundef %102)
  store i1 true, ptr %3, align 1
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  br label %104

104:                                              ; preds = %89, %16
  %105 = load i1, ptr %3, align 1
  ret i1 %105
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { "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 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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !11, i64 4}
!10 = !{!"_ZTS16HighsScatterData", !11, i64 0, !11, i64 4, !11, i64 8, !12, i64 16, !12, i64 40, !16, i64 64, !17, i64 72, !17, i64 80, !17, i64 88, !17, i64 96, !17, i64 104, !17, i64 112, !11, i64 120, !11, i64 124, !11, i64 128, !11, i64 132, !11, i64 136, !11, i64 140, !11, i64 144, !11, i64 148, !11, i64 152}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTSSt6vectorIdSaIdEE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!16 = !{!"bool", !7, i64 0}
!17 = !{!"double", !7, i64 0}
!18 = !{!11, !11, i64 0}
!19 = !{!10, !11, i64 8}
!20 = !{!17, !17, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = !{!10, !17, i64 72}
!25 = !{!10, !17, i64 80}
!26 = !{!10, !17, i64 96}
!27 = !{!10, !17, i64 104}


; 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.123 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.125 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [46 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef zeroext i1 @_Z16printScatterDataNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK16HighsScatterData(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(156) %1) local_unnamed_addr #0 {
  %3 = getelementptr inbounds i8, ptr %1, i64 4
  %4 = load i32, ptr %3, align 4, !tbaa !5
  %.not = icmp eq i32 %4, 0
  br i1 %.not, label %49, label %5

5:                                                ; preds = %2
  %6 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  %7 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.123, ptr noundef %6)
  %8 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %9 = load i32, ptr %8, align 4, !tbaa !17
  %10 = getelementptr inbounds i8, ptr %1, i64 8
  %11 = load i32, ptr %10, align 8, !tbaa !18
  %.03236 = add nsw i32 %11, 1
  %12 = icmp slt i32 %.03236, %9
  br i1 %12, label %.lr.ph, label %.preheader

.lr.ph:                                           ; preds = %5
  %13 = getelementptr inbounds i8, ptr %1, i64 16
  %14 = getelementptr inbounds i8, ptr %1, i64 40
  %15 = sext i32 %11 to i64
  %16 = xor i32 %11, -1
  %17 = add i32 %9, %16
  br label %21

.preheader.loopexit:                              ; preds = %21
  %.pre = load i32, ptr %10, align 8, !tbaa !18
  br label %.preheader

.preheader:                                       ; preds = %.preheader.loopexit, %5
  %18 = phi i32 [ %11, %5 ], [ %.pre, %.preheader.loopexit ]
  %.034.lcssa = phi i32 [ 0, %5 ], [ %17, %.preheader.loopexit ]
  %.not3539 = icmp slt i32 %18, 0
  br i1 %.not3539, label %._crit_edge, label %.lr.ph42

.lr.ph42:                                         ; preds = %.preheader
  %19 = getelementptr inbounds i8, ptr %1, i64 16
  %20 = getelementptr inbounds i8, ptr %1, i64 40
  br label %39

21:                                               ; preds = %.lr.ph, %21
  %indvars.iv.in = phi i64 [ %15, %.lr.ph ], [ %indvars.iv, %21 ]
  %.03437 = phi i32 [ 0, %.lr.ph ], [ %22, %21 ]
  %indvars.iv = add nsw i64 %indvars.iv.in, 1
  %22 = add nuw i32 %.03437, 1
  %23 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv) #3
  %24 = load double, ptr %23, align 8, !tbaa !19
  %25 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %indvars.iv) #3
  %26 = load double, ptr %25, align 8, !tbaa !19
  %27 = trunc nsw i64 %indvars.iv to i32
  %28 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.124, i32 noundef %27, double noundef %24, double noundef %26, i32 noundef %22)
  %exitcond.not = icmp eq i32 %22, %17
  br i1 %exitcond.not, label %.preheader.loopexit, label %21, !llvm.loop !20

._crit_edge:                                      ; preds = %39, %.preheader
  %29 = getelementptr inbounds i8, ptr %1, i64 72
  %30 = load double, ptr %29, align 8, !tbaa !22
  %31 = getelementptr inbounds i8, ptr %1, i64 80
  %32 = load double, ptr %31, align 8, !tbaa !23
  %33 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.125, double noundef %30, double noundef %32)
  %34 = getelementptr inbounds i8, ptr %1, i64 96
  %35 = load double, ptr %34, align 8, !tbaa !24
  %36 = getelementptr inbounds i8, ptr %1, i64 104
  %37 = load double, ptr %36, align 8, !tbaa !25
  %38 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.126, double noundef %35, double noundef %37)
  br label %49

39:                                               ; preds = %.lr.ph42, %39
  %indvars.iv44 = phi i64 [ 0, %.lr.ph42 ], [ %indvars.iv.next45, %39 ]
  %.140 = phi i32 [ %.034.lcssa, %.lr.ph42 ], [ %40, %39 ]
  %40 = add nuw nsw i32 %.140, 1
  %41 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %indvars.iv44) #3
  %42 = load double, ptr %41, align 8, !tbaa !19
  %43 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %indvars.iv44) #3
  %44 = load double, ptr %43, align 8, !tbaa !19
  %45 = trunc nuw nsw i64 %indvars.iv44 to i32
  %46 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.124, i32 noundef %45, double noundef %42, double noundef %44, i32 noundef %40)
  %indvars.iv.next45 = add nuw nsw i64 %indvars.iv44, 1
  %47 = load i32, ptr %10, align 8, !tbaa !18
  %48 = sext i32 %47 to i64
  %.not35.not = icmp slt i64 %indvars.iv44, %48
  br i1 %.not35.not, label %39, label %._crit_edge, !llvm.loop !26

49:                                               ; preds = %2, %._crit_edge
  ret i1 true
}

attributes #0 = { 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 #1 = { nofree 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 #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 = { 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, !7, i64 4}
!6 = !{!"_ZTS16HighsScatterData", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 40, !15, i64 64, !16, i64 72, !16, i64 80, !16, i64 88, !16, i64 96, !16, i64 104, !16, i64 112, !7, i64 120, !7, i64 124, !7, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !7, i64 144, !7, i64 148, !7, i64 152}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt6vectorIdSaIdEE", !11, i64 0}
!11 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!"bool", !8, i64 0}
!16 = !{!"double", !8, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!6, !7, i64 8}
!19 = !{!16, !16, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!6, !16, i64 72}
!23 = !{!6, !16, i64 80}
!24 = !{!6, !16, i64 96}
!25 = !{!6, !16, i64 104}
!26 = distinct !{!26, !21}


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