; LLVM IR from hbatagelo/abcg :: abcg (abcgVulkanDevice)

; 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"

%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%"struct.std::less" = type { i8 }
%"class.std::allocator.0" = type { i8 }
%"struct.std::pair" = type <{ %"struct.std::_Rb_tree_const_iterator", i8, [7 x i8] }>
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<vk::DeviceQueueCreateInfo, std::allocator<vk::DeviceQueueCreateInfo>>::_Vector_impl" }
%"struct.std::_Vector_base<vk::DeviceQueueCreateInfo, std::allocator<vk::DeviceQueueCreateInfo>>::_Vector_impl" = type { %"struct.std::_Vector_base<vk::DeviceQueueCreateInfo, std::allocator<vk::DeviceQueueCreateInfo>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vk::DeviceQueueCreateInfo, std::allocator<vk::DeviceQueueCreateInfo>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.vk::DeviceQueueCreateInfo" = type { i32, ptr, %"class.vk::Flags", i32, i32, ptr }
%"class.vk::Flags" = type { i32 }
%"struct.vk::PhysicalDeviceFeatures" = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%"class.vk::PhysicalDevice" = type { ptr }
%"class.vk::Device" = type { ptr }
%"struct.vk::DeviceCreateInfo" = type { i32, ptr, %"class.vk::Flags.6", i32, ptr, i32, ptr, i32, ptr, ptr }
%"class.vk::Flags.6" = type { i32 }
%"class.vk::Optional" = type { ptr }
%"class.vk::Queue" = type { ptr }
%"class.abcg::VulkanDevice" = type { %"class.vk::Device", %"class.abcg::VulkanPhysicalDevice", %"struct.abcg::VulkanCommandPools", %"struct.abcg::VulkanQueues" }
%"class.abcg::VulkanPhysicalDevice" = type <{ %"class.vk::PhysicalDevice", %"class.abcg::VulkanInstance", %"class.vk::SurfaceKHR", i32, %"struct.abcg::VulkanQueuesFamilies", [4 x i8] }>
%"class.abcg::VulkanInstance" = type { %"class.vk::Instance", %"class.vk::DebugUtilsMessengerEXT" }
%"class.vk::Instance" = type { ptr }
%"class.vk::DebugUtilsMessengerEXT" = type { ptr }
%"class.vk::SurfaceKHR" = type { ptr }
%"struct.abcg::VulkanQueuesFamilies" = type { %"class.std::optional", %"class.std::optional", %"class.std::optional", %"class.std::optional" }
%"class.std::optional" = type { %"struct.std::_Optional_base" }
%"struct.std::_Optional_base" = type { %"struct.std::_Optional_payload" }
%"struct.std::_Optional_payload" = type { %"struct.std::_Optional_payload_base.base", [3 x i8] }
%"struct.std::_Optional_payload_base.base" = type <{ %"union.std::_Optional_payload_base<unsigned int>::_Storage", i8 }>
%"union.std::_Optional_payload_base<unsigned int>::_Storage" = type { i32 }
%"struct.abcg::VulkanCommandPools" = type { %"class.vk::CommandPool", %"class.vk::CommandPool", %"class.vk::CommandPool" }
%"class.vk::CommandPool" = type { ptr }
%"struct.abcg::VulkanQueues" = type { %"class.vk::Queue", %"class.vk::Queue", %"class.vk::Queue", %"class.vk::Queue" }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4abcg12VulkanDevice6createERKNS_20VulkanPhysicalDeviceERKSt6vectorIPKcSaIS6_EE(ptr noundef nonnull align 8 dereferenceable(136) %0, ptr noundef nonnull align 8 dereferenceable(68) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %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 i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::set", align 8
  %13 = alloca %"class.std::initializer_list", align 8
  %14 = alloca [2 x i32], align 4
  %15 = alloca %"struct.std::less", align 1
  %16 = alloca %"class.std::allocator.0", align 1
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca %"struct.std::pair", align 8
  %20 = alloca %"struct.std::pair", align 8
  %21 = alloca float, align 4
  %22 = alloca %"class.std::vector", align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %25 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %26 = alloca i32, align 4
  %27 = alloca %"struct.vk::DeviceQueueCreateInfo", align 8
  %28 = alloca %"struct.vk::PhysicalDeviceFeatures", align 4
  %29 = alloca %"class.vk::PhysicalDevice", align 8
  %30 = alloca %"class.vk::Device", align 8
  %31 = alloca %"class.vk::PhysicalDevice", align 8
  %32 = alloca %"struct.vk::DeviceCreateInfo", align 8
  %33 = alloca %"class.vk::Optional", align 8
  %34 = alloca %"class.vk::Queue", align 8
  %35 = alloca %"class.vk::Queue", align 8
  %36 = alloca %"class.vk::Queue", align 8
  %37 = alloca %"class.vk::Queue", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %38 = load ptr, ptr %4, align 8
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = getelementptr inbounds %"class.abcg::VulkanDevice", ptr %38, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %40, ptr align 8 %39, i64 68, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  %41 = getelementptr inbounds %"class.abcg::VulkanDevice", ptr %38, i32 0, i32 1
  %42 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZNK4abcg20VulkanPhysicalDevice17getQueuesFamiliesEv(ptr noundef nonnull align 8 dereferenceable(68) %41) #9
  store ptr %42, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #9
  %43 = load ptr, ptr %7, align 8, !tbaa !5
  %44 = getelementptr inbounds %"struct.abcg::VulkanQueuesFamilies", ptr %43, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #9
  store i32 0, ptr %9, align 4, !tbaa !9
  %45 = call noundef i32 @_ZNKRSt8optionalIjE8value_orIiEEjOT_(ptr noundef nonnull align 4 dereferenceable(8) %44, ptr noundef nonnull align 4 dereferenceable(4) %9)
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  store i32 %45, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #9
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = getelementptr inbounds %"struct.abcg::VulkanQueuesFamilies", ptr %46, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #9
  store i32 0, ptr %11, align 4, !tbaa !9
  %48 = call noundef i32 @_ZNKRSt8optionalIjE8value_orIiEEjOT_(ptr noundef nonnull align 4 dereferenceable(8) %47, ptr noundef nonnull align 4 dereferenceable(4) %11)
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  store i32 %48, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 48, ptr %12) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %49 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %49, ptr %14, align 4, !tbaa !9
  %50 = getelementptr inbounds i32, ptr %14, i64 1
  %51 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %51, ptr %50, align 4, !tbaa !9
  %52 = getelementptr inbounds %"class.std::initializer_list", ptr %13, i32 0, i32 0
  store ptr %14, ptr %52, align 8, !tbaa !11
  %53 = getelementptr inbounds %"class.std::initializer_list", ptr %13, i32 0, i32 1
  store i64 2, ptr %53, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #9
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #9
  %54 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 0
  %55 = load ptr, ptr %54, align 8
  %56 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 1
  %57 = load i64, ptr %56, align 8
  invoke void @_ZNSt3setIjSt4lessIjESaIjEEC2ESt16initializer_listIjERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(48) %12, ptr %55, i64 %57, ptr noundef nonnull align 1 dereferenceable(1) %15, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %58 unwind label %73

58:                                               ; preds = %3
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = getelementptr inbounds %"struct.abcg::VulkanQueuesFamilies", ptr %59, i32 0, i32 0
  %61 = call noundef zeroext i1 @_ZNKSt8optionalIjE9has_valueEv(ptr noundef nonnull align 4 dereferenceable(8) %60) #9
  br i1 %61, label %62, label %81

62:                                               ; preds = %58
  %63 = load ptr, ptr %7, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.abcg::VulkanQueuesFamilies", ptr %63, i32 0, i32 0
  %65 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNKRSt8optionalIjE5valueEv(ptr noundef nonnull align 4 dereferenceable(8) %64)
          to label %66 unwind label %77

66:                                               ; preds = %62
  %67 = invoke { ptr, i8 } @_ZNSt3setIjSt4lessIjESaIjEE6insertERKj(ptr noundef nonnull align 8 dereferenceable(48) %12, ptr noundef nonnull align 4 dereferenceable(4) %65)
          to label %68 unwind label %77

68:                                               ; preds = %66
  %69 = getelementptr inbounds { ptr, i8 }, ptr %19, i32 0, i32 0
  %70 = extractvalue { ptr, i8 } %67, 0
  store ptr %70, ptr %69, align 8
  %71 = getelementptr inbounds { ptr, i8 }, ptr %19, i32 0, i32 1
  %72 = extractvalue { ptr, i8 } %67, 1
  store i8 %72, ptr %71, align 8
  br label %81

73:                                               ; preds = %3
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %17, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %18, align 4
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  br label %250

77:                                               ; preds = %89, %85, %66, %62
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %17, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %18, align 4
  br label %249

81:                                               ; preds = %68, %58
  %82 = load ptr, ptr %7, align 8, !tbaa !5
  %83 = getelementptr inbounds %"struct.abcg::VulkanQueuesFamilies", ptr %82, i32 0, i32 3
  %84 = call noundef zeroext i1 @_ZNKSt8optionalIjE9has_valueEv(ptr noundef nonnull align 4 dereferenceable(8) %83) #9
  br i1 %84, label %85, label %96

85:                                               ; preds = %81
  %86 = load ptr, ptr %7, align 8, !tbaa !5
  %87 = getelementptr inbounds %"struct.abcg::VulkanQueuesFamilies", ptr %86, i32 0, i32 3
  %88 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNKRSt8optionalIjE5valueEv(ptr noundef nonnull align 4 dereferenceable(8) %87)
          to label %89 unwind label %77

89:                                               ; preds = %85
  %90 = invoke { ptr, i8 } @_ZNSt3setIjSt4lessIjESaIjEE6insertERKj(ptr noundef nonnull align 8 dereferenceable(48) %12, ptr noundef nonnull align 4 dereferenceable(4) %88)
          to label %91 unwind label %77

91:                                               ; preds = %89
  %92 = getelementptr inbounds { ptr, i8 }, ptr %20, i32 0, i32 0
  %93 = extractvalue { ptr, i8 } %90, 0
  store ptr %93, ptr %92, align 8
  %94 = getelementptr inbounds { ptr, i8 }, ptr %20, i32 0, i32 1
  %95 = extractvalue { ptr, i8 } %90, 1
  store i8 %95, ptr %94, align 8
  br label %96

96:                                               ; preds = %91, %81
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  store float 1.000000e+00, ptr %21, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #9
  call void @_ZNSt6vectorIN2vk21DeviceQueueCreateInfoESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #9
  %97 = call noundef i64 @_ZNKSt3setIjSt4lessIjESaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %12) #9
  invoke void @_ZNSt6vectorIN2vk21DeviceQueueCreateInfoESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %97)
          to label %98 unwind label %108

98:                                               ; preds = %96
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  store ptr %12, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #9
  %99 = load ptr, ptr %23, align 8, !tbaa !5
  %100 = call ptr @_ZNKSt3setIjSt4lessIjESaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %99) #9
  %101 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %24, i32 0, i32 0
  store ptr %100, ptr %101, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #9
  %102 = load ptr, ptr %23, align 8, !tbaa !5
  %103 = call ptr @_ZNKSt3setIjSt4lessIjESaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %102) #9
  %104 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %25, i32 0, i32 0
  store ptr %103, ptr %104, align 8
  br label %105

105:                                              ; preds = %123, %98
  %106 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIjES2_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %25) #9
  br i1 %106, label %112, label %107

107:                                              ; preds = %105
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  br label %129

108:                                              ; preds = %96
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %17, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %18, align 4
  br label %248

112:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #9
  %113 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #9
  %114 = load i32, ptr %113, align 4, !tbaa !9
  store i32 %114, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 40, ptr %27) #9
  %115 = getelementptr inbounds %"struct.vk::DeviceQueueCreateInfo", ptr %27, i32 0, i32 0
  store i32 2, ptr %115, align 8, !tbaa !17
  %116 = getelementptr inbounds %"struct.vk::DeviceQueueCreateInfo", ptr %27, i32 0, i32 1
  store ptr null, ptr %116, align 8, !tbaa !21
  %117 = getelementptr inbounds %"struct.vk::DeviceQueueCreateInfo", ptr %27, i32 0, i32 2
  call void @_ZN2vk5FlagsINS_25DeviceQueueCreateFlagBitsEEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %117) #9
  %118 = getelementptr inbounds %"struct.vk::DeviceQueueCreateInfo", ptr %27, i32 0, i32 3
  %119 = load i32, ptr %26, align 4, !tbaa !9
  store i32 %119, ptr %118, align 4, !tbaa !22
  %120 = getelementptr inbounds %"struct.vk::DeviceQueueCreateInfo", ptr %27, i32 0, i32 4
  store i32 1, ptr %120, align 8, !tbaa !23
  %121 = getelementptr inbounds %"struct.vk::DeviceQueueCreateInfo", ptr %27, i32 0, i32 5
  store ptr %21, ptr %121, align 8, !tbaa !24
  invoke void @_ZNSt6vectorIN2vk21DeviceQueueCreateInfoESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 8 dereferenceable(40) %27)
          to label %122 unwind label %125

122:                                              ; preds = %112
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  br label %123

123:                                              ; preds = %122
  %124 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorIjEppEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #9
  br label %105

125:                                              ; preds = %112
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %17, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  br label %248

129:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 220, ptr %28) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #9
  %130 = getelementptr inbounds %"class.abcg::VulkanDevice", ptr %38, i32 0, i32 1
  %131 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4abcg20VulkanPhysicalDevicecvRKN2vk14PhysicalDeviceEEv(ptr noundef nonnull align 8 dereferenceable(68) %130) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %29, ptr align 8 %131, i64 8, i1 false), !tbaa.struct !25
  %132 = invoke noundef nonnull align 8 dereferenceable(9) ptr @_ZN2vkL23getDispatchLoaderStaticEv()
          to label %133 unwind label %200

133:                                              ; preds = %129
  call void @_ZNK2vk14PhysicalDevice11getFeaturesINS_20DispatchLoaderStaticEEENS_22PhysicalDeviceFeaturesERKT_(ptr dead_on_unwind writable sret(%"struct.vk::PhysicalDeviceFeatures") align 4 %28, ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(9) %132) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  %134 = getelementptr inbounds %"struct.vk::PhysicalDeviceFeatures", ptr %28, i32 0, i32 19
  store i32 1, ptr %134, align 4, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #9
  %135 = getelementptr inbounds %"class.abcg::VulkanDevice", ptr %38, i32 0, i32 1
  %136 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4abcg20VulkanPhysicalDevicecvRKN2vk14PhysicalDeviceEEv(ptr noundef nonnull align 8 dereferenceable(68) %135) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %31, ptr align 8 %136, i64 8, i1 false), !tbaa.struct !25
  call void @llvm.lifetime.start.p0(i64 72, ptr %32) #9
  %137 = getelementptr inbounds %"struct.vk::DeviceCreateInfo", ptr %32, i32 0, i32 0
  store i32 3, ptr %137, align 8, !tbaa !28
  %138 = getelementptr inbounds %"struct.vk::DeviceCreateInfo", ptr %32, i32 0, i32 1
  store ptr null, ptr %138, align 8, !tbaa !31
  %139 = getelementptr inbounds %"struct.vk::DeviceCreateInfo", ptr %32, i32 0, i32 2
  call void @_ZN2vk5FlagsINS_20DeviceCreateFlagBitsEEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %139) #9
  %140 = getelementptr inbounds %"struct.vk::DeviceCreateInfo", ptr %32, i32 0, i32 3
  %141 = call noundef i64 @_ZNKSt6vectorIN2vk21DeviceQueueCreateInfoESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #9
  %142 = invoke noundef i32 @_ZN3gsl6narrowIjmEET_T0_(i64 noundef %141)
          to label %143 unwind label %204

143:                                              ; preds = %133
  store i32 %142, ptr %140, align 4, !tbaa !32
  %144 = getelementptr inbounds %"struct.vk::DeviceCreateInfo", ptr %32, i32 0, i32 4
  %145 = call noundef ptr @_ZNSt6vectorIN2vk21DeviceQueueCreateInfoESaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #9
  store ptr %145, ptr %144, align 8, !tbaa !33
  %146 = getelementptr inbounds %"struct.vk::DeviceCreateInfo", ptr %32, i32 0, i32 5
  store i32 0, ptr %146, align 8, !tbaa !34
  %147 = getelementptr inbounds %"struct.vk::DeviceCreateInfo", ptr %32, i32 0, i32 6
  store ptr null, ptr %147, align 8, !tbaa !35
  %148 = getelementptr inbounds %"struct.vk::DeviceCreateInfo", ptr %32, i32 0, i32 7
  %149 = load ptr, ptr %6, align 8, !tbaa !5
  %150 = call noundef i64 @_ZNKSt6vectorIPKcSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %149) #9
  %151 = invoke noundef i32 @_ZN3gsl6narrowIjmEET_T0_(i64 noundef %150)
          to label %152 unwind label %204

152:                                              ; preds = %143
  store i32 %151, ptr %148, align 8, !tbaa !36
  %153 = getelementptr inbounds %"struct.vk::DeviceCreateInfo", ptr %32, i32 0, i32 8
  %154 = load ptr, ptr %6, align 8, !tbaa !5
  %155 = call noundef ptr @_ZNKSt6vectorIPKcSaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %154) #9
  store ptr %155, ptr %153, align 8, !tbaa !37
  %156 = getelementptr inbounds %"struct.vk::DeviceCreateInfo", ptr %32, i32 0, i32 9
  store ptr %28, ptr %156, align 8, !tbaa !38
  call void @_ZN2vk8OptionalIKNS_19AllocationCallbacksEEC2EDn(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr null) #9
  %157 = invoke noundef nonnull align 8 dereferenceable(9) ptr @_ZN2vkL23getDispatchLoaderStaticEv()
          to label %158 unwind label %204

158:                                              ; preds = %152
  %159 = getelementptr inbounds %"class.vk::Optional", ptr %33, i32 0, i32 0
  %160 = load ptr, ptr %159, align 8
  %161 = invoke ptr @_ZNK2vk14PhysicalDevice12createDeviceINS_20DispatchLoaderStaticEEENS_6DeviceERKNS_16DeviceCreateInfoENS_8OptionalIKNS_19AllocationCallbacksEEERKT_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(72) %32, ptr %160, ptr noundef nonnull align 8 dereferenceable(9) %157)
          to label %162 unwind label %204

162:                                              ; preds = %158
  %163 = getelementptr inbounds %"class.vk::Device", ptr %30, i32 0, i32 0
  store ptr %161, ptr %163, align 8
  %164 = getelementptr inbounds %"class.abcg::VulkanDevice", ptr %38, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %164, ptr align 8 %30, i64 8, i1 false), !tbaa.struct !25
  call void @llvm.lifetime.end.p0(i64 72, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  %165 = getelementptr inbounds %"class.abcg::VulkanDevice", ptr %38, i32 0, i32 0
  %166 = call noundef ptr @_ZNK2vk6DevicecvP10VkDevice_TEv(ptr noundef nonnull align 8 dereferenceable(8) %165) #9
  invoke void @volkLoadDevice(ptr noundef %166)
          to label %167 unwind label %208

167:                                              ; preds = %162
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #9
  %168 = getelementptr inbounds %"class.abcg::VulkanDevice", ptr %38, i32 0, i32 0
  %169 = load i32, ptr %8, align 4, !tbaa !9
  %170 = invoke noundef nonnull align 8 dereferenceable(9) ptr @_ZN2vkL23getDispatchLoaderStaticEv()
          to label %171 unwind label %212

171:                                              ; preds = %167
  %172 = call ptr @_ZNK2vk6Device8getQueueINS_20DispatchLoaderStaticEEENS_5QueueEjjRKT_(ptr noundef nonnull align 8 dereferenceable(8) %168, i32 noundef %169, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(9) %170) #9
  %173 = getelementptr inbounds %"class.vk::Queue", ptr %34, i32 0, i32 0
  store ptr %172, ptr %173, align 8
  %174 = getelementptr inbounds %"class.abcg::VulkanDevice", ptr %38, i32 0, i32 3
  %175 = getelementptr inbounds %"struct.abcg::VulkanQueues", ptr %174, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %175, ptr align 8 %34, i64 8, i1 false), !tbaa.struct !25
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #9
  %176 = getelementptr inbounds %"class.abcg::VulkanDevice", ptr %38, i32 0, i32 0
  %177 = load i32, ptr %10, align 4, !tbaa !9
  %178 = invoke noundef nonnull align 8 dereferenceable(9) ptr @_ZN2vkL23getDispatchLoaderStaticEv()
          to label %179 unwind label %216

179:                                              ; preds = %171
  %180 = call ptr @_ZNK2vk6Device8getQueueINS_20DispatchLoaderStaticEEENS_5QueueEjjRKT_(ptr noundef nonnull align 8 dereferenceable(8) %176, i32 noundef %177, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(9) %178) #9
  %181 = getelementptr inbounds %"class.vk::Queue", ptr %35, i32 0, i32 0
  store ptr %180, ptr %181, align 8
  %182 = getelementptr inbounds %"class.abcg::VulkanDevice", ptr %38, i32 0, i32 3
  %183 = getelementptr inbounds %"struct.abcg::VulkanQueues", ptr %182, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %183, ptr align 8 %35, i64 8, i1 false), !tbaa.struct !25
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  %184 = load ptr, ptr %7, align 8, !tbaa !5
  %185 = getelementptr inbounds %"struct.abcg::VulkanQueuesFamilies", ptr %184, i32 0, i32 0
  %186 = call noundef zeroext i1 @_ZNKSt8optionalIjE9has_valueEv(ptr noundef nonnull align 4 dereferenceable(8) %185) #9
  br i1 %186, label %187, label %224

187:                                              ; preds = %179
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #9
  %188 = getelementptr inbounds %"class.abcg::VulkanDevice", ptr %38, i32 0, i32 0
  %189 = load ptr, ptr %7, align 8, !tbaa !5
  %190 = getelementptr inbounds %"struct.abcg::VulkanQueuesFamilies", ptr %189, i32 0, i32 0
  %191 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNKRSt8optionalIjE5valueEv(ptr noundef nonnull align 4 dereferenceable(8) %190)
          to label %192 unwind label %220

192:                                              ; preds = %187
  %193 = load i32, ptr %191, align 4, !tbaa !9
  %194 = invoke noundef nonnull align 8 dereferenceable(9) ptr @_ZN2vkL23getDispatchLoaderStaticEv()
          to label %195 unwind label %220

195:                                              ; preds = %192
  %196 = call ptr @_ZNK2vk6Device8getQueueINS_20DispatchLoaderStaticEEENS_5QueueEjjRKT_(ptr noundef nonnull align 8 dereferenceable(8) %188, i32 noundef %193, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(9) %194) #9
  %197 = getelementptr inbounds %"class.vk::Queue", ptr %36, i32 0, i32 0
  store ptr %196, ptr %197, align 8
  %198 = getelementptr inbounds %"class.abcg::VulkanDevice", ptr %38, i32 0, i32 3
  %199 = getelementptr inbounds %"struct.abcg::VulkanQueues", ptr %198, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %199, ptr align 8 %36, i64 8, i1 false), !tbaa.struct !25
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  br label %224

200:                                              ; preds = %129
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %17, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  br label %247

204:                                              ; preds = %158, %152, %143, %133
  %205 = landingpad { ptr, i32 }
          cleanup
  %206 = extractvalue { ptr, i32 } %205, 0
  store ptr %206, ptr %17, align 8
  %207 = extractvalue { ptr, i32 } %205, 1
  store i32 %207, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 72, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  br label %247

208:                                              ; preds = %245, %162
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %17, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %18, align 4
  br label %247

212:                                              ; preds = %167
  %213 = landingpad { ptr, i32 }
          cleanup
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %17, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  br label %247

216:                                              ; preds = %171
  %217 = landingpad { ptr, i32 }
          cleanup
  %218 = extractvalue { ptr, i32 } %217, 0
  store ptr %218, ptr %17, align 8
  %219 = extractvalue { ptr, i32 } %217, 1
  store i32 %219, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  br label %247

220:                                              ; preds = %192, %187
  %221 = landingpad { ptr, i32 }
          cleanup
  %222 = extractvalue { ptr, i32 } %221, 0
  store ptr %222, ptr %17, align 8
  %223 = extractvalue { ptr, i32 } %221, 1
  store i32 %223, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  br label %247

224:                                              ; preds = %195, %179
  %225 = load ptr, ptr %7, align 8, !tbaa !5
  %226 = getelementptr inbounds %"struct.abcg::VulkanQueuesFamilies", ptr %225, i32 0, i32 3
  %227 = call noundef zeroext i1 @_ZNKSt8optionalIjE9has_valueEv(ptr noundef nonnull align 4 dereferenceable(8) %226) #9
  br i1 %227, label %228, label %245

228:                                              ; preds = %224
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #9
  %229 = getelementptr inbounds %"class.abcg::VulkanDevice", ptr %38, i32 0, i32 0
  %230 = load ptr, ptr %7, align 8, !tbaa !5
  %231 = getelementptr inbounds %"struct.abcg::VulkanQueuesFamilies", ptr %230, i32 0, i32 3
  %232 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNKRSt8optionalIjE5valueEv(ptr noundef nonnull align 4 dereferenceable(8) %231)
          to label %233 unwind label %241

233:                                              ; preds = %228
  %234 = load i32, ptr %232, align 4, !tbaa !9
  %235 = invoke noundef nonnull align 8 dereferenceable(9) ptr @_ZN2vkL23getDispatchLoaderStaticEv()
          to label %236 unwind label %241

236:                                              ; preds = %233
  %237 = call ptr @_ZNK2vk6Device8getQueueINS_20DispatchLoaderStaticEEENS_5QueueEjjRKT_(ptr noundef nonnull align 8 dereferenceable(8) %229, i32 noundef %234, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(9) %235) #9
  %238 = getelementptr inbounds %"class.vk::Queue", ptr %37, i32 0, i32 0
  store ptr %237, ptr %238, align 8
  %239 = getelementptr inbounds %"class.abcg::VulkanDevice", ptr %38, i32 0, i32 3
  %240 = getelementptr inbounds %"struct.abcg::VulkanQueues", ptr %239, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %240, ptr align 8 %37, i64 8, i1 false), !tbaa.struct !25
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #9
  br label %245

241:                                              ; preds = %233, %228
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %17, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #9
  br label %247

245:                                              ; preds = %236, %224
  invoke void @_ZN4abcg12VulkanDevice18createCommandPoolsEv(ptr noundef nonnull align 8 dereferenceable(136) %38)
          to label %246 unwind label %208

246:                                              ; preds = %245
  call void @llvm.lifetime.end.p0(i64 220, ptr %28) #9
  call void @_ZNSt6vectorIN2vk21DeviceQueueCreateInfoESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  call void @_ZNSt3setIjSt4lessIjESaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  ret void

247:                                              ; preds = %241, %220, %216, %212, %208, %204, %200
  call void @llvm.lifetime.end.p0(i64 220, ptr %28) #9
  br label %248

248:                                              ; preds = %247, %125, %108
  call void @_ZNSt6vectorIN2vk21DeviceQueueCreateInfoESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  br label %249

249:                                              ; preds = %248, %77
  call void @_ZNSt3setIjSt4lessIjESaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #9
  br label %250

250:                                              ; preds = %249, %73
  call void @llvm.lifetime.end.p0(i64 48, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  br label %251

251:                                              ; preds = %250
  %252 = load ptr, ptr %17, align 8
  %253 = load i32, ptr %18, align 4
  %254 = insertvalue { ptr, i32 } poison, ptr %252, 0
  %255 = insertvalue { ptr, i32 } %254, i32 %253, 1
  resume { ptr, i32 } %255
}

; 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2

; Function Attrs: nounwind
declare noundef nonnull align 4 dereferenceable(32) ptr @_ZNK4abcg20VulkanPhysicalDevice17getQueuesFamiliesEv(ptr noundef nonnull align 8 dereferenceable(68)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNKRSt8optionalIjE8value_orIiEEjOT_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt3setIjSt4lessIjESaIjEEC2ESt16initializer_listIjERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(48), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt8optionalIjE9has_valueEv(ptr noundef nonnull align 4 dereferenceable(8)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setIjSt4lessIjESaIjEE6insertERKj(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNKRSt8optionalIjE5valueEv(ptr noundef nonnull align 4 dereferenceable(8)) #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN2vk21DeviceQueueCreateInfoESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt3setIjSt4lessIjESaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt3setIjSt4lessIjESaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(48)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIjES2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN2vk21DeviceQueueCreateInfoESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(40)) #0 align 2

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

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

; Function Attrs: nounwind
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4abcg20VulkanPhysicalDevicecvRKN2vk14PhysicalDeviceEEv(ptr noundef nonnull align 8 dereferenceable(68)) #3

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZNK2vk14PhysicalDevice11getFeaturesINS_20DispatchLoaderStaticEEENS_22PhysicalDeviceFeaturesERKT_(ptr dead_on_unwind noalias writable sret(%"struct.vk::PhysicalDeviceFeatures") align 4, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(9)) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(9) ptr @_ZN2vkL23getDispatchLoaderStaticEv() #6

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local ptr @_ZNK2vk14PhysicalDevice12createDeviceINS_20DispatchLoaderStaticEEENS_6DeviceERKNS_16DeviceCreateInfoENS_8OptionalIKNS_19AllocationCallbacksEEERKT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(72), ptr, ptr noundef nonnull align 8 dereferenceable(9)) #7 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN3gsl6narrowIjmEET_T0_(i64 noundef) #0

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNSt6vectorIN2vk21DeviceQueueCreateInfoESaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt6vectorIPKcSaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

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

declare void @volkLoadDevice(ptr noundef) #8

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local ptr @_ZNK2vk6Device8getQueueINS_20DispatchLoaderStaticEEENS_5QueueEjjRKT_(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(9)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4abcg12VulkanDevice18createCommandPoolsEv(ptr noundef nonnull align 8 dereferenceable(136)) #0 align 2

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

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

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 nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #5 = { alwaysinline 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 #6 = { 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 #7 = { alwaysinline 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 #8 = { "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 #9 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSSt16initializer_listIjE", !6, i64 0, !13, i64 8}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !13, i64 8}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = !{!18, !19, i64 0}
!18 = !{!"_ZTSN2vk21DeviceQueueCreateInfoE", !19, i64 0, !6, i64 8, !20, i64 16, !10, i64 20, !10, i64 24, !6, i64 32}
!19 = !{!"_ZTSN2vk13StructureTypeE", !7, i64 0}
!20 = !{!"_ZTSN2vk5FlagsINS_25DeviceQueueCreateFlagBitsEEE", !10, i64 0}
!21 = !{!18, !6, i64 8}
!22 = !{!18, !10, i64 20}
!23 = !{!18, !10, i64 24}
!24 = !{!18, !6, i64 32}
!25 = !{i64 0, i64 8, !5}
!26 = !{!27, !10, i64 76}
!27 = !{!"_ZTSN2vk22PhysicalDeviceFeaturesE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !10, i64 148, !10, i64 152, !10, i64 156, !10, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !10, i64 176, !10, i64 180, !10, i64 184, !10, i64 188, !10, i64 192, !10, i64 196, !10, i64 200, !10, i64 204, !10, i64 208, !10, i64 212, !10, i64 216}
!28 = !{!29, !19, i64 0}
!29 = !{!"_ZTSN2vk16DeviceCreateInfoE", !19, i64 0, !6, i64 8, !30, i64 16, !10, i64 20, !6, i64 24, !10, i64 32, !6, i64 40, !10, i64 48, !6, i64 56, !6, i64 64}
!30 = !{!"_ZTSN2vk5FlagsINS_20DeviceCreateFlagBitsEEE", !10, i64 0}
!31 = !{!29, !6, i64 8}
!32 = !{!29, !10, i64 20}
!33 = !{!29, !6, i64 24}
!34 = !{!29, !10, i64 32}
!35 = !{!29, !6, i64 40}
!36 = !{!29, !10, i64 48}
!37 = !{!29, !6, i64 56}
!38 = !{!29, !6, i64 64}


; 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"

%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::less" = type { i8 }
%"class.std::allocator.0" = type { i8 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<vk::DeviceQueueCreateInfo, std::allocator<vk::DeviceQueueCreateInfo>>::_Vector_impl" }
%"struct.std::_Vector_base<vk::DeviceQueueCreateInfo, std::allocator<vk::DeviceQueueCreateInfo>>::_Vector_impl" = type { %"struct.std::_Vector_base<vk::DeviceQueueCreateInfo, std::allocator<vk::DeviceQueueCreateInfo>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vk::DeviceQueueCreateInfo, std::allocator<vk::DeviceQueueCreateInfo>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"struct.vk::DeviceQueueCreateInfo" = type { i32, ptr, %"class.vk::Flags", i32, i32, ptr }
%"class.vk::Flags" = type { i32 }
%"struct.vk::PhysicalDeviceFeatures" = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%"class.vk::PhysicalDevice" = type { ptr }
%"struct.vk::DeviceCreateInfo" = type { i32, ptr, %"class.vk::Flags.6", i32, ptr, i32, ptr, i32, ptr, ptr }
%"class.vk::Flags.6" = type { i32 }
%"class.vk::Optional" = type { ptr }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4abcg12VulkanDevice6createERKNS_20VulkanPhysicalDeviceERKSt6vectorIPKcSaIS6_EE(ptr noundef nonnull align 8 dereferenceable(136) %0, ptr nocapture noundef nonnull readonly align 8 dereferenceable(68) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::set", align 8
  %7 = alloca [2 x i32], align 4
  %8 = alloca %"struct.std::less", align 1
  %9 = alloca %"class.std::allocator.0", align 1
  %10 = alloca float, align 4
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %13 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %14 = alloca %"struct.vk::DeviceQueueCreateInfo", align 8
  %15 = alloca %"struct.vk::PhysicalDeviceFeatures", align 4
  %16 = alloca %"class.vk::PhysicalDevice", align 8
  %17 = alloca %"class.vk::PhysicalDevice", align 8
  %18 = alloca %"struct.vk::DeviceCreateInfo", align 8
  %19 = alloca %"class.vk::Optional", align 8
  %20 = getelementptr inbounds i8, ptr %0, i64 8
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(68) %20, ptr noundef nonnull align 8 dereferenceable(68) %1, i64 68, i1 false)
  %21 = tail call noundef nonnull align 4 dereferenceable(32) ptr @_ZNK4abcg20VulkanPhysicalDevice17getQueuesFamiliesEv(ptr noundef nonnull align 8 dereferenceable(68) %20) #9
  %22 = getelementptr inbounds i8, ptr %21, i64 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #9
  store i32 0, ptr %4, align 4, !tbaa !5
  %23 = call noundef i32 @_ZNKRSt8optionalIjE8value_orIiEEjOT_(ptr noundef nonnull align 4 dereferenceable(8) %22, ptr noundef nonnull align 4 dereferenceable(4) %4)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #9
  %24 = getelementptr inbounds i8, ptr %21, i64 16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #9
  store i32 0, ptr %5, align 4, !tbaa !5
  %25 = call noundef i32 @_ZNKRSt8optionalIjE8value_orIiEEjOT_(ptr noundef nonnull align 4 dereferenceable(8) %24, ptr noundef nonnull align 4 dereferenceable(4) %5)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #9
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  store i32 %23, ptr %7, align 4, !tbaa !5
  %26 = getelementptr inbounds i8, ptr %7, i64 4
  store i32 %25, ptr %26, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #9
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #9
  invoke void @_ZNSt3setIjSt4lessIjESaIjEEC2ESt16initializer_listIjERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr nonnull %7, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %8, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %27 unwind label %33

27:                                               ; preds = %3
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  %28 = call noundef zeroext i1 @_ZNKSt8optionalIjE9has_valueEv(ptr noundef nonnull align 4 dereferenceable(8) %21) #9
  br i1 %28, label %29, label %37

29:                                               ; preds = %27
  %30 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNKRSt8optionalIjE5valueEv(ptr noundef nonnull align 4 dereferenceable(8) %21)
          to label %31 unwind label %35

31:                                               ; preds = %29
  %32 = invoke { ptr, i8 } @_ZNSt3setIjSt4lessIjESaIjEE6insertERKj(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 4 dereferenceable(4) %30)
          to label %37 unwind label %35

33:                                               ; preds = %3
  %34 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  br label %130

35:                                               ; preds = %42, %40, %31, %29
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %129

37:                                               ; preds = %31, %27
  %38 = getelementptr inbounds i8, ptr %21, i64 24
  %39 = call noundef zeroext i1 @_ZNKSt8optionalIjE9has_valueEv(ptr noundef nonnull align 4 dereferenceable(8) %38) #9
  br i1 %39, label %40, label %44

40:                                               ; preds = %37
  %41 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNKRSt8optionalIjE5valueEv(ptr noundef nonnull align 4 dereferenceable(8) %38)
          to label %42 unwind label %35

42:                                               ; preds = %40
  %43 = invoke { ptr, i8 } @_ZNSt3setIjSt4lessIjESaIjEE6insertERKj(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 4 dereferenceable(4) %41)
          to label %44 unwind label %35

44:                                               ; preds = %42, %37
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #9
  store float 1.000000e+00, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #9
  call void @_ZNSt6vectorIN2vk21DeviceQueueCreateInfoESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  %45 = call noundef i64 @_ZNKSt3setIjSt4lessIjESaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #9
  invoke void @_ZNSt6vectorIN2vk21DeviceQueueCreateInfoESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %45)
          to label %46 unwind label %65

46:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  %47 = call ptr @_ZNKSt3setIjSt4lessIjESaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #9
  store ptr %47, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #9
  %48 = call ptr @_ZNKSt3setIjSt4lessIjESaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #9
  store ptr %48, ptr %13, align 8
  %49 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIjES2_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #9
  br i1 %49, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %46
  %50 = getelementptr inbounds i8, ptr %14, i64 8
  %51 = getelementptr inbounds i8, ptr %14, i64 16
  %52 = getelementptr inbounds i8, ptr %14, i64 20
  %53 = getelementptr inbounds i8, ptr %14, i64 24
  %54 = getelementptr inbounds i8, ptr %14, i64 32
  br label %67

._crit_edge:                                      ; preds = %70, %46
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @llvm.lifetime.start.p0(i64 220, ptr nonnull %15) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #9
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4abcg20VulkanPhysicalDevicecvRKN2vk14PhysicalDeviceEEv(ptr noundef nonnull align 8 dereferenceable(68) %20) #9
  %56 = load i64, ptr %55, align 8, !tbaa !11
  store i64 %56, ptr %16, align 8, !tbaa !11
  %57 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZN2vkL23getDispatchLoaderStaticEv()
  call void @_ZNK2vk14PhysicalDevice11getFeaturesINS_20DispatchLoaderStaticEEENS_22PhysicalDeviceFeaturesERKT_(ptr dead_on_unwind nonnull writable sret(%"struct.vk::PhysicalDeviceFeatures") align 4 %15, ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(9) %57) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  %58 = getelementptr inbounds i8, ptr %15, i64 76
  store i32 1, ptr %58, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #9
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4abcg20VulkanPhysicalDevicecvRKN2vk14PhysicalDeviceEEv(ptr noundef nonnull align 8 dereferenceable(68) %20) #9
  %60 = load i64, ptr %59, align 8, !tbaa !11
  store i64 %60, ptr %17, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %18) #9
  store i32 3, ptr %18, align 8, !tbaa !15
  %61 = getelementptr inbounds i8, ptr %18, i64 8
  store ptr null, ptr %61, align 8, !tbaa !19
  %62 = getelementptr inbounds i8, ptr %18, i64 16
  call void @_ZN2vk5FlagsINS_20DeviceCreateFlagBitsEEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %62) #9
  %63 = call noundef i64 @_ZNKSt6vectorIN2vk21DeviceQueueCreateInfoESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  %64 = invoke noundef i32 @_ZN3gsl6narrowIjmEET_T0_(i64 noundef %63)
          to label %75 unwind label %108

65:                                               ; preds = %44
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %128

67:                                               ; preds = %.lr.ph, %70
  %68 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIjEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  %69 = load i32, ptr %68, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %14) #9
  store i32 2, ptr %14, align 8, !tbaa !20
  store ptr null, ptr %50, align 8, !tbaa !23
  call void @_ZN2vk5FlagsINS_25DeviceQueueCreateFlagBitsEEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %51) #9
  store i32 %69, ptr %52, align 4, !tbaa !24
  store i32 1, ptr %53, align 8, !tbaa !25
  store ptr %10, ptr %54, align 8, !tbaa !26
  invoke void @_ZNSt6vectorIN2vk21DeviceQueueCreateInfoESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(40) %14)
          to label %70 unwind label %73

70:                                               ; preds = %67
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #9
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorIjEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  %72 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIjES2_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #9
  br i1 %72, label %67, label %._crit_edge

73:                                               ; preds = %67
  %74 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  br label %128

75:                                               ; preds = %._crit_edge
  %76 = getelementptr inbounds i8, ptr %18, i64 20
  store i32 %64, ptr %76, align 4, !tbaa !27
  %77 = getelementptr inbounds i8, ptr %18, i64 24
  %78 = call noundef ptr @_ZNSt6vectorIN2vk21DeviceQueueCreateInfoESaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  store ptr %78, ptr %77, align 8, !tbaa !28
  %79 = getelementptr inbounds i8, ptr %18, i64 32
  store i32 0, ptr %79, align 8, !tbaa !29
  %80 = getelementptr inbounds i8, ptr %18, i64 40
  store ptr null, ptr %80, align 8, !tbaa !30
  %81 = call noundef i64 @_ZNKSt6vectorIPKcSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #9
  %82 = invoke noundef i32 @_ZN3gsl6narrowIjmEET_T0_(i64 noundef %81)
          to label %83 unwind label %108

83:                                               ; preds = %75
  %84 = getelementptr inbounds i8, ptr %18, i64 48
  store i32 %82, ptr %84, align 8, !tbaa !31
  %85 = getelementptr inbounds i8, ptr %18, i64 56
  %86 = call noundef ptr @_ZNKSt6vectorIPKcSaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #9
  store ptr %86, ptr %85, align 8, !tbaa !32
  %87 = getelementptr inbounds i8, ptr %18, i64 64
  store ptr %15, ptr %87, align 8, !tbaa !33
  call void @_ZN2vk8OptionalIKNS_19AllocationCallbacksEEC2EDn(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr null) #9
  %88 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZN2vkL23getDispatchLoaderStaticEv()
  %89 = load ptr, ptr %19, align 8
  %90 = invoke ptr @_ZNK2vk14PhysicalDevice12createDeviceINS_20DispatchLoaderStaticEEENS_6DeviceERKNS_16DeviceCreateInfoENS_8OptionalIKNS_19AllocationCallbacksEEERKT_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(72) %18, ptr %89, ptr noundef nonnull align 8 dereferenceable(9) %88)
          to label %91 unwind label %108

91:                                               ; preds = %83
  store ptr %90, ptr %0, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #9
  %92 = call noundef ptr @_ZNK2vk6DevicecvP10VkDevice_TEv(ptr noundef nonnull align 8 dereferenceable(8) %0) #9
  invoke void @volkLoadDevice(ptr noundef %92)
          to label %93 unwind label %110

93:                                               ; preds = %91
  %94 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZN2vkL23getDispatchLoaderStaticEv()
  %95 = call ptr @_ZNK2vk6Device8getQueueINS_20DispatchLoaderStaticEEENS_5QueueEjjRKT_(ptr noundef nonnull align 8 dereferenceable(8) %0, i32 noundef %23, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(9) %94) #9
  %96 = getelementptr inbounds i8, ptr %0, i64 104
  %97 = getelementptr inbounds i8, ptr %0, i64 112
  store ptr %95, ptr %97, align 8, !tbaa !11
  %98 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZN2vkL23getDispatchLoaderStaticEv()
  %99 = call ptr @_ZNK2vk6Device8getQueueINS_20DispatchLoaderStaticEEENS_5QueueEjjRKT_(ptr noundef nonnull align 8 dereferenceable(8) %0, i32 noundef %25, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(9) %98) #9
  %100 = getelementptr inbounds i8, ptr %0, i64 120
  store ptr %99, ptr %100, align 8, !tbaa !11
  %101 = call noundef zeroext i1 @_ZNKSt8optionalIjE9has_valueEv(ptr noundef nonnull align 4 dereferenceable(8) %21) #9
  br i1 %101, label %102, label %114

102:                                              ; preds = %93
  %103 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNKRSt8optionalIjE5valueEv(ptr noundef nonnull align 4 dereferenceable(8) %21)
          to label %104 unwind label %112

104:                                              ; preds = %102
  %105 = load i32, ptr %103, align 4, !tbaa !5
  %106 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZN2vkL23getDispatchLoaderStaticEv()
  %107 = call ptr @_ZNK2vk6Device8getQueueINS_20DispatchLoaderStaticEEENS_5QueueEjjRKT_(ptr noundef nonnull align 8 dereferenceable(8) %0, i32 noundef %105, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(9) %106) #9
  store ptr %107, ptr %96, align 8, !tbaa !11
  br label %114

108:                                              ; preds = %83, %75, %._crit_edge
  %109 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #9
  br label %127

110:                                              ; preds = %125, %91
  %111 = landingpad { ptr, i32 }
          cleanup
  br label %127

112:                                              ; preds = %102
  %113 = landingpad { ptr, i32 }
          cleanup
  br label %127

114:                                              ; preds = %104, %93
  %115 = call noundef zeroext i1 @_ZNKSt8optionalIjE9has_valueEv(ptr noundef nonnull align 4 dereferenceable(8) %38) #9
  br i1 %115, label %116, label %125

116:                                              ; preds = %114
  %117 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNKRSt8optionalIjE5valueEv(ptr noundef nonnull align 4 dereferenceable(8) %38)
          to label %118 unwind label %123

118:                                              ; preds = %116
  %119 = load i32, ptr %117, align 4, !tbaa !5
  %120 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZN2vkL23getDispatchLoaderStaticEv()
  %121 = call ptr @_ZNK2vk6Device8getQueueINS_20DispatchLoaderStaticEEENS_5QueueEjjRKT_(ptr noundef nonnull align 8 dereferenceable(8) %0, i32 noundef %119, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(9) %120) #9
  %122 = getelementptr inbounds i8, ptr %0, i64 128
  store ptr %121, ptr %122, align 8, !tbaa !11
  br label %125

123:                                              ; preds = %116
  %124 = landingpad { ptr, i32 }
          cleanup
  br label %127

125:                                              ; preds = %118, %114
  invoke void @_ZN4abcg12VulkanDevice18createCommandPoolsEv(ptr noundef nonnull align 8 dereferenceable(136) %0)
          to label %126 unwind label %110

126:                                              ; preds = %125
  call void @llvm.lifetime.end.p0(i64 220, ptr nonnull %15) #9
  call void @_ZNSt6vectorIN2vk21DeviceQueueCreateInfoESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #9
  call void @_ZNSt3setIjSt4lessIjESaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #9
  ret void

127:                                              ; preds = %123, %112, %110, %108
  %.pn = phi { ptr, i32 } [ %111, %110 ], [ %124, %123 ], [ %113, %112 ], [ %109, %108 ]
  call void @llvm.lifetime.end.p0(i64 220, ptr nonnull %15) #9
  br label %128

128:                                              ; preds = %127, %73, %65
  %.pn35 = phi { ptr, i32 } [ %74, %73 ], [ %.pn, %127 ], [ %66, %65 ]
  call void @_ZNSt6vectorIN2vk21DeviceQueueCreateInfoESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #9
  br label %129

129:                                              ; preds = %128, %35
  %.pn35.pn = phi { ptr, i32 } [ %.pn35, %128 ], [ %36, %35 ]
  call void @_ZNSt3setIjSt4lessIjESaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #9
  br label %130

130:                                              ; preds = %129, %33
  %.pn35.pn.pn = phi { ptr, i32 } [ %.pn35.pn, %129 ], [ %34, %33 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #9
  resume { ptr, i32 } %.pn35.pn.pn
}

; 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2

; Function Attrs: nounwind
declare noundef nonnull align 4 dereferenceable(32) ptr @_ZNK4abcg20VulkanPhysicalDevice17getQueuesFamiliesEv(ptr noundef nonnull align 8 dereferenceable(68)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNKRSt8optionalIjE8value_orIiEEjOT_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt3setIjSt4lessIjESaIjEEC2ESt16initializer_listIjERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(48), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt8optionalIjE9has_valueEv(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setIjSt4lessIjESaIjEE6insertERKj(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNKRSt8optionalIjE5valueEv(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN2vk21DeviceQueueCreateInfoESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt3setIjSt4lessIjESaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt3setIjSt4lessIjESaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIjES2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN2vk21DeviceQueueCreateInfoESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #0 align 2

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

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

; Function Attrs: nounwind
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4abcg20VulkanPhysicalDevicecvRKN2vk14PhysicalDeviceEEv(ptr noundef nonnull align 8 dereferenceable(68)) local_unnamed_addr #3

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZNK2vk14PhysicalDevice11getFeaturesINS_20DispatchLoaderStaticEEENS_22PhysicalDeviceFeaturesERKT_(ptr dead_on_unwind noalias writable sret(%"struct.vk::PhysicalDeviceFeatures") align 4, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(9)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(9) ptr @_ZN2vkL23getDispatchLoaderStaticEv() local_unnamed_addr #6

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local ptr @_ZNK2vk14PhysicalDevice12createDeviceINS_20DispatchLoaderStaticEEENS_6DeviceERKNS_16DeviceCreateInfoENS_8OptionalIKNS_19AllocationCallbacksEEERKT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(72), ptr, ptr noundef nonnull align 8 dereferenceable(9)) local_unnamed_addr #7 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN3gsl6narrowIjmEET_T0_(i64 noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNSt6vectorIN2vk21DeviceQueueCreateInfoESaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt6vectorIPKcSaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

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

declare void @volkLoadDevice(ptr noundef) local_unnamed_addr #8

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local ptr @_ZNK2vk6Device8getQueueINS_20DispatchLoaderStaticEEENS_5QueueEjjRKT_(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(9)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4abcg12VulkanDevice18createCommandPoolsEv(ptr noundef nonnull align 8 dereferenceable(136)) local_unnamed_addr #0 align 2

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

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

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 nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #5 = { alwaysinline 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 #6 = { 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 #7 = { alwaysinline 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 #8 = { "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 #9 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !6, i64 76}
!14 = !{!"_ZTSN2vk22PhysicalDeviceFeaturesE", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !6, i64 48, !6, i64 52, !6, i64 56, !6, i64 60, !6, i64 64, !6, i64 68, !6, i64 72, !6, i64 76, !6, i64 80, !6, i64 84, !6, i64 88, !6, i64 92, !6, i64 96, !6, i64 100, !6, i64 104, !6, i64 108, !6, i64 112, !6, i64 116, !6, i64 120, !6, i64 124, !6, i64 128, !6, i64 132, !6, i64 136, !6, i64 140, !6, i64 144, !6, i64 148, !6, i64 152, !6, i64 156, !6, i64 160, !6, i64 164, !6, i64 168, !6, i64 172, !6, i64 176, !6, i64 180, !6, i64 184, !6, i64 188, !6, i64 192, !6, i64 196, !6, i64 200, !6, i64 204, !6, i64 208, !6, i64 212, !6, i64 216}
!15 = !{!16, !17, i64 0}
!16 = !{!"_ZTSN2vk16DeviceCreateInfoE", !17, i64 0, !12, i64 8, !18, i64 16, !6, i64 20, !12, i64 24, !6, i64 32, !12, i64 40, !6, i64 48, !12, i64 56, !12, i64 64}
!17 = !{!"_ZTSN2vk13StructureTypeE", !7, i64 0}
!18 = !{!"_ZTSN2vk5FlagsINS_20DeviceCreateFlagBitsEEE", !6, i64 0}
!19 = !{!16, !12, i64 8}
!20 = !{!21, !17, i64 0}
!21 = !{!"_ZTSN2vk21DeviceQueueCreateInfoE", !17, i64 0, !12, i64 8, !22, i64 16, !6, i64 20, !6, i64 24, !12, i64 32}
!22 = !{!"_ZTSN2vk5FlagsINS_25DeviceQueueCreateFlagBitsEEE", !6, i64 0}
!23 = !{!21, !12, i64 8}
!24 = !{!21, !6, i64 20}
!25 = !{!21, !6, i64 24}
!26 = !{!21, !12, i64 32}
!27 = !{!16, !6, i64 20}
!28 = !{!16, !12, i64 24}
!29 = !{!16, !6, i64 32}
!30 = !{!16, !12, i64 40}
!31 = !{!16, !6, i64 48}
!32 = !{!16, !12, i64 56}
!33 = !{!16, !12, i64 64}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass