; LLVM IR from ekoontz/graphlab :: src/graphlab/extern/metis/libmetis/graph.ll_libmetis (SetUpGraph2)

; 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.graphdef = type { i64, i64, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, i64, i64, ptr, ptr, i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i64, ptr, ptr, ptr, ptr }

@.str.5 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [18 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

declare void @libmetis__InitGraph(ptr noundef) #1

declare ptr @gk_fmalloc(i64 noundef, ptr noundef) #1

declare ptr @libmetis__idxmalloc(i64 noundef, ptr noundef) #1

; 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 @libmetis__SetUpGraph2(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #2 {
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store i64 %1, ptr %9, align 8, !tbaa !9
  store i64 %2, ptr %10, align 8, !tbaa !9
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  store ptr %6, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %18 = load ptr, ptr %8, align 8, !tbaa !5
  call void @libmetis__InitGraph(ptr noundef %18)
  %19 = load i64, ptr %9, align 8, !tbaa !9
  %20 = load ptr, ptr %8, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.graphdef, ptr %20, i32 0, i32 0
  store i64 %19, ptr %21, align 8, !tbaa !11
  %22 = load ptr, ptr %11, align 8, !tbaa !5
  %23 = load i64, ptr %9, align 8, !tbaa !9
  %24 = getelementptr inbounds i64, ptr %22, i64 %23
  %25 = load i64, ptr %24, align 8, !tbaa !9
  %26 = load ptr, ptr %8, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.graphdef, ptr %26, i32 0, i32 1
  store i64 %25, ptr %27, align 8, !tbaa !14
  %28 = load i64, ptr %10, align 8, !tbaa !9
  %29 = load ptr, ptr %8, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.graphdef, ptr %29, i32 0, i32 28
  store i64 %28, ptr %30, align 8, !tbaa !15
  %31 = load ptr, ptr %11, align 8, !tbaa !5
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.graphdef, ptr %32, i32 0, i32 2
  store ptr %31, ptr %33, align 8, !tbaa !16
  %34 = load ptr, ptr %8, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.graphdef, ptr %34, i32 0, i32 7
  store i32 0, ptr %35, align 8, !tbaa !17
  %36 = load ptr, ptr %12, align 8, !tbaa !5
  %37 = load ptr, ptr %8, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.graphdef, ptr %37, i32 0, i32 5
  store ptr %36, ptr %38, align 8, !tbaa !18
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.graphdef, ptr %39, i32 0, i32 10
  store i32 0, ptr %40, align 4, !tbaa !19
  %41 = load ptr, ptr %14, align 8, !tbaa !5
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.graphdef, ptr %42, i32 0, i32 6
  store ptr %41, ptr %43, align 8, !tbaa !20
  %44 = load ptr, ptr %8, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.graphdef, ptr %44, i32 0, i32 11
  store i32 0, ptr %45, align 8, !tbaa !21
  %46 = load i64, ptr %9, align 8, !tbaa !9
  %47 = load i64, ptr %10, align 8, !tbaa !9
  %48 = mul nsw i64 %46, %47
  %49 = call ptr @gk_fmalloc(i64 noundef %48, ptr noundef @.str.6)
  %50 = load ptr, ptr %8, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.graphdef, ptr %50, i32 0, i32 29
  store ptr %49, ptr %51, align 8, !tbaa !22
  %52 = load ptr, ptr %8, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.graphdef, ptr %52, i32 0, i32 29
  %54 = load ptr, ptr %53, align 8, !tbaa !22
  %55 = load ptr, ptr %13, align 8, !tbaa !5
  %56 = load i64, ptr %9, align 8, !tbaa !9
  %57 = load i64, ptr %10, align 8, !tbaa !9
  %58 = mul nsw i64 %56, %57
  %59 = mul i64 4, %58
  call void @llvm.memmove.p0.p0.i64(ptr align 1 %54, ptr align 1 %55, i64 %59, i1 false)
  %60 = load i64, ptr %9, align 8, !tbaa !9
  %61 = call ptr @libmetis__idxmalloc(i64 noundef %60, ptr noundef @.str.7)
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.graphdef, ptr %62, i32 0, i32 13
  store ptr %61, ptr %63, align 8, !tbaa !23
  store i64 0, ptr %15, align 8, !tbaa !9
  br label %64

64:                                               ; preds = %98, %7
  %65 = load i64, ptr %15, align 8, !tbaa !9
  %66 = load i64, ptr %9, align 8, !tbaa !9
  %67 = icmp slt i64 %65, %66
  br i1 %67, label %68, label %101

68:                                               ; preds = %64
  store i64 0, ptr %17, align 8, !tbaa !9
  %69 = load ptr, ptr %11, align 8, !tbaa !5
  %70 = load i64, ptr %15, align 8, !tbaa !9
  %71 = getelementptr inbounds i64, ptr %69, i64 %70
  %72 = load i64, ptr %71, align 8, !tbaa !9
  store i64 %72, ptr %16, align 8, !tbaa !9
  br label %73

73:                                               ; preds = %88, %68
  %74 = load i64, ptr %16, align 8, !tbaa !9
  %75 = load ptr, ptr %11, align 8, !tbaa !5
  %76 = load i64, ptr %15, align 8, !tbaa !9
  %77 = add nsw i64 %76, 1
  %78 = getelementptr inbounds i64, ptr %75, i64 %77
  %79 = load i64, ptr %78, align 8, !tbaa !9
  %80 = icmp slt i64 %74, %79
  br i1 %80, label %81, label %91

81:                                               ; preds = %73
  %82 = load ptr, ptr %14, align 8, !tbaa !5
  %83 = load i64, ptr %16, align 8, !tbaa !9
  %84 = getelementptr inbounds i64, ptr %82, i64 %83
  %85 = load i64, ptr %84, align 8, !tbaa !9
  %86 = load i64, ptr %17, align 8, !tbaa !9
  %87 = add nsw i64 %86, %85
  store i64 %87, ptr %17, align 8, !tbaa !9
  br label %88

88:                                               ; preds = %81
  %89 = load i64, ptr %16, align 8, !tbaa !9
  %90 = add nsw i64 %89, 1
  store i64 %90, ptr %16, align 8, !tbaa !9
  br label %73, !llvm.loop !24

91:                                               ; preds = %73
  %92 = load i64, ptr %17, align 8, !tbaa !9
  %93 = load ptr, ptr %8, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.graphdef, ptr %93, i32 0, i32 13
  %95 = load ptr, ptr %94, align 8, !tbaa !23
  %96 = load i64, ptr %15, align 8, !tbaa !9
  %97 = getelementptr inbounds i64, ptr %95, i64 %96
  store i64 %92, ptr %97, align 8, !tbaa !9
  br label %98

98:                                               ; preds = %91
  %99 = load i64, ptr %15, align 8, !tbaa !9
  %100 = add nsw i64 %99, 1
  store i64 %100, ptr %15, align 8, !tbaa !9
  br label %64, !llvm.loop !26

101:                                              ; preds = %64
  %102 = load i64, ptr %9, align 8, !tbaa !9
  %103 = call ptr @libmetis__idxmalloc(i64 noundef %102, ptr noundef @.str.8)
  %104 = load ptr, ptr %8, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.graphdef, ptr %104, i32 0, i32 15
  store ptr %103, ptr %105, align 8, !tbaa !27
  %106 = load i64, ptr %9, align 8, !tbaa !9
  %107 = call ptr @libmetis__idxmalloc(i64 noundef %106, ptr noundef @.str.5)
  %108 = load ptr, ptr %8, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.graphdef, ptr %108, i32 0, i32 14
  store ptr %107, ptr %109, align 8, !tbaa !28
  store i64 0, ptr %15, align 8, !tbaa !9
  br label %110

110:                                              ; preds = %121, %101
  %111 = load i64, ptr %15, align 8, !tbaa !9
  %112 = load i64, ptr %9, align 8, !tbaa !9
  %113 = icmp slt i64 %111, %112
  br i1 %113, label %114, label %124

114:                                              ; preds = %110
  %115 = load i64, ptr %15, align 8, !tbaa !9
  %116 = load ptr, ptr %8, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.graphdef, ptr %116, i32 0, i32 14
  %118 = load ptr, ptr %117, align 8, !tbaa !28
  %119 = load i64, ptr %15, align 8, !tbaa !9
  %120 = getelementptr inbounds i64, ptr %118, i64 %119
  store i64 %115, ptr %120, align 8, !tbaa !9
  br label %121

121:                                              ; preds = %114
  %122 = load i64, ptr %15, align 8, !tbaa !9
  %123 = add nsw i64 %122, 1
  store i64 %123, ptr %15, align 8, !tbaa !9
  br label %110, !llvm.loop !29

124:                                              ; preds = %110
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  ret void
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"graphdef", !10, i64 0, !10, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !13, i64 56, !13, i64 60, !13, i64 64, !13, i64 68, !13, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !10, i64 112, !10, i64 120, !6, i64 128, !6, i64 136, !10, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !10, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240}
!13 = !{!"int", !7, i64 0}
!14 = !{!12, !10, i64 8}
!15 = !{!12, !10, i64 208}
!16 = !{!12, !6, i64 16}
!17 = !{!12, !13, i64 56}
!18 = !{!12, !6, i64 40}
!19 = !{!12, !13, i64 68}
!20 = !{!12, !6, i64 48}
!21 = !{!12, !13, i64 72}
!22 = !{!12, !6, i64 216}
!23 = !{!12, !6, i64 88}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = distinct !{!26, !25}
!27 = !{!12, !6, i64 104}
!28 = !{!12, !6, i64 96}
!29 = distinct !{!29, !25}


; 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.5 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [18 x i8], align 1

declare void @libmetis__InitGraph(ptr noundef) local_unnamed_addr #0

declare ptr @gk_fmalloc(i64 noundef, ptr noundef) local_unnamed_addr #0

declare ptr @libmetis__idxmalloc(i64 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @libmetis__SetUpGraph2(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr nocapture noundef readonly %5, ptr noundef %6) local_unnamed_addr #1 {
  tail call void @libmetis__InitGraph(ptr noundef %0) #4
  store i64 %1, ptr %0, align 8, !tbaa !5
  %8 = getelementptr inbounds i64, ptr %3, i64 %1
  %9 = load i64, ptr %8, align 8, !tbaa !12
  %10 = getelementptr inbounds i8, ptr %0, i64 8
  store i64 %9, ptr %10, align 8, !tbaa !13
  %11 = getelementptr inbounds i8, ptr %0, i64 208
  store i64 %2, ptr %11, align 8, !tbaa !14
  %12 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %3, ptr %12, align 8, !tbaa !15
  %13 = getelementptr inbounds i8, ptr %0, i64 56
  store i32 0, ptr %13, align 8, !tbaa !16
  %14 = getelementptr inbounds i8, ptr %0, i64 40
  store ptr %4, ptr %14, align 8, !tbaa !17
  %15 = getelementptr inbounds i8, ptr %0, i64 68
  store i32 0, ptr %15, align 4, !tbaa !18
  %16 = getelementptr inbounds i8, ptr %0, i64 48
  store ptr %6, ptr %16, align 8, !tbaa !19
  %17 = getelementptr inbounds i8, ptr %0, i64 72
  store i32 0, ptr %17, align 8, !tbaa !20
  %18 = mul nsw i64 %2, %1
  %19 = tail call ptr @gk_fmalloc(i64 noundef %18, ptr noundef nonnull @.str.6) #4
  %20 = getelementptr inbounds i8, ptr %0, i64 216
  store ptr %19, ptr %20, align 8, !tbaa !21
  %21 = shl i64 %18, 2
  tail call void @llvm.memmove.p0.p0.i64(ptr align 1 %19, ptr align 1 %5, i64 %21, i1 false)
  %22 = tail call ptr @libmetis__idxmalloc(i64 noundef %1, ptr noundef nonnull @.str.7) #4
  %23 = getelementptr inbounds i8, ptr %0, i64 88
  store ptr %22, ptr %23, align 8, !tbaa !22
  %24 = icmp sgt i64 %1, 0
  br i1 %24, label %.lr.ph58, label %._crit_edge59

.lr.ph58:                                         ; preds = %7, %._crit_edge
  %.05156 = phi i64 [ %27, %._crit_edge ], [ 0, %7 ]
  %25 = getelementptr inbounds i64, ptr %3, i64 %.05156
  %26 = load i64, ptr %25, align 8, !tbaa !12
  %27 = add nuw nsw i64 %.05156, 1
  %28 = getelementptr inbounds i64, ptr %3, i64 %27
  %29 = load i64, ptr %28, align 8, !tbaa !12
  %30 = icmp slt i64 %26, %29
  br i1 %30, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %.lr.ph58
  %31 = sub i64 %29, %26
  %min.iters.check = icmp ult i64 %31, 4
  br i1 %min.iters.check, label %.lr.ph.preheader81, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %31, -4
  %ind.end = add i64 %26, %n.vec
  %32 = getelementptr i64, ptr %6, i64 %26
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.phi = phi <2 x i64> [ zeroinitializer, %vector.ph ], [ %35, %vector.body ]
  %vec.phi66 = phi <2 x i64> [ zeroinitializer, %vector.ph ], [ %36, %vector.body ]
  %33 = getelementptr i64, ptr %32, i64 %index
  %34 = getelementptr inbounds i8, ptr %33, i64 16
  %wide.load = load <2 x i64>, ptr %33, align 8, !tbaa !12
  %wide.load67 = load <2 x i64>, ptr %34, align 8, !tbaa !12
  %35 = add <2 x i64> %wide.load, %vec.phi
  %36 = add <2 x i64> %wide.load67, %vec.phi66
  %index.next = add nuw i64 %index, 4
  %37 = icmp eq i64 %index.next, %n.vec
  br i1 %37, label %middle.block, label %vector.body, !llvm.loop !23

middle.block:                                     ; preds = %vector.body
  %bin.rdx = add <2 x i64> %36, %35
  %38 = tail call i64 @llvm.vector.reduce.add.v2i64(<2 x i64> %bin.rdx)
  %cmp.n = icmp eq i64 %31, %n.vec
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.preheader81

.lr.ph.preheader81:                               ; preds = %middle.block, %.lr.ph.preheader
  %.054.ph = phi i64 [ 0, %.lr.ph.preheader ], [ %38, %middle.block ]
  %.05053.ph = phi i64 [ %26, %.lr.ph.preheader ], [ %ind.end, %middle.block ]
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader81, %.lr.ph
  %.054 = phi i64 [ %41, %.lr.ph ], [ %.054.ph, %.lr.ph.preheader81 ]
  %.05053 = phi i64 [ %42, %.lr.ph ], [ %.05053.ph, %.lr.ph.preheader81 ]
  %39 = getelementptr inbounds i64, ptr %6, i64 %.05053
  %40 = load i64, ptr %39, align 8, !tbaa !12
  %41 = add nsw i64 %40, %.054
  %42 = add nsw i64 %.05053, 1
  %exitcond.not = icmp eq i64 %42, %29
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !27

._crit_edge:                                      ; preds = %.lr.ph, %middle.block, %.lr.ph58
  %.0.lcssa = phi i64 [ 0, %.lr.ph58 ], [ %38, %middle.block ], [ %41, %.lr.ph ]
  %43 = getelementptr inbounds i64, ptr %22, i64 %.05156
  store i64 %.0.lcssa, ptr %43, align 8, !tbaa !12
  %exitcond64.not = icmp eq i64 %27, %1
  br i1 %exitcond64.not, label %._crit_edge59, label %.lr.ph58, !llvm.loop !28

._crit_edge59:                                    ; preds = %._crit_edge, %7
  %44 = tail call ptr @libmetis__idxmalloc(i64 noundef %1, ptr noundef nonnull @.str.8) #4
  %45 = getelementptr inbounds i8, ptr %0, i64 104
  store ptr %44, ptr %45, align 8, !tbaa !29
  %46 = tail call ptr @libmetis__idxmalloc(i64 noundef %1, ptr noundef nonnull @.str.5) #4
  %47 = getelementptr inbounds i8, ptr %0, i64 96
  store ptr %46, ptr %47, align 8, !tbaa !30
  br i1 %24, label %.lr.ph62.preheader, label %._crit_edge63

.lr.ph62.preheader:                               ; preds = %._crit_edge59
  %min.iters.check70 = icmp ult i64 %1, 4
  br i1 %min.iters.check70, label %.lr.ph62.preheader80, label %vector.ph71

vector.ph71:                                      ; preds = %.lr.ph62.preheader
  %n.vec73 = and i64 %1, 9223372036854775804
  br label %vector.body75

vector.body75:                                    ; preds = %vector.body75, %vector.ph71
  %index76 = phi i64 [ 0, %vector.ph71 ], [ %index.next78, %vector.body75 ]
  %vec.ind = phi <2 x i64> [ <i64 0, i64 1>, %vector.ph71 ], [ %vec.ind.next, %vector.body75 ]
  %step.add = add <2 x i64> %vec.ind, <i64 2, i64 2>
  %48 = getelementptr inbounds i64, ptr %46, i64 %index76
  %49 = getelementptr inbounds i8, ptr %48, i64 16
  store <2 x i64> %vec.ind, ptr %48, align 8, !tbaa !12
  store <2 x i64> %step.add, ptr %49, align 8, !tbaa !12
  %index.next78 = add nuw i64 %index76, 4
  %vec.ind.next = add <2 x i64> %vec.ind, <i64 4, i64 4>
  %50 = icmp eq i64 %index.next78, %n.vec73
  br i1 %50, label %middle.block68, label %vector.body75, !llvm.loop !31

middle.block68:                                   ; preds = %vector.body75
  %cmp.n79 = icmp eq i64 %n.vec73, %1
  br i1 %cmp.n79, label %._crit_edge63, label %.lr.ph62.preheader80

.lr.ph62.preheader80:                             ; preds = %middle.block68, %.lr.ph62.preheader
  %.160.ph = phi i64 [ 0, %.lr.ph62.preheader ], [ %n.vec73, %middle.block68 ]
  br label %.lr.ph62

.lr.ph62:                                         ; preds = %.lr.ph62.preheader80, %.lr.ph62
  %.160 = phi i64 [ %52, %.lr.ph62 ], [ %.160.ph, %.lr.ph62.preheader80 ]
  %51 = getelementptr inbounds i64, ptr %46, i64 %.160
  store i64 %.160, ptr %51, align 8, !tbaa !12
  %52 = add nuw nsw i64 %.160, 1
  %exitcond65.not = icmp eq i64 %52, %1
  br i1 %exitcond65.not, label %._crit_edge63, label %.lr.ph62, !llvm.loop !32

._crit_edge63:                                    ; preds = %.lr.ph62, %middle.block68, %._crit_edge59
  ret void
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.vector.reduce.add.v2i64(<2 x i64>) #3

attributes #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 = { 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 0}
!6 = !{!"graphdef", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !7, i64 112, !7, i64 120, !10, i64 128, !10, i64 136, !7, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !7, i64 208, !10, i64 216, !10, i64 224, !10, i64 232, !10, i64 240}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !7, i64 8}
!14 = !{!6, !7, i64 208}
!15 = !{!6, !10, i64 16}
!16 = !{!6, !11, i64 56}
!17 = !{!6, !10, i64 40}
!18 = !{!6, !11, i64 68}
!19 = !{!6, !10, i64 48}
!20 = !{!6, !11, i64 72}
!21 = !{!6, !10, i64 216}
!22 = !{!6, !10, i64 88}
!23 = distinct !{!23, !24, !25, !26}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!"llvm.loop.isvectorized", i32 1}
!26 = !{!"llvm.loop.unroll.runtime.disable"}
!27 = distinct !{!27, !24, !26, !25}
!28 = distinct !{!28, !24}
!29 = !{!6, !10, i64 104}
!30 = !{!6, !10, i64 96}
!31 = distinct !{!31, !24, !25, !26}
!32 = distinct !{!32, !24, !26, !25}


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