; LLVM IR from MakeContributions/DSA :: algorithms/CPlusPlus/Graphs/floyd-warshall.ll (Z5floydi)

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

@dist = external dso_local global [500 x [500 x i32]], align 16

; 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
define dso_local noundef i32 @_Z5floydi(i32 noundef %0) #1 {
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  store i32 %0, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #2
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %7

7:                                                ; preds = %79, %1
  %8 = load i32, ptr %3, align 4, !tbaa !5
  %9 = load i32, ptr %2, align 4, !tbaa !5
  %10 = icmp slt i32 %8, %9
  br i1 %10, label %12, label %11

11:                                               ; preds = %7
  store i32 2, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #2
  br label %82

12:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #2
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %13

13:                                               ; preds = %75, %12
  %14 = load i32, ptr %5, align 4, !tbaa !5
  %15 = load i32, ptr %2, align 4, !tbaa !5
  %16 = icmp slt i32 %14, %15
  br i1 %16, label %18, label %17

17:                                               ; preds = %13
  store i32 5, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #2
  br label %78

18:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #2
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %19

19:                                               ; preds = %71, %18
  %20 = load i32, ptr %6, align 4, !tbaa !5
  %21 = load i32, ptr %2, align 4, !tbaa !5
  %22 = icmp slt i32 %20, %21
  br i1 %22, label %24, label %23

23:                                               ; preds = %19
  store i32 8, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #2
  br label %74

24:                                               ; preds = %19
  %25 = load i32, ptr %5, align 4, !tbaa !5
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds [500 x [500 x i32]], ptr @dist, i64 0, i64 %26
  %28 = load i32, ptr %6, align 4, !tbaa !5
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds [500 x i32], ptr %27, i64 0, i64 %29
  %31 = load i32, ptr %30, align 4, !tbaa !5
  %32 = load i32, ptr %5, align 4, !tbaa !5
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds [500 x [500 x i32]], ptr @dist, i64 0, i64 %33
  %35 = load i32, ptr %3, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [500 x i32], ptr %34, i64 0, i64 %36
  %38 = load i32, ptr %37, align 4, !tbaa !5
  %39 = load i32, ptr %3, align 4, !tbaa !5
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [500 x [500 x i32]], ptr @dist, i64 0, i64 %40
  %42 = load i32, ptr %6, align 4, !tbaa !5
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds [500 x i32], ptr %41, i64 0, i64 %43
  %45 = load i32, ptr %44, align 4, !tbaa !5
  %46 = add nsw i32 %38, %45
  %47 = icmp sgt i32 %31, %46
  br i1 %47, label %48, label %70

48:                                               ; preds = %24
  %49 = load i32, ptr %5, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [500 x [500 x i32]], ptr @dist, i64 0, i64 %50
  %52 = load i32, ptr %3, align 4, !tbaa !5
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [500 x i32], ptr %51, i64 0, i64 %53
  %55 = load i32, ptr %54, align 4, !tbaa !5
  %56 = load i32, ptr %3, align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [500 x [500 x i32]], ptr @dist, i64 0, i64 %57
  %59 = load i32, ptr %6, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [500 x i32], ptr %58, i64 0, i64 %60
  %62 = load i32, ptr %61, align 4, !tbaa !5
  %63 = add nsw i32 %55, %62
  %64 = load i32, ptr %5, align 4, !tbaa !5
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds [500 x [500 x i32]], ptr @dist, i64 0, i64 %65
  %67 = load i32, ptr %6, align 4, !tbaa !5
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [500 x i32], ptr %66, i64 0, i64 %68
  store i32 %63, ptr %69, align 4, !tbaa !5
  br label %70

70:                                               ; preds = %48, %24
  br label %71

71:                                               ; preds = %70
  %72 = load i32, ptr %6, align 4, !tbaa !5
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %6, align 4, !tbaa !5
  br label %19, !llvm.loop !9

74:                                               ; preds = %23
  br label %75

75:                                               ; preds = %74
  %76 = load i32, ptr %5, align 4, !tbaa !5
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %5, align 4, !tbaa !5
  br label %13, !llvm.loop !11

78:                                               ; preds = %17
  br label %79

79:                                               ; preds = %78
  %80 = load i32, ptr %3, align 4, !tbaa !5
  %81 = add nsw i32 %80, 1
  store i32 %81, ptr %3, align 4, !tbaa !5
  br label %7, !llvm.loop !12

82:                                               ; preds = %11
  unreachable
}

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 = { 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++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}


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

@dist = external dso_local local_unnamed_addr global [500 x [500 x i32]], align 16

; Function Attrs: mustprogress nofree norecurse noreturn nosync nounwind memory(readwrite, argmem: none, inaccessiblemem: write) uwtable
define dso_local noundef i32 @_Z5floydi(i32 noundef %0) local_unnamed_addr #0 {
.preheader.lr.ph.us.preheader:
  %1 = icmp sgt i32 %0, 0
  tail call void @llvm.assume(i1 %1)
  %2 = zext nneg i32 %0 to i64
  %wide.trip.count32 = zext nneg i32 %0 to i64
  %3 = mul nuw nsw i64 %wide.trip.count32, 2004
  %4 = getelementptr i8, ptr @dist, i64 %3
  %scevgep = getelementptr i8, ptr %4, i64 -2000
  %5 = mul nuw nsw i64 %wide.trip.count32, 2000
  %6 = shl nuw nsw i64 %wide.trip.count32, 2
  %7 = getelementptr i8, ptr @dist, i64 %5
  %8 = getelementptr i8, ptr %7, i64 -1996
  %9 = getelementptr i8, ptr @dist, i64 %6
  %min.iters.check = icmp ult i32 %0, 8
  %n.vec = and i64 %wide.trip.count32, 2147483640
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count32
  %xtraiter = and i64 %wide.trip.count32, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  %10 = add nsw i64 %wide.trip.count32, -1
  br label %.preheader.lr.ph.us

.preheader.lr.ph.us:                              ; preds = %.preheader.lr.ph.us.preheader, %._crit_edge27.split.us.us
  %indvars.iv34 = phi i64 [ 0, %.preheader.lr.ph.us.preheader ], [ %indvars.iv.next35, %._crit_edge27.split.us.us ]
  %11 = shl i64 %indvars.iv34, 2
  %scevgep37 = getelementptr i8, ptr @dist, i64 %11
  %scevgep38 = getelementptr i8, ptr %8, i64 %11
  %12 = mul i64 %indvars.iv34, 2000
  %scevgep39 = getelementptr i8, ptr @dist, i64 %12
  %scevgep40 = getelementptr i8, ptr %9, i64 %12
  %13 = icmp ult i64 %indvars.iv34, %2
  tail call void @llvm.assume(i1 %13)
  %bound0 = icmp ugt ptr %scevgep38, @dist
  %bound1 = icmp ult ptr %scevgep37, %scevgep
  %found.conflict = and i1 %bound0, %bound1
  %bound041 = icmp ugt ptr %scevgep40, @dist
  %bound142 = icmp ult ptr %scevgep39, %scevgep
  %found.conflict43 = and i1 %bound041, %bound142
  %conflict.rdx = or i1 %found.conflict, %found.conflict43
  br label %.preheader.us.us

.preheader.us.us:                                 ; preds = %._crit_edge.us.us, %.preheader.lr.ph.us
  %indvars.iv29 = phi i64 [ %indvars.iv.next30, %._crit_edge.us.us ], [ 0, %.preheader.lr.ph.us ]
  %14 = getelementptr inbounds [500 x [500 x i32]], ptr @dist, i64 0, i64 %indvars.iv29, i64 %indvars.iv34
  %brmerge = select i1 %min.iters.check, i1 true, i1 %conflict.rdx
  br i1 %brmerge, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %.preheader.us.us
  %15 = load i32, ptr %14, align 4, !tbaa !5, !alias.scope !9
  %broadcast.splatinsert47 = insertelement <4 x i32> poison, i32 %15, i64 0
  %broadcast.splat48 = shufflevector <4 x i32> %broadcast.splatinsert47, <4 x i32> poison, <4 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %pred.store.continue62, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %pred.store.continue62 ]
  %16 = or disjoint i64 %index, 4
  %17 = getelementptr inbounds [500 x [500 x i32]], ptr @dist, i64 0, i64 %indvars.iv29, i64 %index
  %18 = getelementptr inbounds i8, ptr %17, i64 16
  %wide.load = load <4 x i32>, ptr %17, align 16, !tbaa !5, !alias.scope !12, !noalias !14
  %wide.load44 = load <4 x i32>, ptr %18, align 16, !tbaa !5, !alias.scope !12, !noalias !14
  %19 = getelementptr inbounds [500 x [500 x i32]], ptr @dist, i64 0, i64 %indvars.iv34, i64 %index
  %20 = getelementptr inbounds i8, ptr %19, i64 16
  %wide.load45 = load <4 x i32>, ptr %19, align 16, !tbaa !5, !alias.scope !16
  %wide.load46 = load <4 x i32>, ptr %20, align 16, !tbaa !5, !alias.scope !16
  %21 = add nsw <4 x i32> %wide.load45, %broadcast.splat48
  %22 = add nsw <4 x i32> %wide.load46, %broadcast.splat48
  %23 = icmp sgt <4 x i32> %wide.load, %21
  %24 = icmp sgt <4 x i32> %wide.load44, %22
  %25 = extractelement <4 x i1> %23, i64 0
  br i1 %25, label %pred.store.if, label %pred.store.continue

pred.store.if:                                    ; preds = %vector.body
  %26 = getelementptr inbounds [500 x [500 x i32]], ptr @dist, i64 0, i64 %indvars.iv29, i64 %index
  %27 = extractelement <4 x i32> %21, i64 0
  store i32 %27, ptr %26, align 16, !tbaa !5, !alias.scope !12, !noalias !14
  br label %pred.store.continue

pred.store.continue:                              ; preds = %pred.store.if, %vector.body
  %28 = extractelement <4 x i1> %23, i64 1
  br i1 %28, label %pred.store.if49, label %pred.store.continue50

pred.store.if49:                                  ; preds = %pred.store.continue
  %29 = or disjoint i64 %index, 1
  %30 = getelementptr inbounds [500 x [500 x i32]], ptr @dist, i64 0, i64 %indvars.iv29, i64 %29
  %31 = extractelement <4 x i32> %21, i64 1
  store i32 %31, ptr %30, align 4, !tbaa !5, !alias.scope !12, !noalias !14
  br label %pred.store.continue50

pred.store.continue50:                            ; preds = %pred.store.if49, %pred.store.continue
  %32 = extractelement <4 x i1> %23, i64 2
  br i1 %32, label %pred.store.if51, label %pred.store.continue52

pred.store.if51:                                  ; preds = %pred.store.continue50
  %33 = or disjoint i64 %index, 2
  %34 = getelementptr inbounds [500 x [500 x i32]], ptr @dist, i64 0, i64 %indvars.iv29, i64 %33
  %35 = extractelement <4 x i32> %21, i64 2
  store i32 %35, ptr %34, align 8, !tbaa !5, !alias.scope !12, !noalias !14
  br label %pred.store.continue52

pred.store.continue52:                            ; preds = %pred.store.if51, %pred.store.continue50
  %36 = extractelement <4 x i1> %23, i64 3
  br i1 %36, label %pred.store.if53, label %pred.store.continue54

pred.store.if53:                                  ; preds = %pred.store.continue52
  %37 = or disjoint i64 %index, 3
  %38 = getelementptr inbounds [500 x [500 x i32]], ptr @dist, i64 0, i64 %indvars.iv29, i64 %37
  %39 = extractelement <4 x i32> %21, i64 3
  store i32 %39, ptr %38, align 4, !tbaa !5, !alias.scope !12, !noalias !14
  br label %pred.store.continue54

pred.store.continue54:                            ; preds = %pred.store.if53, %pred.store.continue52
  %40 = extractelement <4 x i1> %24, i64 0
  br i1 %40, label %pred.store.if55, label %pred.store.continue56

pred.store.if55:                                  ; preds = %pred.store.continue54
  %41 = getelementptr inbounds [500 x [500 x i32]], ptr @dist, i64 0, i64 %indvars.iv29, i64 %16
  %42 = extractelement <4 x i32> %22, i64 0
  store i32 %42, ptr %41, align 16, !tbaa !5, !alias.scope !12, !noalias !14
  br label %pred.store.continue56

pred.store.continue56:                            ; preds = %pred.store.if55, %pred.store.continue54
  %43 = extractelement <4 x i1> %24, i64 1
  br i1 %43, label %pred.store.if57, label %pred.store.continue58

pred.store.if57:                                  ; preds = %pred.store.continue56
  %44 = or disjoint i64 %index, 5
  %45 = getelementptr inbounds [500 x [500 x i32]], ptr @dist, i64 0, i64 %indvars.iv29, i64 %44
  %46 = extractelement <4 x i32> %22, i64 1
  store i32 %46, ptr %45, align 4, !tbaa !5, !alias.scope !12, !noalias !14
  br label %pred.store.continue58

pred.store.continue58:                            ; preds = %pred.store.if57, %pred.store.continue56
  %47 = extractelement <4 x i1> %24, i64 2
  br i1 %47, label %pred.store.if59, label %pred.store.continue60

pred.store.if59:                                  ; preds = %pred.store.continue58
  %48 = or disjoint i64 %index, 6
  %49 = getelementptr inbounds [500 x [500 x i32]], ptr @dist, i64 0, i64 %indvars.iv29, i64 %48
  %50 = extractelement <4 x i32> %22, i64 2
  store i32 %50, ptr %49, align 8, !tbaa !5, !alias.scope !12, !noalias !14
  br label %pred.store.continue60

pred.store.continue60:                            ; preds = %pred.store.if59, %pred.store.continue58
  %51 = extractelement <4 x i1> %24, i64 3
  br i1 %51, label %pred.store.if61, label %pred.store.continue62

pred.store.if61:                                  ; preds = %pred.store.continue60
  %52 = or disjoint i64 %index, 7
  %53 = getelementptr inbounds [500 x [500 x i32]], ptr @dist, i64 0, i64 %indvars.iv29, i64 %52
  %54 = extractelement <4 x i32> %22, i64 3
  store i32 %54, ptr %53, align 4, !tbaa !5, !alias.scope !12, !noalias !14
  br label %pred.store.continue62

pred.store.continue62:                            ; preds = %pred.store.if61, %pred.store.continue60
  %index.next = add nuw i64 %index, 8
  %55 = icmp eq i64 %index.next, %n.vec
  br i1 %55, label %middle.block, label %vector.body, !llvm.loop !17

middle.block:                                     ; preds = %pred.store.continue62
  br i1 %cmp.n, label %._crit_edge.us.us, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %.preheader.us.us, %middle.block
  %indvars.iv.ph = phi i64 [ 0, %.preheader.us.us ], [ %n.vec, %middle.block ]
  br i1 %lcmp.mod.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader
  %56 = getelementptr inbounds [500 x [500 x i32]], ptr @dist, i64 0, i64 %indvars.iv29, i64 %indvars.iv.ph
  %57 = load i32, ptr %56, align 16, !tbaa !5
  %58 = load i32, ptr %14, align 4, !tbaa !5
  %59 = getelementptr inbounds [500 x [500 x i32]], ptr @dist, i64 0, i64 %indvars.iv34, i64 %indvars.iv.ph
  %60 = load i32, ptr %59, align 16, !tbaa !5
  %61 = add nsw i32 %60, %58
  %62 = icmp sgt i32 %57, %61
  br i1 %62, label %63, label %scalar.ph.prol.loopexit.unr-lcssa

63:                                               ; preds = %scalar.ph.prol
  store i32 %61, ptr %56, align 16, !tbaa !5
  br label %scalar.ph.prol.loopexit.unr-lcssa

scalar.ph.prol.loopexit.unr-lcssa:                ; preds = %63, %scalar.ph.prol
  %indvars.iv.next.prol = or disjoint i64 %indvars.iv.ph, 1
  br label %scalar.ph.prol.loopexit

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol.loopexit.unr-lcssa, %scalar.ph.preheader
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %scalar.ph.preheader ], [ %indvars.iv.next.prol, %scalar.ph.prol.loopexit.unr-lcssa ]
  %64 = icmp eq i64 %indvars.iv.ph, %10
  br i1 %64, label %._crit_edge.us.us, label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %81
  %indvars.iv = phi i64 [ %indvars.iv.next.1, %81 ], [ %indvars.iv.unr, %scalar.ph.prol.loopexit ]
  %65 = getelementptr inbounds [500 x [500 x i32]], ptr @dist, i64 0, i64 %indvars.iv29, i64 %indvars.iv
  %66 = load i32, ptr %65, align 4, !tbaa !5
  %67 = load i32, ptr %14, align 4, !tbaa !5
  %68 = getelementptr inbounds [500 x [500 x i32]], ptr @dist, i64 0, i64 %indvars.iv34, i64 %indvars.iv
  %69 = load i32, ptr %68, align 4, !tbaa !5
  %70 = add nsw i32 %69, %67
  %71 = icmp sgt i32 %66, %70
  br i1 %71, label %72, label %scalar.ph.1

72:                                               ; preds = %scalar.ph
  store i32 %70, ptr %65, align 4, !tbaa !5
  br label %scalar.ph.1

scalar.ph.1:                                      ; preds = %72, %scalar.ph
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %73 = getelementptr inbounds [500 x [500 x i32]], ptr @dist, i64 0, i64 %indvars.iv29, i64 %indvars.iv.next
  %74 = load i32, ptr %73, align 4, !tbaa !5
  %75 = load i32, ptr %14, align 4, !tbaa !5
  %76 = getelementptr inbounds [500 x [500 x i32]], ptr @dist, i64 0, i64 %indvars.iv34, i64 %indvars.iv.next
  %77 = load i32, ptr %76, align 4, !tbaa !5
  %78 = add nsw i32 %77, %75
  %79 = icmp sgt i32 %74, %78
  br i1 %79, label %80, label %81

80:                                               ; preds = %scalar.ph.1
  store i32 %78, ptr %73, align 4, !tbaa !5
  br label %81

81:                                               ; preds = %80, %scalar.ph.1
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next.1, %wide.trip.count32
  br i1 %exitcond.not.1, label %._crit_edge.us.us, label %scalar.ph, !llvm.loop !21

._crit_edge.us.us:                                ; preds = %scalar.ph.prol.loopexit, %81, %middle.block
  %indvars.iv.next30 = add nuw nsw i64 %indvars.iv29, 1
  %exitcond33.not = icmp eq i64 %indvars.iv.next30, %wide.trip.count32
  br i1 %exitcond33.not, label %._crit_edge27.split.us.us, label %.preheader.us.us, !llvm.loop !22

._crit_edge27.split.us.us:                        ; preds = %._crit_edge.us.us
  %indvars.iv.next35 = add nuw nsw i64 %indvars.iv34, 1
  br label %.preheader.lr.ph.us, !llvm.loop !23
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write)
declare void @llvm.assume(i1 noundef) #1

attributes #0 = { mustprogress nofree norecurse noreturn nosync nounwind memory(readwrite, argmem: none, inaccessiblemem: write) 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 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) }

!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++ TBAA"}
!9 = !{!10}
!10 = distinct !{!10, !11}
!11 = distinct !{!11, !"LVerDomain"}
!12 = !{!13}
!13 = distinct !{!13, !11}
!14 = !{!10, !15}
!15 = distinct !{!15, !11}
!16 = !{!15}
!17 = distinct !{!17, !18, !19, !20}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!"llvm.loop.isvectorized", i32 1}
!20 = !{!"llvm.loop.unroll.runtime.disable"}
!21 = distinct !{!21, !18, !19}
!22 = distinct !{!22, !18}
!23 = distinct !{!23, !18}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass