; LLVM IR from modlfo/AudioEngine :: AudioEngine/JuceLibraryCode (juce_audio_basics)

; 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: 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: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325load1Ef(float noundef) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN4juce18FloatVectorHelpersL9isAlignedEPKv(ptr noundef) #2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4juce18FloatVectorHelpers10BasicOps326storeAEPfDv4_f(ptr noundef, <4 x float> noundef) #1 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4juce18FloatVectorHelpers10BasicOps326storeUEPfDv4_f(ptr noundef, <4 x float> noundef) #1 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadAEPKf(ptr noundef) #1 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323mulEDv4_fS2_(<4 x float> noundef, <4 x float> noundef) #1 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadUEPKf(ptr noundef) #1 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323addEDv4_fS2_(<4 x float> noundef, <4 x float> noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN4juce21FloatVectorOperations15addWithMultiplyEPfPKffi(ptr noundef %0, ptr noundef %1, float noundef %2, i32 noundef %3) #3 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca float, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca <4 x float>, align 16
  %11 = alloca i32, align 4
  %12 = alloca <4 x float>, align 16
  %13 = alloca <4 x float>, align 16
  %14 = alloca i32, align 4
  %15 = alloca <4 x float>, align 16
  %16 = alloca <4 x float>, align 16
  %17 = alloca i32, align 4
  %18 = alloca <4 x float>, align 16
  %19 = alloca <4 x float>, align 16
  %20 = alloca i32, align 4
  %21 = alloca <4 x float>, align 16
  %22 = alloca <4 x float>, align 16
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store float %2, ptr %7, align 4, !tbaa !9
  store i32 %3, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %25 = load i32, ptr %8, align 4, !tbaa !11
  %26 = sdiv i32 %25, 4
  store i32 %26, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #5
  %27 = load float, ptr %7, align 4, !tbaa !9
  %28 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325load1Ef(float noundef %27) #5
  store <4 x float> %28, ptr %10, align 16, !tbaa !13
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = call noundef zeroext i1 @_ZN4juce18FloatVectorHelpersL9isAlignedEPKv(ptr noundef %29) #5
  br i1 %30, label %31, label %85

31:                                               ; preds = %4
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = call noundef zeroext i1 @_ZN4juce18FloatVectorHelpersL9isAlignedEPKv(ptr noundef %32) #5
  br i1 %33, label %34, label %59

34:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !11
  br label %35

35:                                               ; preds = %55, %34
  %36 = load i32, ptr %11, align 4, !tbaa !11
  %37 = load i32, ptr %9, align 4, !tbaa !11
  %38 = icmp slt i32 %36, %37
  br i1 %38, label %40, label %39

39:                                               ; preds = %35
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %58

40:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #5
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadAEPKf(ptr noundef %41) #5
  store <4 x float> %42, ptr %12, align 16, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  %43 = load ptr, ptr %6, align 8, !tbaa !5
  %44 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadAEPKf(ptr noundef %43) #5
  store <4 x float> %44, ptr %13, align 16, !tbaa !13
  %45 = load ptr, ptr %5, align 8, !tbaa !5
  %46 = load <4 x float>, ptr %12, align 16, !tbaa !13
  %47 = load <4 x float>, ptr %10, align 16, !tbaa !13
  %48 = load <4 x float>, ptr %13, align 16, !tbaa !13
  %49 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323mulEDv4_fS2_(<4 x float> noundef %47, <4 x float> noundef %48) #5
  %50 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323addEDv4_fS2_(<4 x float> noundef %46, <4 x float> noundef %49) #5
  call void @_ZN4juce18FloatVectorHelpers10BasicOps326storeAEPfDv4_f(ptr noundef %45, <4 x float> noundef %50) #5
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = getelementptr inbounds float, ptr %51, i64 4
  store ptr %52, ptr %5, align 8, !tbaa !5
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = getelementptr inbounds float, ptr %53, i64 4
  store ptr %54, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #5
  br label %55

55:                                               ; preds = %40
  %56 = load i32, ptr %11, align 4, !tbaa !11
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr %11, align 4, !tbaa !11
  br label %35, !llvm.loop !14

58:                                               ; preds = %39
  br label %84

59:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !11
  br label %60

60:                                               ; preds = %80, %59
  %61 = load i32, ptr %14, align 4, !tbaa !11
  %62 = load i32, ptr %9, align 4, !tbaa !11
  %63 = icmp slt i32 %61, %62
  br i1 %63, label %65, label %64

64:                                               ; preds = %60
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %83

65:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #5
  %66 = load ptr, ptr %5, align 8, !tbaa !5
  %67 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadAEPKf(ptr noundef %66) #5
  store <4 x float> %67, ptr %15, align 16, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #5
  %68 = load ptr, ptr %6, align 8, !tbaa !5
  %69 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadUEPKf(ptr noundef %68) #5
  store <4 x float> %69, ptr %16, align 16, !tbaa !13
  %70 = load ptr, ptr %5, align 8, !tbaa !5
  %71 = load <4 x float>, ptr %15, align 16, !tbaa !13
  %72 = load <4 x float>, ptr %10, align 16, !tbaa !13
  %73 = load <4 x float>, ptr %16, align 16, !tbaa !13
  %74 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323mulEDv4_fS2_(<4 x float> noundef %72, <4 x float> noundef %73) #5
  %75 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323addEDv4_fS2_(<4 x float> noundef %71, <4 x float> noundef %74) #5
  call void @_ZN4juce18FloatVectorHelpers10BasicOps326storeAEPfDv4_f(ptr noundef %70, <4 x float> noundef %75) #5
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  %77 = getelementptr inbounds float, ptr %76, i64 4
  store ptr %77, ptr %5, align 8, !tbaa !5
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  %79 = getelementptr inbounds float, ptr %78, i64 4
  store ptr %79, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  br label %80

80:                                               ; preds = %65
  %81 = load i32, ptr %14, align 4, !tbaa !11
  %82 = add nsw i32 %81, 1
  store i32 %82, ptr %14, align 4, !tbaa !11
  br label %60, !llvm.loop !16

83:                                               ; preds = %64
  br label %84

84:                                               ; preds = %83, %58
  br label %139

85:                                               ; preds = %4
  %86 = load ptr, ptr %6, align 8, !tbaa !5
  %87 = call noundef zeroext i1 @_ZN4juce18FloatVectorHelpersL9isAlignedEPKv(ptr noundef %86) #5
  br i1 %87, label %88, label %113

88:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !11
  br label %89

89:                                               ; preds = %109, %88
  %90 = load i32, ptr %17, align 4, !tbaa !11
  %91 = load i32, ptr %9, align 4, !tbaa !11
  %92 = icmp slt i32 %90, %91
  br i1 %92, label %94, label %93

93:                                               ; preds = %89
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br label %112

94:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #5
  %95 = load ptr, ptr %5, align 8, !tbaa !5
  %96 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadUEPKf(ptr noundef %95) #5
  store <4 x float> %96, ptr %18, align 16, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #5
  %97 = load ptr, ptr %6, align 8, !tbaa !5
  %98 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadAEPKf(ptr noundef %97) #5
  store <4 x float> %98, ptr %19, align 16, !tbaa !13
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = load <4 x float>, ptr %18, align 16, !tbaa !13
  %101 = load <4 x float>, ptr %10, align 16, !tbaa !13
  %102 = load <4 x float>, ptr %19, align 16, !tbaa !13
  %103 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323mulEDv4_fS2_(<4 x float> noundef %101, <4 x float> noundef %102) #5
  %104 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323addEDv4_fS2_(<4 x float> noundef %100, <4 x float> noundef %103) #5
  call void @_ZN4juce18FloatVectorHelpers10BasicOps326storeUEPfDv4_f(ptr noundef %99, <4 x float> noundef %104) #5
  %105 = load ptr, ptr %5, align 8, !tbaa !5
  %106 = getelementptr inbounds float, ptr %105, i64 4
  store ptr %106, ptr %5, align 8, !tbaa !5
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  %108 = getelementptr inbounds float, ptr %107, i64 4
  store ptr %108, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #5
  br label %109

109:                                              ; preds = %94
  %110 = load i32, ptr %17, align 4, !tbaa !11
  %111 = add nsw i32 %110, 1
  store i32 %111, ptr %17, align 4, !tbaa !11
  br label %89, !llvm.loop !17

112:                                              ; preds = %93
  br label %138

113:                                              ; preds = %85
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  store i32 0, ptr %20, align 4, !tbaa !11
  br label %114

114:                                              ; preds = %134, %113
  %115 = load i32, ptr %20, align 4, !tbaa !11
  %116 = load i32, ptr %9, align 4, !tbaa !11
  %117 = icmp slt i32 %115, %116
  br i1 %117, label %119, label %118

118:                                              ; preds = %114
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  br label %137

119:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #5
  %120 = load ptr, ptr %5, align 8, !tbaa !5
  %121 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadUEPKf(ptr noundef %120) #5
  store <4 x float> %121, ptr %21, align 16, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #5
  %122 = load ptr, ptr %6, align 8, !tbaa !5
  %123 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadUEPKf(ptr noundef %122) #5
  store <4 x float> %123, ptr %22, align 16, !tbaa !13
  %124 = load ptr, ptr %5, align 8, !tbaa !5
  %125 = load <4 x float>, ptr %21, align 16, !tbaa !13
  %126 = load <4 x float>, ptr %10, align 16, !tbaa !13
  %127 = load <4 x float>, ptr %22, align 16, !tbaa !13
  %128 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323mulEDv4_fS2_(<4 x float> noundef %126, <4 x float> noundef %127) #5
  %129 = call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323addEDv4_fS2_(<4 x float> noundef %125, <4 x float> noundef %128) #5
  call void @_ZN4juce18FloatVectorHelpers10BasicOps326storeUEPfDv4_f(ptr noundef %124, <4 x float> noundef %129) #5
  %130 = load ptr, ptr %5, align 8, !tbaa !5
  %131 = getelementptr inbounds float, ptr %130, i64 4
  store ptr %131, ptr %5, align 8, !tbaa !5
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = getelementptr inbounds float, ptr %132, i64 4
  store ptr %133, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #5
  br label %134

134:                                              ; preds = %119
  %135 = load i32, ptr %20, align 4, !tbaa !11
  %136 = add nsw i32 %135, 1
  store i32 %136, ptr %20, align 4, !tbaa !11
  br label %114, !llvm.loop !18

137:                                              ; preds = %118
  br label %138

138:                                              ; preds = %137, %112
  br label %139

139:                                              ; preds = %138, %84
  %140 = load i32, ptr %8, align 4, !tbaa !11
  %141 = and i32 %140, 3
  store i32 %141, ptr %8, align 4, !tbaa !11
  %142 = load i32, ptr %8, align 4, !tbaa !11
  %143 = icmp eq i32 %142, 0
  br i1 %143, label %144, label %145

144:                                              ; preds = %139
  store i32 1, ptr %23, align 4
  br label %146

145:                                              ; preds = %139
  store i32 0, ptr %23, align 4
  br label %146

146:                                              ; preds = %145, %144
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  %147 = load i32, ptr %23, align 4
  switch i32 %147, label %171 [
    i32 0, label %148
    i32 1, label %170
  ]

148:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  store i32 0, ptr %24, align 4, !tbaa !11
  br label %149

149:                                              ; preds = %167, %148
  %150 = load i32, ptr %24, align 4, !tbaa !11
  %151 = load i32, ptr %8, align 4, !tbaa !11
  %152 = icmp slt i32 %150, %151
  br i1 %152, label %154, label %153

153:                                              ; preds = %149
  store i32 14, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  br label %170

154:                                              ; preds = %149
  %155 = load ptr, ptr %6, align 8, !tbaa !5
  %156 = load i32, ptr %24, align 4, !tbaa !11
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds float, ptr %155, i64 %157
  %159 = load float, ptr %158, align 4, !tbaa !9
  %160 = load float, ptr %7, align 4, !tbaa !9
  %161 = load ptr, ptr %5, align 8, !tbaa !5
  %162 = load i32, ptr %24, align 4, !tbaa !11
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds float, ptr %161, i64 %163
  %165 = load float, ptr %164, align 4, !tbaa !9
  %166 = call float @llvm.fmuladd.f32(float %159, float %160, float %165)
  store float %166, ptr %164, align 4, !tbaa !9
  br label %167

167:                                              ; preds = %154
  %168 = load i32, ptr %24, align 4, !tbaa !11
  %169 = add nsw i32 %168, 1
  store i32 %169, ptr %24, align 4, !tbaa !11
  br label %149, !llvm.loop !19

170:                                              ; preds = %153, %146
  ret void

171:                                              ; preds = %146
  unreachable
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="128" "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 = { 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 = { mustprogress nounwind uwtable "min-legal-vector-width"="128" "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 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = distinct !{!17, !15}
!18 = distinct !{!18, !15}
!19 = distinct !{!19, !15}


; 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: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325load1Ef(float noundef) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN4juce18FloatVectorHelpersL9isAlignedEPKv(ptr noundef) local_unnamed_addr #1

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4juce18FloatVectorHelpers10BasicOps326storeAEPfDv4_f(ptr noundef, <4 x float> noundef) local_unnamed_addr #0 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4juce18FloatVectorHelpers10BasicOps326storeUEPfDv4_f(ptr noundef, <4 x float> noundef) local_unnamed_addr #0 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadAEPKf(ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323mulEDv4_fS2_(<4 x float> noundef, <4 x float> noundef) local_unnamed_addr #0 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadUEPKf(ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323addEDv4_fS2_(<4 x float> noundef, <4 x float> noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN4juce21FloatVectorOperations15addWithMultiplyEPfPKffi(ptr noundef %0, ptr noundef %1, float noundef %2, i32 noundef %3) local_unnamed_addr #2 align 2 {
  %5 = sdiv i32 %3, 4
  %6 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325load1Ef(float noundef %2) #4
  %7 = tail call noundef zeroext i1 @_ZN4juce18FloatVectorHelpersL9isAlignedEPKv(ptr noundef %0) #4
  %8 = tail call noundef zeroext i1 @_ZN4juce18FloatVectorHelpersL9isAlignedEPKv(ptr noundef %1) #4
  %9 = icmp sgt i32 %3, 3
  br i1 %7, label %10, label %25

10:                                               ; preds = %4
  br i1 %8, label %.preheader70, label %.preheader72

.preheader72:                                     ; preds = %10
  br i1 %9, label %.lr.ph91, label %.loopexit71

.preheader70:                                     ; preds = %10
  br i1 %9, label %.lr.ph97, label %.loopexit71

.lr.ph97:                                         ; preds = %.preheader70, %.lr.ph97
  %.06096 = phi ptr [ %15, %.lr.ph97 ], [ %0, %.preheader70 ]
  %.06195 = phi ptr [ %16, %.lr.ph97 ], [ %1, %.preheader70 ]
  %.06794 = phi i32 [ %17, %.lr.ph97 ], [ 0, %.preheader70 ]
  %11 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadAEPKf(ptr noundef %.06096) #4
  %12 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadAEPKf(ptr noundef %.06195) #4
  %13 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323mulEDv4_fS2_(<4 x float> noundef %6, <4 x float> noundef %12) #4
  %14 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323addEDv4_fS2_(<4 x float> noundef %11, <4 x float> noundef %13) #4
  tail call void @_ZN4juce18FloatVectorHelpers10BasicOps326storeAEPfDv4_f(ptr noundef %.06096, <4 x float> noundef %14) #4
  %15 = getelementptr inbounds i8, ptr %.06096, i64 16
  %16 = getelementptr inbounds i8, ptr %.06195, i64 16
  %17 = add nuw nsw i32 %.06794, 1
  %exitcond113.not = icmp eq i32 %17, %5
  br i1 %exitcond113.not, label %.loopexit71, label %.lr.ph97, !llvm.loop !5

.lr.ph91:                                         ; preds = %.preheader72, %.lr.ph91
  %.190 = phi ptr [ %22, %.lr.ph91 ], [ %0, %.preheader72 ]
  %.16289 = phi ptr [ %23, %.lr.ph91 ], [ %1, %.preheader72 ]
  %.06988 = phi i32 [ %24, %.lr.ph91 ], [ 0, %.preheader72 ]
  %18 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadAEPKf(ptr noundef %.190) #4
  %19 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadUEPKf(ptr noundef %.16289) #4
  %20 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323mulEDv4_fS2_(<4 x float> noundef %6, <4 x float> noundef %19) #4
  %21 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323addEDv4_fS2_(<4 x float> noundef %18, <4 x float> noundef %20) #4
  tail call void @_ZN4juce18FloatVectorHelpers10BasicOps326storeAEPfDv4_f(ptr noundef %.190, <4 x float> noundef %21) #4
  %22 = getelementptr inbounds i8, ptr %.190, i64 16
  %23 = getelementptr inbounds i8, ptr %.16289, i64 16
  %24 = add nuw nsw i32 %.06988, 1
  %exitcond112.not = icmp eq i32 %24, %5
  br i1 %exitcond112.not, label %.loopexit71, label %.lr.ph91, !llvm.loop !7

25:                                               ; preds = %4
  br i1 %8, label %.preheader74, label %.preheader76

.preheader76:                                     ; preds = %25
  br i1 %9, label %.lr.ph, label %.loopexit71

.preheader74:                                     ; preds = %25
  br i1 %9, label %.lr.ph85, label %.loopexit71

.lr.ph85:                                         ; preds = %.preheader74, %.lr.ph85
  %.284 = phi ptr [ %30, %.lr.ph85 ], [ %0, %.preheader74 ]
  %.26383 = phi ptr [ %31, %.lr.ph85 ], [ %1, %.preheader74 ]
  %.06882 = phi i32 [ %32, %.lr.ph85 ], [ 0, %.preheader74 ]
  %26 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadUEPKf(ptr noundef %.284) #4
  %27 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadAEPKf(ptr noundef %.26383) #4
  %28 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323mulEDv4_fS2_(<4 x float> noundef %6, <4 x float> noundef %27) #4
  %29 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323addEDv4_fS2_(<4 x float> noundef %26, <4 x float> noundef %28) #4
  tail call void @_ZN4juce18FloatVectorHelpers10BasicOps326storeUEPfDv4_f(ptr noundef %.284, <4 x float> noundef %29) #4
  %30 = getelementptr inbounds i8, ptr %.284, i64 16
  %31 = getelementptr inbounds i8, ptr %.26383, i64 16
  %32 = add nuw nsw i32 %.06882, 1
  %exitcond111.not = icmp eq i32 %32, %5
  br i1 %exitcond111.not, label %.loopexit71, label %.lr.ph85, !llvm.loop !8

.lr.ph:                                           ; preds = %.preheader76, %.lr.ph
  %.380 = phi ptr [ %37, %.lr.ph ], [ %0, %.preheader76 ]
  %.36479 = phi ptr [ %38, %.lr.ph ], [ %1, %.preheader76 ]
  %.06678 = phi i32 [ %39, %.lr.ph ], [ 0, %.preheader76 ]
  %33 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadUEPKf(ptr noundef %.380) #4
  %34 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps325loadUEPKf(ptr noundef %.36479) #4
  %35 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323mulEDv4_fS2_(<4 x float> noundef %6, <4 x float> noundef %34) #4
  %36 = tail call noundef <4 x float> @_ZN4juce18FloatVectorHelpers10BasicOps323addEDv4_fS2_(<4 x float> noundef %33, <4 x float> noundef %35) #4
  tail call void @_ZN4juce18FloatVectorHelpers10BasicOps326storeUEPfDv4_f(ptr noundef %.380, <4 x float> noundef %36) #4
  %37 = getelementptr inbounds i8, ptr %.380, i64 16
  %38 = getelementptr inbounds i8, ptr %.36479, i64 16
  %39 = add nuw nsw i32 %.06678, 1
  %exitcond.not = icmp eq i32 %39, %5
  br i1 %exitcond.not, label %.loopexit71, label %.lr.ph, !llvm.loop !9

.loopexit71:                                      ; preds = %.lr.ph, %.lr.ph85, %.lr.ph91, %.lr.ph97, %.preheader76, %.preheader74, %.preheader72, %.preheader70
  %.465 = phi ptr [ %1, %.preheader70 ], [ %1, %.preheader72 ], [ %1, %.preheader74 ], [ %1, %.preheader76 ], [ %16, %.lr.ph97 ], [ %23, %.lr.ph91 ], [ %31, %.lr.ph85 ], [ %38, %.lr.ph ]
  %.4 = phi ptr [ %0, %.preheader70 ], [ %0, %.preheader72 ], [ %0, %.preheader74 ], [ %0, %.preheader76 ], [ %15, %.lr.ph97 ], [ %22, %.lr.ph91 ], [ %30, %.lr.ph85 ], [ %37, %.lr.ph ]
  %40 = and i32 %3, 3
  %.not = icmp eq i32 %40, 0
  br i1 %.not, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %.loopexit71
  %41 = load float, ptr %.465, align 4, !tbaa !10
  %42 = load float, ptr %.4, align 4, !tbaa !10
  %43 = tail call float @llvm.fmuladd.f32(float %41, float %2, float %42)
  store float %43, ptr %.4, align 4, !tbaa !10
  %exitcond115.not = icmp eq i32 %40, 1
  br i1 %exitcond115.not, label %.loopexit, label %.preheader.1, !llvm.loop !14

.preheader.1:                                     ; preds = %.preheader
  %44 = getelementptr inbounds i8, ptr %.465, i64 4
  %45 = load float, ptr %44, align 4, !tbaa !10
  %46 = getelementptr inbounds i8, ptr %.4, i64 4
  %47 = load float, ptr %46, align 4, !tbaa !10
  %48 = tail call float @llvm.fmuladd.f32(float %45, float %2, float %47)
  store float %48, ptr %46, align 4, !tbaa !10
  %exitcond115.not.1 = icmp eq i32 %40, 2
  br i1 %exitcond115.not.1, label %.loopexit, label %.preheader.2, !llvm.loop !14

.preheader.2:                                     ; preds = %.preheader.1
  %49 = getelementptr inbounds i8, ptr %.465, i64 8
  %50 = load float, ptr %49, align 4, !tbaa !10
  %51 = getelementptr inbounds i8, ptr %.4, i64 8
  %52 = load float, ptr %51, align 4, !tbaa !10
  %53 = tail call float @llvm.fmuladd.f32(float %50, float %2, float %52)
  store float %53, ptr %51, align 4, !tbaa !10
  br label %.loopexit

.loopexit:                                        ; preds = %.preheader, %.preheader.1, %.preheader.2, %.loopexit71
  ret void
}

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

attributes #0 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="128" "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 nounwind uwtable "min-legal-vector-width"="128" "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 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}
!8 = distinct !{!8, !6}
!9 = distinct !{!9, !6}
!10 = !{!11, !11, i64 0}
!11 = !{!"float", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = distinct !{!14, !6}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass