; 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.std::_Rb_tree_iterator" = type { ptr }
%"class.std::map.115" = type { %"class.std::_Rb_tree.116" }
%"class.std::_Rb_tree.116" = 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>>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, int>>, 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>>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, int>>, 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 }
%"struct.glslang::TVarEntryInfo" = type { i64, ptr, i8, i32, i32, i32, i32, i32, i32 }
%"struct.glslang::TDefaultGlslIoResolver" = type { %"struct.glslang::TDefaultIoResolverBase", i32, i32, %"class.std::map.110", %"class.std::map.110" }
%"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.110" = type { %"class.std::_Rb_tree.111" }
%"class.std::_Rb_tree.111" = type { %"struct.std::_Rb_tree<int, std::pair<const int, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, int>>, std::_Select1st<std::pair<const int, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, int>>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, int>>, std::_Select1st<std::pair<const int, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, int>>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.glslang::TQualifier" = type <{ ptr, i64, i8, [3 x i8], i32, i32, i64, i64, i8, i8, i8, i8, i8, [3 x i8], i32, i8, [3 x i8], i32, ptr }>
%"struct.glslang::TTypeLoc" = type { ptr, %"struct.glslang::TSourceLoc" }
%"struct.glslang::TSourceLoc" = type { ptr, i32, i32, i32 }
%"struct.std::pair" = type <{ %"class.std::__cxx11::basic_string.105", i32, [4 x i8] }>
%"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] }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK7glslang22TDefaultIoResolverBase21doAutoLocationMappingEv(ptr noundef nonnull align 8 dereferenceable(224)) #0 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7glslang22TDefaultIoResolverBase23computeTypeLocationSizeERKNS_5TTypeE11EShLanguage(ptr noundef nonnull align 8 dereferenceable(224), ptr noundef nonnull align 8 dereferenceable(144), i32 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7glslang22TDefaultGlslIoResolver20resolveInOutLocationE11EShLanguageRNS_13TVarEntryInfoE(ptr noundef nonnull align 8 dereferenceable(328) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(48) %2) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i8, align 1
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %18 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %19 = alloca %"class.std::map.115", align 8
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  %22 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  %23 = load ptr, ptr %7, align 8, !tbaa !5
  %24 = getelementptr inbounds %"struct.glslang::TVarEntryInfo", ptr %23, i32 0, i32 1
  %25 = load ptr, ptr %24, align 8, !tbaa !11
  %26 = load ptr, ptr %25, align 8, !tbaa !16
  %27 = getelementptr inbounds ptr, ptr %26, i64 30
  %28 = load ptr, ptr %27, align 8
  %29 = call noundef nonnull align 8 dereferenceable(144) ptr %28(ptr noundef nonnull align 8 dereferenceable(176) %25)
  store ptr %29, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = getelementptr inbounds %"struct.glslang::TVarEntryInfo", ptr %30, i32 0, i32 1
  %32 = load ptr, ptr %31, align 8, !tbaa !11
  %33 = load ptr, ptr %32, align 8, !tbaa !16
  %34 = getelementptr inbounds ptr, ptr %33, i64 51
  %35 = load ptr, ptr %34, align 8
  %36 = call noundef nonnull align 8 dereferenceable(40) ptr %35(ptr noundef nonnull align 8 dereferenceable(256) %32)
  store ptr %36, ptr %9, align 8, !tbaa !5
  %37 = getelementptr inbounds %"struct.glslang::TDefaultGlslIoResolver", ptr %22, i32 0, i32 2
  %38 = load i32, ptr %37, align 4, !tbaa !18
  %39 = load i32, ptr %6, align 4, !tbaa !9
  %40 = icmp ne i32 %38, %39
  br i1 %40, label %41, label %47

41:                                               ; preds = %3
  %42 = getelementptr inbounds %"struct.glslang::TDefaultGlslIoResolver", ptr %22, i32 0, i32 2
  %43 = load i32, ptr %42, align 4, !tbaa !18
  %44 = getelementptr inbounds %"struct.glslang::TDefaultGlslIoResolver", ptr %22, i32 0, i32 1
  store i32 %43, ptr %44, align 8, !tbaa !36
  %45 = load i32, ptr %6, align 4, !tbaa !9
  %46 = getelementptr inbounds %"struct.glslang::TDefaultGlslIoResolver", ptr %22, i32 0, i32 2
  store i32 %45, ptr %46, align 4, !tbaa !18
  br label %47

47:                                               ; preds = %41, %3
  %48 = call noundef zeroext i1 @_ZNK7glslang22TDefaultIoResolverBase21doAutoLocationMappingEv(ptr noundef nonnull align 8 dereferenceable(224) %22)
  br i1 %48, label %52, label %49

49:                                               ; preds = %47
  %50 = load ptr, ptr %7, align 8, !tbaa !5
  %51 = getelementptr inbounds %"struct.glslang::TVarEntryInfo", ptr %50, i32 0, i32 5
  store i32 -1, ptr %51, align 4, !tbaa !37
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %204

52:                                               ; preds = %47
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  %54 = load ptr, ptr %53, align 8, !tbaa !16
  %55 = getelementptr inbounds ptr, ptr %54, i64 11
  %56 = load ptr, ptr %55, align 8
  %57 = call noundef nonnull align 8 dereferenceable(72) ptr %56(ptr noundef nonnull align 8 dereferenceable(144) %53)
  %58 = call noundef zeroext i1 @_ZNK7glslang10TQualifier11hasLocationEv(ptr noundef nonnull align 8 dereferenceable(72) %57)
  br i1 %58, label %59, label %71

59:                                               ; preds = %52
  %60 = load ptr, ptr %8, align 8, !tbaa !5
  %61 = load ptr, ptr %60, align 8, !tbaa !16
  %62 = getelementptr inbounds ptr, ptr %61, i64 11
  %63 = load ptr, ptr %62, align 8
  %64 = call noundef nonnull align 8 dereferenceable(72) ptr %63(ptr noundef nonnull align 8 dereferenceable(144) %60)
  %65 = getelementptr inbounds %"class.glslang::TQualifier", ptr %64, i32 0, i32 6
  %66 = load i64, ptr %65, align 4
  %67 = and i64 %66, 4095
  %68 = trunc i64 %67 to i32
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = getelementptr inbounds %"struct.glslang::TVarEntryInfo", ptr %69, i32 0, i32 5
  store i32 %68, ptr %70, align 4, !tbaa !37
  store i32 %68, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %204

71:                                               ; preds = %52
  %72 = load ptr, ptr %8, align 8, !tbaa !5
  %73 = load ptr, ptr %72, align 8, !tbaa !16
  %74 = getelementptr inbounds ptr, ptr %73, i64 39
  %75 = load ptr, ptr %74, align 8
  %76 = call noundef zeroext i1 %75(ptr noundef nonnull align 8 dereferenceable(144) %72)
  br i1 %76, label %84, label %77

77:                                               ; preds = %71
  %78 = load ptr, ptr %8, align 8, !tbaa !5
  %79 = load ptr, ptr %78, align 8, !tbaa !16
  %80 = getelementptr inbounds ptr, ptr %79, i64 11
  %81 = load ptr, ptr %80, align 8
  %82 = call noundef nonnull align 8 dereferenceable(72) ptr %81(ptr noundef nonnull align 8 dereferenceable(144) %78)
  %83 = call noundef zeroext i1 @_ZNK7glslang10TQualifier16hasSprivDecorateEv(ptr noundef nonnull align 8 dereferenceable(72) %82)
  br i1 %83, label %84, label %87

84:                                               ; preds = %77, %71
  %85 = load ptr, ptr %7, align 8, !tbaa !5
  %86 = getelementptr inbounds %"struct.glslang::TVarEntryInfo", ptr %85, i32 0, i32 5
  store i32 -1, ptr %86, align 4, !tbaa !37
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %204

87:                                               ; preds = %77
  %88 = load ptr, ptr %8, align 8, !tbaa !5
  %89 = load ptr, ptr %88, align 8, !tbaa !16
  %90 = getelementptr inbounds ptr, ptr %89, i64 35
  %91 = load ptr, ptr %90, align 8
  %92 = call noundef zeroext i1 %91(ptr noundef nonnull align 8 dereferenceable(144) %88)
  br i1 %92, label %93, label %115

93:                                               ; preds = %87
  %94 = load ptr, ptr %8, align 8, !tbaa !5
  %95 = call noundef ptr @_ZNK7glslang5TType9getStructEv(ptr noundef nonnull align 8 dereferenceable(144) %94)
  %96 = call noundef i64 @_ZNKSt6vectorIN7glslang8TTypeLocENS0_14pool_allocatorIS1_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %95) #3
  %97 = icmp ult i64 %96, 1
  br i1 %97, label %98, label %101

98:                                               ; preds = %93
  %99 = load ptr, ptr %7, align 8, !tbaa !5
  %100 = getelementptr inbounds %"struct.glslang::TVarEntryInfo", ptr %99, i32 0, i32 5
  store i32 -1, ptr %100, align 4, !tbaa !37
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %204

101:                                              ; preds = %93
  %102 = load ptr, ptr %8, align 8, !tbaa !5
  %103 = call noundef ptr @_ZNK7glslang5TType9getStructEv(ptr noundef nonnull align 8 dereferenceable(144) %102)
  %104 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorIN7glslang8TTypeLocENS0_14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %103, i64 noundef 0) #3
  %105 = getelementptr inbounds %"struct.glslang::TTypeLoc", ptr %104, i32 0, i32 0
  %106 = load ptr, ptr %105, align 8, !tbaa !38
  %107 = load ptr, ptr %106, align 8, !tbaa !16
  %108 = getelementptr inbounds ptr, ptr %107, i64 39
  %109 = load ptr, ptr %108, align 8
  %110 = call noundef zeroext i1 %109(ptr noundef nonnull align 8 dereferenceable(144) %106)
  br i1 %110, label %111, label %114

111:                                              ; preds = %101
  %112 = load ptr, ptr %7, align 8, !tbaa !5
  %113 = getelementptr inbounds %"struct.glslang::TVarEntryInfo", ptr %112, i32 0, i32 5
  store i32 -1, ptr %113, align 4, !tbaa !37
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %204

114:                                              ; preds = %101
  br label %115

115:                                              ; preds = %114, %87
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  %116 = load ptr, ptr %8, align 8, !tbaa !5
  %117 = load i32, ptr %6, align 4, !tbaa !9
  %118 = call noundef i32 @_ZN7glslang22TDefaultIoResolverBase23computeTypeLocationSizeERKNS_5TTypeE11EShLanguage(ptr noundef nonnull align 8 dereferenceable(224) %22, ptr noundef nonnull align 8 dereferenceable(144) %116, i32 noundef %117)
  store i32 %118, ptr %11, align 4, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  %119 = load ptr, ptr %8, align 8, !tbaa !5
  %120 = load ptr, ptr %119, align 8, !tbaa !16
  %121 = getelementptr inbounds ptr, ptr %120, i64 11
  %122 = load ptr, ptr %121, align 8
  %123 = call noundef nonnull align 8 dereferenceable(72) ptr %122(ptr noundef nonnull align 8 dereferenceable(144) %119)
  %124 = getelementptr inbounds %"class.glslang::TQualifier", ptr %123, i32 0, i32 6
  %125 = load i64, ptr %124, align 4
  %126 = and i64 %125, 4095
  %127 = trunc i64 %126 to i32
  store i32 %127, ptr %12, align 4, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #3
  store i8 0, ptr %13, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  store i32 14, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  store i32 16, ptr %15, align 4, !tbaa !43
  %128 = load ptr, ptr %8, align 8, !tbaa !5
  %129 = load ptr, ptr %128, align 8, !tbaa !16
  %130 = getelementptr inbounds ptr, ptr %129, i64 11
  %131 = load ptr, ptr %130, align 8
  %132 = call noundef nonnull align 8 dereferenceable(72) ptr %131(ptr noundef nonnull align 8 dereferenceable(144) %128)
  %133 = call noundef zeroext i1 @_ZNK7glslang10TQualifier11isPipeInputEv(ptr noundef nonnull align 8 dereferenceable(72) %132)
  br i1 %133, label %134, label %137

134:                                              ; preds = %115
  %135 = getelementptr inbounds %"struct.glslang::TDefaultGlslIoResolver", ptr %22, i32 0, i32 1
  %136 = load i32, ptr %135, align 8, !tbaa !36
  store i32 %136, ptr %14, align 4, !tbaa !9
  br label %137

137:                                              ; preds = %134, %115
  %138 = load ptr, ptr %8, align 8, !tbaa !5
  %139 = load ptr, ptr %138, align 8, !tbaa !16
  %140 = getelementptr inbounds ptr, ptr %139, i64 11
  %141 = load ptr, ptr %140, align 8
  %142 = call noundef nonnull align 8 dereferenceable(72) ptr %141(ptr noundef nonnull align 8 dereferenceable(144) %138)
  %143 = call noundef zeroext i1 @_ZNK7glslang10TQualifier12isPipeOutputEv(ptr noundef nonnull align 8 dereferenceable(72) %142)
  br i1 %143, label %144, label %147

144:                                              ; preds = %137
  %145 = getelementptr inbounds %"struct.glslang::TDefaultGlslIoResolver", ptr %22, i32 0, i32 2
  %146 = load i32, ptr %145, align 4, !tbaa !18
  store i32 %146, ptr %14, align 4, !tbaa !9
  br label %147

147:                                              ; preds = %144, %137
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  %148 = load i32, ptr %14, align 4, !tbaa !9
  %149 = load i32, ptr %15, align 4, !tbaa !43
  %150 = call noundef i32 @_ZN7glslang22TDefaultGlslIoResolver15buildStorageKeyE11EShLanguageNS_17TStorageQualifierE(ptr noundef nonnull align 8 dereferenceable(328) %22, i32 noundef %148, i32 noundef %149)
  store i32 %150, ptr %16, align 4, !tbaa !41
  %151 = getelementptr inbounds %"struct.glslang::TDefaultGlslIoResolver", ptr %22, i32 0, i32 4
  %152 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapIiS_INSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEES8_IiESaISA_IKiSE_EEEixERSG_(ptr noundef nonnull align 8 dereferenceable(48) %151, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %153 = call noundef zeroext i1 @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %152) #3
  br i1 %153, label %182, label %154

154:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  %155 = getelementptr inbounds %"struct.glslang::TDefaultGlslIoResolver", ptr %22, i32 0, i32 4
  %156 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapIiS_INSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEES8_IiESaISA_IKiSE_EEEixERSG_(ptr noundef nonnull align 8 dereferenceable(48) %155, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %157 = load ptr, ptr %9, align 8, !tbaa !5
  %158 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEE4findERSB_(ptr noundef nonnull align 8 dereferenceable(48) %156, ptr noundef nonnull align 8 dereferenceable(40) %157)
  %159 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %17, i32 0, i32 0
  store ptr %158, ptr %159, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  %160 = getelementptr inbounds %"struct.glslang::TDefaultGlslIoResolver", ptr %22, i32 0, i32 4
  %161 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapIiS_INSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEES8_IiESaISA_IKiSE_EEEixERSG_(ptr noundef nonnull align 8 dereferenceable(48) %160, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %162 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %161) #3
  %163 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %18, i32 0, i32 0
  store ptr %162, ptr %163, align 8
  %164 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiEESD_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  br i1 %164, label %165, label %169

165:                                              ; preds = %154
  store i8 1, ptr %13, align 1, !tbaa !42
  %166 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #3
  %167 = getelementptr inbounds %"struct.std::pair", ptr %166, i32 0, i32 1
  %168 = load i32, ptr %167, align 8, !tbaa !45
  store i32 %168, ptr %12, align 4, !tbaa !41
  br label %169

169:                                              ; preds = %165, %154
  %170 = load i8, ptr %13, align 1, !tbaa !42, !range !50, !noundef !51
  %171 = trunc i8 %170 to i1
  br i1 %171, label %181, label %172

172:                                              ; preds = %169
  %173 = load i32, ptr %16, align 4, !tbaa !41
  %174 = load i32, ptr %11, align 4, !tbaa !41
  %175 = call noundef i32 @_ZN7glslang22TDefaultIoResolverBase11getFreeSlotEiii(ptr noundef nonnull align 8 dereferenceable(224) %22, i32 noundef %173, i32 noundef 0, i32 noundef %174)
  store i32 %175, ptr %12, align 4, !tbaa !41
  %176 = load i32, ptr %12, align 4, !tbaa !41
  %177 = getelementptr inbounds %"struct.glslang::TDefaultGlslIoResolver", ptr %22, i32 0, i32 4
  %178 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapIiS_INSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEES8_IiESaISA_IKiSE_EEEixERSG_(ptr noundef nonnull align 8 dereferenceable(48) %177, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %179 = load ptr, ptr %9, align 8, !tbaa !5
  %180 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %178, ptr noundef nonnull align 8 dereferenceable(40) %179)
  store i32 %176, ptr %180, align 4, !tbaa !41
  br label %181

181:                                              ; preds = %172, %169
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  br label %200

182:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 48, ptr %19) #3
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #3
  %183 = load i32, ptr %16, align 4, !tbaa !41
  %184 = load i32, ptr %11, align 4, !tbaa !41
  %185 = invoke noundef i32 @_ZN7glslang22TDefaultIoResolverBase11getFreeSlotEiii(ptr noundef nonnull align 8 dereferenceable(224) %22, i32 noundef %183, i32 noundef 0, i32 noundef %184)
          to label %186 unwind label %196

186:                                              ; preds = %182
  store i32 %185, ptr %12, align 4, !tbaa !41
  %187 = load i32, ptr %12, align 4, !tbaa !41
  %188 = load ptr, ptr %9, align 8, !tbaa !5
  %189 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 8 dereferenceable(40) %188)
          to label %190 unwind label %196

190:                                              ; preds = %186
  store i32 %187, ptr %189, align 4, !tbaa !41
  %191 = getelementptr inbounds %"struct.glslang::TDefaultGlslIoResolver", ptr %22, i32 0, i32 4
  %192 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapIiS_INSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEES8_IiESaISA_IKiSE_EEEixERSG_(ptr noundef nonnull align 8 dereferenceable(48) %191, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %193 unwind label %196

193:                                              ; preds = %190
  %194 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEEaSERKSE_(ptr noundef nonnull align 8 dereferenceable(48) %192, ptr noundef nonnull align 8 dereferenceable(48) %19)
          to label %195 unwind label %196

195:                                              ; preds = %193
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #3
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #3
  br label %200

196:                                              ; preds = %193, %190, %186, %182
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %20, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %21, align 4
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #3
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  br label %206

200:                                              ; preds = %195, %181
  %201 = load i32, ptr %12, align 4, !tbaa !41
  %202 = load ptr, ptr %7, align 8, !tbaa !5
  %203 = getelementptr inbounds %"struct.glslang::TVarEntryInfo", ptr %202, i32 0, i32 5
  store i32 %201, ptr %203, align 4, !tbaa !37
  store i32 %201, ptr %4, align 4
  store i32 1, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  br label %204

204:                                              ; preds = %200, %111, %98, %84, %59, %49
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  %205 = load i32, ptr %4, align 4
  ret i32 %205

206:                                              ; preds = %196
  %207 = load ptr, ptr %20, align 8
  %208 = load i32, ptr %21, align 4
  %209 = insertvalue { ptr, i32 } poison, ptr %207, 0
  %210 = insertvalue { ptr, i32 } %209, i32 %208, 1
  resume { ptr, i32 } %210
}

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

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

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

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

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

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

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

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

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

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

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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, !6, i64 8}
!12 = !{!"_ZTSN7glslang13TVarEntryInfoE", !13, i64 0, !6, i64 8, !14, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !15, i64 32, !15, i64 36, !10, i64 40}
!13 = !{!"long long", !7, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"vtable pointer", !8, i64 0}
!18 = !{!19, !10, i64 228}
!19 = !{!"_ZTSN7glslang22TDefaultGlslIoResolverE", !20, i64 0, !10, i64 224, !10, i64 228, !28, i64 232, !28, i64 280}
!20 = !{!"_ZTSN7glslang22TDefaultIoResolverBaseE", !21, i64 0, !22, i64 8, !14, i64 64, !6, i64 72, !15, i64 80, !15, i64 84, !15, i64 88, !7, i64 92, !7, i64 112}
!21 = !{!"_ZTSN7glslang14TIoMapResolverE"}
!22 = !{!"_ZTSSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEE", !23, i64 0}
!23 = !{!"_ZTSSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !24, i64 8, !25, i64 16, !24, i64 24, !26, i64 32, !6, i64 48}
!24 = !{!"long", !7, i64 0}
!25 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!26 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !27, i64 0, !24, i64 8}
!27 = !{!"float", !7, i64 0}
!28 = !{!"_ZTSSt3mapIiS_INSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEES8_IiESaISA_IKiSE_EEE", !29, i64 0}
!29 = !{!"_ZTSSt8_Rb_treeIiSt4pairIKiSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessISA_ESaIS0_IKSA_iEEEESt10_Select1stISH_ESB_IiESaISH_EE", !30, i64 0}
!30 = !{!"_ZTSNSt8_Rb_treeIiSt4pairIKiSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessISA_ESaIS0_IKSA_iEEEESt10_Select1stISH_ESB_IiESaISH_EE13_Rb_tree_implISK_Lb1EEE", !31, i64 0, !33, i64 8}
!31 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !32, i64 0}
!32 = !{!"_ZTSSt4lessIiE"}
!33 = !{!"_ZTSSt15_Rb_tree_header", !34, i64 0, !24, i64 32}
!34 = !{!"_ZTSSt18_Rb_tree_node_base", !35, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!35 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!36 = !{!19, !10, i64 224}
!37 = !{!12, !15, i64 28}
!38 = !{!39, !6, i64 0}
!39 = !{!"_ZTSN7glslang8TTypeLocE", !6, i64 0, !40, i64 8}
!40 = !{!"_ZTSN7glslang10TSourceLocE", !6, i64 0, !15, i64 8, !15, i64 12, !15, i64 16}
!41 = !{!15, !15, i64 0}
!42 = !{!14, !14, i64 0}
!43 = !{!44, !44, i64 0}
!44 = !{!"_ZTSN7glslang17TStorageQualifierE", !7, i64 0}
!45 = !{!46, !15, i64 40}
!46 = !{!"_ZTSSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiE", !47, i64 0, !15, i64 40}
!47 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEE", !48, i64 0, !24, i64 16, !7, i64 24}
!48 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE12_Alloc_hiderE", !49, i64 0, !6, i64 8}
!49 = !{!"_ZTSN7glslang14pool_allocatorIcEE", !6, i64 0}
!50 = !{i8 0, i8 2}
!51 = !{}


; 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.std::_Rb_tree_iterator" = type { ptr }
%"class.std::map.115" = type { %"class.std::_Rb_tree.116" }
%"class.std::_Rb_tree.116" = 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>>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, int>>, 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>>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, int>>, 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 }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK7glslang22TDefaultIoResolverBase21doAutoLocationMappingEv(ptr noundef nonnull align 8 dereferenceable(224)) local_unnamed_addr #0 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7glslang22TDefaultIoResolverBase23computeTypeLocationSizeERKNS_5TTypeE11EShLanguage(ptr noundef nonnull align 8 dereferenceable(224), ptr noundef nonnull align 8 dereferenceable(144), i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7glslang22TDefaultGlslIoResolver20resolveInOutLocationE11EShLanguageRNS_13TVarEntryInfoE(ptr noundef nonnull align 8 dereferenceable(328) %0, i32 noundef %1, ptr nocapture noundef nonnull align 8 dereferenceable(48) %2) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %6 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %7 = alloca %"class.std::map.115", align 8
  %8 = getelementptr inbounds i8, ptr %2, i64 8
  %9 = load ptr, ptr %8, align 8, !tbaa !5
  %10 = load ptr, ptr %9, align 8, !tbaa !14
  %11 = getelementptr inbounds i8, ptr %10, i64 240
  %12 = load ptr, ptr %11, align 8
  %13 = tail call noundef nonnull align 8 dereferenceable(144) ptr %12(ptr noundef nonnull align 8 dereferenceable(176) %9)
  %14 = load ptr, ptr %8, align 8, !tbaa !5
  %15 = load ptr, ptr %14, align 8, !tbaa !14
  %16 = getelementptr inbounds i8, ptr %15, i64 408
  %17 = load ptr, ptr %16, align 8
  %18 = tail call noundef nonnull align 8 dereferenceable(40) ptr %17(ptr noundef nonnull align 8 dereferenceable(256) %14)
  %19 = getelementptr inbounds i8, ptr %0, i64 228
  %20 = load i32, ptr %19, align 4, !tbaa !16
  %.not = icmp eq i32 %20, %1
  br i1 %.not, label %23, label %21

21:                                               ; preds = %3
  %22 = getelementptr inbounds i8, ptr %0, i64 224
  store i32 %20, ptr %22, align 8, !tbaa !34
  store i32 %1, ptr %19, align 4, !tbaa !16
  br label %23

23:                                               ; preds = %21, %3
  %24 = tail call noundef zeroext i1 @_ZNK7glslang22TDefaultIoResolverBase21doAutoLocationMappingEv(ptr noundef nonnull align 8 dereferenceable(224) %0)
  br i1 %24, label %27, label %25

25:                                               ; preds = %23
  %26 = getelementptr inbounds i8, ptr %2, i64 28
  store i32 -1, ptr %26, align 4, !tbaa !35
  br label %128

27:                                               ; preds = %23
  %28 = load ptr, ptr %13, align 8, !tbaa !14
  %29 = getelementptr inbounds i8, ptr %28, i64 88
  %30 = load ptr, ptr %29, align 8
  %31 = tail call noundef nonnull align 8 dereferenceable(72) ptr %30(ptr noundef nonnull align 8 dereferenceable(144) %13)
  %32 = tail call noundef zeroext i1 @_ZNK7glslang10TQualifier11hasLocationEv(ptr noundef nonnull align 8 dereferenceable(72) %31)
  %33 = load ptr, ptr %13, align 8, !tbaa !14
  br i1 %32, label %34, label %43

34:                                               ; preds = %27
  %35 = getelementptr inbounds i8, ptr %33, i64 88
  %36 = load ptr, ptr %35, align 8
  %37 = tail call noundef nonnull align 8 dereferenceable(72) ptr %36(ptr noundef nonnull align 8 dereferenceable(144) %13)
  %38 = getelementptr inbounds i8, ptr %37, i64 28
  %39 = load i64, ptr %38, align 4
  %40 = trunc i64 %39 to i32
  %41 = and i32 %40, 4095
  %42 = getelementptr inbounds i8, ptr %2, i64 28
  store i32 %41, ptr %42, align 4, !tbaa !35
  br label %128

43:                                               ; preds = %27
  %44 = getelementptr inbounds i8, ptr %33, i64 312
  %45 = load ptr, ptr %44, align 8
  %46 = tail call noundef zeroext i1 %45(ptr noundef nonnull align 8 dereferenceable(144) %13)
  br i1 %46, label %53, label %47

47:                                               ; preds = %43
  %48 = load ptr, ptr %13, align 8, !tbaa !14
  %49 = getelementptr inbounds i8, ptr %48, i64 88
  %50 = load ptr, ptr %49, align 8
  %51 = tail call noundef nonnull align 8 dereferenceable(72) ptr %50(ptr noundef nonnull align 8 dereferenceable(144) %13)
  %52 = tail call noundef zeroext i1 @_ZNK7glslang10TQualifier16hasSprivDecorateEv(ptr noundef nonnull align 8 dereferenceable(72) %51)
  br i1 %52, label %53, label %55

53:                                               ; preds = %47, %43
  %54 = getelementptr inbounds i8, ptr %2, i64 28
  store i32 -1, ptr %54, align 4, !tbaa !35
  br label %128

55:                                               ; preds = %47
  %56 = load ptr, ptr %13, align 8, !tbaa !14
  %57 = getelementptr inbounds i8, ptr %56, i64 280
  %58 = load ptr, ptr %57, align 8
  %59 = tail call noundef zeroext i1 %58(ptr noundef nonnull align 8 dereferenceable(144) %13)
  br i1 %59, label %60, label %76

60:                                               ; preds = %55
  %61 = tail call noundef ptr @_ZNK7glslang5TType9getStructEv(ptr noundef nonnull align 8 dereferenceable(144) %13)
  %62 = tail call noundef i64 @_ZNKSt6vectorIN7glslang8TTypeLocENS0_14pool_allocatorIS1_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %61) #3
  %63 = icmp eq i64 %62, 0
  br i1 %63, label %64, label %66

64:                                               ; preds = %60
  %65 = getelementptr inbounds i8, ptr %2, i64 28
  store i32 -1, ptr %65, align 4, !tbaa !35
  br label %128

66:                                               ; preds = %60
  %67 = tail call noundef ptr @_ZNK7glslang5TType9getStructEv(ptr noundef nonnull align 8 dereferenceable(144) %13)
  %68 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorIN7glslang8TTypeLocENS0_14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %67, i64 noundef 0) #3
  %69 = load ptr, ptr %68, align 8, !tbaa !36
  %70 = load ptr, ptr %69, align 8, !tbaa !14
  %71 = getelementptr inbounds i8, ptr %70, i64 312
  %72 = load ptr, ptr %71, align 8
  %73 = tail call noundef zeroext i1 %72(ptr noundef nonnull align 8 dereferenceable(144) %69)
  br i1 %73, label %74, label %76

74:                                               ; preds = %66
  %75 = getelementptr inbounds i8, ptr %2, i64 28
  store i32 -1, ptr %75, align 4, !tbaa !35
  br label %128

76:                                               ; preds = %66, %55
  %77 = tail call noundef i32 @_ZN7glslang22TDefaultIoResolverBase23computeTypeLocationSizeERKNS_5TTypeE11EShLanguage(ptr noundef nonnull align 8 dereferenceable(224) %0, ptr noundef nonnull align 8 dereferenceable(144) %13, i32 noundef %1)
  %78 = load ptr, ptr %13, align 8, !tbaa !14
  %79 = getelementptr inbounds i8, ptr %78, i64 88
  %80 = load ptr, ptr %79, align 8
  %81 = tail call noundef nonnull align 8 dereferenceable(72) ptr %80(ptr noundef nonnull align 8 dereferenceable(144) %13)
  %82 = load ptr, ptr %13, align 8, !tbaa !14
  %83 = getelementptr inbounds i8, ptr %82, i64 88
  %84 = load ptr, ptr %83, align 8
  %85 = tail call noundef nonnull align 8 dereferenceable(72) ptr %84(ptr noundef nonnull align 8 dereferenceable(144) %13)
  %86 = tail call noundef zeroext i1 @_ZNK7glslang10TQualifier11isPipeInputEv(ptr noundef nonnull align 8 dereferenceable(72) %85)
  %87 = getelementptr inbounds i8, ptr %0, i64 224
  %88 = load i32, ptr %87, align 8
  %.037 = select i1 %86, i32 %88, i32 14
  %89 = load ptr, ptr %13, align 8, !tbaa !14
  %90 = getelementptr inbounds i8, ptr %89, i64 88
  %91 = load ptr, ptr %90, align 8
  %92 = tail call noundef nonnull align 8 dereferenceable(72) ptr %91(ptr noundef nonnull align 8 dereferenceable(144) %13)
  %93 = tail call noundef zeroext i1 @_ZNK7glslang10TQualifier12isPipeOutputEv(ptr noundef nonnull align 8 dereferenceable(72) %92)
  %94 = load i32, ptr %19, align 4
  %.138 = select i1 %93, i32 %94, i32 %.037
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
  %95 = tail call noundef i32 @_ZN7glslang22TDefaultGlslIoResolver15buildStorageKeyE11EShLanguageNS_17TStorageQualifierE(ptr noundef nonnull align 8 dereferenceable(328) %0, i32 noundef %.138, i32 noundef 16)
  store i32 %95, ptr %4, align 4, !tbaa !39
  %96 = getelementptr inbounds i8, ptr %0, i64 280
  %97 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapIiS_INSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEES8_IiESaISA_IKiSE_EEEixERSG_(ptr noundef nonnull align 8 dereferenceable(48) %96, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %98 = call noundef zeroext i1 @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %97) #3
  br i1 %98, label %114, label %99

99:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  %100 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapIiS_INSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEES8_IiESaISA_IKiSE_EEEixERSG_(ptr noundef nonnull align 8 dereferenceable(48) %96, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %101 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEE4findERSB_(ptr noundef nonnull align 8 dereferenceable(48) %100, ptr noundef nonnull align 8 dereferenceable(40) %18)
  store ptr %101, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  %102 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapIiS_INSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEES8_IiESaISA_IKiSE_EEEixERSG_(ptr noundef nonnull align 8 dereferenceable(48) %96, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %103 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %102) #3
  store ptr %103, ptr %6, align 8
  %104 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiEESD_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  br i1 %104, label %.thread, label %108

.thread:                                          ; preds = %99
  %105 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #3
  %106 = getelementptr inbounds i8, ptr %105, i64 40
  %107 = load i32, ptr %106, align 8, !tbaa !40
  br label %113

108:                                              ; preds = %99
  %109 = load i32, ptr %4, align 4, !tbaa !39
  %110 = call noundef i32 @_ZN7glslang22TDefaultIoResolverBase11getFreeSlotEiii(ptr noundef nonnull align 8 dereferenceable(224) %0, i32 noundef %109, i32 noundef 0, i32 noundef %77)
  %111 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapIiS_INSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEES8_IiESaISA_IKiSE_EEEixERSG_(ptr noundef nonnull align 8 dereferenceable(48) %96, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %112 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %111, ptr noundef nonnull align 8 dereferenceable(40) %18)
  store i32 %110, ptr %112, align 4, !tbaa !39
  br label %113

113:                                              ; preds = %.thread, %108
  %.1 = phi i32 [ %110, %108 ], [ %107, %.thread ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  br label %126

114:                                              ; preds = %76
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %7) #3
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #3
  %115 = load i32, ptr %4, align 4, !tbaa !39
  %116 = invoke noundef i32 @_ZN7glslang22TDefaultIoResolverBase11getFreeSlotEiii(ptr noundef nonnull align 8 dereferenceable(224) %0, i32 noundef %115, i32 noundef 0, i32 noundef %77)
          to label %117 unwind label %124

117:                                              ; preds = %114
  %118 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 8 dereferenceable(40) %18)
          to label %119 unwind label %124

119:                                              ; preds = %117
  store i32 %116, ptr %118, align 4, !tbaa !39
  %120 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapIiS_INSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEES8_IiESaISA_IKiSE_EEEixERSG_(ptr noundef nonnull align 8 dereferenceable(48) %96, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %121 unwind label %124

121:                                              ; preds = %119
  %122 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEEaSERKSE_(ptr noundef nonnull align 8 dereferenceable(48) %120, ptr noundef nonnull align 8 dereferenceable(48) %7)
          to label %123 unwind label %124

123:                                              ; preds = %121
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #3
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #3
  br label %126

124:                                              ; preds = %121, %119, %117, %114
  %125 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #3
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
  resume { ptr, i32 } %125

126:                                              ; preds = %123, %113
  %.2 = phi i32 [ %116, %123 ], [ %.1, %113 ]
  %127 = getelementptr inbounds i8, ptr %2, i64 28
  store i32 %.2, ptr %127, align 4, !tbaa !35
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
  br label %128

128:                                              ; preds = %126, %74, %64, %53, %34, %25
  %.0 = phi i32 [ %41, %34 ], [ -1, %53 ], [ -1, %64 ], [ -1, %74 ], [ %.2, %126 ], [ -1, %25 ]
  ret i32 %.0
}

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

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

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

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

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

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

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

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

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

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

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress 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 #3 = { 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, !10, i64 8}
!6 = !{!"_ZTSN7glslang13TVarEntryInfoE", !7, i64 0, !10, i64 8, !11, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !13, i64 40}
!7 = !{!"long long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"bool", !8, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!"_ZTS11EShLanguage", !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"vtable pointer", !9, i64 0}
!16 = !{!17, !13, i64 228}
!17 = !{!"_ZTSN7glslang22TDefaultGlslIoResolverE", !18, i64 0, !13, i64 224, !13, i64 228, !26, i64 232, !26, i64 280}
!18 = !{!"_ZTSN7glslang22TDefaultIoResolverBaseE", !19, i64 0, !20, i64 8, !11, i64 64, !10, i64 72, !12, i64 80, !12, i64 84, !12, i64 88, !8, i64 92, !8, i64 112}
!19 = !{!"_ZTSN7glslang14TIoMapResolverE"}
!20 = !{!"_ZTSSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEE", !21, i64 0}
!21 = !{!"_ZTSSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE", !10, i64 0, !22, i64 8, !23, i64 16, !22, i64 24, !24, i64 32, !10, i64 48}
!22 = !{!"long", !8, i64 0}
!23 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !10, i64 0}
!24 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !25, i64 0, !22, i64 8}
!25 = !{!"float", !8, i64 0}
!26 = !{!"_ZTSSt3mapIiS_INSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessIS7_ESaISt4pairIKS7_iEEES8_IiESaISA_IKiSE_EEE", !27, i64 0}
!27 = !{!"_ZTSSt8_Rb_treeIiSt4pairIKiSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessISA_ESaIS0_IKSA_iEEEESt10_Select1stISH_ESB_IiESaISH_EE", !28, i64 0}
!28 = !{!"_ZTSNSt8_Rb_treeIiSt4pairIKiSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4lessISA_ESaIS0_IKSA_iEEEESt10_Select1stISH_ESB_IiESaISH_EE13_Rb_tree_implISK_Lb1EEE", !29, i64 0, !31, i64 8}
!29 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !30, i64 0}
!30 = !{!"_ZTSSt4lessIiE"}
!31 = !{!"_ZTSSt15_Rb_tree_header", !32, i64 0, !22, i64 32}
!32 = !{!"_ZTSSt18_Rb_tree_node_base", !33, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!33 = !{!"_ZTSSt14_Rb_tree_color", !8, i64 0}
!34 = !{!17, !13, i64 224}
!35 = !{!6, !12, i64 28}
!36 = !{!37, !10, i64 0}
!37 = !{!"_ZTSN7glslang8TTypeLocE", !10, i64 0, !38, i64 8}
!38 = !{!"_ZTSN7glslang10TSourceLocE", !10, i64 0, !12, i64 8, !12, i64 12, !12, i64 16}
!39 = !{!12, !12, i64 0}
!40 = !{!41, !12, i64 40}
!41 = !{!"_ZTSSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiE", !42, i64 0, !12, i64 40}
!42 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEE", !43, i64 0, !22, i64 16, !8, i64 24}
!43 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE12_Alloc_hiderE", !44, i64 0, !10, i64 8}
!44 = !{!"_ZTSN7glslang14pool_allocatorIcEE", !10, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass