; LLVM IR from ekoontz/graphlab :: src/graphlab/extern/metis/libmetis (parmetis)

; 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 }
%struct.controldef = type { i64, i64, i64, i64, i64, i64, float, i64, i64, i64, i64, %struct.workspacedef, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double }
%struct.workspacedef = type { ptr, i64, i64, ptr, ptr, i64, ptr, ptr }

; 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

declare void @libmetis__SetUpGraph(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef) #1

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

declare void @libmetis__InitRandom(i64 noundef) #1

declare void @libmetis__AllocateWorkSpace(ptr noundef, ptr noundef, i64 noundef) #1

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

declare void @libmetis__FreeGraph(ptr noundef, i32 noundef) #1

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

; Function Attrs: nounwind uwtable
define dso_local void @METIS_EdgeComputeSeparator(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #3 {
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %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 i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca [2 x i64], align 16
  %21 = alloca %struct.graphdef, align 8
  %22 = alloca %struct.controldef, align 8
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !5
  store ptr %3, ptr %12, align 8, !tbaa !5
  store ptr %4, ptr %13, align 8, !tbaa !5
  store ptr %5, ptr %14, align 8, !tbaa !5
  store ptr %6, ptr %15, align 8, !tbaa !5
  store ptr %7, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 248, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 280, ptr %22) #4
  %23 = load ptr, ptr %9, align 8, !tbaa !5
  %24 = load i64, ptr %23, align 8, !tbaa !9
  %25 = load ptr, ptr %10, align 8, !tbaa !5
  %26 = load ptr, ptr %11, align 8, !tbaa !5
  %27 = load ptr, ptr %12, align 8, !tbaa !5
  %28 = load ptr, ptr %13, align 8, !tbaa !5
  call void @libmetis__SetUpGraph(ptr noundef %21, i64 noundef 4, i64 noundef %24, i64 noundef 1, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, i64 noundef 3)
  %29 = load ptr, ptr %9, align 8, !tbaa !5
  %30 = load i64, ptr %29, align 8, !tbaa !9
  %31 = getelementptr inbounds %struct.graphdef, ptr %21, i32 0, i32 3
  %32 = load ptr, ptr %31, align 8, !tbaa !11
  %33 = call i64 @libmetis__idxsum(i64 noundef %30, ptr noundef %32, i64 noundef 1)
  store i64 %33, ptr %19, align 8, !tbaa !9
  %34 = load ptr, ptr %14, align 8, !tbaa !5
  %35 = getelementptr inbounds i64, ptr %34, i64 0
  %36 = load i64, ptr %35, align 8, !tbaa !9
  %37 = icmp eq i64 %36, 0
  br i1 %37, label %38, label %43

38:                                               ; preds = %8
  %39 = getelementptr inbounds %struct.controldef, ptr %22, i32 0, i32 2
  store i64 3, ptr %39, align 8, !tbaa !14
  %40 = getelementptr inbounds %struct.controldef, ptr %22, i32 0, i32 3
  store i64 1, ptr %40, align 8, !tbaa !19
  %41 = getelementptr inbounds %struct.controldef, ptr %22, i32 0, i32 4
  store i64 2, ptr %41, align 8, !tbaa !20
  %42 = getelementptr inbounds %struct.controldef, ptr %22, i32 0, i32 1
  store i64 0, ptr %42, align 8, !tbaa !21
  br label %60

43:                                               ; preds = %8
  %44 = load ptr, ptr %14, align 8, !tbaa !5
  %45 = getelementptr inbounds i64, ptr %44, i64 1
  %46 = load i64, ptr %45, align 8, !tbaa !9
  %47 = getelementptr inbounds %struct.controldef, ptr %22, i32 0, i32 2
  store i64 %46, ptr %47, align 8, !tbaa !14
  %48 = load ptr, ptr %14, align 8, !tbaa !5
  %49 = getelementptr inbounds i64, ptr %48, i64 2
  %50 = load i64, ptr %49, align 8, !tbaa !9
  %51 = getelementptr inbounds %struct.controldef, ptr %22, i32 0, i32 3
  store i64 %50, ptr %51, align 8, !tbaa !19
  %52 = load ptr, ptr %14, align 8, !tbaa !5
  %53 = getelementptr inbounds i64, ptr %52, i64 3
  %54 = load i64, ptr %53, align 8, !tbaa !9
  %55 = getelementptr inbounds %struct.controldef, ptr %22, i32 0, i32 4
  store i64 %54, ptr %55, align 8, !tbaa !20
  %56 = load ptr, ptr %14, align 8, !tbaa !5
  %57 = getelementptr inbounds i64, ptr %56, i64 4
  %58 = load i64, ptr %57, align 8, !tbaa !9
  %59 = getelementptr inbounds %struct.controldef, ptr %22, i32 0, i32 1
  store i64 %58, ptr %59, align 8, !tbaa !21
  br label %60

60:                                               ; preds = %43, %38
  %61 = getelementptr inbounds %struct.controldef, ptr %22, i32 0, i32 10
  store i64 0, ptr %61, align 8, !tbaa !22
  %62 = getelementptr inbounds %struct.controldef, ptr %22, i32 0, i32 8
  store i64 0, ptr %62, align 8, !tbaa !23
  %63 = getelementptr inbounds %struct.controldef, ptr %22, i32 0, i32 9
  store i64 1, ptr %63, align 8, !tbaa !24
  %64 = getelementptr inbounds %struct.controldef, ptr %22, i32 0, i32 7
  store i64 3, ptr %64, align 8, !tbaa !25
  %65 = load ptr, ptr %9, align 8, !tbaa !5
  %66 = load i64, ptr %65, align 8, !tbaa !9
  %67 = sub nsw i64 %66, 1
  %68 = icmp sge i64 100, %67
  br i1 %68, label %69, label %73

69:                                               ; preds = %60
  %70 = load ptr, ptr %9, align 8, !tbaa !5
  %71 = load i64, ptr %70, align 8, !tbaa !9
  %72 = sub nsw i64 %71, 1
  br label %74

73:                                               ; preds = %60
  br label %74

74:                                               ; preds = %73, %69
  %75 = phi i64 [ %72, %69 ], [ 100, %73 ]
  %76 = getelementptr inbounds %struct.controldef, ptr %22, i32 0, i32 0
  store i64 %75, ptr %76, align 8, !tbaa !26
  %77 = load i64, ptr %19, align 8, !tbaa !9
  %78 = sitofp i64 %77 to double
  %79 = fmul double 1.500000e+00, %78
  %80 = getelementptr inbounds %struct.controldef, ptr %22, i32 0, i32 0
  %81 = load i64, ptr %80, align 8, !tbaa !26
  %82 = sitofp i64 %81 to double
  %83 = fdiv double %79, %82
  %84 = fptosi double %83 to i64
  %85 = getelementptr inbounds %struct.controldef, ptr %22, i32 0, i32 5
  store i64 %84, ptr %85, align 8, !tbaa !27
  %86 = load ptr, ptr %14, align 8, !tbaa !5
  %87 = getelementptr inbounds i64, ptr %86, i64 7
  %88 = load i64, ptr %87, align 8, !tbaa !9
  call void @libmetis__InitRandom(i64 noundef %88)
  call void @libmetis__AllocateWorkSpace(ptr noundef %22, ptr noundef %21, i64 noundef 2)
  %89 = load i64, ptr %19, align 8, !tbaa !9
  %90 = sdiv i64 %89, 2
  %91 = getelementptr inbounds [2 x i64], ptr %20, i64 0, i64 0
  store i64 %90, ptr %91, align 16, !tbaa !9
  %92 = load i64, ptr %19, align 8, !tbaa !9
  %93 = getelementptr inbounds [2 x i64], ptr %20, i64 0, i64 0
  %94 = load i64, ptr %93, align 16, !tbaa !9
  %95 = sub nsw i64 %92, %94
  %96 = getelementptr inbounds [2 x i64], ptr %20, i64 0, i64 1
  store i64 %95, ptr %96, align 8, !tbaa !9
  %97 = getelementptr inbounds [2 x i64], ptr %20, i64 0, i64 0
  call void @libmetis__MlevelEdgeBisection(ptr noundef %22, ptr noundef %21, ptr noundef %97, float noundef 0x3FF0CCCCC0000000)
  call void @libmetis__ConstructMinCoverSeparator(ptr noundef %22, ptr noundef %21, float noundef 0x3FF0CCCCC0000000)
  %98 = getelementptr inbounds %struct.graphdef, ptr %21, i32 0, i32 19
  %99 = load ptr, ptr %98, align 8, !tbaa !28
  %100 = getelementptr inbounds i64, ptr %99, i64 2
  %101 = load i64, ptr %100, align 8, !tbaa !9
  %102 = load ptr, ptr %15, align 8, !tbaa !5
  store i64 %101, ptr %102, align 8, !tbaa !9
  %103 = load ptr, ptr %16, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.graphdef, ptr %21, i32 0, i32 18
  %105 = load ptr, ptr %104, align 8, !tbaa !29
  %106 = load ptr, ptr %9, align 8, !tbaa !5
  %107 = load i64, ptr %106, align 8, !tbaa !9
  %108 = mul i64 8, %107
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %103, ptr align 1 %105, i64 %108, i1 false)
  call void @libmetis__FreeGraph(ptr noundef %21, i32 noundef 0)
  call void @libmetis__FreeWorkSpace(ptr noundef %22, ptr noundef %21)
  call void @llvm.lifetime.end.p0(i64 280, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 248, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  ret void
}

declare void @libmetis__MlevelEdgeBisection(ptr noundef, ptr noundef, ptr noundef, float noundef) #1

declare void @libmetis__ConstructMinCoverSeparator(ptr noundef, ptr noundef, float noundef) #1

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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 }

!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, !6, i64 24}
!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 = !{!15, !10, i64 16}
!15 = !{!"controldef", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !16, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !17, i64 88, !18, i64 152, !18, i64 160, !18, i64 168, !18, i64 176, !18, i64 184, !18, i64 192, !18, i64 200, !18, i64 208, !18, i64 216, !18, i64 224, !18, i64 232, !18, i64 240, !18, i64 248, !18, i64 256, !18, i64 264, !18, i64 272}
!16 = !{!"float", !7, i64 0}
!17 = !{!"workspacedef", !6, i64 0, !10, i64 8, !10, i64 16, !6, i64 24, !6, i64 32, !10, i64 40, !6, i64 48, !6, i64 56}
!18 = !{!"double", !7, i64 0}
!19 = !{!15, !10, i64 24}
!20 = !{!15, !10, i64 32}
!21 = !{!15, !10, i64 8}
!22 = !{!15, !10, i64 80}
!23 = !{!15, !10, i64 64}
!24 = !{!15, !10, i64 72}
!25 = !{!15, !10, i64 56}
!26 = !{!15, !10, i64 0}
!27 = !{!15, !10, i64 40}
!28 = !{!12, !6, i64 136}
!29 = !{!12, !6, i64 128}


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

%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 }
%struct.controldef = type { i64, i64, i64, i64, i64, i64, float, i64, i64, i64, i64, %struct.workspacedef, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double }
%struct.workspacedef = type { ptr, i64, i64, ptr, ptr, i64, ptr, ptr }

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

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

declare void @libmetis__SetUpGraph(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1

declare i64 @libmetis__idxsum(i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1

declare void @libmetis__InitRandom(i64 noundef) local_unnamed_addr #1

declare void @libmetis__AllocateWorkSpace(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1

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

declare void @libmetis__FreeGraph(ptr noundef, i32 noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local void @METIS_EdgeComputeSeparator(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr nocapture noundef readonly %5, ptr nocapture noundef writeonly %6, ptr nocapture noundef writeonly %7) local_unnamed_addr #3 {
  %9 = alloca [2 x i64], align 16
  %10 = alloca %struct.graphdef, align 8
  %11 = alloca %struct.controldef, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #4
  call void @llvm.lifetime.start.p0(i64 248, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 280, ptr nonnull %11) #4
  %12 = load i64, ptr %0, align 8, !tbaa !5
  call void @libmetis__SetUpGraph(ptr noundef nonnull %10, i64 noundef 4, i64 noundef %12, i64 noundef 1, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef 3) #4
  %13 = load i64, ptr %0, align 8, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %10, i64 24
  %15 = load ptr, ptr %14, align 8, !tbaa !9
  %16 = call i64 @libmetis__idxsum(i64 noundef %13, ptr noundef %15, i64 noundef 1) #4
  %17 = load i64, ptr %5, align 8, !tbaa !5
  %18 = icmp eq i64 %17, 0
  br i1 %18, label %26, label %19

19:                                               ; preds = %8
  %20 = getelementptr inbounds i8, ptr %5, i64 8
  %21 = load <2 x i64>, ptr %20, align 8, !tbaa !5
  %22 = getelementptr inbounds i8, ptr %5, i64 24
  %23 = load i64, ptr %22, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %5, i64 32
  %25 = load i64, ptr %24, align 8, !tbaa !5
  br label %26

26:                                               ; preds = %8, %19
  %.sink19 = phi i64 [ %23, %19 ], [ 2, %8 ]
  %.sink = phi i64 [ %25, %19 ], [ 0, %8 ]
  %27 = phi <2 x i64> [ %21, %19 ], [ <i64 3, i64 1>, %8 ]
  %28 = getelementptr inbounds i8, ptr %11, i64 16
  store <2 x i64> %27, ptr %28, align 8
  %29 = getelementptr inbounds i8, ptr %11, i64 32
  store i64 %.sink19, ptr %29, align 8
  %30 = getelementptr inbounds i8, ptr %11, i64 8
  store i64 %.sink, ptr %30, align 8
  %31 = getelementptr inbounds i8, ptr %11, i64 80
  store i64 0, ptr %31, align 8, !tbaa !13
  %32 = getelementptr inbounds i8, ptr %11, i64 64
  store i64 0, ptr %32, align 8, !tbaa !18
  %33 = getelementptr inbounds i8, ptr %11, i64 72
  store i64 1, ptr %33, align 8, !tbaa !19
  %34 = getelementptr inbounds i8, ptr %11, i64 56
  store i64 3, ptr %34, align 8, !tbaa !20
  %35 = load i64, ptr %0, align 8, !tbaa !5
  %36 = icmp slt i64 %35, 102
  %37 = add nsw i64 %35, -1
  %spec.select = select i1 %36, i64 %37, i64 100
  store i64 %spec.select, ptr %11, align 8, !tbaa !21
  %38 = sitofp i64 %16 to double
  %39 = fmul double %38, 1.500000e+00
  %40 = sitofp i64 %spec.select to double
  %41 = fdiv double %39, %40
  %42 = fptosi double %41 to i64
  %43 = getelementptr inbounds i8, ptr %11, i64 40
  store i64 %42, ptr %43, align 8, !tbaa !22
  %44 = getelementptr inbounds i8, ptr %5, i64 56
  %45 = load i64, ptr %44, align 8, !tbaa !5
  call void @libmetis__InitRandom(i64 noundef %45) #4
  call void @libmetis__AllocateWorkSpace(ptr noundef nonnull %11, ptr noundef nonnull %10, i64 noundef 2) #4
  %46 = sdiv i64 %16, 2
  store i64 %46, ptr %9, align 16, !tbaa !5
  %47 = sub nsw i64 %16, %46
  %48 = getelementptr inbounds i8, ptr %9, i64 8
  store i64 %47, ptr %48, align 8, !tbaa !5
  call void @libmetis__MlevelEdgeBisection(ptr noundef nonnull %11, ptr noundef nonnull %10, ptr noundef nonnull %9, float noundef 0x3FF0CCCCC0000000) #4
  call void @libmetis__ConstructMinCoverSeparator(ptr noundef nonnull %11, ptr noundef nonnull %10, float noundef 0x3FF0CCCCC0000000) #4
  %49 = getelementptr inbounds i8, ptr %10, i64 136
  %50 = load ptr, ptr %49, align 8, !tbaa !23
  %51 = getelementptr inbounds i8, ptr %50, i64 16
  %52 = load i64, ptr %51, align 8, !tbaa !5
  store i64 %52, ptr %6, align 8, !tbaa !5
  %53 = getelementptr inbounds i8, ptr %10, i64 128
  %54 = load ptr, ptr %53, align 8, !tbaa !24
  %55 = load i64, ptr %0, align 8, !tbaa !5
  %56 = shl i64 %55, 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 %54, i64 %56, i1 false)
  call void @libmetis__FreeGraph(ptr noundef nonnull %10, i32 noundef 0) #4
  call void @libmetis__FreeWorkSpace(ptr noundef nonnull %11, ptr noundef nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 280, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 248, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #4
  ret void
}

declare void @libmetis__MlevelEdgeBisection(ptr noundef, ptr noundef, ptr noundef, float noundef) local_unnamed_addr #1

declare void @libmetis__ConstructMinCoverSeparator(ptr noundef, ptr noundef, float noundef) local_unnamed_addr #1

attributes #0 = { mustprogress 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 }

!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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 24}
!10 = !{!"graphdef", !6, i64 0, !6, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !12, i64 56, !12, i64 60, !12, i64 64, !12, i64 68, !12, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !6, i64 112, !6, i64 120, !11, i64 128, !11, i64 136, !6, i64 144, !11, i64 152, !11, i64 160, !11, i64 168, !11, i64 176, !11, i64 184, !11, i64 192, !11, i64 200, !6, i64 208, !11, i64 216, !11, i64 224, !11, i64 232, !11, i64 240}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !6, i64 80}
!14 = !{!"controldef", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !15, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !16, i64 88, !17, i64 152, !17, i64 160, !17, i64 168, !17, i64 176, !17, i64 184, !17, i64 192, !17, i64 200, !17, i64 208, !17, i64 216, !17, i64 224, !17, i64 232, !17, i64 240, !17, i64 248, !17, i64 256, !17, i64 264, !17, i64 272}
!15 = !{!"float", !7, i64 0}
!16 = !{!"workspacedef", !11, i64 0, !6, i64 8, !6, i64 16, !11, i64 24, !11, i64 32, !6, i64 40, !11, i64 48, !11, i64 56}
!17 = !{!"double", !7, i64 0}
!18 = !{!14, !6, i64 64}
!19 = !{!14, !6, i64 72}
!20 = !{!14, !6, i64 56}
!21 = !{!14, !6, i64 0}
!22 = !{!14, !6, i64 40}
!23 = !{!10, !11, i64 136}
!24 = !{!10, !11, i64 128}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,MergedLoadStoreMotionPass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass