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

; 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::TSwizzleSelectors" = type { i32, [4 x i32] }
%"class.glslang::TType" = type { ptr, i32, [4 x i8], %"class.glslang::TQualifier", ptr, %union.anon.179, 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.179 = type { ptr }
%"struct.glslang::TSampler" = type { i32 }
%"class.glslang::TParseVersions" = type { ptr, i8, i32, ptr, i32, i32, %"struct.glslang::SpvVersion", ptr, %"class.glslang::TMap", %"class.glslang::TMap.0", i32, i32, ptr }
%"struct.glslang::SpvVersion" = type <{ i32, i32, i32, i32, i8, [3 x i8] }>
%"class.glslang::TMap" = type { %"class.std::map" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TExtensionBehavior>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TExtensionBehavior>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>>, glslang::pool_allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TExtensionBehavior>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TExtensionBehavior>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TExtensionBehavior>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>>, glslang::pool_allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TExtensionBehavior>>>::_Rb_tree_impl" = type { %"class.glslang::pool_allocator", [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.glslang::pool_allocator" = type { ptr }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.glslang::TMap.0" = type { %"class.std::map.1" }
%"class.std::map.1" = type { %"class.std::_Rb_tree.2" }
%"class.std::_Rb_tree.2" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, unsigned int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, unsigned int>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>>, glslang::pool_allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, unsigned int>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, unsigned int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, unsigned int>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>>, glslang::pool_allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, unsigned int>>>::_Rb_tree_impl" = type { %"class.glslang::pool_allocator.3", [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.glslang::pool_allocator.3" = type { ptr }

@.str.94 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [39 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

declare noundef ptr @_ZN7glslang13TIntermediate8addIndexENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784), i32 noundef, ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) #1

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

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

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

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

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

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

declare void @_ZN7glslang14TParseVersions14requireProfileERKNS_10TSourceLocEiPKc(ptr noundef nonnull align 8 dereferenceable(192), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, ptr noundef) #1

declare void @_ZN7glslang14TParseVersions15profileRequiresERKNS_10TSourceLocEiiPKcS5_(ptr noundef nonnull align 8 dereferenceable(192), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN7glslang13TParseContext16handleDotSwizzleERKNS_10TSourceLocEPNS_12TIntermTypedERKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE(ptr noundef nonnull align 8 dereferenceable(24912) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(40) %3) #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %"class.glslang::TSwizzleSelectors", align 4
  %13 = alloca i32, align 4
  %14 = alloca %"class.glslang::TType", align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca %"class.glslang::TType", align 8
  %19 = alloca ptr, align 8
  %20 = alloca %"class.glslang::TType", align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  %21 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %22 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %22, ptr %10, align 8, !tbaa !5
  %23 = load ptr, ptr %8, align 8, !tbaa !5
  %24 = load ptr, ptr %23, align 8, !tbaa !9
  %25 = getelementptr inbounds ptr, ptr %24, i64 44
  %26 = load ptr, ptr %25, align 8
  %27 = call noundef zeroext i1 %26(ptr noundef nonnull align 8 dereferenceable(176) %23)
  br i1 %27, label %28, label %33

28:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  store ptr @.str.102, ptr %11, align 8, !tbaa !5
  %29 = load ptr, ptr %7, align 8, !tbaa !5
  %30 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN7glslang14TParseVersions14requireProfileERKNS_10TSourceLocEiPKc(ptr noundef nonnull align 8 dereferenceable(192) %21, ptr noundef nonnull align 8 dereferenceable(24) %29, i32 noundef -9, ptr noundef %30)
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  %32 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN7glslang14TParseVersions15profileRequiresERKNS_10TSourceLocEiiPKcS5_(ptr noundef nonnull align 8 dereferenceable(192) %21, ptr noundef nonnull align 8 dereferenceable(24) %31, i32 noundef -9, i32 noundef 420, ptr noundef @.str.94, ptr noundef %32)
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  br label %33

33:                                               ; preds = %28, %4
  call void @llvm.lifetime.start.p0(i64 20, ptr %12) #4
  call void @_ZN7glslang17TSwizzleSelectorsIiEC2Ev(ptr noundef nonnull align 4 dereferenceable(20) %12)
  %34 = load ptr, ptr %7, align 8, !tbaa !5
  %35 = load ptr, ptr %9, align 8, !tbaa !5
  %36 = load ptr, ptr %8, align 8, !tbaa !5
  %37 = load ptr, ptr %36, align 8, !tbaa !9
  %38 = getelementptr inbounds ptr, ptr %37, i64 38
  %39 = load ptr, ptr %38, align 8
  %40 = call noundef i32 %39(ptr noundef nonnull align 8 dereferenceable(176) %36)
  %41 = load ptr, ptr %21, align 8, !tbaa !9
  %42 = getelementptr inbounds ptr, ptr %41, i64 65
  %43 = load ptr, ptr %42, align 8
  call void %43(ptr noundef nonnull align 8 dereferenceable(1176) %21, ptr noundef nonnull align 8 dereferenceable(24) %34, ptr noundef nonnull align 8 dereferenceable(40) %35, i32 noundef %40, ptr noundef nonnull align 4 dereferenceable(20) %12)
  %44 = load ptr, ptr %8, align 8, !tbaa !5
  %45 = load ptr, ptr %44, align 8, !tbaa !9
  %46 = getelementptr inbounds ptr, ptr %45, i64 43
  %47 = load ptr, ptr %46, align 8
  %48 = call noundef zeroext i1 %47(ptr noundef nonnull align 8 dereferenceable(176) %44)
  br i1 %48, label %49, label %64

49:                                               ; preds = %33
  %50 = call noundef i32 @_ZNK7glslang17TSwizzleSelectorsIiE4sizeEv(ptr noundef nonnull align 4 dereferenceable(20) %12)
  %51 = icmp ne i32 %50, 1
  br i1 %51, label %52, label %64

52:                                               ; preds = %49
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  %54 = load ptr, ptr %53, align 8, !tbaa !9
  %55 = getelementptr inbounds ptr, ptr %54, i64 30
  %56 = load ptr, ptr %55, align 8
  %57 = call noundef nonnull align 8 dereferenceable(144) ptr %56(ptr noundef nonnull align 8 dereferenceable(176) %53)
  %58 = call noundef zeroext i1 @_ZNK7glslang5TType18contains16BitFloatEv(ptr noundef nonnull align 8 dereferenceable(144) %57)
  br i1 %58, label %59, label %64

59:                                               ; preds = %52
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = load ptr, ptr %21, align 8, !tbaa !9
  %62 = getelementptr inbounds ptr, ptr %61, i64 21
  %63 = load ptr, ptr %62, align 8
  call void %63(ptr noundef nonnull align 8 dereferenceable(192) %21, ptr noundef nonnull align 8 dereferenceable(24) %60, ptr noundef @.str.97, ptr noundef @.str.103)
  br label %64

64:                                               ; preds = %59, %52, %49, %33
  %65 = load ptr, ptr %8, align 8, !tbaa !5
  %66 = load ptr, ptr %65, align 8, !tbaa !9
  %67 = getelementptr inbounds ptr, ptr %66, i64 43
  %68 = load ptr, ptr %67, align 8
  %69 = call noundef zeroext i1 %68(ptr noundef nonnull align 8 dereferenceable(176) %65)
  br i1 %69, label %70, label %85

70:                                               ; preds = %64
  %71 = call noundef i32 @_ZNK7glslang17TSwizzleSelectorsIiE4sizeEv(ptr noundef nonnull align 4 dereferenceable(20) %12)
  %72 = icmp ne i32 %71, 1
  br i1 %72, label %73, label %85

73:                                               ; preds = %70
  %74 = load ptr, ptr %8, align 8, !tbaa !5
  %75 = load ptr, ptr %74, align 8, !tbaa !9
  %76 = getelementptr inbounds ptr, ptr %75, i64 30
  %77 = load ptr, ptr %76, align 8
  %78 = call noundef nonnull align 8 dereferenceable(144) ptr %77(ptr noundef nonnull align 8 dereferenceable(176) %74)
  %79 = call noundef zeroext i1 @_ZNK7glslang5TType16contains16BitIntEv(ptr noundef nonnull align 8 dereferenceable(144) %78)
  br i1 %79, label %80, label %85

80:                                               ; preds = %73
  %81 = load ptr, ptr %7, align 8, !tbaa !5
  %82 = load ptr, ptr %21, align 8, !tbaa !9
  %83 = getelementptr inbounds ptr, ptr %82, i64 24
  %84 = load ptr, ptr %83, align 8
  call void %84(ptr noundef nonnull align 8 dereferenceable(192) %21, ptr noundef nonnull align 8 dereferenceable(24) %81, ptr noundef @.str.97, ptr noundef @.str.104)
  br label %85

85:                                               ; preds = %80, %73, %70, %64
  %86 = load ptr, ptr %8, align 8, !tbaa !5
  %87 = load ptr, ptr %86, align 8, !tbaa !9
  %88 = getelementptr inbounds ptr, ptr %87, i64 43
  %89 = load ptr, ptr %88, align 8
  %90 = call noundef zeroext i1 %89(ptr noundef nonnull align 8 dereferenceable(176) %86)
  br i1 %90, label %91, label %106

91:                                               ; preds = %85
  %92 = call noundef i32 @_ZNK7glslang17TSwizzleSelectorsIiE4sizeEv(ptr noundef nonnull align 4 dereferenceable(20) %12)
  %93 = icmp ne i32 %92, 1
  br i1 %93, label %94, label %106

94:                                               ; preds = %91
  %95 = load ptr, ptr %8, align 8, !tbaa !5
  %96 = load ptr, ptr %95, align 8, !tbaa !9
  %97 = getelementptr inbounds ptr, ptr %96, i64 30
  %98 = load ptr, ptr %97, align 8
  %99 = call noundef nonnull align 8 dereferenceable(144) ptr %98(ptr noundef nonnull align 8 dereferenceable(176) %95)
  %100 = call noundef zeroext i1 @_ZNK7glslang5TType15contains8BitIntEv(ptr noundef nonnull align 8 dereferenceable(144) %99)
  br i1 %100, label %101, label %106

101:                                              ; preds = %94
  %102 = load ptr, ptr %7, align 8, !tbaa !5
  %103 = load ptr, ptr %21, align 8, !tbaa !9
  %104 = getelementptr inbounds ptr, ptr %103, i64 27
  %105 = load ptr, ptr %104, align 8
  call void %105(ptr noundef nonnull align 8 dereferenceable(192) %21, ptr noundef nonnull align 8 dereferenceable(24) %102, ptr noundef @.str.97, ptr noundef @.str.105)
  br label %106

106:                                              ; preds = %101, %94, %91, %85
  %107 = load ptr, ptr %8, align 8, !tbaa !5
  %108 = load ptr, ptr %107, align 8, !tbaa !9
  %109 = getelementptr inbounds ptr, ptr %108, i64 44
  %110 = load ptr, ptr %109, align 8
  %111 = call noundef zeroext i1 %110(ptr noundef nonnull align 8 dereferenceable(176) %107)
  br i1 %111, label %112, label %145

112:                                              ; preds = %106
  %113 = call noundef i32 @_ZNK7glslang17TSwizzleSelectorsIiE4sizeEv(ptr noundef nonnull align 4 dereferenceable(20) %12)
  %114 = icmp eq i32 %113, 1
  br i1 %114, label %115, label %117

115:                                              ; preds = %112
  %116 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %116, ptr %5, align 8
  store i32 1, ptr %13, align 4
  br label %269

117:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 144, ptr %14) #4
  %118 = load ptr, ptr %8, align 8, !tbaa !5
  %119 = load ptr, ptr %118, align 8, !tbaa !9
  %120 = getelementptr inbounds ptr, ptr %119, i64 32
  %121 = load ptr, ptr %120, align 8
  %122 = call noundef i32 %121(ptr noundef nonnull align 8 dereferenceable(176) %118)
  %123 = call noundef i32 @_ZNK7glslang17TSwizzleSelectorsIiE4sizeEv(ptr noundef nonnull align 4 dereferenceable(20) %12)
  call void @_ZN7glslang5TTypeC2ENS_10TBasicTypeENS_17TStorageQualifierEiiib(ptr noundef nonnull align 8 dereferenceable(144) %14, i32 noundef %122, i32 noundef 0, i32 noundef %123, i32 noundef 0, i32 noundef 0, i1 noundef zeroext false)
  %124 = load ptr, ptr %8, align 8, !tbaa !5
  %125 = load ptr, ptr %124, align 8, !tbaa !9
  %126 = getelementptr inbounds ptr, ptr %125, i64 33
  %127 = load ptr, ptr %126, align 8
  %128 = invoke noundef nonnull align 8 dereferenceable(72) ptr %127(ptr noundef nonnull align 8 dereferenceable(176) %124)
          to label %129 unwind label %136

129:                                              ; preds = %117
  %130 = invoke noundef zeroext i1 @_ZNK7glslang10TQualifier14isSpecConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %128)
          to label %131 unwind label %136

131:                                              ; preds = %129
  br i1 %130, label %132, label %140

132:                                              ; preds = %131
  %133 = invoke noundef nonnull align 8 dereferenceable(72) ptr @_ZN7glslang5TType12getQualifierEv(ptr noundef nonnull align 8 dereferenceable(144) %14)
          to label %134 unwind label %136

134:                                              ; preds = %132
  invoke void @_ZN7glslang10TQualifier16makeSpecConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %133)
          to label %135 unwind label %136

135:                                              ; preds = %134
  br label %140

136:                                              ; preds = %140, %134, %132, %129, %117
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %15, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %16, align 4
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %14) #4
  call void @llvm.lifetime.end.p0(i64 144, ptr %14) #4
  br label %271

140:                                              ; preds = %135, %131
  %141 = load ptr, ptr %7, align 8, !tbaa !5
  %142 = load ptr, ptr %8, align 8, !tbaa !5
  %143 = invoke noundef ptr @_ZN7glslang13TParseContext14addConstructorERKNS_10TSourceLocEP11TIntermNodeRKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(24912) %21, ptr noundef nonnull align 8 dereferenceable(24) %141, ptr noundef %142, ptr noundef nonnull align 8 dereferenceable(144) %14)
          to label %144 unwind label %136

144:                                              ; preds = %140
  store ptr %143, ptr %5, align 8
  store i32 1, ptr %13, align 4
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %14) #4
  call void @llvm.lifetime.end.p0(i64 144, ptr %14) #4
  br label %269

145:                                              ; preds = %106
  %146 = load ptr, ptr %8, align 8, !tbaa !5
  %147 = load ptr, ptr %146, align 8, !tbaa !9
  %148 = getelementptr inbounds ptr, ptr %147, i64 30
  %149 = load ptr, ptr %148, align 8
  %150 = call noundef nonnull align 8 dereferenceable(144) ptr %149(ptr noundef nonnull align 8 dereferenceable(176) %146)
  %151 = load ptr, ptr %150, align 8, !tbaa !9
  %152 = getelementptr inbounds ptr, ptr %151, i64 11
  %153 = load ptr, ptr %152, align 8
  %154 = call noundef nonnull align 8 dereferenceable(72) ptr %153(ptr noundef nonnull align 8 dereferenceable(144) %150)
  %155 = call noundef zeroext i1 @_ZNK7glslang10TQualifier18isFrontEndConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %154)
  br i1 %155, label %156, label %162

156:                                              ; preds = %145
  %157 = getelementptr inbounds %"class.glslang::TParseVersions", ptr %21, i32 0, i32 7
  %158 = load ptr, ptr %157, align 8, !tbaa !11
  %159 = load ptr, ptr %8, align 8, !tbaa !5
  %160 = load ptr, ptr %7, align 8, !tbaa !5
  %161 = call noundef ptr @_ZN7glslang13TIntermediate11foldSwizzleEPNS_12TIntermTypedERNS_17TSwizzleSelectorsIiEERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %158, ptr noundef %159, ptr noundef nonnull align 4 dereferenceable(20) %12, ptr noundef nonnull align 8 dereferenceable(24) %160)
  store ptr %161, ptr %10, align 8, !tbaa !5
  br label %267

162:                                              ; preds = %145
  %163 = call noundef i32 @_ZNK7glslang17TSwizzleSelectorsIiE4sizeEv(ptr noundef nonnull align 4 dereferenceable(20) %12)
  %164 = icmp eq i32 %163, 1
  br i1 %164, label %165, label %205

165:                                              ; preds = %162
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %166 = getelementptr inbounds %"class.glslang::TParseVersions", ptr %21, i32 0, i32 7
  %167 = load ptr, ptr %166, align 8, !tbaa !11
  %168 = call noundef i32 @_ZNK7glslang17TSwizzleSelectorsIiEixEi(ptr noundef nonnull align 4 dereferenceable(20) %12, i32 noundef 0)
  %169 = load ptr, ptr %7, align 8, !tbaa !5
  %170 = call noundef ptr @_ZNK7glslang13TIntermediate16addConstantUnionEiRKNS_10TSourceLocEb(ptr noundef nonnull align 8 dereferenceable(1784) %167, i32 noundef %168, ptr noundef nonnull align 8 dereferenceable(24) %169, i1 noundef zeroext false)
  store ptr %170, ptr %17, align 8, !tbaa !5
  %171 = getelementptr inbounds %"class.glslang::TParseVersions", ptr %21, i32 0, i32 7
  %172 = load ptr, ptr %171, align 8, !tbaa !11
  %173 = load ptr, ptr %8, align 8, !tbaa !5
  %174 = load ptr, ptr %17, align 8, !tbaa !5
  %175 = load ptr, ptr %7, align 8, !tbaa !5
  %176 = call noundef ptr @_ZN7glslang13TIntermediate8addIndexENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %172, i32 noundef 180, ptr noundef %173, ptr noundef %174, ptr noundef nonnull align 8 dereferenceable(24) %175)
  store ptr %176, ptr %10, align 8, !tbaa !5
  %177 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 144, ptr %18) #4
  %178 = load ptr, ptr %8, align 8, !tbaa !5
  %179 = load ptr, ptr %178, align 8, !tbaa !9
  %180 = getelementptr inbounds ptr, ptr %179, i64 32
  %181 = load ptr, ptr %180, align 8
  %182 = call noundef i32 %181(ptr noundef nonnull align 8 dereferenceable(176) %178)
  %183 = load ptr, ptr %8, align 8, !tbaa !5
  %184 = load ptr, ptr %183, align 8, !tbaa !9
  %185 = getelementptr inbounds ptr, ptr %184, i64 30
  %186 = load ptr, ptr %185, align 8
  %187 = call noundef nonnull align 8 dereferenceable(144) ptr %186(ptr noundef nonnull align 8 dereferenceable(176) %183)
  %188 = load ptr, ptr %187, align 8, !tbaa !9
  %189 = getelementptr inbounds ptr, ptr %188, i64 11
  %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 %"class.glslang::TQualifier", ptr %191, i32 0, i32 1
  %193 = load i64, ptr %192, align 8
  %194 = lshr i64 %193, 24
  %195 = and i64 %194, 7
  %196 = trunc i64 %195 to i32
  call void @_ZN7glslang5TTypeC2ENS_10TBasicTypeENS_17TStorageQualifierENS_19TPrecisionQualifierEiiib(ptr noundef nonnull align 8 dereferenceable(144) %18, i32 noundef %182, i32 noundef 0, i32 noundef %196, i32 noundef 1, i32 noundef 0, i32 noundef 0, i1 noundef zeroext false)
  %197 = load ptr, ptr %177, align 8, !tbaa !9
  %198 = getelementptr inbounds ptr, ptr %197, i64 29
  %199 = load ptr, ptr %198, align 8
  invoke void %199(ptr noundef nonnull align 8 dereferenceable(176) %177, ptr noundef nonnull align 8 dereferenceable(144) %18)
          to label %200 unwind label %201

200:                                              ; preds = %165
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %18) #4
  call void @llvm.lifetime.end.p0(i64 144, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  br label %245

201:                                              ; preds = %165
  %202 = landingpad { ptr, i32 }
          cleanup
  %203 = extractvalue { ptr, i32 } %202, 0
  store ptr %203, ptr %15, align 8
  %204 = extractvalue { ptr, i32 } %202, 1
  store i32 %204, ptr %16, align 4
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %18) #4
  call void @llvm.lifetime.end.p0(i64 144, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  br label %271

205:                                              ; preds = %162
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %206 = getelementptr inbounds %"class.glslang::TParseVersions", ptr %21, i32 0, i32 7
  %207 = load ptr, ptr %206, align 8, !tbaa !11
  %208 = load ptr, ptr %7, align 8, !tbaa !5
  %209 = call noundef ptr @_ZN7glslang13TIntermediate10addSwizzleIiEEPNS_12TIntermTypedERNS_17TSwizzleSelectorsIT_EERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %207, ptr noundef nonnull align 4 dereferenceable(20) %12, ptr noundef nonnull align 8 dereferenceable(24) %208)
  store ptr %209, ptr %19, align 8, !tbaa !5
  %210 = getelementptr inbounds %"class.glslang::TParseVersions", ptr %21, i32 0, i32 7
  %211 = load ptr, ptr %210, align 8, !tbaa !11
  %212 = load ptr, ptr %8, align 8, !tbaa !5
  %213 = load ptr, ptr %19, align 8, !tbaa !5
  %214 = load ptr, ptr %7, align 8, !tbaa !5
  %215 = call noundef ptr @_ZN7glslang13TIntermediate8addIndexENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %211, i32 noundef 183, ptr noundef %212, ptr noundef %213, ptr noundef nonnull align 8 dereferenceable(24) %214)
  store ptr %215, ptr %10, align 8, !tbaa !5
  %216 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 144, ptr %20) #4
  %217 = load ptr, ptr %8, align 8, !tbaa !5
  %218 = load ptr, ptr %217, align 8, !tbaa !9
  %219 = getelementptr inbounds ptr, ptr %218, i64 32
  %220 = load ptr, ptr %219, align 8
  %221 = call noundef i32 %220(ptr noundef nonnull align 8 dereferenceable(176) %217)
  %222 = load ptr, ptr %8, align 8, !tbaa !5
  %223 = load ptr, ptr %222, align 8, !tbaa !9
  %224 = getelementptr inbounds ptr, ptr %223, i64 30
  %225 = load ptr, ptr %224, align 8
  %226 = call noundef nonnull align 8 dereferenceable(144) ptr %225(ptr noundef nonnull align 8 dereferenceable(176) %222)
  %227 = load ptr, ptr %226, align 8, !tbaa !9
  %228 = getelementptr inbounds ptr, ptr %227, i64 11
  %229 = load ptr, ptr %228, align 8
  %230 = call noundef nonnull align 8 dereferenceable(72) ptr %229(ptr noundef nonnull align 8 dereferenceable(144) %226)
  %231 = getelementptr inbounds %"class.glslang::TQualifier", ptr %230, i32 0, i32 1
  %232 = load i64, ptr %231, align 8
  %233 = lshr i64 %232, 24
  %234 = and i64 %233, 7
  %235 = trunc i64 %234 to i32
  %236 = call noundef i32 @_ZNK7glslang17TSwizzleSelectorsIiE4sizeEv(ptr noundef nonnull align 4 dereferenceable(20) %12)
  call void @_ZN7glslang5TTypeC2ENS_10TBasicTypeENS_17TStorageQualifierENS_19TPrecisionQualifierEiiib(ptr noundef nonnull align 8 dereferenceable(144) %20, i32 noundef %221, i32 noundef 0, i32 noundef %235, i32 noundef %236, i32 noundef 0, i32 noundef 0, i1 noundef zeroext false)
  %237 = load ptr, ptr %216, align 8, !tbaa !9
  %238 = getelementptr inbounds ptr, ptr %237, i64 29
  %239 = load ptr, ptr %238, align 8
  invoke void %239(ptr noundef nonnull align 8 dereferenceable(176) %216, ptr noundef nonnull align 8 dereferenceable(144) %20)
          to label %240 unwind label %241

240:                                              ; preds = %205
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %20) #4
  call void @llvm.lifetime.end.p0(i64 144, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  br label %245

241:                                              ; preds = %205
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %15, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %16, align 4
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %20) #4
  call void @llvm.lifetime.end.p0(i64 144, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  br label %271

245:                                              ; preds = %240, %200
  %246 = load ptr, ptr %8, align 8, !tbaa !5
  %247 = load ptr, ptr %246, align 8, !tbaa !9
  %248 = getelementptr inbounds ptr, ptr %247, i64 30
  %249 = load ptr, ptr %248, align 8
  %250 = call noundef nonnull align 8 dereferenceable(144) ptr %249(ptr noundef nonnull align 8 dereferenceable(176) %246)
  %251 = load ptr, ptr %250, align 8, !tbaa !9
  %252 = getelementptr inbounds ptr, ptr %251, i64 11
  %253 = load ptr, ptr %252, align 8
  %254 = call noundef nonnull align 8 dereferenceable(72) ptr %253(ptr noundef nonnull align 8 dereferenceable(144) %250)
  %255 = call noundef zeroext i1 @_ZNK7glslang10TQualifier14isSpecConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %254)
  br i1 %255, label %256, label %266

256:                                              ; preds = %245
  %257 = load ptr, ptr %10, align 8, !tbaa !5
  %258 = load ptr, ptr %257, align 8, !tbaa !9
  %259 = getelementptr inbounds ptr, ptr %258, i64 31
  %260 = load ptr, ptr %259, align 8
  %261 = call noundef nonnull align 8 dereferenceable(144) ptr %260(ptr noundef nonnull align 8 dereferenceable(176) %257)
  %262 = load ptr, ptr %261, align 8, !tbaa !9
  %263 = getelementptr inbounds ptr, ptr %262, i64 10
  %264 = load ptr, ptr %263, align 8
  %265 = call noundef nonnull align 8 dereferenceable(72) ptr %264(ptr noundef nonnull align 8 dereferenceable(144) %261)
  call void @_ZN7glslang10TQualifier16makeSpecConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %265)
  br label %266

266:                                              ; preds = %256, %245
  br label %267

267:                                              ; preds = %266, %156
  %268 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %268, ptr %5, align 8
  store i32 1, ptr %13, align 4
  br label %269

269:                                              ; preds = %267, %144, %115
  call void @llvm.lifetime.end.p0(i64 20, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  %270 = load ptr, ptr %5, align 8
  ret ptr %270

271:                                              ; preds = %241, %201, %136
  call void @llvm.lifetime.end.p0(i64 20, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  br label %272

272:                                              ; preds = %271
  %273 = load ptr, ptr %15, align 8
  %274 = load i32, ptr %16, align 4
  %275 = insertvalue { ptr, i32 } poison, ptr %273, 0
  %276 = insertvalue { ptr, i32 } %275, i32 %274, 1
  resume { ptr, i32 } %276
}

declare noundef ptr @_ZNK7glslang13TIntermediate16addConstantUnionEiRKNS_10TSourceLocEb(ptr noundef nonnull align 8 dereferenceable(1784), i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7glslang17TSwizzleSelectorsIiEC2Ev(ptr noundef nonnull align 4 dereferenceable(20)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7glslang17TSwizzleSelectorsIiE4sizeEv(ptr noundef nonnull align 4 dereferenceable(20)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7glslang13TParseContext14addConstructorERKNS_10TSourceLocEP11TIntermNodeRKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(24912), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef nonnull align 8 dereferenceable(144)) #2 align 2

declare noundef ptr @_ZN7glslang13TIntermediate11foldSwizzleEPNS_12TIntermTypedERNS_17TSwizzleSelectorsIiEERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784), ptr noundef, ptr noundef nonnull align 4 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(24)) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7glslang17TSwizzleSelectorsIiEixEi(ptr noundef nonnull align 4 dereferenceable(20), i32 noundef) #3 align 2

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

declare noundef ptr @_ZN7glslang13TIntermediate10addSwizzleIiEEPNS_12TIntermTypedERNS_17TSwizzleSelectorsIT_EERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784), ptr noundef nonnull align 4 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(24)) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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, !6, i64 56}
!12 = !{!"_ZTSN7glslang14TParseVersionsE", !13, i64 8, !14, i64 12, !6, i64 16, !15, i64 24, !16, i64 28, !17, i64 32, !6, i64 56, !18, i64 64, !29, i64 120, !34, i64 176, !15, i64 180, !6, i64 184}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTS8EProfile", !7, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_ZTS11EShLanguage", !7, i64 0}
!17 = !{!"_ZTSN7glslang10SpvVersionE", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !13, i64 16}
!18 = !{!"_ZTSN7glslang4TMapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_18TExtensionBehaviorESt4lessIS7_EEE", !19, i64 0}
!19 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_18TExtensionBehaviorESt4lessIS7_ENS5_ISt4pairIKS7_S8_EEEE", !20, i64 0}
!20 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_NS4_18TExtensionBehaviorEESt10_Select1stISB_ESt4lessIS7_ENS5_ISB_EEE", !21, i64 0}
!21 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_NS4_18TExtensionBehaviorEESt10_Select1stISB_ESt4lessIS7_ENS5_ISB_EEE13_Rb_tree_implISF_Lb1EEE", !22, i64 0, !23, i64 8, !25, i64 16}
!22 = !{!"_ZTSN7glslang14pool_allocatorISt13_Rb_tree_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_IcEEEENS_18TExtensionBehaviorEEEEE", !6, i64 0}
!23 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEEE", !24, i64 0}
!24 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEE"}
!25 = !{!"_ZTSSt15_Rb_tree_header", !26, i64 0, !28, i64 32}
!26 = !{!"_ZTSSt18_Rb_tree_node_base", !27, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!27 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!28 = !{!"long", !7, i64 0}
!29 = !{!"_ZTSN7glslang4TMapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEEjSt4lessIS7_EEE", !30, i64 0}
!30 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEjSt4lessIS7_ENS5_ISt4pairIKS7_jEEEE", !31, i64 0}
!31 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_jESt10_Select1stISA_ESt4lessIS7_ENS5_ISA_EEE", !32, i64 0}
!32 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_jESt10_Select1stISA_ESt4lessIS7_ENS5_ISA_EEE13_Rb_tree_implISE_Lb1EEE", !33, i64 0, !23, i64 8, !25, i64 16}
!33 = !{!"_ZTSN7glslang14pool_allocatorISt13_Rb_tree_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_IcEEEEjEEEE", !6, i64 0}
!34 = !{!"_ZTS11EShMessages", !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::TSwizzleSelectors" = type { i32, [4 x i32] }
%"class.glslang::TType" = type { ptr, i32, [4 x i8], %"class.glslang::TQualifier", ptr, %union.anon.179, 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.179 = type { ptr }
%"struct.glslang::TSampler" = type { i32 }

@.str.94 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [39 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

declare noundef ptr @_ZN7glslang13TIntermediate8addIndexENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784), i32 noundef, ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1

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

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

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

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

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

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

declare void @_ZN7glslang14TParseVersions14requireProfileERKNS_10TSourceLocEiPKc(ptr noundef nonnull align 8 dereferenceable(192), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN7glslang14TParseVersions15profileRequiresERKNS_10TSourceLocEiiPKcS5_(ptr noundef nonnull align 8 dereferenceable(192), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN7glslang13TParseContext16handleDotSwizzleERKNS_10TSourceLocEPNS_12TIntermTypedERKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE(ptr noundef nonnull align 8 dereferenceable(24912) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(40) %3) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.glslang::TSwizzleSelectors", align 4
  %6 = alloca %"class.glslang::TType", align 8
  %7 = alloca %"class.glslang::TType", align 8
  %8 = alloca %"class.glslang::TType", align 8
  %9 = load ptr, ptr %2, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %9, i64 352
  %11 = load ptr, ptr %10, align 8
  %12 = tail call noundef zeroext i1 %11(ptr noundef nonnull align 8 dereferenceable(176) %2)
  br i1 %12, label %13, label %14

13:                                               ; preds = %4
  tail call void @_ZN7glslang14TParseVersions14requireProfileERKNS_10TSourceLocEiPKc(ptr noundef nonnull align 8 dereferenceable(192) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef -9, ptr noundef nonnull @.str.102)
  tail call void @_ZN7glslang14TParseVersions15profileRequiresERKNS_10TSourceLocEiiPKcS5_(ptr noundef nonnull align 8 dereferenceable(192) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef -9, i32 noundef 420, ptr noundef nonnull @.str.94, ptr noundef nonnull @.str.102)
  br label %14

14:                                               ; preds = %13, %4
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %5) #4
  call void @_ZN7glslang17TSwizzleSelectorsIiEC2Ev(ptr noundef nonnull align 4 dereferenceable(20) %5)
  %15 = load ptr, ptr %2, align 8, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %15, i64 304
  %17 = load ptr, ptr %16, align 8
  %18 = call noundef i32 %17(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %19 = load ptr, ptr %0, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %19, i64 520
  %21 = load ptr, ptr %20, align 8
  call void %21(ptr noundef nonnull align 8 dereferenceable(1176) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(40) %3, i32 noundef %18, ptr noundef nonnull align 4 dereferenceable(20) %5)
  %22 = load ptr, ptr %2, align 8, !tbaa !5
  %23 = getelementptr inbounds i8, ptr %22, i64 344
  %24 = load ptr, ptr %23, align 8
  %25 = call noundef zeroext i1 %24(ptr noundef nonnull align 8 dereferenceable(176) %2)
  br i1 %25, label %26, label %38

26:                                               ; preds = %14
  %27 = call noundef i32 @_ZNK7glslang17TSwizzleSelectorsIiE4sizeEv(ptr noundef nonnull align 4 dereferenceable(20) %5)
  %.not = icmp eq i32 %27, 1
  br i1 %.not, label %38, label %28

28:                                               ; preds = %26
  %29 = load ptr, ptr %2, align 8, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %29, i64 240
  %31 = load ptr, ptr %30, align 8
  %32 = call noundef nonnull align 8 dereferenceable(144) ptr %31(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %33 = call noundef zeroext i1 @_ZNK7glslang5TType18contains16BitFloatEv(ptr noundef nonnull align 8 dereferenceable(144) %32)
  br i1 %33, label %34, label %38

34:                                               ; preds = %28
  %35 = load ptr, ptr %0, align 8, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %35, i64 168
  %37 = load ptr, ptr %36, align 8
  call void %37(ptr noundef nonnull align 8 dereferenceable(192) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.97, ptr noundef nonnull @.str.103)
  br label %38

38:                                               ; preds = %34, %28, %26, %14
  %39 = load ptr, ptr %2, align 8, !tbaa !5
  %40 = getelementptr inbounds i8, ptr %39, i64 344
  %41 = load ptr, ptr %40, align 8
  %42 = call noundef zeroext i1 %41(ptr noundef nonnull align 8 dereferenceable(176) %2)
  br i1 %42, label %43, label %55

43:                                               ; preds = %38
  %44 = call noundef i32 @_ZNK7glslang17TSwizzleSelectorsIiE4sizeEv(ptr noundef nonnull align 4 dereferenceable(20) %5)
  %.not50 = icmp eq i32 %44, 1
  br i1 %.not50, label %55, label %45

45:                                               ; preds = %43
  %46 = load ptr, ptr %2, align 8, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %46, i64 240
  %48 = load ptr, ptr %47, align 8
  %49 = call noundef nonnull align 8 dereferenceable(144) ptr %48(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %50 = call noundef zeroext i1 @_ZNK7glslang5TType16contains16BitIntEv(ptr noundef nonnull align 8 dereferenceable(144) %49)
  br i1 %50, label %51, label %55

51:                                               ; preds = %45
  %52 = load ptr, ptr %0, align 8, !tbaa !5
  %53 = getelementptr inbounds i8, ptr %52, i64 192
  %54 = load ptr, ptr %53, align 8
  call void %54(ptr noundef nonnull align 8 dereferenceable(192) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.97, ptr noundef nonnull @.str.104)
  br label %55

55:                                               ; preds = %51, %45, %43, %38
  %56 = load ptr, ptr %2, align 8, !tbaa !5
  %57 = getelementptr inbounds i8, ptr %56, i64 344
  %58 = load ptr, ptr %57, align 8
  %59 = call noundef zeroext i1 %58(ptr noundef nonnull align 8 dereferenceable(176) %2)
  br i1 %59, label %60, label %72

60:                                               ; preds = %55
  %61 = call noundef i32 @_ZNK7glslang17TSwizzleSelectorsIiE4sizeEv(ptr noundef nonnull align 4 dereferenceable(20) %5)
  %.not51 = icmp eq i32 %61, 1
  br i1 %.not51, label %72, label %62

62:                                               ; preds = %60
  %63 = load ptr, ptr %2, align 8, !tbaa !5
  %64 = getelementptr inbounds i8, ptr %63, i64 240
  %65 = load ptr, ptr %64, align 8
  %66 = call noundef nonnull align 8 dereferenceable(144) ptr %65(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %67 = call noundef zeroext i1 @_ZNK7glslang5TType15contains8BitIntEv(ptr noundef nonnull align 8 dereferenceable(144) %66)
  br i1 %67, label %68, label %72

68:                                               ; preds = %62
  %69 = load ptr, ptr %0, align 8, !tbaa !5
  %70 = getelementptr inbounds i8, ptr %69, i64 216
  %71 = load ptr, ptr %70, align 8
  call void %71(ptr noundef nonnull align 8 dereferenceable(192) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull @.str.97, ptr noundef nonnull @.str.105)
  br label %72

72:                                               ; preds = %68, %62, %60, %55
  %73 = load ptr, ptr %2, align 8, !tbaa !5
  %74 = getelementptr inbounds i8, ptr %73, i64 352
  %75 = load ptr, ptr %74, align 8
  %76 = call noundef zeroext i1 %75(ptr noundef nonnull align 8 dereferenceable(176) %2)
  br i1 %76, label %77, label %99

77:                                               ; preds = %72
  %78 = call noundef i32 @_ZNK7glslang17TSwizzleSelectorsIiE4sizeEv(ptr noundef nonnull align 4 dereferenceable(20) %5)
  %79 = icmp eq i32 %78, 1
  br i1 %79, label %193, label %80

80:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %6) #4
  %81 = load ptr, ptr %2, align 8, !tbaa !5
  %82 = getelementptr inbounds i8, ptr %81, i64 256
  %83 = load ptr, ptr %82, align 8
  %84 = call noundef i32 %83(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %85 = call noundef i32 @_ZNK7glslang17TSwizzleSelectorsIiE4sizeEv(ptr noundef nonnull align 4 dereferenceable(20) %5)
  call void @_ZN7glslang5TTypeC2ENS_10TBasicTypeENS_17TStorageQualifierEiiib(ptr noundef nonnull align 8 dereferenceable(144) %6, i32 noundef %84, i32 noundef 0, i32 noundef %85, i32 noundef 0, i32 noundef 0, i1 noundef zeroext false)
  %86 = load ptr, ptr %2, align 8, !tbaa !5
  %87 = getelementptr inbounds i8, ptr %86, i64 264
  %88 = load ptr, ptr %87, align 8
  %89 = invoke noundef nonnull align 8 dereferenceable(72) ptr %88(ptr noundef nonnull align 8 dereferenceable(176) %2)
          to label %90 unwind label %94

90:                                               ; preds = %80
  %91 = call noundef zeroext i1 @_ZNK7glslang10TQualifier14isSpecConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %89)
  br i1 %91, label %92, label %96

92:                                               ; preds = %90
  %93 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZN7glslang5TType12getQualifierEv(ptr noundef nonnull align 8 dereferenceable(144) %6)
  call void @_ZN7glslang10TQualifier16makeSpecConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %93)
  br label %96

94:                                               ; preds = %96, %80
  %95 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %6) #4
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %6) #4
  br label %194

96:                                               ; preds = %92, %90
  %97 = invoke noundef ptr @_ZN7glslang13TParseContext14addConstructorERKNS_10TSourceLocEP11TIntermNodeRKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(24912) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull %2, ptr noundef nonnull align 8 dereferenceable(144) %6)
          to label %98 unwind label %94

98:                                               ; preds = %96
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %6) #4
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %6) #4
  br label %193

99:                                               ; preds = %72
  %100 = load ptr, ptr %2, align 8, !tbaa !5
  %101 = getelementptr inbounds i8, ptr %100, i64 240
  %102 = load ptr, ptr %101, align 8
  %103 = call noundef nonnull align 8 dereferenceable(144) ptr %102(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %104 = load ptr, ptr %103, align 8, !tbaa !5
  %105 = getelementptr inbounds i8, ptr %104, i64 88
  %106 = load ptr, ptr %105, align 8
  %107 = call noundef nonnull align 8 dereferenceable(72) ptr %106(ptr noundef nonnull align 8 dereferenceable(144) %103)
  %108 = call noundef zeroext i1 @_ZNK7glslang10TQualifier18isFrontEndConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %107)
  br i1 %108, label %109, label %113

109:                                              ; preds = %99
  %110 = getelementptr inbounds i8, ptr %0, i64 56
  %111 = load ptr, ptr %110, align 8, !tbaa !8
  %112 = call noundef ptr @_ZN7glslang13TIntermediate11foldSwizzleEPNS_12TIntermTypedERNS_17TSwizzleSelectorsIiEERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %111, ptr noundef nonnull %2, ptr noundef nonnull align 4 dereferenceable(20) %5, ptr noundef nonnull align 8 dereferenceable(24) %1)
  br label %193

113:                                              ; preds = %99
  %114 = call noundef i32 @_ZNK7glslang17TSwizzleSelectorsIiE4sizeEv(ptr noundef nonnull align 4 dereferenceable(20) %5)
  %115 = icmp eq i32 %114, 1
  %116 = getelementptr inbounds i8, ptr %0, i64 56
  %117 = load ptr, ptr %116, align 8, !tbaa !8
  br i1 %115, label %118, label %146

118:                                              ; preds = %113
  %119 = call noundef i32 @_ZNK7glslang17TSwizzleSelectorsIiEixEi(ptr noundef nonnull align 4 dereferenceable(20) %5, i32 noundef 0)
  %120 = call noundef ptr @_ZNK7glslang13TIntermediate16addConstantUnionEiRKNS_10TSourceLocEb(ptr noundef nonnull align 8 dereferenceable(1784) %117, i32 noundef %119, ptr noundef nonnull align 8 dereferenceable(24) %1, i1 noundef zeroext false)
  %121 = load ptr, ptr %116, align 8, !tbaa !8
  %122 = call noundef ptr @_ZN7glslang13TIntermediate8addIndexENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %121, i32 noundef 180, ptr noundef nonnull %2, ptr noundef %120, ptr noundef nonnull align 8 dereferenceable(24) %1)
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %7) #4
  %123 = load ptr, ptr %2, align 8, !tbaa !5
  %124 = getelementptr inbounds i8, ptr %123, i64 256
  %125 = load ptr, ptr %124, align 8
  %126 = call noundef i32 %125(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %127 = load ptr, ptr %2, align 8, !tbaa !5
  %128 = getelementptr inbounds i8, ptr %127, i64 240
  %129 = load ptr, ptr %128, align 8
  %130 = call noundef nonnull align 8 dereferenceable(144) ptr %129(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %131 = load ptr, ptr %130, align 8, !tbaa !5
  %132 = getelementptr inbounds i8, ptr %131, i64 88
  %133 = load ptr, ptr %132, align 8
  %134 = call noundef nonnull align 8 dereferenceable(72) ptr %133(ptr noundef nonnull align 8 dereferenceable(144) %130)
  %135 = getelementptr inbounds i8, ptr %134, i64 8
  %136 = load i64, ptr %135, align 8
  %137 = trunc i64 %136 to i32
  %138 = lshr i32 %137, 24
  %139 = and i32 %138, 7
  call void @_ZN7glslang5TTypeC2ENS_10TBasicTypeENS_17TStorageQualifierENS_19TPrecisionQualifierEiiib(ptr noundef nonnull align 8 dereferenceable(144) %7, i32 noundef %126, i32 noundef 0, i32 noundef %139, i32 noundef 1, i32 noundef 0, i32 noundef 0, i1 noundef zeroext false)
  %140 = load ptr, ptr %122, align 8, !tbaa !5
  %141 = getelementptr inbounds i8, ptr %140, i64 232
  %142 = load ptr, ptr %141, align 8
  invoke void %142(ptr noundef nonnull align 8 dereferenceable(176) %122, ptr noundef nonnull align 8 dereferenceable(144) %7)
          to label %143 unwind label %144

143:                                              ; preds = %118
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %7) #4
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %7) #4
  br label %174

144:                                              ; preds = %118
  %145 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %7) #4
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %7) #4
  br label %194

146:                                              ; preds = %113
  %147 = call noundef ptr @_ZN7glslang13TIntermediate10addSwizzleIiEEPNS_12TIntermTypedERNS_17TSwizzleSelectorsIT_EERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %117, ptr noundef nonnull align 4 dereferenceable(20) %5, ptr noundef nonnull align 8 dereferenceable(24) %1)
  %148 = load ptr, ptr %116, align 8, !tbaa !8
  %149 = call noundef ptr @_ZN7glslang13TIntermediate8addIndexENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784) %148, i32 noundef 183, ptr noundef nonnull %2, ptr noundef %147, ptr noundef nonnull align 8 dereferenceable(24) %1)
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %8) #4
  %150 = load ptr, ptr %2, align 8, !tbaa !5
  %151 = getelementptr inbounds i8, ptr %150, i64 256
  %152 = load ptr, ptr %151, align 8
  %153 = call noundef i32 %152(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %154 = load ptr, ptr %2, align 8, !tbaa !5
  %155 = getelementptr inbounds i8, ptr %154, i64 240
  %156 = load ptr, ptr %155, align 8
  %157 = call noundef nonnull align 8 dereferenceable(144) ptr %156(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %158 = load ptr, ptr %157, align 8, !tbaa !5
  %159 = getelementptr inbounds i8, ptr %158, i64 88
  %160 = load ptr, ptr %159, align 8
  %161 = call noundef nonnull align 8 dereferenceable(72) ptr %160(ptr noundef nonnull align 8 dereferenceable(144) %157)
  %162 = getelementptr inbounds i8, ptr %161, i64 8
  %163 = load i64, ptr %162, align 8
  %164 = trunc i64 %163 to i32
  %165 = lshr i32 %164, 24
  %166 = and i32 %165, 7
  %167 = call noundef i32 @_ZNK7glslang17TSwizzleSelectorsIiE4sizeEv(ptr noundef nonnull align 4 dereferenceable(20) %5)
  call void @_ZN7glslang5TTypeC2ENS_10TBasicTypeENS_17TStorageQualifierENS_19TPrecisionQualifierEiiib(ptr noundef nonnull align 8 dereferenceable(144) %8, i32 noundef %153, i32 noundef 0, i32 noundef %166, i32 noundef %167, i32 noundef 0, i32 noundef 0, i1 noundef zeroext false)
  %168 = load ptr, ptr %149, align 8, !tbaa !5
  %169 = getelementptr inbounds i8, ptr %168, i64 232
  %170 = load ptr, ptr %169, align 8
  invoke void %170(ptr noundef nonnull align 8 dereferenceable(176) %149, ptr noundef nonnull align 8 dereferenceable(144) %8)
          to label %171 unwind label %172

171:                                              ; preds = %146
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %8) #4
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %8) #4
  br label %174

172:                                              ; preds = %146
  %173 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %8) #4
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %8) #4
  br label %194

174:                                              ; preds = %171, %143
  %.047 = phi ptr [ %122, %143 ], [ %149, %171 ]
  %175 = load ptr, ptr %2, align 8, !tbaa !5
  %176 = getelementptr inbounds i8, ptr %175, i64 240
  %177 = load ptr, ptr %176, align 8
  %178 = call noundef nonnull align 8 dereferenceable(144) ptr %177(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %179 = load ptr, ptr %178, align 8, !tbaa !5
  %180 = getelementptr inbounds i8, ptr %179, i64 88
  %181 = load ptr, ptr %180, align 8
  %182 = call noundef nonnull align 8 dereferenceable(72) ptr %181(ptr noundef nonnull align 8 dereferenceable(144) %178)
  %183 = call noundef zeroext i1 @_ZNK7glslang10TQualifier14isSpecConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %182)
  br i1 %183, label %184, label %193

184:                                              ; preds = %174
  %185 = load ptr, ptr %.047, align 8, !tbaa !5
  %186 = getelementptr inbounds i8, ptr %185, i64 248
  %187 = load ptr, ptr %186, align 8
  %188 = call noundef nonnull align 8 dereferenceable(144) ptr %187(ptr noundef nonnull align 8 dereferenceable(176) %.047)
  %189 = load ptr, ptr %188, align 8, !tbaa !5
  %190 = getelementptr inbounds i8, ptr %189, i64 80
  %191 = load ptr, ptr %190, align 8
  %192 = call noundef nonnull align 8 dereferenceable(72) ptr %191(ptr noundef nonnull align 8 dereferenceable(144) %188)
  call void @_ZN7glslang10TQualifier16makeSpecConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %192)
  br label %193

193:                                              ; preds = %109, %184, %174, %77, %98
  %.0 = phi ptr [ %97, %98 ], [ %2, %77 ], [ %112, %109 ], [ %.047, %184 ], [ %.047, %174 ]
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %5) #4
  ret ptr %.0

194:                                              ; preds = %172, %144, %94
  %.pn = phi { ptr, i32 } [ %95, %94 ], [ %145, %144 ], [ %173, %172 ]
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %5) #4
  resume { ptr, i32 } %.pn
}

declare noundef ptr @_ZNK7glslang13TIntermediate16addConstantUnionEiRKNS_10TSourceLocEb(ptr noundef nonnull align 8 dereferenceable(1784), i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7glslang17TSwizzleSelectorsIiEC2Ev(ptr noundef nonnull align 4 dereferenceable(20)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7glslang17TSwizzleSelectorsIiE4sizeEv(ptr noundef nonnull align 4 dereferenceable(20)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7glslang13TParseContext14addConstructorERKNS_10TSourceLocEP11TIntermNodeRKNS_5TTypeE(ptr noundef nonnull align 8 dereferenceable(24912), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #2 align 2

declare noundef ptr @_ZN7glslang13TIntermediate11foldSwizzleEPNS_12TIntermTypedERNS_17TSwizzleSelectorsIiEERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784), ptr noundef, ptr noundef nonnull align 4 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7glslang17TSwizzleSelectorsIiEixEi(ptr noundef nonnull align 4 dereferenceable(20), i32 noundef) local_unnamed_addr #3 align 2

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

declare noundef ptr @_ZN7glslang13TIntermediate10addSwizzleIiEEPNS_12TIntermTypedERNS_17TSwizzleSelectorsIT_EERKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(1784), ptr noundef nonnull align 4 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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, !13, i64 56}
!9 = !{!"_ZTSN7glslang14TParseVersionsE", !10, i64 8, !12, i64 12, !13, i64 16, !14, i64 24, !15, i64 28, !16, i64 32, !13, i64 56, !17, i64 64, !28, i64 120, !33, i64 176, !14, i64 180, !13, i64 184}
!10 = !{!"bool", !11, i64 0}
!11 = !{!"omnipotent char", !7, i64 0}
!12 = !{!"_ZTS8EProfile", !11, i64 0}
!13 = !{!"any pointer", !11, i64 0}
!14 = !{!"int", !11, i64 0}
!15 = !{!"_ZTS11EShLanguage", !11, i64 0}
!16 = !{!"_ZTSN7glslang10SpvVersionE", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !10, i64 16}
!17 = !{!"_ZTSN7glslang4TMapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_18TExtensionBehaviorESt4lessIS7_EEE", !18, i64 0}
!18 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_18TExtensionBehaviorESt4lessIS7_ENS5_ISt4pairIKS7_S8_EEEE", !19, i64 0}
!19 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_NS4_18TExtensionBehaviorEESt10_Select1stISB_ESt4lessIS7_ENS5_ISB_EEE", !20, i64 0}
!20 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_NS4_18TExtensionBehaviorEESt10_Select1stISB_ESt4lessIS7_ENS5_ISB_EEE13_Rb_tree_implISF_Lb1EEE", !21, i64 0, !22, i64 8, !24, i64 16}
!21 = !{!"_ZTSN7glslang14pool_allocatorISt13_Rb_tree_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_IcEEEENS_18TExtensionBehaviorEEEEE", !13, i64 0}
!22 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEEE", !23, i64 0}
!23 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEE"}
!24 = !{!"_ZTSSt15_Rb_tree_header", !25, i64 0, !27, i64 32}
!25 = !{!"_ZTSSt18_Rb_tree_node_base", !26, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!26 = !{!"_ZTSSt14_Rb_tree_color", !11, i64 0}
!27 = !{!"long", !11, i64 0}
!28 = !{!"_ZTSN7glslang4TMapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEEjSt4lessIS7_EEE", !29, i64 0}
!29 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEjSt4lessIS7_ENS5_ISt4pairIKS7_jEEEE", !30, i64 0}
!30 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_jESt10_Select1stISA_ESt4lessIS7_ENS5_ISA_EEE", !31, i64 0}
!31 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_jESt10_Select1stISA_ESt4lessIS7_ENS5_ISA_EEE13_Rb_tree_implISE_Lb1EEE", !32, i64 0, !22, i64 8, !24, i64 16}
!32 = !{!"_ZTSN7glslang14pool_allocatorISt13_Rb_tree_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_IcEEEEjEEEE", !13, i64 0}
!33 = !{!"_ZTS11EShMessages", !11, i64 0}


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