; LLVM IR from shyams2/SIMPLE_Solver :: SIMPLE.ll (Z9calculatev)

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

@u = external dso_local global [90601 x double], align 16
@v = external dso_local global [90601 x double], align 16
@uav = external dso_local global [90000 x double], align 16
@vav = external dso_local global [90000 x double], align 16
@dudx = external dso_local global [90000 x double], align 16
@dudy = external dso_local global [90000 x double], align 16
@dvdx = external dso_local global [90000 x double], align 16
@dvdy = external dso_local global [90000 x double], align 16
@m = external dso_local global [90000 x double], align 16
@pc = external dso_local global [90000 x double], align 16
@dx = external dso_local global double, align 8
@dy = external dso_local global double, align 8
@con = external dso_local global double, align 8
@resmax = external dso_local global double, align 8
@k = external dso_local global i32, align 4
@n1 = external dso_local global i32, align 4
@n2 = external dso_local global i32, align 4
@n3 = external dso_local global i32, align 4
@n4 = external dso_local global i32, align 4

; 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 nounwind uwtable
declare dso_local void @_Z6nodconii(i32 noundef, i32 noundef) #1

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z9calculatev() #1 {
  %1 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #2
  %2 = load double, ptr @m, align 16, !tbaa !5
  store double %2, ptr @resmax, align 8, !tbaa !5
  store i32 0, ptr %1, align 4, !tbaa !9
  br label %3

3:                                                ; preds = %196, %0
  %4 = load i32, ptr %1, align 4, !tbaa !9
  %5 = load i32, ptr @k, align 4, !tbaa !9
  %6 = load i32, ptr @k, align 4, !tbaa !9
  %7 = mul nsw i32 %5, %6
  %8 = icmp slt i32 %4, %7
  br i1 %8, label %9, label %199

9:                                                ; preds = %3
  %10 = load i32, ptr %1, align 4, !tbaa !9
  %11 = load i32, ptr @k, align 4, !tbaa !9
  call void @_Z6nodconii(i32 noundef %10, i32 noundef %11)
  %12 = load i32, ptr @n1, align 4, !tbaa !9
  %13 = sext i32 %12 to i64
  %14 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %13
  %15 = load double, ptr %14, align 8, !tbaa !5
  %16 = load i32, ptr @n2, align 4, !tbaa !9
  %17 = sext i32 %16 to i64
  %18 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %17
  %19 = load double, ptr %18, align 8, !tbaa !5
  %20 = fadd double %15, %19
  %21 = load i32, ptr @n3, align 4, !tbaa !9
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %22
  %24 = load double, ptr %23, align 8, !tbaa !5
  %25 = fadd double %20, %24
  %26 = load i32, ptr @n4, align 4, !tbaa !9
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %27
  %29 = load double, ptr %28, align 8, !tbaa !5
  %30 = fadd double %25, %29
  %31 = fdiv double %30, 4.000000e+00
  %32 = load i32, ptr %1, align 4, !tbaa !9
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds [90000 x double], ptr @uav, i64 0, i64 %33
  store double %31, ptr %34, align 8, !tbaa !5
  %35 = load i32, ptr @n1, align 4, !tbaa !9
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %36
  %38 = load double, ptr %37, align 8, !tbaa !5
  %39 = load i32, ptr @n2, align 4, !tbaa !9
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %40
  %42 = load double, ptr %41, align 8, !tbaa !5
  %43 = fadd double %38, %42
  %44 = load i32, ptr @n3, align 4, !tbaa !9
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %45
  %47 = load double, ptr %46, align 8, !tbaa !5
  %48 = fadd double %43, %47
  %49 = load i32, ptr @n4, align 4, !tbaa !9
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %50
  %52 = load double, ptr %51, align 8, !tbaa !5
  %53 = fadd double %48, %52
  %54 = fdiv double %53, 4.000000e+00
  %55 = load i32, ptr %1, align 4, !tbaa !9
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [90000 x double], ptr @vav, i64 0, i64 %56
  store double %54, ptr %57, align 8, !tbaa !5
  %58 = load i32, ptr @n2, align 4, !tbaa !9
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %59
  %61 = load double, ptr %60, align 8, !tbaa !5
  %62 = load i32, ptr @n3, align 4, !tbaa !9
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %63
  %65 = load double, ptr %64, align 8, !tbaa !5
  %66 = fadd double %61, %65
  %67 = load i32, ptr @n1, align 4, !tbaa !9
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %68
  %70 = load double, ptr %69, align 8, !tbaa !5
  %71 = fsub double %66, %70
  %72 = load i32, ptr @n4, align 4, !tbaa !9
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %73
  %75 = load double, ptr %74, align 8, !tbaa !5
  %76 = fsub double %71, %75
  %77 = load double, ptr @dx, align 8, !tbaa !5
  %78 = fmul double 2.000000e+00, %77
  %79 = fdiv double %76, %78
  %80 = load i32, ptr %1, align 4, !tbaa !9
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [90000 x double], ptr @dudx, i64 0, i64 %81
  store double %79, ptr %82, align 8, !tbaa !5
  %83 = load i32, ptr @n2, align 4, !tbaa !9
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %84
  %86 = load double, ptr %85, align 8, !tbaa !5
  %87 = load i32, ptr @n3, align 4, !tbaa !9
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %88
  %90 = load double, ptr %89, align 8, !tbaa !5
  %91 = fadd double %86, %90
  %92 = load i32, ptr @n1, align 4, !tbaa !9
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %93
  %95 = load double, ptr %94, align 8, !tbaa !5
  %96 = fsub double %91, %95
  %97 = load i32, ptr @n4, align 4, !tbaa !9
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %98
  %100 = load double, ptr %99, align 8, !tbaa !5
  %101 = fsub double %96, %100
  %102 = load double, ptr @dx, align 8, !tbaa !5
  %103 = fmul double 2.000000e+00, %102
  %104 = fdiv double %101, %103
  %105 = load i32, ptr %1, align 4, !tbaa !9
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds [90000 x double], ptr @dvdx, i64 0, i64 %106
  store double %104, ptr %107, align 8, !tbaa !5
  %108 = load i32, ptr @n3, align 4, !tbaa !9
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %109
  %111 = load double, ptr %110, align 8, !tbaa !5
  %112 = load i32, ptr @n4, align 4, !tbaa !9
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %113
  %115 = load double, ptr %114, align 8, !tbaa !5
  %116 = fadd double %111, %115
  %117 = load i32, ptr @n1, align 4, !tbaa !9
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %118
  %120 = load double, ptr %119, align 8, !tbaa !5
  %121 = fsub double %116, %120
  %122 = load i32, ptr @n2, align 4, !tbaa !9
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %123
  %125 = load double, ptr %124, align 8, !tbaa !5
  %126 = fsub double %121, %125
  %127 = load double, ptr @dy, align 8, !tbaa !5
  %128 = fmul double 2.000000e+00, %127
  %129 = fdiv double %126, %128
  %130 = load i32, ptr %1, align 4, !tbaa !9
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds [90000 x double], ptr @dudy, i64 0, i64 %131
  store double %129, ptr %132, align 8, !tbaa !5
  %133 = load i32, ptr @n3, align 4, !tbaa !9
  %134 = sext i32 %133 to i64
  %135 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %134
  %136 = load double, ptr %135, align 8, !tbaa !5
  %137 = load i32, ptr @n4, align 4, !tbaa !9
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %138
  %140 = load double, ptr %139, align 8, !tbaa !5
  %141 = fadd double %136, %140
  %142 = load i32, ptr @n1, align 4, !tbaa !9
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %143
  %145 = load double, ptr %144, align 8, !tbaa !5
  %146 = fsub double %141, %145
  %147 = load i32, ptr @n2, align 4, !tbaa !9
  %148 = sext i32 %147 to i64
  %149 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %148
  %150 = load double, ptr %149, align 8, !tbaa !5
  %151 = fsub double %146, %150
  %152 = load double, ptr @dy, align 8, !tbaa !5
  %153 = fmul double 2.000000e+00, %152
  %154 = fdiv double %151, %153
  %155 = load i32, ptr %1, align 4, !tbaa !9
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds [90000 x double], ptr @dvdy, i64 0, i64 %156
  store double %154, ptr %157, align 8, !tbaa !5
  %158 = load i32, ptr %1, align 4, !tbaa !9
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds [90000 x double], ptr @dudx, i64 0, i64 %159
  %161 = load double, ptr %160, align 8, !tbaa !5
  %162 = load i32, ptr %1, align 4, !tbaa !9
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds [90000 x double], ptr @dvdy, i64 0, i64 %163
  %165 = load double, ptr %164, align 8, !tbaa !5
  %166 = fadd double %161, %165
  %167 = load double, ptr @dx, align 8, !tbaa !5
  %168 = fmul double %166, %167
  %169 = load double, ptr @dy, align 8, !tbaa !5
  %170 = fmul double %168, %169
  %171 = load i32, ptr %1, align 4, !tbaa !9
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds [90000 x double], ptr @m, i64 0, i64 %172
  store double %170, ptr %173, align 8, !tbaa !5
  %174 = load double, ptr @con, align 8, !tbaa !5
  %175 = fneg double %174
  %176 = load i32, ptr %1, align 4, !tbaa !9
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds [90000 x double], ptr @m, i64 0, i64 %177
  %179 = load double, ptr %178, align 8, !tbaa !5
  %180 = fmul double %175, %179
  %181 = load i32, ptr %1, align 4, !tbaa !9
  %182 = sext i32 %181 to i64
  %183 = getelementptr inbounds [90000 x double], ptr @pc, i64 0, i64 %182
  store double %180, ptr %183, align 8, !tbaa !5
  %184 = load i32, ptr %1, align 4, !tbaa !9
  %185 = sext i32 %184 to i64
  %186 = getelementptr inbounds [90000 x double], ptr @m, i64 0, i64 %185
  %187 = load double, ptr %186, align 8, !tbaa !5
  %188 = load double, ptr @resmax, align 8, !tbaa !5
  %189 = fcmp ogt double %187, %188
  br i1 %189, label %190, label %195

190:                                              ; preds = %9
  %191 = load i32, ptr %1, align 4, !tbaa !9
  %192 = sext i32 %191 to i64
  %193 = getelementptr inbounds [90000 x double], ptr @m, i64 0, i64 %192
  %194 = load double, ptr %193, align 8, !tbaa !5
  store double %194, ptr @resmax, align 8, !tbaa !5
  br label %195

195:                                              ; preds = %190, %9
  br label %196

196:                                              ; preds = %195
  %197 = load i32, ptr %1, align 4, !tbaa !9
  %198 = add nsw i32 %197, 1
  store i32 %198, ptr %1, align 4, !tbaa !9
  br label %3, !llvm.loop !11

199:                                              ; preds = %3
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #2
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


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

@u = external dso_local local_unnamed_addr global [90601 x double], align 16
@v = external dso_local local_unnamed_addr global [90601 x double], align 16
@uav = external dso_local local_unnamed_addr global [90000 x double], align 16
@vav = external dso_local local_unnamed_addr global [90000 x double], align 16
@dudx = external dso_local local_unnamed_addr global [90000 x double], align 16
@dudy = external dso_local local_unnamed_addr global [90000 x double], align 16
@dvdx = external dso_local local_unnamed_addr global [90000 x double], align 16
@dvdy = external dso_local local_unnamed_addr global [90000 x double], align 16
@m = external dso_local local_unnamed_addr global [90000 x double], align 16
@pc = external dso_local local_unnamed_addr global [90000 x double], align 16
@dx = external dso_local local_unnamed_addr global double, align 8
@dy = external dso_local local_unnamed_addr global double, align 8
@con = external dso_local local_unnamed_addr global double, align 8
@resmax = external dso_local local_unnamed_addr global double, align 8
@k = external dso_local local_unnamed_addr global i32, align 4
@n1 = external dso_local local_unnamed_addr global i32, align 4
@n2 = external dso_local local_unnamed_addr global i32, align 4
@n3 = external dso_local local_unnamed_addr global i32, align 4
@n4 = external dso_local local_unnamed_addr global i32, align 4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z6nodconii(i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z9calculatev() local_unnamed_addr #0 {
  %1 = load double, ptr @m, align 16, !tbaa !5
  store double %1, ptr @resmax, align 8, !tbaa !5
  %2 = load i32, ptr @k, align 4, !tbaa !9
  %.not = icmp eq i32 %2, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %0, %83
  %indvars.iv = phi i64 [ %indvars.iv.next, %83 ], [ 0, %0 ]
  %3 = phi i32 [ %84, %83 ], [ %2, %0 ]
  %4 = trunc nuw nsw i64 %indvars.iv to i32
  tail call void @_Z6nodconii(i32 noundef %4, i32 noundef %3)
  %5 = load i32, ptr @n1, align 4, !tbaa !9
  %6 = sext i32 %5 to i64
  %7 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %6
  %8 = load double, ptr %7, align 8, !tbaa !5
  %9 = load i32, ptr @n2, align 4, !tbaa !9
  %10 = sext i32 %9 to i64
  %11 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %10
  %12 = load double, ptr %11, align 8, !tbaa !5
  %13 = fadd double %8, %12
  %14 = load i32, ptr @n3, align 4, !tbaa !9
  %15 = sext i32 %14 to i64
  %16 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %15
  %17 = load double, ptr %16, align 8, !tbaa !5
  %18 = fadd double %13, %17
  %19 = load i32, ptr @n4, align 4, !tbaa !9
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds [90601 x double], ptr @u, i64 0, i64 %20
  %22 = load double, ptr %21, align 8, !tbaa !5
  %23 = fadd double %18, %22
  %24 = fmul double %23, 2.500000e-01
  %25 = getelementptr inbounds [90000 x double], ptr @uav, i64 0, i64 %indvars.iv
  store double %24, ptr %25, align 8, !tbaa !5
  %26 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %6
  %27 = load double, ptr %26, align 8, !tbaa !5
  %28 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %10
  %29 = load double, ptr %28, align 8, !tbaa !5
  %30 = fadd double %27, %29
  %31 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %15
  %32 = load double, ptr %31, align 8, !tbaa !5
  %33 = fadd double %30, %32
  %34 = getelementptr inbounds [90601 x double], ptr @v, i64 0, i64 %20
  %35 = load double, ptr %34, align 8, !tbaa !5
  %36 = fadd double %33, %35
  %37 = fmul double %36, 2.500000e-01
  %38 = getelementptr inbounds [90000 x double], ptr @vav, i64 0, i64 %indvars.iv
  store double %37, ptr %38, align 8, !tbaa !5
  %39 = load double, ptr @dx, align 8, !tbaa !5
  %40 = getelementptr inbounds [90000 x double], ptr @dudx, i64 0, i64 %indvars.iv
  %41 = fadd double %29, %32
  %42 = fsub double %41, %27
  %43 = fsub double %42, %35
  %44 = getelementptr inbounds [90000 x double], ptr @dvdx, i64 0, i64 %indvars.iv
  %45 = fadd double %17, %22
  %46 = fsub double %45, %8
  %47 = fsub double %46, %12
  %48 = load double, ptr @dy, align 8, !tbaa !5
  %49 = getelementptr inbounds [90000 x double], ptr @dudy, i64 0, i64 %indvars.iv
  %50 = insertelement <2 x double> poison, double %39, i64 0
  %51 = insertelement <2 x double> %50, double %48, i64 1
  %52 = fmul <2 x double> %51, <double 2.000000e+00, double 2.000000e+00>
  %53 = insertelement <2 x double> poison, double %12, i64 0
  %54 = insertelement <2 x double> %53, double %32, i64 1
  %55 = insertelement <2 x double> poison, double %17, i64 0
  %56 = insertelement <2 x double> %55, double %35, i64 1
  %57 = fadd <2 x double> %54, %56
  %58 = insertelement <2 x double> poison, double %8, i64 0
  %59 = insertelement <2 x double> %58, double %27, i64 1
  %60 = fsub <2 x double> %57, %59
  %61 = insertelement <2 x double> poison, double %22, i64 0
  %62 = insertelement <2 x double> %61, double %29, i64 1
  %63 = fsub <2 x double> %60, %62
  %64 = fdiv <2 x double> %63, %52
  %65 = extractelement <2 x double> %64, i64 0
  store double %65, ptr %40, align 8, !tbaa !5
  %66 = extractelement <2 x double> %52, i64 0
  %67 = fdiv double %43, %66
  store double %67, ptr %44, align 8, !tbaa !5
  %68 = extractelement <2 x double> %52, i64 1
  %69 = fdiv double %47, %68
  store double %69, ptr %49, align 8, !tbaa !5
  %70 = getelementptr inbounds [90000 x double], ptr @dvdy, i64 0, i64 %indvars.iv
  %71 = extractelement <2 x double> %64, i64 1
  store double %71, ptr %70, align 8, !tbaa !5
  %72 = fadd double %65, %71
  %73 = fmul double %39, %72
  %74 = fmul double %48, %73
  %75 = getelementptr inbounds [90000 x double], ptr @m, i64 0, i64 %indvars.iv
  store double %74, ptr %75, align 8, !tbaa !5
  %76 = load double, ptr @con, align 8, !tbaa !5
  %77 = fneg double %76
  %78 = fmul double %74, %77
  %79 = getelementptr inbounds [90000 x double], ptr @pc, i64 0, i64 %indvars.iv
  store double %78, ptr %79, align 8, !tbaa !5
  %80 = load double, ptr @resmax, align 8, !tbaa !5
  %81 = fcmp ogt double %74, %80
  br i1 %81, label %82, label %83

82:                                               ; preds = %.lr.ph
  store double %74, ptr @resmax, align 8, !tbaa !5
  br label %83

83:                                               ; preds = %.lr.ph, %82
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %84 = load i32, ptr @k, align 4, !tbaa !9
  %85 = mul nsw i32 %84, %84
  %86 = zext nneg i32 %85 to i64
  %87 = icmp ult i64 %indvars.iv.next, %86
  br i1 %87, label %.lr.ph, label %._crit_edge, !llvm.loop !11

._crit_edge:                                      ; preds = %83, %0
  ret void
}

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

!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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass