; LLVM IR from jgaeddert/liquid-dsp :: src/modem/tests (freqmodem_autotest)

; 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 [91 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @freqmodem_test(float noundef %0) #0 {
  %2 = alloca float, align 4
  %3 = alloca i32, align 4
  %4 = alloca float, align 4
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  store float %0, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  store i32 1024, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store float 0x3FA99999A0000000, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %12 = load float, ptr %2, align 4, !tbaa !5
  %13 = call ptr @freqmod_create(float noundef %12)
  store ptr %13, ptr %6, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %14 = load float, ptr %2, align 4, !tbaa !5
  %15 = call ptr @freqdem_create(float noundef %14)
  store ptr %15, ptr %7, align 8, !tbaa !11
  %16 = load i32, ptr %3, align 4, !tbaa !9
  %17 = zext i32 %16 to i64
  %18 = call ptr @llvm.stacksave.p0()
  store ptr %18, ptr %8, align 8
  %19 = alloca float, i64 %17, align 16
  store i64 %17, ptr %9, align 8
  %20 = load i32, ptr %3, align 4, !tbaa !9
  %21 = zext i32 %20 to i64
  %22 = alloca { float, float }, i64 %21, align 16
  store i64 %21, ptr %10, align 8
  %23 = load i32, ptr %3, align 4, !tbaa !9
  %24 = zext i32 %23 to i64
  %25 = alloca float, i64 %24, align 16
  store i64 %24, ptr %11, align 8
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %26

26:                                               ; preds = %52, %1
  %27 = load i32, ptr %5, align 4, !tbaa !9
  %28 = load i32, ptr %3, align 4, !tbaa !9
  %29 = icmp ult i32 %27, %28
  br i1 %29, label %30, label %55

30:                                               ; preds = %26
  %31 = load i32, ptr %5, align 4, !tbaa !9
  %32 = uitofp i32 %31 to double
  %33 = call double @llvm.fmuladd.f64(double 0x3FB4E912AB8E4909, double %32, double 0.000000e+00)
  %34 = fptrunc double %33 to float
  %35 = call float @cosf(float noundef %34) #6
  %36 = load i32, ptr %5, align 4, !tbaa !9
  %37 = uitofp i32 %36 to double
  %38 = call double @llvm.fmuladd.f64(double 0x3FC0E3A2BBF98B8F, double %37, double 0x3FD99999A0000000)
  %39 = fptrunc double %38 to float
  %40 = call float @cosf(float noundef %39) #6
  %41 = fmul float 0x3FC99999A0000000, %40
  %42 = call float @llvm.fmuladd.f32(float 0x3FD3333340000000, float %35, float %41)
  %43 = load i32, ptr %5, align 4, !tbaa !9
  %44 = uitofp i32 %43 to double
  %45 = call double @llvm.fmuladd.f64(double 0x3FCDC1D5A18054F7, double %44, double 0x3FFB333340000000)
  %46 = fptrunc double %45 to float
  %47 = call float @cosf(float noundef %46) #6
  %48 = call float @llvm.fmuladd.f32(float 0x3FD99999A0000000, float %47, float %42)
  %49 = load i32, ptr %5, align 4, !tbaa !9
  %50 = zext i32 %49 to i64
  %51 = getelementptr inbounds float, ptr %19, i64 %50
  store float %48, ptr %51, align 4, !tbaa !5
  br label %52

52:                                               ; preds = %30
  %53 = load i32, ptr %5, align 4, !tbaa !9
  %54 = add i32 %53, 1
  store i32 %54, ptr %5, align 4, !tbaa !9
  br label %26, !llvm.loop !13

55:                                               ; preds = %26
  %56 = load ptr, ptr %6, align 8, !tbaa !11
  %57 = load i32, ptr %3, align 4, !tbaa !9
  %58 = call i32 @freqmod_modulate_block(ptr noundef %56, ptr noundef %19, i32 noundef %57, ptr noundef %22)
  %59 = load ptr, ptr %7, align 8, !tbaa !11
  %60 = load i32, ptr %3, align 4, !tbaa !9
  %61 = call i32 @freqdem_demodulate_block(ptr noundef %59, ptr noundef %22, i32 noundef %60, ptr noundef %25)
  %62 = load ptr, ptr %6, align 8, !tbaa !11
  %63 = call i32 @freqmod_destroy(ptr noundef %62)
  %64 = load ptr, ptr %7, align 8, !tbaa !11
  %65 = call i32 @freqdem_destroy(ptr noundef %64)
  store i32 1, ptr %5, align 4, !tbaa !9
  br label %66

66:                                               ; preds = %187, %55
  %67 = load i32, ptr %5, align 4, !tbaa !9
  %68 = load i32, ptr %3, align 4, !tbaa !9
  %69 = icmp ult i32 %67, %68
  br i1 %69, label %70, label %190

70:                                               ; preds = %66
  %71 = load i32, ptr %5, align 4, !tbaa !9
  %72 = zext i32 %71 to i64
  %73 = getelementptr inbounds float, ptr %25, i64 %72
  %74 = load float, ptr %73, align 4, !tbaa !5
  %75 = load i32, ptr %5, align 4, !tbaa !9
  %76 = zext i32 %75 to i64
  %77 = getelementptr inbounds float, ptr %19, i64 %76
  %78 = load float, ptr %77, align 4, !tbaa !5
  %79 = fsub float %74, %78
  %80 = fpext float %79 to double
  %81 = load i32, ptr %5, align 4, !tbaa !9
  %82 = zext i32 %81 to i64
  %83 = getelementptr inbounds float, ptr %25, i64 %82
  %84 = load float, ptr %83, align 4, !tbaa !5
  %85 = load i32, ptr %5, align 4, !tbaa !9
  %86 = zext i32 %85 to i64
  %87 = getelementptr inbounds float, ptr %19, i64 %86
  %88 = load float, ptr %87, align 4, !tbaa !5
  %89 = fsub float %84, %88
  %90 = fpext float %89 to double
  %91 = load i32, ptr %5, align 4, !tbaa !9
  %92 = zext i32 %91 to i64
  %93 = getelementptr inbounds float, ptr %25, i64 %92
  %94 = load float, ptr %93, align 4, !tbaa !5
  %95 = load i32, ptr %5, align 4, !tbaa !9
  %96 = zext i32 %95 to i64
  %97 = getelementptr inbounds float, ptr %19, i64 %96
  %98 = load float, ptr %97, align 4, !tbaa !5
  %99 = fsub float %94, %98
  %100 = fpext float %99 to double
  %101 = load i32, ptr %5, align 4, !tbaa !9
  %102 = zext i32 %101 to i64
  %103 = getelementptr inbounds float, ptr %25, i64 %102
  %104 = load float, ptr %103, align 4, !tbaa !5
  %105 = load i32, ptr %5, align 4, !tbaa !9
  %106 = zext i32 %105 to i64
  %107 = getelementptr inbounds float, ptr %19, i64 %106
  %108 = load float, ptr %107, align 4, !tbaa !5
  %109 = fsub float %104, %108
  %110 = fpext float %109 to double
  %111 = call double @llvm.fmuladd.f64(double %80, double %90, double 0.000000e+00)
  %112 = call double @sqrt(double noundef %111) #6
  %113 = load float, ptr %4, align 4, !tbaa !5
  %114 = fpext float %113 to double
  %115 = fcmp ogt double %112, %114
  br i1 %115, label %140, label %116

116:                                              ; preds = %70
  %117 = load i32, ptr %5, align 4, !tbaa !9
  %118 = zext i32 %117 to i64
  %119 = getelementptr inbounds float, ptr %25, i64 %118
  %120 = load float, ptr %119, align 4, !tbaa !5
  %121 = call i1 @llvm.is.fpclass.f32(float %120, i32 3)
  br i1 %121, label %140, label %122

122:                                              ; preds = %116
  %123 = load i32, ptr %5, align 4, !tbaa !9
  %124 = zext i32 %123 to i64
  %125 = getelementptr inbounds float, ptr %25, i64 %124
  %126 = load float, ptr %125, align 4, !tbaa !5
  %127 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %127, label %140, label %128

128:                                              ; preds = %122
  %129 = load i32, ptr %5, align 4, !tbaa !9
  %130 = zext i32 %129 to i64
  %131 = getelementptr inbounds float, ptr %19, i64 %130
  %132 = load float, ptr %131, align 4, !tbaa !5
  %133 = call i1 @llvm.is.fpclass.f32(float %132, i32 3)
  br i1 %133, label %140, label %134

134:                                              ; preds = %128
  %135 = load i32, ptr %5, align 4, !tbaa !9
  %136 = zext i32 %135 to i64
  %137 = getelementptr inbounds float, ptr %19, i64 %136
  %138 = load float, ptr %137, align 4, !tbaa !5
  %139 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %139, label %140, label %185

140:                                              ; preds = %134, %128, %122, %116, %70
  %141 = load i32, ptr %5, align 4, !tbaa !9
  %142 = zext i32 %141 to i64
  %143 = getelementptr inbounds float, ptr %25, i64 %142
  %144 = load float, ptr %143, align 4, !tbaa !5
  %145 = load i32, ptr %5, align 4, !tbaa !9
  %146 = zext i32 %145 to i64
  %147 = getelementptr inbounds float, ptr %19, i64 %146
  %148 = load float, ptr %147, align 4, !tbaa !5
  %149 = fsub float %144, %148
  %150 = fpext float %149 to double
  %151 = load i32, ptr %5, align 4, !tbaa !9
  %152 = zext i32 %151 to i64
  %153 = getelementptr inbounds float, ptr %25, i64 %152
  %154 = load float, ptr %153, align 4, !tbaa !5
  %155 = load i32, ptr %5, align 4, !tbaa !9
  %156 = zext i32 %155 to i64
  %157 = getelementptr inbounds float, ptr %19, i64 %156
  %158 = load float, ptr %157, align 4, !tbaa !5
  %159 = fsub float %154, %158
  %160 = fpext float %159 to double
  %161 = load i32, ptr %5, align 4, !tbaa !9
  %162 = zext i32 %161 to i64
  %163 = getelementptr inbounds float, ptr %25, i64 %162
  %164 = load float, ptr %163, align 4, !tbaa !5
  %165 = load i32, ptr %5, align 4, !tbaa !9
  %166 = zext i32 %165 to i64
  %167 = getelementptr inbounds float, ptr %19, i64 %166
  %168 = load float, ptr %167, align 4, !tbaa !5
  %169 = fsub float %164, %168
  %170 = fpext float %169 to double
  %171 = load i32, ptr %5, align 4, !tbaa !9
  %172 = zext i32 %171 to i64
  %173 = getelementptr inbounds float, ptr %25, i64 %172
  %174 = load float, ptr %173, align 4, !tbaa !5
  %175 = load i32, ptr %5, align 4, !tbaa !9
  %176 = zext i32 %175 to i64
  %177 = getelementptr inbounds float, ptr %19, i64 %176
  %178 = load float, ptr %177, align 4, !tbaa !5
  %179 = fsub float %174, %178
  %180 = fpext float %179 to double
  %181 = call double @llvm.fmuladd.f64(double %150, double %160, double 0.000000e+00)
  %182 = call double @sqrt(double noundef %181) #6
  %183 = load float, ptr %4, align 4, !tbaa !5
  %184 = fpext float %183 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 64, ptr noundef @.str.1, double noundef %182, ptr noundef @.str.2, ptr noundef @.str.3, double noundef %184)
  br label %186

185:                                              ; preds = %134
  call void (...) @liquid_autotest_passed()
  br label %186

186:                                              ; preds = %185, %140
  br label %187

187:                                              ; preds = %186
  %188 = load i32, ptr %5, align 4, !tbaa !9
  %189 = add i32 %188, 1
  store i32 %189, ptr %5, align 4, !tbaa !9
  br label %66, !llvm.loop !15

190:                                              ; preds = %66
  %191 = load ptr, ptr %8, align 8
  call void @llvm.stackrestore.p0(ptr %191)
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  ret void
}

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

declare ptr @freqmod_create(float noundef) #2

declare ptr @freqdem_create(float noundef) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #3

; Function Attrs: nounwind
declare float @cosf(float noundef) #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #5

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

declare i32 @freqmod_modulate_block(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

declare i32 @freqdem_demodulate_block(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

declare i32 @freqmod_destroy(ptr noundef) #2

declare i32 @freqdem_destroy(ptr noundef) #2

; Function Attrs: nounwind
declare double @sqrt(double noundef) #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i1 @llvm.is.fpclass.f32(float, i32 immarg) #5

declare void @liquid_autotest_failed_expr(ptr noundef, i32 noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, double noundef) #2

declare void @liquid_autotest_passed(...) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 = { "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 willreturn }
attributes #4 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}


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

@.str = external hidden unnamed_addr constant [91 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @freqmodem_test(float noundef %0) local_unnamed_addr #0 {
  %2 = tail call ptr @freqmod_create(float noundef %0) #5
  %3 = tail call ptr @freqdem_create(float noundef %0) #5
  %4 = alloca [1024 x float], align 16
  %5 = alloca [1024 x { float, float }], align 16
  %6 = alloca [1024 x float], align 16
  br label %7

7:                                                ; preds = %1, %7
  %indvars.iv = phi i64 [ 0, %1 ], [ %indvars.iv.next, %7 ]
  %8 = trunc nuw nsw i64 %indvars.iv to i32
  %9 = uitofp nneg i32 %8 to double
  %10 = tail call double @llvm.fmuladd.f64(double %9, double 0x3FB4E912AB8E4909, double 0.000000e+00)
  %11 = fptrunc double %10 to float
  %12 = tail call float @cosf(float noundef %11) #5
  %13 = tail call double @llvm.fmuladd.f64(double %9, double 0x3FC0E3A2BBF98B8F, double 0x3FD99999A0000000)
  %14 = fptrunc double %13 to float
  %15 = tail call float @cosf(float noundef %14) #5
  %16 = fmul float %15, 0x3FC99999A0000000
  %17 = tail call float @llvm.fmuladd.f32(float %12, float 0x3FD3333340000000, float %16)
  %18 = tail call double @llvm.fmuladd.f64(double %9, double 0x3FCDC1D5A18054F7, double 0x3FFB333340000000)
  %19 = fptrunc double %18 to float
  %20 = tail call float @cosf(float noundef %19) #5
  %21 = tail call float @llvm.fmuladd.f32(float %20, float 0x3FD99999A0000000, float %17)
  %22 = getelementptr inbounds float, ptr %4, i64 %indvars.iv
  store float %21, ptr %22, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 1024
  br i1 %exitcond.not, label %23, label %7, !llvm.loop !9

23:                                               ; preds = %7
  %24 = call i32 @freqmod_modulate_block(ptr noundef %2, ptr noundef nonnull %4, i32 noundef 1024, ptr noundef nonnull %5) #5
  %25 = call i32 @freqdem_demodulate_block(ptr noundef %3, ptr noundef nonnull %5, i32 noundef 1024, ptr noundef nonnull %6) #5
  %26 = call i32 @freqmod_destroy(ptr noundef %2) #5
  %27 = call i32 @freqdem_destroy(ptr noundef %3) #5
  br label %28

28:                                               ; preds = %23, %41
  %indvars.iv47 = phi i64 [ 1, %23 ], [ %indvars.iv.next48, %41 ]
  %29 = getelementptr inbounds float, ptr %6, i64 %indvars.iv47
  %30 = load float, ptr %29, align 4, !tbaa !5
  %31 = getelementptr inbounds float, ptr %4, i64 %indvars.iv47
  %32 = load float, ptr %31, align 4, !tbaa !5
  %33 = fsub float %30, %32
  %34 = fpext float %33 to double
  %35 = call double @llvm.fmuladd.f64(double %34, double %34, double 0.000000e+00)
  %sqrt = call double @llvm.sqrt.f64(double %35)
  %36 = fcmp ogt double %sqrt, 0x3FA99999A0000000
  %37 = fcmp uno float %30, 0.000000e+00
  %or.cond = select i1 %36, i1 true, i1 %37
  %38 = fcmp uno float %32, 0.000000e+00
  %or.cond51 = select i1 %or.cond, i1 true, i1 %38
  br i1 %or.cond51, label %39, label %40

39:                                               ; preds = %28
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 64, ptr noundef nonnull @.str.1, double noundef %sqrt, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 0x3FA99999A0000000) #5
  br label %41

40:                                               ; preds = %28
  call void (...) @liquid_autotest_passed() #5
  br label %41

41:                                               ; preds = %39, %40
  %indvars.iv.next48 = add nuw nsw i64 %indvars.iv47, 1
  %exitcond50.not = icmp eq i64 %indvars.iv.next48, 1024
  br i1 %exitcond50.not, label %42, label %28, !llvm.loop !11

42:                                               ; preds = %41
  ret void
}

declare ptr @freqmod_create(float noundef) local_unnamed_addr #1

declare ptr @freqdem_create(float noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare float @cosf(float noundef) local_unnamed_addr #2

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

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

declare i32 @freqmod_modulate_block(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

declare i32 @freqdem_demodulate_block(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

declare i32 @freqmod_destroy(ptr noundef) local_unnamed_addr #1

declare i32 @freqdem_destroy(ptr noundef) local_unnamed_addr #1

declare void @liquid_autotest_failed_expr(ptr noundef, i32 noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, double noundef) local_unnamed_addr #1

declare void @liquid_autotest_passed(...) local_unnamed_addr #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.sqrt.f64(double) #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 = { "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 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 #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/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}


; Effective O3 passes: AggressiveInstCombinePass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,SROAPass,SimplifyCFGPass,TailCallElimPass