; LLVM IR from ERGO-Code/HiGHS :: src/ipm/basiclu (lu_file)

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

@.str = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [75 x i8], align 1
@__PRETTY_FUNCTION__.lu_file_reappend = external hidden unnamed_addr constant [106 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [20 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: nounwind uwtable
define dso_local void @lu_file_reappend(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %8) #1 {
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  store i32 %0, ptr %10, align 4, !tbaa !5
  store i32 %1, ptr %11, align 4, !tbaa !5
  store ptr %2, ptr %12, align 8, !tbaa !9
  store ptr %3, ptr %13, align 8, !tbaa !9
  store ptr %4, ptr %14, align 8, !tbaa !9
  store ptr %5, ptr %15, align 8, !tbaa !9
  store ptr %6, ptr %16, align 8, !tbaa !9
  store ptr %7, ptr %17, align 8, !tbaa !9
  store i32 %8, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  %25 = load ptr, ptr %13, align 8, !tbaa !9
  %26 = load i32, ptr %11, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds i32, ptr %25, i64 %27
  %29 = load i32, ptr %28, align 4, !tbaa !5
  store i32 %29, ptr %19, align 4, !tbaa !5
  %30 = load ptr, ptr %12, align 8, !tbaa !9
  %31 = load i32, ptr %11, align 4, !tbaa !5
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds i32, ptr %30, i64 %32
  %34 = load i32, ptr %33, align 4, !tbaa !5
  store i32 %34, ptr %20, align 4, !tbaa !5
  %35 = load i32, ptr %19, align 4, !tbaa !5
  %36 = load i32, ptr %20, align 4, !tbaa !5
  %37 = sub nsw i32 %35, %36
  store i32 %37, ptr %21, align 4, !tbaa !5
  %38 = load ptr, ptr %12, align 8, !tbaa !9
  %39 = load i32, ptr %10, align 4, !tbaa !5
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds i32, ptr %38, i64 %40
  %42 = load i32, ptr %41, align 4, !tbaa !5
  store i32 %42, ptr %22, align 4, !tbaa !5
  %43 = load ptr, ptr %13, align 8, !tbaa !9
  %44 = load i32, ptr %10, align 4, !tbaa !5
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds i32, ptr %43, i64 %45
  %47 = load i32, ptr %46, align 4, !tbaa !5
  store i32 %47, ptr %23, align 4, !tbaa !5
  %48 = load i32, ptr %20, align 4, !tbaa !5
  %49 = load ptr, ptr %12, align 8, !tbaa !9
  %50 = load i32, ptr %10, align 4, !tbaa !5
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds i32, ptr %49, i64 %51
  store i32 %48, ptr %52, align 4, !tbaa !5
  %53 = load i32, ptr %23, align 4, !tbaa !5
  %54 = load i32, ptr %22, align 4, !tbaa !5
  %55 = sub nsw i32 %53, %54
  %56 = load i32, ptr %21, align 4, !tbaa !5
  %57 = icmp sle i32 %55, %56
  br i1 %57, label %58, label %59

58:                                               ; preds = %9
  br label %60

59:                                               ; preds = %9
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 88, ptr noundef @__PRETTY_FUNCTION__.lu_file_reappend) #5
  unreachable

60:                                               ; preds = %58
  %61 = load i32, ptr %22, align 4, !tbaa !5
  store i32 %61, ptr %24, align 4, !tbaa !5
  br label %62

62:                                               ; preds = %86, %60
  %63 = load i32, ptr %24, align 4, !tbaa !5
  %64 = load i32, ptr %23, align 4, !tbaa !5
  %65 = icmp slt i32 %63, %64
  br i1 %65, label %66, label %89

66:                                               ; preds = %62
  %67 = load ptr, ptr %16, align 8, !tbaa !9
  %68 = load i32, ptr %24, align 4, !tbaa !5
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds i32, ptr %67, i64 %69
  %71 = load i32, ptr %70, align 4, !tbaa !5
  %72 = load ptr, ptr %16, align 8, !tbaa !9
  %73 = load i32, ptr %20, align 4, !tbaa !5
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds i32, ptr %72, i64 %74
  store i32 %71, ptr %75, align 4, !tbaa !5
  %76 = load ptr, ptr %17, align 8, !tbaa !9
  %77 = load i32, ptr %24, align 4, !tbaa !5
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds double, ptr %76, i64 %78
  %80 = load double, ptr %79, align 8, !tbaa !11
  %81 = load ptr, ptr %17, align 8, !tbaa !9
  %82 = load i32, ptr %20, align 4, !tbaa !5
  %83 = add nsw i32 %82, 1
  store i32 %83, ptr %20, align 4, !tbaa !5
  %84 = sext i32 %82 to i64
  %85 = getelementptr inbounds double, ptr %81, i64 %84
  store double %80, ptr %85, align 8, !tbaa !11
  br label %86

86:                                               ; preds = %66
  %87 = load i32, ptr %24, align 4, !tbaa !5
  %88 = add nsw i32 %87, 1
  store i32 %88, ptr %24, align 4, !tbaa !5
  br label %62, !llvm.loop !13

89:                                               ; preds = %62
  %90 = load i32, ptr %20, align 4, !tbaa !5
  %91 = load ptr, ptr %13, align 8, !tbaa !9
  %92 = load i32, ptr %10, align 4, !tbaa !5
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds i32, ptr %91, i64 %93
  store i32 %90, ptr %94, align 4, !tbaa !5
  %95 = load i32, ptr %19, align 4, !tbaa !5
  %96 = load i32, ptr %20, align 4, !tbaa !5
  %97 = sub nsw i32 %95, %96
  store i32 %97, ptr %21, align 4, !tbaa !5
  %98 = load i32, ptr %21, align 4, !tbaa !5
  %99 = load i32, ptr %18, align 4, !tbaa !5
  %100 = icmp sge i32 %98, %99
  br i1 %100, label %101, label %102

101:                                              ; preds = %89
  br label %103

102:                                              ; preds = %89
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 96, ptr noundef @__PRETTY_FUNCTION__.lu_file_reappend) #5
  unreachable

103:                                              ; preds = %101
  %104 = load i32, ptr %18, align 4, !tbaa !5
  %105 = load i32, ptr %20, align 4, !tbaa !5
  %106 = add nsw i32 %105, %104
  store i32 %106, ptr %20, align 4, !tbaa !5
  %107 = load i32, ptr %20, align 4, !tbaa !5
  %108 = load ptr, ptr %12, align 8, !tbaa !9
  %109 = load i32, ptr %11, align 4, !tbaa !5
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds i32, ptr %108, i64 %110
  store i32 %107, ptr %111, align 4, !tbaa !5
  %112 = load i32, ptr %10, align 4, !tbaa !5
  %113 = load ptr, ptr %14, align 8, !tbaa !9
  %114 = load ptr, ptr %15, align 8, !tbaa !9
  %115 = load i32, ptr %11, align 4, !tbaa !5
  call void @lu_list_move(i32 noundef %112, i32 noundef 0, ptr noundef %113, ptr noundef %114, i32 noundef %115, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  ret void
}

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @lu_list_move(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { noreturn 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 = { inlinehint 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 }
attributes #5 = { noreturn 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


; 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 [18 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [75 x i8], align 1
@__PRETTY_FUNCTION__.lu_file_reappend = external hidden unnamed_addr constant [106 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [20 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @lu_file_reappend(i32 noundef %0, i32 noundef %1, ptr nocapture noundef %2, ptr nocapture noundef %3, ptr noundef %4, ptr noundef %5, ptr nocapture noundef %6, ptr nocapture noundef %7, i32 noundef %8) local_unnamed_addr #0 {
  %10 = sext i32 %1 to i64
  %11 = getelementptr inbounds i32, ptr %3, i64 %10
  %12 = load i32, ptr %11, align 4, !tbaa !5
  %13 = getelementptr inbounds i32, ptr %2, i64 %10
  %14 = load i32, ptr %13, align 4, !tbaa !5
  %15 = sub nsw i32 %12, %14
  %16 = sext i32 %0 to i64
  %17 = getelementptr inbounds i32, ptr %2, i64 %16
  %18 = load i32, ptr %17, align 4, !tbaa !5
  %19 = getelementptr inbounds i32, ptr %3, i64 %16
  %20 = load i32, ptr %19, align 4, !tbaa !5
  store i32 %14, ptr %17, align 4, !tbaa !5
  %21 = sub nsw i32 %20, %18
  %.not = icmp sgt i32 %21, %15
  br i1 %.not, label %48, label %.preheader

.preheader:                                       ; preds = %9
  %22 = icmp slt i32 %18, %20
  br i1 %22, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %.preheader
  %23 = sext i32 %18 to i64
  %24 = sext i32 %14 to i64
  %wide.trip.count = sext i32 %20 to i64
  %25 = sub nsw i64 %wide.trip.count, %23
  %min.iters.check = icmp ult i64 %25, 14
  br i1 %min.iters.check, label %.lr.ph.preheader60, label %vector.memcheck

.lr.ph.preheader60:                               ; preds = %middle.block, %vector.memcheck, %.lr.ph.preheader
  %indvars.iv48.ph = phi i64 [ %24, %vector.memcheck ], [ %24, %.lr.ph.preheader ], [ %ind.end, %middle.block ]
  %indvars.iv.ph = phi i64 [ %23, %vector.memcheck ], [ %23, %.lr.ph.preheader ], [ %ind.end54, %middle.block ]
  %26 = sub nsw i64 %wide.trip.count, %indvars.iv.ph
  %xtraiter = and i64 %26, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol

.lr.ph.prol:                                      ; preds = %.lr.ph.preheader60
  %27 = getelementptr inbounds i32, ptr %6, i64 %indvars.iv.ph
  %28 = load i32, ptr %27, align 4, !tbaa !5
  %29 = getelementptr inbounds i32, ptr %6, i64 %indvars.iv48.ph
  store i32 %28, ptr %29, align 4, !tbaa !5
  %30 = getelementptr inbounds double, ptr %7, i64 %indvars.iv.ph
  %31 = load double, ptr %30, align 8, !tbaa !9
  %indvars.iv.next49.prol = add nsw i64 %indvars.iv48.ph, 1
  %32 = getelementptr inbounds double, ptr %7, i64 %indvars.iv48.ph
  store double %31, ptr %32, align 8, !tbaa !9
  %indvars.iv.next.prol = add nsw i64 %indvars.iv.ph, 1
  br label %.lr.ph.prol.loopexit

.lr.ph.prol.loopexit:                             ; preds = %.lr.ph.prol, %.lr.ph.preheader60
  %indvars.iv.next49.lcssa61.unr = phi i64 [ poison, %.lr.ph.preheader60 ], [ %indvars.iv.next49.prol, %.lr.ph.prol ]
  %indvars.iv48.unr = phi i64 [ %indvars.iv48.ph, %.lr.ph.preheader60 ], [ %indvars.iv.next49.prol, %.lr.ph.prol ]
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %.lr.ph.preheader60 ], [ %indvars.iv.next.prol, %.lr.ph.prol ]
  %33 = add nsw i64 %wide.trip.count, -1
  %34 = icmp eq i64 %indvars.iv.ph, %33
  br i1 %34, label %._crit_edge.loopexit, label %.lr.ph

vector.memcheck:                                  ; preds = %.lr.ph.preheader
  %35 = sub nsw i64 %24, %23
  %36 = and i64 %35, 4611686018427387900
  %diff.check = icmp eq i64 %36, 0
  %37 = sub nsw i64 %24, %23
  %38 = and i64 %37, 2305843009213693948
  %diff.check53 = icmp eq i64 %38, 0
  %conflict.rdx = or i1 %diff.check, %diff.check53
  br i1 %conflict.rdx, label %.lr.ph.preheader60, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %25, -4
  %ind.end = add nsw i64 %n.vec, %24
  %ind.end54 = add nsw i64 %n.vec, %23
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = add i64 %index, %24
  %offset.idx56 = add i64 %index, %23
  %39 = getelementptr inbounds i32, ptr %6, i64 %offset.idx56
  %40 = getelementptr inbounds i8, ptr %39, i64 8
  %wide.load = load <2 x i32>, ptr %39, align 4, !tbaa !5
  %wide.load57 = load <2 x i32>, ptr %40, align 4, !tbaa !5
  %41 = getelementptr inbounds i32, ptr %6, i64 %offset.idx
  %42 = getelementptr inbounds i8, ptr %41, i64 8
  store <2 x i32> %wide.load, ptr %41, align 4, !tbaa !5
  store <2 x i32> %wide.load57, ptr %42, align 4, !tbaa !5
  %43 = getelementptr inbounds double, ptr %7, i64 %offset.idx56
  %44 = getelementptr inbounds i8, ptr %43, i64 16
  %wide.load58 = load <2 x double>, ptr %43, align 8, !tbaa !9
  %wide.load59 = load <2 x double>, ptr %44, align 8, !tbaa !9
  %45 = getelementptr inbounds double, ptr %7, i64 %offset.idx
  %46 = getelementptr inbounds i8, ptr %45, i64 16
  store <2 x double> %wide.load58, ptr %45, align 8, !tbaa !9
  store <2 x double> %wide.load59, ptr %46, align 8, !tbaa !9
  %index.next = add nuw i64 %index, 4
  %47 = icmp eq i64 %index.next, %n.vec
  br i1 %47, label %middle.block, label %vector.body, !llvm.loop !11

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %25, %n.vec
  br i1 %cmp.n, label %._crit_edge.loopexit, label %.lr.ph.preheader60

48:                                               ; preds = %9
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 88, ptr noundef nonnull @__PRETTY_FUNCTION__.lu_file_reappend) #3
  unreachable

.lr.ph:                                           ; preds = %.lr.ph.prol.loopexit, %.lr.ph
  %indvars.iv48 = phi i64 [ %indvars.iv.next49.1, %.lr.ph ], [ %indvars.iv48.unr, %.lr.ph.prol.loopexit ]
  %indvars.iv = phi i64 [ %indvars.iv.next.1, %.lr.ph ], [ %indvars.iv.unr, %.lr.ph.prol.loopexit ]
  %49 = getelementptr inbounds i32, ptr %6, i64 %indvars.iv
  %50 = load i32, ptr %49, align 4, !tbaa !5
  %51 = getelementptr inbounds i32, ptr %6, i64 %indvars.iv48
  store i32 %50, ptr %51, align 4, !tbaa !5
  %52 = getelementptr inbounds double, ptr %7, i64 %indvars.iv
  %53 = load double, ptr %52, align 8, !tbaa !9
  %indvars.iv.next49 = add nsw i64 %indvars.iv48, 1
  %54 = getelementptr inbounds double, ptr %7, i64 %indvars.iv48
  store double %53, ptr %54, align 8, !tbaa !9
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %55 = getelementptr inbounds i32, ptr %6, i64 %indvars.iv.next
  %56 = load i32, ptr %55, align 4, !tbaa !5
  %57 = getelementptr inbounds i32, ptr %6, i64 %indvars.iv.next49
  store i32 %56, ptr %57, align 4, !tbaa !5
  %58 = getelementptr inbounds double, ptr %7, i64 %indvars.iv.next
  %59 = load double, ptr %58, align 8, !tbaa !9
  %indvars.iv.next49.1 = add nsw i64 %indvars.iv48, 2
  %60 = getelementptr inbounds double, ptr %7, i64 %indvars.iv.next49
  store double %59, ptr %60, align 8, !tbaa !9
  %indvars.iv.next.1 = add nsw i64 %indvars.iv, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next.1, %wide.trip.count
  br i1 %exitcond.not.1, label %._crit_edge.loopexit, label %.lr.ph, !llvm.loop !15

._crit_edge.loopexit:                             ; preds = %.lr.ph.prol.loopexit, %.lr.ph, %middle.block
  %indvars.iv.next49.lcssa = phi i64 [ %ind.end, %middle.block ], [ %indvars.iv.next49.lcssa61.unr, %.lr.ph.prol.loopexit ], [ %indvars.iv.next49.1, %.lr.ph ]
  %61 = trunc nsw i64 %indvars.iv.next49.lcssa to i32
  %.pre = sub nsw i32 %12, %61
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader
  %.pre-phi = phi i32 [ %.pre, %._crit_edge.loopexit ], [ %15, %.preheader ]
  %.043.lcssa = phi i32 [ %61, %._crit_edge.loopexit ], [ %14, %.preheader ]
  store i32 %.043.lcssa, ptr %19, align 4, !tbaa !5
  %.not45 = icmp slt i32 %.pre-phi, %8
  br i1 %.not45, label %62, label %63

62:                                               ; preds = %._crit_edge
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 96, ptr noundef nonnull @__PRETTY_FUNCTION__.lu_file_reappend) #3
  unreachable

63:                                               ; preds = %._crit_edge
  %64 = add nsw i32 %.043.lcssa, %8
  store i32 %64, ptr %13, align 4, !tbaa !5
  tail call void @lu_list_move(i32 noundef %0, i32 noundef 0, ptr noundef %4, ptr noundef %5, i32 noundef %1, ptr noundef null)
  ret void
}

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @lu_list_move(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

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 = { noreturn 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 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 = { noreturn 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12, !13, !14}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!"llvm.loop.isvectorized", i32 1}
!14 = !{!"llvm.loop.unroll.runtime.disable"}
!15 = distinct !{!15, !12, !13}


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