; LLVM IR from Try/Tempest :: Engine/thirdparty/spirv_cross/spirv_cross_parsed_ir.ll (ZN11spirv_cross8ParsedIRaSERKS0_)

; 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.spirv_cross::ParsedIR" = type { %"class.std::unique_ptr", %"class.std::vector", %"class.spirv_cross::SmallVector", %"class.std::unordered_map", [14 x %"class.spirv_cross::SmallVector.7"], %"class.spirv_cross::SmallVector.7", %"class.spirv_cross::SmallVector.7", %"class.std::unordered_map.10", %"class.spirv_cross::SmallVector.24", %"class.spirv_cross::SmallVector.27", %"class.spirv_cross::SmallVector.30", %"class.std::unordered_map.33", %"class.std::unordered_map.52", %"class.spirv_cross::TypedID", %"struct.spirv_cross::ParsedIR::Source", i32, i32, i32, i32, %"class.std::__cxx11::basic_string", %"class.spirv_cross::Bitset", %"class.std::unordered_set" }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.spirv_cross::SmallVector" = type { %"class.spirv_cross::VectorView", i64, %"class.spirv_cross::AlignedBuffer" }
%"class.spirv_cross::VectorView" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer" = type { [192 x i8] }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.spirv_cross::SmallVector.7" = type { %"class.spirv_cross::VectorView.8", i64, %"class.spirv_cross::AlignedBuffer.9" }
%"class.spirv_cross::VectorView.8" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.9" = type { [32 x i8] }
%"class.std::unordered_map.10" = type { %"class.std::_Hashtable.11" }
%"class.std::_Hashtable.11" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.spirv_cross::SmallVector.24" = type { %"class.spirv_cross::VectorView.25", i64, %"class.spirv_cross::AlignedBuffer.26" }
%"class.spirv_cross::VectorView.25" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.26" = type { [32 x i8] }
%"class.spirv_cross::SmallVector.27" = type { %"class.spirv_cross::VectorView.28", i64, %"class.spirv_cross::AlignedBuffer.29" }
%"class.spirv_cross::VectorView.28" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.29" = type { [256 x i8] }
%"class.spirv_cross::SmallVector.30" = type { %"class.spirv_cross::VectorView.31", i64, %"class.spirv_cross::AlignedBuffer.32" }
%"class.spirv_cross::VectorView.31" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.32" = type { [8 x i8] }
%"class.std::unordered_map.33" = type { %"class.std::_Hashtable.34" }
%"class.std::_Hashtable.34" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_map.52" = type { %"class.std::_Hashtable.53" }
%"class.std::_Hashtable.53" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.spirv_cross::TypedID" = type { i32 }
%"struct.spirv_cross::ParsedIR::Source" = type <{ i32, i8, i8, i8, i8 }>
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.spirv_cross::Bitset" = type { i64, %"class.std::unordered_set" }
%"class.std::unordered_set" = type { %"class.std::_Hashtable.74" }
%"class.std::_Hashtable.74" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(1920) ptr @_ZN11spirv_cross8ParsedIRaSERKS0_(ptr noundef nonnull align 8 dereferenceable(1920) %0, ptr noundef nonnull align 8 dereferenceable(1920) %1) #2 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %8 = load ptr, ptr %3, align 8
  %9 = load ptr, ptr %4, align 8, !tbaa !5
  %10 = icmp ne ptr %8, %9
  br i1 %10, label %11, label %124

11:                                               ; preds = %2
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %12, i32 0, i32 1
  %14 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %8, i32 0, i32 1
  %15 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIjSaIjEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %13)
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %16, i32 0, i32 3
  %18 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %8, i32 0, i32 3
  %19 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIN11spirv_cross7TypedIDILNS0_5TypesE0EEENS0_4MetaESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S4_EEEaSERKSD_(ptr noundef nonnull align 8 dereferenceable(56) %18, ptr noundef nonnull align 8 dereferenceable(56) %17)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %20

20:                                               ; preds = %35, %11
  %21 = load i32, ptr %5, align 4, !tbaa !9
  %22 = icmp slt i32 %21, 14
  br i1 %22, label %24, label %23

23:                                               ; preds = %20
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %38

24:                                               ; preds = %20
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %25, i32 0, i32 4
  %27 = load i32, ptr %5, align 4, !tbaa !9
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [14 x %"class.spirv_cross::SmallVector.7"], ptr %26, i64 0, i64 %28
  %30 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %8, i32 0, i32 4
  %31 = load i32, ptr %5, align 4, !tbaa !9
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [14 x %"class.spirv_cross::SmallVector.7"], ptr %30, i64 0, i64 %32
  %34 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE0EEELm8EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(56) %33, ptr noundef nonnull align 8 dereferenceable(56) %29) #4
  br label %35

35:                                               ; preds = %24
  %36 = load i32, ptr %5, align 4, !tbaa !9
  %37 = add nsw i32 %36, 1
  store i32 %37, ptr %5, align 4, !tbaa !9
  br label %20, !llvm.loop !11

38:                                               ; preds = %23
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %39, i32 0, i32 5
  %41 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %8, i32 0, i32 5
  %42 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE0EEELm8EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(56) %41, ptr noundef nonnull align 8 dereferenceable(56) %40) #4
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %43, i32 0, i32 6
  %45 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %8, i32 0, i32 6
  %46 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE0EEELm8EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(56) %45, ptr noundef nonnull align 8 dereferenceable(56) %44) #4
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %47, i32 0, i32 8
  %49 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %8, i32 0, i32 8
  %50 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN11spirv_cross11SmallVectorIN3spv10CapabilityELm8EEaSERKS3_(ptr noundef nonnull align 8 dereferenceable(56) %49, ptr noundef nonnull align 8 dereferenceable(56) %48) #4
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %51, i32 0, i32 9
  %53 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %8, i32 0, i32 9
  %54 = call noundef nonnull align 8 dereferenceable(280) ptr @_ZN11spirv_cross11SmallVectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELm8EEaSERKS7_(ptr noundef nonnull align 8 dereferenceable(280) %53, ptr noundef nonnull align 8 dereferenceable(280) %52) #4
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %55, i32 0, i32 10
  %57 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %8, i32 0, i32 10
  %58 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN11spirv_cross11SmallVectorIhLm8EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %57, ptr noundef nonnull align 8 dereferenceable(32) %56) #4
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %59, i32 0, i32 11
  %61 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %8, i32 0, i32 11
  %62 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIN11spirv_cross7TypedIDILNS0_5TypesE6EEES3_St4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S3_EEEaSERKSC_(ptr noundef nonnull align 8 dereferenceable(56) %61, ptr noundef nonnull align 8 dereferenceable(56) %60)
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %63, i32 0, i32 12
  %65 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %8, i32 0, i32 12
  %66 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIN11spirv_cross7TypedIDILNS0_5TypesE4EEENS0_14SPIREntryPointESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S4_EEEaSERKSD_(ptr noundef nonnull align 8 dereferenceable(56) %65, ptr noundef nonnull align 8 dereferenceable(56) %64)
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  %68 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %67, i32 0, i32 13
  %69 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %8, i32 0, i32 13
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %69, ptr align 8 %68, i64 4, i1 false), !tbaa.struct !13
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %70, i32 0, i32 14
  %72 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %8, i32 0, i32 14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %72, ptr align 4 %71, i64 7, i1 false), !tbaa.struct !14
  %73 = load ptr, ptr %4, align 8, !tbaa !5
  %74 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %73, i32 0, i32 17
  %75 = load i32, ptr %74, align 4, !tbaa !17
  %76 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %8, i32 0, i32 17
  store i32 %75, ptr %76, align 4, !tbaa !17
  %77 = load ptr, ptr %4, align 8, !tbaa !5
  %78 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %77, i32 0, i32 18
  %79 = load i32, ptr %78, align 8, !tbaa !65
  %80 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %8, i32 0, i32 18
  store i32 %79, ptr %80, align 8, !tbaa !65
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %81, i32 0, i32 15
  %83 = load i32, ptr %82, align 4, !tbaa !66
  %84 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %8, i32 0, i32 15
  store i32 %83, ptr %84, align 4, !tbaa !66
  %85 = load ptr, ptr %4, align 8, !tbaa !5
  %86 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %85, i32 0, i32 16
  %87 = load i32, ptr %86, align 8, !tbaa !67
  %88 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %8, i32 0, i32 16
  store i32 %87, ptr %88, align 8, !tbaa !67
  %89 = load ptr, ptr %4, align 8, !tbaa !5
  %90 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %89, i32 0, i32 21
  %91 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %8, i32 0, i32 21
  %92 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEEaSERKS5_(ptr noundef nonnull align 8 dereferenceable(56) %91, ptr noundef nonnull align 8 dereferenceable(56) %90)
  %93 = load ptr, ptr %4, align 8, !tbaa !5
  %94 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %93, i32 0, i32 7
  %95 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %8, i32 0, i32 7
  %96 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIN11spirv_cross7TypedIDILNS0_5TypesE0EEEjSt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_jEEEaSERKSC_(ptr noundef nonnull align 8 dereferenceable(56) %95, ptr noundef nonnull align 8 dereferenceable(56) %94)
  %97 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %8, i32 0, i32 2
  call void @_ZN11spirv_cross11SmallVectorINS_7VariantELm8EE5clearEv(ptr noundef nonnull align 8 dereferenceable(216) %97) #4
  %98 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %8, i32 0, i32 2
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %100 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %99, i32 0, i32 2
  %101 = call noundef i64 @_ZNK11spirv_cross10VectorViewINS_7VariantEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %100) #4
  call void @_ZN11spirv_cross11SmallVectorINS_7VariantELm8EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(216) %98, i64 noundef %101) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store i64 0, ptr %6, align 8, !tbaa !68
  br label %102

102:                                              ; preds = %120, %38
  %103 = load i64, ptr %6, align 8, !tbaa !68
  %104 = load ptr, ptr %4, align 8, !tbaa !5
  %105 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %104, i32 0, i32 2
  %106 = call noundef i64 @_ZNK11spirv_cross10VectorViewINS_7VariantEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %105) #4
  %107 = icmp ult i64 %103, %106
  br i1 %107, label %109, label %108

108:                                              ; preds = %102
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br label %123

109:                                              ; preds = %102
  %110 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %8, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %111 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %8, i32 0, i32 0
  %112 = call noundef ptr @_ZNKSt10unique_ptrIN11spirv_cross15ObjectPoolGroupESt14default_deleteIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %111) #4
  store ptr %112, ptr %7, align 8, !tbaa !5
  call void @_ZN11spirv_cross11SmallVectorINS_7VariantELm8EE12emplace_backIJPNS_15ObjectPoolGroupEEEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(216) %110, ptr noundef nonnull align 8 dereferenceable(8) %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  %113 = load ptr, ptr %4, align 8, !tbaa !5
  %114 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %113, i32 0, i32 2
  %115 = load i64, ptr %6, align 8, !tbaa !68
  %116 = call noundef nonnull align 8 dereferenceable(21) ptr @_ZNK11spirv_cross10VectorViewINS_7VariantEEixEm(ptr noundef nonnull align 8 dereferenceable(16) %114, i64 noundef %115) #4
  %117 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %8, i32 0, i32 2
  %118 = call noundef nonnull align 8 dereferenceable(21) ptr @_ZN11spirv_cross10VectorViewINS_7VariantEE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %117) #4
  %119 = call noundef nonnull align 8 dereferenceable(21) ptr @_ZN11spirv_cross7VariantaSERKS0_(ptr noundef nonnull align 8 dereferenceable(21) %118, ptr noundef nonnull align 8 dereferenceable(21) %116)
  br label %120

120:                                              ; preds = %109
  %121 = load i64, ptr %6, align 8, !tbaa !68
  %122 = add i64 %121, 1
  store i64 %122, ptr %6, align 8, !tbaa !68
  br label %102, !llvm.loop !69

123:                                              ; preds = %108
  br label %124

124:                                              ; preds = %123, %2
  ret ptr %8
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(21) ptr @_ZNK11spirv_cross10VectorViewINS_7VariantEEixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #3 align 2

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { 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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{i64 0, i64 4, !9}
!14 = !{i64 0, i64 4, !9, i64 4, i64 1, !15, i64 5, i64 1, !15, i64 6, i64 1, !15}
!15 = !{!16, !16, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{!18, !10, i64 1756}
!18 = !{!"_ZTSN11spirv_cross8ParsedIRE", !19, i64 0, !25, i64 8, !29, i64 32, !33, i64 248, !7, i64 304, !38, i64 1088, !38, i64 1144, !41, i64 1200, !43, i64 1256, !46, i64 1312, !49, i64 1592, !52, i64 1624, !54, i64 1680, !56, i64 1736, !57, i64 1740, !58, i64 1748, !59, i64 1752, !10, i64 1756, !10, i64 1760, !60, i64 1768, !62, i64 1800, !63, i64 1864}
!19 = !{!"_ZTSSt10unique_ptrIN11spirv_cross15ObjectPoolGroupESt14default_deleteIS1_EE", !20, i64 0}
!20 = !{!"_ZTSSt15__uniq_ptr_dataIN11spirv_cross15ObjectPoolGroupESt14default_deleteIS1_ELb1ELb1EE", !21, i64 0}
!21 = !{!"_ZTSSt15__uniq_ptr_implIN11spirv_cross15ObjectPoolGroupESt14default_deleteIS1_EE", !22, i64 0}
!22 = !{!"_ZTSSt5tupleIJPN11spirv_cross15ObjectPoolGroupESt14default_deleteIS1_EEE", !23, i64 0}
!23 = !{!"_ZTSSt11_Tuple_implILm0EJPN11spirv_cross15ObjectPoolGroupESt14default_deleteIS1_EEE", !24, i64 0}
!24 = !{!"_ZTSSt10_Head_baseILm0EPN11spirv_cross15ObjectPoolGroupELb0EE", !6, i64 0}
!25 = !{!"_ZTSSt6vectorIjSaIjEE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!"_ZTSN11spirv_cross11SmallVectorINS_7VariantELm8EEE", !30, i64 0, !31, i64 16, !32, i64 24}
!30 = !{!"_ZTSN11spirv_cross10VectorViewINS_7VariantEEE", !6, i64 0, !31, i64 8}
!31 = !{!"long", !7, i64 0}
!32 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_7VariantELm8EEE", !7, i64 0}
!33 = !{!"_ZTSSt13unordered_mapIN11spirv_cross7TypedIDILNS0_5TypesE0EEENS0_4MetaESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S4_EEE", !34, i64 0}
!34 = !{!"_ZTSSt10_HashtableIN11spirv_cross7TypedIDILNS0_5TypesE0EEESt4pairIKS3_NS0_4MetaEESaIS7_ENSt8__detail10_Select1stESt8equal_toIS3_ESt4hashIS3_ENS9_18_Mod_range_hashingENS9_20_Default_ranged_hashENS9_20_Prime_rehash_policyENS9_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !31, i64 8, !35, i64 16, !31, i64 24, !36, i64 32, !6, i64 48}
!35 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!36 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !37, i64 0, !31, i64 8}
!37 = !{!"float", !7, i64 0}
!38 = !{!"_ZTSN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE0EEELm8EEE", !39, i64 0, !31, i64 16, !40, i64 24}
!39 = !{!"_ZTSN11spirv_cross10VectorViewINS_7TypedIDILNS_5TypesE0EEEEE", !6, i64 0, !31, i64 8}
!40 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_7TypedIDILNS_5TypesE0EEELm8EEE", !7, i64 0}
!41 = !{!"_ZTSSt13unordered_mapIN11spirv_cross7TypedIDILNS0_5TypesE0EEEjSt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_jEEE", !42, i64 0}
!42 = !{!"_ZTSSt10_HashtableIN11spirv_cross7TypedIDILNS0_5TypesE0EEESt4pairIKS3_jESaIS6_ENSt8__detail10_Select1stESt8equal_toIS3_ESt4hashIS3_ENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !31, i64 8, !35, i64 16, !31, i64 24, !36, i64 32, !6, i64 48}
!43 = !{!"_ZTSN11spirv_cross11SmallVectorIN3spv10CapabilityELm8EEE", !44, i64 0, !31, i64 16, !45, i64 24}
!44 = !{!"_ZTSN11spirv_cross10VectorViewIN3spv10CapabilityEEE", !6, i64 0, !31, i64 8}
!45 = !{!"_ZTSN11spirv_cross13AlignedBufferIN3spv10CapabilityELm8EEE", !7, i64 0}
!46 = !{!"_ZTSN11spirv_cross11SmallVectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELm8EEE", !47, i64 0, !31, i64 16, !48, i64 24}
!47 = !{!"_ZTSN11spirv_cross10VectorViewINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !6, i64 0, !31, i64 8}
!48 = !{!"_ZTSN11spirv_cross13AlignedBufferINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELm8EEE", !7, i64 0}
!49 = !{!"_ZTSN11spirv_cross11SmallVectorIhLm8EEE", !50, i64 0, !31, i64 16, !51, i64 24}
!50 = !{!"_ZTSN11spirv_cross10VectorViewIhEE", !6, i64 0, !31, i64 8}
!51 = !{!"_ZTSN11spirv_cross13AlignedBufferIhLm8EEE", !7, i64 0}
!52 = !{!"_ZTSSt13unordered_mapIN11spirv_cross7TypedIDILNS0_5TypesE6EEES3_St4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S3_EEE", !53, i64 0}
!53 = !{!"_ZTSSt10_HashtableIN11spirv_cross7TypedIDILNS0_5TypesE6EEESt4pairIKS3_S3_ESaIS6_ENSt8__detail10_Select1stESt8equal_toIS3_ESt4hashIS3_ENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !31, i64 8, !35, i64 16, !31, i64 24, !36, i64 32, !6, i64 48}
!54 = !{!"_ZTSSt13unordered_mapIN11spirv_cross7TypedIDILNS0_5TypesE4EEENS0_14SPIREntryPointESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S4_EEE", !55, i64 0}
!55 = !{!"_ZTSSt10_HashtableIN11spirv_cross7TypedIDILNS0_5TypesE4EEESt4pairIKS3_NS0_14SPIREntryPointEESaIS7_ENSt8__detail10_Select1stESt8equal_toIS3_ESt4hashIS3_ENS9_18_Mod_range_hashingENS9_20_Default_ranged_hashENS9_20_Prime_rehash_policyENS9_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !31, i64 8, !35, i64 16, !31, i64 24, !36, i64 32, !6, i64 48}
!56 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE4EEE", !10, i64 0}
!57 = !{!"_ZTSN11spirv_cross8ParsedIR6SourceE", !10, i64 0, !16, i64 4, !16, i64 5, !16, i64 6}
!58 = !{!"_ZTSN3spv15AddressingModelE", !7, i64 0}
!59 = !{!"_ZTSN3spv11MemoryModelE", !7, i64 0}
!60 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !61, i64 0, !31, i64 8, !7, i64 16}
!61 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!62 = !{!"_ZTSN11spirv_cross6BitsetE", !31, i64 0, !63, i64 8}
!63 = !{!"_ZTSSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEE", !64, i64 0}
!64 = !{!"_ZTSSt10_HashtableIjjSaIjENSt8__detail9_IdentityESt8equal_toIjESt4hashIjENS1_18_Mod_range_hashingENS1_20_Default_ranged_hashENS1_20_Prime_rehash_policyENS1_17_Hashtable_traitsILb0ELb1ELb1EEEE", !6, i64 0, !31, i64 8, !35, i64 16, !31, i64 24, !36, i64 32, !6, i64 48}
!65 = !{!18, !10, i64 1760}
!66 = !{!18, !58, i64 1748}
!67 = !{!18, !59, i64 1752}
!68 = !{!31, !31, i64 0}
!69 = distinct !{!69, !12}


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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(1920) ptr @_ZN11spirv_cross8ParsedIRaSERKS0_(ptr noundef nonnull returned align 8 dereferenceable(1920) %0, ptr noundef nonnull align 8 dereferenceable(1920) %1) local_unnamed_addr #2 align 2 {
  %3 = alloca ptr, align 8
  %.not = icmp eq ptr %0, %1
  br i1 %.not, label %.loopexit, label %4

4:                                                ; preds = %2
  %5 = getelementptr inbounds i8, ptr %1, i64 8
  %6 = getelementptr inbounds i8, ptr %0, i64 8
  %7 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIjSaIjEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %5)
  %8 = getelementptr inbounds i8, ptr %1, i64 248
  %9 = getelementptr inbounds i8, ptr %0, i64 248
  %10 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIN11spirv_cross7TypedIDILNS0_5TypesE0EEENS0_4MetaESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S4_EEEaSERKSD_(ptr noundef nonnull align 8 dereferenceable(56) %9, ptr noundef nonnull align 8 dereferenceable(56) %8)
  %11 = getelementptr inbounds i8, ptr %1, i64 304
  %12 = getelementptr inbounds i8, ptr %0, i64 304
  %13 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE0EEELm8EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(56) %12, ptr noundef nonnull align 8 dereferenceable(56) %11) #4
  %14 = getelementptr inbounds i8, ptr %1, i64 360
  %15 = getelementptr inbounds i8, ptr %0, i64 360
  %16 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE0EEELm8EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(56) %15, ptr noundef nonnull align 8 dereferenceable(56) %14) #4
  %17 = getelementptr inbounds i8, ptr %1, i64 416
  %18 = getelementptr inbounds i8, ptr %0, i64 416
  %19 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE0EEELm8EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(56) %18, ptr noundef nonnull align 8 dereferenceable(56) %17) #4
  %20 = getelementptr inbounds i8, ptr %1, i64 472
  %21 = getelementptr inbounds i8, ptr %0, i64 472
  %22 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE0EEELm8EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(56) %21, ptr noundef nonnull align 8 dereferenceable(56) %20) #4
  %23 = getelementptr inbounds i8, ptr %1, i64 528
  %24 = getelementptr inbounds i8, ptr %0, i64 528
  %25 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE0EEELm8EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(56) %24, ptr noundef nonnull align 8 dereferenceable(56) %23) #4
  %26 = getelementptr inbounds i8, ptr %1, i64 584
  %27 = getelementptr inbounds i8, ptr %0, i64 584
  %28 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE0EEELm8EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(56) %27, ptr noundef nonnull align 8 dereferenceable(56) %26) #4
  %29 = getelementptr inbounds i8, ptr %1, i64 640
  %30 = getelementptr inbounds i8, ptr %0, i64 640
  %31 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE0EEELm8EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(56) %30, ptr noundef nonnull align 8 dereferenceable(56) %29) #4
  %32 = getelementptr inbounds i8, ptr %1, i64 696
  %33 = getelementptr inbounds i8, ptr %0, i64 696
  %34 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE0EEELm8EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(56) %33, ptr noundef nonnull align 8 dereferenceable(56) %32) #4
  %35 = getelementptr inbounds i8, ptr %1, i64 752
  %36 = getelementptr inbounds i8, ptr %0, i64 752
  %37 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE0EEELm8EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(56) %36, ptr noundef nonnull align 8 dereferenceable(56) %35) #4
  %38 = getelementptr inbounds i8, ptr %1, i64 808
  %39 = getelementptr inbounds i8, ptr %0, i64 808
  %40 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE0EEELm8EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(56) %39, ptr noundef nonnull align 8 dereferenceable(56) %38) #4
  %41 = getelementptr inbounds i8, ptr %1, i64 864
  %42 = getelementptr inbounds i8, ptr %0, i64 864
  %43 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE0EEELm8EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(56) %42, ptr noundef nonnull align 8 dereferenceable(56) %41) #4
  %44 = getelementptr inbounds i8, ptr %1, i64 920
  %45 = getelementptr inbounds i8, ptr %0, i64 920
  %46 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE0EEELm8EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(56) %45, ptr noundef nonnull align 8 dereferenceable(56) %44) #4
  %47 = getelementptr inbounds i8, ptr %1, i64 976
  %48 = getelementptr inbounds i8, ptr %0, i64 976
  %49 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE0EEELm8EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(56) %48, ptr noundef nonnull align 8 dereferenceable(56) %47) #4
  %50 = getelementptr inbounds i8, ptr %1, i64 1032
  %51 = getelementptr inbounds i8, ptr %0, i64 1032
  %52 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE0EEELm8EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(56) %51, ptr noundef nonnull align 8 dereferenceable(56) %50) #4
  %53 = getelementptr inbounds i8, ptr %1, i64 1088
  %54 = getelementptr inbounds i8, ptr %0, i64 1088
  %55 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE0EEELm8EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(56) %54, ptr noundef nonnull align 8 dereferenceable(56) %53) #4
  %56 = getelementptr inbounds i8, ptr %1, i64 1144
  %57 = getelementptr inbounds i8, ptr %0, i64 1144
  %58 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE0EEELm8EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(56) %57, ptr noundef nonnull align 8 dereferenceable(56) %56) #4
  %59 = getelementptr inbounds i8, ptr %1, i64 1256
  %60 = getelementptr inbounds i8, ptr %0, i64 1256
  %61 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZN11spirv_cross11SmallVectorIN3spv10CapabilityELm8EEaSERKS3_(ptr noundef nonnull align 8 dereferenceable(56) %60, ptr noundef nonnull align 8 dereferenceable(56) %59) #4
  %62 = getelementptr inbounds i8, ptr %1, i64 1312
  %63 = getelementptr inbounds i8, ptr %0, i64 1312
  %64 = tail call noundef nonnull align 8 dereferenceable(280) ptr @_ZN11spirv_cross11SmallVectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELm8EEaSERKS7_(ptr noundef nonnull align 8 dereferenceable(280) %63, ptr noundef nonnull align 8 dereferenceable(280) %62) #4
  %65 = getelementptr inbounds i8, ptr %1, i64 1592
  %66 = getelementptr inbounds i8, ptr %0, i64 1592
  %67 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZN11spirv_cross11SmallVectorIhLm8EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %66, ptr noundef nonnull align 8 dereferenceable(32) %65) #4
  %68 = getelementptr inbounds i8, ptr %1, i64 1624
  %69 = getelementptr inbounds i8, ptr %0, i64 1624
  %70 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIN11spirv_cross7TypedIDILNS0_5TypesE6EEES3_St4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S3_EEEaSERKSC_(ptr noundef nonnull align 8 dereferenceable(56) %69, ptr noundef nonnull align 8 dereferenceable(56) %68)
  %71 = getelementptr inbounds i8, ptr %1, i64 1680
  %72 = getelementptr inbounds i8, ptr %0, i64 1680
  %73 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIN11spirv_cross7TypedIDILNS0_5TypesE4EEENS0_14SPIREntryPointESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S4_EEEaSERKSD_(ptr noundef nonnull align 8 dereferenceable(56) %72, ptr noundef nonnull align 8 dereferenceable(56) %71)
  %74 = getelementptr inbounds i8, ptr %1, i64 1736
  %75 = getelementptr inbounds i8, ptr %0, i64 1736
  %76 = load i32, ptr %74, align 8, !tbaa !5
  store i32 %76, ptr %75, align 8, !tbaa !5
  %77 = getelementptr inbounds i8, ptr %1, i64 1740
  %78 = getelementptr inbounds i8, ptr %0, i64 1740
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(7) %78, ptr noundef nonnull align 4 dereferenceable(7) %77, i64 7, i1 false), !tbaa.struct !9
  %79 = getelementptr inbounds i8, ptr %1, i64 1748
  %80 = getelementptr inbounds i8, ptr %0, i64 1748
  %81 = load <4 x i32>, ptr %79, align 4, !tbaa !12
  store <4 x i32> %81, ptr %80, align 4, !tbaa !12
  %82 = getelementptr inbounds i8, ptr %1, i64 1864
  %83 = getelementptr inbounds i8, ptr %0, i64 1864
  %84 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEEaSERKS5_(ptr noundef nonnull align 8 dereferenceable(56) %83, ptr noundef nonnull align 8 dereferenceable(56) %82)
  %85 = getelementptr inbounds i8, ptr %1, i64 1200
  %86 = getelementptr inbounds i8, ptr %0, i64 1200
  %87 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIN11spirv_cross7TypedIDILNS0_5TypesE0EEEjSt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_jEEEaSERKSC_(ptr noundef nonnull align 8 dereferenceable(56) %86, ptr noundef nonnull align 8 dereferenceable(56) %85)
  %88 = getelementptr inbounds i8, ptr %0, i64 32
  tail call void @_ZN11spirv_cross11SmallVectorINS_7VariantELm8EE5clearEv(ptr noundef nonnull align 8 dereferenceable(216) %88) #4
  %89 = getelementptr inbounds i8, ptr %1, i64 32
  %90 = tail call noundef i64 @_ZNK11spirv_cross10VectorViewINS_7VariantEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %89) #4
  tail call void @_ZN11spirv_cross11SmallVectorINS_7VariantELm8EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(216) %88, i64 noundef %90) #4
  %91 = tail call noundef i64 @_ZNK11spirv_cross10VectorViewINS_7VariantEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %89) #4
  %.not34 = icmp eq i64 %91, 0
  br i1 %.not34, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %4, %.lr.ph
  %.033 = phi i64 [ %96, %.lr.ph ], [ 0, %4 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  %92 = call noundef ptr @_ZNKSt10unique_ptrIN11spirv_cross15ObjectPoolGroupESt14default_deleteIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %0) #4
  store ptr %92, ptr %3, align 8, !tbaa !13
  call void @_ZN11spirv_cross11SmallVectorINS_7VariantELm8EE12emplace_backIJPNS_15ObjectPoolGroupEEEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(216) %88, ptr noundef nonnull align 8 dereferenceable(8) %3) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  %93 = call noundef nonnull align 8 dereferenceable(21) ptr @_ZNK11spirv_cross10VectorViewINS_7VariantEEixEm(ptr noundef nonnull align 8 dereferenceable(16) %89, i64 noundef %.033) #4
  %94 = call noundef nonnull align 8 dereferenceable(21) ptr @_ZN11spirv_cross10VectorViewINS_7VariantEE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %88) #4
  %95 = call noundef nonnull align 8 dereferenceable(21) ptr @_ZN11spirv_cross7VariantaSERKS0_(ptr noundef nonnull align 8 dereferenceable(21) %94, ptr noundef nonnull align 8 dereferenceable(21) %93)
  %96 = add nuw i64 %.033, 1
  %97 = call noundef i64 @_ZNK11spirv_cross10VectorViewINS_7VariantEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %89) #4
  %98 = icmp ult i64 %96, %97
  br i1 %98, label %.lr.ph, label %.loopexit, !llvm.loop !15

.loopexit:                                        ; preds = %.lr.ph, %4, %2
  ret ptr %0
}

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11spirv_cross11SmallVectorINS_7VariantELm8EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(216), i64 noundef) local_unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(21) ptr @_ZNK11spirv_cross10VectorViewINS_7VariantEEixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) local_unnamed_addr #3 align 2

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i64 0, i64 4, !5, i64 4, i64 1, !10, i64 5, i64 1, !10, i64 6, i64 1, !10}
!10 = !{!11, !11, i64 0}
!11 = !{!"bool", !7, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}


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