; LLVM IR from jrouwe/JoltPhysics :: TestFramework/Renderer/VK/RendererVK.ll (ZN10RendererVK15FindDepthFormatEv)

; 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.VkFormatProperties = type { i32, i32, i32 }
%class.RendererVK = type { %class.Renderer, ptr, ptr, ptr, %struct.VkPhysicalDeviceMemoryProperties, ptr, i32, i32, ptr, ptr, ptr, ptr, i8, %"class.JPH::Array", i32, %struct.VkExtent2D, %"class.JPH::Array.1", ptr, ptr, ptr, ptr, ptr, ptr, [2 x ptr], [2 x ptr], ptr, ptr, ptr, ptr, ptr, ptr, %"class.JPH::Array.4", i32, ptr, [2 x ptr], [2 x ptr], [2 x ptr], [2 x ptr], %"class.JPH::Ref", [2 x %"class.std::unique_ptr"], [2 x %"class.std::unique_ptr"], [2 x %"class.std::unique_ptr"], [2 x %"class.JPH::UnorderedMap"], %"class.JPH::UnorderedMap", %"class.JPH::UnorderedMap.9", i32, i32, i64, i64 }
%class.Renderer = type { ptr, ptr, float, i8, [11 x i8], %struct.CameraState, %"class.JPH::Vec3", %class.Frustum, %class.Frustum, i32, %"struct.Renderer::VertexShaderConstantBuffer", %"struct.Renderer::VertexShaderConstantBuffer", %"struct.Renderer::PixelShaderConstantBuffer" }
%struct.CameraState = type <{ %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", float, [12 x i8] }>
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%class.Frustum = type { [5 x %"class.JPH::Plane"] }
%"class.JPH::Plane" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.0 }
%union.anon.0 = type { <4 x float> }
%"struct.Renderer::VertexShaderConstantBuffer" = type { %"class.JPH::Mat44", %"class.JPH::Mat44", %"class.JPH::Mat44", %"class.JPH::Mat44" }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"struct.Renderer::PixelShaderConstantBuffer" = type { %"class.JPH::Vec4", %"class.JPH::Vec4" }
%struct.VkPhysicalDeviceMemoryProperties = type { i32, [32 x %struct.VkMemoryType], i32, [16 x %struct.VkMemoryHeap] }
%struct.VkMemoryType = type { i32, i32 }
%struct.VkMemoryHeap = type { i64, i32 }
%"class.JPH::Array" = type { i64, i64, ptr }
%struct.VkExtent2D = type { i32, i32 }
%"class.JPH::Array.1" = type { i64, i64, ptr }
%"class.JPH::Array.4" = type { i64, i64, ptr }
%"class.JPH::Ref" = type { ptr }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.8" }
%"struct.std::_Head_base.8" = type { ptr }
%"class.JPH::UnorderedMap" = type { %"class.JPH::HashTable.base", [4 x i8] }
%"class.JPH::HashTable.base" = type <{ ptr, ptr, i32, i32, i32 }>
%"class.JPH::UnorderedMap.9" = type { %"class.JPH::HashTable.base.11", [4 x i8] }
%"class.JPH::HashTable.base.11" = type <{ ptr, ptr, i32, i32, i32 }>

@__const._ZN10RendererVK15FindDepthFormatEv.candidates = external hidden unnamed_addr constant [3 x i32], align 4
@.str.11 = external hidden unnamed_addr constant [23 x i8], align 1

; 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: 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: noreturn
declare void @_Z10FatalErrorPKcz(ptr noundef, ...) #2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN10RendererVK15FindDepthFormatEv(ptr noundef nonnull align 16 dereferenceable(1936) %0) #3 align 2 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca [3 x i32], align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %struct.VkFormatProperties, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  %11 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr %4) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %4, ptr align 4 @__const._ZN10RendererVK15FindDepthFormatEv.candidates, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  store ptr %4, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %12 = load ptr, ptr %5, align 8, !tbaa !5
  %13 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 0
  store ptr %13, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  %15 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 0
  %16 = getelementptr inbounds i32, ptr %15, i64 3
  store ptr %16, ptr %7, align 8, !tbaa !5
  br label %17

17:                                               ; preds = %41, %1
  %18 = load ptr, ptr %6, align 8, !tbaa !5
  %19 = load ptr, ptr %7, align 8, !tbaa !5
  %20 = icmp ne ptr %18, %19
  br i1 %20, label %22, label %21

21:                                               ; preds = %17
  store i32 2, ptr %8, align 4
  br label %44

22:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = load i32, ptr %23, align 4, !tbaa !9
  store i32 %24, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %10) #5
  %25 = getelementptr inbounds %class.RendererVK, ptr %11, i32 0, i32 3
  %26 = load ptr, ptr %25, align 16, !tbaa !11
  %27 = load i32, ptr %9, align 4, !tbaa !9
  call void @vkGetPhysicalDeviceFormatProperties(ptr noundef %26, i32 noundef %27, ptr noundef %10)
  %28 = getelementptr inbounds %struct.VkFormatProperties, ptr %10, i32 0, i32 1
  %29 = load i32, ptr %28, align 4, !tbaa !35
  %30 = and i32 %29, 512
  %31 = icmp eq i32 %30, 512
  br i1 %31, label %32, label %34

32:                                               ; preds = %22
  %33 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %33, ptr %2, align 4
  store i32 1, ptr %8, align 4
  br label %35

34:                                               ; preds = %22
  store i32 0, ptr %8, align 4
  br label %35

35:                                               ; preds = %34, %32
  call void @llvm.lifetime.end.p0(i64 12, ptr %10) #5
  %36 = load i32, ptr %8, align 4
  switch i32 %36, label %38 [
    i32 0, label %37
  ]

37:                                               ; preds = %35
  store i32 0, ptr %8, align 4
  br label %38

38:                                               ; preds = %37, %35
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  %39 = load i32, ptr %8, align 4
  switch i32 %39, label %44 [
    i32 0, label %40
  ]

40:                                               ; preds = %38
  br label %41

41:                                               ; preds = %40
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = getelementptr inbounds i32, ptr %42, i32 1
  store ptr %43, ptr %6, align 8, !tbaa !5
  br label %17

44:                                               ; preds = %38, %21
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  %45 = load i32, ptr %8, align 4
  switch i32 %45, label %47 [
    i32 2, label %46
  ]

46:                                               ; preds = %44
  call void (ptr, ...) @_Z10FatalErrorPKcz(ptr noundef @.str.11) #6
  unreachable

47:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 12, ptr %4) #5
  %48 = load i32, ptr %2, align 4
  ret i32 %48
}

declare void @vkGetPhysicalDeviceFormatProperties(ptr noundef, i32 noundef, ptr noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { noreturn "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 = { "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, !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 = !{!"_ZTS8VkFormat", !7, i64 0}
!11 = !{!12, !6, i64 848}
!12 = !{!"_ZTS10RendererVK", !13, i64 0, !6, i64 832, !6, i64 840, !6, i64 848, !24, i64 856, !6, i64 1376, !19, i64 1384, !19, i64 1388, !6, i64 1392, !6, i64 1400, !6, i64 1408, !6, i64 1416, !15, i64 1424, !25, i64 1432, !10, i64 1456, !27, i64 1460, !28, i64 1472, !6, i64 1496, !6, i64 1504, !6, i64 1512, !6, i64 1520, !6, i64 1528, !6, i64 1536, !7, i64 1544, !7, i64 1560, !6, i64 1576, !6, i64 1584, !6, i64 1592, !6, i64 1600, !6, i64 1608, !6, i64 1616, !29, i64 1624, !19, i64 1648, !6, i64 1656, !7, i64 1664, !7, i64 1680, !7, i64 1696, !7, i64 1712, !30, i64 1728, !7, i64 1736, !7, i64 1752, !7, i64 1768, !7, i64 1784, !31, i64 1848, !33, i64 1880, !19, i64 1912, !19, i64 1916, !26, i64 1920, !26, i64 1928}
!13 = !{!"_ZTS8Renderer", !6, i64 8, !14, i64 16, !15, i64 20, !16, i64 32, !17, i64 96, !18, i64 112, !18, i64 192, !19, i64 272, !20, i64 288, !20, i64 544, !22, i64 800}
!14 = !{!"float", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTS11CameraState", !17, i64 0, !17, i64 16, !17, i64 32, !14, i64 48}
!17 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!18 = !{!"_ZTS7Frustum", !7, i64 0}
!19 = !{!"int", !7, i64 0}
!20 = !{!"_ZTSN8Renderer26VertexShaderConstantBufferE", !21, i64 0, !21, i64 64, !21, i64 128, !21, i64 192}
!21 = !{!"_ZTSN3JPH5Mat44E", !7, i64 0}
!22 = !{!"_ZTSN8Renderer25PixelShaderConstantBufferE", !23, i64 0, !23, i64 16}
!23 = !{!"_ZTSN3JPH4Vec4E", !7, i64 0}
!24 = !{!"_ZTS32VkPhysicalDeviceMemoryProperties", !19, i64 0, !7, i64 4, !19, i64 260, !7, i64 264}
!25 = !{!"_ZTSN3JPH5ArrayIP9VkImage_TNS_12STLAllocatorIS2_EEEE", !26, i64 0, !26, i64 8, !6, i64 16}
!26 = !{!"long", !7, i64 0}
!27 = !{!"_ZTS10VkExtent2D", !19, i64 0, !19, i64 4}
!28 = !{!"_ZTSN3JPH5ArrayIP13VkImageView_TNS_12STLAllocatorIS2_EEEE", !26, i64 0, !26, i64 8, !6, i64 16}
!29 = !{!"_ZTSN3JPH5ArrayIP15VkFramebuffer_TNS_12STLAllocatorIS2_EEEE", !26, i64 0, !26, i64 8, !6, i64 16}
!30 = !{!"_ZTSN3JPH3RefI9TextureVKEE", !6, i64 0}
!31 = !{!"_ZTSN3JPH12UnorderedMapIN10RendererVK3KeyENS_5ArrayI8BufferVKNS_12STLAllocatorIS4_EEEENS1_9KeyHasherESt8equal_toIS2_EEE", !32, i64 0}
!32 = !{!"_ZTSN3JPH9HashTableIN10RendererVK3KeyESt4pairIS2_NS_5ArrayI8BufferVKNS_12STLAllocatorIS5_EEEEENS_18UnorderedMapDetailIS2_S8_EENS1_9KeyHasherESt8equal_toIS2_EEE", !6, i64 0, !6, i64 8, !19, i64 16, !19, i64 20, !19, i64 24}
!33 = !{!"_ZTSN3JPH12UnorderedMapIN10RendererVK3KeyENS_5ArrayINS1_6MemoryENS_12STLAllocatorIS4_EEEENS1_9KeyHasherESt8equal_toIS2_EEE", !34, i64 0}
!34 = !{!"_ZTSN3JPH9HashTableIN10RendererVK3KeyESt4pairIS2_NS_5ArrayINS1_6MemoryENS_12STLAllocatorIS5_EEEEENS_18UnorderedMapDetailIS2_S8_EENS1_9KeyHasherESt8equal_toIS2_EEE", !6, i64 0, !6, i64 8, !19, i64 16, !19, i64 20, !19, i64 24}
!35 = !{!36, !19, i64 4}
!36 = !{!"_ZTS18VkFormatProperties", !19, i64 0, !19, i64 4, !19, 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.VkFormatProperties = type { i32, i32, i32 }

@__const._ZN10RendererVK15FindDepthFormatEv.candidates = external hidden unnamed_addr constant [3 x i32], align 4
@.str.11 = external hidden unnamed_addr constant [23 x i8], align 1

; 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

; Function Attrs: noreturn
declare void @_Z10FatalErrorPKcz(ptr noundef, ...) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN10RendererVK15FindDepthFormatEv(ptr nocapture noundef nonnull readonly align 16 dereferenceable(1936) %0) local_unnamed_addr #2 align 2 {
  %2 = alloca %struct.VkFormatProperties, align 4
  %3 = getelementptr inbounds i8, ptr %0, i64 848
  %4 = getelementptr inbounds i8, ptr %2, i64 4
  %5 = load i32, ptr @__const._ZN10RendererVK15FindDepthFormatEv.candidates, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #4
  %6 = load ptr, ptr %3, align 16, !tbaa !9
  call void @vkGetPhysicalDeviceFormatProperties(ptr noundef %6, i32 noundef %5, ptr noundef nonnull %2)
  %7 = load i32, ptr %4, align 4, !tbaa !34
  %8 = and i32 %7, 512
  %.not17 = icmp eq i32 %8, 0
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #4
  br i1 %.not17, label %9, label %20

9:                                                ; preds = %1
  %10 = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN10RendererVK15FindDepthFormatEv.candidates, i64 4), align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #4
  %11 = load ptr, ptr %3, align 16, !tbaa !9
  call void @vkGetPhysicalDeviceFormatProperties(ptr noundef %11, i32 noundef %10, ptr noundef nonnull %2)
  %12 = load i32, ptr %4, align 4, !tbaa !34
  %13 = and i32 %12, 512
  %.not17.1 = icmp eq i32 %13, 0
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #4
  br i1 %.not17.1, label %14, label %20

14:                                               ; preds = %9
  %15 = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN10RendererVK15FindDepthFormatEv.candidates, i64 8), align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #4
  %16 = load ptr, ptr %3, align 16, !tbaa !9
  call void @vkGetPhysicalDeviceFormatProperties(ptr noundef %16, i32 noundef %15, ptr noundef nonnull %2)
  %17 = load i32, ptr %4, align 4, !tbaa !34
  %18 = and i32 %17, 512
  %.not17.2 = icmp eq i32 %18, 0
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #4
  br i1 %.not17.2, label %19, label %20

19:                                               ; preds = %14
  call void (ptr, ...) @_Z10FatalErrorPKcz(ptr noundef nonnull @.str.11) #5
  unreachable

20:                                               ; preds = %14, %9, %1
  %.lcssa = phi i32 [ %5, %1 ], [ %10, %9 ], [ %15, %14 ]
  ret i32 %.lcssa
}

declare void @vkGetPhysicalDeviceFormatProperties(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn "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 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 = { "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 }
attributes #5 = { 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 = !{!"_ZTS8VkFormat", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !12, i64 848}
!10 = !{!"_ZTS10RendererVK", !11, i64 0, !12, i64 832, !12, i64 840, !12, i64 848, !23, i64 856, !12, i64 1376, !18, i64 1384, !18, i64 1388, !12, i64 1392, !12, i64 1400, !12, i64 1408, !12, i64 1416, !14, i64 1424, !24, i64 1432, !6, i64 1456, !26, i64 1460, !27, i64 1472, !12, i64 1496, !12, i64 1504, !12, i64 1512, !12, i64 1520, !12, i64 1528, !12, i64 1536, !7, i64 1544, !7, i64 1560, !12, i64 1576, !12, i64 1584, !12, i64 1592, !12, i64 1600, !12, i64 1608, !12, i64 1616, !28, i64 1624, !18, i64 1648, !12, i64 1656, !7, i64 1664, !7, i64 1680, !7, i64 1696, !7, i64 1712, !29, i64 1728, !7, i64 1736, !7, i64 1752, !7, i64 1768, !7, i64 1784, !30, i64 1848, !32, i64 1880, !18, i64 1912, !18, i64 1916, !25, i64 1920, !25, i64 1928}
!11 = !{!"_ZTS8Renderer", !12, i64 8, !13, i64 16, !14, i64 20, !15, i64 32, !16, i64 96, !17, i64 112, !17, i64 192, !18, i64 272, !19, i64 288, !19, i64 544, !21, i64 800}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!"float", !7, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTS11CameraState", !16, i64 0, !16, i64 16, !16, i64 32, !13, i64 48}
!16 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!17 = !{!"_ZTS7Frustum", !7, i64 0}
!18 = !{!"int", !7, i64 0}
!19 = !{!"_ZTSN8Renderer26VertexShaderConstantBufferE", !20, i64 0, !20, i64 64, !20, i64 128, !20, i64 192}
!20 = !{!"_ZTSN3JPH5Mat44E", !7, i64 0}
!21 = !{!"_ZTSN8Renderer25PixelShaderConstantBufferE", !22, i64 0, !22, i64 16}
!22 = !{!"_ZTSN3JPH4Vec4E", !7, i64 0}
!23 = !{!"_ZTS32VkPhysicalDeviceMemoryProperties", !18, i64 0, !7, i64 4, !18, i64 260, !7, i64 264}
!24 = !{!"_ZTSN3JPH5ArrayIP9VkImage_TNS_12STLAllocatorIS2_EEEE", !25, i64 0, !25, i64 8, !12, i64 16}
!25 = !{!"long", !7, i64 0}
!26 = !{!"_ZTS10VkExtent2D", !18, i64 0, !18, i64 4}
!27 = !{!"_ZTSN3JPH5ArrayIP13VkImageView_TNS_12STLAllocatorIS2_EEEE", !25, i64 0, !25, i64 8, !12, i64 16}
!28 = !{!"_ZTSN3JPH5ArrayIP15VkFramebuffer_TNS_12STLAllocatorIS2_EEEE", !25, i64 0, !25, i64 8, !12, i64 16}
!29 = !{!"_ZTSN3JPH3RefI9TextureVKEE", !12, i64 0}
!30 = !{!"_ZTSN3JPH12UnorderedMapIN10RendererVK3KeyENS_5ArrayI8BufferVKNS_12STLAllocatorIS4_EEEENS1_9KeyHasherESt8equal_toIS2_EEE", !31, i64 0}
!31 = !{!"_ZTSN3JPH9HashTableIN10RendererVK3KeyESt4pairIS2_NS_5ArrayI8BufferVKNS_12STLAllocatorIS5_EEEEENS_18UnorderedMapDetailIS2_S8_EENS1_9KeyHasherESt8equal_toIS2_EEE", !12, i64 0, !12, i64 8, !18, i64 16, !18, i64 20, !18, i64 24}
!32 = !{!"_ZTSN3JPH12UnorderedMapIN10RendererVK3KeyENS_5ArrayINS1_6MemoryENS_12STLAllocatorIS4_EEEENS1_9KeyHasherESt8equal_toIS2_EEE", !33, i64 0}
!33 = !{!"_ZTSN3JPH9HashTableIN10RendererVK3KeyESt4pairIS2_NS_5ArrayINS1_6MemoryENS_12STLAllocatorIS5_EEEEENS_18UnorderedMapDetailIS2_S8_EENS1_9KeyHasherESt8equal_toIS2_EEE", !12, i64 0, !12, i64 8, !18, i64 16, !18, i64 20, !18, i64 24}
!34 = !{!35, !18, i64 4}
!35 = !{!"_ZTS18VkFormatProperties", !18, i64 0, !18, i64 4, !18, i64 8}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass