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

; 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::TVector.41" = type { %"class.std::vector.42" }
%"class.std::vector.42" = type { %"struct.std::_Vector_base.43" }
%"struct.std::_Vector_base.43" = type { %"struct.std::_Vector_base<const glslang::TFunction *, glslang::pool_allocator<const glslang::TFunction *>>::_Vector_impl" }
%"struct.std::_Vector_base<const glslang::TFunction *, glslang::pool_allocator<const glslang::TFunction *>>::_Vector_impl" = type { %"class.glslang::pool_allocator.44", %"struct.std::_Vector_base<const glslang::TFunction *, glslang::pool_allocator<const glslang::TFunction *>>::_Vector_impl_data" }
%"class.glslang::pool_allocator.44" = type { ptr }
%"struct.std::_Vector_base<const glslang::TFunction *, glslang::pool_allocator<const glslang::TFunction *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%class.anon.53 = type { ptr, ptr }
%class.anon.54 = type { ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.55" = type { ptr }
%"struct.glslang::TParameter" = type { ptr, ptr, ptr }

; 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN7glslang17TParseContextBase14selectFunctionENS_7TVectorIPKNS_9TFunctionEEERS3_St8functionIFbRKNS_5TTypeESA_NS_9TOperatorEiEES7_IFbSA_SA_SA_EERb(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(328) %2, ptr noundef %3, ptr noundef %4, ptr noundef nonnull align 1 dereferenceable(1) %5) #1 align 2 personality ptr @__gxx_personality_v0 {
  %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::TVector.41", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca i8, align 1
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca ptr, align 8
  %27 = alloca %class.anon.53, align 8
  %28 = alloca %class.anon.54, align 8
  %29 = alloca ptr, align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator.55", align 8
  %31 = alloca %"class.__gnu_cxx::__normal_iterator.55", align 8
  %32 = alloca %"class.__gnu_cxx::__normal_iterator.55", align 8
  %33 = alloca ptr, align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator.55", align 8
  %35 = alloca %"class.__gnu_cxx::__normal_iterator.55", align 8
  %36 = alloca ptr, align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  %37 = load ptr, ptr %8, align 8
  %38 = load ptr, ptr %13, align 8, !tbaa !5
  store i8 0, ptr %38, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #5
  call void @_ZN7glslang7TVectorIPKNS_9TFunctionEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %39 = call ptr @_ZNKSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #5
  %40 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  store ptr %39, ptr %40, align 8
  br label %41

41:                                               ; preds = %228, %6
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %42 = call ptr @_ZNKSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #5
  %43 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  store ptr %42, ptr %43, align 8
  %44 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPKN7glslang9TFunctionESt6vectorIS4_NS1_14pool_allocatorIS4_EEEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br i1 %44, label %46, label %45

45:                                               ; preds = %41
  store i32 2, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %232

46:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKPKN7glslang9TFunctionESt6vectorIS4_NS1_14pool_allocatorIS4_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  %48 = load ptr, ptr %47, align 8, !tbaa !5
  store ptr %48, ptr %18, align 8, !tbaa !5
  %49 = load ptr, ptr %10, align 8, !tbaa !5
  %50 = load ptr, ptr %49, align 8, !tbaa !11
  %51 = getelementptr inbounds ptr, ptr %50, i64 36
  %52 = load ptr, ptr %51, align 8
  %53 = invoke noundef i32 %52(ptr noundef nonnull align 8 dereferenceable(328) %49)
          to label %54 unwind label %77

54:                                               ; preds = %46
  %55 = load ptr, ptr %18, align 8, !tbaa !5
  %56 = load ptr, ptr %55, align 8, !tbaa !11
  %57 = getelementptr inbounds ptr, ptr %56, i64 38
  %58 = load ptr, ptr %57, align 8
  %59 = invoke noundef i32 %58(ptr noundef nonnull align 8 dereferenceable(328) %55)
          to label %60 unwind label %77

60:                                               ; preds = %54
  %61 = icmp slt i32 %53, %59
  br i1 %61, label %76, label %62

62:                                               ; preds = %60
  %63 = load ptr, ptr %10, align 8, !tbaa !5
  %64 = load ptr, ptr %63, align 8, !tbaa !11
  %65 = getelementptr inbounds ptr, ptr %64, i64 36
  %66 = load ptr, ptr %65, align 8
  %67 = invoke noundef i32 %66(ptr noundef nonnull align 8 dereferenceable(328) %63)
          to label %68 unwind label %77

68:                                               ; preds = %62
  %69 = load ptr, ptr %18, align 8, !tbaa !5
  %70 = load ptr, ptr %69, align 8, !tbaa !11
  %71 = getelementptr inbounds ptr, ptr %70, i64 36
  %72 = load ptr, ptr %71, align 8
  %73 = invoke noundef i32 %72(ptr noundef nonnull align 8 dereferenceable(328) %69)
          to label %74 unwind label %77

74:                                               ; preds = %68
  %75 = icmp sgt i32 %67, %73
  br i1 %75, label %76, label %81

76:                                               ; preds = %74, %60
  store i32 4, ptr %17, align 4
  br label %225

77:                                               ; preds = %68, %62, %54, %46
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %19, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %20, align 4
  br label %231

81:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #5
  store i8 1, ptr %21, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  %82 = load ptr, ptr %10, align 8, !tbaa !5
  %83 = load ptr, ptr %82, align 8, !tbaa !11
  %84 = getelementptr inbounds ptr, ptr %83, i64 36
  %85 = load ptr, ptr %84, align 8
  %86 = invoke noundef i32 %85(ptr noundef nonnull align 8 dereferenceable(328) %82)
          to label %87 unwind label %102

87:                                               ; preds = %81
  store i32 %86, ptr %23, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  %88 = load ptr, ptr %18, align 8, !tbaa !5
  %89 = load ptr, ptr %88, align 8, !tbaa !11
  %90 = getelementptr inbounds ptr, ptr %89, i64 36
  %91 = load ptr, ptr %90, align 8
  %92 = invoke noundef i32 %91(ptr noundef nonnull align 8 dereferenceable(328) %88)
          to label %93 unwind label %106

93:                                               ; preds = %87
  store i32 %92, ptr %24, align 4, !tbaa !13
  %94 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %23, ptr noundef nonnull align 4 dereferenceable(4) %24)
          to label %95 unwind label %106

95:                                               ; preds = %93
  %96 = load i32, ptr %94, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  store i32 %96, ptr %22, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  store i32 0, ptr %25, align 4, !tbaa !13
  br label %97

97:                                               ; preds = %210, %95
  %98 = load i32, ptr %25, align 4, !tbaa !13
  %99 = load i32, ptr %22, align 4, !tbaa !13
  %100 = icmp slt i32 %98, %99
  br i1 %100, label %111, label %101

101:                                              ; preds = %97
  store i32 5, ptr %17, align 4
  br label %213

102:                                              ; preds = %81
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %19, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %20, align 4
  br label %110

106:                                              ; preds = %93, %87
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %19, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  br label %110

110:                                              ; preds = %106, %102
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  br label %230

111:                                              ; preds = %97
  %112 = load ptr, ptr %18, align 8, !tbaa !5
  %113 = load i32, ptr %25, align 4, !tbaa !13
  %114 = load ptr, ptr %112, align 8, !tbaa !11
  %115 = getelementptr inbounds ptr, ptr %114, i64 40
  %116 = load ptr, ptr %115, align 8
  %117 = invoke noundef nonnull align 8 dereferenceable(24) ptr %116(ptr noundef nonnull align 8 dereferenceable(328) %112, i32 noundef %113)
          to label %118 unwind label %157

118:                                              ; preds = %111
  %119 = getelementptr inbounds %"struct.glslang::TParameter", ptr %117, i32 0, i32 1
  %120 = load ptr, ptr %119, align 8, !tbaa !15
  %121 = load ptr, ptr %120, align 8, !tbaa !11
  %122 = getelementptr inbounds ptr, ptr %121, i64 10
  %123 = load ptr, ptr %122, align 8
  %124 = invoke noundef nonnull align 8 dereferenceable(72) ptr %123(ptr noundef nonnull align 8 dereferenceable(144) %120)
          to label %125 unwind label %157

125:                                              ; preds = %118
  %126 = invoke noundef zeroext i1 @_ZNK7glslang10TQualifier12isParamInputEv(ptr noundef nonnull align 8 dereferenceable(72) %124)
          to label %127 unwind label %157

127:                                              ; preds = %125
  br i1 %126, label %128, label %162

128:                                              ; preds = %127
  %129 = load ptr, ptr %10, align 8, !tbaa !5
  %130 = load i32, ptr %25, align 4, !tbaa !13
  %131 = load ptr, ptr %129, align 8, !tbaa !11
  %132 = getelementptr inbounds ptr, ptr %131, i64 40
  %133 = load ptr, ptr %132, align 8
  %134 = invoke noundef nonnull align 8 dereferenceable(24) ptr %133(ptr noundef nonnull align 8 dereferenceable(328) %129, i32 noundef %130)
          to label %135 unwind label %157

135:                                              ; preds = %128
  %136 = getelementptr inbounds %"struct.glslang::TParameter", ptr %134, i32 0, i32 1
  %137 = load ptr, ptr %136, align 8, !tbaa !15
  %138 = load ptr, ptr %18, align 8, !tbaa !5
  %139 = load i32, ptr %25, align 4, !tbaa !13
  %140 = load ptr, ptr %138, align 8, !tbaa !11
  %141 = getelementptr inbounds ptr, ptr %140, i64 40
  %142 = load ptr, ptr %141, align 8
  %143 = invoke noundef nonnull align 8 dereferenceable(24) ptr %142(ptr noundef nonnull align 8 dereferenceable(328) %138, i32 noundef %139)
          to label %144 unwind label %157

144:                                              ; preds = %135
  %145 = getelementptr inbounds %"struct.glslang::TParameter", ptr %143, i32 0, i32 1
  %146 = load ptr, ptr %145, align 8, !tbaa !15
  %147 = load ptr, ptr %18, align 8, !tbaa !5
  %148 = load ptr, ptr %147, align 8, !tbaa !11
  %149 = getelementptr inbounds ptr, ptr %148, i64 27
  %150 = load ptr, ptr %149, align 8
  %151 = invoke noundef i32 %150(ptr noundef nonnull align 8 dereferenceable(328) %147)
          to label %152 unwind label %157

152:                                              ; preds = %144
  %153 = load i32, ptr %25, align 4, !tbaa !13
  %154 = invoke noundef zeroext i1 @_ZNKSt8functionIFbRKN7glslang5TTypeES3_NS0_9TOperatorEiEEclES3_S3_S4_i(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(144) %137, ptr noundef nonnull align 8 dereferenceable(144) %146, i32 noundef %151, i32 noundef %153)
          to label %155 unwind label %157

155:                                              ; preds = %152
  br i1 %154, label %161, label %156

156:                                              ; preds = %155
  store i8 0, ptr %21, align 1, !tbaa !9
  store i32 5, ptr %17, align 4
  br label %213

157:                                              ; preds = %203, %195, %186, %179, %176, %169, %162, %152, %144, %135, %128, %125, %118, %111
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %19, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  br label %230

161:                                              ; preds = %155
  br label %162

162:                                              ; preds = %161, %127
  %163 = load ptr, ptr %18, align 8, !tbaa !5
  %164 = load i32, ptr %25, align 4, !tbaa !13
  %165 = load ptr, ptr %163, align 8, !tbaa !11
  %166 = getelementptr inbounds ptr, ptr %165, i64 40
  %167 = load ptr, ptr %166, align 8
  %168 = invoke noundef nonnull align 8 dereferenceable(24) ptr %167(ptr noundef nonnull align 8 dereferenceable(328) %163, i32 noundef %164)
          to label %169 unwind label %157

169:                                              ; preds = %162
  %170 = getelementptr inbounds %"struct.glslang::TParameter", ptr %168, i32 0, i32 1
  %171 = load ptr, ptr %170, align 8, !tbaa !15
  %172 = load ptr, ptr %171, align 8, !tbaa !11
  %173 = getelementptr inbounds ptr, ptr %172, i64 10
  %174 = load ptr, ptr %173, align 8
  %175 = invoke noundef nonnull align 8 dereferenceable(72) ptr %174(ptr noundef nonnull align 8 dereferenceable(144) %171)
          to label %176 unwind label %157

176:                                              ; preds = %169
  %177 = invoke noundef zeroext i1 @_ZNK7glslang10TQualifier13isParamOutputEv(ptr noundef nonnull align 8 dereferenceable(72) %175)
          to label %178 unwind label %157

178:                                              ; preds = %176
  br i1 %177, label %179, label %209

179:                                              ; preds = %178
  %180 = load ptr, ptr %18, align 8, !tbaa !5
  %181 = load i32, ptr %25, align 4, !tbaa !13
  %182 = load ptr, ptr %180, align 8, !tbaa !11
  %183 = getelementptr inbounds ptr, ptr %182, i64 40
  %184 = load ptr, ptr %183, align 8
  %185 = invoke noundef nonnull align 8 dereferenceable(24) ptr %184(ptr noundef nonnull align 8 dereferenceable(328) %180, i32 noundef %181)
          to label %186 unwind label %157

186:                                              ; preds = %179
  %187 = getelementptr inbounds %"struct.glslang::TParameter", ptr %185, i32 0, i32 1
  %188 = load ptr, ptr %187, align 8, !tbaa !15
  %189 = load ptr, ptr %10, align 8, !tbaa !5
  %190 = load i32, ptr %25, align 4, !tbaa !13
  %191 = load ptr, ptr %189, align 8, !tbaa !11
  %192 = getelementptr inbounds ptr, ptr %191, i64 40
  %193 = load ptr, ptr %192, align 8
  %194 = invoke noundef nonnull align 8 dereferenceable(24) ptr %193(ptr noundef nonnull align 8 dereferenceable(328) %189, i32 noundef %190)
          to label %195 unwind label %157

195:                                              ; preds = %186
  %196 = getelementptr inbounds %"struct.glslang::TParameter", ptr %194, i32 0, i32 1
  %197 = load ptr, ptr %196, align 8, !tbaa !15
  %198 = load ptr, ptr %18, align 8, !tbaa !5
  %199 = load ptr, ptr %198, align 8, !tbaa !11
  %200 = getelementptr inbounds ptr, ptr %199, i64 27
  %201 = load ptr, ptr %200, align 8
  %202 = invoke noundef i32 %201(ptr noundef nonnull align 8 dereferenceable(328) %198)
          to label %203 unwind label %157

203:                                              ; preds = %195
  %204 = load i32, ptr %25, align 4, !tbaa !13
  %205 = invoke noundef zeroext i1 @_ZNKSt8functionIFbRKN7glslang5TTypeES3_NS0_9TOperatorEiEEclES3_S3_S4_i(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(144) %188, ptr noundef nonnull align 8 dereferenceable(144) %197, i32 noundef %202, i32 noundef %204)
          to label %206 unwind label %157

206:                                              ; preds = %203
  br i1 %205, label %208, label %207

207:                                              ; preds = %206
  store i8 0, ptr %21, align 1, !tbaa !9
  store i32 5, ptr %17, align 4
  br label %213

208:                                              ; preds = %206
  br label %209

209:                                              ; preds = %208, %178
  br label %210

210:                                              ; preds = %209
  %211 = load i32, ptr %25, align 4, !tbaa !13
  %212 = add nsw i32 %211, 1
  store i32 %212, ptr %25, align 4, !tbaa !13
  br label %97, !llvm.loop !17

213:                                              ; preds = %207, %156, %101
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  br label %214

214:                                              ; preds = %213
  %215 = load i8, ptr %21, align 1, !tbaa !9, !range !19, !noundef !20
  %216 = trunc i8 %215 to i1
  br i1 %216, label %217, label %224

217:                                              ; preds = %214
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %218 = load ptr, ptr %18, align 8, !tbaa !5
  store ptr %218, ptr %26, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(8) %26)
          to label %219 unwind label %220

219:                                              ; preds = %217
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  br label %224

220:                                              ; preds = %217
  %221 = landingpad { ptr, i32 }
          cleanup
  %222 = extractvalue { ptr, i32 } %221, 0
  store ptr %222, ptr %19, align 8
  %223 = extractvalue { ptr, i32 } %221, 1
  store i32 %223, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  br label %230

224:                                              ; preds = %219, %214
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #5
  store i32 0, ptr %17, align 4
  br label %225

225:                                              ; preds = %224, %76
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  %226 = load i32, ptr %17, align 4
  switch i32 %226, label %327 [
    i32 0, label %227
    i32 4, label %228
  ]

227:                                              ; preds = %225
  br label %228

228:                                              ; preds = %227, %225
  %229 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKPKN7glslang9TFunctionESt6vectorIS4_NS1_14pool_allocatorIS4_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  br label %41, !llvm.loop !21

230:                                              ; preds = %220, %157, %110
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #5
  br label %231

231:                                              ; preds = %230, %77
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %321

232:                                              ; preds = %45
  %233 = call noundef i64 @_ZNKSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %14) #5
  %234 = icmp eq i64 %233, 0
  br i1 %234, label %235, label %236

235:                                              ; preds = %232
  store ptr null, ptr %7, align 8
  store i32 1, ptr %17, align 4
  br label %319

236:                                              ; preds = %232
  %237 = call noundef i64 @_ZNKSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %14) #5
  %238 = icmp eq i64 %237, 1
  br i1 %238, label %239, label %242

239:                                              ; preds = %236
  %240 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEE5frontEv(ptr noundef nonnull align 8 dereferenceable(32) %14) #5
  %241 = load ptr, ptr %240, align 8, !tbaa !5
  store ptr %241, ptr %7, align 8
  store i32 1, ptr %17, align 4
  br label %319

242:                                              ; preds = %236
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #5
  %243 = getelementptr inbounds %class.anon.53, ptr %27, i32 0, i32 0
  %244 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %244, ptr %243, align 8, !tbaa !5
  %245 = getelementptr inbounds %class.anon.53, ptr %27, i32 0, i32 1
  store ptr %4, ptr %245, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #5
  %246 = getelementptr inbounds %class.anon.54, ptr %28, i32 0, i32 0
  %247 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %247, ptr %246, align 8, !tbaa !5
  %248 = getelementptr inbounds %class.anon.54, ptr %28, i32 0, i32 1
  store ptr %4, ptr %248, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  %249 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEE5frontEv(ptr noundef nonnull align 8 dereferenceable(32) %14) #5
  %250 = load ptr, ptr %249, align 8, !tbaa !5
  store ptr %250, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  %251 = call ptr @_ZNSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %14) #5
  %252 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.55", ptr %31, i32 0, i32 0
  store ptr %251, ptr %252, align 8
  %253 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPKN7glslang9TFunctionESt6vectorIS4_NS1_14pool_allocatorIS4_EEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %31, i64 noundef 1) #5
  %254 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.55", ptr %30, i32 0, i32 0
  store ptr %253, ptr %254, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  br label %255

255:                                              ; preds = %279, %242
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  %256 = call ptr @_ZNSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %14) #5
  %257 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.55", ptr %32, i32 0, i32 0
  store ptr %256, ptr %257, align 8
  %258 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPKN7glslang9TFunctionESt6vectorIS4_NS1_14pool_allocatorIS4_EEEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  br i1 %258, label %260, label %259

259:                                              ; preds = %255
  store i32 8, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  br label %281

260:                                              ; preds = %255
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  %261 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPKN7glslang9TFunctionESt6vectorIS4_NS1_14pool_allocatorIS4_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #5
  %262 = load ptr, ptr %261, align 8, !tbaa !5
  store ptr %262, ptr %33, align 8, !tbaa !5
  %263 = load ptr, ptr %29, align 8, !tbaa !5
  %264 = load ptr, ptr %33, align 8, !tbaa !5
  %265 = invoke noundef zeroext i1 @"_ZZN7glslang17TParseContextBase14selectFunctionENS_7TVectorIPKNS_9TFunctionEEERS3_St8functionIFbRKNS_5TTypeESA_NS_9TOperatorEiEES7_IFbSA_SA_SA_EERbENK3$_0clES6_S6_"(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 8 dereferenceable(328) %263, ptr noundef nonnull align 8 dereferenceable(328) %264)
          to label %266 unwind label %274

266:                                              ; preds = %260
  br i1 %265, label %267, label %278

267:                                              ; preds = %266
  %268 = load ptr, ptr %33, align 8, !tbaa !5
  %269 = load ptr, ptr %29, align 8, !tbaa !5
  %270 = invoke noundef zeroext i1 @"_ZZN7glslang17TParseContextBase14selectFunctionENS_7TVectorIPKNS_9TFunctionEEERS3_St8functionIFbRKNS_5TTypeESA_NS_9TOperatorEiEES7_IFbSA_SA_SA_EERbENK3$_0clES6_S6_"(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 8 dereferenceable(328) %268, ptr noundef nonnull align 8 dereferenceable(328) %269)
          to label %271 unwind label %274

271:                                              ; preds = %267
  br i1 %270, label %278, label %272

272:                                              ; preds = %271
  %273 = load ptr, ptr %33, align 8, !tbaa !5
  store ptr %273, ptr %29, align 8, !tbaa !5
  br label %278

274:                                              ; preds = %267, %260
  %275 = landingpad { ptr, i32 }
          cleanup
  %276 = extractvalue { ptr, i32 } %275, 0
  store ptr %276, ptr %19, align 8
  %277 = extractvalue { ptr, i32 } %275, 1
  store i32 %277, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  br label %318

278:                                              ; preds = %272, %271, %266
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  br label %279

279:                                              ; preds = %278
  %280 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPKN7glslang9TFunctionESt6vectorIS4_NS1_14pool_allocatorIS4_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #5
  br label %255, !llvm.loop !22

281:                                              ; preds = %259
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  %282 = call ptr @_ZNSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %14) #5
  %283 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.55", ptr %34, i32 0, i32 0
  store ptr %282, ptr %283, align 8
  br label %284

284:                                              ; preds = %314, %281
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #5
  %285 = call ptr @_ZNSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %14) #5
  %286 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.55", ptr %35, i32 0, i32 0
  store ptr %285, ptr %286, align 8
  %287 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPKN7glslang9TFunctionESt6vectorIS4_NS1_14pool_allocatorIS4_EEEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %35) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  br i1 %287, label %289, label %288

288:                                              ; preds = %284
  store i32 11, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  br label %316

289:                                              ; preds = %284
  %290 = load ptr, ptr %29, align 8, !tbaa !5
  %291 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPKN7glslang9TFunctionESt6vectorIS4_NS1_14pool_allocatorIS4_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #5
  %292 = load ptr, ptr %291, align 8, !tbaa !5
  %293 = icmp eq ptr %290, %292
  br i1 %293, label %294, label %295

294:                                              ; preds = %289
  br label %314

295:                                              ; preds = %289
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #5
  %296 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPKN7glslang9TFunctionESt6vectorIS4_NS1_14pool_allocatorIS4_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #5
  %297 = load ptr, ptr %296, align 8, !tbaa !5
  store ptr %297, ptr %36, align 8, !tbaa !5
  %298 = load ptr, ptr %29, align 8, !tbaa !5
  %299 = load ptr, ptr %36, align 8, !tbaa !5
  %300 = invoke noundef zeroext i1 @"_ZZN7glslang17TParseContextBase14selectFunctionENS_7TVectorIPKNS_9TFunctionEEERS3_St8functionIFbRKNS_5TTypeESA_NS_9TOperatorEiEES7_IFbSA_SA_SA_EERbENK3$_0clES6_S6_"(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 8 dereferenceable(328) %298, ptr noundef nonnull align 8 dereferenceable(328) %299)
          to label %301 unwind label %309

301:                                              ; preds = %295
  br i1 %300, label %307, label %302

302:                                              ; preds = %301
  %303 = load ptr, ptr %29, align 8, !tbaa !5
  %304 = load ptr, ptr %36, align 8, !tbaa !5
  %305 = invoke noundef zeroext i1 @"_ZZN7glslang17TParseContextBase14selectFunctionENS_7TVectorIPKNS_9TFunctionEEERS3_St8functionIFbRKNS_5TTypeESA_NS_9TOperatorEiEES7_IFbSA_SA_SA_EERbENK3$_1clES6_S6_"(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 8 dereferenceable(328) %303, ptr noundef nonnull align 8 dereferenceable(328) %304)
          to label %306 unwind label %309

306:                                              ; preds = %302
  br i1 %305, label %307, label %313

307:                                              ; preds = %306, %301
  %308 = load ptr, ptr %13, align 8, !tbaa !5
  store i8 1, ptr %308, align 1, !tbaa !9
  br label %313

309:                                              ; preds = %302, %295
  %310 = landingpad { ptr, i32 }
          cleanup
  %311 = extractvalue { ptr, i32 } %310, 0
  store ptr %311, ptr %19, align 8
  %312 = extractvalue { ptr, i32 } %310, 1
  store i32 %312, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  br label %318

313:                                              ; preds = %307, %306
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  br label %314

314:                                              ; preds = %313, %294
  %315 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPKN7glslang9TFunctionESt6vectorIS4_NS1_14pool_allocatorIS4_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #5
  br label %284, !llvm.loop !23

316:                                              ; preds = %288
  %317 = load ptr, ptr %29, align 8, !tbaa !5
  store ptr %317, ptr %7, align 8
  store i32 1, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #5
  br label %319

318:                                              ; preds = %309, %274
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #5
  br label %321

319:                                              ; preds = %316, %239, %235
  call void @_ZNSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #5
  %320 = load ptr, ptr %7, align 8
  ret ptr %320

321:                                              ; preds = %318, %231
  call void @_ZNSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #5
  br label %322

322:                                              ; preds = %321
  %323 = load ptr, ptr %19, align 8
  %324 = load i32, ptr %20, align 4
  %325 = insertvalue { ptr, i32 } poison, ptr %323, 0
  %326 = insertvalue { ptr, i32 } %325, i32 %324, 1
  resume { ptr, i32 } %326

327:                                              ; preds = %225
  unreachable
}

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @"_ZZN7glslang17TParseContextBase14selectFunctionENS_7TVectorIPKNS_9TFunctionEEERS3_St8functionIFbRKNS_5TTypeESA_NS_9TOperatorEiEES7_IFbSA_SA_SA_EERbENK3$_0clES6_S6_"(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(328), ptr noundef nonnull align 8 dereferenceable(328)) #4 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @"_ZZN7glslang17TParseContextBase14selectFunctionENS_7TVectorIPKNS_9TFunctionEEERS3_St8functionIFbRKNS_5TTypeESA_NS_9TOperatorEiEES7_IFbSA_SA_SA_EERbENK3$_1clES6_S6_"(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(328), ptr noundef nonnull align 8 dereferenceable(328)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!16, !6, i64 8}
!16 = !{!"_ZTSN7glslang10TParameterE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = distinct !{!21, !18}
!22 = distinct !{!22, !18}
!23 = distinct !{!23, !18}


; 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::TVector.41" = type { %"class.std::vector.42" }
%"class.std::vector.42" = type { %"struct.std::_Vector_base.43" }
%"struct.std::_Vector_base.43" = type { %"struct.std::_Vector_base<const glslang::TFunction *, glslang::pool_allocator<const glslang::TFunction *>>::_Vector_impl" }
%"struct.std::_Vector_base<const glslang::TFunction *, glslang::pool_allocator<const glslang::TFunction *>>::_Vector_impl" = type { %"class.glslang::pool_allocator.44", %"struct.std::_Vector_base<const glslang::TFunction *, glslang::pool_allocator<const glslang::TFunction *>>::_Vector_impl_data" }
%"class.glslang::pool_allocator.44" = type { ptr }
%"struct.std::_Vector_base<const glslang::TFunction *, glslang::pool_allocator<const glslang::TFunction *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%class.anon.53 = type { ptr, ptr }
%class.anon.54 = type { ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.55" = type { ptr }

; 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN7glslang17TParseContextBase14selectFunctionENS_7TVectorIPKNS_9TFunctionEEERS3_St8functionIFbRKNS_5TTypeESA_NS_9TOperatorEiEES7_IFbSA_SA_SA_EERb(ptr nocapture noundef nonnull readnone align 8 dereferenceable(1176) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(328) %2, ptr noundef %3, ptr noundef %4, ptr nocapture noundef nonnull writeonly align 1 dereferenceable(1) %5) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.glslang::TVector.41", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca %class.anon.53, align 8
  %14 = alloca %class.anon.54, align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.55", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.55", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.55", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.55", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.55", align 8
  store i8 0, ptr %5, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #5
  call void @_ZN7glslang7TVectorIPKNS_9TFunctionEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %20 = call ptr @_ZNKSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #5
  store ptr %20, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %21 = call ptr @_ZNKSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #5
  store ptr %21, ptr %9, align 8
  %22 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPKN7glslang9TFunctionESt6vectorIS4_NS1_14pool_allocatorIS4_EEEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  br i1 %22, label %.lr.ph65, label %._crit_edge

._crit_edge:                                      ; preds = %.loopexit, %6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  %23 = call noundef i64 @_ZNKSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  %24 = icmp eq i64 %23, 0
  br i1 %24, label %202, label %152

.lr.ph65:                                         ; preds = %6, %.loopexit
  %25 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKPKN7glslang9TFunctionESt6vectorIS4_NS1_14pool_allocatorIS4_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  %26 = load ptr, ptr %25, align 8, !tbaa !9
  %27 = load ptr, ptr %2, align 8, !tbaa !11
  %28 = getelementptr inbounds i8, ptr %27, i64 288
  %29 = load ptr, ptr %28, align 8
  %30 = invoke noundef i32 %29(ptr noundef nonnull align 8 dereferenceable(328) %2)
          to label %31 unwind label %50

31:                                               ; preds = %.lr.ph65
  %32 = load ptr, ptr %26, align 8, !tbaa !11
  %33 = getelementptr inbounds i8, ptr %32, i64 304
  %34 = load ptr, ptr %33, align 8
  %35 = invoke noundef i32 %34(ptr noundef nonnull align 8 dereferenceable(328) %26)
          to label %36 unwind label %50

36:                                               ; preds = %31
  %37 = icmp slt i32 %30, %35
  br i1 %37, label %.loopexit, label %38

38:                                               ; preds = %36
  %39 = load ptr, ptr %2, align 8, !tbaa !11
  %40 = getelementptr inbounds i8, ptr %39, i64 288
  %41 = load ptr, ptr %40, align 8
  %42 = invoke noundef i32 %41(ptr noundef nonnull align 8 dereferenceable(328) %2)
          to label %43 unwind label %50

43:                                               ; preds = %38
  %44 = load ptr, ptr %26, align 8, !tbaa !11
  %45 = getelementptr inbounds i8, ptr %44, i64 288
  %46 = load ptr, ptr %45, align 8
  %47 = invoke noundef i32 %46(ptr noundef nonnull align 8 dereferenceable(328) %26)
          to label %48 unwind label %50

48:                                               ; preds = %43
  %49 = icmp sgt i32 %42, %47
  br i1 %49, label %.loopexit, label %52

50:                                               ; preds = %43, %38, %31, %.lr.ph65
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %151

52:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  %53 = load ptr, ptr %2, align 8, !tbaa !11
  %54 = getelementptr inbounds i8, ptr %53, i64 288
  %55 = load ptr, ptr %54, align 8
  %56 = invoke noundef i32 %55(ptr noundef nonnull align 8 dereferenceable(328) %2)
          to label %57 unwind label %65

57:                                               ; preds = %52
  store i32 %56, ptr %10, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #5
  %58 = load ptr, ptr %26, align 8, !tbaa !11
  %59 = getelementptr inbounds i8, ptr %58, i64 288
  %60 = load ptr, ptr %59, align 8
  %61 = invoke noundef i32 %60(ptr noundef nonnull align 8 dereferenceable(328) %26)
          to label %62 unwind label %67

62:                                               ; preds = %57
  store i32 %61, ptr %11, align 4, !tbaa !13
  %63 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %11)
  %64 = load i32, ptr %63, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  %.not63 = icmp sgt i32 %64, 0
  br i1 %.not63, label %.lr.ph, label %.critedge

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

67:                                               ; preds = %57
  %68 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  br label %69

69:                                               ; preds = %67, %65
  %.pn56 = phi { ptr, i32 } [ %68, %67 ], [ %66, %65 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  br label %151

.lr.ph:                                           ; preds = %62, %143
  %.04664 = phi i32 [ %144, %143 ], [ 0, %62 ]
  %70 = load ptr, ptr %26, align 8, !tbaa !11
  %71 = getelementptr inbounds i8, ptr %70, i64 320
  %72 = load ptr, ptr %71, align 8
  %73 = invoke noundef nonnull align 8 dereferenceable(24) ptr %72(ptr noundef nonnull align 8 dereferenceable(328) %26, i32 noundef %.04664)
          to label %74 unwind label %105

74:                                               ; preds = %.lr.ph
  %75 = getelementptr inbounds i8, ptr %73, i64 8
  %76 = load ptr, ptr %75, align 8, !tbaa !15
  %77 = load ptr, ptr %76, align 8, !tbaa !11
  %78 = getelementptr inbounds i8, ptr %77, i64 80
  %79 = load ptr, ptr %78, align 8
  %80 = invoke noundef nonnull align 8 dereferenceable(72) ptr %79(ptr noundef nonnull align 8 dereferenceable(144) %76)
          to label %81 unwind label %105

81:                                               ; preds = %74
  %82 = call noundef zeroext i1 @_ZNK7glslang10TQualifier12isParamInputEv(ptr noundef nonnull align 8 dereferenceable(72) %80)
  br i1 %82, label %83, label %107

83:                                               ; preds = %81
  %84 = load ptr, ptr %2, align 8, !tbaa !11
  %85 = getelementptr inbounds i8, ptr %84, i64 320
  %86 = load ptr, ptr %85, align 8
  %87 = invoke noundef nonnull align 8 dereferenceable(24) ptr %86(ptr noundef nonnull align 8 dereferenceable(328) %2, i32 noundef %.04664)
          to label %88 unwind label %105

88:                                               ; preds = %83
  %89 = getelementptr inbounds i8, ptr %87, i64 8
  %90 = load ptr, ptr %89, align 8, !tbaa !15
  %91 = load ptr, ptr %26, align 8, !tbaa !11
  %92 = getelementptr inbounds i8, ptr %91, i64 320
  %93 = load ptr, ptr %92, align 8
  %94 = invoke noundef nonnull align 8 dereferenceable(24) ptr %93(ptr noundef nonnull align 8 dereferenceable(328) %26, i32 noundef %.04664)
          to label %95 unwind label %105

95:                                               ; preds = %88
  %96 = getelementptr inbounds i8, ptr %94, i64 8
  %97 = load ptr, ptr %96, align 8, !tbaa !15
  %98 = load ptr, ptr %26, align 8, !tbaa !11
  %99 = getelementptr inbounds i8, ptr %98, i64 216
  %100 = load ptr, ptr %99, align 8
  %101 = invoke noundef i32 %100(ptr noundef nonnull align 8 dereferenceable(328) %26)
          to label %102 unwind label %105

102:                                              ; preds = %95
  %103 = invoke noundef zeroext i1 @_ZNKSt8functionIFbRKN7glslang5TTypeES3_NS0_9TOperatorEiEEclES3_S3_S4_i(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(144) %90, ptr noundef nonnull align 8 dereferenceable(144) %97, i32 noundef %101, i32 noundef %.04664)
          to label %104 unwind label %105

104:                                              ; preds = %102
  br i1 %103, label %107, label %.loopexit

105:                                              ; preds = %140, %133, %126, %121, %112, %107, %102, %95, %88, %83, %74, %.lr.ph
  %106 = landingpad { ptr, i32 }
          cleanup
  br label %151

107:                                              ; preds = %104, %81
  %108 = load ptr, ptr %26, align 8, !tbaa !11
  %109 = getelementptr inbounds i8, ptr %108, i64 320
  %110 = load ptr, ptr %109, align 8
  %111 = invoke noundef nonnull align 8 dereferenceable(24) ptr %110(ptr noundef nonnull align 8 dereferenceable(328) %26, i32 noundef %.04664)
          to label %112 unwind label %105

112:                                              ; preds = %107
  %113 = getelementptr inbounds i8, ptr %111, i64 8
  %114 = load ptr, ptr %113, align 8, !tbaa !15
  %115 = load ptr, ptr %114, align 8, !tbaa !11
  %116 = getelementptr inbounds i8, ptr %115, i64 80
  %117 = load ptr, ptr %116, align 8
  %118 = invoke noundef nonnull align 8 dereferenceable(72) ptr %117(ptr noundef nonnull align 8 dereferenceable(144) %114)
          to label %119 unwind label %105

119:                                              ; preds = %112
  %120 = call noundef zeroext i1 @_ZNK7glslang10TQualifier13isParamOutputEv(ptr noundef nonnull align 8 dereferenceable(72) %118)
  br i1 %120, label %121, label %143

121:                                              ; preds = %119
  %122 = load ptr, ptr %26, align 8, !tbaa !11
  %123 = getelementptr inbounds i8, ptr %122, i64 320
  %124 = load ptr, ptr %123, align 8
  %125 = invoke noundef nonnull align 8 dereferenceable(24) ptr %124(ptr noundef nonnull align 8 dereferenceable(328) %26, i32 noundef %.04664)
          to label %126 unwind label %105

126:                                              ; preds = %121
  %127 = getelementptr inbounds i8, ptr %125, i64 8
  %128 = load ptr, ptr %127, align 8, !tbaa !15
  %129 = load ptr, ptr %2, align 8, !tbaa !11
  %130 = getelementptr inbounds i8, ptr %129, i64 320
  %131 = load ptr, ptr %130, align 8
  %132 = invoke noundef nonnull align 8 dereferenceable(24) ptr %131(ptr noundef nonnull align 8 dereferenceable(328) %2, i32 noundef %.04664)
          to label %133 unwind label %105

133:                                              ; preds = %126
  %134 = getelementptr inbounds i8, ptr %132, i64 8
  %135 = load ptr, ptr %134, align 8, !tbaa !15
  %136 = load ptr, ptr %26, align 8, !tbaa !11
  %137 = getelementptr inbounds i8, ptr %136, i64 216
  %138 = load ptr, ptr %137, align 8
  %139 = invoke noundef i32 %138(ptr noundef nonnull align 8 dereferenceable(328) %26)
          to label %140 unwind label %105

140:                                              ; preds = %133
  %141 = invoke noundef zeroext i1 @_ZNKSt8functionIFbRKN7glslang5TTypeES3_NS0_9TOperatorEiEEclES3_S3_S4_i(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(144) %128, ptr noundef nonnull align 8 dereferenceable(144) %135, i32 noundef %139, i32 noundef %.04664)
          to label %142 unwind label %105

142:                                              ; preds = %140
  br i1 %141, label %143, label %.loopexit

143:                                              ; preds = %119, %142
  %144 = add nuw nsw i32 %.04664, 1
  %exitcond.not = icmp eq i32 %144, %64
  br i1 %exitcond.not, label %.critedge, label %.lr.ph, !llvm.loop !17

.critedge:                                        ; preds = %143, %62
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  store ptr %26, ptr %12, align 8, !tbaa !9
  invoke void @_ZNSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %145 unwind label %146

145:                                              ; preds = %.critedge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  br label %.loopexit

146:                                              ; preds = %.critedge
  %147 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  br label %151

.loopexit:                                        ; preds = %104, %142, %145, %36, %48
  %148 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKPKN7glslang9TFunctionESt6vectorIS4_NS1_14pool_allocatorIS4_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %149 = call ptr @_ZNKSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #5
  store ptr %149, ptr %9, align 8
  %150 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPKN7glslang9TFunctionESt6vectorIS4_NS1_14pool_allocatorIS4_EEEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  br i1 %150, label %.lr.ph65, label %._crit_edge, !llvm.loop !19

151:                                              ; preds = %69, %105, %146, %50
  %.pn58.pn = phi { ptr, i32 } [ %51, %50 ], [ %147, %146 ], [ %106, %105 ], [ %.pn56, %69 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  br label %203

152:                                              ; preds = %._crit_edge
  %153 = call noundef i64 @_ZNKSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  %154 = icmp eq i64 %153, 1
  br i1 %154, label %155, label %158

155:                                              ; preds = %152
  %156 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEE5frontEv(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  %157 = load ptr, ptr %156, align 8, !tbaa !9
  br label %202

158:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #5
  store ptr %2, ptr %13, align 8, !tbaa !9
  %159 = getelementptr inbounds i8, ptr %13, i64 8
  store ptr %4, ptr %159, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #5
  store ptr %2, ptr %14, align 8, !tbaa !9
  %160 = getelementptr inbounds i8, ptr %14, i64 8
  store ptr %4, ptr %160, align 8, !tbaa !9
  %161 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEE5frontEv(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  %162 = load ptr, ptr %161, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #5
  %163 = call ptr @_ZNSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  store ptr %163, ptr %16, align 8
  %164 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPKN7glslang9TFunctionESt6vectorIS4_NS1_14pool_allocatorIS4_EEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %16, i64 noundef 1) #5
  store ptr %164, ptr %15, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
  %165 = call ptr @_ZNSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  store ptr %165, ptr %17, align 8
  %166 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPKN7glslang9TFunctionESt6vectorIS4_NS1_14pool_allocatorIS4_EEEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  br i1 %166, label %.lr.ph68, label %._crit_edge69

._crit_edge69:                                    ; preds = %179, %158
  %.045.lcssa = phi ptr [ %162, %158 ], [ %.1, %179 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #5
  %167 = call ptr @_ZNSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  store ptr %167, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #5
  %168 = call ptr @_ZNSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  store ptr %168, ptr %19, align 8
  %169 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPKN7glslang9TFunctionESt6vectorIS4_NS1_14pool_allocatorIS4_EEEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #5
  br i1 %169, label %.lr.ph71, label %._crit_edge72

.lr.ph68:                                         ; preds = %158, %179
  %.04566 = phi ptr [ %.1, %179 ], [ %162, %158 ]
  %170 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPKN7glslang9TFunctionESt6vectorIS4_NS1_14pool_allocatorIS4_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  %171 = load ptr, ptr %170, align 8, !tbaa !9
  %172 = invoke noundef zeroext i1 @"_ZZN7glslang17TParseContextBase14selectFunctionENS_7TVectorIPKNS_9TFunctionEEERS3_St8functionIFbRKNS_5TTypeESA_NS_9TOperatorEiEES7_IFbSA_SA_SA_EERbENK3$_0clES6_S6_"(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(328) %.04566, ptr noundef nonnull align 8 dereferenceable(328) %171)
          to label %173 unwind label %177

173:                                              ; preds = %.lr.ph68
  br i1 %172, label %174, label %179

174:                                              ; preds = %173
  %175 = invoke noundef zeroext i1 @"_ZZN7glslang17TParseContextBase14selectFunctionENS_7TVectorIPKNS_9TFunctionEEERS3_St8functionIFbRKNS_5TTypeESA_NS_9TOperatorEiEES7_IFbSA_SA_SA_EERbENK3$_0clES6_S6_"(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(328) %171, ptr noundef nonnull align 8 dereferenceable(328) %.04566)
          to label %176 unwind label %177

176:                                              ; preds = %174
  %spec.select = select i1 %175, ptr %.04566, ptr %171
  br label %179

177:                                              ; preds = %174, %.lr.ph68
  %178 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  br label %201

179:                                              ; preds = %176, %173
  %.1 = phi ptr [ %.04566, %173 ], [ %spec.select, %176 ]
  %180 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPKN7glslang9TFunctionESt6vectorIS4_NS1_14pool_allocatorIS4_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
  %181 = call ptr @_ZNSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  store ptr %181, ptr %17, align 8
  %182 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPKN7glslang9TFunctionESt6vectorIS4_NS1_14pool_allocatorIS4_EEEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  br i1 %182, label %.lr.ph68, label %._crit_edge69, !llvm.loop !20

._crit_edge72:                                    ; preds = %197, %._crit_edge69
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #5
  br label %202

.lr.ph71:                                         ; preds = %._crit_edge69, %197
  %183 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPKN7glslang9TFunctionESt6vectorIS4_NS1_14pool_allocatorIS4_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #5
  %184 = load ptr, ptr %183, align 8, !tbaa !9
  %185 = icmp eq ptr %.045.lcssa, %184
  br i1 %185, label %197, label %186

186:                                              ; preds = %.lr.ph71
  %187 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPKN7glslang9TFunctionESt6vectorIS4_NS1_14pool_allocatorIS4_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #5
  %188 = load ptr, ptr %187, align 8, !tbaa !9
  %189 = invoke noundef zeroext i1 @"_ZZN7glslang17TParseContextBase14selectFunctionENS_7TVectorIPKNS_9TFunctionEEERS3_St8functionIFbRKNS_5TTypeESA_NS_9TOperatorEiEES7_IFbSA_SA_SA_EERbENK3$_0clES6_S6_"(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(328) %.045.lcssa, ptr noundef nonnull align 8 dereferenceable(328) %188)
          to label %190 unwind label %195

190:                                              ; preds = %186
  br i1 %189, label %194, label %191

191:                                              ; preds = %190
  %192 = invoke noundef zeroext i1 @"_ZZN7glslang17TParseContextBase14selectFunctionENS_7TVectorIPKNS_9TFunctionEEERS3_St8functionIFbRKNS_5TTypeESA_NS_9TOperatorEiEES7_IFbSA_SA_SA_EERbENK3$_1clES6_S6_"(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(328) %.045.lcssa, ptr noundef nonnull align 8 dereferenceable(328) %188)
          to label %193 unwind label %195

193:                                              ; preds = %191
  br i1 %192, label %194, label %197

194:                                              ; preds = %193, %190
  store i8 1, ptr %5, align 1, !tbaa !5
  br label %197

195:                                              ; preds = %191, %186
  %196 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  br label %201

197:                                              ; preds = %193, %194, %.lr.ph71
  %198 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPKN7glslang9TFunctionESt6vectorIS4_NS1_14pool_allocatorIS4_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #5
  %199 = call ptr @_ZNSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  store ptr %199, ptr %19, align 8
  %200 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPKN7glslang9TFunctionESt6vectorIS4_NS1_14pool_allocatorIS4_EEEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #5
  br i1 %200, label %.lr.ph71, label %._crit_edge72, !llvm.loop !21

201:                                              ; preds = %195, %177
  %.pn = phi { ptr, i32 } [ %178, %177 ], [ %196, %195 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #5
  br label %203

202:                                              ; preds = %._crit_edge, %._crit_edge72, %155
  %.0 = phi ptr [ %157, %155 ], [ %.045.lcssa, %._crit_edge72 ], [ null, %._crit_edge ]
  call void @_ZNSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #5
  ret ptr %.0

203:                                              ; preds = %201, %151
  %.pn58.pn.pn = phi { ptr, i32 } [ %.pn58.pn, %151 ], [ %.pn, %201 ]
  call void @_ZNSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #5
  resume { ptr, i32 } %.pn58.pn.pn
}

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @"_ZZN7glslang17TParseContextBase14selectFunctionENS_7TVectorIPKNS_9TFunctionEEERS3_St8functionIFbRKNS_5TTypeESA_NS_9TOperatorEiEES7_IFbSA_SA_SA_EERbENK3$_0clES6_S6_"(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(328), ptr noundef nonnull align 8 dereferenceable(328)) local_unnamed_addr #4 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @"_ZZN7glslang17TParseContextBase14selectFunctionENS_7TVectorIPKNS_9TFunctionEEERS3_St8functionIFbRKNS_5TTypeESA_NS_9TOperatorEiEES7_IFbSA_SA_SA_EERbENK3$_1clES6_S6_"(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(328), ptr noundef nonnull align 8 dereferenceable(328)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIPKN7glslang9TFunctionENS0_14pool_allocatorIS3_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!16, !10, i64 8}
!16 = !{!"_ZTSN7glslang10TParameterE", !10, i64 0, !10, i64 8, !10, i64 16}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = distinct !{!21, !18}


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