; 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.glslang::TType" = type { ptr, i32, [4 x i8], %"class.glslang::TQualifier", ptr, %union.anon.179, ptr, ptr, %"struct.glslang::TSampler", ptr, 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 }>
%union.anon.179 = type { ptr }
%"struct.glslang::TSampler" = type { i32 }
%"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 }
%"struct.glslang::TTypeLoc" = type { ptr, %"struct.glslang::TSourceLoc" }
%"struct.glslang::TSourceLoc" = type { ptr, i32, i32, i32 }

@.str.2 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [23 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN7glslang13TParseContext14handleVariableERKNS_10TSourceLocEPNS_7TSymbolEPKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE(ptr noundef nonnull align 8 dereferenceable(24912) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef %3) #1 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %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 ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"class.glslang::TType", align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i1, align 1
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %18 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  store ptr null, ptr %9, align 8, !tbaa !5
  %19 = load ptr, ptr %7, align 8, !tbaa !5
  %20 = icmp ne ptr %19, null
  br i1 %20, label %21, label %49

21:                                               ; preds = %4
  %22 = load ptr, ptr %7, align 8, !tbaa !5
  %23 = load ptr, ptr %22, align 8, !tbaa !9
  %24 = getelementptr inbounds ptr, ptr %23, i64 17
  %25 = load ptr, ptr %24, align 8
  %26 = call noundef i32 %25(ptr noundef nonnull align 8 dereferenceable(33) %22)
  %27 = icmp ne i32 %26, 0
  br i1 %27, label %28, label %49

28:                                               ; preds = %21
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = load ptr, ptr %30, align 8, !tbaa !9
  %32 = getelementptr inbounds ptr, ptr %31, i64 17
  %33 = load ptr, ptr %32, align 8
  %34 = call noundef i32 %33(ptr noundef nonnull align 8 dereferenceable(33) %30)
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = load ptr, ptr %35, align 8, !tbaa !9
  %37 = getelementptr inbounds ptr, ptr %36, i64 18
  %38 = load ptr, ptr %37, align 8
  %39 = call noundef ptr %38(ptr noundef nonnull align 8 dereferenceable(33) %35)
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = load ptr, ptr %40, align 8, !tbaa !9
  %42 = getelementptr inbounds ptr, ptr %41, i64 3
  %43 = load ptr, ptr %42, align 8
  %44 = call noundef nonnull align 8 dereferenceable(40) ptr %43(ptr noundef nonnull align 8 dereferenceable(33) %40)
  %45 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(40) %44) #4
  %46 = load ptr, ptr %18, align 8, !tbaa !9
  %47 = getelementptr inbounds ptr, ptr %46, i64 5
  %48 = load ptr, ptr %47, align 8
  call void %48(ptr noundef nonnull align 8 dereferenceable(192) %18, ptr noundef nonnull align 8 dereferenceable(24) %29, i32 noundef %34, ptr noundef %39, ptr noundef %45)
  br label %49

49:                                               ; preds = %28, %21, %4
  %50 = load ptr, ptr %7, align 8, !tbaa !5
  %51 = icmp ne ptr %50, null
  br i1 %51, label %52, label %109

52:                                               ; preds = %49
  %53 = load ptr, ptr %7, align 8, !tbaa !5
  %54 = load ptr, ptr %53, align 8, !tbaa !9
  %55 = getelementptr inbounds ptr, ptr %54, i64 20
  %56 = load ptr, ptr %55, align 8
  %57 = call noundef zeroext i1 %56(ptr noundef nonnull align 8 dereferenceable(33) %53)
  br i1 %57, label %58, label %109

58:                                               ; preds = %52
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = load ptr, ptr %59, align 8, !tbaa !9
  %61 = getelementptr inbounds ptr, ptr %60, i64 12
  %62 = load ptr, ptr %61, align 8
  %63 = call noundef nonnull align 8 dereferenceable(144) ptr %62(ptr noundef nonnull align 8 dereferenceable(33) %59)
  %64 = load ptr, ptr %63, align 8, !tbaa !9
  %65 = getelementptr inbounds ptr, ptr %64, i64 43
  %66 = load ptr, ptr %65, align 8
  %67 = call noundef zeroext i1 %66(ptr noundef nonnull align 8 dereferenceable(144) %63)
  br i1 %67, label %108, label %68

68:                                               ; preds = %58
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = load ptr, ptr %69, align 8, !tbaa !9
  %71 = getelementptr inbounds ptr, ptr %70, i64 12
  %72 = load ptr, ptr %71, align 8
  %73 = call noundef nonnull align 8 dereferenceable(144) ptr %72(ptr noundef nonnull align 8 dereferenceable(33) %69)
  %74 = load ptr, ptr %73, align 8, !tbaa !9
  %75 = getelementptr inbounds ptr, ptr %74, i64 48
  %76 = load ptr, ptr %75, align 8
  %77 = call noundef zeroext i1 %76(ptr noundef nonnull align 8 dereferenceable(144) %73)
  br i1 %77, label %103, label %78

78:                                               ; preds = %68
  %79 = load ptr, ptr %7, align 8, !tbaa !5
  %80 = load ptr, ptr %79, align 8, !tbaa !9
  %81 = getelementptr inbounds ptr, ptr %80, i64 11
  %82 = load ptr, ptr %81, align 8
  %83 = call noundef ptr %82(ptr noundef nonnull align 8 dereferenceable(33) %79)
  %84 = icmp ne ptr %83, null
  br i1 %84, label %85, label %107

85:                                               ; preds = %78
  %86 = load ptr, ptr %7, align 8, !tbaa !5
  %87 = load ptr, ptr %86, align 8, !tbaa !9
  %88 = getelementptr inbounds ptr, ptr %87, i64 11
  %89 = load ptr, ptr %88, align 8
  %90 = call noundef ptr %89(ptr noundef nonnull align 8 dereferenceable(33) %86)
  %91 = load ptr, ptr %90, align 8, !tbaa !9
  %92 = getelementptr inbounds ptr, ptr %91, i64 22
  %93 = load ptr, ptr %92, align 8
  %94 = call noundef nonnull align 8 dereferenceable(228) ptr %93(ptr noundef nonnull align 8 dereferenceable(56) %90)
  %95 = load ptr, ptr %94, align 8, !tbaa !9
  %96 = getelementptr inbounds ptr, ptr %95, i64 12
  %97 = load ptr, ptr %96, align 8
  %98 = call noundef nonnull align 8 dereferenceable(144) ptr %97(ptr noundef nonnull align 8 dereferenceable(228) %94)
  %99 = load ptr, ptr %98, align 8, !tbaa !9
  %100 = getelementptr inbounds ptr, ptr %99, i64 48
  %101 = load ptr, ptr %100, align 8
  %102 = call noundef zeroext i1 %101(ptr noundef nonnull align 8 dereferenceable(144) %98)
  br i1 %102, label %103, label %107

103:                                              ; preds = %85, %68
  %104 = load ptr, ptr %18, align 8, !tbaa !9
  %105 = getelementptr inbounds ptr, ptr %104, i64 75
  %106 = load ptr, ptr %105, align 8
  call void %106(ptr noundef nonnull align 8 dereferenceable(24912) %18, ptr noundef nonnull align 8 dereferenceable(8) %7)
  br label %107

107:                                              ; preds = %103, %85, %78
  br label %108

108:                                              ; preds = %107, %58
  br label %109

109:                                              ; preds = %108, %52, %49
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %110 = load ptr, ptr %7, align 8, !tbaa !5
  %111 = icmp ne ptr %110, null
  br i1 %111, label %112, label %118

112:                                              ; preds = %109
  %113 = load ptr, ptr %7, align 8, !tbaa !5
  %114 = load ptr, ptr %113, align 8, !tbaa !9
  %115 = getelementptr inbounds ptr, ptr %114, i64 11
  %116 = load ptr, ptr %115, align 8
  %117 = call noundef ptr %116(ptr noundef nonnull align 8 dereferenceable(33) %113)
  br label %119

118:                                              ; preds = %109
  br label %119

119:                                              ; preds = %118, %112
  %120 = phi ptr [ %117, %112 ], [ null, %118 ]
  store ptr %120, ptr %11, align 8, !tbaa !5
  %121 = load ptr, ptr %11, align 8, !tbaa !5
  %122 = icmp ne ptr %121, null
  br i1 %122, label %123, label %189

123:                                              ; preds = %119
  %124 = load ptr, ptr %11, align 8, !tbaa !5
  %125 = load ptr, ptr %124, align 8, !tbaa !9
  %126 = getelementptr inbounds ptr, ptr %125, i64 22
  %127 = load ptr, ptr %126, align 8
  %128 = call noundef nonnull align 8 dereferenceable(228) ptr %127(ptr noundef nonnull align 8 dereferenceable(56) %124)
  %129 = load ptr, ptr %128, align 8, !tbaa !9
  %130 = getelementptr inbounds ptr, ptr %129, i64 10
  %131 = load ptr, ptr %130, align 8
  %132 = call noundef ptr %131(ptr noundef nonnull align 8 dereferenceable(228) %128)
  store ptr %132, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %133 = getelementptr inbounds %"class.glslang::TParseVersions", ptr %18, i32 0, i32 7
  %134 = load ptr, ptr %133, align 8, !tbaa !11
  %135 = load ptr, ptr %10, align 8, !tbaa !5
  %136 = load ptr, ptr %6, align 8, !tbaa !5
  %137 = call noundef ptr @_ZN7glslang13TIntermediate9addSymbolERKNS_9TVariableERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %134, ptr noundef nonnull align 8 dereferenceable(228) %135, ptr noundef nonnull align 8 dereferenceable(24) %136)
  store ptr %137, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %138 = getelementptr inbounds %"class.glslang::TParseVersions", ptr %18, i32 0, i32 7
  %139 = load ptr, ptr %138, align 8, !tbaa !11
  %140 = load ptr, ptr %11, align 8, !tbaa !5
  %141 = load ptr, ptr %140, align 8, !tbaa !9
  %142 = getelementptr inbounds ptr, ptr %141, i64 23
  %143 = load ptr, ptr %142, align 8
  %144 = call noundef i32 %143(ptr noundef nonnull align 8 dereferenceable(56) %140)
  %145 = load ptr, ptr %6, align 8, !tbaa !5
  %146 = call noundef ptr @_ZNK7glslang13TIntermediate16addConstantUnionEjRKNS_10TSourceLocEb(ptr noundef nonnull align 8 dereferenceable(1784) %139, i32 noundef %144, ptr noundef nonnull align 8 dereferenceable(24) %145, i1 noundef zeroext false)
  store ptr %146, ptr %13, align 8, !tbaa !5
  %147 = getelementptr inbounds %"class.glslang::TParseVersions", ptr %18, i32 0, i32 7
  %148 = load ptr, ptr %147, align 8, !tbaa !11
  %149 = load ptr, ptr %12, align 8, !tbaa !5
  %150 = load ptr, ptr %13, align 8, !tbaa !5
  %151 = load ptr, ptr %6, align 8, !tbaa !5
  %152 = call noundef ptr @_ZN7glslang13TIntermediate8addIndexENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %148, i32 noundef 182, ptr noundef %149, ptr noundef %150, ptr noundef nonnull align 8 dereferenceable(24) %151)
  store ptr %152, ptr %9, align 8, !tbaa !5
  %153 = load ptr, ptr %9, align 8, !tbaa !5
  %154 = load ptr, ptr %10, align 8, !tbaa !5
  %155 = load ptr, ptr %154, align 8, !tbaa !9
  %156 = getelementptr inbounds ptr, ptr %155, i64 12
  %157 = load ptr, ptr %156, align 8
  %158 = call noundef nonnull align 8 dereferenceable(144) ptr %157(ptr noundef nonnull align 8 dereferenceable(228) %154)
  %159 = call noundef ptr @_ZNK7glslang5TType9getStructEv(ptr noundef nonnull align 8 dereferenceable(144) %158)
  %160 = load ptr, ptr %11, align 8, !tbaa !5
  %161 = load ptr, ptr %160, align 8, !tbaa !9
  %162 = getelementptr inbounds ptr, ptr %161, i64 23
  %163 = load ptr, ptr %162, align 8
  %164 = call noundef i32 %163(ptr noundef nonnull align 8 dereferenceable(56) %160)
  %165 = zext i32 %164 to i64
  %166 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorIN7glslang8TTypeLocENS0_14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %159, i64 noundef %165) #4
  %167 = getelementptr inbounds %"struct.glslang::TTypeLoc", ptr %166, i32 0, i32 0
  %168 = load ptr, ptr %167, align 8, !tbaa !35
  %169 = load ptr, ptr %153, align 8, !tbaa !9
  %170 = getelementptr inbounds ptr, ptr %169, i64 29
  %171 = load ptr, ptr %170, align 8
  call void %171(ptr noundef nonnull align 8 dereferenceable(176) %153, ptr noundef nonnull align 8 dereferenceable(144) %168)
  %172 = load ptr, ptr %9, align 8, !tbaa !5
  %173 = load ptr, ptr %172, align 8, !tbaa !9
  %174 = getelementptr inbounds ptr, ptr %173, i64 30
  %175 = load ptr, ptr %174, align 8
  %176 = call noundef nonnull align 8 dereferenceable(144) ptr %175(ptr noundef nonnull align 8 dereferenceable(176) %172)
  %177 = load ptr, ptr %176, align 8, !tbaa !9
  %178 = getelementptr inbounds ptr, ptr %177, i64 3
  %179 = load ptr, ptr %178, align 8
  %180 = call noundef zeroext i1 %179(ptr noundef nonnull align 8 dereferenceable(144) %176)
  br i1 %180, label %181, label %188

181:                                              ; preds = %123
  %182 = load ptr, ptr %6, align 8, !tbaa !5
  %183 = load ptr, ptr %8, align 8, !tbaa !5
  %184 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(40) %183) #4
  %185 = load ptr, ptr %18, align 8, !tbaa !9
  %186 = getelementptr inbounds ptr, ptr %185, i64 42
  %187 = load ptr, ptr %186, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %187(ptr noundef nonnull align 8 dereferenceable(1176) %18, ptr noundef nonnull align 8 dereferenceable(24) %182, ptr noundef @.str.55, ptr noundef %184, ptr noundef @.str.2)
  br label %188

188:                                              ; preds = %181, %123
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  br label %285

189:                                              ; preds = %119
  %190 = load ptr, ptr %7, align 8, !tbaa !5
  %191 = icmp ne ptr %190, null
  br i1 %191, label %192, label %198

192:                                              ; preds = %189
  %193 = load ptr, ptr %7, align 8, !tbaa !5
  %194 = load ptr, ptr %193, align 8, !tbaa !9
  %195 = getelementptr inbounds ptr, ptr %194, i64 9
  %196 = load ptr, ptr %195, align 8
  %197 = call noundef ptr %196(ptr noundef nonnull align 8 dereferenceable(33) %193)
  br label %199

198:                                              ; preds = %189
  br label %199

199:                                              ; preds = %198, %192
  %200 = phi ptr [ %197, %192 ], [ null, %198 ]
  store ptr %200, ptr %10, align 8, !tbaa !5
  %201 = load ptr, ptr %10, align 8, !tbaa !5
  %202 = icmp ne ptr %201, null
  br i1 %202, label %203, label %221

203:                                              ; preds = %199
  %204 = load ptr, ptr %10, align 8, !tbaa !5
  %205 = load ptr, ptr %204, align 8, !tbaa !9
  %206 = getelementptr inbounds ptr, ptr %205, i64 12
  %207 = load ptr, ptr %206, align 8
  %208 = call noundef nonnull align 8 dereferenceable(144) ptr %207(ptr noundef nonnull align 8 dereferenceable(228) %204)
  %209 = load ptr, ptr %208, align 8, !tbaa !9
  %210 = getelementptr inbounds ptr, ptr %209, i64 43
  %211 = load ptr, ptr %210, align 8
  %212 = call noundef zeroext i1 %211(ptr noundef nonnull align 8 dereferenceable(144) %208)
  br i1 %212, label %213, label %220

213:                                              ; preds = %203
  %214 = load ptr, ptr %6, align 8, !tbaa !5
  %215 = load ptr, ptr %8, align 8, !tbaa !5
  %216 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(40) %215) #4
  %217 = load ptr, ptr %18, align 8, !tbaa !9
  %218 = getelementptr inbounds ptr, ptr %217, i64 42
  %219 = load ptr, ptr %218, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %219(ptr noundef nonnull align 8 dereferenceable(1176) %18, ptr noundef nonnull align 8 dereferenceable(24) %214, ptr noundef @.str.56, ptr noundef %216, ptr noundef @.str.2)
  store ptr null, ptr %10, align 8, !tbaa !5
  br label %220

220:                                              ; preds = %213, %203
  br label %232

221:                                              ; preds = %199
  %222 = load ptr, ptr %7, align 8, !tbaa !5
  %223 = icmp ne ptr %222, null
  br i1 %223, label %224, label %231

224:                                              ; preds = %221
  %225 = load ptr, ptr %6, align 8, !tbaa !5
  %226 = load ptr, ptr %8, align 8, !tbaa !5
  %227 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(40) %226) #4
  %228 = load ptr, ptr %18, align 8, !tbaa !9
  %229 = getelementptr inbounds ptr, ptr %228, i64 42
  %230 = load ptr, ptr %229, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %230(ptr noundef nonnull align 8 dereferenceable(1176) %18, ptr noundef nonnull align 8 dereferenceable(24) %225, ptr noundef @.str.57, ptr noundef %227, ptr noundef @.str.2)
  br label %231

231:                                              ; preds = %224, %221
  br label %232

232:                                              ; preds = %231, %220
  %233 = load ptr, ptr %10, align 8, !tbaa !5
  %234 = icmp ne ptr %233, null
  br i1 %234, label %252, label %235

235:                                              ; preds = %232
  %236 = call noundef ptr @_ZN7glslang7TSymbolnwEm(i64 noundef 232)
  store i1 true, ptr %17, align 1
  %237 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 144, ptr %14) #4
  invoke void @_ZN7glslang5TTypeC2ENS_10TBasicTypeENS_17TStorageQualifierEiiib(ptr noundef nonnull align 8 dereferenceable(144) %14, i32 noundef 0, i32 noundef 0, i32 noundef 1, i32 noundef 0, i32 noundef 0, i1 noundef zeroext false)
          to label %238 unwind label %240

238:                                              ; preds = %235
  invoke void @_ZN7glslang9TVariableC2EPKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEERKNS_5TTypeEb(ptr noundef nonnull align 8 dereferenceable(228) %236, ptr noundef %237, ptr noundef nonnull align 8 dereferenceable(144) %14, i1 noundef zeroext false)
          to label %239 unwind label %244

239:                                              ; preds = %238
  store i1 false, ptr %17, align 1
  store ptr %236, ptr %10, align 8, !tbaa !5
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %14) #4
  call void @llvm.lifetime.end.p0(i64 144, ptr %14) #4
  br label %252

240:                                              ; preds = %235
  %241 = landingpad { ptr, i32 }
          cleanup
  %242 = extractvalue { ptr, i32 } %241, 0
  store ptr %242, ptr %15, align 8
  %243 = extractvalue { ptr, i32 } %241, 1
  store i32 %243, ptr %16, align 4
  br label %248

244:                                              ; preds = %238
  %245 = landingpad { ptr, i32 }
          cleanup
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %15, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %16, align 4
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %14) #4
  br label %248

248:                                              ; preds = %244, %240
  call void @llvm.lifetime.end.p0(i64 144, ptr %14) #4
  %249 = load i1, ptr %17, align 1
  br i1 %249, label %250, label %251

250:                                              ; preds = %248
  call void @_ZN7glslang7TSymboldlEPv(ptr noundef %236) #4
  br label %251

251:                                              ; preds = %250, %248
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  br label %323

252:                                              ; preds = %239, %232
  %253 = load ptr, ptr %10, align 8, !tbaa !5
  %254 = load ptr, ptr %253, align 8, !tbaa !9
  %255 = getelementptr inbounds ptr, ptr %254, i64 12
  %256 = load ptr, ptr %255, align 8
  %257 = call noundef nonnull align 8 dereferenceable(144) ptr %256(ptr noundef nonnull align 8 dereferenceable(228) %253)
  %258 = load ptr, ptr %257, align 8, !tbaa !9
  %259 = getelementptr inbounds ptr, ptr %258, i64 11
  %260 = load ptr, ptr %259, align 8
  %261 = call noundef nonnull align 8 dereferenceable(72) ptr %260(ptr noundef nonnull align 8 dereferenceable(144) %257)
  %262 = call noundef zeroext i1 @_ZNK7glslang10TQualifier18isFrontEndConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %261)
  br i1 %262, label %263, label %278

263:                                              ; preds = %252
  %264 = getelementptr inbounds %"class.glslang::TParseVersions", ptr %18, i32 0, i32 7
  %265 = load ptr, ptr %264, align 8, !tbaa !11
  %266 = load ptr, ptr %10, align 8, !tbaa !5
  %267 = load ptr, ptr %266, align 8, !tbaa !9
  %268 = getelementptr inbounds ptr, ptr %267, i64 23
  %269 = load ptr, ptr %268, align 8
  %270 = call noundef nonnull align 8 dereferenceable(16) ptr %269(ptr noundef nonnull align 8 dereferenceable(228) %266)
  %271 = load ptr, ptr %10, align 8, !tbaa !5
  %272 = load ptr, ptr %271, align 8, !tbaa !9
  %273 = getelementptr inbounds ptr, ptr %272, i64 12
  %274 = load ptr, ptr %273, align 8
  %275 = call noundef nonnull align 8 dereferenceable(144) ptr %274(ptr noundef nonnull align 8 dereferenceable(228) %271)
  %276 = load ptr, ptr %6, align 8, !tbaa !5
  %277 = call noundef ptr @_ZNK7glslang13TIntermediate16addConstantUnionERKNS_16TConstUnionArrayERKNS_5TTypeERKNS_10TSourceLocEb(ptr noundef nonnull align 8 dereferenceable(1784) %265, ptr noundef nonnull align 8 dereferenceable(16) %270, ptr noundef nonnull align 8 dereferenceable(144) %275, ptr noundef nonnull align 8 dereferenceable(24) %276, i1 noundef zeroext false)
  store ptr %277, ptr %9, align 8, !tbaa !5
  br label %284

278:                                              ; preds = %252
  %279 = getelementptr inbounds %"class.glslang::TParseVersions", ptr %18, i32 0, i32 7
  %280 = load ptr, ptr %279, align 8, !tbaa !11
  %281 = load ptr, ptr %10, align 8, !tbaa !5
  %282 = load ptr, ptr %6, align 8, !tbaa !5
  %283 = call noundef ptr @_ZN7glslang13TIntermediate9addSymbolERKNS_9TVariableERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %280, ptr noundef nonnull align 8 dereferenceable(228) %281, ptr noundef nonnull align 8 dereferenceable(24) %282)
  store ptr %283, ptr %9, align 8, !tbaa !5
  br label %284

284:                                              ; preds = %278, %263
  br label %285

285:                                              ; preds = %284, %188
  %286 = load ptr, ptr %10, align 8, !tbaa !5
  %287 = load ptr, ptr %286, align 8, !tbaa !9
  %288 = getelementptr inbounds ptr, ptr %287, i64 12
  %289 = load ptr, ptr %288, align 8
  %290 = call noundef nonnull align 8 dereferenceable(144) ptr %289(ptr noundef nonnull align 8 dereferenceable(228) %286)
  %291 = load ptr, ptr %290, align 8, !tbaa !9
  %292 = getelementptr inbounds ptr, ptr %291, i64 11
  %293 = load ptr, ptr %292, align 8
  %294 = call noundef nonnull align 8 dereferenceable(72) ptr %293(ptr noundef nonnull align 8 dereferenceable(144) %290)
  %295 = call noundef zeroext i1 @_ZNK7glslang10TQualifier4isIoEv(ptr noundef nonnull align 8 dereferenceable(72) %294)
  br i1 %295, label %296, label %300

296:                                              ; preds = %285
  %297 = getelementptr inbounds %"class.glslang::TParseVersions", ptr %18, i32 0, i32 7
  %298 = load ptr, ptr %297, align 8, !tbaa !11
  %299 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN7glslang13TIntermediate13addIoAccessedERKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE(ptr noundef nonnull align 8 dereferenceable(1784) %298, ptr noundef nonnull align 8 dereferenceable(40) %299)
  br label %300

300:                                              ; preds = %296, %285
  %301 = load ptr, ptr %10, align 8, !tbaa !5
  %302 = load ptr, ptr %301, align 8, !tbaa !9
  %303 = getelementptr inbounds ptr, ptr %302, i64 12
  %304 = load ptr, ptr %303, align 8
  %305 = call noundef nonnull align 8 dereferenceable(144) ptr %304(ptr noundef nonnull align 8 dereferenceable(228) %301)
  %306 = call noundef zeroext i1 @_ZNK7glslang5TType11isReferenceEv(ptr noundef nonnull align 8 dereferenceable(144) %305)
  br i1 %306, label %307, label %321

307:                                              ; preds = %300
  %308 = load ptr, ptr %10, align 8, !tbaa !5
  %309 = load ptr, ptr %308, align 8, !tbaa !9
  %310 = getelementptr inbounds ptr, ptr %309, i64 12
  %311 = load ptr, ptr %310, align 8
  %312 = call noundef nonnull align 8 dereferenceable(144) ptr %311(ptr noundef nonnull align 8 dereferenceable(228) %308)
  %313 = load ptr, ptr %312, align 8, !tbaa !9
  %314 = getelementptr inbounds ptr, ptr %313, i64 11
  %315 = load ptr, ptr %314, align 8
  %316 = call noundef nonnull align 8 dereferenceable(72) ptr %315(ptr noundef nonnull align 8 dereferenceable(144) %312)
  %317 = call noundef zeroext i1 @_ZNK7glslang10TQualifier37bufferReferenceNeedsVulkanMemoryModelEv(ptr noundef nonnull align 8 dereferenceable(72) %316)
  br i1 %317, label %318, label %321

318:                                              ; preds = %307
  %319 = getelementptr inbounds %"class.glslang::TParseVersions", ptr %18, i32 0, i32 7
  %320 = load ptr, ptr %319, align 8, !tbaa !11
  call void @_ZN7glslang13TIntermediate23setUseVulkanMemoryModelEv(ptr noundef nonnull align 8 dereferenceable(1784) %320)
  br label %321

321:                                              ; preds = %318, %307, %300
  %322 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  ret ptr %322

323:                                              ; preds = %251
  %324 = load ptr, ptr %15, align 8
  %325 = load i32, ptr %16, align 4
  %326 = insertvalue { ptr, i32 } poison, ptr %324, 0
  %327 = insertvalue { ptr, i32 } %326, i32 %325, 1
  resume { ptr, i32 } %327
}

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

declare noundef ptr @_ZN7glslang13TIntermediate9addSymbolERKNS_9TVariableERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784), ptr noundef nonnull align 8 dereferenceable(228), ptr noundef nonnull align 8 dereferenceable(24)) #3

declare noundef ptr @_ZNK7glslang13TIntermediate16addConstantUnionEjRKNS_10TSourceLocEb(ptr noundef nonnull align 8 dereferenceable(1784), i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) #3

declare noundef ptr @_ZN7glslang13TIntermediate8addIndexENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784), i32 noundef, ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7glslang7TSymbolnwEm(i64 noundef) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7glslang9TVariableC2EPKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEERKNS_5TTypeEb(ptr noundef nonnull align 8 dereferenceable(228), ptr noundef, ptr noundef nonnull align 8 dereferenceable(144), i1 noundef zeroext) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7glslang7TSymboldlEPv(ptr noundef) #2 align 2

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

declare noundef ptr @_ZNK7glslang13TIntermediate16addConstantUnionERKNS_16TConstUnionArrayERKNS_5TTypeERKNS_10TSourceLocEb(ptr noundef nonnull align 8 dereferenceable(1784), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) #3

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !6, i64 56}
!12 = !{!"_ZTSN7glslang14TParseVersionsE", !13, i64 8, !14, i64 12, !6, i64 16, !15, i64 24, !16, i64 28, !17, i64 32, !6, i64 56, !18, i64 64, !29, i64 120, !34, i64 176, !15, i64 180, !6, i64 184}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTS8EProfile", !7, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_ZTS11EShLanguage", !7, i64 0}
!17 = !{!"_ZTSN7glslang10SpvVersionE", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !13, i64 16}
!18 = !{!"_ZTSN7glslang4TMapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_18TExtensionBehaviorESt4lessIS7_EEE", !19, i64 0}
!19 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_18TExtensionBehaviorESt4lessIS7_ENS5_ISt4pairIKS7_S8_EEEE", !20, i64 0}
!20 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_NS4_18TExtensionBehaviorEESt10_Select1stISB_ESt4lessIS7_ENS5_ISB_EEE", !21, i64 0}
!21 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_NS4_18TExtensionBehaviorEESt10_Select1stISB_ESt4lessIS7_ENS5_ISB_EEE13_Rb_tree_implISF_Lb1EEE", !22, i64 0, !23, i64 8, !25, i64 16}
!22 = !{!"_ZTSN7glslang14pool_allocatorISt13_Rb_tree_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_IcEEEENS_18TExtensionBehaviorEEEEE", !6, i64 0}
!23 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEEE", !24, i64 0}
!24 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEE"}
!25 = !{!"_ZTSSt15_Rb_tree_header", !26, i64 0, !28, i64 32}
!26 = !{!"_ZTSSt18_Rb_tree_node_base", !27, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!27 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!28 = !{!"long", !7, i64 0}
!29 = !{!"_ZTSN7glslang4TMapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEEjSt4lessIS7_EEE", !30, i64 0}
!30 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEjSt4lessIS7_ENS5_ISt4pairIKS7_jEEEE", !31, i64 0}
!31 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_jESt10_Select1stISA_ESt4lessIS7_ENS5_ISA_EEE", !32, i64 0}
!32 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_jESt10_Select1stISA_ESt4lessIS7_ENS5_ISA_EEE13_Rb_tree_implISE_Lb1EEE", !33, i64 0, !23, i64 8, !25, i64 16}
!33 = !{!"_ZTSN7glslang14pool_allocatorISt13_Rb_tree_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_IcEEEEjEEEE", !6, i64 0}
!34 = !{!"_ZTS11EShMessages", !7, i64 0}
!35 = !{!36, !6, i64 0}
!36 = !{!"_ZTSN7glslang8TTypeLocE", !6, i64 0, !37, i64 8}
!37 = !{!"_ZTSN7glslang10TSourceLocE", !6, i64 0, !15, i64 8, !15, i64 12, !15, 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::TType" = type { ptr, i32, [4 x i8], %"class.glslang::TQualifier", ptr, %union.anon.179, ptr, ptr, %"struct.glslang::TSampler", ptr, 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 }>
%union.anon.179 = type { ptr }
%"struct.glslang::TSampler" = type { i32 }

@.str.2 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [23 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN7glslang13TParseContext14handleVariableERKNS_10TSourceLocEPNS_7TSymbolEPKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE(ptr noundef nonnull align 8 dereferenceable(24912) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca %"class.glslang::TType", align 8
  store ptr %2, ptr %5, align 8, !tbaa !5
  %.not = icmp eq ptr %2, null
  br i1 %.not, label %.thread70, label %7

7:                                                ; preds = %4
  %8 = load ptr, ptr %2, align 8, !tbaa !9
  %9 = getelementptr inbounds i8, ptr %8, i64 136
  %10 = load ptr, ptr %9, align 8
  %11 = tail call noundef i32 %10(ptr noundef nonnull align 8 dereferenceable(33) %2)
  %.not48 = icmp eq i32 %11, 0
  br i1 %.not48, label %29, label %12

12:                                               ; preds = %7
  %13 = load ptr, ptr %2, align 8, !tbaa !9
  %14 = getelementptr inbounds i8, ptr %13, i64 136
  %15 = load ptr, ptr %14, align 8
  %16 = tail call noundef i32 %15(ptr noundef nonnull align 8 dereferenceable(33) %2)
  %17 = load ptr, ptr %2, align 8, !tbaa !9
  %18 = getelementptr inbounds i8, ptr %17, i64 144
  %19 = load ptr, ptr %18, align 8
  %20 = tail call noundef ptr %19(ptr noundef nonnull align 8 dereferenceable(33) %2)
  %21 = load ptr, ptr %2, align 8, !tbaa !9
  %22 = getelementptr inbounds i8, ptr %21, i64 24
  %23 = load ptr, ptr %22, align 8
  %24 = tail call noundef nonnull align 8 dereferenceable(40) ptr %23(ptr noundef nonnull align 8 dereferenceable(33) %2)
  %25 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(40) %24) #4
  %26 = load ptr, ptr %0, align 8, !tbaa !9
  %27 = getelementptr inbounds i8, ptr %26, i64 40
  %28 = load ptr, ptr %27, align 8
  tail call void %28(ptr noundef nonnull align 8 dereferenceable(192) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %16, ptr noundef %20, ptr noundef %25)
  br label %29

29:                                               ; preds = %7, %12
  %30 = load ptr, ptr %2, align 8, !tbaa !9
  %31 = getelementptr inbounds i8, ptr %30, i64 160
  %32 = load ptr, ptr %31, align 8
  %33 = tail call noundef zeroext i1 %32(ptr noundef nonnull align 8 dereferenceable(33) %2)
  br i1 %33, label %34, label %.thread

34:                                               ; preds = %29
  %35 = load ptr, ptr %2, align 8, !tbaa !9
  %36 = getelementptr inbounds i8, ptr %35, i64 96
  %37 = load ptr, ptr %36, align 8
  %38 = tail call noundef nonnull align 8 dereferenceable(144) ptr %37(ptr noundef nonnull align 8 dereferenceable(33) %2)
  %39 = load ptr, ptr %38, align 8, !tbaa !9
  %40 = getelementptr inbounds i8, ptr %39, i64 344
  %41 = load ptr, ptr %40, align 8
  %42 = tail call noundef zeroext i1 %41(ptr noundef nonnull align 8 dereferenceable(144) %38)
  br i1 %42, label %.thread, label %43

43:                                               ; preds = %34
  %44 = load ptr, ptr %2, align 8, !tbaa !9
  %45 = getelementptr inbounds i8, ptr %44, i64 96
  %46 = load ptr, ptr %45, align 8
  %47 = tail call noundef nonnull align 8 dereferenceable(144) ptr %46(ptr noundef nonnull align 8 dereferenceable(33) %2)
  %48 = load ptr, ptr %47, align 8, !tbaa !9
  %49 = getelementptr inbounds i8, ptr %48, i64 384
  %50 = load ptr, ptr %49, align 8
  %51 = tail call noundef zeroext i1 %50(ptr noundef nonnull align 8 dereferenceable(144) %47)
  br i1 %51, label %74, label %52

52:                                               ; preds = %43
  %53 = load ptr, ptr %2, align 8, !tbaa !9
  %54 = getelementptr inbounds i8, ptr %53, i64 88
  %55 = load ptr, ptr %54, align 8
  %56 = tail call noundef ptr %55(ptr noundef nonnull align 8 dereferenceable(33) %2)
  %.not50 = icmp eq ptr %56, null
  br i1 %.not50, label %.thread, label %57

57:                                               ; preds = %52
  %58 = load ptr, ptr %2, align 8, !tbaa !9
  %59 = getelementptr inbounds i8, ptr %58, i64 88
  %60 = load ptr, ptr %59, align 8
  %61 = tail call noundef ptr %60(ptr noundef nonnull align 8 dereferenceable(33) %2)
  %62 = load ptr, ptr %61, align 8, !tbaa !9
  %63 = getelementptr inbounds i8, ptr %62, i64 176
  %64 = load ptr, ptr %63, align 8
  %65 = tail call noundef nonnull align 8 dereferenceable(228) ptr %64(ptr noundef nonnull align 8 dereferenceable(56) %61)
  %66 = load ptr, ptr %65, align 8, !tbaa !9
  %67 = getelementptr inbounds i8, ptr %66, i64 96
  %68 = load ptr, ptr %67, align 8
  %69 = tail call noundef nonnull align 8 dereferenceable(144) ptr %68(ptr noundef nonnull align 8 dereferenceable(228) %65)
  %70 = load ptr, ptr %69, align 8, !tbaa !9
  %71 = getelementptr inbounds i8, ptr %70, i64 384
  %72 = load ptr, ptr %71, align 8
  %73 = tail call noundef zeroext i1 %72(ptr noundef nonnull align 8 dereferenceable(144) %69)
  br i1 %73, label %74, label %.thread

74:                                               ; preds = %43, %57
  %75 = load ptr, ptr %0, align 8, !tbaa !9
  %76 = getelementptr inbounds i8, ptr %75, i64 600
  %77 = load ptr, ptr %76, align 8
  call void %77(ptr noundef nonnull align 8 dereferenceable(24912) %0, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %.pr60.pre = load ptr, ptr %5, align 8, !tbaa !5
  %.not51 = icmp eq ptr %.pr60.pre, null
  br i1 %.not51, label %.thread70, label %.thread

.thread:                                          ; preds = %29, %52, %57, %34, %74
  %.pr6081 = phi ptr [ %.pr60.pre, %74 ], [ %2, %34 ], [ %2, %57 ], [ %2, %52 ], [ %2, %29 ]
  %78 = load ptr, ptr %.pr6081, align 8, !tbaa !9
  %79 = getelementptr inbounds i8, ptr %78, i64 88
  %80 = load ptr, ptr %79, align 8
  %81 = call noundef ptr %80(ptr noundef nonnull align 8 dereferenceable(33) %.pr6081)
  %.not52 = icmp eq ptr %81, null
  br i1 %.not52, label %.thread64, label %82

82:                                               ; preds = %.thread
  %83 = load ptr, ptr %81, align 8, !tbaa !9
  %84 = getelementptr inbounds i8, ptr %83, i64 176
  %85 = load ptr, ptr %84, align 8
  %86 = call noundef nonnull align 8 dereferenceable(228) ptr %85(ptr noundef nonnull align 8 dereferenceable(56) %81)
  %87 = load ptr, ptr %86, align 8, !tbaa !9
  %88 = getelementptr inbounds i8, ptr %87, i64 80
  %89 = load ptr, ptr %88, align 8
  %90 = call noundef ptr %89(ptr noundef nonnull align 8 dereferenceable(228) %86)
  %91 = getelementptr inbounds i8, ptr %0, i64 56
  %92 = load ptr, ptr %91, align 8, !tbaa !11
  %93 = call noundef ptr @_ZN7glslang13TIntermediate9addSymbolERKNS_9TVariableERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %92, ptr noundef nonnull align 8 dereferenceable(228) %90, ptr noundef nonnull align 8 dereferenceable(24) %1)
  %94 = load ptr, ptr %91, align 8, !tbaa !11
  %95 = load ptr, ptr %81, align 8, !tbaa !9
  %96 = getelementptr inbounds i8, ptr %95, i64 184
  %97 = load ptr, ptr %96, align 8
  %98 = call noundef i32 %97(ptr noundef nonnull align 8 dereferenceable(56) %81)
  %99 = call noundef ptr @_ZNK7glslang13TIntermediate16addConstantUnionEjRKNS_10TSourceLocEb(ptr noundef nonnull align 8 dereferenceable(1784) %94, i32 noundef %98, ptr noundef nonnull align 8 dereferenceable(24) %1, i1 noundef zeroext false)
  %100 = load ptr, ptr %91, align 8, !tbaa !11
  %101 = call noundef ptr @_ZN7glslang13TIntermediate8addIndexENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %100, i32 noundef 182, ptr noundef %93, ptr noundef %99, ptr noundef nonnull align 8 dereferenceable(24) %1)
  %102 = load ptr, ptr %90, align 8, !tbaa !9
  %103 = getelementptr inbounds i8, ptr %102, i64 96
  %104 = load ptr, ptr %103, align 8
  %105 = call noundef nonnull align 8 dereferenceable(144) ptr %104(ptr noundef nonnull align 8 dereferenceable(228) %90)
  %106 = call noundef ptr @_ZNK7glslang5TType9getStructEv(ptr noundef nonnull align 8 dereferenceable(144) %105)
  %107 = load ptr, ptr %81, align 8, !tbaa !9
  %108 = getelementptr inbounds i8, ptr %107, i64 184
  %109 = load ptr, ptr %108, align 8
  %110 = call noundef i32 %109(ptr noundef nonnull align 8 dereferenceable(56) %81)
  %111 = zext i32 %110 to i64
  %112 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorIN7glslang8TTypeLocENS0_14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %106, i64 noundef %111) #4
  %113 = load ptr, ptr %112, align 8, !tbaa !35
  %114 = load ptr, ptr %101, align 8, !tbaa !9
  %115 = getelementptr inbounds i8, ptr %114, i64 232
  %116 = load ptr, ptr %115, align 8
  call void %116(ptr noundef nonnull align 8 dereferenceable(176) %101, ptr noundef nonnull align 8 dereferenceable(144) %113)
  %117 = load ptr, ptr %101, align 8, !tbaa !9
  %118 = getelementptr inbounds i8, ptr %117, i64 240
  %119 = load ptr, ptr %118, align 8
  %120 = call noundef nonnull align 8 dereferenceable(144) ptr %119(ptr noundef nonnull align 8 dereferenceable(176) %101)
  %121 = load ptr, ptr %120, align 8, !tbaa !9
  %122 = getelementptr inbounds i8, ptr %121, i64 24
  %123 = load ptr, ptr %122, align 8
  %124 = call noundef zeroext i1 %123(ptr noundef nonnull align 8 dereferenceable(144) %120)
  br i1 %124, label %125, label %181

125:                                              ; preds = %82
  %126 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(40) %3) #4
  %127 = load ptr, ptr %0, align 8, !tbaa !9
  %128 = getelementptr inbounds i8, ptr %127, i64 336
  %129 = load ptr, ptr %128, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %129(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.55, ptr noundef %126, ptr noundef nonnull @.str.2)
  br label %181

.thread64:                                        ; preds = %.thread
  %.pr76 = load ptr, ptr %5, align 8, !tbaa !5
  %.not53 = icmp eq ptr %.pr76, null
  br i1 %.not53, label %.thread70, label %130

130:                                              ; preds = %.thread64
  %131 = load ptr, ptr %.pr76, align 8, !tbaa !9
  %132 = getelementptr inbounds i8, ptr %131, i64 72
  %133 = load ptr, ptr %132, align 8
  %134 = call noundef ptr %133(ptr noundef nonnull align 8 dereferenceable(33) %.pr76)
  %.not54 = icmp eq ptr %134, null
  br i1 %.not54, label %144, label %135

135:                                              ; preds = %130
  %136 = load ptr, ptr %134, align 8, !tbaa !9
  %137 = getelementptr inbounds i8, ptr %136, i64 96
  %138 = load ptr, ptr %137, align 8
  %139 = call noundef nonnull align 8 dereferenceable(144) ptr %138(ptr noundef nonnull align 8 dereferenceable(228) %134)
  %140 = load ptr, ptr %139, align 8, !tbaa !9
  %141 = getelementptr inbounds i8, ptr %140, i64 344
  %142 = load ptr, ptr %141, align 8
  %143 = call noundef zeroext i1 %142(ptr noundef nonnull align 8 dereferenceable(144) %139)
  br i1 %143, label %.thread70.sink.split, label %157

144:                                              ; preds = %130
  %.pr69 = load ptr, ptr %5, align 8, !tbaa !5
  %.not55 = icmp eq ptr %.pr69, null
  br i1 %.not55, label %.thread70, label %.thread70.sink.split

.thread70.sink.split:                             ; preds = %144, %135
  %.str.56.sink = phi ptr [ @.str.56, %135 ], [ @.str.57, %144 ]
  %145 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(40) %3) #4
  %146 = load ptr, ptr %0, align 8, !tbaa !9
  %147 = getelementptr inbounds i8, ptr %146, i64 336
  %148 = load ptr, ptr %147, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %148(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull %.str.56.sink, ptr noundef %145, ptr noundef nonnull @.str.2)
  br label %.thread70

.thread70:                                        ; preds = %.thread70.sink.split, %74, %4, %.thread64, %144
  %149 = call noundef ptr @_ZN7glslang7TSymbolnwEm(i64 noundef 232)
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %6) #4
  invoke void @_ZN7glslang5TTypeC2ENS_10TBasicTypeENS_17TStorageQualifierEiiib(ptr noundef nonnull align 8 dereferenceable(144) %6, i32 noundef 0, i32 noundef 0, i32 noundef 1, i32 noundef 0, i32 noundef 0, i1 noundef zeroext false)
          to label %150 unwind label %152

150:                                              ; preds = %.thread70
  invoke void @_ZN7glslang9TVariableC2EPKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEERKNS_5TTypeEb(ptr noundef nonnull align 8 dereferenceable(228) %149, ptr noundef %3, ptr noundef nonnull align 8 dereferenceable(144) %6, i1 noundef zeroext false)
          to label %151 unwind label %154

151:                                              ; preds = %150
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %6) #4
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %6) #4
  br label %157

152:                                              ; preds = %.thread70
  %153 = landingpad { ptr, i32 }
          cleanup
  br label %156

154:                                              ; preds = %150
  %155 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %6) #4
  br label %156

156:                                              ; preds = %154, %152
  %.pn = phi { ptr, i32 } [ %155, %154 ], [ %153, %152 ]
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %6) #4
  call void @_ZN7glslang7TSymboldlEPv(ptr noundef %149) #4
  resume { ptr, i32 } %.pn

157:                                              ; preds = %135, %151
  %.1 = phi ptr [ %149, %151 ], [ %134, %135 ]
  %158 = load ptr, ptr %.1, align 8, !tbaa !9
  %159 = getelementptr inbounds i8, ptr %158, i64 96
  %160 = load ptr, ptr %159, align 8
  %161 = call noundef nonnull align 8 dereferenceable(144) ptr %160(ptr noundef nonnull align 8 dereferenceable(228) %.1)
  %162 = load ptr, ptr %161, align 8, !tbaa !9
  %163 = getelementptr inbounds i8, ptr %162, i64 88
  %164 = load ptr, ptr %163, align 8
  %165 = call noundef nonnull align 8 dereferenceable(72) ptr %164(ptr noundef nonnull align 8 dereferenceable(144) %161)
  %166 = call noundef zeroext i1 @_ZNK7glslang10TQualifier18isFrontEndConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %165)
  %167 = getelementptr inbounds i8, ptr %0, i64 56
  %168 = load ptr, ptr %167, align 8, !tbaa !11
  br i1 %166, label %169, label %179

169:                                              ; preds = %157
  %170 = load ptr, ptr %.1, align 8, !tbaa !9
  %171 = getelementptr inbounds i8, ptr %170, i64 184
  %172 = load ptr, ptr %171, align 8
  %173 = call noundef nonnull align 8 dereferenceable(16) ptr %172(ptr noundef nonnull align 8 dereferenceable(228) %.1)
  %174 = load ptr, ptr %.1, align 8, !tbaa !9
  %175 = getelementptr inbounds i8, ptr %174, i64 96
  %176 = load ptr, ptr %175, align 8
  %177 = call noundef nonnull align 8 dereferenceable(144) ptr %176(ptr noundef nonnull align 8 dereferenceable(228) %.1)
  %178 = call noundef ptr @_ZNK7glslang13TIntermediate16addConstantUnionERKNS_16TConstUnionArrayERKNS_5TTypeERKNS_10TSourceLocEb(ptr noundef nonnull align 8 dereferenceable(1784) %168, ptr noundef nonnull align 8 dereferenceable(16) %173, ptr noundef nonnull align 8 dereferenceable(144) %177, ptr noundef nonnull align 8 dereferenceable(24) %1, i1 noundef zeroext false)
  br label %181

179:                                              ; preds = %157
  %180 = call noundef ptr @_ZN7glslang13TIntermediate9addSymbolERKNS_9TVariableERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %168, ptr noundef nonnull align 8 dereferenceable(228) %.1, ptr noundef nonnull align 8 dereferenceable(24) %1)
  br label %181

181:                                              ; preds = %82, %125, %169, %179
  %.2 = phi ptr [ %.1, %169 ], [ %.1, %179 ], [ %90, %125 ], [ %90, %82 ]
  %.039 = phi ptr [ %178, %169 ], [ %180, %179 ], [ %101, %125 ], [ %101, %82 ]
  %182 = load ptr, ptr %.2, align 8, !tbaa !9
  %183 = getelementptr inbounds i8, ptr %182, i64 96
  %184 = load ptr, ptr %183, align 8
  %185 = call noundef nonnull align 8 dereferenceable(144) ptr %184(ptr noundef nonnull align 8 dereferenceable(228) %.2)
  %186 = load ptr, ptr %185, align 8, !tbaa !9
  %187 = getelementptr inbounds i8, ptr %186, i64 88
  %188 = load ptr, ptr %187, align 8
  %189 = call noundef nonnull align 8 dereferenceable(72) ptr %188(ptr noundef nonnull align 8 dereferenceable(144) %185)
  %190 = call noundef zeroext i1 @_ZNK7glslang10TQualifier4isIoEv(ptr noundef nonnull align 8 dereferenceable(72) %189)
  br i1 %190, label %191, label %194

191:                                              ; preds = %181
  %192 = getelementptr inbounds i8, ptr %0, i64 56
  %193 = load ptr, ptr %192, align 8, !tbaa !11
  call void @_ZN7glslang13TIntermediate13addIoAccessedERKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE(ptr noundef nonnull align 8 dereferenceable(1784) %193, ptr noundef nonnull align 8 dereferenceable(40) %3)
  br label %194

194:                                              ; preds = %191, %181
  %195 = load ptr, ptr %.2, align 8, !tbaa !9
  %196 = getelementptr inbounds i8, ptr %195, i64 96
  %197 = load ptr, ptr %196, align 8
  %198 = call noundef nonnull align 8 dereferenceable(144) ptr %197(ptr noundef nonnull align 8 dereferenceable(228) %.2)
  %199 = call noundef zeroext i1 @_ZNK7glslang5TType11isReferenceEv(ptr noundef nonnull align 8 dereferenceable(144) %198)
  br i1 %199, label %200, label %213

200:                                              ; preds = %194
  %201 = load ptr, ptr %.2, align 8, !tbaa !9
  %202 = getelementptr inbounds i8, ptr %201, i64 96
  %203 = load ptr, ptr %202, align 8
  %204 = call noundef nonnull align 8 dereferenceable(144) ptr %203(ptr noundef nonnull align 8 dereferenceable(228) %.2)
  %205 = load ptr, ptr %204, align 8, !tbaa !9
  %206 = getelementptr inbounds i8, ptr %205, i64 88
  %207 = load ptr, ptr %206, align 8
  %208 = call noundef nonnull align 8 dereferenceable(72) ptr %207(ptr noundef nonnull align 8 dereferenceable(144) %204)
  %209 = call noundef zeroext i1 @_ZNK7glslang10TQualifier37bufferReferenceNeedsVulkanMemoryModelEv(ptr noundef nonnull align 8 dereferenceable(72) %208)
  br i1 %209, label %210, label %213

210:                                              ; preds = %200
  %211 = getelementptr inbounds i8, ptr %0, i64 56
  %212 = load ptr, ptr %211, align 8, !tbaa !11
  call void @_ZN7glslang13TIntermediate23setUseVulkanMemoryModelEv(ptr noundef nonnull align 8 dereferenceable(1784) %212)
  br label %213

213:                                              ; preds = %210, %200, %194
  ret ptr %.039
}

; 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 #2 align 2

declare noundef ptr @_ZN7glslang13TIntermediate9addSymbolERKNS_9TVariableERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784), ptr noundef nonnull align 8 dereferenceable(228), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

declare noundef ptr @_ZNK7glslang13TIntermediate16addConstantUnionEjRKNS_10TSourceLocEb(ptr noundef nonnull align 8 dereferenceable(1784), i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) local_unnamed_addr #3

declare noundef ptr @_ZN7glslang13TIntermediate8addIndexENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784), i32 noundef, ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7glslang7TSymbolnwEm(i64 noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7glslang9TVariableC2EPKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEERKNS_5TTypeEb(ptr noundef nonnull align 8 dereferenceable(228), ptr noundef, ptr noundef nonnull align 8 dereferenceable(144), i1 noundef zeroext) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7glslang7TSymboldlEPv(ptr noundef) local_unnamed_addr #2 align 2

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

declare noundef ptr @_ZNK7glslang13TIntermediate16addConstantUnionERKNS_16TConstUnionArrayERKNS_5TTypeERKNS_10TSourceLocEb(ptr noundef nonnull align 8 dereferenceable(1784), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) local_unnamed_addr #3

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !6, i64 56}
!12 = !{!"_ZTSN7glslang14TParseVersionsE", !13, i64 8, !14, i64 12, !6, i64 16, !15, i64 24, !16, i64 28, !17, i64 32, !6, i64 56, !18, i64 64, !29, i64 120, !34, i64 176, !15, i64 180, !6, i64 184}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTS8EProfile", !7, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_ZTS11EShLanguage", !7, i64 0}
!17 = !{!"_ZTSN7glslang10SpvVersionE", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !13, i64 16}
!18 = !{!"_ZTSN7glslang4TMapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_18TExtensionBehaviorESt4lessIS7_EEE", !19, i64 0}
!19 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_18TExtensionBehaviorESt4lessIS7_ENS5_ISt4pairIKS7_S8_EEEE", !20, i64 0}
!20 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_NS4_18TExtensionBehaviorEESt10_Select1stISB_ESt4lessIS7_ENS5_ISB_EEE", !21, i64 0}
!21 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_NS4_18TExtensionBehaviorEESt10_Select1stISB_ESt4lessIS7_ENS5_ISB_EEE13_Rb_tree_implISF_Lb1EEE", !22, i64 0, !23, i64 8, !25, i64 16}
!22 = !{!"_ZTSN7glslang14pool_allocatorISt13_Rb_tree_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_IcEEEENS_18TExtensionBehaviorEEEEE", !6, i64 0}
!23 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEEE", !24, i64 0}
!24 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEE"}
!25 = !{!"_ZTSSt15_Rb_tree_header", !26, i64 0, !28, i64 32}
!26 = !{!"_ZTSSt18_Rb_tree_node_base", !27, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!27 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!28 = !{!"long", !7, i64 0}
!29 = !{!"_ZTSN7glslang4TMapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEEjSt4lessIS7_EEE", !30, i64 0}
!30 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEjSt4lessIS7_ENS5_ISt4pairIKS7_jEEEE", !31, i64 0}
!31 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_jESt10_Select1stISA_ESt4lessIS7_ENS5_ISA_EEE", !32, i64 0}
!32 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_jESt10_Select1stISA_ESt4lessIS7_ENS5_ISA_EEE13_Rb_tree_implISE_Lb1EEE", !33, i64 0, !23, i64 8, !25, i64 16}
!33 = !{!"_ZTSN7glslang14pool_allocatorISt13_Rb_tree_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_IcEEEEjEEEE", !6, i64 0}
!34 = !{!"_ZTS11EShMessages", !7, i64 0}
!35 = !{!36, !6, i64 0}
!36 = !{!"_ZTSN7glslang8TTypeLocE", !6, i64 0, !37, i64 8}
!37 = !{!"_ZTSN7glslang10TSourceLocE", !6, i64 0, !15, i64 8, !15, i64 12, !15, i64 16}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass