; LLVM IR from einthomas/GVSPP :: vulkanutil/ZN10VulkanUtil12createBufferEP18VkPhysicalDevice_TP10VkDevice_TmjRP10V_5c170bde (6009b760)

; 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.VkMemoryDedicatedAllocateInfo = type { i32, ptr, ptr, ptr }
%struct.VkBufferCreateInfo = type { i32, ptr, i32, i64, i32, i32, i32, ptr }
%struct.VkMemoryRequirements = type { i64, i64, i32 }
%struct.VkMemoryAllocateInfo = type { i32, ptr, i64, i32 }

@.str = external hidden unnamed_addr constant [24 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@__const._ZN10VulkanUtil12createBufferEP18VkPhysicalDevice_TP10VkDevice_TmjRP10VkBuffer_TRP16VkDeviceMemory_Tjb.dedicatedAllocateInfo = external hidden unnamed_addr constant %struct.VkMemoryDedicatedAllocateInfo, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10VulkanUtil12createBufferEP18VkPhysicalDevice_TP10VkDevice_TmjRP10VkBuffer_TRP16VkDeviceMemory_Tjb(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3, ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5, i32 noundef %6, i1 noundef zeroext %7) #0 align 2 personality ptr @__gxx_personality_v0 {
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i8, align 1
  %17 = alloca %struct.VkBufferCreateInfo, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca %struct.VkMemoryRequirements, align 8
  %21 = alloca %struct.VkMemoryAllocateInfo, align 8
  %22 = alloca %struct.VkMemoryDedicatedAllocateInfo, align 8
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store i64 %2, ptr %11, align 8, !tbaa !9
  store i32 %3, ptr %12, align 4, !tbaa !11
  store ptr %4, ptr %13, align 8, !tbaa !5
  store ptr %5, ptr %14, align 8, !tbaa !5
  store i32 %6, ptr %15, align 4, !tbaa !11
  %23 = zext i1 %7 to i8
  store i8 %23, ptr %16, align 1, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 56, ptr %17) #6
  call void @llvm.memset.p0.i64(ptr align 8 %17, i8 0, i64 56, i1 false)
  %24 = getelementptr inbounds %struct.VkBufferCreateInfo, ptr %17, i32 0, i32 0
  store i32 12, ptr %24, align 8, !tbaa !15
  %25 = load i64, ptr %11, align 8, !tbaa !9
  %26 = getelementptr inbounds %struct.VkBufferCreateInfo, ptr %17, i32 0, i32 3
  store i64 %25, ptr %26, align 8, !tbaa !19
  %27 = load i32, ptr %12, align 4, !tbaa !11
  %28 = getelementptr inbounds %struct.VkBufferCreateInfo, ptr %17, i32 0, i32 4
  store i32 %27, ptr %28, align 8, !tbaa !20
  %29 = getelementptr inbounds %struct.VkBufferCreateInfo, ptr %17, i32 0, i32 5
  store i32 0, ptr %29, align 4, !tbaa !21
  %30 = load ptr, ptr %10, align 8, !tbaa !5
  %31 = load ptr, ptr %13, align 8, !tbaa !5
  %32 = call i32 @vkCreateBuffer(ptr noundef %30, ptr noundef %17, ptr noundef null, ptr noundef %31)
  %33 = icmp ne i32 %32, 0
  br i1 %33, label %34, label %41

34:                                               ; preds = %8
  %35 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %35, ptr noundef @.str)
          to label %36 unwind label %37

36:                                               ; preds = %34
  call void @__cxa_throw(ptr %35, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #7
  unreachable

37:                                               ; preds = %34
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = extractvalue { ptr, i32 } %38, 0
  store ptr %39, ptr %18, align 8
  %40 = extractvalue { ptr, i32 } %38, 1
  store i32 %40, ptr %19, align 4
  call void @__cxa_free_exception(ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %17) #6
  br label %75

41:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #6
  %42 = load ptr, ptr %10, align 8, !tbaa !5
  %43 = load ptr, ptr %13, align 8, !tbaa !5
  %44 = load ptr, ptr %43, align 8, !tbaa !5
  call void @vkGetBufferMemoryRequirements(ptr noundef %42, ptr noundef %44, ptr noundef %20)
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #6
  call void @llvm.memset.p0.i64(ptr align 8 %21, i8 0, i64 32, i1 false)
  %45 = getelementptr inbounds %struct.VkMemoryAllocateInfo, ptr %21, i32 0, i32 0
  store i32 5, ptr %45, align 8, !tbaa !22
  %46 = getelementptr inbounds %struct.VkMemoryRequirements, ptr %20, i32 0, i32 0
  %47 = load i64, ptr %46, align 8, !tbaa !24
  %48 = getelementptr inbounds %struct.VkMemoryAllocateInfo, ptr %21, i32 0, i32 2
  store i64 %47, ptr %48, align 8, !tbaa !26
  %49 = load ptr, ptr %9, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.VkMemoryRequirements, ptr %20, i32 0, i32 2
  %51 = load i32, ptr %50, align 8, !tbaa !27
  %52 = load i32, ptr %15, align 4, !tbaa !11
  %53 = call noundef i32 @_ZN10VulkanUtil14findMemoryTypeEP18VkPhysicalDevice_Tjj(ptr noundef %49, i32 noundef %51, i32 noundef %52)
  %54 = getelementptr inbounds %struct.VkMemoryAllocateInfo, ptr %21, i32 0, i32 3
  store i32 %53, ptr %54, align 8, !tbaa !28
  %55 = load i8, ptr %16, align 1, !tbaa !13, !range !29, !noundef !30
  %56 = trunc i8 %55 to i1
  br i1 %56, label %57, label %62

57:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %22, ptr align 8 @__const._ZN10VulkanUtil12createBufferEP18VkPhysicalDevice_TP10VkDevice_TmjRP10VkBuffer_TRP16VkDeviceMemory_Tjb.dedicatedAllocateInfo, i64 32, i1 false)
  %58 = load ptr, ptr %13, align 8, !tbaa !5
  %59 = load ptr, ptr %58, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.VkMemoryDedicatedAllocateInfo, ptr %22, i32 0, i32 3
  store ptr %59, ptr %60, align 8, !tbaa !31
  %61 = getelementptr inbounds %struct.VkMemoryAllocateInfo, ptr %21, i32 0, i32 1
  store ptr %22, ptr %61, align 8, !tbaa !33
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #6
  br label %62

62:                                               ; preds = %57, %41
  %63 = load ptr, ptr %10, align 8, !tbaa !5
  %64 = load ptr, ptr %14, align 8, !tbaa !5
  %65 = call i32 @vkAllocateMemory(ptr noundef %63, ptr noundef %21, ptr noundef null, ptr noundef %64)
  %66 = icmp ne i32 %65, 0
  br i1 %66, label %67, label %68

67:                                               ; preds = %62
  br label %68

68:                                               ; preds = %67, %62
  %69 = load ptr, ptr %10, align 8, !tbaa !5
  %70 = load ptr, ptr %13, align 8, !tbaa !5
  %71 = load ptr, ptr %70, align 8, !tbaa !5
  %72 = load ptr, ptr %14, align 8, !tbaa !5
  %73 = load ptr, ptr %72, align 8, !tbaa !5
  %74 = call i32 @vkBindBufferMemory(ptr noundef %69, ptr noundef %71, ptr noundef %73, i64 noundef 0)
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %17) #6
  ret void

75:                                               ; preds = %37
  %76 = load ptr, ptr %18, align 8
  %77 = load i32, ptr %19, align 4
  %78 = insertvalue { ptr, i32 } poison, ptr %76, 0
  %79 = insertvalue { ptr, i32 } %78, i32 %77, 1
  resume { ptr, i32 } %79
}

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

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

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

declare ptr @__cxa_allocate_exception(i64)

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

declare void @__cxa_free_exception(ptr)

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

declare void @__cxa_throw(ptr, ptr, ptr)

declare void @vkGetBufferMemoryRequirements(ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN10VulkanUtil14findMemoryTypeEP18VkPhysicalDevice_Tjj(ptr noundef, i32 noundef, i32 noundef) #0 align 2

; 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) #5

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

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

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

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

!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, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"_ZTS18VkBufferCreateInfo", !17, i64 0, !6, i64 8, !12, i64 16, !10, i64 24, !12, i64 32, !18, i64 36, !12, i64 40, !6, i64 48}
!17 = !{!"_ZTS15VkStructureType", !7, i64 0}
!18 = !{!"_ZTS13VkSharingMode", !7, i64 0}
!19 = !{!16, !10, i64 24}
!20 = !{!16, !12, i64 32}
!21 = !{!16, !18, i64 36}
!22 = !{!23, !17, i64 0}
!23 = !{!"_ZTS20VkMemoryAllocateInfo", !17, i64 0, !6, i64 8, !10, i64 16, !12, i64 24}
!24 = !{!25, !10, i64 0}
!25 = !{!"_ZTS20VkMemoryRequirements", !10, i64 0, !10, i64 8, !12, i64 16}
!26 = !{!23, !10, i64 16}
!27 = !{!25, !12, i64 16}
!28 = !{!23, !12, i64 24}
!29 = !{i8 0, i8 2}
!30 = !{}
!31 = !{!32, !6, i64 24}
!32 = !{!"_ZTS29VkMemoryDedicatedAllocateInfo", !17, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!33 = !{!23, !6, i64 8}


; 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.VkBufferCreateInfo = type { i32, ptr, i32, i64, i32, i32, i32, ptr }
%struct.VkMemoryRequirements = type { i64, i64, i32 }
%struct.VkMemoryAllocateInfo = type { i32, ptr, i64, i32 }
%struct.VkMemoryDedicatedAllocateInfo = type { i32, ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [24 x i8], align 1
@_ZTISt13runtime_error = external constant ptr

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10VulkanUtil12createBufferEP18VkPhysicalDevice_TP10VkDevice_TmjRP10VkBuffer_TRP16VkDeviceMemory_Tjb(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3, ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5, i32 noundef %6, i1 noundef zeroext %7) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %9 = alloca %struct.VkBufferCreateInfo, align 8
  %10 = alloca %struct.VkMemoryRequirements, align 8
  %11 = alloca %struct.VkMemoryAllocateInfo, align 8
  %12 = alloca %struct.VkMemoryDedicatedAllocateInfo, align 8
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %9) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(56) %9, i8 0, i64 56, i1 false)
  store i32 12, ptr %9, align 8, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %9, i64 24
  store i64 %2, ptr %13, align 8, !tbaa !14
  %14 = getelementptr inbounds i8, ptr %9, i64 32
  store i32 %3, ptr %14, align 8, !tbaa !15
  %15 = call i32 @vkCreateBuffer(ptr noundef %1, ptr noundef nonnull %9, ptr noundef null, ptr noundef nonnull %4)
  %.not = icmp eq i32 %15, 0
  br i1 %.not, label %21, label %16

16:                                               ; preds = %8
  %17 = call ptr @__cxa_allocate_exception(i64 16) #5
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull @.str)
          to label %18 unwind label %19

18:                                               ; preds = %16
  call void @__cxa_throw(ptr nonnull %17, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #6
  unreachable

19:                                               ; preds = %16
  %20 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %9) #5
  resume { ptr, i32 } %20

21:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #5
  %22 = load ptr, ptr %4, align 8, !tbaa !16
  call void @vkGetBufferMemoryRequirements(ptr noundef %1, ptr noundef %22, ptr noundef nonnull %10)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %11, i8 0, i64 32, i1 false)
  store i32 5, ptr %11, align 8, !tbaa !17
  %23 = load i64, ptr %10, align 8, !tbaa !19
  %24 = getelementptr inbounds i8, ptr %11, i64 16
  store i64 %23, ptr %24, align 8, !tbaa !21
  %25 = getelementptr inbounds i8, ptr %10, i64 16
  %26 = load i32, ptr %25, align 8, !tbaa !22
  %27 = call noundef i32 @_ZN10VulkanUtil14findMemoryTypeEP18VkPhysicalDevice_Tjj(ptr noundef %0, i32 noundef %26, i32 noundef %6)
  %28 = getelementptr inbounds i8, ptr %11, i64 24
  store i32 %27, ptr %28, align 8, !tbaa !23
  br i1 %7, label %29, label %31

29:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #5
  %30 = getelementptr inbounds i8, ptr %11, i64 8
  store ptr %12, ptr %30, align 8, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #5
  br label %31

31:                                               ; preds = %29, %21
  %32 = call i32 @vkAllocateMemory(ptr noundef %1, ptr noundef nonnull %11, ptr noundef null, ptr noundef nonnull %5)
  %33 = load ptr, ptr %4, align 8, !tbaa !16
  %34 = load ptr, ptr %5, align 8, !tbaa !16
  %35 = call i32 @vkBindBufferMemory(ptr noundef %1, ptr noundef %33, ptr noundef %34, i64 noundef 0)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %9) #5
  ret void
}

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

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

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

declare void @vkGetBufferMemoryRequirements(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN10VulkanUtil14findMemoryTypeEP18VkPhysicalDevice_Tjj(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0 align 2

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

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

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

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

!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 = !{!"_ZTS18VkBufferCreateInfo", !7, i64 0, !10, i64 8, !11, i64 16, !12, i64 24, !11, i64 32, !13, i64 36, !11, i64 40, !10, i64 48}
!7 = !{!"_ZTS15VkStructureType", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_ZTS13VkSharingMode", !8, i64 0}
!14 = !{!6, !12, i64 24}
!15 = !{!6, !11, i64 32}
!16 = !{!10, !10, i64 0}
!17 = !{!18, !7, i64 0}
!18 = !{!"_ZTS20VkMemoryAllocateInfo", !7, i64 0, !10, i64 8, !12, i64 16, !11, i64 24}
!19 = !{!20, !12, i64 0}
!20 = !{!"_ZTS20VkMemoryRequirements", !12, i64 0, !12, i64 8, !11, i64 16}
!21 = !{!18, !12, i64 16}
!22 = !{!20, !11, i64 16}
!23 = !{!18, !11, i64 24}
!24 = !{!18, !10, i64 8}


; Effective O3 passes: DSEPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass