; LLVM IR from fast-pack/simdcomp :: example (compress_decompress_demo)

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

; Function Attrs: nounwind uwtable
define dso_local i32 @compress_decompress_demo() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca float, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  store i64 9999, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %12 = load i64, ptr %3, align 8, !tbaa !5
  %13 = mul i64 %12, 4
  %14 = call noalias ptr @malloc(i64 noundef %13) #7
  store ptr %14, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %15 = load i64, ptr %3, align 8, !tbaa !5
  %16 = mul i64 %15, 4
  %17 = call noalias ptr @malloc(i64 noundef %16) #7
  store ptr %17, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %18 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  store i64 0, ptr %2, align 8, !tbaa !5
  br label %19

19:                                               ; preds = %29, %0
  %20 = load i64, ptr %2, align 8, !tbaa !5
  %21 = load i64, ptr %3, align 8, !tbaa !5
  %22 = icmp ult i64 %20, %21
  br i1 %22, label %23, label %32

23:                                               ; preds = %19
  %24 = load i64, ptr %2, align 8, !tbaa !5
  %25 = trunc i64 %24 to i32
  %26 = load ptr, ptr %7, align 8, !tbaa !9
  %27 = load i64, ptr %2, align 8, !tbaa !5
  %28 = getelementptr inbounds i32, ptr %26, i64 %27
  store i32 %25, ptr %28, align 4, !tbaa !11
  br label %29

29:                                               ; preds = %23
  %30 = load i64, ptr %2, align 8, !tbaa !5
  %31 = add i64 %30, 1
  store i64 %31, ptr %2, align 8, !tbaa !5
  br label %19, !llvm.loop !13

32:                                               ; preds = %19
  %33 = load ptr, ptr %7, align 8, !tbaa !9
  %34 = load i64, ptr %3, align 8, !tbaa !5
  %35 = trunc i64 %34 to i32
  %36 = call i32 @maxbits_length(ptr noundef %33, i32 noundef %35)
  store i32 %36, ptr %10, align 4, !tbaa !11
  %37 = load i64, ptr %3, align 8, !tbaa !5
  %38 = trunc i64 %37 to i32
  %39 = load i32, ptr %10, align 4, !tbaa !11
  %40 = call i32 @simdpack_compressedbytes(i32 noundef %38, i32 noundef %39)
  %41 = sext i32 %40 to i64
  %42 = call noalias ptr @malloc(i64 noundef %41) #7
  store ptr %42, ptr %8, align 8, !tbaa !9
  %43 = load ptr, ptr %7, align 8, !tbaa !9
  %44 = load i64, ptr %3, align 8, !tbaa !5
  %45 = load ptr, ptr %8, align 8, !tbaa !9
  %46 = load i32, ptr %10, align 4, !tbaa !11
  %47 = call ptr @simdpack_length(ptr noundef %43, i64 noundef %44, ptr noundef %45, i32 noundef %46)
  store ptr %47, ptr %4, align 8, !tbaa !9
  %48 = load ptr, ptr %4, align 8, !tbaa !9
  %49 = load ptr, ptr %8, align 8, !tbaa !9
  %50 = ptrtoint ptr %48 to i64
  %51 = ptrtoint ptr %49 to i64
  %52 = sub i64 %50, %51
  %53 = sdiv exact i64 %52, 16
  %54 = mul i64 %53, 16
  %55 = trunc i64 %54 to i32
  store i32 %55, ptr %5, align 4, !tbaa !11
  %56 = load i64, ptr %3, align 8, !tbaa !5
  %57 = mul i64 %56, 4
  %58 = uitofp i64 %57 to double
  %59 = fmul double %58, 1.000000e+00
  %60 = load i32, ptr %5, align 4, !tbaa !11
  %61 = sitofp i32 %60 to double
  %62 = fdiv double %59, %61
  %63 = fptrunc double %62 to float
  store float %63, ptr %6, align 4, !tbaa !15
  %64 = load ptr, ptr %8, align 8, !tbaa !9
  %65 = load ptr, ptr %4, align 8, !tbaa !9
  %66 = load ptr, ptr %8, align 8, !tbaa !9
  %67 = ptrtoint ptr %65 to i64
  %68 = ptrtoint ptr %66 to i64
  %69 = sub i64 %67, %68
  %70 = sdiv exact i64 %69, 16
  %71 = mul i64 %70, 16
  %72 = call ptr @realloc(ptr noundef %64, i64 noundef %71) #8
  store ptr %72, ptr %8, align 8, !tbaa !9
  %73 = load i64, ptr %3, align 8, !tbaa !5
  %74 = trunc i64 %73 to i32
  %75 = load i32, ptr %5, align 4, !tbaa !11
  %76 = load float, ptr %6, align 4, !tbaa !15
  %77 = fpext float %76 to double
  %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %74, i32 noundef %75, double noundef %77)
  %79 = load ptr, ptr %8, align 8, !tbaa !9
  %80 = load i64, ptr %3, align 8, !tbaa !5
  %81 = load ptr, ptr %9, align 8, !tbaa !9
  %82 = load i32, ptr %10, align 4, !tbaa !11
  %83 = call ptr @simdunpack_length(ptr noundef %79, i64 noundef %80, ptr noundef %81, i32 noundef %82)
  store i64 0, ptr %2, align 8, !tbaa !5
  br label %84

84:                                               ; preds = %102, %32
  %85 = load i64, ptr %2, align 8, !tbaa !5
  %86 = load i64, ptr %3, align 8, !tbaa !5
  %87 = icmp ult i64 %85, %86
  br i1 %87, label %88, label %105

88:                                               ; preds = %84
  %89 = load ptr, ptr %7, align 8, !tbaa !9
  %90 = load i64, ptr %2, align 8, !tbaa !5
  %91 = getelementptr inbounds i32, ptr %89, i64 %90
  %92 = load i32, ptr %91, align 4, !tbaa !11
  %93 = load ptr, ptr %9, align 8, !tbaa !9
  %94 = load i64, ptr %2, align 8, !tbaa !5
  %95 = getelementptr inbounds i32, ptr %93, i64 %94
  %96 = load i32, ptr %95, align 4, !tbaa !11
  %97 = icmp ne i32 %92, %96
  br i1 %97, label %98, label %101

98:                                               ; preds = %88
  %99 = load i64, ptr %2, align 8, !tbaa !5
  %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %99)
  store i32 -1, ptr %1, align 4
  store i32 1, ptr %11, align 4
  br label %110

101:                                              ; preds = %88
  br label %102

102:                                              ; preds = %101
  %103 = load i64, ptr %2, align 8, !tbaa !5
  %104 = add i64 %103, 1
  store i64 %104, ptr %2, align 8, !tbaa !5
  br label %84, !llvm.loop !17

105:                                              ; preds = %84
  %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  %107 = load ptr, ptr %7, align 8, !tbaa !9
  call void @free(ptr noundef %107) #6
  %108 = load ptr, ptr %8, align 8, !tbaa !9
  call void @free(ptr noundef %108) #6
  %109 = load ptr, ptr %9, align 8, !tbaa !9
  call void @free(ptr noundef %109) #6
  store i32 0, ptr %1, align 4
  store i32 1, ptr %11, align 4
  br label %110

110:                                              ; preds = %105, %98
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #6
  %111 = load i32, ptr %1, align 4
  ret i32 %111
}

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

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #2

declare i32 @printf(ptr noundef, ...) #3

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

declare i32 @simdpack_compressedbytes(i32 noundef, i32 noundef) #3

declare ptr @simdpack_length(ptr noundef, i64 noundef, ptr noundef, i32 noundef) #3

; Function Attrs: nounwind allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #4

declare ptr @simdunpack_length(ptr noundef, i64 noundef, ptr noundef, i32 noundef) #3

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

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

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 allocsize(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 = { "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 allocsize(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 #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 }
attributes #7 = { nounwind allocsize(0) }
attributes #8 = { nounwind allocsize(1) }

!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 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = distinct !{!17, !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"

@.str = external hidden unnamed_addr constant [16 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 1) i32 @compress_decompress_demo() local_unnamed_addr #0 {
vector.ph:
  %0 = tail call noalias dereferenceable_or_null(39996) ptr @malloc(i64 noundef 39996) #6
  %1 = tail call noalias dereferenceable_or_null(39996) ptr @malloc(i64 noundef 39996) #6
  %2 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  br label %vector.body

vector.body:                                      ; preds = %vector.body.1, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next.3, %vector.body.1 ]
  %vec.ind = phi <4 x i32> [ <i32 0, i32 1, i32 2, i32 3>, %vector.ph ], [ %vec.ind.next.3, %vector.body.1 ]
  %step.add = add <4 x i32> %vec.ind, <i32 4, i32 4, i32 4, i32 4>
  %3 = getelementptr inbounds i32, ptr %0, i64 %index
  %4 = getelementptr inbounds i8, ptr %3, i64 16
  store <4 x i32> %vec.ind, ptr %3, align 4, !tbaa !5
  store <4 x i32> %step.add, ptr %4, align 4, !tbaa !5
  %5 = icmp eq i64 %index, 9984
  br i1 %5, label %scalar.ph, label %vector.body.1, !llvm.loop !9

vector.body.1:                                    ; preds = %vector.body
  %index.next = or disjoint i64 %index, 8
  %vec.ind.next = add <4 x i32> %vec.ind, <i32 8, i32 8, i32 8, i32 8>
  %step.add.1 = add <4 x i32> %vec.ind, <i32 12, i32 12, i32 12, i32 12>
  %6 = getelementptr inbounds i32, ptr %0, i64 %index.next
  %7 = getelementptr inbounds i8, ptr %6, i64 16
  store <4 x i32> %vec.ind.next, ptr %6, align 4, !tbaa !5
  store <4 x i32> %step.add.1, ptr %7, align 4, !tbaa !5
  %index.next.1 = or disjoint i64 %index, 16
  %vec.ind.next.1 = add <4 x i32> %vec.ind, <i32 16, i32 16, i32 16, i32 16>
  %step.add.2 = add <4 x i32> %vec.ind, <i32 20, i32 20, i32 20, i32 20>
  %8 = getelementptr inbounds i32, ptr %0, i64 %index.next.1
  %9 = getelementptr inbounds i8, ptr %8, i64 16
  store <4 x i32> %vec.ind.next.1, ptr %8, align 4, !tbaa !5
  store <4 x i32> %step.add.2, ptr %9, align 4, !tbaa !5
  %index.next.2 = or disjoint i64 %index, 24
  %vec.ind.next.2 = add <4 x i32> %vec.ind, <i32 24, i32 24, i32 24, i32 24>
  %step.add.3 = add <4 x i32> %vec.ind, <i32 28, i32 28, i32 28, i32 28>
  %10 = getelementptr inbounds i32, ptr %0, i64 %index.next.2
  %11 = getelementptr inbounds i8, ptr %10, i64 16
  store <4 x i32> %vec.ind.next.2, ptr %10, align 4, !tbaa !5
  store <4 x i32> %step.add.3, ptr %11, align 4, !tbaa !5
  %index.next.3 = add nuw nsw i64 %index, 32
  %vec.ind.next.3 = add <4 x i32> %vec.ind, <i32 32, i32 32, i32 32, i32 32>
  br label %vector.body

scalar.ph:                                        ; preds = %vector.body
  %12 = getelementptr inbounds i8, ptr %0, i64 39968
  store i32 9992, ptr %12, align 4, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %0, i64 39972
  store i32 9993, ptr %13, align 4, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %0, i64 39976
  store i32 9994, ptr %14, align 4, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %0, i64 39980
  store i32 9995, ptr %15, align 4, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %0, i64 39984
  store i32 9996, ptr %16, align 4, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %0, i64 39988
  store i32 9997, ptr %17, align 4, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %0, i64 39992
  store i32 9998, ptr %18, align 4, !tbaa !5
  %19 = tail call i32 @maxbits_length(ptr noundef nonnull %0, i32 noundef 9999) #7
  %20 = tail call i32 @simdpack_compressedbytes(i32 noundef 9999, i32 noundef %19) #7
  %21 = sext i32 %20 to i64
  %22 = tail call noalias ptr @malloc(i64 noundef %21) #6
  %23 = tail call ptr @simdpack_length(ptr noundef nonnull %0, i64 noundef 9999, ptr noundef %22, i32 noundef %19) #7
  %24 = ptrtoint ptr %23 to i64
  %25 = ptrtoint ptr %22 to i64
  %26 = sub i64 %24, %25
  %27 = trunc i64 %26 to i32
  %28 = sitofp i32 %27 to double
  %29 = fdiv double 3.999600e+04, %28
  %30 = fptrunc double %29 to float
  %31 = tail call ptr @realloc(ptr noundef %22, i64 noundef %26) #8
  %32 = fpext float %30 to double
  %33 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 9999, i32 noundef %27, double noundef %32)
  %34 = tail call ptr @simdunpack_length(ptr noundef %31, i64 noundef 9999, ptr noundef %1, i32 noundef %19) #7
  br label %35

35:                                               ; preds = %54, %scalar.ph
  %.144 = phi i64 [ 0, %scalar.ph ], [ %55, %54 ]
  %36 = getelementptr inbounds i32, ptr %0, i64 %.144
  %37 = load i32, ptr %36, align 4, !tbaa !5
  %38 = getelementptr inbounds i32, ptr %1, i64 %.144
  %39 = load i32, ptr %38, align 4, !tbaa !5
  %.not = icmp eq i32 %37, %39
  br i1 %.not, label %42, label %40

40:                                               ; preds = %48, %42, %35
  %.144.lcssa = phi i64 [ %.144, %35 ], [ %43, %42 ], [ %49, %48 ]
  %41 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef %.144.lcssa)
  br label %58

42:                                               ; preds = %35
  %43 = add nuw nsw i64 %.144, 1
  %44 = getelementptr inbounds i32, ptr %0, i64 %43
  %45 = load i32, ptr %44, align 4, !tbaa !5
  %46 = getelementptr inbounds i32, ptr %1, i64 %43
  %47 = load i32, ptr %46, align 4, !tbaa !5
  %.not.1 = icmp eq i32 %45, %47
  br i1 %.not.1, label %48, label %40

48:                                               ; preds = %42
  %49 = add nuw nsw i64 %.144, 2
  %50 = getelementptr inbounds i32, ptr %0, i64 %49
  %51 = load i32, ptr %50, align 4, !tbaa !5
  %52 = getelementptr inbounds i32, ptr %1, i64 %49
  %53 = load i32, ptr %52, align 4, !tbaa !5
  %.not.2 = icmp eq i32 %51, %53
  br i1 %.not.2, label %54, label %40

54:                                               ; preds = %48
  %55 = add nuw nsw i64 %.144, 3
  %exitcond46.not.2 = icmp eq i64 %55, 9999
  br i1 %exitcond46.not.2, label %56, label %35, !llvm.loop !13

56:                                               ; preds = %54
  %57 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  tail call void @free(ptr noundef nonnull %0) #7
  tail call void @free(ptr noundef %31) #7
  tail call void @free(ptr noundef nonnull %1) #7
  br label %58

58:                                               ; preds = %56, %40
  %.0 = phi i32 [ -1, %40 ], [ 0, %56 ]
  ret i32 %.0
}

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

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

declare i32 @simdpack_compressedbytes(i32 noundef, i32 noundef) local_unnamed_addr #3

declare ptr @simdpack_length(ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #4

declare ptr @simdunpack_length(ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

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

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 nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(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 #2 = { nofree 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 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) 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 #5 = { 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 #6 = { nounwind allocsize(0) }
attributes #7 = { nounwind }
attributes #8 = { nounwind allocsize(1) }

!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 = distinct !{!9, !10, !11, !12}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.isvectorized", i32 1}
!12 = !{!"llvm.loop.unroll.runtime.disable"}
!13 = distinct !{!13, !10}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LCSSAPass,LoopLoadEliminationPass,LoopRotatePass,LoopUnrollPass,LoopVectorizePass,SROAPass,SimplifyCFGPass,TailCallElimPass