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

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

@t = external dso_local global [800020 x %struct.segment], 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: 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 @_Z8pushdownidd(i32 noundef %0, double noundef %1, double noundef %2) #1 {
  %4 = alloca i32, align 4
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca i32, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store double %1, ptr %5, align 8, !tbaa !9
  store double %2, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %13 = load double, ptr %5, align 8, !tbaa !9
  %14 = load i32, ptr %4, align 4, !tbaa !5
  %15 = sext i32 %14 to i64
  %16 = getelementptr inbounds [800020 x %struct.segment], ptr @t, i64 0, i64 %15
  %17 = getelementptr inbounds %struct.segment, ptr %16, i32 0, i32 0
  %18 = load i32, ptr %17, align 16, !tbaa !11
  %19 = sitofp i32 %18 to double
  %20 = load double, ptr %6, align 8, !tbaa !9
  %21 = call double @llvm.fmuladd.f64(double %13, double %19, double %20)
  store double %21, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %22 = load double, ptr %5, align 8, !tbaa !9
  %23 = load i32, ptr %4, align 4, !tbaa !5
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds [800020 x %struct.segment], ptr @t, i64 0, i64 %24
  %26 = getelementptr inbounds %struct.segment, ptr %25, i32 0, i32 1
  %27 = load i32, ptr %26, align 4, !tbaa !13
  %28 = sitofp i32 %27 to double
  %29 = load double, ptr %6, align 8, !tbaa !9
  %30 = call double @llvm.fmuladd.f64(double %22, double %28, double %29)
  store double %30, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %31 = load i32, ptr %4, align 4, !tbaa !5
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [800020 x %struct.segment], ptr @t, i64 0, i64 %32
  %34 = getelementptr inbounds %struct.segment, ptr %33, i32 0, i32 4
  %35 = load double, ptr %34, align 16, !tbaa !14
  %36 = load i32, ptr %4, align 4, !tbaa !5
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [800020 x %struct.segment], ptr @t, i64 0, i64 %37
  %39 = getelementptr inbounds %struct.segment, ptr %38, i32 0, i32 0
  %40 = load i32, ptr %39, align 16, !tbaa !11
  %41 = sitofp i32 %40 to double
  %42 = load i32, ptr %4, align 4, !tbaa !5
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds [800020 x %struct.segment], ptr @t, i64 0, i64 %43
  %45 = getelementptr inbounds %struct.segment, ptr %44, i32 0, i32 5
  %46 = load double, ptr %45, align 8, !tbaa !15
  %47 = call double @llvm.fmuladd.f64(double %35, double %41, double %46)
  store double %47, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %48 = load i32, ptr %4, align 4, !tbaa !5
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [800020 x %struct.segment], ptr @t, i64 0, i64 %49
  %51 = getelementptr inbounds %struct.segment, ptr %50, i32 0, i32 4
  %52 = load double, ptr %51, align 16, !tbaa !14
  %53 = load i32, ptr %4, align 4, !tbaa !5
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [800020 x %struct.segment], ptr @t, i64 0, i64 %54
  %56 = getelementptr inbounds %struct.segment, ptr %55, i32 0, i32 1
  %57 = load i32, ptr %56, align 4, !tbaa !13
  %58 = sitofp i32 %57 to double
  %59 = load i32, ptr %4, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [800020 x %struct.segment], ptr @t, i64 0, i64 %60
  %62 = getelementptr inbounds %struct.segment, ptr %61, i32 0, i32 5
  %63 = load double, ptr %62, align 8, !tbaa !15
  %64 = call double @llvm.fmuladd.f64(double %52, double %58, double %63)
  store double %64, ptr %10, align 8, !tbaa !9
  %65 = load double, ptr %7, align 8, !tbaa !9
  %66 = load double, ptr %9, align 8, !tbaa !9
  %67 = fcmp oge double %65, %66
  br i1 %67, label %68, label %83

68:                                               ; preds = %3
  %69 = load double, ptr %8, align 8, !tbaa !9
  %70 = load double, ptr %10, align 8, !tbaa !9
  %71 = fcmp oge double %69, %70
  br i1 %71, label %72, label %83

72:                                               ; preds = %68
  %73 = load double, ptr %5, align 8, !tbaa !9
  %74 = load i32, ptr %4, align 4, !tbaa !5
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds [800020 x %struct.segment], ptr @t, i64 0, i64 %75
  %77 = getelementptr inbounds %struct.segment, ptr %76, i32 0, i32 4
  store double %73, ptr %77, align 16, !tbaa !14
  %78 = load double, ptr %6, align 8, !tbaa !9
  %79 = load i32, ptr %4, align 4, !tbaa !5
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds [800020 x %struct.segment], ptr @t, i64 0, i64 %80
  %82 = getelementptr inbounds %struct.segment, ptr %81, i32 0, i32 5
  store double %78, ptr %82, align 8, !tbaa !15
  br label %167

83:                                               ; preds = %68, %3
  %84 = load double, ptr %9, align 8, !tbaa !9
  %85 = load double, ptr %7, align 8, !tbaa !9
  %86 = fcmp olt double %84, %85
  br i1 %86, label %91, label %87

87:                                               ; preds = %83
  %88 = load double, ptr %10, align 8, !tbaa !9
  %89 = load double, ptr %8, align 8, !tbaa !9
  %90 = fcmp olt double %88, %89
  br i1 %90, label %91, label %166

91:                                               ; preds = %87, %83
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %92 = load double, ptr %6, align 8, !tbaa !9
  %93 = load i32, ptr %4, align 4, !tbaa !5
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds [800020 x %struct.segment], ptr @t, i64 0, i64 %94
  %96 = getelementptr inbounds %struct.segment, ptr %95, i32 0, i32 5
  %97 = load double, ptr %96, align 8, !tbaa !15
  %98 = fsub double %92, %97
  %99 = load i32, ptr %4, align 4, !tbaa !5
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds [800020 x %struct.segment], ptr @t, i64 0, i64 %100
  %102 = getelementptr inbounds %struct.segment, ptr %101, i32 0, i32 4
  %103 = load double, ptr %102, align 16, !tbaa !14
  %104 = load double, ptr %5, align 8, !tbaa !9
  %105 = fsub double %103, %104
  %106 = fdiv double %98, %105
  store double %106, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %107 = load i32, ptr %4, align 4, !tbaa !5
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds [800020 x %struct.segment], ptr @t, i64 0, i64 %108
  %110 = getelementptr inbounds %struct.segment, ptr %109, i32 0, i32 0
  %111 = load i32, ptr %110, align 16, !tbaa !11
  %112 = load i32, ptr %4, align 4, !tbaa !5
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [800020 x %struct.segment], ptr @t, i64 0, i64 %113
  %115 = getelementptr inbounds %struct.segment, ptr %114, i32 0, i32 1
  %116 = load i32, ptr %115, align 4, !tbaa !13
  %117 = add nsw i32 %111, %116
  %118 = ashr i32 %117, 1
  store i32 %118, ptr %12, align 4, !tbaa !5
  %119 = load double, ptr %11, align 8, !tbaa !9
  %120 = load i32, ptr %12, align 4, !tbaa !5
  %121 = sitofp i32 %120 to double
  %122 = fcmp ole double %119, %121
  br i1 %122, label %123, label %144

123:                                              ; preds = %91
  %124 = load double, ptr %8, align 8, !tbaa !9
  %125 = load double, ptr %10, align 8, !tbaa !9
  %126 = fcmp ogt double %124, %125
  br i1 %126, label %127, label %136

127:                                              ; preds = %123
  %128 = load i32, ptr %4, align 4, !tbaa !5
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds [800020 x %struct.segment], ptr @t, i64 0, i64 %129
  %131 = getelementptr inbounds %struct.segment, ptr %130, i32 0, i32 4
  call void @_ZSt4swapIdENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 8 dereferenceable(8) %131, ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  %132 = load i32, ptr %4, align 4, !tbaa !5
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds [800020 x %struct.segment], ptr @t, i64 0, i64 %133
  %135 = getelementptr inbounds %struct.segment, ptr %134, i32 0, i32 5
  call void @_ZSt4swapIdENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 8 dereferenceable(8) %135, ptr noundef nonnull align 8 dereferenceable(8) %6) #4
  br label %136

136:                                              ; preds = %127, %123
  %137 = load i32, ptr %4, align 4, !tbaa !5
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds [800020 x %struct.segment], ptr @t, i64 0, i64 %138
  %140 = getelementptr inbounds %struct.segment, ptr %139, i32 0, i32 2
  %141 = load i32, ptr %140, align 8, !tbaa !16
  %142 = load double, ptr %5, align 8, !tbaa !9
  %143 = load double, ptr %6, align 8, !tbaa !9
  call void @_Z8pushdownidd(i32 noundef %141, double noundef %142, double noundef %143)
  br label %165

144:                                              ; preds = %91
  %145 = load double, ptr %7, align 8, !tbaa !9
  %146 = load double, ptr %9, align 8, !tbaa !9
  %147 = fcmp ogt double %145, %146
  br i1 %147, label %148, label %157

148:                                              ; preds = %144
  %149 = load i32, ptr %4, align 4, !tbaa !5
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds [800020 x %struct.segment], ptr @t, i64 0, i64 %150
  %152 = getelementptr inbounds %struct.segment, ptr %151, i32 0, i32 4
  call void @_ZSt4swapIdENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 8 dereferenceable(8) %152, ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  %153 = load i32, ptr %4, align 4, !tbaa !5
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds [800020 x %struct.segment], ptr @t, i64 0, i64 %154
  %156 = getelementptr inbounds %struct.segment, ptr %155, i32 0, i32 5
  call void @_ZSt4swapIdENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 8 dereferenceable(8) %156, ptr noundef nonnull align 8 dereferenceable(8) %6) #4
  br label %157

157:                                              ; preds = %148, %144
  %158 = load i32, ptr %4, align 4, !tbaa !5
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds [800020 x %struct.segment], ptr @t, i64 0, i64 %159
  %161 = getelementptr inbounds %struct.segment, ptr %160, i32 0, i32 3
  %162 = load i32, ptr %161, align 4, !tbaa !17
  %163 = load double, ptr %5, align 8, !tbaa !9
  %164 = load double, ptr %6, align 8, !tbaa !9
  call void @_Z8pushdownidd(i32 noundef %162, double noundef %163, double noundef %164)
  br label %165

165:                                              ; preds = %157, %136
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  br label %166

166:                                              ; preds = %165, %87
  br label %167

167:                                              ; preds = %166, %72
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  ret void
}

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 speculatable willreturn memory(none) }
attributes #3 = { 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 #4 = { 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 = !{!"double", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTS7segment", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !10, i64 16, !10, i64 24}
!13 = !{!12, !6, i64 4}
!14 = !{!12, !10, i64 16}
!15 = !{!12, !10, i64 24}
!16 = !{!12, !6, i64 8}
!17 = !{!12, !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.segment = type { i32, i32, i32, i32, double, double }

@t = external dso_local global [800020 x %struct.segment], align 16

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z8pushdownidd(i32 noundef %0, double noundef %1, double noundef %2) local_unnamed_addr #0 {
  %4 = alloca double, align 8
  %5 = alloca double, align 8
  store double %1, ptr %4, align 8, !tbaa !5
  store double %2, ptr %5, align 8, !tbaa !5
  %6 = sext i32 %0 to i64
  %7 = getelementptr inbounds [800020 x %struct.segment], ptr @t, i64 0, i64 %6
  %8 = load i32, ptr %7, align 16, !tbaa !9
  %9 = sitofp i32 %8 to double
  %10 = tail call double @llvm.fmuladd.f64(double %1, double %9, double %2)
  %11 = getelementptr inbounds i8, ptr %7, i64 4
  %12 = load i32, ptr %11, align 4, !tbaa !12
  %13 = sitofp i32 %12 to double
  %14 = tail call double @llvm.fmuladd.f64(double %1, double %13, double %2)
  %15 = getelementptr inbounds i8, ptr %7, i64 16
  %16 = load double, ptr %15, align 16, !tbaa !13
  %17 = getelementptr inbounds i8, ptr %7, i64 24
  %18 = load double, ptr %17, align 8, !tbaa !14
  %19 = tail call double @llvm.fmuladd.f64(double %16, double %9, double %18)
  %20 = tail call double @llvm.fmuladd.f64(double %16, double %13, double %18)
  %21 = fcmp ult double %10, %19
  %22 = fcmp ult double %14, %20
  %or.cond = select i1 %21, i1 true, i1 %22
  br i1 %or.cond, label %24, label %23

23:                                               ; preds = %3
  store double %1, ptr %15, align 16, !tbaa !13
  store double %2, ptr %17, align 8, !tbaa !14
  br label %49

24:                                               ; preds = %3
  %25 = fcmp olt double %19, %10
  %26 = fcmp olt double %20, %14
  %or.cond33 = select i1 %25, i1 true, i1 %26
  br i1 %or.cond33, label %27, label %49

27:                                               ; preds = %24
  %28 = fsub double %2, %18
  %29 = fsub double %16, %1
  %30 = fdiv double %28, %29
  %31 = add nsw i32 %12, %8
  %32 = ashr i32 %31, 1
  %33 = sitofp i32 %32 to double
  %34 = fcmp ugt double %30, %33
  br i1 %34, label %42, label %35

35:                                               ; preds = %27
  br i1 %26, label %36, label %37

36:                                               ; preds = %35
  call void @_ZSt4swapIdENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %4) #3
  call void @_ZSt4swapIdENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %5) #3
  %.pre = load double, ptr %4, align 8, !tbaa !5
  %.pre34 = load double, ptr %5, align 8, !tbaa !5
  br label %37

37:                                               ; preds = %36, %35
  %38 = phi double [ %.pre34, %36 ], [ %2, %35 ]
  %39 = phi double [ %.pre, %36 ], [ %1, %35 ]
  %40 = getelementptr inbounds i8, ptr %7, i64 8
  %41 = load i32, ptr %40, align 8, !tbaa !15
  call void @_Z8pushdownidd(i32 noundef %41, double noundef %39, double noundef %38)
  br label %49

42:                                               ; preds = %27
  br i1 %25, label %43, label %44

43:                                               ; preds = %42
  call void @_ZSt4swapIdENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %4) #3
  call void @_ZSt4swapIdENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %5) #3
  %.pre35 = load double, ptr %4, align 8, !tbaa !5
  %.pre36 = load double, ptr %5, align 8, !tbaa !5
  br label %44

44:                                               ; preds = %43, %42
  %45 = phi double [ %.pre36, %43 ], [ %2, %42 ]
  %46 = phi double [ %.pre35, %43 ], [ %1, %42 ]
  %47 = getelementptr inbounds i8, ptr %7, i64 12
  %48 = load i32, ptr %47, align 4, !tbaa !16
  call void @_Z8pushdownidd(i32 noundef %48, double noundef %46, double noundef %45)
  br label %49

49:                                               ; preds = %37, %44, %24, %23
  ret void
}

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

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

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 speculatable willreturn memory(none) }
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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTS7segment", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !6, i64 16, !6, i64 24}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 4}
!13 = !{!10, !6, i64 16}
!14 = !{!10, !6, i64 24}
!15 = !{!10, !11, i64 8}
!16 = !{!10, !11, i64 12}


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