; LLVM IR from div-bargali/Data-Structures-and-Algorithms :: C++/Data-Structures/Tree/segment tree for max subsequnce(cont) for range queries.l_85c532db (Z5buildiii)

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

@tree = external dso_local global [200040 x %struct.node], align 16
@arr = external dso_local global [50010 x i32], align 16

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5buildiii(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
  %4 = alloca i32, align 4
  %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
  store i32 %0, ptr %4, align 4, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !5
  %11 = load i32, ptr %5, align 4, !tbaa !5
  %12 = load i32, ptr %6, align 4, !tbaa !5
  %13 = icmp eq i32 %11, %12
  br i1 %13, label %14, label %47

14:                                               ; preds = %3
  %15 = load i32, ptr %5, align 4, !tbaa !5
  %16 = sext i32 %15 to i64
  %17 = getelementptr inbounds [50010 x i32], ptr @arr, i64 0, i64 %16
  %18 = load i32, ptr %17, align 4, !tbaa !5
  %19 = load i32, ptr %4, align 4, !tbaa !5
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds [200040 x %struct.node], ptr @tree, i64 0, i64 %20
  %22 = getelementptr inbounds %struct.node, ptr %21, i32 0, i32 0
  store i32 %18, ptr %22, align 16, !tbaa !9
  %23 = load i32, ptr %5, align 4, !tbaa !5
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds [50010 x i32], ptr @arr, i64 0, i64 %24
  %26 = load i32, ptr %25, align 4, !tbaa !5
  %27 = load i32, ptr %4, align 4, !tbaa !5
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [200040 x %struct.node], ptr @tree, i64 0, i64 %28
  %30 = getelementptr inbounds %struct.node, ptr %29, i32 0, i32 1
  store i32 %26, ptr %30, align 4, !tbaa !11
  %31 = load i32, ptr %5, align 4, !tbaa !5
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [50010 x i32], ptr @arr, i64 0, i64 %32
  %34 = load i32, ptr %33, align 4, !tbaa !5
  %35 = load i32, ptr %4, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [200040 x %struct.node], ptr @tree, i64 0, i64 %36
  %38 = getelementptr inbounds %struct.node, ptr %37, i32 0, i32 2
  store i32 %34, ptr %38, align 8, !tbaa !12
  %39 = load i32, ptr %5, align 4, !tbaa !5
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [50010 x i32], ptr @arr, i64 0, i64 %40
  %42 = load i32, ptr %41, align 4, !tbaa !5
  %43 = load i32, ptr %4, align 4, !tbaa !5
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds [200040 x %struct.node], ptr @tree, i64 0, i64 %44
  %46 = getelementptr inbounds %struct.node, ptr %45, i32 0, i32 3
  store i32 %42, ptr %46, align 4, !tbaa !13
  br label %180

47:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  %48 = load i32, ptr %5, align 4, !tbaa !5
  %49 = load i32, ptr %6, align 4, !tbaa !5
  %50 = add nsw i32 %48, %49
  %51 = sdiv i32 %50, 2
  store i32 %51, ptr %7, align 4, !tbaa !5
  %52 = load i32, ptr %4, align 4, !tbaa !5
  %53 = mul nsw i32 2, %52
  %54 = add nsw i32 %53, 1
  %55 = load i32, ptr %5, align 4, !tbaa !5
  %56 = load i32, ptr %7, align 4, !tbaa !5
  call void @_Z5buildiii(i32 noundef %54, i32 noundef %55, i32 noundef %56)
  %57 = load i32, ptr %4, align 4, !tbaa !5
  %58 = mul nsw i32 2, %57
  %59 = add nsw i32 %58, 2
  %60 = load i32, ptr %7, align 4, !tbaa !5
  %61 = add nsw i32 %60, 1
  %62 = load i32, ptr %6, align 4, !tbaa !5
  call void @_Z5buildiii(i32 noundef %59, i32 noundef %61, i32 noundef %62)
  %63 = load i32, ptr %4, align 4, !tbaa !5
  %64 = mul nsw i32 2, %63
  %65 = add nsw i32 %64, 1
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [200040 x %struct.node], ptr @tree, i64 0, i64 %66
  %68 = getelementptr inbounds %struct.node, ptr %67, i32 0, i32 0
  %69 = load i32, ptr %68, align 16, !tbaa !9
  %70 = load i32, ptr %4, align 4, !tbaa !5
  %71 = mul nsw i32 2, %70
  %72 = add nsw i32 %71, 2
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds [200040 x %struct.node], ptr @tree, i64 0, i64 %73
  %75 = getelementptr inbounds %struct.node, ptr %74, i32 0, i32 0
  %76 = load i32, ptr %75, align 16, !tbaa !9
  %77 = add nsw i32 %69, %76
  %78 = load i32, ptr %4, align 4, !tbaa !5
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds [200040 x %struct.node], ptr @tree, i64 0, i64 %79
  %81 = getelementptr inbounds %struct.node, ptr %80, i32 0, i32 0
  store i32 %77, ptr %81, align 16, !tbaa !9
  %82 = load i32, ptr %4, align 4, !tbaa !5
  %83 = mul nsw i32 2, %82
  %84 = add nsw i32 %83, 1
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [200040 x %struct.node], ptr @tree, i64 0, i64 %85
  %87 = getelementptr inbounds %struct.node, ptr %86, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  %88 = load i32, ptr %4, align 4, !tbaa !5
  %89 = mul nsw i32 2, %88
  %90 = add nsw i32 %89, 1
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [200040 x %struct.node], ptr @tree, i64 0, i64 %91
  %93 = getelementptr inbounds %struct.node, ptr %92, i32 0, i32 0
  %94 = load i32, ptr %93, align 16, !tbaa !9
  %95 = load i32, ptr %4, align 4, !tbaa !5
  %96 = mul nsw i32 2, %95
  %97 = add nsw i32 %96, 2
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [200040 x %struct.node], ptr @tree, i64 0, i64 %98
  %100 = getelementptr inbounds %struct.node, ptr %99, i32 0, i32 1
  %101 = load i32, ptr %100, align 4, !tbaa !11
  %102 = add nsw i32 %94, %101
  store i32 %102, ptr %8, align 4, !tbaa !5
  %103 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %87, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %104 = load i32, ptr %103, align 4, !tbaa !5
  %105 = load i32, ptr %4, align 4, !tbaa !5
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds [200040 x %struct.node], ptr @tree, i64 0, i64 %106
  %108 = getelementptr inbounds %struct.node, ptr %107, i32 0, i32 1
  store i32 %104, ptr %108, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  %109 = load i32, ptr %4, align 4, !tbaa !5
  %110 = mul nsw i32 2, %109
  %111 = add nsw i32 %110, 2
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds [200040 x %struct.node], ptr @tree, i64 0, i64 %112
  %114 = getelementptr inbounds %struct.node, ptr %113, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  %115 = load i32, ptr %4, align 4, !tbaa !5
  %116 = mul nsw i32 2, %115
  %117 = add nsw i32 %116, 2
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds [200040 x %struct.node], ptr @tree, i64 0, i64 %118
  %120 = getelementptr inbounds %struct.node, ptr %119, i32 0, i32 0
  %121 = load i32, ptr %120, align 16, !tbaa !9
  %122 = load i32, ptr %4, align 4, !tbaa !5
  %123 = mul nsw i32 2, %122
  %124 = add nsw i32 %123, 1
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds [200040 x %struct.node], ptr @tree, i64 0, i64 %125
  %127 = getelementptr inbounds %struct.node, ptr %126, i32 0, i32 2
  %128 = load i32, ptr %127, align 8, !tbaa !12
  %129 = add nsw i32 %121, %128
  store i32 %129, ptr %9, align 4, !tbaa !5
  %130 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %114, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %131 = load i32, ptr %130, align 4, !tbaa !5
  %132 = load i32, ptr %4, align 4, !tbaa !5
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds [200040 x %struct.node], ptr @tree, i64 0, i64 %133
  %135 = getelementptr inbounds %struct.node, ptr %134, i32 0, i32 2
  store i32 %131, ptr %135, align 8, !tbaa !12
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  %136 = load i32, ptr %4, align 4, !tbaa !5
  %137 = sext i32 %136 to i64
  %138 = getelementptr inbounds [200040 x %struct.node], ptr @tree, i64 0, i64 %137
  %139 = getelementptr inbounds %struct.node, ptr %138, i32 0, i32 1
  %140 = load i32, ptr %4, align 4, !tbaa !5
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds [200040 x %struct.node], ptr @tree, i64 0, i64 %141
  %143 = getelementptr inbounds %struct.node, ptr %142, i32 0, i32 2
  %144 = load i32, ptr %4, align 4, !tbaa !5
  %145 = mul nsw i32 2, %144
  %146 = add nsw i32 %145, 1
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds [200040 x %struct.node], ptr @tree, i64 0, i64 %147
  %149 = getelementptr inbounds %struct.node, ptr %148, i32 0, i32 3
  %150 = load i32, ptr %4, align 4, !tbaa !5
  %151 = mul nsw i32 2, %150
  %152 = add nsw i32 %151, 2
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds [200040 x %struct.node], ptr @tree, i64 0, i64 %153
  %155 = getelementptr inbounds %struct.node, ptr %154, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  %156 = load i32, ptr %4, align 4, !tbaa !5
  %157 = mul nsw i32 2, %156
  %158 = add nsw i32 %157, 1
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds [200040 x %struct.node], ptr @tree, i64 0, i64 %159
  %161 = getelementptr inbounds %struct.node, ptr %160, i32 0, i32 2
  %162 = load i32, ptr %161, align 8, !tbaa !12
  %163 = load i32, ptr %4, align 4, !tbaa !5
  %164 = mul nsw i32 2, %163
  %165 = add nsw i32 %164, 2
  %166 = sext i32 %165 to i64
  %167 = getelementptr inbounds [200040 x %struct.node], ptr @tree, i64 0, i64 %166
  %168 = getelementptr inbounds %struct.node, ptr %167, i32 0, i32 1
  %169 = load i32, ptr %168, align 4, !tbaa !11
  %170 = add nsw i32 %162, %169
  store i32 %170, ptr %10, align 4, !tbaa !5
  %171 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %155, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %172 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %149, ptr noundef nonnull align 4 dereferenceable(4) %171)
  %173 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %143, ptr noundef nonnull align 4 dereferenceable(4) %172)
  %174 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %139, ptr noundef nonnull align 4 dereferenceable(4) %173)
  %175 = load i32, ptr %174, align 4, !tbaa !5
  %176 = load i32, ptr %4, align 4, !tbaa !5
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds [200040 x %struct.node], ptr @tree, i64 0, i64 %177
  %179 = getelementptr inbounds %struct.node, ptr %178, i32 0, i32 3
  store i32 %175, ptr %179, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  br label %180

180:                                              ; preds = %47, %14
  ret void
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #2

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

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 = { inlinehint 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 #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, !6, i64 0}
!10 = !{!"_ZTS4node", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!11 = !{!10, !6, i64 4}
!12 = !{!10, !6, i64 8}
!13 = !{!10, !6, i64 12}


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

@tree = external dso_local global [200040 x %struct.node], align 16
@arr = external dso_local local_unnamed_addr global [50010 x i32], align 16

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z5buildiii(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = icmp eq i32 %1, %2
  br i1 %7, label %common.ret, label %15

common.ret:                                       ; preds = %3
  %8 = sext i32 %1 to i64
  %9 = getelementptr inbounds [50010 x i32], ptr @arr, i64 0, i64 %8
  %10 = load i32, ptr %9, align 4, !tbaa !5
  %11 = sext i32 %0 to i64
  %12 = getelementptr inbounds [200040 x %struct.node], ptr @tree, i64 0, i64 %11
  %13 = insertelement <4 x i32> poison, i32 %10, i64 0
  %14 = shufflevector <4 x i32> %13, <4 x i32> poison, <4 x i32> zeroinitializer
  store <4 x i32> %14, ptr %12, align 16, !tbaa !5
  br label %common.ret37

common.ret37:                                     ; preds = %15, %common.ret
  ret void

15:                                               ; preds = %3
  %16 = add nsw i32 %2, %1
  %17 = sdiv i32 %16, 2
  %18 = shl nsw i32 %0, 1
  %19 = or disjoint i32 %18, 1
  tail call void @_Z5buildiii(i32 noundef %19, i32 noundef %1, i32 noundef %17)
  %20 = add nsw i32 %18, 2
  %21 = add nsw i32 %17, 1
  tail call void @_Z5buildiii(i32 noundef %20, i32 noundef %21, i32 noundef %2)
  %22 = sext i32 %19 to i64
  %23 = getelementptr inbounds [200040 x %struct.node], ptr @tree, i64 0, i64 %22
  %24 = load i32, ptr %23, align 16, !tbaa !9
  %25 = sext i32 %20 to i64
  %26 = getelementptr inbounds [200040 x %struct.node], ptr @tree, i64 0, i64 %25
  %27 = load i32, ptr %26, align 16, !tbaa !9
  %28 = add nsw i32 %27, %24
  %29 = sext i32 %0 to i64
  %30 = getelementptr inbounds [200040 x %struct.node], ptr @tree, i64 0, i64 %29
  store i32 %28, ptr %30, align 16, !tbaa !9
  %31 = getelementptr inbounds i8, ptr %23, i64 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
  %32 = load i32, ptr %23, align 16, !tbaa !9
  %33 = getelementptr inbounds i8, ptr %26, i64 4
  %34 = load i32, ptr %33, align 4, !tbaa !11
  %35 = add nsw i32 %34, %32
  store i32 %35, ptr %4, align 4, !tbaa !5
  %36 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %31, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %37 = load i32, ptr %36, align 4, !tbaa !5
  %38 = getelementptr inbounds i8, ptr %30, i64 4
  store i32 %37, ptr %38, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
  %39 = getelementptr inbounds i8, ptr %26, i64 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
  %40 = load i32, ptr %26, align 16, !tbaa !9
  %41 = getelementptr inbounds i8, ptr %23, i64 8
  %42 = load i32, ptr %41, align 8, !tbaa !12
  %43 = add nsw i32 %42, %40
  store i32 %43, ptr %5, align 4, !tbaa !5
  %44 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %39, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %45 = load i32, ptr %44, align 4, !tbaa !5
  %46 = getelementptr inbounds i8, ptr %30, i64 8
  store i32 %45, ptr %46, align 8, !tbaa !12
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
  %47 = getelementptr inbounds i8, ptr %23, i64 12
  %48 = getelementptr inbounds i8, ptr %26, i64 12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
  %49 = load i32, ptr %41, align 8, !tbaa !12
  %50 = load i32, ptr %33, align 4, !tbaa !11
  %51 = add nsw i32 %50, %49
  store i32 %51, ptr %6, align 4, !tbaa !5
  %52 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %48, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %53 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %47, ptr noundef nonnull align 4 dereferenceable(4) %52)
  %54 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %46, ptr noundef nonnull align 4 dereferenceable(4) %53)
  %55 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %38, ptr noundef nonnull align 4 dereferenceable(4) %54)
  %56 = load i32, ptr %55, align 4, !tbaa !5
  %57 = getelementptr inbounds i8, ptr %30, i64 12
  store i32 %56, ptr %57, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
  br label %common.ret37
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint 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 #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, !6, i64 0}
!10 = !{!"_ZTS4node", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!11 = !{!10, !6, i64 4}
!12 = !{!10, !6, i64 8}
!13 = !{!10, !6, i64 12}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass