; LLVM IR from Seeed-Studio/Seeed_Arduino_edgeimpulse :: src/edge-impulse-sdk/dsp/kissfft (kiss_fftr)

; 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.kiss_fftr_state = type { ptr, ptr, ptr }
%struct.kiss_fft_cpx = type { float, float }

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [37 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local ptr @kiss_fftr_alloc(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i32, align 4
  %17 = alloca double, align 8
  store i32 %0, ptr %7, align 4, !tbaa !5
  store i32 %1, ptr %8, align 4, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !9
  store ptr %3, ptr %10, align 8, !tbaa !9
  store ptr %4, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  store ptr null, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  store i64 0, ptr %14, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %18 = load i32, ptr %7, align 4, !tbaa !5
  %19 = and i32 %18, 1
  %20 = icmp ne i32 %19, 0
  br i1 %20, label %21, label %24

21:                                               ; preds = %5
  %22 = load ptr, ptr @stderr, align 8, !tbaa !9
  %23 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %22, ptr noundef @.str) #5
  store ptr null, ptr %6, align 8
  store i32 1, ptr %16, align 4
  br label %137

24:                                               ; preds = %5
  %25 = load i32, ptr %7, align 4, !tbaa !5
  %26 = ashr i32 %25, 1
  store i32 %26, ptr %7, align 4, !tbaa !5
  %27 = load i32, ptr %7, align 4, !tbaa !5
  %28 = load i32, ptr %8, align 4, !tbaa !5
  %29 = call ptr @kiss_fft_alloc(i32 noundef %27, i32 noundef %28, ptr noundef null, ptr noundef %14, ptr noundef null)
  %30 = load i64, ptr %14, align 8, !tbaa !11
  %31 = add i64 24, %30
  %32 = load i32, ptr %7, align 4, !tbaa !5
  %33 = mul nsw i32 %32, 3
  %34 = sdiv i32 %33, 2
  %35 = sext i32 %34 to i64
  %36 = mul i64 8, %35
  %37 = add i64 %31, %36
  store i64 %37, ptr %15, align 8, !tbaa !11
  %38 = load ptr, ptr %10, align 8, !tbaa !9
  %39 = icmp eq ptr %38, null
  br i1 %39, label %40, label %43

40:                                               ; preds = %24
  %41 = load i64, ptr %15, align 8, !tbaa !11
  %42 = call noalias ptr @malloc(i64 noundef %41) #6
  store ptr %42, ptr %13, align 8, !tbaa !9
  br label %53

43:                                               ; preds = %24
  %44 = load ptr, ptr %10, align 8, !tbaa !9
  %45 = load i64, ptr %44, align 8, !tbaa !11
  %46 = load i64, ptr %15, align 8, !tbaa !11
  %47 = icmp uge i64 %45, %46
  br i1 %47, label %48, label %50

48:                                               ; preds = %43
  %49 = load ptr, ptr %9, align 8, !tbaa !9
  store ptr %49, ptr %13, align 8, !tbaa !9
  br label %50

50:                                               ; preds = %48, %43
  %51 = load i64, ptr %15, align 8, !tbaa !11
  %52 = load ptr, ptr %10, align 8, !tbaa !9
  store i64 %51, ptr %52, align 8, !tbaa !11
  br label %53

53:                                               ; preds = %50, %40
  %54 = load ptr, ptr %13, align 8, !tbaa !9
  %55 = icmp ne ptr %54, null
  br i1 %55, label %57, label %56

56:                                               ; preds = %53
  store ptr null, ptr %6, align 8
  store i32 1, ptr %16, align 4
  br label %137

57:                                               ; preds = %53
  %58 = load ptr, ptr %13, align 8, !tbaa !9
  %59 = getelementptr inbounds %struct.kiss_fftr_state, ptr %58, i64 1
  %60 = load ptr, ptr %13, align 8, !tbaa !9
  %61 = getelementptr inbounds %struct.kiss_fftr_state, ptr %60, i32 0, i32 0
  store ptr %59, ptr %61, align 8, !tbaa !13
  %62 = load ptr, ptr %13, align 8, !tbaa !9
  %63 = getelementptr inbounds %struct.kiss_fftr_state, ptr %62, i32 0, i32 0
  %64 = load ptr, ptr %63, align 8, !tbaa !13
  %65 = load i64, ptr %14, align 8, !tbaa !11
  %66 = getelementptr inbounds i8, ptr %64, i64 %65
  %67 = load ptr, ptr %13, align 8, !tbaa !9
  %68 = getelementptr inbounds %struct.kiss_fftr_state, ptr %67, i32 0, i32 1
  store ptr %66, ptr %68, align 8, !tbaa !15
  %69 = load ptr, ptr %13, align 8, !tbaa !9
  %70 = getelementptr inbounds %struct.kiss_fftr_state, ptr %69, i32 0, i32 1
  %71 = load ptr, ptr %70, align 8, !tbaa !15
  %72 = load i32, ptr %7, align 4, !tbaa !5
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds %struct.kiss_fft_cpx, ptr %71, i64 %73
  %75 = load ptr, ptr %13, align 8, !tbaa !9
  %76 = getelementptr inbounds %struct.kiss_fftr_state, ptr %75, i32 0, i32 2
  store ptr %74, ptr %76, align 8, !tbaa !16
  %77 = load i32, ptr %7, align 4, !tbaa !5
  %78 = load i32, ptr %8, align 4, !tbaa !5
  %79 = load ptr, ptr %13, align 8, !tbaa !9
  %80 = getelementptr inbounds %struct.kiss_fftr_state, ptr %79, i32 0, i32 0
  %81 = load ptr, ptr %80, align 8, !tbaa !13
  %82 = call ptr @kiss_fft_alloc(i32 noundef %77, i32 noundef %78, ptr noundef %81, ptr noundef %14, ptr noundef null)
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %83

83:                                               ; preds = %126, %57
  %84 = load i32, ptr %12, align 4, !tbaa !5
  %85 = load i32, ptr %7, align 4, !tbaa !5
  %86 = sdiv i32 %85, 2
  %87 = icmp slt i32 %84, %86
  br i1 %87, label %88, label %129

88:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %89 = load i32, ptr %12, align 4, !tbaa !5
  %90 = add nsw i32 %89, 1
  %91 = sitofp i32 %90 to double
  %92 = load i32, ptr %7, align 4, !tbaa !5
  %93 = sitofp i32 %92 to double
  %94 = fdiv double %91, %93
  %95 = fadd double %94, 5.000000e-01
  %96 = fmul double 0xC00921FB54442D18, %95
  store double %96, ptr %17, align 8, !tbaa !17
  %97 = load i32, ptr %8, align 4, !tbaa !5
  %98 = icmp ne i32 %97, 0
  br i1 %98, label %99, label %102

99:                                               ; preds = %88
  %100 = load double, ptr %17, align 8, !tbaa !17
  %101 = fmul double %100, -1.000000e+00
  store double %101, ptr %17, align 8, !tbaa !17
  br label %102

102:                                              ; preds = %99, %88
  br label %103

103:                                              ; preds = %102
  %104 = load double, ptr %17, align 8, !tbaa !17
  %105 = call double @cos(double noundef %104) #5
  %106 = fptrunc double %105 to float
  %107 = load ptr, ptr %13, align 8, !tbaa !9
  %108 = getelementptr inbounds %struct.kiss_fftr_state, ptr %107, i32 0, i32 2
  %109 = load ptr, ptr %108, align 8, !tbaa !16
  %110 = load i32, ptr %12, align 4, !tbaa !5
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds %struct.kiss_fft_cpx, ptr %109, i64 %111
  %113 = getelementptr inbounds %struct.kiss_fft_cpx, ptr %112, i32 0, i32 0
  store float %106, ptr %113, align 4, !tbaa !19
  %114 = load double, ptr %17, align 8, !tbaa !17
  %115 = call double @sin(double noundef %114) #5
  %116 = fptrunc double %115 to float
  %117 = load ptr, ptr %13, align 8, !tbaa !9
  %118 = getelementptr inbounds %struct.kiss_fftr_state, ptr %117, i32 0, i32 2
  %119 = load ptr, ptr %118, align 8, !tbaa !16
  %120 = load i32, ptr %12, align 4, !tbaa !5
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds %struct.kiss_fft_cpx, ptr %119, i64 %121
  %123 = getelementptr inbounds %struct.kiss_fft_cpx, ptr %122, i32 0, i32 1
  store float %116, ptr %123, align 4, !tbaa !22
  br label %124

124:                                              ; preds = %103
  br label %125

125:                                              ; preds = %124
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  br label %126

126:                                              ; preds = %125
  %127 = load i32, ptr %12, align 4, !tbaa !5
  %128 = add nsw i32 %127, 1
  store i32 %128, ptr %12, align 4, !tbaa !5
  br label %83, !llvm.loop !23

129:                                              ; preds = %83
  %130 = load ptr, ptr %11, align 8, !tbaa !9
  %131 = icmp ne ptr %130, null
  br i1 %131, label %132, label %135

132:                                              ; preds = %129
  %133 = load i64, ptr %15, align 8, !tbaa !11
  %134 = load ptr, ptr %11, align 8, !tbaa !9
  store i64 %133, ptr %134, align 8, !tbaa !11
  br label %135

135:                                              ; preds = %132, %129
  %136 = load ptr, ptr %13, align 8, !tbaa !9
  store ptr %136, ptr %6, align 8
  store i32 1, ptr %16, align 4
  br label %137

137:                                              ; preds = %135, %56, %21
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  %138 = load ptr, ptr %6, align 8
  ret ptr %138
}

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

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2

declare ptr @kiss_fft_alloc(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #4

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

; Function Attrs: nounwind
declare double @sin(double noundef) #2

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

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 = { nounwind allocsize(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 #5 = { nounwind }
attributes #6 = { nounwind allocsize(0) }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"_ZTS15kiss_fftr_state", !10, i64 0, !10, i64 8, !10, i64 16}
!15 = !{!14, !10, i64 8}
!16 = !{!14, !10, i64 16}
!17 = !{!18, !18, i64 0}
!18 = !{!"double", !7, i64 0}
!19 = !{!20, !21, i64 0}
!20 = !{!"_ZTS12kiss_fft_cpx", !21, i64 0, !21, i64 4}
!21 = !{!"float", !7, i64 0}
!22 = !{!20, !21, i64 4}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}


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

%struct.kiss_fft_cpx = type { float, float }

@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [37 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @kiss_fftr_alloc(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef writeonly %4) local_unnamed_addr #0 {
  %6 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  store i64 0, ptr %6, align 8, !tbaa !5
  %7 = and i32 %0, 1
  %.not = icmp eq i32 %7, 0
  br i1 %.not, label %11, label %8

8:                                                ; preds = %5
  %9 = load ptr, ptr @stderr, align 8, !tbaa !9
  %10 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str) #7
  br label %.thread

11:                                               ; preds = %5
  %12 = ashr exact i32 %0, 1
  %13 = call ptr @kiss_fft_alloc(i32 noundef %12, i32 noundef %1, ptr noundef null, ptr noundef nonnull %6, ptr noundef null)
  %14 = load i64, ptr %6, align 8, !tbaa !5
  %15 = mul nsw i32 %12, 3
  %16 = sdiv i32 %15, 2
  %17 = sext i32 %16 to i64
  %18 = shl nsw i64 %17, 3
  %19 = add nsw i64 %18, 24
  %20 = add i64 %19, %14
  %21 = icmp eq ptr %3, null
  br i1 %21, label %22, label %24

22:                                               ; preds = %11
  %23 = call noalias ptr @malloc(i64 noundef %20) #8
  br label %26

24:                                               ; preds = %11
  %25 = load i64, ptr %3, align 8, !tbaa !5
  %.not45 = icmp ult i64 %25, %20
  store i64 %20, ptr %3, align 8, !tbaa !5
  br i1 %.not45, label %.thread, label %26

26:                                               ; preds = %24, %22
  %.1 = phi ptr [ %23, %22 ], [ %2, %24 ]
  %.not46 = icmp eq ptr %.1, null
  br i1 %.not46, label %.thread, label %27

27:                                               ; preds = %26
  %28 = getelementptr inbounds i8, ptr %.1, i64 24
  store ptr %28, ptr %.1, align 8, !tbaa !11
  %29 = getelementptr inbounds i8, ptr %28, i64 %14
  %30 = getelementptr inbounds i8, ptr %.1, i64 8
  store ptr %29, ptr %30, align 8, !tbaa !13
  %31 = sext i32 %12 to i64
  %32 = getelementptr inbounds %struct.kiss_fft_cpx, ptr %29, i64 %31
  %33 = getelementptr inbounds i8, ptr %.1, i64 16
  store ptr %32, ptr %33, align 8, !tbaa !14
  %34 = call ptr @kiss_fft_alloc(i32 noundef %12, i32 noundef %1, ptr noundef nonnull %28, ptr noundef nonnull %6, ptr noundef null)
  %35 = icmp sgt i32 %12, 1
  br i1 %35, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %27
  %36 = lshr i32 %12, 1
  %37 = uitofp nneg i32 %12 to double
  %.not48 = icmp eq i32 %1, 0
  %wide.trip.count57 = zext nneg i32 %36 to i64
  br i1 %.not48, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph, %.lr.ph.split.us
  %indvars.iv54 = phi i64 [ %indvars.iv.next55, %.lr.ph.split.us ], [ 0, %.lr.ph ]
  %indvars.iv.next55 = add nuw nsw i64 %indvars.iv54, 1
  %38 = trunc nuw nsw i64 %indvars.iv.next55 to i32
  %39 = uitofp nneg i32 %38 to double
  %40 = fdiv double %39, %37
  %41 = fadd double %40, 5.000000e-01
  %42 = fmul double %41, 0xC00921FB54442D18
  %43 = call double @cos(double noundef %42) #6
  %44 = fptrunc double %43 to float
  %45 = load ptr, ptr %33, align 8, !tbaa !14
  %46 = getelementptr inbounds %struct.kiss_fft_cpx, ptr %45, i64 %indvars.iv54
  store float %44, ptr %46, align 4, !tbaa !15
  %47 = call double @sin(double noundef %42) #6
  %48 = fptrunc double %47 to float
  %49 = load ptr, ptr %33, align 8, !tbaa !14
  %50 = getelementptr inbounds %struct.kiss_fft_cpx, ptr %49, i64 %indvars.iv54, i32 1
  store float %48, ptr %50, align 4, !tbaa !18
  %exitcond58.not = icmp eq i64 %indvars.iv.next55, %wide.trip.count57
  br i1 %exitcond58.not, label %._crit_edge, label %.lr.ph.split.us, !llvm.loop !19

.lr.ph.split:                                     ; preds = %.lr.ph, %.lr.ph.split
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph.split ], [ 0, %.lr.ph ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %51 = trunc nuw nsw i64 %indvars.iv.next to i32
  %52 = uitofp nneg i32 %51 to double
  %53 = fdiv double %52, %37
  %54 = fadd double %53, 5.000000e-01
  %55 = fmul double %54, 0x400921FB54442D18
  %56 = call double @cos(double noundef %55) #6
  %57 = fptrunc double %56 to float
  %58 = load ptr, ptr %33, align 8, !tbaa !14
  %59 = getelementptr inbounds %struct.kiss_fft_cpx, ptr %58, i64 %indvars.iv
  store float %57, ptr %59, align 4, !tbaa !15
  %60 = call double @sin(double noundef %55) #6
  %61 = fptrunc double %60 to float
  %62 = load ptr, ptr %33, align 8, !tbaa !14
  %63 = getelementptr inbounds %struct.kiss_fft_cpx, ptr %62, i64 %indvars.iv, i32 1
  store float %61, ptr %63, align 4, !tbaa !18
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count57
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph.split, !llvm.loop !19

._crit_edge:                                      ; preds = %.lr.ph.split, %.lr.ph.split.us, %27
  %.not47 = icmp eq ptr %4, null
  br i1 %.not47, label %.thread, label %64

64:                                               ; preds = %._crit_edge
  store i64 %20, ptr %4, align 8, !tbaa !5
  br label %.thread

.thread:                                          ; preds = %24, %._crit_edge, %64, %26, %8
  %.040 = phi ptr [ null, %8 ], [ null, %26 ], [ %.1, %64 ], [ %.1, %._crit_edge ], [ null, %24 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  ret ptr %.040
}

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

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #2

declare ptr @kiss_fft_alloc(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #4

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

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

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

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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nofree nounwind willreturn memory(write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { cold nounwind }
attributes #8 = { nounwind allocsize(0) }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTS15kiss_fftr_state", !10, i64 0, !10, i64 8, !10, i64 16}
!13 = !{!12, !10, i64 8}
!14 = !{!12, !10, i64 16}
!15 = !{!16, !17, i64 0}
!16 = !{!"_ZTS12kiss_fft_cpx", !17, i64 0, !17, i64 4}
!17 = !{!"float", !7, i64 0}
!18 = !{!16, !17, i64 4}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass