; LLVM IR from geefr/vulkan-physics :: vulkanutils/util/pipelines/computepipeline.ll (ZN15ComputePipeline14createPipelineEv)

; 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::vector.32" = type { %"struct.std::_Vector_base.33" }
%"struct.std::_Vector_base.33" = type { %"struct.std::_Vector_base<vk::PipelineShaderStageCreateInfo, std::allocator<vk::PipelineShaderStageCreateInfo>>::_Vector_impl" }
%"struct.std::_Vector_base<vk::PipelineShaderStageCreateInfo, std::allocator<vk::PipelineShaderStageCreateInfo>>::_Vector_impl" = type { %"struct.std::_Vector_base<vk::PipelineShaderStageCreateInfo, std::allocator<vk::PipelineShaderStageCreateInfo>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vk::PipelineShaderStageCreateInfo, std::allocator<vk::PipelineShaderStageCreateInfo>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.37" = type { %"struct.std::_Vector_base.38" }
%"struct.std::_Vector_base.38" = type { %"struct.std::_Vector_base<vk::DescriptorSetLayout, std::allocator<vk::DescriptorSetLayout>>::_Vector_impl" }
%"struct.std::_Vector_base<vk::DescriptorSetLayout, std::allocator<vk::DescriptorSetLayout>>::_Vector_impl" = type { %"struct.std::_Vector_base<vk::DescriptorSetLayout, std::allocator<vk::DescriptorSetLayout>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vk::DescriptorSetLayout, std::allocator<vk::DescriptorSetLayout>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.vk::PipelineLayoutCreateInfo" = type { i32, ptr, %"class.vk::Flags", i32, ptr, i32, ptr }
%"class.vk::Flags" = type { i32 }
%"class.vk::UniqueHandle" = type { %"class.vk::ObjectDestroy", %"class.vk::PipelineLayout" }
%"class.vk::ObjectDestroy" = type { %"class.vk::Device", %"class.vk::Optional", ptr }
%"class.vk::Device" = type { ptr }
%"class.vk::Optional" = type { ptr }
%"class.vk::PipelineLayout" = type { ptr }
%"struct.vk::ComputePipelineCreateInfo" = type <{ i32, [4 x i8], ptr, %"class.vk::Flags.43", [4 x i8], %"struct.vk::PipelineShaderStageCreateInfo", %"class.vk::PipelineLayout", %"class.vk::Pipeline", i32, [4 x i8] }>
%"class.vk::Flags.43" = type { i32 }
%"struct.vk::PipelineShaderStageCreateInfo" = type { i32, ptr, %"class.vk::Flags.44", i32, %"class.vk::ShaderModule", ptr, ptr }
%"class.vk::Flags.44" = type { i32 }
%"class.vk::ShaderModule" = type { ptr }
%"class.vk::Pipeline" = type { ptr }
%"class.vk::UniqueHandle.18" = type { %"class.vk::ObjectDestroy", %"class.vk::Pipeline" }
%"struct.vk::ResultValue" = type { i32, %"class.vk::UniqueHandle.18" }
%"class.vk::PipelineCache" = type { ptr }
%class.Pipeline = type { ptr, ptr, %"class.std::map", %"class.std::map.0", %"class.std::vector", %"class.std::vector.8", %"class.std::vector.13", %"class.vk::UniqueHandle", %"class.vk::UniqueHandle.18" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<vk::ShaderStageFlagBits, std::pair<const vk::ShaderStageFlagBits, vk::UniqueHandle<vk::ShaderModule, vk::DispatchLoaderStatic>>, std::_Select1st<std::pair<const vk::ShaderStageFlagBits, vk::UniqueHandle<vk::ShaderModule, vk::DispatchLoaderStatic>>>, std::less<vk::ShaderStageFlagBits>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<vk::ShaderStageFlagBits, std::pair<const vk::ShaderStageFlagBits, vk::UniqueHandle<vk::ShaderModule, vk::DispatchLoaderStatic>>, std::_Select1st<std::pair<const vk::ShaderStageFlagBits, vk::UniqueHandle<vk::ShaderModule, vk::DispatchLoaderStatic>>>, std::less<vk::ShaderStageFlagBits>>::_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::map.0" = type { %"class.std::_Rb_tree.1" }
%"class.std::_Rb_tree.1" = type { %"struct.std::_Rb_tree<vk::ShaderStageFlagBits, std::pair<const vk::ShaderStageFlagBits, vk::SpecializationInfo>, std::_Select1st<std::pair<const vk::ShaderStageFlagBits, vk::SpecializationInfo>>, std::less<vk::ShaderStageFlagBits>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<vk::ShaderStageFlagBits, std::pair<const vk::ShaderStageFlagBits, vk::SpecializationInfo>, std::_Select1st<std::pair<const vk::ShaderStageFlagBits, vk::SpecializationInfo>>, std::less<vk::ShaderStageFlagBits>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::vector<vk::DescriptorSetLayoutBinding>, std::allocator<std::vector<vk::DescriptorSetLayoutBinding>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<vk::DescriptorSetLayoutBinding>, std::allocator<std::vector<vk::DescriptorSetLayoutBinding>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<vk::DescriptorSetLayoutBinding>, std::allocator<std::vector<vk::DescriptorSetLayoutBinding>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<vk::DescriptorSetLayoutBinding>, std::allocator<std::vector<vk::DescriptorSetLayoutBinding>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<vk::UniqueHandle<vk::DescriptorSetLayout, vk::DispatchLoaderStatic>, std::allocator<vk::UniqueHandle<vk::DescriptorSetLayout, vk::DispatchLoaderStatic>>>::_Vector_impl" }
%"struct.std::_Vector_base<vk::UniqueHandle<vk::DescriptorSetLayout, vk::DispatchLoaderStatic>, std::allocator<vk::UniqueHandle<vk::DescriptorSetLayout, vk::DispatchLoaderStatic>>>::_Vector_impl" = type { %"struct.std::_Vector_base<vk::UniqueHandle<vk::DescriptorSetLayout, vk::DispatchLoaderStatic>, std::allocator<vk::UniqueHandle<vk::DescriptorSetLayout, vk::DispatchLoaderStatic>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vk::UniqueHandle<vk::DescriptorSetLayout, vk::DispatchLoaderStatic>, std::allocator<vk::UniqueHandle<vk::DescriptorSetLayout, vk::DispatchLoaderStatic>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<vk::PushConstantRange, std::allocator<vk::PushConstantRange>>::_Vector_impl" }
%"struct.std::_Vector_base<vk::PushConstantRange, std::allocator<vk::PushConstantRange>>::_Vector_impl" = type { %"struct.std::_Vector_base<vk::PushConstantRange, std::allocator<vk::PushConstantRange>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vk::PushConstantRange, std::allocator<vk::PushConstantRange>>::_Vector_impl_data" = type { ptr, ptr, ptr }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN15ComputePipeline14createPipelineEv(ptr noundef nonnull align 8 dereferenceable(248) %0) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.std::vector.32", align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::vector.37", align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"struct.vk::PipelineLayoutCreateInfo", align 8
  %14 = alloca %"struct.vk::PipelineLayoutCreateInfo", align 8
  %15 = alloca %"class.vk::Flags", align 4
  %16 = alloca %"class.vk::Flags", align 4
  %17 = alloca %"class.vk::UniqueHandle", align 8
  %18 = alloca %"class.vk::Optional", align 8
  %19 = alloca %"struct.vk::ComputePipelineCreateInfo", align 8
  %20 = alloca %"struct.vk::ComputePipelineCreateInfo", align 8
  %21 = alloca %"class.vk::Flags.43", align 4
  %22 = alloca %"struct.vk::PipelineShaderStageCreateInfo", align 8
  %23 = alloca %"class.vk::Flags.44", align 4
  %24 = alloca %"class.vk::ShaderModule", align 8
  %25 = alloca %"class.vk::PipelineLayout", align 8
  %26 = alloca %"class.vk::Pipeline", align 8
  %27 = alloca %"class.vk::Flags.43", align 4
  %28 = alloca %"class.vk::PipelineLayout", align 8
  %29 = alloca %"class.vk::Pipeline", align 8
  %30 = alloca %"class.vk::UniqueHandle.18", align 8
  %31 = alloca %"struct.vk::ResultValue", align 8
  %32 = alloca %"class.vk::PipelineCache", align 8
  %33 = alloca %"class.vk::Optional", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %34 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #8
  call void @_ZN8Pipeline21createShaderStageInfoEv(ptr dead_on_unwind writable sret(%"class.std::vector.32") align 8 %3, ptr noundef nonnull align 8 dereferenceable(248) %34)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #8
  %35 = getelementptr inbounds %class.Pipeline, ptr %34, i32 0, i32 6
  %36 = call noundef i64 @_ZNKSt6vectorIN2vk17PushConstantRangeESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #8
  %37 = trunc i64 %36 to i32
  store i32 %37, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #8
  %38 = getelementptr inbounds %class.Pipeline, ptr %34, i32 0, i32 5
  %39 = call noundef i64 @_ZNKSt6vectorIN2vk12UniqueHandleINS0_19DescriptorSetLayoutENS0_20DispatchLoaderStaticEEESaIS4_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #8
  %40 = trunc i64 %39 to i32
  store i32 %40, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #8
  call void @_ZNSt6vectorIN2vk19DescriptorSetLayoutESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  %41 = getelementptr inbounds %class.Pipeline, ptr %34, i32 0, i32 5
  store ptr %41, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = call ptr @_ZNSt6vectorIN2vk12UniqueHandleINS0_19DescriptorSetLayoutENS0_20DispatchLoaderStaticEEESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #8
  %44 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %8, i32 0, i32 0
  store ptr %43, ptr %44, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = call ptr @_ZNSt6vectorIN2vk12UniqueHandleINS0_19DescriptorSetLayoutENS0_20DispatchLoaderStaticEEESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #8
  %47 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %9, i32 0, i32 0
  store ptr %46, ptr %47, align 8
  br label %48

48:                                               ; preds = %57, %1
  %49 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN2vk12UniqueHandleINS1_19DescriptorSetLayoutENS1_20DispatchLoaderStaticEEESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  br i1 %49, label %51, label %50

50:                                               ; preds = %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  br label %63

51:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %52 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN2vk12UniqueHandleINS1_19DescriptorSetLayoutENS1_20DispatchLoaderStaticEEESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  store ptr %52, ptr %10, align 8, !tbaa !5
  %53 = load ptr, ptr %10, align 8, !tbaa !5
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN2vk12UniqueHandleINS_19DescriptorSetLayoutENS_20DispatchLoaderStaticEE3getEv(ptr noundef nonnull align 8 dereferenceable(32) %53) #8
  %55 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIN2vk19DescriptorSetLayoutESaIS1_EE12emplace_backIJRS1_EEES5_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(8) %54)
          to label %56 unwind label %59

56:                                               ; preds = %51
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  br label %57

57:                                               ; preds = %56
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN2vk12UniqueHandleINS1_19DescriptorSetLayoutENS1_20DispatchLoaderStaticEEESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  br label %48

59:                                               ; preds = %51
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %11, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  br label %147

63:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 48, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %14) #8
  call void @_ZN2vk5FlagsINS_28PipelineLayoutCreateFlagBitsEEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %15) #8
  %64 = getelementptr inbounds %"class.vk::Flags", ptr %15, i32 0, i32 0
  %65 = load i32, ptr %64, align 4
  call void @_ZN2vk24PipelineLayoutCreateInfoC2ENS_5FlagsINS_28PipelineLayoutCreateFlagBitsEEEjPKNS_19DescriptorSetLayoutEjPKNS_17PushConstantRangeE(ptr noundef nonnull align 8 dereferenceable(48) %14, i32 %65, i32 noundef 0, ptr noundef null, i32 noundef 0, ptr noundef null) #8
  call void @_ZN2vk5FlagsINS_28PipelineLayoutCreateFlagBitsEEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %16) #8
  %66 = getelementptr inbounds %"class.vk::Flags", ptr %16, i32 0, i32 0
  %67 = load i32, ptr %66, align 4
  %68 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vk24PipelineLayoutCreateInfo8setFlagsENS_5FlagsINS_28PipelineLayoutCreateFlagBitsEEE(ptr noundef nonnull align 8 dereferenceable(48) %14, i32 %67) #8
  %69 = load i32, ptr %5, align 4, !tbaa !9
  %70 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vk24PipelineLayoutCreateInfo17setSetLayoutCountEj(ptr noundef nonnull align 8 dereferenceable(48) %68, i32 noundef %69) #8
  %71 = load i32, ptr %5, align 4, !tbaa !9
  %72 = icmp ne i32 %71, 0
  br i1 %72, label %73, label %75

73:                                               ; preds = %63
  %74 = call noundef ptr @_ZNSt6vectorIN2vk19DescriptorSetLayoutESaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  br label %76

75:                                               ; preds = %63
  br label %76

76:                                               ; preds = %75, %73
  %77 = phi ptr [ %74, %73 ], [ null, %75 ]
  %78 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vk24PipelineLayoutCreateInfo14setPSetLayoutsEPKNS_19DescriptorSetLayoutE(ptr noundef nonnull align 8 dereferenceable(48) %70, ptr noundef %77) #8
  %79 = load i32, ptr %4, align 4, !tbaa !9
  %80 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vk24PipelineLayoutCreateInfo25setPushConstantRangeCountEj(ptr noundef nonnull align 8 dereferenceable(48) %78, i32 noundef %79) #8
  %81 = load i32, ptr %4, align 4, !tbaa !9
  %82 = icmp ne i32 %81, 0
  br i1 %82, label %83, label %86

83:                                               ; preds = %76
  %84 = getelementptr inbounds %class.Pipeline, ptr %34, i32 0, i32 6
  %85 = call noundef ptr @_ZNSt6vectorIN2vk17PushConstantRangeESaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %84) #8
  br label %87

86:                                               ; preds = %76
  br label %87

87:                                               ; preds = %86, %83
  %88 = phi ptr [ %85, %83 ], [ null, %86 ]
  %89 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vk24PipelineLayoutCreateInfo22setPPushConstantRangesEPKNS_17PushConstantRangeE(ptr noundef nonnull align 8 dereferenceable(48) %80, ptr noundef %88) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %89, i64 48, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #8
  %90 = getelementptr inbounds %class.Pipeline, ptr %34, i32 0, i32 1
  %91 = load ptr, ptr %90, align 8, !tbaa !14
  %92 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN14DeviceInstance6deviceEv(ptr noundef nonnull align 8 dereferenceable(96) %91)
          to label %93 unwind label %138

93:                                               ; preds = %87
  call void @_ZN2vk8OptionalIKNS_19AllocationCallbacksEEC2EDn(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr null) #8
  %94 = invoke noundef nonnull align 8 dereferenceable(9) ptr @_ZN2vkL23getDispatchLoaderStaticEv()
          to label %95 unwind label %138

95:                                               ; preds = %93
  %96 = getelementptr inbounds %"class.vk::Optional", ptr %18, i32 0, i32 0
  %97 = load ptr, ptr %96, align 8
  invoke void @_ZNK2vk6Device26createPipelineLayoutUniqueINS_20DispatchLoaderStaticEEENS_15ResultValueTypeINS_12UniqueHandleINS_14PipelineLayoutET_EEE4typeERKNS_24PipelineLayoutCreateInfoENS_8OptionalIKNS_19AllocationCallbacksEEERKS6_(ptr dead_on_unwind writable sret(%"class.vk::UniqueHandle") align 8 %17, ptr noundef nonnull align 8 dereferenceable(8) %92, ptr noundef nonnull align 8 dereferenceable(48) %13, ptr %97, ptr noundef nonnull align 8 dereferenceable(9) %94)
          to label %98 unwind label %138

98:                                               ; preds = %95
  %99 = getelementptr inbounds %class.Pipeline, ptr %34, i32 0, i32 7
  %100 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vk12UniqueHandleINS_14PipelineLayoutENS_20DispatchLoaderStaticEEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(32) %99, ptr noundef nonnull align 8 dereferenceable(32) %17) #8
  call void @_ZN2vk12UniqueHandleINS_14PipelineLayoutENS_20DispatchLoaderStaticEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 96, ptr %19) #8
  call void @llvm.lifetime.start.p0(i64 96, ptr %20) #8
  call void @_ZN2vk5FlagsINS_22PipelineCreateFlagBitsEEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %21) #8
  call void @_ZN2vk5FlagsINS_33PipelineShaderStageCreateFlagBitsEEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %23) #8
  call void @llvm.memset.p0.i64(ptr align 8 %24, i8 0, i64 8, i1 false)
  call void @_ZN2vk12ShaderModuleC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #8
  %101 = getelementptr inbounds %"class.vk::Flags.44", ptr %23, i32 0, i32 0
  %102 = load i32, ptr %101, align 4
  %103 = getelementptr inbounds %"class.vk::ShaderModule", ptr %24, i32 0, i32 0
  %104 = load ptr, ptr %103, align 8
  call void @_ZN2vk29PipelineShaderStageCreateInfoC2ENS_5FlagsINS_33PipelineShaderStageCreateFlagBitsEEENS_19ShaderStageFlagBitsENS_12ShaderModuleEPKcPKNS_18SpecializationInfoE(ptr noundef nonnull align 8 dereferenceable(48) %22, i32 %102, i32 noundef 1, ptr %104, ptr noundef null, ptr noundef null) #8
  call void @llvm.memset.p0.i64(ptr align 8 %25, i8 0, i64 8, i1 false)
  call void @_ZN2vk14PipelineLayoutC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  call void @llvm.memset.p0.i64(ptr align 8 %26, i8 0, i64 8, i1 false)
  call void @_ZN2vk8PipelineC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #8
  %105 = getelementptr inbounds %"class.vk::Flags.43", ptr %21, i32 0, i32 0
  %106 = load i32, ptr %105, align 4
  %107 = getelementptr inbounds %"class.vk::PipelineLayout", ptr %25, i32 0, i32 0
  %108 = load ptr, ptr %107, align 8
  %109 = getelementptr inbounds %"class.vk::Pipeline", ptr %26, i32 0, i32 0
  %110 = load ptr, ptr %109, align 8
  call void @_ZN2vk25ComputePipelineCreateInfoC2ENS_5FlagsINS_22PipelineCreateFlagBitsEEENS_29PipelineShaderStageCreateInfoENS_14PipelineLayoutENS_8PipelineEi(ptr noundef nonnull align 8 dereferenceable(92) %20, i32 %106, ptr noundef byval(%"struct.vk::PipelineShaderStageCreateInfo") align 8 %22, ptr %108, ptr %110, i32 noundef 0) #8
  call void @_ZN2vk5FlagsINS_22PipelineCreateFlagBitsEEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %27) #8
  %111 = getelementptr inbounds %"class.vk::Flags.43", ptr %27, i32 0, i32 0
  %112 = load i32, ptr %111, align 4
  %113 = call noundef nonnull align 8 dereferenceable(92) ptr @_ZN2vk25ComputePipelineCreateInfo8setFlagsENS_5FlagsINS_22PipelineCreateFlagBitsEEE(ptr noundef nonnull align 8 dereferenceable(92) %20, i32 %112) #8
  %114 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN2vk29PipelineShaderStageCreateInfoESaIS1_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  %115 = call noundef nonnull align 8 dereferenceable(92) ptr @_ZN2vk25ComputePipelineCreateInfo8setStageERKNS_29PipelineShaderStageCreateInfoE(ptr noundef nonnull align 8 dereferenceable(92) %113, ptr noundef nonnull align 8 dereferenceable(48) %114) #8
  %116 = getelementptr inbounds %class.Pipeline, ptr %34, i32 0, i32 7
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN2vk12UniqueHandleINS_14PipelineLayoutENS_20DispatchLoaderStaticEE3getEv(ptr noundef nonnull align 8 dereferenceable(32) %116) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %28, ptr align 8 %117, i64 8, i1 false), !tbaa.struct !47
  %118 = getelementptr inbounds %"class.vk::PipelineLayout", ptr %28, i32 0, i32 0
  %119 = load ptr, ptr %118, align 8
  %120 = call noundef nonnull align 8 dereferenceable(92) ptr @_ZN2vk25ComputePipelineCreateInfo9setLayoutENS_14PipelineLayoutE(ptr noundef nonnull align 8 dereferenceable(92) %115, ptr %119) #8
  call void @llvm.memset.p0.i64(ptr align 8 %29, i8 0, i64 8, i1 false)
  call void @_ZN2vk8PipelineC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  %121 = getelementptr inbounds %"class.vk::Pipeline", ptr %29, i32 0, i32 0
  %122 = load ptr, ptr %121, align 8
  %123 = call noundef nonnull align 8 dereferenceable(92) ptr @_ZN2vk25ComputePipelineCreateInfo21setBasePipelineHandleENS_8PipelineE(ptr noundef nonnull align 8 dereferenceable(92) %120, ptr %122) #8
  %124 = call noundef nonnull align 8 dereferenceable(92) ptr @_ZN2vk25ComputePipelineCreateInfo20setBasePipelineIndexEi(ptr noundef nonnull align 8 dereferenceable(92) %123, i32 noundef -1) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %19, ptr align 8 %124, i64 96, i1 false), !tbaa.struct !48
  call void @llvm.lifetime.end.p0(i64 96, ptr %20) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #8
  call void @llvm.lifetime.start.p0(i64 40, ptr %31) #8
  %125 = getelementptr inbounds %class.Pipeline, ptr %34, i32 0, i32 1
  %126 = load ptr, ptr %125, align 8, !tbaa !14
  %127 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN14DeviceInstance6deviceEv(ptr noundef nonnull align 8 dereferenceable(96) %126)
          to label %128 unwind label %142

128:                                              ; preds = %98
  call void @llvm.memset.p0.i64(ptr align 8 %32, i8 0, i64 8, i1 false)
  call void @_ZN2vk13PipelineCacheC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %32) #8
  call void @_ZN2vk8OptionalIKNS_19AllocationCallbacksEEC2EDn(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr null) #8
  %129 = invoke noundef nonnull align 8 dereferenceable(9) ptr @_ZN2vkL23getDispatchLoaderStaticEv()
          to label %130 unwind label %142

130:                                              ; preds = %128
  %131 = getelementptr inbounds %"class.vk::PipelineCache", ptr %32, i32 0, i32 0
  %132 = load ptr, ptr %131, align 8
  %133 = getelementptr inbounds %"class.vk::Optional", ptr %33, i32 0, i32 0
  %134 = load ptr, ptr %133, align 8
  invoke void @_ZNK2vk6Device27createComputePipelineUniqueINS_20DispatchLoaderStaticEEENS_11ResultValueINS_12UniqueHandleINS_8PipelineET_EEEENS_13PipelineCacheERKNS_25ComputePipelineCreateInfoENS_8OptionalIKNS_19AllocationCallbacksEEERKS6_(ptr dead_on_unwind writable sret(%"struct.vk::ResultValue") align 8 %31, ptr noundef nonnull align 8 dereferenceable(8) %127, ptr %132, ptr noundef nonnull align 8 dereferenceable(92) %19, ptr %134, ptr noundef nonnull align 8 dereferenceable(9) %129)
          to label %135 unwind label %142

135:                                              ; preds = %130
  call void @_ZN2vk11ResultValueINS_12UniqueHandleINS_8PipelineENS_20DispatchLoaderStaticEEEEcvS4_Ev(ptr dead_on_unwind writable sret(%"class.vk::UniqueHandle.18") align 8 %30, ptr noundef nonnull align 8 dereferenceable(40) %31) #8
  %136 = getelementptr inbounds %class.Pipeline, ptr %34, i32 0, i32 8
  %137 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vk12UniqueHandleINS_8PipelineENS_20DispatchLoaderStaticEEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(32) %136, ptr noundef nonnull align 8 dereferenceable(32) %30) #8
  call void @_ZN2vk12UniqueHandleINS_8PipelineENS_20DispatchLoaderStaticEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #8
  call void @_ZN2vk11ResultValueINS_12UniqueHandleINS_8PipelineENS_20DispatchLoaderStaticEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %31) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %13) #8
  call void @_ZNSt6vectorIN2vk19DescriptorSetLayoutESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #8
  call void @_ZNSt6vectorIN2vk29PipelineShaderStageCreateInfoESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #8
  ret void

138:                                              ; preds = %95, %93, %87
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %11, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #8
  br label %146

142:                                              ; preds = %130, %128, %98
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %11, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 40, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr %19) #8
  br label %146

146:                                              ; preds = %142, %138
  call void @llvm.lifetime.end.p0(i64 48, ptr %13) #8
  br label %147

147:                                              ; preds = %146, %59
  call void @_ZNSt6vectorIN2vk19DescriptorSetLayoutESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #8
  call void @_ZNSt6vectorIN2vk29PipelineShaderStageCreateInfoESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #8
  br label %148

148:                                              ; preds = %147
  %149 = load ptr, ptr %11, align 8
  %150 = load i32, ptr %12, align 4
  %151 = insertvalue { ptr, i32 } poison, ptr %149, 0
  %152 = insertvalue { ptr, i32 } %151, i32 %150, 1
  resume { ptr, i32 } %152
}

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

declare void @_ZN8Pipeline21createShaderStageInfoEv(ptr dead_on_unwind writable sret(%"class.std::vector.32") align 8, ptr noundef nonnull align 8 dereferenceable(248)) #2

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPN2vk12UniqueHandleINS1_19DescriptorSetLayoutENS1_20DispatchLoaderStaticEEESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(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 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN2vk12UniqueHandleINS1_19DescriptorSetLayoutENS1_20DispatchLoaderStaticEEESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2vk24PipelineLayoutCreateInfoC2ENS_5FlagsINS_28PipelineLayoutCreateFlagBitsEEEjPKNS_19DescriptorSetLayoutEjPKNS_17PushConstantRangeE(ptr noundef nonnull align 8 dereferenceable(48), i32, i32 noundef, ptr noundef, i32 noundef, ptr noundef) unnamed_addr #3 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZNK2vk6Device26createPipelineLayoutUniqueINS_20DispatchLoaderStaticEEENS_15ResultValueTypeINS_12UniqueHandleINS_14PipelineLayoutET_EEE4typeERKNS_24PipelineLayoutCreateInfoENS_8OptionalIKNS_19AllocationCallbacksEEERKS6_(ptr dead_on_unwind noalias writable sret(%"class.vk::UniqueHandle") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(48), ptr, ptr noundef nonnull align 8 dereferenceable(9)) #6 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vk12UniqueHandleINS_14PipelineLayoutENS_20DispatchLoaderStaticEEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2vk29PipelineShaderStageCreateInfoC2ENS_5FlagsINS_33PipelineShaderStageCreateFlagBitsEEENS_19ShaderStageFlagBitsENS_12ShaderModuleEPKcPKNS_18SpecializationInfoE(ptr noundef nonnull align 8 dereferenceable(48), i32, i32 noundef, ptr, ptr noundef, ptr noundef) unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2vk25ComputePipelineCreateInfoC2ENS_5FlagsINS_22PipelineCreateFlagBitsEEENS_29PipelineShaderStageCreateInfoENS_14PipelineLayoutENS_8PipelineEi(ptr noundef nonnull align 8 dereferenceable(92), i32, ptr noundef byval(%"struct.vk::PipelineShaderStageCreateInfo") align 8, ptr, ptr, i32 noundef) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(92) ptr @_ZN2vk25ComputePipelineCreateInfo8setStageERKNS_29PipelineShaderStageCreateInfoE(ptr noundef nonnull align 8 dereferenceable(92), ptr noundef nonnull align 8 dereferenceable(48)) #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(92) ptr @_ZN2vk25ComputePipelineCreateInfo9setLayoutENS_14PipelineLayoutE(ptr noundef nonnull align 8 dereferenceable(92), ptr) #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(92) ptr @_ZN2vk25ComputePipelineCreateInfo21setBasePipelineHandleENS_8PipelineE(ptr noundef nonnull align 8 dereferenceable(92), ptr) #3 align 2

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZNK2vk6Device27createComputePipelineUniqueINS_20DispatchLoaderStaticEEENS_11ResultValueINS_12UniqueHandleINS_8PipelineET_EEEENS_13PipelineCacheERKNS_25ComputePipelineCreateInfoENS_8OptionalIKNS_19AllocationCallbacksEEERKS6_(ptr dead_on_unwind noalias writable sret(%"struct.vk::ResultValue") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr, ptr noundef nonnull align 8 dereferenceable(92), ptr, ptr noundef nonnull align 8 dereferenceable(9)) #6 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2vk11ResultValueINS_12UniqueHandleINS_8PipelineENS_20DispatchLoaderStaticEEEEcvS4_Ev(ptr dead_on_unwind noalias writable sret(%"class.vk::UniqueHandle.18") align 8, ptr noundef nonnull align 8 dereferenceable(40)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vk12UniqueHandleINS_8PipelineENS_20DispatchLoaderStaticEEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN2vk29PipelineShaderStageCreateInfoESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 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 nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 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 #4 = { 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { 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 #7 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { 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 = !{i64 0, i64 4, !12, i64 8, i64 8, !5, i64 16, i64 4, !9, i64 20, i64 4, !9, i64 24, i64 8, !5, i64 32, i64 4, !9, i64 40, i64 8, !5}
!12 = !{!13, !13, i64 0}
!13 = !{!"_ZTSN2vk13StructureTypeE", !7, i64 0}
!14 = !{!15, !6, i64 8}
!15 = !{!"_ZTS8Pipeline", !6, i64 8, !16, i64 16, !25, i64 64, !28, i64 112, !32, i64 136, !36, i64 160, !40, i64 184, !45, i64 216}
!16 = !{!"_ZTSSt3mapIN2vk19ShaderStageFlagBitsENS0_12UniqueHandleINS0_12ShaderModuleENS0_20DispatchLoaderStaticEEESt4lessIS1_ESaISt4pairIKS1_S5_EEE", !17, i64 0}
!17 = !{!"_ZTSSt8_Rb_treeIN2vk19ShaderStageFlagBitsESt4pairIKS1_NS0_12UniqueHandleINS0_12ShaderModuleENS0_20DispatchLoaderStaticEEEESt10_Select1stIS8_ESt4lessIS1_ESaIS8_EE", !18, i64 0}
!18 = !{!"_ZTSNSt8_Rb_treeIN2vk19ShaderStageFlagBitsESt4pairIKS1_NS0_12UniqueHandleINS0_12ShaderModuleENS0_20DispatchLoaderStaticEEEESt10_Select1stIS8_ESt4lessIS1_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !19, i64 0, !21, i64 8}
!19 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIN2vk19ShaderStageFlagBitsEEE", !20, i64 0}
!20 = !{!"_ZTSSt4lessIN2vk19ShaderStageFlagBitsEE"}
!21 = !{!"_ZTSSt15_Rb_tree_header", !22, i64 0, !24, i64 32}
!22 = !{!"_ZTSSt18_Rb_tree_node_base", !23, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!23 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!24 = !{!"long", !7, i64 0}
!25 = !{!"_ZTSSt3mapIN2vk19ShaderStageFlagBitsENS0_18SpecializationInfoESt4lessIS1_ESaISt4pairIKS1_S2_EEE", !26, i64 0}
!26 = !{!"_ZTSSt8_Rb_treeIN2vk19ShaderStageFlagBitsESt4pairIKS1_NS0_18SpecializationInfoEESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE", !27, i64 0}
!27 = !{!"_ZTSNSt8_Rb_treeIN2vk19ShaderStageFlagBitsESt4pairIKS1_NS0_18SpecializationInfoEESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !19, i64 0, !21, i64 8}
!28 = !{!"_ZTSSt6vectorIS_IN2vk26DescriptorSetLayoutBindingESaIS1_EESaIS3_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseISt6vectorIN2vk26DescriptorSetLayoutBindingESaIS2_EESaIS4_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseISt6vectorIN2vk26DescriptorSetLayoutBindingESaIS2_EESaIS4_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseISt6vectorIN2vk26DescriptorSetLayoutBindingESaIS2_EESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!32 = !{!"_ZTSSt6vectorIN2vk12UniqueHandleINS0_19DescriptorSetLayoutENS0_20DispatchLoaderStaticEEESaIS4_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIN2vk12UniqueHandleINS0_19DescriptorSetLayoutENS0_20DispatchLoaderStaticEEESaIS4_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIN2vk12UniqueHandleINS0_19DescriptorSetLayoutENS0_20DispatchLoaderStaticEEESaIS4_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIN2vk12UniqueHandleINS0_19DescriptorSetLayoutENS0_20DispatchLoaderStaticEEESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!36 = !{!"_ZTSSt6vectorIN2vk17PushConstantRangeESaIS1_EE", !37, i64 0}
!37 = !{!"_ZTSSt12_Vector_baseIN2vk17PushConstantRangeESaIS1_EE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIN2vk17PushConstantRangeESaIS1_EE12_Vector_implE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIN2vk17PushConstantRangeESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!40 = !{!"_ZTSN2vk12UniqueHandleINS_14PipelineLayoutENS_20DispatchLoaderStaticEEE", !41, i64 0, !44, i64 24}
!41 = !{!"_ZTSN2vk13ObjectDestroyINS_6DeviceENS_20DispatchLoaderStaticEEE", !42, i64 0, !43, i64 8, !6, i64 16}
!42 = !{!"_ZTSN2vk6DeviceE", !6, i64 0}
!43 = !{!"_ZTSN2vk8OptionalIKNS_19AllocationCallbacksEEE", !6, i64 0}
!44 = !{!"_ZTSN2vk14PipelineLayoutE", !6, i64 0}
!45 = !{!"_ZTSN2vk12UniqueHandleINS_8PipelineENS_20DispatchLoaderStaticEEE", !41, i64 0, !46, i64 24}
!46 = !{!"_ZTSN2vk8PipelineE", !6, i64 0}
!47 = !{i64 0, i64 8, !5}
!48 = !{i64 0, i64 4, !12, i64 8, i64 8, !5, i64 16, i64 4, !9, i64 24, i64 4, !12, i64 32, i64 8, !5, i64 40, i64 4, !9, i64 44, i64 4, !49, i64 48, i64 8, !5, i64 56, i64 8, !5, i64 64, i64 8, !5, i64 72, i64 8, !5, i64 80, i64 8, !5, i64 88, i64 4, !9}
!49 = !{!50, !50, i64 0}
!50 = !{!"_ZTSN2vk19ShaderStageFlagBitsE", !7, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::vector.32" = type { %"struct.std::_Vector_base.33" }
%"struct.std::_Vector_base.33" = type { %"struct.std::_Vector_base<vk::PipelineShaderStageCreateInfo, std::allocator<vk::PipelineShaderStageCreateInfo>>::_Vector_impl" }
%"struct.std::_Vector_base<vk::PipelineShaderStageCreateInfo, std::allocator<vk::PipelineShaderStageCreateInfo>>::_Vector_impl" = type { %"struct.std::_Vector_base<vk::PipelineShaderStageCreateInfo, std::allocator<vk::PipelineShaderStageCreateInfo>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vk::PipelineShaderStageCreateInfo, std::allocator<vk::PipelineShaderStageCreateInfo>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.37" = type { %"struct.std::_Vector_base.38" }
%"struct.std::_Vector_base.38" = type { %"struct.std::_Vector_base<vk::DescriptorSetLayout, std::allocator<vk::DescriptorSetLayout>>::_Vector_impl" }
%"struct.std::_Vector_base<vk::DescriptorSetLayout, std::allocator<vk::DescriptorSetLayout>>::_Vector_impl" = type { %"struct.std::_Vector_base<vk::DescriptorSetLayout, std::allocator<vk::DescriptorSetLayout>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vk::DescriptorSetLayout, std::allocator<vk::DescriptorSetLayout>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.vk::PipelineLayoutCreateInfo" = type { i32, ptr, %"class.vk::Flags", i32, ptr, i32, ptr }
%"class.vk::Flags" = type { i32 }
%"class.vk::UniqueHandle" = type { %"class.vk::ObjectDestroy", %"class.vk::PipelineLayout" }
%"class.vk::ObjectDestroy" = type { %"class.vk::Device", %"class.vk::Optional", ptr }
%"class.vk::Device" = type { ptr }
%"class.vk::Optional" = type { ptr }
%"class.vk::PipelineLayout" = type { ptr }
%"struct.vk::ComputePipelineCreateInfo" = type <{ i32, [4 x i8], ptr, %"class.vk::Flags.43", [4 x i8], %"struct.vk::PipelineShaderStageCreateInfo", %"class.vk::PipelineLayout", %"class.vk::Pipeline", i32, [4 x i8] }>
%"class.vk::Flags.43" = type { i32 }
%"struct.vk::PipelineShaderStageCreateInfo" = type { i32, ptr, %"class.vk::Flags.44", i32, %"class.vk::ShaderModule", ptr, ptr }
%"class.vk::Flags.44" = type { i32 }
%"class.vk::ShaderModule" = type { ptr }
%"class.vk::Pipeline" = type { ptr }
%"class.vk::UniqueHandle.18" = type { %"class.vk::ObjectDestroy", %"class.vk::Pipeline" }
%"struct.vk::ResultValue" = type { i32, %"class.vk::UniqueHandle.18" }
%"class.vk::PipelineCache" = type { ptr }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN15ComputePipeline14createPipelineEv(ptr noundef nonnull align 8 dereferenceable(248) %0) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::vector.32", align 8
  %3 = alloca %"class.std::vector.37", align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %6 = alloca %"struct.vk::PipelineLayoutCreateInfo", align 8
  %7 = alloca %"struct.vk::PipelineLayoutCreateInfo", align 8
  %8 = alloca %"class.vk::Flags", align 4
  %9 = alloca %"class.vk::Flags", align 4
  %10 = alloca %"class.vk::UniqueHandle", align 8
  %11 = alloca %"class.vk::Optional", align 8
  %12 = alloca %"struct.vk::ComputePipelineCreateInfo", align 8
  %13 = alloca %"struct.vk::ComputePipelineCreateInfo", align 8
  %14 = alloca %"class.vk::Flags.43", align 4
  %15 = alloca %"struct.vk::PipelineShaderStageCreateInfo", align 8
  %16 = alloca %"class.vk::Flags.44", align 4
  %17 = alloca %"class.vk::ShaderModule", align 8
  %18 = alloca %"class.vk::PipelineLayout", align 8
  %19 = alloca %"class.vk::Pipeline", align 8
  %20 = alloca %"class.vk::Flags.43", align 4
  %21 = alloca %"class.vk::Pipeline", align 8
  %22 = alloca %"class.vk::UniqueHandle.18", align 8
  %23 = alloca %"struct.vk::ResultValue", align 8
  %24 = alloca %"class.vk::PipelineCache", align 8
  %25 = alloca %"class.vk::Optional", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #7
  call void @_ZN8Pipeline21createShaderStageInfoEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.32") align 8 %2, ptr noundef nonnull align 8 dereferenceable(248) %0)
  %26 = getelementptr inbounds i8, ptr %0, i64 160
  %27 = call noundef i64 @_ZNKSt6vectorIN2vk17PushConstantRangeESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  %28 = trunc i64 %27 to i32
  %29 = getelementptr inbounds i8, ptr %0, i64 136
  %30 = call noundef i64 @_ZNKSt6vectorIN2vk12UniqueHandleINS0_19DescriptorSetLayoutENS0_20DispatchLoaderStaticEEESaIS4_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  %31 = trunc i64 %30 to i32
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #7
  call void @_ZNSt6vectorIN2vk19DescriptorSetLayoutESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %32 = call ptr @_ZNSt6vectorIN2vk12UniqueHandleINS0_19DescriptorSetLayoutENS0_20DispatchLoaderStaticEEESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  store ptr %32, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %33 = call ptr @_ZNSt6vectorIN2vk12UniqueHandleINS0_19DescriptorSetLayoutENS0_20DispatchLoaderStaticEEESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  store ptr %33, ptr %5, align 8
  %34 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN2vk12UniqueHandleINS1_19DescriptorSetLayoutENS1_20DispatchLoaderStaticEEESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #7
  br i1 %34, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %42, %1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %7) #7
  call void @_ZN2vk5FlagsINS_28PipelineLayoutCreateFlagBitsEEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %8) #7
  %35 = load i32, ptr %8, align 4
  call void @_ZN2vk24PipelineLayoutCreateInfoC2ENS_5FlagsINS_28PipelineLayoutCreateFlagBitsEEEjPKNS_19DescriptorSetLayoutEjPKNS_17PushConstantRangeE(ptr noundef nonnull align 8 dereferenceable(48) %7, i32 %35, i32 noundef 0, ptr noundef null, i32 noundef 0, ptr noundef null) #7
  call void @_ZN2vk5FlagsINS_28PipelineLayoutCreateFlagBitsEEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %9) #7
  %36 = load i32, ptr %9, align 4
  %37 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vk24PipelineLayoutCreateInfo8setFlagsENS_5FlagsINS_28PipelineLayoutCreateFlagBitsEEE(ptr noundef nonnull align 8 dereferenceable(48) %7, i32 %36) #7
  %38 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vk24PipelineLayoutCreateInfo17setSetLayoutCountEj(ptr noundef nonnull align 8 dereferenceable(48) %37, i32 noundef %31) #7
  %.not = icmp eq i32 %31, 0
  br i1 %.not, label %49, label %47

.lr.ph:                                           ; preds = %1, %42
  %39 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN2vk12UniqueHandleINS1_19DescriptorSetLayoutENS1_20DispatchLoaderStaticEEESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  %40 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN2vk12UniqueHandleINS_19DescriptorSetLayoutENS_20DispatchLoaderStaticEE3getEv(ptr noundef nonnull align 8 dereferenceable(32) %39) #7
  %41 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIN2vk19DescriptorSetLayoutESaIS1_EE12emplace_backIJRS1_EEES5_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(8) %40)
          to label %42 unwind label %45

42:                                               ; preds = %.lr.ph
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN2vk12UniqueHandleINS1_19DescriptorSetLayoutENS1_20DispatchLoaderStaticEEESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  %44 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN2vk12UniqueHandleINS1_19DescriptorSetLayoutENS1_20DispatchLoaderStaticEEESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #7
  br i1 %44, label %.lr.ph, label %._crit_edge

45:                                               ; preds = %.lr.ph
  %46 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  br label %93

47:                                               ; preds = %._crit_edge
  %48 = call noundef ptr @_ZNSt6vectorIN2vk19DescriptorSetLayoutESaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  br label %49

49:                                               ; preds = %._crit_edge, %47
  %50 = phi ptr [ %48, %47 ], [ null, %._crit_edge ]
  %51 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vk24PipelineLayoutCreateInfo14setPSetLayoutsEPKNS_19DescriptorSetLayoutE(ptr noundef nonnull align 8 dereferenceable(48) %38, ptr noundef %50) #7
  %52 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vk24PipelineLayoutCreateInfo25setPushConstantRangeCountEj(ptr noundef nonnull align 8 dereferenceable(48) %51, i32 noundef %28) #7
  %.not11 = icmp eq i32 %28, 0
  br i1 %.not11, label %55, label %53

53:                                               ; preds = %49
  %54 = call noundef ptr @_ZNSt6vectorIN2vk17PushConstantRangeESaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  br label %55

55:                                               ; preds = %49, %53
  %56 = phi ptr [ %54, %53 ], [ null, %49 ]
  %57 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vk24PipelineLayoutCreateInfo22setPPushConstantRangesEPKNS_17PushConstantRangeE(ptr noundef nonnull align 8 dereferenceable(48) %52, ptr noundef %56) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 8 dereferenceable(48) %57, i64 48, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #7
  %58 = getelementptr inbounds i8, ptr %0, i64 8
  %59 = load ptr, ptr %58, align 8, !tbaa !14
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN14DeviceInstance6deviceEv(ptr noundef nonnull align 8 dereferenceable(96) %59)
  call void @_ZN2vk8OptionalIKNS_19AllocationCallbacksEEC2EDn(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr null) #7
  %61 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZN2vkL23getDispatchLoaderStaticEv()
  %62 = load ptr, ptr %11, align 8
  invoke void @_ZNK2vk6Device26createPipelineLayoutUniqueINS_20DispatchLoaderStaticEEENS_15ResultValueTypeINS_12UniqueHandleINS_14PipelineLayoutET_EEE4typeERKNS_24PipelineLayoutCreateInfoENS_8OptionalIKNS_19AllocationCallbacksEEERKS6_(ptr dead_on_unwind nonnull writable sret(%"class.vk::UniqueHandle") align 8 %10, ptr noundef nonnull align 8 dereferenceable(8) %60, ptr noundef nonnull align 8 dereferenceable(48) %6, ptr %62, ptr noundef nonnull align 8 dereferenceable(9) %61)
          to label %63 unwind label %88

63:                                               ; preds = %55
  %64 = getelementptr inbounds i8, ptr %0, i64 184
  %65 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vk12UniqueHandleINS_14PipelineLayoutENS_20DispatchLoaderStaticEEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(32) %64, ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  call void @_ZN2vk12UniqueHandleINS_14PipelineLayoutENS_20DispatchLoaderStaticEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %13) #7
  call void @_ZN2vk5FlagsINS_22PipelineCreateFlagBitsEEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %14) #7
  call void @_ZN2vk5FlagsINS_33PipelineShaderStageCreateFlagBitsEEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %16) #7
  store i64 0, ptr %17, align 8
  call void @_ZN2vk12ShaderModuleC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  %66 = load i32, ptr %16, align 4
  %67 = load ptr, ptr %17, align 8
  call void @_ZN2vk29PipelineShaderStageCreateInfoC2ENS_5FlagsINS_33PipelineShaderStageCreateFlagBitsEEENS_19ShaderStageFlagBitsENS_12ShaderModuleEPKcPKNS_18SpecializationInfoE(ptr noundef nonnull align 8 dereferenceable(48) %15, i32 %66, i32 noundef 1, ptr %67, ptr noundef null, ptr noundef null) #7
  store i64 0, ptr %18, align 8
  call void @_ZN2vk14PipelineLayoutC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  store i64 0, ptr %19, align 8
  call void @_ZN2vk8PipelineC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  %68 = load i32, ptr %14, align 4
  %69 = load ptr, ptr %18, align 8
  %70 = load ptr, ptr %19, align 8
  call void @_ZN2vk25ComputePipelineCreateInfoC2ENS_5FlagsINS_22PipelineCreateFlagBitsEEENS_29PipelineShaderStageCreateInfoENS_14PipelineLayoutENS_8PipelineEi(ptr noundef nonnull align 8 dereferenceable(92) %13, i32 %68, ptr noundef nonnull byval(%"struct.vk::PipelineShaderStageCreateInfo") align 8 %15, ptr %69, ptr %70, i32 noundef 0) #7
  call void @_ZN2vk5FlagsINS_22PipelineCreateFlagBitsEEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %20) #7
  %71 = load i32, ptr %20, align 4
  %72 = call noundef nonnull align 8 dereferenceable(92) ptr @_ZN2vk25ComputePipelineCreateInfo8setFlagsENS_5FlagsINS_22PipelineCreateFlagBitsEEE(ptr noundef nonnull align 8 dereferenceable(92) %13, i32 %71) #7
  %73 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN2vk29PipelineShaderStageCreateInfoESaIS1_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %74 = call noundef nonnull align 8 dereferenceable(92) ptr @_ZN2vk25ComputePipelineCreateInfo8setStageERKNS_29PipelineShaderStageCreateInfoE(ptr noundef nonnull align 8 dereferenceable(92) %72, ptr noundef nonnull align 8 dereferenceable(48) %73) #7
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN2vk12UniqueHandleINS_14PipelineLayoutENS_20DispatchLoaderStaticEE3getEv(ptr noundef nonnull align 8 dereferenceable(32) %64) #7
  %.sroa.0.0.copyload = load ptr, ptr %75, align 8, !tbaa !10
  %76 = call noundef nonnull align 8 dereferenceable(92) ptr @_ZN2vk25ComputePipelineCreateInfo9setLayoutENS_14PipelineLayoutE(ptr noundef nonnull align 8 dereferenceable(92) %74, ptr %.sroa.0.0.copyload) #7
  store i64 0, ptr %21, align 8
  call void @_ZN2vk8PipelineC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  %77 = load ptr, ptr %21, align 8
  %78 = call noundef nonnull align 8 dereferenceable(92) ptr @_ZN2vk25ComputePipelineCreateInfo21setBasePipelineHandleENS_8PipelineE(ptr noundef nonnull align 8 dereferenceable(92) %76, ptr %77) #7
  %79 = call noundef nonnull align 8 dereferenceable(92) ptr @_ZN2vk25ComputePipelineCreateInfo20setBasePipelineIndexEi(ptr noundef nonnull align 8 dereferenceable(92) %78, i32 noundef -1) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %12, ptr noundef nonnull align 8 dereferenceable(96) %79, i64 96, i1 false), !tbaa.struct !47
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %23) #7
  %80 = load ptr, ptr %58, align 8, !tbaa !14
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN14DeviceInstance6deviceEv(ptr noundef nonnull align 8 dereferenceable(96) %80)
  store i64 0, ptr %24, align 8
  call void @_ZN2vk13PipelineCacheC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #7
  call void @_ZN2vk8OptionalIKNS_19AllocationCallbacksEEC2EDn(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr null) #7
  %82 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZN2vkL23getDispatchLoaderStaticEv()
  %83 = load ptr, ptr %24, align 8
  %84 = load ptr, ptr %25, align 8
  invoke void @_ZNK2vk6Device27createComputePipelineUniqueINS_20DispatchLoaderStaticEEENS_11ResultValueINS_12UniqueHandleINS_8PipelineET_EEEENS_13PipelineCacheERKNS_25ComputePipelineCreateInfoENS_8OptionalIKNS_19AllocationCallbacksEEERKS6_(ptr dead_on_unwind nonnull writable sret(%"struct.vk::ResultValue") align 8 %23, ptr noundef nonnull align 8 dereferenceable(8) %81, ptr %83, ptr noundef nonnull align 8 dereferenceable(92) %12, ptr %84, ptr noundef nonnull align 8 dereferenceable(9) %82)
          to label %85 unwind label %90

85:                                               ; preds = %63
  call void @_ZN2vk11ResultValueINS_12UniqueHandleINS_8PipelineENS_20DispatchLoaderStaticEEEEcvS4_Ev(ptr dead_on_unwind nonnull writable sret(%"class.vk::UniqueHandle.18") align 8 %22, ptr noundef nonnull align 8 dereferenceable(40) %23) #7
  %86 = getelementptr inbounds i8, ptr %0, i64 216
  %87 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vk12UniqueHandleINS_8PipelineENS_20DispatchLoaderStaticEEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(32) %86, ptr noundef nonnull align 8 dereferenceable(32) %22) #7
  call void @_ZN2vk12UniqueHandleINS_8PipelineENS_20DispatchLoaderStaticEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #7
  call void @_ZN2vk11ResultValueINS_12UniqueHandleINS_8PipelineENS_20DispatchLoaderStaticEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %23) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #7
  call void @_ZNSt6vectorIN2vk19DescriptorSetLayoutESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #7
  call void @_ZNSt6vectorIN2vk29PipelineShaderStageCreateInfoESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #7
  ret void

88:                                               ; preds = %55
  %89 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #7
  br label %92

90:                                               ; preds = %63
  %91 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %12) #7
  br label %92

92:                                               ; preds = %90, %88
  %.pn = phi { ptr, i32 } [ %91, %90 ], [ %89, %88 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #7
  br label %93

93:                                               ; preds = %92, %45
  %.pn13 = phi { ptr, i32 } [ %46, %45 ], [ %.pn, %92 ]
  call void @_ZNSt6vectorIN2vk19DescriptorSetLayoutESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #7
  call void @_ZNSt6vectorIN2vk29PipelineShaderStageCreateInfoESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #7
  resume { ptr, i32 } %.pn13
}

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

declare void @_ZN8Pipeline21createShaderStageInfoEv(ptr dead_on_unwind writable sret(%"class.std::vector.32") align 8, ptr noundef nonnull align 8 dereferenceable(248)) local_unnamed_addr #2

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPN2vk12UniqueHandleINS1_19DescriptorSetLayoutENS1_20DispatchLoaderStaticEEESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(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 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN2vk12UniqueHandleINS1_19DescriptorSetLayoutENS1_20DispatchLoaderStaticEEESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2vk24PipelineLayoutCreateInfoC2ENS_5FlagsINS_28PipelineLayoutCreateFlagBitsEEEjPKNS_19DescriptorSetLayoutEjPKNS_17PushConstantRangeE(ptr noundef nonnull align 8 dereferenceable(48), i32, i32 noundef, ptr noundef, i32 noundef, ptr noundef) unnamed_addr #3 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZNK2vk6Device26createPipelineLayoutUniqueINS_20DispatchLoaderStaticEEENS_15ResultValueTypeINS_12UniqueHandleINS_14PipelineLayoutET_EEE4typeERKNS_24PipelineLayoutCreateInfoENS_8OptionalIKNS_19AllocationCallbacksEEERKS6_(ptr dead_on_unwind noalias writable sret(%"class.vk::UniqueHandle") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(48), ptr, ptr noundef nonnull align 8 dereferenceable(9)) local_unnamed_addr #6 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vk12UniqueHandleINS_14PipelineLayoutENS_20DispatchLoaderStaticEEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2vk29PipelineShaderStageCreateInfoC2ENS_5FlagsINS_33PipelineShaderStageCreateFlagBitsEEENS_19ShaderStageFlagBitsENS_12ShaderModuleEPKcPKNS_18SpecializationInfoE(ptr noundef nonnull align 8 dereferenceable(48), i32, i32 noundef, ptr, ptr noundef, ptr noundef) unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2vk25ComputePipelineCreateInfoC2ENS_5FlagsINS_22PipelineCreateFlagBitsEEENS_29PipelineShaderStageCreateInfoENS_14PipelineLayoutENS_8PipelineEi(ptr noundef nonnull align 8 dereferenceable(92), i32, ptr noundef byval(%"struct.vk::PipelineShaderStageCreateInfo") align 8, ptr, ptr, i32 noundef) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(92) ptr @_ZN2vk25ComputePipelineCreateInfo8setStageERKNS_29PipelineShaderStageCreateInfoE(ptr noundef nonnull align 8 dereferenceable(92), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(92) ptr @_ZN2vk25ComputePipelineCreateInfo9setLayoutENS_14PipelineLayoutE(ptr noundef nonnull align 8 dereferenceable(92), ptr) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(92) ptr @_ZN2vk25ComputePipelineCreateInfo21setBasePipelineHandleENS_8PipelineE(ptr noundef nonnull align 8 dereferenceable(92), ptr) local_unnamed_addr #3 align 2

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZNK2vk6Device27createComputePipelineUniqueINS_20DispatchLoaderStaticEEENS_11ResultValueINS_12UniqueHandleINS_8PipelineET_EEEENS_13PipelineCacheERKNS_25ComputePipelineCreateInfoENS_8OptionalIKNS_19AllocationCallbacksEEERKS6_(ptr dead_on_unwind noalias writable sret(%"struct.vk::ResultValue") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr, ptr noundef nonnull align 8 dereferenceable(92), ptr, ptr noundef nonnull align 8 dereferenceable(9)) local_unnamed_addr #6 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2vk11ResultValueINS_12UniqueHandleINS_8PipelineENS_20DispatchLoaderStaticEEEEcvS4_Ev(ptr dead_on_unwind noalias writable sret(%"class.vk::UniqueHandle.18") align 8, ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vk12UniqueHandleINS_8PipelineENS_20DispatchLoaderStaticEEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN2vk29PipelineShaderStageCreateInfoESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 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 nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 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 #4 = { 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { 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 #7 = { 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 = !{i64 0, i64 4, !6, i64 8, i64 8, !10, i64 16, i64 4, !12, i64 20, i64 4, !12, i64 24, i64 8, !10, i64 32, i64 4, !12, i64 40, i64 8, !10}
!6 = !{!7, !7, i64 0}
!7 = !{!"_ZTSN2vk13StructureTypeE", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !11, i64 8}
!15 = !{!"_ZTS8Pipeline", !11, i64 8, !16, i64 16, !25, i64 64, !28, i64 112, !32, i64 136, !36, i64 160, !40, i64 184, !45, i64 216}
!16 = !{!"_ZTSSt3mapIN2vk19ShaderStageFlagBitsENS0_12UniqueHandleINS0_12ShaderModuleENS0_20DispatchLoaderStaticEEESt4lessIS1_ESaISt4pairIKS1_S5_EEE", !17, i64 0}
!17 = !{!"_ZTSSt8_Rb_treeIN2vk19ShaderStageFlagBitsESt4pairIKS1_NS0_12UniqueHandleINS0_12ShaderModuleENS0_20DispatchLoaderStaticEEEESt10_Select1stIS8_ESt4lessIS1_ESaIS8_EE", !18, i64 0}
!18 = !{!"_ZTSNSt8_Rb_treeIN2vk19ShaderStageFlagBitsESt4pairIKS1_NS0_12UniqueHandleINS0_12ShaderModuleENS0_20DispatchLoaderStaticEEEESt10_Select1stIS8_ESt4lessIS1_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !19, i64 0, !21, i64 8}
!19 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIN2vk19ShaderStageFlagBitsEEE", !20, i64 0}
!20 = !{!"_ZTSSt4lessIN2vk19ShaderStageFlagBitsEE"}
!21 = !{!"_ZTSSt15_Rb_tree_header", !22, i64 0, !24, i64 32}
!22 = !{!"_ZTSSt18_Rb_tree_node_base", !23, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!23 = !{!"_ZTSSt14_Rb_tree_color", !8, i64 0}
!24 = !{!"long", !8, i64 0}
!25 = !{!"_ZTSSt3mapIN2vk19ShaderStageFlagBitsENS0_18SpecializationInfoESt4lessIS1_ESaISt4pairIKS1_S2_EEE", !26, i64 0}
!26 = !{!"_ZTSSt8_Rb_treeIN2vk19ShaderStageFlagBitsESt4pairIKS1_NS0_18SpecializationInfoEESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE", !27, i64 0}
!27 = !{!"_ZTSNSt8_Rb_treeIN2vk19ShaderStageFlagBitsESt4pairIKS1_NS0_18SpecializationInfoEESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !19, i64 0, !21, i64 8}
!28 = !{!"_ZTSSt6vectorIS_IN2vk26DescriptorSetLayoutBindingESaIS1_EESaIS3_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseISt6vectorIN2vk26DescriptorSetLayoutBindingESaIS2_EESaIS4_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseISt6vectorIN2vk26DescriptorSetLayoutBindingESaIS2_EESaIS4_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseISt6vectorIN2vk26DescriptorSetLayoutBindingESaIS2_EESaIS4_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!32 = !{!"_ZTSSt6vectorIN2vk12UniqueHandleINS0_19DescriptorSetLayoutENS0_20DispatchLoaderStaticEEESaIS4_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIN2vk12UniqueHandleINS0_19DescriptorSetLayoutENS0_20DispatchLoaderStaticEEESaIS4_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIN2vk12UniqueHandleINS0_19DescriptorSetLayoutENS0_20DispatchLoaderStaticEEESaIS4_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIN2vk12UniqueHandleINS0_19DescriptorSetLayoutENS0_20DispatchLoaderStaticEEESaIS4_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!36 = !{!"_ZTSSt6vectorIN2vk17PushConstantRangeESaIS1_EE", !37, i64 0}
!37 = !{!"_ZTSSt12_Vector_baseIN2vk17PushConstantRangeESaIS1_EE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIN2vk17PushConstantRangeESaIS1_EE12_Vector_implE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIN2vk17PushConstantRangeESaIS1_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!40 = !{!"_ZTSN2vk12UniqueHandleINS_14PipelineLayoutENS_20DispatchLoaderStaticEEE", !41, i64 0, !44, i64 24}
!41 = !{!"_ZTSN2vk13ObjectDestroyINS_6DeviceENS_20DispatchLoaderStaticEEE", !42, i64 0, !43, i64 8, !11, i64 16}
!42 = !{!"_ZTSN2vk6DeviceE", !11, i64 0}
!43 = !{!"_ZTSN2vk8OptionalIKNS_19AllocationCallbacksEEE", !11, i64 0}
!44 = !{!"_ZTSN2vk14PipelineLayoutE", !11, i64 0}
!45 = !{!"_ZTSN2vk12UniqueHandleINS_8PipelineENS_20DispatchLoaderStaticEEE", !41, i64 0, !46, i64 24}
!46 = !{!"_ZTSN2vk8PipelineE", !11, i64 0}
!47 = !{i64 0, i64 4, !6, i64 8, i64 8, !10, i64 16, i64 4, !12, i64 24, i64 4, !6, i64 32, i64 8, !10, i64 40, i64 4, !12, i64 44, i64 4, !48, i64 48, i64 8, !10, i64 56, i64 8, !10, i64 64, i64 8, !10, i64 72, i64 8, !10, i64 80, i64 8, !10, i64 88, i64 4, !12}
!48 = !{!49, !49, i64 0}
!49 = !{!"_ZTSN2vk19ShaderStageFlagBitsE", !8, i64 0}


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