; LLVM IR from tangjz/acm-icpc :: lanqiao/T116.ll (Z3dfsi)

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

@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@p = external dso_local global i32, align 4
@dis = external dso_local global [26 x [51 x i32]], align 16
@ord = external dso_local global [26 x i32], align 16
@f = external dso_local global [11 x [51 x i32]], align 16
@g = external dso_local global [11 x i32], align 16
@h = external dso_local global [11 x i32], align 16
@ans = external dso_local global double, align 8
@counter = external dso_local global i32, align 4

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3dfsi(i32 noundef %0) #0 {
  %2 = alloca i32, align 4
  %3 = alloca double, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i8, align 1
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  store i32 %0, ptr %2, align 4, !tbaa !5
  %11 = load i32, ptr @counter, align 4, !tbaa !5
  %12 = add nsw i32 %11, 1
  store i32 %12, ptr @counter, align 4, !tbaa !5
  %13 = icmp sgt i32 %12, 850000
  br i1 %13, label %14, label %15

14:                                               ; preds = %1
  br label %149

15:                                               ; preds = %1
  %16 = load i32, ptr %2, align 4, !tbaa !5
  %17 = load i32, ptr @p, align 4, !tbaa !5
  %18 = icmp eq i32 %16, %17
  br i1 %18, label %19, label %49

19:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  store double 0.000000e+00, ptr %3, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %20

20:                                               ; preds = %36, %19
  %21 = load i32, ptr %4, align 4, !tbaa !5
  %22 = load i32, ptr @n, align 4, !tbaa !5
  %23 = icmp slt i32 %21, %22
  br i1 %23, label %25, label %24

24:                                               ; preds = %20
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  br label %39

25:                                               ; preds = %20
  %26 = load i32, ptr %2, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [11 x [51 x i32]], ptr @f, i64 0, i64 %27
  %29 = load i32, ptr %4, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [51 x i32], ptr %28, i64 0, i64 %30
  %32 = load i32, ptr %31, align 4, !tbaa !5
  %33 = call noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %32)
  %34 = load double, ptr %3, align 8, !tbaa !9
  %35 = fadd double %34, %33
  store double %35, ptr %3, align 8, !tbaa !9
  br label %36

36:                                               ; preds = %25
  %37 = load i32, ptr %4, align 4, !tbaa !5
  %38 = add nsw i32 %37, 1
  store i32 %38, ptr %4, align 4, !tbaa !5
  br label %20, !llvm.loop !11

39:                                               ; preds = %24
  %40 = load double, ptr @ans, align 8, !tbaa !9
  %41 = load double, ptr %3, align 8, !tbaa !9
  %42 = fcmp ogt double %40, %41
  br i1 %42, label %43, label %48

43:                                               ; preds = %39
  %44 = load double, ptr %3, align 8, !tbaa !9
  store double %44, ptr @ans, align 8, !tbaa !9
  %45 = load i32, ptr @p, align 4, !tbaa !5
  %46 = sext i32 %45 to i64
  %47 = mul i64 %46, 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 @h, ptr align 16 @g, i64 %47, i1 false)
  br label %48

48:                                               ; preds = %43, %39
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  br label %149

49:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  %50 = load i32, ptr %2, align 4, !tbaa !5
  %51 = icmp ne i32 %50, 0
  br i1 %51, label %52, label %59

52:                                               ; preds = %49
  %53 = load i32, ptr %2, align 4, !tbaa !5
  %54 = sub nsw i32 %53, 1
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [11 x i32], ptr @g, i64 0, i64 %55
  %57 = load i32, ptr %56, align 4, !tbaa !5
  %58 = add nsw i32 %57, 1
  br label %60

59:                                               ; preds = %49
  br label %60

60:                                               ; preds = %59, %52
  %61 = phi i32 [ %58, %52 ], [ 0, %59 ]
  store i32 %61, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  %62 = load i32, ptr @m, align 4, !tbaa !5
  %63 = load i32, ptr @p, align 4, !tbaa !5
  %64 = sub nsw i32 %62, %63
  %65 = load i32, ptr %2, align 4, !tbaa !5
  %66 = add nsw i32 %64, %65
  store i32 %66, ptr %6, align 4, !tbaa !5
  br label %67

67:                                               ; preds = %146, %60
  %68 = load i32, ptr %5, align 4, !tbaa !5
  %69 = load i32, ptr %6, align 4, !tbaa !5
  %70 = icmp sle i32 %68, %69
  br i1 %70, label %72, label %71

71:                                               ; preds = %67
  store i32 5, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %149

72:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #4
  store i8 0, ptr %8, align 1, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %73 = load i32, ptr %5, align 4, !tbaa !5
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds [26 x i32], ptr @ord, i64 0, i64 %74
  %76 = load i32, ptr %75, align 4, !tbaa !5
  store i32 %76, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %77

77:                                               ; preds = %129, %72
  %78 = load i32, ptr %10, align 4, !tbaa !5
  %79 = load i32, ptr @n, align 4, !tbaa !5
  %80 = icmp slt i32 %78, %79
  br i1 %80, label %82, label %81

81:                                               ; preds = %77
  store i32 8, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %132

82:                                               ; preds = %77
  %83 = load i32, ptr %2, align 4, !tbaa !5
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds [11 x [51 x i32]], ptr @f, i64 0, i64 %84
  %86 = load i32, ptr %10, align 4, !tbaa !5
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [51 x i32], ptr %85, i64 0, i64 %87
  %89 = load i32, ptr %88, align 4, !tbaa !5
  %90 = load i32, ptr %9, align 4, !tbaa !5
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [26 x [51 x i32]], ptr @dis, i64 0, i64 %91
  %93 = load i32, ptr %10, align 4, !tbaa !5
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds [51 x i32], ptr %92, i64 0, i64 %94
  %96 = load i32, ptr %95, align 4, !tbaa !5
  %97 = icmp slt i32 %89, %96
  br i1 %97, label %98, label %113

98:                                               ; preds = %82
  %99 = load i32, ptr %2, align 4, !tbaa !5
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds [11 x [51 x i32]], ptr @f, i64 0, i64 %100
  %102 = load i32, ptr %10, align 4, !tbaa !5
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds [51 x i32], ptr %101, i64 0, i64 %103
  %105 = load i32, ptr %104, align 4, !tbaa !5
  %106 = load i32, ptr %2, align 4, !tbaa !5
  %107 = add nsw i32 %106, 1
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds [11 x [51 x i32]], ptr @f, i64 0, i64 %108
  %110 = load i32, ptr %10, align 4, !tbaa !5
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds [51 x i32], ptr %109, i64 0, i64 %111
  store i32 %105, ptr %112, align 4, !tbaa !5
  br label %128

113:                                              ; preds = %82
  %114 = load i32, ptr %9, align 4, !tbaa !5
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds [26 x [51 x i32]], ptr @dis, i64 0, i64 %115
  %117 = load i32, ptr %10, align 4, !tbaa !5
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds [51 x i32], ptr %116, i64 0, i64 %118
  %120 = load i32, ptr %119, align 4, !tbaa !5
  %121 = load i32, ptr %2, align 4, !tbaa !5
  %122 = add nsw i32 %121, 1
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [11 x [51 x i32]], ptr @f, i64 0, i64 %123
  %125 = load i32, ptr %10, align 4, !tbaa !5
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds [51 x i32], ptr %124, i64 0, i64 %126
  store i32 %120, ptr %127, align 4, !tbaa !5
  store i8 1, ptr %8, align 1, !tbaa !13
  br label %128

128:                                              ; preds = %113, %98
  br label %129

129:                                              ; preds = %128
  %130 = load i32, ptr %10, align 4, !tbaa !5
  %131 = add nsw i32 %130, 1
  store i32 %131, ptr %10, align 4, !tbaa !5
  br label %77, !llvm.loop !15

132:                                              ; preds = %81
  %133 = load i8, ptr %8, align 1, !tbaa !13, !range !16, !noundef !17
  %134 = trunc i8 %133 to i1
  br i1 %134, label %136, label %135

135:                                              ; preds = %132
  store i32 7, ptr %7, align 4
  br label %143

136:                                              ; preds = %132
  %137 = load i32, ptr %5, align 4, !tbaa !5
  %138 = load i32, ptr %2, align 4, !tbaa !5
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds [11 x i32], ptr @g, i64 0, i64 %139
  store i32 %137, ptr %140, align 4, !tbaa !5
  %141 = load i32, ptr %2, align 4, !tbaa !5
  %142 = add nsw i32 %141, 1
  call void @_Z3dfsi(i32 noundef %142)
  store i32 0, ptr %7, align 4
  br label %143

143:                                              ; preds = %136, %135
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #4
  %144 = load i32, ptr %7, align 4
  switch i32 %144, label %150 [
    i32 0, label %145
    i32 7, label %146
  ]

145:                                              ; preds = %143
  br label %146

146:                                              ; preds = %145, %143
  %147 = load i32, ptr %5, align 4, !tbaa !5
  %148 = add nsw i32 %147, 1
  store i32 %148, ptr %5, align 4, !tbaa !5
  br label %67, !llvm.loop !18

149:                                              ; preds = %71, %48, %14
  ret void

150:                                              ; preds = %143
  unreachable
}

; 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 double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef) #2

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = distinct !{!15, !12}
!16 = !{i8 0, i8 2}
!17 = !{}
!18 = distinct !{!18, !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"

@n = external dso_local local_unnamed_addr global i32, align 4
@m = external dso_local local_unnamed_addr global i32, align 4
@p = external dso_local local_unnamed_addr global i32, align 4
@dis = external dso_local local_unnamed_addr global [26 x [51 x i32]], align 16
@ord = external dso_local local_unnamed_addr global [26 x i32], align 16
@f = external dso_local local_unnamed_addr global [11 x [51 x i32]], align 16
@g = external dso_local local_unnamed_addr global [11 x i32], align 16
@h = external dso_local local_unnamed_addr global [11 x i32], align 16
@ans = external dso_local local_unnamed_addr global double, align 8
@counter = external dso_local local_unnamed_addr global i32, align 4

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z3dfsi(i32 noundef %0) local_unnamed_addr #0 {
  %2 = load i32, ptr @counter, align 4, !tbaa !5
  %3 = add nsw i32 %2, 1
  store i32 %3, ptr @counter, align 4, !tbaa !5
  %4 = icmp sgt i32 %2, 849999
  br i1 %4, label %.loopexit, label %5

5:                                                ; preds = %1
  %6 = load i32, ptr @p, align 4, !tbaa !5
  %7 = icmp eq i32 %6, %0
  br i1 %7, label %.preheader, label %25

.preheader:                                       ; preds = %5
  %8 = load i32, ptr @n, align 4, !tbaa !5
  %9 = icmp sgt i32 %8, 0
  br i1 %9, label %.lr.ph49, label %._crit_edge50

.lr.ph49:                                         ; preds = %.preheader
  %10 = sext i32 %0 to i64
  br label %13

._crit_edge50:                                    ; preds = %13, %.preheader
  %.032.lcssa = phi double [ 0.000000e+00, %.preheader ], [ %17, %13 ]
  %11 = load double, ptr @ans, align 8, !tbaa !9
  %12 = fcmp ogt double %11, %.032.lcssa
  br i1 %12, label %21, label %.loopexit

13:                                               ; preds = %.lr.ph49, %13
  %indvars.iv55 = phi i64 [ 0, %.lr.ph49 ], [ %indvars.iv.next56, %13 ]
  %.03248 = phi double [ 0.000000e+00, %.lr.ph49 ], [ %17, %13 ]
  %14 = getelementptr inbounds [11 x [51 x i32]], ptr @f, i64 0, i64 %10, i64 %indvars.iv55
  %15 = load i32, ptr %14, align 4, !tbaa !5
  %16 = tail call noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %15)
  %17 = fadd double %.03248, %16
  %indvars.iv.next56 = add nuw nsw i64 %indvars.iv55, 1
  %18 = load i32, ptr @n, align 4, !tbaa !5
  %19 = sext i32 %18 to i64
  %20 = icmp slt i64 %indvars.iv.next56, %19
  br i1 %20, label %13, label %._crit_edge50, !llvm.loop !11

21:                                               ; preds = %._crit_edge50
  store double %.032.lcssa, ptr @ans, align 8, !tbaa !9
  %22 = load i32, ptr @p, align 4, !tbaa !5
  %23 = sext i32 %22 to i64
  %24 = shl nsw i64 %23, 2
  tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 16 @h, ptr nonnull align 16 @g, i64 %24, i1 false)
  br label %.loopexit

25:                                               ; preds = %5
  %.not = icmp eq i32 %0, 0
  br i1 %.not, label %32, label %26

26:                                               ; preds = %25
  %27 = add nsw i32 %0, -1
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [11 x i32], ptr @g, i64 0, i64 %28
  %30 = load i32, ptr %29, align 4, !tbaa !5
  %31 = add nsw i32 %30, 1
  br label %32

32:                                               ; preds = %25, %26
  %33 = phi i32 [ %31, %26 ], [ 0, %25 ]
  %34 = load i32, ptr @m, align 4, !tbaa !5
  %35 = sub i32 %0, %6
  %36 = add i32 %35, %34
  %.not4043 = icmp sgt i32 %33, %36
  br i1 %.not4043, label %.loopexit, label %.lr.ph46

.lr.ph46:                                         ; preds = %32
  %37 = sext i32 %0 to i64
  %38 = add nsw i32 %0, 1
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [11 x i32], ptr @g, i64 0, i64 %37
  %41 = sext i32 %33 to i64
  %42 = sext i32 %36 to i64
  %.pre58 = load i32, ptr @n, align 4, !tbaa !5
  br label %43

43:                                               ; preds = %.lr.ph46, %.critedge
  %44 = phi i32 [ %.pre58, %.lr.ph46 ], [ %58, %.critedge ]
  %indvars.iv52 = phi i64 [ %41, %.lr.ph46 ], [ %indvars.iv.next53, %.critedge ]
  %45 = icmp sgt i32 %44, 0
  br i1 %45, label %.lr.ph, label %.critedge

.lr.ph:                                           ; preds = %43
  %46 = getelementptr inbounds [26 x i32], ptr @ord, i64 0, i64 %indvars.iv52
  %47 = load i32, ptr %46, align 4, !tbaa !5
  %48 = sext i32 %47 to i64
  %wide.trip.count = zext nneg i32 %44 to i64
  br label %.outer

.outer:                                           ; preds = %.thread, %.lr.ph
  %indvars.iv.ph = phi i64 [ %indvars.iv.next, %.thread ], [ 0, %.lr.ph ]
  %.03341.ph = phi i1 [ true, %.thread ], [ false, %.lr.ph ]
  br label %49

._crit_edge:                                      ; preds = %56
  br i1 %.03341.ph, label %._crit_edge.thread, label %.critedge

49:                                               ; preds = %.outer, %56
  %indvars.iv = phi i64 [ %indvars.iv.next, %56 ], [ %indvars.iv.ph, %.outer ]
  %50 = getelementptr inbounds [11 x [51 x i32]], ptr @f, i64 0, i64 %37, i64 %indvars.iv
  %51 = load i32, ptr %50, align 4, !tbaa !5
  %52 = getelementptr inbounds [26 x [51 x i32]], ptr @dis, i64 0, i64 %48, i64 %indvars.iv
  %53 = load i32, ptr %52, align 4, !tbaa !5
  %54 = icmp slt i32 %51, %53
  %55 = getelementptr inbounds [11 x [51 x i32]], ptr @f, i64 0, i64 %39, i64 %indvars.iv
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %54, label %56, label %.thread

56:                                               ; preds = %49
  store i32 %51, ptr %55, align 4, !tbaa !5
  br i1 %exitcond.not, label %._crit_edge, label %49, !llvm.loop !13

.thread:                                          ; preds = %49
  store i32 %53, ptr %55, align 4, !tbaa !5
  br i1 %exitcond.not, label %._crit_edge.thread, label %.outer, !llvm.loop !13

._crit_edge.thread:                               ; preds = %.thread, %._crit_edge
  %57 = trunc nsw i64 %indvars.iv52 to i32
  store i32 %57, ptr %40, align 4, !tbaa !5
  tail call void @_Z3dfsi(i32 noundef %38)
  %.pre = load i32, ptr @n, align 4, !tbaa !5
  br label %.critedge

.critedge:                                        ; preds = %43, %._crit_edge, %._crit_edge.thread
  %58 = phi i32 [ %44, %43 ], [ %44, %._crit_edge ], [ %.pre, %._crit_edge.thread ]
  %indvars.iv.next53 = add nsw i64 %indvars.iv52, 1
  %.not40.not = icmp slt i64 %indvars.iv52, %42
  br i1 %.not40.not, label %43, label %.loopexit, !llvm.loop !14

.loopexit:                                        ; preds = %.critedge, %32, %._crit_edge50, %21, %1
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #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 = { 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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }

!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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass