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

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

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

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

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

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

20:                                               ; preds = %4
  store ptr null, ptr %5, align 8
  br label %280

21:                                               ; preds = %4
  %22 = load ptr, ptr %8, align 8, !tbaa !5
  %23 = load ptr, ptr %22, align 8, !tbaa !11
  %24 = getelementptr inbounds ptr, ptr %23, i64 30
  %25 = load ptr, ptr %24, align 8
  %26 = call noundef nonnull align 8 dereferenceable(144) ptr %25(ptr noundef nonnull align 8 dereferenceable(176) %22)
  %27 = load ptr, ptr %26, align 8, !tbaa !11
  %28 = getelementptr inbounds ptr, ptr %27, i64 7
  %29 = load ptr, ptr %28, align 8
  %30 = call noundef i32 %29(ptr noundef nonnull align 8 dereferenceable(144) %26)
  %31 = icmp eq i32 %30, 16
  br i1 %31, label %32, label %33

32:                                               ; preds = %21
  store ptr null, ptr %5, align 8
  br label %280

33:                                               ; preds = %21
  %34 = load i32, ptr %7, align 4, !tbaa !9
  switch i32 %34, label %105 [
    i32 8, label %35
    i32 11, label %82
    i32 13, label %82
    i32 12, label %82
    i32 14, label %82
    i32 7, label %82
  ]

35:                                               ; preds = %33
  %36 = call noundef i32 @_ZNK7glslang13TIntermediate9getSourceEv(ptr noundef nonnull align 8 dereferenceable(1784) %17)
  %37 = icmp eq i32 %36, 2
  br i1 %37, label %38, label %39

38:                                               ; preds = %35
  br label %106

39:                                               ; preds = %35
  %40 = load ptr, ptr %8, align 8, !tbaa !5
  %41 = load ptr, ptr %40, align 8, !tbaa !11
  %42 = getelementptr inbounds ptr, ptr %41, i64 30
  %43 = load ptr, ptr %42, align 8
  %44 = call noundef nonnull align 8 dereferenceable(144) ptr %43(ptr noundef nonnull align 8 dereferenceable(176) %40)
  %45 = load ptr, ptr %44, align 8, !tbaa !11
  %46 = getelementptr inbounds ptr, ptr %45, i64 7
  %47 = load ptr, ptr %46, align 8
  %48 = call noundef i32 %47(ptr noundef nonnull align 8 dereferenceable(144) %44)
  %49 = icmp ne i32 %48, 12
  br i1 %49, label %80, label %50

50:                                               ; preds = %39
  %51 = load ptr, ptr %8, align 8, !tbaa !5
  %52 = load ptr, ptr %51, align 8, !tbaa !11
  %53 = getelementptr inbounds ptr, ptr %52, i64 30
  %54 = load ptr, ptr %53, align 8
  %55 = call noundef nonnull align 8 dereferenceable(144) ptr %54(ptr noundef nonnull align 8 dereferenceable(176) %51)
  %56 = load ptr, ptr %55, align 8, !tbaa !11
  %57 = getelementptr inbounds ptr, ptr %56, i64 28
  %58 = load ptr, ptr %57, align 8
  %59 = call noundef zeroext i1 %58(ptr noundef nonnull align 8 dereferenceable(144) %55)
  br i1 %59, label %80, label %60

60:                                               ; preds = %50
  %61 = load ptr, ptr %8, align 8, !tbaa !5
  %62 = load ptr, ptr %61, align 8, !tbaa !11
  %63 = getelementptr inbounds ptr, ptr %62, i64 30
  %64 = load ptr, ptr %63, align 8
  %65 = call noundef nonnull align 8 dereferenceable(144) ptr %64(ptr noundef nonnull align 8 dereferenceable(176) %61)
  %66 = load ptr, ptr %65, align 8, !tbaa !11
  %67 = getelementptr inbounds ptr, ptr %66, i64 29
  %68 = load ptr, ptr %67, align 8
  %69 = call noundef zeroext i1 %68(ptr noundef nonnull align 8 dereferenceable(144) %65)
  br i1 %69, label %80, label %70

70:                                               ; preds = %60
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  %72 = load ptr, ptr %71, align 8, !tbaa !11
  %73 = getelementptr inbounds ptr, ptr %72, i64 30
  %74 = load ptr, ptr %73, align 8
  %75 = call noundef nonnull align 8 dereferenceable(144) ptr %74(ptr noundef nonnull align 8 dereferenceable(176) %71)
  %76 = load ptr, ptr %75, align 8, !tbaa !11
  %77 = getelementptr inbounds ptr, ptr %76, i64 27
  %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 %80, label %81

80:                                               ; preds = %70, %60, %50, %39
  store ptr null, ptr %5, align 8
  br label %280

81:                                               ; preds = %70
  br label %106

82:                                               ; preds = %33, %33, %33, %33, %33
  %83 = load ptr, ptr %8, align 8, !tbaa !5
  %84 = load ptr, ptr %83, align 8, !tbaa !11
  %85 = getelementptr inbounds ptr, ptr %84, i64 30
  %86 = load ptr, ptr %85, align 8
  %87 = call noundef nonnull align 8 dereferenceable(144) ptr %86(ptr noundef nonnull align 8 dereferenceable(176) %83)
  %88 = load ptr, ptr %87, align 8, !tbaa !11
  %89 = getelementptr inbounds ptr, ptr %88, i64 7
  %90 = load ptr, ptr %89, align 8
  %91 = call noundef i32 %90(ptr noundef nonnull align 8 dereferenceable(144) %87)
  %92 = icmp eq i32 %91, 15
  br i1 %92, label %103, label %93

93:                                               ; preds = %82
  %94 = load ptr, ptr %8, align 8, !tbaa !5
  %95 = load ptr, ptr %94, align 8, !tbaa !11
  %96 = getelementptr inbounds ptr, ptr %95, i64 30
  %97 = load ptr, ptr %96, align 8
  %98 = call noundef nonnull align 8 dereferenceable(144) ptr %97(ptr noundef nonnull align 8 dereferenceable(176) %94)
  %99 = load ptr, ptr %98, align 8, !tbaa !11
  %100 = getelementptr inbounds ptr, ptr %99, i64 29
  %101 = load ptr, ptr %100, align 8
  %102 = call noundef zeroext i1 %101(ptr noundef nonnull align 8 dereferenceable(144) %98)
  br i1 %102, label %103, label %104

103:                                              ; preds = %93, %82
  store ptr null, ptr %5, align 8
  br label %280

104:                                              ; preds = %93
  br label %105

105:                                              ; preds = %104, %33
  br label %106

106:                                              ; preds = %105, %81, %38
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  store i32 0, ptr %10, align 4, !tbaa !13
  %107 = load i32, ptr %7, align 4, !tbaa !9
  switch i32 %107, label %120 [
    i32 474, label %108
    i32 475, label %109
    i32 466, label %110
    i32 467, label %111
    i32 468, label %112
    i32 469, label %113
    i32 470, label %114
    i32 471, label %115
    i32 472, label %116
    i32 473, label %117
    i32 476, label %118
    i32 555, label %119
  ]

108:                                              ; preds = %106
  store i32 12, ptr %10, align 4, !tbaa !13
  br label %121

109:                                              ; preds = %106
  store i32 1, ptr %10, align 4, !tbaa !13
  br label %121

110:                                              ; preds = %106
  store i32 8, ptr %10, align 4, !tbaa !13
  br label %121

111:                                              ; preds = %106
  store i32 9, ptr %10, align 4, !tbaa !13
  br label %121

112:                                              ; preds = %106
  store i32 4, ptr %10, align 4, !tbaa !13
  br label %121

113:                                              ; preds = %106
  store i32 5, ptr %10, align 4, !tbaa !13
  br label %121

114:                                              ; preds = %106
  store i32 6, ptr %10, align 4, !tbaa !13
  br label %121

115:                                              ; preds = %106
  store i32 7, ptr %10, align 4, !tbaa !13
  br label %121

116:                                              ; preds = %106
  store i32 10, ptr %10, align 4, !tbaa !13
  br label %121

117:                                              ; preds = %106
  store i32 11, ptr %10, align 4, !tbaa !13
  br label %121

118:                                              ; preds = %106
  store i32 2, ptr %10, align 4, !tbaa !13
  br label %121

119:                                              ; preds = %106
  store i32 3, ptr %10, align 4, !tbaa !13
  br label %121

120:                                              ; preds = %106
  br label %121

121:                                              ; preds = %120, %119, %118, %117, %116, %115, %114, %113, %112, %111, %110, %109, %108
  %122 = load i32, ptr %10, align 4, !tbaa !13
  %123 = icmp ne i32 %122, 0
  br i1 %123, label %124, label %158

124:                                              ; preds = %121
  %125 = load i32, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 144, ptr %11) #3
  %126 = load i32, ptr %10, align 4, !tbaa !13
  %127 = load ptr, ptr %8, align 8, !tbaa !5
  %128 = load ptr, ptr %127, align 8, !tbaa !11
  %129 = getelementptr inbounds ptr, ptr %128, i64 38
  %130 = load ptr, ptr %129, align 8
  %131 = call noundef i32 %130(ptr noundef nonnull align 8 dereferenceable(176) %127)
  %132 = load ptr, ptr %8, align 8, !tbaa !5
  %133 = load ptr, ptr %132, align 8, !tbaa !11
  %134 = getelementptr inbounds ptr, ptr %133, i64 39
  %135 = load ptr, ptr %134, align 8
  %136 = call noundef i32 %135(ptr noundef nonnull align 8 dereferenceable(176) %132)
  %137 = load ptr, ptr %8, align 8, !tbaa !5
  %138 = load ptr, ptr %137, align 8, !tbaa !11
  %139 = getelementptr inbounds ptr, ptr %138, i64 40
  %140 = load ptr, ptr %139, align 8
  %141 = call noundef i32 %140(ptr noundef nonnull align 8 dereferenceable(176) %137)
  %142 = load ptr, ptr %8, align 8, !tbaa !5
  %143 = load ptr, ptr %142, align 8, !tbaa !11
  %144 = getelementptr inbounds ptr, ptr %143, i64 43
  %145 = load ptr, ptr %144, align 8
  %146 = call noundef zeroext i1 %145(ptr noundef nonnull align 8 dereferenceable(176) %142)
  call void @_ZN7glslang5TTypeC2ENS_10TBasicTypeENS_17TStorageQualifierEiiib(ptr noundef nonnull align 8 dereferenceable(144) %11, i32 noundef %126, i32 noundef 0, i32 noundef %131, i32 noundef %136, i32 noundef %141, i1 noundef zeroext %146)
  %147 = load ptr, ptr %8, align 8, !tbaa !5
  %148 = invoke noundef ptr @_ZN7glslang13TIntermediate13addConversionENS_9TOperatorERKNS_5TTypeEPNS_12TIntermTypedE(ptr noundef nonnull align 8 dereferenceable(1784) %17, i32 noundef %125, ptr noundef nonnull align 8 dereferenceable(144) %11, ptr noundef %147)
          to label %149 unwind label %153

149:                                              ; preds = %124
  store ptr %148, ptr %8, align 8, !tbaa !5
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %11) #3
  call void @llvm.lifetime.end.p0(i64 144, ptr %11) #3
  %150 = load ptr, ptr %8, align 8, !tbaa !5
  %151 = icmp eq ptr %150, null
  br i1 %151, label %152, label %157

152:                                              ; preds = %149
  store ptr null, ptr %5, align 8
  store i32 1, ptr %14, align 4
  br label %279

153:                                              ; preds = %124
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %12, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %13, align 4
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %11) #3
  call void @llvm.lifetime.end.p0(i64 144, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  br label %282

157:                                              ; preds = %149
  br label %158

158:                                              ; preds = %157, %121
  %159 = load i32, ptr %7, align 4, !tbaa !9
  switch i32 %159, label %175 [
    i32 468, label %160
    i32 469, label %160
    i32 470, label %160
    i32 471, label %160
    i32 466, label %160
    i32 467, label %160
    i32 472, label %160
    i32 473, label %160
    i32 474, label %160
    i32 475, label %160
    i32 476, label %160
    i32 555, label %160
  ]

160:                                              ; preds = %158, %158, %158, %158, %158, %158, %158, %158, %158, %158, %158, %158
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  %161 = load ptr, ptr %8, align 8, !tbaa !5
  %162 = load ptr, ptr %161, align 8, !tbaa !11
  %163 = getelementptr inbounds ptr, ptr %162, i64 7
  %164 = load ptr, ptr %163, align 8
  %165 = call noundef ptr %164(ptr noundef nonnull align 8 dereferenceable(32) %161)
  store ptr %165, ptr %15, align 8, !tbaa !5
  %166 = load ptr, ptr %15, align 8, !tbaa !5
  %167 = icmp ne ptr %166, null
  br i1 %167, label %168, label %173

168:                                              ; preds = %160
  %169 = load ptr, ptr %15, align 8, !tbaa !5
  %170 = load ptr, ptr %169, align 8, !tbaa !11
  %171 = getelementptr inbounds ptr, ptr %170, i64 51
  %172 = load ptr, ptr %171, align 8
  call void %172(ptr noundef nonnull align 8 dereferenceable(240) %169)
  br label %173

173:                                              ; preds = %168, %160
  %174 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %174, ptr %5, align 8
  store i32 1, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  br label %279

175:                                              ; preds = %158
  br label %176

176:                                              ; preds = %175
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  %177 = load i32, ptr %7, align 4, !tbaa !9
  %178 = load ptr, ptr %8, align 8, !tbaa !5
  %179 = load ptr, ptr %9, align 8, !tbaa !5
  %180 = call noundef ptr @_ZNK7glslang13TIntermediate12addUnaryNodeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %17, i32 noundef %177, ptr noundef %178, ptr noundef nonnull align 8 dereferenceable(24) %179)
  store ptr %180, ptr %16, align 8, !tbaa !5
  %181 = load ptr, ptr %16, align 8, !tbaa !5
  %182 = call noundef zeroext i1 @_ZN7glslang13TIntermediate7promoteEPNS_15TIntermOperatorE(ptr noundef nonnull align 8 dereferenceable(1784) %17, ptr noundef %181)
  br i1 %182, label %184, label %183

183:                                              ; preds = %176
  store ptr null, ptr %5, align 8
  store i32 1, ptr %14, align 4
  br label %278

184:                                              ; preds = %176
  %185 = load ptr, ptr %16, align 8, !tbaa !5
  %186 = load ptr, ptr %185, align 8, !tbaa !11
  %187 = getelementptr inbounds ptr, ptr %186, i64 51
  %188 = load ptr, ptr %187, align 8
  call void %188(ptr noundef nonnull align 8 dereferenceable(240) %185)
  %189 = load ptr, ptr %16, align 8, !tbaa !5
  %190 = load ptr, ptr %189, align 8, !tbaa !11
  %191 = getelementptr inbounds ptr, ptr %190, i64 49
  %192 = load ptr, ptr %191, align 8
  %193 = call noundef ptr %192(ptr noundef nonnull align 8 dereferenceable(240) %189)
  %194 = load ptr, ptr %193, align 8, !tbaa !11
  %195 = getelementptr inbounds ptr, ptr %194, i64 5
  %196 = load ptr, ptr %195, align 8
  %197 = call noundef ptr %196(ptr noundef nonnull align 8 dereferenceable(32) %193)
  %198 = icmp ne ptr %197, null
  br i1 %198, label %199, label %219

199:                                              ; preds = %184
  %200 = load ptr, ptr %16, align 8, !tbaa !5
  %201 = load ptr, ptr %200, align 8, !tbaa !11
  %202 = getelementptr inbounds ptr, ptr %201, i64 49
  %203 = load ptr, ptr %202, align 8
  %204 = call noundef ptr %203(ptr noundef nonnull align 8 dereferenceable(240) %200)
  %205 = load ptr, ptr %204, align 8, !tbaa !11
  %206 = getelementptr inbounds ptr, ptr %205, i64 5
  %207 = load ptr, ptr %206, align 8
  %208 = call noundef ptr %207(ptr noundef nonnull align 8 dereferenceable(32) %204)
  %209 = load i32, ptr %7, align 4, !tbaa !9
  %210 = load ptr, ptr %16, 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 = load ptr, ptr %208, align 8, !tbaa !11
  %216 = getelementptr inbounds ptr, ptr %215, i64 49
  %217 = load ptr, ptr %216, align 8
  %218 = call noundef ptr %217(ptr noundef nonnull align 8 dereferenceable(193) %208, i32 noundef %209, ptr noundef nonnull align 8 dereferenceable(144) %214)
  store ptr %218, ptr %5, align 8
  store i32 1, ptr %14, align 4
  br label %278

219:                                              ; preds = %184
  %220 = load ptr, ptr %16, align 8, !tbaa !5
  %221 = load ptr, ptr %220, align 8, !tbaa !11
  %222 = getelementptr inbounds ptr, ptr %221, i64 49
  %223 = load ptr, ptr %222, align 8
  %224 = call noundef ptr %223(ptr noundef nonnull align 8 dereferenceable(240) %220)
  %225 = load ptr, ptr %224, align 8, !tbaa !11
  %226 = getelementptr inbounds ptr, ptr %225, i64 30
  %227 = load ptr, ptr %226, align 8
  %228 = call noundef nonnull align 8 dereferenceable(144) ptr %227(ptr noundef nonnull align 8 dereferenceable(176) %224)
  %229 = load ptr, ptr %228, align 8, !tbaa !11
  %230 = getelementptr inbounds ptr, ptr %229, i64 11
  %231 = load ptr, ptr %230, align 8
  %232 = call noundef nonnull align 8 dereferenceable(72) ptr %231(ptr noundef nonnull align 8 dereferenceable(144) %228)
  %233 = call noundef zeroext i1 @_ZNK7glslang10TQualifier14isSpecConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %232)
  br i1 %233, label %234, label %247

234:                                              ; preds = %219
  %235 = load ptr, ptr %16, align 8, !tbaa !5
  %236 = call noundef zeroext i1 @_ZNK7glslang13TIntermediate25isSpecializationOperationERKNS_15TIntermOperatorE(ptr noundef nonnull align 8 dereferenceable(1784) %17, ptr noundef nonnull align 8 dereferenceable(184) %235)
  br i1 %236, label %237, label %247

237:                                              ; preds = %234
  %238 = load ptr, ptr %16, align 8, !tbaa !5
  %239 = load ptr, ptr %238, align 8, !tbaa !11
  %240 = getelementptr inbounds ptr, ptr %239, i64 31
  %241 = load ptr, ptr %240, align 8
  %242 = call noundef nonnull align 8 dereferenceable(144) ptr %241(ptr noundef nonnull align 8 dereferenceable(176) %238)
  %243 = load ptr, ptr %242, align 8, !tbaa !11
  %244 = getelementptr inbounds ptr, ptr %243, i64 10
  %245 = load ptr, ptr %244, align 8
  %246 = call noundef nonnull align 8 dereferenceable(72) ptr %245(ptr noundef nonnull align 8 dereferenceable(144) %242)
  call void @_ZN7glslang10TQualifier16makeSpecConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %246)
  br label %247

247:                                              ; preds = %237, %234, %219
  %248 = load ptr, ptr %16, align 8, !tbaa !5
  %249 = load ptr, ptr %248, align 8, !tbaa !11
  %250 = getelementptr inbounds ptr, ptr %249, i64 49
  %251 = load ptr, ptr %250, align 8
  %252 = call noundef ptr %251(ptr noundef nonnull align 8 dereferenceable(240) %248)
  %253 = load ptr, ptr %252, align 8, !tbaa !11
  %254 = getelementptr inbounds ptr, ptr %253, i64 33
  %255 = load ptr, ptr %254, align 8
  %256 = call noundef nonnull align 8 dereferenceable(72) ptr %255(ptr noundef nonnull align 8 dereferenceable(176) %252)
  %257 = call noundef zeroext i1 @_ZNK7glslang10TQualifier12isNonUniformEv(ptr noundef nonnull align 8 dereferenceable(72) %256)
  br i1 %257, label %258, label %276

258:                                              ; preds = %247
  %259 = load ptr, ptr %16, align 8, !tbaa !5
  %260 = call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %259)
  %261 = call noundef zeroext i1 @_ZNK7glslang13TIntermediate23isNonuniformPropagatingENS_9TOperatorE(ptr noundef nonnull align 8 dereferenceable(1784) %17, i32 noundef %260)
  br i1 %261, label %262, label %276

262:                                              ; preds = %258
  %263 = load ptr, ptr %16, align 8, !tbaa !5
  %264 = load ptr, ptr %263, align 8, !tbaa !11
  %265 = getelementptr inbounds ptr, ptr %264, i64 31
  %266 = load ptr, ptr %265, align 8
  %267 = call noundef nonnull align 8 dereferenceable(144) ptr %266(ptr noundef nonnull align 8 dereferenceable(176) %263)
  %268 = load ptr, ptr %267, align 8, !tbaa !11
  %269 = getelementptr inbounds ptr, ptr %268, i64 10
  %270 = load ptr, ptr %269, align 8
  %271 = call noundef nonnull align 8 dereferenceable(72) ptr %270(ptr noundef nonnull align 8 dereferenceable(144) %267)
  %272 = getelementptr inbounds %"class.glslang::TQualifier", ptr %271, i32 0, i32 1
  %273 = load i64, ptr %272, align 8
  %274 = and i64 %273, -4294967297
  %275 = or i64 %274, 4294967296
  store i64 %275, ptr %272, align 8
  br label %276

276:                                              ; preds = %262, %258, %247
  %277 = load ptr, ptr %16, align 8, !tbaa !5
  store ptr %277, ptr %5, align 8
  store i32 1, ptr %14, align 4
  br label %278

278:                                              ; preds = %276, %199, %183
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  br label %279

279:                                              ; preds = %278, %173, %152
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  br label %280

280:                                              ; preds = %279, %103, %80, %32, %20
  %281 = load ptr, ptr %5, align 8
  ret ptr %281

282:                                              ; preds = %153
  %283 = load ptr, ptr %12, align 8
  %284 = load i32, ptr %13, align 4
  %285 = insertvalue { ptr, i32 } poison, ptr %283, 0
  %286 = insertvalue { ptr, i32 } %285, i32 %284, 1
  resume { ptr, i32 } %286
}

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7glslang10TQualifier12isNonUniformEv(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #2 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 #2 align 2

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

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

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

7:                                                ; preds = %4
  %8 = load ptr, ptr %2, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %8, i64 240
  %10 = load ptr, ptr %9, align 8
  %11 = tail call noundef nonnull align 8 dereferenceable(144) ptr %10(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %12 = load ptr, ptr %11, align 8, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %12, i64 56
  %14 = load ptr, ptr %13, align 8
  %15 = tail call noundef i32 %14(ptr noundef nonnull align 8 dereferenceable(144) %11)
  %16 = icmp eq i32 %15, 16
  br i1 %16, label %195, label %17

17:                                               ; preds = %7
  switch i32 %1, label %109 [
    i32 8, label %18
    i32 11, label %57
    i32 13, label %57
    i32 12, label %57
    i32 14, label %57
    i32 7, label %57
    i32 474, label %87
    i32 475, label %76
    i32 466, label %77
    i32 467, label %78
    i32 468, label %79
    i32 469, label %80
    i32 470, label %81
    i32 471, label %82
    i32 472, label %83
    i32 473, label %84
    i32 476, label %85
    i32 555, label %86
  ]

18:                                               ; preds = %17
  %19 = tail call noundef i32 @_ZNK7glslang13TIntermediate9getSourceEv(ptr noundef nonnull align 8 dereferenceable(1784) %0)
  %20 = icmp eq i32 %19, 2
  br i1 %20, label %.thread56, label %21

21:                                               ; preds = %18
  %22 = load ptr, ptr %2, align 8, !tbaa !5
  %23 = getelementptr inbounds i8, ptr %22, i64 240
  %24 = load ptr, ptr %23, align 8
  %25 = tail call noundef nonnull align 8 dereferenceable(144) ptr %24(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %26 = load ptr, ptr %25, align 8, !tbaa !5
  %27 = getelementptr inbounds i8, ptr %26, i64 56
  %28 = load ptr, ptr %27, align 8
  %29 = tail call noundef i32 %28(ptr noundef nonnull align 8 dereferenceable(144) %25)
  %.not = icmp eq i32 %29, 12
  br i1 %.not, label %30, label %195

30:                                               ; preds = %21
  %31 = load ptr, ptr %2, align 8, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %31, i64 240
  %33 = load ptr, ptr %32, align 8
  %34 = tail call noundef nonnull align 8 dereferenceable(144) ptr %33(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %35 = load ptr, ptr %34, align 8, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %35, i64 224
  %37 = load ptr, ptr %36, align 8
  %38 = tail call noundef zeroext i1 %37(ptr noundef nonnull align 8 dereferenceable(144) %34)
  br i1 %38, label %195, label %39

39:                                               ; preds = %30
  %40 = load ptr, ptr %2, align 8, !tbaa !5
  %41 = getelementptr inbounds i8, ptr %40, i64 240
  %42 = load ptr, ptr %41, align 8
  %43 = tail call noundef nonnull align 8 dereferenceable(144) ptr %42(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %44 = load ptr, ptr %43, align 8, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %44, i64 232
  %46 = load ptr, ptr %45, align 8
  %47 = tail call noundef zeroext i1 %46(ptr noundef nonnull align 8 dereferenceable(144) %43)
  br i1 %47, label %195, label %48

48:                                               ; preds = %39
  %49 = load ptr, ptr %2, align 8, !tbaa !5
  %50 = getelementptr inbounds i8, ptr %49, i64 240
  %51 = load ptr, ptr %50, align 8
  %52 = tail call noundef nonnull align 8 dereferenceable(144) ptr %51(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %53 = load ptr, ptr %52, align 8, !tbaa !5
  %54 = getelementptr inbounds i8, ptr %53, i64 216
  %55 = load ptr, ptr %54, align 8
  %56 = tail call noundef zeroext i1 %55(ptr noundef nonnull align 8 dereferenceable(144) %52)
  br i1 %56, label %195, label %.thread56

57:                                               ; preds = %17, %17, %17, %17, %17
  %58 = load ptr, ptr %2, align 8, !tbaa !5
  %59 = getelementptr inbounds i8, ptr %58, i64 240
  %60 = load ptr, ptr %59, align 8
  %61 = tail call noundef nonnull align 8 dereferenceable(144) ptr %60(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %62 = load ptr, ptr %61, align 8, !tbaa !5
  %63 = getelementptr inbounds i8, ptr %62, i64 56
  %64 = load ptr, ptr %63, align 8
  %65 = tail call noundef i32 %64(ptr noundef nonnull align 8 dereferenceable(144) %61)
  %66 = icmp eq i32 %65, 15
  br i1 %66, label %195, label %67

67:                                               ; preds = %57
  %68 = load ptr, ptr %2, align 8, !tbaa !5
  %69 = getelementptr inbounds i8, ptr %68, i64 240
  %70 = load ptr, ptr %69, align 8
  %71 = tail call noundef nonnull align 8 dereferenceable(144) ptr %70(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %72 = load ptr, ptr %71, align 8, !tbaa !5
  %73 = getelementptr inbounds i8, ptr %72, i64 232
  %74 = load ptr, ptr %73, align 8
  %75 = tail call noundef zeroext i1 %74(ptr noundef nonnull align 8 dereferenceable(144) %71)
  br i1 %75, label %195, label %109

76:                                               ; preds = %17
  br label %87

77:                                               ; preds = %17
  br label %87

78:                                               ; preds = %17
  br label %87

79:                                               ; preds = %17
  br label %87

80:                                               ; preds = %17
  br label %87

81:                                               ; preds = %17
  br label %87

82:                                               ; preds = %17
  br label %87

83:                                               ; preds = %17
  br label %87

84:                                               ; preds = %17
  br label %87

85:                                               ; preds = %17
  br label %87

86:                                               ; preds = %17
  br label %87

87:                                               ; preds = %17, %86, %85, %84, %83, %82, %81, %80, %79, %78, %77, %76
  %.044.ph = phi i32 [ 1, %76 ], [ 8, %77 ], [ 9, %78 ], [ 4, %79 ], [ 5, %80 ], [ 6, %81 ], [ 7, %82 ], [ 10, %83 ], [ 11, %84 ], [ 2, %85 ], [ 3, %86 ], [ 12, %17 ]
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %5) #3
  %88 = load ptr, ptr %2, align 8, !tbaa !5
  %89 = getelementptr inbounds i8, ptr %88, i64 304
  %90 = load ptr, ptr %89, align 8
  %91 = tail call noundef i32 %90(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %92 = load ptr, ptr %2, align 8, !tbaa !5
  %93 = getelementptr inbounds i8, ptr %92, i64 312
  %94 = load ptr, ptr %93, align 8
  %95 = tail call noundef i32 %94(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %96 = load ptr, ptr %2, align 8, !tbaa !5
  %97 = getelementptr inbounds i8, ptr %96, i64 320
  %98 = load ptr, ptr %97, align 8
  %99 = tail call noundef i32 %98(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %100 = load ptr, ptr %2, align 8, !tbaa !5
  %101 = getelementptr inbounds i8, ptr %100, i64 344
  %102 = load ptr, ptr %101, align 8
  %103 = tail call noundef zeroext i1 %102(ptr noundef nonnull align 8 dereferenceable(176) %2)
  call void @_ZN7glslang5TTypeC2ENS_10TBasicTypeENS_17TStorageQualifierEiiib(ptr noundef nonnull align 8 dereferenceable(144) %5, i32 noundef %.044.ph, i32 noundef 0, i32 noundef %91, i32 noundef %95, i32 noundef %99, i1 noundef zeroext %103)
  %104 = invoke noundef ptr @_ZN7glslang13TIntermediate13addConversionENS_9TOperatorERKNS_5TTypeEPNS_12TIntermTypedE(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %2)
          to label %105 unwind label %107

105:                                              ; preds = %87
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %5) #3
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %5) #3
  %106 = icmp eq ptr %104, null
  br i1 %106, label %195, label %109

107:                                              ; preds = %87
  %108 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %5) #3
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %5) #3
  resume { ptr, i32 } %108

109:                                              ; preds = %67, %17, %105
  %.043 = phi ptr [ %104, %105 ], [ %2, %17 ], [ %2, %67 ]
  switch i32 %1, label %.thread56 [
    i32 468, label %110
    i32 469, label %110
    i32 470, label %110
    i32 471, label %110
    i32 466, label %110
    i32 467, label %110
    i32 472, label %110
    i32 473, label %110
    i32 474, label %110
    i32 475, label %110
    i32 476, label %110
    i32 555, label %110
  ]

110:                                              ; preds = %109, %109, %109, %109, %109, %109, %109, %109, %109, %109, %109, %109
  %111 = load ptr, ptr %.043, align 8, !tbaa !5
  %112 = getelementptr inbounds i8, ptr %111, i64 56
  %113 = load ptr, ptr %112, align 8
  %114 = call noundef ptr %113(ptr noundef nonnull align 8 dereferenceable(32) %.043)
  %.not49 = icmp eq ptr %114, null
  br i1 %.not49, label %195, label %115

115:                                              ; preds = %110
  %116 = load ptr, ptr %114, align 8, !tbaa !5
  %117 = getelementptr inbounds i8, ptr %116, i64 408
  %118 = load ptr, ptr %117, align 8
  call void %118(ptr noundef nonnull align 8 dereferenceable(240) %114)
  br label %195

.thread56:                                        ; preds = %48, %18, %109
  %.04358 = phi ptr [ %.043, %109 ], [ %2, %18 ], [ %2, %48 ]
  %119 = call noundef ptr @_ZNK7glslang13TIntermediate12addUnaryNodeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef %1, ptr noundef nonnull %.04358, ptr noundef nonnull align 8 dereferenceable(24) %3)
  %120 = call noundef zeroext i1 @_ZN7glslang13TIntermediate7promoteEPNS_15TIntermOperatorE(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef %119)
  br i1 %120, label %121, label %195

121:                                              ; preds = %.thread56
  %122 = load ptr, ptr %119, align 8, !tbaa !5
  %123 = getelementptr inbounds i8, ptr %122, i64 408
  %124 = load ptr, ptr %123, align 8
  call void %124(ptr noundef nonnull align 8 dereferenceable(240) %119)
  %125 = load ptr, ptr %119, align 8, !tbaa !5
  %126 = getelementptr inbounds i8, ptr %125, i64 392
  %127 = load ptr, ptr %126, align 8
  %128 = call noundef ptr %127(ptr noundef nonnull align 8 dereferenceable(240) %119)
  %129 = load ptr, ptr %128, align 8, !tbaa !5
  %130 = getelementptr inbounds i8, ptr %129, i64 40
  %131 = load ptr, ptr %130, align 8
  %132 = call noundef ptr %131(ptr noundef nonnull align 8 dereferenceable(32) %128)
  %.not50 = icmp eq ptr %132, null
  %133 = load ptr, ptr %119, align 8, !tbaa !5
  %134 = getelementptr inbounds i8, ptr %133, i64 392
  %135 = load ptr, ptr %134, align 8
  %136 = call noundef ptr %135(ptr noundef nonnull align 8 dereferenceable(240) %119)
  %137 = load ptr, ptr %136, align 8, !tbaa !5
  br i1 %.not50, label %150, label %138

138:                                              ; preds = %121
  %139 = getelementptr inbounds i8, ptr %137, i64 40
  %140 = load ptr, ptr %139, align 8
  %141 = call noundef ptr %140(ptr noundef nonnull align 8 dereferenceable(32) %136)
  %142 = load ptr, ptr %119, align 8, !tbaa !5
  %143 = getelementptr inbounds i8, ptr %142, i64 240
  %144 = load ptr, ptr %143, align 8
  %145 = call noundef nonnull align 8 dereferenceable(144) ptr %144(ptr noundef nonnull align 8 dereferenceable(176) %119)
  %146 = load ptr, ptr %141, align 8, !tbaa !5
  %147 = getelementptr inbounds i8, ptr %146, i64 392
  %148 = load ptr, ptr %147, align 8
  %149 = call noundef ptr %148(ptr noundef nonnull align 8 dereferenceable(193) %141, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(144) %145)
  br label %195

150:                                              ; preds = %121
  %151 = getelementptr inbounds i8, ptr %137, i64 240
  %152 = load ptr, ptr %151, align 8
  %153 = call noundef nonnull align 8 dereferenceable(144) ptr %152(ptr noundef nonnull align 8 dereferenceable(176) %136)
  %154 = load ptr, ptr %153, align 8, !tbaa !5
  %155 = getelementptr inbounds i8, ptr %154, i64 88
  %156 = load ptr, ptr %155, align 8
  %157 = call noundef nonnull align 8 dereferenceable(72) ptr %156(ptr noundef nonnull align 8 dereferenceable(144) %153)
  %158 = call noundef zeroext i1 @_ZNK7glslang10TQualifier14isSpecConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %157)
  br i1 %158, label %159, label %170

159:                                              ; preds = %150
  %160 = call noundef zeroext i1 @_ZNK7glslang13TIntermediate25isSpecializationOperationERKNS_15TIntermOperatorE(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull align 8 dereferenceable(184) %119)
  br i1 %160, label %161, label %170

161:                                              ; preds = %159
  %162 = load ptr, ptr %119, align 8, !tbaa !5
  %163 = getelementptr inbounds i8, ptr %162, i64 248
  %164 = load ptr, ptr %163, align 8
  %165 = call noundef nonnull align 8 dereferenceable(144) ptr %164(ptr noundef nonnull align 8 dereferenceable(176) %119)
  %166 = load ptr, ptr %165, align 8, !tbaa !5
  %167 = getelementptr inbounds i8, ptr %166, i64 80
  %168 = load ptr, ptr %167, align 8
  %169 = call noundef nonnull align 8 dereferenceable(72) ptr %168(ptr noundef nonnull align 8 dereferenceable(144) %165)
  call void @_ZN7glslang10TQualifier16makeSpecConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %169)
  br label %170

170:                                              ; preds = %161, %159, %150
  %171 = load ptr, ptr %119, align 8, !tbaa !5
  %172 = getelementptr inbounds i8, ptr %171, i64 392
  %173 = load ptr, ptr %172, align 8
  %174 = call noundef ptr %173(ptr noundef nonnull align 8 dereferenceable(240) %119)
  %175 = load ptr, ptr %174, align 8, !tbaa !5
  %176 = getelementptr inbounds i8, ptr %175, i64 264
  %177 = load ptr, ptr %176, align 8
  %178 = call noundef nonnull align 8 dereferenceable(72) ptr %177(ptr noundef nonnull align 8 dereferenceable(176) %174)
  %179 = call noundef zeroext i1 @_ZNK7glslang10TQualifier12isNonUniformEv(ptr noundef nonnull align 8 dereferenceable(72) %178)
  br i1 %179, label %180, label %195

180:                                              ; preds = %170
  %181 = call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %119)
  %182 = call noundef zeroext i1 @_ZNK7glslang13TIntermediate23isNonuniformPropagatingENS_9TOperatorE(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef %181)
  br i1 %182, label %183, label %195

183:                                              ; preds = %180
  %184 = load ptr, ptr %119, align 8, !tbaa !5
  %185 = getelementptr inbounds i8, ptr %184, i64 248
  %186 = load ptr, ptr %185, align 8
  %187 = call noundef nonnull align 8 dereferenceable(144) ptr %186(ptr noundef nonnull align 8 dereferenceable(176) %119)
  %188 = load ptr, ptr %187, align 8, !tbaa !5
  %189 = getelementptr inbounds i8, ptr %188, i64 80
  %190 = load ptr, ptr %189, align 8
  %191 = call noundef nonnull align 8 dereferenceable(72) ptr %190(ptr noundef nonnull align 8 dereferenceable(144) %187)
  %192 = getelementptr inbounds i8, ptr %191, i64 8
  %193 = load i64, ptr %192, align 8
  %194 = or i64 %193, 4294967296
  store i64 %194, ptr %192, align 8
  br label %195

195:                                              ; preds = %105, %115, %110, %170, %180, %183, %.thread56, %138, %57, %67, %21, %30, %39, %48, %7, %4
  %.2 = phi ptr [ null, %4 ], [ null, %7 ], [ null, %48 ], [ null, %39 ], [ null, %30 ], [ null, %21 ], [ null, %67 ], [ null, %57 ], [ null, %105 ], [ %.043, %115 ], [ %.043, %110 ], [ %149, %138 ], [ null, %.thread56 ], [ %119, %183 ], [ %119, %180 ], [ %119, %170 ]
  ret ptr %.2
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7glslang13TIntermediate9getSourceEv(ptr noundef nonnull align 8 dereferenceable(1784)) local_unnamed_addr #2 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

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"}


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