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

@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [114 x i8], align 1
@__PRETTY_FUNCTION__._ZN7glslang13TIntermediate18addShapeConversionERKNS_5TTypeEPNS_12TIntermTypedE = external hidden unnamed_addr constant [88 x i8], align 1

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN11TIntermNodenwEm(i64 noundef) #1 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11TIntermNodedlEPv(ptr noundef) #2 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN7glslang13TIntermediate18addShapeConversionERKNS_5TTypeEPNS_12TIntermTypedE(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull align 8 dereferenceable(144) %1, ptr noundef %2) #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i8, align 1
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %18 = load ptr, ptr %5, align 8
  %19 = load ptr, ptr %7, align 8, !tbaa !5
  %20 = load ptr, ptr %19, align 8, !tbaa !9
  %21 = getelementptr inbounds ptr, ptr %20, i64 30
  %22 = load ptr, ptr %21, align 8
  %23 = call noundef nonnull align 8 dereferenceable(144) ptr %22(ptr noundef nonnull align 8 dereferenceable(176) %19)
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = call noundef zeroext i1 @_ZNK7glslang5TTypeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(144) %23, ptr noundef nonnull align 8 dereferenceable(144) %24)
  br i1 %25, label %26, label %28

26:                                               ; preds = %3
  %27 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %27, ptr %4, align 8
  br label %437

28:                                               ; preds = %3
  %29 = load ptr, ptr %7, align 8, !tbaa !5
  %30 = load ptr, ptr %29, align 8, !tbaa !9
  %31 = getelementptr inbounds ptr, ptr %30, i64 30
  %32 = load ptr, ptr %31, align 8
  %33 = call noundef nonnull align 8 dereferenceable(144) ptr %32(ptr noundef nonnull align 8 dereferenceable(176) %29)
  %34 = load ptr, ptr %33, align 8, !tbaa !9
  %35 = getelementptr inbounds ptr, ptr %34, i64 35
  %36 = load ptr, ptr %35, align 8
  %37 = call noundef zeroext i1 %36(ptr noundef nonnull align 8 dereferenceable(144) %33)
  br i1 %37, label %60, label %38

38:                                               ; preds = %28
  %39 = load ptr, ptr %7, align 8, !tbaa !5
  %40 = load ptr, ptr %39, align 8, !tbaa !9
  %41 = getelementptr inbounds ptr, ptr %40, i64 30
  %42 = load ptr, ptr %41, align 8
  %43 = call noundef nonnull align 8 dereferenceable(144) ptr %42(ptr noundef nonnull align 8 dereferenceable(176) %39)
  %44 = load ptr, ptr %43, align 8, !tbaa !9
  %45 = getelementptr inbounds ptr, ptr %44, i64 29
  %46 = load ptr, ptr %45, align 8
  %47 = call noundef zeroext i1 %46(ptr noundef nonnull align 8 dereferenceable(144) %43)
  br i1 %47, label %60, label %48

48:                                               ; preds = %38
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  %50 = load ptr, ptr %49, align 8, !tbaa !9
  %51 = getelementptr inbounds ptr, ptr %50, i64 35
  %52 = load ptr, ptr %51, align 8
  %53 = call noundef zeroext i1 %52(ptr noundef nonnull align 8 dereferenceable(144) %49)
  br i1 %53, label %60, label %54

54:                                               ; preds = %48
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = load ptr, ptr %55, align 8, !tbaa !9
  %57 = getelementptr inbounds ptr, ptr %56, i64 29
  %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 %60, label %62

60:                                               ; preds = %54, %48, %38, %28
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %61, ptr %4, align 8
  br label %437

62:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  %64 = call noundef i32 @_ZNK7glslang13TIntermediate22mapTypeToConstructorOpERKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(1784) %18, ptr noundef nonnull align 8 dereferenceable(144) %63)
  store i32 %64, ptr %8, align 4, !tbaa !11
  %65 = call noundef i32 @_ZNK7glslang13TIntermediate9getSourceEv(ptr noundef nonnull align 8 dereferenceable(1784) %18)
  %66 = icmp eq i32 %65, 2
  br i1 %66, label %67, label %367

67:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  %69 = load ptr, ptr %68, align 8, !tbaa !9
  %70 = getelementptr inbounds ptr, ptr %69, i64 30
  %71 = load ptr, ptr %70, align 8
  %72 = call noundef nonnull align 8 dereferenceable(144) ptr %71(ptr noundef nonnull align 8 dereferenceable(176) %68)
  store ptr %72, ptr %9, align 8, !tbaa !5
  %73 = load ptr, ptr %9, align 8, !tbaa !5
  %74 = load ptr, ptr %73, align 8, !tbaa !9
  %75 = getelementptr inbounds ptr, ptr %74, i64 25
  %76 = load ptr, ptr %75, align 8
  %77 = call noundef zeroext i1 %76(ptr noundef nonnull align 8 dereferenceable(144) %73)
  br i1 %77, label %78, label %138

78:                                               ; preds = %67
  %79 = load ptr, ptr %6, align 8, !tbaa !5
  %80 = load ptr, ptr %79, align 8, !tbaa !9
  %81 = getelementptr inbounds ptr, ptr %80, i64 28
  %82 = load ptr, ptr %81, align 8
  %83 = call noundef zeroext i1 %82(ptr noundef nonnull align 8 dereferenceable(144) %79)
  br i1 %83, label %84, label %138

84:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %85 = load ptr, ptr %6, align 8, !tbaa !5
  %86 = call noundef i32 @_ZNK7glslang5TType20computeNumComponentsEv(ptr noundef nonnull align 8 dereferenceable(144) %85)
  store i32 %86, ptr %10, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %87 = call noundef ptr @_ZN11TIntermNodenwEm(i64 noundef 352)
  invoke void @_ZN7glslang16TIntermAggregateC2Ev(ptr noundef nonnull align 8 dereferenceable(352) %87)
          to label %88 unwind label %108

88:                                               ; preds = %84
  store ptr %87, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #4
  %89 = load ptr, ptr %7, align 8, !tbaa !5
  %90 = load ptr, ptr %89, align 8, !tbaa !9
  %91 = getelementptr inbounds ptr, ptr %90, i64 12
  %92 = load ptr, ptr %91, align 8
  %93 = call noundef ptr %92(ptr noundef nonnull align 8 dereferenceable(32) %89)
  %94 = icmp ne ptr %93, null
  br i1 %94, label %102, label %95

95:                                               ; preds = %88
  %96 = load ptr, ptr %7, align 8, !tbaa !5
  %97 = load ptr, ptr %96, align 8, !tbaa !9
  %98 = getelementptr inbounds ptr, ptr %97, i64 5
  %99 = load ptr, ptr %98, align 8
  %100 = call noundef ptr %99(ptr noundef nonnull align 8 dereferenceable(32) %96)
  %101 = icmp ne ptr %100, null
  br label %102

102:                                              ; preds = %95, %88
  %103 = phi i1 [ true, %88 ], [ %101, %95 ]
  %104 = zext i1 %103 to i8
  store i8 %104, ptr %14, align 1, !tbaa !15
  %105 = load i8, ptr %14, align 1, !tbaa !15, !range !17, !noundef !18
  %106 = trunc i8 %105 to i1
  br i1 %106, label %112, label %107

107:                                              ; preds = %102
  call void @__assert_fail(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 1395, ptr noundef @__PRETTY_FUNCTION__._ZN7glslang13TIntermediate18addShapeConversionERKNS_5TTypeEPNS_12TIntermTypedE) #5
  unreachable

108:                                              ; preds = %84
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %12, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %13, align 4
  call void @_ZN11TIntermNodedlEPv(ptr noundef %87) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %439

112:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 0, ptr %15, align 4, !tbaa !13
  br label %113

113:                                              ; preds = %125, %112
  %114 = load i32, ptr %15, align 4, !tbaa !13
  %115 = load i32, ptr %10, align 4, !tbaa !13
  %116 = icmp slt i32 %114, %115
  br i1 %116, label %118, label %117

117:                                              ; preds = %113
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %128

118:                                              ; preds = %113
  %119 = load ptr, ptr %11, align 8, !tbaa !5
  %120 = load ptr, ptr %119, align 8, !tbaa !9
  %121 = getelementptr inbounds ptr, ptr %120, i64 50
  %122 = load ptr, ptr %121, align 8
  %123 = call noundef nonnull align 8 dereferenceable(32) ptr %122(ptr noundef nonnull align 8 dereferenceable(352) %119)
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %124 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %124, ptr %16, align 8, !tbaa !5
  call void @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(32) %123, ptr noundef nonnull align 8 dereferenceable(8) %16)
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  br label %125

125:                                              ; preds = %118
  %126 = load i32, ptr %15, align 4, !tbaa !13
  %127 = add nsw i32 %126, 1
  store i32 %127, ptr %15, align 4, !tbaa !13
  br label %113, !llvm.loop !19

128:                                              ; preds = %117
  %129 = load ptr, ptr %11, align 8, !tbaa !5
  %130 = load i32, ptr %8, align 4, !tbaa !11
  %131 = load ptr, ptr %6, align 8, !tbaa !5
  %132 = load ptr, ptr %7, align 8, !tbaa !5
  %133 = load ptr, ptr %132, align 8, !tbaa !9
  %134 = getelementptr inbounds ptr, ptr %133, i64 0
  %135 = load ptr, ptr %134, align 8
  %136 = call noundef nonnull align 8 dereferenceable(24) ptr %135(ptr noundef nonnull align 8 dereferenceable(32) %132)
  %137 = call noundef ptr @_ZN7glslang13TIntermediate20setAggregateOperatorEP11TIntermNodeNS_9TOperatorERKNS_5TTypeERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %18, ptr noundef %129, i32 noundef %130, ptr noundef nonnull align 8 dereferenceable(144) %131, ptr noundef nonnull align 8 dereferenceable(24) %136)
  store ptr %137, ptr %4, align 8
  store i32 1, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %364

138:                                              ; preds = %78, %67
  %139 = load ptr, ptr %9, align 8, !tbaa !5
  %140 = load ptr, ptr %139, align 8, !tbaa !9
  %141 = getelementptr inbounds ptr, ptr %140, i64 24
  %142 = load ptr, ptr %141, align 8
  %143 = call noundef zeroext i1 %142(ptr noundef nonnull align 8 dereferenceable(144) %139)
  br i1 %143, label %144, label %150

144:                                              ; preds = %138
  %145 = load ptr, ptr %6, align 8, !tbaa !5
  %146 = load ptr, ptr %145, align 8, !tbaa !9
  %147 = getelementptr inbounds ptr, ptr %146, i64 24
  %148 = load ptr, ptr %147, align 8
  %149 = call noundef zeroext i1 %148(ptr noundef nonnull align 8 dereferenceable(144) %145)
  br i1 %149, label %150, label %162

150:                                              ; preds = %144, %138
  %151 = load ptr, ptr %9, align 8, !tbaa !5
  %152 = load ptr, ptr %151, align 8, !tbaa !9
  %153 = getelementptr inbounds ptr, ptr %152, i64 24
  %154 = load ptr, ptr %153, align 8
  %155 = call noundef zeroext i1 %154(ptr noundef nonnull align 8 dereferenceable(144) %151)
  br i1 %155, label %173, label %156

156:                                              ; preds = %150
  %157 = load ptr, ptr %6, align 8, !tbaa !5
  %158 = load ptr, ptr %157, align 8, !tbaa !9
  %159 = getelementptr inbounds ptr, ptr %158, i64 24
  %160 = load ptr, ptr %159, align 8
  %161 = call noundef zeroext i1 %160(ptr noundef nonnull align 8 dereferenceable(144) %157)
  br i1 %161, label %162, label %173

162:                                              ; preds = %156, %144
  %163 = load ptr, ptr %7, align 8, !tbaa !5
  %164 = call noundef ptr @_ZN7glslang13TIntermediate13makeAggregateEP11TIntermNode(ptr noundef nonnull align 8 dereferenceable(1784) %18, ptr noundef %163)
  %165 = load i32, ptr %8, align 4, !tbaa !11
  %166 = load ptr, ptr %6, align 8, !tbaa !5
  %167 = load ptr, ptr %7, align 8, !tbaa !5
  %168 = load ptr, ptr %167, align 8, !tbaa !9
  %169 = getelementptr inbounds ptr, ptr %168, i64 0
  %170 = load ptr, ptr %169, align 8
  %171 = call noundef nonnull align 8 dereferenceable(24) ptr %170(ptr noundef nonnull align 8 dereferenceable(32) %167)
  %172 = call noundef ptr @_ZN7glslang13TIntermediate20setAggregateOperatorEP11TIntermNodeNS_9TOperatorERKNS_5TTypeERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %18, ptr noundef %164, i32 noundef %165, ptr noundef nonnull align 8 dereferenceable(144) %166, ptr noundef nonnull align 8 dereferenceable(24) %171)
  store ptr %172, ptr %4, align 8
  store i32 1, ptr %17, align 4
  br label %364

173:                                              ; preds = %156, %150
  %174 = load ptr, ptr %9, align 8, !tbaa !5
  %175 = load ptr, ptr %174, align 8, !tbaa !9
  %176 = getelementptr inbounds ptr, ptr %175, i64 28
  %177 = load ptr, ptr %176, align 8
  %178 = call noundef zeroext i1 %177(ptr noundef nonnull align 8 dereferenceable(144) %174)
  br i1 %178, label %179, label %286

179:                                              ; preds = %173
  %180 = load ptr, ptr %6, align 8, !tbaa !5
  %181 = load ptr, ptr %180, align 8, !tbaa !9
  %182 = getelementptr inbounds ptr, ptr %181, i64 28
  %183 = load ptr, ptr %182, align 8
  %184 = call noundef zeroext i1 %183(ptr noundef nonnull align 8 dereferenceable(144) %180)
  br i1 %184, label %185, label %245

185:                                              ; preds = %179
  %186 = load ptr, ptr %9, align 8, !tbaa !5
  %187 = load ptr, ptr %186, align 8, !tbaa !9
  %188 = getelementptr inbounds ptr, ptr %187, i64 13
  %189 = load ptr, ptr %188, align 8
  %190 = call noundef i32 %189(ptr noundef nonnull align 8 dereferenceable(144) %186)
  %191 = load ptr, ptr %6, align 8, !tbaa !5
  %192 = load ptr, ptr %191, align 8, !tbaa !9
  %193 = getelementptr inbounds ptr, ptr %192, i64 13
  %194 = load ptr, ptr %193, align 8
  %195 = call noundef i32 %194(ptr noundef nonnull align 8 dereferenceable(144) %191)
  %196 = icmp ne i32 %190, %195
  br i1 %196, label %209, label %197

197:                                              ; preds = %185
  %198 = load ptr, ptr %9, align 8, !tbaa !5
  %199 = load ptr, ptr %198, align 8, !tbaa !9
  %200 = getelementptr inbounds ptr, ptr %199, i64 14
  %201 = load ptr, ptr %200, align 8
  %202 = call noundef i32 %201(ptr noundef nonnull align 8 dereferenceable(144) %198)
  %203 = load ptr, ptr %6, align 8, !tbaa !5
  %204 = load ptr, ptr %203, align 8, !tbaa !9
  %205 = getelementptr inbounds ptr, ptr %204, i64 14
  %206 = load ptr, ptr %205, align 8
  %207 = call noundef i32 %206(ptr noundef nonnull align 8 dereferenceable(144) %203)
  %208 = icmp ne i32 %202, %207
  br i1 %208, label %209, label %244

209:                                              ; preds = %197, %185
  %210 = load ptr, ptr %9, align 8, !tbaa !5
  %211 = load ptr, ptr %210, align 8, !tbaa !9
  %212 = getelementptr inbounds ptr, ptr %211, i64 13
  %213 = load ptr, ptr %212, align 8
  %214 = call noundef i32 %213(ptr noundef nonnull align 8 dereferenceable(144) %210)
  %215 = load ptr, ptr %6, align 8, !tbaa !5
  %216 = load ptr, ptr %215, align 8, !tbaa !9
  %217 = getelementptr inbounds ptr, ptr %216, i64 13
  %218 = load ptr, ptr %217, align 8
  %219 = call noundef i32 %218(ptr noundef nonnull align 8 dereferenceable(144) %215)
  %220 = icmp sge i32 %214, %219
  br i1 %220, label %221, label %244

221:                                              ; preds = %209
  %222 = load ptr, ptr %9, align 8, !tbaa !5
  %223 = load ptr, ptr %222, align 8, !tbaa !9
  %224 = getelementptr inbounds ptr, ptr %223, i64 14
  %225 = load ptr, ptr %224, align 8
  %226 = call noundef i32 %225(ptr noundef nonnull align 8 dereferenceable(144) %222)
  %227 = load ptr, ptr %6, align 8, !tbaa !5
  %228 = load ptr, ptr %227, align 8, !tbaa !9
  %229 = getelementptr inbounds ptr, ptr %228, i64 14
  %230 = load ptr, ptr %229, align 8
  %231 = call noundef i32 %230(ptr noundef nonnull align 8 dereferenceable(144) %227)
  %232 = icmp sge i32 %226, %231
  br i1 %232, label %233, label %244

233:                                              ; preds = %221
  %234 = load ptr, ptr %7, align 8, !tbaa !5
  %235 = call noundef ptr @_ZN7glslang13TIntermediate13makeAggregateEP11TIntermNode(ptr noundef nonnull align 8 dereferenceable(1784) %18, ptr noundef %234)
  %236 = load i32, ptr %8, align 4, !tbaa !11
  %237 = load ptr, ptr %6, align 8, !tbaa !5
  %238 = load ptr, ptr %7, align 8, !tbaa !5
  %239 = load ptr, ptr %238, align 8, !tbaa !9
  %240 = getelementptr inbounds ptr, ptr %239, i64 0
  %241 = load ptr, ptr %240, align 8
  %242 = call noundef nonnull align 8 dereferenceable(24) ptr %241(ptr noundef nonnull align 8 dereferenceable(32) %238)
  %243 = call noundef ptr @_ZN7glslang13TIntermediate20setAggregateOperatorEP11TIntermNodeNS_9TOperatorERKNS_5TTypeERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %18, ptr noundef %235, i32 noundef %236, ptr noundef nonnull align 8 dereferenceable(144) %237, ptr noundef nonnull align 8 dereferenceable(24) %242)
  store ptr %243, ptr %4, align 8
  store i32 1, ptr %17, align 4
  br label %364

244:                                              ; preds = %221, %209, %197
  br label %285

245:                                              ; preds = %179
  %246 = load ptr, ptr %6, align 8, !tbaa !5
  %247 = load ptr, ptr %246, align 8, !tbaa !9
  %248 = getelementptr inbounds ptr, ptr %247, i64 27
  %249 = load ptr, ptr %248, align 8
  %250 = call noundef zeroext i1 %249(ptr noundef nonnull align 8 dereferenceable(144) %246)
  br i1 %250, label %251, label %284

251:                                              ; preds = %245
  %252 = load ptr, ptr %6, align 8, !tbaa !5
  %253 = load ptr, ptr %252, align 8, !tbaa !9
  %254 = getelementptr inbounds ptr, ptr %253, i64 12
  %255 = load ptr, ptr %254, align 8
  %256 = call noundef i32 %255(ptr noundef nonnull align 8 dereferenceable(144) %252)
  %257 = icmp eq i32 %256, 4
  br i1 %257, label %258, label %283

258:                                              ; preds = %251
  %259 = load ptr, ptr %9, align 8, !tbaa !5
  %260 = load ptr, ptr %259, align 8, !tbaa !9
  %261 = getelementptr inbounds ptr, ptr %260, i64 13
  %262 = load ptr, ptr %261, align 8
  %263 = call noundef i32 %262(ptr noundef nonnull align 8 dereferenceable(144) %259)
  %264 = icmp eq i32 %263, 2
  br i1 %264, label %265, label %283

265:                                              ; preds = %258
  %266 = load ptr, ptr %9, align 8, !tbaa !5
  %267 = load ptr, ptr %266, align 8, !tbaa !9
  %268 = getelementptr inbounds ptr, ptr %267, i64 14
  %269 = load ptr, ptr %268, align 8
  %270 = call noundef i32 %269(ptr noundef nonnull align 8 dereferenceable(144) %266)
  %271 = icmp eq i32 %270, 2
  br i1 %271, label %272, label %283

272:                                              ; preds = %265
  %273 = load ptr, ptr %7, align 8, !tbaa !5
  %274 = call noundef ptr @_ZN7glslang13TIntermediate13makeAggregateEP11TIntermNode(ptr noundef nonnull align 8 dereferenceable(1784) %18, ptr noundef %273)
  %275 = load i32, ptr %8, align 4, !tbaa !11
  %276 = load ptr, ptr %6, align 8, !tbaa !5
  %277 = load ptr, ptr %7, align 8, !tbaa !5
  %278 = load ptr, ptr %277, align 8, !tbaa !9
  %279 = getelementptr inbounds ptr, ptr %278, i64 0
  %280 = load ptr, ptr %279, align 8
  %281 = call noundef nonnull align 8 dereferenceable(24) ptr %280(ptr noundef nonnull align 8 dereferenceable(32) %277)
  %282 = call noundef ptr @_ZN7glslang13TIntermediate20setAggregateOperatorEP11TIntermNodeNS_9TOperatorERKNS_5TTypeERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %18, ptr noundef %274, i32 noundef %275, ptr noundef nonnull align 8 dereferenceable(144) %276, ptr noundef nonnull align 8 dereferenceable(24) %281)
  store ptr %282, ptr %4, align 8
  store i32 1, ptr %17, align 4
  br label %364

283:                                              ; preds = %265, %258, %251
  br label %284

284:                                              ; preds = %283, %245
  br label %285

285:                                              ; preds = %284, %244
  br label %286

286:                                              ; preds = %285, %173
  %287 = load ptr, ptr %9, align 8, !tbaa !5
  %288 = load ptr, ptr %287, align 8, !tbaa !9
  %289 = getelementptr inbounds ptr, ptr %288, i64 27
  %290 = load ptr, ptr %289, align 8
  %291 = call noundef zeroext i1 %290(ptr noundef nonnull align 8 dereferenceable(144) %287)
  br i1 %291, label %292, label %363

292:                                              ; preds = %286
  %293 = load ptr, ptr %6, align 8, !tbaa !5
  %294 = load ptr, ptr %293, align 8, !tbaa !9
  %295 = getelementptr inbounds ptr, ptr %294, i64 27
  %296 = load ptr, ptr %295, align 8
  %297 = call noundef zeroext i1 %296(ptr noundef nonnull align 8 dereferenceable(144) %293)
  br i1 %297, label %298, label %322

298:                                              ; preds = %292
  %299 = load ptr, ptr %9, align 8, !tbaa !5
  %300 = load ptr, ptr %299, align 8, !tbaa !9
  %301 = getelementptr inbounds ptr, ptr %300, i64 12
  %302 = load ptr, ptr %301, align 8
  %303 = call noundef i32 %302(ptr noundef nonnull align 8 dereferenceable(144) %299)
  %304 = load ptr, ptr %6, align 8, !tbaa !5
  %305 = load ptr, ptr %304, align 8, !tbaa !9
  %306 = getelementptr inbounds ptr, ptr %305, i64 12
  %307 = load ptr, ptr %306, align 8
  %308 = call noundef i32 %307(ptr noundef nonnull align 8 dereferenceable(144) %304)
  %309 = icmp sgt i32 %303, %308
  br i1 %309, label %310, label %321

310:                                              ; preds = %298
  %311 = load ptr, ptr %7, align 8, !tbaa !5
  %312 = call noundef ptr @_ZN7glslang13TIntermediate13makeAggregateEP11TIntermNode(ptr noundef nonnull align 8 dereferenceable(1784) %18, ptr noundef %311)
  %313 = load i32, ptr %8, align 4, !tbaa !11
  %314 = load ptr, ptr %6, align 8, !tbaa !5
  %315 = load ptr, ptr %7, align 8, !tbaa !5
  %316 = load ptr, ptr %315, align 8, !tbaa !9
  %317 = getelementptr inbounds ptr, ptr %316, i64 0
  %318 = load ptr, ptr %317, align 8
  %319 = call noundef nonnull align 8 dereferenceable(24) ptr %318(ptr noundef nonnull align 8 dereferenceable(32) %315)
  %320 = call noundef ptr @_ZN7glslang13TIntermediate20setAggregateOperatorEP11TIntermNodeNS_9TOperatorERKNS_5TTypeERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %18, ptr noundef %312, i32 noundef %313, ptr noundef nonnull align 8 dereferenceable(144) %314, ptr noundef nonnull align 8 dereferenceable(24) %319)
  store ptr %320, ptr %4, align 8
  store i32 1, ptr %17, align 4
  br label %364

321:                                              ; preds = %298
  br label %362

322:                                              ; preds = %292
  %323 = load ptr, ptr %6, align 8, !tbaa !5
  %324 = load ptr, ptr %323, align 8, !tbaa !9
  %325 = getelementptr inbounds ptr, ptr %324, i64 28
  %326 = load ptr, ptr %325, align 8
  %327 = call noundef zeroext i1 %326(ptr noundef nonnull align 8 dereferenceable(144) %323)
  br i1 %327, label %328, label %361

328:                                              ; preds = %322
  %329 = load ptr, ptr %9, align 8, !tbaa !5
  %330 = load ptr, ptr %329, align 8, !tbaa !9
  %331 = getelementptr inbounds ptr, ptr %330, i64 12
  %332 = load ptr, ptr %331, align 8
  %333 = call noundef i32 %332(ptr noundef nonnull align 8 dereferenceable(144) %329)
  %334 = icmp eq i32 %333, 4
  br i1 %334, label %335, label %360

335:                                              ; preds = %328
  %336 = load ptr, ptr %6, align 8, !tbaa !5
  %337 = load ptr, ptr %336, align 8, !tbaa !9
  %338 = getelementptr inbounds ptr, ptr %337, i64 13
  %339 = load ptr, ptr %338, align 8
  %340 = call noundef i32 %339(ptr noundef nonnull align 8 dereferenceable(144) %336)
  %341 = icmp eq i32 %340, 2
  br i1 %341, label %342, label %360

342:                                              ; preds = %335
  %343 = load ptr, ptr %6, align 8, !tbaa !5
  %344 = load ptr, ptr %343, align 8, !tbaa !9
  %345 = getelementptr inbounds ptr, ptr %344, i64 14
  %346 = load ptr, ptr %345, align 8
  %347 = call noundef i32 %346(ptr noundef nonnull align 8 dereferenceable(144) %343)
  %348 = icmp eq i32 %347, 2
  br i1 %348, label %349, label %360

349:                                              ; preds = %342
  %350 = load ptr, ptr %7, align 8, !tbaa !5
  %351 = call noundef ptr @_ZN7glslang13TIntermediate13makeAggregateEP11TIntermNode(ptr noundef nonnull align 8 dereferenceable(1784) %18, ptr noundef %350)
  %352 = load i32, ptr %8, align 4, !tbaa !11
  %353 = load ptr, ptr %6, align 8, !tbaa !5
  %354 = load ptr, ptr %7, align 8, !tbaa !5
  %355 = load ptr, ptr %354, align 8, !tbaa !9
  %356 = getelementptr inbounds ptr, ptr %355, i64 0
  %357 = load ptr, ptr %356, align 8
  %358 = call noundef nonnull align 8 dereferenceable(24) ptr %357(ptr noundef nonnull align 8 dereferenceable(32) %354)
  %359 = call noundef ptr @_ZN7glslang13TIntermediate20setAggregateOperatorEP11TIntermNodeNS_9TOperatorERKNS_5TTypeERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %18, ptr noundef %351, i32 noundef %352, ptr noundef nonnull align 8 dereferenceable(144) %353, ptr noundef nonnull align 8 dereferenceable(24) %358)
  store ptr %359, ptr %4, align 8
  store i32 1, ptr %17, align 4
  br label %364

360:                                              ; preds = %342, %335, %328
  br label %361

361:                                              ; preds = %360, %322
  br label %362

362:                                              ; preds = %361, %321
  br label %363

363:                                              ; preds = %362, %286
  store i32 0, ptr %17, align 4
  br label %364

364:                                              ; preds = %363, %349, %310, %272, %233, %162, %128
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  %365 = load i32, ptr %17, align 4
  switch i32 %365, label %436 [
    i32 0, label %366
  ]

366:                                              ; preds = %364
  br label %367

367:                                              ; preds = %366, %62
  %368 = load ptr, ptr %7, align 8, !tbaa !5
  %369 = load ptr, ptr %368, align 8, !tbaa !9
  %370 = getelementptr inbounds ptr, ptr %369, i64 30
  %371 = load ptr, ptr %370, align 8
  %372 = call noundef nonnull align 8 dereferenceable(144) ptr %371(ptr noundef nonnull align 8 dereferenceable(176) %368)
  %373 = load ptr, ptr %372, align 8, !tbaa !9
  %374 = getelementptr inbounds ptr, ptr %373, i64 25
  %375 = load ptr, ptr %374, align 8
  %376 = call noundef zeroext i1 %375(ptr noundef nonnull align 8 dereferenceable(144) %372)
  br i1 %376, label %377, label %383

377:                                              ; preds = %367
  %378 = load ptr, ptr %6, align 8, !tbaa !5
  %379 = load ptr, ptr %378, align 8, !tbaa !9
  %380 = getelementptr inbounds ptr, ptr %379, i64 27
  %381 = load ptr, ptr %380, align 8
  %382 = call noundef zeroext i1 %381(ptr noundef nonnull align 8 dereferenceable(144) %378)
  br i1 %382, label %423, label %383

383:                                              ; preds = %377, %367
  %384 = load ptr, ptr %7, align 8, !tbaa !5
  %385 = load ptr, ptr %384, align 8, !tbaa !9
  %386 = getelementptr inbounds ptr, ptr %385, i64 30
  %387 = load ptr, ptr %386, align 8
  %388 = call noundef nonnull align 8 dereferenceable(144) ptr %387(ptr noundef nonnull align 8 dereferenceable(176) %384)
  %389 = load ptr, ptr %388, align 8, !tbaa !9
  %390 = getelementptr inbounds ptr, ptr %389, i64 27
  %391 = load ptr, ptr %390, align 8
  %392 = call noundef zeroext i1 %391(ptr noundef nonnull align 8 dereferenceable(144) %388)
  br i1 %392, label %393, label %399

393:                                              ; preds = %383
  %394 = load ptr, ptr %6, align 8, !tbaa !5
  %395 = load ptr, ptr %394, align 8, !tbaa !9
  %396 = getelementptr inbounds ptr, ptr %395, i64 24
  %397 = load ptr, ptr %396, align 8
  %398 = call noundef zeroext i1 %397(ptr noundef nonnull align 8 dereferenceable(144) %394)
  br i1 %398, label %423, label %399

399:                                              ; preds = %393, %383
  %400 = load ptr, ptr %7, align 8, !tbaa !5
  %401 = load ptr, ptr %400, align 8, !tbaa !9
  %402 = getelementptr inbounds ptr, ptr %401, i64 43
  %403 = load ptr, ptr %402, align 8
  %404 = call noundef zeroext i1 %403(ptr noundef nonnull align 8 dereferenceable(176) %400)
  br i1 %404, label %405, label %434

405:                                              ; preds = %399
  %406 = load ptr, ptr %6, align 8, !tbaa !5
  %407 = load ptr, ptr %406, align 8, !tbaa !9
  %408 = getelementptr inbounds ptr, ptr %407, i64 27
  %409 = load ptr, ptr %408, align 8
  %410 = call noundef zeroext i1 %409(ptr noundef nonnull align 8 dereferenceable(144) %406)
  br i1 %410, label %411, label %434

411:                                              ; preds = %405
  %412 = load ptr, ptr %7, align 8, !tbaa !5
  %413 = load ptr, ptr %412, align 8, !tbaa !9
  %414 = getelementptr inbounds ptr, ptr %413, i64 38
  %415 = load ptr, ptr %414, align 8
  %416 = call noundef i32 %415(ptr noundef nonnull align 8 dereferenceable(176) %412)
  %417 = load ptr, ptr %6, align 8, !tbaa !5
  %418 = load ptr, ptr %417, align 8, !tbaa !9
  %419 = getelementptr inbounds ptr, ptr %418, i64 12
  %420 = load ptr, ptr %419, align 8
  %421 = call noundef i32 %420(ptr noundef nonnull align 8 dereferenceable(144) %417)
  %422 = icmp sgt i32 %416, %421
  br i1 %422, label %423, label %434

423:                                              ; preds = %411, %393, %377
  %424 = load ptr, ptr %7, align 8, !tbaa !5
  %425 = call noundef ptr @_ZN7glslang13TIntermediate13makeAggregateEP11TIntermNode(ptr noundef nonnull align 8 dereferenceable(1784) %18, ptr noundef %424)
  %426 = load i32, ptr %8, align 4, !tbaa !11
  %427 = load ptr, ptr %6, align 8, !tbaa !5
  %428 = load ptr, ptr %7, align 8, !tbaa !5
  %429 = load ptr, ptr %428, align 8, !tbaa !9
  %430 = getelementptr inbounds ptr, ptr %429, i64 0
  %431 = load ptr, ptr %430, align 8
  %432 = call noundef nonnull align 8 dereferenceable(24) ptr %431(ptr noundef nonnull align 8 dereferenceable(32) %428)
  %433 = call noundef ptr @_ZN7glslang13TIntermediate20setAggregateOperatorEP11TIntermNodeNS_9TOperatorERKNS_5TTypeERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %18, ptr noundef %425, i32 noundef %426, ptr noundef nonnull align 8 dereferenceable(144) %427, ptr noundef nonnull align 8 dereferenceable(24) %432)
  store ptr %433, ptr %4, align 8
  store i32 1, ptr %17, align 4
  br label %436

434:                                              ; preds = %411, %405, %399
  %435 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %435, ptr %4, align 8
  store i32 1, ptr %17, align 4
  br label %436

436:                                              ; preds = %434, %423, %364
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %437

437:                                              ; preds = %436, %60, %26
  %438 = load ptr, ptr %4, align 8
  ret ptr %438

439:                                              ; preds = %108
  %440 = load ptr, ptr %12, align 8
  %441 = load i32, ptr %13, align 4
  %442 = insertvalue { ptr, i32 } poison, ptr %440, 0
  %443 = insertvalue { ptr, i32 } %442, i32 %441, 1
  resume { ptr, i32 } %443
}

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_ZTSN7glslang9TOperatorE", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}


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

@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [114 x i8], align 1
@__PRETTY_FUNCTION__._ZN7glslang13TIntermediate18addShapeConversionERKNS_5TTypeEPNS_12TIntermTypedE = external hidden unnamed_addr constant [88 x i8], align 1

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN11TIntermNodenwEm(i64 noundef) local_unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11TIntermNodedlEPv(ptr noundef) local_unnamed_addr #2 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN7glslang13TIntermediate18addShapeConversionERKNS_5TTypeEPNS_12TIntermTypedE(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull align 8 dereferenceable(144) %1, ptr noundef %2) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = load ptr, ptr %2, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %5, i64 240
  %7 = load ptr, ptr %6, align 8
  %8 = tail call noundef nonnull align 8 dereferenceable(144) ptr %7(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %9 = tail call noundef zeroext i1 @_ZNK7glslang5TTypeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef nonnull align 8 dereferenceable(144) %1)
  br i1 %9, label %297, label %10

10:                                               ; preds = %3
  %11 = load ptr, ptr %2, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %11, i64 240
  %13 = load ptr, ptr %12, align 8
  %14 = tail call noundef nonnull align 8 dereferenceable(144) ptr %13(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %15 = load ptr, ptr %14, align 8, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %15, i64 280
  %17 = load ptr, ptr %16, align 8
  %18 = tail call noundef zeroext i1 %17(ptr noundef nonnull align 8 dereferenceable(144) %14)
  br i1 %18, label %297, label %19

19:                                               ; preds = %10
  %20 = load ptr, ptr %2, align 8, !tbaa !5
  %21 = getelementptr inbounds i8, ptr %20, i64 240
  %22 = load ptr, ptr %21, align 8
  %23 = tail call noundef nonnull align 8 dereferenceable(144) ptr %22(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %24 = load ptr, ptr %23, align 8, !tbaa !5
  %25 = getelementptr inbounds i8, ptr %24, i64 232
  %26 = load ptr, ptr %25, align 8
  %27 = tail call noundef zeroext i1 %26(ptr noundef nonnull align 8 dereferenceable(144) %23)
  br i1 %27, label %297, label %28

28:                                               ; preds = %19
  %29 = load ptr, ptr %1, align 8, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %29, i64 280
  %31 = load ptr, ptr %30, align 8
  %32 = tail call noundef zeroext i1 %31(ptr noundef nonnull align 8 dereferenceable(144) %1)
  br i1 %32, label %297, label %33

33:                                               ; preds = %28
  %34 = load ptr, ptr %1, align 8, !tbaa !5
  %35 = getelementptr inbounds i8, ptr %34, i64 232
  %36 = load ptr, ptr %35, align 8
  %37 = tail call noundef zeroext i1 %36(ptr noundef nonnull align 8 dereferenceable(144) %1)
  br i1 %37, label %297, label %38

38:                                               ; preds = %33
  %39 = tail call noundef i32 @_ZNK7glslang13TIntermediate22mapTypeToConstructorOpERKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull align 8 dereferenceable(144) %1)
  %40 = tail call noundef i32 @_ZNK7glslang13TIntermediate9getSourceEv(ptr noundef nonnull align 8 dereferenceable(1784) %0)
  %41 = icmp eq i32 %40, 2
  br i1 %41, label %42, label %.thread

42:                                               ; preds = %38
  %43 = load ptr, ptr %2, align 8, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %43, i64 240
  %45 = load ptr, ptr %44, align 8
  %46 = tail call noundef nonnull align 8 dereferenceable(144) ptr %45(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %47 = load ptr, ptr %46, align 8, !tbaa !5
  %48 = getelementptr inbounds i8, ptr %47, i64 200
  %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 %51, label %82

51:                                               ; preds = %42
  %52 = load ptr, ptr %1, align 8, !tbaa !5
  %53 = getelementptr inbounds i8, ptr %52, i64 224
  %54 = load ptr, ptr %53, align 8
  %55 = tail call noundef zeroext i1 %54(ptr noundef nonnull align 8 dereferenceable(144) %1)
  br i1 %55, label %56, label %82

56:                                               ; preds = %51
  %57 = tail call noundef i32 @_ZNK7glslang5TType20computeNumComponentsEv(ptr noundef nonnull align 8 dereferenceable(144) %1)
  %58 = tail call noundef ptr @_ZN11TIntermNodenwEm(i64 noundef 352)
  invoke void @_ZN7glslang16TIntermAggregateC2Ev(ptr noundef nonnull align 8 dereferenceable(352) %58)
          to label %59 unwind label %70

59:                                               ; preds = %56
  %60 = load ptr, ptr %2, align 8, !tbaa !5
  %61 = getelementptr inbounds i8, ptr %60, i64 96
  %62 = load ptr, ptr %61, align 8
  %63 = tail call noundef ptr %62(ptr noundef nonnull align 8 dereferenceable(32) %2)
  %.not93 = icmp eq ptr %63, null
  br i1 %.not93, label %64, label %.critedge

64:                                               ; preds = %59
  %65 = load ptr, ptr %2, align 8, !tbaa !5
  %66 = getelementptr inbounds i8, ptr %65, i64 40
  %67 = load ptr, ptr %66, align 8
  %68 = tail call noundef ptr %67(ptr noundef nonnull align 8 dereferenceable(32) %2)
  %.not96 = icmp eq ptr %68, null
  br i1 %.not96, label %69, label %.critedge

69:                                               ; preds = %64
  tail call void @__assert_fail(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 1395, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7glslang13TIntermediate18addShapeConversionERKNS_5TTypeEPNS_12TIntermTypedE) #4
  unreachable

70:                                               ; preds = %56
  %71 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN11TIntermNodedlEPv(ptr noundef %58) #5
  resume { ptr, i32 } %71

.critedge:                                        ; preds = %59, %64
  %72 = icmp sgt i32 %57, 0
  br i1 %72, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %.critedge
  %73 = load ptr, ptr %2, align 8, !tbaa !5
  %74 = load ptr, ptr %73, align 8
  %75 = call noundef nonnull align 8 dereferenceable(24) ptr %74(ptr noundef nonnull align 8 dereferenceable(32) %2)
  %76 = call noundef ptr @_ZN7glslang13TIntermediate20setAggregateOperatorEP11TIntermNodeNS_9TOperatorERKNS_5TTypeERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull %58, i32 noundef %39, ptr noundef nonnull align 8 dereferenceable(144) %1, ptr noundef nonnull align 8 dereferenceable(24) %75)
  br label %297

.lr.ph:                                           ; preds = %.critedge, %.lr.ph
  %.08897 = phi i32 [ %81, %.lr.ph ], [ 0, %.critedge ]
  %77 = load ptr, ptr %58, align 8, !tbaa !5
  %78 = getelementptr inbounds i8, ptr %77, i64 400
  %79 = load ptr, ptr %78, align 8
  %80 = call noundef nonnull align 8 dereferenceable(32) ptr %79(ptr noundef nonnull align 8 dereferenceable(352) %58)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  store ptr %2, ptr %4, align 8, !tbaa !8
  call void @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(32) %80, ptr noundef nonnull align 8 dereferenceable(8) %4)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  %81 = add nuw nsw i32 %.08897, 1
  %exitcond.not = icmp eq i32 %81, %57
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !11

82:                                               ; preds = %51, %42
  %83 = load ptr, ptr %46, align 8, !tbaa !5
  %84 = getelementptr inbounds i8, ptr %83, i64 192
  %85 = load ptr, ptr %84, align 8
  %86 = tail call noundef zeroext i1 %85(ptr noundef nonnull align 8 dereferenceable(144) %46)
  br i1 %86, label %87, label %92

87:                                               ; preds = %82
  %88 = load ptr, ptr %1, align 8, !tbaa !5
  %89 = getelementptr inbounds i8, ptr %88, i64 192
  %90 = load ptr, ptr %89, align 8
  %91 = tail call noundef zeroext i1 %90(ptr noundef nonnull align 8 dereferenceable(144) %1)
  br i1 %91, label %92, label %102

92:                                               ; preds = %87, %82
  %93 = load ptr, ptr %46, align 8, !tbaa !5
  %94 = getelementptr inbounds i8, ptr %93, i64 192
  %95 = load ptr, ptr %94, align 8
  %96 = tail call noundef zeroext i1 %95(ptr noundef nonnull align 8 dereferenceable(144) %46)
  br i1 %96, label %108, label %97

97:                                               ; preds = %92
  %98 = load ptr, ptr %1, align 8, !tbaa !5
  %99 = getelementptr inbounds i8, ptr %98, i64 192
  %100 = load ptr, ptr %99, align 8
  %101 = tail call noundef zeroext i1 %100(ptr noundef nonnull align 8 dereferenceable(144) %1)
  br i1 %101, label %102, label %108

102:                                              ; preds = %97, %87
  %103 = tail call noundef ptr @_ZN7glslang13TIntermediate13makeAggregateEP11TIntermNode(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull %2)
  %104 = load ptr, ptr %2, align 8, !tbaa !5
  %105 = load ptr, ptr %104, align 8
  %106 = tail call noundef nonnull align 8 dereferenceable(24) ptr %105(ptr noundef nonnull align 8 dereferenceable(32) %2)
  %107 = tail call noundef ptr @_ZN7glslang13TIntermediate20setAggregateOperatorEP11TIntermNodeNS_9TOperatorERKNS_5TTypeERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef %103, i32 noundef %39, ptr noundef nonnull align 8 dereferenceable(144) %1, ptr noundef nonnull align 8 dereferenceable(24) %106)
  br label %297

108:                                              ; preds = %97, %92
  %109 = load ptr, ptr %46, align 8, !tbaa !5
  %110 = getelementptr inbounds i8, ptr %109, i64 224
  %111 = load ptr, ptr %110, align 8
  %112 = tail call noundef zeroext i1 %111(ptr noundef nonnull align 8 dereferenceable(144) %46)
  br i1 %112, label %113, label %189

113:                                              ; preds = %108
  %114 = load ptr, ptr %1, align 8, !tbaa !5
  %115 = getelementptr inbounds i8, ptr %114, i64 224
  %116 = load ptr, ptr %115, align 8
  %117 = tail call noundef zeroext i1 %116(ptr noundef nonnull align 8 dereferenceable(144) %1)
  br i1 %117, label %118, label %160

118:                                              ; preds = %113
  %119 = load ptr, ptr %46, align 8, !tbaa !5
  %120 = getelementptr inbounds i8, ptr %119, i64 104
  %121 = load ptr, ptr %120, align 8
  %122 = tail call noundef i32 %121(ptr noundef nonnull align 8 dereferenceable(144) %46)
  %123 = load ptr, ptr %1, align 8, !tbaa !5
  %124 = getelementptr inbounds i8, ptr %123, i64 104
  %125 = load ptr, ptr %124, align 8
  %126 = tail call noundef i32 %125(ptr noundef nonnull align 8 dereferenceable(144) %1)
  %.not = icmp eq i32 %122, %126
  br i1 %.not, label %127, label %136

127:                                              ; preds = %118
  %128 = load ptr, ptr %46, align 8, !tbaa !5
  %129 = getelementptr inbounds i8, ptr %128, i64 112
  %130 = load ptr, ptr %129, align 8
  %131 = tail call noundef i32 %130(ptr noundef nonnull align 8 dereferenceable(144) %46)
  %132 = load ptr, ptr %1, align 8, !tbaa !5
  %133 = getelementptr inbounds i8, ptr %132, i64 112
  %134 = load ptr, ptr %133, align 8
  %135 = tail call noundef i32 %134(ptr noundef nonnull align 8 dereferenceable(144) %1)
  %.not90 = icmp eq i32 %131, %135
  br i1 %.not90, label %189, label %136

136:                                              ; preds = %127, %118
  %137 = load ptr, ptr %46, align 8, !tbaa !5
  %138 = getelementptr inbounds i8, ptr %137, i64 104
  %139 = load ptr, ptr %138, align 8
  %140 = tail call noundef i32 %139(ptr noundef nonnull align 8 dereferenceable(144) %46)
  %141 = load ptr, ptr %1, align 8, !tbaa !5
  %142 = getelementptr inbounds i8, ptr %141, i64 104
  %143 = load ptr, ptr %142, align 8
  %144 = tail call noundef i32 %143(ptr noundef nonnull align 8 dereferenceable(144) %1)
  %.not91 = icmp slt i32 %140, %144
  br i1 %.not91, label %189, label %145

145:                                              ; preds = %136
  %146 = load ptr, ptr %46, align 8, !tbaa !5
  %147 = getelementptr inbounds i8, ptr %146, i64 112
  %148 = load ptr, ptr %147, align 8
  %149 = tail call noundef i32 %148(ptr noundef nonnull align 8 dereferenceable(144) %46)
  %150 = load ptr, ptr %1, align 8, !tbaa !5
  %151 = getelementptr inbounds i8, ptr %150, i64 112
  %152 = load ptr, ptr %151, align 8
  %153 = tail call noundef i32 %152(ptr noundef nonnull align 8 dereferenceable(144) %1)
  %.not92 = icmp slt i32 %149, %153
  br i1 %.not92, label %189, label %154

154:                                              ; preds = %145
  %155 = tail call noundef ptr @_ZN7glslang13TIntermediate13makeAggregateEP11TIntermNode(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull %2)
  %156 = load ptr, ptr %2, align 8, !tbaa !5
  %157 = load ptr, ptr %156, align 8
  %158 = tail call noundef nonnull align 8 dereferenceable(24) ptr %157(ptr noundef nonnull align 8 dereferenceable(32) %2)
  %159 = tail call noundef ptr @_ZN7glslang13TIntermediate20setAggregateOperatorEP11TIntermNodeNS_9TOperatorERKNS_5TTypeERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef %155, i32 noundef %39, ptr noundef nonnull align 8 dereferenceable(144) %1, ptr noundef nonnull align 8 dereferenceable(24) %158)
  br label %297

160:                                              ; preds = %113
  %161 = load ptr, ptr %1, align 8, !tbaa !5
  %162 = getelementptr inbounds i8, ptr %161, i64 216
  %163 = load ptr, ptr %162, align 8
  %164 = tail call noundef zeroext i1 %163(ptr noundef nonnull align 8 dereferenceable(144) %1)
  br i1 %164, label %165, label %189

165:                                              ; preds = %160
  %166 = load ptr, ptr %1, align 8, !tbaa !5
  %167 = getelementptr inbounds i8, ptr %166, i64 96
  %168 = load ptr, ptr %167, align 8
  %169 = tail call noundef i32 %168(ptr noundef nonnull align 8 dereferenceable(144) %1)
  %170 = icmp eq i32 %169, 4
  br i1 %170, label %171, label %189

171:                                              ; preds = %165
  %172 = load ptr, ptr %46, align 8, !tbaa !5
  %173 = getelementptr inbounds i8, ptr %172, i64 104
  %174 = load ptr, ptr %173, align 8
  %175 = tail call noundef i32 %174(ptr noundef nonnull align 8 dereferenceable(144) %46)
  %176 = icmp eq i32 %175, 2
  br i1 %176, label %177, label %189

177:                                              ; preds = %171
  %178 = load ptr, ptr %46, align 8, !tbaa !5
  %179 = getelementptr inbounds i8, ptr %178, i64 112
  %180 = load ptr, ptr %179, align 8
  %181 = tail call noundef i32 %180(ptr noundef nonnull align 8 dereferenceable(144) %46)
  %182 = icmp eq i32 %181, 2
  br i1 %182, label %183, label %189

183:                                              ; preds = %177
  %184 = tail call noundef ptr @_ZN7glslang13TIntermediate13makeAggregateEP11TIntermNode(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull %2)
  %185 = load ptr, ptr %2, align 8, !tbaa !5
  %186 = load ptr, ptr %185, align 8
  %187 = tail call noundef nonnull align 8 dereferenceable(24) ptr %186(ptr noundef nonnull align 8 dereferenceable(32) %2)
  %188 = tail call noundef ptr @_ZN7glslang13TIntermediate20setAggregateOperatorEP11TIntermNodeNS_9TOperatorERKNS_5TTypeERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef %184, i32 noundef %39, ptr noundef nonnull align 8 dereferenceable(144) %1, ptr noundef nonnull align 8 dereferenceable(24) %187)
  br label %297

189:                                              ; preds = %145, %136, %127, %165, %171, %177, %160, %108
  %190 = load ptr, ptr %46, align 8, !tbaa !5
  %191 = getelementptr inbounds i8, ptr %190, i64 216
  %192 = load ptr, ptr %191, align 8
  %193 = tail call noundef zeroext i1 %192(ptr noundef nonnull align 8 dereferenceable(144) %46)
  br i1 %193, label %194, label %.thread

194:                                              ; preds = %189
  %195 = load ptr, ptr %1, align 8, !tbaa !5
  %196 = getelementptr inbounds i8, ptr %195, i64 216
  %197 = load ptr, ptr %196, align 8
  %198 = tail call noundef zeroext i1 %197(ptr noundef nonnull align 8 dereferenceable(144) %1)
  br i1 %198, label %199, label %215

199:                                              ; preds = %194
  %200 = load ptr, ptr %46, align 8, !tbaa !5
  %201 = getelementptr inbounds i8, ptr %200, i64 96
  %202 = load ptr, ptr %201, align 8
  %203 = tail call noundef i32 %202(ptr noundef nonnull align 8 dereferenceable(144) %46)
  %204 = load ptr, ptr %1, align 8, !tbaa !5
  %205 = getelementptr inbounds i8, ptr %204, i64 96
  %206 = load ptr, ptr %205, align 8
  %207 = tail call noundef i32 %206(ptr noundef nonnull align 8 dereferenceable(144) %1)
  %208 = icmp sgt i32 %203, %207
  br i1 %208, label %209, label %.thread

209:                                              ; preds = %199
  %210 = tail call noundef ptr @_ZN7glslang13TIntermediate13makeAggregateEP11TIntermNode(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull %2)
  %211 = load ptr, ptr %2, align 8, !tbaa !5
  %212 = load ptr, ptr %211, align 8
  %213 = tail call noundef nonnull align 8 dereferenceable(24) ptr %212(ptr noundef nonnull align 8 dereferenceable(32) %2)
  %214 = tail call noundef ptr @_ZN7glslang13TIntermediate20setAggregateOperatorEP11TIntermNodeNS_9TOperatorERKNS_5TTypeERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef %210, i32 noundef %39, ptr noundef nonnull align 8 dereferenceable(144) %1, ptr noundef nonnull align 8 dereferenceable(24) %213)
  br label %297

215:                                              ; preds = %194
  %216 = load ptr, ptr %1, align 8, !tbaa !5
  %217 = getelementptr inbounds i8, ptr %216, i64 224
  %218 = load ptr, ptr %217, align 8
  %219 = tail call noundef zeroext i1 %218(ptr noundef nonnull align 8 dereferenceable(144) %1)
  br i1 %219, label %220, label %.thread

220:                                              ; preds = %215
  %221 = load ptr, ptr %46, align 8, !tbaa !5
  %222 = getelementptr inbounds i8, ptr %221, i64 96
  %223 = load ptr, ptr %222, align 8
  %224 = tail call noundef i32 %223(ptr noundef nonnull align 8 dereferenceable(144) %46)
  %225 = icmp eq i32 %224, 4
  br i1 %225, label %226, label %.thread

226:                                              ; preds = %220
  %227 = load ptr, ptr %1, align 8, !tbaa !5
  %228 = getelementptr inbounds i8, ptr %227, i64 104
  %229 = load ptr, ptr %228, align 8
  %230 = tail call noundef i32 %229(ptr noundef nonnull align 8 dereferenceable(144) %1)
  %231 = icmp eq i32 %230, 2
  br i1 %231, label %232, label %.thread

232:                                              ; preds = %226
  %233 = load ptr, ptr %1, align 8, !tbaa !5
  %234 = getelementptr inbounds i8, ptr %233, i64 112
  %235 = load ptr, ptr %234, align 8
  %236 = tail call noundef i32 %235(ptr noundef nonnull align 8 dereferenceable(144) %1)
  %237 = icmp eq i32 %236, 2
  br i1 %237, label %238, label %.thread

238:                                              ; preds = %232
  %239 = tail call noundef ptr @_ZN7glslang13TIntermediate13makeAggregateEP11TIntermNode(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull %2)
  %240 = load ptr, ptr %2, align 8, !tbaa !5
  %241 = load ptr, ptr %240, align 8
  %242 = tail call noundef nonnull align 8 dereferenceable(24) ptr %241(ptr noundef nonnull align 8 dereferenceable(32) %2)
  %243 = tail call noundef ptr @_ZN7glslang13TIntermediate20setAggregateOperatorEP11TIntermNodeNS_9TOperatorERKNS_5TTypeERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef %239, i32 noundef %39, ptr noundef nonnull align 8 dereferenceable(144) %1, ptr noundef nonnull align 8 dereferenceable(24) %242)
  br label %297

.thread:                                          ; preds = %189, %215, %232, %226, %220, %199, %38
  %244 = load ptr, ptr %2, align 8, !tbaa !5
  %245 = getelementptr inbounds i8, ptr %244, i64 240
  %246 = load ptr, ptr %245, align 8
  %247 = tail call noundef nonnull align 8 dereferenceable(144) ptr %246(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %248 = load ptr, ptr %247, align 8, !tbaa !5
  %249 = getelementptr inbounds i8, ptr %248, i64 200
  %250 = load ptr, ptr %249, align 8
  %251 = tail call noundef zeroext i1 %250(ptr noundef nonnull align 8 dereferenceable(144) %247)
  br i1 %251, label %252, label %257

252:                                              ; preds = %.thread
  %253 = load ptr, ptr %1, align 8, !tbaa !5
  %254 = getelementptr inbounds i8, ptr %253, i64 216
  %255 = load ptr, ptr %254, align 8
  %256 = tail call noundef zeroext i1 %255(ptr noundef nonnull align 8 dereferenceable(144) %1)
  br i1 %256, label %291, label %257

257:                                              ; preds = %252, %.thread
  %258 = load ptr, ptr %2, align 8, !tbaa !5
  %259 = getelementptr inbounds i8, ptr %258, i64 240
  %260 = load ptr, ptr %259, align 8
  %261 = tail call noundef nonnull align 8 dereferenceable(144) ptr %260(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %262 = load ptr, ptr %261, align 8, !tbaa !5
  %263 = getelementptr inbounds i8, ptr %262, i64 216
  %264 = load ptr, ptr %263, align 8
  %265 = tail call noundef zeroext i1 %264(ptr noundef nonnull align 8 dereferenceable(144) %261)
  br i1 %265, label %266, label %271

266:                                              ; preds = %257
  %267 = load ptr, ptr %1, align 8, !tbaa !5
  %268 = getelementptr inbounds i8, ptr %267, i64 192
  %269 = load ptr, ptr %268, align 8
  %270 = tail call noundef zeroext i1 %269(ptr noundef nonnull align 8 dereferenceable(144) %1)
  br i1 %270, label %291, label %271

271:                                              ; preds = %266, %257
  %272 = load ptr, ptr %2, align 8, !tbaa !5
  %273 = getelementptr inbounds i8, ptr %272, i64 344
  %274 = load ptr, ptr %273, align 8
  %275 = tail call noundef zeroext i1 %274(ptr noundef nonnull align 8 dereferenceable(176) %2)
  br i1 %275, label %276, label %297

276:                                              ; preds = %271
  %277 = load ptr, ptr %1, align 8, !tbaa !5
  %278 = getelementptr inbounds i8, ptr %277, i64 216
  %279 = load ptr, ptr %278, align 8
  %280 = tail call noundef zeroext i1 %279(ptr noundef nonnull align 8 dereferenceable(144) %1)
  br i1 %280, label %281, label %297

281:                                              ; preds = %276
  %282 = load ptr, ptr %2, align 8, !tbaa !5
  %283 = getelementptr inbounds i8, ptr %282, i64 304
  %284 = load ptr, ptr %283, align 8
  %285 = tail call noundef i32 %284(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %286 = load ptr, ptr %1, align 8, !tbaa !5
  %287 = getelementptr inbounds i8, ptr %286, i64 96
  %288 = load ptr, ptr %287, align 8
  %289 = tail call noundef i32 %288(ptr noundef nonnull align 8 dereferenceable(144) %1)
  %290 = icmp sgt i32 %285, %289
  br i1 %290, label %291, label %297

291:                                              ; preds = %281, %266, %252
  %292 = tail call noundef ptr @_ZN7glslang13TIntermediate13makeAggregateEP11TIntermNode(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull %2)
  %293 = load ptr, ptr %2, align 8, !tbaa !5
  %294 = load ptr, ptr %293, align 8
  %295 = tail call noundef nonnull align 8 dereferenceable(24) ptr %294(ptr noundef nonnull align 8 dereferenceable(32) %2)
  %296 = tail call noundef ptr @_ZN7glslang13TIntermediate20setAggregateOperatorEP11TIntermNodeNS_9TOperatorERKNS_5TTypeERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef %292, i32 noundef %39, ptr noundef nonnull align 8 dereferenceable(144) %1, ptr noundef nonnull align 8 dereferenceable(24) %295)
  br label %297

297:                                              ; preds = %._crit_edge, %102, %154, %183, %209, %238, %291, %281, %276, %271, %10, %19, %28, %33, %3
  %.2 = phi ptr [ %2, %3 ], [ %2, %33 ], [ %2, %28 ], [ %2, %19 ], [ %2, %10 ], [ %296, %291 ], [ %2, %281 ], [ %2, %276 ], [ %2, %271 ], [ %76, %._crit_edge ], [ %159, %154 ], [ %214, %209 ], [ %243, %238 ], [ %188, %183 ], [ %107, %102 ]
  ret ptr %.2
}

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

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

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

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

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

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass