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

; 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.anon.119 = type { ptr, 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 }>
%"struct.glslang::TTypeLoc" = type { ptr, %"struct.glslang::TSourceLoc" }
%"struct.glslang::TSourceLoc" = type { ptr, i32, i32, i32 }

@.str.9 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [114 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [21 x i8], align 1
@__PRETTY_FUNCTION__._ZN7glslang13TIntermediate18mergeLinkerObjectsER9TInfoSinkRNS_7TVectorIP11TIntermNodeEERKS6_11EShLanguage = external hidden unnamed_addr constant [118 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7glslang13TIntermediate5errorER9TInfoSinkPKc11EShLanguage(ptr noundef nonnull align 8 dereferenceable(1784), ptr noundef nonnull align 8 dereferenceable(80), ptr noundef, i32 noundef) #0 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7glslang13TIntermediate18mergeLinkerObjectsER9TInfoSinkRNS_7TVectorIP11TIntermNodeEERKS6_11EShLanguage(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull align 8 dereferenceable(80) %1, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(32) %3, i32 noundef %4) #0 align 2 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i8, align 1
  %15 = alloca i64, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i8, align 1
  %19 = alloca i64, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca %class.anon.119, align 8
  %23 = alloca i32, align 4
  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
  store i32 %4, ptr %10, align 4, !tbaa !9
  %24 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %25 = load ptr, ptr %8, align 8, !tbaa !5
  %26 = call noundef i64 @_ZNKSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %25) #6
  store i64 %26, ptr %11, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 0, ptr %12, align 4, !tbaa !13
  br label %27

27:                                               ; preds = %402, %5
  %28 = load i32, ptr %12, align 4, !tbaa !13
  %29 = zext i32 %28 to i64
  %30 = load ptr, ptr %9, align 8, !tbaa !5
  %31 = call noundef i64 @_ZNKSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %30) #6
  %32 = icmp ult i64 %29, %31
  br i1 %32, label %34, label %33

33:                                               ; preds = %27
  store i32 2, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %405

34:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #6
  store i8 1, ptr %14, align 1, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  store i64 0, ptr %15, align 8, !tbaa !11
  br label %35

35:                                               ; preds = %256, %34
  %36 = load i64, ptr %15, align 8, !tbaa !11
  %37 = load i64, ptr %11, align 8, !tbaa !11
  %38 = icmp ult i64 %36, %37
  br i1 %38, label %40, label %39

39:                                               ; preds = %35
  store i32 5, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %259

40:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %41 = load ptr, ptr %8, align 8, !tbaa !5
  %42 = load i64, ptr %15, align 8, !tbaa !11
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %41, i64 noundef %42) #6
  %44 = load ptr, ptr %43, align 8, !tbaa !5
  %45 = load ptr, ptr %44, align 8, !tbaa !17
  %46 = getelementptr inbounds ptr, ptr %45, i64 12
  %47 = load ptr, ptr %46, align 8
  %48 = call noundef ptr %47(ptr noundef nonnull align 8 dereferenceable(32) %44)
  store ptr %48, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %49 = load ptr, ptr %9, align 8, !tbaa !5
  %50 = load i32, ptr %12, align 4, !tbaa !13
  %51 = zext i32 %50 to i64
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %49, i64 noundef %51) #6
  %53 = load ptr, ptr %52, align 8, !tbaa !5
  %54 = load ptr, ptr %53, align 8, !tbaa !17
  %55 = getelementptr inbounds ptr, ptr %54, i64 12
  %56 = load ptr, ptr %55, align 8
  %57 = call noundef ptr %56(ptr noundef nonnull align 8 dereferenceable(32) %53)
  store ptr %57, ptr %17, align 8, !tbaa !5
  %58 = load ptr, ptr %16, align 8, !tbaa !5
  %59 = icmp ne ptr %58, null
  br i1 %59, label %60, label %63

60:                                               ; preds = %40
  %61 = load ptr, ptr %17, align 8, !tbaa !5
  %62 = icmp ne ptr %61, null
  br label %63

63:                                               ; preds = %60, %40
  %64 = phi i1 [ false, %40 ], [ %62, %60 ]
  br i1 %64, label %65, label %66

65:                                               ; preds = %63
  br label %68

66:                                               ; preds = %63
  call void @__assert_fail(ptr noundef @.str.34, ptr noundef @.str.14, i32 noundef 720, ptr noundef @__PRETTY_FUNCTION__._ZN7glslang13TIntermediate18mergeLinkerObjectsER9TInfoSinkRNS_7TVectorIP11TIntermNodeEERKS6_11EShLanguage) #7
  unreachable

67:                                               ; No predecessors!
  br label %68

68:                                               ; preds = %67, %65
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #6
  store i8 0, ptr %18, align 1, !tbaa !15
  %69 = load ptr, ptr %16, align 8, !tbaa !5
  %70 = load ptr, ptr %69, align 8, !tbaa !17
  %71 = getelementptr inbounds ptr, ptr %70, i64 30
  %72 = load ptr, ptr %71, align 8
  %73 = call noundef nonnull align 8 dereferenceable(144) ptr %72(ptr noundef nonnull align 8 dereferenceable(176) %69)
  %74 = load ptr, ptr %73, align 8, !tbaa !17
  %75 = getelementptr inbounds ptr, ptr %74, i64 7
  %76 = load ptr, ptr %75, align 8
  %77 = call noundef i32 %76(ptr noundef nonnull align 8 dereferenceable(144) %73)
  %78 = icmp eq i32 %77, 16
  br i1 %78, label %79, label %118

79:                                               ; preds = %68
  %80 = load ptr, ptr %17, align 8, !tbaa !5
  %81 = load ptr, ptr %80, align 8, !tbaa !17
  %82 = getelementptr inbounds ptr, ptr %81, i64 30
  %83 = load ptr, ptr %82, align 8
  %84 = call noundef nonnull align 8 dereferenceable(144) ptr %83(ptr noundef nonnull align 8 dereferenceable(176) %80)
  %85 = load ptr, ptr %84, align 8, !tbaa !17
  %86 = getelementptr inbounds ptr, ptr %85, i64 7
  %87 = load ptr, ptr %86, align 8
  %88 = call noundef i32 %87(ptr noundef nonnull align 8 dereferenceable(144) %84)
  %89 = icmp eq i32 %88, 16
  br i1 %89, label %90, label %118

90:                                               ; preds = %79
  %91 = load ptr, ptr %16, align 8, !tbaa !5
  %92 = call noundef i32 @_ZNK7glslang13TIntermediate8getStageEv(ptr noundef nonnull align 8 dereferenceable(1784) %24)
  %93 = load ptr, ptr %17, align 8, !tbaa !5
  %94 = load i32, ptr %10, align 4, !tbaa !9
  %95 = call noundef zeroext i1 @_ZN7glslangL15isSameInterfaceEPNS_13TIntermSymbolE11EShLanguageS1_S2_(ptr noundef %91, i32 noundef %92, ptr noundef %93, i32 noundef %94)
  br i1 %95, label %96, label %117

96:                                               ; preds = %90
  %97 = load ptr, ptr %16, align 8, !tbaa !5
  %98 = load ptr, ptr %97, align 8, !tbaa !17
  %99 = getelementptr inbounds ptr, ptr %98, i64 30
  %100 = load ptr, ptr %99, align 8
  %101 = call noundef nonnull align 8 dereferenceable(144) ptr %100(ptr noundef nonnull align 8 dereferenceable(176) %97)
  %102 = load ptr, ptr %101, align 8, !tbaa !17
  %103 = getelementptr inbounds ptr, ptr %102, i64 5
  %104 = load ptr, ptr %103, align 8
  %105 = call noundef nonnull align 8 dereferenceable(40) ptr %104(ptr noundef nonnull align 8 dereferenceable(144) %101)
  %106 = load ptr, ptr %17, align 8, !tbaa !5
  %107 = load ptr, ptr %106, align 8, !tbaa !17
  %108 = getelementptr inbounds ptr, ptr %107, i64 30
  %109 = load ptr, ptr %108, align 8
  %110 = call noundef nonnull align 8 dereferenceable(144) ptr %109(ptr noundef nonnull align 8 dereferenceable(176) %106)
  %111 = load ptr, ptr %110, align 8, !tbaa !17
  %112 = getelementptr inbounds ptr, ptr %111, i64 5
  %113 = load ptr, ptr %112, align 8
  %114 = call noundef nonnull align 8 dereferenceable(40) ptr %113(ptr noundef nonnull align 8 dereferenceable(144) %110)
  %115 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EESC_(ptr noundef nonnull align 8 dereferenceable(40) %105, ptr noundef nonnull align 8 dereferenceable(40) %114) #6
  %116 = zext i1 %115 to i8
  store i8 %116, ptr %18, align 1, !tbaa !15
  br label %117

117:                                              ; preds = %96, %90
  br label %132

118:                                              ; preds = %79, %68
  %119 = load ptr, ptr %16, align 8, !tbaa !5
  %120 = load ptr, ptr %119, align 8, !tbaa !17
  %121 = getelementptr inbounds ptr, ptr %120, i64 50
  %122 = load ptr, ptr %121, align 8
  %123 = call noundef nonnull align 8 dereferenceable(40) ptr %122(ptr noundef nonnull align 8 dereferenceable(256) %119)
  %124 = load ptr, ptr %17, align 8, !tbaa !5
  %125 = load ptr, ptr %124, align 8, !tbaa !17
  %126 = getelementptr inbounds ptr, ptr %125, i64 50
  %127 = load ptr, ptr %126, align 8
  %128 = call noundef nonnull align 8 dereferenceable(40) ptr %127(ptr noundef nonnull align 8 dereferenceable(256) %124)
  %129 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EESC_(ptr noundef nonnull align 8 dereferenceable(40) %123, ptr noundef nonnull align 8 dereferenceable(40) %128) #6
  br i1 %129, label %130, label %131

130:                                              ; preds = %118
  store i8 1, ptr %18, align 1, !tbaa !15
  br label %131

131:                                              ; preds = %130, %118
  br label %132

132:                                              ; preds = %131, %117
  %133 = load i8, ptr %18, align 1, !tbaa !15, !range !19, !noundef !20
  %134 = trunc i8 %133 to i1
  br i1 %134, label %135, label %234

135:                                              ; preds = %132
  store i8 0, ptr %14, align 1, !tbaa !15
  %136 = load ptr, ptr %16, align 8, !tbaa !5
  %137 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK7glslang13TIntermSymbol13getConstArrayEv(ptr noundef nonnull align 8 dereferenceable(256) %136)
  %138 = call noundef zeroext i1 @_ZNK7glslang16TConstUnionArray5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %137)
  br i1 %138, label %139, label %147

139:                                              ; preds = %135
  %140 = load ptr, ptr %17, align 8, !tbaa !5
  %141 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK7glslang13TIntermSymbol13getConstArrayEv(ptr noundef nonnull align 8 dereferenceable(256) %140)
  %142 = call noundef zeroext i1 @_ZNK7glslang16TConstUnionArray5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %141)
  br i1 %142, label %147, label %143

143:                                              ; preds = %139
  %144 = load ptr, ptr %16, align 8, !tbaa !5
  %145 = load ptr, ptr %17, align 8, !tbaa !5
  %146 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK7glslang13TIntermSymbol13getConstArrayEv(ptr noundef nonnull align 8 dereferenceable(256) %145)
  call void @_ZN7glslang13TIntermSymbol13setConstArrayERKNS_16TConstUnionArrayE(ptr noundef nonnull align 8 dereferenceable(256) %144, ptr noundef nonnull align 8 dereferenceable(16) %146)
  br label %147

147:                                              ; preds = %143, %139, %135
  %148 = load ptr, ptr %16, align 8, !tbaa !5
  %149 = load ptr, ptr %148, align 8, !tbaa !17
  %150 = getelementptr inbounds ptr, ptr %149, i64 33
  %151 = load ptr, ptr %150, align 8
  %152 = call noundef nonnull align 8 dereferenceable(72) ptr %151(ptr noundef nonnull align 8 dereferenceable(176) %148)
  %153 = call noundef zeroext i1 @_ZNK7glslang10TQualifier10hasBindingEv(ptr noundef nonnull align 8 dereferenceable(72) %152)
  br i1 %153, label %184, label %154

154:                                              ; preds = %147
  %155 = load ptr, ptr %17, align 8, !tbaa !5
  %156 = load ptr, ptr %155, align 8, !tbaa !17
  %157 = getelementptr inbounds ptr, ptr %156, i64 33
  %158 = load ptr, ptr %157, align 8
  %159 = call noundef nonnull align 8 dereferenceable(72) ptr %158(ptr noundef nonnull align 8 dereferenceable(176) %155)
  %160 = call noundef zeroext i1 @_ZNK7glslang10TQualifier10hasBindingEv(ptr noundef nonnull align 8 dereferenceable(72) %159)
  br i1 %160, label %161, label %184

161:                                              ; preds = %154
  %162 = load ptr, ptr %17, align 8, !tbaa !5
  %163 = load ptr, ptr %162, align 8, !tbaa !17
  %164 = getelementptr inbounds ptr, ptr %163, i64 33
  %165 = load ptr, ptr %164, align 8
  %166 = call noundef nonnull align 8 dereferenceable(72) ptr %165(ptr noundef nonnull align 8 dereferenceable(176) %162)
  %167 = getelementptr inbounds %"class.glslang::TQualifier", ptr %166, i32 0, i32 6
  %168 = load i64, ptr %167, align 4
  %169 = lshr i64 %168, 32
  %170 = and i64 %169, 65535
  %171 = trunc i64 %170 to i32
  %172 = load ptr, ptr %16, align 8, !tbaa !5
  %173 = load ptr, ptr %172, align 8, !tbaa !17
  %174 = getelementptr inbounds ptr, ptr %173, i64 33
  %175 = load ptr, ptr %174, align 8
  %176 = call noundef nonnull align 8 dereferenceable(72) ptr %175(ptr noundef nonnull align 8 dereferenceable(176) %172)
  %177 = getelementptr inbounds %"class.glslang::TQualifier", ptr %176, i32 0, i32 6
  %178 = zext i32 %171 to i64
  %179 = load i64, ptr %177, align 4
  %180 = and i64 %178, 65535
  %181 = shl i64 %180, 32
  %182 = and i64 %179, -281470681743361
  %183 = or i64 %182, %181
  store i64 %183, ptr %177, align 4
  br label %184

184:                                              ; preds = %161, %154, %147
  %185 = load ptr, ptr %16, align 8, !tbaa !5
  %186 = load ptr, ptr %185, align 8, !tbaa !17
  %187 = getelementptr inbounds ptr, ptr %186, i64 33
  %188 = load ptr, ptr %187, align 8
  %189 = call noundef nonnull align 8 dereferenceable(72) ptr %188(ptr noundef nonnull align 8 dereferenceable(176) %185)
  %190 = call noundef zeroext i1 @_ZNK7glslang10TQualifier11hasLocationEv(ptr noundef nonnull align 8 dereferenceable(72) %189)
  br i1 %190, label %219, label %191

191:                                              ; preds = %184
  %192 = load ptr, ptr %17, align 8, !tbaa !5
  %193 = load ptr, ptr %192, align 8, !tbaa !17
  %194 = getelementptr inbounds ptr, ptr %193, i64 33
  %195 = load ptr, ptr %194, align 8
  %196 = call noundef nonnull align 8 dereferenceable(72) ptr %195(ptr noundef nonnull align 8 dereferenceable(176) %192)
  %197 = call noundef zeroext i1 @_ZNK7glslang10TQualifier11hasLocationEv(ptr noundef nonnull align 8 dereferenceable(72) %196)
  br i1 %197, label %198, label %219

198:                                              ; preds = %191
  %199 = load ptr, ptr %17, align 8, !tbaa !5
  %200 = load ptr, ptr %199, align 8, !tbaa !17
  %201 = getelementptr inbounds ptr, ptr %200, i64 33
  %202 = load ptr, ptr %201, align 8
  %203 = call noundef nonnull align 8 dereferenceable(72) ptr %202(ptr noundef nonnull align 8 dereferenceable(176) %199)
  %204 = getelementptr inbounds %"class.glslang::TQualifier", ptr %203, i32 0, i32 6
  %205 = load i64, ptr %204, align 4
  %206 = and i64 %205, 4095
  %207 = trunc i64 %206 to i32
  %208 = load ptr, ptr %16, align 8, !tbaa !5
  %209 = load ptr, ptr %208, align 8, !tbaa !17
  %210 = getelementptr inbounds ptr, ptr %209, i64 33
  %211 = load ptr, ptr %210, align 8
  %212 = call noundef nonnull align 8 dereferenceable(72) ptr %211(ptr noundef nonnull align 8 dereferenceable(176) %208)
  %213 = getelementptr inbounds %"class.glslang::TQualifier", ptr %212, i32 0, i32 6
  %214 = zext i32 %207 to i64
  %215 = load i64, ptr %213, align 4
  %216 = and i64 %214, 4095
  %217 = and i64 %215, -4096
  %218 = or i64 %217, %216
  store i64 %218, ptr %213, align 4
  br label %219

219:                                              ; preds = %198, %191, %184
  %220 = load ptr, ptr %16, align 8, !tbaa !5
  %221 = load ptr, ptr %220, align 8, !tbaa !17
  %222 = getelementptr inbounds ptr, ptr %221, i64 31
  %223 = load ptr, ptr %222, align 8
  %224 = call noundef nonnull align 8 dereferenceable(144) ptr %223(ptr noundef nonnull align 8 dereferenceable(176) %220)
  %225 = load ptr, ptr %17, align 8, !tbaa !5
  %226 = load ptr, ptr %225, align 8, !tbaa !17
  %227 = getelementptr inbounds ptr, ptr %226, i64 30
  %228 = load ptr, ptr %227, align 8
  %229 = call noundef nonnull align 8 dereferenceable(144) ptr %228(ptr noundef nonnull align 8 dereferenceable(176) %225)
  call void @_ZN7glslang13TIntermediate23mergeImplicitArraySizesERNS_5TTypeERKS1_(ptr noundef nonnull align 8 dereferenceable(1784) %24, ptr noundef nonnull align 8 dereferenceable(144) %224, ptr noundef nonnull align 8 dereferenceable(144) %229)
  %230 = load ptr, ptr %7, align 8, !tbaa !5
  %231 = load ptr, ptr %16, align 8, !tbaa !5
  %232 = load ptr, ptr %17, align 8, !tbaa !5
  %233 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN7glslang13TIntermediate15mergeErrorCheckER9TInfoSinkRKNS_13TIntermSymbolES5_11EShLanguage(ptr noundef nonnull align 8 dereferenceable(1784) %24, ptr noundef nonnull align 8 dereferenceable(80) %230, ptr noundef nonnull align 8 dereferenceable(256) %231, ptr noundef nonnull align 8 dereferenceable(256) %232, i32 noundef %233)
  br label %255

234:                                              ; preds = %132
  %235 = load ptr, ptr %16, align 8, !tbaa !5
  %236 = load ptr, ptr %235, align 8, !tbaa !17
  %237 = getelementptr inbounds ptr, ptr %236, i64 33
  %238 = load ptr, ptr %237, align 8
  %239 = call noundef nonnull align 8 dereferenceable(72) ptr %238(ptr noundef nonnull align 8 dereferenceable(176) %235)
  %240 = call noundef zeroext i1 @_ZNK7glslang10TQualifier14isPushConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %239)
  br i1 %240, label %241, label %254

241:                                              ; preds = %234
  %242 = load ptr, ptr %17, align 8, !tbaa !5
  %243 = load ptr, ptr %242, align 8, !tbaa !17
  %244 = getelementptr inbounds ptr, ptr %243, i64 33
  %245 = load ptr, ptr %244, align 8
  %246 = call noundef nonnull align 8 dereferenceable(72) ptr %245(ptr noundef nonnull align 8 dereferenceable(176) %242)
  %247 = call noundef zeroext i1 @_ZNK7glslang10TQualifier14isPushConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %246)
  br i1 %247, label %248, label %254

248:                                              ; preds = %241
  %249 = call noundef i32 @_ZNK7glslang13TIntermediate8getStageEv(ptr noundef nonnull align 8 dereferenceable(1784) %24)
  %250 = load i32, ptr %10, align 4, !tbaa !9
  %251 = icmp eq i32 %249, %250
  br i1 %251, label %252, label %254

252:                                              ; preds = %248
  %253 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN7glslang13TIntermediate5errorER9TInfoSinkPKc11EShLanguage(ptr noundef nonnull align 8 dereferenceable(1784) %24, ptr noundef nonnull align 8 dereferenceable(80) %253, ptr noundef @.str.9, i32 noundef 14)
  br label %254

254:                                              ; preds = %252, %248, %241, %234
  br label %255

255:                                              ; preds = %254, %219
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %256

256:                                              ; preds = %255
  %257 = load i64, ptr %15, align 8, !tbaa !11
  %258 = add i64 %257, 1
  store i64 %258, ptr %15, align 8, !tbaa !11
  br label %35, !llvm.loop !21

259:                                              ; preds = %39
  %260 = load i8, ptr %14, align 1, !tbaa !15, !range !19, !noundef !20
  %261 = trunc i8 %260 to i1
  br i1 %261, label %262, label %401

262:                                              ; preds = %259
  %263 = load ptr, ptr %8, align 8, !tbaa !5
  %264 = load ptr, ptr %9, align 8, !tbaa !5
  %265 = load i32, ptr %12, align 4, !tbaa !13
  %266 = zext i32 %265 to i64
  %267 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %264, i64 noundef %266) #6
  call void @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %263, ptr noundef nonnull align 8 dereferenceable(8) %267)
  %268 = load ptr, ptr %9, align 8, !tbaa !5
  %269 = load i32, ptr %12, align 4, !tbaa !13
  %270 = zext i32 %269 to i64
  %271 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %268, i64 noundef %270) #6
  %272 = load ptr, ptr %271, align 8, !tbaa !5
  %273 = load ptr, ptr %272, align 8, !tbaa !17
  %274 = getelementptr inbounds ptr, ptr %273, i64 12
  %275 = load ptr, ptr %274, align 8
  %276 = call noundef ptr %275(ptr noundef nonnull align 8 dereferenceable(32) %272)
  %277 = load ptr, ptr %276, align 8, !tbaa !17
  %278 = getelementptr inbounds ptr, ptr %277, i64 32
  %279 = load ptr, ptr %278, align 8
  %280 = call noundef i32 %279(ptr noundef nonnull align 8 dereferenceable(176) %276)
  %281 = icmp eq i32 %280, 16
  br i1 %281, label %282, label %400

282:                                              ; preds = %262
  %283 = load ptr, ptr %9, align 8, !tbaa !5
  %284 = load i32, ptr %12, align 4, !tbaa !13
  %285 = zext i32 %284 to i64
  %286 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %283, i64 noundef %285) #6
  %287 = load ptr, ptr %286, align 8, !tbaa !5
  %288 = load ptr, ptr %287, align 8, !tbaa !17
  %289 = getelementptr inbounds ptr, ptr %288, i64 12
  %290 = load ptr, ptr %289, align 8
  %291 = call noundef ptr %290(ptr noundef nonnull align 8 dereferenceable(32) %287)
  %292 = load ptr, ptr %291, align 8, !tbaa !17
  %293 = getelementptr inbounds ptr, ptr %292, i64 50
  %294 = load ptr, ptr %293, align 8
  %295 = call noundef nonnull align 8 dereferenceable(40) ptr %294(ptr noundef nonnull align 8 dereferenceable(256) %291)
  %296 = call noundef zeroext i1 @_ZN7glslang11IsAnonymousERKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE(ptr noundef nonnull align 8 dereferenceable(40) %295)
  br i1 %296, label %297, label %400

297:                                              ; preds = %282
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  store i64 0, ptr %19, align 8, !tbaa !11
  br label %298

298:                                              ; preds = %396, %297
  %299 = load i64, ptr %19, align 8, !tbaa !11
  %300 = load i64, ptr %11, align 8, !tbaa !11
  %301 = icmp ult i64 %299, %300
  br i1 %301, label %303, label %302

302:                                              ; preds = %298
  store i32 8, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %399

303:                                              ; preds = %298
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %304 = load ptr, ptr %8, align 8, !tbaa !5
  %305 = load i64, ptr %19, align 8, !tbaa !11
  %306 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %304, i64 noundef %305) #6
  %307 = load ptr, ptr %306, align 8, !tbaa !5
  %308 = load ptr, ptr %307, align 8, !tbaa !17
  %309 = getelementptr inbounds ptr, ptr %308, i64 12
  %310 = load ptr, ptr %309, align 8
  %311 = call noundef ptr %310(ptr noundef nonnull align 8 dereferenceable(32) %307)
  store ptr %311, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %312 = load ptr, ptr %9, align 8, !tbaa !5
  %313 = load i32, ptr %12, align 4, !tbaa !13
  %314 = zext i32 %313 to i64
  %315 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %312, i64 noundef %314) #6
  %316 = load ptr, ptr %315, align 8, !tbaa !5
  %317 = load ptr, ptr %316, align 8, !tbaa !17
  %318 = getelementptr inbounds ptr, ptr %317, i64 12
  %319 = load ptr, ptr %318, align 8
  %320 = call noundef ptr %319(ptr noundef nonnull align 8 dereferenceable(32) %316)
  store ptr %320, ptr %21, align 8, !tbaa !5
  %321 = load ptr, ptr %20, align 8, !tbaa !5
  %322 = icmp ne ptr %321, null
  br i1 %322, label %323, label %326

323:                                              ; preds = %303
  %324 = load ptr, ptr %21, align 8, !tbaa !5
  %325 = icmp ne ptr %324, null
  br label %326

326:                                              ; preds = %323, %303
  %327 = phi i1 [ false, %303 ], [ %325, %323 ]
  br i1 %327, label %328, label %329

328:                                              ; preds = %326
  br label %331

329:                                              ; preds = %326
  call void @__assert_fail(ptr noundef @.str.34, ptr noundef @.str.14, i32 noundef 770, ptr noundef @__PRETTY_FUNCTION__._ZN7glslang13TIntermediate18mergeLinkerObjectsER9TInfoSinkRNS_7TVectorIP11TIntermNodeEERKS6_11EShLanguage) #7
  unreachable

330:                                              ; No predecessors!
  br label %331

331:                                              ; preds = %330, %328
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #6
  %332 = getelementptr inbounds %class.anon.119, ptr %22, i32 0, i32 0
  store ptr %24, ptr %332, align 8, !tbaa !23
  %333 = getelementptr inbounds %class.anon.119, ptr %22, i32 0, i32 1
  %334 = load ptr, ptr %21, align 8, !tbaa !5
  store ptr %334, ptr %333, align 8, !tbaa !25
  %335 = getelementptr inbounds %class.anon.119, ptr %22, i32 0, i32 2
  %336 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %336, ptr %335, align 8, !tbaa !5
  %337 = load ptr, ptr %20, align 8, !tbaa !5
  %338 = call noundef i32 @_ZNK7glslang13TIntermediate8getStageEv(ptr noundef nonnull align 8 dereferenceable(1784) %24)
  %339 = load ptr, ptr %21, align 8, !tbaa !5
  %340 = load i32, ptr %10, align 4, !tbaa !9
  %341 = call noundef zeroext i1 @_ZN7glslangL15isSameInterfaceEPNS_13TIntermSymbolE11EShLanguageS1_S2_(ptr noundef %337, i32 noundef %338, ptr noundef %339, i32 noundef %340)
  br i1 %341, label %342, label %395

342:                                              ; preds = %331
  %343 = load ptr, ptr %20, align 8, !tbaa !5
  %344 = load ptr, ptr %343, align 8, !tbaa !17
  %345 = getelementptr inbounds ptr, ptr %344, i64 50
  %346 = load ptr, ptr %345, align 8
  %347 = call noundef nonnull align 8 dereferenceable(40) ptr %346(ptr noundef nonnull align 8 dereferenceable(256) %343)
  call void @"_ZZN7glslang13TIntermediate18mergeLinkerObjectsER9TInfoSinkRNS_7TVectorIP11TIntermNodeEERKS6_11EShLanguageENK3$_0clERKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE"(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 8 dereferenceable(40) %347)
  %348 = load ptr, ptr %20, align 8, !tbaa !5
  %349 = load ptr, ptr %348, align 8, !tbaa !17
  %350 = getelementptr inbounds ptr, ptr %349, i64 32
  %351 = load ptr, ptr %350, align 8
  %352 = call noundef i32 %351(ptr noundef nonnull align 8 dereferenceable(176) %348)
  %353 = icmp eq i32 %352, 16
  br i1 %353, label %354, label %394

354:                                              ; preds = %342
  %355 = load ptr, ptr %20, align 8, !tbaa !5
  %356 = load ptr, ptr %355, align 8, !tbaa !17
  %357 = getelementptr inbounds ptr, ptr %356, i64 50
  %358 = load ptr, ptr %357, align 8
  %359 = call noundef nonnull align 8 dereferenceable(40) ptr %358(ptr noundef nonnull align 8 dereferenceable(256) %355)
  %360 = call noundef zeroext i1 @_ZN7glslang11IsAnonymousERKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE(ptr noundef nonnull align 8 dereferenceable(40) %359)
  br i1 %360, label %361, label %394

361:                                              ; preds = %354
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  store i32 0, ptr %23, align 4, !tbaa !13
  br label %362

362:                                              ; preds = %390, %361
  %363 = load i32, ptr %23, align 4, !tbaa !13
  %364 = zext i32 %363 to i64
  %365 = load ptr, ptr %20, align 8, !tbaa !5
  %366 = load ptr, ptr %365, align 8, !tbaa !17
  %367 = getelementptr inbounds ptr, ptr %366, i64 30
  %368 = load ptr, ptr %367, align 8
  %369 = call noundef nonnull align 8 dereferenceable(144) ptr %368(ptr noundef nonnull align 8 dereferenceable(176) %365)
  %370 = call noundef ptr @_ZNK7glslang5TType9getStructEv(ptr noundef nonnull align 8 dereferenceable(144) %369)
  %371 = call noundef i64 @_ZNKSt6vectorIN7glslang8TTypeLocENS0_14pool_allocatorIS1_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %370) #6
  %372 = icmp ult i64 %364, %371
  br i1 %372, label %374, label %373

373:                                              ; preds = %362
  store i32 11, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %393

374:                                              ; preds = %362
  %375 = load ptr, ptr %20, align 8, !tbaa !5
  %376 = load ptr, ptr %375, align 8, !tbaa !17
  %377 = getelementptr inbounds ptr, ptr %376, i64 30
  %378 = load ptr, ptr %377, align 8
  %379 = call noundef nonnull align 8 dereferenceable(144) ptr %378(ptr noundef nonnull align 8 dereferenceable(176) %375)
  %380 = call noundef ptr @_ZNK7glslang5TType9getStructEv(ptr noundef nonnull align 8 dereferenceable(144) %379)
  %381 = load i32, ptr %23, align 4, !tbaa !13
  %382 = zext i32 %381 to i64
  %383 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorIN7glslang8TTypeLocENS0_14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %380, i64 noundef %382) #6
  %384 = getelementptr inbounds %"struct.glslang::TTypeLoc", ptr %383, i32 0, i32 0
  %385 = load ptr, ptr %384, align 8, !tbaa !26
  %386 = load ptr, ptr %385, align 8, !tbaa !17
  %387 = getelementptr inbounds ptr, ptr %386, i64 6
  %388 = load ptr, ptr %387, align 8
  %389 = call noundef nonnull align 8 dereferenceable(40) ptr %388(ptr noundef nonnull align 8 dereferenceable(144) %385)
  call void @"_ZZN7glslang13TIntermediate18mergeLinkerObjectsER9TInfoSinkRNS_7TVectorIP11TIntermNodeEERKS6_11EShLanguageENK3$_0clERKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE"(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 8 dereferenceable(40) %389)
  br label %390

390:                                              ; preds = %374
  %391 = load i32, ptr %23, align 4, !tbaa !13
  %392 = add i32 %391, 1
  store i32 %392, ptr %23, align 4, !tbaa !13
  br label %362, !llvm.loop !29

393:                                              ; preds = %373
  br label %394

394:                                              ; preds = %393, %354, %342
  br label %395

395:                                              ; preds = %394, %331
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %396

396:                                              ; preds = %395
  %397 = load i64, ptr %19, align 8, !tbaa !11
  %398 = add i64 %397, 1
  store i64 %398, ptr %19, align 8, !tbaa !11
  br label %298, !llvm.loop !30

399:                                              ; preds = %302
  br label %400

400:                                              ; preds = %399, %282, %262
  br label %401

401:                                              ; preds = %400, %259
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #6
  br label %402

402:                                              ; preds = %401
  %403 = load i32, ptr %12, align 4, !tbaa !13
  %404 = add i32 %403, 1
  store i32 %404, ptr %12, align 4, !tbaa !13
  br label %27, !llvm.loop !31

405:                                              ; preds = %33
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  ret void
}

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #3

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN7glslangL15isSameInterfaceEPNS_13TIntermSymbolE11EShLanguageS1_S2_(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #5

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7glslang13TIntermediate15mergeErrorCheckER9TInfoSinkRKNS_13TIntermSymbolES5_11EShLanguage(ptr noundef nonnull align 8 dereferenceable(1784), ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(256), ptr noundef nonnull align 8 dereferenceable(256), i32 noundef) #0 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7glslang11IsAnonymousERKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE(ptr noundef nonnull align 8 dereferenceable(40)) #5

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN7glslang13TIntermediate18mergeLinkerObjectsER9TInfoSinkRNS_7TVectorIP11TIntermNodeEERKS6_11EShLanguageENK3$_0clERKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(40)) #5 align 2

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint 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 #6 = { nounwind }
attributes #7 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTS11EShLanguage", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"vtable pointer", !8, i64 0}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!24, !6, i64 0}
!24 = !{!"_ZTSZN7glslang13TIntermediate18mergeLinkerObjectsER9TInfoSinkRNS_7TVectorIP11TIntermNodeEERKS6_11EShLanguageE3$_0", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!24, !6, i64 8}
!26 = !{!27, !6, i64 0}
!27 = !{!"_ZTSN7glslang8TTypeLocE", !6, i64 0, !28, i64 8}
!28 = !{!"_ZTSN7glslang10TSourceLocE", !6, i64 0, !14, i64 8, !14, i64 12, !14, i64 16}
!29 = distinct !{!29, !22}
!30 = distinct !{!30, !22}
!31 = distinct !{!31, !22}


; 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.anon.119 = type { ptr, ptr, ptr }

@.str.9 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [114 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [21 x i8], align 1
@__PRETTY_FUNCTION__._ZN7glslang13TIntermediate18mergeLinkerObjectsER9TInfoSinkRNS_7TVectorIP11TIntermNodeEERKS6_11EShLanguage = external hidden unnamed_addr constant [118 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7glslang13TIntermediate5errorER9TInfoSinkPKc11EShLanguage(ptr noundef nonnull align 8 dereferenceable(1784), ptr noundef nonnull align 8 dereferenceable(80), ptr noundef, i32 noundef) local_unnamed_addr #0 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7glslang13TIntermediate18mergeLinkerObjectsER9TInfoSinkRNS_7TVectorIP11TIntermNodeEERKS6_11EShLanguage(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull align 8 dereferenceable(80) %1, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(32) %3, i32 noundef %4) local_unnamed_addr #0 align 2 {
  %6 = alloca %class.anon.119, align 8
  %7 = tail call noundef i64 @_ZNKSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  %8 = tail call noundef i64 @_ZNKSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  %.not101 = icmp eq i64 %8, 0
  br i1 %.not101, label %._crit_edge98, label %.preheader89.lr.ph

.preheader89.lr.ph:                               ; preds = %5
  %.not102 = icmp eq i64 %7, 0
  %.not103 = icmp ne i64 %7, 0
  %9 = getelementptr inbounds i8, ptr %6, i64 8
  %10 = getelementptr inbounds i8, ptr %6, i64 16
  br label %.preheader89

.preheader89:                                     ; preds = %.preheader89.lr.ph, %.loopexit88
  %11 = phi i64 [ 0, %.preheader89.lr.ph ], [ %257, %.loopexit88 ]
  %.07597 = phi i32 [ 0, %.preheader89.lr.ph ], [ %256, %.loopexit88 ]
  br i1 %.not102, label %.critedge99, label %.lr.ph.outer

.lr.ph.outer:                                     ; preds = %.preheader89, %.thread
  %.07892.ph = phi i1 [ false, %.thread ], [ true, %.preheader89 ]
  %.07991.ph = phi i64 [ %168, %.thread ], [ 0, %.preheader89 ]
  br label %.lr.ph

._crit_edge98:                                    ; preds = %.loopexit88, %5
  ret void

._crit_edge:                                      ; preds = %158
  br i1 %.07892.ph, label %.critedge99, label %.loopexit88

.lr.ph:                                           ; preds = %.lr.ph.outer, %158
  %.07991 = phi i64 [ %159, %158 ], [ %.07991.ph, %.lr.ph.outer ]
  %12 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %.07991) #6
  %13 = load ptr, ptr %12, align 8, !tbaa !5
  %14 = load ptr, ptr %13, align 8, !tbaa !9
  %15 = getelementptr inbounds i8, ptr %14, i64 96
  %16 = load ptr, ptr %15, align 8
  %17 = call noundef ptr %16(ptr noundef nonnull align 8 dereferenceable(32) %13)
  %18 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %11) #6
  %19 = load ptr, ptr %18, align 8, !tbaa !5
  %20 = load ptr, ptr %19, align 8, !tbaa !9
  %21 = getelementptr inbounds i8, ptr %20, i64 96
  %22 = load ptr, ptr %21, align 8
  %23 = call noundef ptr %22(ptr noundef nonnull align 8 dereferenceable(32) %19)
  %24 = icmp ne ptr %17, null
  %25 = icmp ne ptr %23, null
  %26 = and i1 %24, %25
  br i1 %26, label %28, label %27

27:                                               ; preds = %.lr.ph
  call void @__assert_fail(ptr noundef nonnull @.str.34, ptr noundef nonnull @.str.14, i32 noundef 720, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7glslang13TIntermediate18mergeLinkerObjectsER9TInfoSinkRNS_7TVectorIP11TIntermNodeEERKS6_11EShLanguage) #7
  unreachable

28:                                               ; preds = %.lr.ph
  %29 = load ptr, ptr %17, align 8, !tbaa !9
  %30 = getelementptr inbounds i8, ptr %29, i64 240
  %31 = load ptr, ptr %30, align 8
  %32 = call noundef nonnull align 8 dereferenceable(144) ptr %31(ptr noundef nonnull align 8 dereferenceable(176) %17)
  %33 = load ptr, ptr %32, align 8, !tbaa !9
  %34 = getelementptr inbounds i8, ptr %33, i64 56
  %35 = load ptr, ptr %34, align 8
  %36 = call noundef i32 %35(ptr noundef nonnull align 8 dereferenceable(144) %32)
  %37 = icmp eq i32 %36, 16
  br i1 %37, label %38, label %69

38:                                               ; preds = %28
  %39 = load ptr, ptr %23, align 8, !tbaa !9
  %40 = getelementptr inbounds i8, ptr %39, i64 240
  %41 = load ptr, ptr %40, align 8
  %42 = call noundef nonnull align 8 dereferenceable(144) ptr %41(ptr noundef nonnull align 8 dereferenceable(176) %23)
  %43 = load ptr, ptr %42, align 8, !tbaa !9
  %44 = getelementptr inbounds i8, ptr %43, i64 56
  %45 = load ptr, ptr %44, align 8
  %46 = call noundef i32 %45(ptr noundef nonnull align 8 dereferenceable(144) %42)
  %47 = icmp eq i32 %46, 16
  br i1 %47, label %48, label %69

48:                                               ; preds = %38
  %49 = call noundef i32 @_ZNK7glslang13TIntermediate8getStageEv(ptr noundef nonnull align 8 dereferenceable(1784) %0)
  %50 = call noundef zeroext i1 @_ZN7glslangL15isSameInterfaceEPNS_13TIntermSymbolE11EShLanguageS1_S2_(ptr noundef nonnull %17, i32 noundef %49, ptr noundef nonnull %23, i32 noundef %4)
  br i1 %50, label %51, label %.critedge

51:                                               ; preds = %48
  %52 = load ptr, ptr %17, align 8, !tbaa !9
  %53 = getelementptr inbounds i8, ptr %52, i64 240
  %54 = load ptr, ptr %53, align 8
  %55 = call noundef nonnull align 8 dereferenceable(144) ptr %54(ptr noundef nonnull align 8 dereferenceable(176) %17)
  %56 = load ptr, ptr %55, align 8, !tbaa !9
  %57 = getelementptr inbounds i8, ptr %56, i64 40
  %58 = load ptr, ptr %57, align 8
  %59 = call noundef nonnull align 8 dereferenceable(40) ptr %58(ptr noundef nonnull align 8 dereferenceable(144) %55)
  %60 = load ptr, ptr %23, align 8, !tbaa !9
  %61 = getelementptr inbounds i8, ptr %60, i64 240
  %62 = load ptr, ptr %61, align 8
  %63 = call noundef nonnull align 8 dereferenceable(144) ptr %62(ptr noundef nonnull align 8 dereferenceable(176) %23)
  %64 = load ptr, ptr %63, align 8, !tbaa !9
  %65 = getelementptr inbounds i8, ptr %64, i64 40
  %66 = load ptr, ptr %65, align 8
  %67 = call noundef nonnull align 8 dereferenceable(40) ptr %66(ptr noundef nonnull align 8 dereferenceable(144) %63)
  %68 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EESC_(ptr noundef nonnull align 8 dereferenceable(40) %59, ptr noundef nonnull align 8 dereferenceable(40) %67) #6
  br i1 %68, label %79, label %.critedge

69:                                               ; preds = %28, %38
  %70 = load ptr, ptr %17, align 8, !tbaa !9
  %71 = getelementptr inbounds i8, ptr %70, i64 400
  %72 = load ptr, ptr %71, align 8
  %73 = call noundef nonnull align 8 dereferenceable(40) ptr %72(ptr noundef nonnull align 8 dereferenceable(256) %17)
  %74 = load ptr, ptr %23, align 8, !tbaa !9
  %75 = getelementptr inbounds i8, ptr %74, i64 400
  %76 = load ptr, ptr %75, align 8
  %77 = call noundef nonnull align 8 dereferenceable(40) ptr %76(ptr noundef nonnull align 8 dereferenceable(256) %23)
  %78 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EESC_(ptr noundef nonnull align 8 dereferenceable(40) %73, ptr noundef nonnull align 8 dereferenceable(40) %77) #6
  br i1 %78, label %79, label %.critedge

79:                                               ; preds = %51, %69
  %80 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK7glslang13TIntermSymbol13getConstArrayEv(ptr noundef nonnull align 8 dereferenceable(256) %17)
  %81 = call noundef zeroext i1 @_ZNK7glslang16TConstUnionArray5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %80)
  br i1 %81, label %82, label %87

82:                                               ; preds = %79
  %83 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK7glslang13TIntermSymbol13getConstArrayEv(ptr noundef nonnull align 8 dereferenceable(256) %23)
  %84 = call noundef zeroext i1 @_ZNK7glslang16TConstUnionArray5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %83)
  br i1 %84, label %87, label %85

85:                                               ; preds = %82
  %86 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK7glslang13TIntermSymbol13getConstArrayEv(ptr noundef nonnull align 8 dereferenceable(256) %23)
  call void @_ZN7glslang13TIntermSymbol13setConstArrayERKNS_16TConstUnionArrayE(ptr noundef nonnull align 8 dereferenceable(256) %17, ptr noundef nonnull align 8 dereferenceable(16) %86)
  br label %87

87:                                               ; preds = %85, %82, %79
  %88 = load ptr, ptr %17, align 8, !tbaa !9
  %89 = getelementptr inbounds i8, ptr %88, i64 264
  %90 = load ptr, ptr %89, align 8
  %91 = call noundef nonnull align 8 dereferenceable(72) ptr %90(ptr noundef nonnull align 8 dereferenceable(176) %17)
  %92 = call noundef zeroext i1 @_ZNK7glslang10TQualifier10hasBindingEv(ptr noundef nonnull align 8 dereferenceable(72) %91)
  br i1 %92, label %115, label %93

93:                                               ; preds = %87
  %94 = load ptr, ptr %23, align 8, !tbaa !9
  %95 = getelementptr inbounds i8, ptr %94, i64 264
  %96 = load ptr, ptr %95, align 8
  %97 = call noundef nonnull align 8 dereferenceable(72) ptr %96(ptr noundef nonnull align 8 dereferenceable(176) %23)
  %98 = call noundef zeroext i1 @_ZNK7glslang10TQualifier10hasBindingEv(ptr noundef nonnull align 8 dereferenceable(72) %97)
  br i1 %98, label %99, label %115

99:                                               ; preds = %93
  %100 = load ptr, ptr %23, align 8, !tbaa !9
  %101 = getelementptr inbounds i8, ptr %100, i64 264
  %102 = load ptr, ptr %101, align 8
  %103 = call noundef nonnull align 8 dereferenceable(72) ptr %102(ptr noundef nonnull align 8 dereferenceable(176) %23)
  %104 = getelementptr inbounds i8, ptr %103, i64 28
  %105 = load i64, ptr %104, align 4
  %106 = and i64 %105, 281470681743360
  %107 = load ptr, ptr %17, align 8, !tbaa !9
  %108 = getelementptr inbounds i8, ptr %107, i64 264
  %109 = load ptr, ptr %108, align 8
  %110 = call noundef nonnull align 8 dereferenceable(72) ptr %109(ptr noundef nonnull align 8 dereferenceable(176) %17)
  %111 = getelementptr inbounds i8, ptr %110, i64 28
  %112 = load i64, ptr %111, align 4
  %113 = and i64 %112, -281470681743361
  %114 = or disjoint i64 %113, %106
  store i64 %114, ptr %111, align 4
  br label %115

115:                                              ; preds = %99, %93, %87
  %116 = load ptr, ptr %17, align 8, !tbaa !9
  %117 = getelementptr inbounds i8, ptr %116, i64 264
  %118 = load ptr, ptr %117, align 8
  %119 = call noundef nonnull align 8 dereferenceable(72) ptr %118(ptr noundef nonnull align 8 dereferenceable(176) %17)
  %120 = call noundef zeroext i1 @_ZNK7glslang10TQualifier11hasLocationEv(ptr noundef nonnull align 8 dereferenceable(72) %119)
  br i1 %120, label %.thread, label %121

121:                                              ; preds = %115
  %122 = load ptr, ptr %23, align 8, !tbaa !9
  %123 = getelementptr inbounds i8, ptr %122, i64 264
  %124 = load ptr, ptr %123, align 8
  %125 = call noundef nonnull align 8 dereferenceable(72) ptr %124(ptr noundef nonnull align 8 dereferenceable(176) %23)
  %126 = call noundef zeroext i1 @_ZNK7glslang10TQualifier11hasLocationEv(ptr noundef nonnull align 8 dereferenceable(72) %125)
  br i1 %126, label %127, label %.thread

127:                                              ; preds = %121
  %128 = load ptr, ptr %23, align 8, !tbaa !9
  %129 = getelementptr inbounds i8, ptr %128, i64 264
  %130 = load ptr, ptr %129, align 8
  %131 = call noundef nonnull align 8 dereferenceable(72) ptr %130(ptr noundef nonnull align 8 dereferenceable(176) %23)
  %132 = getelementptr inbounds i8, ptr %131, i64 28
  %133 = load i64, ptr %132, align 4
  %134 = and i64 %133, 4095
  %135 = load ptr, ptr %17, align 8, !tbaa !9
  %136 = getelementptr inbounds i8, ptr %135, i64 264
  %137 = load ptr, ptr %136, align 8
  %138 = call noundef nonnull align 8 dereferenceable(72) ptr %137(ptr noundef nonnull align 8 dereferenceable(176) %17)
  %139 = getelementptr inbounds i8, ptr %138, i64 28
  %140 = load i64, ptr %139, align 4
  %141 = and i64 %140, -4096
  %142 = or disjoint i64 %141, %134
  store i64 %142, ptr %139, align 4
  br label %.thread

.critedge:                                        ; preds = %51, %48, %69
  %143 = load ptr, ptr %17, align 8, !tbaa !9
  %144 = getelementptr inbounds i8, ptr %143, i64 264
  %145 = load ptr, ptr %144, align 8
  %146 = call noundef nonnull align 8 dereferenceable(72) ptr %145(ptr noundef nonnull align 8 dereferenceable(176) %17)
  %147 = call noundef zeroext i1 @_ZNK7glslang10TQualifier14isPushConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %146)
  br i1 %147, label %148, label %158

148:                                              ; preds = %.critedge
  %149 = load ptr, ptr %23, align 8, !tbaa !9
  %150 = getelementptr inbounds i8, ptr %149, i64 264
  %151 = load ptr, ptr %150, align 8
  %152 = call noundef nonnull align 8 dereferenceable(72) ptr %151(ptr noundef nonnull align 8 dereferenceable(176) %23)
  %153 = call noundef zeroext i1 @_ZNK7glslang10TQualifier14isPushConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %152)
  br i1 %153, label %154, label %158

154:                                              ; preds = %148
  %155 = call noundef i32 @_ZNK7glslang13TIntermediate8getStageEv(ptr noundef nonnull align 8 dereferenceable(1784) %0)
  %156 = icmp eq i32 %155, %4
  br i1 %156, label %157, label %158

157:                                              ; preds = %154
  call void @_ZN7glslang13TIntermediate5errorER9TInfoSinkPKc11EShLanguage(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull align 8 dereferenceable(80) %1, ptr noundef nonnull @.str.9, i32 noundef 14)
  br label %158

158:                                              ; preds = %.critedge, %148, %154, %157
  %159 = add nuw i64 %.07991, 1
  %exitcond.not = icmp eq i64 %159, %7
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !11

.thread:                                          ; preds = %115, %121, %127
  %160 = load ptr, ptr %17, align 8, !tbaa !9
  %161 = getelementptr inbounds i8, ptr %160, i64 248
  %162 = load ptr, ptr %161, align 8
  %163 = call noundef nonnull align 8 dereferenceable(144) ptr %162(ptr noundef nonnull align 8 dereferenceable(176) %17)
  %164 = load ptr, ptr %23, align 8, !tbaa !9
  %165 = getelementptr inbounds i8, ptr %164, i64 240
  %166 = load ptr, ptr %165, align 8
  %167 = call noundef nonnull align 8 dereferenceable(144) ptr %166(ptr noundef nonnull align 8 dereferenceable(176) %23)
  call void @_ZN7glslang13TIntermediate23mergeImplicitArraySizesERNS_5TTypeERKS1_(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull align 8 dereferenceable(144) %163, ptr noundef nonnull align 8 dereferenceable(144) %167)
  call void @_ZN7glslang13TIntermediate15mergeErrorCheckER9TInfoSinkRKNS_13TIntermSymbolES5_11EShLanguage(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull align 8 dereferenceable(80) %1, ptr noundef nonnull align 8 dereferenceable(256) %17, ptr noundef nonnull align 8 dereferenceable(256) %23, i32 noundef %4)
  %168 = add nuw i64 %.07991, 1
  %exitcond.not106 = icmp eq i64 %168, %7
  br i1 %exitcond.not106, label %.loopexit88, label %.lr.ph.outer, !llvm.loop !11

.critedge99:                                      ; preds = %.preheader89, %._crit_edge
  %169 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %11) #6
  call void @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(8) %169)
  %170 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %11) #6
  %171 = load ptr, ptr %170, align 8, !tbaa !5
  %172 = load ptr, ptr %171, align 8, !tbaa !9
  %173 = getelementptr inbounds i8, ptr %172, i64 96
  %174 = load ptr, ptr %173, align 8
  %175 = call noundef ptr %174(ptr noundef nonnull align 8 dereferenceable(32) %171)
  %176 = load ptr, ptr %175, align 8, !tbaa !9
  %177 = getelementptr inbounds i8, ptr %176, i64 256
  %178 = load ptr, ptr %177, align 8
  %179 = call noundef i32 %178(ptr noundef nonnull align 8 dereferenceable(176) %175)
  %180 = icmp eq i32 %179, 16
  br i1 %180, label %181, label %.loopexit88

181:                                              ; preds = %.critedge99
  %182 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %11) #6
  %183 = load ptr, ptr %182, align 8, !tbaa !5
  %184 = load ptr, ptr %183, align 8, !tbaa !9
  %185 = getelementptr inbounds i8, ptr %184, i64 96
  %186 = load ptr, ptr %185, align 8
  %187 = call noundef ptr %186(ptr noundef nonnull align 8 dereferenceable(32) %183)
  %188 = load ptr, ptr %187, align 8, !tbaa !9
  %189 = getelementptr inbounds i8, ptr %188, i64 400
  %190 = load ptr, ptr %189, align 8
  %191 = call noundef nonnull align 8 dereferenceable(40) ptr %190(ptr noundef nonnull align 8 dereferenceable(256) %187)
  %192 = call noundef zeroext i1 @_ZN7glslang11IsAnonymousERKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE(ptr noundef nonnull align 8 dereferenceable(40) %191)
  %brmerge.not = and i1 %.not103, %192
  br i1 %brmerge.not, label %.lr.ph96, label %.loopexit88

.lr.ph96:                                         ; preds = %181, %.loopexit
  %.07695 = phi i64 [ %255, %.loopexit ], [ 0, %181 ]
  %193 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %.07695) #6
  %194 = load ptr, ptr %193, align 8, !tbaa !5
  %195 = load ptr, ptr %194, align 8, !tbaa !9
  %196 = getelementptr inbounds i8, ptr %195, i64 96
  %197 = load ptr, ptr %196, align 8
  %198 = call noundef ptr %197(ptr noundef nonnull align 8 dereferenceable(32) %194)
  %199 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %11) #6
  %200 = load ptr, ptr %199, align 8, !tbaa !5
  %201 = load ptr, ptr %200, align 8, !tbaa !9
  %202 = getelementptr inbounds i8, ptr %201, i64 96
  %203 = load ptr, ptr %202, align 8
  %204 = call noundef ptr %203(ptr noundef nonnull align 8 dereferenceable(32) %200)
  %205 = icmp ne ptr %198, null
  %206 = icmp ne ptr %204, null
  %207 = and i1 %205, %206
  br i1 %207, label %209, label %208

208:                                              ; preds = %.lr.ph96
  call void @__assert_fail(ptr noundef nonnull @.str.34, ptr noundef nonnull @.str.14, i32 noundef 770, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7glslang13TIntermediate18mergeLinkerObjectsER9TInfoSinkRNS_7TVectorIP11TIntermNodeEERKS6_11EShLanguage) #7
  unreachable

209:                                              ; preds = %.lr.ph96
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #6
  store ptr %0, ptr %6, align 8, !tbaa !13
  store ptr %204, ptr %9, align 8, !tbaa !15
  store ptr %1, ptr %10, align 8, !tbaa !5
  %210 = call noundef i32 @_ZNK7glslang13TIntermediate8getStageEv(ptr noundef nonnull align 8 dereferenceable(1784) %0)
  %211 = call noundef zeroext i1 @_ZN7glslangL15isSameInterfaceEPNS_13TIntermSymbolE11EShLanguageS1_S2_(ptr noundef nonnull %198, i32 noundef %210, ptr noundef nonnull %204, i32 noundef %4)
  br i1 %211, label %212, label %.loopexit

212:                                              ; preds = %209
  %213 = load ptr, ptr %198, align 8, !tbaa !9
  %214 = getelementptr inbounds i8, ptr %213, i64 400
  %215 = load ptr, ptr %214, align 8
  %216 = call noundef nonnull align 8 dereferenceable(40) ptr %215(ptr noundef nonnull align 8 dereferenceable(256) %198)
  call void @"_ZZN7glslang13TIntermediate18mergeLinkerObjectsER9TInfoSinkRNS_7TVectorIP11TIntermNodeEERKS6_11EShLanguageENK3$_0clERKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE"(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(40) %216)
  %217 = load ptr, ptr %198, align 8, !tbaa !9
  %218 = getelementptr inbounds i8, ptr %217, i64 256
  %219 = load ptr, ptr %218, align 8
  %220 = call noundef i32 %219(ptr noundef nonnull align 8 dereferenceable(176) %198)
  %221 = icmp eq i32 %220, 16
  br i1 %221, label %222, label %.loopexit

222:                                              ; preds = %212
  %223 = load ptr, ptr %198, align 8, !tbaa !9
  %224 = getelementptr inbounds i8, ptr %223, i64 400
  %225 = load ptr, ptr %224, align 8
  %226 = call noundef nonnull align 8 dereferenceable(40) ptr %225(ptr noundef nonnull align 8 dereferenceable(256) %198)
  %227 = call noundef zeroext i1 @_ZN7glslang11IsAnonymousERKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE(ptr noundef nonnull align 8 dereferenceable(40) %226)
  br i1 %227, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %222
  %228 = load ptr, ptr %198, align 8, !tbaa !9
  %229 = getelementptr inbounds i8, ptr %228, i64 240
  %230 = load ptr, ptr %229, align 8
  %231 = call noundef nonnull align 8 dereferenceable(144) ptr %230(ptr noundef nonnull align 8 dereferenceable(176) %198)
  %232 = call noundef ptr @_ZNK7glslang5TType9getStructEv(ptr noundef nonnull align 8 dereferenceable(144) %231)
  %233 = call noundef i64 @_ZNKSt6vectorIN7glslang8TTypeLocENS0_14pool_allocatorIS1_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %232) #6
  %.not = icmp eq i64 %233, 0
  br i1 %.not, label %.loopexit, label %.lr.ph94

.lr.ph94:                                         ; preds = %.preheader, %.lr.ph94
  %234 = phi i64 [ %247, %.lr.ph94 ], [ 0, %.preheader ]
  %.093 = phi i32 [ %246, %.lr.ph94 ], [ 0, %.preheader ]
  %235 = load ptr, ptr %198, align 8, !tbaa !9
  %236 = getelementptr inbounds i8, ptr %235, i64 240
  %237 = load ptr, ptr %236, align 8
  %238 = call noundef nonnull align 8 dereferenceable(144) ptr %237(ptr noundef nonnull align 8 dereferenceable(176) %198)
  %239 = call noundef ptr @_ZNK7glslang5TType9getStructEv(ptr noundef nonnull align 8 dereferenceable(144) %238)
  %240 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorIN7glslang8TTypeLocENS0_14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %239, i64 noundef %234) #6
  %241 = load ptr, ptr %240, align 8, !tbaa !16
  %242 = load ptr, ptr %241, align 8, !tbaa !9
  %243 = getelementptr inbounds i8, ptr %242, i64 48
  %244 = load ptr, ptr %243, align 8
  %245 = call noundef nonnull align 8 dereferenceable(40) ptr %244(ptr noundef nonnull align 8 dereferenceable(144) %241)
  call void @"_ZZN7glslang13TIntermediate18mergeLinkerObjectsER9TInfoSinkRNS_7TVectorIP11TIntermNodeEERKS6_11EShLanguageENK3$_0clERKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE"(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(40) %245)
  %246 = add i32 %.093, 1
  %247 = zext i32 %246 to i64
  %248 = load ptr, ptr %198, align 8, !tbaa !9
  %249 = getelementptr inbounds i8, ptr %248, i64 240
  %250 = load ptr, ptr %249, align 8
  %251 = call noundef nonnull align 8 dereferenceable(144) ptr %250(ptr noundef nonnull align 8 dereferenceable(176) %198)
  %252 = call noundef ptr @_ZNK7glslang5TType9getStructEv(ptr noundef nonnull align 8 dereferenceable(144) %251)
  %253 = call noundef i64 @_ZNKSt6vectorIN7glslang8TTypeLocENS0_14pool_allocatorIS1_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %252) #6
  %254 = icmp ugt i64 %253, %247
  br i1 %254, label %.lr.ph94, label %.loopexit, !llvm.loop !20

.loopexit:                                        ; preds = %.lr.ph94, %.preheader, %212, %222, %209
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  %255 = add nuw i64 %.07695, 1
  %exitcond104.not = icmp eq i64 %255, %7
  br i1 %exitcond104.not, label %.loopexit88, label %.lr.ph96, !llvm.loop !21

.loopexit88:                                      ; preds = %.thread, %.loopexit, %181, %.critedge99, %._crit_edge
  %256 = add i32 %.07597, 1
  %257 = zext i32 %256 to i64
  %258 = call noundef i64 @_ZNKSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  %259 = icmp ugt i64 %258, %257
  br i1 %259, label %.preheader89, label %._crit_edge98, !llvm.loop !22
}

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN7glslangL15isSameInterfaceEPNS_13TIntermSymbolE11EShLanguageS1_S2_(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #5

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7glslang13TIntermediate15mergeErrorCheckER9TInfoSinkRKNS_13TIntermSymbolES5_11EShLanguage(ptr noundef nonnull align 8 dereferenceable(1784), ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(256), ptr noundef nonnull align 8 dereferenceable(256), i32 noundef) local_unnamed_addr #0 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7glslang11IsAnonymousERKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN7glslang13TIntermediate18mergeLinkerObjectsER9TInfoSinkRNS_7TVectorIP11TIntermNodeEERKS6_11EShLanguageENK3$_0clERKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #5 align 2

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint 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 #6 = { nounwind }
attributes #7 = { noreturn 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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !6, i64 0}
!14 = !{!"_ZTSZN7glslang13TIntermediate18mergeLinkerObjectsER9TInfoSinkRNS_7TVectorIP11TIntermNodeEERKS6_11EShLanguageE3$_0", !6, i64 0, !6, i64 8, !6, i64 16}
!15 = !{!14, !6, i64 8}
!16 = !{!17, !6, i64 0}
!17 = !{!"_ZTSN7glslang8TTypeLocE", !6, i64 0, !18, i64 8}
!18 = !{!"_ZTSN7glslang10TSourceLocE", !6, i64 0, !19, i64 8, !19, i64 12, !19, i64 16}
!19 = !{!"int", !7, i64 0}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !12}
!22 = distinct !{!22, !12}


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