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

; 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.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.vk::DescriptorSetLayoutCreateInfo" = type { i32, ptr, %"class.vk::Flags.44", i32, ptr }
%"class.vk::Flags.44" = type { i32 }
%"class.vk::UniqueHandle.45" = type { %"class.vk::ObjectDestroy", %"class.vk::DescriptorSetLayout" }
%"class.vk::ObjectDestroy" = type { %"class.vk::Device", %"class.vk::Optional", ptr }
%"class.vk::Device" = type { ptr }
%"class.vk::Optional" = type { ptr }
%"class.vk::DescriptorSetLayout" = 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 }
%"class.vk::UniqueHandle" = type { %"class.vk::ObjectDestroy", %"class.vk::PipelineLayout" }
%"class.vk::PipelineLayout" = type { ptr }
%"class.vk::UniqueHandle.18" = type { %"class.vk::ObjectDestroy", %"class.vk::Pipeline" }
%"class.vk::Pipeline" = type { ptr }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8Pipeline26createDescriptorSetLayoutsEv(ptr noundef nonnull align 8 dereferenceable(248) %0) #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"struct.vk::DescriptorSetLayoutCreateInfo", align 8
  %8 = alloca %"struct.vk::DescriptorSetLayoutCreateInfo", align 8
  %9 = alloca %"class.vk::Flags.44", align 4
  %10 = alloca %"class.vk::UniqueHandle.45", align 8
  %11 = alloca %"class.vk::Optional", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %14 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  %15 = getelementptr inbounds %class.Pipeline, ptr %14, i32 0, i32 4
  store ptr %15, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = call ptr @_ZNSt6vectorIS_IN2vk26DescriptorSetLayoutBindingESaIS1_EESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  %18 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %4, i32 0, i32 0
  store ptr %17, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %19 = load ptr, ptr %3, align 8, !tbaa !5
  %20 = call ptr @_ZNSt6vectorIS_IN2vk26DescriptorSetLayoutBindingESaIS1_EESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  %21 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %5, i32 0, i32 0
  store ptr %20, ptr %21, align 8
  br label %22

22:                                               ; preds = %45, %1
  %23 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt6vectorIN2vk26DescriptorSetLayoutBindingESaIS3_EES1_IS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %23, label %25, label %24

24:                                               ; preds = %22
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  br label %51

25:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %26 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt6vectorIN2vk26DescriptorSetLayoutBindingESaIS3_EES1_IS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  store ptr %26, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #6
  call void @_ZN2vk5FlagsINS_33DescriptorSetLayoutCreateFlagBitsEEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %9) #6
  %27 = getelementptr inbounds %"class.vk::Flags.44", ptr %9, i32 0, i32 0
  %28 = load i32, ptr %27, align 4
  call void @_ZN2vk29DescriptorSetLayoutCreateInfoC2ENS_5FlagsINS_33DescriptorSetLayoutCreateFlagBitsEEEjPKNS_26DescriptorSetLayoutBindingE(ptr noundef nonnull align 8 dereferenceable(32) %8, i32 %28, i32 noundef 0, ptr noundef null) #6
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = call noundef i64 @_ZNKSt6vectorIN2vk26DescriptorSetLayoutBindingESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #6
  %31 = trunc i64 %30 to i32
  %32 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vk29DescriptorSetLayoutCreateInfo15setBindingCountEj(ptr noundef nonnull align 8 dereferenceable(32) %8, i32 noundef %31) #6
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = call noundef ptr @_ZNSt6vectorIN2vk26DescriptorSetLayoutBindingESaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #6
  %35 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vk29DescriptorSetLayoutCreateInfo12setPBindingsEPKNS_26DescriptorSetLayoutBindingE(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef %34) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %35, i64 32, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  %36 = getelementptr inbounds %class.Pipeline, ptr %14, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #6
  %37 = getelementptr inbounds %class.Pipeline, ptr %14, i32 0, i32 1
  %38 = load ptr, ptr %37, align 8, !tbaa !14
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN14DeviceInstance6deviceEv(ptr noundef nonnull align 8 dereferenceable(96) %38)
  call void @_ZN2vk8OptionalIKNS_19AllocationCallbacksEEC2EDn(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr null) #6
  %40 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZN2vkL23getDispatchLoaderStaticEv()
  %41 = getelementptr inbounds %"class.vk::Optional", ptr %11, i32 0, i32 0
  %42 = load ptr, ptr %41, align 8
  call void @_ZNK2vk6Device31createDescriptorSetLayoutUniqueINS_20DispatchLoaderStaticEEENS_15ResultValueTypeINS_12UniqueHandleINS_19DescriptorSetLayoutET_EEE4typeERKNS_29DescriptorSetLayoutCreateInfoENS_8OptionalIKNS_19AllocationCallbacksEEERKS6_(ptr dead_on_unwind writable sret(%"class.vk::UniqueHandle.45") align 8 %10, ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 8 dereferenceable(32) %7, ptr %42, ptr noundef nonnull align 8 dereferenceable(9) %40)
  %43 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN2vk12UniqueHandleINS0_19DescriptorSetLayoutENS0_20DispatchLoaderStaticEEESaIS4_EE12emplace_backIJS4_EEERS4_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %44 unwind label %47

44:                                               ; preds = %25
  call void @_ZN2vk12UniqueHandleINS_19DescriptorSetLayoutENS_20DispatchLoaderStaticEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %45

45:                                               ; preds = %44
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt6vectorIN2vk26DescriptorSetLayoutBindingESaIS3_EES1_IS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  br label %22

47:                                               ; preds = %25
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %12, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %13, align 4
  call void @_ZN2vk12UniqueHandleINS_19DescriptorSetLayoutENS_20DispatchLoaderStaticEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  br label %52

51:                                               ; preds = %24
  ret void

52:                                               ; preds = %47
  %53 = load ptr, ptr %12, align 8
  %54 = load i32, ptr %13, align 4
  %55 = insertvalue { ptr, i32 } poison, ptr %53, 0
  %56 = insertvalue { ptr, i32 } %55, i32 %54, 1
  resume { ptr, i32 } %56
}

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

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

; 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 @_ZN14DeviceInstance6deviceEv(ptr noundef nonnull align 8 dereferenceable(96)) #3 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 ptr @_ZNSt6vectorIS_IN2vk26DescriptorSetLayoutBindingESaIS1_EESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIS_IN2vk26DescriptorSetLayoutBindingESaIS1_EESaIS3_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_cxxneIPSt6vectorIN2vk26DescriptorSetLayoutBindingESaIS3_EES1_IS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(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(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt6vectorIN2vk26DescriptorSetLayoutBindingESaIS3_EES1_IS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt6vectorIN2vk26DescriptorSetLayoutBindingESaIS3_EES1_IS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #6 = { 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 = !{i64 0, i64 4, !10, i64 8, i64 8, !5, i64 16, i64 4, !12, i64 20, i64 4, !12, i64 24, i64 8, !5}
!10 = !{!11, !11, i64 0}
!11 = !{!"_ZTSN2vk13StructureTypeE", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !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}


; 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.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.vk::DescriptorSetLayoutCreateInfo" = type { i32, ptr, %"class.vk::Flags.44", i32, ptr }
%"class.vk::Flags.44" = type { i32 }
%"class.vk::UniqueHandle.45" = type { %"class.vk::ObjectDestroy", %"class.vk::DescriptorSetLayout" }
%"class.vk::ObjectDestroy" = type { %"class.vk::Device", %"class.vk::Optional", ptr }
%"class.vk::Device" = type { ptr }
%"class.vk::Optional" = type { ptr }
%"class.vk::DescriptorSetLayout" = type { ptr }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8Pipeline26createDescriptorSetLayoutsEv(ptr noundef nonnull align 8 dereferenceable(248) %0) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %3 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %4 = alloca %"struct.vk::DescriptorSetLayoutCreateInfo", align 8
  %5 = alloca %"struct.vk::DescriptorSetLayoutCreateInfo", align 8
  %6 = alloca %"class.vk::Flags.44", align 4
  %7 = alloca %"class.vk::UniqueHandle.45", align 8
  %8 = alloca %"class.vk::Optional", align 8
  %9 = getelementptr inbounds i8, ptr %0, i64 112
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6
  %10 = tail call ptr @_ZNSt6vectorIS_IN2vk26DescriptorSetLayoutBindingESaIS1_EESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  store ptr %10, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %11 = tail call ptr @_ZNSt6vectorIS_IN2vk26DescriptorSetLayoutBindingESaIS1_EESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  store ptr %11, ptr %3, align 8
  %12 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt6vectorIN2vk26DescriptorSetLayoutBindingESaIS3_EES1_IS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  br i1 %12, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %1
  %13 = getelementptr inbounds i8, ptr %0, i64 136
  %14 = getelementptr inbounds i8, ptr %0, i64 8
  br label %15

._crit_edge:                                      ; preds = %28, %1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  ret void

15:                                               ; preds = %.lr.ph, %28
  %16 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt6vectorIN2vk26DescriptorSetLayoutBindingESaIS3_EES1_IS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #6
  call void @_ZN2vk5FlagsINS_33DescriptorSetLayoutCreateFlagBitsEEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %6) #6
  %17 = load i32, ptr %6, align 4
  call void @_ZN2vk29DescriptorSetLayoutCreateInfoC2ENS_5FlagsINS_33DescriptorSetLayoutCreateFlagBitsEEEjPKNS_26DescriptorSetLayoutBindingE(ptr noundef nonnull align 8 dereferenceable(32) %5, i32 %17, i32 noundef 0, ptr noundef null) #6
  %18 = call noundef i64 @_ZNKSt6vectorIN2vk26DescriptorSetLayoutBindingESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  %19 = trunc i64 %18 to i32
  %20 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vk29DescriptorSetLayoutCreateInfo15setBindingCountEj(ptr noundef nonnull align 8 dereferenceable(32) %5, i32 noundef %19) #6
  %21 = call noundef ptr @_ZNSt6vectorIN2vk26DescriptorSetLayoutBindingESaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  %22 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN2vk29DescriptorSetLayoutCreateInfo12setPBindingsEPKNS_26DescriptorSetLayoutBindingE(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef %21) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %22, i64 32, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #6
  %23 = load ptr, ptr %14, align 8, !tbaa !14
  %24 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN14DeviceInstance6deviceEv(ptr noundef nonnull align 8 dereferenceable(96) %23)
  call void @_ZN2vk8OptionalIKNS_19AllocationCallbacksEEC2EDn(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr null) #6
  %25 = call noundef nonnull align 8 dereferenceable(9) ptr @_ZN2vkL23getDispatchLoaderStaticEv()
  %26 = load ptr, ptr %8, align 8
  call void @_ZNK2vk6Device31createDescriptorSetLayoutUniqueINS_20DispatchLoaderStaticEEENS_15ResultValueTypeINS_12UniqueHandleINS_19DescriptorSetLayoutET_EEE4typeERKNS_29DescriptorSetLayoutCreateInfoENS_8OptionalIKNS_19AllocationCallbacksEEERKS6_(ptr dead_on_unwind nonnull writable sret(%"class.vk::UniqueHandle.45") align 8 %7, ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(32) %4, ptr %26, ptr noundef nonnull align 8 dereferenceable(9) %25)
  %27 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN2vk12UniqueHandleINS0_19DescriptorSetLayoutENS0_20DispatchLoaderStaticEEESaIS4_EE12emplace_backIJS4_EEERS4_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %28 unwind label %31

28:                                               ; preds = %15
  call void @_ZN2vk12UniqueHandleINS_19DescriptorSetLayoutENS_20DispatchLoaderStaticEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  %29 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt6vectorIN2vk26DescriptorSetLayoutBindingESaIS3_EES1_IS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #6
  %30 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt6vectorIN2vk26DescriptorSetLayoutBindingESaIS3_EES1_IS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  br i1 %30, label %15, label %._crit_edge

31:                                               ; preds = %15
  %32 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vk12UniqueHandleINS_19DescriptorSetLayoutENS_20DispatchLoaderStaticEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  resume { ptr, i32 } %32
}

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

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

; 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 @_ZN14DeviceInstance6deviceEv(ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #3 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 ptr @_ZNSt6vectorIS_IN2vk26DescriptorSetLayoutBindingESaIS1_EESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIS_IN2vk26DescriptorSetLayoutBindingESaIS1_EESaIS3_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_cxxneIPSt6vectorIN2vk26DescriptorSetLayoutBindingESaIS3_EES1_IS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(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(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt6vectorIN2vk26DescriptorSetLayoutBindingESaIS3_EES1_IS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN2vk26DescriptorSetLayoutBindingESaIS1_EE4sizeEv(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(32) ptr @_ZN2vk29DescriptorSetLayoutCreateInfo12setPBindingsEPKNS_26DescriptorSetLayoutBindingE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #3 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt6vectorIN2vk26DescriptorSetLayoutBindingESaIS3_EES1_IS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #6 = { 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}
!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}


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