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

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

%"class.glslang::TReflectionTraverser" = type <{ %"class.glslang::TIntermTraverser", ptr, ptr, %"class.std::set", i8, [7 x i8] }>
%"class.glslang::TIntermTraverser" = type { ptr, i8, i8, i8, i8, i32, i32, %"class.glslang::TVector" }
%"class.glslang::TVector" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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", %"struct.std::_Vector_base<TIntermNode *, glslang::pool_allocator<TIntermNode *>>::_Vector_impl_data" }
%"class.glslang::pool_allocator" = type { ptr }
%"struct.std::_Vector_base<TIntermNode *, glslang::pool_allocator<TIntermNode *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<const TIntermNode *, const TIntermNode *, std::_Identity<const TIntermNode *>, std::less<const TIntermNode *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<const TIntermNode *, const TIntermNode *, std::_Identity<const TIntermNode *>, std::less<const TIntermNode *>>::_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.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.glslang::TQualifier" = type <{ ptr, i64, i8, [3 x i8], i32, i32, i64, i64, i8, i8, i8, i8, i8, [3 x i8], i32, i8, [3 x i8], i32, ptr }>
%"class.glslang::TReflection" = type <{ ptr, i32, i32, i32, [4 x i8], %"class.glslang::TObjectReflection", %"class.std::map", %"class.std::map", %"class.std::map", %"class.std::vector.12", %"class.std::vector.12", %"class.std::vector.12", %"class.std::vector.12", %"class.std::vector.12", %"class.std::vector.12", %"class.std::vector.17", [3 x i32], [4 x i8] }>
%"class.glslang::TObjectReflection" = type { %"class.std::__cxx11::basic_string.2", i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr }
%"class.std::__cxx11::basic_string.2" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.6 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.6 = type { i64, [8 x i8] }
%"class.std::map" = type { %"class.std::_Rb_tree.7" }
%"class.std::_Rb_tree.7" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<glslang::TObjectReflection, std::allocator<glslang::TObjectReflection>>::_Vector_impl" }
%"struct.std::_Vector_base<glslang::TObjectReflection, std::allocator<glslang::TObjectReflection>>::_Vector_impl" = type { %"struct.std::_Vector_base<glslang::TObjectReflection, std::allocator<glslang::TObjectReflection>>::_Vector_impl_data" }
%"struct.std::_Vector_base<glslang::TObjectReflection, std::allocator<glslang::TObjectReflection>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.17" = type { %"struct.std::_Vector_base.18" }
%"struct.std::_Vector_base.18" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7glslang11TReflection24buildAttributeReflectionE11EShLanguageRKNS_13TIntermediateE(ptr noundef nonnull align 8 dereferenceable(428), i32 noundef, 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: mustprogress nounwind uwtable
declare dso_local void @_ZN7glslang11TReflection19buildCounterIndicesERKNS_13TIntermediateE(ptr noundef nonnull align 8 dereferenceable(428), ptr noundef nonnull align 8 dereferenceable(1784)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7glslang11TReflection21buildUniformStageMaskERKNS_13TIntermediateE(ptr noundef nonnull align 8 dereferenceable(428), ptr noundef nonnull align 8 dereferenceable(1784)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7glslang11TReflection8addStageE11EShLanguageRKNS_13TIntermediateE(ptr noundef nonnull align 8 dereferenceable(428) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(1784) %2) #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca %"class.glslang::TReflectionTraverser", align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  %22 = load ptr, ptr %5, align 8
  %23 = load ptr, ptr %7, align 8, !tbaa !5
  %24 = call noundef ptr @_ZNK7glslang13TIntermediate11getTreeRootEv(ptr noundef nonnull align 8 dereferenceable(1784) %23)
  %25 = icmp eq ptr %24, null
  br i1 %25, label %33, label %26

26:                                               ; preds = %3
  %27 = load ptr, ptr %7, align 8, !tbaa !5
  %28 = call noundef i32 @_ZNK7glslang13TIntermediate17getNumEntryPointsEv(ptr noundef nonnull align 8 dereferenceable(1784) %27)
  %29 = icmp ne i32 %28, 1
  br i1 %29, label %33, label %30

30:                                               ; preds = %26
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  %32 = call noundef zeroext i1 @_ZNK7glslang13TIntermediate11isRecursiveEv(ptr noundef nonnull align 8 dereferenceable(1784) %31)
  br i1 %32, label %33, label %34

33:                                               ; preds = %30, %26, %3
  store i1 false, ptr %4, align 1
  br label %275

34:                                               ; preds = %30
  %35 = load i32, ptr %6, align 4, !tbaa !9
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN7glslang11TReflection24buildAttributeReflectionE11EShLanguageRKNS_13TIntermediateE(ptr noundef nonnull align 8 dereferenceable(428) %22, i32 noundef %35, ptr noundef nonnull align 8 dereferenceable(1784) %36)
  call void @llvm.lifetime.start.p0(i64 128, ptr %8) #4
  %37 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN7glslang20TReflectionTraverserC2ERKNS_13TIntermediateERNS_11TReflectionE(ptr noundef nonnull align 8 dereferenceable(121) %8, ptr noundef nonnull align 8 dereferenceable(1784) %37, ptr noundef nonnull align 8 dereferenceable(428) %22)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %38 = load ptr, ptr %7, align 8, !tbaa !5
  %39 = invoke noundef ptr @_ZNK7glslang13TIntermediate11getTreeRootEv(ptr noundef nonnull align 8 dereferenceable(1784) %38)
          to label %40 unwind label %60

40:                                               ; preds = %34
  %41 = load ptr, ptr %39, align 8, !tbaa !11
  %42 = getelementptr inbounds ptr, ptr %41, i64 6
  %43 = load ptr, ptr %42, align 8
  %44 = invoke noundef ptr %43(ptr noundef nonnull align 8 dereferenceable(32) %39)
          to label %45 unwind label %60

45:                                               ; preds = %40
  %46 = load ptr, ptr %44, align 8, !tbaa !11
  %47 = getelementptr inbounds ptr, ptr %46, i64 50
  %48 = load ptr, ptr %47, align 8
  %49 = invoke noundef nonnull align 8 dereferenceable(32) ptr %48(ptr noundef nonnull align 8 dereferenceable(352) %44)
          to label %50 unwind label %60

50:                                               ; preds = %45
  store ptr %49, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %51 = load ptr, ptr %9, align 8, !tbaa !5
  %52 = call ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %51) #4
  %53 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  store ptr %52, ptr %53, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %54 = load ptr, ptr %9, align 8, !tbaa !5
  %55 = call ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %54) #4
  %56 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  store ptr %55, ptr %56, align 8
  br label %57

57:                                               ; preds = %261, %50
  %58 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #4
  br i1 %58, label %64, label %59

59:                                               ; preds = %57
  store i32 2, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  br label %265

60:                                               ; preds = %45, %40, %34
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %10, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %11, align 4
  br label %264

64:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #4
  store ptr %65, ptr %15, align 8, !tbaa !5
  %66 = load ptr, ptr %15, align 8, !tbaa !5
  %67 = load ptr, ptr %66, align 8, !tbaa !5
  %68 = load ptr, ptr %67, align 8, !tbaa !11
  %69 = getelementptr inbounds ptr, ptr %68, i64 6
  %70 = load ptr, ptr %69, align 8
  %71 = invoke noundef ptr %70(ptr noundef nonnull align 8 dereferenceable(32) %67)
          to label %72 unwind label %109

72:                                               ; preds = %64
  %73 = icmp ne ptr %71, null
  br i1 %73, label %74, label %260

74:                                               ; preds = %72
  %75 = load ptr, ptr %15, align 8, !tbaa !5
  %76 = load ptr, ptr %75, align 8, !tbaa !5
  %77 = load ptr, ptr %76, align 8, !tbaa !11
  %78 = getelementptr inbounds ptr, ptr %77, i64 6
  %79 = load ptr, ptr %78, align 8
  %80 = invoke noundef ptr %79(ptr noundef nonnull align 8 dereferenceable(32) %76)
          to label %81 unwind label %109

81:                                               ; preds = %74
  %82 = invoke noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %80)
          to label %83 unwind label %109

83:                                               ; preds = %81
  %84 = icmp eq i32 %82, 2
  br i1 %84, label %85, label %246

85:                                               ; preds = %83
  %86 = getelementptr inbounds %"class.glslang::TReflectionTraverser", ptr %8, i32 0, i32 4
  store i8 0, ptr %86, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %87 = load ptr, ptr %15, align 8, !tbaa !5
  %88 = load ptr, ptr %87, align 8, !tbaa !5
  %89 = load ptr, ptr %88, align 8, !tbaa !11
  %90 = getelementptr inbounds ptr, ptr %89, i64 6
  %91 = load ptr, ptr %90, align 8
  %92 = invoke noundef ptr %91(ptr noundef nonnull align 8 dereferenceable(32) %88)
          to label %93 unwind label %113

93:                                               ; preds = %85
  store ptr %92, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %94 = load ptr, ptr %16, align 8, !tbaa !5
  %95 = load ptr, ptr %94, align 8, !tbaa !11
  %96 = getelementptr inbounds ptr, ptr %95, i64 50
  %97 = load ptr, ptr %96, align 8
  %98 = invoke noundef nonnull align 8 dereferenceable(32) ptr %97(ptr noundef nonnull align 8 dereferenceable(352) %94)
          to label %99 unwind label %117

99:                                               ; preds = %93
  store ptr %98, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %100 = load ptr, ptr %17, align 8, !tbaa !5
  %101 = call ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %100) #4
  %102 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  store ptr %101, ptr %102, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %103 = load ptr, ptr %17, align 8, !tbaa !5
  %104 = call ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %103) #4
  %105 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  store ptr %104, ptr %105, align 8
  br label %106

106:                                              ; preds = %241, %99
  %107 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #4
  br i1 %107, label %121, label %108

108:                                              ; preds = %106
  store i32 4, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  br label %244

109:                                              ; preds = %254, %246, %81, %74, %64
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %10, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %11, align 4
  br label %263

113:                                              ; preds = %85
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %10, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %11, align 4
  br label %245

117:                                              ; preds = %93
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %10, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %11, align 4
  br label %243

121:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  %122 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #4
  store ptr %122, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  %123 = load ptr, ptr %20, align 8, !tbaa !5
  %124 = load ptr, ptr %123, align 8, !tbaa !5
  %125 = load ptr, ptr %124, align 8, !tbaa !11
  %126 = getelementptr inbounds ptr, ptr %125, i64 12
  %127 = load ptr, ptr %126, align 8
  %128 = invoke noundef ptr %127(ptr noundef nonnull align 8 dereferenceable(32) %124)
          to label %129 unwind label %204

129:                                              ; preds = %121
  store ptr %128, ptr %21, align 8, !tbaa !5
  %130 = load ptr, ptr %21, align 8, !tbaa !5
  %131 = icmp ne ptr %130, null
  br i1 %131, label %132, label %240

132:                                              ; preds = %129
  %133 = load ptr, ptr %21, align 8, !tbaa !5
  %134 = load ptr, ptr %133, align 8, !tbaa !11
  %135 = getelementptr inbounds ptr, ptr %134, i64 33
  %136 = load ptr, ptr %135, align 8
  %137 = invoke noundef nonnull align 8 dereferenceable(72) ptr %136(ptr noundef nonnull align 8 dereferenceable(176) %133)
          to label %138 unwind label %204

138:                                              ; preds = %132
  %139 = getelementptr inbounds %"class.glslang::TQualifier", ptr %137, i32 0, i32 1
  %140 = load i64, ptr %139, align 8
  %141 = and i64 %140, 63
  %142 = trunc i64 %141 to i32
  %143 = icmp eq i32 %142, 5
  br i1 %143, label %144, label %149

144:                                              ; preds = %138
  %145 = getelementptr inbounds %"class.glslang::TReflection", ptr %22, i32 0, i32 1
  %146 = load i32, ptr %145, align 8, !tbaa !33
  %147 = and i32 %146, 256
  %148 = icmp ne i32 %147, 0
  br i1 %148, label %166, label %149

149:                                              ; preds = %144, %138
  %150 = load ptr, ptr %21, align 8, !tbaa !5
  %151 = load ptr, ptr %150, align 8, !tbaa !11
  %152 = getelementptr inbounds ptr, ptr %151, i64 33
  %153 = load ptr, ptr %152, align 8
  %154 = invoke noundef nonnull align 8 dereferenceable(72) ptr %153(ptr noundef nonnull align 8 dereferenceable(176) %150)
          to label %155 unwind label %204

155:                                              ; preds = %149
  %156 = getelementptr inbounds %"class.glslang::TQualifier", ptr %154, i32 0, i32 1
  %157 = load i64, ptr %156, align 8
  %158 = and i64 %157, 63
  %159 = trunc i64 %158 to i32
  %160 = icmp eq i32 %159, 6
  br i1 %160, label %161, label %209

161:                                              ; preds = %155
  %162 = getelementptr inbounds %"class.glslang::TReflection", ptr %22, i32 0, i32 1
  %163 = load i32, ptr %162, align 8, !tbaa !33
  %164 = and i32 %163, 128
  %165 = icmp ne i32 %164, 0
  br i1 %165, label %166, label %209

166:                                              ; preds = %161, %144
  %167 = load ptr, ptr %21, align 8, !tbaa !5
  %168 = load ptr, ptr %167, align 8, !tbaa !11
  %169 = getelementptr inbounds ptr, ptr %168, i64 32
  %170 = load ptr, ptr %169, align 8
  %171 = invoke noundef i32 %170(ptr noundef nonnull align 8 dereferenceable(176) %167)
          to label %172 unwind label %204

172:                                              ; preds = %166
  %173 = icmp eq i32 %171, 16
  br i1 %173, label %174, label %208

174:                                              ; preds = %172
  %175 = load ptr, ptr %21, align 8, !tbaa !5
  %176 = load ptr, ptr %175, align 8, !tbaa !11
  %177 = getelementptr inbounds ptr, ptr %176, i64 33
  %178 = load ptr, ptr %177, align 8
  %179 = invoke noundef nonnull align 8 dereferenceable(72) ptr %178(ptr noundef nonnull align 8 dereferenceable(176) %175)
          to label %180 unwind label %204

180:                                              ; preds = %174
  %181 = getelementptr inbounds %"class.glslang::TQualifier", ptr %179, i32 0, i32 2
  %182 = load i8, ptr %181, align 8
  %183 = and i8 %182, 15
  %184 = zext i8 %183 to i32
  %185 = icmp eq i32 %184, 2
  br i1 %185, label %198, label %186

186:                                              ; preds = %180
  %187 = load ptr, ptr %21, align 8, !tbaa !5
  %188 = load ptr, ptr %187, align 8, !tbaa !11
  %189 = getelementptr inbounds ptr, ptr %188, i64 33
  %190 = load ptr, ptr %189, align 8
  %191 = invoke noundef nonnull align 8 dereferenceable(72) ptr %190(ptr noundef nonnull align 8 dereferenceable(176) %187)
          to label %192 unwind label %204

192:                                              ; preds = %186
  %193 = getelementptr inbounds %"class.glslang::TQualifier", ptr %191, i32 0, i32 2
  %194 = load i8, ptr %193, align 8
  %195 = and i8 %194, 15
  %196 = zext i8 %195 to i32
  %197 = icmp eq i32 %196, 1
  br i1 %197, label %198, label %208

198:                                              ; preds = %192, %180
  %199 = load ptr, ptr %21, align 8, !tbaa !5
  %200 = load ptr, ptr %199, align 8, !tbaa !11
  %201 = getelementptr inbounds ptr, ptr %200, i64 2
  %202 = load ptr, ptr %201, align 8
  invoke void %202(ptr noundef nonnull align 8 dereferenceable(256) %199, ptr noundef %8)
          to label %203 unwind label %204

203:                                              ; preds = %198
  br label %208

204:                                              ; preds = %232, %229, %223, %220, %214, %198, %186, %174, %166, %149, %132, %121
  %205 = landingpad { ptr, i32 }
          cleanup
  %206 = extractvalue { ptr, i32 } %205, 0
  store ptr %206, ptr %10, align 8
  %207 = extractvalue { ptr, i32 } %205, 1
  store i32 %207, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  br label %243

208:                                              ; preds = %203, %192, %172
  br label %239

209:                                              ; preds = %161, %155
  %210 = getelementptr inbounds %"class.glslang::TReflection", ptr %22, i32 0, i32 1
  %211 = load i32, ptr %210, align 8, !tbaa !33
  %212 = and i32 %211, 64
  %213 = icmp ne i32 %212, 0
  br i1 %213, label %214, label %238

214:                                              ; preds = %209
  %215 = load ptr, ptr %21, align 8, !tbaa !5
  %216 = load ptr, ptr %215, align 8, !tbaa !11
  %217 = getelementptr inbounds ptr, ptr %216, i64 33
  %218 = load ptr, ptr %217, align 8
  %219 = invoke noundef nonnull align 8 dereferenceable(72) ptr %218(ptr noundef nonnull align 8 dereferenceable(176) %215)
          to label %220 unwind label %204

220:                                              ; preds = %214
  %221 = invoke noundef zeroext i1 @_ZNK7glslang10TQualifier11isPipeInputEv(ptr noundef nonnull align 8 dereferenceable(72) %219)
          to label %222 unwind label %204

222:                                              ; preds = %220
  br i1 %221, label %232, label %223

223:                                              ; preds = %222
  %224 = load ptr, ptr %21, align 8, !tbaa !5
  %225 = load ptr, ptr %224, align 8, !tbaa !11
  %226 = getelementptr inbounds ptr, ptr %225, i64 33
  %227 = load ptr, ptr %226, align 8
  %228 = invoke noundef nonnull align 8 dereferenceable(72) ptr %227(ptr noundef nonnull align 8 dereferenceable(176) %224)
          to label %229 unwind label %204

229:                                              ; preds = %223
  %230 = invoke noundef zeroext i1 @_ZNK7glslang10TQualifier12isPipeOutputEv(ptr noundef nonnull align 8 dereferenceable(72) %228)
          to label %231 unwind label %204

231:                                              ; preds = %229
  br i1 %230, label %232, label %238

232:                                              ; preds = %231, %222
  %233 = load ptr, ptr %21, align 8, !tbaa !5
  %234 = load ptr, ptr %233, align 8, !tbaa !11
  %235 = getelementptr inbounds ptr, ptr %234, i64 2
  %236 = load ptr, ptr %235, align 8
  invoke void %236(ptr noundef nonnull align 8 dereferenceable(256) %233, ptr noundef %8)
          to label %237 unwind label %204

237:                                              ; preds = %232
  br label %238

238:                                              ; preds = %237, %231, %209
  br label %239

239:                                              ; preds = %238, %208
  br label %240

240:                                              ; preds = %239, %129
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  br label %241

241:                                              ; preds = %240
  %242 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #4
  br label %106

243:                                              ; preds = %204, %117
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  br label %245

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

245:                                              ; preds = %243, %113
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  br label %263

246:                                              ; preds = %83
  %247 = getelementptr inbounds %"class.glslang::TReflectionTraverser", ptr %8, i32 0, i32 4
  store i8 1, ptr %247, align 8, !tbaa !13
  %248 = load ptr, ptr %15, align 8, !tbaa !5
  %249 = load ptr, ptr %248, align 8, !tbaa !5
  %250 = load ptr, ptr %249, align 8, !tbaa !11
  %251 = getelementptr inbounds ptr, ptr %250, i64 6
  %252 = load ptr, ptr %251, align 8
  %253 = invoke noundef ptr %252(ptr noundef nonnull align 8 dereferenceable(32) %249)
          to label %254 unwind label %109

254:                                              ; preds = %246
  %255 = load ptr, ptr %253, align 8, !tbaa !11
  %256 = getelementptr inbounds ptr, ptr %255, i64 2
  %257 = load ptr, ptr %256, align 8
  invoke void %257(ptr noundef nonnull align 8 dereferenceable(352) %253, ptr noundef %8)
          to label %258 unwind label %109

258:                                              ; preds = %254
  br label %259

259:                                              ; preds = %258, %244
  br label %260

260:                                              ; preds = %259, %72
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  br label %261

261:                                              ; preds = %260
  %262 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #4
  br label %57

263:                                              ; preds = %245, %109
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  br label %264

264:                                              ; preds = %263, %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  br label %274

265:                                              ; preds = %59
  %266 = getelementptr inbounds %"class.glslang::TReflectionTraverser", ptr %8, i32 0, i32 4
  store i8 1, ptr %266, align 8, !tbaa !13
  %267 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN7glslang11TReflection19buildCounterIndicesERKNS_13TIntermediateE(ptr noundef nonnull align 8 dereferenceable(428) %22, ptr noundef nonnull align 8 dereferenceable(1784) %267)
  %268 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZN7glslang11TReflection21buildUniformStageMaskERKNS_13TIntermediateE(ptr noundef nonnull align 8 dereferenceable(428) %22, ptr noundef nonnull align 8 dereferenceable(1784) %268)
          to label %269 unwind label %270

269:                                              ; preds = %265
  store i1 true, ptr %4, align 1
  store i32 1, ptr %14, align 4
  call void @_ZN7glslang20TReflectionTraverserD2Ev(ptr noundef nonnull align 8 dereferenceable(121) %8) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr %8) #4
  br label %275

270:                                              ; preds = %265
  %271 = landingpad { ptr, i32 }
          cleanup
  %272 = extractvalue { ptr, i32 } %271, 0
  store ptr %272, ptr %10, align 8
  %273 = extractvalue { ptr, i32 } %271, 1
  store i32 %273, ptr %11, align 4
  br label %274

274:                                              ; preds = %270, %264
  call void @_ZN7glslang20TReflectionTraverserD2Ev(ptr noundef nonnull align 8 dereferenceable(121) %8) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr %8) #4
  br label %277

275:                                              ; preds = %269, %33
  %276 = load i1, ptr %4, align 1
  ret i1 %276

277:                                              ; preds = %274
  %278 = load ptr, ptr %10, align 8
  %279 = load i32, ptr %11, align 4
  %280 = insertvalue { ptr, i32 } poison, ptr %278, 0
  %281 = insertvalue { ptr, i32 } %280, i32 %279, 1
  resume { ptr, i32 } %281
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7glslang20TReflectionTraverserC2ERKNS_13TIntermediateERNS_11TReflectionE(ptr noundef nonnull align 8 dereferenceable(121), ptr noundef nonnull align 8 dereferenceable(1784), ptr noundef nonnull align 8 dereferenceable(428)) unnamed_addr #1 align 2

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

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

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

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

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

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

attributes #0 = { 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 #1 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTS11EShLanguage", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !16, i64 120}
!14 = !{!"_ZTSN7glslang20TReflectionTraverserE", !15, i64 0, !6, i64 56, !6, i64 64, !24, i64 72, !16, i64 120}
!15 = !{!"_ZTSN7glslang16TIntermTraverserE", !16, i64 8, !16, i64 9, !16, i64 10, !16, i64 11, !17, i64 12, !17, i64 16, !18, i64 24}
!16 = !{!"bool", !7, i64 0}
!17 = !{!"int", !7, i64 0}
!18 = !{!"_ZTSN7glslang7TVectorIP11TIntermNodeEE", !19, i64 0}
!19 = !{!"_ZTSSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE12_Vector_implE", !22, i64 0, !23, i64 8}
!22 = !{!"_ZTSN7glslang14pool_allocatorIP11TIntermNodeEE", !6, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!"_ZTSSt3setIPK11TIntermNodeSt4lessIS2_ESaIS2_EE", !25, i64 0}
!25 = !{!"_ZTSSt8_Rb_treeIPK11TIntermNodeS2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE", !26, i64 0}
!26 = !{!"_ZTSNSt8_Rb_treeIPK11TIntermNodeS2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE13_Rb_tree_implIS6_Lb1EEE", !27, i64 0, !29, i64 8}
!27 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPK11TIntermNodeEE", !28, i64 0}
!28 = !{!"_ZTSSt4lessIPK11TIntermNodeE"}
!29 = !{!"_ZTSSt15_Rb_tree_header", !30, i64 0, !32, i64 32}
!30 = !{!"_ZTSSt18_Rb_tree_node_base", !31, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!31 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!32 = !{!"long", !7, i64 0}
!33 = !{!34, !35, i64 8}
!34 = !{!"_ZTSN7glslang11TReflectionE", !35, i64 8, !10, i64 12, !10, i64 16, !36, i64 24, !40, i64 104, !40, i64 152, !40, i64 200, !45, i64 248, !45, i64 272, !45, i64 296, !45, i64 320, !45, i64 344, !45, i64 368, !49, i64 392, !7, i64 416}
!35 = !{!"_ZTS20EShReflectionOptions", !7, i64 0}
!36 = !{!"_ZTSN7glslang17TObjectReflectionE", !37, i64 0, !17, i64 32, !17, i64 36, !17, i64 40, !17, i64 44, !17, i64 48, !17, i64 52, !17, i64 56, !17, i64 60, !17, i64 64, !39, i64 68, !6, i64 72}
!37 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !38, i64 0, !32, i64 8, !7, i64 16}
!38 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!39 = !{!"_ZTS15EShLanguageMask", !7, i64 0}
!40 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEE", !41, i64 0}
!41 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE", !42, i64 0}
!42 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !43, i64 0, !29, i64 8}
!43 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !44, i64 0}
!44 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!45 = !{!"_ZTSSt6vectorIN7glslang17TObjectReflectionESaIS1_EE", !46, i64 0}
!46 = !{!"_ZTSSt12_Vector_baseIN7glslang17TObjectReflectionESaIS1_EE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIN7glslang17TObjectReflectionESaIS1_EE12_Vector_implE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseIN7glslang17TObjectReflectionESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!49 = !{!"_ZTSSt6vectorIiSaIiEE", !50, i64 0}
!50 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !51, i64 0}
!51 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.glslang::TReflectionTraverser" = type <{ %"class.glslang::TIntermTraverser", ptr, ptr, %"class.std::set", i8, [7 x i8] }>
%"class.glslang::TIntermTraverser" = type { ptr, i8, i8, i8, i8, i32, i32, %"class.glslang::TVector" }
%"class.glslang::TVector" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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", %"struct.std::_Vector_base<TIntermNode *, glslang::pool_allocator<TIntermNode *>>::_Vector_impl_data" }
%"class.glslang::pool_allocator" = type { ptr }
%"struct.std::_Vector_base<TIntermNode *, glslang::pool_allocator<TIntermNode *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<const TIntermNode *, const TIntermNode *, std::_Identity<const TIntermNode *>, std::less<const TIntermNode *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<const TIntermNode *, const TIntermNode *, std::_Identity<const TIntermNode *>, std::less<const TIntermNode *>>::_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.__gnu_cxx::__normal_iterator" = type { ptr }

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

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7glslang11TReflection24buildAttributeReflectionE11EShLanguageRKNS_13TIntermediateE(ptr noundef nonnull align 8 dereferenceable(428), i32 noundef, 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 dso_local void @_ZN7glslang11TReflection19buildCounterIndicesERKNS_13TIntermediateE(ptr noundef nonnull align 8 dereferenceable(428), ptr noundef nonnull align 8 dereferenceable(1784)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7glslang11TReflection21buildUniformStageMaskERKNS_13TIntermediateE(ptr noundef nonnull align 8 dereferenceable(428), ptr noundef nonnull align 8 dereferenceable(1784)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7glslang11TReflection8addStageE11EShLanguageRKNS_13TIntermediateE(ptr noundef nonnull align 8 dereferenceable(428) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(1784) %2) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.glslang::TReflectionTraverser", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = tail call noundef ptr @_ZNK7glslang13TIntermediate11getTreeRootEv(ptr noundef nonnull align 8 dereferenceable(1784) %2)
  %10 = icmp eq ptr %9, null
  br i1 %10, label %173, label %11

11:                                               ; preds = %3
  %12 = tail call noundef i32 @_ZNK7glslang13TIntermediate17getNumEntryPointsEv(ptr noundef nonnull align 8 dereferenceable(1784) %2)
  %.not = icmp eq i32 %12, 1
  br i1 %.not, label %13, label %173

13:                                               ; preds = %11
  %14 = tail call noundef zeroext i1 @_ZNK7glslang13TIntermediate11isRecursiveEv(ptr noundef nonnull align 8 dereferenceable(1784) %2)
  br i1 %14, label %173, label %15

15:                                               ; preds = %13
  tail call void @_ZN7glslang11TReflection24buildAttributeReflectionE11EShLanguageRKNS_13TIntermediateE(ptr noundef nonnull align 8 dereferenceable(428) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(1784) %2)
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %4) #4
  call void @_ZN7glslang20TReflectionTraverserC2ERKNS_13TIntermediateERNS_11TReflectionE(ptr noundef nonnull align 8 dereferenceable(121) %4, ptr noundef nonnull align 8 dereferenceable(1784) %2, ptr noundef nonnull align 8 dereferenceable(428) %0)
  %16 = call noundef ptr @_ZNK7glslang13TIntermediate11getTreeRootEv(ptr noundef nonnull align 8 dereferenceable(1784) %2)
  %17 = load ptr, ptr %16, align 8, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %17, i64 48
  %19 = load ptr, ptr %18, align 8
  %20 = invoke noundef ptr %19(ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %21 unwind label %33

21:                                               ; preds = %15
  %22 = load ptr, ptr %20, align 8, !tbaa !5
  %23 = getelementptr inbounds i8, ptr %22, i64 400
  %24 = load ptr, ptr %23, align 8
  %25 = invoke noundef nonnull align 8 dereferenceable(32) ptr %24(ptr noundef nonnull align 8 dereferenceable(352) %20)
          to label %26 unwind label %33

26:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  %27 = call ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %25) #4
  store ptr %27, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
  %28 = call ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %25) #4
  store ptr %28, ptr %6, align 8
  %29 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #4
  br i1 %29, label %.lr.ph50, label %._crit_edge51

.lr.ph50:                                         ; preds = %26
  %30 = getelementptr inbounds i8, ptr %4, i64 120
  %31 = getelementptr inbounds i8, ptr %0, i64 8
  br label %35

._crit_edge51:                                    ; preds = %165, %26
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  %32 = getelementptr inbounds i8, ptr %4, i64 120
  store i8 1, ptr %32, align 8, !tbaa !8
  call void @_ZN7glslang11TReflection19buildCounterIndicesERKNS_13TIntermediateE(ptr noundef nonnull align 8 dereferenceable(428) %0, ptr noundef nonnull align 8 dereferenceable(1784) %2)
  invoke void @_ZN7glslang11TReflection21buildUniformStageMaskERKNS_13TIntermediateE(ptr noundef nonnull align 8 dereferenceable(428) %0, ptr noundef nonnull align 8 dereferenceable(1784) %2)
          to label %169 unwind label %170

33:                                               ; preds = %21, %15
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %172

35:                                               ; preds = %.lr.ph50, %165
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  %37 = load ptr, ptr %36, align 8, !tbaa !30
  %38 = load ptr, ptr %37, align 8, !tbaa !5
  %39 = getelementptr inbounds i8, ptr %38, i64 48
  %40 = load ptr, ptr %39, align 8
  %41 = invoke noundef ptr %40(ptr noundef nonnull align 8 dereferenceable(32) %37)
          to label %42 unwind label %67

42:                                               ; preds = %35
  %.not39 = icmp eq ptr %41, null
  br i1 %.not39, label %165, label %43

43:                                               ; preds = %42
  %44 = load ptr, ptr %36, align 8, !tbaa !30
  %45 = load ptr, ptr %44, align 8, !tbaa !5
  %46 = getelementptr inbounds i8, ptr %45, i64 48
  %47 = load ptr, ptr %46, align 8
  %48 = invoke noundef ptr %47(ptr noundef nonnull align 8 dereferenceable(32) %44)
          to label %49 unwind label %67

49:                                               ; preds = %43
  %50 = call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %48)
  %51 = icmp eq i32 %50, 2
  br i1 %51, label %52, label %155

52:                                               ; preds = %49
  store i8 0, ptr %30, align 8, !tbaa !8
  %53 = load ptr, ptr %36, align 8, !tbaa !30
  %54 = load ptr, ptr %53, align 8, !tbaa !5
  %55 = getelementptr inbounds i8, ptr %54, i64 48
  %56 = load ptr, ptr %55, align 8
  %57 = invoke noundef ptr %56(ptr noundef nonnull align 8 dereferenceable(32) %53)
          to label %58 unwind label %69

58:                                               ; preds = %52
  %59 = load ptr, ptr %57, align 8, !tbaa !5
  %60 = getelementptr inbounds i8, ptr %59, i64 400
  %61 = load ptr, ptr %60, align 8
  %62 = invoke noundef nonnull align 8 dereferenceable(32) ptr %61(ptr noundef nonnull align 8 dereferenceable(352) %57)
          to label %63 unwind label %71

63:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  %64 = call ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %62) #4
  store ptr %64, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  %65 = call ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %62) #4
  store ptr %65, ptr %8, align 8
  %66 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #4
  br i1 %66, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %152, %63
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  br label %165

67:                                               ; preds = %161, %155, %43, %35
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %168

69:                                               ; preds = %52
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %168

71:                                               ; preds = %58
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %168

.lr.ph:                                           ; preds = %63, %152
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #4
  %74 = load ptr, ptr %73, align 8, !tbaa !30
  %75 = load ptr, ptr %74, align 8, !tbaa !5
  %76 = getelementptr inbounds i8, ptr %75, i64 96
  %77 = load ptr, ptr %76, align 8
  %78 = invoke noundef ptr %77(ptr noundef nonnull align 8 dereferenceable(32) %74)
          to label %79 unwind label %131

79:                                               ; preds = %.lr.ph
  %.not40 = icmp eq ptr %78, null
  br i1 %.not40, label %152, label %80

80:                                               ; preds = %79
  %81 = load ptr, ptr %78, align 8, !tbaa !5
  %82 = getelementptr inbounds i8, ptr %81, i64 264
  %83 = load ptr, ptr %82, align 8
  %84 = invoke noundef nonnull align 8 dereferenceable(72) ptr %83(ptr noundef nonnull align 8 dereferenceable(176) %78)
          to label %85 unwind label %131

85:                                               ; preds = %80
  %86 = getelementptr inbounds i8, ptr %84, i64 8
  %87 = load i64, ptr %86, align 8
  %88 = and i64 %87, 63
  %89 = icmp eq i64 %88, 5
  br i1 %89, label %90, label %93

90:                                               ; preds = %85
  %91 = load i32, ptr %31, align 8, !tbaa !31
  %92 = and i32 %91, 256
  %.not41 = icmp eq i32 %92, 0
  br i1 %.not41, label %93, label %104

93:                                               ; preds = %90, %85
  %94 = load ptr, ptr %78, align 8, !tbaa !5
  %95 = getelementptr inbounds i8, ptr %94, i64 264
  %96 = load ptr, ptr %95, align 8
  %97 = invoke noundef nonnull align 8 dereferenceable(72) ptr %96(ptr noundef nonnull align 8 dereferenceable(176) %78)
          to label %98 unwind label %131

98:                                               ; preds = %93
  %99 = getelementptr inbounds i8, ptr %97, i64 8
  %100 = load i64, ptr %99, align 8
  %101 = and i64 %100, 63
  %102 = icmp ne i64 %101, 6
  %.pre = load i32, ptr %31, align 8, !tbaa !31
  %103 = and i32 %.pre, 128
  %.not42 = icmp eq i32 %103, 0
  %or.cond = select i1 %102, i1 true, i1 %.not42
  br i1 %or.cond, label %133, label %104

104:                                              ; preds = %98, %90
  %105 = load ptr, ptr %78, align 8, !tbaa !5
  %106 = getelementptr inbounds i8, ptr %105, i64 256
  %107 = load ptr, ptr %106, align 8
  %108 = invoke noundef i32 %107(ptr noundef nonnull align 8 dereferenceable(176) %78)
          to label %109 unwind label %131

109:                                              ; preds = %104
  %110 = icmp eq i32 %108, 16
  br i1 %110, label %111, label %152

111:                                              ; preds = %109
  %112 = load ptr, ptr %78, align 8, !tbaa !5
  %113 = getelementptr inbounds i8, ptr %112, i64 264
  %114 = load ptr, ptr %113, align 8
  %115 = invoke noundef nonnull align 8 dereferenceable(72) ptr %114(ptr noundef nonnull align 8 dereferenceable(176) %78)
          to label %116 unwind label %131

116:                                              ; preds = %111
  %117 = getelementptr inbounds i8, ptr %115, i64 16
  %118 = load i8, ptr %117, align 8
  %119 = and i8 %118, 15
  %120 = icmp eq i8 %119, 2
  br i1 %120, label %.invoke, label %121

121:                                              ; preds = %116
  %122 = load ptr, ptr %78, align 8, !tbaa !5
  %123 = getelementptr inbounds i8, ptr %122, i64 264
  %124 = load ptr, ptr %123, align 8
  %125 = invoke noundef nonnull align 8 dereferenceable(72) ptr %124(ptr noundef nonnull align 8 dereferenceable(176) %78)
          to label %126 unwind label %131

126:                                              ; preds = %121
  %127 = getelementptr inbounds i8, ptr %125, i64 16
  %128 = load i8, ptr %127, align 8
  %129 = and i8 %128, 15
  %130 = icmp eq i8 %129, 1
  br i1 %130, label %.invoke, label %152

131:                                              ; preds = %.invoke, %142, %135, %121, %111, %104, %93, %80, %.lr.ph
  %132 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  br label %168

133:                                              ; preds = %98
  %134 = and i32 %.pre, 64
  %.not43 = icmp eq i32 %134, 0
  br i1 %.not43, label %152, label %135

135:                                              ; preds = %133
  %136 = load ptr, ptr %78, align 8, !tbaa !5
  %137 = getelementptr inbounds i8, ptr %136, i64 264
  %138 = load ptr, ptr %137, align 8
  %139 = invoke noundef nonnull align 8 dereferenceable(72) ptr %138(ptr noundef nonnull align 8 dereferenceable(176) %78)
          to label %140 unwind label %131

140:                                              ; preds = %135
  %141 = call noundef zeroext i1 @_ZNK7glslang10TQualifier11isPipeInputEv(ptr noundef nonnull align 8 dereferenceable(72) %139)
  br i1 %141, label %.invoke, label %142

142:                                              ; preds = %140
  %143 = load ptr, ptr %78, align 8, !tbaa !5
  %144 = getelementptr inbounds i8, ptr %143, i64 264
  %145 = load ptr, ptr %144, align 8
  %146 = invoke noundef nonnull align 8 dereferenceable(72) ptr %145(ptr noundef nonnull align 8 dereferenceable(176) %78)
          to label %147 unwind label %131

147:                                              ; preds = %142
  %148 = call noundef zeroext i1 @_ZNK7glslang10TQualifier12isPipeOutputEv(ptr noundef nonnull align 8 dereferenceable(72) %146)
  br i1 %148, label %.invoke, label %152

.invoke:                                          ; preds = %140, %147, %116, %126
  %149 = load ptr, ptr %78, align 8, !tbaa !5
  %150 = getelementptr inbounds i8, ptr %149, i64 16
  %151 = load ptr, ptr %150, align 8
  invoke void %151(ptr noundef nonnull align 8 dereferenceable(256) %78, ptr noundef nonnull %4)
          to label %152 unwind label %131

152:                                              ; preds = %.invoke, %126, %109, %147, %133, %79
  %153 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #4
  %154 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #4
  br i1 %154, label %.lr.ph, label %._crit_edge

155:                                              ; preds = %49
  store i8 1, ptr %30, align 8, !tbaa !8
  %156 = load ptr, ptr %36, align 8, !tbaa !30
  %157 = load ptr, ptr %156, align 8, !tbaa !5
  %158 = getelementptr inbounds i8, ptr %157, i64 48
  %159 = load ptr, ptr %158, align 8
  %160 = invoke noundef ptr %159(ptr noundef nonnull align 8 dereferenceable(32) %156)
          to label %161 unwind label %67

161:                                              ; preds = %155
  %162 = load ptr, ptr %160, align 8, !tbaa !5
  %163 = getelementptr inbounds i8, ptr %162, i64 16
  %164 = load ptr, ptr %163, align 8
  invoke void %164(ptr noundef nonnull align 8 dereferenceable(352) %160, ptr noundef nonnull %4)
          to label %165 unwind label %67

165:                                              ; preds = %._crit_edge, %161, %42
  %166 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  %167 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #4
  br i1 %167, label %35, label %._crit_edge51

168:                                              ; preds = %69, %131, %71, %67
  %.pn.pn.pn = phi { ptr, i32 } [ %68, %67 ], [ %70, %69 ], [ %132, %131 ], [ %72, %71 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  br label %172

169:                                              ; preds = %._crit_edge51
  call void @_ZN7glslang20TReflectionTraverserD2Ev(ptr noundef nonnull align 8 dereferenceable(121) %4) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %4) #4
  br label %173

170:                                              ; preds = %._crit_edge51
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %172

172:                                              ; preds = %33, %168, %170
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %171, %170 ], [ %.pn.pn.pn, %168 ], [ %34, %33 ]
  call void @_ZN7glslang20TReflectionTraverserD2Ev(ptr noundef nonnull align 8 dereferenceable(121) %4) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %4) #4
  resume { ptr, i32 } %.pn.pn.pn.pn.pn

173:                                              ; preds = %3, %11, %13, %169
  %.0 = phi i1 [ true, %169 ], [ false, %13 ], [ false, %11 ], [ false, %3 ]
  ret i1 %.0
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7glslang20TReflectionTraverserC2ERKNS_13TIntermediateERNS_11TReflectionE(ptr noundef nonnull align 8 dereferenceable(121), ptr noundef nonnull align 8 dereferenceable(1784), ptr noundef nonnull align 8 dereferenceable(428)) unnamed_addr #1 align 2

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

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

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

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

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

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

attributes #0 = { 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 #1 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !11, i64 120}
!9 = !{!"_ZTSN7glslang20TReflectionTraverserE", !10, i64 0, !19, i64 56, !19, i64 64, !21, i64 72, !11, i64 120}
!10 = !{!"_ZTSN7glslang16TIntermTraverserE", !11, i64 8, !11, i64 9, !11, i64 10, !11, i64 11, !13, i64 12, !13, i64 16, !14, i64 24}
!11 = !{!"bool", !12, i64 0}
!12 = !{!"omnipotent char", !7, i64 0}
!13 = !{!"int", !12, i64 0}
!14 = !{!"_ZTSN7glslang7TVectorIP11TIntermNodeEE", !15, i64 0}
!15 = !{!"_ZTSSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE12_Vector_implE", !18, i64 0, !20, i64 8}
!18 = !{!"_ZTSN7glslang14pool_allocatorIP11TIntermNodeEE", !19, i64 0}
!19 = !{!"any pointer", !12, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE17_Vector_impl_dataE", !19, i64 0, !19, i64 8, !19, i64 16}
!21 = !{!"_ZTSSt3setIPK11TIntermNodeSt4lessIS2_ESaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSSt8_Rb_treeIPK11TIntermNodeS2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE", !23, i64 0}
!23 = !{!"_ZTSNSt8_Rb_treeIPK11TIntermNodeS2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE13_Rb_tree_implIS6_Lb1EEE", !24, i64 0, !26, i64 8}
!24 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPK11TIntermNodeEE", !25, i64 0}
!25 = !{!"_ZTSSt4lessIPK11TIntermNodeE"}
!26 = !{!"_ZTSSt15_Rb_tree_header", !27, i64 0, !29, i64 32}
!27 = !{!"_ZTSSt18_Rb_tree_node_base", !28, i64 0, !19, i64 8, !19, i64 16, !19, i64 24}
!28 = !{!"_ZTSSt14_Rb_tree_color", !12, i64 0}
!29 = !{!"long", !12, i64 0}
!30 = !{!19, !19, i64 0}
!31 = !{!32, !33, i64 8}
!32 = !{!"_ZTSN7glslang11TReflectionE", !33, i64 8, !34, i64 12, !34, i64 16, !35, i64 24, !39, i64 104, !39, i64 152, !39, i64 200, !44, i64 248, !44, i64 272, !44, i64 296, !44, i64 320, !44, i64 344, !44, i64 368, !48, i64 392, !12, i64 416}
!33 = !{!"_ZTS20EShReflectionOptions", !12, i64 0}
!34 = !{!"_ZTS11EShLanguage", !12, i64 0}
!35 = !{!"_ZTSN7glslang17TObjectReflectionE", !36, i64 0, !13, i64 32, !13, i64 36, !13, i64 40, !13, i64 44, !13, i64 48, !13, i64 52, !13, i64 56, !13, i64 60, !13, i64 64, !38, i64 68, !19, i64 72}
!36 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !37, i64 0, !29, i64 8, !12, i64 16}
!37 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !19, i64 0}
!38 = !{!"_ZTS15EShLanguageMask", !12, i64 0}
!39 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEE", !40, i64 0}
!40 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE", !41, i64 0}
!41 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !42, i64 0, !26, i64 8}
!42 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !43, i64 0}
!43 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!44 = !{!"_ZTSSt6vectorIN7glslang17TObjectReflectionESaIS1_EE", !45, i64 0}
!45 = !{!"_ZTSSt12_Vector_baseIN7glslang17TObjectReflectionESaIS1_EE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIN7glslang17TObjectReflectionESaIS1_EE12_Vector_implE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIN7glslang17TObjectReflectionESaIS1_EE17_Vector_impl_dataE", !19, i64 0, !19, i64 8, !19, i64 16}
!48 = !{!"_ZTSSt6vectorIiSaIiEE", !49, i64 0}
!49 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !51, i64 0}
!51 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !19, i64 0, !19, i64 8, !19, i64 16}


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