; 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 }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.87", %"struct.std::_Head_base.88" }
%"struct.std::_Tuple_impl.87" = type { %"struct.std::_Head_base" }
%"struct.std::_Head_base" = type { ptr }
%"struct.std::_Head_base.88" = type { ptr }

; 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
define dso_local noundef ptr @_ZN7glslang13TIntermediate13addBinaryMathENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef nonnull align 8 dereferenceable(24) %4) #1 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"class.glslang::TType", align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca %"class.glslang::TType", align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca %"class.glslang::TType", align 8
  %24 = alloca %"class.glslang::TType", align 8
  %25 = alloca %"class.glslang::TType", align 8
  %26 = alloca %"class.glslang::TType", align 8
  %27 = alloca ptr, align 8
  %28 = alloca %"class.std::tuple", align 8
  %29 = alloca i32, align 4
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i32 %1, ptr %8, align 4, !tbaa !9
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  %34 = load ptr, ptr %7, align 8
  %35 = load ptr, ptr %9, align 8, !tbaa !5
  %36 = load ptr, ptr %35, align 8, !tbaa !11
  %37 = getelementptr inbounds ptr, ptr %36, i64 30
  %38 = load ptr, ptr %37, align 8
  %39 = call noundef nonnull align 8 dereferenceable(144) ptr %38(ptr noundef nonnull align 8 dereferenceable(176) %35)
  %40 = load ptr, ptr %39, align 8, !tbaa !11
  %41 = getelementptr inbounds ptr, ptr %40, i64 7
  %42 = load ptr, ptr %41, align 8
  %43 = call noundef i32 %42(ptr noundef nonnull align 8 dereferenceable(144) %39)
  %44 = icmp eq i32 %43, 16
  br i1 %44, label %56, label %45

45:                                               ; preds = %5
  %46 = load ptr, ptr %10, align 8, !tbaa !5
  %47 = load ptr, ptr %46, align 8, !tbaa !11
  %48 = getelementptr inbounds ptr, ptr %47, i64 30
  %49 = load ptr, ptr %48, align 8
  %50 = call noundef nonnull align 8 dereferenceable(144) ptr %49(ptr noundef nonnull align 8 dereferenceable(176) %46)
  %51 = load ptr, ptr %50, align 8, !tbaa !11
  %52 = getelementptr inbounds ptr, ptr %51, i64 7
  %53 = load ptr, ptr %52, align 8
  %54 = call noundef i32 %53(ptr noundef nonnull align 8 dereferenceable(144) %50)
  %55 = icmp eq i32 %54, 16
  br i1 %55, label %56, label %57

56:                                               ; preds = %45, %5
  store ptr null, ptr %6, align 8
  br label %414

57:                                               ; preds = %45
  %58 = load i32, ptr %8, align 4, !tbaa !9
  %59 = icmp eq i32 %58, 154
  br i1 %59, label %63, label %60

60:                                               ; preds = %57
  %61 = load i32, ptr %8, align 4, !tbaa !9
  %62 = icmp eq i32 %61, 155
  br i1 %62, label %63, label %148

63:                                               ; preds = %60, %57
  %64 = load ptr, ptr %9, align 8, !tbaa !5
  %65 = call noundef zeroext i1 @_ZNK7glslang12TIntermTyped11isReferenceEv(ptr noundef nonnull align 8 dereferenceable(176) %64)
  br i1 %65, label %66, label %80

66:                                               ; preds = %63
  %67 = load ptr, ptr %9, align 8, !tbaa !5
  %68 = load ptr, ptr %67, align 8, !tbaa !11
  %69 = getelementptr inbounds ptr, ptr %68, i64 30
  %70 = load ptr, ptr %69, align 8
  %71 = call noundef nonnull align 8 dereferenceable(144) ptr %70(ptr noundef nonnull align 8 dereferenceable(176) %67)
  %72 = load ptr, ptr %71, align 8, !tbaa !11
  %73 = getelementptr inbounds ptr, ptr %72, i64 21
  %74 = load ptr, ptr %73, align 8
  %75 = call noundef ptr %74(ptr noundef nonnull align 8 dereferenceable(144) %71)
  %76 = load ptr, ptr %75, align 8, !tbaa !11
  %77 = getelementptr inbounds ptr, ptr %76, i64 48
  %78 = load ptr, ptr %77, align 8
  %79 = call noundef zeroext i1 %78(ptr noundef nonnull align 8 dereferenceable(144) %75)
  br i1 %79, label %97, label %80

80:                                               ; preds = %66, %63
  %81 = load ptr, ptr %10, align 8, !tbaa !5
  %82 = call noundef zeroext i1 @_ZNK7glslang12TIntermTyped11isReferenceEv(ptr noundef nonnull align 8 dereferenceable(176) %81)
  br i1 %82, label %83, label %98

83:                                               ; preds = %80
  %84 = load ptr, ptr %10, align 8, !tbaa !5
  %85 = load ptr, ptr %84, align 8, !tbaa !11
  %86 = getelementptr inbounds ptr, ptr %85, i64 30
  %87 = load ptr, ptr %86, align 8
  %88 = call noundef nonnull align 8 dereferenceable(144) ptr %87(ptr noundef nonnull align 8 dereferenceable(176) %84)
  %89 = load ptr, ptr %88, align 8, !tbaa !11
  %90 = getelementptr inbounds ptr, ptr %89, i64 21
  %91 = load ptr, ptr %90, align 8
  %92 = call noundef ptr %91(ptr noundef nonnull align 8 dereferenceable(144) %88)
  %93 = load ptr, ptr %92, align 8, !tbaa !11
  %94 = getelementptr inbounds ptr, ptr %93, i64 48
  %95 = load ptr, ptr %94, align 8
  %96 = call noundef zeroext i1 %95(ptr noundef nonnull align 8 dereferenceable(144) %92)
  br i1 %96, label %97, label %98

97:                                               ; preds = %83, %66
  store ptr null, ptr %6, align 8
  br label %414

98:                                               ; preds = %83, %80
  %99 = load ptr, ptr %9, align 8, !tbaa !5
  %100 = call noundef zeroext i1 @_ZNK7glslang12TIntermTyped11isReferenceEv(ptr noundef nonnull align 8 dereferenceable(176) %99)
  br i1 %100, label %101, label %147

101:                                              ; preds = %98
  %102 = load ptr, ptr %10, align 8, !tbaa !5
  %103 = load ptr, ptr %102, align 8, !tbaa !11
  %104 = getelementptr inbounds ptr, ptr %103, i64 32
  %105 = load ptr, ptr %104, align 8
  %106 = call noundef i32 %105(ptr noundef nonnull align 8 dereferenceable(176) %102)
  %107 = call noundef zeroext i1 @_ZN7glslang9isTypeIntENS_10TBasicTypeE(i32 noundef %106)
  br i1 %107, label %108, label %147

108:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %109 = load ptr, ptr %9, align 8, !tbaa !5
  %110 = load ptr, ptr %109, align 8, !tbaa !11
  %111 = getelementptr inbounds ptr, ptr %110, i64 30
  %112 = load ptr, ptr %111, align 8
  %113 = call noundef nonnull align 8 dereferenceable(144) ptr %112(ptr noundef nonnull align 8 dereferenceable(176) %109)
  store ptr %113, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %114 = load ptr, ptr %9, align 8, !tbaa !5
  %115 = load ptr, ptr %114, align 8, !tbaa !11
  %116 = getelementptr inbounds ptr, ptr %115, i64 30
  %117 = load ptr, ptr %116, align 8
  %118 = call noundef nonnull align 8 dereferenceable(144) ptr %117(ptr noundef nonnull align 8 dereferenceable(176) %114)
  %119 = call noundef i32 @_ZN7glslang13TIntermediate30computeBufferReferenceTypeSizeERKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(144) %118)
  %120 = sext i32 %119 to i64
  %121 = load ptr, ptr %11, align 8, !tbaa !5
  %122 = call noundef ptr @_ZNK7glslang13TIntermediate16addConstantUnionEyRKNS_10TSourceLocEb(ptr noundef nonnull align 8 dereferenceable(1784) %34, i64 noundef %120, ptr noundef nonnull align 8 dereferenceable(24) %121, i1 noundef zeroext true)
  store ptr %122, ptr %13, align 8, !tbaa !5
  %123 = load ptr, ptr %11, align 8, !tbaa !5
  %124 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 144, ptr %14) #5
  call void @_ZN7glslang5TTypeC2ENS_10TBasicTypeENS_17TStorageQualifierEiiib(ptr noundef nonnull align 8 dereferenceable(144) %14, i32 noundef 11, i32 noundef 0, i32 noundef 1, i32 noundef 0, i32 noundef 0, i1 noundef zeroext false)
  %125 = invoke noundef ptr @_ZN7glslang13TIntermediate22addBuiltInFunctionCallERKNS_10TSourceLocENS_9TOperatorEbP11TIntermNodeRKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(1784) %34, ptr noundef nonnull align 8 dereferenceable(24) %123, i32 noundef 149, i1 noundef zeroext true, ptr noundef %124, ptr noundef nonnull align 8 dereferenceable(144) %14)
          to label %126 unwind label %143

126:                                              ; preds = %108
  store ptr %125, ptr %9, align 8, !tbaa !5
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %14) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr %14) #5
  %127 = load ptr, ptr %10, align 8, !tbaa !5
  %128 = call noundef ptr @_ZNK7glslang13TIntermediate16createConversionENS_10TBasicTypeEPNS_12TIntermTypedE(ptr noundef nonnull align 8 dereferenceable(1784) %34, i32 noundef 10, ptr noundef %127)
  store ptr %128, ptr %10, align 8, !tbaa !5
  %129 = load ptr, ptr %10, align 8, !tbaa !5
  %130 = load ptr, ptr %13, align 8, !tbaa !5
  %131 = load ptr, ptr %11, align 8, !tbaa !5
  %132 = call noundef ptr @_ZN7glslang13TIntermediate13addBinaryMathENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %34, i32 noundef 156, ptr noundef %129, ptr noundef %130, ptr noundef nonnull align 8 dereferenceable(24) %131)
  store ptr %132, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %133 = load i32, ptr %8, align 4, !tbaa !9
  %134 = load ptr, ptr %9, align 8, !tbaa !5
  %135 = load ptr, ptr %10, align 8, !tbaa !5
  %136 = load ptr, ptr %11, align 8, !tbaa !5
  %137 = call noundef ptr @_ZN7glslang13TIntermediate13addBinaryMathENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %34, i32 noundef %133, ptr noundef %134, ptr noundef %135, ptr noundef nonnull align 8 dereferenceable(24) %136)
  store ptr %137, ptr %17, align 8, !tbaa !5
  %138 = load ptr, ptr %11, align 8, !tbaa !5
  %139 = load ptr, ptr %17, align 8, !tbaa !5
  %140 = load ptr, ptr %12, align 8, !tbaa !5
  %141 = call noundef ptr @_ZN7glslang13TIntermediate22addBuiltInFunctionCallERKNS_10TSourceLocENS_9TOperatorEbP11TIntermNodeRKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(1784) %34, ptr noundef nonnull align 8 dereferenceable(24) %138, i32 noundef 148, i1 noundef zeroext true, ptr noundef %139, ptr noundef nonnull align 8 dereferenceable(144) %140)
  store ptr %141, ptr %17, align 8, !tbaa !5
  %142 = load ptr, ptr %17, align 8, !tbaa !5
  store ptr %142, ptr %6, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %414

143:                                              ; preds = %108
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %15, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %16, align 4
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %14) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %416

147:                                              ; preds = %101, %98
  br label %148

148:                                              ; preds = %147, %60
  %149 = load i32, ptr %8, align 4, !tbaa !9
  %150 = icmp eq i32 %149, 154
  br i1 %150, label %151, label %200

151:                                              ; preds = %148
  %152 = load ptr, ptr %10, align 8, !tbaa !5
  %153 = call noundef zeroext i1 @_ZNK7glslang12TIntermTyped11isReferenceEv(ptr noundef nonnull align 8 dereferenceable(176) %152)
  br i1 %153, label %154, label %200

154:                                              ; preds = %151
  %155 = load ptr, ptr %9, align 8, !tbaa !5
  %156 = load ptr, ptr %155, align 8, !tbaa !11
  %157 = getelementptr inbounds ptr, ptr %156, i64 32
  %158 = load ptr, ptr %157, align 8
  %159 = call noundef i32 %158(ptr noundef nonnull align 8 dereferenceable(176) %155)
  %160 = call noundef zeroext i1 @_ZN7glslang9isTypeIntENS_10TBasicTypeE(i32 noundef %159)
  br i1 %160, label %161, label %200

161:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %162 = load ptr, ptr %10, align 8, !tbaa !5
  %163 = load ptr, ptr %162, align 8, !tbaa !11
  %164 = getelementptr inbounds ptr, ptr %163, i64 30
  %165 = load ptr, ptr %164, align 8
  %166 = call noundef nonnull align 8 dereferenceable(144) ptr %165(ptr noundef nonnull align 8 dereferenceable(176) %162)
  store ptr %166, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %167 = load ptr, ptr %10, align 8, !tbaa !5
  %168 = load ptr, ptr %167, align 8, !tbaa !11
  %169 = getelementptr inbounds ptr, ptr %168, i64 30
  %170 = load ptr, ptr %169, align 8
  %171 = call noundef nonnull align 8 dereferenceable(144) ptr %170(ptr noundef nonnull align 8 dereferenceable(176) %167)
  %172 = call noundef i32 @_ZN7glslang13TIntermediate30computeBufferReferenceTypeSizeERKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(144) %171)
  %173 = sext i32 %172 to i64
  %174 = load ptr, ptr %11, align 8, !tbaa !5
  %175 = call noundef ptr @_ZNK7glslang13TIntermediate16addConstantUnionEyRKNS_10TSourceLocEb(ptr noundef nonnull align 8 dereferenceable(1784) %34, i64 noundef %173, ptr noundef nonnull align 8 dereferenceable(24) %174, i1 noundef zeroext true)
  store ptr %175, ptr %19, align 8, !tbaa !5
  %176 = load ptr, ptr %11, align 8, !tbaa !5
  %177 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 144, ptr %20) #5
  call void @_ZN7glslang5TTypeC2ENS_10TBasicTypeENS_17TStorageQualifierEiiib(ptr noundef nonnull align 8 dereferenceable(144) %20, i32 noundef 11, i32 noundef 0, i32 noundef 1, i32 noundef 0, i32 noundef 0, i1 noundef zeroext false)
  %178 = invoke noundef ptr @_ZN7glslang13TIntermediate22addBuiltInFunctionCallERKNS_10TSourceLocENS_9TOperatorEbP11TIntermNodeRKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(1784) %34, ptr noundef nonnull align 8 dereferenceable(24) %176, i32 noundef 149, i1 noundef zeroext true, ptr noundef %177, ptr noundef nonnull align 8 dereferenceable(144) %20)
          to label %179 unwind label %196

179:                                              ; preds = %161
  store ptr %178, ptr %10, align 8, !tbaa !5
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %20) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr %20) #5
  %180 = load ptr, ptr %9, align 8, !tbaa !5
  %181 = call noundef ptr @_ZNK7glslang13TIntermediate16createConversionENS_10TBasicTypeEPNS_12TIntermTypedE(ptr noundef nonnull align 8 dereferenceable(1784) %34, i32 noundef 10, ptr noundef %180)
  store ptr %181, ptr %9, align 8, !tbaa !5
  %182 = load ptr, ptr %9, align 8, !tbaa !5
  %183 = load ptr, ptr %19, align 8, !tbaa !5
  %184 = load ptr, ptr %11, align 8, !tbaa !5
  %185 = call noundef ptr @_ZN7glslang13TIntermediate13addBinaryMathENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %34, i32 noundef 156, ptr noundef %182, ptr noundef %183, ptr noundef nonnull align 8 dereferenceable(24) %184)
  store ptr %185, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %186 = load i32, ptr %8, align 4, !tbaa !9
  %187 = load ptr, ptr %9, align 8, !tbaa !5
  %188 = load ptr, ptr %10, align 8, !tbaa !5
  %189 = load ptr, ptr %11, align 8, !tbaa !5
  %190 = call noundef ptr @_ZN7glslang13TIntermediate13addBinaryMathENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %34, i32 noundef %186, ptr noundef %187, ptr noundef %188, ptr noundef nonnull align 8 dereferenceable(24) %189)
  store ptr %190, ptr %21, align 8, !tbaa !5
  %191 = load ptr, ptr %11, align 8, !tbaa !5
  %192 = load ptr, ptr %21, align 8, !tbaa !5
  %193 = load ptr, ptr %18, align 8, !tbaa !5
  %194 = call noundef ptr @_ZN7glslang13TIntermediate22addBuiltInFunctionCallERKNS_10TSourceLocENS_9TOperatorEbP11TIntermNodeRKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(1784) %34, ptr noundef nonnull align 8 dereferenceable(24) %191, i32 noundef 148, i1 noundef zeroext true, ptr noundef %192, ptr noundef nonnull align 8 dereferenceable(144) %193)
  store ptr %194, ptr %21, align 8, !tbaa !5
  %195 = load ptr, ptr %21, align 8, !tbaa !5
  store ptr %195, ptr %6, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  br label %414

196:                                              ; preds = %161
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %15, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %16, align 4
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %20) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  br label %416

200:                                              ; preds = %154, %151, %148
  %201 = load i32, ptr %8, align 4, !tbaa !9
  %202 = icmp eq i32 %201, 155
  br i1 %202, label %203, label %261

203:                                              ; preds = %200
  %204 = load ptr, ptr %9, align 8, !tbaa !5
  %205 = call noundef zeroext i1 @_ZNK7glslang12TIntermTyped11isReferenceEv(ptr noundef nonnull align 8 dereferenceable(176) %204)
  br i1 %205, label %206, label %261

206:                                              ; preds = %203
  %207 = load ptr, ptr %10, align 8, !tbaa !5
  %208 = call noundef zeroext i1 @_ZNK7glslang12TIntermTyped11isReferenceEv(ptr noundef nonnull align 8 dereferenceable(176) %207)
  br i1 %208, label %209, label %261

209:                                              ; preds = %206
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %210 = load ptr, ptr %9, align 8, !tbaa !5
  %211 = load ptr, ptr %210, align 8, !tbaa !11
  %212 = getelementptr inbounds ptr, ptr %211, i64 30
  %213 = load ptr, ptr %212, align 8
  %214 = call noundef nonnull align 8 dereferenceable(144) ptr %213(ptr noundef nonnull align 8 dereferenceable(176) %210)
  %215 = call noundef i32 @_ZN7glslang13TIntermediate30computeBufferReferenceTypeSizeERKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(144) %214)
  %216 = sext i32 %215 to i64
  %217 = load ptr, ptr %11, align 8, !tbaa !5
  %218 = call noundef ptr @_ZNK7glslang13TIntermediate16addConstantUnionExRKNS_10TSourceLocEb(ptr noundef nonnull align 8 dereferenceable(1784) %34, i64 noundef %216, ptr noundef nonnull align 8 dereferenceable(24) %217, i1 noundef zeroext true)
  store ptr %218, ptr %22, align 8, !tbaa !5
  %219 = load ptr, ptr %11, align 8, !tbaa !5
  %220 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 144, ptr %23) #5
  call void @_ZN7glslang5TTypeC2ENS_10TBasicTypeENS_17TStorageQualifierEiiib(ptr noundef nonnull align 8 dereferenceable(144) %23, i32 noundef 11, i32 noundef 0, i32 noundef 1, i32 noundef 0, i32 noundef 0, i1 noundef zeroext false)
  %221 = invoke noundef ptr @_ZN7glslang13TIntermediate22addBuiltInFunctionCallERKNS_10TSourceLocENS_9TOperatorEbP11TIntermNodeRKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(1784) %34, ptr noundef nonnull align 8 dereferenceable(24) %219, i32 noundef 149, i1 noundef zeroext true, ptr noundef %220, ptr noundef nonnull align 8 dereferenceable(144) %23)
          to label %222 unwind label %244

222:                                              ; preds = %209
  store ptr %221, ptr %9, align 8, !tbaa !5
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %23) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr %23) #5
  %223 = load ptr, ptr %11, align 8, !tbaa !5
  %224 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 144, ptr %24) #5
  call void @_ZN7glslang5TTypeC2ENS_10TBasicTypeENS_17TStorageQualifierEiiib(ptr noundef nonnull align 8 dereferenceable(144) %24, i32 noundef 11, i32 noundef 0, i32 noundef 1, i32 noundef 0, i32 noundef 0, i1 noundef zeroext false)
  %225 = invoke noundef ptr @_ZN7glslang13TIntermediate22addBuiltInFunctionCallERKNS_10TSourceLocENS_9TOperatorEbP11TIntermNodeRKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(1784) %34, ptr noundef nonnull align 8 dereferenceable(24) %223, i32 noundef 149, i1 noundef zeroext true, ptr noundef %224, ptr noundef nonnull align 8 dereferenceable(144) %24)
          to label %226 unwind label %248

226:                                              ; preds = %222
  store ptr %225, ptr %10, align 8, !tbaa !5
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %24) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr %24) #5
  %227 = load ptr, ptr %11, align 8, !tbaa !5
  %228 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 144, ptr %25) #5
  call void @_ZN7glslang5TTypeC2ENS_10TBasicTypeENS_17TStorageQualifierEiiib(ptr noundef nonnull align 8 dereferenceable(144) %25, i32 noundef 10, i32 noundef 0, i32 noundef 1, i32 noundef 0, i32 noundef 0, i1 noundef zeroext false)
  %229 = invoke noundef ptr @_ZN7glslang13TIntermediate22addBuiltInFunctionCallERKNS_10TSourceLocENS_9TOperatorEbP11TIntermNodeRKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(1784) %34, ptr noundef nonnull align 8 dereferenceable(24) %227, i32 noundef 108, i1 noundef zeroext true, ptr noundef %228, ptr noundef nonnull align 8 dereferenceable(144) %25)
          to label %230 unwind label %252

230:                                              ; preds = %226
  store ptr %229, ptr %9, align 8, !tbaa !5
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %25) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr %25) #5
  %231 = load ptr, ptr %11, align 8, !tbaa !5
  %232 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 144, ptr %26) #5
  call void @_ZN7glslang5TTypeC2ENS_10TBasicTypeENS_17TStorageQualifierEiiib(ptr noundef nonnull align 8 dereferenceable(144) %26, i32 noundef 10, i32 noundef 0, i32 noundef 1, i32 noundef 0, i32 noundef 0, i1 noundef zeroext false)
  %233 = invoke noundef ptr @_ZN7glslang13TIntermediate22addBuiltInFunctionCallERKNS_10TSourceLocENS_9TOperatorEbP11TIntermNodeRKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(1784) %34, ptr noundef nonnull align 8 dereferenceable(24) %231, i32 noundef 108, i1 noundef zeroext true, ptr noundef %232, ptr noundef nonnull align 8 dereferenceable(144) %26)
          to label %234 unwind label %256

234:                                              ; preds = %230
  store ptr %233, ptr %10, align 8, !tbaa !5
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %26) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr %26) #5
  %235 = load ptr, ptr %9, align 8, !tbaa !5
  %236 = load ptr, ptr %10, align 8, !tbaa !5
  %237 = load ptr, ptr %11, align 8, !tbaa !5
  %238 = call noundef ptr @_ZN7glslang13TIntermediate13addBinaryMathENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %34, i32 noundef 155, ptr noundef %235, ptr noundef %236, ptr noundef nonnull align 8 dereferenceable(24) %237)
  store ptr %238, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %239 = load ptr, ptr %9, align 8, !tbaa !5
  %240 = load ptr, ptr %22, align 8, !tbaa !5
  %241 = load ptr, ptr %11, align 8, !tbaa !5
  %242 = call noundef ptr @_ZN7glslang13TIntermediate13addBinaryMathENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %34, i32 noundef 157, ptr noundef %239, ptr noundef %240, ptr noundef nonnull align 8 dereferenceable(24) %241)
  store ptr %242, ptr %27, align 8, !tbaa !5
  %243 = load ptr, ptr %27, align 8, !tbaa !5
  store ptr %243, ptr %6, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  br label %414

244:                                              ; preds = %209
  %245 = landingpad { ptr, i32 }
          cleanup
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %15, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %16, align 4
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %23) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr %23) #5
  br label %260

248:                                              ; preds = %222
  %249 = landingpad { ptr, i32 }
          cleanup
  %250 = extractvalue { ptr, i32 } %249, 0
  store ptr %250, ptr %15, align 8
  %251 = extractvalue { ptr, i32 } %249, 1
  store i32 %251, ptr %16, align 4
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %24) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr %24) #5
  br label %260

252:                                              ; preds = %226
  %253 = landingpad { ptr, i32 }
          cleanup
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %15, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %16, align 4
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %25) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr %25) #5
  br label %260

256:                                              ; preds = %230
  %257 = landingpad { ptr, i32 }
          cleanup
  %258 = extractvalue { ptr, i32 } %257, 0
  store ptr %258, ptr %15, align 8
  %259 = extractvalue { ptr, i32 } %257, 1
  store i32 %259, ptr %16, align 4
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %26) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr %26) #5
  br label %260

260:                                              ; preds = %256, %252, %248, %244
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  br label %416

261:                                              ; preds = %206, %203, %200
  %262 = load ptr, ptr %9, align 8, !tbaa !5
  %263 = call noundef zeroext i1 @_ZNK7glslang12TIntermTyped11isReferenceEv(ptr noundef nonnull align 8 dereferenceable(176) %262)
  br i1 %263, label %267, label %264

264:                                              ; preds = %261
  %265 = load ptr, ptr %10, align 8, !tbaa !5
  %266 = call noundef zeroext i1 @_ZNK7glslang12TIntermTyped11isReferenceEv(ptr noundef nonnull align 8 dereferenceable(176) %265)
  br i1 %266, label %267, label %268

267:                                              ; preds = %264, %261
  store ptr null, ptr %6, align 8
  br label %414

268:                                              ; preds = %264
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #5
  %269 = load i32, ptr %8, align 4, !tbaa !9
  %270 = load ptr, ptr %9, align 8, !tbaa !5
  %271 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN7glslang13TIntermediate17addPairConversionENS_9TOperatorEPNS_12TIntermTypedES3_(ptr dead_on_unwind writable sret(%"class.std::tuple") align 8 %28, ptr noundef nonnull align 8 dereferenceable(1784) %34, i32 noundef %269, ptr noundef %270, ptr noundef %271)
  %272 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EJPN7glslang12TIntermTypedES2_EERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS7_(ptr noundef nonnull align 8 dereferenceable(16) %28) #5
  %273 = load ptr, ptr %272, align 8, !tbaa !5
  store ptr %273, ptr %9, align 8, !tbaa !5
  %274 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm1EJPN7glslang12TIntermTypedES2_EERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS7_(ptr noundef nonnull align 8 dereferenceable(16) %28) #5
  %275 = load ptr, ptr %274, align 8, !tbaa !5
  store ptr %275, ptr %10, align 8, !tbaa !5
  %276 = load ptr, ptr %9, align 8, !tbaa !5
  %277 = icmp eq ptr %276, null
  br i1 %277, label %281, label %278

278:                                              ; preds = %268
  %279 = load ptr, ptr %10, align 8, !tbaa !5
  %280 = icmp eq ptr %279, null
  br i1 %280, label %281, label %282

281:                                              ; preds = %278, %268
  store ptr null, ptr %6, align 8
  store i32 1, ptr %29, align 4
  br label %413

282:                                              ; preds = %278
  %283 = load i32, ptr %8, align 4, !tbaa !9
  call void @_ZN7glslang13TIntermediate20addBiShapeConversionENS_9TOperatorERPNS_12TIntermTypedES4_(ptr noundef nonnull align 8 dereferenceable(1784) %34, i32 noundef %283, ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %284 = load ptr, ptr %9, align 8, !tbaa !5
  %285 = icmp eq ptr %284, null
  br i1 %285, label %289, label %286

286:                                              ; preds = %282
  %287 = load ptr, ptr %10, align 8, !tbaa !5
  %288 = icmp eq ptr %287, null
  br i1 %288, label %289, label %290

289:                                              ; preds = %286, %282
  store ptr null, ptr %6, align 8
  store i32 1, ptr %29, align 4
  br label %413

290:                                              ; preds = %286
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  %291 = load i32, ptr %8, align 4, !tbaa !9
  %292 = load ptr, ptr %9, align 8, !tbaa !5
  %293 = load ptr, ptr %10, align 8, !tbaa !5
  %294 = load ptr, ptr %11, align 8, !tbaa !5
  %295 = call noundef ptr @_ZNK7glslang13TIntermediate13addBinaryNodeENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %34, i32 noundef %291, ptr noundef %292, ptr noundef %293, ptr noundef nonnull align 8 dereferenceable(24) %294)
  store ptr %295, ptr %30, align 8, !tbaa !5
  %296 = load ptr, ptr %30, align 8, !tbaa !5
  %297 = call noundef zeroext i1 @_ZN7glslang13TIntermediate7promoteEPNS_15TIntermOperatorE(ptr noundef nonnull align 8 dereferenceable(1784) %34, ptr noundef %296)
  br i1 %297, label %299, label %298

298:                                              ; preds = %290
  store ptr null, ptr %6, align 8
  store i32 1, ptr %29, align 4
  br label %412

299:                                              ; preds = %290
  %300 = load ptr, ptr %30, align 8, !tbaa !5
  %301 = load ptr, ptr %300, align 8, !tbaa !11
  %302 = getelementptr inbounds ptr, ptr %301, i64 52
  %303 = load ptr, ptr %302, align 8
  call void %303(ptr noundef nonnull align 8 dereferenceable(200) %300)
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  %304 = load ptr, ptr %30, align 8, !tbaa !5
  %305 = load ptr, ptr %304, align 8, !tbaa !11
  %306 = getelementptr inbounds ptr, ptr %305, i64 50
  %307 = load ptr, ptr %306, align 8
  %308 = call noundef ptr %307(ptr noundef nonnull align 8 dereferenceable(200) %304)
  %309 = load ptr, ptr %308, align 8, !tbaa !11
  %310 = getelementptr inbounds ptr, ptr %309, i64 5
  %311 = load ptr, ptr %310, align 8
  %312 = call noundef ptr %311(ptr noundef nonnull align 8 dereferenceable(32) %308)
  store ptr %312, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  %313 = load ptr, ptr %30, align 8, !tbaa !5
  %314 = load ptr, ptr %313, align 8, !tbaa !11
  %315 = getelementptr inbounds ptr, ptr %314, i64 51
  %316 = load ptr, ptr %315, align 8
  %317 = call noundef ptr %316(ptr noundef nonnull align 8 dereferenceable(200) %313)
  %318 = load ptr, ptr %317, align 8, !tbaa !11
  %319 = getelementptr inbounds ptr, ptr %318, i64 5
  %320 = load ptr, ptr %319, align 8
  %321 = call noundef ptr %320(ptr noundef nonnull align 8 dereferenceable(32) %317)
  store ptr %321, ptr %32, align 8, !tbaa !5
  %322 = load ptr, ptr %31, align 8, !tbaa !5
  %323 = icmp ne ptr %322, null
  br i1 %323, label %324, label %344

324:                                              ; preds = %299
  %325 = load ptr, ptr %32, align 8, !tbaa !5
  %326 = icmp ne ptr %325, null
  br i1 %326, label %327, label %344

327:                                              ; preds = %324
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  %328 = load ptr, ptr %31, align 8, !tbaa !5
  %329 = load ptr, ptr %30, align 8, !tbaa !5
  %330 = call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %329)
  %331 = load ptr, ptr %32, align 8, !tbaa !5
  %332 = load ptr, ptr %328, align 8, !tbaa !11
  %333 = getelementptr inbounds ptr, ptr %332, i64 48
  %334 = load ptr, ptr %333, align 8
  %335 = call noundef ptr %334(ptr noundef nonnull align 8 dereferenceable(193) %328, i32 noundef %330, ptr noundef %331)
  store ptr %335, ptr %33, align 8, !tbaa !5
  %336 = load ptr, ptr %33, align 8, !tbaa !5
  %337 = icmp ne ptr %336, null
  br i1 %337, label %338, label %340

338:                                              ; preds = %327
  %339 = load ptr, ptr %33, align 8, !tbaa !5
  store ptr %339, ptr %6, align 8
  store i32 1, ptr %29, align 4
  br label %341

340:                                              ; preds = %327
  store i32 0, ptr %29, align 4
  br label %341

341:                                              ; preds = %340, %338
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  %342 = load i32, ptr %29, align 4
  switch i32 %342, label %411 [
    i32 0, label %343
  ]

343:                                              ; preds = %341
  br label %344

344:                                              ; preds = %343, %324, %299
  %345 = load ptr, ptr %30, align 8, !tbaa !5
  %346 = load ptr, ptr %345, align 8, !tbaa !11
  %347 = getelementptr inbounds ptr, ptr %346, i64 50
  %348 = load ptr, ptr %347, align 8
  %349 = call noundef ptr %348(ptr noundef nonnull align 8 dereferenceable(200) %345)
  %350 = load ptr, ptr %30, align 8, !tbaa !5
  %351 = load ptr, ptr %350, align 8, !tbaa !11
  %352 = getelementptr inbounds ptr, ptr %351, i64 51
  %353 = load ptr, ptr %352, align 8
  %354 = call noundef ptr %353(ptr noundef nonnull align 8 dereferenceable(200) %350)
  %355 = call noundef zeroext i1 @_ZN7glslang13TIntermediate22specConstantPropagatesERKNS_12TIntermTypedES3_(ptr noundef nonnull align 8 dereferenceable(1784) %34, ptr noundef nonnull align 8 dereferenceable(176) %349, ptr noundef nonnull align 8 dereferenceable(176) %354)
  br i1 %355, label %356, label %369

356:                                              ; preds = %344
  %357 = load ptr, ptr %30, align 8, !tbaa !5
  %358 = call noundef zeroext i1 @_ZNK7glslang13TIntermediate25isSpecializationOperationERKNS_15TIntermOperatorE(ptr noundef nonnull align 8 dereferenceable(1784) %34, ptr noundef nonnull align 8 dereferenceable(184) %357)
  br i1 %358, label %359, label %369

359:                                              ; preds = %356
  %360 = load ptr, ptr %30, align 8, !tbaa !5
  %361 = load ptr, ptr %360, align 8, !tbaa !11
  %362 = getelementptr inbounds ptr, ptr %361, i64 31
  %363 = load ptr, ptr %362, align 8
  %364 = call noundef nonnull align 8 dereferenceable(144) ptr %363(ptr noundef nonnull align 8 dereferenceable(176) %360)
  %365 = load ptr, ptr %364, align 8, !tbaa !11
  %366 = getelementptr inbounds ptr, ptr %365, i64 10
  %367 = load ptr, ptr %366, align 8
  %368 = call noundef nonnull align 8 dereferenceable(72) ptr %367(ptr noundef nonnull align 8 dereferenceable(144) %364)
  call void @_ZN7glslang10TQualifier16makeSpecConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %368)
  br label %369

369:                                              ; preds = %359, %356, %344
  %370 = load ptr, ptr %30, align 8, !tbaa !5
  %371 = load ptr, ptr %370, align 8, !tbaa !11
  %372 = getelementptr inbounds ptr, ptr %371, i64 50
  %373 = load ptr, ptr %372, align 8
  %374 = call noundef ptr %373(ptr noundef nonnull align 8 dereferenceable(200) %370)
  %375 = load ptr, ptr %374, align 8, !tbaa !11
  %376 = getelementptr inbounds ptr, ptr %375, i64 33
  %377 = load ptr, ptr %376, align 8
  %378 = call noundef nonnull align 8 dereferenceable(72) ptr %377(ptr noundef nonnull align 8 dereferenceable(176) %374)
  %379 = call noundef zeroext i1 @_ZNK7glslang10TQualifier12isNonUniformEv(ptr noundef nonnull align 8 dereferenceable(72) %378)
  br i1 %379, label %391, label %380

380:                                              ; preds = %369
  %381 = load ptr, ptr %30, align 8, !tbaa !5
  %382 = load ptr, ptr %381, align 8, !tbaa !11
  %383 = getelementptr inbounds ptr, ptr %382, i64 51
  %384 = load ptr, ptr %383, align 8
  %385 = call noundef ptr %384(ptr noundef nonnull align 8 dereferenceable(200) %381)
  %386 = load ptr, ptr %385, align 8, !tbaa !11
  %387 = getelementptr inbounds ptr, ptr %386, i64 33
  %388 = load ptr, ptr %387, align 8
  %389 = call noundef nonnull align 8 dereferenceable(72) ptr %388(ptr noundef nonnull align 8 dereferenceable(176) %385)
  %390 = call noundef zeroext i1 @_ZNK7glslang10TQualifier12isNonUniformEv(ptr noundef nonnull align 8 dereferenceable(72) %389)
  br i1 %390, label %391, label %409

391:                                              ; preds = %380, %369
  %392 = load ptr, ptr %30, align 8, !tbaa !5
  %393 = call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %392)
  %394 = call noundef zeroext i1 @_ZNK7glslang13TIntermediate23isNonuniformPropagatingENS_9TOperatorE(ptr noundef nonnull align 8 dereferenceable(1784) %34, i32 noundef %393)
  br i1 %394, label %395, label %409

395:                                              ; preds = %391
  %396 = load ptr, ptr %30, align 8, !tbaa !5
  %397 = load ptr, ptr %396, align 8, !tbaa !11
  %398 = getelementptr inbounds ptr, ptr %397, i64 31
  %399 = load ptr, ptr %398, align 8
  %400 = call noundef nonnull align 8 dereferenceable(144) ptr %399(ptr noundef nonnull align 8 dereferenceable(176) %396)
  %401 = load ptr, ptr %400, align 8, !tbaa !11
  %402 = getelementptr inbounds ptr, ptr %401, i64 10
  %403 = load ptr, ptr %402, align 8
  %404 = call noundef nonnull align 8 dereferenceable(72) ptr %403(ptr noundef nonnull align 8 dereferenceable(144) %400)
  %405 = getelementptr inbounds %"class.glslang::TQualifier", ptr %404, i32 0, i32 1
  %406 = load i64, ptr %405, align 8
  %407 = and i64 %406, -4294967297
  %408 = or i64 %407, 4294967296
  store i64 %408, ptr %405, align 8
  br label %409

409:                                              ; preds = %395, %391, %380
  %410 = load ptr, ptr %30, align 8, !tbaa !5
  store ptr %410, ptr %6, align 8
  store i32 1, ptr %29, align 4
  br label %411

411:                                              ; preds = %409, %341
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  br label %412

412:                                              ; preds = %411, %298
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  br label %413

413:                                              ; preds = %412, %289, %281
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #5
  br label %414

414:                                              ; preds = %413, %267, %234, %179, %126, %97, %56
  %415 = load ptr, ptr %6, align 8
  ret ptr %415

416:                                              ; preds = %260, %196, %143
  %417 = load ptr, ptr %15, align 8
  %418 = load i32, ptr %16, align 4
  %419 = insertvalue { ptr, i32 } poison, ptr %417, 0
  %420 = insertvalue { ptr, i32 } %419, i32 %418, 1
  resume { ptr, i32 } %420
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7glslang9isTypeIntENS_10TBasicTypeE(i32 noundef) #2

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

declare noundef i32 @_ZN7glslang13TIntermediate30computeBufferReferenceTypeSizeERKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(144)) #3

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7glslang13TIntermediate17addPairConversionENS_9TOperatorEPNS_12TIntermTypedES3_(ptr dead_on_unwind noalias writable sret(%"class.std::tuple") align 8, ptr noundef nonnull align 8 dereferenceable(1784), i32 noundef, ptr noundef, ptr noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EJPN7glslang12TIntermTypedES2_EERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS7_(ptr noundef nonnull align 8 dereferenceable(16)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm1EJPN7glslang12TIntermTypedES2_EERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS7_(ptr noundef nonnull align 8 dereferenceable(16)) #4

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7glslang13TIntermediate23isNonuniformPropagatingENS_9TOperatorE(ptr noundef nonnull align 8 dereferenceable(1784), i32 noundef) #4 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 = { 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{!"_ZTSN7glslang9TOperatorE", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, 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 }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.87", %"struct.std::_Head_base.88" }
%"struct.std::_Tuple_impl.87" = type { %"struct.std::_Head_base" }
%"struct.std::_Head_base" = type { ptr }
%"struct.std::_Head_base.88" = type { ptr }

; 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
define dso_local noundef ptr @_ZN7glslang13TIntermediate13addBinaryMathENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef nonnull align 8 dereferenceable(24) %4) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"class.glslang::TType", align 8
  %9 = alloca %"class.glslang::TType", align 8
  %10 = alloca %"class.glslang::TType", align 8
  %11 = alloca %"class.glslang::TType", align 8
  %12 = alloca %"class.glslang::TType", align 8
  %13 = alloca %"class.glslang::TType", align 8
  %14 = alloca %"class.std::tuple", align 8
  %15 = load ptr, ptr %2, align 8, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %15, i64 240
  %17 = load ptr, ptr %16, align 8
  %18 = tail call noundef nonnull align 8 dereferenceable(144) ptr %17(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %19 = load ptr, ptr %18, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %19, i64 56
  %21 = load ptr, ptr %20, align 8
  %22 = tail call noundef i32 %21(ptr noundef nonnull align 8 dereferenceable(144) %18)
  %23 = icmp eq i32 %22, 16
  br i1 %23, label %257, label %24

24:                                               ; preds = %5
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds i8, ptr %25, i64 240
  %27 = load ptr, ptr %26, align 8
  %28 = tail call noundef nonnull align 8 dereferenceable(144) ptr %27(ptr noundef nonnull align 8 dereferenceable(176) %3)
  %29 = load ptr, ptr %28, align 8, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %29, i64 56
  %31 = load ptr, ptr %30, align 8
  %32 = tail call noundef i32 %31(ptr noundef nonnull align 8 dereferenceable(144) %28)
  %33 = icmp eq i32 %32, 16
  br i1 %33, label %257, label %34

34:                                               ; preds = %24
  %35 = and i32 %1, -2
  %or.cond = icmp eq i32 %35, 154
  br i1 %or.cond, label %36, label %94

36:                                               ; preds = %34
  %37 = tail call noundef zeroext i1 @_ZNK7glslang12TIntermTyped11isReferenceEv(ptr noundef nonnull align 8 dereferenceable(176) %2)
  br i1 %37, label %38, label %51

38:                                               ; preds = %36
  %39 = load ptr, ptr %2, align 8, !tbaa !5
  %40 = getelementptr inbounds i8, ptr %39, i64 240
  %41 = load ptr, ptr %40, align 8
  %42 = tail call noundef nonnull align 8 dereferenceable(144) ptr %41(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %43 = load ptr, ptr %42, align 8, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %43, i64 168
  %45 = load ptr, ptr %44, align 8
  %46 = tail call noundef ptr %45(ptr noundef nonnull align 8 dereferenceable(144) %42)
  %47 = load ptr, ptr %46, align 8, !tbaa !5
  %48 = getelementptr inbounds i8, ptr %47, i64 384
  %49 = load ptr, ptr %48, align 8
  %50 = tail call noundef zeroext i1 %49(ptr noundef nonnull align 8 dereferenceable(144) %46)
  br i1 %50, label %257, label %51

51:                                               ; preds = %38, %36
  %52 = tail call noundef zeroext i1 @_ZNK7glslang12TIntermTyped11isReferenceEv(ptr noundef nonnull align 8 dereferenceable(176) %3)
  br i1 %52, label %53, label %66

53:                                               ; preds = %51
  %54 = load ptr, ptr %3, align 8, !tbaa !5
  %55 = getelementptr inbounds i8, ptr %54, i64 240
  %56 = load ptr, ptr %55, align 8
  %57 = tail call noundef nonnull align 8 dereferenceable(144) ptr %56(ptr noundef nonnull align 8 dereferenceable(176) %3)
  %58 = load ptr, ptr %57, align 8, !tbaa !5
  %59 = getelementptr inbounds i8, ptr %58, i64 168
  %60 = load ptr, ptr %59, align 8
  %61 = tail call noundef ptr %60(ptr noundef nonnull align 8 dereferenceable(144) %57)
  %62 = load ptr, ptr %61, align 8, !tbaa !5
  %63 = getelementptr inbounds i8, ptr %62, i64 384
  %64 = load ptr, ptr %63, align 8
  %65 = tail call noundef zeroext i1 %64(ptr noundef nonnull align 8 dereferenceable(144) %61)
  br i1 %65, label %257, label %66

66:                                               ; preds = %53, %51
  %67 = tail call noundef zeroext i1 @_ZNK7glslang12TIntermTyped11isReferenceEv(ptr noundef nonnull align 8 dereferenceable(176) %2)
  br i1 %67, label %68, label %94

68:                                               ; preds = %66
  %69 = load ptr, ptr %3, 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) %3)
  %73 = tail call noundef zeroext i1 @_ZN7glslang9isTypeIntENS_10TBasicTypeE(i32 noundef %72)
  br i1 %73, label %74, label %94

74:                                               ; preds = %68
  %75 = load ptr, ptr %2, align 8, !tbaa !5
  %76 = getelementptr inbounds i8, ptr %75, i64 240
  %77 = load ptr, ptr %76, align 8
  %78 = tail call noundef nonnull align 8 dereferenceable(144) ptr %77(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %79 = load ptr, ptr %2, align 8, !tbaa !5
  %80 = getelementptr inbounds i8, ptr %79, i64 240
  %81 = load ptr, ptr %80, align 8
  %82 = tail call noundef nonnull align 8 dereferenceable(144) ptr %81(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %83 = tail call noundef i32 @_ZN7glslang13TIntermediate30computeBufferReferenceTypeSizeERKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(144) %82)
  %84 = sext i32 %83 to i64
  %85 = tail call noundef ptr @_ZNK7glslang13TIntermediate16addConstantUnionEyRKNS_10TSourceLocEb(ptr noundef nonnull align 8 dereferenceable(1784) %0, i64 noundef %84, ptr noundef nonnull align 8 dereferenceable(24) %4, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %8) #5
  call void @_ZN7glslang5TTypeC2ENS_10TBasicTypeENS_17TStorageQualifierEiiib(ptr noundef nonnull align 8 dereferenceable(144) %8, i32 noundef 11, i32 noundef 0, i32 noundef 1, i32 noundef 0, i32 noundef 0, i1 noundef zeroext false)
  %86 = invoke noundef ptr @_ZN7glslang13TIntermediate22addBuiltInFunctionCallERKNS_10TSourceLocENS_9TOperatorEbP11TIntermNodeRKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 149, i1 noundef zeroext true, ptr noundef nonnull %2, ptr noundef nonnull align 8 dereferenceable(144) %8)
          to label %87 unwind label %92

87:                                               ; preds = %74
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %8) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %8) #5
  %88 = call noundef ptr @_ZNK7glslang13TIntermediate16createConversionENS_10TBasicTypeEPNS_12TIntermTypedE(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef 10, ptr noundef nonnull %3)
  %89 = call noundef ptr @_ZN7glslang13TIntermediate13addBinaryMathENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef 156, ptr noundef %88, ptr noundef %85, ptr noundef nonnull align 8 dereferenceable(24) %4)
  %90 = call noundef ptr @_ZN7glslang13TIntermediate13addBinaryMathENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef %1, ptr noundef %86, ptr noundef %89, ptr noundef nonnull align 8 dereferenceable(24) %4)
  %91 = call noundef ptr @_ZN7glslang13TIntermediate22addBuiltInFunctionCallERKNS_10TSourceLocENS_9TOperatorEbP11TIntermNodeRKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 148, i1 noundef zeroext true, ptr noundef %90, ptr noundef nonnull align 8 dereferenceable(144) %78)
  br label %257

92:                                               ; preds = %74
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %8) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %8) #5
  br label %258

94:                                               ; preds = %66, %68, %34
  switch i32 %1, label %153 [
    i32 154, label %95
    i32 155, label %123
  ]

95:                                               ; preds = %94
  %96 = tail call noundef zeroext i1 @_ZNK7glslang12TIntermTyped11isReferenceEv(ptr noundef nonnull align 8 dereferenceable(176) %3)
  br i1 %96, label %97, label %153

97:                                               ; preds = %95
  %98 = load ptr, ptr %2, align 8, !tbaa !5
  %99 = getelementptr inbounds i8, ptr %98, i64 256
  %100 = load ptr, ptr %99, align 8
  %101 = tail call noundef i32 %100(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %102 = tail call noundef zeroext i1 @_ZN7glslang9isTypeIntENS_10TBasicTypeE(i32 noundef %101)
  br i1 %102, label %103, label %153

103:                                              ; preds = %97
  %104 = load ptr, ptr %3, align 8, !tbaa !5
  %105 = getelementptr inbounds i8, ptr %104, i64 240
  %106 = load ptr, ptr %105, align 8
  %107 = tail call noundef nonnull align 8 dereferenceable(144) ptr %106(ptr noundef nonnull align 8 dereferenceable(176) %3)
  %108 = load ptr, ptr %3, align 8, !tbaa !5
  %109 = getelementptr inbounds i8, ptr %108, i64 240
  %110 = load ptr, ptr %109, align 8
  %111 = tail call noundef nonnull align 8 dereferenceable(144) ptr %110(ptr noundef nonnull align 8 dereferenceable(176) %3)
  %112 = tail call noundef i32 @_ZN7glslang13TIntermediate30computeBufferReferenceTypeSizeERKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(144) %111)
  %113 = sext i32 %112 to i64
  %114 = tail call noundef ptr @_ZNK7glslang13TIntermediate16addConstantUnionEyRKNS_10TSourceLocEb(ptr noundef nonnull align 8 dereferenceable(1784) %0, i64 noundef %113, ptr noundef nonnull align 8 dereferenceable(24) %4, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %9) #5
  call void @_ZN7glslang5TTypeC2ENS_10TBasicTypeENS_17TStorageQualifierEiiib(ptr noundef nonnull align 8 dereferenceable(144) %9, i32 noundef 11, i32 noundef 0, i32 noundef 1, i32 noundef 0, i32 noundef 0, i1 noundef zeroext false)
  %115 = invoke noundef ptr @_ZN7glslang13TIntermediate22addBuiltInFunctionCallERKNS_10TSourceLocENS_9TOperatorEbP11TIntermNodeRKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 149, i1 noundef zeroext true, ptr noundef nonnull %3, ptr noundef nonnull align 8 dereferenceable(144) %9)
          to label %116 unwind label %121

116:                                              ; preds = %103
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %9) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %9) #5
  %117 = call noundef ptr @_ZNK7glslang13TIntermediate16createConversionENS_10TBasicTypeEPNS_12TIntermTypedE(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef 10, ptr noundef nonnull %2)
  %118 = call noundef ptr @_ZN7glslang13TIntermediate13addBinaryMathENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef 156, ptr noundef %117, ptr noundef %114, ptr noundef nonnull align 8 dereferenceable(24) %4)
  %119 = call noundef ptr @_ZN7glslang13TIntermediate13addBinaryMathENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef 154, ptr noundef %118, ptr noundef %115, ptr noundef nonnull align 8 dereferenceable(24) %4)
  %120 = call noundef ptr @_ZN7glslang13TIntermediate22addBuiltInFunctionCallERKNS_10TSourceLocENS_9TOperatorEbP11TIntermNodeRKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 148, i1 noundef zeroext true, ptr noundef %119, ptr noundef nonnull align 8 dereferenceable(144) %107)
  br label %257

121:                                              ; preds = %103
  %122 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %9) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %9) #5
  br label %258

123:                                              ; preds = %94
  %124 = tail call noundef zeroext i1 @_ZNK7glslang12TIntermTyped11isReferenceEv(ptr noundef nonnull align 8 dereferenceable(176) %2)
  br i1 %124, label %125, label %153

125:                                              ; preds = %123
  %126 = tail call noundef zeroext i1 @_ZNK7glslang12TIntermTyped11isReferenceEv(ptr noundef nonnull align 8 dereferenceable(176) %3)
  br i1 %126, label %127, label %153

127:                                              ; preds = %125
  %128 = load ptr, ptr %2, align 8, !tbaa !5
  %129 = getelementptr inbounds i8, ptr %128, i64 240
  %130 = load ptr, ptr %129, align 8
  %131 = tail call noundef nonnull align 8 dereferenceable(144) ptr %130(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %132 = tail call noundef i32 @_ZN7glslang13TIntermediate30computeBufferReferenceTypeSizeERKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(144) %131)
  %133 = sext i32 %132 to i64
  %134 = tail call noundef ptr @_ZNK7glslang13TIntermediate16addConstantUnionExRKNS_10TSourceLocEb(ptr noundef nonnull align 8 dereferenceable(1784) %0, i64 noundef %133, ptr noundef nonnull align 8 dereferenceable(24) %4, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %10) #5
  call void @_ZN7glslang5TTypeC2ENS_10TBasicTypeENS_17TStorageQualifierEiiib(ptr noundef nonnull align 8 dereferenceable(144) %10, i32 noundef 11, i32 noundef 0, i32 noundef 1, i32 noundef 0, i32 noundef 0, i1 noundef zeroext false)
  %135 = invoke noundef ptr @_ZN7glslang13TIntermediate22addBuiltInFunctionCallERKNS_10TSourceLocENS_9TOperatorEbP11TIntermNodeRKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 149, i1 noundef zeroext true, ptr noundef nonnull %2, ptr noundef nonnull align 8 dereferenceable(144) %10)
          to label %136 unwind label %145

136:                                              ; preds = %127
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %10) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %11) #5
  call void @_ZN7glslang5TTypeC2ENS_10TBasicTypeENS_17TStorageQualifierEiiib(ptr noundef nonnull align 8 dereferenceable(144) %11, i32 noundef 11, i32 noundef 0, i32 noundef 1, i32 noundef 0, i32 noundef 0, i1 noundef zeroext false)
  %137 = invoke noundef ptr @_ZN7glslang13TIntermediate22addBuiltInFunctionCallERKNS_10TSourceLocENS_9TOperatorEbP11TIntermNodeRKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 149, i1 noundef zeroext true, ptr noundef nonnull %3, ptr noundef nonnull align 8 dereferenceable(144) %11)
          to label %138 unwind label %147

138:                                              ; preds = %136
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %11) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %12) #5
  call void @_ZN7glslang5TTypeC2ENS_10TBasicTypeENS_17TStorageQualifierEiiib(ptr noundef nonnull align 8 dereferenceable(144) %12, i32 noundef 10, i32 noundef 0, i32 noundef 1, i32 noundef 0, i32 noundef 0, i1 noundef zeroext false)
  %139 = invoke noundef ptr @_ZN7glslang13TIntermediate22addBuiltInFunctionCallERKNS_10TSourceLocENS_9TOperatorEbP11TIntermNodeRKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 108, i1 noundef zeroext true, ptr noundef %135, ptr noundef nonnull align 8 dereferenceable(144) %12)
          to label %140 unwind label %149

140:                                              ; preds = %138
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %12) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %13) #5
  call void @_ZN7glslang5TTypeC2ENS_10TBasicTypeENS_17TStorageQualifierEiiib(ptr noundef nonnull align 8 dereferenceable(144) %13, i32 noundef 10, i32 noundef 0, i32 noundef 1, i32 noundef 0, i32 noundef 0, i1 noundef zeroext false)
  %141 = invoke noundef ptr @_ZN7glslang13TIntermediate22addBuiltInFunctionCallERKNS_10TSourceLocENS_9TOperatorEbP11TIntermNodeRKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 108, i1 noundef zeroext true, ptr noundef %137, ptr noundef nonnull align 8 dereferenceable(144) %13)
          to label %142 unwind label %151

142:                                              ; preds = %140
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %13) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %13) #5
  %143 = call noundef ptr @_ZN7glslang13TIntermediate13addBinaryMathENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef 155, ptr noundef %139, ptr noundef %141, ptr noundef nonnull align 8 dereferenceable(24) %4)
  %144 = call noundef ptr @_ZN7glslang13TIntermediate13addBinaryMathENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef 157, ptr noundef %143, ptr noundef %134, ptr noundef nonnull align 8 dereferenceable(24) %4)
  br label %257

145:                                              ; preds = %127
  %146 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %10) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %10) #5
  br label %258

147:                                              ; preds = %136
  %148 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %11) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %11) #5
  br label %258

149:                                              ; preds = %138
  %150 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %12) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %12) #5
  br label %258

151:                                              ; preds = %140
  %152 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %13) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %13) #5
  br label %258

153:                                              ; preds = %95, %97, %94, %125, %123
  %154 = tail call noundef zeroext i1 @_ZNK7glslang12TIntermTyped11isReferenceEv(ptr noundef nonnull align 8 dereferenceable(176) %2)
  br i1 %154, label %257, label %155

155:                                              ; preds = %153
  %156 = tail call noundef zeroext i1 @_ZNK7glslang12TIntermTyped11isReferenceEv(ptr noundef nonnull align 8 dereferenceable(176) %3)
  br i1 %156, label %257, label %157

157:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #5
  call void @_ZN7glslang13TIntermediate17addPairConversionENS_9TOperatorEPNS_12TIntermTypedES3_(ptr dead_on_unwind nonnull writable sret(%"class.std::tuple") align 8 %14, ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef %1, ptr noundef nonnull %2, ptr noundef nonnull %3)
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EJPN7glslang12TIntermTypedES2_EERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS7_(ptr noundef nonnull align 8 dereferenceable(16) %14) #5
  %159 = load ptr, ptr %158, align 8, !tbaa !8
  store ptr %159, ptr %6, align 8, !tbaa !8
  %160 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm1EJPN7glslang12TIntermTypedES2_EERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS7_(ptr noundef nonnull align 8 dereferenceable(16) %14) #5
  %161 = load ptr, ptr %160, align 8, !tbaa !8
  store ptr %161, ptr %7, align 8, !tbaa !8
  %162 = icmp eq ptr %159, null
  %163 = icmp eq ptr %161, null
  %or.cond3 = select i1 %162, i1 true, i1 %163
  br i1 %or.cond3, label %256, label %164

164:                                              ; preds = %157
  call void @_ZN7glslang13TIntermediate20addBiShapeConversionENS_9TOperatorERPNS_12TIntermTypedES4_(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %165 = load ptr, ptr %6, align 8, !tbaa !8
  %166 = icmp eq ptr %165, null
  %167 = load ptr, ptr %7, align 8
  %168 = icmp eq ptr %167, null
  %or.cond5 = select i1 %166, i1 true, i1 %168
  br i1 %or.cond5, label %256, label %169

169:                                              ; preds = %164
  %170 = call noundef ptr @_ZNK7glslang13TIntermediate13addBinaryNodeENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef %1, ptr noundef nonnull %165, ptr noundef nonnull %167, ptr noundef nonnull align 8 dereferenceable(24) %4)
  %171 = call noundef zeroext i1 @_ZN7glslang13TIntermediate7promoteEPNS_15TIntermOperatorE(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef %170)
  br i1 %171, label %172, label %256

172:                                              ; preds = %169
  %173 = load ptr, ptr %170, align 8, !tbaa !5
  %174 = getelementptr inbounds i8, ptr %173, i64 416
  %175 = load ptr, ptr %174, align 8
  call void %175(ptr noundef nonnull align 8 dereferenceable(200) %170)
  %176 = load ptr, ptr %170, align 8, !tbaa !5
  %177 = getelementptr inbounds i8, ptr %176, i64 400
  %178 = load ptr, ptr %177, align 8
  %179 = call noundef ptr %178(ptr noundef nonnull align 8 dereferenceable(200) %170)
  %180 = load ptr, ptr %179, align 8, !tbaa !5
  %181 = getelementptr inbounds i8, ptr %180, i64 40
  %182 = load ptr, ptr %181, align 8
  %183 = call noundef ptr %182(ptr noundef nonnull align 8 dereferenceable(32) %179)
  %184 = load ptr, ptr %170, align 8, !tbaa !5
  %185 = getelementptr inbounds i8, ptr %184, i64 408
  %186 = load ptr, ptr %185, align 8
  %187 = call noundef ptr %186(ptr noundef nonnull align 8 dereferenceable(200) %170)
  %188 = load ptr, ptr %187, align 8, !tbaa !5
  %189 = getelementptr inbounds i8, ptr %188, i64 40
  %190 = load ptr, ptr %189, align 8
  %191 = call noundef ptr %190(ptr noundef nonnull align 8 dereferenceable(32) %187)
  %192 = icmp ne ptr %183, null
  %193 = icmp ne ptr %191, null
  %or.cond7 = and i1 %192, %193
  br i1 %or.cond7, label %194, label %200

194:                                              ; preds = %172
  %195 = call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %170)
  %196 = load ptr, ptr %183, align 8, !tbaa !5
  %197 = getelementptr inbounds i8, ptr %196, i64 384
  %198 = load ptr, ptr %197, align 8
  %199 = call noundef ptr %198(ptr noundef nonnull align 8 dereferenceable(193) %183, i32 noundef %195, ptr noundef nonnull %191)
  %.not = icmp eq ptr %199, null
  br i1 %.not, label %200, label %256

200:                                              ; preds = %194, %172
  %201 = load ptr, ptr %170, align 8, !tbaa !5
  %202 = getelementptr inbounds i8, ptr %201, i64 400
  %203 = load ptr, ptr %202, align 8
  %204 = call noundef ptr %203(ptr noundef nonnull align 8 dereferenceable(200) %170)
  %205 = load ptr, ptr %170, align 8, !tbaa !5
  %206 = getelementptr inbounds i8, ptr %205, i64 408
  %207 = load ptr, ptr %206, align 8
  %208 = call noundef ptr %207(ptr noundef nonnull align 8 dereferenceable(200) %170)
  %209 = call noundef zeroext i1 @_ZN7glslang13TIntermediate22specConstantPropagatesERKNS_12TIntermTypedES3_(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull align 8 dereferenceable(176) %204, ptr noundef nonnull align 8 dereferenceable(176) %208)
  br i1 %209, label %210, label %221

210:                                              ; preds = %200
  %211 = call noundef zeroext i1 @_ZNK7glslang13TIntermediate25isSpecializationOperationERKNS_15TIntermOperatorE(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull align 8 dereferenceable(184) %170)
  br i1 %211, label %212, label %221

212:                                              ; preds = %210
  %213 = load ptr, ptr %170, align 8, !tbaa !5
  %214 = getelementptr inbounds i8, ptr %213, i64 248
  %215 = load ptr, ptr %214, align 8
  %216 = call noundef nonnull align 8 dereferenceable(144) ptr %215(ptr noundef nonnull align 8 dereferenceable(176) %170)
  %217 = load ptr, ptr %216, align 8, !tbaa !5
  %218 = getelementptr inbounds i8, ptr %217, i64 80
  %219 = load ptr, ptr %218, align 8
  %220 = call noundef nonnull align 8 dereferenceable(72) ptr %219(ptr noundef nonnull align 8 dereferenceable(144) %216)
  call void @_ZN7glslang10TQualifier16makeSpecConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %220)
  br label %221

221:                                              ; preds = %212, %210, %200
  %222 = load ptr, ptr %170, align 8, !tbaa !5
  %223 = getelementptr inbounds i8, ptr %222, i64 400
  %224 = load ptr, ptr %223, align 8
  %225 = call noundef ptr %224(ptr noundef nonnull align 8 dereferenceable(200) %170)
  %226 = load ptr, ptr %225, align 8, !tbaa !5
  %227 = getelementptr inbounds i8, ptr %226, i64 264
  %228 = load ptr, ptr %227, align 8
  %229 = call noundef nonnull align 8 dereferenceable(72) ptr %228(ptr noundef nonnull align 8 dereferenceable(176) %225)
  %230 = call noundef zeroext i1 @_ZNK7glslang10TQualifier12isNonUniformEv(ptr noundef nonnull align 8 dereferenceable(72) %229)
  br i1 %230, label %241, label %231

231:                                              ; preds = %221
  %232 = load ptr, ptr %170, align 8, !tbaa !5
  %233 = getelementptr inbounds i8, ptr %232, i64 408
  %234 = load ptr, ptr %233, align 8
  %235 = call noundef ptr %234(ptr noundef nonnull align 8 dereferenceable(200) %170)
  %236 = load ptr, ptr %235, align 8, !tbaa !5
  %237 = getelementptr inbounds i8, ptr %236, i64 264
  %238 = load ptr, ptr %237, align 8
  %239 = call noundef nonnull align 8 dereferenceable(72) ptr %238(ptr noundef nonnull align 8 dereferenceable(176) %235)
  %240 = call noundef zeroext i1 @_ZNK7glslang10TQualifier12isNonUniformEv(ptr noundef nonnull align 8 dereferenceable(72) %239)
  br i1 %240, label %241, label %256

241:                                              ; preds = %231, %221
  %242 = call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %170)
  %243 = call noundef zeroext i1 @_ZNK7glslang13TIntermediate23isNonuniformPropagatingENS_9TOperatorE(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef %242)
  br i1 %243, label %244, label %256

244:                                              ; preds = %241
  %245 = load ptr, ptr %170, align 8, !tbaa !5
  %246 = getelementptr inbounds i8, ptr %245, i64 248
  %247 = load ptr, ptr %246, align 8
  %248 = call noundef nonnull align 8 dereferenceable(144) ptr %247(ptr noundef nonnull align 8 dereferenceable(176) %170)
  %249 = load ptr, ptr %248, align 8, !tbaa !5
  %250 = getelementptr inbounds i8, ptr %249, i64 80
  %251 = load ptr, ptr %250, align 8
  %252 = call noundef nonnull align 8 dereferenceable(72) ptr %251(ptr noundef nonnull align 8 dereferenceable(144) %248)
  %253 = getelementptr inbounds i8, ptr %252, i64 8
  %254 = load i64, ptr %253, align 8
  %255 = or i64 %254, 4294967296
  store i64 %255, ptr %253, align 8
  br label %256

256:                                              ; preds = %169, %231, %241, %244, %194, %164, %157
  %.3 = phi ptr [ null, %157 ], [ null, %164 ], [ null, %169 ], [ %199, %194 ], [ %170, %244 ], [ %170, %241 ], [ %170, %231 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #5
  br label %257

257:                                              ; preds = %153, %155, %38, %53, %5, %24, %256, %142, %116, %87
  %.4 = phi ptr [ %91, %87 ], [ %120, %116 ], [ %144, %142 ], [ %.3, %256 ], [ null, %24 ], [ null, %5 ], [ null, %53 ], [ null, %38 ], [ null, %155 ], [ null, %153 ]
  ret ptr %.4

258:                                              ; preds = %145, %147, %149, %151, %121, %92
  %.pn78 = phi { ptr, i32 } [ %93, %92 ], [ %122, %121 ], [ %152, %151 ], [ %150, %149 ], [ %148, %147 ], [ %146, %145 ]
  resume { ptr, i32 } %.pn78
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7glslang9isTypeIntENS_10TBasicTypeE(i32 noundef) local_unnamed_addr #2

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

declare noundef i32 @_ZN7glslang13TIntermediate30computeBufferReferenceTypeSizeERKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #3

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7glslang13TIntermediate17addPairConversionENS_9TOperatorEPNS_12TIntermTypedES3_(ptr dead_on_unwind noalias writable sret(%"class.std::tuple") align 8, ptr noundef nonnull align 8 dereferenceable(1784), i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7glslang13TIntermediate23isNonuniformPropagatingENS_9TOperatorE(ptr noundef nonnull align 8 dereferenceable(1784), i32 noundef) local_unnamed_addr #4 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 = { 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}


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