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

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

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

declare double @gk_CPUSeconds() #1

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

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

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

declare void @libmetis__idxwspacefree(ptr noundef, i64 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__Match_RM_NVW(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, 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 ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.controldef, ptr %16, i32 0, i32 1
  %18 = load i64, ptr %17, align 8, !tbaa !9
  %19 = and i64 %18, 1
  %20 = icmp ne i64 %19, 0
  br i1 %20, label %21, label %27

21:                                               ; preds = %2
  %22 = call double @gk_CPUSeconds()
  %23 = load ptr, ptr %3, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.controldef, ptr %23, i32 0, i32 14
  %25 = load double, ptr %24, align 8, !tbaa !15
  %26 = fsub double %25, %22
  store double %26, ptr %24, align 8, !tbaa !15
  br label %27

27:                                               ; preds = %21, %2
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.graphdef, ptr %28, i32 0, i32 0
  %30 = load i64, ptr %29, align 8, !tbaa !16
  store i64 %30, ptr %8, align 8, !tbaa !19
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.graphdef, ptr %31, i32 0, i32 2
  %33 = load ptr, ptr %32, align 8, !tbaa !20
  store ptr %33, ptr %11, align 8, !tbaa !5
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.graphdef, ptr %34, i32 0, i32 5
  %36 = load ptr, ptr %35, align 8, !tbaa !21
  store ptr %36, ptr %12, align 8, !tbaa !5
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.graphdef, ptr %37, i32 0, i32 15
  %39 = load ptr, ptr %38, align 8, !tbaa !22
  store ptr %39, ptr %14, align 8, !tbaa !5
  %40 = load i64, ptr %8, align 8, !tbaa !19
  %41 = load ptr, ptr %3, align 8, !tbaa !5
  %42 = load i64, ptr %8, align 8, !tbaa !19
  %43 = call ptr @libmetis__idxwspacemalloc(ptr noundef %41, i64 noundef %42)
  %44 = call ptr @libmetis__idxset(i64 noundef %40, i64 noundef -1, ptr noundef %43)
  store ptr %44, ptr %13, align 8, !tbaa !5
  %45 = load ptr, ptr %3, align 8, !tbaa !5
  %46 = load i64, ptr %8, align 8, !tbaa !19
  %47 = call ptr @libmetis__idxwspacemalloc(ptr noundef %45, i64 noundef %46)
  store ptr %47, ptr %15, align 8, !tbaa !5
  %48 = load i64, ptr %8, align 8, !tbaa !19
  %49 = load ptr, ptr %15, align 8, !tbaa !5
  call void @libmetis__RandomPermute(i64 noundef %48, ptr noundef %49, i64 noundef 1)
  store i64 0, ptr %9, align 8, !tbaa !19
  store i64 0, ptr %6, align 8, !tbaa !19
  br label %50

50:                                               ; preds = %114, %27
  %51 = load i64, ptr %6, align 8, !tbaa !19
  %52 = load i64, ptr %8, align 8, !tbaa !19
  %53 = icmp slt i64 %51, %52
  br i1 %53, label %54, label %117

54:                                               ; preds = %50
  %55 = load ptr, ptr %15, align 8, !tbaa !5
  %56 = load i64, ptr %6, align 8, !tbaa !19
  %57 = getelementptr inbounds i64, ptr %55, i64 %56
  %58 = load i64, ptr %57, align 8, !tbaa !19
  store i64 %58, ptr %5, align 8, !tbaa !19
  %59 = load ptr, ptr %13, align 8, !tbaa !5
  %60 = load i64, ptr %5, align 8, !tbaa !19
  %61 = getelementptr inbounds i64, ptr %59, i64 %60
  %62 = load i64, ptr %61, align 8, !tbaa !19
  %63 = icmp eq i64 %62, -1
  br i1 %63, label %64, label %113

64:                                               ; preds = %54
  %65 = load i64, ptr %5, align 8, !tbaa !19
  store i64 %65, ptr %10, align 8, !tbaa !19
  %66 = load ptr, ptr %11, align 8, !tbaa !5
  %67 = load i64, ptr %5, align 8, !tbaa !19
  %68 = getelementptr inbounds i64, ptr %66, i64 %67
  %69 = load i64, ptr %68, align 8, !tbaa !19
  store i64 %69, ptr %7, align 8, !tbaa !19
  br label %70

70:                                               ; preds = %93, %64
  %71 = load i64, ptr %7, align 8, !tbaa !19
  %72 = load ptr, ptr %11, align 8, !tbaa !5
  %73 = load i64, ptr %5, align 8, !tbaa !19
  %74 = add nsw i64 %73, 1
  %75 = getelementptr inbounds i64, ptr %72, i64 %74
  %76 = load i64, ptr %75, align 8, !tbaa !19
  %77 = icmp slt i64 %71, %76
  br i1 %77, label %78, label %96

78:                                               ; preds = %70
  %79 = load ptr, ptr %13, align 8, !tbaa !5
  %80 = load ptr, ptr %12, align 8, !tbaa !5
  %81 = load i64, ptr %7, align 8, !tbaa !19
  %82 = getelementptr inbounds i64, ptr %80, i64 %81
  %83 = load i64, ptr %82, align 8, !tbaa !19
  %84 = getelementptr inbounds i64, ptr %79, i64 %83
  %85 = load i64, ptr %84, align 8, !tbaa !19
  %86 = icmp eq i64 %85, -1
  br i1 %86, label %87, label %92

87:                                               ; preds = %78
  %88 = load ptr, ptr %12, align 8, !tbaa !5
  %89 = load i64, ptr %7, align 8, !tbaa !19
  %90 = getelementptr inbounds i64, ptr %88, i64 %89
  %91 = load i64, ptr %90, align 8, !tbaa !19
  store i64 %91, ptr %10, align 8, !tbaa !19
  br label %96

92:                                               ; preds = %78
  br label %93

93:                                               ; preds = %92
  %94 = load i64, ptr %7, align 8, !tbaa !19
  %95 = add nsw i64 %94, 1
  store i64 %95, ptr %7, align 8, !tbaa !19
  br label %70, !llvm.loop !23

96:                                               ; preds = %87, %70
  %97 = load i64, ptr %9, align 8, !tbaa !19
  %98 = add nsw i64 %97, 1
  store i64 %98, ptr %9, align 8, !tbaa !19
  %99 = load ptr, ptr %14, align 8, !tbaa !5
  %100 = load i64, ptr %10, align 8, !tbaa !19
  %101 = getelementptr inbounds i64, ptr %99, i64 %100
  store i64 %97, ptr %101, align 8, !tbaa !19
  %102 = load ptr, ptr %14, align 8, !tbaa !5
  %103 = load i64, ptr %5, align 8, !tbaa !19
  %104 = getelementptr inbounds i64, ptr %102, i64 %103
  store i64 %97, ptr %104, align 8, !tbaa !19
  %105 = load i64, ptr %10, align 8, !tbaa !19
  %106 = load ptr, ptr %13, align 8, !tbaa !5
  %107 = load i64, ptr %5, align 8, !tbaa !19
  %108 = getelementptr inbounds i64, ptr %106, i64 %107
  store i64 %105, ptr %108, align 8, !tbaa !19
  %109 = load i64, ptr %5, align 8, !tbaa !19
  %110 = load ptr, ptr %13, align 8, !tbaa !5
  %111 = load i64, ptr %10, align 8, !tbaa !19
  %112 = getelementptr inbounds i64, ptr %110, i64 %111
  store i64 %109, ptr %112, align 8, !tbaa !19
  br label %113

113:                                              ; preds = %96, %54
  br label %114

114:                                              ; preds = %113
  %115 = load i64, ptr %6, align 8, !tbaa !19
  %116 = add nsw i64 %115, 1
  store i64 %116, ptr %6, align 8, !tbaa !19
  br label %50, !llvm.loop !25

117:                                              ; preds = %50
  %118 = load ptr, ptr %3, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.controldef, ptr %118, i32 0, i32 1
  %120 = load i64, ptr %119, align 8, !tbaa !9
  %121 = and i64 %120, 1
  %122 = icmp ne i64 %121, 0
  br i1 %122, label %123, label %129

123:                                              ; preds = %117
  %124 = call double @gk_CPUSeconds()
  %125 = load ptr, ptr %3, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.controldef, ptr %125, i32 0, i32 14
  %127 = load double, ptr %126, align 8, !tbaa !15
  %128 = fadd double %127, %124
  store double %128, ptr %126, align 8, !tbaa !15
  br label %129

129:                                              ; preds = %123, %117
  %130 = load ptr, ptr %3, align 8, !tbaa !5
  %131 = load ptr, ptr %4, align 8, !tbaa !5
  %132 = load i64, ptr %9, align 8, !tbaa !19
  %133 = load ptr, ptr %13, align 8, !tbaa !5
  %134 = load ptr, ptr %15, align 8, !tbaa !5
  call void @libmetis__CreateCoarseGraph_NVW(ptr noundef %130, ptr noundef %131, i64 noundef %132, ptr noundef %133, ptr noundef %134)
  %135 = load ptr, ptr %3, align 8, !tbaa !5
  %136 = load i64, ptr %8, align 8, !tbaa !19
  call void @libmetis__idxwspacefree(ptr noundef %135, i64 noundef %136)
  %137 = load ptr, ptr %3, align 8, !tbaa !5
  %138 = load i64, ptr %8, align 8, !tbaa !19
  call void @libmetis__idxwspacefree(ptr noundef %137, i64 noundef %138)
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  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 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  ret void
}

declare void @libmetis__CreateCoarseGraph_NVW(ptr noundef, ptr noundef, i64 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, !11, i64 8}
!10 = !{!"controldef", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !12, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !13, i64 88, !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, !14, i64 232, !14, i64 240, !14, i64 248, !14, i64 256, !14, i64 264, !14, i64 272}
!11 = !{!"long", !7, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!"workspacedef", !6, i64 0, !11, i64 8, !11, i64 16, !6, i64 24, !6, i64 32, !11, i64 40, !6, i64 48, !6, i64 56}
!14 = !{!"double", !7, i64 0}
!15 = !{!10, !14, i64 168}
!16 = !{!17, !11, i64 0}
!17 = !{!"graphdef", !11, i64 0, !11, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !18, i64 56, !18, i64 60, !18, i64 64, !18, i64 68, !18, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !11, i64 112, !11, i64 120, !6, i64 128, !6, i64 136, !11, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !11, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240}
!18 = !{!"int", !7, i64 0}
!19 = !{!11, !11, i64 0}
!20 = !{!17, !6, i64 16}
!21 = !{!17, !6, i64 40}
!22 = !{!17, !6, i64 104}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}


; 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 double @gk_CPUSeconds() local_unnamed_addr #0

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

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

declare void @libmetis__RandomPermute(i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

declare void @libmetis__idxwspacefree(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @libmetis__Match_RM_NVW(ptr noundef %0, ptr noundef %1) local_unnamed_addr #1 {
  %3 = getelementptr inbounds i8, ptr %0, i64 8
  %4 = load i64, ptr %3, align 8, !tbaa !5
  %5 = and i64 %4, 1
  %.not = icmp eq i64 %5, 0
  br i1 %.not, label %11, label %6

6:                                                ; preds = %2
  %7 = tail call double @gk_CPUSeconds() #2
  %8 = getelementptr inbounds i8, ptr %0, i64 168
  %9 = load double, ptr %8, align 8, !tbaa !14
  %10 = fsub double %9, %7
  store double %10, ptr %8, align 8, !tbaa !14
  br label %11

11:                                               ; preds = %6, %2
  %12 = load i64, ptr %1, align 8, !tbaa !15
  %13 = getelementptr inbounds i8, ptr %1, i64 16
  %14 = load ptr, ptr %13, align 8, !tbaa !18
  %15 = getelementptr inbounds i8, ptr %1, i64 40
  %16 = load ptr, ptr %15, align 8, !tbaa !19
  %17 = getelementptr inbounds i8, ptr %1, i64 104
  %18 = load ptr, ptr %17, align 8, !tbaa !20
  %19 = tail call ptr @libmetis__idxwspacemalloc(ptr noundef nonnull %0, i64 noundef %12) #2
  %20 = tail call ptr @libmetis__idxset(i64 noundef %12, i64 noundef -1, ptr noundef %19) #2
  %21 = tail call ptr @libmetis__idxwspacemalloc(ptr noundef nonnull %0, i64 noundef %12) #2
  tail call void @libmetis__RandomPermute(i64 noundef %12, ptr noundef %21, i64 noundef 1) #2
  %22 = icmp sgt i64 %12, 0
  br i1 %22, label %.lr.ph64, label %._crit_edge65

.lr.ph64:                                         ; preds = %11, %45
  %.062 = phi i64 [ %46, %45 ], [ 0, %11 ]
  %.05461 = phi i64 [ %.1, %45 ], [ 0, %11 ]
  %23 = getelementptr inbounds i64, ptr %21, i64 %.062
  %24 = load i64, ptr %23, align 8, !tbaa !21
  %25 = getelementptr inbounds i64, ptr %20, i64 %24
  %26 = load i64, ptr %25, align 8, !tbaa !21
  %27 = icmp eq i64 %26, -1
  br i1 %27, label %28, label %45

28:                                               ; preds = %.lr.ph64
  %29 = getelementptr inbounds i64, ptr %14, i64 %24
  %30 = load i64, ptr %29, align 8, !tbaa !21
  %31 = getelementptr i8, ptr %29, i64 8
  %32 = load i64, ptr %31, align 8, !tbaa !21
  %33 = icmp slt i64 %30, %32
  br i1 %33, label %.lr.ph, label %._crit_edge

34:                                               ; preds = %.lr.ph
  %35 = add i64 %.05358, 1
  %exitcond.not = icmp eq i64 %35, %32
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !22

.lr.ph:                                           ; preds = %28, %34
  %.05358 = phi i64 [ %35, %34 ], [ %30, %28 ]
  %36 = getelementptr inbounds i64, ptr %16, i64 %.05358
  %37 = load i64, ptr %36, align 8, !tbaa !21
  %38 = getelementptr inbounds i64, ptr %20, i64 %37
  %39 = load i64, ptr %38, align 8, !tbaa !21
  %40 = icmp eq i64 %39, -1
  br i1 %40, label %._crit_edge, label %34

._crit_edge:                                      ; preds = %34, %.lr.ph, %28
  %.055 = phi i64 [ %24, %28 ], [ %37, %.lr.ph ], [ %24, %34 ]
  %41 = add nsw i64 %.05461, 1
  %42 = getelementptr inbounds i64, ptr %18, i64 %.055
  store i64 %.05461, ptr %42, align 8, !tbaa !21
  %43 = getelementptr inbounds i64, ptr %18, i64 %24
  store i64 %.05461, ptr %43, align 8, !tbaa !21
  store i64 %.055, ptr %25, align 8, !tbaa !21
  %44 = getelementptr inbounds i64, ptr %20, i64 %.055
  store i64 %24, ptr %44, align 8, !tbaa !21
  br label %45

45:                                               ; preds = %.lr.ph64, %._crit_edge
  %.1 = phi i64 [ %41, %._crit_edge ], [ %.05461, %.lr.ph64 ]
  %46 = add nuw nsw i64 %.062, 1
  %exitcond67.not = icmp eq i64 %46, %12
  br i1 %exitcond67.not, label %._crit_edge65, label %.lr.ph64, !llvm.loop !24

._crit_edge65:                                    ; preds = %45, %11
  %.054.lcssa = phi i64 [ 0, %11 ], [ %.1, %45 ]
  %47 = load i64, ptr %3, align 8, !tbaa !5
  %48 = and i64 %47, 1
  %.not57 = icmp eq i64 %48, 0
  br i1 %.not57, label %54, label %49

49:                                               ; preds = %._crit_edge65
  %50 = tail call double @gk_CPUSeconds() #2
  %51 = getelementptr inbounds i8, ptr %0, i64 168
  %52 = load double, ptr %51, align 8, !tbaa !14
  %53 = fadd double %50, %52
  store double %53, ptr %51, align 8, !tbaa !14
  br label %54

54:                                               ; preds = %49, %._crit_edge65
  tail call void @libmetis__CreateCoarseGraph_NVW(ptr noundef nonnull %0, ptr noundef nonnull %1, i64 noundef %.054.lcssa, ptr noundef %20, ptr noundef %21) #2
  tail call void @libmetis__idxwspacefree(ptr noundef nonnull %0, i64 noundef %12) #2
  tail call void @libmetis__idxwspacefree(ptr noundef nonnull %0, i64 noundef %12) #2
  ret void
}

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


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