; LLVM IR from cvxgrp/scs :: linsys/mkl/direct (private)

; 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.SCS_LIN_SYS_WORK = type { ptr, ptr, i32, i32, [64 x ptr], [64 x i32], i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr }
%struct.ScsMatrix = type { ptr, ptr, ptr, i32, i32 }

@.str.7 = external hidden unnamed_addr constant [51 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @scs_free_lin_sys_work(ptr noundef) #0

declare void @pardiso(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @scs_update_lin_sys_diag_r(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %6

6:                                                ; preds = %40, %2
  %7 = load i32, ptr %5, align 4, !tbaa !9
  %8 = load ptr, ptr %3, align 8, !tbaa !5
  %9 = getelementptr inbounds %struct.SCS_LIN_SYS_WORK, ptr %8, i32 0, i32 2
  %10 = load i32, ptr %9, align 8, !tbaa !11
  %11 = icmp slt i32 %7, %10
  br i1 %11, label %12, label %43

12:                                               ; preds = %6
  %13 = load ptr, ptr %3, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.SCS_LIN_SYS_WORK, ptr %13, i32 0, i32 15
  %15 = load ptr, ptr %14, align 8, !tbaa !13
  %16 = load i32, ptr %5, align 4, !tbaa !9
  %17 = sext i32 %16 to i64
  %18 = getelementptr inbounds double, ptr %15, i64 %17
  %19 = load double, ptr %18, align 8, !tbaa !14
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = load i32, ptr %5, align 4, !tbaa !9
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds double, ptr %20, i64 %22
  %24 = load double, ptr %23, align 8, !tbaa !14
  %25 = fadd double %19, %24
  %26 = load ptr, ptr %3, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.SCS_LIN_SYS_WORK, ptr %26, i32 0, i32 0
  %28 = load ptr, ptr %27, align 8, !tbaa !16
  %29 = getelementptr inbounds %struct.ScsMatrix, ptr %28, i32 0, i32 0
  %30 = load ptr, ptr %29, align 8, !tbaa !17
  %31 = load ptr, ptr %3, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.SCS_LIN_SYS_WORK, ptr %31, i32 0, i32 14
  %33 = load ptr, ptr %32, align 8, !tbaa !19
  %34 = load i32, ptr %5, align 4, !tbaa !9
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds i32, ptr %33, i64 %35
  %37 = load i32, ptr %36, align 4, !tbaa !9
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds double, ptr %30, i64 %38
  store double %25, ptr %39, align 8, !tbaa !14
  br label %40

40:                                               ; preds = %12
  %41 = load i32, ptr %5, align 4, !tbaa !9
  %42 = add nsw i32 %41, 1
  store i32 %42, ptr %5, align 4, !tbaa !9
  br label %6, !llvm.loop !20

43:                                               ; preds = %6
  %44 = load ptr, ptr %3, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.SCS_LIN_SYS_WORK, ptr %44, i32 0, i32 2
  %46 = load i32, ptr %45, align 8, !tbaa !11
  store i32 %46, ptr %5, align 4, !tbaa !9
  br label %47

47:                                               ; preds = %78, %43
  %48 = load i32, ptr %5, align 4, !tbaa !9
  %49 = load ptr, ptr %3, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.SCS_LIN_SYS_WORK, ptr %49, i32 0, i32 2
  %51 = load i32, ptr %50, align 8, !tbaa !11
  %52 = load ptr, ptr %3, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.SCS_LIN_SYS_WORK, ptr %52, i32 0, i32 3
  %54 = load i32, ptr %53, align 4, !tbaa !22
  %55 = add nsw i32 %51, %54
  %56 = icmp slt i32 %48, %55
  br i1 %56, label %57, label %81

57:                                               ; preds = %47
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = load i32, ptr %5, align 4, !tbaa !9
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds double, ptr %58, i64 %60
  %62 = load double, ptr %61, align 8, !tbaa !14
  %63 = fneg double %62
  %64 = load ptr, ptr %3, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.SCS_LIN_SYS_WORK, ptr %64, i32 0, i32 0
  %66 = load ptr, ptr %65, align 8, !tbaa !16
  %67 = getelementptr inbounds %struct.ScsMatrix, ptr %66, i32 0, i32 0
  %68 = load ptr, ptr %67, align 8, !tbaa !17
  %69 = load ptr, ptr %3, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.SCS_LIN_SYS_WORK, ptr %69, i32 0, i32 14
  %71 = load ptr, ptr %70, align 8, !tbaa !19
  %72 = load i32, ptr %5, align 4, !tbaa !9
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds i32, ptr %71, i64 %73
  %75 = load i32, ptr %74, align 4, !tbaa !9
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds double, ptr %68, i64 %76
  store double %63, ptr %77, align 8, !tbaa !14
  br label %78

78:                                               ; preds = %57
  %79 = load i32, ptr %5, align 4, !tbaa !9
  %80 = add nsw i32 %79, 1
  store i32 %80, ptr %5, align 4, !tbaa !9
  br label %47, !llvm.loop !23

81:                                               ; preds = %47
  %82 = load ptr, ptr %3, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.SCS_LIN_SYS_WORK, ptr %82, i32 0, i32 11
  store i32 22, ptr %83, align 4, !tbaa !24
  %84 = load ptr, ptr %3, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.SCS_LIN_SYS_WORK, ptr %84, i32 0, i32 4
  %86 = getelementptr inbounds [64 x ptr], ptr %85, i64 0, i64 0
  %87 = load ptr, ptr %3, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.SCS_LIN_SYS_WORK, ptr %87, i32 0, i32 9
  %89 = load ptr, ptr %3, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.SCS_LIN_SYS_WORK, ptr %89, i32 0, i32 10
  %91 = load ptr, ptr %3, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.SCS_LIN_SYS_WORK, ptr %91, i32 0, i32 7
  %93 = load ptr, ptr %3, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.SCS_LIN_SYS_WORK, ptr %93, i32 0, i32 11
  %95 = load ptr, ptr %3, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.SCS_LIN_SYS_WORK, ptr %95, i32 0, i32 6
  %97 = load ptr, ptr %3, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.SCS_LIN_SYS_WORK, ptr %97, i32 0, i32 0
  %99 = load ptr, ptr %98, align 8, !tbaa !16
  %100 = getelementptr inbounds %struct.ScsMatrix, ptr %99, i32 0, i32 0
  %101 = load ptr, ptr %100, align 8, !tbaa !17
  %102 = load ptr, ptr %3, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.SCS_LIN_SYS_WORK, ptr %102, i32 0, i32 0
  %104 = load ptr, ptr %103, align 8, !tbaa !16
  %105 = getelementptr inbounds %struct.ScsMatrix, ptr %104, i32 0, i32 2
  %106 = load ptr, ptr %105, align 8, !tbaa !25
  %107 = load ptr, ptr %3, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.SCS_LIN_SYS_WORK, ptr %107, i32 0, i32 0
  %109 = load ptr, ptr %108, align 8, !tbaa !16
  %110 = getelementptr inbounds %struct.ScsMatrix, ptr %109, i32 0, i32 1
  %111 = load ptr, ptr %110, align 8, !tbaa !26
  %112 = load ptr, ptr %3, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.SCS_LIN_SYS_WORK, ptr %112, i32 0, i32 8
  %114 = load ptr, ptr %3, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.SCS_LIN_SYS_WORK, ptr %114, i32 0, i32 5
  %116 = getelementptr inbounds [64 x i32], ptr %115, i64 0, i64 0
  %117 = load ptr, ptr %3, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.SCS_LIN_SYS_WORK, ptr %117, i32 0, i32 13
  %119 = load ptr, ptr %3, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.SCS_LIN_SYS_WORK, ptr %119, i32 0, i32 12
  call void @pardiso(ptr noundef %86, ptr noundef %88, ptr noundef %90, ptr noundef %92, ptr noundef %94, ptr noundef %96, ptr noundef %101, ptr noundef %106, ptr noundef %111, ptr noundef null, ptr noundef %113, ptr noundef %116, ptr noundef %118, ptr noundef null, ptr noundef null, ptr noundef %120)
  %121 = load ptr, ptr %3, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.SCS_LIN_SYS_WORK, ptr %121, i32 0, i32 12
  %123 = load i32, ptr %122, align 8, !tbaa !27
  %124 = icmp ne i32 %123, 0
  br i1 %124, label %125, label %131

125:                                              ; preds = %81
  %126 = load ptr, ptr %3, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.SCS_LIN_SYS_WORK, ptr %126, i32 0, i32 12
  %128 = load i32, ptr %127, align 8, !tbaa !27
  %129 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %128)
  %130 = load ptr, ptr %3, align 8, !tbaa !5
  call void @scs_free_lin_sys_work(ptr noundef %130)
  br label %131

131:                                              ; preds = %125, %81
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  ret void
}

attributes #0 = { 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 = { "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 = { 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 16}
!12 = !{!"SCS_LIN_SYS_WORK", !6, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !7, i64 24, !7, i64 536, !10, i64 792, !10, i64 796, !10, i64 800, !10, i64 804, !10, i64 808, !10, i64 812, !10, i64 816, !10, i64 820, !6, i64 824, !6, i64 832}
!13 = !{!12, !6, i64 832}
!14 = !{!15, !15, i64 0}
!15 = !{!"double", !7, i64 0}
!16 = !{!12, !6, i64 0}
!17 = !{!18, !6, i64 0}
!18 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28}
!19 = !{!12, !6, i64 824}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!12, !10, i64 20}
!23 = distinct !{!23, !21}
!24 = !{!12, !10, i64 812}
!25 = !{!18, !6, i64 16}
!26 = !{!18, !6, i64 8}
!27 = !{!12, !10, i64 816}


; 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.7 = external hidden unnamed_addr constant [51 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @scs_free_lin_sys_work(ptr noundef) local_unnamed_addr #0

declare void @pardiso(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local void @scs_update_lin_sys_diag_r(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
  %3 = getelementptr inbounds i8, ptr %0, i64 16
  %4 = load i32, ptr %3, align 8, !tbaa !5
  %5 = icmp sgt i32 %4, 0
  %.pre.pre = load ptr, ptr %0, align 8, !tbaa !11
  %.pre45.pre = load ptr, ptr %.pre.pre, align 8, !tbaa !12
  br i1 %5, label %.lr.ph, label %.preheader

.lr.ph:                                           ; preds = %2
  %6 = getelementptr inbounds i8, ptr %0, i64 832
  %7 = load ptr, ptr %6, align 8, !tbaa !14
  %8 = getelementptr inbounds i8, ptr %0, i64 824
  %9 = load ptr, ptr %8, align 8, !tbaa !15
  %wide.trip.count = zext nneg i32 %4 to i64
  %xtraiter = and i64 %wide.trip.count, 1
  %10 = icmp eq i32 %4, 1
  br i1 %10, label %.preheader.loopexit.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i64 %wide.trip.count, 2147483646
  br label %28

.preheader.loopexit.unr-lcssa:                    ; preds = %28, %.lr.ph
  %indvars.iv.unr = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next.1, %28 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader, label %.preheader.loopexit.epilog-lcssa

.preheader.loopexit.epilog-lcssa:                 ; preds = %.preheader.loopexit.unr-lcssa
  %11 = getelementptr inbounds double, ptr %7, i64 %indvars.iv.unr
  %12 = load double, ptr %11, align 8, !tbaa !16
  %13 = getelementptr inbounds double, ptr %1, i64 %indvars.iv.unr
  %14 = load double, ptr %13, align 8, !tbaa !16
  %15 = fadd double %12, %14
  %16 = getelementptr inbounds i32, ptr %9, i64 %indvars.iv.unr
  %17 = load i32, ptr %16, align 4, !tbaa !18
  %18 = sext i32 %17 to i64
  %19 = getelementptr inbounds double, ptr %.pre45.pre, i64 %18
  store double %15, ptr %19, align 8, !tbaa !16
  br label %.preheader

.preheader:                                       ; preds = %.preheader.loopexit.epilog-lcssa, %.preheader.loopexit.unr-lcssa, %2
  %20 = getelementptr inbounds i8, ptr %0, i64 20
  %21 = load i32, ptr %20, align 4, !tbaa !19
  %22 = icmp sgt i32 %21, 0
  br i1 %22, label %.lr.ph40, label %._crit_edge

.lr.ph40:                                         ; preds = %.preheader
  %23 = add nsw i32 %21, %4
  %24 = getelementptr inbounds i8, ptr %0, i64 824
  %25 = load ptr, ptr %24, align 8, !tbaa !15
  %26 = sext i32 %4 to i64
  %27 = sext i32 %23 to i64
  br label %47

28:                                               ; preds = %28, %.lr.ph.new
  %indvars.iv = phi i64 [ 0, %.lr.ph.new ], [ %indvars.iv.next.1, %28 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.1, %28 ]
  %29 = getelementptr inbounds double, ptr %7, i64 %indvars.iv
  %30 = load double, ptr %29, align 8, !tbaa !16
  %31 = getelementptr inbounds double, ptr %1, i64 %indvars.iv
  %32 = load double, ptr %31, align 8, !tbaa !16
  %33 = fadd double %30, %32
  %34 = getelementptr inbounds i32, ptr %9, i64 %indvars.iv
  %35 = load i32, ptr %34, align 4, !tbaa !18
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds double, ptr %.pre45.pre, i64 %36
  store double %33, ptr %37, align 8, !tbaa !16
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %38 = getelementptr inbounds double, ptr %7, i64 %indvars.iv.next
  %39 = load double, ptr %38, align 8, !tbaa !16
  %40 = getelementptr inbounds double, ptr %1, i64 %indvars.iv.next
  %41 = load double, ptr %40, align 8, !tbaa !16
  %42 = fadd double %39, %41
  %43 = getelementptr inbounds i32, ptr %9, i64 %indvars.iv.next
  %44 = load i32, ptr %43, align 4, !tbaa !18
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds double, ptr %.pre45.pre, i64 %45
  store double %42, ptr %46, align 8, !tbaa !16
  %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 %.preheader.loopexit.unr-lcssa, label %28, !llvm.loop !20

47:                                               ; preds = %.lr.ph40, %47
  %indvars.iv42 = phi i64 [ %26, %.lr.ph40 ], [ %indvars.iv.next43, %47 ]
  %48 = getelementptr inbounds double, ptr %1, i64 %indvars.iv42
  %49 = load double, ptr %48, align 8, !tbaa !16
  %50 = fneg double %49
  %51 = getelementptr inbounds i32, ptr %25, i64 %indvars.iv42
  %52 = load i32, ptr %51, align 4, !tbaa !18
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds double, ptr %.pre45.pre, i64 %53
  store double %50, ptr %54, align 8, !tbaa !16
  %indvars.iv.next43 = add nsw i64 %indvars.iv42, 1
  %55 = icmp slt i64 %indvars.iv.next43, %27
  br i1 %55, label %47, label %._crit_edge, !llvm.loop !22

._crit_edge:                                      ; preds = %47, %.preheader
  %56 = getelementptr inbounds i8, ptr %0, i64 812
  store i32 22, ptr %56, align 4, !tbaa !23
  %57 = getelementptr inbounds i8, ptr %0, i64 24
  %58 = getelementptr inbounds i8, ptr %0, i64 804
  %59 = getelementptr inbounds i8, ptr %0, i64 808
  %60 = getelementptr inbounds i8, ptr %0, i64 796
  %61 = getelementptr inbounds i8, ptr %0, i64 792
  %62 = getelementptr inbounds i8, ptr %.pre.pre, i64 16
  %63 = load ptr, ptr %62, align 8, !tbaa !24
  %64 = getelementptr inbounds i8, ptr %.pre.pre, i64 8
  %65 = load ptr, ptr %64, align 8, !tbaa !25
  %66 = getelementptr inbounds i8, ptr %0, i64 800
  %67 = getelementptr inbounds i8, ptr %0, i64 536
  %68 = getelementptr inbounds i8, ptr %0, i64 820
  %69 = getelementptr inbounds i8, ptr %0, i64 816
  tail call void @pardiso(ptr noundef nonnull %57, ptr noundef nonnull %58, ptr noundef nonnull %59, ptr noundef nonnull %60, ptr noundef nonnull %56, ptr noundef nonnull %61, ptr noundef %.pre45.pre, ptr noundef %63, ptr noundef %65, ptr noundef null, ptr noundef nonnull %66, ptr noundef nonnull %67, ptr noundef nonnull %68, ptr noundef null, ptr noundef null, ptr noundef nonnull %69) #3
  %70 = load i32, ptr %69, align 8, !tbaa !26
  %.not = icmp eq i32 %70, 0
  br i1 %.not, label %73, label %71

71:                                               ; preds = %._crit_edge
  %72 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %70)
  tail call void @scs_free_lin_sys_work(ptr noundef nonnull %0)
  br label %73

73:                                               ; preds = %71, %._crit_edge
  ret void
}

attributes #0 = { 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 = { "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 = { 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 #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, !10, i64 16}
!6 = !{!"SCS_LIN_SYS_WORK", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !8, i64 24, !8, i64 536, !10, i64 792, !10, i64 796, !10, i64 800, !10, i64 804, !10, i64 808, !10, i64 812, !10, i64 816, !10, i64 820, !7, i64 824, !7, i64 832}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28}
!14 = !{!6, !7, i64 832}
!15 = !{!6, !7, i64 824}
!16 = !{!17, !17, i64 0}
!17 = !{!"double", !8, i64 0}
!18 = !{!10, !10, i64 0}
!19 = !{!6, !10, i64 20}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = !{!6, !10, i64 812}
!24 = !{!13, !7, i64 16}
!25 = !{!13, !7, i64 8}
!26 = !{!6, !10, i64 816}


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