; LLVM IR from MinhasKamal/AlgorithmImplementations :: numericalMethods/calculus (DerivetivesOnDifferentPoints)

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

@.str = external hidden unnamed_addr constant [19 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [16 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 201, ptr %2, align 4, !tbaa !5
  %11 = load i32, ptr %2, align 4, !tbaa !5
  %12 = zext i32 %11 to i64
  %13 = call ptr @llvm.stacksave.p0()
  store ptr %13, ptr %3, align 8
  %14 = alloca double, i64 %12, align 16
  store i64 %12, ptr %4, align 8
  %15 = load i32, ptr %2, align 4, !tbaa !5
  %16 = zext i32 %15 to i64
  %17 = alloca double, i64 %16, align 16
  store i64 %16, ptr %5, align 8
  %18 = load i32, ptr %2, align 4, !tbaa !5
  %19 = zext i32 %18 to i64
  %20 = alloca double, i64 %19, align 16
  store i64 %19, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  store double 0.000000e+00, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  store double 0x401921FB54442D18, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %21 = load double, ptr %8, align 8, !tbaa !9
  %22 = load double, ptr %7, align 8, !tbaa !9
  %23 = fsub double %21, %22
  %24 = load i32, ptr %2, align 4, !tbaa !5
  %25 = sitofp i32 %24 to double
  %26 = fdiv double %23, %25
  store double %26, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %27 = load double, ptr %7, align 8, !tbaa !9
  %28 = getelementptr inbounds double, ptr %14, i64 0
  store double %27, ptr %28, align 16, !tbaa !9
  %29 = getelementptr inbounds double, ptr %14, i64 0
  %30 = load double, ptr %29, align 16, !tbaa !9
  %31 = call double @sin(double noundef %30) #6
  %32 = getelementptr inbounds double, ptr %17, i64 0
  store double %31, ptr %32, align 16, !tbaa !9
  store i32 1, ptr %10, align 4, !tbaa !5
  br label %33

33:                                               ; preds = %55, %0
  %34 = load i32, ptr %10, align 4, !tbaa !5
  %35 = load i32, ptr %2, align 4, !tbaa !5
  %36 = sub nsw i32 %35, 1
  %37 = icmp slt i32 %34, %36
  br i1 %37, label %38, label %58

38:                                               ; preds = %33
  %39 = load double, ptr %7, align 8, !tbaa !9
  %40 = load i32, ptr %10, align 4, !tbaa !5
  %41 = sitofp i32 %40 to double
  %42 = load double, ptr %9, align 8, !tbaa !9
  %43 = call double @llvm.fmuladd.f64(double %41, double %42, double %39)
  %44 = load i32, ptr %10, align 4, !tbaa !5
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds double, ptr %14, i64 %45
  store double %43, ptr %46, align 8, !tbaa !9
  %47 = load i32, ptr %10, align 4, !tbaa !5
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds double, ptr %14, i64 %48
  %50 = load double, ptr %49, align 8, !tbaa !9
  %51 = call double @sin(double noundef %50) #6
  %52 = load i32, ptr %10, align 4, !tbaa !5
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds double, ptr %17, i64 %53
  store double %51, ptr %54, align 8, !tbaa !9
  br label %55

55:                                               ; preds = %38
  %56 = load i32, ptr %10, align 4, !tbaa !5
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr %10, align 4, !tbaa !5
  br label %33, !llvm.loop !11

58:                                               ; preds = %33
  %59 = load double, ptr %8, align 8, !tbaa !9
  %60 = load i32, ptr %2, align 4, !tbaa !5
  %61 = sub nsw i32 %60, 1
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds double, ptr %14, i64 %62
  store double %59, ptr %63, align 8, !tbaa !9
  %64 = load i32, ptr %2, align 4, !tbaa !5
  %65 = sub nsw i32 %64, 1
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds double, ptr %14, i64 %66
  %68 = load double, ptr %67, align 8, !tbaa !9
  %69 = call double @sin(double noundef %68) #6
  %70 = load i32, ptr %2, align 4, !tbaa !5
  %71 = sub nsw i32 %70, 1
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds double, ptr %17, i64 %72
  store double %69, ptr %73, align 8, !tbaa !9
  %74 = getelementptr inbounds double, ptr %17, i64 1
  %75 = load double, ptr %74, align 8, !tbaa !9
  %76 = getelementptr inbounds double, ptr %17, i64 0
  %77 = load double, ptr %76, align 16, !tbaa !9
  %78 = fsub double %75, %77
  %79 = getelementptr inbounds double, ptr %14, i64 1
  %80 = load double, ptr %79, align 8, !tbaa !9
  %81 = getelementptr inbounds double, ptr %14, i64 0
  %82 = load double, ptr %81, align 16, !tbaa !9
  %83 = fsub double %80, %82
  %84 = fdiv double %78, %83
  %85 = getelementptr inbounds double, ptr %20, i64 0
  store double %84, ptr %85, align 16, !tbaa !9
  store i32 1, ptr %10, align 4, !tbaa !5
  br label %86

86:                                               ; preds = %118, %58
  %87 = load i32, ptr %10, align 4, !tbaa !5
  %88 = load i32, ptr %2, align 4, !tbaa !5
  %89 = sub nsw i32 %88, 1
  %90 = icmp slt i32 %87, %89
  br i1 %90, label %91, label %121

91:                                               ; preds = %86
  %92 = load i32, ptr %10, align 4, !tbaa !5
  %93 = add nsw i32 %92, 1
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds double, ptr %17, i64 %94
  %96 = load double, ptr %95, align 8, !tbaa !9
  %97 = load i32, ptr %10, align 4, !tbaa !5
  %98 = sub nsw i32 %97, 1
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds double, ptr %17, i64 %99
  %101 = load double, ptr %100, align 8, !tbaa !9
  %102 = fsub double %96, %101
  %103 = load i32, ptr %10, align 4, !tbaa !5
  %104 = add nsw i32 %103, 1
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds double, ptr %14, i64 %105
  %107 = load double, ptr %106, align 8, !tbaa !9
  %108 = load i32, ptr %10, align 4, !tbaa !5
  %109 = sub nsw i32 %108, 1
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds double, ptr %14, i64 %110
  %112 = load double, ptr %111, align 8, !tbaa !9
  %113 = fsub double %107, %112
  %114 = fdiv double %102, %113
  %115 = load i32, ptr %10, align 4, !tbaa !5
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds double, ptr %20, i64 %116
  store double %114, ptr %117, align 8, !tbaa !9
  br label %118

118:                                              ; preds = %91
  %119 = load i32, ptr %10, align 4, !tbaa !5
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr %10, align 4, !tbaa !5
  br label %86, !llvm.loop !13

121:                                              ; preds = %86
  %122 = load i32, ptr %2, align 4, !tbaa !5
  %123 = sub nsw i32 %122, 1
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds double, ptr %17, i64 %124
  %126 = load double, ptr %125, align 8, !tbaa !9
  %127 = load i32, ptr %2, align 4, !tbaa !5
  %128 = sub nsw i32 %127, 2
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds double, ptr %17, i64 %129
  %131 = load double, ptr %130, align 8, !tbaa !9
  %132 = fsub double %126, %131
  %133 = load i32, ptr %2, align 4, !tbaa !5
  %134 = sub nsw i32 %133, 1
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds double, ptr %14, i64 %135
  %137 = load double, ptr %136, align 8, !tbaa !9
  %138 = load i32, ptr %2, align 4, !tbaa !5
  %139 = sub nsw i32 %138, 2
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds double, ptr %14, i64 %140
  %142 = load double, ptr %141, align 8, !tbaa !9
  %143 = fsub double %137, %142
  %144 = fdiv double %132, %143
  %145 = load i32, ptr %2, align 4, !tbaa !5
  %146 = sub nsw i32 %145, 1
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds double, ptr %20, i64 %147
  store double %144, ptr %148, align 8, !tbaa !9
  %149 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %150

150:                                              ; preds = %168, %121
  %151 = load i32, ptr %10, align 4, !tbaa !5
  %152 = load i32, ptr %2, align 4, !tbaa !5
  %153 = icmp slt i32 %151, %152
  br i1 %153, label %154, label %171

154:                                              ; preds = %150
  %155 = load i32, ptr %10, align 4, !tbaa !5
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds double, ptr %14, i64 %156
  %158 = load double, ptr %157, align 8, !tbaa !9
  %159 = load i32, ptr %10, align 4, !tbaa !5
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds double, ptr %17, i64 %160
  %162 = load double, ptr %161, align 8, !tbaa !9
  %163 = load i32, ptr %10, align 4, !tbaa !5
  %164 = sext i32 %163 to i64
  %165 = getelementptr inbounds double, ptr %20, i64 %164
  %166 = load double, ptr %165, align 8, !tbaa !9
  %167 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %158, double noundef %162, double noundef %166)
  br label %168

168:                                              ; preds = %154
  %169 = load i32, ptr %10, align 4, !tbaa !5
  %170 = add nsw i32 %169, 1
  store i32 %170, ptr %10, align 4, !tbaa !5
  br label %150, !llvm.loop !14

171:                                              ; preds = %150
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  %172 = load ptr, ptr %3, align 8
  call void @llvm.stackrestore.p0(ptr %172)
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  %173 = load i32, ptr %1, align 4
  ret i32 %173
}

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2

; Function Attrs: nounwind
declare double @sin(double noundef) #3

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

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

; 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 nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #2

attributes #0 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
attributes #3 = { 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { "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 = { 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/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}


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

@.str = external hidden unnamed_addr constant [19 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [16 x i8], align 1

; Function Attrs: nofree nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca [201 x double], align 16
  %2 = alloca [201 x double], align 16
  %3 = alloca [201 x double], align 16
  store double 0.000000e+00, ptr %1, align 16, !tbaa !5
  store double 0.000000e+00, ptr %2, align 16, !tbaa !5
  br label %4

4:                                                ; preds = %11, %0
  %indvars.iv = phi i64 [ 1, %0 ], [ %indvars.iv.next.1, %11 ]
  %5 = trunc nuw nsw i64 %indvars.iv to i32
  %6 = uitofp nneg i32 %5 to double
  %7 = tail call double @llvm.fmuladd.f64(double %6, double 0x3FA0014313462974, double 0.000000e+00)
  %8 = getelementptr inbounds double, ptr %1, i64 %indvars.iv
  store double %7, ptr %8, align 8, !tbaa !5
  %9 = tail call double @sin(double noundef %7) #4
  %10 = getelementptr inbounds double, ptr %2, i64 %indvars.iv
  store double %9, ptr %10, align 8, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 200
  br i1 %exitcond.not, label %vector.ph, label %11, !llvm.loop !9

11:                                               ; preds = %4
  %12 = trunc nuw nsw i64 %indvars.iv.next to i32
  %13 = uitofp nneg i32 %12 to double
  %14 = tail call double @llvm.fmuladd.f64(double %13, double 0x3FA0014313462974, double 0.000000e+00)
  %15 = getelementptr inbounds double, ptr %1, i64 %indvars.iv.next
  store double %14, ptr %15, align 8, !tbaa !5
  %16 = tail call double @sin(double noundef %14) #4
  %17 = getelementptr inbounds double, ptr %2, i64 %indvars.iv.next
  store double %16, ptr %17, align 8, !tbaa !5
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  br label %4

vector.ph:                                        ; preds = %4
  %18 = getelementptr inbounds i8, ptr %1, i64 1600
  store double 0x401921FB54442D18, ptr %18, align 16, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %2, i64 1600
  store double 0xBCB1A62633145C07, ptr %19, align 16, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %2, i64 8
  %21 = load double, ptr %20, align 8, !tbaa !5
  %22 = getelementptr inbounds i8, ptr %1, i64 8
  %23 = load double, ptr %22, align 8, !tbaa !5
  %24 = fdiv double %21, %23
  store double %24, ptr %3, align 16, !tbaa !5
  br label %vector.body

vector.body:                                      ; preds = %vector.body.1, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next.1, %vector.body.1 ]
  %offset.idx = or disjoint i64 %index, 1
  %25 = or disjoint i64 %index, 2
  %26 = getelementptr inbounds double, ptr %2, i64 %25
  %wide.load = load <2 x double>, ptr %26, align 16, !tbaa !5
  %27 = getelementptr inbounds double, ptr %2, i64 %index
  %wide.load52 = load <2 x double>, ptr %27, align 16, !tbaa !5
  %28 = fsub <2 x double> %wide.load, %wide.load52
  %29 = getelementptr inbounds double, ptr %1, i64 %25
  %wide.load53 = load <2 x double>, ptr %29, align 16, !tbaa !5
  %30 = getelementptr inbounds double, ptr %1, i64 %index
  %wide.load54 = load <2 x double>, ptr %30, align 16, !tbaa !5
  %31 = fsub <2 x double> %wide.load53, %wide.load54
  %32 = fdiv <2 x double> %28, %31
  %33 = getelementptr inbounds double, ptr %3, i64 %offset.idx
  store <2 x double> %32, ptr %33, align 8, !tbaa !5
  %34 = icmp eq i64 %index, 196
  br i1 %34, label %scalar.ph, label %vector.body.1, !llvm.loop !11

vector.body.1:                                    ; preds = %vector.body
  %offset.idx.1 = or disjoint i64 %index, 3
  %35 = add nuw nsw i64 %index, 4
  %36 = getelementptr inbounds double, ptr %2, i64 %35
  %wide.load.1 = load <2 x double>, ptr %36, align 16, !tbaa !5
  %37 = fsub <2 x double> %wide.load.1, %wide.load
  %38 = getelementptr inbounds double, ptr %1, i64 %35
  %wide.load53.1 = load <2 x double>, ptr %38, align 16, !tbaa !5
  %39 = fsub <2 x double> %wide.load53.1, %wide.load53
  %40 = fdiv <2 x double> %37, %39
  %41 = getelementptr inbounds double, ptr %3, i64 %offset.idx.1
  store <2 x double> %40, ptr %41, align 8, !tbaa !5
  %index.next.1 = add nuw nsw i64 %index, 4
  br label %vector.body

scalar.ph:                                        ; preds = %vector.body
  %42 = getelementptr inbounds i8, ptr %2, i64 1600
  %43 = load double, ptr %42, align 16, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %2, i64 1584
  %45 = load double, ptr %44, align 16, !tbaa !5
  %46 = fsub double %43, %45
  %47 = getelementptr inbounds i8, ptr %1, i64 1600
  %48 = load double, ptr %47, align 16, !tbaa !5
  %49 = getelementptr inbounds i8, ptr %1, i64 1584
  %50 = load double, ptr %49, align 16, !tbaa !5
  %51 = fsub double %48, %50
  %52 = fdiv double %46, %51
  %53 = getelementptr inbounds i8, ptr %3, i64 1592
  store double %52, ptr %53, align 8, !tbaa !5
  %54 = getelementptr inbounds i8, ptr %2, i64 1592
  %55 = load double, ptr %54, align 8, !tbaa !5
  %56 = fsub double 0xBCB1A62633145C07, %55
  %57 = getelementptr inbounds i8, ptr %1, i64 1592
  %58 = load double, ptr %57, align 8, !tbaa !5
  %59 = fsub double 0x401921FB54442D18, %58
  %60 = fdiv double %56, %59
  %61 = getelementptr inbounds i8, ptr %3, i64 1600
  store double %60, ptr %61, align 16, !tbaa !5
  %62 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  br label %63

63:                                               ; preds = %scalar.ph, %63
  %indvars.iv48 = phi i64 [ 0, %scalar.ph ], [ %indvars.iv.next49, %63 ]
  %64 = getelementptr inbounds double, ptr %1, i64 %indvars.iv48
  %65 = load double, ptr %64, align 8, !tbaa !5
  %66 = getelementptr inbounds double, ptr %2, i64 %indvars.iv48
  %67 = load double, ptr %66, align 8, !tbaa !5
  %68 = getelementptr inbounds double, ptr %3, i64 %indvars.iv48
  %69 = load double, ptr %68, align 8, !tbaa !5
  %70 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, double noundef %65, double noundef %67, double noundef %69)
  %indvars.iv.next49 = add nuw nsw i64 %indvars.iv48, 1
  %exitcond51.not = icmp eq i64 %indvars.iv.next49, 201
  br i1 %exitcond51.not, label %71, label %63, !llvm.loop !14

71:                                               ; preds = %63
  ret i32 0
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sin(double noundef) local_unnamed_addr #1

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

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

attributes #0 = { nofree 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 nofree nounwind willreturn memory(write) "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 speculatable willreturn memory(none) }
attributes #3 = { 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 #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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10, !12, !13}
!12 = !{!"llvm.loop.isvectorized", i32 1}
!13 = !{!"llvm.loop.unroll.runtime.disable"}
!14 = distinct !{!14, !10}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopLoadEliminationPass,LoopRotatePass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass