; LLVM IR from khushmmehta/Scorch-V :: src/ScorchVkEngine/Abstractions (VulkanMemoryAllocator)

; 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.VmaPool_T = type { %class.VmaBlockVector, %class.VmaDedicatedAllocationList, i32, ptr, ptr, ptr }
%class.VmaBlockVector = type <{ ptr, ptr, i32, [4 x i8], i64, i64, i64, i64, i8, [3 x i8], i32, float, [4 x i8], i64, ptr, %class.VmaRWMutex, %class.VmaVector.15, i32, i8, [3 x i8] }>
%class.VmaRWMutex = type { %"class.std::shared_mutex" }
%"class.std::shared_mutex" = type { %"class.std::__shared_mutex_pthread" }
%"class.std::__shared_mutex_pthread" = type { %union.pthread_rwlock_t }
%union.pthread_rwlock_t = type { %struct.__pthread_rwlock_arch_t }
%struct.__pthread_rwlock_arch_t = type { i32, i32, i32, i32, i32, i32, i32, i32, i8, [7 x i8], i64, i32 }
%class.VmaVector.15 = type { %struct.VmaStlAllocator.16, ptr, i64, i64 }
%struct.VmaStlAllocator.16 = type { ptr }
%class.VmaDedicatedAllocationList = type { i8, %class.VmaRWMutex, %class.VmaIntrusiveLinkedList }
%class.VmaIntrusiveLinkedList = type { ptr, ptr, i64 }
%struct.VmaPoolCreateInfo = type { i32, i32, i64, i64, i64, float, i64, ptr }

; 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 i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK14VmaAllocator_T25GetBufferImageGranularityEv(ptr noundef nonnull align 8 dereferenceable(5916)) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9VmaPool_TC2EP14VmaAllocator_TRK17VmaPoolCreateInfom(ptr noundef nonnull align 8 dereferenceable(304) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(56) %2, i64 noundef %3) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store i64 %3, ptr %8, align 8, !tbaa !9
  %12 = load ptr, ptr %5, align 8
  %13 = getelementptr inbounds %struct.VmaPool_T, ptr %12, i32 0, i32 0
  %14 = load ptr, ptr %6, align 8, !tbaa !5
  %15 = load ptr, ptr %7, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.VmaPoolCreateInfo, ptr %15, i32 0, i32 0
  %17 = load i32, ptr %16, align 8, !tbaa !11
  %18 = load ptr, ptr %7, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.VmaPoolCreateInfo, ptr %18, i32 0, i32 2
  %20 = load i64, ptr %19, align 8, !tbaa !15
  %21 = icmp ne i64 %20, 0
  br i1 %21, label %22, label %26

22:                                               ; preds = %4
  %23 = load ptr, ptr %7, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.VmaPoolCreateInfo, ptr %23, i32 0, i32 2
  %25 = load i64, ptr %24, align 8, !tbaa !15
  br label %28

26:                                               ; preds = %4
  %27 = load i64, ptr %8, align 8, !tbaa !9
  br label %28

28:                                               ; preds = %26, %22
  %29 = phi i64 [ %25, %22 ], [ %27, %26 ]
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.VmaPoolCreateInfo, ptr %30, i32 0, i32 3
  %32 = load i64, ptr %31, align 8, !tbaa !16
  %33 = load ptr, ptr %7, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.VmaPoolCreateInfo, ptr %33, i32 0, i32 4
  %35 = load i64, ptr %34, align 8, !tbaa !17
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.VmaPoolCreateInfo, ptr %36, i32 0, i32 1
  %38 = load i32, ptr %37, align 4, !tbaa !18
  %39 = and i32 %38, 2
  %40 = icmp ne i32 %39, 0
  br i1 %40, label %41, label %42

41:                                               ; preds = %28
  br label %45

42:                                               ; preds = %28
  %43 = load ptr, ptr %6, align 8, !tbaa !5
  %44 = call noundef i64 @_ZNK14VmaAllocator_T25GetBufferImageGranularityEv(ptr noundef nonnull align 8 dereferenceable(5916) %43)
  br label %45

45:                                               ; preds = %42, %41
  %46 = phi i64 [ 1, %41 ], [ %44, %42 ]
  %47 = load ptr, ptr %7, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.VmaPoolCreateInfo, ptr %47, i32 0, i32 2
  %49 = load i64, ptr %48, align 8, !tbaa !15
  %50 = icmp ne i64 %49, 0
  %51 = load ptr, ptr %7, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.VmaPoolCreateInfo, ptr %51, i32 0, i32 1
  %53 = load i32, ptr %52, align 4, !tbaa !18
  %54 = and i32 %53, 4
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.VmaPoolCreateInfo, ptr %55, i32 0, i32 5
  %57 = load float, ptr %56, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.VmaPoolCreateInfo, ptr %59, i32 0, i32 0
  %61 = load i32, ptr %60, align 8, !tbaa !11
  %62 = call noundef i64 @_ZNK14VmaAllocator_T25GetMemoryTypeMinAlignmentEj(ptr noundef nonnull align 8 dereferenceable(5916) %58, i32 noundef %61)
  store i64 %62, ptr %9, align 8, !tbaa !9
  %63 = load ptr, ptr %7, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.VmaPoolCreateInfo, ptr %63, i32 0, i32 6
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %64)
  %66 = load i64, ptr %65, align 8, !tbaa !9
  %67 = load ptr, ptr %7, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.VmaPoolCreateInfo, ptr %67, i32 0, i32 7
  %69 = load ptr, ptr %68, align 8, !tbaa !20
  call void @_ZN14VmaBlockVectorC1EP14VmaAllocator_TP9VmaPool_TjmmmmbjfmPv(ptr noundef nonnull align 8 dereferenceable(181) %13, ptr noundef %14, ptr noundef %12, i32 noundef %17, i64 noundef %29, i64 noundef %32, i64 noundef %35, i64 noundef %46, i1 noundef zeroext %50, i32 noundef %54, float noundef %57, i64 noundef %66, ptr noundef %69)
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  %70 = getelementptr inbounds %struct.VmaPool_T, ptr %12, i32 0, i32 1
  invoke void @_ZN26VmaDedicatedAllocationListC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %70)
          to label %71 unwind label %76

71:                                               ; preds = %45
  %72 = getelementptr inbounds %struct.VmaPool_T, ptr %12, i32 0, i32 2
  store i32 0, ptr %72, align 8, !tbaa !21
  %73 = getelementptr inbounds %struct.VmaPool_T, ptr %12, i32 0, i32 3
  store ptr null, ptr %73, align 8, !tbaa !32
  %74 = getelementptr inbounds %struct.VmaPool_T, ptr %12, i32 0, i32 4
  store ptr null, ptr %74, align 8, !tbaa !33
  %75 = getelementptr inbounds %struct.VmaPool_T, ptr %12, i32 0, i32 5
  store ptr null, ptr %75, align 8, !tbaa !34
  ret void

76:                                               ; preds = %45
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %10, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %11, align 4
  call void @_ZN14VmaBlockVectorD1Ev(ptr noundef nonnull align 8 dereferenceable(181) %13) #4
  br label %80

80:                                               ; preds = %76
  %81 = load ptr, ptr %10, align 8
  %82 = load i32, ptr %11, align 4
  %83 = insertvalue { ptr, i32 } poison, ptr %81, 0
  %84 = insertvalue { ptr, i32 } %83, i32 %82, 1
  resume { ptr, i32 } %84
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK14VmaAllocator_T25GetMemoryTypeMinAlignmentEj(ptr noundef nonnull align 8 dereferenceable(5916), i32 noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN26VmaDedicatedAllocationListC2Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #2 align 2

declare void @_ZN14VmaBlockVectorC1EP14VmaAllocator_TP9VmaPool_TjmmmmbjfmPv(ptr, ptr, ptr, i32, i64, i64, i64, i64, i1, i32, float, i64, ptr)

declare void @_ZN14VmaBlockVectorD1Ev(ptr)

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress 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 = { mustprogress 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 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 }

!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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTS17VmaPoolCreateInfo", !13, i64 0, !13, i64 4, !10, i64 8, !10, i64 16, !10, i64 24, !14, i64 32, !10, i64 40, !6, i64 48}
!13 = !{!"int", !7, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!12, !10, i64 8}
!16 = !{!12, !10, i64 16}
!17 = !{!12, !10, i64 24}
!18 = !{!12, !13, i64 4}
!19 = !{!12, !14, i64 32}
!20 = !{!12, !6, i64 48}
!21 = !{!22, !13, i64 272}
!22 = !{!"_ZTS9VmaPool_T", !23, i64 0, !30, i64 184, !13, i64 272, !6, i64 280, !6, i64 288, !6, i64 296}
!23 = !{!"_ZTS14VmaBlockVector", !6, i64 0, !6, i64 8, !13, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !24, i64 56, !13, i64 60, !14, i64 64, !10, i64 72, !6, i64 80, !25, i64 88, !28, i64 144, !13, i64 176, !24, i64 180}
!24 = !{!"bool", !7, i64 0}
!25 = !{!"_ZTS10VmaRWMutex", !26, i64 0}
!26 = !{!"_ZTSSt12shared_mutex", !27, i64 0}
!27 = !{!"_ZTSSt22__shared_mutex_pthread", !7, i64 0}
!28 = !{!"_ZTS9VmaVectorIP20VmaDeviceMemoryBlock15VmaStlAllocatorIS1_EE", !29, i64 0, !6, i64 8, !10, i64 16, !10, i64 24}
!29 = !{!"_ZTS15VmaStlAllocatorIP20VmaDeviceMemoryBlockE", !6, i64 0}
!30 = !{!"_ZTS26VmaDedicatedAllocationList", !24, i64 0, !25, i64 8, !31, i64 64}
!31 = !{!"_ZTS22VmaIntrusiveLinkedListI36VmaDedicatedAllocationListItemTraitsE", !6, i64 0, !6, i64 8, !10, i64 16}
!32 = !{!22, !6, i64 280}
!33 = !{!22, !6, i64 288}
!34 = !{!22, !6, i64 296}


; 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: 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 i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK14VmaAllocator_T25GetBufferImageGranularityEv(ptr noundef nonnull align 8 dereferenceable(5916)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9VmaPool_TC2EP14VmaAllocator_TRK17VmaPoolCreateInfom(ptr noundef nonnull align 8 dereferenceable(304) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(56) %2, i64 noundef %3) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i64, align 8
  %6 = load i32, ptr %2, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %2, i64 8
  %8 = load i64, ptr %7, align 8, !tbaa !13
  %9 = getelementptr inbounds i8, ptr %2, i64 16
  %10 = load i64, ptr %9, align 8, !tbaa !14
  %11 = getelementptr inbounds i8, ptr %2, i64 24
  %12 = load i64, ptr %11, align 8, !tbaa !15
  %13 = getelementptr inbounds i8, ptr %2, i64 4
  %14 = load i32, ptr %13, align 4, !tbaa !16
  %15 = and i32 %14, 2
  %.not16 = icmp eq i32 %15, 0
  br i1 %.not16, label %16, label %18

16:                                               ; preds = %4
  %17 = tail call noundef i64 @_ZNK14VmaAllocator_T25GetBufferImageGranularityEv(ptr noundef nonnull align 8 dereferenceable(5916) %1)
  %.pre = load i64, ptr %7, align 8, !tbaa !13
  %.pre17 = load i32, ptr %13, align 4, !tbaa !16
  %.pre18 = load i32, ptr %2, align 8, !tbaa !5
  br label %18

18:                                               ; preds = %4, %16
  %19 = phi i32 [ %.pre18, %16 ], [ %6, %4 ]
  %20 = phi i32 [ %.pre17, %16 ], [ %14, %4 ]
  %21 = phi i64 [ %.pre, %16 ], [ %8, %4 ]
  %22 = phi i64 [ %17, %16 ], [ 1, %4 ]
  %.not = icmp eq i64 %8, 0
  %. = select i1 %.not, i64 %3, i64 %8
  %23 = icmp ne i64 %21, 0
  %24 = and i32 %20, 4
  %25 = getelementptr inbounds i8, ptr %2, i64 32
  %26 = load float, ptr %25, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %27 = tail call noundef i64 @_ZNK14VmaAllocator_T25GetMemoryTypeMinAlignmentEj(ptr noundef nonnull align 8 dereferenceable(5916) %1, i32 noundef %19)
  store i64 %27, ptr %5, align 8, !tbaa !18
  %28 = getelementptr inbounds i8, ptr %2, i64 40
  %29 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %28)
  %30 = load i64, ptr %29, align 8, !tbaa !18
  %31 = getelementptr inbounds i8, ptr %2, i64 48
  %32 = load ptr, ptr %31, align 8, !tbaa !19
  call void @_ZN14VmaBlockVectorC1EP14VmaAllocator_TP9VmaPool_TjmmmmbjfmPv(ptr noundef nonnull align 8 dereferenceable(181) %0, ptr noundef nonnull %1, ptr noundef nonnull %0, i32 noundef %6, i64 noundef %., i64 noundef %10, i64 noundef %12, i64 noundef %22, i1 noundef zeroext %23, i32 noundef %24, float noundef %26, i64 noundef %30, ptr noundef %32)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  %33 = getelementptr inbounds i8, ptr %0, i64 184
  call void @_ZN26VmaDedicatedAllocationListC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %33)
  %34 = getelementptr inbounds i8, ptr %0, i64 272
  store i32 0, ptr %34, align 8, !tbaa !20
  %35 = getelementptr inbounds i8, ptr %0, i64 280
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %35, i8 0, i64 24, i1 false)
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK14VmaAllocator_T25GetMemoryTypeMinAlignmentEj(ptr noundef nonnull align 8 dereferenceable(5916), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN26VmaDedicatedAllocationListC2Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #2 align 2

declare void @_ZN14VmaBlockVectorC1EP14VmaAllocator_TP9VmaPool_TjmmmmbjfmPv(ptr, ptr, ptr, i32, i64, i64, i64, i64, i1, i32, float, i64, ptr) local_unnamed_addr

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress 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 = { mustprogress 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 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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, !7, i64 0}
!6 = !{!"_ZTS17VmaPoolCreateInfo", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !10, i64 24, !11, i64 32, !10, i64 40, !12, i64 48}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"float", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!6, !10, i64 8}
!14 = !{!6, !10, i64 16}
!15 = !{!6, !10, i64 24}
!16 = !{!6, !7, i64 4}
!17 = !{!6, !11, i64 32}
!18 = !{!10, !10, i64 0}
!19 = !{!6, !12, i64 48}
!20 = !{!21, !7, i64 272}
!21 = !{!"_ZTS9VmaPool_T", !22, i64 0, !29, i64 184, !7, i64 272, !12, i64 280, !12, i64 288, !12, i64 296}
!22 = !{!"_ZTS14VmaBlockVector", !12, i64 0, !12, i64 8, !7, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !23, i64 56, !7, i64 60, !11, i64 64, !10, i64 72, !12, i64 80, !24, i64 88, !27, i64 144, !7, i64 176, !23, i64 180}
!23 = !{!"bool", !8, i64 0}
!24 = !{!"_ZTS10VmaRWMutex", !25, i64 0}
!25 = !{!"_ZTSSt12shared_mutex", !26, i64 0}
!26 = !{!"_ZTSSt22__shared_mutex_pthread", !8, i64 0}
!27 = !{!"_ZTS9VmaVectorIP20VmaDeviceMemoryBlock15VmaStlAllocatorIS1_EE", !28, i64 0, !12, i64 8, !10, i64 16, !10, i64 24}
!28 = !{!"_ZTS15VmaStlAllocatorIP20VmaDeviceMemoryBlockE", !12, i64 0}
!29 = !{!"_ZTS26VmaDedicatedAllocationList", !23, i64 0, !24, i64 8, !30, i64 64}
!30 = !{!"_ZTS22VmaIntrusiveLinkedListI36VmaDedicatedAllocationListItemTraitsE", !12, i64 0, !12, i64 8, !10, i64 16}


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