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

; 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 @slarnv_(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 float], 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 512, 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 float, 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 = %148, %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 %151

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 float], ptr %13, i64 0, i64 0
  %54 = call i32 @slaruv_(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 float], ptr %13, i64 0, i64 %66
  %68 = load float, ptr %67, align 4, !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 float, ptr %69, i64 %73
  store float %68, ptr %74, align 4, !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 %147

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 float], ptr %13, i64 0, i64 %91
  %93 = load float, ptr %92, align 4, !tbaa !11
  %94 = call float @llvm.fmuladd.f32(float %93, float 2.000000e+00, float -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 float, ptr %95, i64 %99
  store float %94, ptr %100, align 4, !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 %146

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 %145

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 = %141, %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 %144

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 float], ptr %13, i64 0, i64 %118
  %120 = load float, ptr %119, align 4, !tbaa !11
  %121 = fpext float %120 to double
  %122 = call double @log(double noundef %121) #5
  %123 = fmul double %122, -2.000000e+00
  %124 = call double @sqrt(double noundef %123) #5
  %125 = load i64, ptr %12, align 8, !tbaa !9
  %126 = shl i64 %125, 1
  %127 = sub nsw i64 %126, 1
  %128 = getelementptr inbounds [128 x float], ptr %13, i64 0, i64 %127
  %129 = load float, ptr %128, align 4, !tbaa !11
  %130 = fmul float %129, 0x401921FB60000000
  %131 = fpext float %130 to double
  %132 = call double @cos(double noundef %131) #5
  %133 = fmul double %124, %132
  %134 = fptrunc double %133 to float
  %135 = load ptr, ptr %8, align 8, !tbaa !5
  %136 = load i64, ptr %15, align 8, !tbaa !9
  %137 = load i64, ptr %12, align 8, !tbaa !9
  %138 = add nsw i64 %136, %137
  %139 = sub nsw i64 %138, 1
  %140 = getelementptr inbounds float, ptr %135, i64 %139
  store float %134, ptr %140, align 4, !tbaa !11
  br label %141

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

144:                                              ; preds = %111
  br label %145

145:                                              ; preds = %144, %105
  br label %146

146:                                              ; preds = %145, %104
  br label %147

147:                                              ; preds = %146, %78
  br label %148

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

151:                                              ; 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 512, 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 @slaruv_(ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #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 = !{!"float", !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 @slarnv_(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 float], align 16
  %6 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 512, 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 -8
  %.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 [ %50, %.loopexit ], [ 1, %4 ]
  %8 = shl i64 %indvar, 8
  %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 @slaruv_(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 float, 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 float, ptr %invariant.gep64, i64 %.070
  %min.iters.check = icmp ult i64 %13, 8
  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, 9223372036854775800
  %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 float], ptr %5, i64 0, i64 %index
  %20 = getelementptr inbounds i8, ptr %19, i64 16
  %wide.load = load <4 x float>, ptr %19, align 16, !tbaa !9
  %wide.load78 = load <4 x float>, ptr %20, align 16, !tbaa !9
  %21 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %wide.load, <4 x float> <float 2.000000e+00, float 2.000000e+00, float 2.000000e+00, float 2.000000e+00>, <4 x float> <float -1.000000e+00, float -1.000000e+00, float -1.000000e+00, float -1.000000e+00>)
  %22 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %wide.load78, <4 x float> <float 2.000000e+00, float 2.000000e+00, float 2.000000e+00, float 2.000000e+00>, <4 x float> <float -1.000000e+00, float -1.000000e+00, float -1.000000e+00, float -1.000000e+00>)
  %23 = getelementptr float, ptr %gep66, i64 %offset.idx
  %24 = getelementptr i8, ptr %23, i64 16
  store <4 x float> %21, ptr %23, align 4, !tbaa !9
  store <4 x float> %22, ptr %24, align 4, !tbaa !9
  %index.next = add nuw i64 %index, 8
  %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, 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %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 float], ptr %5, i64 0, i64 %27
  %29 = load float, ptr %28, align 4, !tbaa !9
  %30 = call float @llvm.fmuladd.f32(float %29, float 2.000000e+00, float -1.000000e+00)
  %gep58 = getelementptr float, ptr %gep66, i64 %.155
  store float %30, ptr %gep58, align 4, !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 ], [ %49, %32 ]
  %33 = shl nuw i64 %.253, 1
  %34 = add nsw i64 %33, -2
  %35 = getelementptr inbounds [128 x float], ptr %5, i64 0, i64 %34
  %36 = load float, ptr %35, align 8, !tbaa !9
  %37 = fpext float %36 to double
  %38 = call double @log(double noundef %37) #7
  %39 = fmul double %38, -2.000000e+00
  %40 = call double @sqrt(double noundef %39) #7
  %41 = add nsw i64 %33, -1
  %42 = getelementptr inbounds [128 x float], ptr %5, i64 0, i64 %41
  %43 = load float, ptr %42, align 4, !tbaa !9
  %44 = fmul float %43, 0x401921FB60000000
  %45 = fpext float %44 to double
  %46 = call double @cos(double noundef %45) #7
  %47 = fmul double %40, %46
  %48 = fptrunc double %47 to float
  %gep = getelementptr float, ptr %gep65, i64 %.253
  store float %48, ptr %gep, align 4, !tbaa !9
  %49 = 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
  %50 = add nuw nsw i64 %.070, 64
  %.not = icmp sgt i64 %50, %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 512, 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 @slaruv_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #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 <4 x float> @llvm.fmuladd.v4f32(<4 x float>, <4 x float>, <4 x float>) #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 = !{!"float", !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