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

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

@.str.7 = external hidden unnamed_addr constant [139 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [14 x i8], align 1
@__PRETTY_FUNCTION__.ComputeBFSOrdering = external hidden unnamed_addr constant [54 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 ptr @libmetis__iincset(i64 noundef, i32 noundef, ptr noundef) #1

declare i32 @printf(ptr noundef, ...) #1

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

; 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 @ComputeBFSOrdering(ptr noundef %0, ptr noundef %1, ptr noundef %2) #3 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  call void @libmetis__wspacepush(ptr noundef %16)
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.graph_t, ptr %17, i32 0, i32 0
  %19 = load i32, ptr %18, align 8, !tbaa !9
  store i32 %19, ptr %10, align 4, !tbaa !12
  %20 = load ptr, ptr %5, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.graph_t, ptr %20, i32 0, i32 3
  %22 = load ptr, ptr %21, align 8, !tbaa !13
  store ptr %22, ptr %13, align 8, !tbaa !5
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.graph_t, ptr %23, i32 0, i32 6
  %25 = load ptr, ptr %24, align 8, !tbaa !14
  store ptr %25, ptr %14, align 8, !tbaa !5
  %26 = load i32, ptr %10, align 4, !tbaa !12
  %27 = sext i32 %26 to i64
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = load i32, ptr %10, align 4, !tbaa !12
  %30 = call ptr @libmetis__iwspacemalloc(ptr noundef %28, i32 noundef %29)
  %31 = call ptr @libmetis__iincset(i64 noundef %27, i32 noundef 0, ptr noundef %30)
  store ptr %31, ptr %15, align 8, !tbaa !5
  %32 = load i32, ptr %10, align 4, !tbaa !12
  %33 = sext i32 %32 to i64
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = call ptr @libmetis__iincset(i64 noundef %33, i32 noundef 0, ptr noundef %34)
  store i32 0, ptr %12, align 4, !tbaa !12
  store i32 0, ptr %11, align 4, !tbaa !12
  br label %36

36:                                               ; preds = %148, %3
  %37 = load i32, ptr %11, align 4, !tbaa !12
  %38 = load i32, ptr %10, align 4, !tbaa !12
  %39 = icmp slt i32 %37, %38
  br i1 %39, label %40, label %149

40:                                               ; preds = %36
  %41 = load i32, ptr %11, align 4, !tbaa !12
  %42 = load i32, ptr %12, align 4, !tbaa !12
  %43 = icmp eq i32 %41, %42
  br i1 %43, label %44, label %74

44:                                               ; preds = %40
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = load i32, ptr %12, align 4, !tbaa !12
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds i32, ptr %45, i64 %47
  %49 = load i32, ptr %48, align 4, !tbaa !12
  store i32 %49, ptr %9, align 4, !tbaa !12
  %50 = load ptr, ptr %15, align 8, !tbaa !5
  %51 = load i32, ptr %9, align 4, !tbaa !12
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds i32, ptr %50, i64 %52
  %54 = load i32, ptr %53, align 4, !tbaa !12
  %55 = icmp ne i32 %54, -1
  br i1 %55, label %67, label %56

56:                                               ; preds = %44
  %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef 137, ptr noundef @.str.7)
  %58 = load ptr, ptr %15, align 8, !tbaa !5
  %59 = load i32, ptr %9, align 4, !tbaa !12
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds i32, ptr %58, i64 %60
  %62 = load i32, ptr %61, align 4, !tbaa !12
  %63 = icmp ne i32 %62, -1
  br i1 %63, label %64, label %65

64:                                               ; preds = %56
  br label %66

65:                                               ; preds = %56
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.7, i32 noundef 137, ptr noundef @__PRETTY_FUNCTION__.ComputeBFSOrdering) #5
  unreachable

66:                                               ; preds = %64
  br label %67

67:                                               ; preds = %66, %44
  %68 = load ptr, ptr %15, align 8, !tbaa !5
  %69 = load i32, ptr %9, align 4, !tbaa !12
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds i32, ptr %68, i64 %70
  store i32 -1, ptr %71, align 4, !tbaa !12
  %72 = load i32, ptr %12, align 4, !tbaa !12
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %12, align 4, !tbaa !12
  br label %74

74:                                               ; preds = %67, %40
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = load i32, ptr %11, align 4, !tbaa !12
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %11, align 4, !tbaa !12
  %78 = sext i32 %76 to i64
  %79 = getelementptr inbounds i32, ptr %75, i64 %78
  %80 = load i32, ptr %79, align 4, !tbaa !12
  store i32 %80, ptr %7, align 4, !tbaa !12
  %81 = load ptr, ptr %13, align 8, !tbaa !5
  %82 = load i32, ptr %7, align 4, !tbaa !12
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds i32, ptr %81, i64 %83
  %85 = load i32, ptr %84, align 4, !tbaa !12
  store i32 %85, ptr %8, align 4, !tbaa !12
  br label %86

86:                                               ; preds = %145, %74
  %87 = load i32, ptr %8, align 4, !tbaa !12
  %88 = load ptr, ptr %13, align 8, !tbaa !5
  %89 = load i32, ptr %7, align 4, !tbaa !12
  %90 = add nsw i32 %89, 1
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds i32, ptr %88, i64 %91
  %93 = load i32, ptr %92, align 4, !tbaa !12
  %94 = icmp slt i32 %87, %93
  br i1 %94, label %95, label %148

95:                                               ; preds = %86
  %96 = load ptr, ptr %14, align 8, !tbaa !5
  %97 = load i32, ptr %8, align 4, !tbaa !12
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds i32, ptr %96, i64 %98
  %100 = load i32, ptr %99, align 4, !tbaa !12
  store i32 %100, ptr %9, align 4, !tbaa !12
  %101 = load ptr, ptr %15, align 8, !tbaa !5
  %102 = load i32, ptr %9, align 4, !tbaa !12
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds i32, ptr %101, i64 %103
  %105 = load i32, ptr %104, align 4, !tbaa !12
  %106 = icmp ne i32 %105, -1
  br i1 %106, label %107, label %144

107:                                              ; preds = %95
  %108 = load ptr, ptr %6, align 8, !tbaa !5
  %109 = load i32, ptr %12, align 4, !tbaa !12
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds i32, ptr %108, i64 %110
  %112 = load i32, ptr %111, align 4, !tbaa !12
  %113 = load ptr, ptr %6, align 8, !tbaa !5
  %114 = load ptr, ptr %15, align 8, !tbaa !5
  %115 = load i32, ptr %9, align 4, !tbaa !12
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds i32, ptr %114, i64 %116
  %118 = load i32, ptr %117, align 4, !tbaa !12
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds i32, ptr %113, i64 %119
  store i32 %112, ptr %120, align 4, !tbaa !12
  %121 = load ptr, ptr %15, align 8, !tbaa !5
  %122 = load i32, ptr %9, align 4, !tbaa !12
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds i32, ptr %121, i64 %123
  %125 = load i32, ptr %124, align 4, !tbaa !12
  %126 = load ptr, ptr %15, align 8, !tbaa !5
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  %128 = load i32, ptr %12, align 4, !tbaa !12
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds i32, ptr %127, i64 %129
  %131 = load i32, ptr %130, align 4, !tbaa !12
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds i32, ptr %126, i64 %132
  store i32 %125, ptr %133, align 4, !tbaa !12
  %134 = load i32, ptr %9, align 4, !tbaa !12
  %135 = load ptr, ptr %6, align 8, !tbaa !5
  %136 = load i32, ptr %12, align 4, !tbaa !12
  %137 = add nsw i32 %136, 1
  store i32 %137, ptr %12, align 4, !tbaa !12
  %138 = sext i32 %136 to i64
  %139 = getelementptr inbounds i32, ptr %135, i64 %138
  store i32 %134, ptr %139, align 4, !tbaa !12
  %140 = load ptr, ptr %15, align 8, !tbaa !5
  %141 = load i32, ptr %9, align 4, !tbaa !12
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds i32, ptr %140, i64 %142
  store i32 -1, ptr %143, align 4, !tbaa !12
  br label %144

144:                                              ; preds = %107, %95
  br label %145

145:                                              ; preds = %144
  %146 = load i32, ptr %8, align 4, !tbaa !12
  %147 = add nsw i32 %146, 1
  store i32 %147, ptr %8, align 4, !tbaa !12
  br label %86, !llvm.loop !15

148:                                              ; preds = %86
  br label %36, !llvm.loop !17

149:                                              ; preds = %36
  %150 = load ptr, ptr %4, align 8, !tbaa !5
  call void @libmetis__wspacepop(ptr noundef %150)
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  ret void
}

declare void @libmetis__wspacepush(ptr noundef) #1

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

declare void @libmetis__wspacepop(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 = { 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 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"graph_t", !11, i64 0, !11, i64 4, !11, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !11, i64 72, !11, i64 76, !11, i64 80, !11, i64 84, !11, i64 88, !6, i64 96, !6, i64 104, !11, i64 112, !11, i64 116, !6, i64 120, !6, i64 128, !11, 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}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!10, !6, i64 16}
!14 = !{!10, !6, i64 40}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}


; 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.7 = external hidden unnamed_addr constant [139 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [14 x i8], align 1
@__PRETTY_FUNCTION__.ComputeBFSOrdering = external hidden unnamed_addr constant [54 x i8], align 1

declare ptr @libmetis__iincset(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local void @ComputeBFSOrdering(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) local_unnamed_addr #3 {
  tail call void @libmetis__wspacepush(ptr noundef %0) #4
  %4 = load i32, ptr %1, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %1, i64 16
  %6 = load ptr, ptr %5, align 8, !tbaa !11
  %7 = getelementptr inbounds i8, ptr %1, i64 40
  %8 = load ptr, ptr %7, align 8, !tbaa !12
  %9 = sext i32 %4 to i64
  %10 = tail call ptr @libmetis__iwspacemalloc(ptr noundef %0, i32 noundef %4) #4
  %11 = tail call ptr @libmetis__iincset(i64 noundef %9, i32 noundef 0, ptr noundef %10) #4
  %12 = tail call ptr @libmetis__iincset(i64 noundef %9, i32 noundef 0, ptr noundef %2) #4
  %13 = icmp sgt i32 %4, 0
  br i1 %13, label %.lr.ph58.preheader, label %._crit_edge

.lr.ph58.preheader:                               ; preds = %3
  %wide.trip.count = zext nneg i32 %4 to i64
  br label %.lr.ph58

.loopexit:                                        ; preds = %55, %29
  %.2.lcssa = phi i32 [ %.1, %29 ], [ %.3, %55 ]
  %exitcond.not = icmp eq i64 %indvars.iv.next61, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph58, !llvm.loop !13

.lr.ph58:                                         ; preds = %.lr.ph58.preheader, %.loopexit
  %indvars.iv60 = phi i64 [ 0, %.lr.ph58.preheader ], [ %indvars.iv.next61, %.loopexit ]
  %.05056 = phi i32 [ 0, %.lr.ph58.preheader ], [ %.2.lcssa, %.loopexit ]
  %14 = zext i32 %.05056 to i64
  %15 = icmp eq i64 %indvars.iv60, %14
  br i1 %15, label %16, label %29

16:                                               ; preds = %.lr.ph58
  %17 = sext i32 %.05056 to i64
  %18 = getelementptr inbounds i32, ptr %2, i64 %17
  %19 = load i32, ptr %18, align 4, !tbaa !15
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds i32, ptr %11, i64 %20
  %22 = load i32, ptr %21, align 4, !tbaa !15
  %.not = icmp eq i32 %22, -1
  br i1 %.not, label %23, label %27

23:                                               ; preds = %16
  %24 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i32 noundef 137, ptr noundef nonnull @.str.7)
  %25 = load i32, ptr %21, align 4, !tbaa !15
  %.not52 = icmp eq i32 %25, -1
  br i1 %.not52, label %26, label %27

26:                                               ; preds = %23
  tail call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.7, i32 noundef 137, ptr noundef nonnull @__PRETTY_FUNCTION__.ComputeBFSOrdering) #5
  unreachable

27:                                               ; preds = %23, %16
  store i32 -1, ptr %21, align 4, !tbaa !15
  %28 = add nsw i32 %.05056, 1
  br label %29

29:                                               ; preds = %27, %.lr.ph58
  %.1 = phi i32 [ %28, %27 ], [ %.05056, %.lr.ph58 ]
  %indvars.iv.next61 = add nuw nsw i64 %indvars.iv60, 1
  %30 = getelementptr inbounds i32, ptr %2, i64 %indvars.iv60
  %31 = load i32, ptr %30, align 4, !tbaa !15
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds i32, ptr %6, i64 %32
  %34 = load i32, ptr %33, align 4, !tbaa !15
  %35 = getelementptr i8, ptr %33, i64 4
  %36 = load i32, ptr %35, align 4, !tbaa !15
  %37 = icmp slt i32 %34, %36
  br i1 %37, label %.lr.ph.preheader, label %.loopexit

.lr.ph.preheader:                                 ; preds = %29
  %38 = sext i32 %34 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %55
  %39 = phi i32 [ %36, %.lr.ph.preheader ], [ %56, %55 ]
  %indvars.iv = phi i64 [ %38, %.lr.ph.preheader ], [ %indvars.iv.next, %55 ]
  %.254 = phi i32 [ %.1, %.lr.ph.preheader ], [ %.3, %55 ]
  %40 = getelementptr inbounds i32, ptr %8, i64 %indvars.iv
  %41 = load i32, ptr %40, align 4, !tbaa !15
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds i32, ptr %11, i64 %42
  %44 = load i32, ptr %43, align 4, !tbaa !15
  %.not53 = icmp eq i32 %44, -1
  br i1 %.not53, label %55, label %45

45:                                               ; preds = %.lr.ph
  %46 = sext i32 %.254 to i64
  %47 = getelementptr inbounds i32, ptr %2, i64 %46
  %48 = load i32, ptr %47, align 4, !tbaa !15
  %49 = sext i32 %44 to i64
  %50 = getelementptr inbounds i32, ptr %2, i64 %49
  store i32 %48, ptr %50, align 4, !tbaa !15
  %51 = load i32, ptr %43, align 4, !tbaa !15
  %52 = sext i32 %48 to i64
  %53 = getelementptr inbounds i32, ptr %11, i64 %52
  store i32 %51, ptr %53, align 4, !tbaa !15
  %54 = add nsw i32 %.254, 1
  store i32 %41, ptr %47, align 4, !tbaa !15
  store i32 -1, ptr %43, align 4, !tbaa !15
  %.pre = load i32, ptr %35, align 4, !tbaa !15
  br label %55

55:                                               ; preds = %.lr.ph, %45
  %56 = phi i32 [ %.pre, %45 ], [ %39, %.lr.ph ]
  %.3 = phi i32 [ %54, %45 ], [ %.254, %.lr.ph ]
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %57 = sext i32 %56 to i64
  %58 = icmp slt i64 %indvars.iv.next, %57
  br i1 %58, label %.lr.ph, label %.loopexit, !llvm.loop !16

._crit_edge:                                      ; preds = %.loopexit, %3
  tail call void @libmetis__wspacepop(ptr noundef %0) #4
  ret void
}

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

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 = { nofree 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 = { 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 = { 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, !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 = !{!6, !10, i64 16}
!12 = !{!6, !10, i64 40}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !14}


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