; LLVM IR from NVIDIA/tensorflow :: tensorflow/lite/experimental/micro/examples/micro_speech/simple_features/simpl_da62a210 (Z22GenerateSimpleFeaturesPN6tflite13ErrorReporterEPKsiiPh)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str = external hidden unnamed_addr constant [29 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [42 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z22GenerateSimpleFeaturesPN6tflite13ErrorReporterEPKsiiPh(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca [512 x float], align 16
  %13 = alloca [512 x float], align 16
  %14 = alloca i32, align 4
  %15 = alloca [512 x float], align 16
  %16 = alloca [256 x float], align 16
  %17 = alloca i32, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca float, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca float, align 4
  %26 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store i32 %2, ptr %9, align 4, !tbaa !9
  store i32 %3, ptr %10, align 4, !tbaa !9
  store ptr %4, ptr %11, align 8, !tbaa !5
  %27 = load i32, ptr %9, align 4, !tbaa !9
  %28 = icmp sgt i32 %27, 512
  br i1 %28, label %29, label %33

29:                                               ; preds = %5
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = load i32, ptr %9, align 4, !tbaa !9
  %32 = call noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef @.str, i32 noundef %31, i32 noundef 512)
  store i32 1, ptr %6, align 4
  br label %161

33:                                               ; preds = %5
  %34 = load i32, ptr %10, align 4, !tbaa !9
  %35 = icmp ne i32 %34, 43
  br i1 %35, label %36, label %40

36:                                               ; preds = %33
  %37 = load ptr, ptr %7, align 8, !tbaa !5
  %38 = load i32, ptr %10, align 4, !tbaa !9
  %39 = call noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef @.str.1, i32 noundef %38, i32 noundef 43)
  store i32 1, ptr %6, align 4
  br label %161

40:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 2048, ptr %12) #4
  %41 = load i32, ptr %9, align 4, !tbaa !9
  %42 = getelementptr inbounds [512 x float], ptr %12, i64 0, i64 0
  call void @_ZN12_GLOBAL__N_121CalculatePeriodicHannEiPf(i32 noundef %41, ptr noundef %42)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %43

43:                                               ; preds = %73, %40
  %44 = load i32, ptr %14, align 4, !tbaa !9
  %45 = icmp slt i32 %44, 512
  br i1 %45, label %47, label %46

46:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %76

47:                                               ; preds = %43
  %48 = load i32, ptr %14, align 4, !tbaa !9
  %49 = load i32, ptr %9, align 4, !tbaa !9
  %50 = icmp slt i32 %48, %49
  br i1 %50, label %51, label %68

51:                                               ; preds = %47
  %52 = load ptr, ptr %8, align 8, !tbaa !5
  %53 = load i32, ptr %14, align 4, !tbaa !9
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds i16, ptr %52, i64 %54
  %56 = load i16, ptr %55, align 2, !tbaa !11
  %57 = sext i16 %56 to i32
  %58 = sitofp i32 %57 to float
  %59 = load i32, ptr %14, align 4, !tbaa !9
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [512 x float], ptr %12, i64 0, i64 %60
  %62 = load float, ptr %61, align 4, !tbaa !13
  %63 = fmul float %58, %62
  %64 = fdiv float %63, 3.276800e+04
  %65 = load i32, ptr %14, align 4, !tbaa !9
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [512 x float], ptr %13, i64 0, i64 %66
  store float %64, ptr %67, align 4, !tbaa !13
  br label %72

68:                                               ; preds = %47
  %69 = load i32, ptr %14, align 4, !tbaa !9
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [512 x float], ptr %13, i64 0, i64 %70
  store float 0.000000e+00, ptr %71, align 4, !tbaa !13
  br label %72

72:                                               ; preds = %68, %51
  br label %73

73:                                               ; preds = %72
  %74 = load i32, ptr %14, align 4, !tbaa !9
  %75 = add nsw i32 %74, 1
  store i32 %75, ptr %14, align 4, !tbaa !9
  br label %43, !llvm.loop !15

76:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 2048, ptr %15) #4
  %77 = getelementptr inbounds [512 x float], ptr %13, i64 0, i64 0
  %78 = getelementptr inbounds [512 x float], ptr %15, i64 0, i64 0
  call void @_ZN12_GLOBAL__N_133CalculateDiscreteFourierTransformEPfiS0_(ptr noundef %77, i32 noundef 512, ptr noundef %78)
  call void @llvm.lifetime.start.p0(i64 1024, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %79

79:                                               ; preds = %105, %76
  %80 = load i32, ptr %17, align 4, !tbaa !9
  %81 = icmp slt i32 %80, 256
  br i1 %81, label %83, label %82

82:                                               ; preds = %79
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  br label %108

83:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  %84 = load i32, ptr %17, align 4, !tbaa !9
  %85 = mul nsw i32 %84, 2
  %86 = add nsw i32 %85, 0
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [512 x float], ptr %15, i64 0, i64 %87
  %89 = load float, ptr %88, align 4, !tbaa !13
  store float %89, ptr %18, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  %90 = load i32, ptr %17, align 4, !tbaa !9
  %91 = mul nsw i32 %90, 2
  %92 = add nsw i32 %91, 1
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [512 x float], ptr %15, i64 0, i64 %93
  %95 = load float, ptr %94, align 4, !tbaa !13
  store float %95, ptr %19, align 4, !tbaa !13
  %96 = load float, ptr %18, align 4, !tbaa !13
  %97 = load float, ptr %18, align 4, !tbaa !13
  %98 = load float, ptr %19, align 4, !tbaa !13
  %99 = load float, ptr %19, align 4, !tbaa !13
  %100 = fmul float %98, %99
  %101 = call float @llvm.fmuladd.f32(float %96, float %97, float %100)
  %102 = load i32, ptr %17, align 4, !tbaa !9
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds [256 x float], ptr %16, i64 0, i64 %103
  store float %101, ptr %104, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  br label %105

105:                                              ; preds = %83
  %106 = load i32, ptr %17, align 4, !tbaa !9
  %107 = add nsw i32 %106, 1
  store i32 %107, ptr %17, align 4, !tbaa !9
  br label %79, !llvm.loop !17

108:                                              ; preds = %82
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %109

109:                                              ; preds = %157, %108
  %110 = load i32, ptr %20, align 4, !tbaa !9
  %111 = icmp slt i32 %110, 43
  br i1 %111, label %113, label %112

112:                                              ; preds = %109
  store i32 8, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  br label %160

113:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  store float 0.000000e+00, ptr %22, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %114

114:                                              ; preds = %133, %113
  %115 = load i32, ptr %23, align 4, !tbaa !9
  %116 = icmp slt i32 %115, 6
  br i1 %116, label %118, label %117

117:                                              ; preds = %114
  store i32 11, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  br label %136

118:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  %119 = load i32, ptr %20, align 4, !tbaa !9
  %120 = mul nsw i32 %119, 6
  %121 = load i32, ptr %23, align 4, !tbaa !9
  %122 = add nsw i32 %120, %121
  store i32 %122, ptr %24, align 4, !tbaa !9
  %123 = load i32, ptr %24, align 4, !tbaa !9
  %124 = icmp slt i32 %123, 256
  br i1 %124, label %125, label %132

125:                                              ; preds = %118
  %126 = load i32, ptr %24, align 4, !tbaa !9
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds [256 x float], ptr %16, i64 0, i64 %127
  %129 = load float, ptr %128, align 4, !tbaa !13
  %130 = load float, ptr %22, align 4, !tbaa !13
  %131 = fadd float %130, %129
  store float %131, ptr %22, align 4, !tbaa !13
  br label %132

132:                                              ; preds = %125, %118
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  br label %133

133:                                              ; preds = %132
  %134 = load i32, ptr %23, align 4, !tbaa !9
  %135 = add nsw i32 %134, 1
  store i32 %135, ptr %23, align 4, !tbaa !9
  br label %114, !llvm.loop !18

136:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #4
  %137 = load float, ptr %22, align 4, !tbaa !13
  %138 = fdiv float %137, 6.000000e+00
  store float %138, ptr %25, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #4
  %139 = load float, ptr %25, align 4, !tbaa !13
  %140 = fmul float %139, 2.000000e+00
  %141 = call float @llvm.round.f32(float %140)
  %142 = fptosi float %141 to i32
  store i32 %142, ptr %26, align 4, !tbaa !9
  %143 = load i32, ptr %26, align 4, !tbaa !9
  %144 = icmp slt i32 %143, 0
  br i1 %144, label %145, label %146

145:                                              ; preds = %136
  store i32 0, ptr %26, align 4, !tbaa !9
  br label %146

146:                                              ; preds = %145, %136
  %147 = load i32, ptr %26, align 4, !tbaa !9
  %148 = icmp sgt i32 %147, 255
  br i1 %148, label %149, label %150

149:                                              ; preds = %146
  store i32 255, ptr %26, align 4, !tbaa !9
  br label %150

150:                                              ; preds = %149, %146
  %151 = load i32, ptr %26, align 4, !tbaa !9
  %152 = trunc i32 %151 to i8
  %153 = load ptr, ptr %11, align 8, !tbaa !5
  %154 = load i32, ptr %20, align 4, !tbaa !9
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds i8, ptr %153, i64 %155
  store i8 %152, ptr %156, align 1, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  br label %157

157:                                              ; preds = %150
  %158 = load i32, ptr %20, align 4, !tbaa !9
  %159 = add nsw i32 %158, 1
  store i32 %159, ptr %20, align 4, !tbaa !9
  br label %109, !llvm.loop !20

160:                                              ; preds = %112
  store i32 0, ptr %6, align 4
  store i32 1, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 1024, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 2048, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 2048, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 2048, ptr %12) #4
  br label %161

161:                                              ; preds = %160, %36, %29
  %162 = load i32, ptr %6, align 4
  ret i32 %162
}

declare noundef i32 @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ...) #1

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_121CalculatePeriodicHannEiPf(i32 noundef, ptr noundef) #0

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_133CalculateDiscreteFourierTransformEPfiS0_(ptr noundef, i32 noundef, ptr noundef) #0

; 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 speculatable willreturn memory(none)
declare float @llvm.round.f32(float) #3

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str = external hidden unnamed_addr constant [29 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [42 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 2) i32 @_Z22GenerateSimpleFeaturesPN6tflite13ErrorReporterEPKsiiPh(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #0 {
  %6 = alloca [512 x float], align 16
  %7 = alloca [512 x float], align 16
  %8 = alloca [512 x float], align 16
  %9 = alloca [256 x float], align 16
  %10 = icmp sgt i32 %2, 512
  br i1 %10, label %11, label %13

11:                                               ; preds = %5
  %12 = tail call noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str, i32 noundef %2, i32 noundef 512)
  br label %89

13:                                               ; preds = %5
  %.not = icmp eq i32 %3, 43
  br i1 %.not, label %16, label %14

14:                                               ; preds = %13
  %15 = tail call noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.1, i32 noundef %3, i32 noundef 43)
  br label %89

16:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %6) #5
  call void @_ZN12_GLOBAL__N_121CalculatePeriodicHannEiPf(i32 noundef %2, ptr noundef nonnull %6)
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %7) #5
  %17 = sext i32 %2 to i64
  br label %32

vector.ph:                                        ; preds = %53
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %8) #5
  call void @_ZN12_GLOBAL__N_133CalculateDiscreteFourierTransformEPfiS0_(ptr noundef nonnull %7, i32 noundef 512, ptr noundef nonnull %8)
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %9) #5
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %18 = shl nuw nsw i64 %index, 1
  %19 = shl i64 %index, 1
  %20 = or disjoint i64 %19, 8
  %21 = getelementptr inbounds [512 x float], ptr %8, i64 0, i64 %18
  %22 = getelementptr inbounds [512 x float], ptr %8, i64 0, i64 %20
  %wide.vec = load <8 x float>, ptr %21, align 16, !tbaa !5
  %wide.vec74 = load <8 x float>, ptr %22, align 16, !tbaa !5
  %strided.vec = shufflevector <8 x float> %wide.vec, <8 x float> poison, <4 x i32> <i32 0, i32 2, i32 4, i32 6>
  %strided.vec75 = shufflevector <8 x float> %wide.vec74, <8 x float> poison, <4 x i32> <i32 0, i32 2, i32 4, i32 6>
  %23 = fmul <8 x float> %wide.vec, %wide.vec
  %24 = shufflevector <8 x float> %23, <8 x float> poison, <4 x i32> <i32 1, i32 3, i32 5, i32 7>
  %25 = fmul <8 x float> %wide.vec74, %wide.vec74
  %26 = shufflevector <8 x float> %25, <8 x float> poison, <4 x i32> <i32 1, i32 3, i32 5, i32 7>
  %27 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %strided.vec, <4 x float> %strided.vec, <4 x float> %24)
  %28 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %strided.vec75, <4 x float> %strided.vec75, <4 x float> %26)
  %29 = getelementptr inbounds [256 x float], ptr %9, i64 0, i64 %index
  %30 = getelementptr inbounds i8, ptr %29, i64 16
  store <4 x float> %27, ptr %29, align 16, !tbaa !5
  store <4 x float> %28, ptr %30, align 16, !tbaa !5
  %index.next = add nuw i64 %index, 8
  %31 = icmp eq i64 %index.next, 256
  br i1 %31, label %.preheader.preheader, label %vector.body, !llvm.loop !9

32:                                               ; preds = %53, %16
  %indvars.iv = phi i64 [ 0, %16 ], [ %indvars.iv.next.1, %53 ]
  %33 = icmp slt i64 %indvars.iv, %17
  br i1 %33, label %34, label %42

34:                                               ; preds = %32
  %35 = getelementptr inbounds i16, ptr %1, i64 %indvars.iv
  %36 = load i16, ptr %35, align 2, !tbaa !13
  %37 = sitofp i16 %36 to float
  %38 = getelementptr inbounds [512 x float], ptr %6, i64 0, i64 %indvars.iv
  %39 = load float, ptr %38, align 8, !tbaa !5
  %40 = fmul float %39, %37
  %41 = fmul float %40, 0x3F00000000000000
  br label %42

42:                                               ; preds = %32, %34
  %.sink = phi float [ %41, %34 ], [ 0.000000e+00, %32 ]
  %43 = getelementptr inbounds [512 x float], ptr %7, i64 0, i64 %indvars.iv
  store float %.sink, ptr %43, align 8
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %44 = icmp slt i64 %indvars.iv.next, %17
  br i1 %44, label %45, label %53

45:                                               ; preds = %42
  %46 = getelementptr inbounds i16, ptr %1, i64 %indvars.iv.next
  %47 = load i16, ptr %46, align 2, !tbaa !13
  %48 = sitofp i16 %47 to float
  %49 = getelementptr inbounds [512 x float], ptr %6, i64 0, i64 %indvars.iv.next
  %50 = load float, ptr %49, align 4, !tbaa !5
  %51 = fmul float %50, %48
  %52 = fmul float %51, 0x3F00000000000000
  br label %53

53:                                               ; preds = %45, %42
  %.sink.1 = phi float [ %52, %45 ], [ 0.000000e+00, %42 ]
  %54 = getelementptr inbounds [512 x float], ptr %7, i64 0, i64 %indvars.iv.next
  store float %.sink.1, ptr %54, align 4
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next.1, 512
  br i1 %exitcond.not.1, label %vector.ph, label %32, !llvm.loop !15

55:                                               ; preds = %82
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %6) #5
  br label %89

.preheader.preheader:                             ; preds = %vector.body, %82
  %indvars.iv66 = phi i64 [ %indvars.iv.next67, %82 ], [ 0, %vector.body ]
  %56 = mul nuw nsw i64 %indvars.iv66, 6
  %57 = getelementptr inbounds [256 x float], ptr %9, i64 0, i64 %56
  %58 = load float, ptr %57, align 8, !tbaa !5
  %59 = fadd float %58, 0.000000e+00
  %60 = or disjoint i64 %56, 1
  %61 = getelementptr inbounds [256 x float], ptr %9, i64 0, i64 %60
  %62 = load float, ptr %61, align 4, !tbaa !5
  %63 = fadd float %59, %62
  %64 = add nuw nsw i64 %56, 2
  %65 = getelementptr inbounds [256 x float], ptr %9, i64 0, i64 %64
  %66 = load float, ptr %65, align 8, !tbaa !5
  %67 = fadd float %63, %66
  %68 = add nuw nsw i64 %56, 3
  %69 = getelementptr inbounds [256 x float], ptr %9, i64 0, i64 %68
  %70 = load float, ptr %69, align 4, !tbaa !5
  %71 = fadd float %67, %70
  %72 = icmp ult i64 %indvars.iv66, 42
  br i1 %72, label %73, label %82

73:                                               ; preds = %.preheader.preheader
  %74 = add nuw nsw i64 %56, 4
  %75 = getelementptr inbounds [256 x float], ptr %9, i64 0, i64 %74
  %76 = load float, ptr %75, align 8, !tbaa !5
  %77 = fadd float %71, %76
  %78 = add nuw nsw i64 %56, 5
  %79 = getelementptr inbounds [256 x float], ptr %9, i64 0, i64 %78
  %80 = load float, ptr %79, align 4, !tbaa !5
  %81 = fadd float %77, %80
  br label %82

82:                                               ; preds = %.preheader.preheader, %73
  %.1.5 = phi float [ %81, %73 ], [ %71, %.preheader.preheader ]
  %83 = fdiv float %.1.5, 6.000000e+00
  %84 = fmul float %83, 2.000000e+00
  %85 = call float @llvm.round.f32(float %84)
  %86 = fptosi float %85 to i32
  %spec.store.select1 = call i32 @llvm.smax.i32(i32 %86, i32 0)
  %spec.store.select = call i32 @llvm.umin.i32(i32 %spec.store.select1, i32 255)
  %87 = trunc nuw i32 %spec.store.select to i8
  %88 = getelementptr inbounds i8, ptr %4, i64 %indvars.iv66
  store i8 %87, ptr %88, align 1, !tbaa !16
  %indvars.iv.next67 = add nuw nsw i64 %indvars.iv66, 1
  %exitcond69.not = icmp eq i64 %indvars.iv.next67, 43
  br i1 %exitcond69.not, label %55, label %.preheader.preheader, !llvm.loop !17

89:                                               ; preds = %55, %14, %11
  %.0 = phi i32 [ 1, %11 ], [ 1, %14 ], [ 0, %55 ]
  ret i32 %.0
}

declare noundef i32 @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ...) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_121CalculatePeriodicHannEiPf(i32 noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_133CalculateDiscreteFourierTransformEPfiS0_(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

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

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

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

; 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 = { mustprogress 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10, !11, !12}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.isvectorized", i32 1}
!12 = !{!"llvm.loop.unroll.runtime.disable"}
!13 = !{!14, !14, i64 0}
!14 = !{!"short", !7, i64 0}
!15 = distinct !{!15, !10}
!16 = !{!7, !7, i64 0}
!17 = distinct !{!17, !10}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,MergedLoadStoreMotionPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass