; LLVM IR from Thre4dripper/DSA-Programs :: 05. Doubly Linked Lists/Replacing.ll (Z16replaceFromIndexiiPP4NodeS1_Pi)

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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%struct.Node = type { i32, ptr, ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.3 = external hidden unnamed_addr constant [14 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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #1

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z16replaceFromIndexiiPP4NodeS1_Pi(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #2 {
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  store i32 %0, ptr %6, align 4, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !9
  store ptr %4, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  %17 = load i32, ptr %7, align 4, !tbaa !5
  %18 = icmp sge i32 %17, 0
  br i1 %18, label %19, label %115

19:                                               ; preds = %5
  %20 = load i32, ptr %7, align 4, !tbaa !5
  %21 = load ptr, ptr %10, align 8, !tbaa !9
  %22 = load i32, ptr %21, align 4, !tbaa !5
  %23 = icmp slt i32 %20, %22
  br i1 %23, label %24, label %115

24:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %25 = load i32, ptr %7, align 4, !tbaa !5
  %26 = load ptr, ptr %10, align 8, !tbaa !9
  %27 = load i32, ptr %26, align 4, !tbaa !5
  %28 = sdiv i32 %27, 2
  %29 = icmp sle i32 %25, %28
  br i1 %29, label %30, label %69

30:                                               ; preds = %24
  %31 = load i32, ptr %7, align 4, !tbaa !5
  %32 = icmp eq i32 %31, 0
  br i1 %32, label %33, label %42

33:                                               ; preds = %30
  %34 = load ptr, ptr %8, align 8, !tbaa !9
  %35 = load ptr, ptr %34, align 8, !tbaa !9
  store ptr %35, ptr %12, align 8, !tbaa !9
  %36 = load ptr, ptr %12, align 8, !tbaa !9
  %37 = getelementptr inbounds %struct.Node, ptr %36, i32 0, i32 0
  %38 = load i32, ptr %37, align 8, !tbaa !11
  store i32 %38, ptr %11, align 4, !tbaa !5
  %39 = load i32, ptr %6, align 4, !tbaa !5
  %40 = load ptr, ptr %12, align 8, !tbaa !9
  %41 = getelementptr inbounds %struct.Node, ptr %40, i32 0, i32 0
  store i32 %39, ptr %41, align 8, !tbaa !11
  br label %68

42:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %43 = load ptr, ptr %8, align 8, !tbaa !9
  %44 = load ptr, ptr %43, align 8, !tbaa !9
  store ptr %44, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %45

45:                                               ; preds = %55, %42
  %46 = load i32, ptr %14, align 4, !tbaa !5
  %47 = load i32, ptr %7, align 4, !tbaa !5
  %48 = sub nsw i32 %47, 1
  %49 = icmp slt i32 %46, %48
  br i1 %49, label %51, label %50

50:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  br label %58

51:                                               ; preds = %45
  %52 = load ptr, ptr %13, align 8, !tbaa !9
  %53 = getelementptr inbounds %struct.Node, ptr %52, i32 0, i32 1
  %54 = load ptr, ptr %53, align 8, !tbaa !13
  store ptr %54, ptr %13, align 8, !tbaa !9
  br label %55

55:                                               ; preds = %51
  %56 = load i32, ptr %14, align 4, !tbaa !5
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr %14, align 4, !tbaa !5
  br label %45, !llvm.loop !14

58:                                               ; preds = %50
  %59 = load ptr, ptr %13, align 8, !tbaa !9
  %60 = getelementptr inbounds %struct.Node, ptr %59, i32 0, i32 1
  %61 = load ptr, ptr %60, align 8, !tbaa !13
  store ptr %61, ptr %12, align 8, !tbaa !9
  %62 = load ptr, ptr %12, align 8, !tbaa !9
  %63 = getelementptr inbounds %struct.Node, ptr %62, i32 0, i32 0
  %64 = load i32, ptr %63, align 8, !tbaa !11
  store i32 %64, ptr %11, align 4, !tbaa !5
  %65 = load i32, ptr %6, align 4, !tbaa !5
  %66 = load ptr, ptr %12, align 8, !tbaa !9
  %67 = getelementptr inbounds %struct.Node, ptr %66, i32 0, i32 0
  store i32 %65, ptr %67, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  br label %68

68:                                               ; preds = %58, %33
  br label %114

69:                                               ; preds = %24
  %70 = load i32, ptr %7, align 4, !tbaa !5
  %71 = load ptr, ptr %10, align 8, !tbaa !9
  %72 = load i32, ptr %71, align 4, !tbaa !5
  %73 = sub nsw i32 %72, 1
  %74 = icmp eq i32 %70, %73
  br i1 %74, label %75, label %84

75:                                               ; preds = %69
  %76 = load ptr, ptr %9, align 8, !tbaa !9
  %77 = load ptr, ptr %76, align 8, !tbaa !9
  store ptr %77, ptr %12, align 8, !tbaa !9
  %78 = load ptr, ptr %12, align 8, !tbaa !9
  %79 = getelementptr inbounds %struct.Node, ptr %78, i32 0, i32 0
  %80 = load i32, ptr %79, align 8, !tbaa !11
  store i32 %80, ptr %11, align 4, !tbaa !5
  %81 = load i32, ptr %6, align 4, !tbaa !5
  %82 = load ptr, ptr %12, align 8, !tbaa !9
  %83 = getelementptr inbounds %struct.Node, ptr %82, i32 0, i32 0
  store i32 %81, ptr %83, align 8, !tbaa !11
  br label %113

84:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  %85 = load ptr, ptr %9, align 8, !tbaa !9
  %86 = load ptr, ptr %85, align 8, !tbaa !9
  store ptr %86, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  %87 = load ptr, ptr %10, align 8, !tbaa !9
  %88 = load i32, ptr %87, align 4, !tbaa !5
  %89 = sub nsw i32 %88, 1
  store i32 %89, ptr %16, align 4, !tbaa !5
  br label %90

90:                                               ; preds = %100, %84
  %91 = load i32, ptr %16, align 4, !tbaa !5
  %92 = load i32, ptr %7, align 4, !tbaa !5
  %93 = add nsw i32 %92, 1
  %94 = icmp sgt i32 %91, %93
  br i1 %94, label %96, label %95

95:                                               ; preds = %90
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  br label %103

96:                                               ; preds = %90
  %97 = load ptr, ptr %15, align 8, !tbaa !9
  %98 = getelementptr inbounds %struct.Node, ptr %97, i32 0, i32 2
  %99 = load ptr, ptr %98, align 8, !tbaa !16
  store ptr %99, ptr %15, align 8, !tbaa !9
  br label %100

100:                                              ; preds = %96
  %101 = load i32, ptr %16, align 4, !tbaa !5
  %102 = add nsw i32 %101, -1
  store i32 %102, ptr %16, align 4, !tbaa !5
  br label %90, !llvm.loop !17

103:                                              ; preds = %95
  %104 = load ptr, ptr %15, align 8, !tbaa !9
  %105 = getelementptr inbounds %struct.Node, ptr %104, i32 0, i32 2
  %106 = load ptr, ptr %105, align 8, !tbaa !16
  store ptr %106, ptr %12, align 8, !tbaa !9
  %107 = load ptr, ptr %12, align 8, !tbaa !9
  %108 = getelementptr inbounds %struct.Node, ptr %107, i32 0, i32 0
  %109 = load i32, ptr %108, align 8, !tbaa !11
  store i32 %109, ptr %11, align 4, !tbaa !5
  %110 = load i32, ptr %6, align 4, !tbaa !5
  %111 = load ptr, ptr %12, align 8, !tbaa !9
  %112 = getelementptr inbounds %struct.Node, ptr %111, i32 0, i32 0
  store i32 %110, ptr %112, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  br label %113

113:                                              ; preds = %103, %75
  br label %114

114:                                              ; preds = %113, %68
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  br label %118

115:                                              ; preds = %19, %5
  %116 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %116, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %118

118:                                              ; preds = %115, %114
  %119 = load i32, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  ret i32 %119
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress 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 = { mustprogress 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTS4Node", !6, i64 0, !10, i64 8, !10, i64 16}
!13 = !{!12, !10, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!12, !10, i64 16}
!17 = distinct !{!17, !15}


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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.3 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #0

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z16replaceFromIndexiiPP4NodeS1_Pi(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef readonly %4) local_unnamed_addr #1 {
  %6 = icmp sgt i32 %1, -1
  br i1 %6, label %7, label %36

7:                                                ; preds = %5
  %8 = load i32, ptr %4, align 4, !tbaa !5
  %9 = icmp sgt i32 %8, %1
  br i1 %9, label %10, label %36

10:                                               ; preds = %7
  %11 = lshr i32 %8, 1
  %.not = icmp ult i32 %11, %1
  br i1 %.not, label %27, label %12

12:                                               ; preds = %10
  %13 = load ptr, ptr %2, align 8, !tbaa !9
  switch i32 %1, label %.lr.ph.preheader [
    i32 0, label %40
    i32 1, label %._crit_edge
  ]

.lr.ph.preheader:                                 ; preds = %12
  %14 = add nsw i32 %1, -2
  %15 = add nsw i32 %1, -1
  %xtraiter = and i32 %15, 7
  %16 = icmp ult i32 %14, 7
  br i1 %16, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i32 %15, -8
  br label %.lr.ph

._crit_edge.loopexit.unr-lcssa:                   ; preds = %.lr.ph, %.lr.ph.preheader
  %.037.lcssa61.ph = phi ptr [ poison, %.lr.ph.preheader ], [ %.037.7, %.lr.ph ]
  %.03745.unr = phi ptr [ %13, %.lr.ph.preheader ], [ %.037.7, %.lr.ph ]
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.lr.ph.epil
  %.03745.epil = phi ptr [ %.037.epil, %.lr.ph.epil ], [ %.03745.unr, %._crit_edge.loopexit.unr-lcssa ]
  %epil.iter = phi i32 [ %epil.iter.next, %.lr.ph.epil ], [ 0, %._crit_edge.loopexit.unr-lcssa ]
  %17 = getelementptr inbounds i8, ptr %.03745.epil, i64 8
  %.037.epil = load ptr, ptr %17, align 8, !tbaa !9
  %epil.iter.next = add i32 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i32 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge, label %.lr.ph.epil, !llvm.loop !11

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.lr.ph.epil, %12
  %.037.lcssa = phi ptr [ %13, %12 ], [ %.037.lcssa61.ph, %._crit_edge.loopexit.unr-lcssa ], [ %.037.epil, %.lr.ph.epil ]
  %18 = getelementptr inbounds i8, ptr %.037.lcssa, i64 8
  br label %.sink.split

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %.03745 = phi ptr [ %13, %.lr.ph.preheader.new ], [ %.037.7, %.lr.ph ]
  %niter = phi i32 [ 0, %.lr.ph.preheader.new ], [ %niter.next.7, %.lr.ph ]
  %19 = getelementptr inbounds i8, ptr %.03745, i64 8
  %.037 = load ptr, ptr %19, align 8, !tbaa !9
  %20 = getelementptr inbounds i8, ptr %.037, i64 8
  %.037.1 = load ptr, ptr %20, align 8, !tbaa !9
  %21 = getelementptr inbounds i8, ptr %.037.1, i64 8
  %.037.2 = load ptr, ptr %21, align 8, !tbaa !9
  %22 = getelementptr inbounds i8, ptr %.037.2, i64 8
  %.037.3 = load ptr, ptr %22, align 8, !tbaa !9
  %23 = getelementptr inbounds i8, ptr %.037.3, i64 8
  %.037.4 = load ptr, ptr %23, align 8, !tbaa !9
  %24 = getelementptr inbounds i8, ptr %.037.4, i64 8
  %.037.5 = load ptr, ptr %24, align 8, !tbaa !9
  %25 = getelementptr inbounds i8, ptr %.037.5, i64 8
  %.037.6 = load ptr, ptr %25, align 8, !tbaa !9
  %26 = getelementptr inbounds i8, ptr %.037.6, i64 8
  %.037.7 = load ptr, ptr %26, align 8, !tbaa !9
  %niter.next.7 = add i32 %niter, 8
  %niter.ncmp.7 = icmp eq i32 %niter.next.7, %unroll_iter
  br i1 %niter.ncmp.7, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph, !llvm.loop !13

27:                                               ; preds = %10
  %28 = add nsw i32 %8, -1
  %29 = icmp eq i32 %28, %1
  br i1 %29, label %.sink.split, label %.preheader

.preheader:                                       ; preds = %27
  %30 = add nuw nsw i32 %1, 1
  %.03546 = load ptr, ptr %3, align 8, !tbaa !9
  %31 = icmp ugt i32 %28, %30
  br i1 %31, label %.lr.ph49, label %._crit_edge50

._crit_edge50:                                    ; preds = %.lr.ph49, %.preheader
  %.035.lcssa = phi ptr [ %.03546, %.preheader ], [ %.035, %.lr.ph49 ]
  %32 = getelementptr inbounds i8, ptr %.035.lcssa, i64 16
  br label %.sink.split

.lr.ph49:                                         ; preds = %.preheader, %.lr.ph49
  %.03548 = phi ptr [ %.035, %.lr.ph49 ], [ %.03546, %.preheader ]
  %.047 = phi i32 [ %34, %.lr.ph49 ], [ %28, %.preheader ]
  %33 = getelementptr inbounds i8, ptr %.03548, i64 16
  %34 = add nsw i32 %.047, -1
  %.035 = load ptr, ptr %33, align 8, !tbaa !9
  %35 = icmp sgt i32 %34, %30
  br i1 %35, label %.lr.ph49, label %._crit_edge50, !llvm.loop !15

36:                                               ; preds = %7, %5
  %37 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
  %38 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  unreachable

.sink.split:                                      ; preds = %27, %._crit_edge50, %._crit_edge
  %.sink = phi ptr [ %18, %._crit_edge ], [ %32, %._crit_edge50 ], [ %3, %27 ]
  %39 = load ptr, ptr %.sink, align 8, !tbaa !9
  br label %40

40:                                               ; preds = %12, %.sink.split
  %.sink56 = phi ptr [ %13, %12 ], [ %39, %.sink.split ]
  %41 = load i32, ptr %.sink56, align 8, !tbaa !16
  store i32 %0, ptr %.sink56, align 8, !tbaa !16
  ret i32 %41
}

attributes #0 = { inlinehint mustprogress 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 = { mustprogress 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" }

!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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.unroll.disable"}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{!17, !6, i64 0}
!17 = !{!"_ZTS4Node", !6, i64 0, !10, i64 8, !10, i64 16}


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