; LLVM IR from GGiecold-zz/Cluster_Ensembles :: src/Cluster_Ensembles/Hypergraph_Partitioning/metis-5.1.0/libmetis (ometis)

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

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

declare ptr @libmetis__icopy(i64 noundef, ptr 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

declare void @libmetis__wspacepush(ptr noundef) #1

declare ptr @libmetis__iwspacemalloc(ptr noundef, i32 noundef) #1

declare void @libmetis__wspacepop(ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @libmetis__MlevelNodeBisectionL2(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  store i32 5, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %13 = load ptr, ptr %5, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.graph_t, ptr %13, i32 0, i32 0
  %15 = load i32, ptr %14, align 8, !tbaa !11
  %16 = icmp slt i32 %15, 5000
  br i1 %16, label %17, label %21

17:                                               ; preds = %3
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = load ptr, ptr %5, align 8, !tbaa !5
  %20 = load i32, ptr %6, align 4, !tbaa !9
  call void @libmetis__MlevelNodeBisectionL1(ptr noundef %18, ptr noundef %19, i32 noundef %20)
  store i32 1, ptr %12, align 4
  br label %125

21:                                               ; preds = %3
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  call void @libmetis__wspacepush(ptr noundef %22)
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.graph_t, ptr %23, i32 0, i32 0
  %25 = load i32, ptr %24, align 8, !tbaa !11
  %26 = sdiv i32 %25, 30
  %27 = icmp sge i32 100, %26
  br i1 %27, label %28, label %29

28:                                               ; preds = %21
  br label %34

29:                                               ; preds = %21
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.graph_t, ptr %30, i32 0, i32 0
  %32 = load i32, ptr %31, align 8, !tbaa !11
  %33 = sdiv i32 %32, 30
  br label %34

34:                                               ; preds = %29, %28
  %35 = phi i32 [ 100, %28 ], [ %33, %29 ]
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.ctrl_t, ptr %36, i32 0, i32 6
  store i32 %35, ptr %37, align 8, !tbaa !13
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = call ptr @CoarsenGraphNlevels(ptr noundef %38, ptr noundef %39, i32 noundef 4)
  store ptr %40, ptr %10, align 8, !tbaa !5
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = load ptr, ptr %10, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.graph_t, ptr %42, i32 0, i32 0
  %44 = load i32, ptr %43, align 8, !tbaa !11
  %45 = call ptr @libmetis__iwspacemalloc(ptr noundef %41, i32 noundef %44)
  store ptr %45, ptr %11, align 8, !tbaa !5
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.graph_t, ptr %46, i32 0, i32 8
  %48 = load ptr, ptr %47, align 8, !tbaa !18
  %49 = getelementptr inbounds i32, ptr %48, i64 0
  %50 = load i32, ptr %49, align 4, !tbaa !9
  store i32 %50, ptr %8, align 4, !tbaa !9
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %51

51:                                               ; preds = %101, %34
  %52 = load i32, ptr %7, align 4, !tbaa !9
  %53 = load i32, ptr %9, align 4, !tbaa !9
  %54 = icmp slt i32 %52, %53
  br i1 %54, label %55, label %104

55:                                               ; preds = %51
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = load ptr, ptr %10, align 8, !tbaa !5
  %58 = load i32, ptr %6, align 4, !tbaa !9
  %59 = sitofp i32 %58 to double
  %60 = fmul double 0x3FE6666666666666, %59
  %61 = fptosi double %60 to i32
  call void @libmetis__MlevelNodeBisectionL1(ptr noundef %56, ptr noundef %57, i32 noundef %61)
  %62 = load i32, ptr %7, align 4, !tbaa !9
  %63 = icmp eq i32 %62, 0
  br i1 %63, label %70, label %64

64:                                               ; preds = %55
  %65 = load ptr, ptr %10, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.graph_t, ptr %65, i32 0, i32 17
  %67 = load i32, ptr %66, align 8, !tbaa !19
  %68 = load i32, ptr %8, align 4, !tbaa !9
  %69 = icmp slt i32 %67, %68
  br i1 %69, label %70, label %89

70:                                               ; preds = %64, %55
  %71 = load ptr, ptr %10, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.graph_t, ptr %71, i32 0, i32 17
  %73 = load i32, ptr %72, align 8, !tbaa !19
  store i32 %73, ptr %8, align 4, !tbaa !9
  %74 = load i32, ptr %7, align 4, !tbaa !9
  %75 = load i32, ptr %9, align 4, !tbaa !9
  %76 = sub nsw i32 %75, 1
  %77 = icmp slt i32 %74, %76
  br i1 %77, label %78, label %88

78:                                               ; preds = %70
  %79 = load ptr, ptr %10, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.graph_t, ptr %79, i32 0, i32 0
  %81 = load i32, ptr %80, align 8, !tbaa !11
  %82 = sext i32 %81 to i64
  %83 = load ptr, ptr %10, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.graph_t, ptr %83, i32 0, i32 19
  %85 = load ptr, ptr %84, align 8, !tbaa !20
  %86 = load ptr, ptr %11, align 8, !tbaa !5
  %87 = call ptr @libmetis__icopy(i64 noundef %82, ptr noundef %85, ptr noundef %86)
  br label %88

88:                                               ; preds = %78, %70
  br label %89

89:                                               ; preds = %88, %64
  %90 = load i32, ptr %8, align 4, !tbaa !9
  %91 = icmp eq i32 %90, 0
  br i1 %91, label %92, label %93

92:                                               ; preds = %89
  br label %104

93:                                               ; preds = %89
  %94 = load i32, ptr %7, align 4, !tbaa !9
  %95 = load i32, ptr %9, align 4, !tbaa !9
  %96 = sub nsw i32 %95, 1
  %97 = icmp slt i32 %94, %96
  br i1 %97, label %98, label %100

98:                                               ; preds = %93
  %99 = load ptr, ptr %10, align 8, !tbaa !5
  call void @libmetis__FreeRData(ptr noundef %99)
  br label %100

100:                                              ; preds = %98, %93
  br label %101

101:                                              ; preds = %100
  %102 = load i32, ptr %7, align 4, !tbaa !9
  %103 = add nsw i32 %102, 1
  store i32 %103, ptr %7, align 4, !tbaa !9
  br label %51, !llvm.loop !21

104:                                              ; preds = %92, %51
  %105 = load i32, ptr %8, align 4, !tbaa !9
  %106 = load ptr, ptr %10, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.graph_t, ptr %106, i32 0, i32 17
  %108 = load i32, ptr %107, align 8, !tbaa !19
  %109 = icmp ne i32 %105, %108
  br i1 %109, label %110, label %120

110:                                              ; preds = %104
  %111 = load ptr, ptr %10, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.graph_t, ptr %111, i32 0, i32 0
  %113 = load i32, ptr %112, align 8, !tbaa !11
  %114 = sext i32 %113 to i64
  %115 = load ptr, ptr %11, align 8, !tbaa !5
  %116 = load ptr, ptr %10, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.graph_t, ptr %116, i32 0, i32 19
  %118 = load ptr, ptr %117, align 8, !tbaa !20
  %119 = call ptr @libmetis__icopy(i64 noundef %114, ptr noundef %115, ptr noundef %118)
  br label %120

120:                                              ; preds = %110, %104
  %121 = load ptr, ptr %4, align 8, !tbaa !5
  call void @libmetis__wspacepop(ptr noundef %121)
  %122 = load ptr, ptr %4, align 8, !tbaa !5
  %123 = load ptr, ptr %5, align 8, !tbaa !5
  %124 = load ptr, ptr %10, align 8, !tbaa !5
  call void @libmetis__Refine2WayNode(ptr noundef %122, ptr noundef %123, ptr noundef %124)
  store i32 0, ptr %12, align 4
  br label %125

125:                                              ; preds = %120, %17
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  %126 = load i32, ptr %12, align 4
  switch i32 %126, label %128 [
    i32 0, label %127
    i32 1, label %127
  ]

127:                                              ; preds = %125, %125
  ret void

128:                                              ; preds = %125
  unreachable
}

declare void @libmetis__FreeRData(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @libmetis__MlevelNodeBisectionL1(ptr noundef, ptr noundef, i32 noundef) #2

declare ptr @CoarsenGraphNlevels(ptr noundef, ptr noundef, i32 noundef) #1

declare void @libmetis__Refine2WayNode(ptr noundef, ptr noundef, ptr 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 = { 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 = { 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 0}
!12 = !{!"graph_t", !10, i64 0, !10, i64 4, !10, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !6, i64 96, !6, i64 104, !10, i64 112, !10, i64 116, !6, i64 120, !6, i64 128, !10, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208}
!13 = !{!14, !10, i64 24}
!14 = !{!"ctrl_t", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !6, i64 80, !10, i64 88, !10, i64 92, !15, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !15, i64 128, !16, i64 136, !16, i64 144, !16, i64 152, !16, i64 160, !16, i64 168, !16, i64 176, !16, i64 184, !16, i64 192, !16, i64 200, !16, i64 208, !16, i64 216, !16, i64 224, !6, i64 232, !17, i64 240, !17, i64 248, !17, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !6, i64 296, !6, i64 304, !6, i64 312, !6, i64 320}
!15 = !{!"float", !7, i64 0}
!16 = !{!"double", !7, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!12, !6, i64 56}
!19 = !{!12, !10, i64 112}
!20 = !{!12, !6, i64 120}
!21 = distinct !{!21, !22}
!22 = !{!"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"

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

declare void @libmetis__wspacepush(ptr noundef) local_unnamed_addr #0

declare ptr @libmetis__iwspacemalloc(ptr noundef, i32 noundef) local_unnamed_addr #0

declare void @libmetis__wspacepop(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @libmetis__MlevelNodeBisectionL2(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #1 {
  %4 = load i32, ptr %1, align 8, !tbaa !5
  %5 = icmp slt i32 %4, 5000
  br i1 %5, label %6, label %7

6:                                                ; preds = %3
  tail call void @libmetis__MlevelNodeBisectionL1(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %2)
  br label %62

7:                                                ; preds = %3
  tail call void @libmetis__wspacepush(ptr noundef %0) #3
  %8 = load i32, ptr %1, align 8, !tbaa !5
  %9 = icmp slt i32 %8, 3030
  %10 = sdiv i32 %8, 30
  %11 = select i1 %9, i32 100, i32 %10
  %12 = getelementptr inbounds i8, ptr %0, i64 24
  store i32 %11, ptr %12, align 8, !tbaa !11
  %13 = tail call ptr @CoarsenGraphNlevels(ptr noundef %0, ptr noundef nonnull %1, i32 noundef 4) #3
  %14 = load i32, ptr %13, align 8, !tbaa !5
  %15 = tail call ptr @libmetis__iwspacemalloc(ptr noundef %0, i32 noundef %14) #3
  %16 = sitofp i32 %2 to double
  %17 = fmul double %16, 0x3FE6666666666666
  %18 = fptosi double %17 to i32
  %19 = getelementptr inbounds i8, ptr %13, i64 112
  %20 = getelementptr inbounds i8, ptr %13, i64 120
  tail call void @libmetis__MlevelNodeBisectionL1(ptr noundef %0, ptr noundef nonnull %13, i32 noundef %18)
  %21 = load i32, ptr %19, align 8, !tbaa !16
  %22 = load i32, ptr %13, align 8, !tbaa !5
  %23 = sext i32 %22 to i64
  %24 = load ptr, ptr %20, align 8, !tbaa !17
  %25 = tail call ptr @libmetis__icopy(i64 noundef %23, ptr noundef %24, ptr noundef %15) #3
  %26 = icmp eq i32 %21, 0
  br i1 %26, label %.thread48.4, label %27

27:                                               ; preds = %7
  tail call void @libmetis__FreeRData(ptr noundef nonnull %13) #3
  tail call void @libmetis__MlevelNodeBisectionL1(ptr noundef nonnull %0, ptr noundef nonnull %13, i32 noundef %18)
  %28 = load i32, ptr %19, align 8, !tbaa !16
  %29 = icmp slt i32 %28, %21
  br i1 %29, label %30, label %.thread56

30:                                               ; preds = %27
  %31 = load i32, ptr %13, align 8, !tbaa !5
  %32 = sext i32 %31 to i64
  %33 = load ptr, ptr %20, align 8, !tbaa !17
  %34 = tail call ptr @libmetis__icopy(i64 noundef %32, ptr noundef %33, ptr noundef %15) #3
  %35 = icmp eq i32 %28, 0
  br i1 %35, label %.thread48.4, label %.thread56

.thread56:                                        ; preds = %27, %30
  %.1.158 = phi i32 [ %28, %30 ], [ %21, %27 ]
  tail call void @libmetis__FreeRData(ptr noundef nonnull %13) #3
  tail call void @libmetis__MlevelNodeBisectionL1(ptr noundef nonnull %0, ptr noundef nonnull %13, i32 noundef %18)
  %36 = load i32, ptr %19, align 8, !tbaa !16
  %37 = icmp slt i32 %36, %.1.158
  br i1 %37, label %38, label %43

38:                                               ; preds = %.thread56
  %39 = load i32, ptr %13, align 8, !tbaa !5
  %40 = sext i32 %39 to i64
  %41 = load ptr, ptr %20, align 8, !tbaa !17
  %42 = tail call ptr @libmetis__icopy(i64 noundef %40, ptr noundef %41, ptr noundef %15) #3
  br label %43

43:                                               ; preds = %38, %.thread56
  %.1.2 = phi i32 [ %36, %38 ], [ %.1.158, %.thread56 ]
  %44 = icmp eq i32 %.1.2, 0
  br i1 %44, label %.thread48.4, label %45

45:                                               ; preds = %43
  tail call void @libmetis__FreeRData(ptr noundef nonnull %13) #3
  tail call void @libmetis__MlevelNodeBisectionL1(ptr noundef nonnull %0, ptr noundef nonnull %13, i32 noundef %18)
  %46 = load i32, ptr %19, align 8, !tbaa !16
  %47 = icmp slt i32 %46, %.1.2
  br i1 %47, label %48, label %.thread59

48:                                               ; preds = %45
  %49 = load i32, ptr %13, align 8, !tbaa !5
  %50 = sext i32 %49 to i64
  %51 = load ptr, ptr %20, align 8, !tbaa !17
  %52 = tail call ptr @libmetis__icopy(i64 noundef %50, ptr noundef %51, ptr noundef %15) #3
  %53 = icmp eq i32 %46, 0
  br i1 %53, label %.thread48.4, label %.thread59

.thread59:                                        ; preds = %45, %48
  %.1.361 = phi i32 [ %46, %48 ], [ %.1.2, %45 ]
  tail call void @libmetis__FreeRData(ptr noundef nonnull %13) #3
  tail call void @libmetis__MlevelNodeBisectionL1(ptr noundef nonnull %0, ptr noundef nonnull %13, i32 noundef %18)
  %54 = load i32, ptr %19, align 8, !tbaa !16
  %spec.select = tail call i32 @llvm.smin.i32(i32 %54, i32 %.1.361)
  br label %.thread48.4

.thread48.4:                                      ; preds = %.thread59, %48, %43, %30, %7
  %.2 = phi i32 [ 0, %7 ], [ 0, %30 ], [ 0, %43 ], [ 0, %48 ], [ %spec.select, %.thread59 ]
  %55 = load i32, ptr %19, align 8, !tbaa !16
  %.not43 = icmp eq i32 %.2, %55
  br i1 %.not43, label %61, label %56

56:                                               ; preds = %.thread48.4
  %57 = load i32, ptr %13, align 8, !tbaa !5
  %58 = sext i32 %57 to i64
  %59 = load ptr, ptr %20, align 8, !tbaa !17
  %60 = tail call ptr @libmetis__icopy(i64 noundef %58, ptr noundef %15, ptr noundef %59) #3
  br label %61

61:                                               ; preds = %56, %.thread48.4
  tail call void @libmetis__wspacepop(ptr noundef nonnull %0) #3
  tail call void @libmetis__Refine2WayNode(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %13) #3
  br label %62

62:                                               ; preds = %61, %6
  ret void
}

declare void @libmetis__FreeRData(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @libmetis__MlevelNodeBisectionL1(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare ptr @CoarsenGraphNlevels(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

declare void @libmetis__Refine2WayNode(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #2

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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !7, i64 0}
!6 = !{!"graph_t", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !7, i64 72, !7, i64 76, !7, i64 80, !7, i64 84, !7, i64 88, !10, i64 96, !10, i64 104, !7, i64 112, !7, i64 116, !10, i64 120, !10, i64 128, !7, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !10, i64 208}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !7, i64 24}
!12 = !{!"ctrl_t", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !10, i64 80, !7, i64 88, !7, i64 92, !13, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !13, i64 128, !14, i64 136, !14, i64 144, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !14, i64 200, !14, i64 208, !14, i64 216, !14, i64 224, !10, i64 232, !15, i64 240, !15, i64 248, !15, i64 256, !10, i64 264, !10, i64 272, !10, i64 280, !10, i64 288, !10, i64 296, !10, i64 304, !10, i64 312, !10, i64 320}
!13 = !{!"float", !8, i64 0}
!14 = !{!"double", !8, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!6, !7, i64 112}
!17 = !{!6, !10, i64 120}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass