; LLVM IR from FedericaPaoli1/stm32-speech-recognition-and-traduction :: Drivers/CMSIS/DSP/Source/FilteringFunctions (arm_fir_sparse_f32)

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

%struct.arm_fir_sparse_instance_f32 = type { i16, i16, ptr, ptr, i16, ptr }

; Function Attrs: nounwind uwtable
define dso_local void @arm_fir_sparse_f32(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i16, align 2
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca float, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store i32 %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.arm_fir_sparse_instance_f32, ptr %24, i32 0, i32 2
  %26 = load ptr, ptr %25, align 8, !tbaa !11
  store ptr %26, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.arm_fir_sparse_instance_f32, ptr %27, i32 0, i32 3
  %29 = load ptr, ptr %28, align 8, !tbaa !14
  store ptr %29, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %30 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %30, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %31 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %31, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.arm_fir_sparse_instance_f32, ptr %32, i32 0, i32 5
  %34 = load ptr, ptr %33, align 8, !tbaa !15
  store ptr %34, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.arm_fir_sparse_instance_f32, ptr %35, i32 0, i32 4
  %37 = load i16, ptr %36, align 8, !tbaa !16
  %38 = zext i16 %37 to i32
  %39 = load i32, ptr %10, align 4, !tbaa !9
  %40 = add i32 %38, %39
  store i32 %40, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2, ptr %19) #4
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.arm_fir_sparse_instance_f32, ptr %41, i32 0, i32 0
  %43 = load i16, ptr %42, align 8, !tbaa !17
  store i16 %43, ptr %19, align 2, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  %44 = load ptr, ptr %12, align 8, !tbaa !5
  %45 = getelementptr inbounds float, ptr %44, i32 1
  store ptr %45, ptr %12, align 8, !tbaa !5
  %46 = load float, ptr %44, align 4, !tbaa !19
  store float %46, ptr %23, align 4, !tbaa !19
  %47 = load ptr, ptr %14, align 8, !tbaa !5
  %48 = load i32, ptr %18, align 4, !tbaa !9
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.arm_fir_sparse_instance_f32, ptr %49, i32 0, i32 1
  %51 = load ptr, ptr %7, align 8, !tbaa !5
  %52 = load i32, ptr %10, align 4, !tbaa !9
  call void @arm_circularWrite_f32(ptr noundef %47, i32 noundef %48, ptr noundef %50, i32 noundef 1, ptr noundef %51, i32 noundef 1, i32 noundef %52)
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.arm_fir_sparse_instance_f32, ptr %53, i32 0, i32 1
  %55 = load i16, ptr %54, align 2, !tbaa !21
  %56 = zext i16 %55 to i32
  %57 = load i32, ptr %10, align 4, !tbaa !9
  %58 = sub i32 %56, %57
  %59 = load ptr, ptr %17, align 8, !tbaa !5
  %60 = getelementptr inbounds i32, ptr %59, i32 1
  store ptr %60, ptr %17, align 8, !tbaa !5
  %61 = load i32, ptr %59, align 4, !tbaa !9
  %62 = sub nsw i32 %58, %61
  store i32 %62, ptr %20, align 4, !tbaa !9
  %63 = load i32, ptr %20, align 4, !tbaa !9
  %64 = icmp slt i32 %63, 0
  br i1 %64, label %65, label %69

65:                                               ; preds = %5
  %66 = load i32, ptr %18, align 4, !tbaa !9
  %67 = load i32, ptr %20, align 4, !tbaa !9
  %68 = add nsw i32 %67, %66
  store i32 %68, ptr %20, align 4, !tbaa !9
  br label %69

69:                                               ; preds = %65, %5
  %70 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %70, ptr %14, align 8, !tbaa !5
  %71 = load ptr, ptr %14, align 8, !tbaa !5
  %72 = load i32, ptr %18, align 4, !tbaa !9
  %73 = load ptr, ptr %15, align 8, !tbaa !5
  %74 = load ptr, ptr %15, align 8, !tbaa !5
  %75 = load i32, ptr %10, align 4, !tbaa !9
  %76 = load i32, ptr %10, align 4, !tbaa !9
  call void @arm_circularRead_f32(ptr noundef %71, i32 noundef %72, ptr noundef %20, i32 noundef 1, ptr noundef %73, ptr noundef %74, i32 noundef %75, i32 noundef 1, i32 noundef %76)
  %77 = load ptr, ptr %15, align 8, !tbaa !5
  store ptr %77, ptr %13, align 8, !tbaa !5
  %78 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %78, ptr %16, align 8, !tbaa !5
  %79 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %79, ptr %22, align 4, !tbaa !9
  br label %80

80:                                               ; preds = %83, %69
  %81 = load i32, ptr %22, align 4, !tbaa !9
  %82 = icmp ugt i32 %81, 0
  br i1 %82, label %83, label %93

83:                                               ; preds = %80
  %84 = load ptr, ptr %13, align 8, !tbaa !5
  %85 = getelementptr inbounds float, ptr %84, i32 1
  store ptr %85, ptr %13, align 8, !tbaa !5
  %86 = load float, ptr %84, align 4, !tbaa !19
  %87 = load float, ptr %23, align 4, !tbaa !19
  %88 = fmul float %86, %87
  %89 = load ptr, ptr %16, align 8, !tbaa !5
  %90 = getelementptr inbounds float, ptr %89, i32 1
  store ptr %90, ptr %16, align 8, !tbaa !5
  store float %88, ptr %89, align 4, !tbaa !19
  %91 = load i32, ptr %22, align 4, !tbaa !9
  %92 = add i32 %91, -1
  store i32 %92, ptr %22, align 4, !tbaa !9
  br label %80, !llvm.loop !22

93:                                               ; preds = %80
  %94 = load ptr, ptr %12, align 8, !tbaa !5
  %95 = getelementptr inbounds float, ptr %94, i32 1
  store ptr %95, ptr %12, align 8, !tbaa !5
  %96 = load float, ptr %94, align 4, !tbaa !19
  store float %96, ptr %23, align 4, !tbaa !19
  %97 = load ptr, ptr %6, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.arm_fir_sparse_instance_f32, ptr %97, i32 0, i32 1
  %99 = load i16, ptr %98, align 2, !tbaa !21
  %100 = zext i16 %99 to i32
  %101 = load i32, ptr %10, align 4, !tbaa !9
  %102 = sub i32 %100, %101
  %103 = load ptr, ptr %17, align 8, !tbaa !5
  %104 = getelementptr inbounds i32, ptr %103, i32 1
  store ptr %104, ptr %17, align 8, !tbaa !5
  %105 = load i32, ptr %103, align 4, !tbaa !9
  %106 = sub nsw i32 %102, %105
  store i32 %106, ptr %20, align 4, !tbaa !9
  %107 = load i32, ptr %20, align 4, !tbaa !9
  %108 = icmp slt i32 %107, 0
  br i1 %108, label %109, label %113

109:                                              ; preds = %93
  %110 = load i32, ptr %18, align 4, !tbaa !9
  %111 = load i32, ptr %20, align 4, !tbaa !9
  %112 = add nsw i32 %111, %110
  store i32 %112, ptr %20, align 4, !tbaa !9
  br label %113

113:                                              ; preds = %109, %93
  %114 = load i16, ptr %19, align 2, !tbaa !18
  %115 = zext i16 %114 to i32
  %116 = sub i32 %115, 2
  store i32 %116, ptr %21, align 4, !tbaa !9
  br label %117

117:                                              ; preds = %165, %113
  %118 = load i32, ptr %21, align 4, !tbaa !9
  %119 = icmp ugt i32 %118, 0
  br i1 %119, label %120, label %168

120:                                              ; preds = %117
  %121 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %121, ptr %14, align 8, !tbaa !5
  %122 = load ptr, ptr %14, align 8, !tbaa !5
  %123 = load i32, ptr %18, align 4, !tbaa !9
  %124 = load ptr, ptr %15, align 8, !tbaa !5
  %125 = load ptr, ptr %15, align 8, !tbaa !5
  %126 = load i32, ptr %10, align 4, !tbaa !9
  %127 = load i32, ptr %10, align 4, !tbaa !9
  call void @arm_circularRead_f32(ptr noundef %122, i32 noundef %123, ptr noundef %20, i32 noundef 1, ptr noundef %124, ptr noundef %125, i32 noundef %126, i32 noundef 1, i32 noundef %127)
  %128 = load ptr, ptr %15, align 8, !tbaa !5
  store ptr %128, ptr %13, align 8, !tbaa !5
  %129 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %129, ptr %16, align 8, !tbaa !5
  %130 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %130, ptr %22, align 4, !tbaa !9
  br label %131

131:                                              ; preds = %134, %120
  %132 = load i32, ptr %22, align 4, !tbaa !9
  %133 = icmp ugt i32 %132, 0
  br i1 %133, label %134, label %145

134:                                              ; preds = %131
  %135 = load ptr, ptr %13, align 8, !tbaa !5
  %136 = getelementptr inbounds float, ptr %135, i32 1
  store ptr %136, ptr %13, align 8, !tbaa !5
  %137 = load float, ptr %135, align 4, !tbaa !19
  %138 = load float, ptr %23, align 4, !tbaa !19
  %139 = load ptr, ptr %16, align 8, !tbaa !5
  %140 = getelementptr inbounds float, ptr %139, i32 1
  store ptr %140, ptr %16, align 8, !tbaa !5
  %141 = load float, ptr %139, align 4, !tbaa !19
  %142 = call float @llvm.fmuladd.f32(float %137, float %138, float %141)
  store float %142, ptr %139, align 4, !tbaa !19
  %143 = load i32, ptr %22, align 4, !tbaa !9
  %144 = add i32 %143, -1
  store i32 %144, ptr %22, align 4, !tbaa !9
  br label %131, !llvm.loop !24

145:                                              ; preds = %131
  %146 = load ptr, ptr %12, align 8, !tbaa !5
  %147 = getelementptr inbounds float, ptr %146, i32 1
  store ptr %147, ptr %12, align 8, !tbaa !5
  %148 = load float, ptr %146, align 4, !tbaa !19
  store float %148, ptr %23, align 4, !tbaa !19
  %149 = load ptr, ptr %6, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.arm_fir_sparse_instance_f32, ptr %149, i32 0, i32 1
  %151 = load i16, ptr %150, align 2, !tbaa !21
  %152 = zext i16 %151 to i32
  %153 = load i32, ptr %10, align 4, !tbaa !9
  %154 = sub i32 %152, %153
  %155 = load ptr, ptr %17, align 8, !tbaa !5
  %156 = getelementptr inbounds i32, ptr %155, i32 1
  store ptr %156, ptr %17, align 8, !tbaa !5
  %157 = load i32, ptr %155, align 4, !tbaa !9
  %158 = sub nsw i32 %154, %157
  store i32 %158, ptr %20, align 4, !tbaa !9
  %159 = load i32, ptr %20, align 4, !tbaa !9
  %160 = icmp slt i32 %159, 0
  br i1 %160, label %161, label %165

161:                                              ; preds = %145
  %162 = load i32, ptr %18, align 4, !tbaa !9
  %163 = load i32, ptr %20, align 4, !tbaa !9
  %164 = add nsw i32 %163, %162
  store i32 %164, ptr %20, align 4, !tbaa !9
  br label %165

165:                                              ; preds = %161, %145
  %166 = load i32, ptr %21, align 4, !tbaa !9
  %167 = add i32 %166, -1
  store i32 %167, ptr %21, align 4, !tbaa !9
  br label %117, !llvm.loop !25

168:                                              ; preds = %117
  %169 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %169, ptr %14, align 8, !tbaa !5
  %170 = load ptr, ptr %14, align 8, !tbaa !5
  %171 = load i32, ptr %18, align 4, !tbaa !9
  %172 = load ptr, ptr %15, align 8, !tbaa !5
  %173 = load ptr, ptr %15, align 8, !tbaa !5
  %174 = load i32, ptr %10, align 4, !tbaa !9
  %175 = load i32, ptr %10, align 4, !tbaa !9
  call void @arm_circularRead_f32(ptr noundef %170, i32 noundef %171, ptr noundef %20, i32 noundef 1, ptr noundef %172, ptr noundef %173, i32 noundef %174, i32 noundef 1, i32 noundef %175)
  %176 = load ptr, ptr %15, align 8, !tbaa !5
  store ptr %176, ptr %13, align 8, !tbaa !5
  %177 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %177, ptr %16, align 8, !tbaa !5
  %178 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %178, ptr %22, align 4, !tbaa !9
  br label %179

179:                                              ; preds = %182, %168
  %180 = load i32, ptr %22, align 4, !tbaa !9
  %181 = icmp ugt i32 %180, 0
  br i1 %181, label %182, label %193

182:                                              ; preds = %179
  %183 = load ptr, ptr %13, align 8, !tbaa !5
  %184 = getelementptr inbounds float, ptr %183, i32 1
  store ptr %184, ptr %13, align 8, !tbaa !5
  %185 = load float, ptr %183, align 4, !tbaa !19
  %186 = load float, ptr %23, align 4, !tbaa !19
  %187 = load ptr, ptr %16, align 8, !tbaa !5
  %188 = getelementptr inbounds float, ptr %187, i32 1
  store ptr %188, ptr %16, align 8, !tbaa !5
  %189 = load float, ptr %187, align 4, !tbaa !19
  %190 = call float @llvm.fmuladd.f32(float %185, float %186, float %189)
  store float %190, ptr %187, align 4, !tbaa !19
  %191 = load i32, ptr %22, align 4, !tbaa !9
  %192 = add i32 %191, -1
  store i32 %192, ptr %22, align 4, !tbaa !9
  br label %179, !llvm.loop !26

193:                                              ; preds = %179
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 2, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  ret void
}

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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @arm_circularWrite_f32(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @arm_circularRead_f32(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2

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

; 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 = { alwaysinline 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 = { 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 = !{!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 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 8}
!12 = !{!"", !13, i64 0, !13, i64 2, !6, i64 8, !6, i64 16, !13, i64 24, !6, i64 32}
!13 = !{!"short", !7, i64 0}
!14 = !{!12, !6, i64 16}
!15 = !{!12, !6, i64 32}
!16 = !{!12, !13, i64 24}
!17 = !{!12, !13, i64 0}
!18 = !{!13, !13, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"float", !7, i64 0}
!21 = !{!12, !13, i64 2}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}
!25 = distinct !{!25, !23}
!26 = distinct !{!26, !23}


; 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 void @arm_fir_sparse_f32(ptr noundef %0, ptr noundef %1, ptr nocapture noundef %2, ptr noundef %3, i32 noundef %4) local_unnamed_addr #0 {
  %6 = alloca i32, align 4
  %7 = getelementptr inbounds i8, ptr %0, i64 8
  %8 = load ptr, ptr %7, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 16
  %10 = load ptr, ptr %9, align 8, !tbaa !11
  %11 = getelementptr inbounds i8, ptr %0, i64 32
  %12 = load ptr, ptr %11, align 8, !tbaa !12
  %13 = getelementptr inbounds i8, ptr %0, i64 24
  %14 = load i16, ptr %13, align 8, !tbaa !13
  %15 = zext i16 %14 to i32
  %16 = add i32 %15, %4
  %17 = load i16, ptr %0, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  %18 = getelementptr inbounds i8, ptr %10, i64 4
  %19 = load float, ptr %10, align 4, !tbaa !15
  %20 = getelementptr inbounds i8, ptr %0, i64 2
  tail call void @arm_circularWrite_f32(ptr noundef %8, i32 noundef %16, ptr noundef nonnull %20, i32 noundef 1, ptr noundef %1, i32 noundef 1, i32 noundef %4)
  %21 = load i16, ptr %20, align 2, !tbaa !17
  %22 = zext i16 %21 to i32
  %23 = getelementptr inbounds i8, ptr %12, i64 4
  %24 = load i32, ptr %12, align 4, !tbaa !18
  %25 = add i32 %24, %4
  %26 = sub i32 %22, %25
  %27 = icmp slt i32 %26, 0
  %28 = select i1 %27, i32 %16, i32 0
  %spec.select = add nsw i32 %28, %26
  store i32 %spec.select, ptr %6, align 4, !tbaa !18
  call void @arm_circularRead_f32(ptr noundef %8, i32 noundef %16, ptr noundef nonnull %6, i32 noundef 1, ptr noundef %3, ptr noundef %3, i32 noundef %4, i32 noundef 1, i32 noundef %4)
  %.not101 = icmp eq i32 %4, 0
  br i1 %.not101, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %5
  %29 = ptrtoint ptr %2 to i64
  %30 = ptrtoint ptr %3 to i64
  %31 = zext i32 %4 to i64
  %min.iters.check = icmp ult i32 %4, 8
  %32 = sub i64 %29, %30
  %diff.check = icmp ult i64 %32, 32
  %or.cond = or i1 %min.iters.check, %diff.check
  br i1 %or.cond, label %.lr.ph.preheader211, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %31, 4294967288
  %.cast = trunc nuw i64 %n.vec to i32
  %ind.end = sub i32 %4, %.cast
  %33 = shl nuw nsw i64 %n.vec, 2
  %ind.end133 = getelementptr i8, ptr %3, i64 %33
  %34 = shl nuw nsw i64 %n.vec, 2
  %ind.end135 = getelementptr i8, ptr %2, i64 %34
  %broadcast.splatinsert = insertelement <4 x float> poison, float %19, i64 0
  %broadcast.splat = shufflevector <4 x float> %broadcast.splatinsert, <4 x float> poison, <4 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = shl i64 %index, 2
  %next.gep = getelementptr i8, ptr %3, i64 %offset.idx
  %offset.idx138 = shl i64 %index, 2
  %next.gep139 = getelementptr i8, ptr %2, i64 %offset.idx138
  %35 = getelementptr i8, ptr %next.gep, i64 16
  %wide.load = load <4 x float>, ptr %next.gep, align 4, !tbaa !15
  %wide.load141 = load <4 x float>, ptr %35, align 4, !tbaa !15
  %36 = fmul <4 x float> %broadcast.splat, %wide.load
  %37 = fmul <4 x float> %broadcast.splat, %wide.load141
  %38 = getelementptr i8, ptr %next.gep139, i64 16
  store <4 x float> %36, ptr %next.gep139, align 4, !tbaa !15
  store <4 x float> %37, ptr %38, align 4, !tbaa !15
  %index.next = add nuw i64 %index, 8
  %39 = icmp eq i64 %index.next, %n.vec
  br i1 %39, label %middle.block, label %vector.body, !llvm.loop !20

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %31
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.preheader211

.lr.ph.preheader211:                              ; preds = %middle.block, %.lr.ph.preheader
  %.075104.ph = phi i32 [ %4, %.lr.ph.preheader ], [ %ind.end, %middle.block ]
  %.078103.ph = phi ptr [ %3, %.lr.ph.preheader ], [ %ind.end133, %middle.block ]
  %.082102.ph = phi ptr [ %2, %.lr.ph.preheader ], [ %ind.end135, %middle.block ]
  %40 = add i32 %.075104.ph, -1
  %xtraiter = and i32 %.075104.ph, 3
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol

.lr.ph.prol:                                      ; preds = %.lr.ph.preheader211, %.lr.ph.prol
  %.075104.prol = phi i32 [ %45, %.lr.ph.prol ], [ %.075104.ph, %.lr.ph.preheader211 ]
  %.078103.prol = phi ptr [ %41, %.lr.ph.prol ], [ %.078103.ph, %.lr.ph.preheader211 ]
  %.082102.prol = phi ptr [ %44, %.lr.ph.prol ], [ %.082102.ph, %.lr.ph.preheader211 ]
  %prol.iter = phi i32 [ %prol.iter.next, %.lr.ph.prol ], [ 0, %.lr.ph.preheader211 ]
  %41 = getelementptr inbounds i8, ptr %.078103.prol, i64 4
  %42 = load float, ptr %.078103.prol, align 4, !tbaa !15
  %43 = fmul float %19, %42
  %44 = getelementptr inbounds i8, ptr %.082102.prol, i64 4
  store float %43, ptr %.082102.prol, align 4, !tbaa !15
  %45 = add i32 %.075104.prol, -1
  %prol.iter.next = add i32 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i32 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol, !llvm.loop !24

.lr.ph.prol.loopexit:                             ; preds = %.lr.ph.prol, %.lr.ph.preheader211
  %.075104.unr = phi i32 [ %.075104.ph, %.lr.ph.preheader211 ], [ %45, %.lr.ph.prol ]
  %.078103.unr = phi ptr [ %.078103.ph, %.lr.ph.preheader211 ], [ %41, %.lr.ph.prol ]
  %.082102.unr = phi ptr [ %.082102.ph, %.lr.ph.preheader211 ], [ %44, %.lr.ph.prol ]
  %46 = icmp ult i32 %40, 3
  br i1 %46, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.prol.loopexit, %.lr.ph
  %.075104 = phi i32 [ %63, %.lr.ph ], [ %.075104.unr, %.lr.ph.prol.loopexit ]
  %.078103 = phi ptr [ %59, %.lr.ph ], [ %.078103.unr, %.lr.ph.prol.loopexit ]
  %.082102 = phi ptr [ %62, %.lr.ph ], [ %.082102.unr, %.lr.ph.prol.loopexit ]
  %47 = getelementptr inbounds i8, ptr %.078103, i64 4
  %48 = load float, ptr %.078103, align 4, !tbaa !15
  %49 = fmul float %19, %48
  %50 = getelementptr inbounds i8, ptr %.082102, i64 4
  store float %49, ptr %.082102, align 4, !tbaa !15
  %51 = getelementptr inbounds i8, ptr %.078103, i64 8
  %52 = load float, ptr %47, align 4, !tbaa !15
  %53 = fmul float %19, %52
  %54 = getelementptr inbounds i8, ptr %.082102, i64 8
  store float %53, ptr %50, align 4, !tbaa !15
  %55 = getelementptr inbounds i8, ptr %.078103, i64 12
  %56 = load float, ptr %51, align 4, !tbaa !15
  %57 = fmul float %19, %56
  %58 = getelementptr inbounds i8, ptr %.082102, i64 12
  store float %57, ptr %54, align 4, !tbaa !15
  %59 = getelementptr inbounds i8, ptr %.078103, i64 16
  %60 = load float, ptr %55, align 4, !tbaa !15
  %61 = fmul float %19, %60
  %62 = getelementptr inbounds i8, ptr %.082102, i64 16
  store float %61, ptr %58, align 4, !tbaa !15
  %63 = add i32 %.075104, -4
  %.not.3 = icmp eq i32 %63, 0
  br i1 %.not.3, label %._crit_edge, label %.lr.ph, !llvm.loop !26

._crit_edge:                                      ; preds = %.lr.ph.prol.loopexit, %.lr.ph, %middle.block, %5
  %64 = load float, ptr %18, align 4, !tbaa !15
  %65 = load i16, ptr %20, align 2, !tbaa !17
  %66 = zext i16 %65 to i32
  %67 = load i32, ptr %23, align 4, !tbaa !18
  %68 = add i32 %67, %4
  %69 = sub i32 %66, %68
  %70 = icmp slt i32 %69, 0
  %71 = select i1 %70, i32 %16, i32 0
  %spec.select93 = add nsw i32 %71, %69
  store i32 %spec.select93, ptr %6, align 4, !tbaa !18
  %72 = zext i16 %17 to i32
  %73 = add nsw i32 %72, -2
  %.not89112 = icmp eq i32 %73, 0
  br i1 %.not89112, label %._crit_edge119, label %.lr.ph118

.lr.ph118:                                        ; preds = %._crit_edge
  %74 = getelementptr inbounds i8, ptr %12, i64 8
  %75 = getelementptr inbounds i8, ptr %10, i64 8
  br i1 %.not101, label %.lr.ph118.split.us, label %.lr.ph110.preheader

.lr.ph110.preheader:                              ; preds = %.lr.ph118
  %76 = add i32 %4, -1
  %77 = zext i32 %76 to i64
  %78 = shl nuw nsw i64 %77, 2
  %79 = add nuw nsw i64 %78, 4
  %scevgep = getelementptr i8, ptr %2, i64 %79
  %scevgep143 = getelementptr i8, ptr %3, i64 %79
  %80 = zext i32 %4 to i64
  %min.iters.check146 = icmp ult i32 %4, 8
  %bound0 = icmp ugt ptr %scevgep143, %2
  %bound1 = icmp ugt ptr %scevgep, %3
  %found.conflict = and i1 %bound0, %bound1
  %n.vec149 = and i64 %80, 4294967288
  %.cast150 = trunc nuw i64 %n.vec149 to i32
  %ind.end151 = sub i32 %4, %.cast150
  %81 = shl nuw nsw i64 %n.vec149, 2
  %ind.end153 = getelementptr i8, ptr %3, i64 %81
  %82 = shl nuw nsw i64 %n.vec149, 2
  %ind.end155 = getelementptr i8, ptr %2, i64 %82
  %cmp.n172 = icmp eq i64 %n.vec149, %80
  br label %.lr.ph110

.lr.ph118.split.us:                               ; preds = %.lr.ph118, %.lr.ph118.split.us
  %.076115.us = phi i32 [ %92, %.lr.ph118.split.us ], [ %73, %.lr.ph118 ]
  %.077114.us = phi ptr [ %83, %.lr.ph118.split.us ], [ %75, %.lr.ph118 ]
  %.081113.us = phi ptr [ %87, %.lr.ph118.split.us ], [ %74, %.lr.ph118 ]
  call void @arm_circularRead_f32(ptr noundef %8, i32 noundef %16, ptr noundef nonnull %6, i32 noundef 1, ptr noundef %3, ptr noundef %3, i32 noundef 0, i32 noundef 1, i32 noundef 0)
  %83 = getelementptr inbounds i8, ptr %.077114.us, i64 4
  %84 = load float, ptr %.077114.us, align 4, !tbaa !15
  %85 = load i16, ptr %20, align 2, !tbaa !17
  %86 = zext i16 %85 to i32
  %87 = getelementptr inbounds i8, ptr %.081113.us, i64 4
  %88 = load i32, ptr %.081113.us, align 4, !tbaa !18
  %89 = sub i32 %86, %88
  %90 = icmp slt i32 %89, 0
  %91 = select i1 %90, i32 %16, i32 0
  %spec.select94.us = add nsw i32 %91, %89
  store i32 %spec.select94.us, ptr %6, align 4, !tbaa !18
  %92 = add i32 %.076115.us, -1
  %.not89.us = icmp eq i32 %92, 0
  br i1 %.not89.us, label %._crit_edge119, label %.lr.ph118.split.us, !llvm.loop !27

.lr.ph110:                                        ; preds = %.lr.ph110.preheader, %._crit_edge111
  %.0116 = phi float [ %128, %._crit_edge111 ], [ %64, %.lr.ph110.preheader ]
  %.076115 = phi i32 [ %137, %._crit_edge111 ], [ %73, %.lr.ph110.preheader ]
  %.077114 = phi ptr [ %127, %._crit_edge111 ], [ %75, %.lr.ph110.preheader ]
  %.081113 = phi ptr [ %131, %._crit_edge111 ], [ %74, %.lr.ph110.preheader ]
  call void @arm_circularRead_f32(ptr noundef %8, i32 noundef %16, ptr noundef nonnull %6, i32 noundef 1, ptr noundef %3, ptr noundef %3, i32 noundef %4, i32 noundef 1, i32 noundef %4)
  %brmerge = select i1 %min.iters.check146, i1 true, i1 %found.conflict
  br i1 %brmerge, label %scalar.ph145.preheader, label %vector.ph147

vector.ph147:                                     ; preds = %.lr.ph110
  %broadcast.splatinsert169 = insertelement <4 x float> poison, float %.0116, i64 0
  %broadcast.splat170 = shufflevector <4 x float> %broadcast.splatinsert169, <4 x float> poison, <4 x i32> zeroinitializer
  br label %vector.body157

vector.body157:                                   ; preds = %vector.body157, %vector.ph147
  %index158 = phi i64 [ 0, %vector.ph147 ], [ %index.next171, %vector.body157 ]
  %offset.idx159 = shl i64 %index158, 2
  %next.gep160 = getelementptr i8, ptr %3, i64 %offset.idx159
  %offset.idx162 = shl i64 %index158, 2
  %next.gep163 = getelementptr i8, ptr %2, i64 %offset.idx162
  %93 = getelementptr i8, ptr %next.gep160, i64 16
  %wide.load165 = load <4 x float>, ptr %next.gep160, align 4, !tbaa !15, !alias.scope !28
  %wide.load166 = load <4 x float>, ptr %93, align 4, !tbaa !15, !alias.scope !28
  %94 = getelementptr i8, ptr %next.gep163, i64 16
  %wide.load167 = load <4 x float>, ptr %next.gep163, align 4, !tbaa !15, !alias.scope !31, !noalias !28
  %wide.load168 = load <4 x float>, ptr %94, align 4, !tbaa !15, !alias.scope !31, !noalias !28
  %95 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %wide.load165, <4 x float> %broadcast.splat170, <4 x float> %wide.load167)
  %96 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %wide.load166, <4 x float> %broadcast.splat170, <4 x float> %wide.load168)
  store <4 x float> %95, ptr %next.gep163, align 4, !tbaa !15, !alias.scope !31, !noalias !28
  store <4 x float> %96, ptr %94, align 4, !tbaa !15, !alias.scope !31, !noalias !28
  %index.next171 = add nuw i64 %index158, 8
  %97 = icmp eq i64 %index.next171, %n.vec149
  br i1 %97, label %middle.block144, label %vector.body157, !llvm.loop !33

middle.block144:                                  ; preds = %vector.body157
  br i1 %cmp.n172, label %._crit_edge111, label %scalar.ph145.preheader

scalar.ph145.preheader:                           ; preds = %.lr.ph110, %middle.block144
  %.1108.ph = phi i32 [ %4, %.lr.ph110 ], [ %ind.end151, %middle.block144 ]
  %.179107.ph = phi ptr [ %3, %.lr.ph110 ], [ %ind.end153, %middle.block144 ]
  %.183106.ph = phi ptr [ %2, %.lr.ph110 ], [ %ind.end155, %middle.block144 ]
  %98 = add i32 %.1108.ph, -1
  %xtraiter212 = and i32 %.1108.ph, 3
  %lcmp.mod213.not = icmp eq i32 %xtraiter212, 0
  br i1 %lcmp.mod213.not, label %scalar.ph145.prol.loopexit, label %scalar.ph145.prol

scalar.ph145.prol:                                ; preds = %scalar.ph145.preheader, %scalar.ph145.prol
  %.1108.prol = phi i32 [ %104, %scalar.ph145.prol ], [ %.1108.ph, %scalar.ph145.preheader ]
  %.179107.prol = phi ptr [ %99, %scalar.ph145.prol ], [ %.179107.ph, %scalar.ph145.preheader ]
  %.183106.prol = phi ptr [ %101, %scalar.ph145.prol ], [ %.183106.ph, %scalar.ph145.preheader ]
  %prol.iter214 = phi i32 [ %prol.iter214.next, %scalar.ph145.prol ], [ 0, %scalar.ph145.preheader ]
  %99 = getelementptr inbounds i8, ptr %.179107.prol, i64 4
  %100 = load float, ptr %.179107.prol, align 4, !tbaa !15
  %101 = getelementptr inbounds i8, ptr %.183106.prol, i64 4
  %102 = load float, ptr %.183106.prol, align 4, !tbaa !15
  %103 = call float @llvm.fmuladd.f32(float %100, float %.0116, float %102)
  store float %103, ptr %.183106.prol, align 4, !tbaa !15
  %104 = add i32 %.1108.prol, -1
  %prol.iter214.next = add i32 %prol.iter214, 1
  %prol.iter214.cmp.not = icmp eq i32 %prol.iter214.next, %xtraiter212
  br i1 %prol.iter214.cmp.not, label %scalar.ph145.prol.loopexit, label %scalar.ph145.prol, !llvm.loop !34

scalar.ph145.prol.loopexit:                       ; preds = %scalar.ph145.prol, %scalar.ph145.preheader
  %.1108.unr = phi i32 [ %.1108.ph, %scalar.ph145.preheader ], [ %104, %scalar.ph145.prol ]
  %.179107.unr = phi ptr [ %.179107.ph, %scalar.ph145.preheader ], [ %99, %scalar.ph145.prol ]
  %.183106.unr = phi ptr [ %.183106.ph, %scalar.ph145.preheader ], [ %101, %scalar.ph145.prol ]
  %105 = icmp ult i32 %98, 3
  br i1 %105, label %._crit_edge111, label %scalar.ph145

scalar.ph145:                                     ; preds = %scalar.ph145.prol.loopexit, %scalar.ph145
  %.1108 = phi i32 [ %126, %scalar.ph145 ], [ %.1108.unr, %scalar.ph145.prol.loopexit ]
  %.179107 = phi ptr [ %121, %scalar.ph145 ], [ %.179107.unr, %scalar.ph145.prol.loopexit ]
  %.183106 = phi ptr [ %123, %scalar.ph145 ], [ %.183106.unr, %scalar.ph145.prol.loopexit ]
  %106 = getelementptr inbounds i8, ptr %.179107, i64 4
  %107 = load float, ptr %.179107, align 4, !tbaa !15
  %108 = getelementptr inbounds i8, ptr %.183106, i64 4
  %109 = load float, ptr %.183106, align 4, !tbaa !15
  %110 = call float @llvm.fmuladd.f32(float %107, float %.0116, float %109)
  store float %110, ptr %.183106, align 4, !tbaa !15
  %111 = getelementptr inbounds i8, ptr %.179107, i64 8
  %112 = load float, ptr %106, align 4, !tbaa !15
  %113 = getelementptr inbounds i8, ptr %.183106, i64 8
  %114 = load float, ptr %108, align 4, !tbaa !15
  %115 = call float @llvm.fmuladd.f32(float %112, float %.0116, float %114)
  store float %115, ptr %108, align 4, !tbaa !15
  %116 = getelementptr inbounds i8, ptr %.179107, i64 12
  %117 = load float, ptr %111, align 4, !tbaa !15
  %118 = getelementptr inbounds i8, ptr %.183106, i64 12
  %119 = load float, ptr %113, align 4, !tbaa !15
  %120 = call float @llvm.fmuladd.f32(float %117, float %.0116, float %119)
  store float %120, ptr %113, align 4, !tbaa !15
  %121 = getelementptr inbounds i8, ptr %.179107, i64 16
  %122 = load float, ptr %116, align 4, !tbaa !15
  %123 = getelementptr inbounds i8, ptr %.183106, i64 16
  %124 = load float, ptr %118, align 4, !tbaa !15
  %125 = call float @llvm.fmuladd.f32(float %122, float %.0116, float %124)
  store float %125, ptr %118, align 4, !tbaa !15
  %126 = add i32 %.1108, -4
  %.not91.3 = icmp eq i32 %126, 0
  br i1 %.not91.3, label %._crit_edge111, label %scalar.ph145, !llvm.loop !35

._crit_edge111:                                   ; preds = %scalar.ph145.prol.loopexit, %scalar.ph145, %middle.block144
  %127 = getelementptr inbounds i8, ptr %.077114, i64 4
  %128 = load float, ptr %.077114, align 4, !tbaa !15
  %129 = load i16, ptr %20, align 2, !tbaa !17
  %130 = zext i16 %129 to i32
  %131 = getelementptr inbounds i8, ptr %.081113, i64 4
  %132 = load i32, ptr %.081113, align 4, !tbaa !18
  %133 = add i32 %132, %4
  %134 = sub i32 %130, %133
  %135 = icmp slt i32 %134, 0
  %136 = select i1 %135, i32 %16, i32 0
  %spec.select94 = add nsw i32 %136, %134
  store i32 %spec.select94, ptr %6, align 4, !tbaa !18
  %137 = add i32 %.076115, -1
  %.not89 = icmp eq i32 %137, 0
  br i1 %.not89, label %._crit_edge119, label %.lr.ph110, !llvm.loop !27

._crit_edge119:                                   ; preds = %._crit_edge111, %.lr.ph118.split.us, %._crit_edge
  %.0.lcssa = phi float [ %64, %._crit_edge ], [ %84, %.lr.ph118.split.us ], [ %128, %._crit_edge111 ]
  call void @arm_circularRead_f32(ptr noundef %8, i32 noundef %16, ptr noundef nonnull %6, i32 noundef 1, ptr noundef %3, ptr noundef %3, i32 noundef %4, i32 noundef 1, i32 noundef %4)
  br i1 %.not101, label %._crit_edge126, label %.lr.ph125.preheader

.lr.ph125.preheader:                              ; preds = %._crit_edge119
  %138 = zext i32 %4 to i64
  %min.iters.check181 = icmp ult i32 %4, 8
  br i1 %min.iters.check181, label %.lr.ph125.preheader208, label %vector.memcheck173

vector.memcheck173:                               ; preds = %.lr.ph125.preheader
  %139 = add i32 %4, -1
  %140 = zext i32 %139 to i64
  %141 = shl nuw nsw i64 %140, 2
  %142 = add nuw nsw i64 %141, 4
  %scevgep174 = getelementptr i8, ptr %2, i64 %142
  %scevgep175 = getelementptr i8, ptr %3, i64 %142
  %bound0176 = icmp ugt ptr %scevgep175, %2
  %bound1177 = icmp ugt ptr %scevgep174, %3
  %found.conflict178 = and i1 %bound0176, %bound1177
  br i1 %found.conflict178, label %.lr.ph125.preheader208, label %vector.ph182

vector.ph182:                                     ; preds = %vector.memcheck173
  %n.vec184 = and i64 %138, 4294967288
  %.cast185 = trunc nuw i64 %n.vec184 to i32
  %ind.end186 = sub i32 %4, %.cast185
  %143 = shl nuw nsw i64 %n.vec184, 2
  %ind.end188 = getelementptr i8, ptr %3, i64 %143
  %144 = shl nuw nsw i64 %n.vec184, 2
  %ind.end190 = getelementptr i8, ptr %2, i64 %144
  %broadcast.splatinsert204 = insertelement <4 x float> poison, float %.0.lcssa, i64 0
  %broadcast.splat205 = shufflevector <4 x float> %broadcast.splatinsert204, <4 x float> poison, <4 x i32> zeroinitializer
  br label %vector.body192

vector.body192:                                   ; preds = %vector.body192, %vector.ph182
  %index193 = phi i64 [ 0, %vector.ph182 ], [ %index.next206, %vector.body192 ]
  %offset.idx194 = shl i64 %index193, 2
  %next.gep195 = getelementptr i8, ptr %3, i64 %offset.idx194
  %offset.idx197 = shl i64 %index193, 2
  %next.gep198 = getelementptr i8, ptr %2, i64 %offset.idx197
  %145 = getelementptr i8, ptr %next.gep195, i64 16
  %wide.load200 = load <4 x float>, ptr %next.gep195, align 4, !tbaa !15, !alias.scope !36
  %wide.load201 = load <4 x float>, ptr %145, align 4, !tbaa !15, !alias.scope !36
  %146 = getelementptr i8, ptr %next.gep198, i64 16
  %wide.load202 = load <4 x float>, ptr %next.gep198, align 4, !tbaa !15, !alias.scope !39, !noalias !36
  %wide.load203 = load <4 x float>, ptr %146, align 4, !tbaa !15, !alias.scope !39, !noalias !36
  %147 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %wide.load200, <4 x float> %broadcast.splat205, <4 x float> %wide.load202)
  %148 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %wide.load201, <4 x float> %broadcast.splat205, <4 x float> %wide.load203)
  store <4 x float> %147, ptr %next.gep198, align 4, !tbaa !15, !alias.scope !39, !noalias !36
  store <4 x float> %148, ptr %146, align 4, !tbaa !15, !alias.scope !39, !noalias !36
  %index.next206 = add nuw i64 %index193, 8
  %149 = icmp eq i64 %index.next206, %n.vec184
  br i1 %149, label %middle.block179, label %vector.body192, !llvm.loop !41

middle.block179:                                  ; preds = %vector.body192
  %cmp.n207 = icmp eq i64 %n.vec184, %138
  br i1 %cmp.n207, label %._crit_edge126, label %.lr.ph125.preheader208

.lr.ph125.preheader208:                           ; preds = %middle.block179, %vector.memcheck173, %.lr.ph125.preheader
  %.2123.ph = phi i32 [ %4, %vector.memcheck173 ], [ %4, %.lr.ph125.preheader ], [ %ind.end186, %middle.block179 ]
  %.280122.ph = phi ptr [ %3, %vector.memcheck173 ], [ %3, %.lr.ph125.preheader ], [ %ind.end188, %middle.block179 ]
  %.284121.ph = phi ptr [ %2, %vector.memcheck173 ], [ %2, %.lr.ph125.preheader ], [ %ind.end190, %middle.block179 ]
  %150 = add i32 %.2123.ph, -1
  %xtraiter215 = and i32 %.2123.ph, 3
  %lcmp.mod216.not = icmp eq i32 %xtraiter215, 0
  br i1 %lcmp.mod216.not, label %.lr.ph125.prol.loopexit, label %.lr.ph125.prol

.lr.ph125.prol:                                   ; preds = %.lr.ph125.preheader208, %.lr.ph125.prol
  %.2123.prol = phi i32 [ %156, %.lr.ph125.prol ], [ %.2123.ph, %.lr.ph125.preheader208 ]
  %.280122.prol = phi ptr [ %151, %.lr.ph125.prol ], [ %.280122.ph, %.lr.ph125.preheader208 ]
  %.284121.prol = phi ptr [ %153, %.lr.ph125.prol ], [ %.284121.ph, %.lr.ph125.preheader208 ]
  %prol.iter217 = phi i32 [ %prol.iter217.next, %.lr.ph125.prol ], [ 0, %.lr.ph125.preheader208 ]
  %151 = getelementptr inbounds i8, ptr %.280122.prol, i64 4
  %152 = load float, ptr %.280122.prol, align 4, !tbaa !15
  %153 = getelementptr inbounds i8, ptr %.284121.prol, i64 4
  %154 = load float, ptr %.284121.prol, align 4, !tbaa !15
  %155 = call float @llvm.fmuladd.f32(float %152, float %.0.lcssa, float %154)
  store float %155, ptr %.284121.prol, align 4, !tbaa !15
  %156 = add i32 %.2123.prol, -1
  %prol.iter217.next = add i32 %prol.iter217, 1
  %prol.iter217.cmp.not = icmp eq i32 %prol.iter217.next, %xtraiter215
  br i1 %prol.iter217.cmp.not, label %.lr.ph125.prol.loopexit, label %.lr.ph125.prol, !llvm.loop !42

.lr.ph125.prol.loopexit:                          ; preds = %.lr.ph125.prol, %.lr.ph125.preheader208
  %.2123.unr = phi i32 [ %.2123.ph, %.lr.ph125.preheader208 ], [ %156, %.lr.ph125.prol ]
  %.280122.unr = phi ptr [ %.280122.ph, %.lr.ph125.preheader208 ], [ %151, %.lr.ph125.prol ]
  %.284121.unr = phi ptr [ %.284121.ph, %.lr.ph125.preheader208 ], [ %153, %.lr.ph125.prol ]
  %157 = icmp ult i32 %150, 3
  br i1 %157, label %._crit_edge126, label %.lr.ph125

.lr.ph125:                                        ; preds = %.lr.ph125.prol.loopexit, %.lr.ph125
  %.2123 = phi i32 [ %178, %.lr.ph125 ], [ %.2123.unr, %.lr.ph125.prol.loopexit ]
  %.280122 = phi ptr [ %173, %.lr.ph125 ], [ %.280122.unr, %.lr.ph125.prol.loopexit ]
  %.284121 = phi ptr [ %175, %.lr.ph125 ], [ %.284121.unr, %.lr.ph125.prol.loopexit ]
  %158 = getelementptr inbounds i8, ptr %.280122, i64 4
  %159 = load float, ptr %.280122, align 4, !tbaa !15
  %160 = getelementptr inbounds i8, ptr %.284121, i64 4
  %161 = load float, ptr %.284121, align 4, !tbaa !15
  %162 = call float @llvm.fmuladd.f32(float %159, float %.0.lcssa, float %161)
  store float %162, ptr %.284121, align 4, !tbaa !15
  %163 = getelementptr inbounds i8, ptr %.280122, i64 8
  %164 = load float, ptr %158, align 4, !tbaa !15
  %165 = getelementptr inbounds i8, ptr %.284121, i64 8
  %166 = load float, ptr %160, align 4, !tbaa !15
  %167 = call float @llvm.fmuladd.f32(float %164, float %.0.lcssa, float %166)
  store float %167, ptr %160, align 4, !tbaa !15
  %168 = getelementptr inbounds i8, ptr %.280122, i64 12
  %169 = load float, ptr %163, align 4, !tbaa !15
  %170 = getelementptr inbounds i8, ptr %.284121, i64 12
  %171 = load float, ptr %165, align 4, !tbaa !15
  %172 = call float @llvm.fmuladd.f32(float %169, float %.0.lcssa, float %171)
  store float %172, ptr %165, align 4, !tbaa !15
  %173 = getelementptr inbounds i8, ptr %.280122, i64 16
  %174 = load float, ptr %168, align 4, !tbaa !15
  %175 = getelementptr inbounds i8, ptr %.284121, i64 16
  %176 = load float, ptr %170, align 4, !tbaa !15
  %177 = call float @llvm.fmuladd.f32(float %174, float %.0.lcssa, float %176)
  store float %177, ptr %170, align 4, !tbaa !15
  %178 = add i32 %.2123, -4
  %.not90.3 = icmp eq i32 %178, 0
  br i1 %.not90.3, label %._crit_edge126, label %.lr.ph125, !llvm.loop !43

._crit_edge126:                                   ; preds = %.lr.ph125.prol.loopexit, %.lr.ph125, %middle.block179, %._crit_edge119
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  ret void
}

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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @arm_circularWrite_f32(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @arm_circularRead_f32(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 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 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 speculatable willreturn memory(none)
declare <4 x float> @llvm.fmuladd.v4f32(<4 x float>, <4 x float>, <4 x float>) #4

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 = { alwaysinline 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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !10, i64 8}
!6 = !{!"", !7, i64 0, !7, i64 2, !10, i64 8, !10, i64 16, !7, i64 24, !10, i64 32}
!7 = !{!"short", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 16}
!12 = !{!6, !10, i64 32}
!13 = !{!6, !7, i64 24}
!14 = !{!6, !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !8, i64 0}
!17 = !{!6, !7, i64 2}
!18 = !{!19, !19, i64 0}
!19 = !{!"int", !8, i64 0}
!20 = distinct !{!20, !21, !22, !23}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!"llvm.loop.isvectorized", i32 1}
!23 = !{!"llvm.loop.unroll.runtime.disable"}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.unroll.disable"}
!26 = distinct !{!26, !21, !22}
!27 = distinct !{!27, !21}
!28 = !{!29}
!29 = distinct !{!29, !30}
!30 = distinct !{!30, !"LVerDomain"}
!31 = !{!32}
!32 = distinct !{!32, !30}
!33 = distinct !{!33, !21, !22, !23}
!34 = distinct !{!34, !25}
!35 = distinct !{!35, !21, !22}
!36 = !{!37}
!37 = distinct !{!37, !38}
!38 = distinct !{!38, !"LVerDomain"}
!39 = !{!40}
!40 = distinct !{!40, !38}
!41 = distinct !{!41, !21, !22, !23}
!42 = distinct !{!42, !25}
!43 = distinct !{!43, !21, !22}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass