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

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

%"class.glslang::TType" = type { ptr, i32, [4 x i8], %"class.glslang::TQualifier", ptr, %union.anon, ptr, ptr, %"struct.glslang::TSampler", ptr, ptr }
%"class.glslang::TQualifier" = type <{ ptr, i64, i8, [3 x i8], i32, i32, i64, i64, i8, i8, i8, i8, i8, [3 x i8], i32, i8, [3 x i8], i32, ptr }>
%union.anon = type { ptr }
%"struct.glslang::TSampler" = type { i32 }

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZNK7glslang13TIntermediate16createConversionENS_10TBasicTypeEPNS_12TIntermTypedE(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef %1, ptr noundef %2) #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.glslang::TType", align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  %19 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #3
  %20 = load i32, ptr %6, align 4, !tbaa !9
  %21 = icmp eq i32 %20, 4
  br i1 %21, label %43, label %22

22:                                               ; preds = %3
  %23 = load i32, ptr %6, align 4, !tbaa !9
  %24 = icmp eq i32 %23, 5
  br i1 %24, label %43, label %25

25:                                               ; preds = %22
  %26 = load i32, ptr %6, align 4, !tbaa !9
  %27 = icmp eq i32 %26, 6
  br i1 %27, label %43, label %28

28:                                               ; preds = %25
  %29 = load i32, ptr %6, align 4, !tbaa !9
  %30 = icmp eq i32 %29, 7
  br i1 %30, label %43, label %31

31:                                               ; preds = %28
  %32 = load i32, ptr %6, align 4, !tbaa !9
  %33 = icmp eq i32 %32, 8
  br i1 %33, label %43, label %34

34:                                               ; preds = %31
  %35 = load i32, ptr %6, align 4, !tbaa !9
  %36 = icmp eq i32 %35, 9
  br i1 %36, label %43, label %37

37:                                               ; preds = %34
  %38 = load i32, ptr %6, align 4, !tbaa !9
  %39 = icmp eq i32 %38, 10
  br i1 %39, label %43, label %40

40:                                               ; preds = %37
  %41 = load i32, ptr %6, align 4, !tbaa !9
  %42 = icmp eq i32 %41, 11
  br label %43

43:                                               ; preds = %40, %37, %34, %31, %28, %25, %22, %3
  %44 = phi i1 [ true, %37 ], [ true, %34 ], [ true, %31 ], [ true, %28 ], [ true, %25 ], [ true, %22 ], [ true, %3 ], [ %42, %40 ]
  %45 = zext i1 %44 to i8
  store i8 %45, ptr %8, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #3
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = load ptr, ptr %46, align 8, !tbaa !13
  %48 = getelementptr inbounds ptr, ptr %47, i64 32
  %49 = load ptr, ptr %48, align 8
  %50 = call noundef i32 %49(ptr noundef nonnull align 8 dereferenceable(176) %46)
  %51 = icmp eq i32 %50, 4
  br i1 %51, label %101, label %52

52:                                               ; preds = %43
  %53 = load ptr, ptr %7, align 8, !tbaa !5
  %54 = load ptr, ptr %53, align 8, !tbaa !13
  %55 = getelementptr inbounds ptr, ptr %54, i64 32
  %56 = load ptr, ptr %55, align 8
  %57 = call noundef i32 %56(ptr noundef nonnull align 8 dereferenceable(176) %53)
  %58 = icmp eq i32 %57, 5
  br i1 %58, label %101, label %59

59:                                               ; preds = %52
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = load ptr, ptr %60, align 8, !tbaa !13
  %62 = getelementptr inbounds ptr, ptr %61, i64 32
  %63 = load ptr, ptr %62, align 8
  %64 = call noundef i32 %63(ptr noundef nonnull align 8 dereferenceable(176) %60)
  %65 = icmp eq i32 %64, 6
  br i1 %65, label %101, label %66

66:                                               ; preds = %59
  %67 = load ptr, ptr %7, align 8, !tbaa !5
  %68 = load ptr, ptr %67, align 8, !tbaa !13
  %69 = getelementptr inbounds ptr, ptr %68, i64 32
  %70 = load ptr, ptr %69, align 8
  %71 = call noundef i32 %70(ptr noundef nonnull align 8 dereferenceable(176) %67)
  %72 = icmp eq i32 %71, 7
  br i1 %72, label %101, label %73

73:                                               ; preds = %66
  %74 = load ptr, ptr %7, align 8, !tbaa !5
  %75 = load ptr, ptr %74, align 8, !tbaa !13
  %76 = getelementptr inbounds ptr, ptr %75, i64 32
  %77 = load ptr, ptr %76, align 8
  %78 = call noundef i32 %77(ptr noundef nonnull align 8 dereferenceable(176) %74)
  %79 = icmp eq i32 %78, 8
  br i1 %79, label %101, label %80

80:                                               ; preds = %73
  %81 = load ptr, ptr %7, align 8, !tbaa !5
  %82 = load ptr, ptr %81, align 8, !tbaa !13
  %83 = getelementptr inbounds ptr, ptr %82, i64 32
  %84 = load ptr, ptr %83, align 8
  %85 = call noundef i32 %84(ptr noundef nonnull align 8 dereferenceable(176) %81)
  %86 = icmp eq i32 %85, 9
  br i1 %86, label %101, label %87

87:                                               ; preds = %80
  %88 = load ptr, ptr %7, align 8, !tbaa !5
  %89 = load ptr, ptr %88, align 8, !tbaa !13
  %90 = getelementptr inbounds ptr, ptr %89, i64 32
  %91 = load ptr, ptr %90, align 8
  %92 = call noundef i32 %91(ptr noundef nonnull align 8 dereferenceable(176) %88)
  %93 = icmp eq i32 %92, 10
  br i1 %93, label %101, label %94

94:                                               ; preds = %87
  %95 = load ptr, ptr %7, align 8, !tbaa !5
  %96 = load ptr, ptr %95, align 8, !tbaa !13
  %97 = getelementptr inbounds ptr, ptr %96, i64 32
  %98 = load ptr, ptr %97, align 8
  %99 = call noundef i32 %98(ptr noundef nonnull align 8 dereferenceable(176) %95)
  %100 = icmp eq i32 %99, 11
  br label %101

101:                                              ; preds = %94, %87, %80, %73, %66, %59, %52, %43
  %102 = phi i1 [ true, %87 ], [ true, %80 ], [ true, %73 ], [ true, %66 ], [ true, %59 ], [ true, %52 ], [ true, %43 ], [ %100, %94 ]
  %103 = zext i1 %102 to i8
  store i8 %103, ptr %9, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #3
  %104 = load i32, ptr %6, align 4, !tbaa !9
  %105 = icmp eq i32 %104, 3
  br i1 %105, label %112, label %106

106:                                              ; preds = %101
  %107 = load i32, ptr %6, align 4, !tbaa !9
  %108 = icmp eq i32 %107, 1
  br i1 %108, label %112, label %109

109:                                              ; preds = %106
  %110 = load i32, ptr %6, align 4, !tbaa !9
  %111 = icmp eq i32 %110, 2
  br label %112

112:                                              ; preds = %109, %106, %101
  %113 = phi i1 [ true, %106 ], [ true, %101 ], [ %111, %109 ]
  %114 = zext i1 %113 to i8
  store i8 %114, ptr %10, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #3
  %115 = load ptr, ptr %7, align 8, !tbaa !5
  %116 = load ptr, ptr %115, align 8, !tbaa !13
  %117 = getelementptr inbounds ptr, ptr %116, i64 32
  %118 = load ptr, ptr %117, align 8
  %119 = call noundef i32 %118(ptr noundef nonnull align 8 dereferenceable(176) %115)
  %120 = icmp eq i32 %119, 3
  br i1 %120, label %135, label %121

121:                                              ; preds = %112
  %122 = load ptr, ptr %7, align 8, !tbaa !5
  %123 = load ptr, ptr %122, align 8, !tbaa !13
  %124 = getelementptr inbounds ptr, ptr %123, i64 32
  %125 = load ptr, ptr %124, align 8
  %126 = call noundef i32 %125(ptr noundef nonnull align 8 dereferenceable(176) %122)
  %127 = icmp eq i32 %126, 1
  br i1 %127, label %135, label %128

128:                                              ; preds = %121
  %129 = load ptr, ptr %7, align 8, !tbaa !5
  %130 = load ptr, ptr %129, align 8, !tbaa !13
  %131 = getelementptr inbounds ptr, ptr %130, i64 32
  %132 = load ptr, ptr %131, align 8
  %133 = call noundef i32 %132(ptr noundef nonnull align 8 dereferenceable(176) %129)
  %134 = icmp eq i32 %133, 2
  br label %135

135:                                              ; preds = %128, %121, %112
  %136 = phi i1 [ true, %121 ], [ true, %112 ], [ %134, %128 ]
  %137 = zext i1 %136 to i8
  store i8 %137, ptr %11, align 1, !tbaa !11
  %138 = load i32, ptr %6, align 4, !tbaa !9
  %139 = icmp eq i32 %138, 4
  br i1 %139, label %143, label %140

140:                                              ; preds = %135
  %141 = load i32, ptr %6, align 4, !tbaa !9
  %142 = icmp eq i32 %141, 5
  br i1 %142, label %143, label %146

143:                                              ; preds = %140, %135
  %144 = load i8, ptr %9, align 1, !tbaa !11, !range !15, !noundef !16
  %145 = trunc i8 %144 to i1
  br i1 %145, label %146, label %163

146:                                              ; preds = %143, %140
  %147 = load ptr, ptr %7, align 8, !tbaa !5
  %148 = load ptr, ptr %147, align 8, !tbaa !13
  %149 = getelementptr inbounds ptr, ptr %148, i64 32
  %150 = load ptr, ptr %149, align 8
  %151 = call noundef i32 %150(ptr noundef nonnull align 8 dereferenceable(176) %147)
  %152 = icmp eq i32 %151, 4
  br i1 %152, label %160, label %153

153:                                              ; preds = %146
  %154 = load ptr, ptr %7, align 8, !tbaa !5
  %155 = load ptr, ptr %154, align 8, !tbaa !13
  %156 = getelementptr inbounds ptr, ptr %155, i64 32
  %157 = load ptr, ptr %156, align 8
  %158 = call noundef i32 %157(ptr noundef nonnull align 8 dereferenceable(176) %154)
  %159 = icmp eq i32 %158, 5
  br i1 %159, label %160, label %167

160:                                              ; preds = %153, %146
  %161 = load i8, ptr %8, align 1, !tbaa !11, !range !15, !noundef !16
  %162 = trunc i8 %161 to i1
  br i1 %162, label %167, label %163

163:                                              ; preds = %160, %143
  %164 = call noundef zeroext i1 @_ZNK7glslang13TIntermediate25getArithemeticInt8EnabledEv(ptr noundef nonnull align 8 dereferenceable(1784) %19)
  br i1 %164, label %166, label %165

165:                                              ; preds = %163
  store ptr null, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %350

166:                                              ; preds = %163
  br label %167

167:                                              ; preds = %166, %160, %153
  %168 = load i32, ptr %6, align 4, !tbaa !9
  %169 = icmp eq i32 %168, 6
  br i1 %169, label %173, label %170

170:                                              ; preds = %167
  %171 = load i32, ptr %6, align 4, !tbaa !9
  %172 = icmp eq i32 %171, 7
  br i1 %172, label %173, label %176

173:                                              ; preds = %170, %167
  %174 = load i8, ptr %9, align 1, !tbaa !11, !range !15, !noundef !16
  %175 = trunc i8 %174 to i1
  br i1 %175, label %176, label %193

176:                                              ; preds = %173, %170
  %177 = load ptr, ptr %7, align 8, !tbaa !5
  %178 = load ptr, ptr %177, align 8, !tbaa !13
  %179 = getelementptr inbounds ptr, ptr %178, i64 32
  %180 = load ptr, ptr %179, align 8
  %181 = call noundef i32 %180(ptr noundef nonnull align 8 dereferenceable(176) %177)
  %182 = icmp eq i32 %181, 6
  br i1 %182, label %190, label %183

183:                                              ; preds = %176
  %184 = load ptr, ptr %7, align 8, !tbaa !5
  %185 = load ptr, ptr %184, align 8, !tbaa !13
  %186 = getelementptr inbounds ptr, ptr %185, i64 32
  %187 = load ptr, ptr %186, align 8
  %188 = call noundef i32 %187(ptr noundef nonnull align 8 dereferenceable(176) %184)
  %189 = icmp eq i32 %188, 7
  br i1 %189, label %190, label %197

190:                                              ; preds = %183, %176
  %191 = load i8, ptr %8, align 1, !tbaa !11, !range !15, !noundef !16
  %192 = trunc i8 %191 to i1
  br i1 %192, label %197, label %193

193:                                              ; preds = %190, %173
  %194 = call noundef zeroext i1 @_ZNK7glslang13TIntermediate26getArithemeticInt16EnabledEv(ptr noundef nonnull align 8 dereferenceable(1784) %19)
  br i1 %194, label %196, label %195

195:                                              ; preds = %193
  store ptr null, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %350

196:                                              ; preds = %193
  br label %197

197:                                              ; preds = %196, %190, %183
  %198 = load i32, ptr %6, align 4, !tbaa !9
  %199 = icmp eq i32 %198, 3
  br i1 %199, label %200, label %203

200:                                              ; preds = %197
  %201 = load i8, ptr %11, align 1, !tbaa !11, !range !15, !noundef !16
  %202 = trunc i8 %201 to i1
  br i1 %202, label %203, label %213

203:                                              ; preds = %200, %197
  %204 = load ptr, ptr %7, align 8, !tbaa !5
  %205 = load ptr, ptr %204, align 8, !tbaa !13
  %206 = getelementptr inbounds ptr, ptr %205, i64 32
  %207 = load ptr, ptr %206, align 8
  %208 = call noundef i32 %207(ptr noundef nonnull align 8 dereferenceable(176) %204)
  %209 = icmp eq i32 %208, 3
  br i1 %209, label %210, label %217

210:                                              ; preds = %203
  %211 = load i8, ptr %10, align 1, !tbaa !11, !range !15, !noundef !16
  %212 = trunc i8 %211 to i1
  br i1 %212, label %217, label %213

213:                                              ; preds = %210, %200
  %214 = call noundef zeroext i1 @_ZNK7glslang13TIntermediate28getArithemeticFloat16EnabledEv(ptr noundef nonnull align 8 dereferenceable(1784) %19)
  br i1 %214, label %216, label %215

215:                                              ; preds = %213
  store ptr null, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %350

216:                                              ; preds = %213
  br label %217

217:                                              ; preds = %216, %210, %203
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  store ptr null, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  store i32 0, ptr %14, align 4, !tbaa !17
  %218 = load i32, ptr %6, align 4, !tbaa !9
  %219 = load ptr, ptr %7, align 8, !tbaa !5
  %220 = load ptr, ptr %219, align 8, !tbaa !13
  %221 = getelementptr inbounds ptr, ptr %220, i64 32
  %222 = load ptr, ptr %221, align 8
  %223 = call noundef i32 %222(ptr noundef nonnull align 8 dereferenceable(176) %219)
  %224 = call noundef zeroext i1 @_ZNK7glslang13TIntermediate14buildConvertOpENS_10TBasicTypeES1_RNS_9TOperatorE(ptr noundef nonnull align 8 dereferenceable(1784) %19, i32 noundef %218, i32 noundef %223, ptr noundef nonnull align 4 dereferenceable(4) %14)
  br i1 %224, label %226, label %225

225:                                              ; preds = %217
  store ptr null, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %349

226:                                              ; preds = %217
  call void @llvm.lifetime.start.p0(i64 144, ptr %15) #3
  %227 = load i32, ptr %6, align 4, !tbaa !9
  %228 = load ptr, ptr %7, align 8, !tbaa !5
  %229 = load ptr, ptr %228, align 8, !tbaa !13
  %230 = getelementptr inbounds ptr, ptr %229, i64 38
  %231 = load ptr, ptr %230, align 8
  %232 = call noundef i32 %231(ptr noundef nonnull align 8 dereferenceable(176) %228)
  %233 = load ptr, ptr %7, align 8, !tbaa !5
  %234 = load ptr, ptr %233, align 8, !tbaa !13
  %235 = getelementptr inbounds ptr, ptr %234, i64 39
  %236 = load ptr, ptr %235, align 8
  %237 = call noundef i32 %236(ptr noundef nonnull align 8 dereferenceable(176) %233)
  %238 = load ptr, ptr %7, align 8, !tbaa !5
  %239 = load ptr, ptr %238, align 8, !tbaa !13
  %240 = getelementptr inbounds ptr, ptr %239, i64 40
  %241 = load ptr, ptr %240, align 8
  %242 = call noundef i32 %241(ptr noundef nonnull align 8 dereferenceable(176) %238)
  call void @_ZN7glslang5TTypeC2ENS_10TBasicTypeENS_17TStorageQualifierEiiib(ptr noundef nonnull align 8 dereferenceable(144) %15, i32 noundef %227, i32 noundef 0, i32 noundef %232, i32 noundef %237, i32 noundef %242, i1 noundef zeroext false)
  %243 = load i32, ptr %14, align 4, !tbaa !17
  %244 = load ptr, ptr %7, align 8, !tbaa !5
  %245 = load ptr, ptr %7, align 8, !tbaa !5
  %246 = load ptr, ptr %245, align 8, !tbaa !13
  %247 = getelementptr inbounds ptr, ptr %246, i64 0
  %248 = load ptr, ptr %247, align 8
  %249 = invoke noundef nonnull align 8 dereferenceable(24) ptr %248(ptr noundef nonnull align 8 dereferenceable(32) %245)
          to label %250 unwind label %301

250:                                              ; preds = %226
  %251 = invoke noundef ptr @_ZNK7glslang13TIntermediate12addUnaryNodeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocERKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(1784) %19, i32 noundef %243, ptr noundef %244, ptr noundef nonnull align 8 dereferenceable(24) %249, ptr noundef nonnull align 8 dereferenceable(144) %15)
          to label %252 unwind label %301

252:                                              ; preds = %250
  store ptr %251, ptr %13, align 8, !tbaa !5
  %253 = load ptr, ptr %7, align 8, !tbaa !5
  %254 = load ptr, ptr %253, align 8, !tbaa !13
  %255 = getelementptr inbounds ptr, ptr %254, i64 5
  %256 = load ptr, ptr %255, align 8
  %257 = invoke noundef ptr %256(ptr noundef nonnull align 8 dereferenceable(32) %253)
          to label %258 unwind label %301

258:                                              ; preds = %252
  %259 = icmp ne ptr %257, null
  br i1 %259, label %260, label %314

260:                                              ; preds = %258
  %261 = invoke noundef zeroext i1 @_ZNK7glslang13TIntermediate25getArithemeticInt8EnabledEv(ptr noundef nonnull align 8 dereferenceable(1784) %19)
          to label %262 unwind label %301

262:                                              ; preds = %260
  br i1 %261, label %269, label %263

263:                                              ; preds = %262
  %264 = load i32, ptr %6, align 4, !tbaa !9
  %265 = icmp eq i32 %264, 4
  br i1 %265, label %313, label %266

266:                                              ; preds = %263
  %267 = load i32, ptr %6, align 4, !tbaa !9
  %268 = icmp eq i32 %267, 5
  br i1 %268, label %313, label %269

269:                                              ; preds = %266, %262
  %270 = invoke noundef zeroext i1 @_ZNK7glslang13TIntermediate26getArithemeticInt16EnabledEv(ptr noundef nonnull align 8 dereferenceable(1784) %19)
          to label %271 unwind label %301

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

272:                                              ; preds = %271
  %273 = load i32, ptr %6, align 4, !tbaa !9
  %274 = icmp eq i32 %273, 6
  br i1 %274, label %313, label %275

275:                                              ; preds = %272
  %276 = load i32, ptr %6, align 4, !tbaa !9
  %277 = icmp eq i32 %276, 7
  br i1 %277, label %313, label %278

278:                                              ; preds = %275, %271
  %279 = invoke noundef zeroext i1 @_ZNK7glslang13TIntermediate28getArithemeticFloat16EnabledEv(ptr noundef nonnull align 8 dereferenceable(1784) %19)
          to label %280 unwind label %301

280:                                              ; preds = %278
  br i1 %279, label %284, label %281

281:                                              ; preds = %280
  %282 = load i32, ptr %6, align 4, !tbaa !9
  %283 = icmp eq i32 %282, 3
  br i1 %283, label %313, label %284

284:                                              ; preds = %281, %280
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  %285 = load ptr, ptr %7, align 8, !tbaa !5
  %286 = load ptr, ptr %285, align 8, !tbaa !13
  %287 = getelementptr inbounds ptr, ptr %286, i64 5
  %288 = load ptr, ptr %287, align 8
  %289 = invoke noundef ptr %288(ptr noundef nonnull align 8 dereferenceable(32) %285)
          to label %290 unwind label %305

290:                                              ; preds = %284
  %291 = load i32, ptr %14, align 4, !tbaa !17
  %292 = load ptr, ptr %289, align 8, !tbaa !13
  %293 = getelementptr inbounds ptr, ptr %292, i64 49
  %294 = load ptr, ptr %293, align 8
  %295 = invoke noundef ptr %294(ptr noundef nonnull align 8 dereferenceable(193) %289, i32 noundef %291, ptr noundef nonnull align 8 dereferenceable(144) %15)
          to label %296 unwind label %305

296:                                              ; preds = %290
  store ptr %295, ptr %18, align 8, !tbaa !5
  %297 = load ptr, ptr %18, align 8, !tbaa !5
  %298 = icmp ne ptr %297, null
  br i1 %298, label %299, label %309

299:                                              ; preds = %296
  %300 = load ptr, ptr %18, align 8, !tbaa !5
  store ptr %300, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %310

301:                                              ; preds = %343, %338, %332, %328, %325, %320, %314, %278, %269, %260, %252, %250, %226
  %302 = landingpad { ptr, i32 }
          cleanup
  %303 = extractvalue { ptr, i32 } %302, 0
  store ptr %303, ptr %16, align 8
  %304 = extractvalue { ptr, i32 } %302, 1
  store i32 %304, ptr %17, align 4
  br label %348

305:                                              ; preds = %290, %284
  %306 = landingpad { ptr, i32 }
          cleanup
  %307 = extractvalue { ptr, i32 } %306, 0
  store ptr %307, ptr %16, align 8
  %308 = extractvalue { ptr, i32 } %306, 1
  store i32 %308, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  br label %348

309:                                              ; preds = %296
  store i32 0, ptr %12, align 4
  br label %310

310:                                              ; preds = %309, %299
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  %311 = load i32, ptr %12, align 4
  switch i32 %311, label %347 [
    i32 0, label %312
  ]

312:                                              ; preds = %310
  br label %313

313:                                              ; preds = %312, %281, %275, %272, %266, %263
  br label %314

314:                                              ; preds = %313, %258
  %315 = load ptr, ptr %7, align 8, !tbaa !5
  %316 = load ptr, ptr %315, align 8, !tbaa !13
  %317 = getelementptr inbounds ptr, ptr %316, i64 30
  %318 = load ptr, ptr %317, align 8
  %319 = invoke noundef nonnull align 8 dereferenceable(144) ptr %318(ptr noundef nonnull align 8 dereferenceable(176) %315)
          to label %320 unwind label %301

320:                                              ; preds = %314
  %321 = load ptr, ptr %319, align 8, !tbaa !13
  %322 = getelementptr inbounds ptr, ptr %321, i64 11
  %323 = load ptr, ptr %322, align 8
  %324 = invoke noundef nonnull align 8 dereferenceable(72) ptr %323(ptr noundef nonnull align 8 dereferenceable(144) %319)
          to label %325 unwind label %301

325:                                              ; preds = %320
  %326 = invoke noundef zeroext i1 @_ZNK7glslang10TQualifier14isSpecConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %324)
          to label %327 unwind label %301

327:                                              ; preds = %325
  br i1 %326, label %328, label %345

328:                                              ; preds = %327
  %329 = load ptr, ptr %13, align 8, !tbaa !5
  %330 = invoke noundef zeroext i1 @_ZNK7glslang13TIntermediate25isSpecializationOperationERKNS_15TIntermOperatorE(ptr noundef nonnull align 8 dereferenceable(1784) %19, ptr noundef nonnull align 8 dereferenceable(184) %329)
          to label %331 unwind label %301

331:                                              ; preds = %328
  br i1 %330, label %332, label %345

332:                                              ; preds = %331
  %333 = load ptr, ptr %13, align 8, !tbaa !5
  %334 = load ptr, ptr %333, align 8, !tbaa !13
  %335 = getelementptr inbounds ptr, ptr %334, i64 31
  %336 = load ptr, ptr %335, align 8
  %337 = invoke noundef nonnull align 8 dereferenceable(144) ptr %336(ptr noundef nonnull align 8 dereferenceable(176) %333)
          to label %338 unwind label %301

338:                                              ; preds = %332
  %339 = load ptr, ptr %337, align 8, !tbaa !13
  %340 = getelementptr inbounds ptr, ptr %339, i64 10
  %341 = load ptr, ptr %340, align 8
  %342 = invoke noundef nonnull align 8 dereferenceable(72) ptr %341(ptr noundef nonnull align 8 dereferenceable(144) %337)
          to label %343 unwind label %301

343:                                              ; preds = %338
  invoke void @_ZN7glslang10TQualifier16makeSpecConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %342)
          to label %344 unwind label %301

344:                                              ; preds = %343
  br label %345

345:                                              ; preds = %344, %331, %327
  %346 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %346, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %347

347:                                              ; preds = %345, %310
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %15) #3
  call void @llvm.lifetime.end.p0(i64 144, ptr %15) #3
  br label %349

348:                                              ; preds = %305, %301
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %15) #3
  call void @llvm.lifetime.end.p0(i64 144, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #3
  br label %352

349:                                              ; preds = %347, %225
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  br label %350

350:                                              ; preds = %349, %215, %195, %165
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #3
  %351 = load ptr, ptr %4, align 8
  ret ptr %351

352:                                              ; preds = %348
  %353 = load ptr, ptr %16, align 8
  %354 = load i32, ptr %17, align 4
  %355 = insertvalue { ptr, i32 } poison, ptr %353, 0
  %356 = insertvalue { ptr, i32 } %355, i32 %354, 1
  resume { ptr, i32 } %356
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK7glslang13TIntermediate25isSpecializationOperationERKNS_15TIntermOperatorE(ptr noundef nonnull align 8 dereferenceable(1784), ptr noundef nonnull align 8 dereferenceable(184)) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7glslang13TIntermediate12addUnaryNodeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocERKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(1784), i32 noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(144)) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7glslang13TIntermediate14buildConvertOpENS_10TBasicTypeES1_RNS_9TOperatorE(ptr noundef nonnull align 8 dereferenceable(1784), i32 noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK7glslang13TIntermediate28getArithemeticFloat16EnabledEv(ptr noundef nonnull align 8 dereferenceable(1784)) #1 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 = { 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 = !{!"_ZTSN7glslang10TBasicTypeE", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!18, !18, i64 0}
!18 = !{!"_ZTSN7glslang9TOperatorE", !7, i64 0}


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

%"class.glslang::TType" = type { ptr, i32, [4 x i8], %"class.glslang::TQualifier", ptr, %union.anon, ptr, ptr, %"struct.glslang::TSampler", ptr, ptr }
%"class.glslang::TQualifier" = type <{ ptr, i64, i8, [3 x i8], i32, i32, i64, i64, i8, i8, i8, i8, i8, [3 x i8], i32, i8, [3 x i8], i32, ptr }>
%union.anon = type { ptr }
%"struct.glslang::TSampler" = type { i32 }

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZNK7glslang13TIntermediate16createConversionENS_10TBasicTypeEPNS_12TIntermTypedE(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca %"class.glslang::TType", align 8
  %6 = and i32 %1, -2
  %or.cond = icmp ne i32 %6, 4
  %7 = add i32 %1, -4
  %switch.selectcmp = icmp ult i32 %7, 8
  %8 = load ptr, ptr %2, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %8, i64 256
  %10 = load ptr, ptr %9, align 8
  %11 = tail call noundef i32 %10(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %12 = icmp eq i32 %11, 4
  br i1 %12, label %switch.edge93, label %13

13:                                               ; preds = %3
  %14 = load ptr, ptr %2, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %14, i64 256
  %16 = load ptr, ptr %15, align 8
  %17 = tail call noundef i32 %16(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %18 = icmp eq i32 %17, 5
  br i1 %18, label %switch.edge93, label %19

19:                                               ; preds = %13
  %20 = load ptr, ptr %2, align 8, !tbaa !5
  %21 = getelementptr inbounds i8, ptr %20, i64 256
  %22 = load ptr, ptr %21, align 8
  %23 = tail call noundef i32 %22(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %24 = icmp eq i32 %23, 6
  br i1 %24, label %switch.edge93, label %25

25:                                               ; preds = %19
  %26 = load ptr, ptr %2, align 8, !tbaa !5
  %27 = getelementptr inbounds i8, ptr %26, i64 256
  %28 = load ptr, ptr %27, align 8
  %29 = tail call noundef i32 %28(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %30 = icmp eq i32 %29, 7
  br i1 %30, label %switch.edge93, label %31

31:                                               ; preds = %25
  %32 = load ptr, ptr %2, align 8, !tbaa !5
  %33 = getelementptr inbounds i8, ptr %32, i64 256
  %34 = load ptr, ptr %33, align 8
  %35 = tail call noundef i32 %34(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %36 = icmp eq i32 %35, 8
  br i1 %36, label %switch.edge93, label %37

37:                                               ; preds = %31
  %38 = load ptr, ptr %2, align 8, !tbaa !5
  %39 = getelementptr inbounds i8, ptr %38, i64 256
  %40 = load ptr, ptr %39, align 8
  %41 = tail call noundef i32 %40(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %42 = icmp eq i32 %41, 9
  br i1 %42, label %switch.edge93, label %43

43:                                               ; preds = %37
  %44 = load ptr, ptr %2, align 8, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %44, i64 256
  %46 = load ptr, ptr %45, align 8
  %47 = tail call noundef i32 %46(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %48 = icmp eq i32 %47, 10
  br i1 %48, label %switch.edge93, label %49

49:                                               ; preds = %43
  %50 = load ptr, ptr %2, align 8, !tbaa !5
  %51 = getelementptr inbounds i8, ptr %50, i64 256
  %52 = load ptr, ptr %51, align 8
  %53 = tail call noundef i32 %52(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %54 = icmp eq i32 %53, 11
  br label %switch.edge93

switch.edge93:                                    ; preds = %49, %43, %37, %31, %25, %19, %13, %3
  %55 = phi i1 [ true, %43 ], [ true, %37 ], [ true, %31 ], [ true, %25 ], [ true, %19 ], [ true, %13 ], [ true, %3 ], [ %54, %49 ]
  %56 = icmp ne i32 %1, 3
  %.off = add i32 %1, -1
  %switch = icmp ult i32 %.off, 3
  %57 = load ptr, ptr %2, align 8, !tbaa !5
  %58 = getelementptr inbounds i8, ptr %57, i64 256
  %59 = load ptr, ptr %58, align 8
  %60 = tail call noundef i32 %59(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %61 = icmp eq i32 %60, 3
  br i1 %61, label %74, label %62

62:                                               ; preds = %switch.edge93
  %63 = load ptr, ptr %2, align 8, !tbaa !5
  %64 = getelementptr inbounds i8, ptr %63, i64 256
  %65 = load ptr, ptr %64, align 8
  %66 = tail call noundef i32 %65(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %67 = icmp eq i32 %66, 1
  br i1 %67, label %74, label %68

68:                                               ; preds = %62
  %69 = load ptr, ptr %2, align 8, !tbaa !5
  %70 = getelementptr inbounds i8, ptr %69, i64 256
  %71 = load ptr, ptr %70, align 8
  %72 = tail call noundef i32 %71(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %73 = icmp eq i32 %72, 2
  br label %74

74:                                               ; preds = %68, %62, %switch.edge93
  %75 = phi i1 [ true, %62 ], [ true, %switch.edge93 ], [ %73, %68 ]
  %brmerge = or i1 %or.cond, %55
  br i1 %brmerge, label %76, label %89

76:                                               ; preds = %74
  %77 = load ptr, ptr %2, align 8, !tbaa !5
  %78 = getelementptr inbounds i8, ptr %77, i64 256
  %79 = load ptr, ptr %78, align 8
  %80 = tail call noundef i32 %79(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %81 = icmp eq i32 %80, 4
  br i1 %81, label %88, label %82

82:                                               ; preds = %76
  %83 = load ptr, ptr %2, align 8, !tbaa !5
  %84 = getelementptr inbounds i8, ptr %83, i64 256
  %85 = load ptr, ptr %84, align 8
  %86 = tail call noundef i32 %85(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %87 = icmp ne i32 %86, 5
  %brmerge95 = or i1 %switch.selectcmp, %87
  br i1 %brmerge95, label %91, label %89

88:                                               ; preds = %76
  br i1 %switch.selectcmp, label %91, label %89

89:                                               ; preds = %82, %74, %88
  %90 = tail call noundef zeroext i1 @_ZNK7glslang13TIntermediate25getArithemeticInt8EnabledEv(ptr noundef nonnull align 8 dereferenceable(1784) %0)
  br i1 %90, label %91, label %200

91:                                               ; preds = %82, %89, %88
  %or.cond17 = icmp ne i32 %6, 6
  %brmerge96 = or i1 %or.cond17, %55
  br i1 %brmerge96, label %92, label %105

92:                                               ; preds = %91
  %93 = load ptr, ptr %2, align 8, !tbaa !5
  %94 = getelementptr inbounds i8, ptr %93, i64 256
  %95 = load ptr, ptr %94, align 8
  %96 = tail call noundef i32 %95(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %97 = icmp eq i32 %96, 6
  br i1 %97, label %104, label %98

98:                                               ; preds = %92
  %99 = load ptr, ptr %2, align 8, !tbaa !5
  %100 = getelementptr inbounds i8, ptr %99, i64 256
  %101 = load ptr, ptr %100, align 8
  %102 = tail call noundef i32 %101(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %103 = icmp ne i32 %102, 7
  %brmerge98 = or i1 %switch.selectcmp, %103
  br i1 %brmerge98, label %107, label %105

104:                                              ; preds = %92
  br i1 %switch.selectcmp, label %.thread, label %105

105:                                              ; preds = %98, %91, %104
  %106 = tail call noundef zeroext i1 @_ZNK7glslang13TIntermediate26getArithemeticInt16EnabledEv(ptr noundef nonnull align 8 dereferenceable(1784) %0)
  br i1 %106, label %107, label %200

107:                                              ; preds = %98, %105
  %brmerge100 = or i1 %56, %75
  br i1 %brmerge100, label %.thread, label %113

.thread:                                          ; preds = %104, %107
  %108 = load ptr, ptr %2, align 8, !tbaa !5
  %109 = getelementptr inbounds i8, ptr %108, i64 256
  %110 = load ptr, ptr %109, align 8
  %111 = tail call noundef i32 %110(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %112 = icmp ne i32 %111, 3
  %brmerge102 = or i1 %switch, %112
  br i1 %brmerge102, label %115, label %113

113:                                              ; preds = %.thread, %107
  %114 = tail call noundef zeroext i1 @_ZNK7glslang13TIntermediate28getArithemeticFloat16EnabledEv(ptr noundef nonnull align 8 dereferenceable(1784) %0)
  br i1 %114, label %115, label %200

115:                                              ; preds = %.thread, %113
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
  store i32 0, ptr %4, align 4, !tbaa !8
  %116 = load ptr, ptr %2, align 8, !tbaa !5
  %117 = getelementptr inbounds i8, ptr %116, i64 256
  %118 = load ptr, ptr %117, align 8
  %119 = tail call noundef i32 %118(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %120 = call noundef zeroext i1 @_ZNK7glslang13TIntermediate14buildConvertOpENS_10TBasicTypeES1_RNS_9TOperatorE(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef %1, i32 noundef %119, ptr noundef nonnull align 4 dereferenceable(4) %4)
  br i1 %120, label %121, label %199

121:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %5) #3
  %122 = load ptr, ptr %2, align 8, !tbaa !5
  %123 = getelementptr inbounds i8, ptr %122, i64 304
  %124 = load ptr, ptr %123, align 8
  %125 = call noundef i32 %124(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %126 = load ptr, ptr %2, align 8, !tbaa !5
  %127 = getelementptr inbounds i8, ptr %126, i64 312
  %128 = load ptr, ptr %127, align 8
  %129 = call noundef i32 %128(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %130 = load ptr, ptr %2, align 8, !tbaa !5
  %131 = getelementptr inbounds i8, ptr %130, i64 320
  %132 = load ptr, ptr %131, align 8
  %133 = call noundef i32 %132(ptr noundef nonnull align 8 dereferenceable(176) %2)
  call void @_ZN7glslang5TTypeC2ENS_10TBasicTypeENS_17TStorageQualifierEiiib(ptr noundef nonnull align 8 dereferenceable(144) %5, i32 noundef %1, i32 noundef 0, i32 noundef %125, i32 noundef %129, i32 noundef %133, i1 noundef zeroext false)
  %134 = load i32, ptr %4, align 4, !tbaa !8
  %135 = load ptr, ptr %2, align 8, !tbaa !5
  %136 = load ptr, ptr %135, align 8
  %137 = invoke noundef nonnull align 8 dereferenceable(24) ptr %136(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %138 unwind label %167

138:                                              ; preds = %121
  %139 = invoke noundef ptr @_ZNK7glslang13TIntermediate12addUnaryNodeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocERKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef %134, ptr noundef nonnull %2, ptr noundef nonnull align 8 dereferenceable(24) %137, ptr noundef nonnull align 8 dereferenceable(144) %5)
          to label %140 unwind label %167

140:                                              ; preds = %138
  %141 = load ptr, ptr %2, align 8, !tbaa !5
  %142 = getelementptr inbounds i8, ptr %141, i64 40
  %143 = load ptr, ptr %142, align 8
  %144 = invoke noundef ptr %143(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %145 unwind label %167

145:                                              ; preds = %140
  %.not90 = icmp eq ptr %144, null
  br i1 %.not90, label %171, label %146

146:                                              ; preds = %145
  %147 = invoke noundef zeroext i1 @_ZNK7glslang13TIntermediate25getArithemeticInt8EnabledEv(ptr noundef nonnull align 8 dereferenceable(1784) %0)
          to label %148 unwind label %167

148:                                              ; preds = %146
  %brmerge104 = or i1 %or.cond, %147
  br i1 %brmerge104, label %149, label %171

149:                                              ; preds = %148
  %150 = invoke noundef zeroext i1 @_ZNK7glslang13TIntermediate26getArithemeticInt16EnabledEv(ptr noundef nonnull align 8 dereferenceable(1784) %0)
          to label %151 unwind label %167

151:                                              ; preds = %149
  %brmerge106 = or i1 %or.cond17, %150
  br i1 %brmerge106, label %152, label %171

152:                                              ; preds = %151
  %153 = invoke noundef zeroext i1 @_ZNK7glslang13TIntermediate28getArithemeticFloat16EnabledEv(ptr noundef nonnull align 8 dereferenceable(1784) %0)
          to label %154 unwind label %167

154:                                              ; preds = %152
  %or.cond23.not = or i1 %56, %153
  br i1 %or.cond23.not, label %155, label %171

155:                                              ; preds = %154
  %156 = load ptr, ptr %2, align 8, !tbaa !5
  %157 = getelementptr inbounds i8, ptr %156, i64 40
  %158 = load ptr, ptr %157, align 8
  %159 = invoke noundef ptr %158(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %160 unwind label %169

160:                                              ; preds = %155
  %161 = load i32, ptr %4, align 4, !tbaa !8
  %162 = load ptr, ptr %159, align 8, !tbaa !5
  %163 = getelementptr inbounds i8, ptr %162, i64 392
  %164 = load ptr, ptr %163, align 8
  %165 = invoke noundef ptr %164(ptr noundef nonnull align 8 dereferenceable(193) %159, i32 noundef %161, ptr noundef nonnull align 8 dereferenceable(144) %5)
          to label %166 unwind label %169

166:                                              ; preds = %160
  %.not91 = icmp eq ptr %165, null
  br i1 %.not91, label %171, label %197

167:                                              ; preds = %191, %186, %183, %176, %171, %152, %149, %146, %140, %138, %121
  %168 = landingpad { ptr, i32 }
          cleanup
  br label %198

169:                                              ; preds = %160, %155
  %170 = landingpad { ptr, i32 }
          cleanup
  br label %198

171:                                              ; preds = %151, %148, %154, %166, %145
  %172 = load ptr, ptr %2, align 8, !tbaa !5
  %173 = getelementptr inbounds i8, ptr %172, i64 240
  %174 = load ptr, ptr %173, align 8
  %175 = invoke noundef nonnull align 8 dereferenceable(144) ptr %174(ptr noundef nonnull align 8 dereferenceable(176) %2)
          to label %176 unwind label %167

176:                                              ; preds = %171
  %177 = load ptr, ptr %175, align 8, !tbaa !5
  %178 = getelementptr inbounds i8, ptr %177, i64 88
  %179 = load ptr, ptr %178, align 8
  %180 = invoke noundef nonnull align 8 dereferenceable(72) ptr %179(ptr noundef nonnull align 8 dereferenceable(144) %175)
          to label %181 unwind label %167

181:                                              ; preds = %176
  %182 = call noundef zeroext i1 @_ZNK7glslang10TQualifier14isSpecConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %180)
  br i1 %182, label %183, label %197

183:                                              ; preds = %181
  %184 = invoke noundef zeroext i1 @_ZNK7glslang13TIntermediate25isSpecializationOperationERKNS_15TIntermOperatorE(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull align 8 dereferenceable(184) %139)
          to label %185 unwind label %167

185:                                              ; preds = %183
  br i1 %184, label %186, label %197

186:                                              ; preds = %185
  %187 = load ptr, ptr %139, align 8, !tbaa !5
  %188 = getelementptr inbounds i8, ptr %187, i64 248
  %189 = load ptr, ptr %188, align 8
  %190 = invoke noundef nonnull align 8 dereferenceable(144) ptr %189(ptr noundef nonnull align 8 dereferenceable(176) %139)
          to label %191 unwind label %167

191:                                              ; preds = %186
  %192 = load ptr, ptr %190, align 8, !tbaa !5
  %193 = getelementptr inbounds i8, ptr %192, i64 80
  %194 = load ptr, ptr %193, align 8
  %195 = invoke noundef nonnull align 8 dereferenceable(72) ptr %194(ptr noundef nonnull align 8 dereferenceable(144) %190)
          to label %196 unwind label %167

196:                                              ; preds = %191
  call void @_ZN7glslang10TQualifier16makeSpecConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %195)
  br label %197

197:                                              ; preds = %181, %185, %196, %166
  %.1 = phi ptr [ %165, %166 ], [ %139, %196 ], [ %139, %185 ], [ %139, %181 ]
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %5) #3
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %5) #3
  br label %199

198:                                              ; preds = %169, %167
  %.pn = phi { ptr, i32 } [ %168, %167 ], [ %170, %169 ]
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %5) #3
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
  resume { ptr, i32 } %.pn

199:                                              ; preds = %115, %197
  %.2 = phi ptr [ %.1, %197 ], [ null, %115 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
  br label %200

200:                                              ; preds = %113, %105, %89, %199
  %.3 = phi ptr [ %.2, %199 ], [ null, %89 ], [ null, %105 ], [ null, %113 ]
  ret ptr %.3
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK7glslang13TIntermediate25isSpecializationOperationERKNS_15TIntermOperatorE(ptr noundef nonnull align 8 dereferenceable(1784), ptr noundef nonnull align 8 dereferenceable(184)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7glslang13TIntermediate12addUnaryNodeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocERKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(1784), i32 noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #1 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK7glslang13TIntermediate28getArithemeticFloat16EnabledEv(ptr noundef nonnull align 8 dereferenceable(1784)) local_unnamed_addr #1 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 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"_ZTSN7glslang9TOperatorE", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass