; LLVM IR from hans-ob1/neural_cam_ros :: src/detector (data)

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

@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [4 x i8], align 1

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

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

declare void @find_replace(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local ptr @read_boxes(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @randomize_boxes(ptr noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @correct_boxes(ptr noundef, i32 noundef, float noundef, float noundef, float noundef, float noundef, i32 noundef) #2

; Function Attrs: nounwind
declare void @free(ptr noundef) #3

; Function Attrs: nounwind uwtable
define dso_local void @fill_truth_detection(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, float noundef %5, float noundef %6, float noundef %7, float noundef %8) #2 {
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca [4096 x i8], align 16
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca float, align 4
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  %25 = alloca float, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  store ptr %0, ptr %10, align 8, !tbaa !5
  store i32 %1, ptr %11, align 4, !tbaa !9
  store ptr %2, ptr %12, align 8, !tbaa !5
  store i32 %3, ptr %13, align 4, !tbaa !9
  store i32 %4, ptr %14, align 4, !tbaa !9
  store float %5, ptr %15, align 4, !tbaa !11
  store float %6, ptr %16, align 4, !tbaa !11
  store float %7, ptr %17, align 4, !tbaa !11
  store float %8, ptr %18, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4096, ptr %19) #4
  %28 = load ptr, ptr %10, align 8, !tbaa !5
  %29 = getelementptr inbounds [4096 x i8], ptr %19, i64 0, i64 0
  call void @find_replace(ptr noundef %28, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef %29)
  %30 = getelementptr inbounds [4096 x i8], ptr %19, i64 0, i64 0
  %31 = getelementptr inbounds [4096 x i8], ptr %19, i64 0, i64 0
  call void @find_replace(ptr noundef %30, ptr noundef @.str.4, ptr noundef @.str.3, ptr noundef %31)
  %32 = getelementptr inbounds [4096 x i8], ptr %19, i64 0, i64 0
  %33 = getelementptr inbounds [4096 x i8], ptr %19, i64 0, i64 0
  call void @find_replace(ptr noundef %32, ptr noundef @.str.10, ptr noundef @.str.3, ptr noundef %33)
  %34 = getelementptr inbounds [4096 x i8], ptr %19, i64 0, i64 0
  %35 = getelementptr inbounds [4096 x i8], ptr %19, i64 0, i64 0
  call void @find_replace(ptr noundef %34, ptr noundef @.str.5, ptr noundef @.str.6, ptr noundef %35)
  %36 = getelementptr inbounds [4096 x i8], ptr %19, i64 0, i64 0
  %37 = getelementptr inbounds [4096 x i8], ptr %19, i64 0, i64 0
  call void @find_replace(ptr noundef %36, ptr noundef @.str.9, ptr noundef @.str.6, ptr noundef %37)
  %38 = getelementptr inbounds [4096 x i8], ptr %19, i64 0, i64 0
  %39 = getelementptr inbounds [4096 x i8], ptr %19, i64 0, i64 0
  call void @find_replace(ptr noundef %38, ptr noundef @.str.7, ptr noundef @.str.6, ptr noundef %39)
  %40 = getelementptr inbounds [4096 x i8], ptr %19, i64 0, i64 0
  %41 = getelementptr inbounds [4096 x i8], ptr %19, i64 0, i64 0
  call void @find_replace(ptr noundef %40, ptr noundef @.str.8, ptr noundef @.str.6, ptr noundef %41)
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  store i32 0, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  %42 = getelementptr inbounds [4096 x i8], ptr %19, i64 0, i64 0
  %43 = call ptr @read_boxes(ptr noundef %42, ptr noundef %20)
  store ptr %43, ptr %21, align 8, !tbaa !5
  %44 = load ptr, ptr %21, align 8, !tbaa !5
  %45 = load i32, ptr %20, align 4, !tbaa !9
  call void @randomize_boxes(ptr noundef %44, i32 noundef %45)
  %46 = load ptr, ptr %21, align 8, !tbaa !5
  %47 = load i32, ptr %20, align 4, !tbaa !9
  %48 = load float, ptr %15, align 4, !tbaa !11
  %49 = load float, ptr %16, align 4, !tbaa !11
  %50 = load float, ptr %17, align 4, !tbaa !11
  %51 = load float, ptr %18, align 4, !tbaa !11
  %52 = load i32, ptr %14, align 4, !tbaa !9
  call void @correct_boxes(ptr noundef %46, i32 noundef %47, float noundef %48, float noundef %49, float noundef %50, float noundef %51, i32 noundef %52)
  %53 = load i32, ptr %20, align 4, !tbaa !9
  %54 = load i32, ptr %11, align 4, !tbaa !9
  %55 = icmp sgt i32 %53, %54
  br i1 %55, label %56, label %58

56:                                               ; preds = %9
  %57 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %57, ptr %20, align 4, !tbaa !9
  br label %58

58:                                               ; preds = %56, %9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #4
  store i32 0, ptr %27, align 4, !tbaa !9
  br label %59

59:                                               ; preds = %139, %58
  %60 = load i32, ptr %27, align 4, !tbaa !9
  %61 = load i32, ptr %20, align 4, !tbaa !9
  %62 = icmp slt i32 %60, %61
  br i1 %62, label %63, label %142

63:                                               ; preds = %59
  %64 = load ptr, ptr %21, align 8, !tbaa !5
  %65 = load i32, ptr %27, align 4, !tbaa !9
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds %struct.box_label, ptr %64, i64 %66
  %68 = getelementptr inbounds %struct.box_label, ptr %67, i32 0, i32 1
  %69 = load float, ptr %68, align 4, !tbaa !13
  store float %69, ptr %22, align 4, !tbaa !11
  %70 = load ptr, ptr %21, align 8, !tbaa !5
  %71 = load i32, ptr %27, align 4, !tbaa !9
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds %struct.box_label, ptr %70, i64 %72
  %74 = getelementptr inbounds %struct.box_label, ptr %73, i32 0, i32 2
  %75 = load float, ptr %74, align 4, !tbaa !15
  store float %75, ptr %23, align 4, !tbaa !11
  %76 = load ptr, ptr %21, align 8, !tbaa !5
  %77 = load i32, ptr %27, align 4, !tbaa !9
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds %struct.box_label, ptr %76, i64 %78
  %80 = getelementptr inbounds %struct.box_label, ptr %79, i32 0, i32 3
  %81 = load float, ptr %80, align 4, !tbaa !16
  store float %81, ptr %24, align 4, !tbaa !11
  %82 = load ptr, ptr %21, align 8, !tbaa !5
  %83 = load i32, ptr %27, align 4, !tbaa !9
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds %struct.box_label, ptr %82, i64 %84
  %86 = getelementptr inbounds %struct.box_label, ptr %85, i32 0, i32 4
  %87 = load float, ptr %86, align 4, !tbaa !17
  store float %87, ptr %25, align 4, !tbaa !11
  %88 = load ptr, ptr %21, align 8, !tbaa !5
  %89 = load i32, ptr %27, align 4, !tbaa !9
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds %struct.box_label, ptr %88, i64 %90
  %92 = getelementptr inbounds %struct.box_label, ptr %91, i32 0, i32 0
  %93 = load i32, ptr %92, align 4, !tbaa !18
  store i32 %93, ptr %26, align 4, !tbaa !9
  %94 = load float, ptr %24, align 4, !tbaa !11
  %95 = fpext float %94 to double
  %96 = fcmp olt double %95, 5.000000e-03
  br i1 %96, label %101, label %97

97:                                               ; preds = %63
  %98 = load float, ptr %25, align 4, !tbaa !11
  %99 = fpext float %98 to double
  %100 = fcmp olt double %99, 5.000000e-03
  br i1 %100, label %101, label %102

101:                                              ; preds = %97, %63
  br label %139

102:                                              ; preds = %97
  %103 = load float, ptr %22, align 4, !tbaa !11
  %104 = load ptr, ptr %12, align 8, !tbaa !5
  %105 = load i32, ptr %27, align 4, !tbaa !9
  %106 = mul nsw i32 %105, 5
  %107 = add nsw i32 %106, 0
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds float, ptr %104, i64 %108
  store float %103, ptr %109, align 4, !tbaa !11
  %110 = load float, ptr %23, align 4, !tbaa !11
  %111 = load ptr, ptr %12, align 8, !tbaa !5
  %112 = load i32, ptr %27, align 4, !tbaa !9
  %113 = mul nsw i32 %112, 5
  %114 = add nsw i32 %113, 1
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds float, ptr %111, i64 %115
  store float %110, ptr %116, align 4, !tbaa !11
  %117 = load float, ptr %24, align 4, !tbaa !11
  %118 = load ptr, ptr %12, align 8, !tbaa !5
  %119 = load i32, ptr %27, align 4, !tbaa !9
  %120 = mul nsw i32 %119, 5
  %121 = add nsw i32 %120, 2
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds float, ptr %118, i64 %122
  store float %117, ptr %123, align 4, !tbaa !11
  %124 = load float, ptr %25, align 4, !tbaa !11
  %125 = load ptr, ptr %12, align 8, !tbaa !5
  %126 = load i32, ptr %27, align 4, !tbaa !9
  %127 = mul nsw i32 %126, 5
  %128 = add nsw i32 %127, 3
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds float, ptr %125, i64 %129
  store float %124, ptr %130, align 4, !tbaa !11
  %131 = load i32, ptr %26, align 4, !tbaa !9
  %132 = sitofp i32 %131 to float
  %133 = load ptr, ptr %12, align 8, !tbaa !5
  %134 = load i32, ptr %27, align 4, !tbaa !9
  %135 = mul nsw i32 %134, 5
  %136 = add nsw i32 %135, 4
  %137 = sext i32 %136 to i64
  %138 = getelementptr inbounds float, ptr %133, i64 %137
  store float %132, ptr %138, align 4, !tbaa !11
  br label %139

139:                                              ; preds = %102, %101
  %140 = load i32, ptr %27, align 4, !tbaa !9
  %141 = add nsw i32 %140, 1
  store i32 %141, ptr %27, align 4, !tbaa !9
  br label %59, !llvm.loop !19

142:                                              ; preds = %59
  %143 = load ptr, ptr %21, align 8, !tbaa !5
  call void @free(ptr noundef %143) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4096, ptr %19) #4
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #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 = { 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 = !{!"float", !7, i64 0}
!13 = !{!14, !12, i64 4}
!14 = !{!"", !10, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32}
!15 = !{!14, !12, i64 8}
!16 = !{!14, !12, i64 12}
!17 = !{!14, !12, i64 16}
!18 = !{!14, !10, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"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"

%struct.box_label = type { i32, float, float, float, float, float, float, float, float }

@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [4 x i8], align 1

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

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

declare void @find_replace(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local ptr @read_boxes(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @randomize_boxes(ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @correct_boxes(ptr noundef, i32 noundef, float noundef, float noundef, float noundef, float noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @fill_truth_detection(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, float noundef %5, float noundef %6, float noundef %7, float noundef %8) local_unnamed_addr #2 {
  %10 = alloca [4096 x i8], align 16
  %11 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4096, ptr nonnull %10) #4
  call void @find_replace(ptr noundef %0, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, ptr noundef nonnull %10) #4
  call void @find_replace(ptr noundef nonnull %10, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.3, ptr noundef nonnull %10) #4
  call void @find_replace(ptr noundef nonnull %10, ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.3, ptr noundef nonnull %10) #4
  call void @find_replace(ptr noundef nonnull %10, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.6, ptr noundef nonnull %10) #4
  call void @find_replace(ptr noundef nonnull %10, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.6, ptr noundef nonnull %10) #4
  call void @find_replace(ptr noundef nonnull %10, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.6, ptr noundef nonnull %10) #4
  call void @find_replace(ptr noundef nonnull %10, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.6, ptr noundef nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #4
  store i32 0, ptr %11, align 4, !tbaa !5
  %12 = call ptr @read_boxes(ptr noundef nonnull %10, ptr noundef nonnull %11)
  %13 = load i32, ptr %11, align 4, !tbaa !5
  call void @randomize_boxes(ptr noundef %12, i32 noundef %13)
  %14 = load i32, ptr %11, align 4, !tbaa !5
  call void @correct_boxes(ptr noundef %12, i32 noundef %14, float noundef %5, float noundef %6, float noundef %7, float noundef %8, i32 noundef %4)
  %15 = load i32, ptr %11, align 4, !tbaa !5
  %16 = icmp sgt i32 %15, %1
  br i1 %16, label %17, label %18

17:                                               ; preds = %9
  store i32 %1, ptr %11, align 4, !tbaa !5
  br label %18

18:                                               ; preds = %17, %9
  %19 = phi i32 [ %1, %17 ], [ %15, %9 ]
  %20 = icmp sgt i32 %19, 0
  br i1 %20, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %18
  %wide.trip.count = zext nneg i32 %19 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %38
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %38 ]
  %21 = getelementptr inbounds %struct.box_label, ptr %12, i64 %indvars.iv
  %22 = getelementptr inbounds i8, ptr %21, i64 12
  %23 = load <2 x float>, ptr %22, align 4, !tbaa !9
  %24 = extractelement <2 x float> %23, i64 0
  %25 = fpext float %24 to double
  %26 = fcmp olt double %25, 5.000000e-03
  %27 = extractelement <2 x float> %23, i64 1
  %28 = fpext float %27 to double
  %29 = fcmp olt double %28, 5.000000e-03
  %or.cond = select i1 %26, i1 true, i1 %29
  br i1 %or.cond, label %38, label %30

30:                                               ; preds = %.lr.ph
  %31 = load i32, ptr %21, align 4, !tbaa !11
  %32 = getelementptr inbounds i8, ptr %21, i64 4
  %.idx = mul i64 %indvars.iv, 20
  %33 = getelementptr inbounds i8, ptr %2, i64 %.idx
  %34 = load <2 x float>, ptr %32, align 4, !tbaa !9
  store <2 x float> %34, ptr %33, align 4, !tbaa !9
  %35 = getelementptr inbounds i8, ptr %33, i64 8
  store <2 x float> %23, ptr %35, align 4, !tbaa !9
  %36 = sitofp i32 %31 to float
  %37 = getelementptr inbounds i8, ptr %33, i64 16
  store float %36, ptr %37, align 4, !tbaa !9
  br label %38

38:                                               ; preds = %.lr.ph, %30
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !13

._crit_edge:                                      ; preds = %38, %18
  call void @free(ptr noundef %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %10) #4
  ret void
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #3 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { 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, !6, i64 0}
!12 = !{!"", !6, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


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