; LLVM IR from fcimeson/cbTSP :: cbLKH/SRC (Genetic)

; 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.Node = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, double, double, double, double, double, double, i8, i8, i8 }

@Population = external dso_local global ptr, align 8
@Dimension = external dso_local global i32, align 4
@Fitness = external dso_local global ptr, align 8
@PopulationSize = external dso_local global i32, align 4
@FirstNode = external dso_local global ptr, align 8
@NodeSet = external dso_local global ptr, align 8

; 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

; Function Attrs: nounwind uwtable
define dso_local i32 @ReplacementIndividual(i64 noundef %0) #1 {
  %2 = alloca i32, align 4
  %3 = alloca i64, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  store i64 %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #2
  store i32 2147483647, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #2
  %12 = load i32, ptr @PopulationSize, align 4, !tbaa !9
  %13 = sub nsw i32 %12, 1
  store i32 %13, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #2
  %14 = load ptr, ptr @FirstNode, align 8, !tbaa !11
  store ptr %14, ptr %10, align 8, !tbaa !11
  br label %15

15:                                               ; preds = %23, %1
  %16 = load ptr, ptr %10, align 8, !tbaa !11
  %17 = getelementptr inbounds %struct.Node, ptr %16, i32 0, i32 16
  %18 = load ptr, ptr %17, align 8, !tbaa !13
  %19 = load ptr, ptr %10, align 8, !tbaa !11
  %20 = getelementptr inbounds %struct.Node, ptr %19, i32 0, i32 18
  store ptr %18, ptr %20, align 8, !tbaa !16
  store ptr %18, ptr %10, align 8, !tbaa !11
  %21 = load ptr, ptr @FirstNode, align 8, !tbaa !11
  %22 = icmp ne ptr %18, %21
  br i1 %22, label %23, label %24

23:                                               ; preds = %15
  br label %15, !llvm.loop !17

24:                                               ; preds = %15
  %25 = load i32, ptr @PopulationSize, align 4, !tbaa !9
  %26 = sub nsw i32 %25, 1
  store i32 %26, ptr %4, align 4, !tbaa !9
  br label %27

27:                                               ; preds = %49, %24
  %28 = load i32, ptr %4, align 4, !tbaa !9
  %29 = icmp sge i32 %28, 0
  br i1 %29, label %30, label %38

30:                                               ; preds = %27
  %31 = load ptr, ptr @Fitness, align 8, !tbaa !11
  %32 = load i32, ptr %4, align 4, !tbaa !9
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds i64, ptr %31, i64 %33
  %35 = load i64, ptr %34, align 8, !tbaa !5
  %36 = load i64, ptr %3, align 8, !tbaa !5
  %37 = icmp sgt i64 %35, %36
  br label %38

38:                                               ; preds = %30, %27
  %39 = phi i1 [ false, %27 ], [ %37, %30 ]
  br i1 %39, label %40, label %52

40:                                               ; preds = %38
  %41 = load i32, ptr %4, align 4, !tbaa !9
  %42 = call i32 @DistanceToIndividual(i32 noundef %41)
  store i32 %42, ptr %6, align 4, !tbaa !9
  %43 = load i32, ptr %8, align 4, !tbaa !9
  %44 = icmp slt i32 %42, %43
  br i1 %44, label %45, label %48

45:                                               ; preds = %40
  %46 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %46, ptr %9, align 4, !tbaa !9
  %47 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %47, ptr %8, align 4, !tbaa !9
  br label %48

48:                                               ; preds = %45, %40
  br label %49

49:                                               ; preds = %48
  %50 = load i32, ptr %4, align 4, !tbaa !9
  %51 = add nsw i32 %50, -1
  store i32 %51, ptr %4, align 4, !tbaa !9
  br label %27, !llvm.loop !19

52:                                               ; preds = %38
  %53 = load i32, ptr %9, align 4, !tbaa !9
  %54 = load i32, ptr @PopulationSize, align 4, !tbaa !9
  %55 = sub nsw i32 %54, 1
  %56 = icmp eq i32 %53, %55
  br i1 %56, label %57, label %59

57:                                               ; preds = %52
  %58 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %58, ptr %2, align 4
  store i32 1, ptr %11, align 4
  br label %114

59:                                               ; preds = %52
  %60 = load ptr, ptr @Population, align 8, !tbaa !11
  %61 = load i32, ptr %9, align 4, !tbaa !9
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds ptr, ptr %60, i64 %62
  %64 = load ptr, ptr %63, align 8, !tbaa !11
  store ptr %64, ptr %7, align 8, !tbaa !11
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %65

65:                                               ; preds = %88, %59
  %66 = load i32, ptr %5, align 4, !tbaa !9
  %67 = load i32, ptr @Dimension, align 4, !tbaa !9
  %68 = icmp slt i32 %66, %67
  br i1 %68, label %69, label %91

69:                                               ; preds = %65
  %70 = load ptr, ptr @NodeSet, align 8, !tbaa !11
  %71 = load ptr, ptr %7, align 8, !tbaa !11
  %72 = load i32, ptr %5, align 4, !tbaa !9
  %73 = add nsw i32 %72, 1
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds i32, ptr %71, i64 %74
  %76 = load i32, ptr %75, align 4, !tbaa !9
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds %struct.Node, ptr %70, i64 %77
  %79 = load ptr, ptr @NodeSet, align 8, !tbaa !11
  %80 = load ptr, ptr %7, align 8, !tbaa !11
  %81 = load i32, ptr %5, align 4, !tbaa !9
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds i32, ptr %80, i64 %82
  %84 = load i32, ptr %83, align 4, !tbaa !9
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds %struct.Node, ptr %79, i64 %85
  %87 = getelementptr inbounds %struct.Node, ptr %86, i32 0, i32 18
  store ptr %78, ptr %87, align 8, !tbaa !16
  br label %88

88:                                               ; preds = %69
  %89 = load i32, ptr %5, align 4, !tbaa !9
  %90 = add nsw i32 %89, 1
  store i32 %90, ptr %5, align 4, !tbaa !9
  br label %65, !llvm.loop !20

91:                                               ; preds = %65
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %92

92:                                               ; preds = %109, %91
  %93 = load i32, ptr %4, align 4, !tbaa !9
  %94 = load i32, ptr @PopulationSize, align 4, !tbaa !9
  %95 = icmp slt i32 %93, %94
  br i1 %95, label %96, label %112

96:                                               ; preds = %92
  %97 = load i32, ptr %4, align 4, !tbaa !9
  %98 = load i32, ptr %9, align 4, !tbaa !9
  %99 = icmp ne i32 %97, %98
  br i1 %99, label %100, label %108

100:                                              ; preds = %96
  %101 = load i32, ptr %4, align 4, !tbaa !9
  %102 = call i32 @DistanceToIndividual(i32 noundef %101)
  store i32 %102, ptr %6, align 4, !tbaa !9
  %103 = load i32, ptr %8, align 4, !tbaa !9
  %104 = icmp slt i32 %102, %103
  br i1 %104, label %105, label %108

105:                                              ; preds = %100
  %106 = load i32, ptr @PopulationSize, align 4, !tbaa !9
  %107 = sub nsw i32 %106, 1
  store i32 %107, ptr %2, align 4
  store i32 1, ptr %11, align 4
  br label %114

108:                                              ; preds = %100, %96
  br label %109

109:                                              ; preds = %108
  %110 = load i32, ptr %4, align 4, !tbaa !9
  %111 = add nsw i32 %110, 1
  store i32 %111, ptr %4, align 4, !tbaa !9
  br label %92, !llvm.loop !21

112:                                              ; preds = %92
  %113 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %113, ptr %2, align 4
  store i32 1, ptr %11, align 4
  br label %114

114:                                              ; preds = %112, %105, %57
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #2
  %115 = load i32, ptr %2, align 4
  ret i32 %115
}

; Function Attrs: nounwind uwtable
declare hidden i32 @DistanceToIndividual(i32 noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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, !6, i64 0}
!6 = !{!"long long", !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, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !12, i64 72}
!14 = !{!"Node", !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, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !12, i64 176, !12, i64 184, !12, i64 192, !12, i64 200, !12, i64 208, !12, i64 216, !12, i64 224, !12, i64 232, !12, i64 240, !12, i64 248, !12, i64 256, !12, i64 264, !12, i64 272, !12, i64 280, !12, i64 288, !12, i64 296, !12, i64 304, !15, i64 312, !15, i64 320, !15, i64 328, !15, i64 336, !15, i64 344, !15, i64 352, !7, i64 360, !7, i64 361, !7, i64 362}
!15 = !{!"double", !7, i64 0}
!16 = !{!14, !12, i64 88}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = distinct !{!21, !18}


; 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.Node = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, double, double, double, double, double, double, i8, i8, i8 }

@Population = external dso_local local_unnamed_addr global ptr, align 8
@Dimension = external dso_local local_unnamed_addr global i32, align 4
@Fitness = external dso_local local_unnamed_addr global ptr, align 8
@PopulationSize = external dso_local local_unnamed_addr global i32, align 4
@FirstNode = external dso_local local_unnamed_addr global ptr, align 8
@NodeSet = external dso_local local_unnamed_addr global ptr, align 8

; Function Attrs: nounwind uwtable
define dso_local range(i32 -2147483648, 2147483647) i32 @ReplacementIndividual(i64 noundef %0) local_unnamed_addr #0 {
  %2 = load i32, ptr @PopulationSize, align 4, !tbaa !5
  %3 = load ptr, ptr @FirstNode, align 8, !tbaa !9
  br label %4

4:                                                ; preds = %4, %1
  %.0 = phi ptr [ %3, %1 ], [ %6, %4 ]
  %5 = getelementptr inbounds i8, ptr %.0, i64 72
  %6 = load ptr, ptr %5, align 8, !tbaa !11
  %7 = getelementptr inbounds i8, ptr %.0, i64 88
  store ptr %6, ptr %7, align 8, !tbaa !14
  %.not = icmp eq ptr %6, %3
  br i1 %.not, label %.preheader36, label %4, !llvm.loop !15

.preheader36:                                     ; preds = %4
  %8 = add nsw i32 %2, -1
  %9 = icmp sgt i32 %2, 0
  br i1 %9, label %.lr.ph.preheader, label %.loopexit

.lr.ph.preheader:                                 ; preds = %.preheader36
  %10 = zext nneg i32 %2 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %15
  %indvars.iv = phi i64 [ %10, %.lr.ph.preheader ], [ %indvars.iv.next, %15 ]
  %.02639 = phi i32 [ %8, %.lr.ph.preheader ], [ %spec.select35, %15 ]
  %.02738 = phi i32 [ 2147483647, %.lr.ph.preheader ], [ %spec.select, %15 ]
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %11 = load ptr, ptr @Fitness, align 8, !tbaa !9
  %12 = getelementptr inbounds i64, ptr %11, i64 %indvars.iv.next
  %13 = load i64, ptr %12, align 8, !tbaa !17
  %14 = icmp sgt i64 %13, %0
  br i1 %14, label %15, label %.critedge

15:                                               ; preds = %.lr.ph
  %16 = trunc nuw nsw i64 %indvars.iv.next to i32
  %17 = tail call i32 @DistanceToIndividual(i32 noundef %16)
  %18 = icmp slt i32 %17, %.02738
  %spec.select = tail call i32 @llvm.smin.i32(i32 %17, i32 %.02738)
  %spec.select35 = select i1 %18, i32 %16, i32 %.02639
  %19 = icmp ugt i64 %indvars.iv, 1
  br i1 %19, label %.lr.ph, label %.critedge, !llvm.loop !19

.critedge:                                        ; preds = %.lr.ph, %15
  %.027.lcssa.ph = phi i32 [ %.02738, %.lr.ph ], [ %spec.select, %15 ]
  %.026.lcssa.ph = phi i32 [ %.02639, %.lr.ph ], [ %spec.select35, %15 ]
  %.pre = load i32, ptr @PopulationSize, align 4, !tbaa !5
  %.pre55 = add nsw i32 %.pre, -1
  %20 = icmp eq i32 %.026.lcssa.ph, %.pre55
  br i1 %20, label %.loopexit, label %21

21:                                               ; preds = %.critedge
  %22 = load ptr, ptr @Population, align 8, !tbaa !9
  %23 = sext i32 %.026.lcssa.ph to i64
  %24 = getelementptr inbounds ptr, ptr %22, i64 %23
  %25 = load ptr, ptr %24, align 8, !tbaa !9
  %26 = load i32, ptr @Dimension, align 4, !tbaa !5
  %27 = icmp sgt i32 %26, 0
  br i1 %27, label %.lr.ph46.preheader, label %.preheader

.lr.ph46.preheader:                               ; preds = %21
  %wide.trip.count = zext nneg i32 %26 to i64
  %.pre53 = load i32, ptr %25, align 4, !tbaa !5
  %xtraiter = and i64 %wide.trip.count, 1
  %28 = icmp eq i32 %26, 1
  br i1 %28, label %.preheader.loopexit.unr-lcssa, label %.lr.ph46.preheader.new

.lr.ph46.preheader.new:                           ; preds = %.lr.ph46.preheader
  %unroll_iter = and i64 %wide.trip.count, 2147483646
  br label %.lr.ph46

.preheader.loopexit.unr-lcssa.loopexit:           ; preds = %.lr.ph46
  %29 = add nuw nsw i64 %indvars.iv50, 3
  br label %.preheader.loopexit.unr-lcssa

.preheader.loopexit.unr-lcssa:                    ; preds = %.preheader.loopexit.unr-lcssa.loopexit, %.lr.ph46.preheader
  %.unr = phi i32 [ %.pre53, %.lr.ph46.preheader ], [ %48, %.preheader.loopexit.unr-lcssa.loopexit ]
  %indvars.iv50.unr = phi i64 [ 1, %.lr.ph46.preheader ], [ %29, %.preheader.loopexit.unr-lcssa.loopexit ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader, label %.lr.ph46.epil

.lr.ph46.epil:                                    ; preds = %.preheader.loopexit.unr-lcssa
  %30 = load ptr, ptr @NodeSet, align 8, !tbaa !9
  %31 = getelementptr inbounds i32, ptr %25, i64 %indvars.iv50.unr
  %32 = load i32, ptr %31, align 4, !tbaa !5
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds %struct.Node, ptr %30, i64 %33
  %35 = sext i32 %.unr to i64
  %36 = getelementptr inbounds %struct.Node, ptr %30, i64 %35, i32 18
  store ptr %34, ptr %36, align 8, !tbaa !14
  br label %.preheader

.preheader:                                       ; preds = %.lr.ph46.epil, %.preheader.loopexit.unr-lcssa, %21
  %37 = icmp sgt i32 %.pre, 0
  br i1 %37, label %.lr.ph48, label %.loopexit

.lr.ph46:                                         ; preds = %.lr.ph46, %.lr.ph46.preheader.new
  %38 = phi i32 [ %.pre53, %.lr.ph46.preheader.new ], [ %48, %.lr.ph46 ]
  %indvars.iv50 = phi i64 [ 0, %.lr.ph46.preheader.new ], [ %indvars.iv.next51.1, %.lr.ph46 ]
  %niter = phi i64 [ 0, %.lr.ph46.preheader.new ], [ %niter.next.1, %.lr.ph46 ]
  %39 = load ptr, ptr @NodeSet, align 8, !tbaa !9
  %indvars.iv.next51 = or disjoint i64 %indvars.iv50, 1
  %40 = getelementptr inbounds i32, ptr %25, i64 %indvars.iv.next51
  %41 = load i32, ptr %40, align 4, !tbaa !5
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds %struct.Node, ptr %39, i64 %42
  %44 = sext i32 %38 to i64
  %45 = getelementptr inbounds %struct.Node, ptr %39, i64 %44, i32 18
  store ptr %43, ptr %45, align 8, !tbaa !14
  %46 = load ptr, ptr @NodeSet, align 8, !tbaa !9
  %indvars.iv.next51.1 = add nuw nsw i64 %indvars.iv50, 2
  %47 = getelementptr inbounds i32, ptr %25, i64 %indvars.iv.next51.1
  %48 = load i32, ptr %47, align 4, !tbaa !5
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds %struct.Node, ptr %46, i64 %49
  %51 = sext i32 %41 to i64
  %52 = getelementptr inbounds %struct.Node, ptr %46, i64 %51, i32 18
  store ptr %50, ptr %52, align 8, !tbaa !14
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %.preheader.loopexit.unr-lcssa.loopexit, label %.lr.ph46, !llvm.loop !20

.lr.ph48:                                         ; preds = %.preheader, %59
  %53 = phi i32 [ %60, %59 ], [ %.pre, %.preheader ]
  %.13247 = phi i32 [ %61, %59 ], [ 0, %.preheader ]
  %.not34 = icmp eq i32 %.13247, %.026.lcssa.ph
  br i1 %.not34, label %59, label %54

54:                                               ; preds = %.lr.ph48
  %55 = tail call i32 @DistanceToIndividual(i32 noundef %.13247)
  %56 = icmp slt i32 %55, %.027.lcssa.ph
  %.pre54 = load i32, ptr @PopulationSize, align 4, !tbaa !5
  br i1 %56, label %57, label %59

57:                                               ; preds = %54
  %58 = add nsw i32 %.pre54, -1
  br label %.loopexit

59:                                               ; preds = %.lr.ph48, %54
  %60 = phi i32 [ %53, %.lr.ph48 ], [ %.pre54, %54 ]
  %61 = add nuw nsw i32 %.13247, 1
  %62 = icmp slt i32 %61, %60
  br i1 %62, label %.lr.ph48, label %.loopexit, !llvm.loop !21

.loopexit:                                        ; preds = %59, %.preheader36, %.preheader, %.critedge, %57
  %.029 = phi i32 [ %58, %57 ], [ %.026.lcssa.ph, %.critedge ], [ %.026.lcssa.ph, %.preheader ], [ %8, %.preheader36 ], [ %.026.lcssa.ph, %59 ]
  ret i32 %.029
}

; Function Attrs: nounwind uwtable
declare hidden i32 @DistanceToIndividual(i32 noundef) local_unnamed_addr #0

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 72}
!12 = !{!"Node", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !6, i64 48, !6, i64 52, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, 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, !10, i64 216, !10, i64 224, !10, i64 232, !10, i64 240, !10, i64 248, !10, i64 256, !10, i64 264, !10, i64 272, !10, i64 280, !10, i64 288, !10, i64 296, !10, i64 304, !13, i64 312, !13, i64 320, !13, i64 328, !13, i64 336, !13, i64 344, !13, i64 352, !7, i64 360, !7, i64 361, !7, i64 362}
!13 = !{!"double", !7, i64 0}
!14 = !{!12, !10, i64 88}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !18, i64 0}
!18 = !{!"long long", !7, i64 0}
!19 = distinct !{!19, !16}
!20 = distinct !{!20, !16}
!21 = distinct !{!21, !16}


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