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

; 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.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.glslang::TParseVersions" = type { ptr, i8, i32, ptr, i32, i32, %"struct.glslang::SpvVersion", ptr, %"class.glslang::TMap", %"class.glslang::TMap.0", i32, i32, ptr }
%"struct.glslang::SpvVersion" = type <{ i32, i32, i32, i32, i8, [3 x i8] }>
%"class.glslang::TMap" = type { %"class.std::map" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TExtensionBehavior>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TExtensionBehavior>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>>, glslang::pool_allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TExtensionBehavior>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TExtensionBehavior>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TExtensionBehavior>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>>, glslang::pool_allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TExtensionBehavior>>>::_Rb_tree_impl" = type { %"class.glslang::pool_allocator", [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.glslang::pool_allocator" = type { ptr }
%"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::TMap.0" = type { %"class.std::map.1" }
%"class.std::map.1" = type { %"class.std::_Rb_tree.2" }
%"class.std::_Rb_tree.2" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, unsigned int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, unsigned int>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>>, glslang::pool_allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, unsigned int>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, unsigned int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, unsigned int>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>>, glslang::pool_allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, unsigned int>>>::_Rb_tree_impl" = type { %"class.glslang::pool_allocator.3", [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.glslang::pool_allocator.3" = 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 }>

@.str.2 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.289 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.290 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.291 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.292 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.293 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.294 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.295 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.296 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.297 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.298 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.299 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.300 = external hidden unnamed_addr constant [5 x i8], align 1

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZNK7glslang16TConstUnionArrayixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #0 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7glslang13TParseContext16lValueErrorCheckERKNS_10TSourceLocEPKcPNS_12TIntermTypedE(ptr noundef nonnull align 8 dereferenceable(24912) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef %3) unnamed_addr #2 align 2 {
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i8, align 1
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca [4 x i32], align 16
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  %25 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %26 = load ptr, ptr %9, align 8, !tbaa !5
  %27 = load ptr, ptr %26, align 8, !tbaa !9
  %28 = getelementptr inbounds ptr, ptr %27, i64 8
  %29 = load ptr, ptr %28, align 8
  %30 = call noundef ptr %29(ptr noundef nonnull align 8 dereferenceable(32) %26)
  store ptr %30, ptr %10, align 8, !tbaa !5
  %31 = load ptr, ptr %10, align 8, !tbaa !5
  %32 = icmp ne ptr %31, null
  br i1 %32, label %33, label %217

33:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #6
  store i8 0, ptr %11, align 1, !tbaa !11
  %34 = load ptr, ptr %10, align 8, !tbaa !5
  %35 = call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %34)
  switch i32 %35, label %203 [
    i32 180, label %36
    i32 181, label %36
    i32 183, label %114
  ]

36:                                               ; preds = %33, %33
  %37 = getelementptr inbounds %"class.glslang::TParseVersions", ptr %25, i32 0, i32 5
  %38 = load i32, ptr %37, align 4, !tbaa !13
  %39 = icmp eq i32 %38, 1
  br i1 %39, label %40, label %113

40:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %41 = load ptr, ptr %10, align 8, !tbaa !5
  %42 = load ptr, ptr %41, align 8, !tbaa !9
  %43 = getelementptr inbounds ptr, ptr %42, i64 50
  %44 = load ptr, ptr %43, align 8
  %45 = call noundef ptr %44(ptr noundef nonnull align 8 dereferenceable(200) %41)
  %46 = load ptr, ptr %45, align 8, !tbaa !9
  %47 = getelementptr inbounds ptr, ptr %46, i64 30
  %48 = load ptr, ptr %47, align 8
  %49 = call noundef nonnull align 8 dereferenceable(144) ptr %48(ptr noundef nonnull align 8 dereferenceable(176) %45)
  store ptr %49, ptr %12, align 8, !tbaa !5
  %50 = load ptr, ptr %12, align 8, !tbaa !5
  %51 = load ptr, ptr %50, align 8, !tbaa !9
  %52 = getelementptr inbounds ptr, ptr %51, i64 11
  %53 = load ptr, ptr %52, align 8
  %54 = call noundef nonnull align 8 dereferenceable(72) ptr %53(ptr noundef nonnull align 8 dereferenceable(144) %50)
  %55 = getelementptr inbounds %"class.glslang::TQualifier", ptr %54, i32 0, i32 1
  %56 = load i64, ptr %55, align 8
  %57 = and i64 %56, 63
  %58 = trunc i64 %57 to i32
  %59 = icmp eq i32 %58, 4
  br i1 %59, label %60, label %112

60:                                               ; preds = %40
  %61 = load ptr, ptr %12, align 8, !tbaa !5
  %62 = load ptr, ptr %61, align 8, !tbaa !9
  %63 = getelementptr inbounds ptr, ptr %62, i64 11
  %64 = load ptr, ptr %63, align 8
  %65 = call noundef nonnull align 8 dereferenceable(72) ptr %64(ptr noundef nonnull align 8 dereferenceable(144) %61)
  %66 = getelementptr inbounds %"class.glslang::TQualifier", ptr %65, i32 0, i32 1
  %67 = load i64, ptr %66, align 8
  %68 = lshr i64 %67, 43
  %69 = and i64 %68, 1
  %70 = trunc i64 %69 to i1
  br i1 %70, label %112, label %71

71:                                               ; preds = %60
  %72 = load ptr, ptr %10, align 8, !tbaa !5
  %73 = load ptr, ptr %72, align 8, !tbaa !9
  %74 = getelementptr inbounds ptr, ptr %73, i64 50
  %75 = load ptr, ptr %74, align 8
  %76 = call noundef ptr %75(ptr noundef nonnull align 8 dereferenceable(200) %72)
  %77 = load ptr, ptr %76, align 8, !tbaa !9
  %78 = getelementptr inbounds ptr, ptr %77, i64 12
  %79 = load ptr, ptr %78, align 8
  %80 = call noundef ptr %79(ptr noundef nonnull align 8 dereferenceable(32) %76)
  %81 = icmp ne ptr %80, null
  br i1 %81, label %82, label %112

82:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %83 = load ptr, ptr %10, align 8, !tbaa !5
  %84 = load ptr, ptr %83, align 8, !tbaa !9
  %85 = getelementptr inbounds ptr, ptr %84, i64 51
  %86 = load ptr, ptr %85, align 8
  %87 = call noundef ptr %86(ptr noundef nonnull align 8 dereferenceable(200) %83)
  %88 = load ptr, ptr %87, align 8, !tbaa !9
  %89 = getelementptr inbounds ptr, ptr %88, i64 12
  %90 = load ptr, ptr %89, align 8
  %91 = call noundef ptr %90(ptr noundef nonnull align 8 dereferenceable(32) %87)
  store ptr %91, ptr %13, align 8, !tbaa !5
  %92 = load ptr, ptr %13, align 8, !tbaa !5
  %93 = icmp ne ptr %92, null
  br i1 %93, label %94, label %106

94:                                               ; preds = %82
  %95 = load ptr, ptr %13, align 8, !tbaa !5
  %96 = load ptr, ptr %95, align 8, !tbaa !9
  %97 = getelementptr inbounds ptr, ptr %96, i64 34
  %98 = load ptr, ptr %97, align 8
  %99 = call noundef nonnull align 8 dereferenceable(72) ptr %98(ptr noundef nonnull align 8 dereferenceable(176) %95)
  %100 = getelementptr inbounds %"class.glslang::TQualifier", ptr %99, i32 0, i32 1
  %101 = load i64, ptr %100, align 8
  %102 = lshr i64 %101, 6
  %103 = and i64 %102, 511
  %104 = trunc i64 %103 to i32
  %105 = icmp ne i32 %104, 51
  br i1 %105, label %106, label %111

106:                                              ; preds = %94, %82
  %107 = load ptr, ptr %7, align 8, !tbaa !5
  %108 = load ptr, ptr %25, align 8, !tbaa !9
  %109 = getelementptr inbounds ptr, ptr %108, i64 42
  %110 = load ptr, ptr %109, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %110(ptr noundef nonnull align 8 dereferenceable(1176) %25, ptr noundef nonnull align 8 dereferenceable(24) %107, ptr noundef @.str.289, ptr noundef @.str.76, ptr noundef @.str.2)
  br label %111

111:                                              ; preds = %106, %94
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %112

112:                                              ; preds = %111, %71, %60, %40
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %113

113:                                              ; preds = %112, %36
  br label %204

114:                                              ; preds = %33
  %115 = load ptr, ptr %7, align 8, !tbaa !5
  %116 = load ptr, ptr %8, align 8, !tbaa !5
  %117 = load ptr, ptr %10, align 8, !tbaa !5
  %118 = load ptr, ptr %117, align 8, !tbaa !9
  %119 = getelementptr inbounds ptr, ptr %118, i64 50
  %120 = load ptr, ptr %119, align 8
  %121 = call noundef ptr %120(ptr noundef nonnull align 8 dereferenceable(200) %117)
  %122 = load ptr, ptr %25, align 8, !tbaa !9
  %123 = getelementptr inbounds ptr, ptr %122, i64 63
  %124 = load ptr, ptr %123, align 8
  %125 = call noundef zeroext i1 %124(ptr noundef nonnull align 8 dereferenceable(24912) %25, ptr noundef nonnull align 8 dereferenceable(24) %115, ptr noundef %116, ptr noundef %121)
  %126 = zext i1 %125 to i8
  store i8 %126, ptr %11, align 1, !tbaa !11
  %127 = load i8, ptr %11, align 1, !tbaa !11, !range !36, !noundef !37
  %128 = trunc i8 %127 to i1
  br i1 %128, label %200, label %129

129:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #6
  call void @llvm.memset.p0.i64(ptr align 16 %14, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %130 = load ptr, ptr %10, align 8, !tbaa !5
  %131 = load ptr, ptr %130, align 8, !tbaa !9
  %132 = getelementptr inbounds ptr, ptr %131, i64 51
  %133 = load ptr, ptr %132, align 8
  %134 = call noundef ptr %133(ptr noundef nonnull align 8 dereferenceable(200) %130)
  store ptr %134, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %135 = load ptr, ptr %15, align 8, !tbaa !5
  %136 = load ptr, ptr %135, align 8, !tbaa !9
  %137 = getelementptr inbounds ptr, ptr %136, i64 6
  %138 = load ptr, ptr %137, align 8
  %139 = call noundef ptr %138(ptr noundef nonnull align 8 dereferenceable(32) %135)
  store ptr %139, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %140 = load ptr, ptr %16, align 8, !tbaa !5
  %141 = load ptr, ptr %140, align 8, !tbaa !9
  %142 = getelementptr inbounds ptr, ptr %141, i64 50
  %143 = load ptr, ptr %142, align 8
  %144 = call noundef nonnull align 8 dereferenceable(32) ptr %143(ptr noundef nonnull align 8 dereferenceable(352) %140)
  %145 = call ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %144) #6
  %146 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %145, ptr %146, align 8
  br label %147

147:                                              ; preds = %191, %129
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %148 = load ptr, ptr %16, align 8, !tbaa !5
  %149 = load ptr, ptr %148, align 8, !tbaa !9
  %150 = getelementptr inbounds ptr, ptr %149, i64 50
  %151 = load ptr, ptr %150, align 8
  %152 = call noundef nonnull align 8 dereferenceable(32) ptr %151(ptr noundef nonnull align 8 dereferenceable(352) %148)
  %153 = call ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %152) #6
  %154 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  store ptr %153, ptr %154, align 8
  %155 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br i1 %155, label %157, label %156

156:                                              ; preds = %147
  store i32 3, ptr %19, align 4
  br label %194

157:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  %159 = load ptr, ptr %158, align 8, !tbaa !5
  %160 = load ptr, ptr %159, align 8, !tbaa !9
  %161 = getelementptr inbounds ptr, ptr %160, i64 3
  %162 = load ptr, ptr %161, align 8
  %163 = call noundef ptr %162(ptr noundef nonnull align 8 dereferenceable(32) %159)
  %164 = load ptr, ptr %163, align 8, !tbaa !9
  %165 = getelementptr inbounds ptr, ptr %164, i64 5
  %166 = load ptr, ptr %165, align 8
  %167 = call noundef ptr %166(ptr noundef nonnull align 8 dereferenceable(32) %163)
  %168 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK7glslang20TIntermConstantUnion13getConstArrayEv(ptr noundef nonnull align 8 dereferenceable(193) %167)
  %169 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNK7glslang16TConstUnionArrayixEm(ptr noundef nonnull align 8 dereferenceable(16) %168, i64 noundef 0)
  %170 = call noundef i32 @_ZNK7glslang11TConstUnion9getIConstEv(ptr noundef nonnull align 8 dereferenceable(12) %169)
  store i32 %170, ptr %20, align 4, !tbaa !38
  %171 = load i32, ptr %20, align 4, !tbaa !38
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 %172
  %174 = load i32, ptr %173, align 4, !tbaa !38
  %175 = add nsw i32 %174, 1
  store i32 %175, ptr %173, align 4, !tbaa !38
  %176 = load i32, ptr %20, align 4, !tbaa !38
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 %177
  %179 = load i32, ptr %178, align 4, !tbaa !38
  %180 = icmp sgt i32 %179, 1
  br i1 %180, label %181, label %187

181:                                              ; preds = %157
  %182 = load ptr, ptr %7, align 8, !tbaa !5
  %183 = load ptr, ptr %8, align 8, !tbaa !5
  %184 = load ptr, ptr %25, align 8, !tbaa !9
  %185 = getelementptr inbounds ptr, ptr %184, i64 42
  %186 = load ptr, ptr %185, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %186(ptr noundef nonnull align 8 dereferenceable(1176) %25, ptr noundef nonnull align 8 dereferenceable(24) %182, ptr noundef @.str.290, ptr noundef %183, ptr noundef @.str.2, ptr noundef @.str.2)
  store i1 true, ptr %5, align 1
  store i32 1, ptr %19, align 4
  br label %188

187:                                              ; preds = %157
  store i32 0, ptr %19, align 4
  br label %188

188:                                              ; preds = %187, %181
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  %189 = load i32, ptr %19, align 4
  switch i32 %189, label %194 [
    i32 0, label %190
  ]

190:                                              ; preds = %188
  br label %191

191:                                              ; preds = %190
  %192 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef 0) #6
  %193 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %21, i32 0, i32 0
  store ptr %192, ptr %193, align 8
  br label %147, !llvm.loop !39

194:                                              ; preds = %188, %156
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  %195 = load i32, ptr %19, align 4
  switch i32 %195, label %197 [
    i32 3, label %196
  ]

196:                                              ; preds = %194
  store i32 0, ptr %19, align 4
  br label %197

197:                                              ; preds = %196, %194
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  %198 = load i32, ptr %19, align 4
  switch i32 %198, label %214 [
    i32 0, label %199
  ]

199:                                              ; preds = %197
  br label %200

200:                                              ; preds = %199, %114
  %201 = load i8, ptr %11, align 1, !tbaa !11, !range !36, !noundef !37
  %202 = trunc i8 %201 to i1
  store i1 %202, ptr %5, align 1
  store i32 1, ptr %19, align 4
  br label %214

203:                                              ; preds = %33
  br label %204

204:                                              ; preds = %203, %113
  %205 = load i8, ptr %11, align 1, !tbaa !11, !range !36, !noundef !37
  %206 = trunc i8 %205 to i1
  br i1 %206, label %207, label %213

207:                                              ; preds = %204
  %208 = load ptr, ptr %7, align 8, !tbaa !5
  %209 = load ptr, ptr %8, align 8, !tbaa !5
  %210 = load ptr, ptr %25, align 8, !tbaa !9
  %211 = getelementptr inbounds ptr, ptr %210, i64 42
  %212 = load ptr, ptr %211, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %212(ptr noundef nonnull align 8 dereferenceable(1176) %25, ptr noundef nonnull align 8 dereferenceable(24) %208, ptr noundef @.str.291, ptr noundef %209, ptr noundef @.str.2, ptr noundef @.str.2)
  store i1 true, ptr %5, align 1
  store i32 1, ptr %19, align 4
  br label %214

213:                                              ; preds = %204
  store i32 0, ptr %19, align 4
  br label %214

214:                                              ; preds = %213, %207, %200, %197
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #6
  %215 = load i32, ptr %19, align 4
  switch i32 %215, label %319 [
    i32 0, label %216
  ]

216:                                              ; preds = %214
  br label %217

217:                                              ; preds = %216, %4
  %218 = load ptr, ptr %10, align 8, !tbaa !5
  %219 = icmp ne ptr %218, null
  br i1 %219, label %220, label %232

220:                                              ; preds = %217
  %221 = load ptr, ptr %10, align 8, !tbaa !5
  %222 = call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %221)
  %223 = icmp eq i32 %222, 182
  br i1 %223, label %224, label %232

224:                                              ; preds = %220
  %225 = load ptr, ptr %10, align 8, !tbaa !5
  %226 = load ptr, ptr %225, align 8, !tbaa !9
  %227 = getelementptr inbounds ptr, ptr %226, i64 50
  %228 = load ptr, ptr %227, align 8
  %229 = call noundef ptr %228(ptr noundef nonnull align 8 dereferenceable(200) %225)
  %230 = call noundef zeroext i1 @_ZNK7glslang12TIntermTyped11isReferenceEv(ptr noundef nonnull align 8 dereferenceable(176) %229)
  br i1 %230, label %231, label %232

231:                                              ; preds = %224
  store i1 false, ptr %5, align 1
  store i32 1, ptr %19, align 4
  br label %319

232:                                              ; preds = %224, %220, %217
  %233 = load ptr, ptr %7, align 8, !tbaa !5
  %234 = load ptr, ptr %8, align 8, !tbaa !5
  %235 = load ptr, ptr %9, align 8, !tbaa !5
  %236 = call noundef zeroext i1 @_ZN7glslang17TParseContextBase16lValueErrorCheckERKNS_10TSourceLocEPKcPNS_12TIntermTypedE(ptr noundef nonnull align 8 dereferenceable(1176) %25, ptr noundef nonnull align 8 dereferenceable(24) %233, ptr noundef %234, ptr noundef %235)
  br i1 %236, label %237, label %238

237:                                              ; preds = %232
  store i1 true, ptr %5, align 1
  store i32 1, ptr %19, align 4
  br label %319

238:                                              ; preds = %232
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  store ptr null, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %239 = load ptr, ptr %9, align 8, !tbaa !5
  %240 = load ptr, ptr %239, align 8, !tbaa !9
  %241 = getelementptr inbounds ptr, ptr %240, i64 12
  %242 = load ptr, ptr %241, align 8
  %243 = call noundef ptr %242(ptr noundef nonnull align 8 dereferenceable(32) %239)
  store ptr %243, ptr %23, align 8, !tbaa !5
  %244 = load ptr, ptr %23, align 8, !tbaa !5
  %245 = icmp ne ptr %244, null
  br i1 %245, label %246, label %253

246:                                              ; preds = %238
  %247 = load ptr, ptr %23, align 8, !tbaa !5
  %248 = load ptr, ptr %247, align 8, !tbaa !9
  %249 = getelementptr inbounds ptr, ptr %248, i64 50
  %250 = load ptr, ptr %249, align 8
  %251 = call noundef nonnull align 8 dereferenceable(40) ptr %250(ptr noundef nonnull align 8 dereferenceable(256) %247)
  %252 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(40) %251) #6
  store ptr %252, ptr %22, align 8, !tbaa !5
  br label %253

253:                                              ; preds = %246, %238
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  store ptr null, ptr %24, align 8, !tbaa !5
  %254 = load ptr, ptr %9, align 8, !tbaa !5
  %255 = load ptr, ptr %254, align 8, !tbaa !9
  %256 = getelementptr inbounds ptr, ptr %255, i64 33
  %257 = load ptr, ptr %256, align 8
  %258 = call noundef nonnull align 8 dereferenceable(72) ptr %257(ptr noundef nonnull align 8 dereferenceable(176) %254)
  %259 = getelementptr inbounds %"class.glslang::TQualifier", ptr %258, i32 0, i32 1
  %260 = load i64, ptr %259, align 8
  %261 = and i64 %260, 63
  %262 = trunc i64 %261 to i32
  switch i32 %262, label %279 [
    i32 3, label %263
    i32 19, label %264
    i32 18, label %265
    i32 23, label %266
    i32 24, label %267
    i32 25, label %268
    i32 27, label %269
  ]

263:                                              ; preds = %253
  store ptr @.str.292, ptr %24, align 8, !tbaa !5
  br label %280

264:                                              ; preds = %253
  store ptr @.str.293, ptr %24, align 8, !tbaa !5
  br label %280

265:                                              ; preds = %253
  store ptr @.str.294, ptr %24, align 8, !tbaa !5
  br label %280

266:                                              ; preds = %253
  store ptr @.str.295, ptr %24, align 8, !tbaa !5
  br label %280

267:                                              ; preds = %253
  store ptr @.str.296, ptr %24, align 8, !tbaa !5
  br label %280

268:                                              ; preds = %253
  store ptr @.str.297, ptr %24, align 8, !tbaa !5
  br label %280

269:                                              ; preds = %253
  %270 = getelementptr inbounds %"class.glslang::TParseVersions", ptr %25, i32 0, i32 7
  %271 = load ptr, ptr %270, align 8, !tbaa !41
  call void @_ZN7glslang13TIntermediate17setDepthReplacingEv(ptr noundef nonnull align 8 dereferenceable(1784) %271)
  %272 = call noundef zeroext i1 @_ZNK7glslang14TParseVersions11isEsProfileEv(ptr noundef nonnull align 8 dereferenceable(192) %25)
  br i1 %272, label %273, label %278

273:                                              ; preds = %269
  %274 = getelementptr inbounds %"class.glslang::TParseVersions", ptr %25, i32 0, i32 7
  %275 = load ptr, ptr %274, align 8, !tbaa !41
  %276 = call noundef zeroext i1 @_ZNK7glslang13TIntermediate21getEarlyFragmentTestsEv(ptr noundef nonnull align 8 dereferenceable(1784) %275)
  br i1 %276, label %277, label %278

277:                                              ; preds = %273
  store ptr @.str.298, ptr %24, align 8, !tbaa !5
  br label %278

278:                                              ; preds = %277, %273, %269
  br label %280

279:                                              ; preds = %253
  br label %280

280:                                              ; preds = %279, %278, %268, %267, %266, %265, %264, %263
  %281 = load ptr, ptr %24, align 8, !tbaa !5
  %282 = icmp eq ptr %281, null
  br i1 %282, label %283, label %295

283:                                              ; preds = %280
  %284 = load ptr, ptr %10, align 8, !tbaa !5
  %285 = icmp eq ptr %284, null
  br i1 %285, label %286, label %295

286:                                              ; preds = %283
  %287 = load ptr, ptr %23, align 8, !tbaa !5
  %288 = icmp eq ptr %287, null
  br i1 %288, label %289, label %295

289:                                              ; preds = %286
  %290 = load ptr, ptr %7, align 8, !tbaa !5
  %291 = load ptr, ptr %8, align 8, !tbaa !5
  %292 = load ptr, ptr %25, align 8, !tbaa !9
  %293 = getelementptr inbounds ptr, ptr %292, i64 42
  %294 = load ptr, ptr %293, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %294(ptr noundef nonnull align 8 dereferenceable(1176) %25, ptr noundef nonnull align 8 dereferenceable(24) %290, ptr noundef @.str.291, ptr noundef %291, ptr noundef @.str.2, ptr noundef @.str.2)
  store i1 true, ptr %5, align 1
  store i32 1, ptr %19, align 4
  br label %318

295:                                              ; preds = %286, %283, %280
  %296 = load ptr, ptr %24, align 8, !tbaa !5
  %297 = icmp eq ptr %296, null
  br i1 %297, label %298, label %299

298:                                              ; preds = %295
  store i1 false, ptr %5, align 1
  store i32 1, ptr %19, align 4
  br label %318

299:                                              ; preds = %295
  %300 = load ptr, ptr %23, align 8, !tbaa !5
  %301 = icmp ne ptr %300, null
  br i1 %301, label %302, label %310

302:                                              ; preds = %299
  %303 = load ptr, ptr %7, align 8, !tbaa !5
  %304 = load ptr, ptr %8, align 8, !tbaa !5
  %305 = load ptr, ptr %22, align 8, !tbaa !5
  %306 = load ptr, ptr %24, align 8, !tbaa !5
  %307 = load ptr, ptr %25, align 8, !tbaa !9
  %308 = getelementptr inbounds ptr, ptr %307, i64 42
  %309 = load ptr, ptr %308, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %309(ptr noundef nonnull align 8 dereferenceable(1176) %25, ptr noundef nonnull align 8 dereferenceable(24) %303, ptr noundef @.str.291, ptr noundef %304, ptr noundef @.str.299, ptr noundef %305, ptr noundef %306)
  br label %317

310:                                              ; preds = %299
  %311 = load ptr, ptr %7, align 8, !tbaa !5
  %312 = load ptr, ptr %8, align 8, !tbaa !5
  %313 = load ptr, ptr %24, align 8, !tbaa !5
  %314 = load ptr, ptr %25, align 8, !tbaa !9
  %315 = getelementptr inbounds ptr, ptr %314, i64 42
  %316 = load ptr, ptr %315, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %316(ptr noundef nonnull align 8 dereferenceable(1176) %25, ptr noundef nonnull align 8 dereferenceable(24) %311, ptr noundef @.str.291, ptr noundef %312, ptr noundef @.str.300, ptr noundef %313)
  br label %317

317:                                              ; preds = %310, %302
  store i1 true, ptr %5, align 1
  store i32 1, ptr %19, align 4
  br label %318

318:                                              ; preds = %317, %298, %289
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  br label %319

319:                                              ; preds = %318, %237, %231, %214
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  %320 = load i1, ptr %5, align 1
  ret i1 %320
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE5beginEv(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)) #4

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

; 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 ptr @_ZN9__gnu_cxx17__normal_iteratorIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEppEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #0 align 2

declare noundef zeroext i1 @_ZN7glslang17TParseContextBase16lValueErrorCheckERKNS_10TSourceLocEPKcPNS_12TIntermTypedE(ptr noundef nonnull align 8 dereferenceable(1176), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef) unnamed_addr #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7glslang13TIntermediate21getEarlyFragmentTestsEv(ptr noundef nonnull align 8 dereferenceable(1784)) #0 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !17, i64 28}
!14 = !{!"_ZTSN7glslang14TParseVersionsE", !12, i64 8, !15, i64 12, !6, i64 16, !16, i64 24, !17, i64 28, !18, i64 32, !6, i64 56, !19, i64 64, !30, i64 120, !35, i64 176, !16, i64 180, !6, i64 184}
!15 = !{!"_ZTS8EProfile", !7, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = !{!"_ZTS11EShLanguage", !7, i64 0}
!18 = !{!"_ZTSN7glslang10SpvVersionE", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12, !12, i64 16}
!19 = !{!"_ZTSN7glslang4TMapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_18TExtensionBehaviorESt4lessIS7_EEE", !20, i64 0}
!20 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_18TExtensionBehaviorESt4lessIS7_ENS5_ISt4pairIKS7_S8_EEEE", !21, i64 0}
!21 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_NS4_18TExtensionBehaviorEESt10_Select1stISB_ESt4lessIS7_ENS5_ISB_EEE", !22, i64 0}
!22 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_NS4_18TExtensionBehaviorEESt10_Select1stISB_ESt4lessIS7_ENS5_ISB_EEE13_Rb_tree_implISF_Lb1EEE", !23, i64 0, !24, i64 8, !26, i64 16}
!23 = !{!"_ZTSN7glslang14pool_allocatorISt13_Rb_tree_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_IcEEEENS_18TExtensionBehaviorEEEEE", !6, i64 0}
!24 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEEE", !25, i64 0}
!25 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEE"}
!26 = !{!"_ZTSSt15_Rb_tree_header", !27, i64 0, !29, i64 32}
!27 = !{!"_ZTSSt18_Rb_tree_node_base", !28, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!28 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!29 = !{!"long", !7, i64 0}
!30 = !{!"_ZTSN7glslang4TMapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEEjSt4lessIS7_EEE", !31, i64 0}
!31 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEjSt4lessIS7_ENS5_ISt4pairIKS7_jEEEE", !32, i64 0}
!32 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_jESt10_Select1stISA_ESt4lessIS7_ENS5_ISA_EEE", !33, i64 0}
!33 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_jESt10_Select1stISA_ESt4lessIS7_ENS5_ISA_EEE13_Rb_tree_implISE_Lb1EEE", !34, i64 0, !24, i64 8, !26, i64 16}
!34 = !{!"_ZTSN7glslang14pool_allocatorISt13_Rb_tree_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_IcEEEEjEEEE", !6, i64 0}
!35 = !{!"_ZTS11EShMessages", !7, i64 0}
!36 = !{i8 0, i8 2}
!37 = !{}
!38 = !{!16, !16, i64 0}
!39 = distinct !{!39, !40}
!40 = !{!"llvm.loop.mustprogress"}
!41 = !{!14, !6, i64 56}


; 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.__gnu_cxx::__normal_iterator" = type { ptr }

@.str.2 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.289 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.290 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.291 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.292 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.293 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.294 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.295 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.296 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.297 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.298 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.299 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.300 = external hidden unnamed_addr constant [5 x i8], align 1

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

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

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

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

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

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

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

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

; 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 nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7glslang13TParseContext16lValueErrorCheckERKNS_10TSourceLocEPKcPNS_12TIntermTypedE(ptr noundef nonnull align 8 dereferenceable(24912) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef %3) unnamed_addr #2 align 2 {
  %5 = alloca [4 x i32], align 16
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = load ptr, ptr %3, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %8, i64 64
  %10 = load ptr, ptr %9, align 8
  %11 = tail call noundef ptr %10(ptr noundef nonnull align 8 dereferenceable(32) %3)
  %.not = icmp eq ptr %11, null
  br i1 %.not, label %.critedge77, label %12

12:                                               ; preds = %4
  %13 = tail call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %11)
  switch i32 %13, label %130 [
    i32 180, label %14
    i32 181, label %14
    i32 183, label %73
  ]

14:                                               ; preds = %12, %12
  %15 = getelementptr inbounds i8, ptr %0, i64 28
  %16 = load i32, ptr %15, align 4, !tbaa !8
  %17 = icmp eq i32 %16, 1
  br i1 %17, label %18, label %130

18:                                               ; preds = %14
  %19 = load ptr, ptr %11, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %19, i64 400
  %21 = load ptr, ptr %20, align 8
  %22 = tail call noundef ptr %21(ptr noundef nonnull align 8 dereferenceable(200) %11)
  %23 = load ptr, ptr %22, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %23, i64 240
  %25 = load ptr, ptr %24, align 8
  %26 = tail call noundef nonnull align 8 dereferenceable(144) ptr %25(ptr noundef nonnull align 8 dereferenceable(176) %22)
  %27 = load ptr, ptr %26, align 8, !tbaa !5
  %28 = getelementptr inbounds i8, ptr %27, i64 88
  %29 = load ptr, ptr %28, align 8
  %30 = tail call noundef nonnull align 8 dereferenceable(72) ptr %29(ptr noundef nonnull align 8 dereferenceable(144) %26)
  %31 = getelementptr inbounds i8, ptr %30, i64 8
  %32 = load i64, ptr %31, align 8
  %33 = and i64 %32, 63
  %34 = icmp eq i64 %33, 4
  br i1 %34, label %35, label %130

35:                                               ; preds = %18
  %36 = load ptr, ptr %26, align 8, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %36, i64 88
  %38 = load ptr, ptr %37, align 8
  %39 = tail call noundef nonnull align 8 dereferenceable(72) ptr %38(ptr noundef nonnull align 8 dereferenceable(144) %26)
  %40 = getelementptr inbounds i8, ptr %39, i64 8
  %41 = load i64, ptr %40, align 8
  %42 = and i64 %41, 8796093022208
  %.not71 = icmp eq i64 %42, 0
  br i1 %.not71, label %43, label %130

43:                                               ; preds = %35
  %44 = load ptr, ptr %11, align 8, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %44, i64 400
  %46 = load ptr, ptr %45, align 8
  %47 = tail call noundef ptr %46(ptr noundef nonnull align 8 dereferenceable(200) %11)
  %48 = load ptr, ptr %47, align 8, !tbaa !5
  %49 = getelementptr inbounds i8, ptr %48, i64 96
  %50 = load ptr, ptr %49, align 8
  %51 = tail call noundef ptr %50(ptr noundef nonnull align 8 dereferenceable(32) %47)
  %.not72 = icmp eq ptr %51, null
  br i1 %.not72, label %130, label %52

52:                                               ; preds = %43
  %53 = load ptr, ptr %11, align 8, !tbaa !5
  %54 = getelementptr inbounds i8, ptr %53, i64 408
  %55 = load ptr, ptr %54, align 8
  %56 = tail call noundef ptr %55(ptr noundef nonnull align 8 dereferenceable(200) %11)
  %57 = load ptr, ptr %56, align 8, !tbaa !5
  %58 = getelementptr inbounds i8, ptr %57, i64 96
  %59 = load ptr, ptr %58, align 8
  %60 = tail call noundef ptr %59(ptr noundef nonnull align 8 dereferenceable(32) %56)
  %.not73 = icmp eq ptr %60, null
  br i1 %.not73, label %69, label %61

61:                                               ; preds = %52
  %62 = load ptr, ptr %60, align 8, !tbaa !5
  %63 = getelementptr inbounds i8, ptr %62, i64 272
  %64 = load ptr, ptr %63, align 8
  %65 = tail call noundef nonnull align 8 dereferenceable(72) ptr %64(ptr noundef nonnull align 8 dereferenceable(176) %60)
  %66 = getelementptr inbounds i8, ptr %65, i64 8
  %67 = load i64, ptr %66, align 8
  %68 = and i64 %67, 32704
  %.not74 = icmp eq i64 %68, 3264
  br i1 %.not74, label %130, label %69

69:                                               ; preds = %61, %52
  %70 = load ptr, ptr %0, align 8, !tbaa !5
  %71 = getelementptr inbounds i8, ptr %70, i64 336
  %72 = load ptr, ptr %71, align 8
  tail call void (ptr, ptr, ptr, ptr, ptr, ...) %72(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.289, ptr noundef nonnull @.str.76, ptr noundef nonnull @.str.2)
  br label %130

73:                                               ; preds = %12
  %74 = load ptr, ptr %11, align 8, !tbaa !5
  %75 = getelementptr inbounds i8, ptr %74, i64 400
  %76 = load ptr, ptr %75, align 8
  %77 = tail call noundef ptr %76(ptr noundef nonnull align 8 dereferenceable(200) %11)
  %78 = load ptr, ptr %0, align 8, !tbaa !5
  %79 = getelementptr inbounds i8, ptr %78, i64 504
  %80 = load ptr, ptr %79, align 8
  %81 = tail call noundef zeroext i1 %80(ptr noundef nonnull align 8 dereferenceable(24912) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef %77)
  br i1 %81, label %185, label %82

82:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %5, i8 0, i64 16, i1 false)
  %83 = load ptr, ptr %11, align 8, !tbaa !5
  %84 = getelementptr inbounds i8, ptr %83, i64 408
  %85 = load ptr, ptr %84, align 8
  %86 = tail call noundef ptr %85(ptr noundef nonnull align 8 dereferenceable(200) %11)
  %87 = load ptr, ptr %86, align 8, !tbaa !5
  %88 = getelementptr inbounds i8, ptr %87, i64 48
  %89 = load ptr, ptr %88, align 8
  %90 = tail call noundef ptr %89(ptr noundef nonnull align 8 dereferenceable(32) %86)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %91 = load ptr, ptr %90, align 8, !tbaa !5
  %92 = getelementptr inbounds i8, ptr %91, i64 400
  %93 = load ptr, ptr %92, align 8
  %94 = tail call noundef nonnull align 8 dereferenceable(32) ptr %93(ptr noundef nonnull align 8 dereferenceable(352) %90)
  %95 = tail call ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %94) #6
  store ptr %95, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %96 = load ptr, ptr %90, align 8, !tbaa !5
  %97 = getelementptr inbounds i8, ptr %96, i64 400
  %98 = load ptr, ptr %97, align 8
  %99 = tail call noundef nonnull align 8 dereferenceable(32) ptr %98(ptr noundef nonnull align 8 dereferenceable(352) %90)
  %100 = tail call ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %99) #6
  store ptr %100, ptr %7, align 8
  %101 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  br i1 %101, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %82, %.critedge
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %103 = load ptr, ptr %102, align 8, !tbaa !34
  %104 = load ptr, ptr %103, align 8, !tbaa !5
  %105 = getelementptr inbounds i8, ptr %104, i64 24
  %106 = load ptr, ptr %105, align 8
  %107 = call noundef ptr %106(ptr noundef nonnull align 8 dereferenceable(32) %103)
  %108 = load ptr, ptr %107, align 8, !tbaa !5
  %109 = getelementptr inbounds i8, ptr %108, i64 40
  %110 = load ptr, ptr %109, align 8
  %111 = call noundef ptr %110(ptr noundef nonnull align 8 dereferenceable(32) %107)
  %112 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK7glslang20TIntermConstantUnion13getConstArrayEv(ptr noundef nonnull align 8 dereferenceable(193) %111)
  %113 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNK7glslang16TConstUnionArrayixEm(ptr noundef nonnull align 8 dereferenceable(16) %112, i64 noundef 0)
  %114 = call noundef i32 @_ZNK7glslang11TConstUnion9getIConstEv(ptr noundef nonnull align 8 dereferenceable(12) %113)
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 %115
  %117 = load i32, ptr %116, align 4, !tbaa !35
  %118 = add nsw i32 %117, 1
  store i32 %118, ptr %116, align 4, !tbaa !35
  %119 = icmp slt i32 %117, 1
  br i1 %119, label %.critedge, label %.thread

.thread:                                          ; preds = %.lr.ph
  %120 = load ptr, ptr %0, align 8, !tbaa !5
  %121 = getelementptr inbounds i8, ptr %120, i64 336
  %122 = load ptr, ptr %121, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %122(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.290, ptr noundef %2, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.2)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  br label %185

.critedge:                                        ; preds = %.lr.ph
  %123 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %6, i32 noundef 0) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %124 = load ptr, ptr %90, align 8, !tbaa !5
  %125 = getelementptr inbounds i8, ptr %124, i64 400
  %126 = load ptr, ptr %125, align 8
  %127 = call noundef nonnull align 8 dereferenceable(32) ptr %126(ptr noundef nonnull align 8 dereferenceable(352) %90)
  %128 = call ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %127) #6
  store ptr %128, ptr %7, align 8
  %129 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  br i1 %129, label %.lr.ph, label %._crit_edge, !llvm.loop !36

._crit_edge:                                      ; preds = %.critedge, %82
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  br label %185

130:                                              ; preds = %18, %35, %43, %69, %61, %12, %14
  %131 = tail call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %11)
  %132 = icmp eq i32 %131, 182
  br i1 %132, label %133, label %.critedge77

133:                                              ; preds = %130
  %134 = load ptr, ptr %11, align 8, !tbaa !5
  %135 = getelementptr inbounds i8, ptr %134, i64 400
  %136 = load ptr, ptr %135, align 8
  %137 = tail call noundef ptr %136(ptr noundef nonnull align 8 dereferenceable(200) %11)
  %138 = tail call noundef zeroext i1 @_ZNK7glslang12TIntermTyped11isReferenceEv(ptr noundef nonnull align 8 dereferenceable(176) %137)
  br i1 %138, label %185, label %.critedge77

.critedge77:                                      ; preds = %4, %133, %130
  %139 = tail call noundef zeroext i1 @_ZN7glslang17TParseContextBase16lValueErrorCheckERKNS_10TSourceLocEPKcPNS_12TIntermTypedE(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef nonnull %3)
  br i1 %139, label %185, label %140

140:                                              ; preds = %.critedge77
  %141 = load ptr, ptr %3, align 8, !tbaa !5
  %142 = getelementptr inbounds i8, ptr %141, i64 96
  %143 = load ptr, ptr %142, align 8
  %144 = tail call noundef ptr %143(ptr noundef nonnull align 8 dereferenceable(32) %3)
  %.not75 = icmp eq ptr %144, null
  br i1 %.not75, label %151, label %145

145:                                              ; preds = %140
  %146 = load ptr, ptr %144, align 8, !tbaa !5
  %147 = getelementptr inbounds i8, ptr %146, i64 400
  %148 = load ptr, ptr %147, align 8
  %149 = tail call noundef nonnull align 8 dereferenceable(40) ptr %148(ptr noundef nonnull align 8 dereferenceable(256) %144)
  %150 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(40) %149) #6
  br label %151

151:                                              ; preds = %145, %140
  %.063 = phi ptr [ %150, %145 ], [ null, %140 ]
  %152 = load ptr, ptr %3, align 8, !tbaa !5
  %153 = getelementptr inbounds i8, ptr %152, i64 264
  %154 = load ptr, ptr %153, align 8
  %155 = tail call noundef nonnull align 8 dereferenceable(72) ptr %154(ptr noundef nonnull align 8 dereferenceable(176) %3)
  %156 = getelementptr inbounds i8, ptr %155, i64 8
  %157 = load i64, ptr %156, align 8
  %158 = trunc i64 %157 to i32
  %159 = and i32 %158, 63
  switch i32 %159, label %172 [
    i32 3, label %.thread89
    i32 19, label %160
    i32 18, label %161
    i32 23, label %162
    i32 24, label %163
    i32 25, label %164
    i32 27, label %165
  ]

160:                                              ; preds = %151
  br label %.thread89

161:                                              ; preds = %151
  br label %.thread89

162:                                              ; preds = %151
  br label %.thread89

163:                                              ; preds = %151
  br label %.thread89

164:                                              ; preds = %151
  br label %.thread89

165:                                              ; preds = %151
  %166 = getelementptr inbounds i8, ptr %0, i64 56
  %167 = load ptr, ptr %166, align 8, !tbaa !38
  tail call void @_ZN7glslang13TIntermediate17setDepthReplacingEv(ptr noundef nonnull align 8 dereferenceable(1784) %167)
  %168 = tail call noundef zeroext i1 @_ZNK7glslang14TParseVersions11isEsProfileEv(ptr noundef nonnull align 8 dereferenceable(192) %0)
  br i1 %168, label %169, label %172

169:                                              ; preds = %165
  %170 = load ptr, ptr %166, align 8, !tbaa !38
  %171 = tail call noundef zeroext i1 @_ZNK7glslang13TIntermediate21getEarlyFragmentTestsEv(ptr noundef nonnull align 8 dereferenceable(1784) %170)
  %not. = xor i1 %171, true
  %spec.select78 = select i1 %171, ptr @.str.298, ptr null
  br label %172

172:                                              ; preds = %169, %151, %165
  %173 = phi i1 [ true, %151 ], [ true, %165 ], [ %not., %169 ]
  %.0 = phi ptr [ null, %151 ], [ null, %165 ], [ %spec.select78, %169 ]
  %174 = and i1 %.not, %.not75
  %or.cond6 = and i1 %174, %173
  br i1 %or.cond6, label %175, label %179

175:                                              ; preds = %172
  %176 = load ptr, ptr %0, align 8, !tbaa !5
  %177 = getelementptr inbounds i8, ptr %176, i64 336
  %178 = load ptr, ptr %177, align 8
  tail call void (ptr, ptr, ptr, ptr, ptr, ...) %178(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.291, ptr noundef %2, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.2)
  br label %185

179:                                              ; preds = %172
  br i1 %173, label %185, label %.thread89

.thread89:                                        ; preds = %164, %163, %162, %161, %160, %151, %179
  %.08891 = phi ptr [ %.0, %179 ], [ @.str.293, %160 ], [ @.str.294, %161 ], [ @.str.295, %162 ], [ @.str.296, %163 ], [ @.str.297, %164 ], [ @.str.292, %151 ]
  %180 = load ptr, ptr %0, align 8, !tbaa !5
  %181 = getelementptr inbounds i8, ptr %180, i64 336
  %182 = load ptr, ptr %181, align 8
  br i1 %.not75, label %184, label %183

183:                                              ; preds = %.thread89
  tail call void (ptr, ptr, ptr, ptr, ptr, ...) %182(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.291, ptr noundef %2, ptr noundef nonnull @.str.299, ptr noundef %.063, ptr noundef %.08891)
  br label %185

184:                                              ; preds = %.thread89
  tail call void (ptr, ptr, ptr, ptr, ptr, ...) %182(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.291, ptr noundef %2, ptr noundef nonnull @.str.300, ptr noundef %.08891)
  br label %185

185:                                              ; preds = %.thread, %._crit_edge, %73, %175, %179, %184, %183, %.critedge77, %133
  %.5 = phi i1 [ false, %133 ], [ true, %.critedge77 ], [ true, %175 ], [ false, %179 ], [ true, %184 ], [ true, %183 ], [ true, %.thread ], [ false, %._crit_edge ], [ true, %73 ]
  ret i1 %.5
}

; 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: 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 #4

; 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: 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 ptr @_ZN9__gnu_cxx17__normal_iteratorIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEppEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #0 align 2

declare noundef zeroext i1 @_ZN7glslang17TParseContextBase16lValueErrorCheckERKNS_10TSourceLocEPKcPNS_12TIntermTypedE(ptr noundef nonnull align 8 dereferenceable(1176), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef) unnamed_addr #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7glslang13TIntermediate21getEarlyFragmentTestsEv(ptr noundef nonnull align 8 dereferenceable(1784)) local_unnamed_addr #0 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !15, i64 28}
!9 = !{!"_ZTSN7glslang14TParseVersionsE", !10, i64 8, !12, i64 12, !13, i64 16, !14, i64 24, !15, i64 28, !16, i64 32, !13, i64 56, !17, i64 64, !28, i64 120, !33, i64 176, !14, i64 180, !13, i64 184}
!10 = !{!"bool", !11, i64 0}
!11 = !{!"omnipotent char", !7, i64 0}
!12 = !{!"_ZTS8EProfile", !11, i64 0}
!13 = !{!"any pointer", !11, i64 0}
!14 = !{!"int", !11, i64 0}
!15 = !{!"_ZTS11EShLanguage", !11, i64 0}
!16 = !{!"_ZTSN7glslang10SpvVersionE", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !10, i64 16}
!17 = !{!"_ZTSN7glslang4TMapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_18TExtensionBehaviorESt4lessIS7_EEE", !18, i64 0}
!18 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_18TExtensionBehaviorESt4lessIS7_ENS5_ISt4pairIKS7_S8_EEEE", !19, i64 0}
!19 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_NS4_18TExtensionBehaviorEESt10_Select1stISB_ESt4lessIS7_ENS5_ISB_EEE", !20, i64 0}
!20 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_NS4_18TExtensionBehaviorEESt10_Select1stISB_ESt4lessIS7_ENS5_ISB_EEE13_Rb_tree_implISF_Lb1EEE", !21, i64 0, !22, i64 8, !24, i64 16}
!21 = !{!"_ZTSN7glslang14pool_allocatorISt13_Rb_tree_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_IcEEEENS_18TExtensionBehaviorEEEEE", !13, i64 0}
!22 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEEE", !23, i64 0}
!23 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEE"}
!24 = !{!"_ZTSSt15_Rb_tree_header", !25, i64 0, !27, i64 32}
!25 = !{!"_ZTSSt18_Rb_tree_node_base", !26, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!26 = !{!"_ZTSSt14_Rb_tree_color", !11, i64 0}
!27 = !{!"long", !11, i64 0}
!28 = !{!"_ZTSN7glslang4TMapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEEjSt4lessIS7_EEE", !29, i64 0}
!29 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEjSt4lessIS7_ENS5_ISt4pairIKS7_jEEEE", !30, i64 0}
!30 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_jESt10_Select1stISA_ESt4lessIS7_ENS5_ISA_EEE", !31, i64 0}
!31 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_jESt10_Select1stISA_ESt4lessIS7_ENS5_ISA_EEE13_Rb_tree_implISE_Lb1EEE", !32, i64 0, !22, i64 8, !24, i64 16}
!32 = !{!"_ZTSN7glslang14pool_allocatorISt13_Rb_tree_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_IcEEEEjEEEE", !13, i64 0}
!33 = !{!"_ZTS11EShMessages", !11, i64 0}
!34 = !{!13, !13, i64 0}
!35 = !{!14, !14, i64 0}
!36 = distinct !{!36, !37}
!37 = !{!"llvm.loop.mustprogress"}
!38 = !{!9, !13, i64 56}


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