; 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::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" }
%"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.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.glslang::TNotifyInOutAdaptor" = type { i32, ptr }
%"struct.glslang::TNotifyUniformAdaptor" = type { i32, ptr }
%"struct.std::_Rb_tree_iterator.162" = type { ptr }
%"struct.glslang::TSlotCollector" = type { ptr, ptr }
%"class.glslang::TGlslIoMapper" = type { %"class.glslang::TIoMapper", [14 x ptr], [14 x ptr], [14 x ptr], [14 x ptr], i8, i32, i32, %"class.std::__cxx11::basic_string.105", i32, i32 }
%"class.glslang::TIoMapper" = type { 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 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 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 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: 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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7glslang14TLiveTraverserD2Ev(ptr noundef nonnull align 8 dereferenceable(201)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7glslang13TGlslIoMapper8addStageE11EShLanguageRNS_13TIntermediateER9TInfoSinkPNS_14TIoMapResolverE(ptr noundef nonnull align 8 dereferenceable(520) %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::TDefaultGlslIoResolver", align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca %"class.glslang::TVarGatherTraverser", align 8
  %20 = alloca %"class.glslang::TVarGatherTraverser", align 8
  %21 = alloca %"class.std::__cxx11::basic_string.105", align 8
  %22 = alloca %"class.glslang::pool_allocator", align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"struct.glslang::TNotifyInOutAdaptor", align 8
  %25 = alloca %"struct.glslang::TNotifyUniformAdaptor", align 8
  %26 = alloca %"struct.std::_Rb_tree_iterator.162", align 8
  %27 = alloca %"struct.std::_Rb_tree_iterator.162", align 8
  %28 = alloca %"struct.glslang::TNotifyInOutAdaptor", align 8
  %29 = alloca %"struct.glslang::TNotifyInOutAdaptor", align 8
  %30 = alloca %"struct.std::_Rb_tree_iterator.162", align 8
  %31 = alloca %"struct.std::_Rb_tree_iterator.162", align 8
  %32 = alloca %"struct.glslang::TNotifyInOutAdaptor", align 8
  %33 = alloca %"struct.glslang::TNotifyInOutAdaptor", align 8
  %34 = alloca %"struct.std::_Rb_tree_iterator.162", align 8
  %35 = alloca %"struct.std::_Rb_tree_iterator.162", align 8
  %36 = alloca %"struct.glslang::TNotifyUniformAdaptor", align 8
  %37 = alloca %"struct.glslang::TNotifyUniformAdaptor", align 8
  %38 = alloca %"struct.glslang::TSlotCollector", align 8
  %39 = alloca %"struct.std::_Rb_tree_iterator.162", align 8
  %40 = alloca %"struct.std::_Rb_tree_iterator.162", align 8
  %41 = alloca %"struct.glslang::TSlotCollector", align 8
  %42 = alloca %"struct.glslang::TSlotCollector", align 8
  %43 = alloca %"struct.std::_Rb_tree_iterator.162", align 8
  %44 = alloca %"struct.std::_Rb_tree_iterator.162", align 8
  %45 = alloca %"struct.glslang::TSlotCollector", align 8
  %46 = alloca %"struct.glslang::TSlotCollector", align 8
  %47 = alloca %"struct.std::_Rb_tree_iterator.162", align 8
  %48 = alloca %"struct.std::_Rb_tree_iterator.162", align 8
  %49 = alloca %"struct.glslang::TSlotCollector", align 8
  %50 = alloca %"struct.glslang::TSlotCollector", 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
  %51 = load ptr, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #7
  %52 = load ptr, ptr %9, align 8, !tbaa !5
  %53 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7glslang13TIntermediate21getResourceSetBindingB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(1784) %52)
  %54 = call noundef zeroext i1 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %53) #7
  br i1 %54, label %55, label %61

55:                                               ; preds = %5
  %56 = load ptr, ptr %9, align 8, !tbaa !5
  %57 = call noundef zeroext i1 @_ZNK7glslang13TIntermediate18getAutoMapBindingsEv(ptr noundef nonnull align 8 dereferenceable(1784) %56)
  br i1 %57, label %61, label %58

58:                                               ; preds = %55
  %59 = load ptr, ptr %9, align 8, !tbaa !5
  %60 = call noundef zeroext i1 @_ZNK7glslang13TIntermediate19getAutoMapLocationsEv(ptr noundef nonnull align 8 dereferenceable(1784) %59)
  br label %61

61:                                               ; preds = %58, %55, %5
  %62 = phi i1 [ true, %55 ], [ true, %5 ], [ %60, %58 ]
  %63 = zext i1 %62 to i8
  store i8 %63, ptr %12, align 1, !tbaa !11
  %64 = load ptr, ptr %9, align 8, !tbaa !5
  %65 = call noundef i32 @_ZNK7glslang13TIntermediate10getProfileEv(ptr noundef nonnull align 8 dereferenceable(1784) %64)
  %66 = getelementptr inbounds %"class.glslang::TGlslIoMapper", ptr %51, i32 0, i32 6
  store i32 %65, ptr %66, align 4, !tbaa !13
  %67 = load ptr, ptr %9, align 8, !tbaa !5
  %68 = call noundef i32 @_ZNK7glslang13TIntermediate10getVersionEv(ptr noundef nonnull align 8 dereferenceable(1784) %67)
  %69 = getelementptr inbounds %"class.glslang::TGlslIoMapper", ptr %51, i32 0, i32 7
  store i32 %68, ptr %69, align 8, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store i32 0, ptr %13, align 4, !tbaa !24
  br label %70

70:                                               ; preds = %95, %61
  %71 = load i32, ptr %13, align 4, !tbaa !24
  %72 = icmp slt i32 %71, 6
  br i1 %72, label %73, label %77

73:                                               ; preds = %70
  %74 = load i8, ptr %12, align 1, !tbaa !11, !range !25, !noundef !26
  %75 = trunc i8 %74 to i1
  %76 = xor i1 %75, true
  br label %77

77:                                               ; preds = %73, %70
  %78 = phi i1 [ false, %70 ], [ %76, %73 ]
  br i1 %78, label %80, label %79

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

80:                                               ; preds = %77
  %81 = load i8, ptr %12, align 1, !tbaa !11, !range !25, !noundef !26
  %82 = trunc i8 %81 to i1
  br i1 %82, label %92, label %83

83:                                               ; preds = %80
  %84 = load ptr, ptr %9, align 8, !tbaa !5
  %85 = load i32, ptr %13, align 4, !tbaa !24
  %86 = call noundef i32 @_ZNK7glslang13TIntermediate15getShiftBindingENS_13TResourceTypeE(ptr noundef nonnull align 8 dereferenceable(1784) %84, i32 noundef %85)
  %87 = icmp ne i32 %86, 0
  br i1 %87, label %92, label %88

88:                                               ; preds = %83
  %89 = load ptr, ptr %9, align 8, !tbaa !5
  %90 = load i32, ptr %13, align 4, !tbaa !24
  %91 = call noundef zeroext i1 @_ZNK7glslang13TIntermediate21hasShiftBindingForSetENS_13TResourceTypeE(ptr noundef nonnull align 8 dereferenceable(1784) %89, i32 noundef %90)
  br label %92

92:                                               ; preds = %88, %83, %80
  %93 = phi i1 [ true, %83 ], [ true, %80 ], [ %91, %88 ]
  %94 = zext i1 %93 to i8
  store i8 %94, ptr %12, align 1, !tbaa !11
  br label %95

95:                                               ; preds = %92
  %96 = load i32, ptr %13, align 4, !tbaa !24
  %97 = add nsw i32 %96, 1
  store i32 %97, ptr %13, align 4, !tbaa !24
  br label %70, !llvm.loop !27

98:                                               ; preds = %79
  %99 = load i8, ptr %12, align 1, !tbaa !11, !range !25, !noundef !26
  %100 = trunc i8 %99 to i1
  br i1 %100, label %105, label %101

101:                                              ; preds = %98
  %102 = load ptr, ptr %11, align 8, !tbaa !5
  %103 = icmp eq ptr %102, null
  br i1 %103, label %104, label %105

104:                                              ; preds = %101
  store i1 true, ptr %6, align 1
  store i32 1, ptr %14, align 4
  br label %474

105:                                              ; preds = %101, %98
  %106 = load ptr, ptr %9, align 8, !tbaa !5
  %107 = call noundef i32 @_ZNK7glslang13TIntermediate17getNumEntryPointsEv(ptr noundef nonnull align 8 dereferenceable(1784) %106)
  %108 = icmp ne i32 %107, 1
  br i1 %108, label %112, label %109

109:                                              ; preds = %105
  %110 = load ptr, ptr %9, align 8, !tbaa !5
  %111 = call noundef zeroext i1 @_ZNK7glslang13TIntermediate11isRecursiveEv(ptr noundef nonnull align 8 dereferenceable(1784) %110)
  br i1 %111, label %112, label %113

112:                                              ; preds = %109, %105
  store i1 false, ptr %6, align 1
  store i32 1, ptr %14, align 4
  br label %474

113:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %114 = load ptr, ptr %9, align 8, !tbaa !5
  %115 = call noundef ptr @_ZNK7glslang13TIntermediate11getTreeRootEv(ptr noundef nonnull align 8 dereferenceable(1784) %114)
  store ptr %115, ptr %15, align 8, !tbaa !5
  %116 = load ptr, ptr %15, align 8, !tbaa !5
  %117 = icmp eq ptr %116, null
  br i1 %117, label %118, label %119

118:                                              ; preds = %113
  store i1 false, ptr %6, align 1
  store i32 1, ptr %14, align 4
  br label %473

119:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 328, ptr %16) #7
  %120 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN7glslang22TDefaultGlslIoResolverC1ERKNS_13TIntermediateE(ptr noundef nonnull align 8 dereferenceable(328) %16, ptr noundef nonnull align 8 dereferenceable(1784) %120)
  %121 = load ptr, ptr %11, align 8, !tbaa !5
  %122 = icmp eq ptr %121, null
  br i1 %122, label %123, label %124

123:                                              ; preds = %119
  store ptr %16, ptr %11, align 8, !tbaa !5
  br label %124

124:                                              ; preds = %123, %119
  %125 = load ptr, ptr %11, align 8, !tbaa !5
  %126 = load i32, ptr %8, align 4, !tbaa !9
  %127 = load ptr, ptr %9, align 8, !tbaa !5
  %128 = load ptr, ptr %125, align 8, !tbaa !29
  %129 = getelementptr inbounds ptr, ptr %128, i64 20
  %130 = load ptr, ptr %129, align 8
  invoke void %130(ptr noundef nonnull align 8 dereferenceable(8) %125, i32 noundef %126, ptr noundef nonnull align 8 dereferenceable(1784) %127)
          to label %131 unwind label %210

131:                                              ; preds = %124
  %132 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 48) #8
          to label %133 unwind label %210

133:                                              ; preds = %131
  call void @llvm.memset.p0.i64(ptr align 16 %132, i8 0, i64 48, i1 false)
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %132) #7
  %134 = getelementptr inbounds %"class.glslang::TGlslIoMapper", ptr %51, i32 0, i32 1
  %135 = load i32, ptr %8, align 4, !tbaa !9
  %136 = zext i32 %135 to i64
  %137 = getelementptr inbounds [14 x ptr], ptr %134, i64 0, i64 %136
  store ptr %132, ptr %137, align 8, !tbaa !5
  %138 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 48) #8
          to label %139 unwind label %210

139:                                              ; preds = %133
  call void @llvm.memset.p0.i64(ptr align 16 %138, i8 0, i64 48, i1 false)
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %138) #7
  %140 = getelementptr inbounds %"class.glslang::TGlslIoMapper", ptr %51, i32 0, i32 2
  %141 = load i32, ptr %8, align 4, !tbaa !9
  %142 = zext i32 %141 to i64
  %143 = getelementptr inbounds [14 x ptr], ptr %140, i64 0, i64 %142
  store ptr %138, ptr %143, align 8, !tbaa !5
  %144 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 48) #8
          to label %145 unwind label %210

145:                                              ; preds = %139
  call void @llvm.memset.p0.i64(ptr align 16 %144, i8 0, i64 48, i1 false)
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %144) #7
  %146 = getelementptr inbounds %"class.glslang::TGlslIoMapper", ptr %51, i32 0, i32 3
  %147 = load i32, ptr %8, align 4, !tbaa !9
  %148 = zext i32 %147 to i64
  %149 = getelementptr inbounds [14 x ptr], ptr %146, i64 0, i64 %148
  store ptr %144, ptr %149, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 232, ptr %19) #7
  %150 = load ptr, ptr %9, align 8, !tbaa !5
  %151 = getelementptr inbounds %"class.glslang::TGlslIoMapper", ptr %51, i32 0, i32 1
  %152 = load i32, ptr %8, align 4, !tbaa !9
  %153 = zext i32 %152 to i64
  %154 = getelementptr inbounds [14 x ptr], ptr %151, i64 0, i64 %153
  %155 = load ptr, ptr %154, align 8, !tbaa !5
  %156 = getelementptr inbounds %"class.glslang::TGlslIoMapper", ptr %51, i32 0, i32 2
  %157 = load i32, ptr %8, align 4, !tbaa !9
  %158 = zext i32 %157 to i64
  %159 = getelementptr inbounds [14 x ptr], ptr %156, i64 0, i64 %158
  %160 = load ptr, ptr %159, align 8, !tbaa !5
  %161 = getelementptr inbounds %"class.glslang::TGlslIoMapper", ptr %51, i32 0, i32 3
  %162 = load i32, ptr %8, align 4, !tbaa !9
  %163 = zext i32 %162 to i64
  %164 = getelementptr inbounds [14 x ptr], ptr %161, i64 0, i64 %163
  %165 = load ptr, ptr %164, 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) %19, ptr noundef nonnull align 8 dereferenceable(1784) %150, i1 noundef zeroext true, ptr noundef nonnull align 8 dereferenceable(48) %155, ptr noundef nonnull align 8 dereferenceable(48) %160, ptr noundef nonnull align 8 dereferenceable(48) %165)
          to label %166 unwind label %214

166:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 232, ptr %20) #7
  %167 = load ptr, ptr %9, align 8, !tbaa !5
  %168 = getelementptr inbounds %"class.glslang::TGlslIoMapper", ptr %51, i32 0, i32 1
  %169 = load i32, ptr %8, align 4, !tbaa !9
  %170 = zext i32 %169 to i64
  %171 = getelementptr inbounds [14 x ptr], ptr %168, i64 0, i64 %170
  %172 = load ptr, ptr %171, align 8, !tbaa !5
  %173 = getelementptr inbounds %"class.glslang::TGlslIoMapper", ptr %51, i32 0, i32 2
  %174 = load i32, ptr %8, align 4, !tbaa !9
  %175 = zext i32 %174 to i64
  %176 = getelementptr inbounds [14 x ptr], ptr %173, i64 0, i64 %175
  %177 = load ptr, ptr %176, align 8, !tbaa !5
  %178 = getelementptr inbounds %"class.glslang::TGlslIoMapper", ptr %51, i32 0, i32 3
  %179 = load i32, ptr %8, align 4, !tbaa !9
  %180 = zext i32 %179 to i64
  %181 = getelementptr inbounds [14 x ptr], ptr %178, i64 0, i64 %180
  %182 = load ptr, ptr %181, 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) %20, ptr noundef nonnull align 8 dereferenceable(1784) %167, i1 noundef zeroext false, ptr noundef nonnull align 8 dereferenceable(48) %172, ptr noundef nonnull align 8 dereferenceable(48) %177, ptr noundef nonnull align 8 dereferenceable(48) %182)
          to label %183 unwind label %218

183:                                              ; preds = %166
  %184 = load ptr, ptr %15, align 8, !tbaa !5
  %185 = load ptr, ptr %184, align 8, !tbaa !29
  %186 = getelementptr inbounds ptr, ptr %185, i64 2
  %187 = load ptr, ptr %186, align 8
  invoke void %187(ptr noundef nonnull align 8 dereferenceable(32) %184, ptr noundef %19)
          to label %188 unwind label %222

188:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 40, ptr %21) #7
  %189 = load ptr, ptr %9, align 8, !tbaa !5
  %190 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7glslang13TIntermediate24getEntryPointMangledNameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(1784) %189)
          to label %191 unwind label %226

191:                                              ; preds = %188
  %192 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %190) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  invoke void @_ZN7glslang14pool_allocatorIcEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %193 unwind label %230

193:                                              ; preds = %191
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEC2IS5_EEPKcRKS5_(ptr noundef nonnull align 8 dereferenceable(40) %21, ptr noundef %192, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %194 unwind label %230

194:                                              ; preds = %193
  invoke void @_ZN7glslang14TLiveTraverser12pushFunctionERKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE(ptr noundef nonnull align 8 dereferenceable(201) %20, ptr noundef nonnull align 8 dereferenceable(40) %21)
          to label %195 unwind label %234

195:                                              ; preds = %194
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %21) #7
  br label %196

196:                                              ; preds = %209, %195
  %197 = getelementptr inbounds %"class.glslang::TLiveTraverser", ptr %20, i32 0, i32 1
  %198 = call noundef zeroext i1 @_ZNKSt7__cxx114listIPN7glslang16TIntermAggregateESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %197) #7
  %199 = xor i1 %198, true
  br i1 %199, label %200, label %244

200:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %201 = getelementptr inbounds %"class.glslang::TLiveTraverser", ptr %20, i32 0, i32 1
  %202 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt7__cxx114listIPN7glslang16TIntermAggregateESaIS3_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %201) #7
  %203 = load ptr, ptr %202, align 8, !tbaa !5
  store ptr %203, ptr %23, align 8, !tbaa !5
  %204 = getelementptr inbounds %"class.glslang::TLiveTraverser", ptr %20, i32 0, i32 1
  call void @_ZNSt7__cxx114listIPN7glslang16TIntermAggregateESaIS3_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %204) #7
  %205 = load ptr, ptr %23, align 8, !tbaa !5
  %206 = load ptr, ptr %205, align 8, !tbaa !29
  %207 = getelementptr inbounds ptr, ptr %206, i64 2
  %208 = load ptr, ptr %207, align 8
  invoke void %208(ptr noundef nonnull align 8 dereferenceable(32) %205, ptr noundef %20)
          to label %209 unwind label %240

209:                                              ; preds = %200
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  br label %196, !llvm.loop !31

210:                                              ; preds = %139, %133, %131, %124
  %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 %472

214:                                              ; preds = %145
  %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 %471

218:                                              ; preds = %166
  %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 %470

222:                                              ; preds = %183
  %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
  br label %469

226:                                              ; preds = %188
  %227 = landingpad { ptr, i32 }
          cleanup
  %228 = extractvalue { ptr, i32 } %227, 0
  store ptr %228, ptr %17, align 8
  %229 = extractvalue { ptr, i32 } %227, 1
  store i32 %229, ptr %18, align 4
  br label %239

230:                                              ; preds = %193, %191
  %231 = landingpad { ptr, i32 }
          cleanup
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %17, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %18, align 4
  br label %238

234:                                              ; preds = %194
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %17, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %18, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %21) #7
  br label %238

238:                                              ; preds = %234, %230
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  br label %239

239:                                              ; preds = %238, %226
  call void @llvm.lifetime.end.p0(i64 40, ptr %21) #7
  br label %469

240:                                              ; preds = %200
  %241 = landingpad { ptr, i32 }
          cleanup
  %242 = extractvalue { ptr, i32 } %241, 0
  store ptr %242, ptr %17, align 8
  %243 = extractvalue { ptr, i32 } %241, 1
  store i32 %243, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  br label %469

244:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #7
  %245 = load i32, ptr %8, align 4, !tbaa !9
  %246 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @_ZN7glslang19TNotifyInOutAdaptorC2E11EShLanguageRNS_14TIoMapResolverE(ptr noundef nonnull align 8 dereferenceable(16) %24, i32 noundef %245, ptr noundef nonnull align 8 dereferenceable(8) %246)
          to label %247 unwind label %455

247:                                              ; preds = %244
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #7
  %248 = load i32, ptr %8, align 4, !tbaa !9
  %249 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @_ZN7glslang21TNotifyUniformAdaptorC2E11EShLanguageRNS_14TIoMapResolverE(ptr noundef nonnull align 8 dereferenceable(16) %25, i32 noundef %248, ptr noundef nonnull align 8 dereferenceable(8) %249)
          to label %250 unwind label %459

250:                                              ; preds = %247
  %251 = load ptr, ptr %11, align 8, !tbaa !5
  %252 = load i32, ptr %8, align 4, !tbaa !9
  %253 = load ptr, ptr %251, align 8, !tbaa !29
  %254 = getelementptr inbounds ptr, ptr %253, i64 12
  %255 = load ptr, ptr %254, align 8
  invoke void %255(ptr noundef nonnull align 8 dereferenceable(8) %251, i32 noundef %252)
          to label %256 unwind label %459

256:                                              ; preds = %250
  %257 = getelementptr inbounds %"class.glslang::TGlslIoMapper", ptr %51, i32 0, i32 1
  %258 = load i32, ptr %8, align 4, !tbaa !9
  %259 = zext i32 %258 to i64
  %260 = getelementptr inbounds [14 x ptr], ptr %257, i64 0, i64 %259
  %261 = load ptr, ptr %260, align 8, !tbaa !5
  %262 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %261) #7
  %263 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %26, i32 0, i32 0
  store ptr %262, ptr %263, align 8
  %264 = getelementptr inbounds %"class.glslang::TGlslIoMapper", ptr %51, i32 0, i32 1
  %265 = load i32, ptr %8, align 4, !tbaa !9
  %266 = zext i32 %265 to i64
  %267 = getelementptr inbounds [14 x ptr], ptr %264, i64 0, i64 %266
  %268 = load ptr, ptr %267, align 8, !tbaa !5
  %269 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %268) #7
  %270 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %27, i32 0, i32 0
  store ptr %269, ptr %270, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %28, ptr align 8 %24, i64 16, i1 false), !tbaa.struct !32
  %271 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %26, i32 0, i32 0
  %272 = load ptr, ptr %271, align 8
  %273 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %27, i32 0, i32 0
  %274 = load ptr, ptr %273, align 8
  %275 = getelementptr inbounds { i32, ptr }, ptr %28, i32 0, i32 0
  %276 = load i32, ptr %275, align 8
  %277 = getelementptr inbounds { i32, ptr }, ptr %28, i32 0, i32 1
  %278 = load ptr, ptr %277, align 8
  %279 = invoke { i32, ptr } @_ZSt8for_eachISt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS6_13TVarEntryInfoEEENS6_19TNotifyInOutAdaptorEET0_T_SG_SF_(ptr %272, ptr %274, i32 %276, ptr %278)
          to label %280 unwind label %459

280:                                              ; preds = %256
  %281 = getelementptr inbounds { i32, ptr }, ptr %29, i32 0, i32 0
  %282 = extractvalue { i32, ptr } %279, 0
  store i32 %282, ptr %281, align 8
  %283 = getelementptr inbounds { i32, ptr }, ptr %29, i32 0, i32 1
  %284 = extractvalue { i32, ptr } %279, 1
  store ptr %284, ptr %283, align 8
  %285 = getelementptr inbounds %"class.glslang::TGlslIoMapper", ptr %51, i32 0, i32 2
  %286 = load i32, ptr %8, align 4, !tbaa !9
  %287 = zext i32 %286 to i64
  %288 = getelementptr inbounds [14 x ptr], ptr %285, i64 0, i64 %287
  %289 = load ptr, ptr %288, align 8, !tbaa !5
  %290 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %289) #7
  %291 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %30, i32 0, i32 0
  store ptr %290, ptr %291, align 8
  %292 = getelementptr inbounds %"class.glslang::TGlslIoMapper", ptr %51, i32 0, i32 2
  %293 = load i32, ptr %8, align 4, !tbaa !9
  %294 = zext i32 %293 to i64
  %295 = getelementptr inbounds [14 x ptr], ptr %292, i64 0, i64 %294
  %296 = load ptr, ptr %295, align 8, !tbaa !5
  %297 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %296) #7
  %298 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %31, i32 0, i32 0
  store ptr %297, ptr %298, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %32, ptr align 8 %24, i64 16, i1 false), !tbaa.struct !32
  %299 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %30, i32 0, i32 0
  %300 = load ptr, ptr %299, align 8
  %301 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %31, i32 0, i32 0
  %302 = load ptr, ptr %301, align 8
  %303 = getelementptr inbounds { i32, ptr }, ptr %32, i32 0, i32 0
  %304 = load i32, ptr %303, align 8
  %305 = getelementptr inbounds { i32, ptr }, ptr %32, i32 0, i32 1
  %306 = load ptr, ptr %305, align 8
  %307 = invoke { i32, ptr } @_ZSt8for_eachISt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS6_13TVarEntryInfoEEENS6_19TNotifyInOutAdaptorEET0_T_SG_SF_(ptr %300, ptr %302, i32 %304, ptr %306)
          to label %308 unwind label %459

308:                                              ; preds = %280
  %309 = getelementptr inbounds { i32, ptr }, ptr %33, i32 0, i32 0
  %310 = extractvalue { i32, ptr } %307, 0
  store i32 %310, ptr %309, align 8
  %311 = getelementptr inbounds { i32, ptr }, ptr %33, i32 0, i32 1
  %312 = extractvalue { i32, ptr } %307, 1
  store ptr %312, ptr %311, align 8
  %313 = getelementptr inbounds %"class.glslang::TGlslIoMapper", ptr %51, i32 0, i32 3
  %314 = load i32, ptr %8, align 4, !tbaa !9
  %315 = zext i32 %314 to i64
  %316 = getelementptr inbounds [14 x ptr], ptr %313, i64 0, i64 %315
  %317 = load ptr, ptr %316, align 8, !tbaa !5
  %318 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %317) #7
  %319 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %34, i32 0, i32 0
  store ptr %318, ptr %319, align 8
  %320 = getelementptr inbounds %"class.glslang::TGlslIoMapper", ptr %51, i32 0, i32 3
  %321 = load i32, ptr %8, align 4, !tbaa !9
  %322 = zext i32 %321 to i64
  %323 = getelementptr inbounds [14 x ptr], ptr %320, i64 0, i64 %322
  %324 = load ptr, ptr %323, align 8, !tbaa !5
  %325 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %324) #7
  %326 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %35, i32 0, i32 0
  store ptr %325, ptr %326, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %36, ptr align 8 %25, i64 16, i1 false), !tbaa.struct !32
  %327 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %34, i32 0, i32 0
  %328 = load ptr, ptr %327, align 8
  %329 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %35, i32 0, i32 0
  %330 = load ptr, ptr %329, align 8
  %331 = getelementptr inbounds { i32, ptr }, ptr %36, i32 0, i32 0
  %332 = load i32, ptr %331, align 8
  %333 = getelementptr inbounds { i32, ptr }, ptr %36, i32 0, i32 1
  %334 = load ptr, ptr %333, align 8
  %335 = invoke { i32, ptr } @_ZSt8for_eachISt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS6_13TVarEntryInfoEEENS6_21TNotifyUniformAdaptorEET0_T_SG_SF_(ptr %328, ptr %330, i32 %332, ptr %334)
          to label %336 unwind label %459

336:                                              ; preds = %308
  %337 = getelementptr inbounds { i32, ptr }, ptr %37, i32 0, i32 0
  %338 = extractvalue { i32, ptr } %335, 0
  store i32 %338, ptr %337, align 8
  %339 = getelementptr inbounds { i32, ptr }, ptr %37, i32 0, i32 1
  %340 = extractvalue { i32, ptr } %335, 1
  store ptr %340, ptr %339, align 8
  %341 = load ptr, ptr %11, align 8, !tbaa !5
  %342 = load i32, ptr %8, align 4, !tbaa !9
  %343 = load ptr, ptr %341, align 8, !tbaa !29
  %344 = getelementptr inbounds ptr, ptr %343, i64 13
  %345 = load ptr, ptr %344, align 8
  invoke void %345(ptr noundef nonnull align 8 dereferenceable(8) %341, i32 noundef %342)
          to label %346 unwind label %459

346:                                              ; preds = %336
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #7
  %347 = load ptr, ptr %11, align 8, !tbaa !5
  %348 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZN7glslang14TSlotCollectorC2ERNS_14TIoMapResolverER9TInfoSink(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 8 dereferenceable(8) %347, ptr noundef nonnull align 8 dereferenceable(80) %348)
          to label %349 unwind label %463

349:                                              ; preds = %346
  %350 = load ptr, ptr %11, align 8, !tbaa !5
  %351 = load i32, ptr %8, align 4, !tbaa !9
  %352 = load ptr, ptr %350, align 8, !tbaa !29
  %353 = getelementptr inbounds ptr, ptr %352, i64 16
  %354 = load ptr, ptr %353, align 8
  invoke void %354(ptr noundef nonnull align 8 dereferenceable(8) %350, i32 noundef %351)
          to label %355 unwind label %463

355:                                              ; preds = %349
  %356 = getelementptr inbounds %"class.glslang::TGlslIoMapper", ptr %51, i32 0, i32 1
  %357 = load i32, ptr %8, align 4, !tbaa !9
  %358 = zext i32 %357 to i64
  %359 = getelementptr inbounds [14 x ptr], ptr %356, i64 0, i64 %358
  %360 = load ptr, ptr %359, align 8, !tbaa !5
  %361 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %360) #7
  %362 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %39, i32 0, i32 0
  store ptr %361, ptr %362, align 8
  %363 = getelementptr inbounds %"class.glslang::TGlslIoMapper", ptr %51, i32 0, i32 1
  %364 = load i32, ptr %8, align 4, !tbaa !9
  %365 = zext i32 %364 to i64
  %366 = getelementptr inbounds [14 x ptr], ptr %363, i64 0, i64 %365
  %367 = load ptr, ptr %366, align 8, !tbaa !5
  %368 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %367) #7
  %369 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %40, i32 0, i32 0
  store ptr %368, ptr %369, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %41, ptr align 8 %38, i64 16, i1 false), !tbaa.struct !33
  %370 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %39, i32 0, i32 0
  %371 = load ptr, ptr %370, align 8
  %372 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %40, i32 0, i32 0
  %373 = load ptr, ptr %372, align 8
  %374 = getelementptr inbounds { ptr, ptr }, ptr %41, i32 0, i32 0
  %375 = load ptr, ptr %374, align 8
  %376 = getelementptr inbounds { ptr, ptr }, ptr %41, i32 0, i32 1
  %377 = load ptr, ptr %376, align 8
  %378 = invoke { ptr, ptr } @_ZSt8for_eachISt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS6_13TVarEntryInfoEEENS6_14TSlotCollectorEET0_T_SG_SF_(ptr %371, ptr %373, ptr %375, ptr %377)
          to label %379 unwind label %463

379:                                              ; preds = %355
  %380 = getelementptr inbounds { ptr, ptr }, ptr %42, i32 0, i32 0
  %381 = extractvalue { ptr, ptr } %378, 0
  store ptr %381, ptr %380, align 8
  %382 = getelementptr inbounds { ptr, ptr }, ptr %42, i32 0, i32 1
  %383 = extractvalue { ptr, ptr } %378, 1
  store ptr %383, ptr %382, align 8
  %384 = getelementptr inbounds %"class.glslang::TGlslIoMapper", ptr %51, i32 0, i32 2
  %385 = load i32, ptr %8, align 4, !tbaa !9
  %386 = zext i32 %385 to i64
  %387 = getelementptr inbounds [14 x ptr], ptr %384, i64 0, i64 %386
  %388 = load ptr, ptr %387, align 8, !tbaa !5
  %389 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %388) #7
  %390 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %43, i32 0, i32 0
  store ptr %389, ptr %390, align 8
  %391 = getelementptr inbounds %"class.glslang::TGlslIoMapper", ptr %51, i32 0, i32 2
  %392 = load i32, ptr %8, align 4, !tbaa !9
  %393 = zext i32 %392 to i64
  %394 = getelementptr inbounds [14 x ptr], ptr %391, i64 0, i64 %393
  %395 = load ptr, ptr %394, align 8, !tbaa !5
  %396 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %395) #7
  %397 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %44, i32 0, i32 0
  store ptr %396, ptr %397, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %45, ptr align 8 %38, i64 16, i1 false), !tbaa.struct !33
  %398 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %43, i32 0, i32 0
  %399 = load ptr, ptr %398, align 8
  %400 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %44, i32 0, i32 0
  %401 = load ptr, ptr %400, align 8
  %402 = getelementptr inbounds { ptr, ptr }, ptr %45, i32 0, i32 0
  %403 = load ptr, ptr %402, align 8
  %404 = getelementptr inbounds { ptr, ptr }, ptr %45, i32 0, i32 1
  %405 = load ptr, ptr %404, align 8
  %406 = invoke { ptr, ptr } @_ZSt8for_eachISt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS6_13TVarEntryInfoEEENS6_14TSlotCollectorEET0_T_SG_SF_(ptr %399, ptr %401, ptr %403, ptr %405)
          to label %407 unwind label %463

407:                                              ; preds = %379
  %408 = getelementptr inbounds { ptr, ptr }, ptr %46, i32 0, i32 0
  %409 = extractvalue { ptr, ptr } %406, 0
  store ptr %409, ptr %408, align 8
  %410 = getelementptr inbounds { ptr, ptr }, ptr %46, i32 0, i32 1
  %411 = extractvalue { ptr, ptr } %406, 1
  store ptr %411, ptr %410, align 8
  %412 = getelementptr inbounds %"class.glslang::TGlslIoMapper", ptr %51, i32 0, i32 3
  %413 = load i32, ptr %8, align 4, !tbaa !9
  %414 = zext i32 %413 to i64
  %415 = getelementptr inbounds [14 x ptr], ptr %412, i64 0, i64 %414
  %416 = load ptr, ptr %415, align 8, !tbaa !5
  %417 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %416) #7
  %418 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %47, i32 0, i32 0
  store ptr %417, ptr %418, align 8
  %419 = getelementptr inbounds %"class.glslang::TGlslIoMapper", ptr %51, i32 0, i32 3
  %420 = load i32, ptr %8, align 4, !tbaa !9
  %421 = zext i32 %420 to i64
  %422 = getelementptr inbounds [14 x ptr], ptr %419, i64 0, i64 %421
  %423 = load ptr, ptr %422, align 8, !tbaa !5
  %424 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %423) #7
  %425 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %48, i32 0, i32 0
  store ptr %424, ptr %425, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %49, ptr align 8 %38, i64 16, i1 false), !tbaa.struct !33
  %426 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %47, i32 0, i32 0
  %427 = load ptr, ptr %426, align 8
  %428 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.162", ptr %48, i32 0, i32 0
  %429 = load ptr, ptr %428, align 8
  %430 = getelementptr inbounds { ptr, ptr }, ptr %49, i32 0, i32 0
  %431 = load ptr, ptr %430, align 8
  %432 = getelementptr inbounds { ptr, ptr }, ptr %49, i32 0, i32 1
  %433 = load ptr, ptr %432, align 8
  %434 = invoke { ptr, ptr } @_ZSt8for_eachISt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS6_13TVarEntryInfoEEENS6_14TSlotCollectorEET0_T_SG_SF_(ptr %427, ptr %429, ptr %431, ptr %433)
          to label %435 unwind label %463

435:                                              ; preds = %407
  %436 = getelementptr inbounds { ptr, ptr }, ptr %50, i32 0, i32 0
  %437 = extractvalue { ptr, ptr } %434, 0
  store ptr %437, ptr %436, align 8
  %438 = getelementptr inbounds { ptr, ptr }, ptr %50, i32 0, i32 1
  %439 = extractvalue { ptr, ptr } %434, 1
  store ptr %439, ptr %438, align 8
  %440 = load ptr, ptr %11, align 8, !tbaa !5
  %441 = load i32, ptr %8, align 4, !tbaa !9
  %442 = load ptr, ptr %440, align 8, !tbaa !29
  %443 = getelementptr inbounds ptr, ptr %442, i64 17
  %444 = load ptr, ptr %443, align 8
  invoke void %444(ptr noundef nonnull align 8 dereferenceable(8) %440, i32 noundef %441)
          to label %445 unwind label %463

445:                                              ; preds = %435
  %446 = load ptr, ptr %9, align 8, !tbaa !5
  %447 = getelementptr inbounds %"class.glslang::TGlslIoMapper", ptr %51, i32 0, i32 4
  %448 = load i32, ptr %8, align 4, !tbaa !9
  %449 = zext i32 %448 to i64
  %450 = getelementptr inbounds [14 x ptr], ptr %447, i64 0, i64 %449
  store ptr %446, ptr %450, align 8, !tbaa !5
  %451 = getelementptr inbounds %"class.glslang::TGlslIoMapper", ptr %51, i32 0, i32 5
  %452 = load i8, ptr %451, align 8, !tbaa !34, !range !25, !noundef !26
  %453 = trunc i8 %452 to i1
  %454 = xor i1 %453, true
  store i1 %454, ptr %6, align 1
  store i32 1, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #7
  call void @_ZN7glslang14TLiveTraverserD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %20) #7
  call void @llvm.lifetime.end.p0(i64 232, ptr %20) #7
  call void @_ZN7glslang14TLiveTraverserD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %19) #7
  call void @llvm.lifetime.end.p0(i64 232, ptr %19) #7
  call void @_ZN7glslang22TDefaultGlslIoResolverD2Ev(ptr noundef nonnull align 8 dereferenceable(328) %16) #7
  call void @llvm.lifetime.end.p0(i64 328, ptr %16) #7
  br label %473

455:                                              ; preds = %244
  %456 = landingpad { ptr, i32 }
          cleanup
  %457 = extractvalue { ptr, i32 } %456, 0
  store ptr %457, ptr %17, align 8
  %458 = extractvalue { ptr, i32 } %456, 1
  store i32 %458, ptr %18, align 4
  br label %468

459:                                              ; preds = %336, %308, %280, %256, %250, %247
  %460 = landingpad { ptr, i32 }
          cleanup
  %461 = extractvalue { ptr, i32 } %460, 0
  store ptr %461, ptr %17, align 8
  %462 = extractvalue { ptr, i32 } %460, 1
  store i32 %462, ptr %18, align 4
  br label %467

463:                                              ; preds = %435, %407, %379, %355, %349, %346
  %464 = landingpad { ptr, i32 }
          cleanup
  %465 = extractvalue { ptr, i32 } %464, 0
  store ptr %465, ptr %17, align 8
  %466 = extractvalue { ptr, i32 } %464, 1
  store i32 %466, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #7
  br label %467

467:                                              ; preds = %463, %459
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #7
  br label %468

468:                                              ; preds = %467, %455
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #7
  br label %469

469:                                              ; preds = %468, %240, %239, %222
  call void @_ZN7glslang14TLiveTraverserD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %20) #7
  br label %470

470:                                              ; preds = %469, %218
  call void @llvm.lifetime.end.p0(i64 232, ptr %20) #7
  call void @_ZN7glslang14TLiveTraverserD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %19) #7
  br label %471

471:                                              ; preds = %470, %214
  call void @llvm.lifetime.end.p0(i64 232, ptr %19) #7
  br label %472

472:                                              ; preds = %471, %210
  call void @_ZN7glslang22TDefaultGlslIoResolverD2Ev(ptr noundef nonnull align 8 dereferenceable(328) %16) #7
  call void @llvm.lifetime.end.p0(i64 328, 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 %476

473:                                              ; preds = %445, %118
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %474

474:                                              ; preds = %473, %112, %104
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #7
  %475 = load i1, ptr %6, align 1
  ret i1 %475

476:                                              ; preds = %472
  %477 = load ptr, ptr %17, align 8
  %478 = load i32, ptr %18, align 4
  %479 = insertvalue { ptr, i32 } poison, ptr %477, 0
  %480 = insertvalue { ptr, i32 } %479, i32 %478, 1
  resume { ptr, i32 } %480
}

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #6

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

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

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

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

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

declare void @_ZN7glslang22TDefaultGlslIoResolverC1ERKNS_13TIntermediateE(ptr, ptr)

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 = { nobuiltin allocsize(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 }
attributes #8 = { builtin allocsize(0) }

!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, !16, i64 460}
!14 = !{!"_ZTSN7glslang13TGlslIoMapperE", !15, i64 0, !7, i64 8, !7, i64 120, !7, i64 232, !7, i64 344, !12, i64 456, !16, i64 460, !17, i64 464, !18, i64 472, !17, i64 512, !22, i64 516}
!15 = !{!"_ZTSN7glslang9TIoMapperE"}
!16 = !{!"_ZTS8EProfile", !7, i64 0}
!17 = !{!"int", !7, i64 0}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEE", !19, i64 0, !21, i64 16, !7, i64 24}
!19 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE12_Alloc_hiderE", !20, i64 0, !6, i64 8}
!20 = !{!"_ZTSN7glslang14pool_allocatorIcEE", !6, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = !{!"_ZTSN7glslang14TLayoutPackingE", !7, i64 0}
!23 = !{!14, !17, i64 464}
!24 = !{!17, !17, i64 0}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!30, !30, i64 0}
!30 = !{!"vtable pointer", !8, i64 0}
!31 = distinct !{!31, !28}
!32 = !{i64 0, i64 4, !9, i64 8, i64 8, !5}
!33 = !{i64 0, i64 8, !5, i64 8, i64 8, !5}
!34 = !{!14, !12, i64 456}


; 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::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" }
%"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.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.glslang::TNotifyInOutAdaptor" = type { i32, ptr }
%"struct.glslang::TNotifyUniformAdaptor" = type { i32, ptr }
%"struct.glslang::TSlotCollector" = type { 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 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 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 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: 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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7glslang14TLiveTraverserD2Ev(ptr noundef nonnull align 8 dereferenceable(201)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7glslang13TGlslIoMapper8addStageE11EShLanguageRNS_13TIntermediateER9TInfoSinkPNS_14TIoMapResolverE(ptr nocapture noundef nonnull align 8 dereferenceable(520) %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 #3 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"struct.glslang::TDefaultGlslIoResolver", align 8
  %7 = alloca %"class.glslang::TVarGatherTraverser", align 8
  %8 = alloca %"class.glslang::TVarGatherTraverser", align 8
  %9 = alloca %"class.std::__cxx11::basic_string.105", align 8
  %10 = alloca %"class.glslang::pool_allocator", align 8
  %11 = alloca %"struct.glslang::TNotifyInOutAdaptor", align 8
  %12 = alloca %"struct.glslang::TNotifyUniformAdaptor", align 8
  %13 = alloca %"struct.glslang::TSlotCollector", align 8
  %14 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7glslang13TIntermediate21getResourceSetBindingB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(1784) %2)
  %15 = tail call noundef zeroext i1 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  br i1 %15, label %16, label %._crit_edge.thread.critedge

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

18:                                               ; preds = %16
  %19 = tail call noundef zeroext i1 @_ZNK7glslang13TIntermediate19getAutoMapLocationsEv(ptr noundef nonnull align 8 dereferenceable(1784) %2)
  %20 = tail call noundef i32 @_ZNK7glslang13TIntermediate10getProfileEv(ptr noundef nonnull align 8 dereferenceable(1784) %2)
  %21 = getelementptr inbounds i8, ptr %0, i64 460
  store i32 %20, ptr %21, align 4, !tbaa !5
  %22 = tail call noundef i32 @_ZNK7glslang13TIntermediate10getVersionEv(ptr noundef nonnull align 8 dereferenceable(1784) %2)
  %23 = getelementptr inbounds i8, ptr %0, i64 464
  store i32 %22, ptr %23, align 8, !tbaa !19
  br i1 %19, label %._crit_edge.thread, label %.lr.ph.preheader

._crit_edge.thread.critedge:                      ; preds = %5, %16
  %24 = tail call noundef i32 @_ZNK7glslang13TIntermediate10getProfileEv(ptr noundef nonnull align 8 dereferenceable(1784) %2)
  %25 = getelementptr inbounds i8, ptr %0, i64 460
  store i32 %24, ptr %25, align 4, !tbaa !5
  %26 = tail call noundef i32 @_ZNK7glslang13TIntermediate10getVersionEv(ptr noundef nonnull align 8 dereferenceable(1784) %2)
  %27 = getelementptr inbounds i8, ptr %0, i64 464
  store i32 %26, ptr %27, align 8, !tbaa !19
  br label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %._crit_edge.thread.critedge, %18
  %28 = icmp ne ptr %4, null
  br label %36

._crit_edge:                                      ; preds = %32
  %29 = icmp ne ptr %4, null
  %or.cond.not = or i1 %29, %33
  br i1 %or.cond.not, label %36, label %170

.lr.ph.preheader:                                 ; preds = %18, %32
  %.0107127 = phi i32 [ %34, %32 ], [ 0, %18 ]
  %30 = tail call noundef i32 @_ZNK7glslang13TIntermediate15getShiftBindingENS_13TResourceTypeE(ptr noundef nonnull align 8 dereferenceable(1784) %2, i32 noundef %.0107127)
  %.not126 = icmp eq i32 %30, 0
  br i1 %.not126, label %32, label %._crit_edge.thread132

._crit_edge.thread132:                            ; preds = %.lr.ph.preheader
  %31 = icmp ne ptr %4, null
  br label %36

32:                                               ; preds = %.lr.ph.preheader
  %33 = tail call noundef zeroext i1 @_ZNK7glslang13TIntermediate21hasShiftBindingForSetENS_13TResourceTypeE(ptr noundef nonnull align 8 dereferenceable(1784) %2, i32 noundef %.0107127)
  %34 = add nuw nsw i32 %.0107127, 1
  %35 = icmp ugt i32 %.0107127, 4
  %.not117 = or i1 %35, %33
  br i1 %.not117, label %._crit_edge, label %.lr.ph.preheader, !llvm.loop !20

36:                                               ; preds = %._crit_edge.thread132, %._crit_edge.thread, %._crit_edge
  %37 = phi i1 [ %28, %._crit_edge.thread ], [ %29, %._crit_edge ], [ %31, %._crit_edge.thread132 ]
  %38 = tail call noundef i32 @_ZNK7glslang13TIntermediate17getNumEntryPointsEv(ptr noundef nonnull align 8 dereferenceable(1784) %2)
  %.not = icmp eq i32 %38, 1
  br i1 %.not, label %39, label %170

39:                                               ; preds = %36
  %40 = tail call noundef zeroext i1 @_ZNK7glslang13TIntermediate11isRecursiveEv(ptr noundef nonnull align 8 dereferenceable(1784) %2)
  br i1 %40, label %170, label %41

41:                                               ; preds = %39
  %42 = tail call noundef ptr @_ZNK7glslang13TIntermediate11getTreeRootEv(ptr noundef nonnull align 8 dereferenceable(1784) %2)
  %43 = icmp eq ptr %42, null
  br i1 %43, label %170, label %44

44:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 328, ptr nonnull %6) #6
  call void @_ZN7glslang22TDefaultGlslIoResolverC1ERKNS_13TIntermediateE(ptr noundef nonnull align 8 dereferenceable(328) %6, ptr noundef nonnull align 8 dereferenceable(1784) %2)
  %spec.store.select = select i1 %37, ptr %4, ptr %6
  %45 = load ptr, ptr %spec.store.select, align 8, !tbaa !22
  %46 = getelementptr inbounds i8, ptr %45, i64 160
  %47 = load ptr, ptr %46, align 8
  invoke void %47(ptr noundef nonnull align 8 dereferenceable(8) %spec.store.select, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(1784) %2)
          to label %48 unwind label %87

48:                                               ; preds = %44
  %49 = invoke noalias noundef nonnull dereferenceable(48) ptr @_Znwm(i64 noundef 48) #7
          to label %50 unwind label %87

50:                                               ; preds = %48
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(48) %49, i8 0, i64 48, i1 false)
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %49) #6
  %51 = getelementptr inbounds i8, ptr %0, i64 8
  %52 = zext i32 %1 to i64
  %53 = getelementptr inbounds [14 x ptr], ptr %51, i64 0, i64 %52
  store ptr %49, ptr %53, align 8, !tbaa !24
  %54 = invoke noalias noundef nonnull dereferenceable(48) ptr @_Znwm(i64 noundef 48) #7
          to label %55 unwind label %87

55:                                               ; preds = %50
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(48) %54, i8 0, i64 48, i1 false)
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %54) #6
  %56 = getelementptr inbounds i8, ptr %0, i64 120
  %57 = getelementptr inbounds [14 x ptr], ptr %56, i64 0, i64 %52
  store ptr %54, ptr %57, align 8, !tbaa !24
  %58 = invoke noalias noundef nonnull dereferenceable(48) ptr @_Znwm(i64 noundef 48) #7
          to label %59 unwind label %87

59:                                               ; preds = %55
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(48) %58, i8 0, i64 48, i1 false)
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %58) #6
  %60 = getelementptr inbounds i8, ptr %0, i64 232
  %61 = getelementptr inbounds [14 x ptr], ptr %60, i64 0, i64 %52
  store ptr %58, ptr %61, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 232, ptr nonnull %7) #6
  %62 = load ptr, ptr %53, align 8, !tbaa !24
  %63 = load ptr, ptr %57, align 8, !tbaa !24
  invoke void @_ZN7glslang19TVarGatherTraverserC2ERKNS_13TIntermediateEbRSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_13TVarEntryInfoESt4lessISB_ESaISt4pairIKSB_SC_EEESK_SK_(ptr noundef nonnull align 8 dereferenceable(232) %7, ptr noundef nonnull align 8 dereferenceable(1784) %2, i1 noundef zeroext true, ptr noundef nonnull align 8 dereferenceable(48) %62, ptr noundef nonnull align 8 dereferenceable(48) %63, ptr noundef nonnull align 8 dereferenceable(48) %58)
          to label %64 unwind label %89

64:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 232, ptr nonnull %8) #6
  %65 = load ptr, ptr %53, align 8, !tbaa !24
  %66 = load ptr, ptr %57, align 8, !tbaa !24
  %67 = load ptr, ptr %61, align 8, !tbaa !24
  invoke void @_ZN7glslang19TVarGatherTraverserC2ERKNS_13TIntermediateEbRSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_13TVarEntryInfoESt4lessISB_ESaISt4pairIKSB_SC_EEESK_SK_(ptr noundef nonnull align 8 dereferenceable(232) %8, ptr noundef nonnull align 8 dereferenceable(1784) %2, i1 noundef zeroext false, ptr noundef nonnull align 8 dereferenceable(48) %65, ptr noundef nonnull align 8 dereferenceable(48) %66, ptr noundef nonnull align 8 dereferenceable(48) %67)
          to label %68 unwind label %91

68:                                               ; preds = %64
  %69 = load ptr, ptr %42, align 8, !tbaa !22
  %70 = getelementptr inbounds i8, ptr %69, i64 16
  %71 = load ptr, ptr %70, align 8
  invoke void %71(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull %7)
          to label %72 unwind label %93

72:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #6
  %73 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7glslang13TIntermediate24getEntryPointMangledNameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(1784) %2)
  %74 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %73) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  invoke void @_ZN7glslang14pool_allocatorIcEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %75 unwind label %95

75:                                               ; preds = %72
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEC2IS5_EEPKcRKS5_(ptr noundef nonnull align 8 dereferenceable(40) %9, ptr noundef %74, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %76 unwind label %95

76:                                               ; preds = %75
  invoke void @_ZN7glslang14TLiveTraverser12pushFunctionERKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE(ptr noundef nonnull align 8 dereferenceable(201) %8, ptr noundef nonnull align 8 dereferenceable(40) %9)
          to label %77 unwind label %97

77:                                               ; preds = %76
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #6
  %78 = getelementptr inbounds i8, ptr %8, i64 56
  br label %79

79:                                               ; preds = %81, %77
  %80 = call noundef zeroext i1 @_ZNKSt7__cxx114listIPN7glslang16TIntermAggregateESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %78) #6
  br i1 %80, label %102, label %81

81:                                               ; preds = %79
  %82 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt7__cxx114listIPN7glslang16TIntermAggregateESaIS3_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %78) #6
  %83 = load ptr, ptr %82, align 8, !tbaa !24
  call void @_ZNSt7__cxx114listIPN7glslang16TIntermAggregateESaIS3_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %78) #6
  %84 = load ptr, ptr %83, align 8, !tbaa !22
  %85 = getelementptr inbounds i8, ptr %84, i64 16
  %86 = load ptr, ptr %85, align 8
  invoke void %86(ptr noundef nonnull align 8 dereferenceable(32) %83, ptr noundef nonnull %8)
          to label %79 unwind label %100, !llvm.loop !25

87:                                               ; preds = %55, %50, %48, %44
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %169

89:                                               ; preds = %59
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %168

91:                                               ; preds = %64
  %92 = landingpad { ptr, i32 }
          cleanup
  br label %167

93:                                               ; preds = %68
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %166

95:                                               ; preds = %75, %72
  %96 = landingpad { ptr, i32 }
          cleanup
  br label %99

97:                                               ; preds = %76
  %98 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #6
  br label %99

99:                                               ; preds = %97, %95
  %.pn = phi { ptr, i32 } [ %98, %97 ], [ %96, %95 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #6
  br label %166

100:                                              ; preds = %81
  %101 = landingpad { ptr, i32 }
          cleanup
  br label %166

102:                                              ; preds = %79
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #6
  call void @_ZN7glslang19TNotifyInOutAdaptorC2E11EShLanguageRNS_14TIoMapResolverE(ptr noundef nonnull align 8 dereferenceable(16) %11, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(8) %spec.store.select)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  call void @_ZN7glslang21TNotifyUniformAdaptorC2E11EShLanguageRNS_14TIoMapResolverE(ptr noundef nonnull align 8 dereferenceable(16) %12, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(8) %spec.store.select)
  %103 = load ptr, ptr %spec.store.select, align 8, !tbaa !22
  %104 = getelementptr inbounds i8, ptr %103, i64 96
  %105 = load ptr, ptr %104, align 8
  invoke void %105(ptr noundef nonnull align 8 dereferenceable(8) %spec.store.select, i32 noundef %1)
          to label %106 unwind label %161

106:                                              ; preds = %102
  %107 = load ptr, ptr %53, align 8, !tbaa !24
  %108 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %107) #6
  %109 = load ptr, ptr %53, align 8, !tbaa !24
  %110 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %109) #6
  %.sroa.033.0.copyload = load i32, ptr %11, align 8, !tbaa !26
  %.sroa.235.0..sroa_idx = getelementptr inbounds i8, ptr %11, i64 8
  %.sroa.235.0.copyload = load ptr, ptr %.sroa.235.0..sroa_idx, align 8, !tbaa !24
  %111 = invoke { i32, ptr } @_ZSt8for_eachISt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS6_13TVarEntryInfoEEENS6_19TNotifyInOutAdaptorEET0_T_SG_SF_(ptr %108, ptr %110, i32 %.sroa.033.0.copyload, ptr %.sroa.235.0.copyload)
          to label %112 unwind label %161

112:                                              ; preds = %106
  %113 = load ptr, ptr %57, align 8, !tbaa !24
  %114 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %113) #6
  %115 = load ptr, ptr %57, align 8, !tbaa !24
  %116 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %115) #6
  %.sroa.026.0.copyload = load i32, ptr %11, align 8, !tbaa !26
  %.sroa.228.0.copyload = load ptr, ptr %.sroa.235.0..sroa_idx, align 8, !tbaa !24
  %117 = invoke { i32, ptr } @_ZSt8for_eachISt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS6_13TVarEntryInfoEEENS6_19TNotifyInOutAdaptorEET0_T_SG_SF_(ptr %114, ptr %116, i32 %.sroa.026.0.copyload, ptr %.sroa.228.0.copyload)
          to label %118 unwind label %161

118:                                              ; preds = %112
  %119 = load ptr, ptr %61, align 8, !tbaa !24
  %120 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %119) #6
  %121 = load ptr, ptr %61, align 8, !tbaa !24
  %122 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %121) #6
  %.sroa.019.0.copyload = load i32, ptr %12, align 8, !tbaa !26
  %.sroa.221.0..sroa_idx = getelementptr inbounds i8, ptr %12, i64 8
  %.sroa.221.0.copyload = load ptr, ptr %.sroa.221.0..sroa_idx, align 8, !tbaa !24
  %123 = invoke { i32, ptr } @_ZSt8for_eachISt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS6_13TVarEntryInfoEEENS6_21TNotifyUniformAdaptorEET0_T_SG_SF_(ptr %120, ptr %122, i32 %.sroa.019.0.copyload, ptr %.sroa.221.0.copyload)
          to label %124 unwind label %161

124:                                              ; preds = %118
  %125 = load ptr, ptr %spec.store.select, align 8, !tbaa !22
  %126 = getelementptr inbounds i8, ptr %125, i64 104
  %127 = load ptr, ptr %126, align 8
  invoke void %127(ptr noundef nonnull align 8 dereferenceable(8) %spec.store.select, i32 noundef %1)
          to label %128 unwind label %161

128:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #6
  call void @_ZN7glslang14TSlotCollectorC2ERNS_14TIoMapResolverER9TInfoSink(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(8) %spec.store.select, ptr noundef nonnull align 8 dereferenceable(80) %3)
  %129 = load ptr, ptr %spec.store.select, align 8, !tbaa !22
  %130 = getelementptr inbounds i8, ptr %129, i64 128
  %131 = load ptr, ptr %130, align 8
  invoke void %131(ptr noundef nonnull align 8 dereferenceable(8) %spec.store.select, i32 noundef %1)
          to label %132 unwind label %163

132:                                              ; preds = %128
  %133 = load ptr, ptr %53, align 8, !tbaa !24
  %134 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %133) #6
  %135 = load ptr, ptr %53, align 8, !tbaa !24
  %136 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %135) #6
  %.sroa.013.0.copyload = load ptr, ptr %13, align 8, !tbaa !24
  %.sroa.214.0..sroa_idx = getelementptr inbounds i8, ptr %13, i64 8
  %.sroa.214.0.copyload = load ptr, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !24
  %137 = invoke { ptr, ptr } @_ZSt8for_eachISt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS6_13TVarEntryInfoEEENS6_14TSlotCollectorEET0_T_SG_SF_(ptr %134, ptr %136, ptr %.sroa.013.0.copyload, ptr %.sroa.214.0.copyload)
          to label %138 unwind label %163

138:                                              ; preds = %132
  %139 = load ptr, ptr %57, align 8, !tbaa !24
  %140 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %139) #6
  %141 = load ptr, ptr %57, align 8, !tbaa !24
  %142 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %141) #6
  %.sroa.07.0.copyload = load ptr, ptr %13, align 8, !tbaa !24
  %.sroa.28.0.copyload = load ptr, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !24
  %143 = invoke { ptr, ptr } @_ZSt8for_eachISt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS6_13TVarEntryInfoEEENS6_14TSlotCollectorEET0_T_SG_SF_(ptr %140, ptr %142, ptr %.sroa.07.0.copyload, ptr %.sroa.28.0.copyload)
          to label %144 unwind label %163

144:                                              ; preds = %138
  %145 = load ptr, ptr %61, align 8, !tbaa !24
  %146 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %145) #6
  %147 = load ptr, ptr %61, align 8, !tbaa !24
  %148 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_13TVarEntryInfoESt4lessIS7_ESaISt4pairIKS7_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %147) #6
  %.sroa.02.0.copyload = load ptr, ptr %13, align 8, !tbaa !24
  %.sroa.2.0.copyload = load ptr, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !24
  %149 = invoke { ptr, ptr } @_ZSt8for_eachISt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS6_13TVarEntryInfoEEENS6_14TSlotCollectorEET0_T_SG_SF_(ptr %146, ptr %148, ptr %.sroa.02.0.copyload, ptr %.sroa.2.0.copyload)
          to label %150 unwind label %163

150:                                              ; preds = %144
  %151 = load ptr, ptr %spec.store.select, align 8, !tbaa !22
  %152 = getelementptr inbounds i8, ptr %151, i64 136
  %153 = load ptr, ptr %152, align 8
  invoke void %153(ptr noundef nonnull align 8 dereferenceable(8) %spec.store.select, i32 noundef %1)
          to label %154 unwind label %163

154:                                              ; preds = %150
  %155 = getelementptr inbounds i8, ptr %0, i64 344
  %156 = getelementptr inbounds [14 x ptr], ptr %155, i64 0, i64 %52
  store ptr %2, ptr %156, align 8, !tbaa !24
  %157 = getelementptr inbounds i8, ptr %0, i64 456
  %158 = load i8, ptr %157, align 8, !tbaa !28, !range !29, !noundef !30
  %159 = trunc nuw i8 %158 to i1
  %160 = xor i1 %159, true
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  call void @_ZN7glslang14TLiveTraverserD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %8) #6
  call void @llvm.lifetime.end.p0(i64 232, ptr nonnull %8) #6
  call void @_ZN7glslang14TLiveTraverserD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %7) #6
  call void @llvm.lifetime.end.p0(i64 232, ptr nonnull %7) #6
  call void @_ZN7glslang22TDefaultGlslIoResolverD2Ev(ptr noundef nonnull align 8 dereferenceable(328) %6) #6
  call void @llvm.lifetime.end.p0(i64 328, ptr nonnull %6) #6
  br label %170

161:                                              ; preds = %124, %118, %112, %106, %102
  %162 = landingpad { ptr, i32 }
          cleanup
  br label %165

163:                                              ; preds = %150, %144, %138, %132, %128
  %164 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #6
  br label %165

165:                                              ; preds = %163, %161
  %.pn119 = phi { ptr, i32 } [ %164, %163 ], [ %162, %161 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  br label %166

166:                                              ; preds = %165, %100, %99, %93
  %.pn121 = phi { ptr, i32 } [ %101, %100 ], [ %.pn119, %165 ], [ %.pn, %99 ], [ %94, %93 ]
  call void @_ZN7glslang14TLiveTraverserD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %8) #6
  br label %167

167:                                              ; preds = %166, %91
  %.pn121.pn = phi { ptr, i32 } [ %.pn121, %166 ], [ %92, %91 ]
  call void @llvm.lifetime.end.p0(i64 232, ptr nonnull %8) #6
  call void @_ZN7glslang14TLiveTraverserD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %7) #6
  br label %168

168:                                              ; preds = %167, %89
  %.pn121.pn.pn = phi { ptr, i32 } [ %.pn121.pn, %167 ], [ %90, %89 ]
  call void @llvm.lifetime.end.p0(i64 232, ptr nonnull %7) #6
  br label %169

169:                                              ; preds = %168, %87
  %.pn121.pn.pn.pn = phi { ptr, i32 } [ %.pn121.pn.pn, %168 ], [ %88, %87 ]
  call void @_ZN7glslang22TDefaultGlslIoResolverD2Ev(ptr noundef nonnull align 8 dereferenceable(328) %6) #6
  call void @llvm.lifetime.end.p0(i64 328, ptr nonnull %6) #6
  resume { ptr, i32 } %.pn121.pn.pn.pn

170:                                              ; preds = %154, %41, %36, %39, %._crit_edge
  %.1 = phi i1 [ true, %._crit_edge ], [ false, %39 ], [ false, %36 ], [ %160, %154 ], [ false, %41 ]
  ret i1 %.1
}

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #5

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

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

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

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

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

declare void @_ZN7glslang22TDefaultGlslIoResolverC1ERKNS_13TIntermediateE(ptr, ptr) local_unnamed_addr

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 = { nobuiltin allocsize(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 }
attributes #7 = { builtin allocsize(0) }

!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, !11, i64 460}
!6 = !{!"_ZTSN7glslang13TGlslIoMapperE", !7, i64 0, !8, i64 8, !8, i64 120, !8, i64 232, !8, i64 344, !10, i64 456, !11, i64 460, !12, i64 464, !13, i64 472, !12, i64 512, !18, i64 516}
!7 = !{!"_ZTSN7glslang9TIoMapperE"}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"_ZTS8EProfile", !8, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEE", !14, i64 0, !17, i64 16, !8, i64 24}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE12_Alloc_hiderE", !15, i64 0, !16, i64 8}
!15 = !{!"_ZTSN7glslang14pool_allocatorIcEE", !16, i64 0}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!"long", !8, i64 0}
!18 = !{!"_ZTSN7glslang14TLayoutPackingE", !8, i64 0}
!19 = !{!6, !12, i64 464}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!23, !23, i64 0}
!23 = !{!"vtable pointer", !9, i64 0}
!24 = !{!16, !16, i64 0}
!25 = distinct !{!25, !21}
!26 = !{!27, !27, i64 0}
!27 = !{!"_ZTS11EShLanguage", !8, i64 0}
!28 = !{!6, !10, i64 456}
!29 = !{i8 0, i8 2}
!30 = !{}


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