; LLVM IR from jgaeddert/liquid-dsp :: src/framing/tests (fskframesync_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"

%struct.framesyncstats_s = type { float, float, float, ptr, i32, i32, i32, i32, i32, i32 }

@.str = external hidden unnamed_addr constant [96 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @autotest_fskframesync() #0 {
  %1 = alloca float, align 4
  %2 = alloca float, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca [8 x i8], align 1
  %13 = alloca [200 x i8], align 16
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #5
  store float 2.000000e+01, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store float -2.000000e+01, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  store i32 6, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store i32 1, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 1, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %19 = load float, ptr %2, align 4, !tbaa !5
  %20 = fdiv float %19, 2.000000e+01
  %21 = call float @powf(float noundef 1.000000e+01, float noundef %20) #5
  store float %21, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %22 = load float, ptr %1, align 4, !tbaa !5
  %23 = load float, ptr %2, align 4, !tbaa !5
  %24 = fadd float %22, %23
  %25 = fdiv float %24, 2.000000e+01
  %26 = call float @powf(float noundef 1.000000e+01, float noundef %25) #5
  store float %26, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %27 = call ptr (...) @fskframegen_create()
  store ptr %27, ptr %10, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %28 = call ptr @fskframesync_create(ptr noundef @framing_autotest_callback, ptr noundef %9)
  store ptr %28, ptr %11, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 200, ptr %13) #5
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %29

29:                                               ; preds = %38, %0
  %30 = load i32, ptr %8, align 4, !tbaa !9
  %31 = icmp ult i32 %30, 8
  br i1 %31, label %32, label %41

32:                                               ; preds = %29
  %33 = load i32, ptr %8, align 4, !tbaa !9
  %34 = trunc i32 %33 to i8
  %35 = load i32, ptr %8, align 4, !tbaa !9
  %36 = zext i32 %35 to i64
  %37 = getelementptr inbounds [8 x i8], ptr %12, i64 0, i64 %36
  store i8 %34, ptr %37, align 1, !tbaa !13
  br label %38

38:                                               ; preds = %32
  %39 = load i32, ptr %8, align 4, !tbaa !9
  %40 = add i32 %39, 1
  store i32 %40, ptr %8, align 4, !tbaa !9
  br label %29, !llvm.loop !14

41:                                               ; preds = %29
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %42

42:                                               ; preds = %52, %41
  %43 = load i32, ptr %8, align 4, !tbaa !9
  %44 = icmp ult i32 %43, 200
  br i1 %44, label %45, label %55

45:                                               ; preds = %42
  %46 = call i32 @rand() #5
  %47 = and i32 %46, 255
  %48 = trunc i32 %47 to i8
  %49 = load i32, ptr %8, align 4, !tbaa !9
  %50 = zext i32 %49 to i64
  %51 = getelementptr inbounds [200 x i8], ptr %13, i64 0, i64 %50
  store i8 %48, ptr %51, align 1, !tbaa !13
  br label %52

52:                                               ; preds = %45
  %53 = load i32, ptr %8, align 4, !tbaa !9
  %54 = add i32 %53, 1
  store i32 %54, ptr %8, align 4, !tbaa !9
  br label %42, !llvm.loop !16

55:                                               ; preds = %42
  %56 = load ptr, ptr %10, align 8, !tbaa !11
  %57 = getelementptr inbounds [8 x i8], ptr %12, i64 0, i64 0
  %58 = getelementptr inbounds [200 x i8], ptr %13, i64 0, i64 0
  %59 = load i32, ptr %3, align 4, !tbaa !9
  %60 = load i32, ptr %4, align 4, !tbaa !9
  %61 = load i32, ptr %5, align 4, !tbaa !9
  %62 = call i32 @fskframegen_assemble(ptr noundef %56, ptr noundef %57, ptr noundef %58, i32 noundef 200, i32 noundef %59, i32 noundef %60, i32 noundef %61)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 256, ptr %14, align 4, !tbaa !9
  %63 = load i32, ptr %14, align 4, !tbaa !9
  %64 = zext i32 %63 to i64
  %65 = call ptr @llvm.stacksave.p0()
  store ptr %65, ptr %15, align 8
  %66 = alloca { float, float }, i64 %64, align 16
  store i64 %64, ptr %16, align 8
  %67 = load i32, ptr %14, align 4, !tbaa !9
  %68 = zext i32 %67 to i64
  %69 = alloca { float, float }, i64 %68, align 16
  store i64 %68, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %70

70:                                               ; preds = %119, %55
  %71 = load i32, ptr %18, align 4, !tbaa !9
  %72 = icmp ne i32 %71, 0
  %73 = xor i1 %72, true
  br i1 %73, label %74, label %123

74:                                               ; preds = %70
  %75 = load ptr, ptr %10, align 8, !tbaa !11
  %76 = load i32, ptr %14, align 4, !tbaa !9
  %77 = call i32 @fskframegen_write_samples(ptr noundef %75, ptr noundef %66, i32 noundef %76)
  store i32 %77, ptr %18, align 4, !tbaa !9
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %78

78:                                               ; preds = %116, %74
  %79 = load i32, ptr %8, align 4, !tbaa !9
  %80 = load i32, ptr %14, align 4, !tbaa !9
  %81 = icmp ult i32 %79, %80
  br i1 %81, label %82, label %119

82:                                               ; preds = %78
  %83 = load i32, ptr %8, align 4, !tbaa !9
  %84 = zext i32 %83 to i64
  %85 = getelementptr inbounds { float, float }, ptr %66, i64 %84
  %86 = getelementptr inbounds { float, float }, ptr %85, i32 0, i32 0
  %87 = load float, ptr %86, align 8
  %88 = getelementptr inbounds { float, float }, ptr %85, i32 0, i32 1
  %89 = load float, ptr %88, align 4
  %90 = load float, ptr %7, align 4, !tbaa !5
  %91 = fmul float %87, %90
  %92 = fmul float %89, %90
  %93 = fpext float %91 to double
  %94 = fpext float %92 to double
  %95 = load float, ptr %6, align 4, !tbaa !5
  %96 = call float (...) @randnf()
  %97 = call float (...) @randnf()
  %98 = fmul float %97, 0.000000e+00
  %99 = fmul float %97, 1.000000e+00
  %100 = fadd float %96, %98
  %101 = fmul float %95, %100
  %102 = fmul float %95, %99
  %103 = fpext float %101 to double
  %104 = fpext float %102 to double
  %105 = fmul double %103, 0x3FE6A09E667F3BCD
  %106 = fmul double %104, 0x3FE6A09E667F3BCD
  %107 = fadd double %93, %105
  %108 = fadd double %94, %106
  %109 = fptrunc double %107 to float
  %110 = fptrunc double %108 to float
  %111 = load i32, ptr %8, align 4, !tbaa !9
  %112 = zext i32 %111 to i64
  %113 = getelementptr inbounds { float, float }, ptr %69, i64 %112
  %114 = getelementptr inbounds { float, float }, ptr %113, i32 0, i32 0
  %115 = getelementptr inbounds { float, float }, ptr %113, i32 0, i32 1
  store float %109, ptr %114, align 8
  store float %110, ptr %115, align 4
  br label %116

116:                                              ; preds = %82
  %117 = load i32, ptr %8, align 4, !tbaa !9
  %118 = add i32 %117, 1
  store i32 %118, ptr %8, align 4, !tbaa !9
  br label %78, !llvm.loop !17

119:                                              ; preds = %78
  %120 = load ptr, ptr %11, align 8, !tbaa !11
  %121 = load i32, ptr %14, align 4, !tbaa !9
  %122 = call i32 @fskframesync_execute_block(ptr noundef %120, ptr noundef %69, i32 noundef %121)
  br label %70, !llvm.loop !18

123:                                              ; preds = %70
  %124 = load i32, ptr %9, align 4, !tbaa !9
  %125 = icmp ne i32 %124, 19088743
  br i1 %125, label %126, label %129

126:                                              ; preds = %123
  %127 = load i32, ptr %9, align 4, !tbaa !9
  %128 = uitofp i32 %127 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 83, ptr noundef @.str.1, double noundef %128, ptr noundef @.str.2, ptr noundef @.str.3, double noundef 0x4172345670000000)
  br label %130

129:                                              ; preds = %123
  call void (...) @liquid_autotest_passed()
  br label %130

130:                                              ; preds = %129, %126
  %131 = load ptr, ptr %10, align 8, !tbaa !11
  %132 = call i32 @fskframegen_destroy(ptr noundef %131)
  %133 = load ptr, ptr %11, align 8, !tbaa !11
  %134 = call i32 @fskframesync_destroy(ptr noundef %133)
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  %135 = load ptr, ptr %15, align 8
  call void @llvm.stackrestore.p0(ptr %135)
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 200, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #5
  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: nounwind
declare float @powf(float noundef, float noundef) #2

declare ptr @fskframegen_create(...) #3

declare ptr @fskframesync_create(ptr noundef, ptr noundef) #3

declare i32 @framing_autotest_callback(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef byval(%struct.framesyncstats_s) align 8, ptr noundef) #3

; Function Attrs: nounwind
declare i32 @rand() #2

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

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

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

declare float @randnf(...) #3

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

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

declare void @liquid_autotest_passed(...) #3

declare i32 @fskframegen_destroy(ptr noundef) #3

declare i32 @fskframesync_destroy(ptr noundef) #3

; 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) #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 = { 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 = { nocallback nofree nosync nounwind willreturn }
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 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = distinct !{!17, !15}
!18 = distinct !{!18, !15}


; 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.framesyncstats_s = type { float, float, float, ptr, i32, i32, i32, i32, i32, i32 }

@.str = external hidden unnamed_addr constant [96 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @autotest_fskframesync() local_unnamed_addr #0 {
.preheader.preheader:
  %0 = alloca i32, align 4
  %1 = alloca [8 x i8], align 8
  %2 = alloca [200 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %0) #5
  store i32 0, ptr %0, align 4, !tbaa !5
  %3 = tail call ptr (...) @fskframegen_create() #5
  %4 = call ptr @fskframesync_create(ptr noundef nonnull @framing_autotest_callback, ptr noundef nonnull %0) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 200, ptr nonnull %2) #5
  store <8 x i8> <i8 0, i8 1, i8 2, i8 3, i8 4, i8 5, i8 6, i8 7>, ptr %1, align 8, !tbaa !9
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %.preheader
  %indvars.iv = phi i64 [ 0, %.preheader.preheader ], [ %indvars.iv.next, %.preheader ]
  %5 = call i32 @rand() #5
  %6 = trunc i32 %5 to i8
  %7 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 %indvars.iv
  store i8 %6, ptr %7, align 1, !tbaa !9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 200
  br i1 %exitcond.not, label %8, label %.preheader, !llvm.loop !10

8:                                                ; preds = %.preheader
  %9 = call i32 @fskframegen_assemble(ptr noundef %3, ptr noundef nonnull %1, ptr noundef nonnull %2, i32 noundef 200, i32 noundef 6, i32 noundef 1, i32 noundef 1) #5
  %10 = call ptr @llvm.stacksave.p0()
  %11 = alloca [256 x { float, float }], align 16
  %12 = alloca [256 x { float, float }], align 16
  br label %13

13:                                               ; preds = %8, %31
  %14 = call i32 @fskframegen_write_samples(ptr noundef %3, ptr noundef nonnull %11, i32 noundef 256) #5
  br label %15

15:                                               ; preds = %13, %15
  %indvars.iv38 = phi i64 [ 0, %13 ], [ %indvars.iv.next39, %15 ]
  %16 = getelementptr inbounds { float, float }, ptr %11, i64 %indvars.iv38
  %17 = getelementptr inbounds { float, float }, ptr %12, i64 %indvars.iv38
  %18 = load <2 x float>, ptr %16, align 8
  %19 = fpext <2 x float> %18 to <2 x double>
  %20 = call float (...) @randnf() #5
  %21 = call float (...) @randnf() #5
  %22 = fmul float %21, 0.000000e+00
  %23 = fadd float %20, %22
  %24 = insertelement <2 x float> poison, float %23, i64 0
  %25 = insertelement <2 x float> %24, float %21, i64 1
  %26 = fmul <2 x float> %25, <float 0x3FB99999A0000000, float 0x3FB99999A0000000>
  %27 = fpext <2 x float> %26 to <2 x double>
  %28 = fmul <2 x double> %27, <double 0x3FE6A09E667F3BCD, double 0x3FE6A09E667F3BCD>
  %29 = fadd <2 x double> %28, %19
  %30 = fptrunc <2 x double> %29 to <2 x float>
  store <2 x float> %30, ptr %17, align 8
  %indvars.iv.next39 = add nuw nsw i64 %indvars.iv38, 1
  %exitcond41.not = icmp eq i64 %indvars.iv.next39, 256
  br i1 %exitcond41.not, label %31, label %15, !llvm.loop !12

31:                                               ; preds = %15
  %32 = call i32 @fskframesync_execute_block(ptr noundef %4, ptr noundef nonnull %12, i32 noundef 256) #5
  %.not = icmp eq i32 %14, 0
  br i1 %.not, label %13, label %33, !llvm.loop !13

33:                                               ; preds = %31
  %34 = load i32, ptr %0, align 4, !tbaa !5
  %.not32 = icmp eq i32 %34, 19088743
  br i1 %.not32, label %37, label %35

35:                                               ; preds = %33
  %36 = uitofp i32 %34 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 83, ptr noundef nonnull @.str.1, double noundef %36, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 0x4172345670000000) #5
  br label %38

37:                                               ; preds = %33
  call void (...) @liquid_autotest_passed() #5
  br label %38

38:                                               ; preds = %37, %35
  %39 = call i32 @fskframegen_destroy(ptr noundef %3) #5
  %40 = call i32 @fskframesync_destroy(ptr noundef %4) #5
  call void @llvm.stackrestore.p0(ptr %10)
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %0) #5
  ret void
}

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

declare ptr @fskframegen_create(...) local_unnamed_addr #2

declare ptr @fskframesync_create(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @framing_autotest_callback(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef byval(%struct.framesyncstats_s) align 8, ptr noundef) #2

; Function Attrs: nounwind
declare i32 @rand() local_unnamed_addr #3

declare i32 @fskframegen_assemble(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

declare i32 @fskframegen_write_samples(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare float @randnf(...) local_unnamed_addr #2

declare i32 @fskframesync_execute_block(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

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

declare i32 @fskframegen_destroy(ptr noundef) local_unnamed_addr #2

declare i32 @fskframesync_destroy(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 = { mustprogress 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 = { 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 = { mustprogress nocallback nofree nosync nounwind willreturn }
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 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
!13 = distinct !{!13, !11}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,LoopSimplifyPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass