; LLVM IR from niuyishuai/PDCABB :: LAPACK_BLAS/LAPACK (dlarnv)

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

; Function Attrs: nounwind uwtable
define dso_local i32 @dlarnv_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca [128 x double], align 16
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 1024, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %17 = load ptr, ptr %8, align 8, !tbaa !5
  %18 = getelementptr inbounds double, ptr %17, i32 -1
  store ptr %18, ptr %8, align 8, !tbaa !5
  %19 = load ptr, ptr %6, align 8, !tbaa !5
  %20 = getelementptr inbounds i64, ptr %19, i32 -1
  store ptr %20, ptr %6, align 8, !tbaa !5
  %21 = load ptr, ptr %7, align 8, !tbaa !5
  %22 = load i64, ptr %21, align 8, !tbaa !9
  store i64 %22, ptr %9, align 8, !tbaa !9
  store i64 1, ptr %15, align 8, !tbaa !9
  br label %23

23:                                               ; preds = %145, %4
  %24 = load i64, ptr %15, align 8, !tbaa !9
  %25 = load i64, ptr %9, align 8, !tbaa !9
  %26 = icmp sle i64 %24, %25
  br i1 %26, label %27, label %148

27:                                               ; preds = %23
  store i64 64, ptr %10, align 8, !tbaa !9
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  %29 = load i64, ptr %28, align 8, !tbaa !9
  %30 = load i64, ptr %15, align 8, !tbaa !9
  %31 = sub nsw i64 %29, %30
  %32 = add nsw i64 %31, 1
  store i64 %32, ptr %11, align 8, !tbaa !9
  %33 = load i64, ptr %10, align 8, !tbaa !9
  %34 = load i64, ptr %11, align 8, !tbaa !9
  %35 = icmp sle i64 %33, %34
  br i1 %35, label %36, label %38

36:                                               ; preds = %27
  %37 = load i64, ptr %10, align 8, !tbaa !9
  br label %40

38:                                               ; preds = %27
  %39 = load i64, ptr %11, align 8, !tbaa !9
  br label %40

40:                                               ; preds = %38, %36
  %41 = phi i64 [ %37, %36 ], [ %39, %38 ]
  store i64 %41, ptr %14, align 8, !tbaa !9
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = load i64, ptr %42, align 8, !tbaa !9
  %44 = icmp eq i64 %43, 3
  br i1 %44, label %45, label %48

45:                                               ; preds = %40
  %46 = load i64, ptr %14, align 8, !tbaa !9
  %47 = shl i64 %46, 1
  store i64 %47, ptr %16, align 8, !tbaa !9
  br label %50

48:                                               ; preds = %40
  %49 = load i64, ptr %14, align 8, !tbaa !9
  store i64 %49, ptr %16, align 8, !tbaa !9
  br label %50

50:                                               ; preds = %48, %45
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  %52 = getelementptr inbounds i64, ptr %51, i64 1
  %53 = getelementptr inbounds [128 x double], ptr %13, i64 0, i64 0
  %54 = call i32 @dlaruv_(ptr noundef %52, ptr noundef %16, ptr noundef %53)
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = load i64, ptr %55, align 8, !tbaa !9
  %57 = icmp eq i64 %56, 1
  br i1 %57, label %58, label %79

58:                                               ; preds = %50
  %59 = load i64, ptr %14, align 8, !tbaa !9
  store i64 %59, ptr %10, align 8, !tbaa !9
  store i64 1, ptr %12, align 8, !tbaa !9
  br label %60

60:                                               ; preds = %75, %58
  %61 = load i64, ptr %12, align 8, !tbaa !9
  %62 = load i64, ptr %10, align 8, !tbaa !9
  %63 = icmp sle i64 %61, %62
  br i1 %63, label %64, label %78

64:                                               ; preds = %60
  %65 = load i64, ptr %12, align 8, !tbaa !9
  %66 = sub nsw i64 %65, 1
  %67 = getelementptr inbounds [128 x double], ptr %13, i64 0, i64 %66
  %68 = load double, ptr %67, align 8, !tbaa !11
  %69 = load ptr, ptr %8, align 8, !tbaa !5
  %70 = load i64, ptr %15, align 8, !tbaa !9
  %71 = load i64, ptr %12, align 8, !tbaa !9
  %72 = add nsw i64 %70, %71
  %73 = sub nsw i64 %72, 1
  %74 = getelementptr inbounds double, ptr %69, i64 %73
  store double %68, ptr %74, align 8, !tbaa !11
  br label %75

75:                                               ; preds = %64
  %76 = load i64, ptr %12, align 8, !tbaa !9
  %77 = add nsw i64 %76, 1
  store i64 %77, ptr %12, align 8, !tbaa !9
  br label %60, !llvm.loop !13

78:                                               ; preds = %60
  br label %144

79:                                               ; preds = %50
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  %81 = load i64, ptr %80, align 8, !tbaa !9
  %82 = icmp eq i64 %81, 2
  br i1 %82, label %83, label %105

83:                                               ; preds = %79
  %84 = load i64, ptr %14, align 8, !tbaa !9
  store i64 %84, ptr %10, align 8, !tbaa !9
  store i64 1, ptr %12, align 8, !tbaa !9
  br label %85

85:                                               ; preds = %101, %83
  %86 = load i64, ptr %12, align 8, !tbaa !9
  %87 = load i64, ptr %10, align 8, !tbaa !9
  %88 = icmp sle i64 %86, %87
  br i1 %88, label %89, label %104

89:                                               ; preds = %85
  %90 = load i64, ptr %12, align 8, !tbaa !9
  %91 = sub nsw i64 %90, 1
  %92 = getelementptr inbounds [128 x double], ptr %13, i64 0, i64 %91
  %93 = load double, ptr %92, align 8, !tbaa !11
  %94 = call double @llvm.fmuladd.f64(double %93, double 2.000000e+00, double -1.000000e+00)
  %95 = load ptr, ptr %8, align 8, !tbaa !5
  %96 = load i64, ptr %15, align 8, !tbaa !9
  %97 = load i64, ptr %12, align 8, !tbaa !9
  %98 = add nsw i64 %96, %97
  %99 = sub nsw i64 %98, 1
  %100 = getelementptr inbounds double, ptr %95, i64 %99
  store double %94, ptr %100, align 8, !tbaa !11
  br label %101

101:                                              ; preds = %89
  %102 = load i64, ptr %12, align 8, !tbaa !9
  %103 = add nsw i64 %102, 1
  store i64 %103, ptr %12, align 8, !tbaa !9
  br label %85, !llvm.loop !15

104:                                              ; preds = %85
  br label %143

105:                                              ; preds = %79
  %106 = load ptr, ptr %5, align 8, !tbaa !5
  %107 = load i64, ptr %106, align 8, !tbaa !9
  %108 = icmp eq i64 %107, 3
  br i1 %108, label %109, label %142

109:                                              ; preds = %105
  %110 = load i64, ptr %14, align 8, !tbaa !9
  store i64 %110, ptr %10, align 8, !tbaa !9
  store i64 1, ptr %12, align 8, !tbaa !9
  br label %111

111:                                              ; preds = %138, %109
  %112 = load i64, ptr %12, align 8, !tbaa !9
  %113 = load i64, ptr %10, align 8, !tbaa !9
  %114 = icmp sle i64 %112, %113
  br i1 %114, label %115, label %141

115:                                              ; preds = %111
  %116 = load i64, ptr %12, align 8, !tbaa !9
  %117 = shl i64 %116, 1
  %118 = sub nsw i64 %117, 2
  %119 = getelementptr inbounds [128 x double], ptr %13, i64 0, i64 %118
  %120 = load double, ptr %119, align 8, !tbaa !11
  %121 = call double @log(double noundef %120) #5
  %122 = fmul double %121, -2.000000e+00
  %123 = call double @sqrt(double noundef %122) #5
  %124 = load i64, ptr %12, align 8, !tbaa !9
  %125 = shl i64 %124, 1
  %126 = sub nsw i64 %125, 1
  %127 = getelementptr inbounds [128 x double], ptr %13, i64 0, i64 %126
  %128 = load double, ptr %127, align 8, !tbaa !11
  %129 = fmul double %128, 0x401921FB54442D18
  %130 = call double @cos(double noundef %129) #5
  %131 = fmul double %123, %130
  %132 = load ptr, ptr %8, align 8, !tbaa !5
  %133 = load i64, ptr %15, align 8, !tbaa !9
  %134 = load i64, ptr %12, align 8, !tbaa !9
  %135 = add nsw i64 %133, %134
  %136 = sub nsw i64 %135, 1
  %137 = getelementptr inbounds double, ptr %132, i64 %136
  store double %131, ptr %137, align 8, !tbaa !11
  br label %138

138:                                              ; preds = %115
  %139 = load i64, ptr %12, align 8, !tbaa !9
  %140 = add nsw i64 %139, 1
  store i64 %140, ptr %12, align 8, !tbaa !9
  br label %111, !llvm.loop !16

141:                                              ; preds = %111
  br label %142

142:                                              ; preds = %141, %105
  br label %143

143:                                              ; preds = %142, %104
  br label %144

144:                                              ; preds = %143, %78
  br label %145

145:                                              ; preds = %144
  %146 = load i64, ptr %15, align 8, !tbaa !9
  %147 = add nsw i64 %146, 64
  store i64 %147, ptr %15, align 8, !tbaa !9
  br label %23, !llvm.loop !17

148:                                              ; preds = %23
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 1024, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  ret i32 0
}

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

declare i32 @dlaruv_(ptr noundef, ptr noundef, ptr noundef) #2

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

; Function Attrs: nounwind
declare double @sqrt(double noundef) #4

; Function Attrs: nounwind
declare double @log(double noundef) #4

; Function Attrs: nounwind
declare double @cos(double noundef) #4

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

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 = { "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 nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 #5 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}


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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @dlarnv_(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 {
  %5 = alloca [128 x double], align 16
  %6 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %7 = load i64, ptr %2, align 8, !tbaa !5
  %invariant.gep64 = getelementptr i8, ptr %3, i64 -16
  %.not69 = icmp slt i64 %7, 1
  br i1 %.not69, label %._crit_edge, label %.lr.ph72

.lr.ph72:                                         ; preds = %4, %.loopexit
  %indvar = phi i64 [ %indvar.next, %.loopexit ], [ 0, %4 ]
  %.070 = phi i64 [ %47, %.loopexit ], [ 1, %4 ]
  %8 = shl i64 %indvar, 9
  %scevgep = getelementptr i8, ptr %3, i64 %8
  %9 = load i64, ptr %2, align 8, !tbaa !5
  %10 = sub nsw i64 %9, %.070
  %11 = add nsw i64 %10, 1
  %12 = icmp sgt i64 %10, 62
  %13 = select i1 %12, i64 64, i64 %11
  %14 = load i64, ptr %0, align 8, !tbaa !5
  %15 = icmp eq i64 %14, 3
  %16 = zext i1 %15 to i64
  %storemerge = shl i64 %13, %16
  store i64 %storemerge, ptr %6, align 8, !tbaa !5
  %17 = call i32 @dlaruv_(ptr noundef %1, ptr noundef nonnull %6, ptr noundef nonnull %5) #7
  %18 = load i64, ptr %0, align 8, !tbaa !5
  switch i64 %18, label %.loopexit [
    i64 1, label %.preheader
    i64 2, label %.preheader48
    i64 3, label %.preheader50
  ]

.preheader50:                                     ; preds = %.lr.ph72
  %.not4552 = icmp slt i64 %13, 1
  br i1 %.not4552, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader50
  %gep65 = getelementptr double, ptr %invariant.gep64, i64 %.070
  br label %32

.preheader48:                                     ; preds = %.lr.ph72
  %.not4654 = icmp slt i64 %13, 1
  br i1 %.not4654, label %.loopexit, label %.lr.ph56

.lr.ph56:                                         ; preds = %.preheader48
  %gep66 = getelementptr double, ptr %invariant.gep64, i64 %.070
  %min.iters.check = icmp ult i64 %13, 4
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.ph

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph56
  %.155.ph = phi i64 [ 1, %.lr.ph56 ], [ %ind.end, %middle.block ]
  br label %scalar.ph

vector.ph:                                        ; preds = %.lr.ph56
  %n.vec = and i64 %13, 9223372036854775804
  %ind.end = or disjoint i64 %n.vec, 1
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = or disjoint i64 %index, 1
  %19 = getelementptr inbounds [128 x double], ptr %5, i64 0, i64 %index
  %20 = getelementptr inbounds i8, ptr %19, i64 16
  %wide.load = load <2 x double>, ptr %19, align 16, !tbaa !9
  %wide.load78 = load <2 x double>, ptr %20, align 16, !tbaa !9
  %21 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load, <2 x double> <double 2.000000e+00, double 2.000000e+00>, <2 x double> <double -1.000000e+00, double -1.000000e+00>)
  %22 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load78, <2 x double> <double 2.000000e+00, double 2.000000e+00>, <2 x double> <double -1.000000e+00, double -1.000000e+00>)
  %23 = getelementptr double, ptr %gep66, i64 %offset.idx
  %24 = getelementptr i8, ptr %23, i64 16
  store <2 x double> %21, ptr %23, align 8, !tbaa !9
  store <2 x double> %22, ptr %24, align 8, !tbaa !9
  %index.next = add nuw i64 %index, 4
  %25 = icmp eq i64 %index.next, %n.vec
  br i1 %25, label %middle.block, label %vector.body, !llvm.loop !11

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %13, %n.vec
  br i1 %cmp.n, label %.loopexit, label %scalar.ph.preheader

.preheader:                                       ; preds = %.lr.ph72
  %.not4759 = icmp slt i64 %13, 1
  br i1 %.not4759, label %.loopexit, label %.lr.ph61

.lr.ph61:                                         ; preds = %.preheader
  %26 = shl nuw i64 %13, 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %scevgep, ptr nonnull align 16 %5, i64 %26, i1 false), !tbaa !9
  br label %.loopexit

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %.155 = phi i64 [ %31, %scalar.ph ], [ %.155.ph, %scalar.ph.preheader ]
  %27 = add nsw i64 %.155, -1
  %28 = getelementptr inbounds [128 x double], ptr %5, i64 0, i64 %27
  %29 = load double, ptr %28, align 8, !tbaa !9
  %30 = call double @llvm.fmuladd.f64(double %29, double 2.000000e+00, double -1.000000e+00)
  %gep58 = getelementptr double, ptr %gep66, i64 %.155
  store double %30, ptr %gep58, align 8, !tbaa !9
  %31 = add nuw i64 %.155, 1
  %exitcond75.not = icmp eq i64 %.155, %13
  br i1 %exitcond75.not, label %.loopexit, label %scalar.ph, !llvm.loop !15

32:                                               ; preds = %.lr.ph, %32
  %.253 = phi i64 [ 1, %.lr.ph ], [ %46, %32 ]
  %33 = shl nuw i64 %.253, 1
  %34 = add nsw i64 %33, -2
  %35 = getelementptr inbounds [128 x double], ptr %5, i64 0, i64 %34
  %36 = load double, ptr %35, align 16, !tbaa !9
  %37 = call double @log(double noundef %36) #7
  %38 = fmul double %37, -2.000000e+00
  %39 = call double @sqrt(double noundef %38) #7
  %40 = add nsw i64 %33, -1
  %41 = getelementptr inbounds [128 x double], ptr %5, i64 0, i64 %40
  %42 = load double, ptr %41, align 8, !tbaa !9
  %43 = fmul double %42, 0x401921FB54442D18
  %44 = call double @cos(double noundef %43) #7
  %45 = fmul double %39, %44
  %gep = getelementptr double, ptr %gep65, i64 %.253
  store double %45, ptr %gep, align 8, !tbaa !9
  %46 = add nuw i64 %.253, 1
  %exitcond.not = icmp eq i64 %.253, %13
  br i1 %exitcond.not, label %.loopexit, label %32, !llvm.loop !16

.loopexit:                                        ; preds = %32, %scalar.ph, %middle.block, %.lr.ph61, %.preheader50, %.preheader48, %.preheader, %.lr.ph72
  %47 = add nuw nsw i64 %.070, 64
  %.not = icmp sgt i64 %47, %7
  %indvar.next = add i64 %indvar, 1
  br i1 %.not, label %._crit_edge, label %.lr.ph72, !llvm.loop !17

._crit_edge:                                      ; preds = %.loopexit, %4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %5) #7
  ret i32 0
}

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

declare i32 @dlaruv_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

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

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

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

; Function Attrs: mustprogress 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) #5

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #6

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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { 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 = !{!"long", !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, !13, !14}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!"llvm.loop.isvectorized", i32 1}
!14 = !{!"llvm.loop.unroll.runtime.disable"}
!15 = distinct !{!15, !12, !14, !13}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopIdiomRecognizePass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass