; LLVM IR from jgaeddert/liquid-dsp :: src/filter/src (rrcos)

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

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

30:                                               ; preds = %5
  %31 = call i32 (i32, ptr, i32, ptr, ...) @liquid_error_fl(i32 noundef 3, ptr noundef @.str, i32 noundef 45, ptr noundef @.str.1)
  store i32 %31, ptr %6, align 4
  br label %188

32:                                               ; preds = %5
  %33 = load i32, ptr %8, align 4, !tbaa !5
  %34 = icmp ult i32 %33, 1
  br i1 %34, label %35, label %37

35:                                               ; preds = %32
  %36 = call i32 (i32, ptr, i32, ptr, ...) @liquid_error_fl(i32 noundef 3, ptr noundef @.str, i32 noundef 47, ptr noundef @.str.2)
  store i32 %36, ptr %6, align 4
  br label %188

37:                                               ; preds = %32
  %38 = load float, ptr %9, align 4, !tbaa !9
  %39 = fcmp olt float %38, 0.000000e+00
  br i1 %39, label %43, label %40

40:                                               ; preds = %37
  %41 = load float, ptr %9, align 4, !tbaa !9
  %42 = fcmp ogt float %41, 1.000000e+00
  br i1 %42, label %43, label %45

43:                                               ; preds = %40, %37
  %44 = call i32 (i32, ptr, i32, ptr, ...) @liquid_error_fl(i32 noundef 3, ptr noundef @.str, i32 noundef 49, ptr noundef @.str.3)
  store i32 %44, ptr %6, align 4
  br label %188

45:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store float 1.000000e+00, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  %46 = load i32, ptr %7, align 4, !tbaa !5
  %47 = mul i32 2, %46
  %48 = load i32, ptr %8, align 4, !tbaa !5
  %49 = mul i32 %47, %48
  %50 = add i32 %49, 1
  store i32 %50, ptr %22, align 4, !tbaa !5
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %51

51:                                               ; preds = %184, %45
  %52 = load i32, ptr %12, align 4, !tbaa !5
  %53 = load i32, ptr %22, align 4, !tbaa !5
  %54 = icmp ult i32 %52, %53
  br i1 %54, label %55, label %187

55:                                               ; preds = %51
  %56 = load i32, ptr %12, align 4, !tbaa !5
  %57 = uitofp i32 %56 to float
  store float %57, ptr %19, align 4, !tbaa !9
  %58 = load i32, ptr %7, align 4, !tbaa !5
  %59 = uitofp i32 %58 to float
  store float %59, ptr %20, align 4, !tbaa !9
  %60 = load i32, ptr %8, align 4, !tbaa !5
  %61 = uitofp i32 %60 to float
  store float %61, ptr %21, align 4, !tbaa !9
  %62 = load float, ptr %19, align 4, !tbaa !9
  %63 = load float, ptr %10, align 4, !tbaa !9
  %64 = fadd float %62, %63
  %65 = load float, ptr %20, align 4, !tbaa !9
  %66 = fdiv float %64, %65
  %67 = load float, ptr %21, align 4, !tbaa !9
  %68 = fsub float %66, %67
  store float %68, ptr %13, align 4, !tbaa !9
  %69 = load float, ptr %9, align 4, !tbaa !9
  %70 = fadd float 1.000000e+00, %69
  %71 = fpext float %70 to double
  %72 = fmul double %71, 0x400921FB54442D18
  %73 = load float, ptr %13, align 4, !tbaa !9
  %74 = fpext float %73 to double
  %75 = fmul double %72, %74
  %76 = fptrunc double %75 to float
  %77 = call float @cosf(float noundef %76) #5
  store float %77, ptr %14, align 4, !tbaa !9
  %78 = load float, ptr %9, align 4, !tbaa !9
  %79 = fsub float 1.000000e+00, %78
  %80 = fpext float %79 to double
  %81 = fmul double %80, 0x400921FB54442D18
  %82 = load float, ptr %13, align 4, !tbaa !9
  %83 = fpext float %82 to double
  %84 = fmul double %81, %83
  %85 = fptrunc double %84 to float
  %86 = call float @sinf(float noundef %85) #5
  store float %86, ptr %15, align 4, !tbaa !9
  %87 = load float, ptr %13, align 4, !tbaa !9
  %88 = call float @llvm.fabs.f32(float %87)
  %89 = fpext float %88 to double
  %90 = fcmp olt double %89, 1.000000e-05
  br i1 %90, label %91, label %105

91:                                               ; preds = %55
  %92 = load float, ptr %9, align 4, !tbaa !9
  %93 = fsub float 1.000000e+00, %92
  %94 = fpext float %93 to double
  %95 = load float, ptr %9, align 4, !tbaa !9
  %96 = fmul float 4.000000e+00, %95
  %97 = fpext float %96 to double
  %98 = fdiv double %97, 0x400921FB54442D18
  %99 = fadd double %94, %98
  %100 = fptrunc double %99 to float
  %101 = load ptr, ptr %11, align 8, !tbaa !11
  %102 = load i32, ptr %12, align 4, !tbaa !5
  %103 = zext i32 %102 to i64
  %104 = getelementptr inbounds float, ptr %101, i64 %103
  store float %100, ptr %104, align 4, !tbaa !9
  br label %183

105:                                              ; preds = %55
  %106 = load float, ptr %9, align 4, !tbaa !9
  %107 = fmul float 4.000000e+00, %106
  %108 = load float, ptr %13, align 4, !tbaa !9
  %109 = fmul float %107, %108
  %110 = fdiv float 1.000000e+00, %109
  store float %110, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  %111 = load float, ptr %9, align 4, !tbaa !9
  %112 = fmul float 1.600000e+01, %111
  %113 = load float, ptr %9, align 4, !tbaa !9
  %114 = fmul float %112, %113
  %115 = load float, ptr %13, align 4, !tbaa !9
  %116 = fmul float %114, %115
  %117 = load float, ptr %13, align 4, !tbaa !9
  %118 = fneg float %116
  %119 = call float @llvm.fmuladd.f32(float %118, float %117, float 1.000000e+00)
  store float %119, ptr %23, align 4, !tbaa !9
  %120 = load float, ptr %23, align 4, !tbaa !9
  %121 = load float, ptr %23, align 4, !tbaa !9
  %122 = fmul float %121, %120
  store float %122, ptr %23, align 4, !tbaa !9
  %123 = load float, ptr %23, align 4, !tbaa !9
  %124 = fpext float %123 to double
  %125 = fcmp olt double %124, 1.000000e-05
  br i1 %125, label %126, label %151

126:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  store float 0x3FFA2F9840000000, ptr %24, align 4, !tbaa !9
  %127 = load float, ptr %9, align 4, !tbaa !9
  %128 = fpext float %127 to double
  %129 = fdiv double 0x3FE921FB54442D18, %128
  %130 = fptrunc double %129 to float
  %131 = call float @sinf(float noundef %130) #5
  store float %131, ptr %25, align 4, !tbaa !9
  store float 0x3FD7419F20000000, ptr %26, align 4, !tbaa !9
  %132 = load float, ptr %9, align 4, !tbaa !9
  %133 = fpext float %132 to double
  %134 = fdiv double 0x3FE921FB54442D18, %133
  %135 = fptrunc double %134 to float
  %136 = call float @cosf(float noundef %135) #5
  store float %136, ptr %27, align 4, !tbaa !9
  %137 = load float, ptr %9, align 4, !tbaa !9
  %138 = call float @sqrtf(float noundef 2.000000e+00) #5
  %139 = fdiv float %137, %138
  %140 = load float, ptr %24, align 4, !tbaa !9
  %141 = load float, ptr %25, align 4, !tbaa !9
  %142 = load float, ptr %26, align 4, !tbaa !9
  %143 = load float, ptr %27, align 4, !tbaa !9
  %144 = fmul float %142, %143
  %145 = call float @llvm.fmuladd.f32(float %140, float %141, float %144)
  %146 = fmul float %139, %145
  %147 = load ptr, ptr %11, align 8, !tbaa !11
  %148 = load i32, ptr %12, align 4, !tbaa !5
  %149 = zext i32 %148 to i64
  %150 = getelementptr inbounds float, ptr %147, i64 %149
  store float %146, ptr %150, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  br label %182

151:                                              ; preds = %105
  %152 = load float, ptr %9, align 4, !tbaa !9
  %153 = fmul float 4.000000e+00, %152
  %154 = fpext float %153 to double
  %155 = load float, ptr %18, align 4, !tbaa !9
  %156 = call float @sqrtf(float noundef %155) #5
  %157 = fpext float %156 to double
  %158 = fmul double 0x400921FB54442D18, %157
  %159 = load float, ptr %9, align 4, !tbaa !9
  %160 = fmul float 1.600000e+01, %159
  %161 = load float, ptr %9, align 4, !tbaa !9
  %162 = fmul float %160, %161
  %163 = load float, ptr %13, align 4, !tbaa !9
  %164 = fmul float %162, %163
  %165 = load float, ptr %13, align 4, !tbaa !9
  %166 = fneg float %164
  %167 = call float @llvm.fmuladd.f32(float %166, float %165, float 1.000000e+00)
  %168 = fpext float %167 to double
  %169 = fmul double %158, %168
  %170 = fdiv double %154, %169
  %171 = fptrunc double %170 to float
  store float %171, ptr %17, align 4, !tbaa !9
  %172 = load float, ptr %17, align 4, !tbaa !9
  %173 = load float, ptr %14, align 4, !tbaa !9
  %174 = load float, ptr %15, align 4, !tbaa !9
  %175 = load float, ptr %16, align 4, !tbaa !9
  %176 = call float @llvm.fmuladd.f32(float %174, float %175, float %173)
  %177 = fmul float %172, %176
  %178 = load ptr, ptr %11, align 8, !tbaa !11
  %179 = load i32, ptr %12, align 4, !tbaa !5
  %180 = zext i32 %179 to i64
  %181 = getelementptr inbounds float, ptr %178, i64 %180
  store float %177, ptr %181, align 4, !tbaa !9
  br label %182

182:                                              ; preds = %151, %126
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  br label %183

183:                                              ; preds = %182, %91
  br label %184

184:                                              ; preds = %183
  %185 = load i32, ptr %12, align 4, !tbaa !5
  %186 = add i32 %185, 1
  store i32 %186, ptr %12, align 4, !tbaa !5
  br label %51, !llvm.loop !13

187:                                              ; preds = %51
  store i32 0, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %188

188:                                              ; preds = %187, %43, %35, %30
  %189 = load i32, ptr %6, align 4
  ret i32 %189
}

declare i32 @liquid_error_fl(i32 noundef, ptr noundef, i32 noundef, 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: nounwind
declare float @cosf(float noundef) #3

; Function Attrs: nounwind
declare float @sinf(float noundef) #3

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

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

; Function Attrs: nounwind
declare float @sqrtf(float noundef) #3

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

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"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"

@.str = external hidden unnamed_addr constant [77 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [45 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @liquid_firdes_rrcos(i32 noundef %0, i32 noundef %1, float noundef %2, float noundef %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #0 {
  %6 = icmp eq i32 %0, 0
  br i1 %6, label %7, label %9

7:                                                ; preds = %5
  %8 = tail call i32 (i32, ptr, i32, ptr, ...) @liquid_error_fl(i32 noundef 3, ptr noundef nonnull @.str, i32 noundef 45, ptr noundef nonnull @.str.1) #4
  br label %.loopexit

9:                                                ; preds = %5
  %10 = icmp eq i32 %1, 0
  br i1 %10, label %11, label %13

11:                                               ; preds = %9
  %12 = tail call i32 (i32, ptr, i32, ptr, ...) @liquid_error_fl(i32 noundef 3, ptr noundef nonnull @.str, i32 noundef 47, ptr noundef nonnull @.str.2) #4
  br label %.loopexit

13:                                               ; preds = %9
  %14 = fcmp olt float %2, 0.000000e+00
  %15 = fcmp ogt float %2, 1.000000e+00
  %or.cond = or i1 %14, %15
  br i1 %or.cond, label %16, label %18

16:                                               ; preds = %13
  %17 = tail call i32 (i32, ptr, i32, ptr, ...) @liquid_error_fl(i32 noundef 3, ptr noundef nonnull @.str, i32 noundef 49, ptr noundef nonnull @.str.3) #4
  br label %.loopexit

18:                                               ; preds = %13
  %19 = shl i32 %0, 1
  %20 = mul i32 %19, %1
  %21 = uitofp i32 %0 to float
  %22 = uitofp i32 %1 to float
  %23 = fadd float %2, 1.000000e+00
  %24 = fpext float %23 to double
  %25 = fmul double %24, 0x400921FB54442D18
  %26 = fsub float 1.000000e+00, %2
  %27 = fpext float %26 to double
  %28 = fmul double %27, 0x400921FB54442D18
  %29 = fmul float %2, -1.600000e+01
  %30 = fmul float %29, %2
  %31 = fmul float %2, 4.000000e+00
  %32 = fpext float %31 to double
  %33 = fpext float %2 to double
  %34 = fdiv double 0x3FE921FB54442D18, %33
  %35 = fptrunc double %34 to float
  %36 = fdiv float %2, 0x3FF6A09E60000000
  %37 = fdiv double %32, 0x400921FB54442D18
  %38 = fadd double %37, %27
  %39 = fptrunc double %38 to float
  %40 = or disjoint i32 %20, 1
  %wide.trip.count = zext i32 %40 to i64
  br label %41

41:                                               ; preds = %18, %78
  %indvars.iv = phi i64 [ 0, %18 ], [ %indvars.iv.next, %78 ]
  %42 = trunc nuw i64 %indvars.iv to i32
  %43 = uitofp i32 %42 to float
  %44 = fadd float %43, %3
  %45 = fdiv float %44, %21
  %46 = fsub float %45, %22
  %47 = fpext float %46 to double
  %48 = fmul double %25, %47
  %49 = fptrunc double %48 to float
  %50 = tail call float @cosf(float noundef %49) #4
  %51 = fmul double %28, %47
  %52 = fptrunc double %51 to float
  %53 = tail call float @sinf(float noundef %52) #4
  %54 = tail call float @llvm.fabs.f32(float %46)
  %55 = fpext float %54 to double
  %56 = fcmp olt double %55, 1.000000e-05
  br i1 %56, label %78, label %57

57:                                               ; preds = %41
  %58 = fmul float %30, %46
  %59 = tail call float @llvm.fmuladd.f32(float %58, float %46, float 1.000000e+00)
  %60 = fmul float %59, %59
  %61 = fpext float %60 to double
  %62 = fcmp olt double %61, 1.000000e-05
  br i1 %62, label %63, label %69

63:                                               ; preds = %57
  %64 = tail call float @sinf(float noundef %35) #4
  %65 = tail call float @cosf(float noundef %35) #4
  %66 = fmul float %65, 0x3FD7419F20000000
  %67 = tail call float @llvm.fmuladd.f32(float %64, float 0x3FFA2F9840000000, float %66)
  %68 = fmul float %36, %67
  br label %78

69:                                               ; preds = %57
  %70 = fmul float %31, %46
  %71 = fdiv float 1.000000e+00, %70
  %72 = fpext float %59 to double
  %73 = fmul double %72, 0x400921FB54442D18
  %74 = fdiv double %32, %73
  %75 = fptrunc double %74 to float
  %76 = tail call float @llvm.fmuladd.f32(float %53, float %71, float %50)
  %77 = fmul float %76, %75
  br label %78

78:                                               ; preds = %41, %63, %69
  %.sink = phi float [ %68, %63 ], [ %77, %69 ], [ %39, %41 ]
  %79 = getelementptr inbounds float, ptr %4, i64 %indvars.iv
  store float %.sink, ptr %79, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond, label %.loopexit, label %41, !llvm.loop !9

.loopexit:                                        ; preds = %78, %16, %11, %7
  %.0 = phi i32 [ %8, %7 ], [ %12, %11 ], [ %17, %16 ], [ 0, %78 ]
  ret i32 %.0
}

declare i32 @liquid_error_fl(i32 noundef, ptr noundef, i32 noundef, ptr 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 nofree nounwind willreturn memory(write)
declare float @sinf(float noundef) local_unnamed_addr #2

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

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

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 = { 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"}


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