; LLVM IR from MostafaTwfiq/C-DataStructures-And-Algorithms :: Unit Test/Tests/AlgorithmsTests/ArraysAlgTest (ArraysAlgTest)

; 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.ErrorTestStruct = type { i32 }

@.str = external hidden unnamed_addr constant [140 x i8], align 1
@ERROR_TEST = external dso_local global ptr, align 8

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

declare void @CuAssertIntEquals_LineMsg(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @intCopyFunArrAlgT(ptr noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
define dso_local void @testArrResizeOfRangeAndCpyC(ptr noundef %0) #4 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %8 = call noalias ptr @malloc(i64 noundef 40) #6
  store ptr %8, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %9

9:                                                ; preds = %20, %1
  %10 = load i32, ptr %4, align 4, !tbaa !9
  %11 = icmp slt i32 %10, 10
  br i1 %11, label %13, label %12

12:                                               ; preds = %9
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  br label %23

13:                                               ; preds = %9
  %14 = load i32, ptr %4, align 4, !tbaa !9
  %15 = add nsw i32 %14, 1
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = load i32, ptr %4, align 4, !tbaa !9
  %18 = sext i32 %17 to i64
  %19 = getelementptr inbounds i32, ptr %16, i64 %18
  store i32 %15, ptr %19, align 4, !tbaa !9
  br label %20

20:                                               ; preds = %13
  %21 = load i32, ptr %4, align 4, !tbaa !9
  %22 = add nsw i32 %21, 1
  store i32 %22, ptr %4, align 4, !tbaa !9
  br label %9, !llvm.loop !11

23:                                               ; preds = %12
  %24 = call ptr @arrResizeOfRangeAndCpyC(ptr noundef null, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef null)
  %25 = load ptr, ptr %2, align 8, !tbaa !5
  %26 = load ptr, ptr @ERROR_TEST, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.ErrorTestStruct, ptr %26, i32 0, i32 0
  %28 = load i32, ptr %27, align 4, !tbaa !13
  call void @CuAssertIntEquals_LineMsg(ptr noundef %25, ptr noundef @.str, i32 noundef 265, ptr noundef null, i32 noundef -83386157, i32 noundef %28)
  %29 = load ptr, ptr %3, align 8, !tbaa !5
  %30 = call ptr @arrResizeOfRangeAndCpyC(ptr noundef %29, i32 noundef -1, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef null)
  %31 = load ptr, ptr %2, align 8, !tbaa !5
  %32 = load ptr, ptr @ERROR_TEST, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.ErrorTestStruct, ptr %32, i32 0, i32 0
  %34 = load i32, ptr %33, align 4, !tbaa !13
  call void @CuAssertIntEquals_LineMsg(ptr noundef %31, ptr noundef @.str, i32 noundef 268, ptr noundef null, i32 noundef -83384987, i32 noundef %34)
  %35 = load ptr, ptr %3, align 8, !tbaa !5
  %36 = call ptr @arrResizeOfRangeAndCpyC(ptr noundef %35, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef @intCopyFunArrAlgT)
  %37 = load ptr, ptr %2, align 8, !tbaa !5
  %38 = load ptr, ptr @ERROR_TEST, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.ErrorTestStruct, ptr %38, i32 0, i32 0
  %40 = load i32, ptr %39, align 4, !tbaa !13
  call void @CuAssertIntEquals_LineMsg(ptr noundef %37, ptr noundef @.str, i32 noundef 271, ptr noundef null, i32 noundef -83384987, i32 noundef %40)
  %41 = load ptr, ptr %3, align 8, !tbaa !5
  %42 = call ptr @arrResizeOfRangeAndCpyC(ptr noundef %41, i32 noundef 0, i32 noundef 1, i32 noundef 0, i32 noundef -1, i32 noundef 0, ptr noundef @intCopyFunArrAlgT)
  %43 = load ptr, ptr %2, align 8, !tbaa !5
  %44 = load ptr, ptr @ERROR_TEST, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.ErrorTestStruct, ptr %44, i32 0, i32 0
  %46 = load i32, ptr %45, align 4, !tbaa !13
  call void @CuAssertIntEquals_LineMsg(ptr noundef %43, ptr noundef @.str, i32 noundef 274, ptr noundef null, i32 noundef -83384987, i32 noundef %46)
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  %48 = call ptr @arrResizeOfRangeAndCpyC(ptr noundef %47, i32 noundef 0, i32 noundef 1, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef @intCopyFunArrAlgT)
  %49 = load ptr, ptr %2, align 8, !tbaa !5
  %50 = load ptr, ptr @ERROR_TEST, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.ErrorTestStruct, ptr %50, i32 0, i32 0
  %52 = load i32, ptr %51, align 4, !tbaa !13
  call void @CuAssertIntEquals_LineMsg(ptr noundef %49, ptr noundef @.str, i32 noundef 277, ptr noundef null, i32 noundef -83384987, i32 noundef %52)
  %53 = load ptr, ptr %3, align 8, !tbaa !5
  %54 = call ptr @arrResizeOfRangeAndCpyC(ptr noundef %53, i32 noundef 0, i32 noundef 1, i32 noundef 0, i32 noundef 0, i32 noundef 1, ptr noundef @intCopyFunArrAlgT)
  %55 = load ptr, ptr %2, align 8, !tbaa !5
  %56 = load ptr, ptr @ERROR_TEST, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.ErrorTestStruct, ptr %56, i32 0, i32 0
  %58 = load i32, ptr %57, align 4, !tbaa !13
  call void @CuAssertIntEquals_LineMsg(ptr noundef %55, ptr noundef @.str, i32 noundef 280, ptr noundef null, i32 noundef -83384987, i32 noundef %58)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %59 = load ptr, ptr %3, align 8, !tbaa !5
  %60 = call ptr @arrResizeOfRangeAndCpyC(ptr noundef %59, i32 noundef 10, i32 noundef 4, i32 noundef 5, i32 noundef 9, i32 noundef 10, ptr noundef @intCopyFunArrAlgT)
  store ptr %60, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 5, ptr %6, align 4, !tbaa !9
  br label %61

61:                                               ; preds = %72, %23
  %62 = load i32, ptr %6, align 4, !tbaa !9
  %63 = icmp slt i32 %62, 10
  br i1 %63, label %65, label %64

64:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %75

65:                                               ; preds = %61
  %66 = load i32, ptr %6, align 4, !tbaa !9
  %67 = add nsw i32 %66, 6
  %68 = load ptr, ptr %5, align 8, !tbaa !5
  %69 = load i32, ptr %6, align 4, !tbaa !9
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds i32, ptr %68, i64 %70
  store i32 %67, ptr %71, align 4, !tbaa !9
  br label %72

72:                                               ; preds = %65
  %73 = load i32, ptr %6, align 4, !tbaa !9
  %74 = add nsw i32 %73, 1
  store i32 %74, ptr %6, align 4, !tbaa !9
  br label %61, !llvm.loop !15

75:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %76

76:                                               ; preds = %89, %75
  %77 = load i32, ptr %7, align 4, !tbaa !9
  %78 = icmp slt i32 %77, 10
  br i1 %78, label %80, label %79

79:                                               ; preds = %76
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %92

80:                                               ; preds = %76
  %81 = load ptr, ptr %2, align 8, !tbaa !5
  %82 = load i32, ptr %7, align 4, !tbaa !9
  %83 = add nsw i32 %82, 6
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = load i32, ptr %7, align 4, !tbaa !9
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds i32, ptr %84, i64 %86
  %88 = load i32, ptr %87, align 4, !tbaa !9
  call void @CuAssertIntEquals_LineMsg(ptr noundef %81, ptr noundef @.str, i32 noundef 288, ptr noundef null, i32 noundef %83, i32 noundef %88)
  br label %89

89:                                               ; preds = %80
  %90 = load i32, ptr %7, align 4, !tbaa !9
  %91 = add nsw i32 %90, 1
  store i32 %91, ptr %7, align 4, !tbaa !9
  br label %76, !llvm.loop !16

92:                                               ; preds = %79
  %93 = load ptr, ptr %3, align 8, !tbaa !5
  call void @free(ptr noundef %93) #5
  %94 = load ptr, ptr %5, align 8, !tbaa !5
  call void @free(ptr noundef %94) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  ret void
}

declare ptr @arrResizeOfRangeAndCpyC(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1

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 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 = { 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 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 #5 = { nounwind }
attributes #6 = { nounwind allocsize(0) }

!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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !10, i64 0}
!14 = !{!"ErrorTestStruct", !10, i64 0}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !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 [140 x i8], align 1
@ERROR_TEST = external dso_local local_unnamed_addr global ptr, align 8

declare void @CuAssertIntEquals_LineMsg(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #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: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @intCopyFunArrAlgT(ptr noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
define dso_local void @testArrResizeOfRangeAndCpyC(ptr noundef %0) local_unnamed_addr #3 {
.preheader.preheader:
  %1 = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #4
  store <4 x i32> <i32 1, i32 2, i32 3, i32 4>, ptr %1, align 4, !tbaa !5
  %2 = getelementptr inbounds i8, ptr %1, i64 16
  store <4 x i32> <i32 5, i32 6, i32 7, i32 8>, ptr %2, align 4, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %1, i64 32
  store i32 9, ptr %3, align 4, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %1, i64 36
  store i32 10, ptr %4, align 4, !tbaa !5
  %5 = tail call ptr @arrResizeOfRangeAndCpyC(ptr noundef null, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef null) #5
  %6 = load ptr, ptr @ERROR_TEST, align 8, !tbaa !9
  %7 = load i32, ptr %6, align 4, !tbaa !11
  tail call void @CuAssertIntEquals_LineMsg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 265, ptr noundef null, i32 noundef -83386157, i32 noundef %7) #5
  %8 = tail call ptr @arrResizeOfRangeAndCpyC(ptr noundef nonnull %1, i32 noundef -1, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef null) #5
  %9 = load ptr, ptr @ERROR_TEST, align 8, !tbaa !9
  %10 = load i32, ptr %9, align 4, !tbaa !11
  tail call void @CuAssertIntEquals_LineMsg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 268, ptr noundef null, i32 noundef -83384987, i32 noundef %10) #5
  %11 = tail call ptr @arrResizeOfRangeAndCpyC(ptr noundef nonnull %1, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @intCopyFunArrAlgT) #5
  %12 = load ptr, ptr @ERROR_TEST, align 8, !tbaa !9
  %13 = load i32, ptr %12, align 4, !tbaa !11
  tail call void @CuAssertIntEquals_LineMsg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 271, ptr noundef null, i32 noundef -83384987, i32 noundef %13) #5
  %14 = tail call ptr @arrResizeOfRangeAndCpyC(ptr noundef nonnull %1, i32 noundef 0, i32 noundef 1, i32 noundef 0, i32 noundef -1, i32 noundef 0, ptr noundef nonnull @intCopyFunArrAlgT) #5
  %15 = load ptr, ptr @ERROR_TEST, align 8, !tbaa !9
  %16 = load i32, ptr %15, align 4, !tbaa !11
  tail call void @CuAssertIntEquals_LineMsg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 274, ptr noundef null, i32 noundef -83384987, i32 noundef %16) #5
  %17 = tail call ptr @arrResizeOfRangeAndCpyC(ptr noundef nonnull %1, i32 noundef 0, i32 noundef 1, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @intCopyFunArrAlgT) #5
  %18 = load ptr, ptr @ERROR_TEST, align 8, !tbaa !9
  %19 = load i32, ptr %18, align 4, !tbaa !11
  tail call void @CuAssertIntEquals_LineMsg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 277, ptr noundef null, i32 noundef -83384987, i32 noundef %19) #5
  %20 = tail call ptr @arrResizeOfRangeAndCpyC(ptr noundef nonnull %1, i32 noundef 0, i32 noundef 1, i32 noundef 0, i32 noundef 0, i32 noundef 1, ptr noundef nonnull @intCopyFunArrAlgT) #5
  %21 = load ptr, ptr @ERROR_TEST, align 8, !tbaa !9
  %22 = load i32, ptr %21, align 4, !tbaa !11
  tail call void @CuAssertIntEquals_LineMsg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 280, ptr noundef null, i32 noundef -83384987, i32 noundef %22) #5
  %23 = tail call ptr @arrResizeOfRangeAndCpyC(ptr noundef nonnull %1, i32 noundef 10, i32 noundef 4, i32 noundef 5, i32 noundef 9, i32 noundef 10, ptr noundef nonnull @intCopyFunArrAlgT) #5
  %24 = getelementptr inbounds i8, ptr %23, i64 20
  %25 = getelementptr inbounds i8, ptr %23, i64 24
  %26 = getelementptr inbounds i8, ptr %23, i64 28
  %27 = getelementptr inbounds i8, ptr %23, i64 32
  store <4 x i32> <i32 11, i32 12, i32 13, i32 14>, ptr %24, align 4, !tbaa !5
  %28 = getelementptr inbounds i8, ptr %23, i64 36
  store i32 15, ptr %28, align 4, !tbaa !5
  %29 = load i32, ptr %23, align 4, !tbaa !5
  tail call void @CuAssertIntEquals_LineMsg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 288, ptr noundef null, i32 noundef 6, i32 noundef %29) #5
  %30 = getelementptr inbounds i8, ptr %23, i64 4
  %31 = load i32, ptr %30, align 4, !tbaa !5
  tail call void @CuAssertIntEquals_LineMsg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 288, ptr noundef null, i32 noundef 7, i32 noundef %31) #5
  %32 = getelementptr inbounds i8, ptr %23, i64 8
  %33 = load i32, ptr %32, align 4, !tbaa !5
  tail call void @CuAssertIntEquals_LineMsg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 288, ptr noundef null, i32 noundef 8, i32 noundef %33) #5
  %34 = getelementptr inbounds i8, ptr %23, i64 12
  %35 = load i32, ptr %34, align 4, !tbaa !5
  tail call void @CuAssertIntEquals_LineMsg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 288, ptr noundef null, i32 noundef 9, i32 noundef %35) #5
  %36 = getelementptr inbounds i8, ptr %23, i64 16
  %37 = load i32, ptr %36, align 4, !tbaa !5
  tail call void @CuAssertIntEquals_LineMsg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 288, ptr noundef null, i32 noundef 10, i32 noundef %37) #5
  %38 = load i32, ptr %24, align 4, !tbaa !5
  tail call void @CuAssertIntEquals_LineMsg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 288, ptr noundef null, i32 noundef 11, i32 noundef %38) #5
  %39 = load i32, ptr %25, align 4, !tbaa !5
  tail call void @CuAssertIntEquals_LineMsg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 288, ptr noundef null, i32 noundef 12, i32 noundef %39) #5
  %40 = load i32, ptr %26, align 4, !tbaa !5
  tail call void @CuAssertIntEquals_LineMsg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 288, ptr noundef null, i32 noundef 13, i32 noundef %40) #5
  %41 = load i32, ptr %27, align 4, !tbaa !5
  tail call void @CuAssertIntEquals_LineMsg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 288, ptr noundef null, i32 noundef 14, i32 noundef %41) #5
  %42 = load i32, ptr %28, align 4, !tbaa !5
  tail call void @CuAssertIntEquals_LineMsg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 288, ptr noundef null, i32 noundef 15, i32 noundef %42) #5
  tail call void @free(ptr noundef %1) #5
  tail call void @free(ptr noundef %23) #5
  ret void
}

declare ptr @arrResizeOfRangeAndCpyC(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

attributes #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 = { 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 #3 = { 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 #4 = { nounwind allocsize(0) }
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 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"ErrorTestStruct", !6, i64 0}


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