; LLVM IR from jgaeddert/liquid-dsp :: src/framing/bench (bpresync_benchmark)

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

; Function Attrs: nounwind uwtable
define dso_local void @bpresync_cccf_bench(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca ptr, align 8
  %15 = alloca [7 x { float, float }], align 16
  %16 = alloca { float, float }, align 4
  %17 = alloca float, align 4
  %18 = alloca { float, float }, align 4
  %19 = alloca { float, float }, align 4
  %20 = alloca { float, float }, align 4
  %21 = alloca { float, float }, align 4
  %22 = alloca { float, float }, align 4
  %23 = alloca { float, float }, align 4
  %24 = alloca { float, float }, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !9
  %25 = load ptr, ptr %8, align 8, !tbaa !5
  %26 = load i64, ptr %25, align 8, !tbaa !11
  %27 = mul i64 %26, 4
  store i64 %27, ptr %25, align 8, !tbaa !11
  %28 = load i32, ptr %9, align 4, !tbaa !9
  %29 = zext i32 %28 to i64
  %30 = load ptr, ptr %8, align 8, !tbaa !5
  %31 = load i64, ptr %30, align 8, !tbaa !11
  %32 = udiv i64 %31, %29
  store i64 %32, ptr %30, align 8, !tbaa !11
  %33 = load i32, ptr %10, align 4, !tbaa !9
  %34 = zext i32 %33 to i64
  %35 = load ptr, ptr %8, align 8, !tbaa !5
  %36 = load i64, ptr %35, align 8, !tbaa !11
  %37 = udiv i64 %36, %34
  store i64 %37, ptr %35, align 8, !tbaa !11
  %38 = load i32, ptr %9, align 4, !tbaa !9
  %39 = zext i32 %38 to i64
  %40 = call ptr @llvm.stacksave.p0()
  store ptr %40, ptr %11, align 8
  %41 = alloca { float, float }, i64 %39, align 16
  store i64 %39, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  store i64 0, ptr %13, align 8, !tbaa !11
  br label %42

42:                                               ; preds = %65, %5
  %43 = load i64, ptr %13, align 8, !tbaa !11
  %44 = load i32, ptr %9, align 4, !tbaa !9
  %45 = zext i32 %44 to i64
  %46 = icmp ult i64 %43, %45
  br i1 %46, label %47, label %68

47:                                               ; preds = %42
  %48 = call i32 @rand() #5
  %49 = srem i32 %48, 2
  %50 = icmp ne i32 %49, 0
  %51 = zext i1 %50 to i64
  %52 = select i1 %50, float 1.000000e+00, float -1.000000e+00
  %53 = call i32 @rand() #5
  %54 = srem i32 %53, 2
  %55 = icmp ne i32 %54, 0
  %56 = zext i1 %55 to i64
  %57 = select i1 %55, float 1.000000e+00, float -1.000000e+00
  %58 = fmul float %57, 0.000000e+00
  %59 = fmul float %57, 1.000000e+00
  %60 = fadd float %52, %58
  %61 = load i64, ptr %13, align 8, !tbaa !11
  %62 = getelementptr inbounds { float, float }, ptr %41, i64 %61
  %63 = getelementptr inbounds { float, float }, ptr %62, i32 0, i32 0
  %64 = getelementptr inbounds { float, float }, ptr %62, i32 0, i32 1
  store float %60, ptr %63, align 8
  store float %59, ptr %64, align 4
  br label %65

65:                                               ; preds = %47
  %66 = load i64, ptr %13, align 8, !tbaa !11
  %67 = add i64 %66, 1
  store i64 %67, ptr %13, align 8, !tbaa !11
  br label %42, !llvm.loop !13

68:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %69 = load i32, ptr %9, align 4, !tbaa !9
  %70 = load i32, ptr %10, align 4, !tbaa !9
  %71 = call ptr @bpresync_cccf_create(ptr noundef %41, i32 noundef %69, float noundef 0x3FB99999A0000000, i32 noundef %70)
  store ptr %71, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 56, ptr %15) #5
  store i64 0, ptr %13, align 8, !tbaa !11
  br label %72

72:                                               ; preds = %93, %68
  %73 = load i64, ptr %13, align 8, !tbaa !11
  %74 = icmp ult i64 %73, 7
  br i1 %74, label %75, label %96

75:                                               ; preds = %72
  %76 = call i32 @rand() #5
  %77 = srem i32 %76, 2
  %78 = icmp ne i32 %77, 0
  %79 = zext i1 %78 to i64
  %80 = select i1 %78, float 1.000000e+00, float -1.000000e+00
  %81 = call i32 @rand() #5
  %82 = srem i32 %81, 2
  %83 = icmp ne i32 %82, 0
  %84 = zext i1 %83 to i64
  %85 = select i1 %83, float 1.000000e+00, float -1.000000e+00
  %86 = fmul float %85, 0.000000e+00
  %87 = fmul float %85, 1.000000e+00
  %88 = fadd float %80, %86
  %89 = load i64, ptr %13, align 8, !tbaa !11
  %90 = getelementptr inbounds [7 x { float, float }], ptr %15, i64 0, i64 %89
  %91 = getelementptr inbounds { float, float }, ptr %90, i32 0, i32 0
  %92 = getelementptr inbounds { float, float }, ptr %90, i32 0, i32 1
  store float %88, ptr %91, align 8
  store float %87, ptr %92, align 4
  br label %93

93:                                               ; preds = %75
  %94 = load i64, ptr %13, align 8, !tbaa !11
  %95 = add i64 %94, 1
  store i64 %95, ptr %13, align 8, !tbaa !11
  br label %72, !llvm.loop !15

96:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %97 = load ptr, ptr %6, align 8, !tbaa !5
  %98 = call i32 @getrusage(i32 noundef 0, ptr noundef %97) #5
  store i64 0, ptr %13, align 8, !tbaa !11
  br label %99

99:                                               ; preds = %189, %96
  %100 = load i64, ptr %13, align 8, !tbaa !11
  %101 = load ptr, ptr %8, align 8, !tbaa !5
  %102 = load i64, ptr %101, align 8, !tbaa !11
  %103 = icmp ult i64 %100, %102
  br i1 %103, label %104, label %192

104:                                              ; preds = %99
  %105 = load ptr, ptr %14, align 8, !tbaa !5
  %106 = getelementptr inbounds [7 x { float, float }], ptr %15, i64 0, i64 0
  %107 = getelementptr inbounds { float, float }, ptr %106, i32 0, i32 0
  %108 = load float, ptr %107, align 16
  %109 = getelementptr inbounds { float, float }, ptr %106, i32 0, i32 1
  %110 = load float, ptr %109, align 4
  %111 = getelementptr inbounds { float, float }, ptr %18, i32 0, i32 0
  %112 = getelementptr inbounds { float, float }, ptr %18, i32 0, i32 1
  store float %108, ptr %111, align 4
  store float %110, ptr %112, align 4
  %113 = load <2 x float>, ptr %18, align 4
  %114 = call i32 @bpresync_cccf_push(ptr noundef %105, <2 x float> noundef %113)
  %115 = load ptr, ptr %14, align 8, !tbaa !5
  %116 = call i32 @bpresync_cccf_execute(ptr noundef %115, ptr noundef %16, ptr noundef %17)
  %117 = load ptr, ptr %14, align 8, !tbaa !5
  %118 = getelementptr inbounds [7 x { float, float }], ptr %15, i64 0, i64 1
  %119 = getelementptr inbounds { float, float }, ptr %118, i32 0, i32 0
  %120 = load float, ptr %119, align 8
  %121 = getelementptr inbounds { float, float }, ptr %118, i32 0, i32 1
  %122 = load float, ptr %121, align 4
  %123 = getelementptr inbounds { float, float }, ptr %19, i32 0, i32 0
  %124 = getelementptr inbounds { float, float }, ptr %19, i32 0, i32 1
  store float %120, ptr %123, align 4
  store float %122, ptr %124, align 4
  %125 = load <2 x float>, ptr %19, align 4
  %126 = call i32 @bpresync_cccf_push(ptr noundef %117, <2 x float> noundef %125)
  %127 = load ptr, ptr %14, align 8, !tbaa !5
  %128 = call i32 @bpresync_cccf_execute(ptr noundef %127, ptr noundef %16, ptr noundef %17)
  %129 = load ptr, ptr %14, align 8, !tbaa !5
  %130 = getelementptr inbounds [7 x { float, float }], ptr %15, i64 0, i64 2
  %131 = getelementptr inbounds { float, float }, ptr %130, i32 0, i32 0
  %132 = load float, ptr %131, align 16
  %133 = getelementptr inbounds { float, float }, ptr %130, i32 0, i32 1
  %134 = load float, ptr %133, align 4
  %135 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 0
  %136 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 1
  store float %132, ptr %135, align 4
  store float %134, ptr %136, align 4
  %137 = load <2 x float>, ptr %20, align 4
  %138 = call i32 @bpresync_cccf_push(ptr noundef %129, <2 x float> noundef %137)
  %139 = load ptr, ptr %14, align 8, !tbaa !5
  %140 = call i32 @bpresync_cccf_execute(ptr noundef %139, ptr noundef %16, ptr noundef %17)
  %141 = load ptr, ptr %14, align 8, !tbaa !5
  %142 = getelementptr inbounds [7 x { float, float }], ptr %15, i64 0, i64 3
  %143 = getelementptr inbounds { float, float }, ptr %142, i32 0, i32 0
  %144 = load float, ptr %143, align 8
  %145 = getelementptr inbounds { float, float }, ptr %142, i32 0, i32 1
  %146 = load float, ptr %145, align 4
  %147 = getelementptr inbounds { float, float }, ptr %21, i32 0, i32 0
  %148 = getelementptr inbounds { float, float }, ptr %21, i32 0, i32 1
  store float %144, ptr %147, align 4
  store float %146, ptr %148, align 4
  %149 = load <2 x float>, ptr %21, align 4
  %150 = call i32 @bpresync_cccf_push(ptr noundef %141, <2 x float> noundef %149)
  %151 = load ptr, ptr %14, align 8, !tbaa !5
  %152 = call i32 @bpresync_cccf_execute(ptr noundef %151, ptr noundef %16, ptr noundef %17)
  %153 = load ptr, ptr %14, align 8, !tbaa !5
  %154 = getelementptr inbounds [7 x { float, float }], ptr %15, i64 0, i64 4
  %155 = getelementptr inbounds { float, float }, ptr %154, i32 0, i32 0
  %156 = load float, ptr %155, align 16
  %157 = getelementptr inbounds { float, float }, ptr %154, i32 0, i32 1
  %158 = load float, ptr %157, align 4
  %159 = getelementptr inbounds { float, float }, ptr %22, i32 0, i32 0
  %160 = getelementptr inbounds { float, float }, ptr %22, i32 0, i32 1
  store float %156, ptr %159, align 4
  store float %158, ptr %160, align 4
  %161 = load <2 x float>, ptr %22, align 4
  %162 = call i32 @bpresync_cccf_push(ptr noundef %153, <2 x float> noundef %161)
  %163 = load ptr, ptr %14, align 8, !tbaa !5
  %164 = call i32 @bpresync_cccf_execute(ptr noundef %163, ptr noundef %16, ptr noundef %17)
  %165 = load ptr, ptr %14, align 8, !tbaa !5
  %166 = getelementptr inbounds [7 x { float, float }], ptr %15, i64 0, i64 5
  %167 = getelementptr inbounds { float, float }, ptr %166, i32 0, i32 0
  %168 = load float, ptr %167, align 8
  %169 = getelementptr inbounds { float, float }, ptr %166, i32 0, i32 1
  %170 = load float, ptr %169, align 4
  %171 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 0
  %172 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 1
  store float %168, ptr %171, align 4
  store float %170, ptr %172, align 4
  %173 = load <2 x float>, ptr %23, align 4
  %174 = call i32 @bpresync_cccf_push(ptr noundef %165, <2 x float> noundef %173)
  %175 = load ptr, ptr %14, align 8, !tbaa !5
  %176 = call i32 @bpresync_cccf_execute(ptr noundef %175, ptr noundef %16, ptr noundef %17)
  %177 = load ptr, ptr %14, align 8, !tbaa !5
  %178 = getelementptr inbounds [7 x { float, float }], ptr %15, i64 0, i64 6
  %179 = getelementptr inbounds { float, float }, ptr %178, i32 0, i32 0
  %180 = load float, ptr %179, align 16
  %181 = getelementptr inbounds { float, float }, ptr %178, i32 0, i32 1
  %182 = load float, ptr %181, align 4
  %183 = getelementptr inbounds { float, float }, ptr %24, i32 0, i32 0
  %184 = getelementptr inbounds { float, float }, ptr %24, i32 0, i32 1
  store float %180, ptr %183, align 4
  store float %182, ptr %184, align 4
  %185 = load <2 x float>, ptr %24, align 4
  %186 = call i32 @bpresync_cccf_push(ptr noundef %177, <2 x float> noundef %185)
  %187 = load ptr, ptr %14, align 8, !tbaa !5
  %188 = call i32 @bpresync_cccf_execute(ptr noundef %187, ptr noundef %16, ptr noundef %17)
  br label %189

189:                                              ; preds = %104
  %190 = load i64, ptr %13, align 8, !tbaa !11
  %191 = add i64 %190, 1
  store i64 %191, ptr %13, align 8, !tbaa !11
  br label %99, !llvm.loop !16

192:                                              ; preds = %99
  %193 = load ptr, ptr %7, align 8, !tbaa !5
  %194 = call i32 @getrusage(i32 noundef 0, ptr noundef %193) #5
  %195 = load ptr, ptr %8, align 8, !tbaa !5
  %196 = load i64, ptr %195, align 8, !tbaa !11
  %197 = mul i64 %196, 7
  store i64 %197, ptr %195, align 8, !tbaa !11
  %198 = load ptr, ptr %14, align 8, !tbaa !5
  %199 = call i32 @bpresync_cccf_destroy(ptr noundef %198)
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 56, 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
  %200 = load ptr, ptr %11, align 8
  call void @llvm.stackrestore.p0(ptr %200)
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #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 i32 @rand() #3

declare ptr @bpresync_cccf_create(ptr noundef, i32 noundef, float noundef, i32 noundef) #4

; Function Attrs: nounwind
declare i32 @getrusage(i32 noundef, ptr noundef) #3

declare i32 @bpresync_cccf_push(ptr noundef, <2 x float> noundef) #4

declare i32 @bpresync_cccf_execute(ptr noundef, ptr noundef, ptr noundef) #4

declare i32 @bpresync_cccf_destroy(ptr noundef) #4

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #1

attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "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 }
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 = { "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 }

!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 = !{!"any pointer", !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 = !{!"long", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !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"

; Function Attrs: nounwind uwtable
define dso_local void @bpresync_cccf_bench(ptr noundef %0, ptr noundef %1, ptr nocapture noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
  %6 = alloca { float, float }, align 4
  %7 = alloca float, align 4
  %8 = load i64, ptr %2, align 8, !tbaa !5
  %9 = shl i64 %8, 2
  %10 = zext i32 %3 to i64
  %11 = udiv i64 %9, %10
  %12 = zext i32 %4 to i64
  %13 = udiv i64 %11, %12
  store i64 %13, ptr %2, align 8, !tbaa !5
  %14 = alloca { float, float }, i64 %10, align 16
  %umax = tail call i64 @llvm.umax.i64(i64 %10, i64 1)
  br label %15

15:                                               ; preds = %5, %15
  %.052 = phi i64 [ 0, %5 ], [ %26, %15 ]
  %16 = tail call i32 @rand() #5
  %17 = and i32 %16, 1
  %.not50 = icmp eq i32 %17, 0
  %18 = select i1 %.not50, float -1.000000e+00, float 1.000000e+00
  %19 = tail call i32 @rand() #5
  %20 = and i32 %19, 1
  %.not51 = icmp eq i32 %20, 0
  %21 = select i1 %.not51, float -1.000000e+00, float 1.000000e+00
  %22 = tail call float @llvm.copysign.f32(float 0.000000e+00, float %21)
  %23 = fadd float %18, %22
  %24 = getelementptr inbounds { float, float }, ptr %14, i64 %.052
  %25 = getelementptr inbounds i8, ptr %24, i64 4
  store float %23, ptr %24, align 8
  store float %21, ptr %25, align 4
  %26 = add nuw nsw i64 %.052, 1
  %exitcond.not = icmp eq i64 %26, %umax
  br i1 %exitcond.not, label %27, label %15, !llvm.loop !9

27:                                               ; preds = %15
  %28 = call ptr @bpresync_cccf_create(ptr noundef nonnull %14, i32 noundef %3, float noundef 0x3FB99999A0000000, i32 noundef %4) #5
  %29 = call i32 @rand() #5
  %30 = call i32 @rand() #5
  %31 = call i32 @rand() #5
  %32 = call i32 @rand() #5
  %33 = call i32 @rand() #5
  %34 = call i32 @rand() #5
  %35 = call i32 @rand() #5
  %36 = call i32 @rand() #5
  %37 = call i32 @rand() #5
  %38 = call i32 @rand() #5
  %39 = call i32 @rand() #5
  %40 = call i32 @rand() #5
  %41 = call i32 @rand() #5
  %42 = call i32 @rand() #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5
  %43 = call i32 @getrusage(i32 noundef 0, ptr noundef %0) #5
  %44 = load i64, ptr %2, align 8, !tbaa !5
  %.not55 = icmp eq i64 %44, 0
  br i1 %.not55, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %27
  %45 = and i32 %41, 1
  %.not.6 = icmp eq i32 %45, 0
  %46 = select i1 %.not.6, float -1.000000e+00, float 1.000000e+00
  %47 = and i32 %42, 1
  %.not49.6 = icmp eq i32 %47, 0
  %48 = select i1 %.not49.6, float -1.000000e+00, float 1.000000e+00
  %49 = call float @llvm.copysign.f32(float 0.000000e+00, float %48)
  %50 = fadd float %46, %49
  %51 = and i32 %39, 1
  %.not.5 = icmp eq i32 %51, 0
  %52 = select i1 %.not.5, float -1.000000e+00, float 1.000000e+00
  %53 = and i32 %40, 1
  %.not49.5 = icmp eq i32 %53, 0
  %54 = select i1 %.not49.5, float -1.000000e+00, float 1.000000e+00
  %55 = call float @llvm.copysign.f32(float 0.000000e+00, float %54)
  %56 = fadd float %52, %55
  %57 = and i32 %37, 1
  %.not.4 = icmp eq i32 %57, 0
  %58 = select i1 %.not.4, float -1.000000e+00, float 1.000000e+00
  %59 = and i32 %38, 1
  %.not49.4 = icmp eq i32 %59, 0
  %60 = select i1 %.not49.4, float -1.000000e+00, float 1.000000e+00
  %61 = call float @llvm.copysign.f32(float 0.000000e+00, float %60)
  %62 = fadd float %58, %61
  %63 = and i32 %35, 1
  %.not.3 = icmp eq i32 %63, 0
  %64 = select i1 %.not.3, float -1.000000e+00, float 1.000000e+00
  %65 = and i32 %36, 1
  %.not49.3 = icmp eq i32 %65, 0
  %66 = select i1 %.not49.3, float -1.000000e+00, float 1.000000e+00
  %67 = call float @llvm.copysign.f32(float 0.000000e+00, float %66)
  %68 = fadd float %64, %67
  %69 = and i32 %33, 1
  %.not.2 = icmp eq i32 %69, 0
  %70 = select i1 %.not.2, float -1.000000e+00, float 1.000000e+00
  %71 = and i32 %34, 1
  %.not49.2 = icmp eq i32 %71, 0
  %72 = select i1 %.not49.2, float -1.000000e+00, float 1.000000e+00
  %73 = call float @llvm.copysign.f32(float 0.000000e+00, float %72)
  %74 = fadd float %70, %73
  %75 = and i32 %31, 1
  %.not.1 = icmp eq i32 %75, 0
  %76 = select i1 %.not.1, float -1.000000e+00, float 1.000000e+00
  %77 = and i32 %32, 1
  %.not49.1 = icmp eq i32 %77, 0
  %78 = select i1 %.not49.1, float -1.000000e+00, float 1.000000e+00
  %79 = call float @llvm.copysign.f32(float 0.000000e+00, float %78)
  %80 = fadd float %76, %79
  %81 = and i32 %29, 1
  %.not = icmp eq i32 %81, 0
  %82 = select i1 %.not, float -1.000000e+00, float 1.000000e+00
  %83 = and i32 %30, 1
  %.not49 = icmp eq i32 %83, 0
  %84 = select i1 %.not49, float -1.000000e+00, float 1.000000e+00
  %85 = call float @llvm.copysign.f32(float 0.000000e+00, float %84)
  %86 = fadd float %82, %85
  %.sroa.012.0.vec.insert = insertelement <2 x float> poison, float %86, i64 0
  %.sroa.012.4.vec.insert = insertelement <2 x float> %.sroa.012.0.vec.insert, float %84, i64 1
  %.sroa.010.0.vec.insert = insertelement <2 x float> poison, float %80, i64 0
  %.sroa.010.4.vec.insert = insertelement <2 x float> %.sroa.010.0.vec.insert, float %78, i64 1
  %.sroa.08.0.vec.insert = insertelement <2 x float> poison, float %74, i64 0
  %.sroa.08.4.vec.insert = insertelement <2 x float> %.sroa.08.0.vec.insert, float %72, i64 1
  %.sroa.06.0.vec.insert = insertelement <2 x float> poison, float %68, i64 0
  %.sroa.06.4.vec.insert = insertelement <2 x float> %.sroa.06.0.vec.insert, float %66, i64 1
  %.sroa.04.0.vec.insert = insertelement <2 x float> poison, float %62, i64 0
  %.sroa.04.4.vec.insert = insertelement <2 x float> %.sroa.04.0.vec.insert, float %60, i64 1
  %.sroa.02.0.vec.insert = insertelement <2 x float> poison, float %56, i64 0
  %.sroa.02.4.vec.insert = insertelement <2 x float> %.sroa.02.0.vec.insert, float %54, i64 1
  %.sroa.0.0.vec.insert = insertelement <2 x float> poison, float %50, i64 0
  %.sroa.0.4.vec.insert = insertelement <2 x float> %.sroa.0.0.vec.insert, float %48, i64 1
  br label %87

87:                                               ; preds = %.lr.ph, %87
  %.254 = phi i64 [ 0, %.lr.ph ], [ %102, %87 ]
  %88 = call i32 @bpresync_cccf_push(ptr noundef %28, <2 x float> noundef %.sroa.012.4.vec.insert) #5
  %89 = call i32 @bpresync_cccf_execute(ptr noundef %28, ptr noundef nonnull %6, ptr noundef nonnull %7) #5
  %90 = call i32 @bpresync_cccf_push(ptr noundef %28, <2 x float> noundef %.sroa.010.4.vec.insert) #5
  %91 = call i32 @bpresync_cccf_execute(ptr noundef %28, ptr noundef nonnull %6, ptr noundef nonnull %7) #5
  %92 = call i32 @bpresync_cccf_push(ptr noundef %28, <2 x float> noundef %.sroa.08.4.vec.insert) #5
  %93 = call i32 @bpresync_cccf_execute(ptr noundef %28, ptr noundef nonnull %6, ptr noundef nonnull %7) #5
  %94 = call i32 @bpresync_cccf_push(ptr noundef %28, <2 x float> noundef %.sroa.06.4.vec.insert) #5
  %95 = call i32 @bpresync_cccf_execute(ptr noundef %28, ptr noundef nonnull %6, ptr noundef nonnull %7) #5
  %96 = call i32 @bpresync_cccf_push(ptr noundef %28, <2 x float> noundef %.sroa.04.4.vec.insert) #5
  %97 = call i32 @bpresync_cccf_execute(ptr noundef %28, ptr noundef nonnull %6, ptr noundef nonnull %7) #5
  %98 = call i32 @bpresync_cccf_push(ptr noundef %28, <2 x float> noundef %.sroa.02.4.vec.insert) #5
  %99 = call i32 @bpresync_cccf_execute(ptr noundef %28, ptr noundef nonnull %6, ptr noundef nonnull %7) #5
  %100 = call i32 @bpresync_cccf_push(ptr noundef %28, <2 x float> noundef %.sroa.0.4.vec.insert) #5
  %101 = call i32 @bpresync_cccf_execute(ptr noundef %28, ptr noundef nonnull %6, ptr noundef nonnull %7) #5
  %102 = add nuw i64 %.254, 1
  %103 = load i64, ptr %2, align 8, !tbaa !5
  %104 = icmp ult i64 %102, %103
  br i1 %104, label %87, label %._crit_edge, !llvm.loop !11

._crit_edge:                                      ; preds = %87, %27
  %105 = call i32 @getrusage(i32 noundef 0, ptr noundef %1) #5
  %106 = load i64, ptr %2, align 8, !tbaa !5
  %107 = mul i64 %106, 7
  store i64 %107, ptr %2, align 8, !tbaa !5
  %108 = call i32 @bpresync_cccf_destroy(ptr noundef %28) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #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

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

declare ptr @bpresync_cccf_create(ptr noundef, i32 noundef, float noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: nounwind
declare i32 @getrusage(i32 noundef, ptr noundef) local_unnamed_addr #2

declare i32 @bpresync_cccf_push(ptr noundef, <2 x float> noundef) local_unnamed_addr #3

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

declare i32 @bpresync_cccf_destroy(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress 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 speculatable willreturn memory(none)
declare float @llvm.copysign.f32(float, float) #4

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "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 = { 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 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 = !{!"long", !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: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass