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

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

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

@.str = external hidden unnamed_addr constant [4 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7glslang5TType16buildMangledNameERNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE(ptr noundef nonnull align 8 dereferenceable(144) %0, ptr noundef nonnull align 8 dereferenceable(40) %1) #0 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca [11 x i8], align 1
  %8 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %9 = load ptr, ptr %3, align 8
  %10 = load ptr, ptr %9, align 8, !tbaa !9
  %11 = getelementptr inbounds ptr, ptr %10, i64 28
  %12 = load ptr, ptr %11, align 8
  %13 = call noundef zeroext i1 %12(ptr noundef nonnull align 8 dereferenceable(144) %9)
  br i1 %13, label %14, label %17

14:                                               ; preds = %2
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEc(ptr noundef nonnull align 8 dereferenceable(40) %15, i8 noundef signext 109)
  br label %26

17:                                               ; preds = %2
  %18 = load ptr, ptr %9, align 8, !tbaa !9
  %19 = getelementptr inbounds ptr, ptr %18, i64 27
  %20 = load ptr, ptr %19, align 8
  %21 = call noundef zeroext i1 %20(ptr noundef nonnull align 8 dereferenceable(144) %9)
  br i1 %21, label %22, label %25

22:                                               ; preds = %17
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEc(ptr noundef nonnull align 8 dereferenceable(40) %23, i8 noundef signext 118)
  br label %25

25:                                               ; preds = %22, %17
  br label %26

26:                                               ; preds = %25, %14
  %27 = getelementptr inbounds %"class.glslang::TType", ptr %9, i32 0, i32 1
  %28 = load i32, ptr %27, align 8
  %29 = and i32 %28, 255
  switch i32 %29, label %237 [
    i32 1, label %30
    i32 8, label %33
    i32 9, label %36
    i32 12, label %39
    i32 2, label %42
    i32 3, label %45
    i32 4, label %48
    i32 5, label %51
    i32 6, label %54
    i32 7, label %57
    i32 10, label %60
    i32 11, label %63
    i32 13, label %66
    i32 17, label %69
    i32 19, label %72
    i32 20, label %75
    i32 14, label %78
    i32 15, label %179
    i32 16, label %179
  ]

30:                                               ; preds = %26
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEc(ptr noundef nonnull align 8 dereferenceable(40) %31, i8 noundef signext 102)
  br label %238

33:                                               ; preds = %26
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEc(ptr noundef nonnull align 8 dereferenceable(40) %34, i8 noundef signext 105)
  br label %238

36:                                               ; preds = %26
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEc(ptr noundef nonnull align 8 dereferenceable(40) %37, i8 noundef signext 117)
  br label %238

39:                                               ; preds = %26
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEc(ptr noundef nonnull align 8 dereferenceable(40) %40, i8 noundef signext 98)
  br label %238

42:                                               ; preds = %26
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEc(ptr noundef nonnull align 8 dereferenceable(40) %43, i8 noundef signext 100)
  br label %238

45:                                               ; preds = %26
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %46, ptr noundef @.str)
  br label %238

48:                                               ; preds = %26
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %49, ptr noundef @.str.1)
  br label %238

51:                                               ; preds = %26
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %52, ptr noundef @.str.2)
  br label %238

54:                                               ; preds = %26
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %55, ptr noundef @.str.3)
  br label %238

57:                                               ; preds = %26
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %58, ptr noundef @.str.4)
  br label %238

60:                                               ; preds = %26
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %61, ptr noundef @.str.5)
  br label %238

63:                                               ; preds = %26
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %64, ptr noundef @.str.6)
  br label %238

66:                                               ; preds = %26
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  %68 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %67, ptr noundef @.str.7)
  br label %238

69:                                               ; preds = %26
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %70, ptr noundef @.str.8)
  br label %238

72:                                               ; preds = %26
  %73 = load ptr, ptr %4, align 8, !tbaa !5
  %74 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %73, ptr noundef @.str.9)
  br label %238

75:                                               ; preds = %26
  %76 = load ptr, ptr %4, align 8, !tbaa !5
  %77 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %76, ptr noundef @.str.10)
  br label %238

78:                                               ; preds = %26
  %79 = getelementptr inbounds %"class.glslang::TType", ptr %9, i32 0, i32 8
  %80 = load i32, ptr %79, align 8
  %81 = and i32 %80, 255
  switch i32 %81, label %97 [
    i32 3, label %82
    i32 8, label %85
    i32 9, label %88
    i32 10, label %91
    i32 11, label %94
  ]

82:                                               ; preds = %78
  %83 = load ptr, ptr %4, align 8, !tbaa !5
  %84 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %83, ptr noundef @.str)
  br label %98

85:                                               ; preds = %78
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %86, ptr noundef @.str.11)
  br label %98

88:                                               ; preds = %78
  %89 = load ptr, ptr %4, align 8, !tbaa !5
  %90 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %89, ptr noundef @.str.12)
  br label %98

91:                                               ; preds = %78
  %92 = load ptr, ptr %4, align 8, !tbaa !5
  %93 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %92, ptr noundef @.str.5)
  br label %98

94:                                               ; preds = %78
  %95 = load ptr, ptr %4, align 8, !tbaa !5
  %96 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %95, ptr noundef @.str.6)
  br label %98

97:                                               ; preds = %78
  br label %98

98:                                               ; preds = %97, %94, %91, %88, %85, %82
  %99 = getelementptr inbounds %"class.glslang::TType", ptr %9, i32 0, i32 8
  %100 = call noundef zeroext i1 @_ZNK7glslang8TSampler12isImageClassEv(ptr noundef nonnull align 4 dereferenceable(4) %99)
  br i1 %100, label %101, label %104

101:                                              ; preds = %98
  %102 = load ptr, ptr %4, align 8, !tbaa !5
  %103 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %102, ptr noundef @.str.13)
  br label %121

104:                                              ; preds = %98
  %105 = getelementptr inbounds %"class.glslang::TType", ptr %9, i32 0, i32 8
  %106 = call noundef zeroext i1 @_ZNK7glslang8TSampler13isPureSamplerEv(ptr noundef nonnull align 4 dereferenceable(4) %105)
  br i1 %106, label %107, label %110

107:                                              ; preds = %104
  %108 = load ptr, ptr %4, align 8, !tbaa !5
  %109 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %108, ptr noundef @.str.14)
  br label %120

110:                                              ; preds = %104
  %111 = getelementptr inbounds %"class.glslang::TType", ptr %9, i32 0, i32 8
  %112 = call noundef zeroext i1 @_ZNK7glslang8TSampler10isCombinedEv(ptr noundef nonnull align 4 dereferenceable(4) %111)
  br i1 %112, label %116, label %113

113:                                              ; preds = %110
  %114 = load ptr, ptr %4, align 8, !tbaa !5
  %115 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %114, ptr noundef @.str.15)
  br label %119

116:                                              ; preds = %110
  %117 = load ptr, ptr %4, align 8, !tbaa !5
  %118 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %117, ptr noundef @.str.16)
  br label %119

119:                                              ; preds = %116, %113
  br label %120

120:                                              ; preds = %119, %107
  br label %121

121:                                              ; preds = %120, %101
  %122 = getelementptr inbounds %"class.glslang::TType", ptr %9, i32 0, i32 8
  %123 = call noundef zeroext i1 @_ZNK7glslang8TSampler9isArrayedEv(ptr noundef nonnull align 4 dereferenceable(4) %122)
  br i1 %123, label %124, label %127

124:                                              ; preds = %121
  %125 = load ptr, ptr %4, align 8, !tbaa !5
  %126 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %125, ptr noundef @.str.17)
  br label %127

127:                                              ; preds = %124, %121
  %128 = getelementptr inbounds %"class.glslang::TType", ptr %9, i32 0, i32 8
  %129 = call noundef zeroext i1 @_ZNK7glslang8TSampler8isShadowEv(ptr noundef nonnull align 4 dereferenceable(4) %128)
  br i1 %129, label %130, label %133

130:                                              ; preds = %127
  %131 = load ptr, ptr %4, align 8, !tbaa !5
  %132 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %131, ptr noundef @.str.18)
  br label %133

133:                                              ; preds = %130, %127
  %134 = getelementptr inbounds %"class.glslang::TType", ptr %9, i32 0, i32 8
  %135 = call noundef zeroext i1 @_ZNK7glslang8TSampler10isExternalEv(ptr noundef nonnull align 4 dereferenceable(4) %134)
  br i1 %135, label %136, label %139

136:                                              ; preds = %133
  %137 = load ptr, ptr %4, align 8, !tbaa !5
  %138 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %137, ptr noundef @.str.19)
  br label %139

139:                                              ; preds = %136, %133
  %140 = getelementptr inbounds %"class.glslang::TType", ptr %9, i32 0, i32 8
  %141 = call noundef zeroext i1 @_ZNK7glslang8TSampler5isYuvEv(ptr noundef nonnull align 4 dereferenceable(4) %140)
  br i1 %141, label %142, label %145

142:                                              ; preds = %139
  %143 = load ptr, ptr %4, align 8, !tbaa !5
  %144 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %143, ptr noundef @.str.20)
  br label %145

145:                                              ; preds = %142, %139
  %146 = getelementptr inbounds %"class.glslang::TType", ptr %9, i32 0, i32 8
  %147 = load i32, ptr %146, align 8
  %148 = lshr i32 %147, 8
  %149 = and i32 %148, 255
  switch i32 %149, label %171 [
    i32 2, label %150
    i32 3, label %153
    i32 4, label %156
    i32 1, label %159
    i32 5, label %162
    i32 6, label %165
    i32 7, label %168
  ]

150:                                              ; preds = %145
  %151 = load ptr, ptr %4, align 8, !tbaa !5
  %152 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %151, ptr noundef @.str.21)
  br label %172

153:                                              ; preds = %145
  %154 = load ptr, ptr %4, align 8, !tbaa !5
  %155 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %154, ptr noundef @.str.22)
  br label %172

156:                                              ; preds = %145
  %157 = load ptr, ptr %4, align 8, !tbaa !5
  %158 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %157, ptr noundef @.str.23)
  br label %172

159:                                              ; preds = %145
  %160 = load ptr, ptr %4, align 8, !tbaa !5
  %161 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %160, ptr noundef @.str.24)
  br label %172

162:                                              ; preds = %145
  %163 = load ptr, ptr %4, align 8, !tbaa !5
  %164 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %163, ptr noundef @.str.25)
  br label %172

165:                                              ; preds = %145
  %166 = load ptr, ptr %4, align 8, !tbaa !5
  %167 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %166, ptr noundef @.str.26)
  br label %172

168:                                              ; preds = %145
  %169 = load ptr, ptr %4, align 8, !tbaa !5
  %170 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %169, ptr noundef @.str.27)
  br label %172

171:                                              ; preds = %145
  br label %172

172:                                              ; preds = %171, %168, %165, %162, %159, %156, %153, %150
  %173 = getelementptr inbounds %"class.glslang::TType", ptr %9, i32 0, i32 8
  %174 = call noundef zeroext i1 @_ZNK7glslang8TSampler13isMultiSampleEv(ptr noundef nonnull align 4 dereferenceable(4) %173)
  br i1 %174, label %175, label %178

175:                                              ; preds = %172
  %176 = load ptr, ptr %4, align 8, !tbaa !5
  %177 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %176, ptr noundef @.str.28)
  br label %178

178:                                              ; preds = %175, %172
  br label %238

179:                                              ; preds = %26, %26
  %180 = getelementptr inbounds %"class.glslang::TType", ptr %9, i32 0, i32 1
  %181 = load i32, ptr %180, align 8
  %182 = and i32 %181, 255
  %183 = icmp eq i32 %182, 15
  br i1 %183, label %184, label %187

184:                                              ; preds = %179
  %185 = load ptr, ptr %4, align 8, !tbaa !5
  %186 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %185, ptr noundef @.str.29)
  br label %190

187:                                              ; preds = %179
  %188 = load ptr, ptr %4, align 8, !tbaa !5
  %189 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %188, ptr noundef @.str.30)
  br label %190

190:                                              ; preds = %187, %184
  %191 = getelementptr inbounds %"class.glslang::TType", ptr %9, i32 0, i32 7
  %192 = load ptr, ptr %191, align 8, !tbaa !11
  %193 = icmp ne ptr %192, null
  br i1 %193, label %194, label %199

194:                                              ; preds = %190
  %195 = getelementptr inbounds %"class.glslang::TType", ptr %9, i32 0, i32 7
  %196 = load ptr, ptr %195, align 8, !tbaa !11
  %197 = load ptr, ptr %4, align 8, !tbaa !5
  %198 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLERKS6_(ptr noundef nonnull align 8 dereferenceable(40) %197, ptr noundef nonnull align 8 dereferenceable(40) %196)
  br label %199

199:                                              ; preds = %194, %190
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 0, ptr %5, align 4, !tbaa !25
  br label %200

200:                                              ; preds = %233, %199
  %201 = load i32, ptr %5, align 4, !tbaa !25
  %202 = zext i32 %201 to i64
  %203 = getelementptr inbounds %"class.glslang::TType", ptr %9, i32 0, i32 5
  %204 = load ptr, ptr %203, align 8, !tbaa !26
  %205 = call noundef i64 @_ZNKSt6vectorIN7glslang8TTypeLocENS0_14pool_allocatorIS1_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %204) #4
  %206 = icmp ult i64 %202, %205
  br i1 %206, label %208, label %207

207:                                              ; preds = %200
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %236

208:                                              ; preds = %200
  %209 = getelementptr inbounds %"class.glslang::TType", ptr %9, i32 0, i32 5
  %210 = load ptr, ptr %209, align 8, !tbaa !26
  %211 = load i32, ptr %5, align 4, !tbaa !25
  %212 = zext i32 %211 to i64
  %213 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN7glslang8TTypeLocENS0_14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %210, i64 noundef %212) #4
  %214 = getelementptr inbounds %"struct.glslang::TTypeLoc", ptr %213, i32 0, i32 0
  %215 = load ptr, ptr %214, align 8, !tbaa !27
  %216 = load ptr, ptr %215, align 8, !tbaa !9
  %217 = getelementptr inbounds ptr, ptr %216, i64 7
  %218 = load ptr, ptr %217, align 8
  %219 = call noundef i32 %218(ptr noundef nonnull align 8 dereferenceable(144) %215)
  %220 = icmp eq i32 %219, 0
  br i1 %220, label %221, label %222

221:                                              ; preds = %208
  br label %233

222:                                              ; preds = %208
  %223 = load ptr, ptr %4, align 8, !tbaa !5
  %224 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEc(ptr noundef nonnull align 8 dereferenceable(40) %223, i8 noundef signext 45)
  %225 = getelementptr inbounds %"class.glslang::TType", ptr %9, i32 0, i32 5
  %226 = load ptr, ptr %225, align 8, !tbaa !26
  %227 = load i32, ptr %5, align 4, !tbaa !25
  %228 = zext i32 %227 to i64
  %229 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN7glslang8TTypeLocENS0_14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %226, i64 noundef %228) #4
  %230 = getelementptr inbounds %"struct.glslang::TTypeLoc", ptr %229, i32 0, i32 0
  %231 = load ptr, ptr %230, align 8, !tbaa !27
  %232 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK7glslang5TType16buildMangledNameERNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE(ptr noundef nonnull align 8 dereferenceable(144) %231, ptr noundef nonnull align 8 dereferenceable(40) %232)
  br label %233

233:                                              ; preds = %222, %221
  %234 = load i32, ptr %5, align 4, !tbaa !25
  %235 = add i32 %234, 1
  store i32 %235, ptr %5, align 4, !tbaa !25
  br label %200, !llvm.loop !30

236:                                              ; preds = %207
  br label %237

237:                                              ; preds = %236, %26
  br label %238

238:                                              ; preds = %237, %178, %75, %72, %69, %66, %63, %60, %57, %54, %51, %48, %45, %42, %39, %36, %33, %30
  %239 = load ptr, ptr %9, align 8, !tbaa !9
  %240 = getelementptr inbounds ptr, ptr %239, i64 12
  %241 = load ptr, ptr %240, align 8
  %242 = call noundef i32 %241(ptr noundef nonnull align 8 dereferenceable(144) %9)
  %243 = icmp sgt i32 %242, 0
  br i1 %243, label %244, label %253

244:                                              ; preds = %238
  %245 = load ptr, ptr %9, align 8, !tbaa !9
  %246 = getelementptr inbounds ptr, ptr %245, i64 12
  %247 = load ptr, ptr %246, align 8
  %248 = call noundef i32 %247(ptr noundef nonnull align 8 dereferenceable(144) %9)
  %249 = add nsw i32 48, %248
  %250 = trunc i32 %249 to i8
  %251 = load ptr, ptr %4, align 8, !tbaa !5
  %252 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEc(ptr noundef nonnull align 8 dereferenceable(40) %251, i8 noundef signext %250)
  br label %270

253:                                              ; preds = %238
  %254 = load ptr, ptr %9, align 8, !tbaa !9
  %255 = getelementptr inbounds ptr, ptr %254, i64 13
  %256 = load ptr, ptr %255, align 8
  %257 = call noundef i32 %256(ptr noundef nonnull align 8 dereferenceable(144) %9)
  %258 = add nsw i32 48, %257
  %259 = trunc i32 %258 to i8
  %260 = load ptr, ptr %4, align 8, !tbaa !5
  %261 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEc(ptr noundef nonnull align 8 dereferenceable(40) %260, i8 noundef signext %259)
  %262 = load ptr, ptr %9, align 8, !tbaa !9
  %263 = getelementptr inbounds ptr, ptr %262, i64 14
  %264 = load ptr, ptr %263, align 8
  %265 = call noundef i32 %264(ptr noundef nonnull align 8 dereferenceable(144) %9)
  %266 = add nsw i32 48, %265
  %267 = trunc i32 %266 to i8
  %268 = load ptr, ptr %4, align 8, !tbaa !5
  %269 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEc(ptr noundef nonnull align 8 dereferenceable(40) %268, i8 noundef signext %267)
  br label %270

270:                                              ; preds = %253, %244
  %271 = getelementptr inbounds %"class.glslang::TType", ptr %9, i32 0, i32 4
  %272 = load ptr, ptr %271, align 8, !tbaa !32
  %273 = icmp ne ptr %272, null
  br i1 %273, label %274, label %340

274:                                              ; preds = %270
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 11, ptr %6, align 4, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 11, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !25
  br label %275

275:                                              ; preds = %336, %274
  %276 = load i32, ptr %8, align 4, !tbaa !25
  %277 = getelementptr inbounds %"class.glslang::TType", ptr %9, i32 0, i32 4
  %278 = load ptr, ptr %277, align 8, !tbaa !32
  %279 = call noundef i32 @_ZNK7glslang11TArraySizes10getNumDimsEv(ptr noundef nonnull align 8 dereferenceable(21) %278)
  %280 = icmp slt i32 %276, %279
  br i1 %280, label %282, label %281

281:                                              ; preds = %275
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %339

282:                                              ; preds = %275
  %283 = getelementptr inbounds %"class.glslang::TType", ptr %9, i32 0, i32 4
  %284 = load ptr, ptr %283, align 8, !tbaa !32
  %285 = load i32, ptr %8, align 4, !tbaa !25
  %286 = call noundef ptr @_ZNK7glslang11TArraySizes10getDimNodeEi(ptr noundef nonnull align 8 dereferenceable(21) %284, i32 noundef %285)
  %287 = icmp ne ptr %286, null
  br i1 %287, label %288, label %321

288:                                              ; preds = %282
  %289 = getelementptr inbounds %"class.glslang::TType", ptr %9, i32 0, i32 4
  %290 = load ptr, ptr %289, align 8, !tbaa !32
  %291 = load i32, ptr %8, align 4, !tbaa !25
  %292 = call noundef ptr @_ZNK7glslang11TArraySizes10getDimNodeEi(ptr noundef nonnull align 8 dereferenceable(21) %290, i32 noundef %291)
  %293 = load ptr, ptr %292, align 8, !tbaa !9
  %294 = getelementptr inbounds ptr, ptr %293, i64 12
  %295 = load ptr, ptr %294, align 8
  %296 = call noundef ptr %295(ptr noundef nonnull align 8 dereferenceable(32) %292)
  %297 = icmp ne ptr %296, null
  br i1 %297, label %298, label %313

298:                                              ; preds = %288
  %299 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 0
  %300 = getelementptr inbounds %"class.glslang::TType", ptr %9, i32 0, i32 4
  %301 = load ptr, ptr %300, align 8, !tbaa !32
  %302 = load i32, ptr %8, align 4, !tbaa !25
  %303 = call noundef ptr @_ZNK7glslang11TArraySizes10getDimNodeEi(ptr noundef nonnull align 8 dereferenceable(21) %301, i32 noundef %302)
  %304 = load ptr, ptr %303, align 8, !tbaa !9
  %305 = getelementptr inbounds ptr, ptr %304, i64 12
  %306 = load ptr, ptr %305, align 8
  %307 = call noundef ptr %306(ptr noundef nonnull align 8 dereferenceable(32) %303)
  %308 = load ptr, ptr %307, align 8, !tbaa !9
  %309 = getelementptr inbounds ptr, ptr %308, i64 48
  %310 = load ptr, ptr %309, align 8
  %311 = call noundef i64 %310(ptr noundef nonnull align 8 dereferenceable(256) %307)
  %312 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %299, i64 noundef 11, ptr noundef @.str.31, i64 noundef %311) #4
  br label %320

313:                                              ; preds = %288
  %314 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 0
  %315 = getelementptr inbounds %"class.glslang::TType", ptr %9, i32 0, i32 4
  %316 = load ptr, ptr %315, align 8, !tbaa !32
  %317 = load i32, ptr %8, align 4, !tbaa !25
  %318 = call noundef ptr @_ZNK7glslang11TArraySizes10getDimNodeEi(ptr noundef nonnull align 8 dereferenceable(21) %316, i32 noundef %317)
  %319 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %314, i64 noundef 11, ptr noundef @.str.32, ptr noundef %318) #4
  br label %320

320:                                              ; preds = %313, %298
  br label %328

321:                                              ; preds = %282
  %322 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 0
  %323 = getelementptr inbounds %"class.glslang::TType", ptr %9, i32 0, i32 4
  %324 = load ptr, ptr %323, align 8, !tbaa !32
  %325 = load i32, ptr %8, align 4, !tbaa !25
  %326 = call noundef i32 @_ZNK7glslang11TArraySizes10getDimSizeEi(ptr noundef nonnull align 8 dereferenceable(21) %324, i32 noundef %325)
  %327 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %322, i64 noundef 11, ptr noundef @.str.33, i32 noundef %326) #4
  br label %328

328:                                              ; preds = %321, %320
  %329 = load ptr, ptr %4, align 8, !tbaa !5
  %330 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEc(ptr noundef nonnull align 8 dereferenceable(40) %329, i8 noundef signext 91)
  %331 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 0
  %332 = load ptr, ptr %4, align 8, !tbaa !5
  %333 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %332, ptr noundef %331)
  %334 = load ptr, ptr %4, align 8, !tbaa !5
  %335 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEc(ptr noundef nonnull align 8 dereferenceable(40) %334, i8 noundef signext 93)
  br label %336

336:                                              ; preds = %328
  %337 = load i32, ptr %8, align 4, !tbaa !25
  %338 = add nsw i32 %337, 1
  store i32 %338, ptr %8, align 4, !tbaa !25
  br label %275, !llvm.loop !33

339:                                              ; preds = %281
  call void @llvm.lifetime.end.p0(i64 11, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %340

340:                                              ; preds = %339, %270
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEc(ptr noundef nonnull align 8 dereferenceable(40), i8 noundef signext) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) #0 align 2

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLERKS6_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN7glslang8TTypeLocENS0_14pool_allocatorIS1_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK7glslang11TArraySizes10getNumDimsEv(ptr noundef nonnull align 8 dereferenceable(21)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7glslang11TArraySizes10getDimNodeEi(ptr noundef nonnull align 8 dereferenceable(21), i32 noundef) #0 align 2

; Function Attrs: nounwind
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ...) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK7glslang11TArraySizes10getDimSizeEi(ptr noundef nonnull align 8 dereferenceable(21), i32 noundef) #0 align 2

attributes #0 = { 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 #1 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 }

!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 112}
!12 = !{!"_ZTSN7glslang5TTypeE", !13, i64 8, !14, i64 9, !14, i64 9, !14, i64 10, !15, i64 10, !15, i64 10, !16, i64 16, !6, i64 88, !7, i64 96, !6, i64 104, !6, i64 112, !23, i64 120, !6, i64 128, !6, i64 136}
!13 = !{!"_ZTSN7glslang10TBasicTypeE", !7, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTSN7glslang10TQualifierE", !6, i64 0, !17, i64 8, !18, i64 8, !18, i64 9, !19, i64 11, !15, i64 11, !15, i64 11, !15, i64 11, !15, i64 11, !15, i64 11, !15, i64 12, !15, i64 12, !15, i64 12, !15, i64 12, !15, i64 12, !15, i64 12, !15, i64 12, !15, i64 12, !15, i64 13, !15, i64 13, !15, i64 13, !15, i64 13, !15, i64 13, !15, i64 13, !15, i64 13, !15, i64 13, !15, i64 14, !15, i64 14, !15, i64 14, !15, i64 14, !15, i64 14, !15, i64 14, !15, i64 14, !15, i64 14, !15, i64 15, !15, i64 15, !15, i64 15, !20, i64 15, !21, i64 16, !14, i64 20, !14, i64 24, !14, i64 28, !14, i64 29, !14, i64 29, !14, i64 32, !14, i64 34, !14, i64 35, !14, i64 36, !14, i64 36, !14, i64 38, !14, i64 40, !14, i64 41, !14, i64 42, !22, i64 44, !15, i64 45, !15, i64 46, !15, i64 47, !15, i64 48, !14, i64 52, !15, i64 56, !14, i64 60, !6, i64 64}
!17 = !{!"_ZTSN7glslang17TStorageQualifierE", !7, i64 0}
!18 = !{!"_ZTSN7glslang16TBuiltInVariableE", !7, i64 0}
!19 = !{!"_ZTSN7glslang19TPrecisionQualifierE", !7, i64 0}
!20 = !{!"_ZTSN7glslang13TLayoutMatrixE", !7, i64 0}
!21 = !{!"_ZTSN7glslang14TLayoutPackingE", !7, i64 0}
!22 = !{!"_ZTSN7glslang13TLayoutFormatE", !7, i64 0}
!23 = !{!"_ZTSN7glslang8TSamplerE", !13, i64 0, !24, i64 1, !15, i64 2, !15, i64 2, !15, i64 2, !15, i64 2, !15, i64 2, !15, i64 2, !14, i64 2, !14, i64 3, !15, i64 3, !15, i64 3}
!24 = !{!"_ZTSN7glslang11TSamplerDimE", !7, i64 0}
!25 = !{!14, !14, i64 0}
!26 = !{!7, !7, i64 0}
!27 = !{!28, !6, i64 0}
!28 = !{!"_ZTSN7glslang8TTypeLocE", !6, i64 0, !29, i64 8}
!29 = !{!"_ZTSN7glslang10TSourceLocE", !6, i64 0, !14, i64 8, !14, i64 12, !14, i64 16}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{!12, !6, i64 88}
!33 = distinct !{!33, !31}


; 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 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [3 x i8], align 1
@switch.table._ZNK7glslang5TType16buildMangledNameERNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE = private unnamed_addr constant [9 x ptr] [ptr @.str, ptr @.str, ptr @.str, ptr @.str, ptr @.str, ptr @.str.11, ptr @.str.12, ptr @.str.5, ptr @.str.6], align 8
@switch.table._ZNK7glslang5TType16buildMangledNameERNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE.1 = private unnamed_addr constant [7 x ptr] [ptr @.str.24, ptr @.str.21, ptr @.str.22, ptr @.str.23, ptr @.str.25, ptr @.str.26, ptr @.str.27], align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7glslang5TType16buildMangledNameERNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE(ptr noundef nonnull align 8 dereferenceable(144) %0, ptr noundef nonnull align 8 dereferenceable(40) %1) local_unnamed_addr #0 align 2 {
  %3 = alloca [11 x i8], align 1
  %4 = load ptr, ptr %0, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %4, i64 224
  %6 = load ptr, ptr %5, align 8
  %7 = tail call noundef zeroext i1 %6(ptr noundef nonnull align 8 dereferenceable(144) %0)
  br i1 %7, label %.sink.split, label %8

8:                                                ; preds = %2
  %9 = load ptr, ptr %0, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %9, i64 216
  %11 = load ptr, ptr %10, align 8
  %12 = tail call noundef zeroext i1 %11(ptr noundef nonnull align 8 dereferenceable(144) %0)
  br i1 %12, label %.sink.split, label %14

.sink.split:                                      ; preds = %8, %2
  %.sink = phi i8 [ 109, %2 ], [ 118, %8 ]
  %13 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEc(ptr noundef nonnull align 8 dereferenceable(40) %1, i8 noundef signext %.sink)
  br label %14

14:                                               ; preds = %.sink.split, %8
  %15 = getelementptr inbounds i8, ptr %0, i64 8
  %16 = load i32, ptr %15, align 8
  %trunc = trunc i32 %16 to i8
  switch i8 %trunc, label %.loopexit [
    i8 1, label %17
    i8 8, label %19
    i8 9, label %21
    i8 12, label %23
    i8 2, label %25
    i8 3, label %27
    i8 4, label %29
    i8 5, label %31
    i8 6, label %33
    i8 7, label %35
    i8 10, label %37
    i8 11, label %39
    i8 13, label %41
    i8 17, label %43
    i8 19, label %45
    i8 20, label %47
    i8 14, label %49
    i8 15, label %88
    i8 16, label %88
  ]

17:                                               ; preds = %14
  %18 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEc(ptr noundef nonnull align 8 dereferenceable(40) %1, i8 noundef signext 102)
  br label %.loopexit

19:                                               ; preds = %14
  %20 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEc(ptr noundef nonnull align 8 dereferenceable(40) %1, i8 noundef signext 105)
  br label %.loopexit

21:                                               ; preds = %14
  %22 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEc(ptr noundef nonnull align 8 dereferenceable(40) %1, i8 noundef signext 117)
  br label %.loopexit

23:                                               ; preds = %14
  %24 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEc(ptr noundef nonnull align 8 dereferenceable(40) %1, i8 noundef signext 98)
  br label %.loopexit

25:                                               ; preds = %14
  %26 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEc(ptr noundef nonnull align 8 dereferenceable(40) %1, i8 noundef signext 100)
  br label %.loopexit

27:                                               ; preds = %14
  %28 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull @.str)
  br label %.loopexit

29:                                               ; preds = %14
  %30 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull @.str.1)
  br label %.loopexit

31:                                               ; preds = %14
  %32 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull @.str.2)
  br label %.loopexit

33:                                               ; preds = %14
  %34 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull @.str.3)
  br label %.loopexit

35:                                               ; preds = %14
  %36 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull @.str.4)
  br label %.loopexit

37:                                               ; preds = %14
  %38 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull @.str.5)
  br label %.loopexit

39:                                               ; preds = %14
  %40 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull @.str.6)
  br label %.loopexit

41:                                               ; preds = %14
  %42 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull @.str.7)
  br label %.loopexit

43:                                               ; preds = %14
  %44 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull @.str.8)
  br label %.loopexit

45:                                               ; preds = %14
  %46 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull @.str.9)
  br label %.loopexit

47:                                               ; preds = %14
  %48 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull @.str.10)
  br label %.loopexit

49:                                               ; preds = %14
  %50 = getelementptr inbounds i8, ptr %0, i64 120
  %51 = load i32, ptr %50, align 8
  %trunc64 = trunc i32 %51 to i8
  %switch.tableidx = add i8 %trunc64, -3
  %52 = icmp ult i8 %switch.tableidx, 9
  br i1 %52, label %switch.hole_check, label %55

switch.hole_check:                                ; preds = %49
  %switch.maskindex = zext nneg i8 %switch.tableidx to i16
  %switch.shifted = lshr i16 481, %switch.maskindex
  %switch.lobit = trunc i16 %switch.shifted to i1
  br i1 %switch.lobit, label %switch.lookup, label %55

switch.lookup:                                    ; preds = %switch.hole_check
  %53 = zext nneg i8 %switch.tableidx to i64
  %switch.gep = getelementptr inbounds [9 x ptr], ptr @switch.table._ZNK7glslang5TType16buildMangledNameERNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE, i64 0, i64 %53
  %switch.load = load ptr, ptr %switch.gep, align 8
  %54 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull %switch.load)
  br label %55

55:                                               ; preds = %switch.hole_check, %49, %switch.lookup
  %56 = tail call noundef zeroext i1 @_ZNK7glslang8TSampler12isImageClassEv(ptr noundef nonnull align 4 dereferenceable(4) %50)
  br i1 %56, label %61, label %57

57:                                               ; preds = %55
  %58 = tail call noundef zeroext i1 @_ZNK7glslang8TSampler13isPureSamplerEv(ptr noundef nonnull align 4 dereferenceable(4) %50)
  br i1 %58, label %61, label %59

59:                                               ; preds = %57
  %60 = tail call noundef zeroext i1 @_ZNK7glslang8TSampler10isCombinedEv(ptr noundef nonnull align 4 dereferenceable(4) %50)
  %.str.16..str.15 = select i1 %60, ptr @.str.16, ptr @.str.15
  br label %61

61:                                               ; preds = %59, %57, %55
  %.str.14.sink = phi ptr [ @.str.13, %55 ], [ @.str.14, %57 ], [ %.str.16..str.15, %59 ]
  %62 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull %.str.14.sink)
  %63 = tail call noundef zeroext i1 @_ZNK7glslang8TSampler9isArrayedEv(ptr noundef nonnull align 4 dereferenceable(4) %50)
  br i1 %63, label %64, label %66

64:                                               ; preds = %61
  %65 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull @.str.17)
  br label %66

66:                                               ; preds = %64, %61
  %67 = tail call noundef zeroext i1 @_ZNK7glslang8TSampler8isShadowEv(ptr noundef nonnull align 4 dereferenceable(4) %50)
  br i1 %67, label %68, label %70

68:                                               ; preds = %66
  %69 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull @.str.18)
  br label %70

70:                                               ; preds = %68, %66
  %71 = tail call noundef zeroext i1 @_ZNK7glslang8TSampler10isExternalEv(ptr noundef nonnull align 4 dereferenceable(4) %50)
  br i1 %71, label %72, label %74

72:                                               ; preds = %70
  %73 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull @.str.19)
  br label %74

74:                                               ; preds = %72, %70
  %75 = tail call noundef zeroext i1 @_ZNK7glslang8TSampler5isYuvEv(ptr noundef nonnull align 4 dereferenceable(4) %50)
  br i1 %75, label %76, label %78

76:                                               ; preds = %74
  %77 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull @.str.20)
  br label %78

78:                                               ; preds = %76, %74
  %79 = load i32, ptr %50, align 8
  %80 = lshr i32 %79, 8
  %trunc65 = trunc i32 %80 to i8
  %switch.tableidx81 = add i8 %trunc65, -1
  %81 = icmp ult i8 %switch.tableidx81, 7
  br i1 %81, label %switch.lookup80, label %84

switch.lookup80:                                  ; preds = %78
  %82 = zext nneg i8 %switch.tableidx81 to i64
  %switch.gep82 = getelementptr inbounds [7 x ptr], ptr @switch.table._ZNK7glslang5TType16buildMangledNameERNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE.1, i64 0, i64 %82
  %switch.load83 = load ptr, ptr %switch.gep82, align 8
  %83 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull %switch.load83)
  br label %84

84:                                               ; preds = %78, %switch.lookup80
  %85 = tail call noundef zeroext i1 @_ZNK7glslang8TSampler13isMultiSampleEv(ptr noundef nonnull align 4 dereferenceable(4) %50)
  br i1 %85, label %86, label %.loopexit

86:                                               ; preds = %84
  %87 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull @.str.28)
  br label %.loopexit

88:                                               ; preds = %14, %14
  %89 = and i32 %16, 255
  %90 = icmp eq i32 %89, 15
  %.str.29..str.30 = select i1 %90, ptr @.str.29, ptr @.str.30
  %91 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull %.str.29..str.30)
  %92 = getelementptr inbounds i8, ptr %0, i64 112
  %93 = load ptr, ptr %92, align 8, !tbaa !8
  %.not = icmp eq ptr %93, null
  br i1 %.not, label %96, label %94

94:                                               ; preds = %88
  %95 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLERKS6_(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull align 8 dereferenceable(40) %93)
  br label %96

96:                                               ; preds = %94, %88
  %97 = getelementptr inbounds i8, ptr %0, i64 96
  %98 = load ptr, ptr %97, align 8, !tbaa !24
  %99 = tail call noundef i64 @_ZNKSt6vectorIN7glslang8TTypeLocENS0_14pool_allocatorIS1_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %98) #4
  %.not72 = icmp eq i64 %99, 0
  br i1 %.not72, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %96, %114
  %100 = phi i64 [ %116, %114 ], [ 0, %96 ]
  %.06169 = phi i32 [ %115, %114 ], [ 0, %96 ]
  %101 = load ptr, ptr %97, align 8, !tbaa !24
  %102 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN7glslang8TTypeLocENS0_14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %101, i64 noundef %100) #4
  %103 = load ptr, ptr %102, align 8, !tbaa !25
  %104 = load ptr, ptr %103, align 8, !tbaa !5
  %105 = getelementptr inbounds i8, ptr %104, i64 56
  %106 = load ptr, ptr %105, align 8
  %107 = tail call noundef i32 %106(ptr noundef nonnull align 8 dereferenceable(144) %103)
  %108 = icmp eq i32 %107, 0
  br i1 %108, label %114, label %109

109:                                              ; preds = %.lr.ph
  %110 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEc(ptr noundef nonnull align 8 dereferenceable(40) %1, i8 noundef signext 45)
  %111 = load ptr, ptr %97, align 8, !tbaa !24
  %112 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN7glslang8TTypeLocENS0_14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %111, i64 noundef %100) #4
  %113 = load ptr, ptr %112, align 8, !tbaa !25
  tail call void @_ZNK7glslang5TType16buildMangledNameERNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE(ptr noundef nonnull align 8 dereferenceable(144) %113, ptr noundef nonnull align 8 dereferenceable(40) %1)
  br label %114

114:                                              ; preds = %.lr.ph, %109
  %115 = add i32 %.06169, 1
  %116 = zext i32 %115 to i64
  %117 = load ptr, ptr %97, align 8, !tbaa !24
  %118 = tail call noundef i64 @_ZNKSt6vectorIN7glslang8TTypeLocENS0_14pool_allocatorIS1_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %117) #4
  %119 = icmp ugt i64 %118, %116
  br i1 %119, label %.lr.ph, label %.loopexit, !llvm.loop !28

.loopexit:                                        ; preds = %114, %96, %14, %84, %86, %47, %45, %43, %41, %39, %37, %35, %33, %31, %29, %27, %25, %23, %21, %19, %17
  %120 = load ptr, ptr %0, align 8, !tbaa !5
  %121 = getelementptr inbounds i8, ptr %120, i64 96
  %122 = load ptr, ptr %121, align 8
  %123 = tail call noundef i32 %122(ptr noundef nonnull align 8 dereferenceable(144) %0)
  %124 = icmp sgt i32 %123, 0
  %125 = load ptr, ptr %0, align 8, !tbaa !5
  br i1 %124, label %126, label %128

126:                                              ; preds = %.loopexit
  %127 = getelementptr inbounds i8, ptr %125, i64 96
  br label %137

128:                                              ; preds = %.loopexit
  %129 = getelementptr inbounds i8, ptr %125, i64 104
  %130 = load ptr, ptr %129, align 8
  %131 = tail call noundef i32 %130(ptr noundef nonnull align 8 dereferenceable(144) %0)
  %132 = trunc i32 %131 to i8
  %133 = add i8 %132, 48
  %134 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEc(ptr noundef nonnull align 8 dereferenceable(40) %1, i8 noundef signext %133)
  %135 = load ptr, ptr %0, align 8, !tbaa !5
  %136 = getelementptr inbounds i8, ptr %135, i64 112
  br label %137

137:                                              ; preds = %128, %126
  %.sink79 = phi ptr [ %136, %128 ], [ %127, %126 ]
  %138 = load ptr, ptr %.sink79, align 8
  %139 = tail call noundef i32 %138(ptr noundef nonnull align 8 dereferenceable(144) %0)
  %140 = trunc i32 %139 to i8
  %141 = add i8 %140, 48
  %142 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEc(ptr noundef nonnull align 8 dereferenceable(40) %1, i8 noundef signext %141)
  %143 = getelementptr inbounds i8, ptr %0, i64 88
  %144 = load ptr, ptr %143, align 8, !tbaa !30
  %.not66 = icmp eq ptr %144, null
  br i1 %.not66, label %182, label %145

145:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 11, ptr nonnull %3) #4
  %146 = tail call noundef i32 @_ZNK7glslang11TArraySizes10getNumDimsEv(ptr noundef nonnull align 8 dereferenceable(21) %144)
  %147 = icmp sgt i32 %146, 0
  br i1 %147, label %.lr.ph71, label %._crit_edge

._crit_edge:                                      ; preds = %174, %145
  call void @llvm.lifetime.end.p0(i64 11, ptr nonnull %3) #4
  br label %182

.lr.ph71:                                         ; preds = %145, %174
  %.070 = phi i32 [ %178, %174 ], [ 0, %145 ]
  %148 = load ptr, ptr %143, align 8, !tbaa !30
  %149 = call noundef ptr @_ZNK7glslang11TArraySizes10getDimNodeEi(ptr noundef nonnull align 8 dereferenceable(21) %148, i32 noundef %.070)
  %.not67 = icmp eq ptr %149, null
  %150 = load ptr, ptr %143, align 8, !tbaa !30
  br i1 %.not67, label %171, label %151

151:                                              ; preds = %.lr.ph71
  %152 = call noundef ptr @_ZNK7glslang11TArraySizes10getDimNodeEi(ptr noundef nonnull align 8 dereferenceable(21) %150, i32 noundef %.070)
  %153 = load ptr, ptr %152, align 8, !tbaa !5
  %154 = getelementptr inbounds i8, ptr %153, i64 96
  %155 = load ptr, ptr %154, align 8
  %156 = call noundef ptr %155(ptr noundef nonnull align 8 dereferenceable(32) %152)
  %.not68 = icmp eq ptr %156, null
  %157 = load ptr, ptr %143, align 8, !tbaa !30
  %158 = call noundef ptr @_ZNK7glslang11TArraySizes10getDimNodeEi(ptr noundef nonnull align 8 dereferenceable(21) %157, i32 noundef %.070)
  br i1 %.not68, label %169, label %159

159:                                              ; preds = %151
  %160 = load ptr, ptr %158, align 8, !tbaa !5
  %161 = getelementptr inbounds i8, ptr %160, i64 96
  %162 = load ptr, ptr %161, align 8
  %163 = call noundef ptr %162(ptr noundef nonnull align 8 dereferenceable(32) %158)
  %164 = load ptr, ptr %163, align 8, !tbaa !5
  %165 = getelementptr inbounds i8, ptr %164, i64 384
  %166 = load ptr, ptr %165, align 8
  %167 = call noundef i64 %166(ptr noundef nonnull align 8 dereferenceable(256) %163)
  %168 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %3, i64 noundef 11, ptr noundef nonnull @.str.31, i64 noundef %167) #4
  br label %174

169:                                              ; preds = %151
  %170 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %3, i64 noundef 11, ptr noundef nonnull @.str.32, ptr noundef %158) #4
  br label %174

171:                                              ; preds = %.lr.ph71
  %172 = call noundef i32 @_ZNK7glslang11TArraySizes10getDimSizeEi(ptr noundef nonnull align 8 dereferenceable(21) %150, i32 noundef %.070)
  %173 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %3, i64 noundef 11, ptr noundef nonnull @.str.33, i32 noundef %172) #4
  br label %174

174:                                              ; preds = %159, %169, %171
  %175 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEc(ptr noundef nonnull align 8 dereferenceable(40) %1, i8 noundef signext 91)
  %176 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull %3)
  %177 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEc(ptr noundef nonnull align 8 dereferenceable(40) %1, i8 noundef signext 93)
  %178 = add nuw nsw i32 %.070, 1
  %179 = load ptr, ptr %143, align 8, !tbaa !30
  %180 = call noundef i32 @_ZNK7glslang11TArraySizes10getNumDimsEv(ptr noundef nonnull align 8 dereferenceable(21) %179)
  %181 = icmp slt i32 %178, %180
  br i1 %181, label %.lr.ph71, label %._crit_edge, !llvm.loop !31

182:                                              ; preds = %._crit_edge, %137
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEc(ptr noundef nonnull align 8 dereferenceable(40), i8 noundef signext) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) local_unnamed_addr #0 align 2

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEpLERKS6_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN7glslang8TTypeLocENS0_14pool_allocatorIS1_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK7glslang11TArraySizes10getNumDimsEv(ptr noundef nonnull align 8 dereferenceable(21)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7glslang11TArraySizes10getDimNodeEi(ptr noundef nonnull align 8 dereferenceable(21), i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: nofree nounwind
declare noundef i32 @snprintf(ptr noalias nocapture noundef writeonly, i64 noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK7glslang11TArraySizes10getDimSizeEi(ptr noundef nonnull align 8 dereferenceable(21), i32 noundef) local_unnamed_addr #0 align 2

attributes #0 = { 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 #1 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nofree 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 }

!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, !15, i64 112}
!9 = !{!"_ZTSN7glslang5TTypeE", !10, i64 8, !12, i64 9, !12, i64 9, !12, i64 10, !13, i64 10, !13, i64 10, !14, i64 16, !15, i64 88, !11, i64 96, !15, i64 104, !15, i64 112, !22, i64 120, !15, i64 128, !15, i64 136}
!10 = !{!"_ZTSN7glslang10TBasicTypeE", !11, i64 0}
!11 = !{!"omnipotent char", !7, i64 0}
!12 = !{!"int", !11, i64 0}
!13 = !{!"bool", !11, i64 0}
!14 = !{!"_ZTSN7glslang10TQualifierE", !15, i64 0, !16, i64 8, !17, i64 8, !17, i64 9, !18, i64 11, !13, i64 11, !13, i64 11, !13, i64 11, !13, i64 11, !13, i64 11, !13, i64 12, !13, i64 12, !13, i64 12, !13, i64 12, !13, i64 12, !13, i64 12, !13, i64 12, !13, i64 12, !13, i64 13, !13, i64 13, !13, i64 13, !13, i64 13, !13, i64 13, !13, i64 13, !13, i64 13, !13, i64 13, !13, i64 14, !13, i64 14, !13, i64 14, !13, i64 14, !13, i64 14, !13, i64 14, !13, i64 14, !13, i64 14, !13, i64 15, !13, i64 15, !13, i64 15, !19, i64 15, !20, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 29, !12, i64 29, !12, i64 32, !12, i64 34, !12, i64 35, !12, i64 36, !12, i64 36, !12, i64 38, !12, i64 40, !12, i64 41, !12, i64 42, !21, i64 44, !13, i64 45, !13, i64 46, !13, i64 47, !13, i64 48, !12, i64 52, !13, i64 56, !12, i64 60, !15, i64 64}
!15 = !{!"any pointer", !11, i64 0}
!16 = !{!"_ZTSN7glslang17TStorageQualifierE", !11, i64 0}
!17 = !{!"_ZTSN7glslang16TBuiltInVariableE", !11, i64 0}
!18 = !{!"_ZTSN7glslang19TPrecisionQualifierE", !11, i64 0}
!19 = !{!"_ZTSN7glslang13TLayoutMatrixE", !11, i64 0}
!20 = !{!"_ZTSN7glslang14TLayoutPackingE", !11, i64 0}
!21 = !{!"_ZTSN7glslang13TLayoutFormatE", !11, i64 0}
!22 = !{!"_ZTSN7glslang8TSamplerE", !10, i64 0, !23, i64 1, !13, i64 2, !13, i64 2, !13, i64 2, !13, i64 2, !13, i64 2, !13, i64 2, !12, i64 2, !12, i64 3, !13, i64 3, !13, i64 3}
!23 = !{!"_ZTSN7glslang11TSamplerDimE", !11, i64 0}
!24 = !{!11, !11, i64 0}
!25 = !{!26, !15, i64 0}
!26 = !{!"_ZTSN7glslang8TTypeLocE", !15, i64 0, !27, i64 8}
!27 = !{!"_ZTSN7glslang10TSourceLocE", !15, i64 0, !12, i64 8, !12, i64 12, !12, i64 16}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = !{!9, !15, i64 88}
!31 = distinct !{!31, !29}


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