; LLVM IR from jgaeddert/liquid-dsp :: src/nco/tests (unwrap_phase_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 [92 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [27 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 @autotest_nco_unwrap_phase() #0 {
  %1 = alloca i32, align 4
  %2 = alloca float, align 4
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #6
  store i32 32, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store float 0x3EB0C6F7A0000000, ptr %2, align 4, !tbaa !9
  %10 = load i32, ptr %1, align 4, !tbaa !5
  %11 = zext i32 %10 to i64
  %12 = call ptr @llvm.stacksave.p0()
  store ptr %12, ptr %3, align 8
  %13 = alloca float, i64 %11, align 16
  store i64 %11, ptr %4, align 8
  %14 = load i32, ptr %1, align 4, !tbaa !5
  %15 = zext i32 %14 to i64
  %16 = alloca float, i64 %15, align 16
  store i64 %15, ptr %5, align 8
  %17 = load i32, ptr %1, align 4, !tbaa !5
  %18 = zext i32 %17 to i64
  %19 = alloca float, i64 %18, align 16
  store i64 %18, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store float 3.000000e+00, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store float 0x3FB99999A0000000, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %20

20:                                               ; preds = %79, %0
  %21 = load i32, ptr %9, align 4, !tbaa !5
  %22 = load i32, ptr %1, align 4, !tbaa !5
  %23 = icmp ult i32 %21, %22
  br i1 %23, label %24, label %82

24:                                               ; preds = %20
  %25 = load float, ptr %7, align 4, !tbaa !9
  %26 = load i32, ptr %9, align 4, !tbaa !5
  %27 = uitofp i32 %26 to float
  %28 = load float, ptr %8, align 4, !tbaa !9
  %29 = call float @llvm.fmuladd.f32(float %27, float %28, float %25)
  %30 = load i32, ptr %9, align 4, !tbaa !5
  %31 = zext i32 %30 to i64
  %32 = getelementptr inbounds float, ptr %13, i64 %31
  store float %29, ptr %32, align 4, !tbaa !9
  %33 = load i32, ptr %9, align 4, !tbaa !5
  %34 = zext i32 %33 to i64
  %35 = getelementptr inbounds float, ptr %13, i64 %34
  %36 = load float, ptr %35, align 4, !tbaa !9
  %37 = load i32, ptr %9, align 4, !tbaa !5
  %38 = zext i32 %37 to i64
  %39 = getelementptr inbounds float, ptr %16, i64 %38
  store float %36, ptr %39, align 4, !tbaa !9
  br label %40

40:                                               ; preds = %47, %24
  %41 = load i32, ptr %9, align 4, !tbaa !5
  %42 = zext i32 %41 to i64
  %43 = getelementptr inbounds float, ptr %16, i64 %42
  %44 = load float, ptr %43, align 4, !tbaa !9
  %45 = fpext float %44 to double
  %46 = fcmp ogt double %45, 0x400921FB54442D18
  br i1 %46, label %47, label %55

47:                                               ; preds = %40
  %48 = load i32, ptr %9, align 4, !tbaa !5
  %49 = zext i32 %48 to i64
  %50 = getelementptr inbounds float, ptr %16, i64 %49
  %51 = load float, ptr %50, align 4, !tbaa !9
  %52 = fpext float %51 to double
  %53 = fsub double %52, 0x401921FB54442D18
  %54 = fptrunc double %53 to float
  store float %54, ptr %50, align 4, !tbaa !9
  br label %40, !llvm.loop !11

55:                                               ; preds = %40
  br label %56

56:                                               ; preds = %63, %55
  %57 = load i32, ptr %9, align 4, !tbaa !5
  %58 = zext i32 %57 to i64
  %59 = getelementptr inbounds float, ptr %16, i64 %58
  %60 = load float, ptr %59, align 4, !tbaa !9
  %61 = fpext float %60 to double
  %62 = fcmp olt double %61, 0xC00921FB54442D18
  br i1 %62, label %63, label %71

63:                                               ; preds = %56
  %64 = load i32, ptr %9, align 4, !tbaa !5
  %65 = zext i32 %64 to i64
  %66 = getelementptr inbounds float, ptr %16, i64 %65
  %67 = load float, ptr %66, align 4, !tbaa !9
  %68 = fpext float %67 to double
  %69 = fadd double %68, 0x401921FB54442D18
  %70 = fptrunc double %69 to float
  store float %70, ptr %66, align 4, !tbaa !9
  br label %56, !llvm.loop !13

71:                                               ; preds = %56
  %72 = load i32, ptr %9, align 4, !tbaa !5
  %73 = zext i32 %72 to i64
  %74 = getelementptr inbounds float, ptr %16, i64 %73
  %75 = load float, ptr %74, align 4, !tbaa !9
  %76 = load i32, ptr %9, align 4, !tbaa !5
  %77 = zext i32 %76 to i64
  %78 = getelementptr inbounds float, ptr %19, i64 %77
  store float %75, ptr %78, align 4, !tbaa !9
  br label %79

79:                                               ; preds = %71
  %80 = load i32, ptr %9, align 4, !tbaa !5
  %81 = add i32 %80, 1
  store i32 %81, ptr %9, align 4, !tbaa !5
  br label %20, !llvm.loop !14

82:                                               ; preds = %20
  %83 = load i32, ptr %1, align 4, !tbaa !5
  call void @liquid_unwrap_phase(ptr noundef %19, i32 noundef %83)
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %84

84:                                               ; preds = %205, %82
  %85 = load i32, ptr %9, align 4, !tbaa !5
  %86 = load i32, ptr %1, align 4, !tbaa !5
  %87 = icmp ult i32 %85, %86
  br i1 %87, label %88, label %208

88:                                               ; preds = %84
  %89 = load i32, ptr %9, align 4, !tbaa !5
  %90 = zext i32 %89 to i64
  %91 = getelementptr inbounds float, ptr %13, i64 %90
  %92 = load float, ptr %91, align 4, !tbaa !9
  %93 = load i32, ptr %9, align 4, !tbaa !5
  %94 = zext i32 %93 to i64
  %95 = getelementptr inbounds float, ptr %19, i64 %94
  %96 = load float, ptr %95, align 4, !tbaa !9
  %97 = fsub float %92, %96
  %98 = fpext float %97 to double
  %99 = load i32, ptr %9, align 4, !tbaa !5
  %100 = zext i32 %99 to i64
  %101 = getelementptr inbounds float, ptr %13, i64 %100
  %102 = load float, ptr %101, align 4, !tbaa !9
  %103 = load i32, ptr %9, align 4, !tbaa !5
  %104 = zext i32 %103 to i64
  %105 = getelementptr inbounds float, ptr %19, i64 %104
  %106 = load float, ptr %105, align 4, !tbaa !9
  %107 = fsub float %102, %106
  %108 = fpext float %107 to double
  %109 = load i32, ptr %9, align 4, !tbaa !5
  %110 = zext i32 %109 to i64
  %111 = getelementptr inbounds float, ptr %13, i64 %110
  %112 = load float, ptr %111, align 4, !tbaa !9
  %113 = load i32, ptr %9, align 4, !tbaa !5
  %114 = zext i32 %113 to i64
  %115 = getelementptr inbounds float, ptr %19, i64 %114
  %116 = load float, ptr %115, align 4, !tbaa !9
  %117 = fsub float %112, %116
  %118 = fpext float %117 to double
  %119 = load i32, ptr %9, align 4, !tbaa !5
  %120 = zext i32 %119 to i64
  %121 = getelementptr inbounds float, ptr %13, i64 %120
  %122 = load float, ptr %121, align 4, !tbaa !9
  %123 = load i32, ptr %9, align 4, !tbaa !5
  %124 = zext i32 %123 to i64
  %125 = getelementptr inbounds float, ptr %19, i64 %124
  %126 = load float, ptr %125, align 4, !tbaa !9
  %127 = fsub float %122, %126
  %128 = fpext float %127 to double
  %129 = call double @llvm.fmuladd.f64(double %98, double %108, double 0.000000e+00)
  %130 = call double @sqrt(double noundef %129) #6
  %131 = load float, ptr %2, align 4, !tbaa !9
  %132 = fpext float %131 to double
  %133 = fcmp ogt double %130, %132
  br i1 %133, label %158, label %134

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

140:                                              ; preds = %134
  %141 = load i32, ptr %9, align 4, !tbaa !5
  %142 = zext i32 %141 to i64
  %143 = getelementptr inbounds float, ptr %13, i64 %142
  %144 = load float, ptr %143, align 4, !tbaa !9
  %145 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %145, label %158, label %146

146:                                              ; preds = %140
  %147 = load i32, ptr %9, align 4, !tbaa !5
  %148 = zext i32 %147 to i64
  %149 = getelementptr inbounds float, ptr %19, i64 %148
  %150 = load float, ptr %149, align 4, !tbaa !9
  %151 = call i1 @llvm.is.fpclass.f32(float %150, i32 3)
  br i1 %151, label %158, label %152

152:                                              ; preds = %146
  %153 = load i32, ptr %9, align 4, !tbaa !5
  %154 = zext i32 %153 to i64
  %155 = getelementptr inbounds float, ptr %19, i64 %154
  %156 = load float, ptr %155, align 4, !tbaa !9
  %157 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %157, label %158, label %203

158:                                              ; preds = %152, %146, %140, %134, %88
  %159 = load i32, ptr %9, align 4, !tbaa !5
  %160 = zext i32 %159 to i64
  %161 = getelementptr inbounds float, ptr %13, i64 %160
  %162 = load float, ptr %161, align 4, !tbaa !9
  %163 = load i32, ptr %9, align 4, !tbaa !5
  %164 = zext i32 %163 to i64
  %165 = getelementptr inbounds float, ptr %19, i64 %164
  %166 = load float, ptr %165, align 4, !tbaa !9
  %167 = fsub float %162, %166
  %168 = fpext float %167 to double
  %169 = load i32, ptr %9, align 4, !tbaa !5
  %170 = zext i32 %169 to i64
  %171 = getelementptr inbounds float, ptr %13, i64 %170
  %172 = load float, ptr %171, align 4, !tbaa !9
  %173 = load i32, ptr %9, align 4, !tbaa !5
  %174 = zext i32 %173 to i64
  %175 = getelementptr inbounds float, ptr %19, i64 %174
  %176 = load float, ptr %175, align 4, !tbaa !9
  %177 = fsub float %172, %176
  %178 = fpext float %177 to double
  %179 = load i32, ptr %9, align 4, !tbaa !5
  %180 = zext i32 %179 to i64
  %181 = getelementptr inbounds float, ptr %13, i64 %180
  %182 = load float, ptr %181, align 4, !tbaa !9
  %183 = load i32, ptr %9, align 4, !tbaa !5
  %184 = zext i32 %183 to i64
  %185 = getelementptr inbounds float, ptr %19, i64 %184
  %186 = load float, ptr %185, align 4, !tbaa !9
  %187 = fsub float %182, %186
  %188 = fpext float %187 to double
  %189 = load i32, ptr %9, align 4, !tbaa !5
  %190 = zext i32 %189 to i64
  %191 = getelementptr inbounds float, ptr %13, i64 %190
  %192 = load float, ptr %191, align 4, !tbaa !9
  %193 = load i32, ptr %9, align 4, !tbaa !5
  %194 = zext i32 %193 to i64
  %195 = getelementptr inbounds float, ptr %19, i64 %194
  %196 = load float, ptr %195, align 4, !tbaa !9
  %197 = fsub float %192, %196
  %198 = fpext float %197 to double
  %199 = call double @llvm.fmuladd.f64(double %168, double %178, double 0.000000e+00)
  %200 = call double @sqrt(double noundef %199) #6
  %201 = load float, ptr %2, align 4, !tbaa !9
  %202 = fpext float %201 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 62, ptr noundef @.str.1, double noundef %200, ptr noundef @.str.2, ptr noundef @.str.3, double noundef %202)
  br label %204

203:                                              ; preds = %152
  call void (...) @liquid_autotest_passed()
  br label %204

204:                                              ; preds = %203, %158
  br label %205

205:                                              ; preds = %204
  %206 = load i32, ptr %9, align 4, !tbaa !5
  %207 = add i32 %206, 1
  store i32 %207, ptr %9, align 4, !tbaa !5
  br label %84, !llvm.loop !15

208:                                              ; preds = %84
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  %209 = load ptr, ptr %3, align 8
  call void @llvm.stackrestore.p0(ptr %209)
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  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: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2

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

declare void @liquid_unwrap_phase(ptr noundef, i32 noundef) #4

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

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

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

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

declare void @liquid_autotest_passed(...) #4

; Function Attrs: 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 willreturn
declare void @llvm.stackrestore.p0(ptr) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { "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 "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 }

!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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}


; 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 [92 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [27 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 @autotest_nco_unwrap_phase() local_unnamed_addr #0 {
  %1 = alloca [32 x float], align 16
  %2 = alloca [32 x float], align 16
  br label %3

3:                                                ; preds = %0, %._crit_edge
  %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next, %._crit_edge ]
  %4 = trunc nuw nsw i64 %indvars.iv to i32
  %5 = uitofp nneg i32 %4 to float
  %6 = tail call float @llvm.fmuladd.f32(float %5, float 0x3FB99999A0000000, float 3.000000e+00)
  %7 = getelementptr inbounds float, ptr %1, i64 %indvars.iv
  store float %6, ptr %7, align 4, !tbaa !5
  %8 = fpext float %6 to double
  %9 = fcmp ogt double %8, 0x400921FB54442D18
  br i1 %9, label %.lr.ph, label %.preheader

.preheader:                                       ; preds = %.lr.ph, %3
  %.pre-phi = phi double [ %8, %3 ], [ %14, %.lr.ph ]
  %storemerge.lcssa = phi float [ %6, %3 ], [ %13, %.lr.ph ]
  %10 = fcmp olt double %.pre-phi, 0xC00921FB54442D18
  br i1 %10, label %.lr.ph48, label %._crit_edge

.lr.ph:                                           ; preds = %3, %.lr.ph
  %11 = phi double [ %14, %.lr.ph ], [ %8, %3 ]
  %12 = fadd double %11, 0xC01921FB54442D18
  %13 = fptrunc double %12 to float
  %14 = fpext float %13 to double
  %15 = fcmp ogt double %14, 0x400921FB54442D18
  br i1 %15, label %.lr.ph, label %.preheader, !llvm.loop !9

.lr.ph48:                                         ; preds = %.preheader, %.lr.ph48
  %16 = phi double [ %19, %.lr.ph48 ], [ %.pre-phi, %.preheader ]
  %17 = fadd double %16, 0x401921FB54442D18
  %18 = fptrunc double %17 to float
  %19 = fpext float %18 to double
  %20 = fcmp olt double %19, 0xC00921FB54442D18
  br i1 %20, label %.lr.ph48, label %._crit_edge, !llvm.loop !11

._crit_edge:                                      ; preds = %.lr.ph48, %.preheader
  %.lcssa47 = phi float [ %storemerge.lcssa, %.preheader ], [ %18, %.lr.ph48 ]
  %21 = getelementptr inbounds float, ptr %2, i64 %indvars.iv
  store float %.lcssa47, ptr %21, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 32
  br i1 %exitcond.not, label %22, label %3, !llvm.loop !12

22:                                               ; preds = %._crit_edge
  call void @liquid_unwrap_phase(ptr noundef nonnull %2, i32 noundef 32) #4
  br label %23

23:                                               ; preds = %22, %36
  %indvars.iv55 = phi i64 [ 0, %22 ], [ %indvars.iv.next56, %36 ]
  %24 = getelementptr inbounds float, ptr %1, i64 %indvars.iv55
  %25 = load float, ptr %24, align 4, !tbaa !5
  %26 = getelementptr inbounds float, ptr %2, i64 %indvars.iv55
  %27 = load float, ptr %26, align 4, !tbaa !5
  %28 = fsub float %25, %27
  %29 = fpext float %28 to double
  %30 = call double @llvm.fmuladd.f64(double %29, double %29, double 0.000000e+00)
  %sqrt = call double @llvm.sqrt.f64(double %30)
  %31 = fcmp ogt double %sqrt, 0x3EB0C6F7A0000000
  %32 = fcmp uno float %25, 0.000000e+00
  %or.cond = select i1 %31, i1 true, i1 %32
  %33 = fcmp uno float %27, 0.000000e+00
  %or.cond61 = select i1 %or.cond, i1 true, i1 %33
  br i1 %or.cond61, label %34, label %35

34:                                               ; preds = %23
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 62, ptr noundef nonnull @.str.1, double noundef %sqrt, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 0x3EB0C6F7A0000000) #4
  br label %36

35:                                               ; preds = %23
  call void (...) @liquid_autotest_passed() #4
  br label %36

36:                                               ; preds = %34, %35
  %indvars.iv.next56 = add nuw nsw i64 %indvars.iv55, 1
  %exitcond58.not = icmp eq i64 %indvars.iv.next56, 32
  br i1 %exitcond58.not, label %37, label %23, !llvm.loop !13

37:                                               ; preds = %36
  ret void
}

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

declare void @liquid_unwrap_phase(ptr noundef, i32 noundef) local_unnamed_addr #2

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

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

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

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


; Effective O3 passes: AggressiveInstCombinePass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass