; LLVM IR from sunkafei/xcpc-algorithm-templates :: 算法/数据结构 (李超线段树)

; 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.Seg = type <{ double, double, i32, [4 x i8] }>

@A = external dso_local global [200005 x %struct.Seg], align 16
@.str = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z4initv() #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z5buildii(i32 noundef, i32 noundef) #1

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z6insertiiidd(i32 noundef, i32 noundef, i32 noundef, double noundef, double noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_Z5queryii(i32 noundef, i32 noundef) #1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #4 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %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 i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i32, align 4
  %12 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  %13 = call i64 @time(ptr noundef null) #8
  %14 = trunc i64 %13 to i32
  call void @srand(i32 noundef %14) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #8
  store i32 200000, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #8
  store i32 300, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #8
  store i32 1, ptr %4, align 4, !tbaa !5
  br label %15

15:                                               ; preds = %42, %0
  %16 = load i32, ptr %4, align 4, !tbaa !5
  %17 = load i32, ptr %3, align 4, !tbaa !5
  %18 = icmp sle i32 %16, %17
  br i1 %18, label %20, label %19

19:                                               ; preds = %15
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #8
  br label %45

20:                                               ; preds = %15
  %21 = call i32 @rand() #8
  %22 = srem i32 %21, 10
  %23 = add nsw i32 %22, 1
  %24 = sitofp i32 %23 to double
  %25 = load i32, ptr %4, align 4, !tbaa !5
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds [200005 x %struct.Seg], ptr @A, i64 0, i64 %26
  %28 = getelementptr inbounds %struct.Seg, ptr %27, i32 0, i32 0
  store double %24, ptr %28, align 8, !tbaa !9
  %29 = call i32 @rand() #8
  %30 = srem i32 %29, 1000
  %31 = sub nsw i32 %30, 500
  %32 = sitofp i32 %31 to double
  %33 = load i32, ptr %4, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [200005 x %struct.Seg], ptr @A, i64 0, i64 %34
  %36 = getelementptr inbounds %struct.Seg, ptr %35, i32 0, i32 1
  store double %32, ptr %36, align 8, !tbaa !12
  %37 = load i32, ptr %4, align 4, !tbaa !5
  %38 = load i32, ptr %4, align 4, !tbaa !5
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [200005 x %struct.Seg], ptr @A, i64 0, i64 %39
  %41 = getelementptr inbounds %struct.Seg, ptr %40, i32 0, i32 2
  store i32 %37, ptr %41, align 8, !tbaa !13
  br label %42

42:                                               ; preds = %20
  %43 = load i32, ptr %4, align 4, !tbaa !5
  %44 = add nsw i32 %43, 1
  store i32 %44, ptr %4, align 4, !tbaa !5
  br label %15, !llvm.loop !14

45:                                               ; preds = %19
  call void @_Z4initv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #8
  %46 = load i32, ptr %2, align 4, !tbaa !5
  %47 = call noundef i32 @_Z5buildii(i32 noundef 1, i32 noundef %46)
  store i32 %47, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  store i32 1, ptr %6, align 4, !tbaa !5
  br label %48

48:                                               ; preds = %66, %45
  %49 = load i32, ptr %6, align 4, !tbaa !5
  %50 = load i32, ptr %3, align 4, !tbaa !5
  %51 = icmp sle i32 %49, %50
  br i1 %51, label %53, label %52

52:                                               ; preds = %48
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  br label %69

53:                                               ; preds = %48
  %54 = load i32, ptr %5, align 4, !tbaa !5
  %55 = load i32, ptr %2, align 4, !tbaa !5
  %56 = load i32, ptr %6, align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [200005 x %struct.Seg], ptr @A, i64 0, i64 %57
  %59 = getelementptr inbounds %struct.Seg, ptr %58, i32 0, i32 0
  %60 = load double, ptr %59, align 8, !tbaa !9
  %61 = load i32, ptr %6, align 4, !tbaa !5
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds [200005 x %struct.Seg], ptr @A, i64 0, i64 %62
  %64 = getelementptr inbounds %struct.Seg, ptr %63, i32 0, i32 1
  %65 = load double, ptr %64, align 8, !tbaa !12
  call void @_Z6insertiiidd(i32 noundef %54, i32 noundef 1, i32 noundef %55, double noundef %60, double noundef %65)
  br label %66

66:                                               ; preds = %53
  %67 = load i32, ptr %6, align 4, !tbaa !5
  %68 = add nsw i32 %67, 1
  store i32 %68, ptr %6, align 4, !tbaa !5
  br label %48, !llvm.loop !16

69:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  store i32 1, ptr %7, align 4, !tbaa !5
  br label %70

70:                                               ; preds = %116, %69
  %71 = load i32, ptr %7, align 4, !tbaa !5
  %72 = load i32, ptr %2, align 4, !tbaa !5
  %73 = icmp sle i32 %71, %72
  br i1 %73, label %75, label %74

74:                                               ; preds = %70
  store i32 8, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  br label %119

75:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  %76 = load i32, ptr %5, align 4, !tbaa !5
  %77 = load i32, ptr %7, align 4, !tbaa !5
  %78 = call noundef double @_Z5queryii(i32 noundef %76, i32 noundef %77)
  %79 = fadd double %78, 1.000000e-09
  %80 = fptosi double %79 to i64
  store i64 %80, ptr %9, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  store i64 -1073741824, ptr %10, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %81

81:                                               ; preds = %104, %75
  %82 = load i32, ptr %11, align 4, !tbaa !5
  %83 = load i32, ptr %3, align 4, !tbaa !5
  %84 = icmp sle i32 %82, %83
  br i1 %84, label %86, label %85

85:                                               ; preds = %81
  store i32 11, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  br label %107

86:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %87 = load i32, ptr %11, align 4, !tbaa !5
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [200005 x %struct.Seg], ptr @A, i64 0, i64 %88
  %90 = getelementptr inbounds %struct.Seg, ptr %89, i32 0, i32 0
  %91 = load double, ptr %90, align 8, !tbaa !9
  %92 = load i32, ptr %7, align 4, !tbaa !5
  %93 = sitofp i32 %92 to double
  %94 = load i32, ptr %11, align 4, !tbaa !5
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [200005 x %struct.Seg], ptr @A, i64 0, i64 %95
  %97 = getelementptr inbounds %struct.Seg, ptr %96, i32 0, i32 1
  %98 = load double, ptr %97, align 8, !tbaa !12
  %99 = call double @llvm.fmuladd.f64(double %91, double %93, double %98)
  %100 = fadd double %99, 1.000000e-09
  %101 = fptosi double %100 to i64
  store i64 %101, ptr %12, align 8, !tbaa !17
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %12)
  %103 = load i64, ptr %102, align 8, !tbaa !17
  store i64 %103, ptr %10, align 8, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  br label %104

104:                                              ; preds = %86
  %105 = load i32, ptr %11, align 4, !tbaa !5
  %106 = add nsw i32 %105, 1
  store i32 %106, ptr %11, align 4, !tbaa !5
  br label %81, !llvm.loop !19

107:                                              ; preds = %85
  %108 = load i64, ptr %10, align 8, !tbaa !17
  %109 = load i64, ptr %9, align 8, !tbaa !17
  %110 = icmp ne i64 %108, %109
  br i1 %110, label %111, label %115

111:                                              ; preds = %107
  %112 = load i64, ptr %9, align 8, !tbaa !17
  %113 = load i64, ptr %10, align 8, !tbaa !17
  %114 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %112, i64 noundef %113)
  br label %115

115:                                              ; preds = %111, %107
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  br label %116

116:                                              ; preds = %115
  %117 = load i32, ptr %7, align 4, !tbaa !5
  %118 = add nsw i32 %117, 1
  store i32 %118, ptr %7, align 4, !tbaa !5
  br label %70, !llvm.loop !20

119:                                              ; preds = %74
  store i32 0, ptr %1, align 4
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #8
  %120 = load i32, ptr %1, align 4
  ret i32 %120
}

; Function Attrs: nounwind
declare void @srand(i32 noundef) #5

; Function Attrs: nounwind
declare i64 @time(ptr noundef) #5

; Function Attrs: nounwind
declare i32 @rand() #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #6

declare i32 @printf(ptr noundef, ...) #7

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 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 #5 = { 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 = { 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 #7 = { "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 #8 = { 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, !11, i64 0}
!10 = !{!"_ZTS3Seg", !11, i64 0, !11, i64 8, !6, i64 16}
!11 = !{!"double", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = !{!10, !6, i64 16}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = !{!18, !18, i64 0}
!18 = !{!"long long", !7, i64 0}
!19 = distinct !{!19, !15}
!20 = distinct !{!20, !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"

%struct.Seg = type <{ double, double, i32, [4 x i8] }>

@A = external dso_local local_unnamed_addr global [200005 x %struct.Seg], align 16
@.str = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z4initv() local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z5buildii(i32 noundef, i32 noundef) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z6insertiiidd(i32 noundef, i32 noundef, i32 noundef, double noundef, double noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_Z5queryii(i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #4 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = tail call i64 @time(ptr noundef null) #8
  %4 = trunc i64 %3 to i32
  tail call void @srand(i32 noundef %4) #8
  br label %7

5:                                                ; preds = %7
  tail call void @_Z4initv()
  %6 = tail call noundef i32 @_Z5buildii(i32 noundef 1, i32 noundef 200000)
  br label %20

7:                                                ; preds = %0, %7
  %indvars.iv = phi i64 [ 1, %0 ], [ %indvars.iv.next, %7 ]
  %8 = tail call i32 @rand() #8
  %9 = srem i32 %8, 10
  %10 = add nsw i32 %9, 1
  %11 = sitofp i32 %10 to double
  %12 = getelementptr inbounds [200005 x %struct.Seg], ptr @A, i64 0, i64 %indvars.iv
  store double %11, ptr %12, align 8, !tbaa !5
  %13 = tail call i32 @rand() #8
  %14 = srem i32 %13, 1000
  %15 = add nsw i32 %14, -500
  %16 = sitofp i32 %15 to double
  %17 = getelementptr inbounds i8, ptr %12, i64 8
  store double %16, ptr %17, align 8, !tbaa !11
  %18 = getelementptr inbounds i8, ptr %12, i64 16
  %19 = trunc nuw nsw i64 %indvars.iv to i32
  store i32 %19, ptr %18, align 8, !tbaa !12
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 301
  br i1 %exitcond.not, label %5, label %7, !llvm.loop !13

20:                                               ; preds = %5, %20
  %indvars.iv39 = phi i64 [ 1, %5 ], [ %indvars.iv.next40, %20 ]
  %21 = getelementptr inbounds [200005 x %struct.Seg], ptr @A, i64 0, i64 %indvars.iv39
  %22 = load double, ptr %21, align 8, !tbaa !5
  %23 = getelementptr inbounds i8, ptr %21, i64 8
  %24 = load double, ptr %23, align 8, !tbaa !11
  tail call void @_Z6insertiiidd(i32 noundef %6, i32 noundef 1, i32 noundef 200000, double noundef %22, double noundef %24)
  %indvars.iv.next40 = add nuw nsw i64 %indvars.iv39, 1
  %exitcond42.not = icmp eq i64 %indvars.iv.next40, 301
  br i1 %exitcond42.not, label %.preheader, label %20, !llvm.loop !15

25:                                               ; preds = %43
  ret i32 0

.preheader:                                       ; preds = %20, %43
  %.02937 = phi i32 [ %44, %43 ], [ 1, %20 ]
  %26 = call noundef double @_Z5queryii(i32 noundef %6, i32 noundef %.02937)
  %27 = fadd double %26, 1.000000e-09
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #8
  store i64 -1073741824, ptr %1, align 8, !tbaa !16
  %28 = uitofp nneg i32 %.02937 to double
  br label %31

29:                                               ; preds = %31
  %30 = fptosi double %27 to i64
  %.not = icmp eq i64 %40, %30
  br i1 %.not, label %43, label %41

31:                                               ; preds = %.preheader, %31
  %indvars.iv43 = phi i64 [ 1, %.preheader ], [ %indvars.iv.next44, %31 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #8
  %32 = getelementptr inbounds [200005 x %struct.Seg], ptr @A, i64 0, i64 %indvars.iv43
  %33 = load double, ptr %32, align 8, !tbaa !5
  %34 = getelementptr inbounds i8, ptr %32, i64 8
  %35 = load double, ptr %34, align 8, !tbaa !11
  %36 = call double @llvm.fmuladd.f64(double %33, double %28, double %35)
  %37 = fadd double %36, 1.000000e-09
  %38 = fptosi double %37 to i64
  store i64 %38, ptr %2, align 8, !tbaa !16
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %40 = load i64, ptr %39, align 8, !tbaa !16
  store i64 %40, ptr %1, align 8, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #8
  %indvars.iv.next44 = add nuw nsw i64 %indvars.iv43, 1
  %exitcond46.not = icmp eq i64 %indvars.iv.next44, 301
  br i1 %exitcond46.not, label %29, label %31, !llvm.loop !18

41:                                               ; preds = %29
  %42 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i64 noundef %30, i64 noundef %40)
  br label %43

43:                                               ; preds = %41, %29
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #8
  %44 = add nuw nsw i32 %.02937, 1
  %exitcond47.not = icmp eq i32 %44, 200001
  br i1 %exitcond47.not, label %25, label %.preheader, !llvm.loop !19
}

; Function Attrs: nounwind
declare void @srand(i32 noundef) local_unnamed_addr #5

; Function Attrs: nounwind
declare i64 @time(ptr noundef) local_unnamed_addr #5

; Function Attrs: nounwind
declare i32 @rand() local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #7

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 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 #5 = { 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 = { 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 #7 = { nofree 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 #8 = { 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 = !{!"_ZTS3Seg", !7, i64 0, !7, i64 8, !10, i64 16}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 8}
!12 = !{!6, !10, i64 16}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{!17, !17, i64 0}
!17 = !{!"long long", !8, i64 0}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}


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