; LLVM IR from siconos/siconos :: externals/lbl/metis4/match.ll_ (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 { i32, i32, i32, i32, i32, i32, float, i32, i32, i32, i32, %struct.workspacedef, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double }
%struct.workspacedef = type { ptr, i32, i32, ptr, ptr, i32, ptr, ptr }
%struct.graphdef = type { ptr, ptr, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, 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 @__seconds() #1

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

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

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

declare void @__idxwspacefree(ptr noundef, i32 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 @__Match_RM_NVW(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %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 4, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  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
  call void @llvm.lifetime.start.p0(i64 4, 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 i32, ptr %17, align 4, !tbaa !9
  %19 = and i32 %18, 1
  %20 = icmp ne i32 %19, 0
  br i1 %20, label %21, label %27

21:                                               ; preds = %2
  %22 = call double @__seconds()
  %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 2
  %30 = load i32, ptr %29, align 8, !tbaa !16
  store i32 %30, ptr %8, align 4, !tbaa !18
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.graphdef, ptr %31, i32 0, i32 4
  %33 = load ptr, ptr %32, align 8, !tbaa !19
  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 7
  %36 = load ptr, ptr %35, align 8, !tbaa !20
  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 11
  %39 = load ptr, ptr %38, align 8, !tbaa !21
  store ptr %39, ptr %14, align 8, !tbaa !5
  %40 = load i32, ptr %8, align 4, !tbaa !18
  %41 = load ptr, ptr %3, align 8, !tbaa !5
  %42 = load i32, ptr %8, align 4, !tbaa !18
  %43 = call ptr @__idxwspacemalloc(ptr noundef %41, i32 noundef %42)
  %44 = call ptr @__idxset(i32 noundef %40, i32 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 i32, ptr %8, align 4, !tbaa !18
  %47 = call ptr @__idxwspacemalloc(ptr noundef %45, i32 noundef %46)
  store ptr %47, ptr %15, align 8, !tbaa !5
  %48 = load i32, ptr %8, align 4, !tbaa !18
  %49 = load ptr, ptr %15, align 8, !tbaa !5
  call void @__RandomPermute(i32 noundef %48, ptr noundef %49, i32 noundef 1)
  store i32 0, ptr %9, align 4, !tbaa !18
  store i32 0, ptr %6, align 4, !tbaa !18
  br label %50

50:                                               ; preds = %125, %27
  %51 = load i32, ptr %6, align 4, !tbaa !18
  %52 = load i32, ptr %8, align 4, !tbaa !18
  %53 = icmp slt i32 %51, %52
  br i1 %53, label %54, label %128

54:                                               ; preds = %50
  %55 = load ptr, ptr %15, align 8, !tbaa !5
  %56 = load i32, ptr %6, align 4, !tbaa !18
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds i32, ptr %55, i64 %57
  %59 = load i32, ptr %58, align 4, !tbaa !18
  store i32 %59, ptr %5, align 4, !tbaa !18
  %60 = load ptr, ptr %13, align 8, !tbaa !5
  %61 = load i32, ptr %5, align 4, !tbaa !18
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds i32, ptr %60, i64 %62
  %64 = load i32, ptr %63, align 4, !tbaa !18
  %65 = icmp eq i32 %64, -1
  br i1 %65, label %66, label %124

66:                                               ; preds = %54
  %67 = load i32, ptr %5, align 4, !tbaa !18
  store i32 %67, ptr %10, align 4, !tbaa !18
  %68 = load ptr, ptr %11, align 8, !tbaa !5
  %69 = load i32, ptr %5, align 4, !tbaa !18
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds i32, ptr %68, i64 %70
  %72 = load i32, ptr %71, align 4, !tbaa !18
  store i32 %72, ptr %7, align 4, !tbaa !18
  br label %73

73:                                               ; preds = %100, %66
  %74 = load i32, ptr %7, align 4, !tbaa !18
  %75 = load ptr, ptr %11, align 8, !tbaa !5
  %76 = load i32, ptr %5, align 4, !tbaa !18
  %77 = add nsw i32 %76, 1
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds i32, ptr %75, i64 %78
  %80 = load i32, ptr %79, align 4, !tbaa !18
  %81 = icmp slt i32 %74, %80
  br i1 %81, label %82, label %103

82:                                               ; preds = %73
  %83 = load ptr, ptr %13, align 8, !tbaa !5
  %84 = load ptr, ptr %12, align 8, !tbaa !5
  %85 = load i32, ptr %7, align 4, !tbaa !18
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds i32, ptr %84, i64 %86
  %88 = load i32, ptr %87, align 4, !tbaa !18
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds i32, ptr %83, i64 %89
  %91 = load i32, ptr %90, align 4, !tbaa !18
  %92 = icmp eq i32 %91, -1
  br i1 %92, label %93, label %99

93:                                               ; preds = %82
  %94 = load ptr, ptr %12, align 8, !tbaa !5
  %95 = load i32, ptr %7, align 4, !tbaa !18
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds i32, ptr %94, i64 %96
  %98 = load i32, ptr %97, align 4, !tbaa !18
  store i32 %98, ptr %10, align 4, !tbaa !18
  br label %103

99:                                               ; preds = %82
  br label %100

100:                                              ; preds = %99
  %101 = load i32, ptr %7, align 4, !tbaa !18
  %102 = add nsw i32 %101, 1
  store i32 %102, ptr %7, align 4, !tbaa !18
  br label %73, !llvm.loop !22

103:                                              ; preds = %93, %73
  %104 = load i32, ptr %9, align 4, !tbaa !18
  %105 = add nsw i32 %104, 1
  store i32 %105, ptr %9, align 4, !tbaa !18
  %106 = load ptr, ptr %14, align 8, !tbaa !5
  %107 = load i32, ptr %10, align 4, !tbaa !18
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds i32, ptr %106, i64 %108
  store i32 %104, ptr %109, align 4, !tbaa !18
  %110 = load ptr, ptr %14, align 8, !tbaa !5
  %111 = load i32, ptr %5, align 4, !tbaa !18
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds i32, ptr %110, i64 %112
  store i32 %104, ptr %113, align 4, !tbaa !18
  %114 = load i32, ptr %10, align 4, !tbaa !18
  %115 = load ptr, ptr %13, align 8, !tbaa !5
  %116 = load i32, ptr %5, align 4, !tbaa !18
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds i32, ptr %115, i64 %117
  store i32 %114, ptr %118, align 4, !tbaa !18
  %119 = load i32, ptr %5, align 4, !tbaa !18
  %120 = load ptr, ptr %13, align 8, !tbaa !5
  %121 = load i32, ptr %10, align 4, !tbaa !18
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds i32, ptr %120, i64 %122
  store i32 %119, ptr %123, align 4, !tbaa !18
  br label %124

124:                                              ; preds = %103, %54
  br label %125

125:                                              ; preds = %124
  %126 = load i32, ptr %6, align 4, !tbaa !18
  %127 = add nsw i32 %126, 1
  store i32 %127, ptr %6, align 4, !tbaa !18
  br label %50, !llvm.loop !24

128:                                              ; preds = %50
  %129 = load ptr, ptr %3, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.controldef, ptr %129, i32 0, i32 1
  %131 = load i32, ptr %130, align 4, !tbaa !9
  %132 = and i32 %131, 1
  %133 = icmp ne i32 %132, 0
  br i1 %133, label %134, label %140

134:                                              ; preds = %128
  %135 = call double @__seconds()
  %136 = load ptr, ptr %3, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.controldef, ptr %136, i32 0, i32 14
  %138 = load double, ptr %137, align 8, !tbaa !15
  %139 = fadd double %138, %135
  store double %139, ptr %137, align 8, !tbaa !15
  br label %140

140:                                              ; preds = %134, %128
  %141 = load ptr, ptr %3, align 8, !tbaa !5
  %142 = load ptr, ptr %4, align 8, !tbaa !5
  %143 = load i32, ptr %9, align 4, !tbaa !18
  %144 = load ptr, ptr %13, align 8, !tbaa !5
  %145 = load ptr, ptr %15, align 8, !tbaa !5
  call void @__CreateCoarseGraph_NVW(ptr noundef %141, ptr noundef %142, i32 noundef %143, ptr noundef %144, ptr noundef %145)
  %146 = load ptr, ptr %3, align 8, !tbaa !5
  %147 = load i32, ptr %8, align 4, !tbaa !18
  call void @__idxwspacefree(ptr noundef %146, i32 noundef %147)
  %148 = load ptr, ptr %3, align 8, !tbaa !5
  %149 = load i32, ptr %8, align 4, !tbaa !18
  call void @__idxwspacefree(ptr noundef %148, i32 noundef %149)
  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 4, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  ret void
}

declare void @__CreateCoarseGraph_NVW(ptr noundef, ptr noundef, i32 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 4}
!10 = !{!"controldef", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !12, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !13, i64 48, !14, i64 104, !14, i64 112, !14, i64 120, !14, 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}
!11 = !{!"int", !7, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!"workspacedef", !6, i64 0, !11, i64 8, !11, i64 12, !6, i64 16, !6, i64 24, !11, i64 32, !6, i64 40, !6, i64 48}
!14 = !{!"double", !7, i64 0}
!15 = !{!10, !14, i64 120}
!16 = !{!17, !11, i64 16}
!17 = !{!"graphdef", !6, i64 0, !6, i64 8, !11, i64 16, !11, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !11, i64 88, !11, i64 92, !6, i64 96, !6, i64 104, !11, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !11, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208}
!18 = !{!11, !11, i64 0}
!19 = !{!17, !6, i64 24}
!20 = !{!17, !6, i64 48}
!21 = !{!17, !6, i64 80}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}


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

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

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

declare void @__RandomPermute(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

declare void @__idxwspacefree(ptr noundef, i32 noundef) local_unnamed_addr #0

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

6:                                                ; preds = %2
  %7 = tail call double @__seconds() #2
  %8 = getelementptr inbounds i8, ptr %0, i64 120
  %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 = getelementptr inbounds i8, ptr %1, i64 16
  %13 = load i32, ptr %12, align 8, !tbaa !15
  %14 = getelementptr inbounds i8, ptr %1, i64 24
  %15 = load ptr, ptr %14, align 8, !tbaa !17
  %16 = getelementptr inbounds i8, ptr %1, i64 48
  %17 = load ptr, ptr %16, align 8, !tbaa !18
  %18 = getelementptr inbounds i8, ptr %1, i64 80
  %19 = load ptr, ptr %18, align 8, !tbaa !19
  %20 = tail call ptr @__idxwspacemalloc(ptr noundef nonnull %0, i32 noundef %13) #2
  %21 = tail call ptr @__idxset(i32 noundef %13, i32 noundef -1, ptr noundef %20) #2
  %22 = tail call ptr @__idxwspacemalloc(ptr noundef nonnull %0, i32 noundef %13) #2
  tail call void @__RandomPermute(i32 noundef %13, ptr noundef %22, i32 noundef 1) #2
  %23 = icmp sgt i32 %13, 0
  br i1 %23, label %.lr.ph64.preheader, label %._crit_edge65

.lr.ph64.preheader:                               ; preds = %11
  %wide.trip.count = zext nneg i32 %13 to i64
  br label %.lr.ph64

.lr.ph64:                                         ; preds = %.lr.ph64.preheader, %48
  %indvars.iv68 = phi i64 [ 0, %.lr.ph64.preheader ], [ %indvars.iv.next69, %48 ]
  %.05461 = phi i32 [ 0, %.lr.ph64.preheader ], [ %.1, %48 ]
  %24 = getelementptr inbounds i32, ptr %22, i64 %indvars.iv68
  %25 = load i32, ptr %24, align 4, !tbaa !20
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds i32, ptr %21, i64 %26
  %28 = load i32, ptr %27, align 4, !tbaa !20
  %29 = icmp eq i32 %28, -1
  br i1 %29, label %30, label %48

30:                                               ; preds = %.lr.ph64
  %31 = getelementptr inbounds i32, ptr %15, i64 %26
  %32 = load i32, ptr %31, align 4, !tbaa !20
  %33 = getelementptr i8, ptr %31, i64 4
  %34 = load i32, ptr %33, align 4, !tbaa !20
  %35 = icmp slt i32 %32, %34
  br i1 %35, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %30
  %36 = sext i32 %32 to i64
  br label %.lr.ph

37:                                               ; preds = %.lr.ph
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next to i32
  %exitcond.not = icmp eq i32 %34, %lftr.wideiv
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !21

.lr.ph:                                           ; preds = %.lr.ph.preheader, %37
  %indvars.iv = phi i64 [ %36, %.lr.ph.preheader ], [ %indvars.iv.next, %37 ]
  %38 = getelementptr inbounds i32, ptr %17, i64 %indvars.iv
  %39 = load i32, ptr %38, align 4, !tbaa !20
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds i32, ptr %21, i64 %40
  %42 = load i32, ptr %41, align 4, !tbaa !20
  %43 = icmp eq i32 %42, -1
  br i1 %43, label %._crit_edge, label %37

._crit_edge:                                      ; preds = %37, %.lr.ph, %30
  %.pre-phi = phi i64 [ %26, %30 ], [ %26, %37 ], [ %40, %.lr.ph ]
  %.055 = phi i32 [ %25, %30 ], [ %25, %37 ], [ %39, %.lr.ph ]
  %44 = add nsw i32 %.05461, 1
  %45 = getelementptr inbounds i32, ptr %19, i64 %.pre-phi
  store i32 %.05461, ptr %45, align 4, !tbaa !20
  %46 = getelementptr inbounds i32, ptr %19, i64 %26
  store i32 %.05461, ptr %46, align 4, !tbaa !20
  store i32 %.055, ptr %27, align 4, !tbaa !20
  %47 = getelementptr inbounds i32, ptr %21, i64 %.pre-phi
  store i32 %25, ptr %47, align 4, !tbaa !20
  br label %48

48:                                               ; preds = %.lr.ph64, %._crit_edge
  %.1 = phi i32 [ %44, %._crit_edge ], [ %.05461, %.lr.ph64 ]
  %indvars.iv.next69 = add nuw nsw i64 %indvars.iv68, 1
  %exitcond71.not = icmp eq i64 %indvars.iv.next69, %wide.trip.count
  br i1 %exitcond71.not, label %._crit_edge65, label %.lr.ph64, !llvm.loop !23

._crit_edge65:                                    ; preds = %48, %11
  %.054.lcssa = phi i32 [ 0, %11 ], [ %.1, %48 ]
  %49 = load i32, ptr %3, align 4, !tbaa !5
  %50 = and i32 %49, 1
  %.not57 = icmp eq i32 %50, 0
  br i1 %.not57, label %56, label %51

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

56:                                               ; preds = %51, %._crit_edge65
  tail call void @__CreateCoarseGraph_NVW(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %.054.lcssa, ptr noundef %21, ptr noundef %22) #2
  tail call void @__idxwspacefree(ptr noundef nonnull %0, i32 noundef %13) #2
  tail call void @__idxwspacefree(ptr noundef nonnull %0, i32 noundef %13) #2
  ret void
}

declare void @__CreateCoarseGraph_NVW(ptr noundef, ptr noundef, i32 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 4}
!6 = !{!"controldef", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !10, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !11, i64 48, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !13, i64 144, !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}
!7 = !{!"int", !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 12, !12, i64 16, !12, i64 24, !7, i64 32, !12, i64 40, !12, i64 48}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"double", !8, i64 0}
!14 = !{!6, !13, i64 120}
!15 = !{!16, !7, i64 16}
!16 = !{!"graphdef", !12, i64 0, !12, i64 8, !7, i64 16, !7, i64 20, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !7, i64 88, !7, i64 92, !12, i64 96, !12, i64 104, !7, i64 112, !12, i64 120, !12, i64 128, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !7, i64 176, !12, i64 184, !12, i64 192, !12, i64 200, !12, i64 208}
!17 = !{!16, !12, i64 24}
!18 = !{!16, !12, i64 48}
!19 = !{!16, !12, i64 80}
!20 = !{!7, !7, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}


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