; LLVM IR from masyagin1998/GCI :: src/garbage-collector (allocator)

; 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.ALLOCATOR = type { ptr, i64, %struct.ALLOCATOR_LIST, %struct.ALLOCATOR_LIST }
%struct.ALLOCATOR_LIST = type { ptr, ptr, i64, i64 }

; 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

; Function Attrs: nounwind uwtable
declare hidden ptr @allocator_list_search_by_sizemem(ptr noundef, i64 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @allocator_list_remove_elem(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @allocator_list_push_back(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @allocator_list_insert_elem(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local ptr @allocator_realloc_block(ptr noundef %0, ptr noundef %1, i64 noundef %2) #1 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i64 %2, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %13 = load ptr, ptr %5, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.ALLOCATOR, ptr %13, i32 0, i32 2
  %15 = getelementptr inbounds %struct.ALLOCATOR_LIST, ptr %14, i32 0, i32 1
  %16 = load ptr, ptr %15, align 8, !tbaa !11
  %17 = getelementptr inbounds i8, ptr %16, i64 1
  %18 = load i64, ptr %17, align 8, !tbaa !9
  %19 = add i64 %18, 34
  %20 = load i64, ptr %7, align 8, !tbaa !9
  %21 = icmp ult i64 %19, %20
  br i1 %21, label %22, label %23

22:                                               ; preds = %3
  store ptr null, ptr %4, align 8
  store i32 1, ptr %10, align 4
  br label %189

23:                                               ; preds = %3
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = getelementptr inbounds i8, ptr %24, i64 -8
  %26 = getelementptr inbounds i8, ptr %25, i64 -8
  %27 = getelementptr inbounds i8, ptr %26, i64 -8
  %28 = getelementptr inbounds i8, ptr %27, i64 -1
  store ptr %28, ptr %8, align 8, !tbaa !5
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.ALLOCATOR, ptr %29, i32 0, i32 2
  %31 = load i64, ptr %7, align 8, !tbaa !9
  %32 = call ptr @allocator_list_search_by_sizemem(ptr noundef %30, i64 noundef %31)
  store ptr %32, ptr %9, align 8, !tbaa !5
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.ALLOCATOR, ptr %33, i32 0, i32 2
  %35 = load ptr, ptr %9, align 8, !tbaa !5
  call void @allocator_list_remove_elem(ptr noundef %34, ptr noundef %35)
  %36 = load ptr, ptr %9, align 8, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %36, i64 1
  %38 = load i64, ptr %37, align 8, !tbaa !9
  %39 = load i64, ptr %7, align 8, !tbaa !9
  %40 = add i64 %39, 35
  %41 = icmp ult i64 %38, %40
  br i1 %41, label %42, label %78

42:                                               ; preds = %23
  %43 = load ptr, ptr %9, align 8, !tbaa !5
  store i8 1, ptr %43, align 1, !tbaa !14
  %44 = load ptr, ptr %9, align 8, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %44, i64 1
  %46 = getelementptr inbounds i8, ptr %45, i64 8
  %47 = getelementptr inbounds i8, ptr %46, i64 8
  %48 = getelementptr inbounds i8, ptr %47, i64 8
  %49 = load ptr, ptr %9, align 8, !tbaa !5
  %50 = getelementptr inbounds i8, ptr %49, i64 1
  %51 = load i64, ptr %50, align 8, !tbaa !9
  %52 = mul i64 %51, 1
  %53 = getelementptr inbounds i8, ptr %48, i64 %52
  %54 = getelementptr inbounds i8, ptr %53, i64 8
  store i8 1, ptr %54, align 1, !tbaa !14
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.ALLOCATOR, ptr %55, i32 0, i32 3
  %57 = load ptr, ptr %9, align 8, !tbaa !5
  call void @allocator_list_push_back(ptr noundef %56, ptr noundef %57)
  %58 = load ptr, ptr %9, align 8, !tbaa !5
  %59 = getelementptr inbounds i8, ptr %58, i64 1
  %60 = getelementptr inbounds i8, ptr %59, i64 8
  %61 = getelementptr inbounds i8, ptr %60, i64 8
  %62 = getelementptr inbounds i8, ptr %61, i64 8
  %63 = load ptr, ptr %8, align 8, !tbaa !5
  %64 = getelementptr inbounds i8, ptr %63, i64 1
  %65 = getelementptr inbounds i8, ptr %64, i64 8
  %66 = getelementptr inbounds i8, ptr %65, i64 8
  %67 = getelementptr inbounds i8, ptr %66, i64 8
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  %69 = getelementptr inbounds i8, ptr %68, i64 1
  %70 = load i64, ptr %69, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %62, ptr align 1 %67, i64 %70, i1 false)
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = load ptr, ptr %6, align 8, !tbaa !5
  call void @allocator_free_block(ptr noundef %71, ptr noundef %72)
  %73 = load ptr, ptr %9, align 8, !tbaa !5
  %74 = getelementptr inbounds i8, ptr %73, i64 1
  %75 = getelementptr inbounds i8, ptr %74, i64 8
  %76 = getelementptr inbounds i8, ptr %75, i64 8
  %77 = getelementptr inbounds i8, ptr %76, i64 8
  store ptr %77, ptr %4, align 8
  store i32 1, ptr %10, align 4
  br label %189

78:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %79 = load ptr, ptr %9, align 8, !tbaa !5
  %80 = getelementptr inbounds i8, ptr %79, i64 1
  %81 = load i64, ptr %80, align 8, !tbaa !9
  %82 = load i64, ptr %7, align 8, !tbaa !9
  %83 = sub i64 %81, %82
  %84 = sub i64 %83, 34
  store i64 %84, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %85 = load ptr, ptr %9, align 8, !tbaa !5
  store i8 1, ptr %85, align 1, !tbaa !14
  %86 = load i64, ptr %7, align 8, !tbaa !9
  %87 = load ptr, ptr %9, align 8, !tbaa !5
  %88 = getelementptr inbounds i8, ptr %87, i64 1
  store i64 %86, ptr %88, align 8, !tbaa !9
  %89 = load ptr, ptr %9, align 8, !tbaa !5
  %90 = getelementptr inbounds i8, ptr %89, i64 1
  %91 = getelementptr inbounds i8, ptr %90, i64 8
  store ptr null, ptr %91, align 8, !tbaa !5
  %92 = load ptr, ptr %9, align 8, !tbaa !5
  %93 = getelementptr inbounds i8, ptr %92, i64 1
  %94 = getelementptr inbounds i8, ptr %93, i64 8
  %95 = getelementptr inbounds i8, ptr %94, i64 8
  store ptr null, ptr %95, align 8, !tbaa !5
  %96 = load i64, ptr %7, align 8, !tbaa !9
  %97 = load ptr, ptr %9, align 8, !tbaa !5
  %98 = getelementptr inbounds i8, ptr %97, i64 1
  %99 = getelementptr inbounds i8, ptr %98, i64 8
  %100 = getelementptr inbounds i8, ptr %99, i64 8
  %101 = getelementptr inbounds i8, ptr %100, i64 8
  %102 = load ptr, ptr %9, align 8, !tbaa !5
  %103 = getelementptr inbounds i8, ptr %102, i64 1
  %104 = load i64, ptr %103, align 8, !tbaa !9
  %105 = mul i64 %104, 1
  %106 = getelementptr inbounds i8, ptr %101, i64 %105
  store i64 %96, ptr %106, align 8, !tbaa !9
  %107 = load ptr, ptr %9, align 8, !tbaa !5
  %108 = getelementptr inbounds i8, ptr %107, i64 1
  %109 = getelementptr inbounds i8, ptr %108, i64 8
  %110 = getelementptr inbounds i8, ptr %109, i64 8
  %111 = getelementptr inbounds i8, ptr %110, i64 8
  %112 = load ptr, ptr %9, align 8, !tbaa !5
  %113 = getelementptr inbounds i8, ptr %112, i64 1
  %114 = load i64, ptr %113, align 8, !tbaa !9
  %115 = mul i64 %114, 1
  %116 = getelementptr inbounds i8, ptr %111, i64 %115
  %117 = getelementptr inbounds i8, ptr %116, i64 8
  store i8 1, ptr %117, align 1, !tbaa !14
  %118 = load ptr, ptr %5, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.ALLOCATOR, ptr %118, i32 0, i32 3
  %120 = load ptr, ptr %9, align 8, !tbaa !5
  call void @allocator_list_push_back(ptr noundef %119, ptr noundef %120)
  %121 = load ptr, ptr %9, align 8, !tbaa !5
  %122 = getelementptr inbounds i8, ptr %121, i64 1
  %123 = getelementptr inbounds i8, ptr %122, i64 8
  %124 = getelementptr inbounds i8, ptr %123, i64 8
  %125 = getelementptr inbounds i8, ptr %124, i64 8
  %126 = load ptr, ptr %8, align 8, !tbaa !5
  %127 = getelementptr inbounds i8, ptr %126, i64 1
  %128 = getelementptr inbounds i8, ptr %127, i64 8
  %129 = getelementptr inbounds i8, ptr %128, i64 8
  %130 = getelementptr inbounds i8, ptr %129, i64 8
  %131 = load ptr, ptr %8, align 8, !tbaa !5
  %132 = getelementptr inbounds i8, ptr %131, i64 1
  %133 = load i64, ptr %132, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %125, ptr align 1 %130, i64 %133, i1 false)
  %134 = load ptr, ptr %9, align 8, !tbaa !5
  %135 = getelementptr inbounds i8, ptr %134, i64 1
  %136 = getelementptr inbounds i8, ptr %135, i64 8
  %137 = getelementptr inbounds i8, ptr %136, i64 8
  %138 = getelementptr inbounds i8, ptr %137, i64 8
  %139 = load ptr, ptr %9, align 8, !tbaa !5
  %140 = getelementptr inbounds i8, ptr %139, i64 1
  %141 = load i64, ptr %140, align 8, !tbaa !9
  %142 = mul i64 %141, 1
  %143 = getelementptr inbounds i8, ptr %138, i64 %142
  %144 = getelementptr inbounds i8, ptr %143, i64 8
  %145 = getelementptr inbounds i8, ptr %144, i64 1
  store ptr %145, ptr %12, align 8, !tbaa !5
  %146 = load ptr, ptr %12, align 8, !tbaa !5
  store i8 0, ptr %146, align 1, !tbaa !14
  %147 = load i64, ptr %11, align 8, !tbaa !9
  %148 = load ptr, ptr %12, align 8, !tbaa !5
  %149 = getelementptr inbounds i8, ptr %148, i64 1
  store i64 %147, ptr %149, align 8, !tbaa !9
  %150 = load ptr, ptr %12, align 8, !tbaa !5
  %151 = getelementptr inbounds i8, ptr %150, i64 1
  %152 = getelementptr inbounds i8, ptr %151, i64 8
  store ptr null, ptr %152, align 8, !tbaa !5
  %153 = load ptr, ptr %12, align 8, !tbaa !5
  %154 = getelementptr inbounds i8, ptr %153, i64 1
  %155 = getelementptr inbounds i8, ptr %154, i64 8
  %156 = getelementptr inbounds i8, ptr %155, i64 8
  store ptr null, ptr %156, align 8, !tbaa !5
  %157 = load i64, ptr %11, align 8, !tbaa !9
  %158 = load ptr, ptr %12, align 8, !tbaa !5
  %159 = getelementptr inbounds i8, ptr %158, i64 1
  %160 = getelementptr inbounds i8, ptr %159, i64 8
  %161 = getelementptr inbounds i8, ptr %160, i64 8
  %162 = getelementptr inbounds i8, ptr %161, i64 8
  %163 = load ptr, ptr %12, align 8, !tbaa !5
  %164 = getelementptr inbounds i8, ptr %163, i64 1
  %165 = load i64, ptr %164, align 8, !tbaa !9
  %166 = mul i64 %165, 1
  %167 = getelementptr inbounds i8, ptr %162, i64 %166
  store i64 %157, ptr %167, align 8, !tbaa !9
  %168 = load ptr, ptr %12, align 8, !tbaa !5
  %169 = getelementptr inbounds i8, ptr %168, i64 1
  %170 = getelementptr inbounds i8, ptr %169, i64 8
  %171 = getelementptr inbounds i8, ptr %170, i64 8
  %172 = getelementptr inbounds i8, ptr %171, i64 8
  %173 = load ptr, ptr %12, align 8, !tbaa !5
  %174 = getelementptr inbounds i8, ptr %173, i64 1
  %175 = load i64, ptr %174, align 8, !tbaa !9
  %176 = mul i64 %175, 1
  %177 = getelementptr inbounds i8, ptr %172, i64 %176
  %178 = getelementptr inbounds i8, ptr %177, i64 8
  store i8 0, ptr %178, align 1, !tbaa !14
  %179 = load ptr, ptr %5, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.ALLOCATOR, ptr %179, i32 0, i32 2
  %181 = load ptr, ptr %12, align 8, !tbaa !5
  call void @allocator_list_insert_elem(ptr noundef %180, ptr noundef %181)
  %182 = load ptr, ptr %5, align 8, !tbaa !5
  %183 = load ptr, ptr %6, align 8, !tbaa !5
  call void @allocator_free_block(ptr noundef %182, ptr noundef %183)
  %184 = load ptr, ptr %9, align 8, !tbaa !5
  %185 = getelementptr inbounds i8, ptr %184, i64 1
  %186 = getelementptr inbounds i8, ptr %185, i64 8
  %187 = getelementptr inbounds i8, ptr %186, i64 8
  %188 = getelementptr inbounds i8, ptr %187, i64 8
  store ptr %188, ptr %4, align 8
  store i32 1, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  br label %189

189:                                              ; preds = %78, %42, %22
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  %190 = load ptr, ptr %4, align 8
  ret ptr %190
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = !{!"long", !7, i64 0}
!11 = !{!12, !6, i64 24}
!12 = !{!"ALLOCATOR", !6, i64 0, !10, i64 8, !13, i64 16, !13, i64 48}
!13 = !{!"ALLOCATOR_LIST", !6, i64 0, !6, i64 8, !10, i64 16, !10, i64 24}
!14 = !{!7, !7, i64 0}


; 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
declare hidden ptr @allocator_list_search_by_sizemem(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden void @allocator_list_remove_elem(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden void @allocator_list_push_back(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden void @allocator_list_insert_elem(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local ptr @allocator_realloc_block(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
  %4 = getelementptr inbounds i8, ptr %0, i64 16
  %5 = getelementptr inbounds i8, ptr %0, i64 24
  %6 = load ptr, ptr %5, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %6, i64 1
  %8 = load i64, ptr %7, align 8, !tbaa !12
  %9 = add i64 %8, 34
  %10 = icmp ult i64 %9, %2
  br i1 %10, label %46, label %11

11:                                               ; preds = %3
  %12 = tail call ptr @allocator_list_search_by_sizemem(ptr noundef nonnull %4, i64 noundef %2)
  tail call void @allocator_list_remove_elem(ptr noundef nonnull %4, ptr noundef %12)
  %13 = getelementptr inbounds i8, ptr %12, i64 1
  %14 = load i64, ptr %13, align 8, !tbaa !12
  %15 = add i64 %2, 35
  %16 = icmp ult i64 %14, %15
  br i1 %16, label %17, label %24

17:                                               ; preds = %11
  store i8 1, ptr %12, align 1, !tbaa !13
  %18 = getelementptr inbounds i8, ptr %12, i64 25
  %19 = getelementptr inbounds i8, ptr %18, i64 %14
  %20 = getelementptr inbounds i8, ptr %19, i64 8
  store i8 1, ptr %20, align 1, !tbaa !13
  %21 = getelementptr inbounds i8, ptr %0, i64 48
  tail call void @allocator_list_push_back(ptr noundef nonnull %21, ptr noundef nonnull %12)
  %22 = getelementptr inbounds i8, ptr %1, i64 -24
  %23 = load i64, ptr %22, align 8, !tbaa !12
  tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %18, ptr align 1 %1, i64 %23, i1 false)
  br label %.sink.split

24:                                               ; preds = %11
  %25 = sub i64 %14, %2
  %26 = add i64 %25, -34
  store i8 1, ptr %12, align 1, !tbaa !13
  store i64 %2, ptr %13, align 8, !tbaa !12
  %27 = getelementptr inbounds i8, ptr %12, i64 9
  %28 = getelementptr inbounds i8, ptr %12, i64 25
  %29 = getelementptr inbounds i8, ptr %28, i64 %2
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %27, i8 0, i64 16, i1 false)
  store i64 %2, ptr %29, align 8, !tbaa !12
  %30 = load i64, ptr %13, align 8, !tbaa !12
  %31 = getelementptr inbounds i8, ptr %28, i64 %30
  %32 = getelementptr inbounds i8, ptr %31, i64 8
  store i8 1, ptr %32, align 1, !tbaa !13
  %33 = getelementptr inbounds i8, ptr %0, i64 48
  tail call void @allocator_list_push_back(ptr noundef nonnull %33, ptr noundef nonnull %12)
  %34 = getelementptr inbounds i8, ptr %1, i64 -24
  %35 = load i64, ptr %34, align 8, !tbaa !12
  tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %28, ptr align 1 %1, i64 %35, i1 false)
  %36 = load i64, ptr %13, align 8, !tbaa !12
  %37 = getelementptr inbounds i8, ptr %28, i64 %36
  %38 = getelementptr inbounds i8, ptr %37, i64 9
  store i8 0, ptr %38, align 1, !tbaa !13
  %39 = getelementptr inbounds i8, ptr %37, i64 10
  store i64 %26, ptr %39, align 8, !tbaa !12
  %40 = getelementptr inbounds i8, ptr %37, i64 18
  %41 = getelementptr inbounds i8, ptr %37, i64 34
  %42 = getelementptr i8, ptr %37, i64 %25
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %40, i8 0, i64 16, i1 false)
  store i64 %26, ptr %42, align 8, !tbaa !12
  %43 = load i64, ptr %39, align 8, !tbaa !12
  %44 = getelementptr inbounds i8, ptr %41, i64 %43
  %45 = getelementptr inbounds i8, ptr %44, i64 8
  store i8 0, ptr %45, align 1, !tbaa !13
  tail call void @allocator_list_insert_elem(ptr noundef nonnull %4, ptr noundef nonnull %38)
  br label %.sink.split

.sink.split:                                      ; preds = %17, %24
  %.0.ph = phi ptr [ %28, %24 ], [ %18, %17 ]
  tail call void @allocator_free_block(ptr noundef nonnull %0, ptr noundef %1)
  br label %46

46:                                               ; preds = %.sink.split, %3
  %.0 = phi ptr [ null, %3 ], [ %.0.ph, %.sink.split ]
  ret ptr %.0
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: nounwind uwtable
declare dso_local void @allocator_free_block(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

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 nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }

!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, !7, i64 24}
!6 = !{!"ALLOCATOR", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 48}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"ALLOCATOR_LIST", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 24}
!12 = !{!10, !10, i64 0}
!13 = !{!8, !8, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,SROAPass,SimplifyCFGPass,TailCallElimPass