; LLVM IR from ahampriyanshu/algo-ds-101 :: Data-Structures/Tree/Binary-Tree (binary_tree_trans)

; 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 <{ ptr, ptr, i32, [4 x i8] }>

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z6heightP4Node(ptr noundef) #0

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11leftToRightP4Nodei(ptr noundef, i32 noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11rightToLeftP4Nodei(ptr noundef, i32 noundef) #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #6
  %8 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #7
  invoke void @_ZN4NodeC2Ei(ptr noundef nonnull align 8 dereferenceable(20) %8, i32 noundef 1)
          to label %9 unwind label %74

9:                                                ; preds = %0
  store ptr %8, ptr %2, align 8, !tbaa !5
  %10 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #7
  invoke void @_ZN4NodeC2Ei(ptr noundef nonnull align 8 dereferenceable(20) %10, i32 noundef 2)
          to label %11 unwind label %78

11:                                               ; preds = %9
  %12 = load ptr, ptr %2, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.Node, ptr %12, i32 0, i32 0
  store ptr %10, ptr %13, align 8, !tbaa !9
  %14 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #7
  invoke void @_ZN4NodeC2Ei(ptr noundef nonnull align 8 dereferenceable(20) %14, i32 noundef 3)
          to label %15 unwind label %82

15:                                               ; preds = %11
  %16 = load ptr, ptr %2, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.Node, ptr %16, i32 0, i32 1
  store ptr %14, ptr %17, align 8, !tbaa !12
  %18 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #7
  invoke void @_ZN4NodeC2Ei(ptr noundef nonnull align 8 dereferenceable(20) %18, i32 noundef 4)
          to label %19 unwind label %86

19:                                               ; preds = %15
  %20 = load ptr, ptr %2, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.Node, ptr %20, i32 0, i32 0
  %22 = load ptr, ptr %21, align 8, !tbaa !9
  %23 = getelementptr inbounds %struct.Node, ptr %22, i32 0, i32 0
  store ptr %18, ptr %23, align 8, !tbaa !9
  %24 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #7
  invoke void @_ZN4NodeC2Ei(ptr noundef nonnull align 8 dereferenceable(20) %24, i32 noundef 5)
          to label %25 unwind label %90

25:                                               ; preds = %19
  %26 = load ptr, ptr %2, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.Node, ptr %26, i32 0, i32 1
  %28 = load ptr, ptr %27, align 8, !tbaa !12
  %29 = getelementptr inbounds %struct.Node, ptr %28, i32 0, i32 0
  store ptr %24, ptr %29, align 8, !tbaa !9
  %30 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #7
  invoke void @_ZN4NodeC2Ei(ptr noundef nonnull align 8 dereferenceable(20) %30, i32 noundef 7)
          to label %31 unwind label %94

31:                                               ; preds = %25
  %32 = load ptr, ptr %2, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.Node, ptr %32, i32 0, i32 1
  %34 = load ptr, ptr %33, align 8, !tbaa !12
  %35 = getelementptr inbounds %struct.Node, ptr %34, i32 0, i32 1
  store ptr %30, ptr %35, align 8, !tbaa !12
  %36 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #7
  invoke void @_ZN4NodeC2Ei(ptr noundef nonnull align 8 dereferenceable(20) %36, i32 noundef 10)
          to label %37 unwind label %98

37:                                               ; preds = %31
  %38 = load ptr, ptr %2, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.Node, ptr %38, i32 0, i32 0
  %40 = load ptr, ptr %39, align 8, !tbaa !9
  %41 = getelementptr inbounds %struct.Node, ptr %40, i32 0, i32 0
  %42 = load ptr, ptr %41, align 8, !tbaa !9
  %43 = getelementptr inbounds %struct.Node, ptr %42, i32 0, i32 0
  store ptr %36, ptr %43, align 8, !tbaa !9
  %44 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #7
  invoke void @_ZN4NodeC2Ei(ptr noundef nonnull align 8 dereferenceable(20) %44, i32 noundef 11)
          to label %45 unwind label %102

45:                                               ; preds = %37
  %46 = load ptr, ptr %2, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.Node, ptr %46, i32 0, i32 0
  %48 = load ptr, ptr %47, align 8, !tbaa !9
  %49 = getelementptr inbounds %struct.Node, ptr %48, i32 0, i32 0
  %50 = load ptr, ptr %49, align 8, !tbaa !9
  %51 = getelementptr inbounds %struct.Node, ptr %50, i32 0, i32 1
  store ptr %44, ptr %51, align 8, !tbaa !12
  %52 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #7
  invoke void @_ZN4NodeC2Ei(ptr noundef nonnull align 8 dereferenceable(20) %52, i32 noundef 8)
          to label %53 unwind label %106

53:                                               ; preds = %45
  %54 = load ptr, ptr %2, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.Node, ptr %54, i32 0, i32 1
  %56 = load ptr, ptr %55, align 8, !tbaa !12
  %57 = getelementptr inbounds %struct.Node, ptr %56, i32 0, i32 1
  %58 = load ptr, ptr %57, align 8, !tbaa !12
  %59 = getelementptr inbounds %struct.Node, ptr %58, i32 0, i32 0
  store ptr %52, ptr %59, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  store i32 1, ptr %5, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  %60 = load ptr, ptr %2, align 8, !tbaa !5
  %61 = call noundef i32 @_Z6heightP4Node(ptr noundef %60)
  store i32 %61, ptr %6, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !13
  br label %62

62:                                               ; preds = %115, %53
  %63 = load i32, ptr %5, align 4, !tbaa !13
  %64 = load i32, ptr %6, align 4, !tbaa !13
  %65 = icmp sle i32 %63, %64
  br i1 %65, label %66, label %116

66:                                               ; preds = %62
  %67 = load i32, ptr %7, align 4, !tbaa !13
  %68 = icmp eq i32 %67, 0
  br i1 %68, label %69, label %110

69:                                               ; preds = %66
  %70 = load ptr, ptr %2, align 8, !tbaa !5
  %71 = load i32, ptr %5, align 4, !tbaa !13
  call void @_Z11rightToLeftP4Nodei(ptr noundef %70, i32 noundef %71)
  store i32 1, ptr %7, align 4, !tbaa !13
  %72 = load i32, ptr %5, align 4, !tbaa !13
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %5, align 4, !tbaa !13
  br label %115

74:                                               ; preds = %0
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %3, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %4, align 4
  call void @_ZdlPvm(ptr noundef %8, i64 noundef 24) #8
  br label %117

78:                                               ; preds = %9
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %3, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %4, align 4
  call void @_ZdlPvm(ptr noundef %10, i64 noundef 24) #8
  br label %117

82:                                               ; preds = %11
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %3, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %4, align 4
  call void @_ZdlPvm(ptr noundef %14, i64 noundef 24) #8
  br label %117

86:                                               ; preds = %15
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %3, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %4, align 4
  call void @_ZdlPvm(ptr noundef %18, i64 noundef 24) #8
  br label %117

90:                                               ; preds = %19
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %3, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %4, align 4
  call void @_ZdlPvm(ptr noundef %24, i64 noundef 24) #8
  br label %117

94:                                               ; preds = %25
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %3, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %4, align 4
  call void @_ZdlPvm(ptr noundef %30, i64 noundef 24) #8
  br label %117

98:                                               ; preds = %31
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %3, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %4, align 4
  call void @_ZdlPvm(ptr noundef %36, i64 noundef 24) #8
  br label %117

102:                                              ; preds = %37
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %3, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %4, align 4
  call void @_ZdlPvm(ptr noundef %44, i64 noundef 24) #8
  br label %117

106:                                              ; preds = %45
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %3, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %4, align 4
  call void @_ZdlPvm(ptr noundef %52, i64 noundef 24) #8
  br label %117

110:                                              ; preds = %66
  %111 = load ptr, ptr %2, align 8, !tbaa !5
  %112 = load i32, ptr %6, align 4, !tbaa !13
  call void @_Z11leftToRightP4Nodei(ptr noundef %111, i32 noundef %112)
  store i32 0, ptr %7, align 4, !tbaa !13
  %113 = load i32, ptr %6, align 4, !tbaa !13
  %114 = add nsw i32 %113, -1
  store i32 %114, ptr %6, align 4, !tbaa !13
  br label %115

115:                                              ; preds = %110, %69
  br label %62, !llvm.loop !14

116:                                              ; preds = %62
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #6
  ret i32 0

117:                                              ; preds = %106, %102, %98, %94, %90, %86, %82, %78, %74
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #6
  br label %118

118:                                              ; preds = %117
  %119 = load ptr, ptr %3, align 8
  %120 = load i32, ptr %4, align 4
  %121 = insertvalue { ptr, i32 } poison, ptr %119, 0
  %122 = insertvalue { ptr, i32 } %121, i32 %120, 1
  resume { ptr, i32 } %122
}

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4NodeC2Ei(ptr noundef nonnull align 8 dereferenceable(20), i32 noundef) unnamed_addr #4 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #5

attributes #0 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress norecurse 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 = { nobuiltin allocsize(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 = { mustprogress 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 #5 = { nobuiltin 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 #6 = { nounwind }
attributes #7 = { builtin allocsize(0) }
attributes #8 = { builtin 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++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTS4Node", !6, i64 0, !6, i64 8, !11, i64 16}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !6, i64 8}
!13 = !{!11, !11, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}


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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z6heightP4Node(ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11leftToRightP4Nodei(ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11rightToLeftP4Nodei(ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %1 = tail call noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #4
  tail call void @_ZN4NodeC2Ei(ptr noundef nonnull align 8 dereferenceable(20) %1, i32 noundef 1)
  %2 = tail call noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #4
  tail call void @_ZN4NodeC2Ei(ptr noundef nonnull align 8 dereferenceable(20) %2, i32 noundef 2)
  store ptr %2, ptr %1, align 8, !tbaa !5
  %3 = tail call noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #4
  tail call void @_ZN4NodeC2Ei(ptr noundef nonnull align 8 dereferenceable(20) %3, i32 noundef 3)
  %4 = getelementptr inbounds i8, ptr %1, i64 8
  store ptr %3, ptr %4, align 8, !tbaa !11
  %5 = tail call noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #4
  tail call void @_ZN4NodeC2Ei(ptr noundef nonnull align 8 dereferenceable(20) %5, i32 noundef 4)
  %6 = load ptr, ptr %1, align 8, !tbaa !5
  store ptr %5, ptr %6, align 8, !tbaa !5
  %7 = tail call noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #4
  tail call void @_ZN4NodeC2Ei(ptr noundef nonnull align 8 dereferenceable(20) %7, i32 noundef 5)
  %8 = load ptr, ptr %4, align 8, !tbaa !11
  store ptr %7, ptr %8, align 8, !tbaa !5
  %9 = tail call noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #4
  tail call void @_ZN4NodeC2Ei(ptr noundef nonnull align 8 dereferenceable(20) %9, i32 noundef 7)
  %10 = load ptr, ptr %4, align 8, !tbaa !11
  %11 = getelementptr inbounds i8, ptr %10, i64 8
  store ptr %9, ptr %11, align 8, !tbaa !11
  %12 = tail call noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #4
  tail call void @_ZN4NodeC2Ei(ptr noundef nonnull align 8 dereferenceable(20) %12, i32 noundef 10)
  %13 = load ptr, ptr %1, align 8, !tbaa !5
  %14 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %12, ptr %14, align 8, !tbaa !5
  %15 = tail call noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #4
  tail call void @_ZN4NodeC2Ei(ptr noundef nonnull align 8 dereferenceable(20) %15, i32 noundef 11)
  %16 = load ptr, ptr %1, align 8, !tbaa !5
  %17 = load ptr, ptr %16, align 8, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %17, i64 8
  store ptr %15, ptr %18, align 8, !tbaa !11
  %19 = tail call noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #4
  tail call void @_ZN4NodeC2Ei(ptr noundef nonnull align 8 dereferenceable(20) %19, i32 noundef 8)
  %20 = load ptr, ptr %4, align 8, !tbaa !11
  %21 = getelementptr inbounds i8, ptr %20, i64 8
  %22 = load ptr, ptr %21, align 8, !tbaa !11
  store ptr %19, ptr %22, align 8, !tbaa !5
  %23 = tail call noundef i32 @_Z6heightP4Node(ptr noundef nonnull %1)
  %.not21 = icmp slt i32 %23, 1
  br i1 %.not21, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %0, %29
  %.024 = phi i32 [ %.1, %29 ], [ 0, %0 ]
  %.01723 = phi i32 [ %.118, %29 ], [ %23, %0 ]
  %.01922 = phi i32 [ %.120, %29 ], [ 1, %0 ]
  %24 = icmp eq i32 %.024, 0
  br i1 %24, label %25, label %27

25:                                               ; preds = %.lr.ph
  tail call void @_Z11rightToLeftP4Nodei(ptr noundef nonnull %1, i32 noundef %.01922)
  %26 = add nsw i32 %.01922, 1
  br label %29

27:                                               ; preds = %.lr.ph
  tail call void @_Z11leftToRightP4Nodei(ptr noundef nonnull %1, i32 noundef %.01723)
  %28 = add nsw i32 %.01723, -1
  br label %29

29:                                               ; preds = %27, %25
  %.120 = phi i32 [ %26, %25 ], [ %.01922, %27 ]
  %.118 = phi i32 [ %.01723, %25 ], [ %28, %27 ]
  %.1 = phi i32 [ 1, %25 ], [ 0, %27 ]
  %.not = icmp sgt i32 %.120, %.118
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !12

._crit_edge:                                      ; preds = %29, %0
  ret i32 0
}

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4NodeC2Ei(ptr noundef nonnull align 8 dereferenceable(20), i32 noundef) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

attributes #0 = { 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 norecurse 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 = { nobuiltin allocsize(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 = { mustprogress 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 = { builtin allocsize(0) }

!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 = !{!"_ZTS4Node", !7, i64 0, !7, i64 8, !10, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 8}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass