; LLVM IR from hbatagelo/abcg :: abcg/external/glslang/glslang/MachineIndependent (iomapper)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.glslang::TDefaultIoResolver" = type { %"struct.glslang::TDefaultIoResolverBase" }
%"struct.glslang::TDefaultIoResolverBase" = type { %"class.glslang::TIoMapResolver", %"class.std::unordered_map", i8, ptr, i32, i32, i32, [15 x i8], [14 x ptr] }
%"class.glslang::TIoMapResolver" = type { ptr }
%"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.std::map.120" = type { %"class.std::_Rb_tree.121" }
%"class.std::_Rb_tree.121" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TVarEntryInfo>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TVarEntryInfo>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TVarEntryInfo>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TVarEntryInfo>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>>>::_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::vector.125" = type { %"struct.std::_Vector_base.126" }
%"struct.std::_Vector_base.126" = type { %"struct.std::_Vector_base<glslang::TVarLivePair, std::allocator<glslang::TVarLivePair>>::_Vector_impl" }
%"struct.std::_Vector_base<glslang::TVarLivePair, std::allocator<glslang::TVarLivePair>>::_Vector_impl" = type { %"struct.std::_Vector_base<glslang::TVarLivePair, std::allocator<glslang::TVarLivePair>>::_Vector_impl_data" }
%"struct.std::_Vector_base<glslang::TVarLivePair, std::allocator<glslang::TVarLivePair>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.glslang::TVarGatherTraverser" = type { %"class.glslang::TLiveTraverser.base", ptr, ptr, ptr }
%"class.glslang::TLiveTraverser.base" = type <{ %"class.glslang::TIntermTraverser", %"class.std::__cxx11::list.134", ptr, %"class.std::unordered_set.139", %"class.std::unordered_set.139", i8 }>
%"class.glslang::TIntermTraverser" = type { ptr, i8, i8, i8, i8, i32, i32, %"class.glslang::TVector.130" }
%"class.glslang::TVector.130" = type { %"class.std::vector.131" }
%"class.std::vector.131" = type { %"struct.std::_Vector_base.132" }
%"struct.std::_Vector_base.132" = type { %"struct.std::_Vector_base<TIntermNode *, glslang::pool_allocator<TIntermNode *>>::_Vector_impl" }
%"struct.std::_Vector_base<TIntermNode *, glslang::pool_allocator<TIntermNode *>>::_Vector_impl" = type { %"class.glslang::pool_allocator.133", %"struct.std::_Vector_base<TIntermNode *, glslang::pool_allocator<TIntermNode *>>::_Vector_impl_data" }
%"class.glslang::pool_allocator.133" = type { ptr }
%"struct.std::_Vector_base<TIntermNode *, glslang::pool_allocator<TIntermNode *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::list.134" = type { %"class.std::__cxx11::_List_base.135" }
%"class.std::__cxx11::_List_base.135" = type { %"struct.std::__cxx11::_List_base<glslang::TIntermAggregate *, std::allocator<glslang::TIntermAggregate *>>::_List_impl" }
%"struct.std::__cxx11::_List_base<glslang::TIntermAggregate *, std::allocator<glslang::TIntermAggregate *>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.std::unordered_set.139" = type { %"class.std::_Hashtable.140" }
%"class.std::_Hashtable.140" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::__cxx11::basic_string.105" = type { %"struct.std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>::_Alloc_hider", i64, %union.anon.106 }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>::_Alloc_hider" = type { %"class.glslang::pool_allocator", ptr }
%"class.glslang::pool_allocator" = type { ptr }
%union.anon.106 = type { i64, [8 x i8] }
%"struct.std::_Rb_tree_iterator.162" = type { ptr }
%"struct.glslang::TVarLivePair" = type { %"struct.std::pair.163" }
%"struct.std::pair.163" = type { %"class.std::__cxx11::basic_string.105", %"struct.glslang::TVarEntryInfo" }
%"struct.glslang::TVarEntryInfo" = type { i64, ptr, i8, i32, i32, i32, i32, i32, i32 }
%"class.__gnu_cxx::__normal_iterator.165" = type { ptr }
%class.anon = type { i8 }
%class.anon.166 = type { i8 }
%class.anon.168 = type { i8 }
%"struct.glslang::TNotifyInOutAdaptor" = type { i32, ptr }
%"struct.glslang::TNotifyUniformAdaptor" = type { i32, ptr }
%"struct.glslang::TResolverUniformAdaptor" = type { i32, ptr, ptr, ptr, [14 x ptr] }
%"struct.glslang::TResolverInOutAdaptor" = type { i32, ptr, ptr, ptr }
%class.anon.170 = type { ptr }
%class.anon.171 = type { ptr }
%class.anon.172 = type { ptr }
%"class.glslang::TVarSetTraverser" = type { %"class.glslang::TLiveTraverser.base", ptr, ptr, ptr }
%"class.glslang::TLiveTraverser" = type <{ %"class.glslang::TIntermTraverser", %"class.std::__cxx11::list.134", ptr, %"class.std::unordered_set.139", %"class.std::unordered_set.139", i8, [7 x i8] }>

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7glslang9TIoMapper8addStageE11EShLanguageRNS_13TIntermediateER9TInfoSinkPNS_14TIoMapResolverE(ptr noundef nonnull align 8 dereferenceable(8) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(1784) %2, ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef %4) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca i1, align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i8, align 1
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca %"struct.glslang::TDefaultIoResolver", align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca %"class.std::map.120", align 8
  %20 = alloca %"class.std::map.120", align 8
  %21 = alloca %"class.std::map.120", align 8
  %22 = alloca %"class.std::vector.125", align 8
  %23 = alloca %"class.std::vector.125", align 8
  %24 = alloca %"class.std::vector.125", align 8
  %25 = alloca %"class.glslang::TVarGatherTraverser", align 8
  %26 = alloca %"class.glslang::TVarGatherTraverser", align 8
  %27 = alloca %"class.std::__cxx11::basic_string.105", align 8
  %28 = alloca %"class.glslang::pool_allocator", align 8
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca %"struct.std::_Rb_tree_iterator.162", align 8
  %32 = alloca %"struct.std::_Rb_tree_iterator.162", align 8
  %33 = alloca ptr, align 8
  %34 = alloca %"struct.glslang::TVarLivePair", align 8
  %35 = alloca %"class.__gnu_cxx::__normal_iterator.165", align 8
  %36 = alloca %"class.__gnu_cxx::__normal_iterator.165", align 8
  %37 = alloca %class.anon, align 1
  %38 = alloca ptr, align 8
  %39 = alloca %"struct.std::_Rb_tree_iterator.162", align 8
  %40 = alloca %"struct.std::_Rb_tree_iterator.162", align 8
  %41 = alloca ptr, align 8
  %42 = alloca %"struct.glslang::TVarLivePair", align 8
  %43 = alloca %"class.__gnu_cxx::__normal_iterator.165", align 8
  %44 = alloca %"class.__gnu_cxx::__normal_iterator.165", align 8
  %45 = alloca %class.anon.166, align 1
  %46 = alloca ptr, align 8
  %47 = alloca %"struct.std::_Rb_tree_iterator.162", align 8
  %48 = alloca %"struct.std::_Rb_tree_iterator.162", align 8
  %49 = alloca ptr, align 8
  %50 = alloca %"struct.glslang::TVarLivePair", align 8
  %51 = alloca %"class.__gnu_cxx::__normal_iterator.165", align 8
  %52 = alloca %"class.__gnu_cxx::__normal_iterator.165", align 8
  %53 = alloca %class.anon.168, align 1
  %54 = alloca i8, align 1
  %55 = alloca [14 x ptr], align 16
  %56 = alloca %"struct.glslang::TNotifyInOutAdaptor", align 8
  %57 = alloca %"struct.glslang::TNotifyUniformAdaptor", align 8
  %58 = alloca %"struct.glslang::TResolverUniformAdaptor", align 8
  %59 = alloca %"struct.glslang::TResolverInOutAdaptor", align 8
  %60 = alloca %"class.__gnu_cxx::__normal_iterator.165", align 8
  %61 = alloca %"class.__gnu_cxx::__normal_iterator.165", align 8
  %62 = alloca %"struct.glslang::TNotifyInOutAdaptor", align 8
  %63 = alloca %"struct.glslang::TNotifyInOutAdaptor", align 8
  %64 = alloca %"class.__gnu_cxx::__normal_iterator.165", align 8
  %65 = alloca %"class.__gnu_cxx::__normal_iterator.165", align 8
  %66 = alloca %"struct.glslang::TNotifyInOutAdaptor", align 8
  %67 = alloca %"struct.glslang::TNotifyInOutAdaptor", align 8
  %68 = alloca %"class.__gnu_cxx::__normal_iterator.165", align 8
  %69 = alloca %"class.__gnu_cxx::__normal_iterator.165", align 8
  %70 = alloca %"struct.glslang::TNotifyUniformAdaptor", align 8
  %71 = alloca %"struct.glslang::TNotifyUniformAdaptor", align 8
  %72 = alloca ptr, align 8
  %73 = alloca %"class.__gnu_cxx::__normal_iterator.165", align 8
  %74 = alloca %"class.__gnu_cxx::__normal_iterator.165", align 8
  %75 = alloca ptr, align 8
  %76 = alloca %"class.__gnu_cxx::__normal_iterator.165", align 8
  %77 = alloca %"class.__gnu_cxx::__normal_iterator.165", align 8
  %78 = alloca %class.anon.170, align 8
  %79 = alloca %class.anon.170, align 8
  %80 = alloca ptr, align 8
  %81 = alloca %"class.__gnu_cxx::__normal_iterator.165", align 8
  %82 = alloca %"class.__gnu_cxx::__normal_iterator.165", align 8
  %83 = alloca ptr, align 8
  %84 = alloca %"class.__gnu_cxx::__normal_iterator.165", align 8
  %85 = alloca %"class.__gnu_cxx::__normal_iterator.165", align 8
  %86 = alloca %class.anon.171, align 8
  %87 = alloca %class.anon.171, align 8
  %88 = alloca %"class.__gnu_cxx::__normal_iterator.165", align 8
  %89 = alloca %"class.__gnu_cxx::__normal_iterator.165", align 8
  %90 = alloca %"struct.glslang::TResolverUniformAdaptor", align 8
  %91 = alloca %"struct.glslang::TResolverUniformAdaptor", align 8
  %92 = alloca %"class.__gnu_cxx::__normal_iterator.165", align 8
  %93 = alloca %"class.__gnu_cxx::__normal_iterator.165", align 8
  %94 = alloca %class.anon.172, align 8
  %95 = alloca %class.anon.172, align 8
  %96 = alloca %"class.glslang::TVarSetTraverser", align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i32 %1, ptr %8, align 4, !tbaa !9
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  %97 = load ptr, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #7
  %98 = load ptr, ptr %9, align 8, !tbaa !5
  %99 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7glslang13TIntermediate21getResourceSetBindingB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(1784) %98)
  %100 = call noundef zeroext i1 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %99) #7
  br i1 %100, label %101, label %107

101:                                              ; preds = %5
  %102 = load ptr, ptr %9, align 8, !tbaa !5
  %103 = call noundef zeroext i1 @_ZNK7glslang13TIntermediate18getAutoMapBindingsEv(ptr noundef nonnull align 8 dereferenceable(1784) %102)
  br i1 %103, label %107, label %104

104:                                              ; preds = %101
  %105 = load ptr, ptr %9, align 8, !tbaa !5
  %106 = call noundef zeroext i1 @_ZNK7glslang13TIntermediate19getAutoMapLocationsEv(ptr noundef nonnull align 8 dereferenceable(1784) %105)
  br label %107

107:                                              ; preds = %104, %101, %5
  %108 = phi i1 [ true, %101 ], [ true, %5 ], [ %106, %104 ]
  %109 = zext i1 %108 to i8
  store i8 %109, ptr %12, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store i32 0, ptr %13, align 4, !tbaa !13
  br label %110

110:                                              ; preds = %135, %107
  %111 = load i32, ptr %13, align 4, !tbaa !13
  %112 = icmp slt i32 %111, 6
  br i1 %112, label %113, label %117

113:                                              ; preds = %110
  %114 = load i8, ptr %12, align 1, !tbaa !11, !range !15, !noundef !16
  %115 = trunc i8 %114 to i1
  %116 = xor i1 %115, true
  br label %117

117:                                              ; preds = %113, %110
  %118 = phi i1 [ false, %110 ], [ %116, %113 ]
  br i1 %118, label %120, label %119

119:                                              ; preds = %117
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %138

120:                                              ; preds = %117
  %121 = load i8, ptr %12, align 1, !tbaa !11, !range !15, !noundef !16
  %122 = trunc i8 %121 to i1
  br i1 %122, label %132, label %123

123:                                              ; preds = %120
  %124 = load ptr, ptr %9, align 8, !tbaa !5
  %125 = load i32, ptr %13, align 4, !tbaa !13
  %126 = call noundef i32 @_ZNK7glslang13TIntermediate15getShiftBindingENS_13TResourceTypeE(ptr noundef nonnull align 8 dereferenceable(1784) %124, i32 noundef %125)
  %127 = icmp ne i32 %126, 0
  br i1 %127, label %132, label %128

128:                                              ; preds = %123
  %129 = load ptr, ptr %9, align 8, !tbaa !5
  %130 = load i32, ptr %13, align 4, !tbaa !13
  %131 = call noundef zeroext i1 @_ZNK7glslang13TIntermediate21hasShiftBindingForSetENS_13TResourceTypeE(ptr noundef nonnull align 8 dereferenceable(1784) %129, i32 noundef %130)
  br label %132

132:                                              ; preds = %128, %123, %120
  %133 = phi i1 [ true, %123 ], [ true, %120 ], [ %131, %128 ]
  %134 = zext i1 %133 to i8
  store i8 %134, ptr %12, align 1, !tbaa !11
  br label %135

135:                                              ; preds = %132
  %136 = load i32, ptr %13, align 4, !tbaa !13
  %137 = add nsw i32 %136, 1
  store i32 %137, ptr %13, align 4, !tbaa !13
  br label %110, !llvm.loop !17

138:                                              ; preds = %119
  %139 = load i8, ptr %12, align 1, !tbaa !11, !range !15, !noundef !16
  %140 = trunc i8 %139 to i1
  br i1 %140, label %145, label %141

141:                                              ; preds = %138
  %142 = load ptr, ptr %11, align 8, !tbaa !5
  %143 = icmp eq ptr %142, null
  br i1 %143, label %144, label %145

144:                                              ; preds = %141
  store i1 true, ptr %6, align 1
  store i32 1, ptr %14, align 4
  br label %574

145:                                              ; preds = %141, %138
  %146 = load ptr, ptr %9, align 8, !tbaa !5
  %147 = call noundef i32 @_ZNK7glslang13TIntermediate17getNumEntryPointsEv(ptr noundef nonnull align 8 dereferenceable(1784) %146)
  %148 = icmp ne i32 %147, 1
  br i1 %148, label %152, label %149

149:                                              ; preds = %145
  %150 = load ptr, ptr %9, align 8, !tbaa !5
  %151 = call noundef zeroext i1 @_ZNK7glslang13TIntermediate11isRecursiveEv(ptr noundef nonnull align 8 dereferenceable(1784) %150)
  br i1 %151, label %152, label %153

152:                                              ; preds = %149, %145
  store i1 false, ptr %6, align 1
  store i32 1, ptr %14, align 4
  br label %574

153:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %154 = load ptr, ptr %9, align 8, !tbaa !5
  %155 = call noundef ptr @_ZNK7glslang13TIntermediate11getTreeRootEv(ptr noundef nonnull align 8 dereferenceable(1784) %154)
  store ptr %155, ptr %15, align 8, !tbaa !5
  %156 = load ptr, ptr %15, align 8, !tbaa !5
  %157 = icmp eq ptr %156, null
  br i1 %157, label %158, label %159

158:                                              ; preds = %153
  store i1 false, ptr %6, align 1
  store i32 1, ptr %14, align 4
  br label %573

159:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 224, ptr %16) #7
  %160 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN7glslang18TDefaultIoResolverC2ERKNS_13TIntermediateE(ptr noundef nonnull align 8 dereferenceable(224) %16, ptr noundef nonnull align 8 dereferenceable(1784) %160)
  store ptr %16, ptr %11, align 8, !tbaa !5
  %161 = load ptr, ptr %11, align 8, !tbaa !5
  %162 = load i32, ptr %8, align 4, !tbaa !9
  %163 = load ptr, ptr %9, align 8, !tbaa !5
  %164 = load ptr, ptr %161, align 8, !tbaa !19
  %165 = getelementptr inbounds ptr, ptr %164, i64 20
  %166 = load ptr, ptr %165, align 8
  invoke void %166(ptr noundef nonnull align 8 dereferenceable(8) %161, i32 noundef %162, ptr noundef nonnull align 8 dereferenceable(1784) %163)
          to label %167 unwind label %198

167:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 48, ptr %19) #7
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr %20) #7
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr %21) #7
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #7
  call void @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #7
  call void @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #7
  call void @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  call void @llvm.lifetime.start.p0(i64 232, ptr %25) #7
  %168 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZN7glslang19TVarGatherTraverserC2ERKNS_13TIntermediateEbRSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_13TVarEntryInfoESt4lessISB_ESaISt4pairIKSB_SC_EEESK_SK_(ptr noundef nonnull align 8 dereferenceable(232) %25, ptr noundef nonnull align 8 dereferenceable(1784) %168, i1 noundef zeroext true, ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 8 dereferenceable(48) %20, ptr noundef nonnull align 8 dereferenceable(48) %21)
          to label %169 unwind label %202

169:                                              ; preds = %167
  call void @llvm.lifetime.start.p0(i64 232, ptr %26) #7
  %170 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZN7glslang19TVarGatherTraverserC2ERKNS_13TIntermediateEbRSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_13TVarEntryInfoESt4lessISB_ESaISt4pairIKSB_SC_EEESK_SK_(ptr noundef nonnull align 8 dereferenceable(232) %26, ptr noundef nonnull align 8 dereferenceable(1784) %170, i1 noundef zeroext false, ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 8 dereferenceable(48) %20, ptr noundef nonnull align 8 dereferenceable(48) %21)
          to label %171 unwind label %206

171:                                              ; preds = %169
  %172 = load ptr, ptr %15, align 8, !tbaa !5
  %173 = load ptr, ptr %172, align 8, !tbaa !19
  %174 = getelementptr inbounds ptr, ptr %173, i64 2
  %175 = load ptr, ptr %174, align 8
  invoke void %175(ptr noundef nonnull align 8 dereferenceable(32) %172, ptr noundef %25)
          to label %176 unwind label %210

176:                                              ; preds = %171
  call void @llvm.lifetime.start.p0(i64 40, ptr %27) #7
  %177 = load ptr, ptr %9, align 8, !tbaa !5
  %178 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7glslang13TIntermediate24getEntryPointMangledNameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(1784) %177)
          to label %179 unwind label %214

179:                                              ; preds = %176
  %180 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %178) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  invoke void @_ZN7glslang14pool_allocatorIcEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %181 unwind label %218

181:                                              ; preds = %179
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEC2IS5_EEPKcRKS5_(ptr noundef nonnull align 8 dereferenceable(40) %27, ptr noundef %180, ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %182 unwind label %218

182:                                              ; preds = %181
  invoke void @_ZN7glslang14TLiveTraverser12pushFunctionERKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE(ptr noundef nonnull align 8 dereferenceable(201) %26, ptr noundef nonnull align 8 dereferenceable(40) %27)
          to label %183 unwind label %222

183:                                              ; preds = %182
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #7
  br label %184

184:                                              ; preds = %197, %183
  %185 = getelementptr inbounds %"class.glslang::TLiveTraverser", ptr %26, i32 0, i32 1
  %186 = call noundef zeroext i1 @_ZNKSt7__cxx114listIPN7glslang16TIntermAggregateESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %185) #7
  %187 = xor i1 %186, true
  br i1 %187, label %188, label %232

188:                                              ; preds = %184
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  %189 = getelementptr inbounds %"class.glslang::TLiveTraverser", ptr %26, i32 0, i32 1
  %190 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt7__cxx114listIPN7glslang16TIntermAggregateESaIS3_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %189) #7
  %191 = load ptr, ptr %190, align 8, !tbaa !5
  store ptr %191, ptr %29, align 8, !tbaa !5
  %192 = getelementptr inbounds %"class.glslang::TLiveTraverser", ptr %26, i32 0, i32 1
  call void @_ZNSt7__cxx114listIPN7glslang16TIntermAggregateESaIS3_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %192) #7
  %193 = load ptr, ptr %29, align 8, !tbaa !5
  %194 = load ptr, ptr %193, align 8, !tbaa !19
  %195 = getelementptr inbounds ptr, ptr %194, i64 2
  %196 = load ptr, ptr %195, align 8
  invoke void %196(ptr noundef nonnull align 8 dereferenceable(32) %193, ptr noundef %26)
          to label %197 unwind label %228

197:                                              ; preds = %188
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  br label %184, !llvm.loop !21

198:                                              ; preds = %159
  %199 = landingpad { ptr, i32 }
          cleanup
  %200 = extractvalue { ptr, i32 } %199, 0
  store ptr %200, ptr %17, align 8
  %201 = extractvalue { ptr, i32 } %199, 1
  store i32 %201, ptr %18, align 4
  br label %572

202:                                              ; preds = %167
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %17, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %18, align 4
  br label %571

206:                                              ; preds = %169
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %17, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %18, align 4
  br label %570

210:                                              ; preds = %328, %293, %258, %171
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  store ptr %212, ptr %17, align 8
  %213 = extractvalue { ptr, i32 } %211, 1
  store i32 %213, ptr %18, align 4
  br label %569

214:                                              ; preds = %176
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %17, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %18, align 4
  br label %227

218:                                              ; preds = %181, %179
  %219 = landingpad { ptr, i32 }
          cleanup
  %220 = extractvalue { ptr, i32 } %219, 0
  store ptr %220, ptr %17, align 8
  %221 = extractvalue { ptr, i32 } %219, 1
  store i32 %221, ptr %18, align 4
  br label %226

222:                                              ; preds = %182
  %223 = landingpad { ptr, i32 }
          cleanup
  %224 = extractvalue { ptr, i32 } %223, 0
  store ptr %224, ptr %17, align 8
  %225 = extractvalue { ptr, i32 } %223, 1
  store i32 %225, ptr %18, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %27) #7
  br label %226

226:                                              ; preds = %222, %218
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  br label %227

227:                                              ; preds = %226, %214
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #7
  br label %569

228:                                              ; preds = %188
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %17, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  br label %569

232:                                              ; preds = %184
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  store ptr %19, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  %233 = load ptr, ptr %30, align 8, !tbaa !5
  %234 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %233) #7
  %235 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %31, i32 0, i32 0
  store ptr %234, ptr %235, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  %236 = load ptr, ptr %30, align 8, !tbaa !5
  %237 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %236) #7
  %238 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %32, i32 0, i32 0
  store ptr %237, ptr %238, align 8
  br label %239

239:                                              ; preds = %247, %232
  %240 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_13TVarEntryInfoEEESE_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %32) #7
  br i1 %240, label %242, label %241

241:                                              ; preds = %239
  store i32 7, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  br label %258

242:                                              ; preds = %239
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #7
  %243 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_13TVarEntryInfoEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  store ptr %243, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 88, ptr %34) #7
  %244 = load ptr, ptr %33, align 8, !tbaa !5
  invoke void @_ZN7glslang12TVarLivePairC2ERKSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_13TVarEntryInfoEE(ptr noundef nonnull align 8 dereferenceable(88) %34, ptr noundef nonnull align 8 dereferenceable(88) %244)
          to label %245 unwind label %249

245:                                              ; preds = %242
  invoke void @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 8 dereferenceable(88) %34)
          to label %246 unwind label %253

246:                                              ; preds = %245
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(88) %34) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  br label %247

247:                                              ; preds = %246
  %248 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_13TVarEntryInfoEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  br label %239

249:                                              ; preds = %242
  %250 = landingpad { ptr, i32 }
          cleanup
  %251 = extractvalue { ptr, i32 } %250, 0
  store ptr %251, ptr %17, align 8
  %252 = extractvalue { ptr, i32 } %250, 1
  store i32 %252, ptr %18, align 4
  br label %257

253:                                              ; preds = %245
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %17, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %18, align 4
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(88) %34) #7
  br label %257

257:                                              ; preds = %253, %249
  call void @llvm.lifetime.end.p0(i64 88, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  br label %569

258:                                              ; preds = %241
  %259 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  %260 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %35, i32 0, i32 0
  store ptr %259, ptr %260, align 8
  %261 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  %262 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %36, i32 0, i32 0
  store ptr %261, ptr %262, align 8
  %263 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %35, i32 0, i32 0
  %264 = load ptr, ptr %263, align 8
  %265 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %36, i32 0, i32 0
  %266 = load ptr, ptr %265, align 8
  invoke void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEEZNS2_9TIoMapper8addStageE11EShLanguageRNS2_13TIntermediateER9TInfoSinkPNS2_14TIoMapResolverEE3$_0EvT_SI_T0_"(ptr %264, ptr %266)
          to label %267 unwind label %210

267:                                              ; preds = %258
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #7
  store ptr %20, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #7
  %268 = load ptr, ptr %38, align 8, !tbaa !5
  %269 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %268) #7
  %270 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %39, i32 0, i32 0
  store ptr %269, ptr %270, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #7
  %271 = load ptr, ptr %38, align 8, !tbaa !5
  %272 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %271) #7
  %273 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %40, i32 0, i32 0
  store ptr %272, ptr %273, align 8
  br label %274

274:                                              ; preds = %282, %267
  %275 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_13TVarEntryInfoEEESE_(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 8 dereferenceable(8) %40) #7
  br i1 %275, label %277, label %276

276:                                              ; preds = %274
  store i32 9, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  br label %293

277:                                              ; preds = %274
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #7
  %278 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_13TVarEntryInfoEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %39) #7
  store ptr %278, ptr %41, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 88, ptr %42) #7
  %279 = load ptr, ptr %41, align 8, !tbaa !5
  invoke void @_ZN7glslang12TVarLivePairC2ERKSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_13TVarEntryInfoEE(ptr noundef nonnull align 8 dereferenceable(88) %42, ptr noundef nonnull align 8 dereferenceable(88) %279)
          to label %280 unwind label %284

280:                                              ; preds = %277
  invoke void @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(88) %42)
          to label %281 unwind label %288

281:                                              ; preds = %280
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(88) %42) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #7
  br label %282

282:                                              ; preds = %281
  %283 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_13TVarEntryInfoEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %39) #7
  br label %274

284:                                              ; preds = %277
  %285 = landingpad { ptr, i32 }
          cleanup
  %286 = extractvalue { ptr, i32 } %285, 0
  store ptr %286, ptr %17, align 8
  %287 = extractvalue { ptr, i32 } %285, 1
  store i32 %287, ptr %18, align 4
  br label %292

288:                                              ; preds = %280
  %289 = landingpad { ptr, i32 }
          cleanup
  %290 = extractvalue { ptr, i32 } %289, 0
  store ptr %290, ptr %17, align 8
  %291 = extractvalue { ptr, i32 } %289, 1
  store i32 %291, ptr %18, align 4
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(88) %42) #7
  br label %292

292:                                              ; preds = %288, %284
  call void @llvm.lifetime.end.p0(i64 88, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  br label %569

293:                                              ; preds = %276
  %294 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  %295 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %43, i32 0, i32 0
  store ptr %294, ptr %295, align 8
  %296 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  %297 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %44, i32 0, i32 0
  store ptr %296, ptr %297, align 8
  %298 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %43, i32 0, i32 0
  %299 = load ptr, ptr %298, align 8
  %300 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %44, i32 0, i32 0
  %301 = load ptr, ptr %300, align 8
  invoke void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEEZNS2_9TIoMapper8addStageE11EShLanguageRNS2_13TIntermediateER9TInfoSinkPNS2_14TIoMapResolverEE3$_1EvT_SI_T0_"(ptr %299, ptr %301)
          to label %302 unwind label %210

302:                                              ; preds = %293
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #7
  store ptr %21, ptr %46, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #7
  %303 = load ptr, ptr %46, align 8, !tbaa !5
  %304 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %303) #7
  %305 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %47, i32 0, i32 0
  store ptr %304, ptr %305, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #7
  %306 = load ptr, ptr %46, align 8, !tbaa !5
  %307 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %306) #7
  %308 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %48, i32 0, i32 0
  store ptr %307, ptr %308, align 8
  br label %309

309:                                              ; preds = %317, %302
  %310 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_13TVarEntryInfoEEESE_(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull align 8 dereferenceable(8) %48) #7
  br i1 %310, label %312, label %311

311:                                              ; preds = %309
  store i32 11, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #7
  br label %328

312:                                              ; preds = %309
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #7
  %313 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_13TVarEntryInfoEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %47) #7
  store ptr %313, ptr %49, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 88, ptr %50) #7
  %314 = load ptr, ptr %49, align 8, !tbaa !5
  invoke void @_ZN7glslang12TVarLivePairC2ERKSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_13TVarEntryInfoEE(ptr noundef nonnull align 8 dereferenceable(88) %50, ptr noundef nonnull align 8 dereferenceable(88) %314)
          to label %315 unwind label %319

315:                                              ; preds = %312
  invoke void @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 8 dereferenceable(88) %50)
          to label %316 unwind label %323

316:                                              ; preds = %315
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(88) %50) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr %50) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #7
  br label %317

317:                                              ; preds = %316
  %318 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_13TVarEntryInfoEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %47) #7
  br label %309

319:                                              ; preds = %312
  %320 = landingpad { ptr, i32 }
          cleanup
  %321 = extractvalue { ptr, i32 } %320, 0
  store ptr %321, ptr %17, align 8
  %322 = extractvalue { ptr, i32 } %320, 1
  store i32 %322, ptr %18, align 4
  br label %327

323:                                              ; preds = %315
  %324 = landingpad { ptr, i32 }
          cleanup
  %325 = extractvalue { ptr, i32 } %324, 0
  store ptr %325, ptr %17, align 8
  %326 = extractvalue { ptr, i32 } %324, 1
  store i32 %326, ptr %18, align 4
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(88) %50) #7
  br label %327

327:                                              ; preds = %323, %319
  call void @llvm.lifetime.end.p0(i64 88, ptr %50) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #7
  br label %569

328:                                              ; preds = %311
  %329 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  %330 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %51, i32 0, i32 0
  store ptr %329, ptr %330, align 8
  %331 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  %332 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %52, i32 0, i32 0
  store ptr %331, ptr %332, align 8
  %333 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %51, i32 0, i32 0
  %334 = load ptr, ptr %333, align 8
  %335 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %52, i32 0, i32 0
  %336 = load ptr, ptr %335, align 8
  invoke void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEEZNS2_9TIoMapper8addStageE11EShLanguageRNS2_13TIntermediateER9TInfoSinkPNS2_14TIoMapResolverEE3$_2EvT_SI_T0_"(ptr %334, ptr %336)
          to label %337 unwind label %210

337:                                              ; preds = %328
  call void @llvm.lifetime.start.p0(i64 1, ptr %54) #7
  store i8 0, ptr %54, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 112, ptr %55) #7
  call void @llvm.memset.p0.i64(ptr align 16 %55, i8 0, i64 112, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %56) #7
  %338 = load i32, ptr %8, align 4, !tbaa !9
  %339 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @_ZN7glslang19TNotifyInOutAdaptorC2E11EShLanguageRNS_14TIoMapResolverE(ptr noundef nonnull align 8 dereferenceable(16) %56, i32 noundef %338, ptr noundef nonnull align 8 dereferenceable(8) %339)
          to label %340 unwind label %434

340:                                              ; preds = %337
  call void @llvm.lifetime.start.p0(i64 16, ptr %57) #7
  %341 = load i32, ptr %8, align 4, !tbaa !9
  %342 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @_ZN7glslang21TNotifyUniformAdaptorC2E11EShLanguageRNS_14TIoMapResolverE(ptr noundef nonnull align 8 dereferenceable(16) %57, i32 noundef %341, ptr noundef nonnull align 8 dereferenceable(8) %342)
          to label %343 unwind label %438

343:                                              ; preds = %340
  call void @llvm.lifetime.start.p0(i64 144, ptr %58) #7
  %344 = load i32, ptr %8, align 4, !tbaa !9
  %345 = load ptr, ptr %11, align 8, !tbaa !5
  %346 = getelementptr inbounds [14 x ptr], ptr %55, i64 0, i64 0
  %347 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZN7glslang23TResolverUniformAdaptorC2E11EShLanguageRNS_14TIoMapResolverEPPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_13TVarEntryInfoESt4lessISB_ESaISt4pairIKSB_SC_EEER9TInfoSinkRb(ptr noundef nonnull align 8 dereferenceable(144) %58, i32 noundef %344, ptr noundef nonnull align 8 dereferenceable(8) %345, ptr noundef %346, ptr noundef nonnull align 8 dereferenceable(80) %347, ptr noundef nonnull align 1 dereferenceable(1) %54)
          to label %348 unwind label %442

348:                                              ; preds = %343
  call void @llvm.lifetime.start.p0(i64 32, ptr %59) #7
  %349 = load i32, ptr %8, align 4, !tbaa !9
  %350 = load ptr, ptr %11, align 8, !tbaa !5
  %351 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZN7glslang21TResolverInOutAdaptorC2E11EShLanguageRNS_14TIoMapResolverER9TInfoSinkRb(ptr noundef nonnull align 8 dereferenceable(32) %59, i32 noundef %349, ptr noundef nonnull align 8 dereferenceable(8) %350, ptr noundef nonnull align 8 dereferenceable(80) %351, ptr noundef nonnull align 1 dereferenceable(1) %54)
          to label %352 unwind label %446

352:                                              ; preds = %348
  %353 = load ptr, ptr %11, align 8, !tbaa !5
  %354 = load i32, ptr %8, align 4, !tbaa !9
  %355 = load ptr, ptr %353, align 8, !tbaa !19
  %356 = getelementptr inbounds ptr, ptr %355, i64 12
  %357 = load ptr, ptr %356, align 8
  invoke void %357(ptr noundef nonnull align 8 dereferenceable(8) %353, i32 noundef %354)
          to label %358 unwind label %446

358:                                              ; preds = %352
  %359 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  %360 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %60, i32 0, i32 0
  store ptr %359, ptr %360, align 8
  %361 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  %362 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %61, i32 0, i32 0
  store ptr %361, ptr %362, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %62, ptr align 8 %56, i64 16, i1 false), !tbaa.struct !22
  %363 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %60, i32 0, i32 0
  %364 = load ptr, ptr %363, align 8
  %365 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %61, i32 0, i32 0
  %366 = load ptr, ptr %365, align 8
  %367 = getelementptr inbounds { i32, ptr }, ptr %62, i32 0, i32 0
  %368 = load i32, ptr %367, align 8
  %369 = getelementptr inbounds { i32, ptr }, ptr %62, i32 0, i32 1
  %370 = load ptr, ptr %369, align 8
  %371 = invoke { i32, ptr } @_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEENS2_19TNotifyInOutAdaptorEET0_T_SB_SA_(ptr %364, ptr %366, i32 %368, ptr %370)
          to label %372 unwind label %446

372:                                              ; preds = %358
  %373 = getelementptr inbounds { i32, ptr }, ptr %63, i32 0, i32 0
  %374 = extractvalue { i32, ptr } %371, 0
  store i32 %374, ptr %373, align 8
  %375 = getelementptr inbounds { i32, ptr }, ptr %63, i32 0, i32 1
  %376 = extractvalue { i32, ptr } %371, 1
  store ptr %376, ptr %375, align 8
  %377 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  %378 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %64, i32 0, i32 0
  store ptr %377, ptr %378, align 8
  %379 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  %380 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %65, i32 0, i32 0
  store ptr %379, ptr %380, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %66, ptr align 8 %56, i64 16, i1 false), !tbaa.struct !22
  %381 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %64, i32 0, i32 0
  %382 = load ptr, ptr %381, align 8
  %383 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %65, i32 0, i32 0
  %384 = load ptr, ptr %383, align 8
  %385 = getelementptr inbounds { i32, ptr }, ptr %66, i32 0, i32 0
  %386 = load i32, ptr %385, align 8
  %387 = getelementptr inbounds { i32, ptr }, ptr %66, i32 0, i32 1
  %388 = load ptr, ptr %387, align 8
  %389 = invoke { i32, ptr } @_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEENS2_19TNotifyInOutAdaptorEET0_T_SB_SA_(ptr %382, ptr %384, i32 %386, ptr %388)
          to label %390 unwind label %446

390:                                              ; preds = %372
  %391 = getelementptr inbounds { i32, ptr }, ptr %67, i32 0, i32 0
  %392 = extractvalue { i32, ptr } %389, 0
  store i32 %392, ptr %391, align 8
  %393 = getelementptr inbounds { i32, ptr }, ptr %67, i32 0, i32 1
  %394 = extractvalue { i32, ptr } %389, 1
  store ptr %394, ptr %393, align 8
  %395 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  %396 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %68, i32 0, i32 0
  store ptr %395, ptr %396, align 8
  %397 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  %398 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %69, i32 0, i32 0
  store ptr %397, ptr %398, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %70, ptr align 8 %57, i64 16, i1 false), !tbaa.struct !22
  %399 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %68, i32 0, i32 0
  %400 = load ptr, ptr %399, align 8
  %401 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %69, i32 0, i32 0
  %402 = load ptr, ptr %401, align 8
  %403 = getelementptr inbounds { i32, ptr }, ptr %70, i32 0, i32 0
  %404 = load i32, ptr %403, align 8
  %405 = getelementptr inbounds { i32, ptr }, ptr %70, i32 0, i32 1
  %406 = load ptr, ptr %405, align 8
  %407 = invoke { i32, ptr } @_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEENS2_21TNotifyUniformAdaptorEET0_T_SB_SA_(ptr %400, ptr %402, i32 %404, ptr %406)
          to label %408 unwind label %446

408:                                              ; preds = %390
  %409 = getelementptr inbounds { i32, ptr }, ptr %71, i32 0, i32 0
  %410 = extractvalue { i32, ptr } %407, 0
  store i32 %410, ptr %409, align 8
  %411 = getelementptr inbounds { i32, ptr }, ptr %71, i32 0, i32 1
  %412 = extractvalue { i32, ptr } %407, 1
  store ptr %412, ptr %411, align 8
  %413 = load ptr, ptr %11, align 8, !tbaa !5
  %414 = load i32, ptr %8, align 4, !tbaa !9
  %415 = load ptr, ptr %413, align 8, !tbaa !19
  %416 = getelementptr inbounds ptr, ptr %415, i64 13
  %417 = load ptr, ptr %416, align 8
  invoke void %417(ptr noundef nonnull align 8 dereferenceable(8) %413, i32 noundef %414)
          to label %418 unwind label %446

418:                                              ; preds = %408
  %419 = load ptr, ptr %11, align 8, !tbaa !5
  %420 = load i32, ptr %8, align 4, !tbaa !9
  %421 = load ptr, ptr %419, align 8, !tbaa !19
  %422 = getelementptr inbounds ptr, ptr %421, i64 14
  %423 = load ptr, ptr %422, align 8
  invoke void %423(ptr noundef nonnull align 8 dereferenceable(8) %419, i32 noundef %420)
          to label %424 unwind label %446

424:                                              ; preds = %418
  call void @llvm.lifetime.start.p0(i64 8, ptr %72) #7
  store ptr %22, ptr %72, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %73) #7
  %425 = load ptr, ptr %72, align 8, !tbaa !5
  %426 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %425) #7
  %427 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %73, i32 0, i32 0
  store ptr %426, ptr %427, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %74) #7
  %428 = load ptr, ptr %72, align 8, !tbaa !5
  %429 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %428) #7
  %430 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %74, i32 0, i32 0
  store ptr %429, ptr %430, align 8
  br label %431

431:                                              ; preds = %454, %424
  %432 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7glslang12TVarLivePairESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %73, ptr noundef nonnull align 8 dereferenceable(8) %74) #7
  br i1 %432, label %450, label %433

433:                                              ; preds = %431
  store i32 13, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #7
  br label %460

434:                                              ; preds = %337
  %435 = landingpad { ptr, i32 }
          cleanup
  %436 = extractvalue { ptr, i32 } %435, 0
  store ptr %436, ptr %17, align 8
  %437 = extractvalue { ptr, i32 } %435, 1
  store i32 %437, ptr %18, align 4
  br label %568

438:                                              ; preds = %340
  %439 = landingpad { ptr, i32 }
          cleanup
  %440 = extractvalue { ptr, i32 } %439, 0
  store ptr %440, ptr %17, align 8
  %441 = extractvalue { ptr, i32 } %439, 1
  store i32 %441, ptr %18, align 4
  br label %567

442:                                              ; preds = %343
  %443 = landingpad { ptr, i32 }
          cleanup
  %444 = extractvalue { ptr, i32 } %443, 0
  store ptr %444, ptr %17, align 8
  %445 = extractvalue { ptr, i32 } %443, 1
  store i32 %445, ptr %18, align 4
  br label %566

446:                                              ; preds = %530, %517, %494, %460, %418, %408, %390, %372, %358, %352, %348
  %447 = landingpad { ptr, i32 }
          cleanup
  %448 = extractvalue { ptr, i32 } %447, 0
  store ptr %448, ptr %17, align 8
  %449 = extractvalue { ptr, i32 } %447, 1
  store i32 %449, ptr %18, align 4
  br label %565

450:                                              ; preds = %431
  call void @llvm.lifetime.start.p0(i64 8, ptr %75) #7
  %451 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %73) #7
  store ptr %451, ptr %75, align 8, !tbaa !5
  %452 = load ptr, ptr %75, align 8, !tbaa !5
  invoke void @_ZN7glslang21TResolverInOutAdaptorclERSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_13TVarEntryInfoEE(ptr noundef nonnull align 8 dereferenceable(32) %59, ptr noundef nonnull align 8 dereferenceable(88) %452)
          to label %453 unwind label %456

453:                                              ; preds = %450
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #7
  br label %454

454:                                              ; preds = %453
  %455 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %73) #7
  br label %431

456:                                              ; preds = %450
  %457 = landingpad { ptr, i32 }
          cleanup
  %458 = extractvalue { ptr, i32 } %457, 0
  store ptr %458, ptr %17, align 8
  %459 = extractvalue { ptr, i32 } %457, 1
  store i32 %459, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #7
  br label %565

460:                                              ; preds = %433
  %461 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  %462 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %76, i32 0, i32 0
  store ptr %461, ptr %462, align 8
  %463 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  %464 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %77, i32 0, i32 0
  store ptr %463, ptr %464, align 8
  %465 = getelementptr inbounds %class.anon.170, ptr %78, i32 0, i32 0
  store ptr %19, ptr %465, align 8, !tbaa !5
  %466 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %76, i32 0, i32 0
  %467 = load ptr, ptr %466, align 8
  %468 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %77, i32 0, i32 0
  %469 = load ptr, ptr %468, align 8
  %470 = getelementptr inbounds %class.anon.170, ptr %78, i32 0, i32 0
  %471 = load ptr, ptr %470, align 8
  %472 = invoke ptr @"_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEEZNS2_9TIoMapper8addStageE11EShLanguageRNS2_13TIntermediateER9TInfoSinkPNS2_14TIoMapResolverEE3$_3ET0_T_SJ_SI_"(ptr %467, ptr %469, ptr %471)
          to label %473 unwind label %446

473:                                              ; preds = %460
  %474 = getelementptr inbounds %class.anon.170, ptr %79, i32 0, i32 0
  store ptr %472, ptr %474, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %80) #7
  store ptr %23, ptr %80, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %81) #7
  %475 = load ptr, ptr %80, align 8, !tbaa !5
  %476 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %475) #7
  %477 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %81, i32 0, i32 0
  store ptr %476, ptr %477, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %82) #7
  %478 = load ptr, ptr %80, align 8, !tbaa !5
  %479 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %478) #7
  %480 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %82, i32 0, i32 0
  store ptr %479, ptr %480, align 8
  br label %481

481:                                              ; preds = %488, %473
  %482 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7glslang12TVarLivePairESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %81, ptr noundef nonnull align 8 dereferenceable(8) %82) #7
  br i1 %482, label %484, label %483

483:                                              ; preds = %481
  store i32 15, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %81) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %80) #7
  br label %494

484:                                              ; preds = %481
  call void @llvm.lifetime.start.p0(i64 8, ptr %83) #7
  %485 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %81) #7
  store ptr %485, ptr %83, align 8, !tbaa !5
  %486 = load ptr, ptr %83, align 8, !tbaa !5
  invoke void @_ZN7glslang21TResolverInOutAdaptorclERSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_13TVarEntryInfoEE(ptr noundef nonnull align 8 dereferenceable(32) %59, ptr noundef nonnull align 8 dereferenceable(88) %486)
          to label %487 unwind label %490

487:                                              ; preds = %484
  call void @llvm.lifetime.end.p0(i64 8, ptr %83) #7
  br label %488

488:                                              ; preds = %487
  %489 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %81) #7
  br label %481

490:                                              ; preds = %484
  %491 = landingpad { ptr, i32 }
          cleanup
  %492 = extractvalue { ptr, i32 } %491, 0
  store ptr %492, ptr %17, align 8
  %493 = extractvalue { ptr, i32 } %491, 1
  store i32 %493, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %83) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %81) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %80) #7
  br label %565

494:                                              ; preds = %483
  %495 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  %496 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %84, i32 0, i32 0
  store ptr %495, ptr %496, align 8
  %497 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  %498 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %85, i32 0, i32 0
  store ptr %497, ptr %498, align 8
  %499 = getelementptr inbounds %class.anon.171, ptr %86, i32 0, i32 0
  store ptr %20, ptr %499, align 8, !tbaa !5
  %500 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %84, i32 0, i32 0
  %501 = load ptr, ptr %500, align 8
  %502 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %85, i32 0, i32 0
  %503 = load ptr, ptr %502, align 8
  %504 = getelementptr inbounds %class.anon.171, ptr %86, i32 0, i32 0
  %505 = load ptr, ptr %504, align 8
  %506 = invoke ptr @"_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEEZNS2_9TIoMapper8addStageE11EShLanguageRNS2_13TIntermediateER9TInfoSinkPNS2_14TIoMapResolverEE3$_4ET0_T_SJ_SI_"(ptr %501, ptr %503, ptr %505)
          to label %507 unwind label %446

507:                                              ; preds = %494
  %508 = getelementptr inbounds %class.anon.171, ptr %87, i32 0, i32 0
  store ptr %506, ptr %508, align 8
  %509 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  %510 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %88, i32 0, i32 0
  store ptr %509, ptr %510, align 8
  %511 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  %512 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %89, i32 0, i32 0
  store ptr %511, ptr %512, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %90, ptr align 8 %58, i64 144, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.start.p0(i64 144, ptr %91) #7
  %513 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %88, i32 0, i32 0
  %514 = load ptr, ptr %513, align 8
  %515 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %89, i32 0, i32 0
  %516 = load ptr, ptr %515, align 8
  invoke void @_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEENS2_23TResolverUniformAdaptorEET0_T_SB_SA_(ptr dead_on_unwind writable sret(%"struct.glslang::TResolverUniformAdaptor") align 8 %91, ptr %514, ptr %516, ptr noundef byval(%"struct.glslang::TResolverUniformAdaptor") align 8 %90)
          to label %517 unwind label %548

517:                                              ; preds = %507
  call void @llvm.lifetime.end.p0(i64 144, ptr %91) #7
  %518 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  %519 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %92, i32 0, i32 0
  store ptr %518, ptr %519, align 8
  %520 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  %521 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %93, i32 0, i32 0
  store ptr %520, ptr %521, align 8
  %522 = getelementptr inbounds %class.anon.172, ptr %94, i32 0, i32 0
  store ptr %21, ptr %522, align 8, !tbaa !5
  %523 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %92, i32 0, i32 0
  %524 = load ptr, ptr %523, align 8
  %525 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.165", ptr %93, i32 0, i32 0
  %526 = load ptr, ptr %525, align 8
  %527 = getelementptr inbounds %class.anon.172, ptr %94, i32 0, i32 0
  %528 = load ptr, ptr %527, align 8
  %529 = invoke ptr @"_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEEZNS2_9TIoMapper8addStageE11EShLanguageRNS2_13TIntermediateER9TInfoSinkPNS2_14TIoMapResolverEE3$_5ET0_T_SJ_SI_"(ptr %524, ptr %526, ptr %528)
          to label %530 unwind label %446

530:                                              ; preds = %517
  %531 = getelementptr inbounds %class.anon.172, ptr %95, i32 0, i32 0
  store ptr %529, ptr %531, align 8
  %532 = load ptr, ptr %11, align 8, !tbaa !5
  %533 = load i32, ptr %8, align 4, !tbaa !9
  %534 = load ptr, ptr %532, align 8, !tbaa !19
  %535 = getelementptr inbounds ptr, ptr %534, i64 15
  %536 = load ptr, ptr %535, align 8
  invoke void %536(ptr noundef nonnull align 8 dereferenceable(8) %532, i32 noundef %533)
          to label %537 unwind label %446

537:                                              ; preds = %530
  %538 = load i8, ptr %54, align 1, !tbaa !11, !range !15, !noundef !16
  %539 = trunc i8 %538 to i1
  br i1 %539, label %561, label %540

540:                                              ; preds = %537
  call void @llvm.lifetime.start.p0(i64 232, ptr %96) #7
  %541 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZN7glslang16TVarSetTraverserC2ERKNS_13TIntermediateERKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_13TVarEntryInfoESt4lessISB_ESaISt4pairIKSB_SC_EEESL_SL_(ptr noundef nonnull align 8 dereferenceable(232) %96, ptr noundef nonnull align 8 dereferenceable(1784) %541, ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 8 dereferenceable(48) %20, ptr noundef nonnull align 8 dereferenceable(48) %21)
          to label %542 unwind label %552

542:                                              ; preds = %540
  %543 = load ptr, ptr %15, align 8, !tbaa !5
  %544 = load ptr, ptr %543, align 8, !tbaa !19
  %545 = getelementptr inbounds ptr, ptr %544, i64 2
  %546 = load ptr, ptr %545, align 8
  invoke void %546(ptr noundef nonnull align 8 dereferenceable(32) %543, ptr noundef %96)
          to label %547 unwind label %556

547:                                              ; preds = %542
  call void @_ZN7glslang14TLiveTraverserD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %96) #7
  call void @llvm.lifetime.end.p0(i64 232, ptr %96) #7
  br label %561

548:                                              ; preds = %507
  %549 = landingpad { ptr, i32 }
          cleanup
  %550 = extractvalue { ptr, i32 } %549, 0
  store ptr %550, ptr %17, align 8
  %551 = extractvalue { ptr, i32 } %549, 1
  store i32 %551, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 144, ptr %91) #7
  br label %565

552:                                              ; preds = %540
  %553 = landingpad { ptr, i32 }
          cleanup
  %554 = extractvalue { ptr, i32 } %553, 0
  store ptr %554, ptr %17, align 8
  %555 = extractvalue { ptr, i32 } %553, 1
  store i32 %555, ptr %18, align 4
  br label %560

556:                                              ; preds = %542
  %557 = landingpad { ptr, i32 }
          cleanup
  %558 = extractvalue { ptr, i32 } %557, 0
  store ptr %558, ptr %17, align 8
  %559 = extractvalue { ptr, i32 } %557, 1
  store i32 %559, ptr %18, align 4
  call void @_ZN7glslang14TLiveTraverserD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %96) #7
  br label %560

560:                                              ; preds = %556, %552
  call void @llvm.lifetime.end.p0(i64 232, ptr %96) #7
  br label %565

561:                                              ; preds = %547, %537
  %562 = load i8, ptr %54, align 1, !tbaa !11, !range !15, !noundef !16
  %563 = trunc i8 %562 to i1
  %564 = xor i1 %563, true
  store i1 %564, ptr %6, align 1
  store i32 1, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %59) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr %58) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %57) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %56) #7
  call void @llvm.lifetime.end.p0(i64 112, ptr %55) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %54) #7
  call void @_ZN7glslang14TLiveTraverserD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %26) #7
  call void @llvm.lifetime.end.p0(i64 232, ptr %26) #7
  call void @_ZN7glslang14TLiveTraverserD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %25) #7
  call void @llvm.lifetime.end.p0(i64 232, ptr %25) #7
  call void @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #7
  call void @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #7
  call void @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #7
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %21) #7
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %20) #7
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #7
  call void @_ZN7glslang22TDefaultIoResolverBaseD2Ev(ptr noundef nonnull align 8 dereferenceable(224) %16) #7
  call void @llvm.lifetime.end.p0(i64 224, ptr %16) #7
  br label %573

565:                                              ; preds = %560, %548, %490, %456, %446
  call void @llvm.lifetime.end.p0(i64 32, ptr %59) #7
  br label %566

566:                                              ; preds = %565, %442
  call void @llvm.lifetime.end.p0(i64 144, ptr %58) #7
  br label %567

567:                                              ; preds = %566, %438
  call void @llvm.lifetime.end.p0(i64 16, ptr %57) #7
  br label %568

568:                                              ; preds = %567, %434
  call void @llvm.lifetime.end.p0(i64 16, ptr %56) #7
  call void @llvm.lifetime.end.p0(i64 112, ptr %55) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %54) #7
  br label %569

569:                                              ; preds = %568, %327, %292, %257, %228, %227, %210
  call void @_ZN7glslang14TLiveTraverserD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %26) #7
  br label %570

570:                                              ; preds = %569, %206
  call void @llvm.lifetime.end.p0(i64 232, ptr %26) #7
  call void @_ZN7glslang14TLiveTraverserD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %25) #7
  br label %571

571:                                              ; preds = %570, %202
  call void @llvm.lifetime.end.p0(i64 232, ptr %25) #7
  call void @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #7
  call void @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #7
  call void @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #7
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %21) #7
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %20) #7
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #7
  br label %572

572:                                              ; preds = %571, %198
  call void @_ZN7glslang22TDefaultIoResolverBaseD2Ev(ptr noundef nonnull align 8 dereferenceable(224) %16) #7
  call void @llvm.lifetime.end.p0(i64 224, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #7
  br label %576

573:                                              ; preds = %561, %158
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %574

574:                                              ; preds = %573, %152, %144
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #7
  %575 = load i1, ptr %6, align 1
  ret i1 %575

576:                                              ; preds = %572
  %577 = load ptr, ptr %17, align 8
  %578 = load i32, ptr %18, align 4
  %579 = insertvalue { ptr, i32 } poison, ptr %577, 0
  %580 = insertvalue { ptr, i32 } %579, i32 %578, 1
  resume { ptr, i32 } %580
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7glslang13TIntermediate21hasShiftBindingForSetENS_13TResourceTypeE(ptr noundef nonnull align 8 dereferenceable(1784), i32 noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7glslang13TIntermediate17getNumEntryPointsEv(ptr noundef nonnull align 8 dereferenceable(1784)) #1 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7glslang19TVarGatherTraverserC2ERKNS_13TIntermediateEbRSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_13TVarEntryInfoESt4lessISB_ESaISt4pairIKSB_SC_EEESK_SK_(ptr noundef nonnull align 8 dereferenceable(232), ptr noundef nonnull align 8 dereferenceable(1784), i1 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7glslang14TLiveTraverser12pushFunctionERKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE(ptr noundef nonnull align 8 dereferenceable(201), ptr noundef nonnull align 8 dereferenceable(40)) #4 align 2

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #5 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEEZNS2_9TIoMapper8addStageE11EShLanguageRNS2_13TIntermediateER9TInfoSinkPNS2_14TIoMapResolverEE3$_0EvT_SI_T0_"(ptr, ptr) #6

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEEZNS2_9TIoMapper8addStageE11EShLanguageRNS2_13TIntermediateER9TInfoSinkPNS2_14TIoMapResolverEE3$_1EvT_SI_T0_"(ptr, ptr) #6

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEEZNS2_9TIoMapper8addStageE11EShLanguageRNS2_13TIntermediateER9TInfoSinkPNS2_14TIoMapResolverEE3$_2EvT_SI_T0_"(ptr, ptr) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7glslang19TNotifyInOutAdaptorC2E11EShLanguageRNS_14TIoMapResolverE(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7glslang21TNotifyUniformAdaptorC2E11EShLanguageRNS_14TIoMapResolverE(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7glslang23TResolverUniformAdaptorC2E11EShLanguageRNS_14TIoMapResolverEPPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_13TVarEntryInfoESt4lessISB_ESaISt4pairIKSB_SC_EEER9TInfoSinkRb(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local { i32, ptr } @_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEENS2_19TNotifyInOutAdaptorEET0_T_SB_SA_(ptr, ptr, i32, ptr) #4

; Function Attrs: mustprogress uwtable
declare dso_local { i32, ptr } @_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEENS2_21TNotifyUniformAdaptorEET0_T_SB_SA_(ptr, ptr, i32, ptr) #4

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7glslang21TResolverInOutAdaptorclERSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_13TVarEntryInfoEE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(88)) #6 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden ptr @"_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEEZNS2_9TIoMapper8addStageE11EShLanguageRNS2_13TIntermediateER9TInfoSinkPNS2_14TIoMapResolverEE3$_3ET0_T_SJ_SI_"(ptr, ptr, ptr) #4

; Function Attrs: mustprogress uwtable
declare hidden ptr @"_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEEZNS2_9TIoMapper8addStageE11EShLanguageRNS2_13TIntermediateER9TInfoSinkPNS2_14TIoMapResolverEE3$_4ET0_T_SJ_SI_"(ptr, ptr, ptr) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEENS2_23TResolverUniformAdaptorEET0_T_SB_SA_(ptr dead_on_unwind noalias writable sret(%"struct.glslang::TResolverUniformAdaptor") align 8, ptr, ptr, ptr noundef byval(%"struct.glslang::TResolverUniformAdaptor") align 8) #4

; Function Attrs: mustprogress uwtable
declare hidden ptr @"_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEEZNS2_9TIoMapper8addStageE11EShLanguageRNS2_13TIntermediateER9TInfoSinkPNS2_14TIoMapResolverEE3$_5ET0_T_SJ_SI_"(ptr, ptr, ptr) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7glslang16TVarSetTraverserC2ERKNS_13TIntermediateERKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_13TVarEntryInfoESt4lessISB_ESaISt4pairIKSB_SC_EEESL_SL_(ptr noundef nonnull align 8 dereferenceable(232), ptr noundef nonnull align 8 dereferenceable(1784), ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7glslang14TLiveTraverserD2Ev(ptr noundef nonnull align 8 dereferenceable(201)) unnamed_addr #5 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7glslang22TDefaultIoResolverBaseD2Ev(ptr noundef nonnull align 8 dereferenceable(224)) unnamed_addr #5 align 2

attributes #0 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #1 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { 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 #6 = { inlinehint 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 = !{!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 = !{!"_ZTS11EShLanguage", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !20, i64 0}
!20 = !{!"vtable pointer", !8, i64 0}
!21 = distinct !{!21, !18}
!22 = !{i64 0, i64 4, !9, i64 8, i64 8, !5}
!23 = !{i64 0, i64 4, !9, i64 8, i64 8, !5, i64 16, i64 8, !5, i64 24, i64 8, !5, i64 32, i64 112, !24}
!24 = !{!7, !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"

%"struct.glslang::TDefaultIoResolver" = type { %"struct.glslang::TDefaultIoResolverBase" }
%"struct.glslang::TDefaultIoResolverBase" = type { %"class.glslang::TIoMapResolver", %"class.std::unordered_map", i8, ptr, i32, i32, i32, [15 x i8], [14 x ptr] }
%"class.glslang::TIoMapResolver" = type { ptr }
%"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.std::map.120" = type { %"class.std::_Rb_tree.121" }
%"class.std::_Rb_tree.121" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TVarEntryInfo>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TVarEntryInfo>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TVarEntryInfo>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TVarEntryInfo>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>>>::_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::vector.125" = type { %"struct.std::_Vector_base.126" }
%"struct.std::_Vector_base.126" = type { %"struct.std::_Vector_base<glslang::TVarLivePair, std::allocator<glslang::TVarLivePair>>::_Vector_impl" }
%"struct.std::_Vector_base<glslang::TVarLivePair, std::allocator<glslang::TVarLivePair>>::_Vector_impl" = type { %"struct.std::_Vector_base<glslang::TVarLivePair, std::allocator<glslang::TVarLivePair>>::_Vector_impl_data" }
%"struct.std::_Vector_base<glslang::TVarLivePair, std::allocator<glslang::TVarLivePair>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.glslang::TVarGatherTraverser" = type { %"class.glslang::TLiveTraverser.base", ptr, ptr, ptr }
%"class.glslang::TLiveTraverser.base" = type <{ %"class.glslang::TIntermTraverser", %"class.std::__cxx11::list.134", ptr, %"class.std::unordered_set.139", %"class.std::unordered_set.139", i8 }>
%"class.glslang::TIntermTraverser" = type { ptr, i8, i8, i8, i8, i32, i32, %"class.glslang::TVector.130" }
%"class.glslang::TVector.130" = type { %"class.std::vector.131" }
%"class.std::vector.131" = type { %"struct.std::_Vector_base.132" }
%"struct.std::_Vector_base.132" = type { %"struct.std::_Vector_base<TIntermNode *, glslang::pool_allocator<TIntermNode *>>::_Vector_impl" }
%"struct.std::_Vector_base<TIntermNode *, glslang::pool_allocator<TIntermNode *>>::_Vector_impl" = type { %"class.glslang::pool_allocator.133", %"struct.std::_Vector_base<TIntermNode *, glslang::pool_allocator<TIntermNode *>>::_Vector_impl_data" }
%"class.glslang::pool_allocator.133" = type { ptr }
%"struct.std::_Vector_base<TIntermNode *, glslang::pool_allocator<TIntermNode *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::list.134" = type { %"class.std::__cxx11::_List_base.135" }
%"class.std::__cxx11::_List_base.135" = type { %"struct.std::__cxx11::_List_base<glslang::TIntermAggregate *, std::allocator<glslang::TIntermAggregate *>>::_List_impl" }
%"struct.std::__cxx11::_List_base<glslang::TIntermAggregate *, std::allocator<glslang::TIntermAggregate *>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.std::unordered_set.139" = type { %"class.std::_Hashtable.140" }
%"class.std::_Hashtable.140" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::__cxx11::basic_string.105" = type { %"struct.std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>::_Alloc_hider", i64, %union.anon.106 }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>::_Alloc_hider" = type { %"class.glslang::pool_allocator", ptr }
%"class.glslang::pool_allocator" = type { ptr }
%union.anon.106 = type { i64, [8 x i8] }
%"struct.std::_Rb_tree_iterator.162" = type { ptr }
%"struct.glslang::TVarLivePair" = type { %"struct.std::pair.163" }
%"struct.std::pair.163" = type { %"class.std::__cxx11::basic_string.105", %"struct.glslang::TVarEntryInfo" }
%"struct.glslang::TVarEntryInfo" = type { i64, ptr, i8, i32, i32, i32, i32, i32, i32 }
%"struct.glslang::TNotifyInOutAdaptor" = type { i32, ptr }
%"struct.glslang::TNotifyUniformAdaptor" = type { i32, ptr }
%"struct.glslang::TResolverUniformAdaptor" = type { i32, ptr, ptr, ptr, [14 x ptr] }
%"struct.glslang::TResolverInOutAdaptor" = type { i32, ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.165" = type { ptr }
%"class.glslang::TVarSetTraverser" = type { %"class.glslang::TLiveTraverser.base", ptr, ptr, ptr }

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7glslang9TIoMapper8addStageE11EShLanguageRNS_13TIntermediateER9TInfoSinkPNS_14TIoMapResolverE(ptr nocapture noundef nonnull readnone align 8 dereferenceable(8) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(1784) %2, ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef readnone %4) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"struct.glslang::TDefaultIoResolver", align 8
  %7 = alloca %"class.std::map.120", align 8
  %8 = alloca %"class.std::map.120", align 8
  %9 = alloca %"class.std::map.120", align 8
  %10 = alloca %"class.std::vector.125", align 8
  %11 = alloca %"class.std::vector.125", align 8
  %12 = alloca %"class.std::vector.125", align 8
  %13 = alloca %"class.glslang::TVarGatherTraverser", align 8
  %14 = alloca %"class.glslang::TVarGatherTraverser", align 8
  %15 = alloca %"class.std::__cxx11::basic_string.105", align 8
  %16 = alloca %"class.glslang::pool_allocator", align 8
  %17 = alloca %"struct.std::_Rb_tree_iterator.162", align 8
  %18 = alloca %"struct.std::_Rb_tree_iterator.162", align 8
  %19 = alloca %"struct.glslang::TVarLivePair", align 8
  %20 = alloca %"struct.std::_Rb_tree_iterator.162", align 8
  %21 = alloca %"struct.std::_Rb_tree_iterator.162", align 8
  %22 = alloca %"struct.glslang::TVarLivePair", align 8
  %23 = alloca %"struct.std::_Rb_tree_iterator.162", align 8
  %24 = alloca %"struct.std::_Rb_tree_iterator.162", align 8
  %25 = alloca %"struct.glslang::TVarLivePair", align 8
  %26 = alloca i8, align 1
  %27 = alloca [14 x ptr], align 16
  %28 = alloca %"struct.glslang::TNotifyInOutAdaptor", align 8
  %29 = alloca %"struct.glslang::TNotifyUniformAdaptor", align 8
  %30 = alloca %"struct.glslang::TResolverUniformAdaptor", align 8
  %31 = alloca %"struct.glslang::TResolverInOutAdaptor", align 8
  %32 = alloca %"class.__gnu_cxx::__normal_iterator.165", align 8
  %33 = alloca %"class.__gnu_cxx::__normal_iterator.165", align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator.165", align 8
  %35 = alloca %"class.__gnu_cxx::__normal_iterator.165", align 8
  %36 = alloca %"struct.glslang::TResolverUniformAdaptor", align 8
  %37 = alloca %"class.glslang::TVarSetTraverser", align 8
  %38 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7glslang13TIntermediate21getResourceSetBindingB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(1784) %2)
  %39 = tail call noundef zeroext i1 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #6
  br i1 %39, label %40, label %._crit_edge.thread

40:                                               ; preds = %5
  %41 = tail call noundef zeroext i1 @_ZNK7glslang13TIntermediate18getAutoMapBindingsEv(ptr noundef nonnull align 8 dereferenceable(1784) %2)
  br i1 %41, label %._crit_edge.thread, label %42

42:                                               ; preds = %40
  %43 = tail call noundef zeroext i1 @_ZNK7glslang13TIntermediate19getAutoMapLocationsEv(ptr noundef nonnull align 8 dereferenceable(1784) %2)
  br i1 %43, label %._crit_edge.thread, label %.lr.ph.preheader

._crit_edge:                                      ; preds = %46
  %44 = icmp ne ptr %4, null
  %or.cond.not = or i1 %44, %47
  br i1 %or.cond.not, label %._crit_edge.thread, label %230

.lr.ph.preheader:                                 ; preds = %42, %46
  %.0104136 = phi i32 [ %48, %46 ], [ 0, %42 ]
  %45 = tail call noundef i32 @_ZNK7glslang13TIntermediate15getShiftBindingENS_13TResourceTypeE(ptr noundef nonnull align 8 dereferenceable(1784) %2, i32 noundef %.0104136)
  %.not135 = icmp eq i32 %45, 0
  br i1 %.not135, label %46, label %._crit_edge.thread

46:                                               ; preds = %.lr.ph.preheader
  %47 = tail call noundef zeroext i1 @_ZNK7glslang13TIntermediate21hasShiftBindingForSetENS_13TResourceTypeE(ptr noundef nonnull align 8 dereferenceable(1784) %2, i32 noundef %.0104136)
  %48 = add nuw nsw i32 %.0104136, 1
  %49 = icmp ugt i32 %.0104136, 4
  %.not118 = or i1 %49, %47
  br i1 %.not118, label %._crit_edge, label %.lr.ph.preheader, !llvm.loop !5

._crit_edge.thread:                               ; preds = %.lr.ph.preheader, %5, %40, %42, %._crit_edge
  %50 = tail call noundef i32 @_ZNK7glslang13TIntermediate17getNumEntryPointsEv(ptr noundef nonnull align 8 dereferenceable(1784) %2)
  %.not = icmp eq i32 %50, 1
  br i1 %.not, label %51, label %230

51:                                               ; preds = %._crit_edge.thread
  %52 = tail call noundef zeroext i1 @_ZNK7glslang13TIntermediate11isRecursiveEv(ptr noundef nonnull align 8 dereferenceable(1784) %2)
  br i1 %52, label %230, label %53

53:                                               ; preds = %51
  %54 = tail call noundef ptr @_ZNK7glslang13TIntermediate11getTreeRootEv(ptr noundef nonnull align 8 dereferenceable(1784) %2)
  %55 = icmp eq ptr %54, null
  br i1 %55, label %230, label %56

56:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 224, ptr nonnull %6) #6
  call void @_ZN7glslang18TDefaultIoResolverC2ERKNS_13TIntermediateE(ptr noundef nonnull align 8 dereferenceable(224) %6, ptr noundef nonnull align 8 dereferenceable(1784) %2)
  %57 = load ptr, ptr %6, align 8, !tbaa !7
  %58 = getelementptr inbounds i8, ptr %57, i64 160
  %59 = load ptr, ptr %58, align 8
  invoke void %59(ptr noundef nonnull align 8 dereferenceable(8) %6, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(1784) %2)
          to label %60 unwind label %81

60:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %7) #6
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #6
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #6
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #6
  call void @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #6
  call void @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #6
  call void @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  call void @llvm.lifetime.start.p0(i64 232, ptr nonnull %13) #6
  invoke void @_ZN7glslang19TVarGatherTraverserC2ERKNS_13TIntermediateEbRSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_13TVarEntryInfoESt4lessISB_ESaISt4pairIKSB_SC_EEESK_SK_(ptr noundef nonnull align 8 dereferenceable(232) %13, ptr noundef nonnull align 8 dereferenceable(1784) %2, i1 noundef zeroext true, ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef nonnull align 8 dereferenceable(48) %9)
          to label %61 unwind label %83

61:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 232, ptr nonnull %14) #6
  invoke void @_ZN7glslang19TVarGatherTraverserC2ERKNS_13TIntermediateEbRSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_13TVarEntryInfoESt4lessISB_ESaISt4pairIKSB_SC_EEESK_SK_(ptr noundef nonnull align 8 dereferenceable(232) %14, ptr noundef nonnull align 8 dereferenceable(1784) %2, i1 noundef zeroext false, ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef nonnull align 8 dereferenceable(48) %9)
          to label %62 unwind label %85

62:                                               ; preds = %61
  %63 = load ptr, ptr %54, align 8, !tbaa !7
  %64 = getelementptr inbounds i8, ptr %63, i64 16
  %65 = load ptr, ptr %64, align 8
  invoke void %65(ptr noundef nonnull align 8 dereferenceable(32) %54, ptr noundef nonnull %13)
          to label %66 unwind label %87

66:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %15) #6
  %67 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7glslang13TIntermediate24getEntryPointMangledNameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(1784) %2)
  %68 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %67) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #6
  invoke void @_ZN7glslang14pool_allocatorIcEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %69 unwind label %89

69:                                               ; preds = %66
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEC2IS5_EEPKcRKS5_(ptr noundef nonnull align 8 dereferenceable(40) %15, ptr noundef %68, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %70 unwind label %89

70:                                               ; preds = %69
  invoke void @_ZN7glslang14TLiveTraverser12pushFunctionERKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE(ptr noundef nonnull align 8 dereferenceable(201) %14, ptr noundef nonnull align 8 dereferenceable(40) %15)
          to label %71 unwind label %91

71:                                               ; preds = %70
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #6
  %72 = getelementptr inbounds i8, ptr %14, i64 56
  br label %73

73:                                               ; preds = %75, %71
  %74 = call noundef zeroext i1 @_ZNKSt7__cxx114listIPN7glslang16TIntermAggregateESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %72) #6
  br i1 %74, label %96, label %75

75:                                               ; preds = %73
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt7__cxx114listIPN7glslang16TIntermAggregateESaIS3_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %72) #6
  %77 = load ptr, ptr %76, align 8, !tbaa !10
  call void @_ZNSt7__cxx114listIPN7glslang16TIntermAggregateESaIS3_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %72) #6
  %78 = load ptr, ptr %77, align 8, !tbaa !7
  %79 = getelementptr inbounds i8, ptr %78, i64 16
  %80 = load ptr, ptr %79, align 8
  invoke void %80(ptr noundef nonnull align 8 dereferenceable(32) %77, ptr noundef nonnull %14)
          to label %73 unwind label %94, !llvm.loop !13

81:                                               ; preds = %56
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %229

83:                                               ; preds = %60
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %228

85:                                               ; preds = %61
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %227

87:                                               ; preds = %._crit_edge146, %._crit_edge143, %._crit_edge140, %62
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %226

89:                                               ; preds = %69, %66
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %93

91:                                               ; preds = %70
  %92 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %15) #6
  br label %93

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

94:                                               ; preds = %75
  %95 = landingpad { ptr, i32 }
          cleanup
  br label %226

96:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #6
  %97 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %7) #6
  store ptr %97, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #6
  %98 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %7) #6
  store ptr %98, ptr %18, align 8
  %99 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_13TVarEntryInfoEEESE_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  br i1 %99, label %.lr.ph139, label %._crit_edge140

._crit_edge140:                                   ; preds = %104, %96
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  %100 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  %101 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  invoke void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEEZNS2_9TIoMapper8addStageE11EShLanguageRNS2_13TIntermediateER9TInfoSinkPNS2_14TIoMapResolverEE3$_0EvT_SI_T0_"(ptr %100, ptr %101)
          to label %112 unwind label %87

.lr.ph139:                                        ; preds = %96, %104
  %102 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_13TVarEntryInfoEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %19) #6
  invoke void @_ZN7glslang12TVarLivePairC2ERKSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_13TVarEntryInfoEE(ptr noundef nonnull align 8 dereferenceable(88) %19, ptr noundef nonnull align 8 dereferenceable(88) %102)
          to label %103 unwind label %107

103:                                              ; preds = %.lr.ph139
  invoke void @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(88) %19)
          to label %104 unwind label %109

104:                                              ; preds = %103
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(88) %19) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %19) #6
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_13TVarEntryInfoEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  %106 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_13TVarEntryInfoEEESE_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  br i1 %106, label %.lr.ph139, label %._crit_edge140

107:                                              ; preds = %.lr.ph139
  %108 = landingpad { ptr, i32 }
          cleanup
  br label %111

109:                                              ; preds = %103
  %110 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(88) %19) #6
  br label %111

111:                                              ; preds = %109, %107
  %.pn128 = phi { ptr, i32 } [ %110, %109 ], [ %108, %107 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  br label %226

112:                                              ; preds = %._crit_edge140
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #6
  %113 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %8) #6
  store ptr %113, ptr %20, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #6
  %114 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %8) #6
  store ptr %114, ptr %21, align 8
  %115 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_13TVarEntryInfoEEESE_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  br i1 %115, label %.lr.ph142, label %._crit_edge143

._crit_edge143:                                   ; preds = %120, %112
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  %116 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %117 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  invoke void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEEZNS2_9TIoMapper8addStageE11EShLanguageRNS2_13TIntermediateER9TInfoSinkPNS2_14TIoMapResolverEE3$_1EvT_SI_T0_"(ptr %116, ptr %117)
          to label %128 unwind label %87

.lr.ph142:                                        ; preds = %112, %120
  %118 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_13TVarEntryInfoEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %22) #6
  invoke void @_ZN7glslang12TVarLivePairC2ERKSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_13TVarEntryInfoEE(ptr noundef nonnull align 8 dereferenceable(88) %22, ptr noundef nonnull align 8 dereferenceable(88) %118)
          to label %119 unwind label %123

119:                                              ; preds = %.lr.ph142
  invoke void @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(88) %22)
          to label %120 unwind label %125

120:                                              ; preds = %119
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(88) %22) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %22) #6
  %121 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_13TVarEntryInfoEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  %122 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_13TVarEntryInfoEEESE_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  br i1 %122, label %.lr.ph142, label %._crit_edge143

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

125:                                              ; preds = %119
  %126 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(88) %22) #6
  br label %127

127:                                              ; preds = %125, %123
  %.pn126 = phi { ptr, i32 } [ %126, %125 ], [ %124, %123 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  br label %226

128:                                              ; preds = %._crit_edge143
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #6
  %129 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #6
  store ptr %129, ptr %23, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #6
  %130 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #6
  store ptr %130, ptr %24, align 8
  %131 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_13TVarEntryInfoEEESE_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  br i1 %131, label %.lr.ph145, label %._crit_edge146

._crit_edge146:                                   ; preds = %136, %128
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #6
  %132 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  %133 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  invoke void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEEZNS2_9TIoMapper8addStageE11EShLanguageRNS2_13TIntermediateER9TInfoSinkPNS2_14TIoMapResolverEE3$_2EvT_SI_T0_"(ptr %132, ptr %133)
          to label %144 unwind label %87

.lr.ph145:                                        ; preds = %128, %136
  %134 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_13TVarEntryInfoEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #6
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %25) #6
  invoke void @_ZN7glslang12TVarLivePairC2ERKSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_13TVarEntryInfoEE(ptr noundef nonnull align 8 dereferenceable(88) %25, ptr noundef nonnull align 8 dereferenceable(88) %134)
          to label %135 unwind label %139

135:                                              ; preds = %.lr.ph145
  invoke void @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(88) %25)
          to label %136 unwind label %141

136:                                              ; preds = %135
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(88) %25) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %25) #6
  %137 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_13TVarEntryInfoEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #6
  %138 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_13TVarEntryInfoEEESE_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  br i1 %138, label %.lr.ph145, label %._crit_edge146

139:                                              ; preds = %.lr.ph145
  %140 = landingpad { ptr, i32 }
          cleanup
  br label %143

141:                                              ; preds = %135
  %142 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(88) %25) #6
  br label %143

143:                                              ; preds = %141, %139
  %.pn124 = phi { ptr, i32 } [ %142, %141 ], [ %140, %139 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #6
  br label %226

144:                                              ; preds = %._crit_edge146
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %26) #6
  store i8 0, ptr %26, align 1, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %27) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(112) %27, i8 0, i64 112, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %28) #6
  call void @_ZN7glslang19TNotifyInOutAdaptorC2E11EShLanguageRNS_14TIoMapResolverE(ptr noundef nonnull align 8 dereferenceable(16) %28, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(8) %6)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %29) #6
  call void @_ZN7glslang21TNotifyUniformAdaptorC2E11EShLanguageRNS_14TIoMapResolverE(ptr noundef nonnull align 8 dereferenceable(16) %29, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(8) %6)
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %30) #6
  call void @_ZN7glslang23TResolverUniformAdaptorC2E11EShLanguageRNS_14TIoMapResolverEPPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_13TVarEntryInfoESt4lessISB_ESaISt4pairIKSB_SC_EEER9TInfoSinkRb(ptr noundef nonnull align 8 dereferenceable(144) %30, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull %27, ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 1 dereferenceable(1) %26)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %31) #6
  call void @_ZN7glslang21TResolverInOutAdaptorC2E11EShLanguageRNS_14TIoMapResolverER9TInfoSinkRb(ptr noundef nonnull align 8 dereferenceable(32) %31, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 1 dereferenceable(1) %26)
  %145 = load ptr, ptr %6, align 8, !tbaa !7
  %146 = getelementptr inbounds i8, ptr %145, i64 96
  %147 = load ptr, ptr %146, align 8
  invoke void %147(ptr noundef nonnull align 8 dereferenceable(8) %6, i32 noundef %1)
          to label %148 unwind label %175

148:                                              ; preds = %144
  %149 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  %150 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  %.sroa.034.0.copyload = load i32, ptr %28, align 8, !tbaa !16
  %.sroa.236.0..sroa_idx = getelementptr inbounds i8, ptr %28, i64 8
  %.sroa.236.0.copyload = load ptr, ptr %.sroa.236.0..sroa_idx, align 8, !tbaa !10
  %151 = invoke { i32, ptr } @_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEENS2_19TNotifyInOutAdaptorEET0_T_SB_SA_(ptr %149, ptr %150, i32 %.sroa.034.0.copyload, ptr %.sroa.236.0.copyload)
          to label %152 unwind label %175

152:                                              ; preds = %148
  %153 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %154 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %.sroa.027.0.copyload = load i32, ptr %28, align 8, !tbaa !16
  %.sroa.229.0.copyload = load ptr, ptr %.sroa.236.0..sroa_idx, align 8, !tbaa !10
  %155 = invoke { i32, ptr } @_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEENS2_19TNotifyInOutAdaptorEET0_T_SB_SA_(ptr %153, ptr %154, i32 %.sroa.027.0.copyload, ptr %.sroa.229.0.copyload)
          to label %156 unwind label %175

156:                                              ; preds = %152
  %157 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  %158 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  %.sroa.021.0.copyload = load i32, ptr %29, align 8, !tbaa !16
  %.sroa.222.0..sroa_idx = getelementptr inbounds i8, ptr %29, i64 8
  %.sroa.222.0.copyload = load ptr, ptr %.sroa.222.0..sroa_idx, align 8, !tbaa !10
  %159 = invoke { i32, ptr } @_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEENS2_21TNotifyUniformAdaptorEET0_T_SB_SA_(ptr %157, ptr %158, i32 %.sroa.021.0.copyload, ptr %.sroa.222.0.copyload)
          to label %160 unwind label %175

160:                                              ; preds = %156
  %161 = load ptr, ptr %6, align 8, !tbaa !7
  %162 = getelementptr inbounds i8, ptr %161, i64 104
  %163 = load ptr, ptr %162, align 8
  invoke void %163(ptr noundef nonnull align 8 dereferenceable(8) %6, i32 noundef %1)
          to label %164 unwind label %175

164:                                              ; preds = %160
  %165 = load ptr, ptr %6, align 8, !tbaa !7
  %166 = getelementptr inbounds i8, ptr %165, i64 112
  %167 = load ptr, ptr %166, align 8
  invoke void %167(ptr noundef nonnull align 8 dereferenceable(8) %6, i32 noundef %1)
          to label %168 unwind label %175

168:                                              ; preds = %164
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #6
  %169 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  store ptr %169, ptr %32, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #6
  %170 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  store ptr %170, ptr %33, align 8
  %171 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7glslang12TVarLivePairESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %33) #6
  br i1 %171, label %.lr.ph148, label %._crit_edge149

._crit_edge149:                                   ; preds = %178, %168
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #6
  %172 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  %173 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  %174 = invoke ptr @"_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEEZNS2_9TIoMapper8addStageE11EShLanguageRNS2_13TIntermediateER9TInfoSinkPNS2_14TIoMapResolverEE3$_3ET0_T_SJ_SI_"(ptr %172, ptr %173, ptr nonnull %7)
          to label %183 unwind label %175

175:                                              ; preds = %203, %199, %._crit_edge152, %._crit_edge149, %164, %160, %156, %152, %148, %144
  %176 = landingpad { ptr, i32 }
          cleanup
  br label %225

.lr.ph148:                                        ; preds = %168, %178
  %177 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #6
  invoke void @_ZN7glslang21TResolverInOutAdaptorclERSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_13TVarEntryInfoEE(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull align 8 dereferenceable(88) %177)
          to label %178 unwind label %181

178:                                              ; preds = %.lr.ph148
  %179 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #6
  %180 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7glslang12TVarLivePairESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %33) #6
  br i1 %180, label %.lr.ph148, label %._crit_edge149

181:                                              ; preds = %.lr.ph148
  %182 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #6
  br label %225

183:                                              ; preds = %._crit_edge149
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #6
  %184 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  store ptr %184, ptr %34, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %35) #6
  %185 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  store ptr %185, ptr %35, align 8
  %186 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7glslang12TVarLivePairESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %35) #6
  br i1 %186, label %.lr.ph151, label %._crit_edge152

._crit_edge152:                                   ; preds = %191, %183
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #6
  %187 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %188 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %189 = invoke ptr @"_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEEZNS2_9TIoMapper8addStageE11EShLanguageRNS2_13TIntermediateER9TInfoSinkPNS2_14TIoMapResolverEE3$_4ET0_T_SJ_SI_"(ptr %187, ptr %188, ptr nonnull %8)
          to label %196 unwind label %175

.lr.ph151:                                        ; preds = %183, %191
  %190 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #6
  invoke void @_ZN7glslang21TResolverInOutAdaptorclERSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_13TVarEntryInfoEE(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull align 8 dereferenceable(88) %190)
          to label %191 unwind label %194

191:                                              ; preds = %.lr.ph151
  %192 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #6
  %193 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7glslang12TVarLivePairESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %35) #6
  br i1 %193, label %.lr.ph151, label %._crit_edge152

194:                                              ; preds = %.lr.ph151
  %195 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #6
  br label %225

196:                                              ; preds = %._crit_edge152
  %197 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  %198 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %36) #6
  invoke void @_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEENS2_23TResolverUniformAdaptorEET0_T_SB_SA_(ptr dead_on_unwind nonnull writable sret(%"struct.glslang::TResolverUniformAdaptor") align 8 %36, ptr %197, ptr %198, ptr noundef nonnull byval(%"struct.glslang::TResolverUniformAdaptor") align 8 %30)
          to label %199 unwind label %217

199:                                              ; preds = %196
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %36) #6
  %200 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  %201 = call ptr @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  %202 = invoke ptr @"_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEEZNS2_9TIoMapper8addStageE11EShLanguageRNS2_13TIntermediateER9TInfoSinkPNS2_14TIoMapResolverEE3$_5ET0_T_SJ_SI_"(ptr %200, ptr %201, ptr nonnull %9)
          to label %203 unwind label %175

203:                                              ; preds = %199
  %204 = load ptr, ptr %6, align 8, !tbaa !7
  %205 = getelementptr inbounds i8, ptr %204, i64 120
  %206 = load ptr, ptr %205, align 8
  invoke void %206(ptr noundef nonnull align 8 dereferenceable(8) %6, i32 noundef %1)
          to label %207 unwind label %175

207:                                              ; preds = %203
  %208 = load i8, ptr %26, align 1, !tbaa !14, !range !18, !noundef !19
  %209 = trunc nuw i8 %208 to i1
  br i1 %209, label %224, label %210

210:                                              ; preds = %207
  call void @llvm.lifetime.start.p0(i64 232, ptr nonnull %37) #6
  invoke void @_ZN7glslang16TVarSetTraverserC2ERKNS_13TIntermediateERKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_13TVarEntryInfoESt4lessISB_ESaISt4pairIKSB_SC_EEESL_SL_(ptr noundef nonnull align 8 dereferenceable(232) %37, ptr noundef nonnull align 8 dereferenceable(1784) %2, ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef nonnull align 8 dereferenceable(48) %9)
          to label %211 unwind label %219

211:                                              ; preds = %210
  %212 = load ptr, ptr %54, align 8, !tbaa !7
  %213 = getelementptr inbounds i8, ptr %212, i64 16
  %214 = load ptr, ptr %213, align 8
  invoke void %214(ptr noundef nonnull align 8 dereferenceable(32) %54, ptr noundef nonnull %37)
          to label %215 unwind label %221

215:                                              ; preds = %211
  call void @_ZN7glslang14TLiveTraverserD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %37) #6
  call void @llvm.lifetime.end.p0(i64 232, ptr nonnull %37) #6
  %.pre = load i8, ptr %26, align 1, !tbaa !14, !range !18
  %.pre153 = trunc nuw i8 %.pre to i1
  %216 = xor i1 %.pre153, true
  br label %224

217:                                              ; preds = %196
  %218 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %36) #6
  br label %225

219:                                              ; preds = %210
  %220 = landingpad { ptr, i32 }
          cleanup
  br label %223

221:                                              ; preds = %211
  %222 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7glslang14TLiveTraverserD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %37) #6
  br label %223

223:                                              ; preds = %221, %219
  %.pn120 = phi { ptr, i32 } [ %222, %221 ], [ %220, %219 ]
  call void @llvm.lifetime.end.p0(i64 232, ptr nonnull %37) #6
  br label %225

224:                                              ; preds = %215, %207
  %.pre-phi = phi i1 [ %216, %215 ], [ false, %207 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %30) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #6
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %27) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #6
  call void @_ZN7glslang14TLiveTraverserD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %14) #6
  call void @llvm.lifetime.end.p0(i64 232, ptr nonnull %14) #6
  call void @_ZN7glslang14TLiveTraverserD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %13) #6
  call void @llvm.lifetime.end.p0(i64 232, ptr nonnull %13) #6
  call void @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #6
  call void @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  call void @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #6
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #6
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #6
  call void @_ZN7glslang22TDefaultIoResolverBaseD2Ev(ptr noundef nonnull align 8 dereferenceable(224) %6) #6
  call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %6) #6
  br label %230

225:                                              ; preds = %223, %217, %194, %181, %175
  %.pn122 = phi { ptr, i32 } [ %182, %181 ], [ %195, %194 ], [ %.pn120, %223 ], [ %176, %175 ], [ %218, %217 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %30) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #6
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %27) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #6
  br label %226

226:                                              ; preds = %225, %143, %127, %111, %94, %93, %87
  %.pn130 = phi { ptr, i32 } [ %95, %94 ], [ %.pn128, %111 ], [ %.pn126, %127 ], [ %.pn124, %143 ], [ %.pn122, %225 ], [ %88, %87 ], [ %.pn, %93 ]
  call void @_ZN7glslang14TLiveTraverserD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %14) #6
  br label %227

227:                                              ; preds = %226, %85
  %.pn130.pn = phi { ptr, i32 } [ %.pn130, %226 ], [ %86, %85 ]
  call void @llvm.lifetime.end.p0(i64 232, ptr nonnull %14) #6
  call void @_ZN7glslang14TLiveTraverserD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %13) #6
  br label %228

228:                                              ; preds = %227, %83
  %.pn130.pn.pn = phi { ptr, i32 } [ %.pn130.pn, %227 ], [ %84, %83 ]
  call void @llvm.lifetime.end.p0(i64 232, ptr nonnull %13) #6
  call void @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #6
  call void @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  call void @_ZNSt6vectorIN7glslang12TVarLivePairESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #6
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #6
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #6
  br label %229

229:                                              ; preds = %228, %81
  %.pn130.pn.pn.pn = phi { ptr, i32 } [ %.pn130.pn.pn, %228 ], [ %82, %81 ]
  call void @_ZN7glslang22TDefaultIoResolverBaseD2Ev(ptr noundef nonnull align 8 dereferenceable(224) %6) #6
  call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %6) #6
  resume { ptr, i32 } %.pn130.pn.pn.pn

230:                                              ; preds = %224, %53, %._crit_edge.thread, %51, %._crit_edge
  %.1 = phi i1 [ true, %._crit_edge ], [ false, %51 ], [ false, %._crit_edge.thread ], [ %.pre-phi, %224 ], [ false, %53 ]
  ret i1 %.1
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7glslang13TIntermediate21hasShiftBindingForSetENS_13TResourceTypeE(ptr noundef nonnull align 8 dereferenceable(1784), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7glslang13TIntermediate17getNumEntryPointsEv(ptr noundef nonnull align 8 dereferenceable(1784)) local_unnamed_addr #1 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7glslang19TVarGatherTraverserC2ERKNS_13TIntermediateEbRSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_13TVarEntryInfoESt4lessISB_ESaISt4pairIKSB_SC_EEESK_SK_(ptr noundef nonnull align 8 dereferenceable(232), ptr noundef nonnull align 8 dereferenceable(1784), i1 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7glslang14TLiveTraverser12pushFunctionERKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE(ptr noundef nonnull align 8 dereferenceable(201), 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 @_ZNK7glslang13TIntermediate24getEntryPointMangledNameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(1784)) local_unnamed_addr #1 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEEZNS2_9TIoMapper8addStageE11EShLanguageRNS2_13TIntermediateER9TInfoSinkPNS2_14TIoMapResolverEE3$_0EvT_SI_T0_"(ptr, ptr) local_unnamed_addr #5

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEEZNS2_9TIoMapper8addStageE11EShLanguageRNS2_13TIntermediateER9TInfoSinkPNS2_14TIoMapResolverEE3$_1EvT_SI_T0_"(ptr, ptr) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEEZNS2_9TIoMapper8addStageE11EShLanguageRNS2_13TIntermediateER9TInfoSinkPNS2_14TIoMapResolverEE3$_2EvT_SI_T0_"(ptr, ptr) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7glslang23TResolverUniformAdaptorC2E11EShLanguageRNS_14TIoMapResolverEPPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_13TVarEntryInfoESt4lessISB_ESaISt4pairIKSB_SC_EEER9TInfoSinkRb(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local { i32, ptr } @_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEENS2_19TNotifyInOutAdaptorEET0_T_SB_SA_(ptr, ptr, i32, ptr) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local { i32, ptr } @_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEENS2_21TNotifyUniformAdaptorEET0_T_SB_SA_(ptr, ptr, i32, ptr) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7glslang21TResolverInOutAdaptorclERSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_13TVarEntryInfoEE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #5 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden ptr @"_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEEZNS2_9TIoMapper8addStageE11EShLanguageRNS2_13TIntermediateER9TInfoSinkPNS2_14TIoMapResolverEE3$_3ET0_T_SJ_SI_"(ptr, ptr, ptr) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden ptr @"_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEEZNS2_9TIoMapper8addStageE11EShLanguageRNS2_13TIntermediateER9TInfoSinkPNS2_14TIoMapResolverEE3$_4ET0_T_SJ_SI_"(ptr, ptr, ptr) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEENS2_23TResolverUniformAdaptorEET0_T_SB_SA_(ptr dead_on_unwind noalias writable sret(%"struct.glslang::TResolverUniformAdaptor") align 8, ptr, ptr, ptr noundef byval(%"struct.glslang::TResolverUniformAdaptor") align 8) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden ptr @"_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPN7glslang12TVarLivePairESt6vectorIS3_SaIS3_EEEEZNS2_9TIoMapper8addStageE11EShLanguageRNS2_13TIntermediateER9TInfoSinkPNS2_14TIoMapResolverEE3$_5ET0_T_SJ_SI_"(ptr, ptr, ptr) local_unnamed_addr #3

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #1 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { inlinehint 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"vtable pointer", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !9, i64 0}
!13 = distinct !{!13, !6}
!14 = !{!15, !15, i64 0}
!15 = !{!"bool", !12, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"_ZTS11EShLanguage", !12, i64 0}
!18 = !{i8 0, i8 2}
!19 = !{}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,PostOrderFunctionAttrsPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass