; LLVM IR from upupming/algorithm :: acwing/算法竞赛进阶指南/0x43-线段树/245. 你能回答这些问题吗.ll (Z6changeiii)

; 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.SegmentTree = type { i32, i32, i32, i32, i32, i32 }

@t = external dso_local global [2000040 x %struct.SegmentTree], align 16

; 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 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)) #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 void @_Z6changeiii(i32 noundef %0, i32 noundef %1, i32 noundef %2) #2 {
  %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 %4, align 4, !tbaa !5
  %12 = sext i32 %11 to i64
  %13 = getelementptr inbounds [2000040 x %struct.SegmentTree], ptr @t, i64 0, i64 %12
  %14 = getelementptr inbounds %struct.SegmentTree, ptr %13, i32 0, i32 0
  %15 = load i32, ptr %14, align 8, !tbaa !9
  %16 = load i32, ptr %4, align 4, !tbaa !5
  %17 = sext i32 %16 to i64
  %18 = getelementptr inbounds [2000040 x %struct.SegmentTree], ptr @t, i64 0, i64 %17
  %19 = getelementptr inbounds %struct.SegmentTree, ptr %18, i32 0, i32 1
  %20 = load i32, ptr %19, align 4, !tbaa !11
  %21 = icmp eq i32 %15, %20
  br i1 %21, label %22, label %40

22:                                               ; preds = %3
  %23 = load i32, ptr %6, align 4, !tbaa !5
  %24 = load i32, ptr %4, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [2000040 x %struct.SegmentTree], ptr @t, i64 0, i64 %25
  %27 = getelementptr inbounds %struct.SegmentTree, ptr %26, i32 0, i32 5
  store i32 %23, ptr %27, align 4, !tbaa !12
  %28 = load i32, ptr %4, align 4, !tbaa !5
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds [2000040 x %struct.SegmentTree], ptr @t, i64 0, i64 %29
  %31 = getelementptr inbounds %struct.SegmentTree, ptr %30, i32 0, i32 4
  store i32 %23, ptr %31, align 8, !tbaa !13
  %32 = load i32, ptr %4, align 4, !tbaa !5
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds [2000040 x %struct.SegmentTree], ptr @t, i64 0, i64 %33
  %35 = getelementptr inbounds %struct.SegmentTree, ptr %34, i32 0, i32 3
  store i32 %23, ptr %35, align 4, !tbaa !14
  %36 = load i32, ptr %4, align 4, !tbaa !5
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [2000040 x %struct.SegmentTree], ptr @t, i64 0, i64 %37
  %39 = getelementptr inbounds %struct.SegmentTree, ptr %38, i32 0, i32 2
  store i32 %23, ptr %39, align 8, !tbaa !15
  br label %169

40:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  %41 = load i32, ptr %4, align 4, !tbaa !5
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [2000040 x %struct.SegmentTree], ptr @t, i64 0, i64 %42
  %44 = getelementptr inbounds %struct.SegmentTree, ptr %43, i32 0, i32 0
  %45 = load i32, ptr %44, align 8, !tbaa !9
  %46 = load i32, ptr %4, align 4, !tbaa !5
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [2000040 x %struct.SegmentTree], ptr @t, i64 0, i64 %47
  %49 = getelementptr inbounds %struct.SegmentTree, ptr %48, i32 0, i32 1
  %50 = load i32, ptr %49, align 4, !tbaa !11
  %51 = add nsw i32 %45, %50
  %52 = ashr i32 %51, 1
  store i32 %52, ptr %7, align 4, !tbaa !5
  %53 = load i32, ptr %5, align 4, !tbaa !5
  %54 = load i32, ptr %7, align 4, !tbaa !5
  %55 = icmp sle i32 %53, %54
  br i1 %55, label %56, label %61

56:                                               ; preds = %40
  %57 = load i32, ptr %4, align 4, !tbaa !5
  %58 = mul nsw i32 2, %57
  %59 = load i32, ptr %5, align 4, !tbaa !5
  %60 = load i32, ptr %6, align 4, !tbaa !5
  call void @_Z6changeiii(i32 noundef %58, i32 noundef %59, i32 noundef %60)
  br label %67

61:                                               ; preds = %40
  %62 = load i32, ptr %4, align 4, !tbaa !5
  %63 = mul nsw i32 2, %62
  %64 = add nsw i32 %63, 1
  %65 = load i32, ptr %5, align 4, !tbaa !5
  %66 = load i32, ptr %6, align 4, !tbaa !5
  call void @_Z6changeiii(i32 noundef %64, i32 noundef %65, i32 noundef %66)
  br label %67

67:                                               ; preds = %61, %56
  %68 = load i32, ptr %4, align 4, !tbaa !5
  %69 = mul nsw i32 2, %68
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [2000040 x %struct.SegmentTree], ptr @t, i64 0, i64 %70
  %72 = getelementptr inbounds %struct.SegmentTree, ptr %71, i32 0, i32 5
  %73 = load i32, ptr %72, align 4, !tbaa !12
  %74 = load i32, ptr %4, align 4, !tbaa !5
  %75 = mul nsw i32 2, %74
  %76 = add nsw i32 %75, 1
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [2000040 x %struct.SegmentTree], ptr @t, i64 0, i64 %77
  %79 = getelementptr inbounds %struct.SegmentTree, ptr %78, i32 0, i32 5
  %80 = load i32, ptr %79, align 4, !tbaa !12
  %81 = add nsw i32 %73, %80
  %82 = load i32, ptr %4, align 4, !tbaa !5
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [2000040 x %struct.SegmentTree], ptr @t, i64 0, i64 %83
  %85 = getelementptr inbounds %struct.SegmentTree, ptr %84, i32 0, i32 5
  store i32 %81, ptr %85, align 4, !tbaa !12
  %86 = load i32, ptr %4, align 4, !tbaa !5
  %87 = mul nsw i32 2, %86
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [2000040 x %struct.SegmentTree], ptr @t, i64 0, i64 %88
  %90 = getelementptr inbounds %struct.SegmentTree, ptr %89, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  %91 = load i32, ptr %4, align 4, !tbaa !5
  %92 = mul nsw i32 2, %91
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [2000040 x %struct.SegmentTree], ptr @t, i64 0, i64 %93
  %95 = getelementptr inbounds %struct.SegmentTree, ptr %94, i32 0, i32 5
  %96 = load i32, ptr %95, align 4, !tbaa !12
  %97 = load i32, ptr %4, align 4, !tbaa !5
  %98 = mul nsw i32 2, %97
  %99 = add nsw i32 %98, 1
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds [2000040 x %struct.SegmentTree], ptr @t, i64 0, i64 %100
  %102 = getelementptr inbounds %struct.SegmentTree, ptr %101, i32 0, i32 3
  %103 = load i32, ptr %102, align 4, !tbaa !14
  %104 = add nsw i32 %96, %103
  store i32 %104, ptr %8, align 4, !tbaa !5
  %105 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %90, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %106 = load i32, ptr %105, align 4, !tbaa !5
  %107 = load i32, ptr %4, align 4, !tbaa !5
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds [2000040 x %struct.SegmentTree], ptr @t, i64 0, i64 %108
  %110 = getelementptr inbounds %struct.SegmentTree, ptr %109, i32 0, i32 3
  store i32 %106, ptr %110, align 4, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  %111 = load i32, ptr %4, align 4, !tbaa !5
  %112 = mul nsw i32 2, %111
  %113 = add nsw i32 %112, 1
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds [2000040 x %struct.SegmentTree], ptr @t, i64 0, i64 %114
  %116 = getelementptr inbounds %struct.SegmentTree, ptr %115, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  %117 = load i32, ptr %4, align 4, !tbaa !5
  %118 = mul nsw i32 2, %117
  %119 = add nsw i32 %118, 1
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds [2000040 x %struct.SegmentTree], ptr @t, i64 0, i64 %120
  %122 = getelementptr inbounds %struct.SegmentTree, ptr %121, i32 0, i32 5
  %123 = load i32, ptr %122, align 4, !tbaa !12
  %124 = load i32, ptr %4, align 4, !tbaa !5
  %125 = mul nsw i32 2, %124
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds [2000040 x %struct.SegmentTree], ptr @t, i64 0, i64 %126
  %128 = getelementptr inbounds %struct.SegmentTree, ptr %127, i32 0, i32 4
  %129 = load i32, ptr %128, align 8, !tbaa !13
  %130 = add nsw i32 %123, %129
  store i32 %130, ptr %9, align 4, !tbaa !5
  %131 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %116, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %132 = load i32, ptr %131, align 4, !tbaa !5
  %133 = load i32, ptr %4, align 4, !tbaa !5
  %134 = sext i32 %133 to i64
  %135 = getelementptr inbounds [2000040 x %struct.SegmentTree], ptr @t, i64 0, i64 %134
  %136 = getelementptr inbounds %struct.SegmentTree, ptr %135, i32 0, i32 4
  store i32 %132, ptr %136, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  %137 = load i32, ptr %4, align 4, !tbaa !5
  %138 = mul nsw i32 2, %137
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds [2000040 x %struct.SegmentTree], ptr @t, i64 0, i64 %139
  %141 = getelementptr inbounds %struct.SegmentTree, ptr %140, i32 0, i32 2
  %142 = load i32, ptr %4, align 4, !tbaa !5
  %143 = mul nsw i32 2, %142
  %144 = add nsw i32 %143, 1
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds [2000040 x %struct.SegmentTree], ptr @t, i64 0, i64 %145
  %147 = getelementptr inbounds %struct.SegmentTree, ptr %146, i32 0, i32 2
  %148 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %141, ptr noundef nonnull align 4 dereferenceable(4) %147)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  %149 = load i32, ptr %4, align 4, !tbaa !5
  %150 = mul nsw i32 2, %149
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds [2000040 x %struct.SegmentTree], ptr @t, i64 0, i64 %151
  %153 = getelementptr inbounds %struct.SegmentTree, ptr %152, i32 0, i32 4
  %154 = load i32, ptr %153, align 8, !tbaa !13
  %155 = load i32, ptr %4, align 4, !tbaa !5
  %156 = mul nsw i32 2, %155
  %157 = add nsw i32 %156, 1
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds [2000040 x %struct.SegmentTree], ptr @t, i64 0, i64 %158
  %160 = getelementptr inbounds %struct.SegmentTree, ptr %159, i32 0, i32 3
  %161 = load i32, ptr %160, align 4, !tbaa !14
  %162 = add nsw i32 %154, %161
  store i32 %162, ptr %10, align 4, !tbaa !5
  %163 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %148, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %164 = load i32, ptr %163, align 4, !tbaa !5
  %165 = load i32, ptr %4, align 4, !tbaa !5
  %166 = sext i32 %165 to i64
  %167 = getelementptr inbounds [2000040 x %struct.SegmentTree], ptr @t, i64 0, i64 %166
  %168 = getelementptr inbounds %struct.SegmentTree, ptr %167, i32 0, i32 2
  store i32 %164, ptr %168, align 8, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  br label %169

169:                                              ; preds = %67, %22
  ret void
}

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


; 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.SegmentTree = type { i32, i32, i32, i32, i32, i32 }

@t = external dso_local global [2000040 x %struct.SegmentTree], align 16

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

; 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 #1

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z6changeiii(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #2 {
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = sext i32 %0 to i64
  %8 = getelementptr inbounds [2000040 x %struct.SegmentTree], ptr @t, i64 0, i64 %7
  %9 = load i32, ptr %8, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %8, i64 4
  %11 = load i32, ptr %10, align 4, !tbaa !10
  %12 = icmp eq i32 %9, %11
  br i1 %12, label %13, label %17

13:                                               ; preds = %3
  %14 = getelementptr inbounds i8, ptr %8, i64 8
  %15 = insertelement <4 x i32> poison, i32 %2, i64 0
  %16 = shufflevector <4 x i32> %15, <4 x i32> poison, <4 x i32> zeroinitializer
  store <4 x i32> %16, ptr %14, align 8, !tbaa !11
  br label %60

17:                                               ; preds = %3
  %18 = add nsw i32 %11, %9
  %19 = ashr i32 %18, 1
  %.not = icmp slt i32 %19, %1
  %20 = shl nsw i32 %0, 1
  br i1 %.not, label %22, label %21

21:                                               ; preds = %17
  tail call void @_Z6changeiii(i32 noundef %20, i32 noundef %1, i32 noundef %2)
  %.pre = or disjoint i32 %20, 1
  br label %24

22:                                               ; preds = %17
  %23 = or disjoint i32 %20, 1
  tail call void @_Z6changeiii(i32 noundef %23, i32 noundef %1, i32 noundef %2)
  br label %24

24:                                               ; preds = %22, %21
  %.pre-phi35 = phi i32 [ %23, %22 ], [ %.pre, %21 ]
  %25 = sext i32 %20 to i64
  %26 = getelementptr inbounds [2000040 x %struct.SegmentTree], ptr @t, i64 0, i64 %25
  %27 = getelementptr inbounds i8, ptr %26, i64 20
  %28 = load i32, ptr %27, align 4, !tbaa !12
  %29 = sext i32 %.pre-phi35 to i64
  %30 = getelementptr inbounds [2000040 x %struct.SegmentTree], ptr @t, i64 0, i64 %29
  %31 = getelementptr inbounds i8, ptr %30, i64 20
  %32 = load i32, ptr %31, align 4, !tbaa !12
  %33 = add nsw i32 %32, %28
  %34 = getelementptr inbounds i8, ptr %8, i64 20
  store i32 %33, ptr %34, align 4, !tbaa !12
  %35 = getelementptr inbounds i8, ptr %26, i64 12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
  %36 = load i32, ptr %27, align 4, !tbaa !12
  %37 = getelementptr inbounds i8, ptr %30, i64 12
  %38 = load i32, ptr %37, align 4, !tbaa !13
  %39 = add nsw i32 %38, %36
  store i32 %39, ptr %4, align 4, !tbaa !11
  %40 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %35, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %41 = load i32, ptr %40, align 4, !tbaa !11
  %42 = getelementptr inbounds i8, ptr %8, i64 12
  store i32 %41, ptr %42, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
  %43 = getelementptr inbounds i8, ptr %30, i64 16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
  %44 = load i32, ptr %31, align 4, !tbaa !12
  %45 = getelementptr inbounds i8, ptr %26, i64 16
  %46 = load i32, ptr %45, align 16, !tbaa !14
  %47 = add nsw i32 %46, %44
  store i32 %47, ptr %5, align 4, !tbaa !11
  %48 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %43, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %49 = load i32, ptr %48, align 4, !tbaa !11
  %50 = getelementptr inbounds i8, ptr %8, i64 16
  store i32 %49, ptr %50, align 8, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
  %51 = getelementptr inbounds i8, ptr %26, i64 8
  %52 = getelementptr inbounds i8, ptr %30, i64 8
  %53 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %51, ptr noundef nonnull align 4 dereferenceable(4) %52)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
  %54 = load i32, ptr %45, align 16, !tbaa !14
  %55 = load i32, ptr %37, align 4, !tbaa !13
  %56 = add nsw i32 %55, %54
  store i32 %56, ptr %6, align 4, !tbaa !11
  %57 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %53, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %58 = load i32, ptr %57, align 4, !tbaa !11
  %59 = getelementptr inbounds i8, ptr %8, i64 8
  store i32 %58, ptr %59, align 8, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
  br label %60

60:                                               ; preds = %24, %13
  ret void
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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, !7, i64 0}
!6 = !{!"_ZTS11SegmentTree", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 20}
!13 = !{!6, !7, i64 12}
!14 = !{!6, !7, i64 16}
!15 = !{!6, !7, i64 8}


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